From mboxrd@z Thu Jan 1 00:00:00 1970 Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.remote-ip=144.76.133.104 ARC-Seal: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=none; t=1796209120; b=gWdp0GN8wDY5MNc0BM2x+4GjxVpWNGVujaVvhsQTfvPRIvxVJNMtLDPMjmrmyXNQS2Yg BO+/yiTG23iKLm7wPLJJNz9enm3Y1i6Ow/qqQ7yP0lF3yaNFh1TLLFTWDi5KKe3wl7kI6 129VHdbwcZZWcRpDbDmenREf4KfKSfVxLTx3K9PJ7PqC1Go1sizGaNOIuCbhd14S/Sjph gHskzcOofYgnXWmSUDpVYHzFfsy36Rt5EhlrCqzpLXxLyfOF5hDDLz81PdS5qpSDCNmTi huKa+/Y12z9dDCMEwpF3gMlXtvCnb8qFwmYa2xSQ5dWj7fWWdtl3MZ5N3CJmSRVXu0g== ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1796209120; h=DMARC-Filter:Received:Received:Date:From:To:Cc:Subject:Message-ID: References:MIME-Version:Content-Type:Content-Disposition:In-Reply-To; bh=HW0Lm/8DLsgYfY/x7HR7x8rwLPVBy8mZKhvMaaDCV6M=; b=azWgZ9beRW/aoCuovoYVmz3iICKs277zs0ECYq5tH16W+spq5Su1rmeer/wTgmPtU0u7 PPk0CgFVgdSfRq11/ejTzuzFlyt3DZDXR5yEBEmRlOLpOXnP072BOua5YroqFwc/7PTcc L464g22NmmE++bsNFkZK/f6ZXUNtaiFdiHV22kghT0B2dGNvwEtcso780O676BhLISV1D QvfwuL5D5m6aEPZrgAfInlqA6JzqP8X5jq4nt2E4Sc11KmJSFziqYlng5G9cTKcT2RZQ9 4yIXU1Ve1MaVWwMoyxCIWik7uh1e9FpSGuW8DWPl57LWIYANzT4isFhpDjreXgx/adQ== ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=none header.from=wunner.de; spf=pass smtp.mailfrom=wunner.de; arc=none smtp.remote-ip=144.76.133.104 Received: from mailout3.hostsharing.net (mailout3.hostsharing.net [144.76.133.104]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (prime256v1) server-digest SHA256) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 41D0F606A31A; Wed, 2 Dec 2026 10:58:38 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.2 smtp.subspace.kernel.org 41D0F606A31A Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=wunner.de Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=wunner.de Received: from h08.hostsharing.net (h08.hostsharing.net [IPv6:2a01:37:1000::53df:5f1c:0]) (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 mailout3.hostsharing.net (Postfix) with ESMTPS id D6CD3D51; Wed, 02 Dec 2026 11:58:36 +0100 (CET) Received: by h08.hostsharing.net (Postfix, from userid 100393) id 9A5B260CFB50; Wed, 2 Dec 2026 11:58:36 +0100 (CET) Date: Wed, 2 Dec 2026 11:58:36 +0100 From: Lukas Wunner To: ChunAn Wu Cc: bhelgaas@google.com, linux-pci@vger.kernel.org, stable@vger.kernel.org Subject: Re: [PATCH v2] PCI/AER: Keep ANFE masked on Dell Pro Precision 9 R2 Message-ID: References: <20261202032740.123728-1-an.wu@canonical.com> X-Mailing-List: stable@vger.kernel.org List-Id: List-Post: List-Help: List-Subscribe: List-Unsubscribe: List-Owner: Precedence: list MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20261202032740.123728-1-an.wu@canonical.com> On Wed, Dec 02, 2026 at 11:27:40AM +0800, ChunAn Wu wrote: > Since commit eddba19b8b5f ("PCI/AER: Support Advisory Non-Fatal > Errors"), pci_aer_init() unmasks Advisory Non-Fatal Errors (ANFE) on > devices with native AER. > > On the Dell Pro Precision 9 R2 PW9R2275, enumeration reads absent devices > behind some bridges, such as the PLDA PCIe-to-PCI bridge in front of the > BMC VGA device and the PCIe switch in front of an AMD GPU. The bridge > returns a UR completion and, with ANFE unmasked, also signals the error > through Firmware First. The firmware reports it as a fatal error even > though the hardware severity is non-fatal (bit 20 of the Uncorrectable > Error Severity register is clear). [...] > - Tested on Dell Pro Precision 9 R2 PW9R2275 (BIOS 0.0.8): no GHES > fatal records, and both amdgpu and mgag200 probe. That's a brand new machine with the latest "Granite Rapids" Xeon CPU. The BIOS version looks like it's still in beta. Isn't there a newer BIOS available from Dell? Do you have an FAE or other contact there whom you could ask for the BIOS to be fixed? Usually quirks are only accepted if there's no newer, fixed BIOS available and the vendor is never going to provide one. > +++ b/drivers/pci/quirks.c This would better fit in arch/x86/pci/fixup.c so that's it's not compiled on other arches that don't need it. Also it should be #ifdef'ed to CONFIG_PCIEAER. > +static void quirk_dmi_no_aer_anfe(struct pci_dev *dev) > +{ > + static int dmi_matched = -1; > + > + if (dmi_matched < 0) > + dmi_matched = dmi_check_system(no_aer_anfe_dmi_table) ? 1 : 0; > + > + if (dmi_matched) > + dev->no_aer_anfe = 1; > +} Why not simply: if (dmi_check_system(no_aer_anfe_dmi_table)) dev->no_aer_anfe = 1; ? > +DECLARE_PCI_FIXUP_EARLY(PCI_ANY_ID, PCI_ANY_ID, quirk_dmi_no_aer_anfe); Applying this to all devices is pretty heavy-handed: It means a DMI check is performed for *every* PCI device on *every* x86 machine. It would be better to constrain it to the Vendor/Device IDs that actually need it. But again, if Dell can provide a fixed BIOS that would be even better. Thanks, Lukas