[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <8e9002d0-086f-1e7d-4b94-45b6d49f7917@redhat.com>
Date: Wed, 25 Nov 2020 08:30:05 +0100
From: Laurent Vivier <lvivier@...hat.com>
To: Thomas Gleixner <tglx@...utronix.de>, linux-kernel@...r.kernel.org
Cc: Paul Mackerras <paulus@...ba.org>,
Benjamin Herrenschmidt <benh@...nel.crashing.org>,
Michael Ellerman <mpe@...erman.id.au>,
linux-block@...r.kernel.org,
"Michael S . Tsirkin" <mst@...hat.com>,
Marc Zyngier <maz@...nel.org>, linuxppc-dev@...ts.ozlabs.org,
linux-pci@...r.kernel.org, Christoph Hellwig <hch@....de>
Subject: Re: [PATCH 1/2] genirq: add an affinity parameter to
irq_create_mapping()
On 24/11/2020 23:19, Thomas Gleixner wrote:
> On Tue, Nov 24 2020 at 21:03, Laurent Vivier wrote:
>> This parameter is needed to pass it to irq_domain_alloc_descs().
>>
>> This seems to have been missed by
>> o06ee6d571f0e ("genirq: Add affinity hint to irq allocation")
>
> No, this has not been missed at all. There was and is no reason to do
> this.
>
>> This is needed to implement proper support for multiqueue with
>> pseries.
>
> And because pseries needs this _all_ callers need to be changed?
>
>> 123 files changed, 171 insertions(+), 146 deletions(-)
>
> Lots of churn for nothing. 99% of the callers will never need that.
>
> What's wrong with simply adding an interface which takes that parameter,
> make the existing one an inline wrapper and and leave the rest alone?
Nothing. I'm going to do like that.
Thank you for your comment.
Laurent
Powered by blists - more mailing lists