diff options
| author | Haren Myneni <[email protected]> | 2025-05-31 23:50:02 +0000 |
|---|---|---|
| committer | Madhavan Srinivasan <[email protected]> | 2025-06-23 04:30:34 +0000 |
| commit | 41a1452759a8b1121df9cf7310acf31d766ba70b (patch) | |
| tree | 0b0a693ee1677336be4f6864d3e19beb3c4a9041 /lib/crypto/mpi/mpi-mul.c | |
| parent | KVM: PPC: Book3S HV: Add H_VIRT mapping for tracing exits (diff) | |
| download | kernel-41a1452759a8b1121df9cf7310acf31d766ba70b.tar.gz kernel-41a1452759a8b1121df9cf7310acf31d766ba70b.zip | |
powerpc/pseries/dlpar: Search DRC index from ibm,drc-indexes for IO add
IO hotplug add event is handled in the user space with drmgr tool.
After the device is enabled, the user space uses /sys/kernel/dlpar
interface with “dt add index <drc_index>” to update the device tree.
The kernel interface (dlpar_hp_dt_add()) finds the parent node for
the specified ‘drc_index’ from ibm,drc-info property. The recent FW
provides this property from 2017 onwards. But KVM guest code in
some releases is still using the older SLOF firmware which has
ibm,drc-indexes property instead of ibm,drc-info.
If the ibm,drc-info is not available, this patch adds changes to
search ‘drc_index’ from the indexes array in ibm,drc-indexes
property to support old FW.
Fixes: 02b98ff44a57 ("powerpc/pseries/dlpar: Add device tree nodes for DLPAR IO add")
Reported-by: Kowshik Jois <[email protected]>
Signed-off-by: Haren Myneni <[email protected]>
Tested-by: Amit Machhiwal <[email protected]>
Reviewed-by: Tyrel Datwyler <[email protected]>
Signed-off-by: Madhavan Srinivasan <[email protected]>
Link: https://patch.msgid.link/[email protected]
Diffstat (limited to 'lib/crypto/mpi/mpi-mul.c')
0 files changed, 0 insertions, 0 deletions
