Sponsored by: Ampere Computing LLC
Diff Detail
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
Comment Actions
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.
Comment Actions
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