[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <mhng-1a9282b0-8dbb-49c1-96f4-ec25dec4ecfd@palmer-si-x1c4>
Date: Thu, 13 Jul 2017 11:30:34 -0700 (PDT)
From: Palmer Dabbelt <palmer@...belt.com>
To: helgaas@...nel.org
CC: Olof Johansson <olof@...om.net>, Arnd Bergmann <arnd@...db.de>,
akpm@...ux-foundation.org, albert@...ive.com,
yamada.masahiro@...ionext.com, mmarek@...e.com,
will.deacon@....com, peterz@...radead.org, boqun.feng@...il.com,
mingo@...hat.com, daniel.lezcano@...aro.org, tglx@...utronix.de,
jason@...edaemon.net, marc.zyngier@....com,
gregkh@...uxfoundation.org, jslaby@...e.com, davem@...emloft.net,
mchehab@...nel.org, sfr@...b.auug.org.au, fweisbec@...il.com,
viro@...iv.linux.org.uk, mcgrof@...nel.org, dledford@...hat.com,
bart.vanassche@...disk.com, sstabellini@...nel.org,
daniel.vetter@...ll.ch, mpe@...erman.id.au, msalter@...hat.com,
nicolas.dichtel@...nd.com, james.hogan@...tec.com,
paul.gortmaker@...driver.com, linux@...ck-us.net,
heiko.carstens@...ibm.com, schwidefsky@...ibm.com,
linux-kernel@...r.kernel.org, patches@...ups.riscv.org
Subject: Re: [PATCH 02/17] pci: Add a generic, weakly-linked pcibios_align_resource
On Wed, 12 Jul 2017 15:50:42 PDT (-0700), helgaas@...nel.org wrote:
> On Tue, Jul 11, 2017 at 06:31:15PM -0700, Palmer Dabbelt wrote:
>> Multiple architectures define this as trivial function, and I'm adding
>> another one as part of the RISC-V port. This adds a __weak version of
>> pcibios_align_resource and deletes the now obselete ones in a handful of
>> ports.
>>
>> The only functional change should be that a handful of ports used to
>> export pcibios_fixup_bus. Only some architectures export this, so I
>> just dropped it.
>>
>> Signed-off-by: Palmer Dabbelt <palmer@...belt.com>
>> ---
>> arch/arc/kernel/pcibios.c | 13 -------------
>> arch/arm64/kernel/pci.c | 17 -----------------
>> arch/ia64/pci/pci.c | 7 -------
>> arch/microblaze/pci/pci-common.c | 7 -------
>> arch/sparc/kernel/leon_pci.c | 6 ------
>> arch/sparc/kernel/pci.c | 10 ----------
>> arch/sparc/kernel/pcic.c | 6 ------
>> arch/tile/kernel/pci.c | 10 ----------
>> arch/tile/kernel/pci_gx.c | 9 ---------
>> drivers/pci/setup-res.c | 12 ++++++++++++
>> 10 files changed, 12 insertions(+), 85 deletions(-)
>
> I think you're making your life harder by including these cleanup
> patches in your RISC-V support. This patch makes sense (after sorting
> out the issues Luis pointed out), but I think the simplest thing to
> expedite merging is to add the empty stubs for RISC-V like everybody
> else does, then come back after RISC-V gets merged and do the cleanup.
> Then the cleanup clearly goes via the PCI tree and isn't entangled
> with anything else.
Works for me.
Powered by blists - more mailing lists