Received: by 2002:a05:6a10:f347:0:0:0:0 with SMTP id d7csp517056pxu; Wed, 25 Nov 2020 08:46:17 -0800 (PST) X-Google-Smtp-Source: ABdhPJzjuJBdbbNazEOi3gMqfx8BgNoPdoJWr19EFBnmdMQjveD1WM+T35xsvNyRAMWP5fKz23tp X-Received: by 2002:a50:fe02:: with SMTP id f2mr4422187edt.97.1606322777158; Wed, 25 Nov 2020 08:46:17 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1606322777; cv=none; d=google.com; s=arc-20160816; b=pEfGxc38WqUpPBNfLl7T75P7jxRYfw0hcD2sxfh4acKzzu2/tQwa+FHbYja6IPEAwl UMaO8Opmx/GJtrn+AyO5aKtCNmVbHN9XxUrV3lFM00sYpnbSdzGPy5Qm7Moq3x4dt67H D7d1NqtrsA/yHBQvtwkwnh3RS+PeD/X62ECVmzpaCzVUgbMMt+vdLmRWvB0bF/ueifac dsXMthB7O9UbojrlkSV2OFy2HqgwM665G01RvAby7IQHq0YLdJdIXxD91VBaCyoJyl9N xIhAVyvUsKb7eE3dRBGiFtEY1huQ+B7aGGg7d475M9jwem3purSR9MpcJlKyEKA2nPYx W7Sg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:message-id:user-agent:references:in-reply-to :subject:cc:to:from:date:content-transfer-encoding:mime-version :dkim-signature; bh=QoFExUS8XtGX7Wx628+Cox8XFm8mCUEkBE6FXD7LvyE=; b=ILrMhKl+5d8DkBdtzEFpiYfVH0l7v1tPpKwbLwvMNjxrofSu4TqFt6JMs2wTKtB6VP 0/TuNkWFcXSL5vMb7rdHuuTcDNMvXnWzMjf6+0qmJLFGV7JLfaRi2vYgMoRa+w1kCG8W OG2onkNmZ4t6pbO+7LNYT6t1b+AFb0F/a3/2qw6d4eUQr446V2tt8gdrMzNA4/4tJDbt s8gpChYEGKk6GfKWHp40pk35zW4xdIZKhhvGLDzwdqNNGCEnvtY/yu43S5fjyXpwN6E3 V4JfaKFxs45N3WY5TXxqcG/mcTYsgsfOXwa4zwnd3O8Wv2mzTYcRhe+ckE91+SKLZrus Pqkg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=ShwHevqz; 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=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id z7si1560162eja.279.2020.11.25.08.45.54; Wed, 25 Nov 2020 08:46:17 -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=@kernel.org header.s=default header.b=ShwHevqz; 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=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1731885AbgKYQmd (ORCPT + 99 others); Wed, 25 Nov 2020 11:42:33 -0500 Received: from mail.kernel.org ([198.145.29.99]:55334 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1730269AbgKYQmd (ORCPT ); Wed, 25 Nov 2020 11:42:33 -0500 Received: from disco-boy.misterjones.org (disco-boy.misterjones.org [51.254.78.96]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id 67B0620857; Wed, 25 Nov 2020 16:42:32 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1606322552; bh=RZad696Dkp864M+XIPKQBVBv1zbGfYkVuN9K54E5zF0=; h=Date:From:To:Cc:Subject:In-Reply-To:References:From; b=ShwHevqzdywqLdhmN37W0cpnFCJTuDfSWryyONq6Z6etTQwB+RGWNpDP0/cldlFE7 Ig2Tp7Zfr7hKVEgeWj9H+HpEQjyQo5Anum7OMozxG+FD2jUkwwZPO41NOXxsBTiGAw wQkNRWhKuXrafZGHV1afMncS+XD0q0DwZcfQCFGE= Received: from disco-boy.misterjones.org ([51.254.78.96] helo=www.loen.fr) by disco-boy.misterjones.org with esmtpsa (TLS1.2) tls TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256 (Exim 4.94) (envelope-from ) id 1khxsE-00DZgJ-9e; Wed, 25 Nov 2020 16:42:30 +0000 MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII; format=flowed Content-Transfer-Encoding: 7bit Date: Wed, 25 Nov 2020 16:42:30 +0000 From: Marc Zyngier To: Laurent Vivier Cc: Denis Kirjanov , linux-kernel@vger.kernel.org, linux-pci@vger.kernel.org, Christoph Hellwig , Paul Mackerras , Greg Kurz , linuxppc-dev@lists.ozlabs.org, Thomas Gleixner , Benjamin Herrenschmidt , Michael Ellerman , linux-block@vger.kernel.org, "Michael S . Tsirkin" Subject: Re: [PATCH v3 2/2] powerpc/pseries: pass MSI affinity to irq_create_mapping() In-Reply-To: <7184880b-0351-ae18-d2e1-fab7b79fc864@redhat.com> References: <20201125150932.1150619-1-lvivier@redhat.com> <20201125150932.1150619-3-lvivier@redhat.com> <7184880b-0351-ae18-d2e1-fab7b79fc864@redhat.com> User-Agent: Roundcube Webmail/1.4.9 Message-ID: <5419d1790c9ea0d9d7791ae887794285@kernel.org> X-Sender: maz@kernel.org X-SA-Exim-Connect-IP: 51.254.78.96 X-SA-Exim-Rcpt-To: lvivier@redhat.com, kda@linux-powerpc.org, linux-kernel@vger.kernel.org, linux-pci@vger.kernel.org, hch@lst.de, paulus@samba.org, groug@kaod.org, linuxppc-dev@lists.ozlabs.org, tglx@linutronix.de, benh@kernel.crashing.org, mpe@ellerman.id.au, linux-block@vger.kernel.org, mst@redhat.com X-SA-Exim-Mail-From: maz@kernel.org X-SA-Exim-Scanned: No (on disco-boy.misterjones.org); SAEximRunCond expanded to false Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 2020-11-25 16:24, Laurent Vivier wrote: > On 25/11/2020 17:05, Denis Kirjanov wrote: >> On 11/25/20, Laurent Vivier wrote: >>> With virtio multiqueue, normally each queue IRQ is mapped to a CPU. >>> >>> But since commit 0d9f0a52c8b9f ("virtio_scsi: use virtio IRQ >>> affinity") >>> this is broken on pseries. >> >> Please add "Fixes" tag. > > In fact, the code in commit 0d9f0a52c8b9f is correct. > > The problem is with MSI/X irq affinity and pseries. So this patch > fixes more than virtio_scsi. I put this information because this > commit allows to clearly show the problem. Perhaps I should remove > this line in fact? This patch does not fix virtio_scsi at all, which as you noticed, is correct. It really fixes the PPC MSI setup, which is starting to show its age. So getting rid of the reference seems like the right thing to do. I'm also not keen on the BugId thing. It should really be a lore link. I also cannot find any such tag in the kernel, nor is it a documented practice. The last reference to a Bugzilla entry seems to have happened with 786b5219081ff16 (five years ago). Thanks, M. -- Jazz is not dead. It just smells funny...