All of lore.kernel.org
 help / color / mirror / Atom feed
From: "Mazen Ezzeddine (Student)" <emm09@mail.aub.edu>
To: "xen-devel@lists.xenproject.org" <xen-devel@lists.xenproject.org>
Subject: World-switch architected component flushing/invalidating.
Date: Tue, 19 May 2015 15:23:11 +0000	[thread overview]
Message-ID: <1432048989983.29508@mail.aub.edu> (raw)


[-- 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

             reply	other threads:[~2015-05-19 15:23 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-05-19 15:23 Mazen Ezzeddine (Student) [this message]
2015-05-19 15:50 ` World-switch architected component flushing/invalidating Ian Campbell

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1432048989983.29508@mail.aub.edu \
    --to=emm09@mail.aub.edu \
    --cc=xen-devel@lists.xenproject.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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.