From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from lists.ozlabs.org (lists.ozlabs.org [112.213.38.117]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 026C4E6BF04 for ; Fri, 30 Jan 2026 12:05:03 +0000 (UTC) Received: from boromir.ozlabs.org (localhost [127.0.0.1]) by lists.ozlabs.org (Postfix) with ESMTP id 4f2ZSs69Gdz2xS7; Fri, 30 Jan 2026 23:05:01 +1100 (AEDT) Authentication-Results: lists.ozlabs.org; arc=none smtp.remote-ip=83.223.78.240 ARC-Seal: i=1; a=rsa-sha256; d=lists.ozlabs.org; s=201707; t=1769774701; cv=none; b=YmiVGelk2Z3/j25V01KNjrxV1f6mq8Pe46U8SeZOXiIF9FuJPsOfrQcjDgO+i+ibAbA6w/pONVqMsATPJ5ayKfzlyLLN9MqSQiDoZZsS6UkvfUR+9EZLPifchfRWiiwtEoiCR7v4/WQIuUA3ziCbui+Cut6eFGz3pgQEyWQEQR+6/9RDn4kfRS4Gsm/PNOEsAtX3moDSXStKXBFindrNllwc55PHn7wCiOwcR2Cdcfdz3jls2G8qcLQKx5DKRq7z+j/ymNrZNrXLTpFbY59WmgueP9gtPtEeXN/W8vaFF9gc4KZIbs+cItcqDuv1yF0C4GHSgtmxJ7tQQH8P+YP6CQ== ARC-Message-Signature: i=1; a=rsa-sha256; d=lists.ozlabs.org; s=201707; t=1769774701; c=relaxed/relaxed; bh=efaCVRq6qsWUgBJqlh7FMFp+f3/sulNDqCLb8eykcL4=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=aetQVd5mMBAGw31P2LcOCuyGqzfHXzTDteF2FNlyEYYShDZM/xm9RXvrSAjJzLG52SIM6NaQnOO/mlBlYJXGStvvH2bKtVgYATFuVk/eA3DreSf+Hdo1zV+aD4f8Qxds3VRYtHJk/dMEX3OMvqMwcY6brXCP5LqEpe/3G16psQ1VMYl14enQ8l3/hD1/ZtMESgwjfaYRiPNIB4LfzhY7gRgljaWBYepCz+Br06wmqAbq1AfCH/l7CCuJmwEDRbODBjxflIWKDFGf9DWoqi8d7humW2FuIweWUZpUVvPanTpqOZFVv9LkwHebv1pZxmtiwdMi3KICkA97YLc/MNJ+Cg== ARC-Authentication-Results: i=1; lists.ozlabs.org; dmarc=none (p=none dis=none) header.from=wunner.de; spf=pass (client-ip=83.223.78.240; helo=bmailout2.hostsharing.net; envelope-from=foo00@h08.hostsharing.net; receiver=lists.ozlabs.org) smtp.helo=bmailout2.hostsharing.net Authentication-Results: lists.ozlabs.org; dmarc=none (p=none dis=none) header.from=wunner.de Authentication-Results: lists.ozlabs.org; spf=pass (sender SPF authorized) smtp.helo=bmailout2.hostsharing.net (client-ip=83.223.78.240; helo=bmailout2.hostsharing.net; envelope-from=foo00@h08.hostsharing.net; receiver=lists.ozlabs.org) X-Greylist: delayed 330 seconds by postgrey-1.37 at boromir; Fri, 30 Jan 2026 23:05:00 AEDT Received: from bmailout2.hostsharing.net (bmailout2.hostsharing.net [83.223.78.240]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange x25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by lists.ozlabs.org (Postfix) with ESMTPS id 4f2ZSr0wF4z2xS6 for ; Fri, 30 Jan 2026 23:05:00 +1100 (AEDT) Received: from h08.hostsharing.net (h08.hostsharing.net [83.223.95.28]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (secp384r1) server-digest SHA384 client-signature ECDSA (secp384r1) client-digest SHA384) (Client CN "*.hostsharing.net", Issuer "GlobalSign GCC R6 AlphaSSL CA 2025" (verified OK)) by bmailout2.hostsharing.net (Postfix) with ESMTPS id 85CA72007FB1; Fri, 30 Jan 2026 12:59:14 +0100 (CET) Received: by h08.hostsharing.net (Postfix, from userid 100393) id 75DB71BDD9; Fri, 30 Jan 2026 12:59:14 +0100 (CET) Date: Fri, 30 Jan 2026 12:59:14 +0100 From: Lukas Wunner To: LeoLiu-oc Cc: Bjorn Helgaas , mahesh@linux.ibm.com, oohall@gmail.com, bhelgaas@google.com, linuxppc-dev@lists.ozlabs.org, linux-pci@vger.kernel.org, linux-kernel@vger.kernel.org, CobeChen@zhaoxin.com, TonyWWang@zhaoxin.com, ErosZhang@zhaoxin.com Subject: Re: [PATCH] PCI: dpc: Increase pciehp waiting time for DPC recovery Message-ID: References: <20260123202140.GA84703@bhelgaas> <3af9f754-d282-485c-a3f2-49a230bfe143@zhaoxin.com> X-Mailing-List: linuxppc-dev@lists.ozlabs.org List-Id: List-Help: List-Owner: List-Post: List-Archive: , List-Subscribe: , , List-Unsubscribe: Precedence: list MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <3af9f754-d282-485c-a3f2-49a230bfe143@zhaoxin.com> On Wed, Jan 28, 2026 at 06:07:51PM +0800, LeoLiu-oc wrote: > Without this patch, PCIE devices may not be usable and could even cause > more serious errors, such as a kernel panic. For example, the following > log is encountered in hardware testing: > > list_del corruption, ffff8881418b79e8->next is LIST_POISON1 > (dead000000000100) > ------------[ cut here ]------------ > kernel BUG at lib/list_debug.c:56! > invalid opcode: 0000 [#1] PREEMPT SMP NOPTI > ... > Kernel panic - not syncing: Fatal exception This should not happen. Which kernel version are you using? There used to be a use-after-free on concurrent DPC and hot-removal. It was fixed by 11a1f4bc4736, which went into v6.11 and was subsequently ported all the way back to v5.10-stable. I suspect you may be using a kernel which lacks that fix. Thanks, Lukas