Received: by 2002:a05:6358:11c7:b0:104:8066:f915 with SMTP id i7csp1665786rwl; Wed, 29 Mar 2023 23:04:22 -0700 (PDT) X-Google-Smtp-Source: AKy350bLE0mZm16udFDV9AZnjzIkKKkvxK+KqhFXCHfxVNTTT4KOnK4jhTWoMNBHb7WmOPhHg3Tz X-Received: by 2002:a17:906:208:b0:931:5145:c51d with SMTP id 8-20020a170906020800b009315145c51dmr1118585ejd.0.1680156262145; Wed, 29 Mar 2023 23:04:22 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1680156262; cv=none; d=google.com; s=arc-20160816; b=0OV6tRPn6jHFhgCA97vUsHf+8pRddvdF3DqikNatBUYATGTQVs1gPatl8McxmgCllr vZLpH62eArsWuP5cP4oJnnjD/FrKvPXUm7Nujf0PhEqcA6BuSQCZ9F0hyhLaqmuvNHjK F4K0OgSABQhjofaEYJBn/miHzn3JFPkUflbtjf6GPgw2VtHU4/YvVNt2TTy/jGwC8x1B WjJauwbfUHJY+3pEnwoy72RoPvHn2if/MipI4EJyj8nBmh8GlxuxLBa/i6DqQpKiKAnu dDzfaahRaZKhuWwpc7j8lq3Lqdt0cHdA9g90Bfd9hxu5gSUATiY8pQzsgduhD258n0KU qlcQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=uX4FWMOHFD8si4KbstajcpPOjjWayy+V9FnSO1nrGkE=; b=EgUrYE1VRbMB6ahu2wKeso7btDIM20nej63yK/Hokwh8rdAGJ7wTkBzbUpQ3il3rBX ebnTex9ihz2BBk9HEJmiTamHZymWg/Z9n5CidI9J6VVGE/RNWOmnmDf5+JGxIpnPMPKD g1fesbXeIC7oYOtspMaTITOgyiw04kXF6pwrTKtLS4sJvW/2OkpispGvG4U0P/ezWmW5 d9QF9H0laJcqUaPvXC0gYxwSBLyfPF/ZINbB+i5xGhrIxECy/Qc/AHNgd/XemchLrjZw BkUvl6irl22yGYxB1g02eNntB3oxgF48AL9hr8VyCKt33QRQgZA3WOMm2P87357TGVy9 AM+Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=hqMaP3HR; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id q6-20020a1709064cc600b009476cc92ff0si220704ejt.906.2023.03.29.23.03.56; Wed, 29 Mar 2023 23:04:22 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=hqMaP3HR; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229827AbjC3F6c (ORCPT + 99 others); Thu, 30 Mar 2023 01:58:32 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:53660 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229524AbjC3F63 (ORCPT ); Thu, 30 Mar 2023 01:58:29 -0400 Received: from ams.source.kernel.org (ams.source.kernel.org [IPv6:2604:1380:4601:e00::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id CBB09E4; Wed, 29 Mar 2023 22:58:28 -0700 (PDT) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ams.source.kernel.org (Postfix) with ESMTPS id 7E93DB825DA; Thu, 30 Mar 2023 05:58:27 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 9CAA0C433D2; Thu, 30 Mar 2023 05:58:25 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1680155906; bh=vx/Rnvlz/DgN2zpFUitn4sJ61icshhEzaPkBFQHilaA=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=hqMaP3HREd0etYbIDJDe3wFNh2yBBggwgWJnYQhMaiWD9UbeD5IyvNh5E230ustkC bVdvPiwvs8fFeb4lYFWXiXkZv85cYyiSLP35vyyxGrSCzoeTG9+tn39sVOg0d9xnCb zlyfb7MK3rmCnayaKeoL51E3hJpm0po69Y7dh9fY= Date: Thu, 30 Mar 2023 07:58:23 +0200 From: Greg Kroah-Hartman To: Dexuan Cui Cc: Boqun Feng , "quic_jhugo@quicinc.com" , "quic_carlv@quicinc.com" , "wei.liu@kernel.org" , KY Srinivasan , Haiyang Zhang , "sthemmin@microsoft.com" , "lpieralisi@kernel.org" , "bhelgaas@google.com" , "linux-hyperv@vger.kernel.org" , "linux-pci@vger.kernel.org" , "linux-kernel@vger.kernel.org" , "Michael Kelley (LINUX)" , "robh@kernel.org" , "kw@linux.com" , "helgaas@kernel.org" , "alex.williamson@redhat.com" , "stable@vger.kernel.org" , Sasha Levin Subject: Re: [PATCH v2] PCI: hv: Fix the definition of vector in hv_compose_msi_msg() Message-ID: References: <20221027205256.17678-1-decui@microsoft.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: X-Spam-Status: No, score=-2.5 required=5.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_MED,SPF_HELO_NONE, SPF_PASS autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, Mar 30, 2023 at 03:23:45AM +0000, Dexuan Cui wrote: > > From: Boqun Feng > > Sent: Wednesday, March 29, 2023 7:56 PM > > To: Dexuan Cui > > ... > > On Wed, Mar 29, 2023 at 06:56:12PM -0700, Boqun Feng wrote: > > > [Cc stable] > > > > > > On Thu, Oct 27, 2022 at 01:52:56PM -0700, Dexuan Cui wrote: > > > > The local variable 'vector' must be u32 rather than u8: see the > > > > struct hv_msi_desc3. > > > > > > > > 'vector_count' should be u16 rather than u8: see struct hv_msi_desc, > > > > hv_msi_desc2 and hv_msi_desc3. > > > > > > > > > > Dexuan, I think this patch should only be in 5.15, because... > > > > > > > Sorry, I meant: > > > > "this patch should also be backported in 5.15" > > > > Regards, > > Boqun > > > > > > Fixes: a2bad844a67b ("PCI: hv: Fix interrupt mapping for multi-MSI") > > > > > > ^^^ this commit is already in 5.15.y (commit id 92dcb50f7f09). > > > > > > Upstream id e70af8d040d2b7904dca93d942ba23fb722e21b1 > > > Cc: # 5.15.x > > The faulty commit a2bad844a67b ("PCI: hv: Fix interrupt mapping for multi-MSI") > is in all the stable branches, even including 4.14.y, so yes, the commit > e70af8d040d2 ("PCI: hv: Fix the definition of vector in hv_compose_msi_msg()") > should be backported to all the stable branches as well, including > v5.15.y, v5.10.y, v5.4.y, v4.19.y, v4.14.y. > > e70af8d040d2 has a Fixes tag. Not sure why it's not automatically backported. Because "Fixes:" is not the flag that we are sure to trigger off of. Please read: https://www.kernel.org/doc/html/latest/process/stable-kernel-rules.html for how to do this properly. That being said, because some subsystem maintainers do NOT put cc: stable in their patches, we do sometimes sweep the tree and try to pick up things with only "Fixes:" but we don't always catch everything. So if you want to be sure a patch is applied, please always add a cc: stable in the patch. thanks, greg k-h