mirror of
https://github.com/projectacrn/acrn-hypervisor.git
synced 2025-09-01 17:06:51 +00:00
hv: vCAT: propagate vCBM to other vCPUs that share cache with vcpu
Implement the propagate_vcbm() function: Set vCBM to to all the vCPUs that share cache with vcpu to mimic hardware CAT behavior Tracked-On: #5917 Signed-off-by: dongshen <dongsheng.x.zhang@intel.com> Acked-by: Eddie Dong <eddie.dong@Intel.com>
This commit is contained in:
@@ -148,7 +148,7 @@ static uint32_t nearest_pow2(uint32_t n)
|
||||
return p;
|
||||
}
|
||||
|
||||
static void get_cache_shift(uint32_t *l2_shift, uint32_t *l3_shift)
|
||||
void get_cache_shift(uint32_t *l2_shift, uint32_t *l3_shift)
|
||||
{
|
||||
uint32_t subleaf;
|
||||
|
||||
|
Reference in New Issue
Block a user