megaraid_sas: Fix system stall with iommu enabled
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest6 patches 8 repliesIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/6 | megaraid_sas: Do not wait foreverdrivers/ | +25 | 4 replies | |
| 2/6 | megaraid_sas_fusion: Fixup fire_cmd syntaxdrivers/ drivers/ | +13 | 0 replies | |
| 3/6 | megaraid_sas_fusion: correctly pass queue info pointerdrivers/ | +4 | 1 reply | |
| 4/6 | megaraid_sas: catch errors from megasas_get_map_info()drivers/ drivers/ | +26 | 1 reply | |
| 5/6 | megaraid_sas_fusion: Return correct error value in megasas_get_ld_map_info()drivers/ | +1 | 1 reply | |
| 6/6 | megaraid_sas: check return value for megasas_get_pd_list()drivers/ | +6 | 1 reply |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [PATCH 0/6] megaraid_sas: Fix system stall with iommu enabled
Hi all,
recently I've enabled VT-d on one of my systems, which happened to have one of the latest Megaraid SAS cards (Fury) installed.
And it failed miserably due to invalid DMAR tables.
Which would be okay, if just the HBA failed to initialize. But the entire system stalled as the megaraid_sas driver went into an endless loop waiting for the init command to come back, which it never did.
So I went on to debug this, and found several issues along the way. With this patchset the initialisation routine for megaraid_sas correctly aborts and allows the system to boot.
Hannes Reinecke (6):
megaraid_sas: Do not wait forever
megaraid_sas_fusion: Fixup fire_cmd syntax
megaraid_sas_fusion: correctly pass queue info pointer
megaraid_sas: catch errors from megasas_get_map_info()
megaraid_sas_fusion: Return correct error value in
megasas_get_ld_map_info()
megaraid_sas: check return value for megasas_get_pd_list()
drivers/scsi/megaraid/megaraid_sas_base.c | 56 +++++++++++++--------- drivers/scsi/megaraid/megaraid_sas_fusion.c | 74 ++++++++++++++++------------- drivers/scsi/megaraid/megaraid_sas_fusion.h | 8 +--- 3 files changed, 75 insertions(+), 63 deletions(-)
Signature · 1 line
1.7.12.4