Received: by 2002:a05:6358:4e97:b0:b3:742d:4702 with SMTP id ce23csp4102096rwb; Tue, 16 Aug 2022 14:41:53 -0700 (PDT) X-Google-Smtp-Source: AA6agR6Bz6Z8N09c3eUxeaq+Pc/8mULKNDItVnsAFw5/A5M7NQuhdgjcPnLetoO/RDKboH4UGRIJ X-Received: by 2002:a17:90a:8a12:b0:1fa:a5f6:13a9 with SMTP id w18-20020a17090a8a1200b001faa5f613a9mr542890pjn.129.1660686112999; Tue, 16 Aug 2022 14:41:52 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1660686112; cv=pass; d=google.com; s=arc-20160816; b=p4LwwgAfLuHO066oAEmXoEZ4wyvHzHUaFRdAs30IBeGNj+ckKHr9tYs6dd0VuU/K03 1Pw2pU0P2oRyId+b3rx2hk+P0kdFl7rYwxV0N3/zDVUhDnsGiPPDInVnwqLQTNNg1o5h h2M9ilYq1Fj7c1u61Q+xBoofs0/WW8y+oZGcbaDsX5gZJBAoE8wxkpbhwrHU3M3tHvpe UaCW1J504TUPGtVjU51wJlkQ7R+rQX0K/IsPIl8UNsCYJDQa9V//yBtJs1IonVOBVFpT zuJWTqcdOkRGM0KHjdJI1XA/RVcTZmTnUofvZ5nmVnuymA05LjtbpzH47jhONfLRebZ/ 1sXQ== 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=QsINHE0vkJWRyL0Nb5mXBWRCNOnhdQqR1CxZ1O7vpcw=; b=ceIpRri7CTOwI+iczxRwhlDazvLq6v+vIhqZeu6vcNkFggRNmEtCYvWm3fQGXGr6kv jZ7HpIZq/byFs6b8GjNQTVIBIAJzy8O8/H6WLa+5+xleBjQMk96/9zXZEhdUOS0lZ3CD BKey78sIHlxKAKgQrmFU7orsFRy5UOP6O2/TXAR8kUM9hM2qCqoh1uhnVH7HPSfO3jBT 5CelryNXPPxyn5gFnfF4ewsQSrNpksW/7mgImc5H0rumQv0QGFDnhUnc60hzXlT60g2g /EPqeCgx8UBB7ZHxeRu2IjJqvWwR20Kws8+dR28/S/l6xa9uqjn/mg4UjpZdPjA08zsU ppvA== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@microsoft.com header.s=selector2 header.b=P8iaZqdX; 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 v65-20020a632f44000000b0041bd0985ea9si14489338pgv.671.2022.08.16.14.41.42; Tue, 16 Aug 2022 14:41:52 -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=P8iaZqdX; 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 S237430AbiHPVNf (ORCPT + 99 others); Tue, 16 Aug 2022 17:13:35 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:51768 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S237433AbiHPVNc (ORCPT ); Tue, 16 Aug 2022 17:13:32 -0400 Received: from na01-obe.outbound.protection.outlook.com (mail-centralusazon11021018.outbound.protection.outlook.com [52.101.62.18]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 4B3A865813; Tue, 16 Aug 2022 14:13:31 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=Ua5MFjgVlShrOf7G5gLIpJLTv3L8dFq03h79R8/HdWAUcC7hiM4ZcNId8g6fFc0n/M/rt2LZ2jpb8Sr1yHufJPx/zaT2onNPm4Li3V1ieQ5beN6G585Db1a5A+VI/s9WTRvhwzbitrUd9gay/qvAqzrb7doBX0efNt15wuRPk1m1tXlIeqJNc9dMKPkKdrY51W1pCz1qmk4m78tSPOKYoCfUIp2kRcD6xpxailBm34wDHHhaUK43C6I6wn6AJZkEEyXR5OS9cMV9ovrUaCRXMzh+mhRGNBEu9/UtxmRav+BtJxu39PqURfKR/ppiWBEFjS8YZHNbBoKawUpS0Otktw== 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=QsINHE0vkJWRyL0Nb5mXBWRCNOnhdQqR1CxZ1O7vpcw=; b=bGWfCiT4VxPFnz7A5bm+/KfnvNVJ8Zrg224ISr8Wsn1m9bV1px4Q2OLy/Aht9SBel95UTibc+gtDAvHz+oEPgjBvkJYao052PLS4pNG/jE88pD7v187ONHSLwtpMg4TVjrYVEAQcIHVKBlIz7pI3u6+cWrqDwOiAaOSTgF0g/X6ZM0KY5mQpf/zRgY8X05R3840nS8DzV18wogH3SRkQU3bufR1YRSXJ55Z7VJEtnhvneY3+CX1IcSRBC+F+eoApbyly6YT3XhfAu3zS4j67aBHd0RKNhCXe3uMgF3tSQxRxgVLJiNRHzKu2xOf/tngZn2BMGgFV77qeB1N6HDADGQ== 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=QsINHE0vkJWRyL0Nb5mXBWRCNOnhdQqR1CxZ1O7vpcw=; b=P8iaZqdX7A+C1iE5CRKzlhAjAWfhTH7U4tV6b+AmUJE0ZqZbUqdFBLO5LfYan3iQK8dgXpdrYA62f676vN9rE9BWuvVMznPGfC6GhK97QPiiyvAt5PoCDK/LRyhDcE0+7f+2DJDpOnl4u73dR+Wn5Y5kAz+e9HqFy+qqb3/1u1c= Received: from SA1PR21MB1335.namprd21.prod.outlook.com (2603:10b6:806:1f2::11) by MN0PR21MB3339.namprd21.prod.outlook.com (2603:10b6:208:380::22) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5566.4; Tue, 16 Aug 2022 21:13:26 +0000 Received: from SA1PR21MB1335.namprd21.prod.outlook.com ([fe80::a4e2:7dce:4d6b:c208]) by SA1PR21MB1335.namprd21.prod.outlook.com ([fe80::a4e2:7dce:4d6b:c208%4]) with mapi id 15.20.5566.004; Tue, 16 Aug 2022 21:13:26 +0000 From: Dexuan Cui To: Bjorn Helgaas CC: "quic_jhugo@quicinc.com" , "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" , "alex.williamson@redhat.com" , "boqun.feng@gmail.com" , Boqun Feng , 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: AQHYsYgIr0ByY5vvCEupYVpg2kRVKK2yAnlw Date: Tue, 16 Aug 2022 21:13:26 +0000 Message-ID: References: <20220804025104.15673-1-decui@microsoft.com> <20220816155122.GA2064495@bhelgaas> In-Reply-To: <20220816155122.GA2064495@bhelgaas> 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=453faf14-2e29-4c1a-aa2a-7a34ff1f522c;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-16T20:57:17Z;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: cda0660e-9f67-4528-a30a-08da7fcc291d x-ms-traffictypediagnostic: MN0PR21MB3339:EE_ x-ms-exchange-senderadcheck: 1 x-ms-exchange-antispam-relay: 0 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: vJpYD3BFA/W4dmZdHkgW8oiQTdKxq6rtOdwhFrjyZuRI2hV5EnwFpjOFxIDGGH06bCxDwGfcqaif9wVPvm14pMwJBFGe1C9LuLEjI0Dlva6yBm8xiEHRjTjw+Gf4i+d43S4Rzggn0x2Q36g1TU9NzhqD0gXEg/Cb4JvEjkXeSVrJEQXT0KzQxvPbmX8SJsijQHtXHtousgYrPrXc/A0+U/2Aw/6wvNjDOGz4EYVaz8ajo5DEd3LJIS2s1MybNUIxA99ar+D+UnMh7cB54e92CzeKKwhYR8L5k87Mch/h0/vkTfKC5YGWO3HZ58PlKKMMVm4IyzbTkvm8XkNZ5uCXMMOHVWbscOI+yEfhvVT34pl9aCM6HerFd0N+bqWWq1p/heS0mazj0cat9PCE9uphRknun68H34tblAizt41INfKdujhLnkIcYomVvuf9XBmgSgZR5Sn4k1fn5QjuAp78rrYO1XHOXUjccKzn2ESfPFZZxF8dV+ZF8sFvkYhEmG+KKaGTX2duVfzQFvgGaUlQttfZ5Jjuefjz9hrTDbm49IZI6XtWcpJOsPPrg3Md21G5LewuXVdQ11UdKxoazX0sF013nPTRuzS2SsZsuYE1ZQg0h5vpoN56VmOz4zXDwTCFp755RmQjB+wLqCqeTl2/ATzgE+sFP/6xe/qW6VAlJywzlVmEQbSu35/rxArTrQE4kMCTfG60EWALO+3ZYGlV8CNT7psspcrI7q4AqRAWhw+0IEwe58KL8b7GtwBci1OtOiLa5TtgewE8E+J3hHuj9GnHHHxQPQL9HPavTMmnooKHJkXtDmFrICXjhE89LJVoOyCFiwZr7pxmhjHYmdTDfVotYo/DJbTby5ZOPc/r2nKlqAAe/rdk2K8XqVkyh+PV 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)(366004)(396003)(39860400002)(376002)(346002)(136003)(451199009)(38070700005)(86362001)(122000001)(38100700002)(478600001)(82950400001)(82960400001)(966005)(76116006)(4326008)(66446008)(66946007)(5660300002)(64756008)(8676002)(66476007)(8936002)(7416002)(66556008)(52536014)(33656002)(10290500003)(6916009)(71200400001)(316002)(186003)(55016003)(83380400001)(6506007)(7696005)(2906002)(41300700001)(53546011)(26005)(9686003)(54906003)(8990500004);DIR:OUT;SFP:1102; x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messag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Q0+8dd0nG1D8ztIGDNJoJ4iBi?= =?us-ascii?Q?7xesQtBg1nOe/lwWznOg73B6Jx2VBhkAbvoxhSf0Nr09lKGCUKYXWJXT1jtx?= =?us-ascii?Q?/Dhuo18sg+M9sXwcxTwmXzxp2SzyN4dXsdt+8qRs10CceNUMAqMC5UuxfMVZ?= =?us-ascii?Q?JAXzIFM3q2UaY3BedFf0dTtHqvdGKr/3Xg/D140QxwQO80jUf/0walwIOQ/O?= =?us-ascii?Q?LpT8bL4CNV22VQJsdtJwxn36Zg3ah6OAqCNQkFsAKOzM6W9X8FewFJp9xASX?= =?us-ascii?Q?4nXQ6JMiA/ALjJvniEDjDZgtkhDMgLHwrJ0T9TW5soZ9Wb087VxY+NM3h3TV?= =?us-ascii?Q?HuepMnPCE43rAiKonJF4a7SBE5K9lnsl9LXl/cYg0Oi770zUU3Y7pHhslIAH?= =?us-ascii?Q?DEJcJ5QKG5mIRoyj3Ldbwl18r0GIgpxDUVVG/ZofgRAjMF+a1wofv111bTIm?= =?us-ascii?Q?CjDyUUtbDq6yNru3dOOibn/wTUQw55iVJz7fQVqHdwRQZZJMKCnHR9iQ8rRE?= =?us-ascii?Q?c4ZKUgJjfxNGM59ZdpEI4IVOqTuk/JeGUnANOS1dsIjlu3KWMn4SZljwU47f?= =?us-ascii?Q?Xvgcisx+W7cAHUjsLnVeqj89gQX0gkJ6Q6go6X976prIR92oFSpVtqjzztv9?= =?us-ascii?Q?XWJPRkgcmjajYOgbafONW3Blu9TpqPqtozhI5OKUZ4w/aguxmSforAFh+T3U?= =?us-ascii?Q?rDQS3APDjicTRi1YRpO4dRhwR0TO+ibLNE2Eovy4?= Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-OriginatorOrg: microsoft.com X-MS-Exchange-Transport-CrossTenantHeadersStamped: MN0PR21MB3339 X-Spam-Status: No, score=-1.1 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FORGED_SPF_HELO, RCVD_IN_DNSWL_NONE,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 > From: Bjorn Helgaas > Sent: Tuesday, August 16, 2022 8:51 AM > To: Dexuan Cui >=20 > This has only observations with no explanations, and I don't see how > it will be useful to future readers of the git history. Please see the below. =20 > I assume you bisected the problem to b4b77778ecc5? =20 Yes. > Can you just revert that? A revert requires no more explanation than > "this broke something." It's better to not revert b4b77778ecc5, which is required by Jeff's Multi-MSI device, which doesn't seem to be affected by the interrupt issue I described. > I guess this is a fine distinction, but I really don't like random > code changes that "seem to avoid a problem but we don't know how." > A revert at least has the advantage that we can cover our eyes and > pretend the commit never happened. This patch feels like future > readers will have to try to understand the code even though we > clearly don't understand why it makes a difference. I just replied to Lorenzo's email with more details. FYI, this is the link to my reply: https://lwn.net/ml/linux-kernel/SA1PR21MB1335D08F987BBAE08EADF010BF6B9@SA1P= R21MB1335.namprd21.prod.outlook.com/ =20 I just felt the commit message might be too long if I had put all the details there. :-) Can we add a Links: tag? Thanks, -- Dexuan