Received: by 2002:a6b:fb09:0:0:0:0:0 with SMTP id h9csp6131592iog; Thu, 23 Jun 2022 12:01:34 -0700 (PDT) X-Google-Smtp-Source: AGRyM1vr+OLaoHcNs+BhvTTfOwfjCGWB/v+ut1MGLavOXXNrYD7LPd5Nl78RHWuriFF6J2WniB/x X-Received: by 2002:a05:6402:f0e:b0:435:8b5d:ece9 with SMTP id i14-20020a0564020f0e00b004358b5dece9mr12618553eda.276.1656010893792; Thu, 23 Jun 2022 12:01:33 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1656010893; cv=none; d=google.com; s=arc-20160816; b=T6P5i8m6d9NcXDKIb6B3+u3L35DLqN8cQlDbRyyzaLPNCQ27uURJYfUudb//w6u52c vfqi/L+m2+5EeLPKuWcoN3OUSRWs2lAvUXuIv4Q6s/O1eHxCeNFitpzGsNq5LUCNW+fO vrDBR7D6afNAYc7oFQV8Z81pgYoejzKDBTcsvGj53HsJrern+dNU9/L6n9o0PPlmKcLH KPGWHGjPAfiTdOtdvML3QTVNh+JAPK1Z1thXPsrOOQaYQg7Jn0kd5fWD/gjbDX/FvMVP M+YAjaw24O8HZ8AxnIrgm2PNcjawylCbWmYm4bVzRNyQXV1g4ScExb8wHmGeUmmUFLi6 mfiw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :user-agent:references:in-reply-to:message-id:date:subject:cc:to :from:dkim-signature; bh=wvBZgpl370S+5ncfmuG9hmwGY06GaSsU2lBB4XnILR4=; b=a2QeECxwEh9L7prM+i7wAwFC3+NMlpdfPqP4p+8Hum+U/95Pi3Yyd7GCdh5THzLQPk Nuttb7DpIiNRogTitJ5vwPyjqKHI1QILEODVFtIF8R6933oposRD+HOi2h6BUnL/ZRpY 5Tw7dmxcOYxcxIARPwcfpilEHwso8jVFXH+PItG4sw+BDHGuZamKGvpJGlTYAClBb64U 1btNy9IyS7GrqEz8OxvdwTAHiJcJB+aBcxIqAKImq9V2+fRTdhnkpy9/dJ6X00nuwuqx EjrVNdg19eri//Z3YRUblUXC+b9H3FihzwQIJblmE67J4bf++swFX3hI19qkIg4HEViC X6ag== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b="pf+GVt/f"; 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 eb9-20020a0564020d0900b00435bbe82254si495708edb.143.2022.06.23.12.01.05; Thu, 23 Jun 2022 12:01:33 -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="pf+GVt/f"; 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 S236681AbiFWSQH (ORCPT + 99 others); Thu, 23 Jun 2022 14:16:07 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:32994 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232336AbiFWSP3 (ORCPT ); Thu, 23 Jun 2022 14:15: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 1A20822528; Thu, 23 Jun 2022 10:21:55 -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 C8594B824BD; Thu, 23 Jun 2022 17:21:53 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 27CFBC3411B; Thu, 23 Jun 2022 17:21:51 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1656004912; bh=gwmf6peLKhueY78cBZXQsHDQ+B2rOr5tX1pQlxSjuXc=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=pf+GVt/fLHT743LYjnHfsWT9pzb/34ee9kWpn5JaVHRo44+r05uYidR8U/KnEIzDH BvRZ2inVLO1M6JJinN9qUqRM57n/qO05TvzMU+VqVAayv0YRZ5LtcpzhtgLZgnnDbv LFg2T+fbxl0LfN2J3CaRMx7Df18g8PT4UCKbXhIw= From: Greg Kroah-Hartman To: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman , stable@vger.kernel.org, Wentao Wang , "Martin K. Petersen" , Sasha Levin Subject: [PATCH 4.19 190/234] scsi: vmw_pvscsi: Expand vcpuHint to 16 bits Date: Thu, 23 Jun 2022 18:44:17 +0200 Message-Id: <20220623164348.425130366@linuxfoundation.org> X-Mailer: git-send-email 2.36.1 In-Reply-To: <20220623164343.042598055@linuxfoundation.org> References: <20220623164343.042598055@linuxfoundation.org> User-Agent: quilt/0.66 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-7.7 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_HI, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=ham 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 From: Wentao Wang [ Upstream commit cf71d59c2eceadfcde0fb52e237990a0909880d7 ] vcpuHint has been expanded to 16 bit on host to enable routing to more CPUs. Guest side should align with the change. This change has been tested with hosts with 8-bit and 16-bit vcpuHint, on both platforms host side can get correct value. Link: https://lore.kernel.org/r/EF35F4D5-5DCC-42C5-BCC4-29DF1729B24C@vmware.com Signed-off-by: Wentao Wang Signed-off-by: Martin K. Petersen Signed-off-by: Sasha Levin --- drivers/scsi/vmw_pvscsi.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/scsi/vmw_pvscsi.h b/drivers/scsi/vmw_pvscsi.h index 75966d3f326e..d87c12324c03 100644 --- a/drivers/scsi/vmw_pvscsi.h +++ b/drivers/scsi/vmw_pvscsi.h @@ -333,8 +333,8 @@ struct PVSCSIRingReqDesc { u8 tag; u8 bus; u8 target; - u8 vcpuHint; - u8 unused[59]; + u16 vcpuHint; + u8 unused[58]; } __packed; /* -- 2.35.1