Received: by 2002:a05:6a10:206:0:0:0:0 with SMTP id 6csp1450820pxj; Fri, 21 May 2021 14:50:22 -0700 (PDT) X-Google-Smtp-Source: ABdhPJz061dWf3DTWsYXLMgtCrdtlg2mY5EFtTelANma3Oy0rYW7secM27/fH1SQB43nhCE9R1gV X-Received: by 2002:a50:8e44:: with SMTP id 4mr13341297edx.244.1621633822304; Fri, 21 May 2021 14:50:22 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1621633822; cv=none; d=google.com; s=arc-20160816; b=GsnD4VTHWljzbPVdMZK6o4HZmD6Tso15Z4syLmDXMyw6HuVzGgoAjyjsEiIOOCBUWd sQhZcF0h2COEh/Ne3TwjWSaIrKFSJtGwsPAYzepKuqIu3tfM4/GVvGkyNOaSb/+idf6W /EaeDAzSCf3/Bvka2aGulAMNlMwh1JXOVoaRk/0LwGlqLhxa4BHXnlxtBWyOrWo8pzj8 1KAvvACOKin/bRdCM5gAXCXdCvheuNeUMIINMewKjBC5m0MAITQAguMgfTKIT1MzKmGA gRNQkWRep0mtgzjdRNVIOda/u2Gq4/5y0AnVcUroQPdDrEm+A1aQptSK3QGWzXiTWpBh qYgQ== 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=/+S8LTQNiG8i9DExgcVWsWx6U3U7vi+PRUnPuD/CDDg=; b=QubqH4UQzEzLcFpTnvoGXpS3x7xq0TwpftpvkAmwpxKRZjEb1zWwB6tzEKtyjaVhGe bdII7DRtuqS/cS7Mpf4OLijDbDaFRNRNFZGGCrxCMkMObVYIY5yztx+Fgf/MryLrAIKW oZ8ugdmsN2KIfzzT3gQtn7cx9mfwsmnFK2AmGSrYRF4aAy1pTD+eMS0epR0n7uwd4xPp ZhQ13DbUbU0Zdy7O9vpp5ZpJCKUx3lEkuGh6jFVwN/JUPhqwJkDVKmtcXoL0VLVgxnQv EIVzXVMtoC5zfHTi1zTW1C+H8L8Rz3HdnsJiRJ5sUJglhBxBca6aPop+mOJkhkalYgc6 bK0Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linutronix.de header.s=2020 header.b=MpR7WhOy; dkim=neutral (no key) header.i=@linutronix.de header.b=Ug5aL3Ba; 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 k9si7688441eje.142.2021.05.21.14.49.58; Fri, 21 May 2021 14:50:22 -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=MpR7WhOy; dkim=neutral (no key) header.i=@linutronix.de header.b=Ug5aL3Ba; 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 S229507AbhEUVuM (ORCPT + 99 others); Fri, 21 May 2021 17:50:12 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:56594 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229503AbhEUVuL (ORCPT ); Fri, 21 May 2021 17:50:11 -0400 Received: from galois.linutronix.de (Galois.linutronix.de [IPv6:2a0a:51c0:0:12e:550::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 9E727C061574; Fri, 21 May 2021 14:48:47 -0700 (PDT) From: Thomas Gleixner DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linutronix.de; s=2020; t=1621633723; 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=/+S8LTQNiG8i9DExgcVWsWx6U3U7vi+PRUnPuD/CDDg=; b=MpR7WhOyoJvBu9w7C3xfGoz0uwROzPNODcrPkb6Eu+Tyo5nrZ7nd0Xs3F7kllLesJ2CtCx rkuTb3JESWsKOFBUx4dFUdG4FCZG4SoziwDTEM52Y9DU7FTnJQslfOHkWKJSpnMJDGIzUU OG8f7A6FSbfF23uysmfoIeyU/DTcECF6Hxl9ur3UFtrX+m6wvQT53T7mnqupOV58JWjynY 1UiyBovgzBUTzkZZAhqZJKgksdxRXJPYQ3HEeF+wMTTPmUyjR9i3kMhLDtlgQHzMw+o8Js SHWhabAKFfs0w3j4lCJmtYNkKMxOIFZoUQIwx+puNK1XHU9mf1GX866A6b718A== DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=linutronix.de; s=2020e; t=1621633723; 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=/+S8LTQNiG8i9DExgcVWsWx6U3U7vi+PRUnPuD/CDDg=; b=Ug5aL3BaELpvg/OrbwBRE30R+5KHf653uC6Z2QkOC3VWj6yCx/fkMy8YHUjo7RwS3H5JK3 QN+PDqVGRgtzb2BQ== 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] 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:48:43 +0200 Message-ID: <87bl93ahc4.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 12:13, Nitesh Lal wrote: > On Fri, May 21, 2021 at 8:03 AM Thomas Gleixner wrote: >> Provide new interfaces: >> >> irq_update_affinity_hint() - Only sets the affinity hint pointer >> irq_apply_affinity_hint() - Set the pointer and apply the affinity to >> the interrupt >> > > Any reason why you ruled out the usage of irq_set_affinity_and_hint()? > IMHO the latter makes it very clear what the function is meant to do. You're right. I was trying to phase the existing hint setter out, but that's probably pointless overengineering for no real value. Let me redo that. Thanks, tglx