Page MenuHomeFreeBSD

smbios: Support (and prefer) the SMBIOS 64-bit Entry Point Structure
ClosedPublic

Authored by imp on Feb 17 2021, 9:34 PM.
Tags
None
Referenced Files
Unknown Object (File)
Oct 5 2024, 7:03 AM
Unknown Object (File)
Oct 4 2024, 11:09 PM
Unknown Object (File)
Oct 2 2024, 1:48 PM
Unknown Object (File)
Oct 2 2024, 12:23 PM
Unknown Object (File)
Sep 27 2024, 4:31 AM
Unknown Object (File)
Sep 24 2024, 11:32 PM
Unknown Object (File)
Sep 24 2024, 3:36 AM
Unknown Object (File)
Sep 9 2024, 1:05 AM
Subscribers

Details

Summary

Sponsored by: Ampere Computing LLC

Diff Detail

Repository
rS FreeBSD src repository - subversion
Lint
Lint Passed
Unit
No Test Coverage
Build Status
Buildable 37114
Build 34003: arc lint + arc unit

Event Timeline

sys/dev/smbios/smbios.c
119

Should take the opportunity of updating this files to add defines for the table length instead of using magic numbers here ?

124

Same here

145

And same here.

imp edited reviewers, added: allanjude; removed: imp.

This has all been committed. Commandeering Revision to close it.

Again, if there's something I've overlooked, a please open new differential and tag me and I'll look into it.

This revision is now accepted and ready to land.Jun 27 2024, 9:28 PM

Looks like Drew already landed this:

commit ba0e4d7971e05ee64281a4fc49a2fb408c8ad816
Author: Andrew Gallatin <gallatin@FreeBSD.org>
Date:   Wed Nov 15 11:11:53 2023 -0500

    smbios: handle smbios3 for arm64

    Get smbios working on arm64 where it seems to be
    exclusively smbios version 3.x

    The "interesting" thing here is that the smbios table seems to be
    RAM in the EFI runtime services table. This makes it owned by "ram0",
    and not io memory. That prevents bus_alloc_resource() from being able
    to claim it, since ram0 already owns it. According to jhb, this is
    how things are supposed to work.  Eg, bus_alloc_resource() is meant
    to be used with IO memory, not physical memory.  Following his
    suggestion, I converted the driver to simply use pmap_mapbios().

    This is a prerequisite for getting IPMI to attach via the SSIF
    attachment on arm64 servers, where all IPMI that I've seen
    uses SSIF.

    Note that this change is based on initial work by Allan Jude in
    https://reviews.freebsd.org/D28739.

    Reviewed by: imp
    Sponsored by: Netflix, Ampere Computing LLC (D28739)
    Differential Revision: https://reviews.freebsd.org/D42592