Received: by 2002:a6b:fb09:0:0:0:0:0 with SMTP id h9csp2941620iog; Mon, 20 Jun 2022 07:58:07 -0700 (PDT) X-Google-Smtp-Source: AGRyM1sa1i1W0sc81C4Kdobu7jo7bNbYv//27M6dtk6mvKunuIl8tiS+ZRq3ykrCaB7v2VSa1pBl X-Received: by 2002:a65:6954:0:b0:3ff:b00a:8a53 with SMTP id w20-20020a656954000000b003ffb00a8a53mr22220363pgq.451.1655737087289; Mon, 20 Jun 2022 07:58:07 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1655737087; cv=none; d=google.com; s=arc-20160816; b=TJcteYb0c8CY3Fc4V/y3uSjq7kAZYx7EJI17JuvuMiZntZtYf55NqsvsiwFFwLEY4Q PNS8kCHppYHWnSLJog3wPvUVwrz2xmeTW26+qnU0Bjexty2NdmlllipfFsohi5gZOIvI bRlcOfymAxuZEw72x7ZtPwhjzowlwCVg9PLq4gLIR+FVsjCo3AhIjdIzeoMi23SAxIay uAsVc0ZZ5cYUzfCeFcxS0kK515Bnd1RwpQXWHXolGX78lwYi7YqUBqk+B39tn8YIBRAG kLo89iFM/ShfpTm6aq1cwZYCsnptzU+xh49UYNYh393oU9I38+CM3Vk0tutjb3BGfHnc t9LQ== 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=zCkW9XIXWkbEHz2za0kW9NlUI2rQKcQ5iXjSV0LPR3w=; b=ry6na1a59Sgo936mNqLXbM+c6HzMG1VSZbC3wi8aRQ8x8aByIrXDCjqx8x0iS7y7Tj schAXtDpiKYzt17S+yoHYHBWyUcRQk1f/yaaLDqlOgkxghUEa7d35aiHN3KvrHLwawZz nTRIXW3R7vulUw2tf/r7sW0+ANX0JLF/JCPRyX5b48dLn4YGSMH4kZzx3Ru2hg8ORRVe 9M2dtesPGOQ3Veukt8GpVe82zW99CO0krZoaLuMNB5eiFt0DknKXZMv/BkQc5oqoTrMV eHcnciTKZ1oobCLm0k7WAsaSBHtQdKmBzX/S5c3nvCk5GEUkSy34yyMvm3cpx63YZBkt Rhkg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=rHY3Vgo0; 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 pg12-20020a17090b1e0c00b001ecb608ea41si1903724pjb.167.2022.06.20.07.57.50; Mon, 20 Jun 2022 07:58:07 -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=rHY3Vgo0; 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 S243312AbiFTMz1 (ORCPT + 99 others); Mon, 20 Jun 2022 08:55:27 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:37206 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S243087AbiFTMyu (ORCPT ); Mon, 20 Jun 2022 08:54:50 -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 6E81419032; Mon, 20 Jun 2022 05:54:24 -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 11E18B811A2; Mon, 20 Jun 2022 12:54:23 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 59266C3411B; Mon, 20 Jun 2022 12:54:21 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1655729661; bh=fc7MFvLBl5S0Dpre7Mc7IFBpLtZ3FB1t+p8Ol2drvI4=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=rHY3Vgo00SHkNvA8yoBazFPDmLwRp9Us0dFYj+h/HFz0DE6xnhJoXMjwwQDLEJjR3 C3ZhqnlVzX6lee8BxXZGSXO7ZMBDL9NAZ0xySwaTfwTh2MPFB4oAxPcvEw2DaKh4Xg 6ZGBs3nT+0BcALlt5CAsHS+3Fh5UlCqE85vWqFCM= 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 5.18 027/141] scsi: vmw_pvscsi: Expand vcpuHint to 16 bits Date: Mon, 20 Jun 2022 14:49:25 +0200 Message-Id: <20220620124730.331819477@linuxfoundation.org> X-Mailer: git-send-email 2.36.1 In-Reply-To: <20220620124729.509745706@linuxfoundation.org> References: <20220620124729.509745706@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 51a82f7803d3..9d16cf925483 100644 --- a/drivers/scsi/vmw_pvscsi.h +++ b/drivers/scsi/vmw_pvscsi.h @@ -331,8 +331,8 @@ struct PVSCSIRingReqDesc { u8 tag; u8 bus; u8 target; - u8 vcpuHint; - u8 unused[59]; + u16 vcpuHint; + u8 unused[58]; } __packed; /* -- 2.35.1