Received: by 2002:a05:6a10:f347:0:0:0:0 with SMTP id d7csp179364pxu; Tue, 24 Nov 2020 23:32:13 -0800 (PST) X-Google-Smtp-Source: ABdhPJwTWwyt7xZxT1EHfZdmMuLFitl4XgAz+40nYXqkfawb91DPFAmwddq9wmHUYcIKAP31TyCz X-Received: by 2002:a05:6402:b02:: with SMTP id bm2mr2247053edb.299.1606289533485; Tue, 24 Nov 2020 23:32:13 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1606289533; cv=none; d=google.com; s=arc-20160816; b=vNC7nRzOGfBJOcpnbml9hR1BtsjX9lMPTlTdzB7TIjJyWSeFWwdWrLLD3ldfAwNS7b jEJVqIduP3Srw04rHtz2Brd+j/pk8k0LLcEcSMS7SdAusGj59zyLqZI2nTbnL645hff4 FcpZjxMAMxG9jH2iv173wfEN2XZ4ZIpXHRHvh5Ahs0r/KJ6bSAAY+qwdiohwTyHMeBBH wg7HbcUrtHQP7lXLCOlBdakikz8oB2HbgIIzCFSlewczZVTpFHlDiC0wOKj1Uc5o2bUl aIP4MCw2zZiVK2oNSSu/3HF5pvDx++UshR2sxB3ZKtR172ZrP+gcJw4cO4YdCLD4dUdZ q1Mg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:content-language :in-reply-to:mime-version:user-agent:date:message-id:from:references :cc:to:subject:dkim-signature; bh=D3DSrYj+gqE7fmTGGcLGiNd0q/oeDN1ODN+0Xluwkpc=; b=NN0SfrNAR6J1jkT55BQQeg2ozT5pNzVbXJhfsS6h2wUKX9XLK1UKXL5ONjK3Hp0zY8 pDSMZcubk0RBRuGvID5dXstNiS8YfUiEiaTf/g90hBKAe0q2YArPjF5UvJWe/AqOOqF8 87faMutwbkUtCZ6Nabd+itfeIYfU8Th0WmnUq3fFZ9g7uQAccPHTZ+ppShd47C6KWzXZ oDoIpypjK+gbQPKWdMr8ERtHtCgTdweG0UID7FzmehQkIHJLaIn7xZ7pnV+wqVWhKC1Z k2RcXBcLSnkUI8o3pdSBl6BQytPrHxDv+s/XQDCGoL48yb/mZWvVWt5GjgG4SBn4aiSX p04Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=fA9CICIb; 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=NONE dis=NONE) header.from=redhat.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id a4si736267ejf.460.2020.11.24.23.31.51; Tue, 24 Nov 2020 23:32:13 -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=@redhat.com header.s=mimecast20190719 header.b=fA9CICIb; 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=NONE dis=NONE) header.from=redhat.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726407AbgKYHaT (ORCPT + 99 others); Wed, 25 Nov 2020 02:30:19 -0500 Received: from us-smtp-delivery-124.mimecast.com ([216.205.24.124]:27128 "EHLO us-smtp-delivery-124.mimecast.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725308AbgKYHaT (ORCPT ); Wed, 25 Nov 2020 02:30:19 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1606289418; 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: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=D3DSrYj+gqE7fmTGGcLGiNd0q/oeDN1ODN+0Xluwkpc=; b=fA9CICIbgyXjS69Z6vTqpHdS8ITgmWbSy2XevqJNelZW0fnX01zkFd1otHTyJbgcFiWQa0 o5KhkAO4dXq4epX5JilmW9dDm2dDIbJjeHGvVCVVQWDkCtFyTFtKZYlO6sJR1eMeGsd5C9 k6a0pf1GjYFKCvot8A3oovlTcwkLyds= Received: from mimecast-mx01.redhat.com (mimecast-mx01.redhat.com [209.132.183.4]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-411-HGAXgTQcP7C0r00a5_OLvQ-1; Wed, 25 Nov 2020 02:30:15 -0500 X-MC-Unique: HGAXgTQcP7C0r00a5_OLvQ-1 Received: from smtp.corp.redhat.com (int-mx07.intmail.prod.int.phx2.redhat.com [10.5.11.22]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx01.redhat.com (Postfix) with ESMTPS id 161A618C89E0; Wed, 25 Nov 2020 07:30:13 +0000 (UTC) Received: from [10.36.113.83] (ovpn-113-83.ams2.redhat.com [10.36.113.83]) by smtp.corp.redhat.com (Postfix) with ESMTP id DDFAF10023B0; Wed, 25 Nov 2020 07:30:06 +0000 (UTC) Subject: Re: [PATCH 1/2] genirq: add an affinity parameter to irq_create_mapping() To: Thomas Gleixner , 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 References: <20201124200308.1110744-1-lvivier@redhat.com> <20201124200308.1110744-2-lvivier@redhat.com> <87h7pel7ng.fsf@nanos.tec.linutronix.de> From: Laurent Vivier Message-ID: <8e9002d0-086f-1e7d-4b94-45b6d49f7917@redhat.com> Date: Wed, 25 Nov 2020 08:30:05 +0100 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.4.0 MIME-Version: 1.0 In-Reply-To: <87h7pel7ng.fsf@nanos.tec.linutronix.de> Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 7bit X-Scanned-By: MIMEDefang 2.84 on 10.5.11.22 Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 24/11/2020 23:19, Thomas Gleixner wrote: > 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? Nothing. I'm going to do like that. Thank you for your comment. Laurent