Disabling caches on P4080DS: Hypervisor mode

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

Disabling caches on P4080DS: Hypervisor mode

602 次查看
rahul011189
Contributor I

Hi there,

I am working with the P4080DS board, QorIQ-SDK V1.8. I would like to know how can I disable caches (all levels i.e. L1, L2, L3), while working with the Hypervisor mode.

(Note: I have already tried to modify the uBoot code to disable the caches. But the hypervisor fails to boot up with the modified uBoot)

As per my understanding, in Hypervisor mode, most cache related registers should be readable by the guest Linux. However, I am getting error while trying to read those registers from guest Linux. It will be really helpful if I can get an early response.

Thanks,

Rahul

标签 (1)
0 项奖励
1 回复

332 次查看
bpe
NXP Employee
NXP Employee

There is no way to disable caches globally under Hypervisor.

Hypervisor itself requires caches to be turned on when it starts:

https://freescale.sdlproducts.com/LiveContent/content/en-US/QorIQ_SDK_1.9/GUID-7D7609D0-4C06-4E07-A4...

And the guest cannot turn off caches:

https://freescale.sdlproducts.com/LiveContent/content/en-US/QorIQ_SDK_1.9/GUID-FD1ECD38-06AB-44A0-9F...

Have a great day,
Platon

-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------

0 项奖励