[Skiboot] [PATCH v2] npu2: Fix npu2_{read,write}_4b()
Stewart Smith
stewart at linux.vnet.ibm.com
Tue Jun 6 21:20:56 AEST 2017
Reza Arbab <arbab at linux.vnet.ibm.com> writes:
> When writing or reading 4-byte values, we need to use the upper half of
> the 64-bit SCOM register.
>
> Fix npu2_{read,write}_4b() and their callers to use uint32_t, and
> appropriately shift the value being written or returned.
>
> Signed-off-by: Reza Arbab <arbab at linux.vnet.ibm.com>
Thanks!
Merged to master as of 2163407ccceabf859959f3b641f6a169d5229807
--
Stewart Smith
OPAL Architect, IBM.
More information about the Skiboot
mailing list