Attention is currently required from: Lance Zhao, Marc Jones, Anjaneya "Reddy" Chagam, Martin Roth, Johnny Lin, Rocky Phagura, David Hendricks, Angel Pons, Morgan Jang, Patrick Rudolph, Tim Chu.
2 comments:
File src/soc/intel/xeon_sp/include/soc/hest.h:
typedef struct acpi_gen_regaddr1 {
u8 space_id; /* Address space ID */
u8 bit_width; /* Register size in bits */
u8 bit_offset; /* Register bit offset */
u8 access_size; /* Access size since ACPI 2.0c */
u64 addr; /* Register address */
} __packed acpi_addr64_t;
This is in `acpi.h` now CB:49286 😉
File src/soc/intel/xeon_sp/uncore.c:
/* Reserve memory for Enhanced error logging */
if (CONFIG(SOC_RAS_ELOG)) {
base_kb = cbmem_top_addr >> 10;
size_kb = CONFIG_ERROR_LOG_BUFFER_SIZE >> 10;
LOG_MEM_RESOURCE("elog_sts_blk", dev, index, base_kb, size_kb);
reserved_ram_resource(dev, index++, base_kb, size_kb);
elog_addr = cbmem_top_addr;
printk(BIOS_DEBUG, "%s elog_addr = %llx size = %x\n",
__func__, elog_addr, CONFIG_ERROR_LOG_BUFFER_SIZE);
}
If I understand what you're doing correctly (trying to reserve CONFIG_ERROR_LOG_BUFFER_SIZE >> 10 bytes worth of memory in cbmem? You need to account for this used memory in cbmem so it knows about it, `cbmem_add`
To view, visit change 52090. To unsubscribe, or for help writing mail filters, visit settings.