Received: by 2002:a05:6358:11c7:b0:104:8066:f915 with SMTP id i7csp4513665rwl; Mon, 3 Apr 2023 06:10:27 -0700 (PDT) X-Google-Smtp-Source: AKy350ZcjlGsb995Hcco2N/Xy2IrfcCLWPG59CUXUAN4kFvN76jO29oWMUJGdwsQps8HOMgbKvNX X-Received: by 2002:a17:906:b290:b0:923:c55d:efd2 with SMTP id q16-20020a170906b29000b00923c55defd2mr32228176ejz.68.1680527427484; Mon, 03 Apr 2023 06:10:27 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1680527427; cv=none; d=google.com; s=arc-20160816; b=R/gjTN++Od+K8cz8GeLSyR+eaR5i5mEz9EpD3IIgcFr0VW1sLtfbdo3LxPho/eifFX xjTox0SA62Iyfi0irkZaXyJS4fsuppFJ1T/Hwjc6JLVXg8OipGFwLnJXDLwfOBlIO4vz pD28vQP63IdEQyBZ/h0lvJ00nI74SdFGcu3POFW2mbKMjZ2FRXVrWxvMsky3dDxtkezc 2kVC5Kkxbrm+/wMQ92FZPKtWnXzb4d+2Gn8S54i8O9Yv6MNbE+iHDlXgDiAjTHtyFSLM j/9IBmoTOIeLzpO3CwohfMmK2b1xFoFOn0zq5ncnw+cbj7+0dAVN9pc3Zh1nXO/kyhOa 46bA== 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=9TlxMMacAuxme2dNfPfC+NfWv1+9f+4upKkE+J19QqY=; b=Tn2RDhkQANLubftC8ntjWbOgRxD6jQ6t1YtpvcmbVP9chGxZ42oqOD1Ify1IcMtIMe 6F+6r2KdJDU8/Zn0Z/OqJN6mO5z3QdpKShsSBoOhX3Rhul6W84V6mGJtdUi0NFEgK51k qzRORZ34ya4EbGaaucKXb2V3bMxIgfOfccWTtFnE7IYdc/W7SEHnvT0JpVQp4ii/mlFb ISYTSuU6mURNm/xJIWZPMrqbPjV38JAk2knugs2yiFWaDa87yXEr4wj0eJ0+RKM2SsJZ ifzFRUja8ZxU0njPwMtwVo4W/r9E/0+2BB7flfo1v5dQ+6xoAR7HlSuZ6Ijo9nd8XBH0 cMPg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=Q7nkhqhQ; 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 lz5-20020a170906fb0500b0093defbd6279si7560706ejb.1024.2023.04.03.06.10.02; Mon, 03 Apr 2023 06:10:27 -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=Q7nkhqhQ; 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 S232301AbjDCNHs (ORCPT + 99 others); Mon, 3 Apr 2023 09:07:48 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:32872 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232201AbjDCNHm (ORCPT ); Mon, 3 Apr 2023 09:07:42 -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 619301C1D0; Mon, 3 Apr 2023 06:07:41 -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 16580B81A07; Mon, 3 Apr 2023 13:07:40 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 24B1FC4339B; Mon, 3 Apr 2023 13:07:38 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1680527258; bh=HyvmVdwLecMO/5pUko/0/tVvzcisFGvSd1666M2+4IE=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=Q7nkhqhQZVhwhxxyFShS6DIWUj5uxvjgO4J2SWkzfBjgvXOn6Oz7P2n65rlSWXfWs auIAcQ4KoXdq/8jmUs8vw5Ox94NIaIME2aejfKJYrI4a7aO8ERT1Iw9MVdjt7tqyvJ cOqMMc4BXshX8D1CYwCSSHUeDnugPKpbPIuqimsY= Date: Mon, 3 Apr 2023 15:07:36 +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: <2023040305-evaluator-come-fcb8@gregkh> 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. Also, the most obvious reason, it does NOT apply there! If this needs to go to 5.15.y and older, please send working backports of it. thanks, greg k-h