On Mon, 7 Feb 2022 20:42:35 +0530 (IST) Ani Sinha <a...@anisinha.ca> wrote:
> > > > So question is it is worth to have legacy SMBIOS code and introduce a > > new handle layout + memory_region re-sizable SMBIOS tables like we did > > with ACPI ones. > > > > That way we we will be free to change SMBIOS tables at will without a > > risk of breaking migration and without need to add compat knob for every > > change to keep src and dst binary compatible. > > > > Could you please point me to the change on the acpi side so that I can > study it and look into the refactoring for smbios side? > I'd suggest to start looking at acpi_add_rom_blob() and how it evolved to the current code. Eventually you should find a commit introducing resizable memory_regions introduced by Michael, it I recall correctly it was around that time when we switched ACPI tables to memory regions.