+15
−0
Loading
Merge Pull Request from: @zhangqizhi3 The BRBE support backported of v18 didn't configure the BRBCR_EL1 correctly which will miss some key functions like FZP during sampling. In VHE mode with MDCR_EL2.HPMN set to PMCR_EL0.N, the counters are controlled by BRBCR_EL1 rather than BRBCR_EL2 (which writes to BRBCR_EL1 are redirected to). Use the same value for both register except keep EL1 and EL0 recording disabled in guests. Link:https://gitee.com/openeuler/kernel/pulls/15816 Signed-off-by:Li Nan <linan122@huawei.com>