commit 529b04581b6c475b78ba5572f02f624790a2960d Author: Sascha Wildner <s...@online.de> Date: Thu Dec 12 13:06:46 2019 +0100
kernel/acpi: Fix debug.acpi.allow_method_calls functionality. Adding SMAP (Supervisor Mode Access Protection) support back in May (see 48c77f2b85f9ed807532e99b7187e6f5b5aa2975) caused it to (correctly) panic on certain machines, such as the Dell XPS 9560, due to trying to use a userspace pointer from the kernel. FreeBSD has since fixed this in their sysutils/acpi_call port. This commit pulls in these changes. See https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=230993 for the FreeBSD PR. Submitted-by: Khamba Staring <qdk at quickdekay.net> Summary of changes: sys/dev/acpica/acpi.c | 169 +++++++++++++++++++++++++++++++++++++++----------- 1 file changed, 132 insertions(+), 37 deletions(-) http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/529b04581b6c475b78ba5572f02f624790a2960d -- DragonFly BSD source repository