aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-postgresql.py
diff options
context:
space:
mode:
authorJames Bottomley <[email protected]>2015-04-15 22:16:01 -0700
committerJames Bottomley <[email protected]>2015-04-17 10:19:07 -0700
commit56cbd0ccc1b508de19561211d7ab9e1c77e6b384 (patch)
tree7555bf5a8f8fa03e0630aeab5ef6ebd1af96595e /tools/perf/scripts/python/export-to-postgresql.py
parent8041708ed4d993c5466c20926210598afa97194e (diff)
mvsas: fix panic on expander attached SATA devices
mvsas is giving a General protection fault when it encounters an expander attached ATA device. Analysis of mvs_task_prep_ata() shows that the driver is assuming all ATA devices are locally attached and obtaining the phy mask by indexing the local phy table (in the HBA structure) with the phy id. Since expanders have many more phys than the HBA, this is causing the index into the HBA phy table to overflow and returning rubbish as the pointer. mvs_task_prep_ssp() instead does the phy mask using the port properties. Mirror this in mvs_task_prep_ata() to fix the panic. Reported-by: Adam Talbot <[email protected]> Tested-by: Adam Talbot <[email protected]> Cc: <[email protected]> Signed-off-by: James Bottomley <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions