Skip to content

x86: some GART cleanups

Joerg Roedel lkml 1 version New

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest4 patches 0 repliesNew

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/4x86 gart: rename iommu.h to gart.harch/x86/kernel/aperture_64.c arch/x86/kernel/early-quirks.c arch/x86/kernel/pci-calgary_64.c +8 more+12 -120 replies
2/4x86 gart: rename CONFIG_IOMMU to CONFIG_GART_IOMMUarch/x86/kernel/Makefile_64 arch/x86/kernel/early-quirks.c arch/x86/kernel/pci-dma_64.c +8 more+16 -160 replies
3/4x86 gart: make some variables and functions staticarch/x86/kernel/pci-gart_64.c+4 -40 replies
4/4x86 gart: rename symbols only used for the GART implementationarch/x86/kernel/aperture_64.c arch/x86/kernel/early-quirks.c arch/x86/kernel/pci-dma_64.c +2 more+20 -190 replies

Reviews trailers per patch

3 of 4 patches have a Reviewed-by or Acked-by.

PatchMuli Ben-Yehuda
1/4A-b
2/4A-b
3/4A-b
4/4

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [PATCH 0/4] x86: some GART cleanups

This series of patches contains cleanups for the GART IOMMU implementation in Linux. It mostly renames symbols to make clear that they belong only to the GART and not to the implementations for other IOMMUs. It also makes some unnecessary exported functions static in the GART implementation. The patches apply cleanly to Linus latest git tree. Here is the complete diffstat:

 arch/x86/kernel/Makefile_64      |    2 +-
 arch/x86/kernel/aperture_64.c    |   15 ++++++++-------
 arch/x86/kernel/early-quirks.c   |   10 +++++-----
 arch/x86/kernel/pci-calgary_64.c |    2 +-
 arch/x86/kernel/pci-dma_64.c     |   10 +++++-----
 arch/x86/kernel/pci-gart_64.c    |   19 +++++++++----------
 arch/x86/kernel/pci-nommu_64.c   |    2 +-
 arch/x86/kernel/pci-swiotlb_64.c |    2 +-
 arch/x86/kernel/reboot_64.c      |    2 +-
 arch/x86_64/Kconfig              |    6 +++---
 arch/x86_64/Kconfig.debug        |    2 +-
 arch/x86_64/defconfig            |    2 +-
 drivers/char/agp/Kconfig         |    4 ++--
 drivers/char/agp/amd64-agp.c     |    2 +-
 drivers/pci/intel-iommu.c        |    2 +-
 drivers/usb/core/message.c       |    2 +-
 include/asm-x86/gart.h           |   20 +++++++++-----------
 include/asm-x86/pci_64.h         |    3 +--
 18 files changed, 52 insertions(+), 55 deletions(-)