sh: Fix IDE on landisk (HDD models)
Status from this message: Applied to libata/linux.git (for-7.5), thanks!
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
- v2 Latest2 patches 3 repliesApplied
- v12 patches 15 repliesSuperseded
Changes in v2 from the cover letter
- Fixed up the patch to pata_artop.c so it looks a bit nicer.
- Updated the text in places to reflect that this covers the models of landisk that use a PCI IDE controller.
- Florian said that the pata_artop.c patch might change the behaviour if the pci_iomap() fails. I think this is ok, if pci_iomap() fails there is no point continuing into the core driver where it'll just fail again.
- I'll address the remaining style issues in pata_artop.c later.
- Somehow I have now ended up with the CF based model (USL-5P) too and I have tested these changes don't break it. As Geert mentioned the CF models need their own patch to fix IDE in the defconfig. I have a few other fixes for the USL-5P that I'll put together into a series and send later.
Patches in v2 Applied
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/2 | ata: pata_artop: read the ATP865 mode register through pci_iomapdrivers/ | +10 | 2 replies | |
| 2/2 | sh: landisk_defconfig: enable PATA_ARTOP for the ATP865arch/ | +1 | 0 replies |
Reviews trailers per patch
1 of 2 patches has a Reviewed-by or Acked-by.
| Patch | Florian Fuchs | Colton Pawielski |
|---|---|---|
| 1/2 | T-b | |
| 2/2 | R-b | T-b |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH v2 0/2] sh: Fix IDE on landisk (HDD models)
I dug out my landisk to look at kexec for Geert. Since I'm lazy and LLMs are good at fixing bitrot I let my LLM work out how to get it to boot again.
There are some other issues (perf is apparently borken, there are some issues with the decompresor and big kernels..) but this seems to be the only thing stopping it booting with the defconfig.
Disclaimer since we don't need to give LLM tags anymore:
- LLM debugged the issue.
- It has been checked on real hardware.
- I have checked the IDE driver patch, cleaned it up and cleaned out massive walls of text that LLMs seem to like to add but I have left its summary of the issue in the commit message.
Changelog:
v2:
- Fixed up the patch to pata_artop.c so it looks a bit nicer.
- Updated the text in places to reflect that this covers the models of landisk that use a PCI IDE controller.
- Florian said that the pata_artop.c patch might change the behaviour if the pci_iomap() fails. I think this is ok, if pci_iomap() fails there is no point continuing into the core driver where it'll just fail again.
- I'll address the remaining style issues in pata_artop.c later.
- Somehow I have now ended up with the CF based model (USL-5P) too and I have tested these changes don't break it. As Geert mentioned the CF models need their own patch to fix IDE in the defconfig. I have a few other fixes for the USL-5P that I'll put together into a series and send later.
Daniel Palmer (2):
ata: pata_artop: read the ATP865 mode register through pci_iomap
sh: landisk_defconfig: enable PATA_ARTOP for the ATP865
arch/sh/configs/landisk_defconfig | 2 +- drivers/ata/pata_artop.c | 11 ++++++++++- 2 files changed, 11 insertions(+), 2 deletions(-)
Signature · 1 line
2.55.0