Skip to content

Fix loading of platform ROM from 32-bit EFI

Mikel Rychliski amd-gfx linux-pci nouveau 3 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest posting 2/22 patches 3 repliesIn review
  2. v2 posting 1/22 patches 0 repliesSuperseded
  3. v14 patches 4 repliesSuperseded

Changes in v2 from the cover letter

- Add iounmap() call in nouveau
- Update function comment for pci_platform_rom()
- Minor changes to commit messages

Patches in v2 posting 2/2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2drm/radeon: Stop directly referencing iomemdrivers/gpu/drm/radeon/radeon_bios.c+7 -40 replies
2/2PCI: Use ioremap(), not phys_to_virt() for platform ROMdrivers/gpu/drm/amd/amdgpu/amdgpu_bios.c drivers/gpu/drm/nouveau/nvkm/subdev/bios/shadowpci.c drivers/gpu/drm/radeon/radeon_bios.c +1 more+18 -43 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v2 yet.

Read the v2 thread

Cover letter [PATCH RESEND v2 0/2] Fix loading of platform ROM from 32-bit EFI

This patch series fixes an oops when loading the radeon driver on old Macs with a 32-bit EFI implementation.

Tested on a MacPro 1,1 with a Radeon X1900 XT card and 32-bit kernel.

Changes in v2:
- Add iounmap() call in nouveau
- Update function comment for pci_platform_rom()
- Minor changes to commit messages

Mikel Rychliski (2):
drm/radeon: Stop directly referencing iomem
PCI: Use ioremap(), not phys_to_virt() for platform ROM

 drivers/gpu/drm/amd/amdgpu/amdgpu_bios.c             |  1 +
 drivers/gpu/drm/nouveau/nvkm/subdev/bios/shadowpci.c | 11 ++++++++++-
 drivers/gpu/drm/radeon/radeon_bios.c                 | 12 ++++++++----
 drivers/pci/rom.c                                    |  9 ++++++---
 4 files changed, 25 insertions(+), 8 deletions(-)
Signature · 1 line
2.13.7