-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[RFC] Smbios improvement v3 #10
base: next
Are you sure you want to change the base?
Commits on Jul 29, 2024
-
sysinfo: Add sysinfo API for accessing data area
Add interface for sysinfo to access a data area from the platform. This is useful to save/read a memory region of platform-specific data. Signed-off-by: Raymond Mao <raymond.mao@linaro.org>
Configuration menu - View commit details
-
Copy full SHA for 01d52bf - Browse repository at this point
Copy the full SHA 01d52bfView commit details -
sysinfo: Add sysinfo driver and data structure for SMBIOS
Add sysinfo interface and definitions to support SMBIOS type 0 to type 4. Signed-off-by: Raymond Mao <raymond.mao@linaro.org>
Configuration menu - View commit details
-
Copy full SHA for db34b5c - Browse repository at this point
Copy the full SHA db34b5cView commit details -
smbios: Refactor SMBIOS library
Current SMBIOS library does not fully match to the specification. It hardcodes values instead of exposing values from the device. It does not support dynamic length for contained object handles or elements and misses the handling of a few fields. The refactoring of this patch includes: 1. Expose values from device via sysinfo interface. 2. Replace smbios_add_prop with smbios_add_prop_si to allow getting string values from sysinfo. 3. Add smbios_get_val_si to get int values from sysinfo. 4. Use sysinfo_get_data to get data area like contained object handles, elements or processor id. 5. Refactor SMBIOS cmd print functions to match the command output with the specification 6. Add new print functions for Type 0, 3 and 4. 7. Miscellaneous fixes in SMBIOS. Signed-off-by: Raymond Mao <raymond.mao@linaro.org>
Configuration menu - View commit details
-
Copy full SHA for daa3393 - Browse repository at this point
Copy the full SHA daa3393View commit details -
armv8: Add arch-specific sysinfo driver
Add common sysinfo driver for armv8 platforms containing all necessary SMBIOS information (Type 1 to 4). Signed-off-by: Raymond Mao <raymond.mao@linaro.org>
Configuration menu - View commit details
-
Copy full SHA for 10366e9 - Browse repository at this point
Copy the full SHA 10366e9View commit details -
sysinfo: Add sysinfo driver for SMBIOS type 7
Add sysinfo interface and data structures for cache information required by SMBIOS type 7. Signed-off-by: Raymond Mao <raymond.mao@linaro.org>
Configuration menu - View commit details
-
Copy full SHA for 167b82d - Browse repository at this point
Copy the full SHA 167b82dView commit details -
smbios: Add support to SMBIOS type 7
Add SMBIOS type 7 (cache information) write functions. Link cache handles from type 7 to type 4. Add SMBIOS command print functions for type 7. Signed-off-by: Raymond Mao <raymond.mao@linaro.org>
Configuration menu - View commit details
-
Copy full SHA for 3c03dfd - Browse repository at this point
Copy the full SHA 3c03dfdView commit details -
armv8: Add sysinfo driver for cache information
Add cache information sysinfo driver containing necessary information required by SMBIOS type 7 for all armv8 platforms. Signed-off-by: Raymond Mao <raymond.mao@linaro.org>
Configuration menu - View commit details
-
Copy full SHA for 20e703a - Browse repository at this point
Copy the full SHA 20e703aView commit details -
configs: Enable sysinfo for QEMU Arm64
Enable sysinfo smbios by default for Arm64. Do not enable QFW if SYSINFO_SMBIOS is defined. Signed-off-by: Raymond Mao <raymond.mao@linaro.org>
Configuration menu - View commit details
-
Copy full SHA for 80f5e03 - Browse repository at this point
Copy the full SHA 80f5e03View commit details