diff options
| author | Narayana Murty N <[email protected]> | 2024-09-09 14:02:20 +0000 |
|---|---|---|
| committer | Michael Ellerman <[email protected]> | 2024-09-10 01:01:08 +0000 |
| commit | b0e2b828dfca645a228f8c89d12fbc2baecfb7ea (patch) | |
| tree | b8ebcfe83be798cb6a07e5726049d945faeec1ce /arch/powerpc/sysdev/fsl_msi.c | |
| parent | selftests/powerpc: Allow building without static libc (diff) | |
| download | kernel-b0e2b828dfca645a228f8c89d12fbc2baecfb7ea.tar.gz kernel-b0e2b828dfca645a228f8c89d12fbc2baecfb7ea.zip | |
powerpc/pseries/eeh: Fix pseries_eeh_err_inject
VFIO_EEH_PE_INJECT_ERR ioctl is currently failing on pseries
due to missing implementation of err_inject eeh_ops for pseries.
This patch implements pseries_eeh_err_inject in eeh_ops/pseries
eeh_ops. Implements support for injecting MMIO load/store error
for testing from user space.
The check on PCI error type (bus type) code is moved to platform
code, since the eeh_pe_inject_err can be allowed to more error
types depending on platform requirement. Removal of the check for
'type' in eeh_pe_inject_err() doesn't impact PowerNV as
pnv_eeh_err_inject() already has an equivalent check in place.
Signed-off-by: Narayana Murty N <[email protected]>
Reviewed-by: Vaibhav Jain <[email protected]>
Signed-off-by: Michael Ellerman <[email protected]>
Link: https://msgid.link/[email protected]
Diffstat (limited to 'arch/powerpc/sysdev/fsl_msi.c')
0 files changed, 0 insertions, 0 deletions
