Loading
arm64/mpam: Add judgment to distinguish MSMON_MBWU_CAPTURE definition
hulk inclusion category: bugfix bugzilla: https://gitee.com/openeuler/kernel/issues/I8T2RT -------------------------------- Because MSMON_MBWU_CAPTURE register is implemented in different definition according to the corresponding versions of the protocol. This would affect mbm_total_bytes interface returns the various result. Consequently, it is necessary to determine the specification definition followed by according to the chip model. Fixes: 21ac9fc8 ("arm_mpam: Track bandwidth counter state for overflow and power management") Signed-off-by:Zeng Heng <zengheng4@huawei.com>