Re: [PATCH V5 2/3] HV: enable #AC for Splitlock Access #ac


Tao, Yuhong
 

HI, Eddie

-----Original Message-----
From: Dong, Eddie <eddie.dong@...>
Sent: Wednesday, April 15, 2020 1:53 PM
To: acrn-dev@...
Cc: Tao, Yuhong <yuhong.tao@...>; Dong, Eddie <eddie.dong@...>
Subject: RE: [acrn-dev] [PATCH V5 2/3] HV: enable #AC for Splitlock Access

}
@@ -166,6 +179,8 @@ void init_pcpu_pre(bool is_bsp)
*/
pci_switch_to_mmio_cfg_ops();
} else {
+ enable_ac_for_splitlock();
+
How about to do inside init_pcpu_post? This way, we only need to do once.
Yes, that is better. Will use it

/* Switch this CPU to use the same page tables set-up by the
* primary/boot CPU
*/

Join acrn-dev@lists.projectacrn.org to automatically receive all group messages.