CLFLUSHOPT is mandatory supported feature for ACRN hypervisor?


Yoshinoya
 

Hi,
CLFLUSHOPT is mandatory supported feature for ACRN?

Is ENHANCED rep movsb/stosb aslo mandatory support?

THanks.


Junjie Mao
 

Hi Yoshinoya,

 

ACRN hypervisor DOES assume the presence of CLFLUSHOPT as it uses that instruction to flush caches of a specific address regions.

 

With regard to enhanced rep movsb/stosb, I don’t think it is mandatory for ACRN hypervisor.

 

---

Best Regards

Junjie Mao

 

From: acrn-dev@... <acrn-dev@...> On Behalf Of Yoshinoya
Sent: Wednesday, October 5, 2022 7:57 PM
To: acrn-dev@...
Subject: [acrn-dev] CLFLUSHOPT is mandatory supported feature for ACRN hypervisor?

 

Hi,

CLFLUSHOPT is mandatory supported feature for ACRN?

 

Is ENHANCED rep movsb/stosb aslo mandatory support?

 

THanks.

 


Yoshinoya
 

Hi, Junjie
Got it , thanks.
Is CLFLUSH not meet ACRN's some usecase?

It seems, in desktop or server platform, CLFLUSH is still used in hypervisor/or linux kernel code.






At 2022-10-08 09:01:14, "Junjie Mao" <junjie.mao@...> wrote:

Hi Yoshinoya,

 

ACRN hypervisor DOES assume the presence of CLFLUSHOPT as it uses that instruction to flush caches of a specific address regions.

 

With regard to enhanced rep movsb/stosb, I don’t think it is mandatory for ACRN hypervisor.

 

---

Best Regards

Junjie Mao

 

From: acrn-dev@... <acrn-dev@...> On Behalf Of Yoshinoya
Sent: Wednesday, October 5, 2022 7:57 PM
To: acrn-dev@...
Subject: [acrn-dev] CLFLUSHOPT is mandatory supported feature for ACRN hypervisor?

 

Hi,

CLFLUSHOPT is mandatory supported feature for ACRN?

 

Is ENHANCED rep movsb/stosb aslo mandatory support?

 

THanks.

 


Junjie Mao
 

CLFLUSH can be a replacement of CLFLUSHOPT for cache flush operations but it may take some more time under certain circumstances due to its restrictions on ordering.

 

---

Best Regards

Junjie Mao

 

From: acrn-dev@... <acrn-dev@...> On Behalf Of Yoshinoya
Sent: Monday, October 10, 2022 9:03 AM
To: acrn-dev@...
Subject: Re: [acrn-dev] CLFLUSHOPT is mandatory supported feature for ACRN hypervisor?

 

Hi, Junjie

Got it , thanks.

Is CLFLUSH not meet ACRN's some usecase?

 

It seems, in desktop or server platform, CLFLUSH is still used in hypervisor/or linux kernel code.

 

 

 

 

 

 

At 2022-10-08 09:01:14, "Junjie Mao" <junjie.mao@...> wrote:

Hi Yoshinoya,

 

ACRN hypervisor DOES assume the presence of CLFLUSHOPT as it uses that instruction to flush caches of a specific address regions.

 

With regard to enhanced rep movsb/stosb, I don’t think it is mandatory for ACRN hypervisor.

 

---

Best Regards

Junjie Mao

 

From: acrn-dev@... <acrn-dev@...> On Behalf Of Yoshinoya
Sent: Wednesday, October 5, 2022 7:57 PM
To: acrn-dev@...
Subject: [acrn-dev] CLFLUSHOPT is mandatory supported feature for ACRN hypervisor?

 

Hi,

CLFLUSHOPT is mandatory supported feature for ACRN?

 

Is ENHANCED rep movsb/stosb aslo mandatory support?

 

THanks.