> Commit 6d07d1cd300f ("usercopy: Restrict non-usercopy caches to size 0") > requires that only whitelisted areas in slab/slub objects can be copied to > userspace when usercopy hardening is enabled using CONFIG_HARDENED_USERCOPY. > Dtl contains hypervisor dispatch events which are expected to be read by > privileged users. Hence mark this safe for user access. > Specify useroffset=0 and usersize=DISPATCH_LOG_BYTES to whitelist the > entire object. > > Co-developed-by: Vishal Chourasia <vish...@linux.ibm.com> > Signed-off-by: Vishal Chourasia <vish...@linux.ibm.com> > Signed-off-by: Anjali K <anja...@linux.ibm.com> > --- > arch/powerpc/platforms/pseries/setup.c | 4 ++-- > 1 file changed, 2 insertions(+), 2 deletions(-) >
Looks good to me. Reviewed-by: Srikar Dronamraju <sri...@linux.ibm.com> -- Thanks and Regards Srikar Dronamraju