Received: by 2002:a05:6359:322:b0:b3:69d0:12d8 with SMTP id ef34csp87253rwb; Wed, 10 Aug 2022 15:24:19 -0700 (PDT) X-Google-Smtp-Source: AA6agR4Ez8kKxVcOIhfAPFHXDkC2+GXJkV+RBIcuf2dOXb8kb8IbfdYUaXnT85sVxg6fG6G3jFvd X-Received: by 2002:a17:90b:388f:b0:1f5:7748:9667 with SMTP id mu15-20020a17090b388f00b001f577489667mr5827252pjb.158.1660170258751; Wed, 10 Aug 2022 15:24:18 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1660170258; cv=pass; d=google.com; s=arc-20160816; b=0Le8aLRa9bSwckIhVL39nWDaxTEQv3LEpp1KtNqZSlCgPTGoHVGLx85mRqZEFJErTW fPZElw5FzErVBEEa0RsNEdJnvEcn9Et7kO+pON4ZBD6dpBBDTNw4fdkdNaUT+c3hzN+F Sd3XmYdW/1OYK6QLQO6riR4AL+oE1CTgdRFJCeanReBmMWVHIEWsxloLbgQVeWIT5Dea Bj3LMrS+9Um/e9IwyU3otlZbs8M8ZnbXBHwM1DfT7HW6iUwzR5+l/6hTRQaq5jn2MGOv d3H/vVqc1eXQfXSLLW2X6Tquw5TJbzE1UllNUdJ27s0gbCVThch41LhX+omHkLJkYSNQ ONYg== 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=3vvaAEkmKWVHlj6IwA4DRHOvVLKaDf/bK0uIYrYVPo4=; b=qlXYFFuqJBt7LfDW+1W3HRcGYiOM6q47b96e9moNPX84eHiogtXxLo0rzYUAgFZQ3Z yuv72gbZ0Ph/PolUUNq+HTf76AdCB8/LQBo6eiB/MgUTpZT/TR82DgucCzxTuS99ztie 4K5OtxR6eqKmhwTidT4LQurTKsrFe3OtLZ7+/AbXlrOqIaCcmqFWEybkkEuqlLXcY3wm BhKv5KXdCJL5YiKN6/Li3BYAZXW9woMsrdrbGwByItB+Qua7AMBTUl+Ix6qz9hY0P7D+ Re7Ti2haib9jPzk0H5CNZNqEDbDFTrfReBjV+q9K+pKP8ocy/501Jexs9lsQ6z1uFrVQ 7ylA== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@microsoft.com header.s=selector2 header.b=Yqjghdw2; arc=pass (i=1 spf=pass spfdomain=microsoft.com dkim=pass dkdomain=microsoft.com dmarc=pass fromdomain=microsoft.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=REJECT sp=REJECT dis=NONE) header.from=microsoft.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id y17-20020a17090aa41100b001f4f587f361si2511535pjp.172.2022.08.10.15.24.05; Wed, 10 Aug 2022 15:24:18 -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=@microsoft.com header.s=selector2 header.b=Yqjghdw2; arc=pass (i=1 spf=pass spfdomain=microsoft.com dkim=pass dkdomain=microsoft.com dmarc=pass fromdomain=microsoft.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=REJECT sp=REJECT dis=NONE) header.from=microsoft.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232655AbiHJVvf (ORCPT + 99 others); Wed, 10 Aug 2022 17:51:35 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:56582 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231587AbiHJVv1 (ORCPT ); Wed, 10 Aug 2022 17:51:27 -0400 Received: from na01-obe.outbound.protection.outlook.com (mail-cusazon11020019.outbound.protection.outlook.com [52.101.61.19]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 5A5AC4C61A; Wed, 10 Aug 2022 14:51:26 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=TdU+7qX2K49/osFtxYy0gwdZP1BZ0s01P/HpI1SaamKTuYqfTXZIkwoWzBItnw2PP5jMdIwnUn3r1w8setd3ak7qXvFw6KJYn7wdUM8aAAZBxgfhtOVyKLZvYnFrZuZI9gXOjyOYzt662fTvBVRv0aVoaru0P1XwT18xXwxfrW/nhrQtxE7DsythmlFZzIZhBhydXi1O454vgdXRPshQr0RgVSMSqyo0YB0i6gSpZ2iyoIqyYPXoc6lin1D+G9Iubj8esVIjK9FjqHg6HoHFXu+P3mmTifH/dM6zAYkOidCZm6mhpP7zReHm1m1wLkUNcDnqFEtAGo+TqvKG1bNnTA== 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=3vvaAEkmKWVHlj6IwA4DRHOvVLKaDf/bK0uIYrYVPo4=; b=Du3onF/x7WEuG9to12v3JczR5cVKbzhYzYkBw+SWlwsNOQXP9O33MTljEAY+v6z0/nHavB0PrBbEIRx+xE5NDjy3MVqzFzE5VHV10pjXGrcwUfFvLHGMTlz8bm7ht7f7niVWv1B/MUgZTFvc9jh/iJFIOynNoWHWYpoKhCeEG5AvcdQAqlDHUQ6uak4dxmZDwkbbly8hBwpyttysfpMr937Of6hRvJHmD0kayp3g9vNKFuj0CtgHdDMumVdtTq5OA5Zrm/+LEFgcgdUKcZYeB9E1c1CsJd2M5BNIMX8SDWT8JCulIEayD671AVOlZ40oyAuMHb0nReDHjXLfC38PfQ== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=microsoft.com; dmarc=pass action=none header.from=microsoft.com; dkim=pass header.d=microsoft.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=selector2; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=3vvaAEkmKWVHlj6IwA4DRHOvVLKaDf/bK0uIYrYVPo4=; b=Yqjghdw2HUJR6GooFSlvHt14CorulcLN8WeFI6KY00iF4+RtD3pPR70k07NNdYuJYxAD5Fbmf6fKiSvzCimkkdITdASP8Oy179cmDFJQRUIz4MNZVUen9aatxF/wYL+72PAirechMtdA1ZAXMRubAniBfR85MMLF22v4vMd2/1I= Received: from SA1PR21MB1335.namprd21.prod.outlook.com (2603:10b6:806:1f2::11) by LV2PR21MB3180.namprd21.prod.outlook.com (2603:10b6:408:176::21) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5546.5; Wed, 10 Aug 2022 21:51:23 +0000 Received: from SA1PR21MB1335.namprd21.prod.outlook.com ([fe80::a440:fe96:e2bc:840e]) by SA1PR21MB1335.namprd21.prod.outlook.com ([fe80::a440:fe96:e2bc:840e%4]) with mapi id 15.20.5546.003; Wed, 10 Aug 2022 21:51:23 +0000 From: Dexuan Cui To: Jeffrey Hugo , "wei.liu@kernel.org" , KY Srinivasan , Haiyang Zhang , Stephen Hemminger , "lpieralisi@kernel.org" , "bhelgaas@google.com" , "linux-hyperv@vger.kernel.org" , "linux-pci@vger.kernel.org" , "linux-kernel@vger.kernel.org" , "Michael Kelley (LINUX)" , "robh@kernel.org" , "kw@linux.com" , "helgaas@kernel.org" , "alex.williamson@redhat.com" , "boqun.feng@gmail.com" , Boqun Feng CC: Carl Vanderlip Subject: RE: [PATCH] PCI: hv: Only reuse existing IRTE allocation for Multi-MSI Thread-Topic: [PATCH] PCI: hv: Only reuse existing IRTE allocation for Multi-MSI Thread-Index: AQHYqA2nr0ByY5vvCEupYVpg2kRVKK2os23Q Date: Wed, 10 Aug 2022 21:51:23 +0000 Message-ID: References: <20220804025104.15673-1-decui@microsoft.com> <0f19cc67-ccb1-7cd1-5475-d2ec0e1abfc0@quicinc.com> In-Reply-To: <0f19cc67-ccb1-7cd1-5475-d2ec0e1abfc0@quicinc.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: msip_labels: MSIP_Label_f42aa342-8706-4288-bd11-ebb85995028c_ActionId=53221d8f-3ae4-4101-92f7-d435fe84f512;MSIP_Label_f42aa342-8706-4288-bd11-ebb85995028c_ContentBits=0;MSIP_Label_f42aa342-8706-4288-bd11-ebb85995028c_Enabled=true;MSIP_Label_f42aa342-8706-4288-bd11-ebb85995028c_Method=Standard;MSIP_Label_f42aa342-8706-4288-bd11-ebb85995028c_Name=Internal;MSIP_Label_f42aa342-8706-4288-bd11-ebb85995028c_SetDate=2022-08-10T21:40:11Z;MSIP_Label_f42aa342-8706-4288-bd11-ebb85995028c_SiteId=72f988bf-86f1-41af-91ab-2d7cd011db47; authentication-results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=microsoft.com; x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: b80959e3-8814-4a65-4341-08da7b1a77e7 x-ms-traffictypediagnostic: LV2PR21MB3180:EE_ x-ms-exchange-senderadcheck: 1 x-ms-exchange-antispam-relay: 0 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: qLM2Lo/OXxGJ3R+tdgfxybZ5LgpWZoXFMW7rh14UzyJIF9AhKGQ75i9Ax4WJBYfLLulLhQkM2Xa4Lidne0TM2k9RgYiJjnXqT0FK+R+xrTc1bT6JqSjYxcGZzifadDYugaxdfiRr3CXDdPoLUT83mU1gunufh79pal8MdBZNB6ZBAZHEdfu6+n9L84vwJrFwukl5KdUS//WzPqYy5GbtWEhmxwCCyVdY+gtOtyROAJLmZyq2XuxSACmhJ02+UWtPFY007+UwuXFOm3ZZji7S3DQyOGLVdyd7POQEBG28wrrjHRl3G5Z4ULti/B2ou6IhAo+PjSxI/yTEgkxDeKmsslqS6jqeb2/jIJtNkAPatCk7T2nIIGLi8C5jgm++MM2lEiaaoOlV8/DQy4rr6KsmJfAKsZsYjZnjGh1ECOYXAGeFg8ZndLgjXMjkN6zwqwAmKu4nLTBNDhqmjOUoYi+dkUDXLGtVsbVRnNVpX3yswG4bSSHeqojSPO8TyG93OSvcPQqFIbsjc/Cnv0lvc1C1NQOQ5P4pFEVmZieOdrCvaD4KK/lBrTphI+P3WEhGypGA9EYLJtWIlhSH86e0BJxHzhSK6QdzncKIp1k3WI5aq22fPE0XRJjFrO/oDVsiMlXOM/qc4fOQN8X7udcHXjPxiaI3ec8pOgoj0PFHZCVWHzBvVGmkCKooW/5qRf+ZQdagc3FlZP361syUSZ0MLpOIjKXcCJWUEeX6iAHXATWyKkrvssWkO2xFzh3Xj1v0Piftt8BibASS7V9kAyGcMtQ3pMdPiUHlho7tzSIxNFTVPRW6m0Nm8V7FM/qbxS9xUcgpLUQttXcWASZKfbdPa2AlsyWoaxZB0YkBsf4jzw6ofBnAJ9AWP5SmTivSx8oRHPJ2 x-forefront-antispam-report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:SA1PR21MB1335.namprd21.prod.outlook.com;PTR:;CAT:NONE;SFS:(13230016)(4636009)(396003)(346002)(376002)(136003)(366004)(39860400002)(451199009)(2906002)(4326008)(5660300002)(76116006)(66946007)(8676002)(316002)(8990500004)(66476007)(4744005)(6636002)(66446008)(64756008)(66556008)(122000001)(7416002)(52536014)(8936002)(55016003)(38070700005)(71200400001)(38100700002)(33656002)(82950400001)(86362001)(921005)(41300700001)(82960400001)(478600001)(110136005)(10290500003)(7696005)(26005)(6506007)(186003)(9686003);DIR:OUT;SFP:1102; x-ms-exchange-antispam-messagedata-chunkcount: 1 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?B?SExHZ0thNFdOR3FRZU50RE1hR0diWHZvWDh4WTlWa1NLSm4xMjhMN0JWYnIv?= =?utf-8?B?LzV4ZzZoTE0rNkt0UVg0eHBrN3NsSW5qT2RKQVZUYjNMWEtmVWtXbS9JaWZu?= =?utf-8?B?UjhtYzJVQ1ZtMnVDcDVFV0VIRlZaTW9sazFnSkNrMVErY21wS0ozTzBqZlla?= =?utf-8?B?RUkvWXpkY3U2YlNjRHF2VUYwUUtlbE1GVCs2WHJRQWFUY3JGak5hSlU2YlY5?= =?utf-8?B?bjh1RHB0R1BIOXBONGxra04yZW43QU5tUGFwNXJHWUJuWXRYc25qY0tSZVJ3?= =?utf-8?B?b3ZuTUtLUElzVEZOS2dBOGV6Rk15RXJWTVVrZXhaWUdhakhCSGRxOW9vbXpi?= =?utf-8?Q?TK0eljyWoJlvfVAfc+SuO2jvP?= Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: base64 MIME-Version: 1.0 X-OriginatorOrg: microsoft.com X-MS-Exchange-Transport-CrossTenantHeadersStamped: LV2PR21MB3180 X-Spam-Status: No, score=-1.7 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FORGED_SPF_HELO, SPF_HELO_PASS,SPF_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 PiBGcm9tOiBKZWZmcmV5IEh1Z28gPHF1aWNfamh1Z29AcXVpY2luYy5jb20+DQo+IFNlbnQ6IFRo dXJzZGF5LCBBdWd1c3QgNCwgMjAyMiA3OjIyIEFNDQo+ICAuLi4NCj4gPiBGaXhlczogYjRiNzc3 NzhlY2M1ICgiUENJOiBodjogUmV1c2UgZXhpc3RpbmcgSVJURSBhbGxvY2F0aW9uIGluDQo+IGNv bXBvc2VfbXNpX21zZygpIikNCj4gPiBTaWduZWQtb2ZmLWJ5OiBEZXh1YW4gQ3VpIDxkZWN1aUBt aWNyb3NvZnQuY29tPg0KPiA+IENjOiBKZWZmcmV5IEh1Z28gPHF1aWNfamh1Z29AcXVpY2luYy5j b20+DQo+ID4gQ2M6IENhcmwgVmFuZGVybGlwIDxxdWljX2Nhcmx2QHF1aWNpbmMuY29tPg0KPiA+ IC0tLQ0KPiANCj4gSSdtIHNvcnJ5IGEgcmVncmVzc2lvbiBoYXMgYmVlbiBkaXNjb3ZlcmVkLiAg UmlnaHQgbm93LCB0aGUgaXNzdWUNCj4gZG9lc24ndCBtYWtlIHNlbnNlIHRvIG1lLiAgSSdkIGxv dmUgdG8ga25vdyB3aGF0IHlvdSBmaW5kIG91dC4NCj4gDQo+IFRoaXMgc3RvcGdhcCBzb2x1dGlv biBhcHBlYXJzIHJlYXNvbmFibGUgdG8gbWUuDQo+IA0KPiBSZXZpZXdlZC1ieTogSmVmZnJleSBI dWdvIDxxdWljX2podWdvQHF1aWNpbmMuY29tPg0KDQpIaSBMb3JlbnpvLCBCam9ybiBhbmQgYWxs LA0KV291bGQgeW91IHBsZWFzZSB0YWtlIGEgbG9vayBhdCB0aGUgcGF0Y2g/DQoNClRoYW5rcywN Ci0tIERleHVhbg0KDQo=