Disabling caches on P4080DS: Hypervisor mode

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Disabling caches on P4080DS: Hypervisor mode

597 Views
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

Labels (1)
0 Kudos
1 Reply

327 Views
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 Kudos