linux-stable/drivers/platform
Suma Hegde 8560b2775a
platform/x86/amd/hsmp: Change the error type
When file is opened in WRITE only mode, then GET messages are not allowed
and when file is opened in READ only mode, SET messages are not allowed.
In these scenerios, return error EPERM to userspace instead of EINVAL.

Signed-off-by: Suma Hegde <suma.hegde@amd.com>
Reviewed-by: Naveen Krishna Chatradhi <naveenkrishna.chatradhi@amd.com>
Link: https://lore.kernel.org/r/20241112120450.2407125-2-suma.hegde@amd.com
Reviewed-by: Ilpo Järvinen <ilpo.jarvinen@linux.intel.com>
Signed-off-by: Ilpo Järvinen <ilpo.jarvinen@linux.intel.com>
2024-11-13 15:36:33 +02:00
..
arm64 platform: arm64: EC_LENOVO_YOGA_C630 should depend on ARCH_QCOM 2024-07-12 11:59:53 +03:00
chrome [tree-wide] finally take no_llseek out 2024-09-27 08:18:43 -07:00
cznic soc: driver updates for 6.12 2024-09-17 10:48:09 +02:00
goldfish platform/goldfish: goldfish_pipe: add missing MODULE_DESCRIPTION() macro 2024-07-03 16:40:46 +02:00
loongarch platform/loongarch: laptop: Fix possible UAF and simplify generic_acpi_laptop_init() 2022-10-29 16:29:31 +08:00
mellanox platform/mellanox: mlxbf-pmc: fix lockdep warning 2024-09-14 18:06:44 +02:00
mips platform: mips: cpu_hwmon: Disable driver on unsupported hardware 2024-06-21 10:22:10 +02:00
olpc platform-drivers-x86 for v6.12-1 2024-09-19 09:16:04 +02:00
surface platform/surface: aggregator_registry: Add Surface Pro 9 5G 2024-10-22 11:48:15 +03:00
x86 platform/x86/amd/hsmp: Change the error type 2024-11-13 15:36:33 +02:00
Kconfig platform: cznic: Add preliminary support for Turris Omnia MCU 2024-07-01 15:46:36 +02:00
Makefile platform-drivers-x86 for v6.11-1 2024-07-17 17:05:21 -07:00