Received: by 2002:a05:6a10:d5a5:0:0:0:0 with SMTP id gn37csp1648138pxb; Fri, 1 Oct 2021 16:00:32 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyozUUc1zjoRwVivQg6OK5m3oVTs/L8SR1mVX+0o6w/EFUIwuc75japTHsZ6Rb7caAuTdQL X-Received: by 2002:a17:902:968a:b0:133:e2c5:4908 with SMTP id n10-20020a170902968a00b00133e2c54908mr11678699plp.2.1633129232021; Fri, 01 Oct 2021 16:00:32 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1633129232; cv=pass; d=google.com; s=arc-20160816; b=aDMbhO6jMRkm+X0/e7V/VKHwZ7Pgv6FoYC6hZlbNHlVrS0EhEVGIyXIKDgLJARo6gl Emuw8Q9MruccTGpBwfZnzqEaQaf2tDyMD1j9eVK9oXLFLMFLsF6aOlnTeOkM6XTR87j5 goLDyIaYcRGS4jYIhdcB1canNKRoANlfZLBQrm/QB6TQrGvHVJkSKicXect8rfVVdScY e41JNFrnwRLcSHEP4Eu6ps4Yjdr4tPVeGfzdl/xT1v33ag2Pyrdj21Nw6IqBcDgU6sVY BEGIjZoCJc8PJnY99bVAt1LaUEWgWjM77Q3nzofjsXwqavxSnvjvHOLUGv1ZjXme54yD 9IQA== 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:ironport-sdr:dkim-signature; bh=4g9uU3XE9iUBujsQ30ABVXWOl5GhA7nTk8gHV72VxH8=; b=RiuNeKs3OzUBoxqhxAUL0B8A8B+uM1ofk4jDLninqvCdlw6f1FBWqTBD5aGjA8LQ5n djJwKVgA7SdOpf9SKTPm4639K6oKGvotftMBq8Bd4yoq1I07rRYcIow8dK5vgY7FI+6I wDW30VBFqzOV4CbnAPVIQ4nUrsMIvawUH+gFKMACX/TsWyCoVSefcRyH6BIJqeqysl8O L/Wz+w6QlBvtP3k13/sh2R8OJwC99GSKD0N87NqYUdasUlm+xPQ2mGUJPelasOu2SsUH vKDGpvC1beFt787JwQ/ivDpDf+iRsq8YcnT/BM68cPzmlo4i1Re/X2BvyI1EpPxzgEYm ccyA== ARC-Authentication-Results: i=2; mx.google.com; dkim=fail header.i=@microchip.com header.s=mchp header.b=j8HQIYY8; dkim=pass header.i=@microchiptechnology.onmicrosoft.com header.s=selector2-microchiptechnology-onmicrosoft-com header.b="XJG/kzzB"; arc=pass (i=1 spf=pass spfdomain=microchip.com dkim=pass dkdomain=microchip.com dmarc=pass fromdomain=microchip.com); spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=microchip.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id j6si2870853pfg.205.2021.10.01.16.00.18; Fri, 01 Oct 2021 16:00:32 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=fail header.i=@microchip.com header.s=mchp header.b=j8HQIYY8; dkim=pass header.i=@microchiptechnology.onmicrosoft.com header.s=selector2-microchiptechnology-onmicrosoft-com header.b="XJG/kzzB"; arc=pass (i=1 spf=pass spfdomain=microchip.com dkim=pass dkdomain=microchip.com dmarc=pass fromdomain=microchip.com); spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=microchip.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231200AbhJAXAV (ORCPT + 99 others); Fri, 1 Oct 2021 19:00:21 -0400 Received: from esa.microchip.iphmx.com ([68.232.153.233]:25998 "EHLO esa.microchip.iphmx.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230457AbhJAXAT (ORCPT ); Fri, 1 Oct 2021 19:00:19 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=microchip.com; i=@microchip.com; q=dns/txt; s=mchp; t=1633129115; x=1664665115; h=from:to:cc:subject:date:message-id:references: in-reply-to:content-id:content-transfer-encoding: mime-version; bh=4g9uU3XE9iUBujsQ30ABVXWOl5GhA7nTk8gHV72VxH8=; b=j8HQIYY8D8b45XO0lt3BuGRObNie8L8DLS3y4wfgNmZGx/XnDQmBtwb9 5xbiJCnkF1JU4ZxTOLZtPp8wgUSpkv0vyBWJQVfWWk0zV6WxoHh/mAHei dy8xxiXXP1pPpA7a5HDxT6Rz4QSjII4urlPkzHk/v6kSZkbSlo5QDjG4w C3suWpp6NmXUE9f1njbxSgqX4YMJPSmNYwSVCvgB79HczKyS1dcKbjeJ0 +9EjKRYNkiE13KED9vowRfXNVt/focMoJuIF6giEuRpWMlsEVtFg3Bnll 0HP1RteyKBSeL02ubnpxHCw/oLR96Wv8Bq/QULkZj3NZzeD9a+5GAn4w5 g==; IronPort-SDR: 8T3Jv4jgZTBHZRSwFGHCNWgmKpnXZpalg1Wkv+YD+3kejlcoSKNJnwPhmfDDtHWfWbt/S5G4RK 1+CLZa5l1rrsK6SDE47InsOygILEEbT3d/QpYIQ3Ume5fQcN9zrblKXqOsPaGxApXidit4Ckr3 q5va7rd2+Oa+69x3BkgJwCNVMMkRBTmlEnfxjQvOKBArKXdnIDYLMCG/nzliAOPhXA4B7xxmDf pJqL6EzlbrScsLRtiuptEqmgwL4wuT+cHCRaCCgSiC3pxiESErfnmlyXNYCurNiwjBF3H07LsO 3Ldh4/eyNOVMW/nbInz1O5Kh X-IronPort-AV: E=Sophos;i="5.85,340,1624345200"; d="scan'208";a="138186833" Received: from smtpout.microchip.com (HELO email.microchip.com) ([198.175.253.82]) by esa5.microchip.iphmx.com with ESMTP/TLS/AES256-SHA256; 01 Oct 2021 15:58:33 -0700 Received: from chn-vm-ex03.mchp-main.com (10.10.85.151) by chn-vm-ex03.mchp-main.com (10.10.85.151) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2176.14; Fri, 1 Oct 2021 15:58:32 -0700 Received: from NAM10-MW2-obe.outbound.protection.outlook.com (10.10.215.89) by email.microchip.com (10.10.87.152) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2176.14 via Frontend Transport; Fri, 1 Oct 2021 15:58:32 -0700 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=QGYsCRymjYd2jeb7x2N9VmYI+y1/BlSbJKCU8msiKNH2tTCV/MF9/bH1+Wbkta/qkI94kjgDT2ePo/tpG1CY3ZsbspdblIPvizvhTkKq7CzjBMKy3Y7/obCnREtZYPzivLKCh4yvarKOprq9KhLg+rSeiX/Y5X2oL33b8RSveHu1u915uSaqOlUu/FUhG7wmkQU5MJB9FcUuBxva7EGYiDtFTSElY60IvEBGoA7V6Bx67pNkddyCe3yGscqBz0aXO2TqwzmdYq20lGksR7n4gZJLpB3EhOGqmkBZ46LW3BsmhUuh6ZB6aaHBbXO7vDL4YmgTFmZ5G/0L1rptxZB0fw== 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=4g9uU3XE9iUBujsQ30ABVXWOl5GhA7nTk8gHV72VxH8=; b=i3sk5Y/Y/H/wcfKlT/akFaplZvODO3c7EJpcrzIWWifBHrp8oXDf0ScgJcwRdwLIsJVReSMLUZ7vAZPjVnKGOAAaz5A8lW5aF/wwuU/kE/PWmBC92XTNEU+kyvvTEbDHyojIOS1rSuEFuU4fgDsv/EIUyfd50UQ3KU5YTACW1LrhgHQd39dLod3VPXa3s11BoutFYDCK2LQEeCCbRkJE6IxIAP4BwmvjykG9D9hMvjr4kpweXSu8+K7LpVLVlScsbJuTM6CCoyf+aOyD7LN5cz9YkExR8NZ1R8UFJqVN3bpwASy1x3xqPzEcJ/SCKTfBwTg6yxx1eRZaGz7vzWCahw== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=microchip.com; dmarc=pass action=none header.from=microchip.com; dkim=pass header.d=microchip.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=microchiptechnology.onmicrosoft.com; s=selector2-microchiptechnology-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=4g9uU3XE9iUBujsQ30ABVXWOl5GhA7nTk8gHV72VxH8=; b=XJG/kzzBIbhtbcluzTYpb2ygfQ5Axas+F4hixNcXFrKgZDfMdyTzsfD/eJ1cNGzb+AhM05PSuAEw/R0eboKmQqDsZ1Ba8+55p3kIfkoiv0Sb7qa/peRmFqNASF6w0VBLkTQozN9VvzDhYporZ99RFEmJXcFhtlnU70Ogug6vs/c= Received: from CO6PR11MB5618.namprd11.prod.outlook.com (2603:10b6:303:13f::24) by CO6PR11MB5602.namprd11.prod.outlook.com (2603:10b6:303:13a::5) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4566.14; Fri, 1 Oct 2021 22:58:30 +0000 Received: from CO6PR11MB5618.namprd11.prod.outlook.com ([fe80::9166:4e26:f15:6d14]) by CO6PR11MB5618.namprd11.prod.outlook.com ([fe80::9166:4e26:f15:6d14%4]) with mapi id 15.20.4566.019; Fri, 1 Oct 2021 22:58:29 +0000 From: To: CC: , , , , , Subject: Re: [PATCH 1/5] PCI/switchtec: Error out MRPC execution when no GAS access Thread-Topic: [PATCH 1/5] PCI/switchtec: Error out MRPC execution when no GAS access Thread-Index: AQHXsPrc5TKXfpZvzECl3XIr0t7wG6u+oQAAgAAsYQA= Date: Fri, 1 Oct 2021 22:58:29 +0000 Message-ID: <2f7b4e6debbf7156a4da26bad0373d9df9667e66.camel@microchip.com> References: <20211001201822.GA962472@bhelgaas> In-Reply-To: <20211001201822.GA962472@bhelgaas> Accept-Language: en-US, zh-CN Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: user-agent: Evolution 3.36.5-0ubuntu1 authentication-results: kernel.org; dkim=none (message not signed) header.d=none;kernel.org; dmarc=none action=none header.from=microchip.com; x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: 63133af5-d9bf-4c38-1afc-08d9852efc6b x-ms-traffictypediagnostic: CO6PR11MB5602: x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:8882; x-ms-exchange-senderadcheck: 1 x-ms-exchange-antispam-relay: 0 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: 3jtm/WWRlAmQimD5Mcbse3U2J60sUgjBe81sdsx0F5LtW+jFF8DM+FQB3gBfa0ClZ4L/wvd4gLXWeknOXfwZ23xdpvG/5KvOUlBwDpCyKa/MBJ7LsjCQZJjnnOTQmRoI8lYaTpX3hkdxpwblcIgTUHLq7xR9lu8BnDLLsWyuj+TCFo7V7VncXSR89buG4kurC80hdM0obRVebvQHwgRfiwK90sEivinY72fIK5ieH18gsRas3pB0i7/fuOCUDEMt5c4U9YYbCdtsUKXmECupYB7+6Qm5IXjTM+CAYBXkOzkDU/lDHUj3/e3RXaj6OXy9AK4uQpYJAM54N2xE1sRtdRYt3Z0KcgbERE+3SgkYj0rX/fDo6jT02w72od2fMdvACzvARIJ9DbLsjNC9P0oZjvP7tPQyfdKP2utR8pdDfspEXpjHR3063q/1gnWBK+T8lNfgWqLqBuxlh+CQwtpmK3UYTK6D6B0U4iVgfblq0hNAQC6z/PYQoxLenqje+nGe7Evyq6pxFZ44zhRhdN2rnc5KcOElj+aPVR076ISxDGsf+VETLXi/JWQwMgyNr1gQi9mqRbvKeHeWbPMlIlid/n+oWNEpUWAeWjvfa4M86O3RXDNQM7tCp/OipXLOQyvysFd1afWMI3jYFywe4gvK9HMsLExZ9oBbpGB0O1sh/yqPgZMkEiWEfo5yaOLyzKhale6wV+jtUfsXStUGyYM6OA== x-forefront-antispam-report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:CO6PR11MB5618.namprd11.prod.outlook.com;PTR:;CAT:NONE;SFS:(366004)(316002)(83380400001)(38100700002)(26005)(5660300002)(6506007)(54906003)(122000001)(66476007)(76116006)(38070700005)(64756008)(66556008)(66446008)(6486002)(2616005)(6916009)(2906002)(186003)(66946007)(8936002)(86362001)(71200400001)(508600001)(4326008)(6512007)(36756003)(8676002);DIR:OUT;SFP:1101; x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?utf-8?B?Njc5V0MwWGppeklEN0xrTFlLL2ZMaXFCbC9EYWh2RzQrU25FVjdOWnpIdmZz?= =?utf-8?B?N3ZnUzR1S1dmZ2ZPTkt3NC9ESS9hZTJHNnh1K1FSUG5KYzhidENRR0I5Zytj?= =?utf-8?B?OVdFczlBUXQrYnNWeHhrSENZYTJTZFBPemVXVmZvTnJvdTRhY2wya0N0eDRK?= =?utf-8?B?MXMzeGJzR244YXVzNTc3ei9MWWhIQUhhTU1rUkFNb29zSS9hMFJwN2Q0Wi9o?= =?utf-8?B?U1VVWTJtbFA4Vk9JR1B3aEtocy92R05VMG5laWxvdUt6cWYwV2l6TUdJTWZM?= =?utf-8?B?L040dVQ4aTNoWERwQjJVMlNobENKZGh2d1pFWTcwemJyYTd0aE5keVBhd2NW?= =?utf-8?B?V2tNK1dnSG9nUjRXQXhOTllrVWtJMjQxbm84WDRVOXV4ZlRHT3VjYVBJS2F4?= =?utf-8?B?MmMxQyt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XIxajJ5ZDFzc0kyYUdpRkdJVWhnbXpIVGgvNXF2blI4eGNJZExQclYy?= =?utf-8?B?QzRCd29kTjc4bVVQOFlTcUdlNEl2UjdEQnlOZHRFRzIzRlJ1UnI2YVZLWnJt?= =?utf-8?B?R0RFOE81b0dZb2VtUTdZYkpxdTdxSEh5RVZZTWVUamdzR3ZxM1VoS3Vkb1dm?= =?utf-8?B?WWN0TFFNclBhbWdRR2tudVV3OU9rZUNpbXVsTERrZzlZd1dUb0lZbkg2VXZN?= =?utf-8?B?SldNaWZsUDZtOG9KcmdwM1crWWI4Nm1kRnY2STZmWXl1NTZkS291USsxMVly?= =?utf-8?B?YUJ6UDczdkpyODg5Tkw0M0dxWFpoVVlLVjJLRkV5TzA2VHhUTmxjOGZFSUZ2?= =?utf-8?B?Z3h0QWhRWHhBMmJwRWdTeDc4aThaeE8vY3c4dDY5c1NyaG0rT01ZS0REejE2?= =?utf-8?B?WTMxdWc2UkVIT0FOaGlsbHZZRW9CeEZ1dDBuUG5uRDV2SFAybldCQWtXakVw?= =?utf-8?B?aEU3TmFTZSs4RXJvZ3pQZz09?= x-ms-exchange-transport-forked: True Content-Type: text/plain; charset="utf-8" Content-ID: <043BC018C70456439C2240B7836B9109@namprd11.prod.outlook.com> Content-Transfer-Encoding: base64 MIME-Version: 1.0 X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-AuthSource: CO6PR11MB5618.namprd11.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: 63133af5-d9bf-4c38-1afc-08d9852efc6b X-MS-Exchange-CrossTenant-originalarrivaltime: 01 Oct 2021 22:58:29.7800 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 3f4057f3-b418-4d4e-ba84-d55b4e897d88 X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-CrossTenant-userprincipalname: eO13b3wEVsIBOVQcfdIuXU9zdOpLV2wfWBmfWSEQTYD8yYlPbx6Gk5SchxUrdvwCsPLlOtoSLQ0byeubPC/T3E3dYjyyn3KiSeYVoGOokbI= X-MS-Exchange-Transport-CrossTenantHeadersStamped: CO6PR11MB5602 Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org T24gRnJpLCAyMDIxLTEwLTAxIGF0IDE1OjE4IC0wNTAwLCBCam9ybiBIZWxnYWFzIHdyb3RlOg0K PiBPbiBGcmksIFNlcCAyNCwgMjAyMSBhdCAxMTowODozOEFNICswMDAwLCBrZWx2aW4uY2FvQG1p Y3JvY2hpcC5jb20NCj4gd3JvdGU6DQo+ID4gRnJvbTogS2VsdmluIENhbyA8a2VsdmluLmNhb0Bt aWNyb2NoaXAuY29tPg0KPiA+IA0KPiA+IEFmdGVyIGEgZmlybXdhcmUgaGFyZCByZXNldCwgTVJQ QyBjb21tYW5kIGV4ZWN1dGlvbnMsIHdoaWNoIGFyZQ0KPiA+IGJhc2VkDQo+ID4gb24gdGhlIFBD SSBCQVIgKHdoaWNoIE1pY3JvY2hpcCByZWZlcnMgdG8gYXMgR0FTKSByZWFkL3dyaXRlLCB3aWxs DQo+ID4gaGFuZw0KPiA+IGluZGVmaW5pdGVseS4gVGhpcyBpcyBiZWNhdXNlIGFmdGVyIGEgcmVz ZXQsIHRoZSBob3N0IHdpbGwgZmFpbCBhbGwNCj4gPiBHQVMNCj4gPiByZWFkcyAoZ2V0IGFsbCAx cyksIGluIHdoaWNoIGNhc2UgdGhlIGRyaXZlciB3b24ndCBnZXQgYSB2YWxpZCBNUlBDDQo+ID4g c3RhdHVzLg0KPiANCj4gVHJ5aW5nIHRvIHdyaXRlIGEgbWVyZ2UgY29tbWl0IGxvZyBmb3IgdGhp cywgYnV0IGhhdmluZyBhIGhhcmQgdGltZQ0KPiBzdW1tYXJpemluZyBpdC4gIEl0IHNvdW5kcyBs aWtlIGl0IGNvdmVycyBib3RoIFN3aXRjaHRlYy1zcGVjaWZpYw0KPiAoZmlybXdhcmUgYW5kIE1S UE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