diff options
author | Dave Jiang <[email protected]> | 2024-05-02 09:57:32 -0700 |
---|---|---|
committer | Bjorn Helgaas <[email protected]> | 2024-05-08 13:25:36 -0500 |
commit | b1956e2d0713e210a56ae65ad3488ae36f833e76 (patch) | |
tree | 7a1fe4631df85458c10d92d26d16555c84079fca /tools/perf/scripts/python/export-to-postgresql.py | |
parent | 7e89efc6e9e402839643cb297bab14055c547f07 (diff) |
PCI/CXL: Fail bus reset if upstream CXL Port has SBR masked
Per CXL spec r3.1, sec 8.1.5.2, the Secondary Bus Reset (SBR) bit in the
Bridge Control register of a CXL port has no effect unless the "Unmask SBR"
bit is set.
Return -ENOTTY if we attempt a bus reset on a device below a CXL Port where
"Unmask SBR" is 0. Otherwise, the bus reset would appear to have succeeded
even though setting the bridge SBR bit had no effect.
Link: https://lore.kernel.org/linux-cxl/20240220203956.GA1502351@bhelgaas/
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Dave Jiang <[email protected]>
[bhelgaas: simplify commit log and comments]
Signed-off-by: Bjorn Helgaas <[email protected]>
Reviewed-by: Jonathan Cameron <[email protected]>
Reviewed-by: Kuppuswamy Sathyanarayanan <[email protected]>
Reviewed-by: Dan Williams <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions