From: Timur Tabi Date: Fri, 17 Apr 2026 19:13:55 +0000 (-0500) Subject: gpu: nova-core: do not consider 0xBB77 as a valid PCI ROM header signature X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=44dc8bd6b5b9af46eafa552fb9631e62e8bbf3ac;p=thirdparty%2Fkernel%2Flinux.git gpu: nova-core: do not consider 0xBB77 as a valid PCI ROM header signature Nvidia GPUs have some PCI expansion ROM sections that have an Nvidia- specific signature instead of 0xAA55. Signature 0xBB77 is actually an internal-only value that has been deprecated for over a decade. Nova-core will never encounter a GPU with that signature, so don't look for it. Signed-off-by: Timur Tabi Reviewed-by: Eliot Courtney Reviewed-by: Gary Guo Link: https://patch.msgid.link/20260417191359.1307434-3-ttabi@nvidia.com Signed-off-by: Alexandre Courbot --- diff --git a/drivers/gpu/nova-core/vbios.rs b/drivers/gpu/nova-core/vbios.rs index ebda28e596c5f..e726594eb1309 100644 --- a/drivers/gpu/nova-core/vbios.rs +++ b/drivers/gpu/nova-core/vbios.rs @@ -491,7 +491,7 @@ impl PciRomHeader { // Check for valid ROM signatures. match signature { - 0xAA55 | 0xBB77 | 0x4E56 => {} + 0xAA55 | 0x4E56 => {} _ => { dev_err!(dev, "ROM signature unknown {:#x}\n", signature); return Err(EINVAL);