Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1277486 > unrolled thread
| Started by | Phil Edworthy <phil.edworthy@renesas.com> |
|---|---|
| First post | 2015-11-25 16:40 +0100 |
| Last post | 2015-11-26 09:40 +0100 |
| Articles | 4 — 2 participants |
Back to article view | Back to linux.kernel
[Resend: PATCH v2 0/3] Fix rcar-pcie for arm64 Phil Edworthy <phil.edworthy@renesas.com> - 2015-11-25 16:40 +0100
[PATCH v2 3/3] PCI: pcie-rcar: Add support for R-Car H3. Phil Edworthy <phil.edworthy@renesas.com> - 2015-11-25 16:40 +0100
Re: [Resend: PATCH v2 0/3] Fix rcar-pcie for arm64 Bjorn Helgaas <helgaas@kernel.org> - 2015-11-25 17:50 +0100
RE: [Resend: PATCH v2 0/3] Fix rcar-pcie for arm64 Phil Edworthy <phil.edworthy@renesas.com> - 2015-11-26 09:40 +0100
| From | Phil Edworthy <phil.edworthy@renesas.com> |
|---|---|
| Date | 2015-11-25 16:40 +0100 |
| Subject | [Resend: PATCH v2 0/3] Fix rcar-pcie for arm64 |
| Message-ID | <qyKkN-87J-3@gated-at.bofh.it> |
The first patches fixes the build problem, and the second patch reverts the
patch that removed the driver from arm64 builds. The final patch add a compat
string for the r8a7795 (arm64) device.
Tested on arm Koelsch board, all ok.
Tested on arm64 Salvator-X board using renesas-drivers-2015-10-27-v4.3-rc7 from
git://git.kernel.org/pub/scm/linux/kernel/git/geert/renesas-drivers.git with PCI
next merged.
Apart from patches to add the PCIe clock and DT nodes, it also needs this fix:
("PCI: MSI: Only use the generic MSI layer when domain is hierarchical")
Resent with whole series marked as v2 and acks, etc added.
Harunobu Kurokawa (1):
PCI: pcie-rcar: Add support for R-Car H3.
Phil Edworthy (2):
PCI: rcar: Convert to DT resource parsing API
Revert "PCI: rcar: Build pcie-rcar.c only on ARM"
Documentation/devicetree/bindings/pci/rcar-pci.txt | 3 +-
drivers/pci/host/Kconfig | 3 +-
drivers/pci/host/pcie-rcar.c | 117 +++++++++++++--------
3 files changed, 77 insertions(+), 46 deletions(-)
--
2.5.0
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
[toc] | [next] | [standalone]
| From | Phil Edworthy <phil.edworthy@renesas.com> |
|---|---|
| Date | 2015-11-25 16:40 +0100 |
| Subject | [PATCH v2 3/3] PCI: pcie-rcar: Add support for R-Car H3. |
| Message-ID | <qyKkO-87J-29@gated-at.bofh.it> |
| In reply to | #1277486 |
From: Harunobu Kurokawa <harunobu.kurokawa.dn@renesas.com>
R-Car H3 device is r8a7795
Signed-off-by: Harunobu Kurokawa <harunobu.kurokawa.dn@renesas.com>
Acked-by: Wolfram Sang <wsa+renesas@sang-engineering.com>
Tested-by: Wolfram Sang <wsa+renesas@sang-engineering.com>
---
v2: No changes
---
Documentation/devicetree/bindings/pci/rcar-pci.txt | 3 ++-
drivers/pci/host/pcie-rcar.c | 1 +
2 files changed, 3 insertions(+), 1 deletion(-)
diff --git a/Documentation/devicetree/bindings/pci/rcar-pci.txt b/Documentation/devicetree/bindings/pci/rcar-pci.txt
index 29d3b98..ab2e75f 100644
--- a/Documentation/devicetree/bindings/pci/rcar-pci.txt
+++ b/Documentation/devicetree/bindings/pci/rcar-pci.txt
@@ -2,7 +2,8 @@
Required properties:
- compatible: should contain one of the following
- "renesas,pcie-r8a7779", "renesas,pcie-r8a7790", "renesas,pcie-r8a7791"
+ "renesas,pcie-r8a7779", "renesas,pcie-r8a7790", "renesas,pcie-r8a7791",
+ "renesas,pcie-r8a7795"
- reg: base address and length of the pcie controller registers.
- #address-cells: set to <3>
- #size-cells: set to <2>
diff --git a/drivers/pci/host/pcie-rcar.c b/drivers/pci/host/pcie-rcar.c
index d12faf4..0c819a00 100644
--- a/drivers/pci/host/pcie-rcar.c
+++ b/drivers/pci/host/pcie-rcar.c
@@ -917,6 +917,7 @@ static const struct of_device_id rcar_pcie_of_match[] = {
{ .compatible = "renesas,pcie-r8a7779", .data = rcar_pcie_hw_init_h1 },
{ .compatible = "renesas,pcie-r8a7790", .data = rcar_pcie_hw_init },
{ .compatible = "renesas,pcie-r8a7791", .data = rcar_pcie_hw_init },
+ { .compatible = "renesas,pcie-r8a7795", .data = rcar_pcie_hw_init },
{},
};
MODULE_DEVICE_TABLE(of, rcar_pcie_of_match);
--
2.5.0
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
[toc] | [prev] | [next] | [standalone]
| From | Bjorn Helgaas <helgaas@kernel.org> |
|---|---|
| Date | 2015-11-25 17:50 +0100 |
| Message-ID | <qyLqy-nr-13@gated-at.bofh.it> |
| In reply to | #1277486 |
Hi Phil,
On Wed, Nov 25, 2015 at 03:30:36PM +0000, Phil Edworthy wrote:
> The first patches fixes the build problem
I'm trying to figure out if v4.4 has a build problem we need to fix.
If I understand correctly, "PCI: rcar: Convert to DT resource parsing
API" doesn't fix a build problem in the current tree; rather, it
removes a dependency on ARM so that we can build it on ARM64.
> , and the second patch reverts the
> patch that removed the driver from arm64 builds. The final patch add a compat
> string for the r8a7795 (arm64) device.
>
> Tested on arm Koelsch board, all ok.
>
> Tested on arm64 Salvator-X board using renesas-drivers-2015-10-27-v4.3-rc7 from
> git://git.kernel.org/pub/scm/linux/kernel/git/geert/renesas-drivers.git with PCI
> next merged.
> Apart from patches to add the PCIe clock and DT nodes, it also needs this fix:
> ("PCI: MSI: Only use the generic MSI layer when domain is hierarchical")
I assume you mean this one from Marc: https://lkml.org/lkml/2015/11/23/388
(Was that posted to linux-pci? I don't see it in patchwork or my
linux-pci archives, so I hadn't seen it yet.)
How exactly is that related to this series? If I merge these before
Marc's change, do we have a tree that builds for arm64 but doesn't
work?
What about the PCIe clock and DT changes you mention? Is there a
reason to keep them separate? Would it be feasible to include the DT
changes in the same patch as the driver change that uses those
changes?
Bjorn
> Resent with whole series marked as v2 and acks, etc added.
>
> Harunobu Kurokawa (1):
> PCI: pcie-rcar: Add support for R-Car H3.
>
> Phil Edworthy (2):
> PCI: rcar: Convert to DT resource parsing API
> Revert "PCI: rcar: Build pcie-rcar.c only on ARM"
>
> Documentation/devicetree/bindings/pci/rcar-pci.txt | 3 +-
> drivers/pci/host/Kconfig | 3 +-
> drivers/pci/host/pcie-rcar.c | 117 +++++++++++++--------
> 3 files changed, 77 insertions(+), 46 deletions(-)
>
> --
> 2.5.0
>
> --
> To unsubscribe from this list: send the line "unsubscribe linux-pci" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at http://vger.kernel.org/majordomo-info.html
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
[toc] | [prev] | [next] | [standalone]
| From | Phil Edworthy <phil.edworthy@renesas.com> |
|---|---|
| Date | 2015-11-26 09:40 +0100 |
| Message-ID | <qz0fT-2yX-17@gated-at.bofh.it> |
| In reply to | #1277603 |
HI Bjorn,
On 25 November 2015 16:41, Bjorn Helgaas wrote:
> Hi Phil,
>
> On Wed, Nov 25, 2015 at 03:30:36PM +0000, Phil Edworthy wrote:
> > The first patches fixes the build problem
>
> I'm trying to figure out if v4.4 has a build problem we need to fix.
> If I understand correctly, "PCI: rcar: Convert to DT resource parsing
> API" doesn't fix a build problem in the current tree; rather, it
> removes a dependency on ARM so that we can build it on ARM64.
v4.4 doesn't have a build problem because commit 7c537c67d2e4 ensures
it doesn't get built on arm64. If we revert this commit, then there is a
build failure as the pci_ioremap_io() function is not available on arm64.
That's the build failure which "PCI: rcar: Convert to DT resource parsing API"
fixes.
> > , and the second patch reverts the
> > patch that removed the driver from arm64 builds. The final patch add a compat
> > string for the r8a7795 (arm64) device.
> >
> > Tested on arm Koelsch board, all ok.
> >
> > Tested on arm64 Salvator-X board using renesas-drivers-2015-10-27-v4.3-rc7
> from
> > git://git.kernel.org/pub/scm/linux/kernel/git/geert/renesas-drivers.git with
> PCI
> > next merged.
> > Apart from patches to add the PCIe clock and DT nodes, it also needs this fix:
> > ("PCI: MSI: Only use the generic MSI layer when domain is hierarchical")
>
> I assume you mean this one from Marc: https://lkml.org/lkml/2015/11/23/388
> (Was that posted to linux-pci? I don't see it in patchwork or my
> linux-pci archives, so I hadn't seen it yet.)
Ok, yes that's the patch.
> How exactly is that related to this series? If I merge these before
> Marc's change, do we have a tree that builds for arm64 but doesn't
> work?
Correct.
> What about the PCIe clock and DT changes you mention? Is there a
> reason to keep them separate? Would it be feasible to include the DT
> changes in the same patch as the driver change that uses those
> changes?
The approach for all other drivers has been to keep these separate. There
are no changes to the dt bindings, it's just adding the node to the new
device and board, so there is no problem with ordering of these patches.
Thanks
Phil
> Bjorn
>
> > Resent with whole series marked as v2 and acks, etc added.
> >
> > Harunobu Kurokawa (1):
> > PCI: pcie-rcar: Add support for R-Car H3.
> >
> > Phil Edworthy (2):
> > PCI: rcar: Convert to DT resource parsing API
> > Revert "PCI: rcar: Build pcie-rcar.c only on ARM"
> >
> > Documentation/devicetree/bindings/pci/rcar-pci.txt | 3 +-
> > drivers/pci/host/Kconfig | 3 +-
> > drivers/pci/host/pcie-rcar.c | 117 +++++++++++++--------
> > 3 files changed, 77 insertions(+), 46 deletions(-)
> >
> > --
> > 2.5.0
> >
> > --
> > To unsubscribe from this list: send the line "unsubscribe linux-pci" in
> > the body of a message to majordomo@vger.kernel.org
> > More majordomo info at http://vger.kernel.org/majordomo-info.html
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
[toc] | [prev] | [standalone]
Back to top | Article view | linux.kernel
csiph-web