Received: by 2002:a05:6a10:206:0:0:0:0 with SMTP id 6csp1449509pxj; Fri, 21 May 2021 14:47:33 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwKqL8xjNVeligqrLHUYc5pX6GhHFT7GkVXGJytcwJD8EezoDrzByE1estCB3iNHlLwC4QP X-Received: by 2002:a02:cb04:: with SMTP id j4mr7317981jap.45.1621633653489; Fri, 21 May 2021 14:47:33 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1621633653; cv=none; d=google.com; s=arc-20160816; b=LNuLHQn9qR7bLPPpQ/s/eW5X3BCUKdHwS/peYG/hf9i0Wbfuc1gzZhQS+ALTP7AbVv p+Q8IkfB9TQnKvTQJfb6UiSAR400MityeGAMAYXEc6frqbOleW8gk7Vvm8EPGoI2FCQm MfHpQBogjRqENk1mGxvowP/A3BltwNaa14ZeWUaAGET5o3ZLL8X6WFl41F5XKBty1MG5 8z8W7Xw5elUhFZTEKas7Y9VSMeiSdnZ4n/pXgMjR9LGXUw/JPy59D3nRsyVOA/TrcyuR lTKlLwleCf+gRH8YQxO2tbYrweVgbxof4hH43krFrPgdfJwOknWsCtdeHDBVfrb3rm0J TeBQ== 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=XaPyYtGVTJJud1M86TNOLs+rsQI2Kj9lnXY3H+cu/B0=; b=D432E/eKF/Lnd8ungtmO9BXs0pE9lHtS7kZuZQhEsDadXiIz2Zup+7a1koOrHB5tU7 +L3eChREGhKuXfvq+ahFNKmIMmk7gj6t9jdFh3HikMXcyaqRO9JY35YvuiuJ2Pm0QFYS LW7b5xf/LLif3zVRZhbaK/1/YukJDKudivahrl3MFd2fzuHP7aTEV0S4hMQSo6/UoHQL 2M80/j7IYseBixL/M5MLF6/RcKsjUmbnnLQ+/71htREmsytSXF0Z+y8Ij9Ts4tCBfUaj fnIGlWprhSiAIVUdIjgTfoB0aYrunuB4uH9Pu9BLjEnQ5PO0SlY40rP1MtxpcBnBs9BZ /GUw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linutronix.de header.s=2020 header.b=GWPNOh34; dkim=neutral (no key) header.i=@linutronix.de header.s=2020e header.b=ys1EeWOd; 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 d5si6262024ioq.28.2021.05.21.14.47.19; Fri, 21 May 2021 14:47:33 -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=GWPNOh34; dkim=neutral (no key) header.i=@linutronix.de header.s=2020e header.b=ys1EeWOd; 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 S229541AbhEUVqk (ORCPT + 99 others); Fri, 21 May 2021 17:46:40 -0400 Received: from Galois.linutronix.de ([193.142.43.55]:56566 "EHLO galois.linutronix.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229457AbhEUVqj (ORCPT ); Fri, 21 May 2021 17:46:39 -0400 From: Thomas Gleixner DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linutronix.de; s=2020; t=1621633514; 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=XaPyYtGVTJJud1M86TNOLs+rsQI2Kj9lnXY3H+cu/B0=; b=GWPNOh34mwS1P2HssdlKXWYC2cb0/7ReSUe88lhO6VM4W67K+8jaNdN8J1QWRZKOCLZLek obNhTVmcA5eECX4vLfE+2ewnqfM/obokPSvUsKqeHpp2FNJlJFkezOS+ankHC3USbbYBhO JxOmEOXlZgcrwxQx2MO2bpdr3TzCJ4gwjrOtRz4xqLIgIXC9EW4tufADmasY68QKks/eBk oHkXV0k9J2uwivI0KgsTFxkCMCQfVmuu6GRr9USMiKFNX0/uB2UqPIF+ycpUjf8Dw/DxRH vBzB05qF5vJ/LYbp39ehcGCxW3E1AgdJw9h8vZTc6eP8x5PGBx+YOCtWarNtVg== DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=linutronix.de; s=2020e; t=1621633514; 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=XaPyYtGVTJJud1M86TNOLs+rsQI2Kj9lnXY3H+cu/B0=; b=ys1EeWOdNdNZ7QDxXGBp6GDvs0ZkBupG3nrlJ/lE35qgxunHJzjnNadxRQswz2zQMVaPrI 8Tsdrf+ncPocWqCA== To: Lijun Pan Cc: Nitesh Lal , 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] genirq: Provide new interfaces for affinity hints 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> <87wnrs9tvp.ffs@nanos.tec.linutronix.de> Date: Fri, 21 May 2021 23:45:14 +0200 Message-ID: <87eedzahhx.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 10:45, Lijun Pan wrote: > On Fri, May 21, 2021 at 7:48 AM Thomas Gleixner wrote: >> +/** >> + * irq_update_affinity_hint - Update the affinity hint >> + * @irq: Interrupt to update >> + * @cpumask: cpumask pointer (NULL to clear the hint) >> + * >> + * Updates the affinity hint, but does not change the affinity of the interrupt. >> + */ >> +static inline int >> +irq_update_affinity_hint(unsigned int irq, const struct cpumask *m) >> +{ >> + return __irq_apply_affinity_hint(irq, m, true); >> +} > > Should it be: > return __irq_apply_affinity_hint(irq, m, false); > here? Of course. Copy & Pasta should be forbidden. Thanks for spotting it! tglx