All of lore.kernel.org
 help / color / mirror / Atom feed
* sony-laptop fix for 5.6 and 5.7
@ 2020-06-07  3:50 Mattia Dongili
  2020-06-16 12:16 ` Greg KH
  0 siblings, 1 reply; 4+ messages in thread
From: Mattia Dongili @ 2020-06-07  3:50 UTC (permalink / raw)
  To: stable

commit 95e2c5b0fd6d7a022f37e7c762ea093aba7b8e34 upstream

platform/x86: sony-laptop: SNC calls should handle BUFFER types

After commit 6d232b29cfce ("ACPICA: Dispatcher: always generate buffer
objects for ASL create_field() operator") ACPICA creates buffers even
when new fields are small enough to fit into an integer.
Many SNC calls counted on the old behaviour.
Since sony-laptop already handles the INTEGER/BUFFER case in
sony_nc_buffer_call, switch sony_nc_int_call to use its more generic
function instead.

Fixes: 6d232b29cfce ("ACPICA: Dispatcher: always generate buffer objects for ASL create_field() operator")
Reported-by: Dominik Mierzejewski <dominik@greysector.net>
Bugzilla: https://bugzilla.kernel.org/show_bug.cgi?id=207491
Reported-by: William Bader <williambader@hotmail.com>
Bugzilla: https://bugzilla.redhat.com/show_bug.cgi?id=1830150
Signed-off-by: Mattia Dongili <malattia@linux.it>

---

ACPICA broke resume from s2ram for some Vaio laptops in 5.6. The
platform drivers maintainers didn't send the fix for 5.7, so the commit
is needed both on 5.6 and on 5.7.

Thanks
-- 
mattia
:wq!

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2020-06-16 12:45 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-06-07  3:50 sony-laptop fix for 5.6 and 5.7 Mattia Dongili
2020-06-16 12:16 ` Greg KH
2020-06-16 12:30   ` Mattia Dongili
2020-06-16 12:45     ` Greg KH

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.