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

Sascha Wildner swildner at crater.dragonflybsd.org
Thu Dec 12 04:07:49 PST 2019


commit 46bed2665170816423b505cf2df4be8307253231
Author: Sascha Wildner <saw at 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/46bed2665170816423b505cf2df4be8307253231


-- 
DragonFly BSD source repository



More information about the Commits mailing list