[PATCHv3 3/3] ARM: mvebu: implement L2/PCIe deadlock workaround
Thomas Petazzoni
thomas.petazzoni at free-electrons.com
Thu May 15 06:50:08 PDT 2014
Dear Jason Cooper,
On Thu, 15 May 2014 09:21:18 -0400, Jason Cooper wrote:
> > +
> > + if (of_machine_is_compatible("marvell,armada375") ||
> > + of_machine_is_compatible("marvell,armada38x")) {
> > + arch_ioremap_caller = armada_pcie_wa_ioremap_caller;
> > + pci_ioremap_set_mem_type(MT_UNCACHED);
>
> iiuc, this patch depends on 1/3. So how would you like to handle it?
Seems like my long cover letters are not always read in their
entirety :-)
From my cover letter:
* PATCH 3/3 uses both of the added infrastructures, as well as the
existing infrastructure to customize the behavior of ioremap() on a
per-platform basis, to implement the workaround for the Armada 375
and 38x SOCs. This patch should go through the mvebu maintainers
tree. However, it has a build dependency on PATCH 1/3 that needs to
be taken into account.
The last two sentences are the most important ones here :-)
Joke aside, I'm really open to your suggestions as to what the
appropriate merging patch is. I know Russell prefers to have the ARM
core code flow through his tree, which obviously make sense.
However, routing PATCH 3/3 through Russell tree is going to be a mess
of conflicts when things will get merged by Linus, due to the numerous
other changes we've been doing in mach-mvebu/board-v7.c.
So the only course of action I see right now is to work with Russell to
have him pull patches 1 and 2, and then provide a stable branch/tag
that you can merge as a dependency in whatever branch you decide to
merge patch 3/3. Would that work?
Thanks a lot!
Thomas
--
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com
More information about the linux-arm-kernel
mailing list