Skip to content

Initial steps to compile AMBA for x86

Alessandro Rubini linux-arm-kernel lkml 1 version NAK

Status from this message: NAK

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest4 patches 4 repliesNAK

Patches in v1

#Subject and filesSizeRepliesApplied
1/4x86: add NO_IRQ macroarch/x86/include/asm/irq.h+2 -03 replies
2/4sizes.h: move from asm-generic to <linux/sizes.h>include/asm-generic/sizes.h include/linux/sizes.h+49 -471 reply
3/4amba: use the new linux/sizes.hdrivers/amba/bus.c+1 -10 replies
4/4ARM: use the new linux/sizes.harch/arm/include/asm/memory.h arch/arm/mm/dma-mapping.c arch/arm/mm/init.c +2 more+5 -50 replies

Reviews trailers per patch

All 4 patches have a Reviewed-by or Acked-by.

PatchGiancarlo AsnaghiArnd Bergmann
1/4A-b
2/4A-b A-b
3/4A-b
4/4A-b

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] Initial steps to compile AMBA for x86

I'm working on the sta2x11 I/O Hub, which is basically a bridge from PCIe to AMBA. While current code uses PCI drivers for all the PrimeCell devices (with a lot of code duplication), I think we should be able to compile native amba drivers. The chip has uart, spi, mmc, i2c and dma cells, for which an AMBA driver is already in the kernel.

This patch-set is the first steps needed to build amba drivers for x86. I'm currently using the pl011 UART as a testbed, and it's up on my system (with other not-ready-to-be-published patches).

As for sizes, there are a number of users of <asm/sizes.h>. If these initial patches are accepted, I'll take care to convert other stuff, add a #warning to asm/sizes.h and remove it after a pair of releases.

The patches have been build-tested under ARM with versatile_defconfig, at91sam9263_defconfig, vexpress_defconfig and realview-smp_defconfig -- as well as sta2x11 on x86.

Alessandro Rubini (4):
x86: add NO_IRQ macro
sizes.h: move from asm-generic to <linux/sizes.h>
amba: use the new linux/sizes.h
ARM: use the new linux/sizes.h

 arch/arm/include/asm/memory.h |    2 +-
 arch/arm/mm/dma-mapping.c     |    2 +-
 arch/arm/mm/init.c            |    2 +-
 arch/arm/mm/ioremap.c         |    2 +-
 arch/arm/mm/mmu.c             |    2 +-
 arch/x86/include/asm/irq.h    |    2 +
 drivers/amba/bus.c            |    2 +-
 include/asm-generic/sizes.h   |   49 +---------------------------------------
 include/linux/sizes.h         |   47 +++++++++++++++++++++++++++++++++++++++
 9 files changed, 57 insertions(+), 53 deletions(-)
 create mode 100644 include/linux/sizes.h
Signature · 1 line
1.7.7.2