From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id 589DF42C5E; Thu, 8 Jun 2023 15:11:16 +0200 (CEST) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id E0043406B5; Thu, 8 Jun 2023 15:11:15 +0200 (CEST) Received: from mga04.intel.com (mga04.intel.com [192.55.52.120]) by mails.dpdk.org (Postfix) with ESMTP id 24FE540042 for ; Thu, 8 Jun 2023 15:11:13 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1686229874; x=1717765874; h=from:to:cc:subject:date:message-id:references: in-reply-to:content-transfer-encoding:mime-version; bh=UVNPl9nEUZshc+pAgSBskcmFkQ0n5zOUWxI9BUxjyro=; b=F7DbhYK5NXoN0RpNLdArABf67mBl9JaM0kex5dZ/xPlyFUO4+zHyyyfi s6yEZkbNN1rowsqEbo0bGd7hle7dYMWDvRGwSF1GFL/Onz5ib+/x0AfTA XiLm0ODXOhzajkfmyGHZ3Nv2otC3Zqg4UogmldVbUlaHhZYmTtuSjYenG E4+E9gTML/0xUaS79cla4baLnr2xkRNM8nkPD/ENhSZHGOITj33pZdlPZ HZSZnazRkiYeQ4c8C2EcL9jaM5o5xz2L57pOd6BPlIdqCoQpjI64rGB4u f3BPivG7p08CcqtuDj2FEugO08pI1qsqFOvrnfJeVQQuNjYvuwDEw+eyP g==; X-IronPort-AV: E=McAfee;i="6600,9927,10734"; a="356156874" X-IronPort-AV: E=Sophos;i="6.00,226,1681196400"; d="scan'208";a="356156874" Received: from orsmga004.jf.intel.com ([10.7.209.38]) by fmsmga104.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 08 Jun 2023 06:08:53 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6600,9927,10734"; a="834180359" X-IronPort-AV: E=Sophos;i="6.00,226,1681196400"; d="scan'208";a="834180359" Received: from fmsmsx602.amr.corp.intel.com ([10.18.126.82]) by orsmga004.jf.intel.com with ESMTP; 08 Jun 2023 06:08:53 -0700 Received: from fmsmsx610.amr.corp.intel.com (10.18.126.90) by fmsmsx602.amr.corp.intel.com (10.18.126.82) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.23; Thu, 8 Jun 2023 06:08:52 -0700 Received: from FMSEDG603.ED.cps.intel.com (10.1.192.133) by fmsmsx610.amr.corp.intel.com (10.18.126.90) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.23 via Frontend Transport; Thu, 8 Jun 2023 06:08:52 -0700 Received: from NAM02-BN1-obe.outbound.protection.outlook.com (104.47.51.40) by edgegateway.intel.com (192.55.55.68) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.1.2507.23; Thu, 8 Jun 2023 06:08:52 -0700 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=lAcaH0Unx1YaEEtDD7ly6fIfw7S4l6bXG8p2Fz0weSR30Y1TwORxPMVEhWziqdVGliDikmGUZJkUdxUQ56kLhGFlpaDxUmoHV3o7p54AjmPezBeFywESz85Ko8/tzYyxDlyvbfcngN3I9bXCmPiycaUyx6KvDfc9zV7NkzndrdzXJ79NNTHM53Ic+jE9Q03hzu6m5Xm+WYj0Q4F1ieZU1WVP/bvrhdqrhkJyxdXuUwj9Bcm8KHWHF7Ej/qTOO7fS51LtOG0Y520zuvCQhJSn4ANo8ekftU3bSNZIOhS5oGtamkLIr6VNZ9cDR78kV5xtt+sTQWhyXxuW/lGIV4cJpA== 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=UVNPl9nEUZshc+pAgSBskcmFkQ0n5zOUWxI9BUxjyro=; b=VWjMCkzECkLxJYELLJnSC8RZhpcVmIXnfkcZMlEICm8hqF2B392gax2bliwE+xoutDeHn3/mo2on/VJ1TmHrovuf23KK0wR/P5PiJI4xFYS5MlXX9fClhJmDKFO7rbjNGxIZXPo3d1OVAw+H8YWrHOLiH7EUOtHGIvT/eWo0IoJlvKt/cTtYDo9bXypjLDj8AnlxHMe/W8JqCF3QM5VaxYsBghiIvpXPG0PYdTmQqEYY02YRZEEKrSoJ1xav5hksYR3oue5tsXPs+wk+UDNSL9oD4A8X5ya0YjD9v5YH7wCueOZG0fuMWkDlBsaI7rh2DhmPxkjVbbrnICRvoKaIJQ== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=intel.com; dmarc=pass action=none header.from=intel.com; dkim=pass header.d=intel.com; arc=none Received: from SN7PR11MB7639.namprd11.prod.outlook.com (2603:10b6:806:32a::14) by LV3PR11MB8505.namprd11.prod.outlook.com (2603:10b6:408:1b7::21) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6455.33; Thu, 8 Jun 2023 13:08:51 +0000 Received: from SN7PR11MB7639.namprd11.prod.outlook.com ([fe80::43d0:7481:a8c4:76a0]) by SN7PR11MB7639.namprd11.prod.outlook.com ([fe80::43d0:7481:a8c4:76a0%4]) with mapi id 15.20.6433.024; Thu, 8 Jun 2023 13:08:51 +0000 From: "Power, Ciara" To: "Poddar, Vikash ChandraX" , "Ji, Kai" CC: "dev@dpdk.org" , "Poddar, Vikash ChandraX" , "Kusztal, ArkadiuszX" Subject: RE: [PATCH v1] common/qat: fix qat_dev_cmd_param corruption Thread-Topic: [PATCH v1] common/qat: fix qat_dev_cmd_param corruption Thread-Index: AQHZjVYCmbFdL6LIO0WexKnfsuvb6K+A+evA Date: Thu, 8 Jun 2023 13:08:51 +0000 Message-ID: References: <20230523090641.1659274-1-vikash.chandrax.poddar@intel.com> In-Reply-To: <20230523090641.1659274-1-vikash.chandrax.poddar@intel.com> Accept-Language: en-IE, en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: authentication-results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=intel.com; x-ms-publictraffictype: Email x-ms-traffictypediagnostic: SN7PR11MB7639:EE_|LV3PR11MB8505:EE_ x-ms-office365-filtering-correlation-id: 494c8ff2-ff95-4157-c2c2-08db6821811a x-ms-exchange-senderadcheck: 1 x-ms-exchange-antispam-relay: 0 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: MaoZShPNN42rjoAsJkx6bsil/iEs7VHlGdS2kGk1PCBv0P8JqC+npOc2sUQwCc9TUcJUkYBMeNS8Wj1uIJypOSfXz9MTE+w7LHrbokTqfWV0mvFORFo8afmCi9o91BA3SNV7m5WTyopHNXRRQ68HKaYrV1yPXkaJcWugqVdZIH7MrYeLPX8fjWN36bmA1LdGpt2wZgOiwMH3SsOo2L6ZX3ns7eEltuOnRsH/d/PxAa8r/gM35X4p4bUJkQuxU/KCosNnMF1ieaI75HKSroYQ9kAKhGegeKYok6xdrpcrY287uqIaU/iubUUsXJqNyMIar/gVLnZD0qYBMrNujwVRPJvwCBa0cV4t6amrp0M1gMocgWI4rm/fDzuyWV03nBrqta/4fKF2o5JoIcZFHIZ38VPzX5Ws61wFt5rwawdsiiNBkk4RAXqlSZz//6pmOlHwjuOD3tg9r6qTPxUZgfGy1TiSVr/wyBUVynySbVPcwuNl1+qxwr5l1dVa676vvCeXGhiZAEkdt8YKWGdvCZpkJC3QOjTldWRr8zrf3XJxt8KqPeirVbHXpWtDsqMUbrXtJjHQUXYweSWBz6H40ApoGnK3TTqjc7GemNPfFXKryTk6jDgpqK8UY3PTCQd9dl+q x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:SN7PR11MB7639.namprd11.prod.outlook.com; PTR:; CAT:NONE; SFS:(13230028)(366004)(376002)(346002)(136003)(396003)(39860400002)(451199021)(107886003)(9686003)(53546011)(6506007)(38100700002)(41300700001)(7696005)(26005)(186003)(83380400001)(71200400001)(478600001)(110136005)(54906003)(64756008)(66476007)(122000001)(66446008)(4326008)(82960400001)(55016003)(316002)(66946007)(76116006)(8676002)(66556008)(6636002)(52536014)(8936002)(2906002)(5660300002)(33656002)(38070700005)(86362001)(4744005); DIR:OUT; SFP:1102; x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?us-ascii?Q?dwvl9lnbfymxElKpEPK9EmntovnE8ZBE4Q4m5fABwiGWwPghwNusXNt7sxCv?= =?us-ascii?Q?eMT/1vGjHCr/oHHhrTPoMjptZeEwCmS50nXzreAr8cAveqtGZpF0P7Z0ENct?= =?us-ascii?Q?NY39+WiaceQfdngiY669y7nvmTOOEdM/ZcqhLKing6t0tzj6s1DP9n0gAkwr?= =?us-ascii?Q?5PhTLGd58A+KAhL+QNeyTMilQiU2J+jzbLB3fMGHAHhrT0ittdTt2p5IbdI2?= =?us-ascii?Q?UVxMTErK9/Kf/K/XM8ZVpaihT5ZAbkGYtorvciMs+kCCh54/X1RXrRwiPNql?= =?us-ascii?Q?i7b5s+EU9/uHwWp17in/WTKKvS60AfkxtP+FXpPspN40XgI16f8RHKusinFA?= =?us-ascii?Q?yC+hKxOCOLiETAy54rxTPo2eW+J/LO0nqe+T44tZo91J1MmjrYti9asfpM+B?= =?us-ascii?Q?LE3OmwPICiHkuAkAHN091E1rZBP0nQAZ+KN9o4Yx4YaC4hwtcJz6DCF0fuut?= =?us-ascii?Q?ZsM4Y9Z5GX56eF6ge21YVz6mKGABa0d9NQsD3rPz+0gNp/kgum60bOLEFEYL?= =?us-ascii?Q?FC96dbUpu7+F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LOu5T6teu?= =?us-ascii?Q?mNKo4OTDlr4A41ouQE8hHypGouqjmT4o6v6JLwjbLLZM9Up8Kh36Hehi8s1A?= =?us-ascii?Q?ePbrupKEYlM8y098zDGgHxo7gtjJmrZ5KhacvMhaxQCxwdZt2OHognWe2ozr?= =?us-ascii?Q?c3lvBkHedOvshXBxzrv6IsI7lFaZ4dWSs+xpAIxh?= Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-AuthSource: SN7PR11MB7639.namprd11.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: 494c8ff2-ff95-4157-c2c2-08db6821811a X-MS-Exchange-CrossTenant-originalarrivaltime: 08 Jun 2023 13:08:51.2152 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 46c98d88-e344-4ed4-8496-4ed7712e255d X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-CrossTenant-userprincipalname: oeUpb3iSNiTKuzXR3gHQ9fpRrteMncMROwRk155t9m/nu4Fqn7XhG7zOYmzKKQ/FW/etAkg0y2RjTvL70AA9aA== X-MS-Exchange-Transport-CrossTenantHeadersStamped: LV3PR11MB8505 X-OriginatorOrg: intel.com X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org > -----Original Message----- > From: Vikash Poddar > Sent: Tuesday 23 May 2023 10:07 > To: Ji, Kai > Cc: dev@dpdk.org; Poddar, Vikash ChandraX > ; Kusztal, ArkadiuszX > > Subject: [PATCH v1] common/qat: fix qat_dev_cmd_param corruption >=20 > Adding fix to address the memory corruption issue for qat_dev_cmd_param > structure on QAT GEN3. >=20 > This fix aligns the storage where it stores the value on 4 byte unsigned > integer data type after reading slice configuration of QAT capabilities. >=20 > Fixes: b3cbbcdffa4f ("common/qat: read HW slice configuration") > Cc: arkadiuszx.kusztal@intel.com >=20 > Signed-off-by: Vikash Poddar > --- Acked-by: Ciara Power