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

Helge Deller
2021-12-04T14:57:34Z

On 12/4/21 13:15, Pavel Machek wrote:
> Hi!
>
>> From: Helge Deller <deller@gmx.de>
>>
>> [ 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