Received: by 2002:a05:6a10:9afc:0:0:0:0 with SMTP id t28csp1454161pxm; Thu, 3 Mar 2022 18:42:05 -0800 (PST) X-Google-Smtp-Source: ABdhPJx+4GkpHEZYaLVTxtgsyeFxlLFrOk2lT/FVDtgMxKeWiNTxxfYziPo5WP+R+KEMAOi/p8OA X-Received: by 2002:a17:907:9691:b0:6d1:711d:9050 with SMTP id hd17-20020a170907969100b006d1711d9050mr30595136ejc.755.1646361725406; Thu, 03 Mar 2022 18:42:05 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1646361725; cv=none; d=google.com; s=arc-20160816; b=BvkrOY5+gAaWBqI0ZuOnFeLG834UoiD2h/tCH+0dc0NDzrWdqvq91KmjTdV2dYLW1s TgkzPCMMLomvmm5Cp9sge5wN+xlBcu2ItZH8u1tVLljHhS/e28ftSHdUaJjO6jc4jfX1 V8DvMY05u+tIBScTWJXEsLWFZJv4qGzvG9YqfX5Y3EmYoJkpLOQ9p/aF70Juf3sP3Z/G tVCfc7o9RvyQ0irRvE/avo6V8ckysVdpsW/WQHxX+0RcZOxA27i7nMS4q3BXw8UOMtsY mh28yBnTxhkngCeI6L4xeC96TwUuDau7hWh/mtHBWZ1MlsZ9yBHPy0JAPyIxSWXcyE+t TJWw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:content-transfer-encoding :content-id:content-language:accept-language:in-reply-to:references :message-id:date:thread-index:thread-topic:subject:cc:to:from :dkim-signature; bh=WxWNOPjRdYh/JVu+ZBp7sF5khIVMCO6Kbl2Q4xhS05I=; b=iRJiUIt6F1TNeshAL8+N19eIjKhjLI8XydNSyo7imsZff4qi9NeZB76VpP8z8GSCFB 2LHNNn2g4VSokBv34YEVcaFMpr7IdU7XQ4RAKNEXYgUWnrIV/LarITbLuIknwCqwGLBp MDM6k6/XoEoClhA8sz0A8QgK+rI1biyFD3egeGWIubsC9hP+ilKz8CDsNSBtgOzWl/m7 scI4gfo/zXG85S0d4BMkM0GGW5E7T8VflzqVL6QQnuxiUdXt3g8IIvRO+IVwHK0c/ypi 2qHSvmhW6bXTje63I/DZzg/IxYpHz9y3hdEo2r+gjV8dnYk4HbB+Y6Gz7jjrCZEaYuA6 PCeg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@alliedtelesis.co.nz header.s=mail181024 header.b="H/hL4xEr"; 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=NONE dis=NONE) header.from=alliedtelesis.co.nz Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id u17-20020aa7d991000000b00415effa61basi1291296eds.265.2022.03.03.18.41.42; Thu, 03 Mar 2022 18:42:04 -0800 (PST) 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=@alliedtelesis.co.nz header.s=mail181024 header.b="H/hL4xEr"; 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=NONE dis=NONE) header.from=alliedtelesis.co.nz Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S237560AbiCDBbZ (ORCPT + 99 others); Thu, 3 Mar 2022 20:31:25 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:36260 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229934AbiCDBbX (ORCPT ); Thu, 3 Mar 2022 20:31:23 -0500 Received: from gate2.alliedtelesis.co.nz (gate2.alliedtelesis.co.nz [IPv6:2001:df5:b000:5::4]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 6D9C47E5BB for ; Thu, 3 Mar 2022 17:30:36 -0800 (PST) Received: from svr-chch-seg1.atlnz.lc (mmarshal3.atlnz.lc [10.32.18.43]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by gate2.alliedtelesis.co.nz (Postfix) with ESMTPS id 15AB12C0B90; Fri, 4 Mar 2022 01:30:30 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=alliedtelesis.co.nz; s=mail181024; t=1646357430; bh=WxWNOPjRdYh/JVu+ZBp7sF5khIVMCO6Kbl2Q4xhS05I=; h=From:To:CC:Subject:Date:References:In-Reply-To:From; b=H/hL4xEraAETeTp3XP76WqXjt5cbu8Y6dcynjlOoSwP5GZ1CID+jTJlLBMmubTmq8 yXH6XRf5cBvqNIi9Yb8J/xAeOaY48h/diDQZgJeGRvYAGXSGJ/RzU97XwXRJyCxYg7 GbZnyBV9Ftiaz3Wkx8b5u+fB6ULERNP8lZjA0YjpPu23jhZrpuwGOxXhIksplkBPOj 62NBRduDnMBy0yIkuYG4fZWfnEr7MTKzVLwUiHfEUsz0XYrtEDrcfeBgkUd8fZ/5k7 rnt3uDwWOpeHLTYTlOoPm2RoDPi1H/CSNFwtdfRa/GUlKLtGneIO9GKjSeYj0+VBUf kamMqNze3wX9A== Received: from svr-chch-ex1.atlnz.lc (Not Verified[2001:df5:b000:bc8::77]) by svr-chch-seg1.atlnz.lc with Trustwave SEG (v8,2,6,11305) id ; Fri, 04 Mar 2022 14:30:29 +1300 Received: from svr-chch-ex1.atlnz.lc (2001:df5:b000:bc8:409d:36f5:8899:92e8) by svr-chch-ex1.atlnz.lc (2001:df5:b000:bc8:409d:36f5:8899:92e8) with Microsoft SMTP Server (TLS) id 15.0.1497.28; Fri, 4 Mar 2022 14:30:29 +1300 Received: from svr-chch-ex1.atlnz.lc ([fe80::409d:36f5:8899:92e8]) by svr-chch-ex1.atlnz.lc ([fe80::409d:36f5:8899:92e8%12]) with mapi id 15.00.1497.028; Fri, 4 Mar 2022 14:30:29 +1300 From: Chris Packham To: Bjorn Helgaas , Mark Tomlinson CC: "ray.jui@broadcom.com" , "sbranden@broadcom.com" , "f.fainelli@gmail.com" , "lorenzo.pieralisi@arm.com" , "robh@kernel.org" , "linux-pci@vger.kernel.org" , "linux-kernel@vger.kernel.org" Subject: Re: [PATCH v4] PCI: Reduce warnings on possible RW1C corruption Thread-Topic: [PATCH v4] PCI: Reduce warnings on possible RW1C corruption Thread-Index: AQHYL2duvQH9Acig/EShRiGLv00N8w== Date: Fri, 4 Mar 2022 01:30:29 +0000 Message-ID: <679ac5f4-d6b7-5c94-39d5-441c68576911@alliedtelesis.co.nz> References: <20200820221142.GA1571008@bjorn-Precision-5520> In-Reply-To: <20200820221142.GA1571008@bjorn-Precision-5520> Accept-Language: en-NZ, en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-ms-exchange-messagesentrepresentingtype: 1 x-ms-exchange-transport-fromentityheader: Hosted x-originating-ip: [10.32.1.11] Content-Type: text/plain; charset="utf-8" Content-ID: <8674ECF46E283A43A0823E9CE0923816@atlnz.lc> Content-Transfer-Encoding: base64 MIME-Version: 1.0 X-SEG-SpamProfiler-Analysis: v=2.3 cv=c43Vvi1l c=1 sm=1 tr=0 a=Xf/6aR1Nyvzi7BryhOrcLQ==:117 a=xqWC_Br6kY4A:10 a=oKJsc7D3gJEA:10 a=IkcTkHD0fZMA:10 a=o8Y5sQTvuykA:10 a=VwQbUJbxAAAA:8 a=73XRR-X3sCTW9Fgc-S8A:9 a=QEXdDO2ut3YA:10 a=XuX4-iSP0wQA:10 a=AjGcO6oz07-iQ99wixmX:22 X-SEG-SpamProfiler-Score: 0 X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,SPF_HELO_PASS,SPF_PASS, T_SCC_BODY_TEXT_LINE autolearn=unavailable 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 SGkgQWxsLA0KDQpPbiAyMS8wOC8yMCAxMDoxMSwgQmpvcm4gSGVsZ2FhcyB3cm90ZToNCj4gT24g VGh1LCBBdWcgMDYsIDIwMjAgYXQgMDQ6MTQ6NTVQTSArMTIwMCwgTWFyayBUb21saW5zb24gd3Jv dGU6DQo+PiBGb3IgaGFyZHdhcmUgdGhhdCBvbmx5IHN1cHBvcnRzIDMyLWJpdCB3cml0ZXMgdG8g UENJIHRoZXJlIGlzIHRoZQ0KPj4gcG9zc2liaWxpdHkgb2YgY2xlYXJpbmcgUlcxQyAod3JpdGUt b25lLXRvLWNsZWFyKSBiaXRzLiBBIHJhdGUtbGltaXRlZA0KPj4gbWVzc2FnZXMgd2FzIGludHJv ZHVjZWQgYnkgZmIyNjU5MjMwMTIwLCBidXQgcmF0ZS1saW1pdGluZyBpcyBub3QgdGhlDQo+PiBi ZXN0IGNob2ljZSBoZXJlLiBTb21lIGRldmljZXMgbWF5IG5vdCBzaG93IHRoZSB3YXJuaW5ncyB0 aGV5IHNob3VsZCBpZg0KPj4gYW5vdGhlciBkZXZpY2UgaGFzIGp1c3QgcHJvZHVjZWQgYSBidW5j aCBvZiB3YXJuaW5ncy4gQWxzbywgdGhlIG51bWJlcg0KPj4gb2YgbWVzc2FnZXMgY2FuIGJlIGEg bnVpc2FuY2Ugb24gZGV2aWNlcyB3aGljaCBhcmUgb3RoZXJ3aXNlIHdvcmtpbmcNCj4+IGZpbmUu DQo+Pg0KPj4gVGhpcyBwYXRjaCBjaGFuZ2VzIHRoZSByYXRlbGltaXQgdG8gYSBzaW5nbGUgd2Fy bmluZyBwZXIgYnVzLiBUaGlzDQo+PiBlbnN1cmVzIG5vIGJ1cyBpcyAnc3RhcnZlZCcgb2YgZW1p dHRpbmcgYS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