Received: by 2002:a05:7412:37c9:b0:e2:908c:2ebd with SMTP id jz9csp2325804rdb; Thu, 21 Sep 2023 15:35:37 -0700 (PDT) X-Google-Smtp-Source: AGHT+IHDnORDLYmlZVi1T3Nip+bZ6yWlEy+vacZxJee34lpTK/veTpy91i6TQKi+atwbdwbH7te6 X-Received: by 2002:a05:6e02:17ca:b0:350:f956:91c1 with SMTP id z10-20020a056e0217ca00b00350f95691c1mr8332931ilu.24.1695335737220; Thu, 21 Sep 2023 15:35:37 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1695335737; cv=none; d=google.com; s=arc-20160816; b=iZVBa9wR7mviHlBIzLfpdouuTW4wtJ7Ue4Vw/YVQcf2fo/ysByeGXK8SWYY/dH1HZI aBJwfuvSbg2FGNXEL6aMV0d0k0uMio/CUizjd8Ne6Gj0dBlsgT4KkeZT0RbWKrkMdc3O La0EODu9ctPzjKeHBFv9197WkW5wlh6LLxo4v1XTUtDnHToHM6vObtLsX3Omf6SLV62a DXHNkBMuhjk2iNexjRCuEoQKS7NwJ/pQ/ahCxHyuABB9WuoFvPvrMltgnTdrWJ768WSL QcjJlqcH6DUyRhXXkOdAmPwNi6oG/tOF3aURJR4vcTDANub1iH3Te80IOlWFY0EmcMxx W/Fw== 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=gzWVzDYqIoNls+h0mxN1+SUC8dZ23heWQ5/fbQlPrvU=; fh=6d+0ifjzScEUXTCCGzl5jAcJfizKykV+0UZ6Um1cf9Y=; b=riuOzBrayaqhlyBsN2srDfDk7wo6u426lTpgJPGUFvAK9+SQSnzxqvZEpvDaaVkyN2 StQ7d2odlN7fVSc4z0MjPkfRDOZyKSA1kdAftwGQbwyQPVaKlj+Rhx+Gl9pnt1NT3I8Q +eK6HEyGKZsr64PbsCNf+TTjXvdRdKe0aT9/ttgGosL8nMFLPoDFlDj6Or/mv+/9Vp2S D5oUAW1jVrlcUpXDqMIiaLwlMJLeJqdOuzT2o/ioVrD3upUm9lVagq+e5uyw8XYoBDpV BAXh4Xdj/4XM/KFKzO7StP8zlPM90mYnSOxxfXT08XYJHtHdMOaxhm07IG4zvboIeRKr gcEg== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.35 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 groat.vger.email (groat.vger.email. [23.128.96.35]) by mx.google.com with ESMTPS id q26-20020a631f5a000000b0057884435a75si2401063pgm.628.2023.09.21.15.35.36 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 21 Sep 2023 15:35:37 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.35 as permitted sender) client-ip=23.128.96.35; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.35 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 groat.vger.email (Postfix) with ESMTP id 97A5C8387EDD; Thu, 21 Sep 2023 15:23:06 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at groat.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231905AbjIUWXH convert rfc822-to-8bit (ORCPT + 99 others); Thu, 21 Sep 2023 18:23:07 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:36062 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232007AbjIUWWv (ORCPT ); Thu, 21 Sep 2023 18:22:51 -0400 Received: from eu-smtp-delivery-151.mimecast.com (eu-smtp-delivery-151.mimecast.com [185.58.86.151]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 4AE3994 for ; Thu, 21 Sep 2023 15:22:30 -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-195-nCruYfTANVavYpk8gD9WoQ-1; Thu, 21 Sep 2023 23:22:12 +0100 X-MC-Unique: nCruYfTANVavYpk8gD9WoQ-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; Thu, 21 Sep 2023 23:22:11 +0100 Received: from AcuMS.Aculab.com ([::1]) by AcuMS.aculab.com ([::1]) with mapi id 15.00.1497.048; Thu, 21 Sep 2023 23:22:11 +0100 From: David Laight To: 'Bjorn Helgaas' , Shuai Xue CC: "lenb@kernel.org" , "james.morse@arm.com" , "Rafael J. Wysocki" , "bp@alien8.de" , "mahesh@linux.ibm.com" , "bhelgaas@google.com" , Jonathan Cameron , "gregkh@linuxfoundation.org" , "linux-acpi@vger.kernel.org" , "linux-kernel@vger.kernel.org" , "linuxppc-dev@lists.ozlabs.org" , Linux PCI , Baolin Wang Subject: RE: Questions: Should kernel panic when PCIe fatal error occurs? Thread-Topic: Questions: Should kernel panic when PCIe fatal error occurs? Thread-Index: AQHZ7Bag+I9/7O2gw0aXfXPFoWr8dLAl2OAA Date: Thu, 21 Sep 2023 22:22:11 +0000 Message-ID: <625cdd6c55994bf3a50efd8f79680029@AcuMS.aculab.com> References: <20230920230257.GA280837@bhelgaas> In-Reply-To: <20230920230257.GA280837@bhelgaas> 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: 8BIT 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 groat.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 (groat.vger.email [0.0.0.0]); Thu, 21 Sep 2023 15:23:06 -0700 (PDT) > It would be nice if they worked the same, but I suspect that vendors > may rely on the fact that CPER_SEV_FATAL forces a restart/panic as > part of their system integrity story. The file system errors created by a panic (especially an NMI panic) could easily be more problematic than a failed PCIe data transfer. Evan a read that returned ~0u - which can be checked for. Panicking a system that is converting TDM telephony to RTP for the 911 emergency service because a PCIe cable/riser connecting one of the TDM board has become loose doesn't seem ideal. (Or because the TDM board's fpga has decided it isn't going to respond to any accesses until the BARs are setup again...) The system can carry on with some TDM connections disabled - but that is ok because they are all duplicated in case a cable gets cuit. (Yes - that is a live system...) David - Registered Address Lakeside, Bramley Road, Mount Farm, Milton Keynes, MK1 1PT, UK Registration No: 1397386 (Wales)