From nobody Thu Jul 25 05:13:23 2024 X-Original-To: dev-commits-src-main@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4WTzYc19bpz5RHcj; Thu, 25 Jul 2024 05:13:24 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R11" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4WTzYb5nzFz4ZxJ; Thu, 25 Jul 2024 05:13:23 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1721884403; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=LXP9q3PphF85AEnNjkWObcdqR5HHzsGFl7LH9QRfuwg=; b=U2cgqoouIRrBN1g5T420j6Ex8Q5A7YOITWZ38CIMVn8MsWlhmzanLOWklgW2AdztHfS+AN o+uZ/B7JAmbFL7RR/j0a4rNbmEuM8MqhKFlCkUiaTSKVtS0GoL+wvaANHo2Lp0Eww8Gz4R qZh2Zz2foOWMZlXHaD4qbNTiffrIpQ7A1bUsPunzlh7fyRuk1KUV3CBB9bSXb9qrGb26tN 2mdlxvIfvU9F5WpuXrip2p9f5fO+H9RacNuKUnhdutGzh2/d1iRUxiE7jY5Xuzt4iZHrCC eT6BLZdFvbCU1lkzJlGwytK0y3S/JqI+pfAgxiVFWr1VM+DT7Ytw4WQjHn/ARg== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1721884403; a=rsa-sha256; cv=none; b=A328QzmEZEanIkOY8/h0CMhIaYtPE7xB27mShKIRUL2gZGvJxhBn12h2djVsbdmhPRgXZe A3YUT/zqzjmeD8cWB2PU8JXSWApM6z6SO4PR3vUzOUCVGZePxg7tb5mEGbuAjwfh7uW5kY pE98SY3qCmz/CfYiwsN8E1OX8wa/cAqZNRfAk9zwqLtWy+SEj+D1kzSuXzffGTqFExIx/P nUBm4Au6En9FOmWtOMNqDfFQlSvkntKIUuoG0mScsiJ/1J+evAmGUxNLcLYo9EbzVQtYmR muJv8mcuIfmdwtflse9TU84rNnbPl4oCr0I0Zv41SrdgEdiH4CG/UibOUM0UAg== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1721884403; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=LXP9q3PphF85AEnNjkWObcdqR5HHzsGFl7LH9QRfuwg=; b=TugDJq0LIzWAf/v9jY4tHOimMiQjbu7pc2oN6/GNiD7sog8Yc1H1TR89lpyGErrsnHwSyI DvOZGqYZLizG/HbiQT3mfEf6sPOYUifNkQaOV/qjKCFd4Zs2XFZyXTmNznHx4eQEE75D94 uX63M4ElsHTIH5LUtyJXvjUNtg/nE9ZXR7iPikgUJkwsGJjsPAfw2IpFtuzND6pdADjOTK 4ehuT5c7r6DQyOsWdPhrC1O4hENKpAmUwHnbLQw35oOfQ8+e5Q8/6qZIYSxkGGT8hn4VBu VayyVwcJ5gOqINwlpYgjls1kl3VQHDnVIUS4V5LaVKg+hhdQ5oSJLHz+cOxU/w== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4WTzYb5PYWzhgj; Thu, 25 Jul 2024 05:13:23 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.18.1/8.18.1) with ESMTP id 46P5DN3T082451; Thu, 25 Jul 2024 05:13:23 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.18.1/8.18.1/Submit) id 46P5DNDx082448; Thu, 25 Jul 2024 05:13:23 GMT (envelope-from git) Date: Thu, 25 Jul 2024 05:13:23 GMT Message-Id: <202407250513.46P5DNDx082448@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org From: Warner Losh Subject: git: ce41bee0b4b8 - main - ipmi_smbios: Only search for the BIOS signature on x86 List-Id: Commit messages for the main branch of the src repository List-Archive: https://lists.freebsd.org/archives/dev-commits-src-main List-Help: List-Post: List-Subscribe: List-Unsubscribe: X-BeenThere: dev-commits-src-main@freebsd.org Sender: owner-dev-commits-src-main@FreeBSD.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: imp X-Git-Repository: src X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: ce41bee0b4b876a55a94ce7cfa77421e7b274a94 Auto-Submitted: auto-generated The branch main has been updated by imp: URL: https://cgit.FreeBSD.org/src/commit/?id=ce41bee0b4b876a55a94ce7cfa77421e7b274a94 commit ce41bee0b4b876a55a94ce7cfa77421e7b274a94 Author: Warner Losh AuthorDate: 2024-07-25 05:09:21 +0000 Commit: Warner Losh 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;