* World-switch architected component flushing/invalidating.
@ 2015-05-19 15:23 Mazen Ezzeddine (Student)
2015-05-19 15:50 ` Ian Campbell
0 siblings, 1 reply; 2+ messages in thread
From: Mazen Ezzeddine (Student) @ 2015-05-19 15:23 UTC (permalink / raw)
To: xen-devel
[-- Attachment #1.1: Type: text/plain, Size: 760 bytes --]
Dear all,
Could you please hint me about the below:
I need to flush/invalidate all architected components (all levels of D-cache/I-cache, I-TLB D-TLB, branch predictor etc..) on Xen world/Domain switch running on a dual core ARM cortex A-15.
As such, am I on the safe side if I include the invalidate/flush code in the function :
static void schedule(void)
{
-----
-----
// code for invalidation of architected components
context_switch(prev, next);
}
Is there a header file to include and use already-implemented xen-specific functions for cache/TLB/branchPredictor invalidating? Could you please route me to the Xen file where they are implemented.
Thank you for sharing your experience.
Best regards.
[-- Attachment #1.2: Type: text/html, Size: 2379 bytes --]
[-- Attachment #2: Type: text/plain, Size: 126 bytes --]
_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xen.org
http://lists.xen.org/xen-devel
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: World-switch architected component flushing/invalidating.
2015-05-19 15:23 World-switch architected component flushing/invalidating Mazen Ezzeddine (Student)
@ 2015-05-19 15:50 ` Ian Campbell
0 siblings, 0 replies; 2+ messages in thread
From: Ian Campbell @ 2015-05-19 15:50 UTC (permalink / raw)
To: Mazen Ezzeddine (Student); +Cc: xen-devel
On Tue, 2015-05-19 at 15:23 +0000, Mazen Ezzeddine (Student) wrote:
> Is there a header file to include and use already-implemented
> xen-specific functions for cache/TLB/branchPredictor invalidating?
> Could you please route me to the Xen file where they are implemented.
I suggest you use a tool such as "grep" to search for some key words and
associated register names in the xen source tree. You may want to pay
particular attention to xen/include/asm-arm.
Ian.
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2015-05-19 16:01 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-05-19 15:23 World-switch architected component flushing/invalidating Mazen Ezzeddine (Student)
2015-05-19 15:50 ` Ian Campbell
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.