git: kernel/acpi: Fix debug.acpi.allow_method_calls functionality.

Sascha Wildner swildner at
Thu Dec 12 04:06:54 PST 2019

commit 529b04581b6c475b78ba5572f02f624790a2960d
Author: Sascha Wildner <saw at>
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 for the
    FreeBSD PR.
    Submitted-by: Khamba Staring <qdk at>

Summary of changes:
 sys/dev/acpica/acpi.c | 169 +++++++++++++++++++++++++++++++++++++++-----------
 1 file changed, 132 insertions(+), 37 deletions(-)

DragonFly BSD source repository

More information about the Commits mailing list