git: ce41bee0b4b8 - main - ipmi_smbios: Only search for the BIOS signature on x86
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Thu, 25 Jul 2024 05:13:23 UTC
The branch main has been updated by imp: URL: https://cgit.FreeBSD.org/src/commit/?id=ce41bee0b4b876a55a94ce7cfa77421e7b274a94 commit ce41bee0b4b876a55a94ce7cfa77421e7b274a94 Author: Warner Losh <imp@FreeBSD.org> AuthorDate: 2024-07-25 05:09:21 +0000 Commit: Warner Losh <imp@FreeBSD.org> CommitDate: 2024-07-25 05:09:57 +0000 ipmi_smbios: Only search for the BIOS signature on x86 Sponsored by: Netflix --- sys/dev/ipmi/ipmi_smbios.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/sys/dev/ipmi/ipmi_smbios.c b/sys/dev/ipmi/ipmi_smbios.c index b30328e3e616..546db8f2677c 100644 --- a/sys/dev/ipmi/ipmi_smbios.c +++ b/sys/dev/ipmi/ipmi_smbios.c @@ -166,10 +166,12 @@ ipmi_smbios_probe(struct ipmi_get_info *info) addr = (vm_paddr_t)addr_efi; #endif +#if defined(__amd64__) || defined(__i386__) if (addr == 0) /* Find the SMBIOS table header. */ addr = bios_sigsearch(SMBIOS_START, SMBIOS_SIG, SMBIOS_LEN, SMBIOS_STEP, SMBIOS_OFF); +#endif if (addr == 0) return;