qcacmn: Add support to map generic shadow regs
Add apis to map generic registers to shadow region. Existing logic includes mapping only srng based regs to the shadow region. Add support to map REO control regs and WBM2SW2 rel ring HP reg address to the shadow region in case the direct reg writes in IPA enable/disable autonomy fail due to UMAC block being in a power collapsed state. Shadow reg mapping for these regs is provided to FW during init. Add stat shadow_reg_write_fail to track shadow reg write failure and shadow_reg_write_succ to track successful shadow writes. Change-Id: I04790765a3de80047689657e2cad0b73123440b9 CRs-Fixed: 2790321
Loading
Please register or sign in to comment