Re: [PATCH AUTOSEL 4.4 4/9] parisc: Provide an extru_safe() macro to extract unsigned bits

From: Helge Deller
Date: Sat Dec 04 2021 - 09:57:38 EST


On 12/4/21 13:15, Pavel Machek wrote:
> Hi!
>
>> From: Helge Deller <deller@xxxxxx>
>>
>> [ Upstream commit 169d1a4a2adb2c246396c56aa2f9eec3868546f1 ]
>>
>> The extru instruction leaves the most significant 32 bits of the
>> target register in an undefined state on PA 2.0 systems.
>> Provide a macro to safely use extru on 32- and 64-bit machines.
>
> As the macro is not used by subsequent 4.4 patches,

That's basically true, but in case we backport some patches later on,
it's handy if it's already in.

> I don't believe this is suitable for -stable.

Please note that I didn't added a backport-request in my original commit.
I'm fine with any decision if it's either dropped or kept.

Helge