[PATCH v3] arm64: SSBS/DIT: print SSBS and DIT bit when printing PSTATE

Will Deacon will at kernel.org
Fri Jul 30 05:12:52 PDT 2021


On Thu, Jul 22, 2021 at 10:20:36AM +0800, Shaokun Zhang wrote:
> From: Lingyan Huang <huanglingyan2 at huawei.com>
> 
> The current code to print PSTATE when generating backtraces does not
> include SSBS bit and DIT bit, so add this information.
> 
> Cc: Vladimir Murzin <vladimir.murzin at arm.com>
> Cc: Catalin Marinas <catalin.marinas at arm.com>
> Cc: Will Deacon <will at kernel.org>
> Reviewed-by: Vladimir Murzin <vladimir.murzin at arm.com>
> Signed-off-by: Lingyan Huang <huanglingyan2 at huawei.com>
> Signed-off-by: Shaokun Zhang <zhangshaokun at hisilicon.com>
> ---
> ChangeLog:
> v2-->v3:
>     1. Drop PAN exposing for 32-bit userspace from Will
> 
> v1-->v2:
>     1. Address Vladimir's comment on update compat_user_mode
> 
>  arch/arm64/kernel/process.c | 10 +++++++---
>  1 file changed, 7 insertions(+), 3 deletions(-)

Acked-by: Will Deacon <will at kernel.org>

Will



More information about the linux-arm-kernel mailing list