linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v2 0/8] enable support for AMBA drivers under x86
@ 2012-11-23 15:08 Davide Ciminaghi
  2012-11-23 15:08 ` [PATCH 1/8] DMA: PL330: use prefix in reg names to build " Davide Ciminaghi
                   ` (7 more replies)
  0 siblings, 8 replies; 34+ messages in thread
From: Davide Ciminaghi @ 2012-11-23 15:08 UTC (permalink / raw)
  To: linux, tglx, mingo, hpa, djbw, vinod.koul, grant.likely,
	linus.walleij, rubini, wim, cjb, davidb, nico, ben-linux,
	viresh.linux, rajeev-dlh.kumar
  Cc: linux-kernel, linux-arm-kernel, giancarlo.asnaghi

Hi,

this is v2 of a patchset submitted on Sep 14th
(see https://lkml.org/lkml/2012/9/14/412).
The only changes are:

* Rebased to next-20121115.
* "gpio: pl061 depends on ARM" : changelog fixed as per Sergei Shtylyov's
  comments (see https://lkml.org/lkml/2012/9/14/471).
* "drivers/amba: add support for a PCI bridge" : pci_amba_probe(), avoided
  unnecessary double return statement.

Acked by situation:

"DMA: PL330: use prefix in reg names to build under x86" has already been
acked by Vinod Koul (see https://lkml.org/lkml/2012/9/16/271) and
Linus Walleij (see https://lkml.org/lkml/2012/9/16/93).

"mmc: use the new <linux/sizes.h>" has already been acked by David Brown
(see https://lkml.org/lkml/2012/9/14/613)

"pl080.h: moved from arm/include/asm/hardware to include/linux/amba/" has
already been acked by Linus Walleij (see https://lkml.org/lkml/2012/9/16/92).

Regards
Davide


Alessandro Rubini (7):
  DMA: PL330: use prefix in reg names to build under x86
  gpio: pl061 depends on ARM
  pl080.h: moved from arm/include/asm/hardware to include/linux/amba/
  watchdog: sp805_wdt depends on ARM
  mmc: use the new <linux/sizes.h>
  drivers/amba: add support for a PCI bridge
  x86: add CONFIG_ARM_AMBA, selected by STA2X11

Davide Ciminaghi (1):
  mmci: replace readsl/writesl with ioread32_rep/iowrite32_rep

 arch/arm/include/asm/hardware/pl080.h |  146 ---------
 arch/arm/mach-s3c64xx/dma.c           |    2 +-
 arch/arm/mach-spear3xx/spear3xx.c     |    2 +-
 arch/arm/mach-spear6xx/spear6xx.c     |    2 +-
 arch/x86/Kconfig                      |    4 +
 drivers/Kconfig                       |    2 +
 drivers/amba/Kconfig                  |   10 +
 drivers/amba/Makefile                 |    1 +
 drivers/amba/pci-amba.c               |   93 ++++++
 drivers/dma/amba-pl08x.c              |    2 +-
 drivers/dma/pl330.c                   |  581 +++++++++++++++++----------------
 drivers/gpio/Kconfig                  |    2 +-
 drivers/mmc/host/mmci.c               |   10 +-
 drivers/mmc/host/msm_sdcc.c           |    2 +-
 drivers/mmc/host/mvsdio.c             |    2 +-
 drivers/mmc/host/mxcmmc.c             |    2 +-
 drivers/mmc/host/pxamci.c             |    3 +-
 drivers/watchdog/Kconfig              |    2 +-
 include/linux/amba/pl080.h            |  146 +++++++++
 19 files changed, 563 insertions(+), 451 deletions(-)
 delete mode 100644 arch/arm/include/asm/hardware/pl080.h
 create mode 100644 drivers/amba/Kconfig
 create mode 100644 drivers/amba/pci-amba.c
 create mode 100644 include/linux/amba/pl080.h

-- 
1.7.10.4


^ permalink raw reply	[flat|nested] 34+ messages in thread
* [PATCH 0/8] enable support for AMBA drivers under x86
@ 2012-09-14 16:23 Davide Ciminaghi
  2012-09-14 16:23 ` [PATCH 3/8] pl080.h: moved from arm/include/asm/hardware to include/linux/amba/ Davide Ciminaghi
  0 siblings, 1 reply; 34+ messages in thread
From: Davide Ciminaghi @ 2012-09-14 16:23 UTC (permalink / raw)
  To: linux, tglx, mingo, hpa, djbw, vinod.koul, grant.likely,
	linus.walleij, rubini, wim, cjb, davidb, nico, gregkh, ben-linux,
	viresh.linux, rajeev-dlh.kumar
  Cc: linux-kernel, linux-arm-kernel, giancarlo.asnaghi, Davide Ciminaghi

From: Davide Ciminaghi <ciminaghi@gnudd.com>

Following Alessandro's report on build errors for amba drivers under x86
(see [1]), here's a patchset fixing the errors and adding a pci-amba bridge
driver.
Some notes:

* 1/8 (DMA: PL330 ...) is quite fat. Should this be a problem, we
could simply disable the PL330 driver under non ARM systems (we actually
don't need the PL330 driver for our x86 platform).
* All the mmc drivers have been fixed to use the new linux/sizes.h header.
* As far as the mmci driver is concerned, readsl/writesl have been replaced
by ioread32_rep/iowrite32_rep as suggested by Arnd Bergmann (see [2]).
* asm/amba/pl080.h is needed by arch/arm/mach-s3c64xx/dma.c (registers
definitions, struct pl080s_lli), so we need most of it to be globally
visible. As a consequence Arnd's suggestion (see [2]) about splitting
the file into two parts was not followed for now.

Davide

Notes:
[1] https://lkml.org/lkml/2012/7/3/227
[2] https://lkml.org/lkml/2012/7/3/236

Alessandro Rubini (7):
  DMA: PL330: use prefix in reg names to build under x86
  gpio: pl061 depends on ARM
  pl080.h: moved from arm/include/asm/hardware to include/linux/amba/
  watchdog: sp805_wdt depends on ARM
  mmc: use the new <linux/sizes.h>
  drivers/amba: add support for a PCI bridge
  x86: add CONFIG_ARM_AMBA, selected by STA2X11

Davide Ciminaghi (1):
  mmci: replace readsl/writesl with ioread32_rep/iowrite32_rep

 arch/arm/include/asm/hardware/pl080.h |  146 ---------
 arch/arm/mach-s3c64xx/dma.c           |    2 +-
 arch/arm/mach-spear3xx/spear3xx.c     |    2 +-
 arch/arm/mach-spear6xx/spear6xx.c     |    2 +-
 arch/x86/Kconfig                      |    4 +
 drivers/Kconfig                       |    2 +
 drivers/amba/Kconfig                  |   10 +
 drivers/amba/Makefile                 |    1 +
 drivers/amba/pci-amba.c               |   96 ++++++
 drivers/dma/amba-pl08x.c              |    2 +-
 drivers/dma/pl330.c                   |  581 +++++++++++++++++----------------
 drivers/gpio/Kconfig                  |    2 +-
 drivers/mmc/host/mmci.c               |   10 +-
 drivers/mmc/host/msm_sdcc.c           |    2 +-
 drivers/mmc/host/mvsdio.c             |    2 +-
 drivers/mmc/host/mxcmmc.c             |    2 +-
 drivers/mmc/host/pxamci.c             |    3 +-
 drivers/watchdog/Kconfig              |    2 +-
 include/linux/amba/pl080.h            |  146 +++++++++
 19 files changed, 566 insertions(+), 451 deletions(-)
 delete mode 100644 arch/arm/include/asm/hardware/pl080.h
 create mode 100644 drivers/amba/Kconfig
 create mode 100644 drivers/amba/pci-amba.c
 create mode 100644 include/linux/amba/pl080.h

-- 
1.7.9.1


^ permalink raw reply	[flat|nested] 34+ messages in thread

end of thread, other threads:[~2012-12-03 16:57 UTC | newest]

Thread overview: 34+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-11-23 15:08 [PATCH v2 0/8] enable support for AMBA drivers under x86 Davide Ciminaghi
2012-11-23 15:08 ` [PATCH 1/8] DMA: PL330: use prefix in reg names to build " Davide Ciminaghi
2012-11-23 15:51   ` viresh kumar
2012-11-23 17:23     ` Davide Ciminaghi
2012-11-23 17:28       ` Viresh Kumar
2012-11-24  0:53         ` [PATCH 1/8 v3] " Davide Ciminaghi
2012-11-24  5:14           ` Jassi Brar
2012-11-24  7:03           ` Alessandro Rubini
2012-11-24 11:05             ` Jassi Brar
2012-11-28 16:15               ` Davide Ciminaghi
2012-11-23 15:08 ` [PATCH 2/8] gpio: pl061 depends on ARM Davide Ciminaghi
2012-11-23 15:57   ` viresh kumar
2012-12-01 15:11   ` Linus Walleij
2012-12-03 13:31     ` Davide Ciminaghi
2012-11-23 15:08 ` [PATCH 3/8] pl080.h: moved from arm/include/asm/hardware to include/linux/amba/ Davide Ciminaghi
2012-11-23 15:53   ` viresh kumar
2012-11-24  0:22     ` [PATCH 3/8 v3] " Davide Ciminaghi
2012-11-28 16:04       ` Linus Walleij
2012-11-23 15:08 ` [PATCH 4/8] watchdog: sp805_wdt depends on ARM Davide Ciminaghi
2012-11-23 15:56   ` viresh kumar
2012-11-28 16:00   ` Linus Walleij
2012-11-23 15:08 ` [PATCH 5/8] mmci: replace readsl/writesl with ioread32_rep/iowrite32_rep Davide Ciminaghi
2012-11-28 16:08   ` Linus Walleij
2012-11-28 16:33     ` Davide Ciminaghi
2012-12-03 14:47   ` Will Deacon
2012-12-03 16:55     ` Davide Ciminaghi
2012-11-23 15:08 ` [PATCH 6/8] mmc: use the new <linux/sizes.h> Davide Ciminaghi
2012-11-23 15:59   ` viresh kumar
2012-11-26 19:08   ` David Brown
2012-12-01 17:05   ` Linus Walleij
2012-11-23 15:08 ` [PATCH 7/8] drivers/amba: add support for a PCI bridge Davide Ciminaghi
2012-11-23 15:08 ` [PATCH 8/8] x86: add CONFIG_ARM_AMBA, selected by STA2X11 Davide Ciminaghi
  -- strict thread matches above, loose matches on Subject: below --
2012-09-14 16:23 [PATCH 0/8] enable support for AMBA drivers under x86 Davide Ciminaghi
2012-09-14 16:23 ` [PATCH 3/8] pl080.h: moved from arm/include/asm/hardware to include/linux/amba/ Davide Ciminaghi
2012-09-16 22:11   ` Linus Walleij

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).