Received: by 2002:a5d:9c59:0:0:0:0:0 with SMTP id 25csp2396194iof; Wed, 8 Jun 2022 04:12:08 -0700 (PDT) X-Google-Smtp-Source: ABdhPJx/8HeMT2sI8y4H3ljE9Pqril2cyJEooNGVifScrYBIFE0M/lLKqLVVnDepALhpBFeyCFtM X-Received: by 2002:a17:903:124a:b0:168:906e:ca40 with SMTP id u10-20020a170903124a00b00168906eca40mr4328208plh.159.1654686728335; Wed, 08 Jun 2022 04:12:08 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1654686728; cv=pass; d=google.com; s=arc-20160816; b=LMHnYHKr41EwteLuFv1X2K1PzHj8PEwfqwBnds7Av0v/mLy0OjZ1nSE4jwfTy0IeDV gz//tpAIB4tUAVpYN5pHKXyWbT6fnax9kIoA8yM7xfaMrBKt/4F3T9fRwvYEQqSxTBnm SFvOjWh2PN/MpBdrCzdfLYhjuhz94RBtojL7J0+6lUTcs1eoCwD3SBxSNwh+OfBzVAX9 rJwVPnT6YOlA16rAluMiLiCMp18sE7KusnI/mV1BpZ/8G8/3B92IrH0QIqpib/UxKRTO BprxkPctovRli4M27dZi9j5sjWSRB7vQfN1t9R9KSp/1JylfcJAdl7pmwb3auOkvBEOg cxYw== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:content-transfer-encoding :msip_labels:content-language:accept-language:in-reply-to:references :message-id:date:thread-index:thread-topic:subject:cc:to:from :dkim-signature; bh=bGPY6axGnQjTTpF2jjtcBenTxMU6iHPZXrKMDu1iPkk=; b=EETnH8Y8kIP/F7X89jpBwh4Jhj2blqKsmKlULNzr0j9P/E1l3XyBip+1Nk+tPbWfOM C8ifXorskY602ye4mOIg7dymnZH6eB0ZBIi93Me4OuKbYN9NioJYA9xoKIKZwwm/o2Ru Cqmtocc4yawfglguLjNXtSne4MYq6kV0YhJ0DXKRIwzP9EEhv1NheBlcNCZ8XqBzEsSY Q5bGrd+f0ofOUMu1K44KcNwTuNcGZQCVND4LsPtKbRDiNqEaAvBy12H7FLXMuQR6ffsn KllXRNH5UacktXzZ1g/magItdkkd3QaTjm1pNNwaSKRUnGdzgoHizEsQUgCDBOB4oxoG im5g== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@amd.com header.s=selector1 header.b="mUxUW/FX"; arc=pass (i=1 spf=pass spfdomain=amd.com dkim=pass dkdomain=amd.com dmarc=pass fromdomain=amd.com); spf=softfail (google.com: domain of transitioning linux-kernel-owner@vger.kernel.org does not designate 23.128.96.19 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=amd.com Return-Path: Received: from lindbergh.monkeyblade.net (lindbergh.monkeyblade.net. [23.128.96.19]) by mx.google.com with ESMTPS id u15-20020a170903124f00b0016382c70069si3617073plh.150.2022.06.08.04.12.07 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 08 Jun 2022 04:12:08 -0700 (PDT) Received-SPF: softfail (google.com: domain of transitioning linux-kernel-owner@vger.kernel.org does not designate 23.128.96.19 as permitted sender) client-ip=23.128.96.19; Authentication-Results: mx.google.com; dkim=pass header.i=@amd.com header.s=selector1 header.b="mUxUW/FX"; arc=pass (i=1 spf=pass spfdomain=amd.com dkim=pass dkdomain=amd.com dmarc=pass fromdomain=amd.com); spf=softfail (google.com: domain of transitioning linux-kernel-owner@vger.kernel.org does not designate 23.128.96.19 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=amd.com Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id 311FB1FBF7F; Wed, 8 Jun 2022 03:36:51 -0700 (PDT) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S237609AbiFHKgT (ORCPT + 99 others); Wed, 8 Jun 2022 06:36:19 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:33392 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S237633AbiFHKgH (ORCPT ); Wed, 8 Jun 2022 06:36:07 -0400 Received: from NAM02-SN1-obe.outbound.protection.outlook.com (mail-sn1anam02on2073.outbound.protection.outlook.com [40.107.96.73]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id D92C592D0D; Wed, 8 Jun 2022 03:29:51 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=cIfl/MMuiW7v1K1duLvOVSdNjpv95VkZ77nQ7pHtJsUZK9/C72MFzSc/n/mFjSKb+0AIC6z2JJojxUstpuXCOmUELtqVmhT/s0dlCiivJNRneazelrUmuQOPPFSWwBWMFn1OWOjDn7O8wpaklaF2sYK3+glmzyDtD03sQ2piZ4tLaEkYbwe3yghCXKGCSr8SBSUT5EVO8ds6jjrg/STbbuoC1UmjGlTF3QnEbClcKomi/KVztMXmLjKy+kPZ1mSjIK1NSc+q4UtDLHI9c88TnuzR6C7jw+59JZFA1eNmL9EYahKmOm5kfUIObT/ftM+UK+qr+gg/V7xCsQ0MbUCqBA== 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=bGPY6axGnQjTTpF2jjtcBenTxMU6iHPZXrKMDu1iPkk=; b=TaclGw9dMujBW5ewIk74SKJBhCrQ7Wpee1wTmvKThKOW1pSNlRIv0qQPtzCnto50VpP+GoM5bT+g+sRXSCXqL+JUVfvmI2zI4e+L/7QpwuKKOXKSUIQ9fzsNDkhQPbUvqShLqVontQ+txxS/xfm59CQTcSLjn9QCe0srdI+1hVx2wNOVCPSTHDRAmRLocCYS0xne+YQSnyDKTNYDu8NvX1Pz7bRWMff6XZRPTMigbji2Nup3AzbegJjd/SJWaAwlKN+K9PJ+mJAZMQgMdK2D1X1OP2//IpAGAD0RYXHKSDDqPnTDSw6j4MdXmQ4yDVmLnwZK4/VLHTDsgRL5bZFKhw== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=amd.com; dmarc=pass action=none header.from=amd.com; dkim=pass header.d=amd.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=amd.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=bGPY6axGnQjTTpF2jjtcBenTxMU6iHPZXrKMDu1iPkk=; b=mUxUW/FXs83+a0fZ6R19eqOCcj7KdU28ua/1+9frMrMkDLoGOnRoD6RDtyg32WQEVsq50CYaQBHMs9qKSHb7LxQ3lgrgPLoxzmX+BOv97qhZUkpE6ydQsJdmmiyt7qidvrfO2BCLi8NbYHKi0DN8aGtxaZ4lPYC3E9wJZV7qB1Q= Received: from DM4PR12MB5841.namprd12.prod.outlook.com (2603:10b6:8:64::13) by MWHPR12MB1183.namprd12.prod.outlook.com (2603:10b6:300:d::22) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5314.13; Wed, 8 Jun 2022 10:29:48 +0000 Received: from DM4PR12MB5841.namprd12.prod.outlook.com ([fe80::f9bf:580d:f83c:3489]) by DM4PR12MB5841.namprd12.prod.outlook.com ([fe80::f9bf:580d:f83c:3489%8]) with mapi id 15.20.5314.019; Wed, 8 Jun 2022 10:29:47 +0000 From: "Dawar, Gautam" To: Jason Wang CC: netdev , "linux-net-drivers (AMD-Xilinx)" , "Anand, Harpreet" , "Michael S. Tsirkin" , Zhu Lingshan , Xie Yongji , Eli Cohen , Parav Pandit , Si-Wei Liu , Stefano Garzarella , Wan Jiabing , Dan Carpenter , virtualization , linux-kernel Subject: RE: [PATCH] vdpa: allow vdpa dev_del management operation to return failure Thread-Topic: [PATCH] vdpa: allow vdpa dev_del management operation to return failure Thread-Index: AQHYdzWEeReW54v9WUiVZS99HgdLaq1FMSUAgAAbZZA= Date: Wed, 8 Jun 2022 10:29:47 +0000 Message-ID: References: <20220603103356.26564-1-gautam.dawar@amd.com> In-Reply-To: Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: msip_labels: MSIP_Label_4342314e-0df4-4b58-84bf-38bed6170a0f_ActionId=06c0b048-9737-4417-9000-0000701ea7a5;MSIP_Label_4342314e-0df4-4b58-84bf-38bed6170a0f_ContentBits=0;MSIP_Label_4342314e-0df4-4b58-84bf-38bed6170a0f_Enabled=true;MSIP_Label_4342314e-0df4-4b58-84bf-38bed6170a0f_Method=Standard;MSIP_Label_4342314e-0df4-4b58-84bf-38bed6170a0f_Name=General;MSIP_Label_4342314e-0df4-4b58-84bf-38bed6170a0f_SetDate=2022-06-08T09:52:35Z;MSIP_Label_4342314e-0df4-4b58-84bf-38bed6170a0f_SiteId=3dd8961f-e488-4e60-8e11-a82d994e183d; authentication-results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=amd.com; x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: 34f82e02-3997-4fba-ff5e-08da4939d010 x-ms-traffictypediagnostic: MWHPR12MB1183:EE_ x-ld-processed: 3dd8961f-e488-4e60-8e11-a82d994e183d,ExtFwd x-microsoft-antispam-prvs: x-ms-exchange-senderadcheck: 1 x-ms-exchange-antispam-relay: 0 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: IpB24WzQqvY7ggommnHV8Twz6Jgof5zJ3UvfK52IFInRMubQpSRPGbAdF0tykVt+jyZhadVX3EpfvbrLAOH2AusTv8Udbp50ItmbWFVHJJygZlgD/wUR3JB3U2k7outmkMCwiSoI0wnhXoKpJaNNHUEsH755JcN8tgo2r5wsAvionUA1VgvCOT0Zzx7wwTvc5BXzz/ewW1niNPCDDvNPtR+o1Hv+QgxXQVXAgxzNL/qtI2E4CxxgKFkp7AJ0MxIj5mu+RHYNozuaQ1Gjjvp5SytuO5V5yp0fu3RRCuMLKKdVWi91ceunek4oGKNT+Ym3ZPQOvCHOmmMAP5/AzMyFfdmu8x5sd8m66y5zvHtQ6YY0iXhugi3EqX5mWGSBxwT9OclbostDEiXccMXRsiB9TLk/l61LI7/xGlM/RtquA8VBf8EJqo3ttIhc0r5ROgVoKtk0FtwGNjGvjaTM7ojSUWyMnt/FQkFQbh5YOBJNwbVCqmQbvIe1NZ9okbRs3l+Vlrs52QIfmImyPCCpF2tXwIbac3cnkjpdAY+k/Qc1jfR/saQZgJGgB1hKIm2FXIvvN3MeeXgTEtDY3qaNszvV8I7FBfd1sSwIgQMa3nmkqKx3NNXFl0A26YUdxVfsNVqUFWThWBsbPDKSjnCLqlC5v40dw5rO7cq65HZJsnBkIg8IymEEnz0D9p3X8N0Hk8OdHWvR8Pw8QK0WlXJhWhJX+e9v01GPcYl5kta3zI7xegysKd/GoYw4VoU0Tf4KTSEFFrpKIjERyYAomNnhAuNZ40ychGi4kydE5piOJP1j41w= x-forefront-antispam-report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:DM4PR12MB5841.namprd12.prod.outlook.com;PTR:;CAT:NONE;SFS:(13230001)(4636009)(366004)(54906003)(38070700005)(508600001)(122000001)(8936002)(55016003)(6506007)(86362001)(53546011)(7696005)(9686003)(966005)(83380400001)(186003)(5660300002)(7416002)(8676002)(4326008)(6916009)(316002)(64756008)(38100700002)(66556008)(66946007)(76116006)(66446008)(66476007)(33656002)(52536014)(2906002)(71200400001);DIR:OUT;SFP:1101; x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?utf-8?B?K2QxTTNtVjZwMExGUmtHc0lXNEJjVlcwMG5NeVhYNHNaYmdGSXk0ZlhVL3RQ?= =?utf-8?B?L1lERXJVOWc1SG9FbmV0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?utf-8?B?d0F4eEQ4ZzFOL2dKN21sd0tqSzlFL2FGZVEyN09KRlUvRUJtK3Q0WUVJNXJ4?= =?utf-8?B?MkRveTJHaHNBRWtydkIyeUVKekt0ZWxDMXF1YkRvenhPWFpqZ2ZYWDBjWHg2?= =?utf-8?B?UUlwcXRFR05kelFScFNMMTFzTnhUSG9zOXZpanZBc0p6WEtFcDdKRUZ2RG9D?= =?utf-8?B?M0wvc1RoazZHVzBHWmJrQmJTaTJDczEzeVBXemNJNVdwbWhYK2FKcDlBTVZJ?= =?utf-8?B?RlY5UTRoK3VaSTgzcTZISzd0ajdiRnI2UFltVnRDRGpWdjJ6UTJYTkt6ZjJ5?= =?utf-8?B?cVBxRWZqejNONTNmMXNkTGxHZkltcXR4MjVyTGZjNUh0NExlOFZtNW5tdkJD?= =?utf-8?B?TGR3cDJJSFR2ZXV3RUc4K2hyZG8reHVCVnkzUk91UFZnMVNHejJGNjJQYjhN?= =?utf-8?B?SVUzemh1MVp1Q3ZGL3VQQ3BrMjA3bXVFRTdXM3dUN3BoblhDZDdzM1dWbWJa?= =?utf-8?Q?1HSB68lzrOGVpIt4nhXv2nxgT5CjujRpE/OFE?= Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: base64 MIME-Version: 1.0 X-OriginatorOrg: amd.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-AuthSource: DM4PR12MB5841.namprd12.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: 34f82e02-3997-4fba-ff5e-08da4939d010 X-MS-Exchange-CrossTenant-originalarrivaltime: 08 Jun 2022 10:29:47.8929 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 3dd8961f-e488-4e60-8e11-a82d994e183d X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-CrossTenant-userprincipalname: TpjmoPHcVEVyJWs5GabBye8aWPXO22C+1eyAY0BYlirLxMy2j2icpjalNE5NVASX X-MS-Exchange-Transport-CrossTenantHeadersStamped: MWHPR12MB1183 X-Spam-Status: No, score=-2.0 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,RDNS_NONE,SPF_HELO_NONE,T_SCC_BODY_TEXT_LINE autolearn=no 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 W0FNRCBPZmZpY2lhbCBVc2UgT25seSAtIEdlbmVyYWxdDQoNCkhpIEdhdXRhbToNCltHRD4+XSBI aSBKYXNvbiwNCg0KT24gRnJpLCBKdW4gMywgMjAyMiBhdCA2OjM0IFBNIEdhdXRhbSBEYXdhciA8 Z2F1dGFtLmRhd2FyQGFtZC5jb20+IHdyb3RlOg0KPg0KPiBDdXJyZW50bHksIHRoZSB2ZHBhX25s X2NtZF9kZXZfZGVsX3NldF9kb2l0KCkgaW1wbGVtZW50YXRpb24gYWxsb3dzDQo+IHJldHVybmlu ZyBhIHZhbHVlIHRvIGRlcGljdCB0aGUgb3BlcmF0aW9uIHN0YXR1cyBidXQgdGhlIHJldHVybiB0 eXBlDQo+IG9mIGRldl9kZWwoKSBjYWxsYmFjayBpcyB2b2lkLiBTbywgYW55IGVycm9yIHdoaWxl IGRlbGV0aW5nIHRoZSB2ZHBhDQo+IGRldmljZSBpbiB0aGUgdmRwYSBwYXJlbnQgZHJpdmVyIGNh bid0IGJlIHJldHVybmVkIHRvIHRoZSBtYW5hZ2VtZW50DQo+IGxheWVyLg0KDQpJIHdvbmRlciB1 bmRlciB3aGljaCBjb2duaXRpb24gd2UgY2FuIGhpdCBhbiBlcnJvciBpbiBkZXZfZGVsKCk/DQpb R0Q+Pl0gSW4gdGhlIEFNRC1YaWxpbnggdkRQQSBkcml2ZXIsIG9uIHJlY2VpdmluZyB2ZHBhIGRl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