On Thu Nov 7, 2024 at 2:17 PM EET, Paul Menzel wrote: > Dear Takashi, > > > Thank you for the patch. > > Am 07.11.24 um 12:18 schrieb Takashi Iwai: > > The TPM2 ACPI table may request a large size for the event log, and it > > may be over the max size of kmalloc(). When this happens, the driver > > What is kmalloc()’s maximum size? For reference: https://elixir.bootlin.com/linux/v6.11.6/source/include/linux/slab.h#L367 So it would be 1UL << 22 i.e. 4 MB at least. Not sure if MAX_PAGE_ORDER is larger than 10 on x86-64. BR, Jarkko