linux/drivers/platform/x86/hp
Mario Limonciello 916727cfdb
platform/x86: hp-bioscfg: Support allocations of larger data
Some systems have much larger amounts of enumeration attributes
than have been previously encountered. This can lead to page allocation
failures when using kcalloc().  Switch over to using kvcalloc() to
allow larger allocations.

Fixes: 6b2770bfd6 ("platform/x86: hp-bioscfg: enum-attributes")
Cc: stable@vger.kernel.org
Reported-by: Paul Kerry <p.kerry@sheffield.ac.uk>
Tested-by: Paul Kerry <p.kerry@sheffield.ac.uk>
Closes: https://bugs.debian.org/1127612
Signed-off-by: Mario Limonciello <mario.limonciello@amd.com>
Link: https://patch.msgid.link/20260225210646.59381-1-mario.limonciello@amd.com
Reviewed-by: Ilpo Järvinen <ilpo.jarvinen@linux.intel.com>
Signed-off-by: Ilpo Järvinen <ilpo.jarvinen@linux.intel.com>
2026-02-27 13:10:16 +02:00
..
hp-bioscfg platform/x86: hp-bioscfg: Support allocations of larger data 2026-02-27 13:10:16 +02:00
hp-wmi.c platform/x86: hp-wmi: add Omen 14-fb1xxx (board 8E41) support 2026-02-23 18:01:22 +02:00
hp_accel.c Input: i8042 - Add support for platform filter contexts 2025-01-15 16:26:39 +02:00
Kconfig ACPI: EC: make EC support compile-time conditional 2024-10-24 17:47:15 +02:00
Makefile platform/x86: hp-bioscfg: Makefile 2023-07-10 14:41:29 +02:00
tc1100-wmi.c platform/x86: Switch back to struct platform_driver::remove() 2024-10-17 12:39:32 +03:00