Received: by 2002:a05:6a10:f347:0:0:0:0 with SMTP id d7csp410479pxu; Thu, 26 Nov 2020 01:39:54 -0800 (PST) X-Google-Smtp-Source: ABdhPJyVzuSsBZPjh7cKEzUtBqhRL77Cs4WnQ4qMNS03bwEeZZG/XjPL4QzzKIO0PZMhzIZFtgXO X-Received: by 2002:a17:906:85cf:: with SMTP id i15mr1806085ejy.373.1606383593860; Thu, 26 Nov 2020 01:39:53 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1606383593; cv=none; d=google.com; s=arc-20160816; b=o8ZrlUDZ3LYLxQdxsvDBs2LvCdQZEX1tdp+PpLDtE443eEg1NGJrRrXluhYtlPXDyC 4TN3WIzTSfrI7Xecbcp1qb4Jm8u35WnnG9nS3LMi2inAzFwsCEhPmjI2WEeU+h4zvaP3 HY4amzygRZivm+Cnaq1doqvfkcUCeRJsUEddE4fjPC75+FDBlUJ/d8xEH67WkuVS2/Z4 SvHmmPBmevqxphis40JMeyb3rYXiQbnxgeDjmGOz0z78+npwHz0dkA+/GtiQU+5xxdpp TKF+1nzrqOlpFrGn5hVSvvzhgHaUEYd5sSv9LkDBYMKrMYsLGBAkWjPRstkaOvpNH7He t1FQ== 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:from:dkim-signature; bh=n8swXhXMBy69K+f9U70dIo50ztv5xEc2wdBugavkDbQ=; b=dxvTerhDgTAUpQQhsvtKEoiSNLlgx1tRhSOFmLeaGDBrEXZFCvrM+htirXwtqzSjSz 2u3kJxXZZRiMskezBMJrP+8wUCe6SeOeCp3v9J7HqGzqRUcs1kI69GDXPfkqoJXeioDZ q9ncJgEb1UFXHAUvWpG9pt7FV2JXwd2zvaGD0LDFNz0hAjxU4YbaPkLu9SaLK2AqzuM5 uxnARYbJ6buhCmNSgoGunoomNLtf1TTc/AvpTaoCf8oXnvLE23no98+hRWmUGjX+fpi0 l6VfJQRBGmKlhnmMVzFkF2pKsnqyU8Ucsbg2VRNRU012kBcMZG3v4XI/5OY1dm/YThy6 shJQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@ellerman.id.au header.s=201909 header.b=caJVE16k; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id dn5si3318842ejc.533.2020.11.26.01.39.31; Thu, 26 Nov 2020 01:39:53 -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=@ellerman.id.au header.s=201909 header.b=caJVE16k; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1733248AbgKZDW1 (ORCPT + 99 others); Wed, 25 Nov 2020 22:22:27 -0500 Received: from bilbo.ozlabs.org ([203.11.71.1]:34813 "EHLO ozlabs.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1731106AbgKZDW1 (ORCPT ); Wed, 25 Nov 2020 22:22:27 -0500 Received: from authenticated.ozlabs.org (localhost [127.0.0.1]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-256) server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by mail.ozlabs.org (Postfix) with ESMTPSA id 4ChNNd275Sz9sRK; Thu, 26 Nov 2020 14:22:25 +1100 (AEDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=ellerman.id.au; s=201909; t=1606360945; bh=yX9WEAmDETJStycvdfhm5xjpOuROvlTMfef+2IZNRzo=; h=From:To:Cc:Subject:In-Reply-To:References:Date:From; b=caJVE16kPD5T5w1YfQUtCJ82yfv3OPIrIBflantGq+tUNWi4NV9lzL0hp86igcHKG mXPBYm3z7KHBmNWucFw+VsUhHCkMEqGu2N1EdLYgGS6NR3XCkYW4MgLPnau1sEugOe h2fgo+qYSD4ewJKcXYHIicyXCuFVCHwKdVbSXcclkwcOtrVtozBz0lSB8trFWngWrA G3t/eSVPnoZLQNKdAuVGXVvGIVEEEMau9zw0h8aghk5BF1O7ODUOW4kPAMBREPWVaC V9GH2Ksr94sZw80vcKoxstOyv43ZsrkdJw+jcPbV3Dk0PJMo/V28gCgnHKak8k8pgB OEFipznFGoqQg== From: Michael Ellerman To: Marc Zyngier , 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 , 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: <5419d1790c9ea0d9d7791ae887794285@kernel.org> References: <20201125150932.1150619-1-lvivier@redhat.com> <20201125150932.1150619-3-lvivier@redhat.com> <7184880b-0351-ae18-d2e1-fab7b79fc864@redhat.com> <5419d1790c9ea0d9d7791ae887794285@kernel.org> Date: Thu, 26 Nov 2020 14:22:24 +1100 Message-ID: <87360wztsf.fsf@mpe.ellerman.id.au> MIME-Version: 1.0 Content-Type: text/plain Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Marc Zyngier writes: > 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. It's still useful to refer to that commit if the code worked prior to that commit. But you should make it clearer that 0d9f0a52c8b9f wasn't in error, it just exposed an existing shortcoming of the arch code. cheers