[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <87pmxk9kye.ffs@nanos.tec.linutronix.de>
Date: Fri, 21 May 2021 17:15:53 +0200
From: Thomas Gleixner <tglx@...utronix.de>
To: Nitesh Lal <nilal@...hat.com>
Cc: Jesse Brandeburg <jesse.brandeburg@...el.com>,
Robin Murphy <robin.murphy@....com>,
Marcelo Tosatti <mtosatti@...hat.com>,
Ingo Molnar <mingo@...nel.org>, linux-kernel@...r.kernel.org,
intel-wired-lan@...ts.osuosl.org, jbrandeb@...nel.org,
"frederic\@kernel.org" <frederic@...nel.org>,
"juri.lelli\@redhat.com" <juri.lelli@...hat.com>,
Alex Belits <abelits@...vell.com>,
"linux-api\@vger.kernel.org" <linux-api@...r.kernel.org>,
"bhelgaas\@google.com" <bhelgaas@...gle.com>,
"linux-pci\@vger.kernel.org" <linux-pci@...r.kernel.org>,
"rostedt\@goodmis.org" <rostedt@...dmis.org>,
"peterz\@infradead.org" <peterz@...radead.org>,
"davem\@davemloft.net" <davem@...emloft.net>,
"akpm\@linux-foundation.org" <akpm@...ux-foundation.org>,
"sfr\@canb.auug.org.au" <sfr@...b.auug.org.au>,
"stephen\@networkplumber.org" <stephen@...workplumber.org>,
"rppt\@linux.vnet.ibm.com" <rppt@...ux.vnet.ibm.com>,
"jinyuqi\@huawei.com" <jinyuqi@...wei.com>,
"zhangshaokun\@hisilicon.com" <zhangshaokun@...ilicon.com>,
netdev@...r.kernel.org, chris.friesen@...driver.com,
Marc Zyngier <maz@...nel.org>,
Neil Horman <nhorman@...driver.com>, pjwaskiewicz@...il.com
Subject: Re: [PATCH tip:irq/core v1] genirq: remove auto-set of the mask when setting the hint
On Fri, May 21 2021 at 09:46, Nitesh Lal wrote:
> On Fri, May 21, 2021 at 7:56 AM Thomas Gleixner <tglx@...utronix.de> wrote:
>> >> - Driver use this API to force a certain affinity mask
>> >> + In this case we have to replace the API with the irq_force_affinity()
>>
>> irq_set_affinity() or irq_set_affinity_and_hint()
>
> Ah yes! my bad. _force_ doesn't check the mask against the online CPUs.
> Hmm, I didn't realize that you also added irq_set_affinity_and_hint()
> in your last patchset.
I did not. It just exposed irq_set_affinity().
See https://lore.kernel.org/r/87wnrs9tvp.ffs@nanos.tec.linutronix.de
for the new hint interface I came up with.
Thanks,
tglx
Powered by blists - more mailing lists