[1/2] powerpc/pseries: Fix DTL buffer registration

Michael Ellerman patch-notifications at ellerman.id.au
Thu Oct 4 16:14:43 AEST 2018


On Thu, 2018-09-27 at 08:10:57 UTC, "Naveen N. Rao" wrote:
> When CONFIG_VIRT_CPU_ACCOUNTING_NATIVE is not set, we register the DTL
> buffer for a cpu when the associated file under powerpc/dtl in debugfs
> is opened. When doing so, we need to set the size of the buffer being
> registered in the second u32 word of the buffer. This needs to be in big
> endian, but we are not doing the conversion resulting in the below error
> showing up in dmesg:
> 
> 	dtl_start: DTL registration for cpu 0 (hw 0) failed with -4
> 
> Fix this in the obvious manner.
> 
> Fixes: 7c105b63bd98 ("powerpc: Add CONFIG_CPU_LITTLE_ENDIAN kernel config option.")
> Signed-off-by: Naveen N. Rao <naveen.n.rao at linux.vnet.ibm.com>

Series applied to powerpc next, thanks.

https://git.kernel.org/powerpc/c/db787af1b8a6b4be428ee2ea7d409d

cheers


More information about the Linuxppc-dev mailing list