fix libata-sff and pata_cmd64x to not crash on boot on parisc
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest2 patches 24 repliesIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/2 | libata-sff: remove hardcoded requirement for two portsdrivers/ include/ | +55 | 0 replies | |
| 2/2 | pata_cmd64x: fix crash on boot with disabled secondary portdrivers/ | +19 | 1 reply |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [PATCH 0/2] fix libata-sff and pata_cmd64x to not crash on boot on parisc
currently libata-sff is completely ignoring the enabled/disabled status of the interfaces. This is a real problem on parisc because if you touch a non responding memory area (i.e. a disabled interface) you crash the box.
Fix this up by restoring the enablebits logic to the pata_cmd64x driver. To do this, libata-sff has to be modified not to probe both ports if we don't have them. This is done by reintroducing IDE_HFLAG_SINGLE flag as ATA_HOST_SFF_SINGLE_PORT which drivers can use to condition libata-sff port probing.
James
---
James Bottomley (2):
libata-sff: remove hardcoded requirement for two ports
pata_cmd64x: fix crash on boot with disabled secondary port
drivers/ata/libata-sff.c | 75 ++++++++++++++++++++++++++++++++------------ drivers/ata/pata_cmd64x.c | 22 +++++++++++-- include/linux/libata.h | 1 + 3 files changed, 74 insertions(+), 24 deletions(-)
Signature · 1 line
1.7.4.1