aboutsummaryrefslogtreecommitdiffstats
path: root/arch/powerpc/include/asm/pte-walk.h
diff options
context:
space:
mode:
authorAneesh Kumar K.V <aneesh.kumar@linux.ibm.com>2019-06-07 12:17:05 +0530
committerMichael Ellerman <mpe@ellerman.id.au>2019-07-05 00:42:10 +1000
commit259a948c4ba1829ae4a3c31bb6e40ad458a21254 (patch)
treef0531819880769c2e45ff9ac00570edeb0d58d44 /arch/powerpc/include/asm/pte-walk.h
parentpowerpc/nvdimm: Add support for multibyte read/write for metadata (diff)
downloadlinux-dev-259a948c4ba1829ae4a3c31bb6e40ad458a21254.tar.xz
linux-dev-259a948c4ba1829ae4a3c31bb6e40ad458a21254.zip
powerpc/pseries/scm: Use a specific endian format for storing uuid from the device tree
We used uuid_parse to convert uuid string from device tree to two u64 components. We want to make sure we look at the uuid read from device tree in an endian-neutral fashion. For now, I am picking little-endian to be format so that we don't end up doing an additional conversion. The reason to store in a specific endian format is to enable reading the namespace created with a little-endian kernel config on a big-endian kernel. We do store the device tree uuid string as a 64-bit little-endian cookie in the label area. When booting the kernel we also compare this cookie against what is read from the device tree. For this, to work we have to store and compare these values in a CPU endian config independent fashion. Signed-off-by: Aneesh Kumar K.V <aneesh.kumar@linux.ibm.com> Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Diffstat (limited to 'arch/powerpc/include/asm/pte-walk.h')
0 files changed, 0 insertions, 0 deletions