From: Davide Ciminaghi <dciminaghi@mail.gnudd.com>
To: linux@arm.linux.org.uk, tglx@linutronix.de, mingo@redhat.com,
hpa@zytor.com, djbw@fb.com, vinod.koul@intel.com,
grant.likely@secretlab.ca, linus.walleij@linaro.org,
rubini@gnudd.com, wim@iguana.be, cjb@laptop.org,
davidb@codeaurora.org, nico@fluxnic.net,
gregkh@linuxfoundation.org, ben-linux@fluff.org,
viresh.linux@gmail.com, rajeev-dlh.kumar@st.com
Cc: linux-kernel@vger.kernel.org,
linux-arm-kernel@lists.infradead.org, giancarlo.asnaghi@st.com,
Davide Ciminaghi <ciminaghi@gnudd.com>
Subject: [PATCH 0/8] enable support for AMBA drivers under x86
Date: Fri, 14 Sep 2012 18:23:55 +0200 [thread overview]
Message-ID: <1347639843-32119-1-git-send-email-dciminaghi@mail.gnudd.com> (raw)
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
next reply other threads:[~2012-09-14 16:26 UTC|newest]
Thread overview: 16+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-09-14 16:23 Davide Ciminaghi [this message]
2012-09-14 16:23 ` [PATCH 1/8] DMA: PL330: use prefix in reg names to build under x86 Davide Ciminaghi
2012-09-16 22:13 ` Linus Walleij
2012-09-17 3:06 ` Vinod Koul
2012-09-14 16:23 ` [PATCH 2/8] gpio: pl061 depends on ARM Davide Ciminaghi
2012-09-14 18:09 ` Sergei Shtylyov
2012-09-17 8:58 ` Davide Ciminaghi
2012-09-17 21:59 ` Russell King - ARM Linux
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
2012-09-14 16:23 ` [PATCH 4/8] watchdog: sp805_wdt depends on ARM Davide Ciminaghi
2012-09-14 16:24 ` [PATCH 5/8] mmci: replace readsl/writesl with ioread32_rep/iowrite32_rep Davide Ciminaghi
2012-09-14 16:24 ` [PATCH 6/8] mmc: use the new <linux/sizes.h> Davide Ciminaghi
2012-09-14 16:39 ` David Brown
2012-09-14 16:24 ` [PATCH 7/8] drivers/amba: add support for a PCI bridge Davide Ciminaghi
2012-09-14 16:24 ` [PATCH 8/8] x86: add CONFIG_ARM_AMBA, selected by STA2X11 Davide Ciminaghi
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1347639843-32119-1-git-send-email-dciminaghi@mail.gnudd.com \
--to=dciminaghi@mail.gnudd.com \
--cc=ben-linux@fluff.org \
--cc=ciminaghi@gnudd.com \
--cc=cjb@laptop.org \
--cc=davidb@codeaurora.org \
--cc=djbw@fb.com \
--cc=giancarlo.asnaghi@st.com \
--cc=grant.likely@secretlab.ca \
--cc=gregkh@linuxfoundation.org \
--cc=hpa@zytor.com \
--cc=linus.walleij@linaro.org \
--cc=linux-arm-kernel@lists.infradead.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux@arm.linux.org.uk \
--cc=mingo@redhat.com \
--cc=nico@fluxnic.net \
--cc=rajeev-dlh.kumar@st.com \
--cc=rubini@gnudd.com \
--cc=tglx@linutronix.de \
--cc=vinod.koul@intel.com \
--cc=viresh.linux@gmail.com \
--cc=wim@iguana.be \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).