sony-laptop fix for 5.6 and 5.7
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.
Bugzilla: https://bugzilla.kernel.org/show_bug.cgi?id=207491
Bugzilla: https://bugzilla.redhat.com/show_bug.cgi?id=1830150
---
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
Signature · 2 lines
mattia :wq!
Greg KH
maintainerQuoted 1 line · Mattia Dongili
commit
95e2c5b0fd6d7a022f37e7c762ea093aba7b8e34upstream
I do not see that commit id in Linus's tree. Are you sure it is correct?
thanks,
greg k-h
Quoted 5 lines · Greg KH
Quoted 1 line · Mattia Dongili
commit
95e2c5b0fd6d7a022f37e7c762ea093aba7b8e34upstreamI do not see that commit id in Linus's tree. Are you sure it is correct?
Heh, no. I didn't rebase my local tree... rookie mistake. It should be 47828d22539f76c8c9dcf2a55f18ea3a8039d8ef.
I noticed that Sasha Levin autoselected for 5.7 both the patches for sony-laptop related to the ACPI breakage.
So they are only missing in 5.6 at this point and it's worth getting both even though only 47828d22539f should be sufficient.
The two commit ids that were picked up for 5.7 are:
[ Upstream commit 47828d22539f76c8c9dcf2a55f18ea3a8039d8ef ] [ Upstream commit 476d60b1b4c8a2b14a53ef9b772058f35e604661 ]
Thanks
Signature · 2 lines
mattia :wq!
Greg KH
maintainerQuoted 15 lines · Mattia Dongili
Quoted 5 lines · Greg KH
Quoted 1 line · Mattia Dongili
commit
95e2c5b0fd6d7a022f37e7c762ea093aba7b8e34upstreamI do not see that commit id in Linus's tree. Are you sure it is correct?
Heh, no. I didn't rebase my local tree... rookie mistake. It should be
47828d22539f76c8c9dcf2a55f18ea3a8039d8ef.I noticed that Sasha Levin autoselected for 5.7 both the patches for sony-laptop related to the ACPI breakage.
So they are only missing in 5.6 at this point and it's worth getting both even though only47828d22539fshould be sufficient.
Quoted 4 lines
The two commit ids that were picked up for 5.7 are:
[ Upstream commit
47828d22539f76c8c9dcf2a55f18ea3a8039d8ef] [ Upstream commit476d60b1b4c8a2b14a53ef9b772058f35e604661]
Thanks, I'll go queue those up now.
greg k-h