powerpc/pseries: Enable support for ibm,drc-info property
authorTyrel Datwyler <tyreld@linux.ibm.com>
Mon, 11 Nov 2019 05:21:37 +0000 (23:21 -0600)
committerMichael Ellerman <mpe@ellerman.id.au>
Wed, 13 Nov 2019 05:58:00 +0000 (16:58 +1100)
Advertise client support for the PAPR architected ibm,drc-info device
tree property during CAS handshake.

Fixes: c7a3275e0f9e ("powerpc/pseries: Revert support for ibm,drc-info devtree property")
Signed-off-by: Tyrel Datwyler <tyreld@linux.ibm.com>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Link: https://lore.kernel.org/r/1573449697-5448-11-git-send-email-tyreld@linux.ibm.com
arch/powerpc/kernel/prom_init.c

index 90987db10974c32c9d9b24a29fc1a44563b77147..577345382b23f901ec263789677e04ccfbdeda86 100644 (file)
@@ -1065,7 +1065,7 @@ static const struct ibm_arch_vec ibm_architecture_vec_template __initconst = {
                .reserved2 = 0,
                .reserved3 = 0,
                .subprocessors = 1,
-               .byte22 = OV5_FEAT(OV5_DRMEM_V2),
+               .byte22 = OV5_FEAT(OV5_DRMEM_V2) | OV5_FEAT(OV5_DRC_INFO),
                .intarch = 0,
                .mmu = 0,
                .hash_ext = 0,