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

Sascha Wildner swildner at
Thu Dec 12 04:07:49 PST 2019

commit 46bed2665170816423b505cf2df4be8307253231
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