From: Andrew Murray [EMAIL PROTECTED]
This patch provides specific clock support for the SH7712. (This is my first
ever patch, so apologies if I've not followed the procedure correctly!)
Signed-off-by: Andrew Murray [EMAIL PROTECTED]
---
diff -uprN -x sh-2.6/Documentation/dontdiff
sh-2.6/arch
Hello,
Yes you are correct. Here is an updated patch. Happy New Year.
---
From: Andrew Murray [EMAIL PROTECTED]
This patch provides specific clock support for the SH7712. (This is my first
ever patch, so apologies if I've not followed the procedure correctly!)
Signed-off-by: Andrew Murray
From: Andrew Murray [EMAIL PROTECTED]
This patch provides a correct value for CONFIG_SH_PCLK_FREQ for the SH7712
solution engine when used with the board's default factory settings. This
results in the board running at its maximum CPU clock rate (200 MHz).
The board I have is a Japanese
...@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Andrew Murray
--
To unsubscribe from this list: send the line unsubscribe linux-kernel in
the body of a message to majord...@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
with powerpc and microblaze).
Signed-off-by: Andrew Murray andrew.mur...@arm.com
Signed-off-by: Liviu Dudau liviu.du...@arm.com
Signed-off-by: Thomas Petazzoni thomas.petazz...@free-electrons.com
Reviewed-by: Rob Herring rob.herr...@calxeda.com
Tested-by: Thomas Petazzoni thomas.petazz...@free
.
Compared to the v6 sent by Andrew Murray, the following changes have
been made in response to build errors/warnings:
* Inclusion of linux/of_address.h in of_pci.c as suggested by Michal
Simek to prevent compilation failures on Microblaze (and others) and his
ack.
* Use of externs
This patch converts the pci_load_of_ranges function to use the new common
of_pci_range_parser.
Signed-off-by: Andrew Murray andrew.mur...@arm.com
Signed-off-by: Liviu Dudau liviu.du...@arm.com
Reviewed-by: Rob Herring rob.herr...@calxeda.com
---
arch/mips/pci/pci.c | 50
The pci_process_bridge_OF_ranges function, used to parse the ranges
property of a PCI host device, is found in both Microblaze and PowerPC
architectures. These implementations are nearly identical. This patch
moves this common code to a common place.
Signed-off-by: Andrew Murray andrew.mur
with powerpc and microblaze).
The modifications to microblaze, mips and powerpc have not been tested.
Signed-off-by: Andrew Murray andrew.mur...@arm.com
Signed-off-by: Liviu Dudau liviu.du...@arm.com
Signed-off-by: Thomas Petazzoni thomas.petazz...@free-electrons.com
---
Compared to the v3 sent
with powerpc and microblaze).
Signed-off-by: Andrew Murray andrew.mur...@arm.com
Signed-off-by: Liviu Dudau liviu.du...@arm.com
Signed-off-by: Thomas Petazzoni thomas.petazz...@free-electrons.com
---
drivers/of/address.c | 63 +
drivers/of/of_pci.c| 112
This patch converts the pci_load_of_ranges function to use the new common
of_pci_range_parser.
Signed-off-by: Andrew Murray andrew.mur...@arm.com
Signed-off-by: Liviu Dudau liviu.du...@arm.com
---
arch/mips/pci/pci.c | 50 --
1 files changed, 16
(incorrectly labelled v3) sent by Andrew Murray,
the following changes have been made:
* Split the patch as suggested by Rob Herring
Compared to the v3 sent by Andrew Murray, the following changes have
been made:
* Unify and move duplicate pci_process_bridge_OF_ranges functions to
drivers
The pci_process_bridge_OF_ranges function, used to parse the ranges
property of a PCI host device, is found in both Microblaze and PowerPC
architectures. These implementations are nearly identical. This patch
moves this common code to a common place.
Signed-off-by: Andrew Murray andrew.mur
On Wed, Apr 10, 2013 at 02:13:54PM +0100, Rob Herring wrote:
Adding Ben H and Michal...
On 04/10/2013 02:29 AM, Andrew Murray wrote:
The pci_process_bridge_OF_ranges function, used to parse the ranges
property of a PCI host device, is found in both Microblaze and PowerPC
architectures
On Wed, Apr 10, 2013 at 07:26:02PM +0100, Rob Herring wrote:
On 04/10/2013 02:29 AM, Andrew Murray wrote:
This patch factors out common implementation patterns to reduce overall
kernel
code and provide a means for host bridge drivers to directly obtain struct
resources from the DT's
Petazzoni's Armada 370 and Armada XP SoCs PCIe support by:
Linus Walleij linus.wall...@linaro.org
I've tested that this patchset builds and runs on ARM and that it builds on
PowerPC.
Compared to the v5 sent by Andrew Murray, the following changes have
been made:
* Use of CONFIG_64BIT instead
This patch converts the pci_load_of_ranges function to use the new common
of_pci_range_parser.
Signed-off-by: Andrew Murray andrew.mur...@arm.com
Signed-off-by: Liviu Dudau liviu.du...@arm.com
Reviewed-by: Rob Herring rob.herr...@calxeda.com
---
arch/mips/pci/pci.c | 50
The pci_process_bridge_OF_ranges function, used to parse the ranges
property of a PCI host device, is found in both Microblaze and PowerPC
architectures. These implementations are nearly identical. This patch
moves this common code to a common place.
Signed-off-by: Andrew Murray andrew.mur
with powerpc and microblaze).
Signed-off-by: Andrew Murray andrew.mur...@arm.com
Signed-off-by: Liviu Dudau liviu.du...@arm.com
Signed-off-by: Thomas Petazzoni thomas.petazz...@free-electrons.com
Reviewed-by: Rob Herring rob.herr...@calxeda.com
Tested-by: Thomas Petazzoni thomas.petazz...@free
-bridges could use
phandles to reference independent MSI controllers as their providers of
MSIs. I guess this functionality can be built on top of what you have proposed
later as the need arises.
Andrew Murray
--
To unsubscribe from this list: send the line unsubscribe linux-kernel in
the body
per requesting device.
What about restore_msi_irqs? Does this fit in here too?
Andrew Murray
--
To unsubscribe from this list: send the line unsubscribe linux-kernel in
the body of a message to majord...@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read
On Thu, Mar 21, 2013 at 04:06:25PM +, Thomas Petazzoni wrote:
Dear Andrew Murray,
On Fri, 1 Mar 2013 12:23:36 +, Andrew Murray wrote:
This patch factors out common implementations patterns to reduce overall
kernel
code and provide a means for host bridge drivers to directly
;
+ if (restype == IORESOURCE_IO) {
[...]
+ if (restype == IORESOURCE_MEM) {
[...]
OK I'll update this patch and also include Thierry's suggestions.
Andrew Murray
--
To unsubscribe from this list: send the line unsubscribe linux-kernel in
the body of a message to majord
with powerpc and microblaze).
The modifications to microblaze, mips and powerpc have not been tested.
Signed-off-by: Andrew Murray andrew.mur...@arm.com
Signed-off-by: Liviu Dudau liviu.du...@arm.com
Signed-off-by: Thomas Petazzoni thomas.petazz...@free-electrons.com
---
Compared to [PATCH v5 01/17
On Fri, Mar 01, 2013 at 03:13:34PM +, Rob Herring wrote:
On 03/01/2013 06:23 AM, Andrew Murray wrote:
This patch factors out common implementations patterns to reduce overall
kernel
code and provide a means for host bridge drivers to directly obtain struct
resources from the DT's
On Fri, Mar 01, 2013 at 03:13:34PM +, Rob Herring wrote:
On 03/01/2013 06:23 AM, Andrew Murray wrote:
This patch factors out common implementations patterns to reduce overall
kernel
code and provide a means for host bridge drivers to directly obtain struct
resources from the DT's
On Tue, Jan 22, 2013 at 07:29:01PM +, Jason Gunthorpe wrote:
On Thu, Jan 17, 2013 at 04:22:18PM +, Andrew Murray wrote:
In either of those cases, does it make sense to use the MSI support
outside the scope of the PCI infrastructure? That is, would devices
other than PCI devices
)
Signed-off-by: Andrew Murray andrew.mur...@arm.com
Signed-off-by: Liviu Dudau liviu.du...@arm.com
---
arch/microblaze/pci/pci-common.c | 100 +++--
arch/mips/pci/pci.c | 44 -
arch/powerpc/kernel/pci-common.c | 93
at the
pcie_write_mrrs function.
Andrew Murray
--
To unsubscribe from this list: send the line unsubscribe linux-kernel in
the body of a message to majord...@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
On Wed, Jan 23, 2013 at 10:13:02AM +, Yijing Wang wrote:
??? 2013-01-23 17:21, Andrew Murray ??:
On Wed, Jan 23, 2013 at 08:01:36AM +, Yijing Wang wrote:
Document PCIE BUS MPS parameters pcie_bus_tune_off, pcie_bus_safe,
pcie_bus_peer2peer, pcie_bus_perf into Documentation
interrupt handlers. And so the RC / MSI controllers don't need to
be aware of each other.
Andrew Murray
--
To unsubscribe from this list: send the line unsubscribe linux-kernel in
the body of a message to majord...@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
.
Signed-off-by: Andrew Murray andrew.mur...@arm.com
Signed-off-by: Liviu Dudau liviu.du...@arm.com
---
drivers/pci/msi.c | 113 +++
include/linux/msi.h | 16 +++-
2 files changed, 111 insertions(+), 18 deletions(-)
diff --git a/drivers/pci
, but it
doesn't quite solve this problem - perhaps it can be a starting point?
Andrew Murray
--
To unsubscribe from this list: send the line unsubscribe linux-kernel in
the body of a message to majord...@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read
On Thu, Jan 17, 2013 at 04:05:02PM +, Thierry Reding wrote:
On Thu, Jan 17, 2013 at 03:42:36PM +, Andrew Murray wrote:
On Wed, Jan 16, 2013 at 06:31:01PM +, Thierry Reding wrote:
Alright, putting the functions into pci_ops doesn't sound like a very
good idea then. Or perhaps
On Thu, Jan 17, 2013 at 08:30:10PM +, Thierry Reding wrote:
On Thu, Jan 17, 2013 at 04:22:18PM +, Andrew Murray wrote:
On Thu, Jan 17, 2013 at 04:05:02PM +, Thierry Reding wrote:
On Thu, Jan 17, 2013 at 03:42:36PM +, Andrew Murray wrote:
On Wed, Jan 16, 2013 at 06:31:01PM
haven't
implemented hw-scan).
I have a patch for this if you want to fold it into your series? (I see you've
made changes to bios32 for per-controller data).
Andrew Murray
--
To unsubscribe from this list: send the line unsubscribe linux-kernel in
the body of a message to majord
fixing up of device irqs when new buses
are added.
Signed-off-by: Andrew Murray andrew.mur...@arm.com
Signed-off-by: Liviu Dudau liviu.du...@arm.com
---
drivers/pci/setup-irq.c | 15 +++
include/linux/pci.h |3 +++
2 files changed, 18 insertions(+), 0 deletions(-)
diff --git
and MRRS.
Signed-off-by: Andrew Murray andrew.mur...@arm.com
Signed-off-by: Liviu Dudau liviu.du...@arm.com
---
arch/arm/include/asm/mach/pci.h |2 ++
arch/arm/kernel/bios32.c| 29 -
2 files changed, 26 insertions(+), 5 deletions(-)
diff --git a/arch/arm
On Wed, Feb 13, 2013 at 10:53:11PM +, Grant Likely wrote:
On Mon, 11 Feb 2013 09:22:17 +0100, Thierry Reding
thierry.red...@avionic-design.de wrote:
From: Andrew Murray andrew.mur...@arm.com
DT bindings for PCI host bridges often use the ranges property to describe
memory and IO
On Fri, Feb 15, 2013 at 01:16:17PM +, Linus Walleij wrote:
n Thu, Feb 14, 2013 at 8:17 PM, Thierry Reding
thierry.red...@avionic-design.de wrote:
On Thu, Feb 14, 2013 at 04:53:41PM +, Andrew Murray wrote:
Thierry,
If you don't have much bandwidth I'd be quite happy to take
:
- This follows on from suggestions made by Grant Likely
(marc.info/?l=linux-kernelm=136079602806328)
Signed-off-by: Andrew Murray andrew.mur...@arm.com
Signed-off-by: Liviu Dudau liviu.du...@arm.com
---
arch/microblaze/pci/pci-common.c | 100 +++--
arch
((weak)) boottime_arch_startup(void)
+{
+ return 0;
+}
+
+int __attribute__((weak)) boottime_bootloader_idle(void)
+{
+ return 0;
+}
You may wish to use the __weak macro (include/linux/compiler*) instead
of directly using GCC attributes here.
Andrew Murray
--
To unsubscribe from
as a pair or be provided by the same chip.
Perhaps the solution is to support MSI controller drivers and a means to
associate them with PCI host controller drivers?
Andrew Murray
--
To unsubscribe from this list: send the line unsubscribe linux-kernel in
the body of a message to majord
parts of the
fabric by different MSI controllers (assuming you relate MSI controllers to
part of the fabric and that you'd want to). Perhaps there would be benefits for
virtualisation as well?
Andrew Murray
--
To unsubscribe from this list: send the line unsubscribe linux-kernel in
the body
whereas previously it would have
been the CPU address for I/O (assuming the cpu_addr was previously
64K).
I have no idea if I/O previously worked for mips, but this patch seems
to change that behavior. It may be a similar story for microblaze and
powerpc.
Andrew Murray
+ if (port
/lists/linux-pci/msg29387.html)
Andrew Murray
+
+void pcibios_fixup_bridge_ranges(struct list_head *resources)
+{
+}
+
+#define IO_SPACE_PAGES ((IO_SPACE_LIMIT + 1) / PAGE_SIZE)
+static DECLARE_BITMAP(pci_iospace, IO_SPACE_PAGES);
+
+unsigned long pci_ioremap_io(const struct resource *res
This patch converts the pci_load_of_ranges function to use the new common
of_pci_range_parser.
Signed-off-by: Andrew Murray andrew.mur...@arm.com
Signed-off-by: Liviu Dudau liviu.du...@arm.com
Signed-off-by: Gabor Juhos juh...@openwrt.org
Reviewed-by: Rob Herring rob.herr...@calxeda.com
Reviewed
This patch converts the pci_load_of_ranges function to use the new common
of_pci_range_parser.
Signed-off-by: Andrew Murray andrew.mur...@arm.com
Signed-off-by: Liviu Dudau liviu.du...@arm.com
---
arch/microblaze/pci/pci-common.c | 106 ++
1 files changed, 38
on
PowerPC, x86_64, MIPS and Microblaze.
Compared to the v8 sent by Andrew Murray, the following changes have been made
(please note that the MIPS patch is unchanged from v8):
* Remove the unification of pci_process_bridge_OF_ranges between PowerPC and
Microblaze. Feedback from Bjorn and Benjamin
with powerpc and microblaze).
Signed-off-by: Andrew Murray andrew.mur...@arm.com
Signed-off-by: Liviu Dudau liviu.du...@arm.com
Signed-off-by: Thomas Petazzoni thomas.petazz...@free-electrons.com
Reviewed-by: Rob Herring rob.herr...@calxeda.com
Tested-by: Thomas Petazzoni thomas.petazz...@free
on
PowerPC, x86_64 and MIPS.
Compared to the v7 sent by Andrew Murray, the following changes have been made
(please note that the first patch is unchanged from v7):
* Rename of_pci_range_parser to of_pci_range_parser_init and
of_pci_process_ranges to of_pci_range_parser_one as suggested by Grant
The pci_process_bridge_OF_ranges function, used to parse the ranges
property of a PCI host device, is found in both Microblaze and PowerPC
architectures. These implementations are nearly identical. This patch
moves this common code to a common place.
Signed-off-by: Andrew Murray andrew.mur
This patch converts the pci_load_of_ranges function to use the new common
of_pci_range_parser.
Signed-off-by: Andrew Murray andrew.mur...@arm.com
Signed-off-by: Liviu Dudau liviu.du...@arm.com
Signed-off-by: Gabor Juhos juh...@openwrt.org
Reviewed-by: Rob Herring rob.herr...@calxeda.com
Reviewed
with powerpc and microblaze).
Signed-off-by: Andrew Murray andrew.mur...@arm.com
Signed-off-by: Liviu Dudau liviu.du...@arm.com
Signed-off-by: Thomas Petazzoni thomas.petazz...@free-electrons.com
Reviewed-by: Rob Herring rob.herr...@calxeda.com
Tested-by: Thomas Petazzoni thomas.petazz...@free
such as pcibios_alloc|free_controller and
pcibios_setup_phb_resources type functions.
Andrew Murray (3):
powerpc: Move struct pci_controller to asm-generic
microblaze: Use asm-generic version of pci_controller
pci: Use common definations of INDIRECT_TYPE_*
arch/microblaze/include/asm/pci-bridge.h | 70
This patch removes struct pci_controller from Microblaze and instead
uses struct pci_controller from asm-generic.
Signed-off-by: Andrew Murray andrew.mur...@arm.com
---
arch/microblaze/include/asm/pci-bridge.h | 75 ++
include/asm-generic/pci-bridge.h |2
This patch unifies similar definations of INDIRECT_TYPE_* between
PowerPC and Microblaze.
Signed-off-by: Andrew Murray andrew.mur...@arm.com
---
arch/microblaze/include/asm/pci-bridge.h | 23 ---
arch/powerpc/include/asm/pci-bridge.h| 23 ---
arch
This patch moves struct pci_controller into asm-generic to allow
for use by other architectures thus reducing code duplication in
the kernel.
Signed-off-by: Andrew Murray andrew.mur...@arm.com
---
arch/powerpc/include/asm/pci-bridge.h | 87 +---
include/asm-generic
with 'if
(!config_enabled(CONFIG_GENERIC_PCI_IOMAP))' or similar.
+
static inline u8 inb(unsigned long addr)
{
return readb(addr + PCI_IOBASE);
Andrew Murray
--
To unsubscribe from this list: send the line unsubscribe linux-kernel in
the body of a message to majord...@vger.kernel.org
More majordomo info
On 4 February 2014 12:29, Liviu Dudau liviu.du...@arm.com wrote:
On Mon, Feb 03, 2014 at 10:34:40PM +, Andrew Murray wrote:
On 3 February 2014 18:43, Liviu Dudau liviu.du...@arm.com wrote:
diff --git a/arch/arm64/include/asm/io.h b/arch/arm64/include/asm/io.h
index 4cc813e..ce5bad2
as
host bridge drivers were always in the arch/ directories.
In any case it may be worth testing this driver with PCIEPORTBUS enabled.
Andrew Murray
--
To unsubscribe from this list: send the line unsubscribe linux-kernel in
the body of a message to majord...@vger.kernel.org
More majordomo info
? Is that
because the IP makes these events available through platform IRQs in
addition to the standard PCI means?
Andrew Murray
--
To unsubscribe from this list: send the line unsubscribe linux-kernel in
the body of a message to majord...@vger.kernel.org
More majordomo info at http://vger.kernel.org
(%UBI_READONLY, %UBI_READWRITE, or %UBI_EXCLUSIVE)
+ * @mode: open mode (%UBI_READONLY, %UBI_READWRITE, %UBI_EXCLUSIVE or
%UBI_METAONLY)
*/
struct ubi_volume_desc {
struct ubi_volume *vol;
There is also a similar mention in gluebi.c: 'readers/writes/exclusive'.
Thanks,
Andrew Murray
didn't see
it with a quick look.
There was no reason - it probably should have been inside a #ifdef
like the others.
Andrew Murray
--
To unsubscribe from this list: send the line unsubscribe linux-kernel in
the body of a message to majord...@vger.kernel.org
More majordomo info at http
On 29 October 2014 20:20, Richard Weinberger rich...@nod.at wrote:
Am 29.10.2014 um 21:11 schrieb Andrew Murray:
On 29 October 2014 14:52, Richard Weinberger rich...@nod.at wrote:
diff --git a/include/linux/mtd/ubi.h b/include/linux/mtd/ubi.h
index c3918a0..82b693f 100644
--- a/include/linux
)
+ goto read_err;
+
+ BUG_ON(ret len);
+ *retlen += ret;
Is *retlen initialized to 0 anywhere?
Andrew Murray
+ buf += ret;
+ from += ret;
+ len -= ret;
+ }
+ ret = 0;
+read_err
The armv7pmu driver doesn't support host/guest mode exclusion so
let's report this when set_event_filter is called with these
exclusion flags set.
Signed-off-by: Andrew Murray
---
arch/arm/kernel/perf_event_v7.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/arch/arm/kernel/perf_event_v7
Replace checking of perf event exclusion flags with perf macro.
Signed-off-by: Andrew Murray
---
arch/arm/mach-imx/mmdc.c | 8 +---
arch/arm/mm/cache-l2x0-pmu.c | 7 +--
2 files changed, 2 insertions(+), 13 deletions(-)
diff --git a/arch/arm/mach-imx/mmdc.c b/arch/arm/mach-imx
hing that registers with
isa_register_driver - for example:
drivers/input/touchscreen/htcpen.c
drivers/net/ethernet/3com/3c509.c
drivers/watchdog/ebc-c384_wdt.c
None of these drivers do any kind of mapping before attempting to access
these addresses.
Thanks,
Andrew Murray
> This
/iommu and amd/uncore will now also
indicate that they do not support exclude_{hv|idle} and intel/uncore
that it does not support exclude_{guest|host}.
Signed-off-by: Andrew Murray
---
arch/x86/events/amd/iommu.c| 6 +-
arch/x86/events/amd/uncore.c | 7 ++-
arch/x86/events/intel
);
> >
> > This doesn't seem right. The counter has an architected minimum of 56
> > bits, and you can't assume that it is going to be more than that.
>
> Yeah, I saw 56 is used in arm_arch_timer.c, but I could not find where
> this minimum is defined in aarch64 specs. I will change it to 56.
See section G5.1.2 of the ARM ARM for details.
Thanks,
Andrew Murray
>
> I will send v2 soon.
>
> Thank you,
> Pasha
case modifying the address if it doesn't fit within the MMIO_UPPER_LIMIT
(or IO_SPACE_LIMIT previously) will only break something further down the code
path if the address was wrong in the first place. This function should probably
work in the same was as GENERIC_IOMAP (given it shares t
)
Reported-by: Will Deacon
Signed-off-by: Andrew Murray
---
include/asm-generic/io.h | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/include/asm-generic/io.h b/include/asm-generic/io.h
index 66d1d45..d356f80 100644
--- a/include/asm-generic/io.h
+++ b/include/asm-generic/io.h
On Mon, Sep 17, 2018 at 03:42:32PM +0100, John Garry wrote:
> - dead e-mail addresses (Zhichang, Gabriele)
>
> On 13/09/2018 13:48, Andrew Murray wrote:
>
> Hi Andrew,
>
> > The !CONFIG_GENERIC_IOMAP version of ioport_map uses MMIO_UPPER_LIMIT to
> > prevent
).
The modifications to microblaze, mips and powerpc have not been tested.
Signed-off-by: Andrew Murray
Signed-off-by: Liviu Dudau
Signed-off-by: Thomas Petazzoni
---
Compared to the v3 sent by Andrew Murray, the following changes have
been made:
* Unify and move duplicate
).
Signed-off-by: Andrew Murray
Signed-off-by: Liviu Dudau
Signed-off-by: Thomas Petazzoni
---
drivers/of/address.c | 63 +
drivers/of/of_pci.c| 112
include/linux/of_address.h | 42
3 files
This patch converts the pci_load_of_ranges function to use the new common
of_pci_range_parser.
Signed-off-by: Andrew Murray
Signed-off-by: Liviu Dudau
---
arch/mips/pci/pci.c | 50 --
1 files changed, 16 insertions(+), 34 deletions(-)
diff
s from device
trees.
Compared to the v4 (incorrectly labelled v3) sent by Andrew Murray,
the following changes have been made:
* Split the patch as suggested by Rob Herring
Compared to the v3 sent by Andrew Murray, the following changes have
been made:
* Unify and move duplicate pci_proc
The pci_process_bridge_OF_ranges function, used to parse the "ranges"
property of a PCI host device, is found in both Microblaze and PowerPC
architectures. These implementations are nearly identical. This patch
moves this common code to a common place.
Signed-off-by: Andrew Murray
MIPS.
Compared to the v7 sent by Andrew Murray, the following changes have been made
(please note that the first patch is unchanged from v7):
* Rename of_pci_range_parser to of_pci_range_parser_init and
of_pci_process_ranges to of_pci_range_parser_one as suggested by Grant
Likely.
* R
The pci_process_bridge_OF_ranges function, used to parse the "ranges"
property of a PCI host device, is found in both Microblaze and PowerPC
architectures. These implementations are nearly identical. This patch
moves this common code to a common place.
Signed-off-by: Andrew Murray
This patch converts the pci_load_of_ranges function to use the new common
of_pci_range_parser.
Signed-off-by: Andrew Murray
Signed-off-by: Liviu Dudau
Signed-off-by: Gabor Juhos
Reviewed-by: Rob Herring
Reviewed-by: Grant Likely
Tested-by: Linus Walleij
---
arch/mips/pci/pci.c | 51
and microblaze).
Signed-off-by: Andrew Murray
Signed-off-by: Liviu Dudau
Signed-off-by: Thomas Petazzoni
Reviewed-by: Rob Herring
Tested-by: Thomas Petazzoni
Tested-by: Linus Walleij
Acked-by: Grant Likely
---
drivers/of/address.c | 67 ++
drivers/of/of_pci.c
This patch converts the pci_load_of_ranges function to use the new common
of_pci_range_parser.
Signed-off-by: Andrew Murray
Signed-off-by: Liviu Dudau
Signed-off-by: Gabor Juhos
Reviewed-by: Rob Herring
Reviewed-by: Grant Likely
Tested-by: Linus Walleij
---
arch/mips/pci/pci.c | 50
This patch converts the pci_load_of_ranges function to use the new common
of_pci_range_parser.
Signed-off-by: Andrew Murray
Signed-off-by: Liviu Dudau
---
arch/microblaze/pci/pci-common.c | 106 ++
1 files changed, 38 insertions(+), 68 deletions(-)
diff
MIPS and Microblaze.
Compared to the v8 sent by Andrew Murray, the following changes have been made
(please note that the MIPS patch is unchanged from v8):
* Remove the unification of pci_process_bridge_OF_ranges between PowerPC and
Microblaze. Feedback from Bjorn and Benjamin (along with a NA
and microblaze).
Signed-off-by: Andrew Murray
Signed-off-by: Liviu Dudau
Signed-off-by: Thomas Petazzoni
Reviewed-by: Rob Herring
Tested-by: Thomas Petazzoni
Tested-by: Linus Walleij
Tested-by: Jingoo Han
Acked-by: Grant Likely
---
drivers/of/address.c | 67
)
Signed-off-by: Andrew Murray
Signed-off-by: Liviu Dudau
---
arch/microblaze/pci/pci-common.c | 100 +++--
arch/mips/pci/pci.c | 44 -
arch/powerpc/kernel/pci-common.c | 93 ++-
drivers/of/address.c
On Wed, Apr 10, 2013 at 02:13:54PM +0100, Rob Herring wrote:
> Adding Ben H and Michal...
>
> On 04/10/2013 02:29 AM, Andrew Murray wrote:
> > The pci_process_bridge_OF_ranges function, used to parse the "ranges"
> > property of a PCI host device, is found
On Wed, Apr 10, 2013 at 07:26:02PM +0100, Rob Herring wrote:
> On 04/10/2013 02:29 AM, Andrew Murray wrote:
> > This patch factors out common implementation patterns to reduce overall
> > kernel
> > code and provide a means for host bridge drivers to directly obtain stru
da 370 and Armada XP SoCs PCIe support by:
Linus Walleij
I've tested that this patchset builds and runs on ARM and that it builds on
PowerPC.
Compared to the v5 sent by Andrew Murray, the following changes have
been made:
* Use of CONFIG_64BIT instead of CONFIG_[a32bitarch] as suggested by
Rob
This patch converts the pci_load_of_ranges function to use the new common
of_pci_range_parser.
Signed-off-by: Andrew Murray
Signed-off-by: Liviu Dudau
Reviewed-by: Rob Herring
---
arch/mips/pci/pci.c | 50 --
1 files changed, 16 insertions
The pci_process_bridge_OF_ranges function, used to parse the "ranges"
property of a PCI host device, is found in both Microblaze and PowerPC
architectures. These implementations are nearly identical. This patch
moves this common code to a common place.
Signed-off-by: Andrew Murray
).
Signed-off-by: Andrew Murray
Signed-off-by: Liviu Dudau
Signed-off-by: Thomas Petazzoni
Reviewed-by: Rob Herring
Tested-by: Thomas Petazzoni
---
drivers/of/address.c | 66 ++
drivers/of/of_pci.c| 112
).
Signed-off-by: Andrew Murray
Signed-off-by: Liviu Dudau
Signed-off-by: Thomas Petazzoni
Reviewed-by: Rob Herring
Tested-by: Thomas Petazzoni
Tested-by: Linus Walleij
---
drivers/of/address.c | 67 ++
drivers/of/of_pci.c| 113
m device
trees.
I've included the Reviewed-by and Tested-by's received from v5/v6 in this
patchset, earlier versions of this patchset (v3) have been tested-by:
Thierry Reding
Jingoo Han
I've tested that this patchset builds and runs on ARM and that it builds on
PowerPC and x86_64.
Compared t
This patch converts the pci_load_of_ranges function to use the new common
of_pci_range_parser.
Signed-off-by: Andrew Murray
Signed-off-by: Liviu Dudau
Reviewed-by: Rob Herring
---
arch/mips/pci/pci.c | 50 --
1 files changed, 16 insertions
The pci_process_bridge_OF_ranges function, used to parse the "ranges"
property of a PCI host device, is found in both Microblaze and PowerPC
architectures. These implementations are nearly identical. This patch
moves this common code to a common place.
Signed-off-by: Andrew Murray
for host-bridges could use
phandles to reference independent MSI controllers as their providers of
MSIs. I guess this functionality can be built on top of what you have proposed
later as the need arises.
Andrew Murray
--
To unsubscribe from this list: send the line "unsubscribe linux-kerne
wn_irqs functions here? This will
allow your MSI chips to support multiple MSIs per requesting device.
What about restore_msi_irqs? Does this fit in here too?
Andrew Murray
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majord...@vger.ker
1 - 100 of 383 matches
Mail list logo