Received: by 2002:a05:6a10:f347:0:0:0:0 with SMTP id d7csp404507pxu; Wed, 25 Nov 2020 06:14:36 -0800 (PST) X-Google-Smtp-Source: ABdhPJzz3ZkfgXy1/X+v67YRe52unG+EFjSphQe4WUeoWZWMdhp6w3bJf728lMy7DkG+Td1CXUl6 X-Received: by 2002:a17:906:6546:: with SMTP id u6mr3410199ejn.36.1606313675753; Wed, 25 Nov 2020 06:14:35 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1606313675; cv=none; d=google.com; s=arc-20160816; b=UmrZjiJFM9V17tK0ssvPJgS+Jr3kxn7dJlLsBq9i2K6Lb58H1I8dPjA59nf/eJ4K+f C1ousJEnBcFv/zFsVTz3TWl2YvoVB+YVL037PusdQTuGQmrvIOg2jY0JzqbK7koEJcL4 ozDnflD70T0QEFx9Msidci0188f2+EDz3HlX1xCVQ6WcdjU0xtTJd6ws/VrsO/bskxZs ShPhLnv7YLkTormX8rHo89GHc/LTkNWkWLIIKyEHkVjU4u3TW9VXzSBGdFI4GG/CuhEx NOOwj7SPH9gYqgJkDGklm9a3bVac9HzRxvDQVfwo2jWkJUqte+hXQRpl14ZQbFMAptii vHRw== 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=L7x1+zQZq5AdNReGA03HZCNw2qvTVYRyYsN6XftQCxU=; b=PysKO96sKU0JiXXrKy3exYiNRFP8wFPE4R/cHgpdyUou3qrdtqts5PAXfm/lWfnbUf YY9lImHbNUWdFvnxAWAcPdDrSZFJyt6ZdIFFoQU9pG7BV4/Vu0P9Bjbx8/NuqPByFAU7 LK5tDt1iVkO6k2mjaPTO2pWjvj6Ux9wP2OLdym5ln84veF+QpuUneLJXZMXSbRP2l6UB +zfoST22Oj7UFGfFMZjc5wfm2IMYiIRAzm/xvALr7rU7bk8Isnqf5I+uFG2qrIwRMsHN HpcqIx+aYARAot7q7/zifuxPXzsk/1JaLo7jNIPfGcvqj3hpZnp6wJtG4BIRXLLUjdC4 TRzQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b="h/OT5/8s"; 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 m12si1319166edq.242.2020.11.25.06.14.11; Wed, 25 Nov 2020 06:14:35 -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="h/OT5/8s"; 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 S1729686AbgKYOJ6 (ORCPT + 99 others); Wed, 25 Nov 2020 09:09:58 -0500 Received: from us-smtp-delivery-124.mimecast.com ([216.205.24.124]:38658 "EHLO us-smtp-delivery-124.mimecast.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1729601AbgKYOJ6 (ORCPT ); Wed, 25 Nov 2020 09:09:58 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1606313397; 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=L7x1+zQZq5AdNReGA03HZCNw2qvTVYRyYsN6XftQCxU=; b=h/OT5/8s0S+UEIuo/PCfje1kCO0N58LvGMdtv9P0bLP0T1P3VIbIBuHfNAta933NA453r2 HC977uFrFpYN5VufEvuJCJ/lQ7u0LaknH2DImnIAgmc7Nzh694cOEojPIZKofeh7KUNasI h7SMVgBrrQ5x2buyNnksb4wTwEbx5qQ= 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-73-oVkqOzzQNAWKywPe2GBTeA-1; Wed, 25 Nov 2020 09:09:52 -0500 X-MC-Unique: oVkqOzzQNAWKywPe2GBTeA-1 Received: from smtp.corp.redhat.com (int-mx04.intmail.prod.int.phx2.redhat.com [10.5.11.14]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx01.redhat.com (Postfix) with ESMTPS id 3D261185E482; Wed, 25 Nov 2020 14:09:50 +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 1CB195D9CA; Wed, 25 Nov 2020 14:09:42 +0000 (UTC) Subject: Re: [PATCH v2 1/2] genirq: add an irq_create_mapping_affinity() function To: Thomas Gleixner , linux-kernel@vger.kernel.org Cc: linux-block@vger.kernel.org, Paul Mackerras , linux-pci@vger.kernel.org, Marc Zyngier , linuxppc-dev@lists.ozlabs.org, Benjamin Herrenschmidt , "Michael S . Tsirkin" , Greg Kurz , Christoph Hellwig , Michael Ellerman References: <20201125111657.1141295-1-lvivier@redhat.com> <20201125111657.1141295-2-lvivier@redhat.com> <87sg8xk1yi.fsf@nanos.tec.linutronix.de> From: Laurent Vivier Message-ID: Date: Wed, 25 Nov 2020 15:09:42 +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: <87sg8xk1yi.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.79 on 10.5.11.14 Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 25/11/2020 14:20, Thomas Gleixner wrote: > Laurent, > > On Wed, Nov 25 2020 at 12:16, Laurent Vivier wrote: > > The proper subsystem prefix is: 'genirq/irqdomain:' and the first letter > after the colon wants to be uppercase. Ok. >> This function adds an affinity parameter to irq_create_mapping(). >> This parameter is needed to pass it to irq_domain_alloc_descs(). > > A changelog has to explain the WHY. 'The parameter is needed' is not > really useful information. > The reason of this change is explained in PATCH 2. I have two patches, one to change the interface with no functional change (PATCH 1) and one to fix the problem (PATCH 2). Moreover they don't cover the same subsystems. I can either: - merge the two patches - or make a reference in the changelog of PATCH 1 to PATCH 2 (something like "(see folowing patch "powerpc/pseries: pass MSI affinity to irq_create_mapping()")") - or copy some information from PATCH 2 (something like "this parameter is needed by rtas_setup_msi_irqs() to pass the affinity to irq_domain_alloc_descs() to fix multiqueue affinity") What do you prefer? Thanks, Laurent