arm64/mpam: resctrl: Update closid alloc and free process with bitmap
hulk inclusion category: feature bugzilla: 34278 CVE: NA ------------------------------------------------- Replace u32 bitmask with bitmap for closid allocation, it's because closid may be too large to use 32 bits. This also support cdp, when cdp is enabled, closid will be assigned twice once time, giving closid to code LxCache and closid+1 to data LxDATA, so do free process. Signed-off-by:Wang ShaoBo <bobo.shaobowang@huawei.com> Reviewed-by:
Xiongfeng Wang <wangxiongfeng2@huawei.com> Reviewed-by:
Cheng Jian <cj.chengjian@huawei.com> Signed-off-by:
Yang Yingliang <yangyingliang@huawei.com> Signed-off-by:
Cheng Jian <cj.chengjian@huawei.com>
Loading
Please sign in to comment