Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp1395926rwd; Thu, 8 Jun 2023 17:53:33 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ7I9+wlVlaYyx2O/31at1BYPYEy3Nt0j8D4Zfj0vDFi7CPbPSsUNDhy/XM6QmPWeVJqPjsk X-Received: by 2002:a05:6808:4c5:b0:396:169f:3660 with SMTP id a5-20020a05680804c500b00396169f3660mr46502oie.58.1686272013443; Thu, 08 Jun 2023 17:53:33 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1686272013; cv=pass; d=google.com; s=arc-20160816; b=qwu2gGw0o4uUBR2uf95dJJwqhL520R6xHM+6Vbx9rT7Jc9ErwmdLThngMSGtcCRHzN XkxtsUWoIsVAOdCxZhL7wjWibb9xUpL88fjt2uXtBwC4yOLEE1yjPSrG+1fzf/0aps6z Z1p7hKGoA80iK49I85axeWOwf2hRHJp95NyXUuYrrEIN/8LaK6cxZ52A1TOg0unyQseP Di3uKFaww4fKFljAUdki4CM0OtJwCvLizxUw1RfLFbVdgAeUd0fmuYXoX8XfGX10pnCH J/SDze8TK+tgqzz2Z+3ZWQgGtxcwfoKzl62paCcWBK/Uz2MFleuhTFreFxilfSlgZwZD scig== 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 :content-language:accept-language:in-reply-to:references:message-id :date:thread-index:thread-topic:subject:cc:to:from:dkim-signature; bh=qJZg9WNNNLjUjstiG4Q1/IReE/c4KL/0ijxcqx6b2gk=; b=xb36jpdDH7RMc9Y6xd9Yqa6RZiJ6ruIJRJE+yT4YDEeKlwTkSipwhxLi0+gisoVFZj b2zgwbrs9yR4qRDMd0R5reHmrdDApRMgJf1WtdwQGt8miv7qM0idfm3BppPOM9K0uwNe xbW/59cWwJj4Dh8KzeJoJe5TkMnetMRkiIthau0Zev+VrLD2YjFe4MEuXfkugD/2fgHk byo7UZSCTCM2XyrWnWQzt39hwc3nIhOEHTmoi4OkQYiCGnWZY/1VWd9cOV0n+ORWhZzo 4x+vuSXkg1DSyrwpL9r0NDX5XHg1h0s71qcJ0B58k2uWcc8cu7s+DTGC6iGtlS8TkSD8 eyOw== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@jaguarmicro.com header.s=selector2 header.b=GSaZ0V6m; arc=pass (i=1 spf=pass spfdomain=jaguarmicro.com dkim=pass dkdomain=jaguarmicro.com dmarc=pass fromdomain=jaguarmicro.com); 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=QUARANTINE sp=QUARANTINE dis=NONE) header.from=jaguarmicro.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id v23-20020a17090abb9700b00255d8dda719si1803172pjr.148.2023.06.08.17.53.21; Thu, 08 Jun 2023 17:53: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=@jaguarmicro.com header.s=selector2 header.b=GSaZ0V6m; arc=pass (i=1 spf=pass spfdomain=jaguarmicro.com dkim=pass dkdomain=jaguarmicro.com dmarc=pass fromdomain=jaguarmicro.com); 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=QUARANTINE sp=QUARANTINE dis=NONE) header.from=jaguarmicro.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229728AbjFIAma (ORCPT + 99 others); Thu, 8 Jun 2023 20:42:30 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:49598 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229632AbjFIAm2 (ORCPT ); Thu, 8 Jun 2023 20:42:28 -0400 Received: from APC01-PSA-obe.outbound.protection.outlook.com (mail-psaapc01on2072.outbound.protection.outlook.com [40.107.255.72]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 3A82430D6 for ; Thu, 8 Jun 2023 17:42:26 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=N3AHKPKjOjuwjbLizoqksRRscJPvEMqoUvbEVZ0jVNjrUC0mWTF5LfH+6oI9bfVsnyQz2ZDVkoo78fOZSkoDANMse/xvVQEYZGwLXCEry8H49EzVr3iyHBqvWD18Af/SZrLohJEQSPxSHJaJpLa0XvjcKRsCqVu6KVnUFSn3/HVraidIyoVWjXm6TXSnHteL1iW6s74tMTc2r2VORWb7hl9Av7mB5cbwmJfjgOTX7EOyJI/p4naON6CZaSS00go8zqI+RLaYv4AuHdN21DBq8S9mSzkQU1gRU1vjDbvlv08Rcf7q5UbYL6t+3PKqo2cgwejHME9M9Rq36inVanRNoA== 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=qJZg9WNNNLjUjstiG4Q1/IReE/c4KL/0ijxcqx6b2gk=; b=BykmLf6+yrUPqVuRyxm11atz5Z0PFOUiflQsxeycSbF+XrkAzMFRvdm2OOEiwWU3WaubH+pkcWmVEz4D6HMPVssdpgo8RRpHWmQo6dGT1T2J/TIAvfg90gPYj8xKjVy4nZKtS9I5duTL4DWDBIw/mi63IRMVrARf8tIrktwLYh0FjxZn+zkhnThGT1IWL17kGtHTO+vHbCMwxRsZtwzQf5LTL03x7ys+jZBjEsz/0jVUNBRONQE8vKANBVnDZqXzPUfJ1AG/JNL/qwRQ6gvmXnmo17rb0tlwoR1uB331afoqXJ6JN+Qrr57N6A16+wObWL6UoxDo6jAxyawwxzTLsA== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=jaguarmicro.com; dmarc=pass action=none header.from=jaguarmicro.com; dkim=pass header.d=jaguarmicro.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=jaguarmicro.com; s=selector2; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=qJZg9WNNNLjUjstiG4Q1/IReE/c4KL/0ijxcqx6b2gk=; b=GSaZ0V6m4YlnB8K8m35K7p1Q6Q9KCFE5ziOIHv/fpgweo/kotT6MlnjvPaaiO8nedWAyiL+qwAO2IeHSfNyx7TPhhMU6Ajwfos0W2H+7TbSaO9wAvnrtIfxU/a3tH/K7rTHsB+Nd3k+SLswFOeJWQRl3wnnumWKXZ9aaODfugyCGsK82CoiVl1kNKYBWIuuqUPC5CeajO1vKw8qTCMZMOFM+WWw2fWcY9pgn+baR2xy8NxFEHHrp+WteXb3FBB4IW05RX+op+VGta5cy5ofevVD6EzhA5q+RqDO+XD9fYoCS7UjkAxMN6/Qm7K2cwV/4fKvVeKDGmSkrwCzz/krnZA== Received: from TY2PR06MB3424.apcprd06.prod.outlook.com (2603:1096:404:104::19) by TYZPR06MB5074.apcprd06.prod.outlook.com (2603:1096:400:1c6::11) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6455.42; Fri, 9 Jun 2023 00:42:22 +0000 Received: from TY2PR06MB3424.apcprd06.prod.outlook.com ([fe80::57d3:a80d:905:d7be]) by TY2PR06MB3424.apcprd06.prod.outlook.com ([fe80::57d3:a80d:905:d7be%4]) with mapi id 15.20.6455.030; Fri, 9 Jun 2023 00:42:22 +0000 From: Angus Chen To: "Michael S. Tsirkin" CC: "jasowang@redhat.com" , "virtualization@lists.linux-foundation.org" , "linux-kernel@vger.kernel.org" Subject: RE: [PATCH v2] vdpa/vp_vdpa: Check queue number of vdpa device from add_config Thread-Topic: [PATCH v2] vdpa/vp_vdpa: Check queue number of vdpa device from add_config Thread-Index: AQHZmefhGgrgL1M5iUCr+LYolFSqU6+BT5cAgABRsWA= Date: Fri, 9 Jun 2023 00:42:22 +0000 Message-ID: References: <20230608090124.1807-1-angus.chen@jaguarmicro.com> <20230608154400-mutt-send-email-mst@kernel.org> In-Reply-To: <20230608154400-mutt-send-email-mst@kernel.org> Accept-Language: zh-CN, en-US Content-Language: zh-CN X-MS-Has-Attach: X-MS-TNEF-Correlator: authentication-results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=jaguarmicro.com; x-ms-publictraffictype: Email x-ms-traffictypediagnostic: TY2PR06MB3424:EE_|TYZPR06MB5074:EE_ x-ms-office365-filtering-correlation-id: 4c28512a-20cd-4317-b8fb-08db68826363 x-ms-exchange-senderadcheck: 1 x-ms-exchange-antispam-relay: 0 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: CW0dgrkUNWUvfb2X1ZAiXfsZDnu4HCkhRpj0Xt33SqS+9Uw7jESOyL9RB5Iq8KbSNqq61UwpCe0NGR9pPYgOEZDXlYydBtud16QpIji8lL4+reH95hdWmfp91XHuJL5OfIRhBqFGZTeqjaAydlypN5W9viB2z6wyzQqv9aAIoJ4kEFtlBn+jCMP71c+bZvDEOpBXn257Kk1vYmet746OoLd5ikk3E2pFAMHZX+J+P3e5V9VonMZLXUYm3uft3pXPpvRI6desg1dgZHtmEvx4EF7SBiPqedwBrL48g+2AOe2EyVkO0BOJ3NAHi8C64W3aIrts5o41WBlmBRZWjtY2Hh9/SAK+Ry8cE6KI/TxM3oFb12qJwejbiHSUVsuTppdy4AgjCYXP+sCVdRzs66Rs7OG/oRhjXcz3LUsWlhcgMis/g6kpMM/Y9vz5vY3CYcrTrVzLHzkw8DIC+d5XrUsqf7yFXvW+cgA39h5hGdeTxRcuAkO1m1lr2VKtee4n0ZZoklbmhybaOOdYBlO/BQ9CD8evwOkABIrgvj6AT3QJDsRv7uuuOKfXo2xIfoPWO8Ewxq8oRKYnKV6XE9w3ePb4E9AuGnk0SrY28kxa6em9HvwWVIQT4D4QnWEHnUTs9Vvo x-forefront-antispam-report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:TY2PR06MB3424.apcprd06.prod.outlook.com;PTR:;CAT:NONE;SFS:(13230028)(366004)(39830400003)(136003)(396003)(346002)(376002)(451199021)(33656002)(38070700005)(86362001)(6506007)(38100700002)(122000001)(83380400001)(316002)(53546011)(186003)(7696005)(71200400001)(54906003)(66946007)(5660300002)(52536014)(8936002)(41300700001)(66556008)(66476007)(64756008)(76116006)(6916009)(4326008)(66446008)(8676002)(478600001)(44832011)(2906002)(9686003)(26005)(55016003);DIR:OUT;SFP:1101; x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?utf-8?B?YlRyYnVwR2pWdk5WVUpmWUwwRmU5YUJ0MEdUZFpQUTBqWmVQR0o5VFdiN2Nt?= =?utf-8?B?KzVGKzFpQzJ2cWVWVVZBU1owZTVocUhaN1FNazVQd3RpdTMzVG5ocStmRG5U?= =?utf-8?B?aDhRWmJ2UUZ3aEdMTzRrQ2pCejcwM2FpRmIrZGp1UlJybUVER2ZnRHBSSXdK?= =?utf-8?B?Q3FNN1dsTklvdEFjeTRXWGtZSGRLa2xRZHJlWG5WUGVDaUU3R2IxMDk0eG9y?= =?utf-8?B?eFl1SEkwdVJsektYVU9VUE1WNUczayswUlBtc0tXaXVlQkt4V3FBeXZkZUQ4?= =?utf-8?B?RVZBdGNxR25FcHJrcXF1eGFjallGMWpkV2k1Q0ZMckRCV1ZZSmlxNllNS3V4?= =?utf-8?B?NXk0ZUovTWIzbDJHbTh4eHFHalV6WXpEekE3Z1dpdWlhakw4UnlURnpVeGpo?= =?utf-8?B?MG8wK2lhWSsvcXhsMlZHY3E4VUphY2hRQ3JPOHNYV1hxO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RQblpEQS8rbnJlbU85UXd3MmhBTnBW?= =?utf-8?B?c1VPUjYyRWtEL2pMcE04Z2NUd3NEL21CWCt6eTJnOEYvdWVjU3FlQm5uZ2xM?= =?utf-8?B?ZzNLVTRwbllUcXY0M2oybUJjUEUxVllJdXhYeHBCMjl1SDVlVlE0OTBaVkk3?= =?utf-8?B?R3diNk5UM0FxaDZBQ1FtVU5YY0FJcTBQSDF5Tno4cGtQM0tSV2VmZjR5MlJ0?= =?utf-8?B?L2traU1pbUFrTzRQb0xzbGdWNU9PSDVUVXNHUXNxbkZUNGpkd2xpVGw5U25B?= =?utf-8?B?N3M2cFV4R0E3Ri9XMGwzdlFSdUU0b2tWeWthakVsZkNNSXNVbis0SjhaT3NW?= =?utf-8?B?LzVVUkw5OGdOcEwyajlodXBaNkV6RDI5cFEzRXJhamR3WE5WRHZoelgxV1My?= =?utf-8?B?TnU1OTYyMVM2UXgvUFJ3L2YxQVNaa0puZElpcjRlWEpwdXBFdHIrb0NBY1JQ?= =?utf-8?B?Q1pIYU53elpmK2VwQUQrV0R0ZEl6ZlVIa0hlazRteFVWQ1VOV3JHWHZJSTZL?= =?utf-8?B?cDF1YlIwTFBtVm9TSTJBMHd4RVRNTElMWmU0NnZKcXozNk5KalAxV1I4VGNI?= =?utf-8?B?eTFvUDVKbVRtTnUyTFp0RmtQQXkxSklpS2ducFhUMFNOZlN6blovampLOWo4?= =?utf-8?B?VFdySXVhcm9ETGxMRzZwQ3VYWnpBTVkxOTZNQUdwUWo3SGhhazJoYjdLVStF?= =?utf-8?B?WVFlUHhLcXd4MlNQb204eEpLbEtBbGx1Q3pTdis1bkVYZklXUkkwRld5eHY0?= =?utf-8?Q?EihwUoW+Vjw1a7TLItc6DLv4G?= Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: base64 MIME-Version: 1.0 X-OriginatorOrg: jaguarmicro.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-AuthSource: TY2PR06MB3424.apcprd06.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: 4c28512a-20cd-4317-b8fb-08db68826363 X-MS-Exchange-CrossTenant-originalarrivaltime: 09 Jun 2023 00:42:22.5312 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 1e45a5c2-d3e1-46b3-a0e6-c5ebf6d8ba7b X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-CrossTenant-userprincipalname: J+ZKCEClriQlZiqlMEuTkIck6Thfg644HUxt8CfTrWu+Nje7f8eWyz95KbKCyf+vIKlbM/AtvJnSWNaNeohDJ2+RjHfBH56Atiyv8pumSjU= X-MS-Exchange-Transport-CrossTenantHeadersStamped: TYZPR06MB5074 X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_NONE, RCVD_IN_MSPIKE_H2,SPF_HELO_PASS,SPF_PASS,T_SCC_BODY_TEXT_LINE, URIBL_BLOCKED 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 DQoNCj4gLS0tLS1PcmlnaW5hbCBNZXNzYWdlLS0tLS0NCj4gRnJvbTogTWljaGFlbCBTLiBUc2ly a2luIDxtc3RAcmVkaGF0LmNvbT4NCj4gU2VudDogRnJpZGF5LCBKdW5lIDksIDIwMjMgMzo0NSBB TQ0KPiBUbzogQW5ndXMgQ2hlbiA8YW5ndXMuY2hlbkBqYWd1YXJtaWNyby5jb20+DQo+IENjOiBq YXNvd2FuZ0ByZWRoYXQuY29tOyB2aXJ0dWFsaXphdGlvbkBsaXN0cy5saW51eC1mb3VuZGF0aW9u Lm9yZzsNCj4gbGludXgta2VybmVsQHZnZXIua2VybmVsLm9yZw0KPiBTdWJqZWN0OiBSZTogW1BB V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