linux-stable/arch/powerpc/platforms
Nayna Jain ef27c8adce powerpc/pseries: Expose PLPKS config values, support additional fields
[ Upstream commit 119da30d03 ]

The plpks driver uses the H_PKS_GET_CONFIG hcall to retrieve configuration
and status information about the PKS from the hypervisor.

Update _plpks_get_config() to handle some additional fields. Add getter
functions to allow the PKS configuration information to be accessed from
other files. Validate that the values we're getting comply with the spec.

While we're here, move the config struct in _plpks_get_config() off the
stack - it's getting large and we also need to make sure it doesn't cross
a page boundary.

Signed-off-by: Nayna Jain <nayna@linux.ibm.com>
[ajd: split patch, extend to support additional v3 API fields, minor fixes]
Co-developed-by: Andrew Donnellan <ajd@linux.ibm.com>
Signed-off-by: Andrew Donnellan <ajd@linux.ibm.com>
Signed-off-by: Russell Currey <ruscur@russell.cc>
Reviewed-by: Stefan Berger <stefanb@linux.ibm.com>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Link: https://lore.kernel.org/r/20230210080401.345462-17-ajd@linux.ibm.com
Stable-dep-of: 932bed4121 ("powerpc/kexec_file: fix cpus node update to FDT")
Signed-off-by: Sasha Levin <sashal@kernel.org>
2024-08-03 08:49:18 +02:00
..
4xx powerpc: Fix all occurences of duplicate words 2022-07-25 12:05:15 +10:00
8xx powerpc/8xx: Add missing of_node_put() in tqm8xx_setup.c 2022-09-05 17:28:25 +10:00
40x
44x powerpc/44x: select I2C for CURRITUCK 2024-01-25 15:27:19 -08:00
52xx powerpc/52xx: Fix a resource leak in an error handling path 2022-12-31 13:32:50 +01:00
82xx
83xx powerpc/83xx/mpc832x_rdb: call platform_device_put() in error case in of_fsl_spi_probe() 2022-12-31 13:32:51 +01:00
85xx powerpc: Cleanup idle for e500 2022-09-26 23:00:14 +10:00
86xx
512x powerpc/mpc512x: fix resource printk format warning 2023-05-11 23:03:31 +09:00
amigaone
book3s powerpc/vas: Limit open window failure messages in log bufffer 2023-11-20 11:52:12 +01:00
cell powerpc updates for 6.1 2022-10-09 14:05:15 -07:00
chrp powerpc: remove unused chrp_event_scan() declaration 2022-09-15 22:55:45 +10:00
embedded6xx powerpc/embedded6xx: Fix no previous prototype for avr_uart_send() etc. 2024-03-26 18:20:52 -04:00
maple powerpc/maple: Add missing of_node_put() in time.c 2022-09-05 17:28:25 +10:00
microwatt random: remove CONFIG_ARCH_RANDOM 2022-07-18 15:03:37 +02:00
pasemi powerpc/pasemi: Use of_root in pas_pci_init() 2022-09-06 11:03:31 +10:00
powermac powerpc/powermac: Use early_* IO variants in via_calibrate_decr() 2023-09-13 09:42:24 +02:00
powernv powerpc/powernv: Add a null pointer check in opal_powercap_init() 2024-01-25 15:27:19 -08:00
ps3 powerpc: Remove remaining parts of oprofile 2022-07-27 21:36:05 +10:00
pseries powerpc/pseries: Expose PLPKS config values, support additional fields 2024-08-03 08:49:18 +02:00
fsl_uli1575.c
Kconfig
Kconfig.cputype powerpc/64: Replace -mcpu=e500mc64 by -mcpu=e5500 2023-03-22 13:34:07 +01:00
Makefile