RE: [PATCH AUTOSEL for 4.9 01/56] ACPICA: Resources: Not a valid resource if buffer length too long

From: alexander . levin
Date: Thu Nov 16 2017 - 19:57:16 EST


On Wed, Nov 15, 2017 at 05:05:21PM +0000, Schmauss, Erik wrote:
>
>
>> -----Original Message-----
>> From: alexander.levin@xxxxxxxxxxx [mailto:alexander.levin@xxxxxxxxxxx]
>> Sent: Wednesday, November 15, 2017 8:39 AM
>> To: Moore, Robert <robert.moore@xxxxxxxxx>
>> Cc: linux-kernel@xxxxxxxxxxxxxxx; stable@xxxxxxxxxxxxxxx; Wysocki, Rafael J
>> <rafael.j.wysocki@xxxxxxxxx>; Schmauss, Erik <erik.schmauss@xxxxxxxxx>
>> Subject: RE: [PATCH AUTOSEL for 4.9 01/56] ACPICA: Resources: Not a valid
>> resource if buffer length too long
>>
>> On Wed, Nov 15, 2017 at 03:39:22PM +0000, Moore, Robert wrote:
>> >> -----Original Message-----
>> >> From: alexander.levin@xxxxxxxxxxx
>> >> [mailto:alexander.levin@xxxxxxxxxxx]
>> >> Sent: Tuesday, November 14, 2017 6:46 PM
>> >> To: linux-kernel@xxxxxxxxxxxxxxx; stable@xxxxxxxxxxxxxxx
>> >> Cc: Moore, Robert <robert.moore@xxxxxxxxx>; Zheng, Lv
>> >> <lv.zheng@xxxxxxxxx>; Wysocki, Rafael J <rafael.j.wysocki@xxxxxxxxx>;
>> >> alexander.levin@xxxxxxxxxxx
>> >> Subject: [PATCH AUTOSEL for 4.9 01/56] ACPICA: Resources: Not a valid
>> >> resource if buffer length too long
>> >>
>> >> From: Bob Moore <robert.moore@xxxxxxxxx>
>> >>
>> >> [ Upstream commit 57707a9a7780fab426b8ae9b4c7b65b912a748b3 ]
>> >>
>> >> ACPICA commit 9f76de2d249b18804e35fb55d14b1c2604d627a1
>> >> ACPICA commit b2e89d72ef1e9deefd63c3fd1dee90f893575b3a
>> >> ACPICA commit 23b5bbe6d78afd3c5abf3adb91a1b098a3000b2e
>> >>
>> >> The declared buffer length must be the same as the length of the byte
>> >> initializer list, otherwise not a valid resource descriptor.
>> [snip]
>>
>> >[Moore, Robert]
>> >
>> >Please explain what you are doing here.
>>
>> Proposing this commit for the 4.9 LTS tree.
>
>What problem are you trying to solve with this change? Are you seeing ACPI errors? If so what are they?

Not seeing an actual problem myself. Was this patch supposed to fix a
problem or just deal with a theoretical scenario?

--

Thanks,
Sasha