Received: by 2002:a05:7412:2a8c:b0:e2:908c:2ebd with SMTP id u12csp1051088rdh; Mon, 25 Sep 2023 01:24:55 -0700 (PDT) X-Google-Smtp-Source: AGHT+IEaSLmjgOCrHe+y3tPmOioSD8AAVjGlinHgQjdSz/sVceK7tQeE7m/ZtHQCt4kyQDjedtKW X-Received: by 2002:a92:c5d2:0:b0:351:1d53:c762 with SMTP id s18-20020a92c5d2000000b003511d53c762mr6461225ilt.5.1695630294716; Mon, 25 Sep 2023 01:24:54 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1695630294; cv=none; d=google.com; s=arc-20160816; b=gFb/UVJqXK/wIGW9k3KYJ33iFn3pJQItl/FN3fzh58F8LrRkHcc2quklXoCHLu+QRU +lT7MsaxhCWRUSzWjZog520DJIsaQfchyaWgoZCAQOUIFsxRMli9A2TGCQHlQvnPKhXY W5maSNeHixuhyyPSWCcG3S7HT6v8EZdStYyg+MaRlt5vHAQCwbyV4G88vLeVkmWTk+XU +v9Mm0qC9Dpm/dsbgwLU9pnfHzz+J5Z2gs+AwEEc2Bt3NZwLQmx7n7Y9sWzpvrKWWWCH DebWKoHKD6y9e1WMkkkm//zY/bHzDWV9RouBPBGSa3Kg/NtPw9z5AtP0FWMtEl7FsFec 0SIg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:content-language :mime-version:accept-language:in-reply-to:references:message-id:date :thread-index:thread-topic:subject:cc:to:from; bh=opn9V77nWoVYTMsP3dfIyiwM7cLZwT3wlwIEmhmS0z0=; fh=v/tdPpZpBpIJt7n+Jqp+uv6/vYsmxW/riCF+UYQVSvI=; b=0Dv16jN/38sufk69AllAtOrN5FZ6IO7RYAXElytrHdOwacmymiqx+1V4gb9bWCPbbp dbm/B7BRLHM2sVKdw0mAqLdReWkLQGkcR4Mv0onmxnYH8gJw3iVKmZF1k0EaKX76Q5n6 ch+/Lx5NYYN7cWr50vfzkfmqnmhMZV4KvvFbZ628w1/LTOCt/faVDrueZxvNijw89l7e K4Mo+iVD6Ay51SmH+GZ/XtHhxjCSgSf1223ZMnMj0a2Zg4E80dZPJcAkYoFlpwpC0mwC 22oj+v5rccNlrTRORzwKOs8k7kbB/VFlPcsCBtL1rhNdSAO5FNjlteZjUWPJsl83OMpZ 6qiw== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.31 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=aculab.com Return-Path: Received: from morse.vger.email (morse.vger.email. [23.128.96.31]) by mx.google.com with ESMTPS id h62-20020a638341000000b00578d76873a5si9735975pge.708.2023.09.25.01.24.54 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 25 Sep 2023 01:24:54 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.31 as permitted sender) client-ip=23.128.96.31; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.31 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=aculab.com Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by morse.vger.email (Postfix) with ESMTP id DAEDF8104F64; Mon, 25 Sep 2023 01:08:16 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at morse.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232600AbjIYIHy (ORCPT + 99 others); Mon, 25 Sep 2023 04:07:54 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:35848 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232585AbjIYIHw (ORCPT ); Mon, 25 Sep 2023 04:07:52 -0400 Received: from eu-smtp-delivery-151.mimecast.com (eu-smtp-delivery-151.mimecast.com [185.58.85.151]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 73175B3 for ; Mon, 25 Sep 2023 01:07:45 -0700 (PDT) Received: from AcuMS.aculab.com (156.67.243.121 [156.67.243.121]) by relay.mimecast.com with ESMTP with both STARTTLS and AUTH (version=TLSv1.2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384) id uk-mta-40-yCHXM_ZnNDeRG6PClZKq0A-1; Mon, 25 Sep 2023 09:07:37 +0100 X-MC-Unique: yCHXM_ZnNDeRG6PClZKq0A-1 Received: from AcuMS.Aculab.com (10.202.163.4) by AcuMS.aculab.com (10.202.163.4) with Microsoft SMTP Server (TLS) id 15.0.1497.48; Mon, 25 Sep 2023 09:07:36 +0100 Received: from AcuMS.Aculab.com ([::1]) by AcuMS.aculab.com ([::1]) with mapi id 15.00.1497.048; Mon, 25 Sep 2023 09:07:36 +0100 From: David Laight To: 'Shuai Xue' , Bjorn Helgaas CC: "Rafael J. Wysocki" , "gregkh@linuxfoundation.org" , Linux PCI , "mahesh@linux.ibm.com" , "linux-kernel@vger.kernel.org" , "linux-acpi@vger.kernel.org" , "bp@alien8.de" , Baolin Wang , Jonathan Cameron , "bhelgaas@google.com" , "james.morse@arm.com" , "linuxppc-dev@lists.ozlabs.org" , "lenb@kernel.org" Subject: RE: Questions: Should kernel panic when PCIe fatal error occurs? Thread-Topic: Questions: Should kernel panic when PCIe fatal error occurs? Thread-Index: AQHZ7ISwt0MI+BDoAEe5dUPUvfmXNrAlQDAwgAV5fACAAHb74A== Date: Mon, 25 Sep 2023 08:07:35 +0000 Message-ID: References: <20230920230257.GA280837@bhelgaas> <2e5870e416f84e8fad8340061ec303e2@AcuMS.aculab.com> In-Reply-To: Accept-Language: en-GB, en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-ms-exchange-transport-fromentityheader: Hosted x-originating-ip: [10.202.205.107] MIME-Version: 1.0 X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: aculab.com Content-Language: en-US Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: base64 X-Spam-Status: No, score=-0.8 required=5.0 tests=HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on morse.vger.email Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (morse.vger.email [0.0.0.0]); Mon, 25 Sep 2023 01:08:17 -0700 (PDT) RnJvbTogU2h1YWkgWHVlDQo+IFNlbnQ6IDI1IFNlcHRlbWJlciAyMDIzIDAyOjQ0DQo+IA0KPiBP biAyMDIzLzkvMjEgMjE6MjAsIERhdmlkIExhaWdodCB3cm90ZToNCj4gPiAuLi4NCj4gPiBJJ3Zl IGdvdCBhIHRhcmdldCB0byBnZW5lcmF0ZSBBRVIgZXJyb3JzIGJ5IGdlbmVyYXRpbmcgcmVhZCBj eWNsZXMNCj4gPiB0aGF0IGFyZSBpbnNpZGUgdGhlIGFkZHJlc3MgcmFuZ2UgdGhhdCB0aGUgYnJp ZGdlIGZvcndhcmRzIGJ1dA0KPiA+IG91dHNpZGUgb2YgYW55IEJBUiBiZWNhdXNlIHRoZXJlIGFy ZSAyIGRpZmZlcmVudCBzaXplZCBCQVJzLg0KPiA+IChQcmV0dHkgZWFzeSB0byBzZXR1cC4pDQo+ ID4gT24gdGhlIHN5c3RlbSBJIHdhcyB1c2luZyB0aGV5IGRpZG4ndCBnZXQgcHJvcGFnYXRlZCBh bGwgdGhlIHdheQ0KPiA+IHRvIHRoZSByb290IGJyaWRnZSAtIGJ1dCB3ZXJlIHZpc2libGUgaW4g dGhlIGxvd2VyIGJyaWRnZS4NCj4gDQo+IFNvIGhvdyBkaWQgeW91IG9ic2VydmUgaXQ/IElmIHRo ZSBlcnJvciBtZX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