[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <20170719114232.8347-1-laurentiu.tudor@nxp.com>
Date: Wed, 19 Jul 2017 14:42:24 +0300
From: <laurentiu.tudor@....com>
To: <gregkh@...uxfoundation.org>, <stuyoder@...il.com>
CC: <devel@...verdev.osuosl.org>, <linux-kernel@...r.kernel.org>,
<marc.zyngier@....com>, <agraf@...e.de>, <robin.murphy@....com>,
<arnd@...db.de>, <ioana.ciornei@....com>,
<ruxandra.radulescu@....com>, <bharat.bhushan@....com>,
<catalin.horghidan@....com>, <leoyang.li@....com>,
<roy.pledge@....com>, <linux-arm-kernel@...ts.infradead.org>,
Laurentiu Tudor <laurentiu.tudor@....com>
Subject: [PATCH v3 0/8] staging: fsl-mc: make the driver compile on other architectures
From: Laurentiu Tudor <laurentiu.tudor@....com>
Apart from a small change (first patch) which adds a missing comment,
this series make the bus driver compile on other architectures, as per
GregKH comment [1].
Compiled tested on:
- booke powerpc (corenet{32,64}_smp_defconfig) with this ppc patch [2]
- x86 (i386_defconfig, x86_64_defconfig, needs CONFIG_OF)
- arm64 (defconfig)
[1] https://www.spinics.net/lists/linux-driver-devel/msg100585.html
[2] https://patchwork.ozlabs.org/patch/789474/
version 3 changes
- add COMPILE_TEST instead of dropping ARCH_LAYERSCAPE so
that other arches menuconfig is not polluted with an
useless option (Arnd)
version 2 changes
- use writeq() / writeq_relaxed() / readq_relaxed() instead
of raw versions (Robin)
- use linux/io-64-nonatomic-hi-lo.h to make the driver compile
on 32-bit platforms (Robin)
- add extra LE <-> CPU so that standard device io may be used (Arnd)
Laurentiu Tudor (8):
staging: fsl-mc: add missing fsl_mc comment in struct msi_desc
staging: fsl-mc: use generic memory barriers
staging: fsl-mc: drop useless gic v3 related #include
staging: fsl-mc: fix compilation with non-generic msi domain ops
staging: fsl-mc: fix formating of phys_addr_t on 32 bits
staging: fsl-mc: don't use raw device io functions
staging: fsl-mc: make the driver compile on 32-bit
staging: fsl-mc: allow the driver compile multi-arch
drivers/staging/fsl-dpaa2/Kconfig | 2 +-
drivers/staging/fsl-mc/bus/Kconfig | 4 +--
drivers/staging/fsl-mc/bus/fsl-mc-msi.c | 5 ++-
.../staging/fsl-mc/bus/irq-gic-v3-its-fsl-mc-msi.c | 3 +-
drivers/staging/fsl-mc/bus/mc-io.c | 8 ++---
drivers/staging/fsl-mc/bus/mc-sys.c | 36 +++++++++++++---------
include/linux/msi.h | 1 +
7 files changed, 36 insertions(+), 23 deletions(-)
--
2.9.4
Powered by blists - more mailing lists