From mboxrd@z Thu Jan 1 00:00:00 1970 From: Thomas Gleixner Date: Fri, 21 May 2021 17:15:53 +0200 Subject: [Intel-wired-lan] [PATCH tip:irq/core v1] genirq: remove auto-set of the mask when setting the hint In-Reply-To: References: <20210504092340.00006c61@intel.com> <87pmxpdr32.ffs@nanos.tec.linutronix.de> <87im3gewlu.ffs@nanos.tec.linutronix.de> <87zgwo9u79.ffs@nanos.tec.linutronix.de> Message-ID: <87pmxk9kye.ffs@nanos.tec.linutronix.de> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: intel-wired-lan@osuosl.org List-ID: On Fri, May 21 2021 at 09:46, Nitesh Lal wrote: > On Fri, May 21, 2021 at 7:56 AM Thomas Gleixner 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 at nanos.tec.linutronix.de for the new hint interface I came up with. Thanks, tglx