LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Programming (https://www.linuxquestions.org/questions/programming-9/)
-   -   smp Linux able to run with L1 I-cache and D-cache disable? (https://www.linuxquestions.org/questions/programming-9/smp-linux-able-to-run-with-l1-i-cache-and-d-cache-disable-4175516470/)

jordanplus 08-26-2014 08:51 PM

smp Linux able to run with L1 I-cache and D-cache disable?
 
Hi:
I am trying to debug some cache issue.
So I want to disable L1 cache to check, but I got issues:
"AFAIU, load/store exclusive instruction will cause a precise abort(refer to CA7 TRM 6.4.1)"
My question is:
1. it it possible to disable L1 data cache to boot linux?
2. any good suggestion to make sure cache it's cache issue?

Thanks

NevemTeve 08-28-2014 03:03 AM

You could give details about the platform/program you are experiencing problems with. (You didn't even specify the CPU you are using.)
(My blind-guess is that you have a synchronization error in your multithreaded program.)

jordanplus 08-29-2014 02:40 AM

Hi:
I am using Cortex A7MP.
But I am not familiar with Software part.


All times are GMT -5. The time now is 10:21 AM.