Received: by 2002:a6b:500f:0:0:0:0:0 with SMTP id e15csp1779580iob; Thu, 5 May 2022 08:05:37 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzCe8jROCTDdbBIpNToTjXbipOky+dCCq9UHAUDtuq5qBVGcGLbOSj7xBQdz/DzuOB3EolX X-Received: by 2002:a17:90b:1e05:b0:1dc:575e:6211 with SMTP id pg5-20020a17090b1e0500b001dc575e6211mr6603231pjb.120.1651763136501; Thu, 05 May 2022 08:05:36 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1651763136; cv=pass; d=google.com; s=arc-20160816; b=yfhX3JJurEIBrZlUwqu5LVYk8V7mx0Io45HfUVcOA7+wdDyQ6rj9fDub3Dv3+Cr2lO p+q5z6JJ5xI3aQhFgPUF7aAdq8s8jizVjb+2oHmBpZhbFCZLY54f6/VpfEZ0dcmalK3l vtnQIhQTG5Wwseq2/UdyAscPHvPrBZZ2t9fALoeCf40J78ceteEfxzEKiKfM+7GcI7sw W1IMuPRpz0h5bY3PSSp+ufAqQ0oa3LUsAv75s+jUHrKGwlqQGZ/NOHnMiS26M9G9X3uy jhftmKnKxAOTjM9+bngNccZa+Ib9QpgD+/i5xkIrl5fSLqL7C7kfSgVoxeauxinaTkDL ONng== 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-id:user-agent:content-language:accept-language:in-reply-to :references:message-id:date:thread-index:thread-topic:subject:cc:to :from:dkim-signature; bh=wephEJ2fCyzFhzhnbNGJCoRucTxasGxvU3MpVuDf4Fc=; b=Nh2KXU/fYBus844hsQACTq14FSE6cqnIRNolEy4Y3PPmfLnl9Ya/y3vxWhouKFhU08 Ut/UrbyhIajZVMA2ykZ6BL4Ppf/4q7myX5464Ms9YqnQJKyWRWxGcZDtnxCrUQNodtDo 6xkZb2Gdn235ycYQvEp8vfuxTVjAAf1yZXA2AKyfDE3lWpdrW8W2j541ROkHBdXJcmjl 1HK/XHXX2WWSS5yyYP0tiNB+AEPxRw+m4ahTdDAEbs6GXui3zXblbjxjdOg345fpfS8e KZTmvc9mSMLIxlJeepTHfAnSrRIfMpLaRWwPAwwx0qyyJYA8PFjmhISYEnnWW754nHfM mrgw== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@vmware.com header.s=selector2 header.b=ta6MElKg; arc=pass (i=1 spf=pass spfdomain=vmware.com dkim=pass dkdomain=vmware.com dmarc=pass fromdomain=vmware.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=NONE sp=NONE dis=NONE) header.from=vmware.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id i7-20020a17090acf8700b001dc3f088349si8216444pju.139.2022.05.05.08.05.02; Thu, 05 May 2022 08:05:36 -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=@vmware.com header.s=selector2 header.b=ta6MElKg; arc=pass (i=1 spf=pass spfdomain=vmware.com dkim=pass dkdomain=vmware.com dmarc=pass fromdomain=vmware.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=NONE sp=NONE dis=NONE) header.from=vmware.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1357190AbiEELbN (ORCPT + 99 others); Thu, 5 May 2022 07:31:13 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:59550 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1354942AbiEELbF (ORCPT ); Thu, 5 May 2022 07:31:05 -0400 Received: from NAM11-DM6-obe.outbound.protection.outlook.com (mail-dm6nam11on2077.outbound.protection.outlook.com [40.107.223.77]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 5E6CD4AE25; Thu, 5 May 2022 04:27:25 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=Y3N59MLoIibEmn3/J0fWNPm1UIbk2m7VByj6boOl4hdUOH6eAJP+HaftUsfxmAP7aLP0WABixG2KJKdHChu2Xsj6vmcxLQ+qbSoK8ytb9HGhC0buUw1dHqR5YVW8NejNCJy8E/rGy0vd7xJdFp/t1PnNm8cfdoBSyv0HfsFrsN18msMqVNJSXk8NDZUYrMyRR0JyNu4RgWcFTtIwayAQ7CEAoHnwesDix4ZKZe5P0l7pjsFDskohbBuE0jPsOIWbPdbuoaF85WsDmzFvdF7uD3CEU0as0+KDd2yjyWrLq5c60tb3sbk7G0fJvLbecr2AaOT976SCnCmG4sNHMurULw== 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=wephEJ2fCyzFhzhnbNGJCoRucTxasGxvU3MpVuDf4Fc=; b=nB2TXVFOnkPywGRBUDNxNsT81LGW7NArO3iXaR9qA6t7sa+GSu+ar+lFaRukkVyXcMFnMl0FiOMFjODxBNfsqHJWygOLnPHkDOHfHPKcdSPl/5vvq90uAHGAkhnc/fF2pXu7XlYRPxhP5ipYYgROMGDVDZylm0HL0wVTqgbC3fucBSLCE5dIK6VcdGgSrKUm0nbtCd/qA4NvpKOzntuy2n7Hb7oczNveh7HhV2rOLw3Rnugg0WEU0IzDRR8KvD5BArYdKypac/6IvhYocYTlXJsQQsCX2Sq2nd9UHyaxlTUe+C/IoUdbrmUZeQfvY1dQ9sZc8VIDHoKztOvC/hDpow== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=vmware.com; dmarc=pass action=none header.from=vmware.com; dkim=pass header.d=vmware.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=vmware.com; s=selector2; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=wephEJ2fCyzFhzhnbNGJCoRucTxasGxvU3MpVuDf4Fc=; b=ta6MElKgnyNVX7DirztUHh/r7shbIQMO2Q/k7jKE9rsDchkxZACCq+eCHZpd/YO3UunSbTNLoCft67fCPje/x37ZxsRYci4fhHB+fAmHu6BXES1s7XdZdd6p1RLZy0AJHonXMl6ZiW1eUBAMwSxCjlmKQgR8tdd7PHOMNDd09OU= Received: from PH0PR05MB8703.namprd05.prod.outlook.com (2603:10b6:510:bd::5) by DM6PR05MB5370.namprd05.prod.outlook.com (2603:10b6:5:59::26) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5206.12; Thu, 5 May 2022 11:27:06 +0000 Received: from PH0PR05MB8703.namprd05.prod.outlook.com ([fe80::ec67:d45c:ad2c:fa04]) by PH0PR05MB8703.namprd05.prod.outlook.com ([fe80::ec67:d45c:ad2c:fa04%9]) with mapi id 15.20.5206.024; Thu, 5 May 2022 11:27:06 +0000 From: Ajay Kaher To: "bhelgaas@google.com" , "helgaas@kernel.org" , "gregkh@linuxfoundation.org" CC: "ymcavikas@gmail.com" , Alexey Makhalov , Anish Swaminathan , "linux-kernel@vger.kernel.org" , "linux-pci@vger.kernel.org" , Srinidhi Rao , "srivatsa@csail.mit.edu" , Srivatsa Bhat , Vasavi Sirnapalli Subject: Re: [PATCH v3] PCI: Speed up device init by parsing capabilities all at once Thread-Topic: [PATCH v3] PCI: Speed up device init by parsing capabilities all at once Thread-Index: AQHYKKuQAeTeBB9b9kSyHQSQaUy/Ba0Q8PSA Date: Thu, 5 May 2022 11:27:06 +0000 Message-ID: <8773546D-E43A-4951-9713-44A09025AF5A@vmware.com> References: <6827AF44-4412-4ABA-A66B-562D7E86C847@vmware.com> <1645616049-19712-1-git-send-email-akaher@vmware.com> In-Reply-To: <1645616049-19712-1-git-send-email-akaher@vmware.com> Accept-Language: en-US Content-Language: en-GB X-MS-Has-Attach: X-MS-TNEF-Correlator: user-agent: Microsoft-MacOutlook/16.47.21031401 authentication-results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=vmware.com; x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: 02452f4e-0415-42c8-39ff-08da2e8a2f97 x-ms-traffictypediagnostic: DM6PR05MB5370:EE_ x-ld-processed: b39138ca-3cee-4b4a-a4d6-cd83d9dd62f0,ExtAddr 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: 8+ntHmpn4DksgyQrX6qV5hZqfiTZdFdIBGOmZxiCFb37FSWT+dTnGyiwhfmKLwGxPHgLSCkW/wG3BOOWC2WmzuXWa8U/R01KJjHoitlHcRRn9GBjZkWc+rQMzhZ8wjuiwVMS3j32Bt2Kly8m3sT0LeglJm+JrEAUw8Tb0v4U08R+mGYAddH6PbU0uJRy1reP3IlsoT/W3t//qbiOl7p8qjhTKY7IABRys1Ta/hNcgS6H5yaUQULwCzijD0/eONQ7/Opl8ld/75Vbr59C6TH7KrDgpYHXWJGvvtrhFYDzq91qMTZnK7oGjjpFnCz1EeTgPSZ8m3klr0W09T7xTDG6gRCB5ExXYjBWVXL/jkcdQF054ZqYIk5as0if09V0hTbMpwWCV9x67KhUH8WWJbs0gQ09cm0Qr/fhiEZDoEp6sI3HVhv+7sAY8OV8/C2wIaqFBqOrIK7sduI9PquY4kMPy2ztTuecqE4KyYw4UMJhmV3mjsusd4i0hIV+rHkEN96fcTq9XTdCUrpApbP9FbYyJ4YoFwdNGE8kPiEhL7illIwV9oEyi5t6pfcJmloGdXxR0bPLPUy4Fv/sJ24Pk71hOxg9T2GBs5+M5ei3MMI7BjbmhYn2VlBg7fx5db6GQkmp++jI7PRFtGsEJD80LC1mCTr42Gq01PSuYVsrnepeiHY6WBBqudU36VNlOZJjtn+2g9LELt5Wk15juso8vbld3CORPmZeB3C3gVQUL4W1w8hpsIshURPPpd8+Z7D53zu0 x-forefront-antispam-report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:PH0PR05MB8703.namprd05.prod.outlook.com;PTR:;CAT:NONE;SFS:(13230001)(4636009)(366004)(66946007)(86362001)(316002)(71200400001)(66556008)(66476007)(64756008)(110136005)(54906003)(66446008)(6486002)(4326008)(8676002)(76116006)(5660300002)(508600001)(91956017)(8936002)(36756003)(107886003)(6506007)(33656002)(2906002)(26005)(6512007)(38100700002)(2616005)(38070700005)(83380400001)(122000001)(186003)(45980500001);DIR:OUT;SFP:1101; x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?utf-8?B?OVR2UXlGSUwvVk1XcCt4MmNKRjRVcVdPbE9RNUgxamk0T1RreDhpd3AyMkNH?= =?utf-8?B?S3hjWDNzQzZFNWFxeUU5eWVSdHZ4OXJQUXNHSHVOdzY2ZUpHbEJZWHUrMzdz?= =?utf-8?B?aGZWa2pycGNqSlIxNDFuQTRJbUZuTGt2RXFBMVk3WWR6clA3aE5RdzRwOU9X?= =?utf-8?B?V1BMTHJkcXlBYm4rWlpTRXExa01RWkpydUZoN3phdlo5TERIVXh4MkVRN3Ra?= =?utf-8?B?UkVJMXBqOUE3dFFnZXBKYXdWUkFlcVpxQ2FCSklPOEF0UDlCVjIxS2h4OTh3?= =?utf-8?B?U05PS2NPTGd5NFlrMlNXWmtETEdXdGEvVGxVWHBaZ2NBckNFL3VZNHljS0t2?= =?utf-8?B?Y054eFY0eFVTYnJWZVhMUlJRN2h6UlRDKzN2cUJwRit0N291U2M5VU5OUVBK?= =?utf-8?B?V0p5azdacnRW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HdXcGc5YzFvZlpB?= =?utf-8?B?dkI1YXh3Y3RzYnBFa05DZHZ6K0IvcGZsZGNWK28wbFc0aENUMlpFbnB2bWwy?= =?utf-8?B?czhDMFNHWEdkYmovWE5CSFRkcUV3QUNNcEI1Z3dYQU5RQzMzeWZBdz09?= Content-Type: text/plain; charset="utf-8" Content-ID: Content-Transfer-Encoding: base64 MIME-Version: 1.0 X-OriginatorOrg: vmware.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-AuthSource: PH0PR05MB8703.namprd05.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: 02452f4e-0415-42c8-39ff-08da2e8a2f97 X-MS-Exchange-CrossTenant-originalarrivaltime: 05 May 2022 11:27:06.4994 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: b39138ca-3cee-4b4a-a4d6-cd83d9dd62f0 X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-CrossTenant-userprincipalname: qT7Qv2YW2GnL0SOvbF2nSt9TZPsGYT5Tyu6sdImECd88lFCBAJ68sQ/GnTCK0o+7Tkl2O8YCMuyUVOsyyNVw+Q== X-MS-Exchange-Transport-CrossTenantHeadersStamped: DM6PR05MB5370 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, RCVD_IN_DNSWL_NONE,RCVD_IN_MSPIKE_H2,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 DQrvu79PbiAyMy8wMi8yMiwgNToyMCBQTSwgIkFqYXkgS2FoZXIiIDxha2FoZXJAdm13YXJlLmNv bT4gd3Jv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