Skip to content

Commit

Permalink
skip the pci hotplug related tests
Browse files Browse the repository at this point in the history
For 9028-21B IBM Hardware model there is no PCI hotplug controller
So it is not possible to support PCI Hotplug on this hardware model

Signed-off-by: Pavaman Subramaniyam <pavsubra@linux.vnet.ibm.com>
  • Loading branch information
PavamanSubramaniyam committed Apr 24, 2024
1 parent 40a48c7 commit d1e1e7a
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions io/pci/pci_hotplug.py
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,8 @@ def setUp(self):
self.cancel("Processor is not ppc64")
if os.path.exists('/proc/device-tree/bmc'):
self.cancel("Test Unsupported! on this platform")
if 'IBM,9028-21B' in open('/proc/device-tree/model', 'r').read():
self.cancel("Test Unsupported! on this Hardware platform")
if 'pSeries' in open('/proc/cpuinfo', 'r').read():
for mdl in ['rpaphp', 'rpadlpar_io']:
if not linux_modules.module_is_loaded(mdl):
Expand Down

0 comments on commit d1e1e7a

Please sign in to comment.