Loading
arm64/mpam: Improve conversion accuracy between percent and fixed-point fraction
hulk inclusion category: bugfix bugzilla: https://gitee.com/openeuler/kernel/issues/IAKAKN -------------------------------- According to the bit width of the fixed-point fraction implemented by hardware, the maximum supported precision is calculated to reduce the conversion granularity as much as possible, so that improving conversion accuracy between percent and fixed-point fraction. Fixes: 58db5c68 ("untested: arm_mpam: resctrl: Add support for MB resource") Signed-off-by:Zeng Heng <zengheng4@huawei.com>