Received: by 2002:a05:6a10:f347:0:0:0:0 with SMTP id d7csp2056399pxu; Tue, 24 Nov 2020 16:05:00 -0800 (PST) X-Google-Smtp-Source: ABdhPJySmRqhMjy0c3/FW0wjVsjQBhm4Vd3sLejm1aqsEtdzIWhPnUsxPhzs4TWkfCk9xv/TJs/N X-Received: by 2002:a17:907:396:: with SMTP id ss22mr945813ejb.24.1606262699826; Tue, 24 Nov 2020 16:04:59 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1606262699; cv=none; d=google.com; s=arc-20160816; b=WQVJE0oY+DeUs8buBe9xU2JrT8m1SXBfTZ6HdMjMJDcXlCr/gf97xYXEolhZD8ceqU +1AJcpKWk//Kq+UKspQrhZfVq+1kYuggkTluczLpnxKnjAYg6mhepc6RxEyMABoJ4fIA YupIGyjAw2J1mgApXEKzP23BsKV9bzjzAZjWS1OktSswkcpIIE3/+bo/hGtWL6GtYTmH 8B2ZFgk58Pcrd5ujwS6TvifVI5jX19aF7sUwiCqvE+X28ZUAPLlDBTLk9oWO5X75Joi8 l6rdzJ4ptMFIKPeAqBxLNDd1LmMNk77yhJd0FTYQK2LKTz9wm55TSpxw4UDG1Mma0S+N naWw== 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=UQPfZ1J61H/ekBBAaR7V+BMvtX4EMI5nVnNHoIml4cY=; b=zYG8mBgE4Hq6y/QCJLV6929mpVV5NBLZmUYUArxA2DvhCSvAzYIpFqJ0VL327JaGr0 nqOjTGYJCyn3CuKfr9FtWs9Jrytbhypj7DhgL9agyG7dfp/soATy1XLz4MW/6mnX65Hu U2emo/7L7+ZpoKf4Q4DaD7t/2yXe4ApE2Optm4nIrvlLZGTANva4Mjt8xsRX2ZXq13NL zMl/Hpay4Bi1RmGnerkqBbQcncN0M/H9T+YpVYHKgvcHDeBU3L73m9Ow2Vxy6iGTtApL P5O15Fh1hpkqCQPWH7SkyyzPqx7DfLIFu2rJFLJEolmKaNmgUWogQ/F23g6nu96unUE6 /QPA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linutronix.de header.s=2020 header.b=KTCOU6z7; 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 hc16si15566ejc.446.2020.11.24.16.04.36; Tue, 24 Nov 2020 16:04:59 -0800 (PST) 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=KTCOU6z7; 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 S2388591AbgKXWTu (ORCPT + 99 others); Tue, 24 Nov 2020 17:19:50 -0500 Received: from Galois.linutronix.de ([193.142.43.55]:46036 "EHLO galois.linutronix.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727231AbgKXWTu (ORCPT ); Tue, 24 Nov 2020 17:19:50 -0500 From: Thomas Gleixner DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linutronix.de; s=2020; t=1606256388; 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=UQPfZ1J61H/ekBBAaR7V+BMvtX4EMI5nVnNHoIml4cY=; b=KTCOU6z7nYzCZBSY4aJF/Aw1YsI/0XmAB81NTW165bZxAvN6oPmLaSaBFZhUZVWjynlOxq nCqWsnt4RieChFXuP867sMeXaPnmW8u9fsV/Gbn1BRdJFB0VNGb0IMyJuyKWV5fpQyC6Jt Q2+/iL9J5edexGyDWyELgePpPZ/YShwU3DYFxcjZYOgjnfc4gYsnB7RdcnNPrWff7unbZG ZaY9pqTia2ITN3vQpLhyzkscxHZNhl11PdmcdDEZzzZQZGjxDtppP10EiOsvCL4XOkbx9r wAODJhjVw1jxFk0zsJcwnnxhVVX+iuhSgj/FNYp2v3UlVTFEEzGMaR8nasrQfg== DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=linutronix.de; s=2020e; t=1606256388; 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=UQPfZ1J61H/ekBBAaR7V+BMvtX4EMI5nVnNHoIml4cY=; b=r3f45/W7npRZRZ1ON6VohbAgkqBJpwE8zrsNWH62oAgAok6llT9gv4Vwh4nOwx5LB/Q3g3 Ri3BgRrqGnP3aaDw== To: Laurent Vivier , linux-kernel@vger.kernel.org Cc: Paul Mackerras , Benjamin Herrenschmidt , Michael Ellerman , linux-block@vger.kernel.org, "Michael S . Tsirkin" , Marc Zyngier , linuxppc-dev@lists.ozlabs.org, linux-pci@vger.kernel.org, Christoph Hellwig , Laurent Vivier Subject: Re: [PATCH 1/2] genirq: add an affinity parameter to irq_create_mapping() In-Reply-To: <20201124200308.1110744-2-lvivier@redhat.com> References: <20201124200308.1110744-1-lvivier@redhat.com> <20201124200308.1110744-2-lvivier@redhat.com> Date: Tue, 24 Nov 2020 23:19:47 +0100 Message-ID: <87h7pel7ng.fsf@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 Tue, Nov 24 2020 at 21:03, Laurent Vivier wrote: > This parameter is needed to pass it to irq_domain_alloc_descs(). > > This seems to have been missed by > o06ee6d571f0e ("genirq: Add affinity hint to irq allocation") No, this has not been missed at all. There was and is no reason to do this. > This is needed to implement proper support for multiqueue with > pseries. And because pseries needs this _all_ callers need to be changed? > 123 files changed, 171 insertions(+), 146 deletions(-) Lots of churn for nothing. 99% of the callers will never need that. What's wrong with simply adding an interface which takes that parameter, make the existing one an inline wrapper and and leave the rest alone? Thanks, tglx