Message ID | EF35F4D5-5DCC-42C5-BCC4-29DF1729B24C@vmware.com |
---|---|
State | New |
Headers | show
Return-Path: <linux-scsi-owner@kernel.org> X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 6556BC43334 for <linux-scsi@archiver.kernel.org>; Thu, 2 Jun 2022 08:57:09 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231912AbiFBI5I (ORCPT <rfc822;linux-scsi@archiver.kernel.org>); Thu, 2 Jun 2022 04:57:08 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:53402 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231603AbiFBI5G (ORCPT <rfc822;linux-scsi@vger.kernel.org>); Thu, 2 Jun 2022 04:57:06 -0400 Received: from NAM11-DM6-obe.outbound.protection.outlook.com (mail-dm6nam11on2045.outbound.protection.outlook.com [40.107.223.45]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id A5232F35 for <linux-scsi@vger.kernel.org>; Thu, 2 Jun 2022 01:57:02 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=nuH34ccxCxCpg371WAw7fbAPM0suuYHpsu6xtR0vU4RoHDjQZ2QG9SUW81Qw3/c5iepKc0nk8IklsXRy0nu91EoSmJZsRa63LEPCHbBQ33fVwnuzDXK3wgycocEgi4V/aOhl3cS991blX5Qz75iYYQdPxzP4139Ifdej8W/OZuG0T2IPHCe4biSNZ/t6KVGapvIk6CKWck4nZK1MDVHHfWpfbuV3iicG8OI/W5UfJUg4/i5XZdOTcAk0fW79F25eGZ5ZH6OCzlFEUgmbfPG9SX65b/+HjYIK8kJDiwORsmSOZRe2kqhbVp6wFPSTDDvqS6cu/vcugIFvIIdqUXRGmA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=/vk13EULuVbDezr9CXZbU+TmpI6PSNyZKZbyOgtfBD8=; b=ITmNqylMmo/RQtfMIqT4xdzr5E95sd/ysQFdi3JU9zrRb1Z2C053zovZBkyznV1TpSIP3C1b6EBDcUMMRQM3fGB3C+XaY6Y+DeAZ0qooYFFUms76N7tg+SDOn+1MFGFAwflGA2ReAec4MP82+M5UU6oE0QMt2jysdOCACwjntW6fOASEUvZ2KVB6ONb9uaL+9Q9OmrNHnN6W+DAYNMTynb5NviEy7ksRlFZolaO+GXXVR2vfnkYmNw3hke+nLzRnFHFVU149oXavXnaeLnTQOWlvwHt4At2K5THMoG2JAxNl1/harbfOs5KxSRi/3dEvol73tOrjnOugGsFxazMXnQ== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=vmware.com; dmarc=pass action=none header.from=vmware.com; dkim=pass header.d=vmware.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=vmware.com; s=selector2; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=/vk13EULuVbDezr9CXZbU+TmpI6PSNyZKZbyOgtfBD8=; b=l9w39PJYIWvyg8hDlOvLCjprcc9mETvqfKhz7oDgitSMXq17VZmuYJ/d4iNsfSHUfCiQsKfXxNTrtMhNuMAw5u/VZ9bWsbA3FsTzevk40qoJpfQHymVdyawQhsr3RnnqpVODEC+zkb7Ua9mk6XDpwc5SPZAfXw3kaROjKDKHKcs= Received: from CO1PR05MB8411.namprd05.prod.outlook.com (2603:10b6:303:e6::5) by SA1PR05MB8147.namprd05.prod.outlook.com (2603:10b6:806:1b6::16) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5314.9; Thu, 2 Jun 2022 08:57:00 +0000 Received: from CO1PR05MB8411.namprd05.prod.outlook.com ([fe80::11ed:5bdd:d41f:6d0b]) by CO1PR05MB8411.namprd05.prod.outlook.com ([fe80::11ed:5bdd:d41f:6d0b%5]) with mapi id 15.20.5314.013; Thu, 2 Jun 2022 08:57:00 +0000 From: Matt Wang <wwentao@vmware.com> To: Vishal Bhakta <vbhakta@vmware.com> CC: Pv-drivers <Pv-drivers@vmware.com>, "linux-scsi@vger.kernel.org" <linux-scsi@vger.kernel.org>, Elaine Zhao <yzhao@vmware.com>, Carrie Yang <yangm@vmware.com>, Dingyan Li <ldingyan@vmware.com> Subject: [PATCH] vmw_pvscsi: expand vcpuHint to 16 bit. Thread-Topic: [PATCH] vmw_pvscsi: expand vcpuHint to 16 bit. Thread-Index: AQHYdl64RbrSQc+sK0qpMs/Mf/uOfA== Date: Thu, 2 Jun 2022 08:57:00 +0000 Message-ID: <EF35F4D5-5DCC-42C5-BCC4-29DF1729B24C@vmware.com> Accept-Language: zh-CN, en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: user-agent: Microsoft-MacOutlook/16.61.22050700 authentication-results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=vmware.com; x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: d497ad1c-54c8-4600-45ec-08da4475daf2 x-ms-traffictypediagnostic: SA1PR05MB8147:EE_ x-ld-processed: b39138ca-3cee-4b4a-a4d6-cd83d9dd62f0,ExtAddr x-microsoft-antispam-prvs: <SA1PR05MB814747C159BFD2342619A7D3DEDE9@SA1PR05MB8147.namprd05.prod.outlook.com> x-ms-exchange-senderadcheck: 1 x-ms-exchange-antispam-relay: 0 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: wmpmVtNWcn0S2WiWWfpXbva7PZfwZoMYpAYJH8vMz+proOgQtqz75qCWc9/+bgQr5uVIFVIGXoM0Owbzz3d+K7AIiXOAh/X/UFXvK4+Hv2BBf9ebI/0DcyzknB8MTpwTOL6kL3UqNn4q621FtxVK/MwcljEUnP4UO9baJUjRimDc0SFlnqvKC+VU1NXjo9zseq2kDfw/UpeAlorQLTsyegRFpo0CvvsZaycOXxgO7pVQoEBGSD/UvQOk6K4ZZfj1xQrX6QDIHtiCwtKzCntm0W4UqZtlya8fvTr4bGjJjWYZDc7PFJHjXg1CuW39azQ86zGQhe2qi7L9uK79O5VtynXt8JEgOMTcihZNf6iFiRi14qouy8GDy3Mdv0+rucCwRadeSP1hktm0/PWz+O1XAq1uuzBMScpfzI+gMzfgkXAecPoqmvgFOvTG3cz6ishLQSJ+VHruhL+5r6hB32ssdv3N80kFZZ5b3IR+FnzLbJaHHpB4nI7rmEe/+HZZw0T3OQZ4ONjS3RKhzbI3zR7d3MeuIGADqq8F76QhH68z/wNOuU4mCMLZpWK680a5tKn6J8g1Bc+ElVzp26xkJreTU7152YY+jXdYKFxwF0ezReqFhCc3DwAK0gkdYqrUM89iTGkZeA6y6fr27Uu74CYjpLGj4sDPXJ+4fOmDm4ArPIA2BEJZs7eMAsqqrCpmc7b+ISV7r9k0156ZTgFBweLHuGuQJWuVk3yv95meylXxwnC1q3mwr4LEawwAYWLFHv1nlyIged1ToO294/8IJe2x/+ICHw2BC+vTkfzRJc3V/fg= x-forefront-antispam-report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:CO1PR05MB8411.namprd05.prod.outlook.com;PTR:;CAT:NONE;SFS:(13230001)(4636009)(366004)(6486002)(91956017)(54906003)(2616005)(107886003)(186003)(71200400001)(36756003)(6512007)(83380400001)(26005)(6506007)(53546011)(86362001)(37006003)(508600001)(76116006)(64756008)(122000001)(8676002)(2906002)(6862004)(4326008)(66446008)(316002)(66946007)(66556008)(5660300002)(66476007)(4744005)(38070700005)(8936002)(38100700002)(6636002)(33656002)(45980500001);DIR:OUT;SFP:1101; x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?utf-8?q?D72m76vpblh0iQIctWvhW3xOBPel?= =?utf-8?q?eZf4atKYuQgpG/hHsBx3rsxQT/VnDRAyXHHZzHAc11qVFI7+f1ehWYkRysCvpBZm4?= =?utf-8?q?ArDBBK3h8z02FLrodCyNbcA57NpArw1lE9ZEV60mkyflNTx3JKLFPESq7b5pI+JnM?= =?utf-8?q?1TpDY1tpuQBVyqJcq1D4rsjvQmCW5LQx3KVqZLDbARGt+7NFDBpcVLhI8tfwYn2HC?= =?utf-8?q?FZb3ipsRR1ElMm5Yfi9q5/V/hxNqo8Ld/NErmee7oLfS2hjVdOHlj99UF/AOrU62S?= =?utf-8?q?+0StI+o2Wnog4LJ7UAu6aNcjMV0i2azzNpWqcn1dv7YqOtg2354U5iTTXSKG+Gc6L?= =?utf-8?q?O6SQwOar/6iwvoyj7rO2C0aCxDq0E8l3oGwre4qy1psek9zZvia4M2BokRwQ4opkG?= =?utf-8?q?8QsIfBF9Od6vvsb7tKgTm2z5MZGgGpjmXoNgpMhPdCfc1BJSK0lAdrM02vAA0IiqM?= =?utf-8?q?jv21dcatkmkUE13X0BnCgJrnQV9ohFXgz6TDV2ATCb/z0lUDh3Gl+s2+qOG2DnCSu?= =?utf-8?q?zl9BNuMlZa4NiNZr3dgMPTzAylSRLA0hjr+t/CKoweJwS8/AlEdJhlqhKifhT7zc8?= =?utf-8?q?MBiO22qHUiE98gyndkBRex6iybHutYY1dk+gPNVo163Y3Vk5bg31mtdB/BxXTvmzA?= =?utf-8?q?PskDtfdo2ugN9wwQY3Iegp3e7Nc1FWkdsawxFL1S/zQ2xjTsRVQu7Zi2A3aP50Xew?= =?utf-8?q?gEh6Gmo6NSke1ENPr3eurM6mO4JKbGCpV8TCDpyV8aNgI0X4Zgb5hzxkryPmd6vh4?= =?utf-8?q?ZCDU+KXcA715lyo48f820taUMIAdKSvpp3dm9+C9Fx14VVb2KVY2V3LfmlQeE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-Type: text/plain; charset="utf-8" Content-ID: <31CF508683F285498FA4886FD5744202@namprd05.prod.outlook.com> Content-Transfer-Encoding: base64 MIME-Version: 1.0 X-OriginatorOrg: vmware.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-AuthSource: CO1PR05MB8411.namprd05.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: d497ad1c-54c8-4600-45ec-08da4475daf2 X-MS-Exchange-CrossTenant-originalarrivaltime: 02 Jun 2022 08:57:00.1206 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: b39138ca-3cee-4b4a-a4d6-cd83d9dd62f0 X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-CrossTenant-userprincipalname: ZXfg+za2XSq20MNF9thz7D2BWHnx5Vug8ypMM4yrhQmtPRXu5gmVn7ZBb0inmAKr7DlPfhH5soUWwiD15sfvtw== X-MS-Exchange-Transport-CrossTenantHeadersStamped: SA1PR05MB8147 Precedence: bulk List-ID: <linux-scsi.vger.kernel.org> X-Mailing-List: linux-scsi@vger.kernel.org |
Series |
vmw_pvscsi: expand vcpuHint to 16 bit.
|
expand
|
On Thu, 2 Jun 2022 08:57:00 +0000, Matt Wang wrote: > From 444507afb19f0384a3ad82fde04b78f439b42f0b Mon Sep 17 00:00:00 2001 > From: Wentao Wang <wwentao@vmware.com> > Date: Thu, 2 Jun 2022 11:42:44 -0400 > Subject: [PATCH] vmw_pvscsi: expand vcpuHint to 16 bit. > > vcpuHint has been expanded to 16 bit on host to enable to route 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 platform host side can get correct value. > > [...] Applied to 5.19/scsi-fixes, thanks! [1/1] vmw_pvscsi: expand vcpuHint to 16 bit. https://git.kernel.org/mkp/scsi/c/cf71d59c2ece
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; /*