Received: by 2002:a05:6a10:206:0:0:0:0 with SMTP id 6csp1400645pxj; Fri, 21 May 2021 13:20:09 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyfVxFb7G9SuqCrrk2qsP2V6gYxgw2W18j1NfGf4U+9GiUE6AqfeZvtXrM7zqkvH1gUNqbG X-Received: by 2002:a05:6e02:1b05:: with SMTP id i5mr736032ilv.204.1621628409310; Fri, 21 May 2021 13:20:09 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1621628409; cv=none; d=google.com; s=arc-20160816; b=OhGTEludLQsw5yo4DRMPIp4rmbG+/Vzbt2LmRny/1FC0Gd9diri4ZNxZPWX0Ugx+6/ IMpXolPxE81loBTP4ehG9K54yz4MAEHN8Jd0B0zgWIQX6IBubKtSV1oie4LNaUZx5mQ6 Pqdg0TF01h/jhlzxH6ruIMaPVI2Se75ml8Hu2riHC0DJ/FZIvbVxmMRo6aNZo3iM2xmr OvBb6/DBw020EgEebiPlWCZyXFiz0IqThKr88BXykANuh52Ci8wvVDuhKjKwvL/otRtX AdqN6W53ZOczylPwM/C4FzjMnYbTbTTIbDw2Gu1Krz938EldETW2d7dTv2g8++5eoYcw 2VSQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:message-id:date:references :in-reply-to:subject:cc:to:dkim-signature:dkim-signature:from; bh=7rDRNMv1/hXibroql/UgiqWQxCjjntQmsL2o4JvFzco=; b=KSVxU5laimqFLcuY/ngamwNXEtt1x8OgBm4NZWxmeMXqffAIOan21gFrauN4moUFCn ChzCDnIAOdLnNSIYaTnGGuHqC90fUVv9ZvTVvNwbNf5sbGWqBHw5bVCB42i/iZxYl7vC AvmcUvj8MrezAw/iohQjFfjOLNhFwF45AZQ7L9uO5McDRhIjad/8sDLKvR/EO2rbYYRw QNyu7ksX0kNIPrcVgSAZlDhYpA4ozzVQw/dJ3hsix85mtTEGyhgCDH/7u/39okORV+jD d+JiY1rpOcwBoaE52K1aeQTvKfEfxdWyHTM8JjkxUp+PIzuDdU7CiKWwDAQ6xsGv2PfY 8T4g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linutronix.de header.s=2020 header.b=CR2dKo3U; dkim=neutral (no key) header.i=@linutronix.de; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=linutronix.de Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id h31si7030802jav.116.2021.05.21.13.19.56; Fri, 21 May 2021 13:20:09 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@linutronix.de header.s=2020 header.b=CR2dKo3U; dkim=neutral (no key) header.i=@linutronix.de; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=linutronix.de Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S236159AbhEUPRX (ORCPT + 99 others); Fri, 21 May 2021 11:17:23 -0400 Received: from Galois.linutronix.de ([193.142.43.55]:54568 "EHLO galois.linutronix.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230420AbhEUPRS (ORCPT ); Fri, 21 May 2021 11:17:18 -0400 From: Thomas Gleixner DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linutronix.de; s=2020; t=1621610153; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=7rDRNMv1/hXibroql/UgiqWQxCjjntQmsL2o4JvFzco=; b=CR2dKo3U/qEBXxRraK/8180LCq2JsVkgxoQhDex49QqNVsA8WjfbCTuVAvD4DqbhzqEg1p ZwJgdt4G35FTyS8UDSsCt1txkl1Bie1PciZkWfLORal7+xPmjMv41Jqz5tn3bG9iyWZ7gq /QMT/Yowkk4ZN1Ngvzy71tZEyQsFX7Mvkc3DtD8wskLXULMGAXIt5jNgrSIQIiAf7DU94i Sc4sTbCpSUws0yW4AJeK1viYb1VQzQyDUzMVuBmzHBg2zyPGBQppD6I1kBmKwrbBiW7QpR KWkhnjqCGGhNCPBgpqfnuZXZg2aoke1az2/RnVU3FxAZRCdbtqVdk6AXgIMe+w== DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=linutronix.de; s=2020e; t=1621610153; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=7rDRNMv1/hXibroql/UgiqWQxCjjntQmsL2o4JvFzco=; b=KUni+pfxwwfjisVYWwUO6XqqoJkOc9cJl+l6wjG0Pf13ZeZyiU+ahF3JQji/TLv5FM1TnR p5NROJTbK6SxNWBA== To: Nitesh Lal Cc: Jesse Brandeburg , Robin Murphy , Marcelo Tosatti , Ingo Molnar , linux-kernel@vger.kernel.org, intel-wired-lan@lists.osuosl.org, jbrandeb@kernel.org, "frederic\@kernel.org" , "juri.lelli\@redhat.com" , Alex Belits , "linux-api\@vger.kernel.org" , "bhelgaas\@google.com" , "linux-pci\@vger.kernel.org" , "rostedt\@goodmis.org" , "peterz\@infradead.org" , "davem\@davemloft.net" , "akpm\@linux-foundation.org" , "sfr\@canb.auug.org.au" , "stephen\@networkplumber.org" , "rppt\@linux.vnet.ibm.com" , "jinyuqi\@huawei.com" , "zhangshaokun\@hisilicon.com" , netdev@vger.kernel.org, chris.friesen@windriver.com, Marc Zyngier , Neil Horman , pjwaskiewicz@gmail.com Subject: Re: [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> Date: Fri, 21 May 2021 17:15:53 +0200 Message-ID: <87pmxk9kye.ffs@nanos.tec.linutronix.de> MIME-Version: 1.0 Content-Type: text/plain Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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@nanos.tec.linutronix.de for the new hint interface I came up with. Thanks, tglx