• Srujana Challa's avatar
    octeontx2-af: add debugfs entries for CPT block · 76638a2e
    Srujana Challa authored
    Add entries to debugfs at /sys/kernel/debug/octeontx2/cpt.
    
    cpt_pc: dump cpt performance HW registers.
    Usage:
    cat /sys/kernel/debug/octeontx2/cpt/cpt_pc
    
    cpt_ae_sts: show cpt asymmetric engines current state
    Usage:
    cat /sys/kernel/debug/octeontx2/cpt/cpt_ae_sts
    
    cpt_se_sts: show cpt symmetric engines current state
    Usage:
    cat /sys/kernel/debug/octeontx2/cpt/cpt_se_sts
    
    cpt_engines_info: dump cpt engine control registers.
    Usage:
    cat /sys/kernel/debug/octeontx2/cpt/cpt_engines_info
    
    cpt_lfs_info: dump cpt lfs control registers.
    Usage:
    cat /sys/kernel/debug/octeontx2/cpt/cpt_lfs_info
    
    cpt_err_info: dump cpt error registers.
    Usage:
    cat /sys/kernel/debug/octeontx2/cpt/cpt_err_info
    Signed-off-by: default avatarSuheil Chandran <schandran@marvell.com>
    Signed-off-by: default avatarSrujana Challa <schalla@marvell.com>
    Signed-off-by: default avatarJakub Kicinski <kuba@kernel.org>
    76638a2e
rvu_debugfs.c 63.6 KB