Ganesh <ganes...@linux.ibm.com> writes: > On 8/24/21 12:09 PM, Michael Ellerman wrote: >> Ganesh Goudar <ganes...@linux.ibm.com> writes: >>> Add support to parse and log control memory access >>> error for pseries. >>> >>> Signed-off-by: Ganesh Goudar <ganes...@linux.ibm.com> >>> --- >>> v2: No changes in this patch. >>> --- >>> arch/powerpc/platforms/pseries/ras.c | 21 +++++++++++++++++++++ >>> 1 file changed, 21 insertions(+) >>> >>> diff --git a/arch/powerpc/platforms/pseries/ras.c >>> b/arch/powerpc/platforms/pseries/ras.c >>> index 167f2e1b8d39..608c35cad0c3 100644 >>> --- a/arch/powerpc/platforms/pseries/ras.c >>> +++ b/arch/powerpc/platforms/pseries/ras.c >>> @@ -80,6 +80,7 @@ struct pseries_mc_errorlog { >>> #define MC_ERROR_TYPE_TLB 0x04 >>> #define MC_ERROR_TYPE_D_CACHE 0x05 >>> #define MC_ERROR_TYPE_I_CACHE 0x07 >>> +#define MC_ERROR_TYPE_CTRL_MEM_ACCESS 0x08 >> ... >>> >>> +#define MC_ERROR_CTRL_MEM_ACCESS_PTABLE_WALK 0 >>> +#define MC_ERROR_CTRL_MEM_ACCESS_OP_ACCESS 1 >> >> Where do the above values come from? > > It is from latest PAPR that added support for control memory error.
Please cite the version of the document and the section number in the change log. cheers