* MTRR and cache programming in Xen
@ 2015-01-13 1:59 ayush ruia
2015-01-13 10:34 ` Jan Beulich
2015-01-13 10:36 ` Ian Campbell
0 siblings, 2 replies; 5+ messages in thread
From: ayush ruia @ 2015-01-13 1:59 UTC (permalink / raw)
To: xen-devel
[-- Attachment #1.1: Type: text/plain, Size: 597 bytes --]
Hi all,
Hoping that you could answer a few of my queries regarding cache properties
for Xen.
Is there any support from Xen for supporting MTRRs or any similar caching
mechanisms such as PAT? How does Xen handle I/O ranges because different
memory regions may have different caching requirements and any domU can be
allocated I/O regions? Is the control on x86 only on individual page basis?
How does that reflect in terms of Intel VT-x and Intel VT-d extensions and
VMCS structures?
Any pointers regarding the above will be very helpful and highly
appreciated.
Thanks and Regards,
Ayush Ruia.
[-- Attachment #1.2: Type: text/html, Size: 832 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] 5+ messages in thread
* Re: MTRR and cache programming in Xen
2015-01-13 1:59 MTRR and cache programming in Xen ayush ruia
@ 2015-01-13 10:34 ` Jan Beulich
2015-01-13 10:36 ` Ian Campbell
1 sibling, 0 replies; 5+ messages in thread
From: Jan Beulich @ 2015-01-13 10:34 UTC (permalink / raw)
To: ayush ruia; +Cc: xen-devel
>>> On 13.01.15 at 02:59, <ayushruia@gmail.com> wrote:
> Is there any support from Xen for supporting MTRRs or any similar caching
> mechanisms such as PAT? How does Xen handle I/O ranges because different
> memory regions may have different caching requirements and any domU can be
> allocated I/O regions? Is the control on x86 only on individual page basis?
> How does that reflect in terms of Intel VT-x and Intel VT-d extensions and
> VMCS structures?
>
> Any pointers regarding the above will be very helpful and highly
> appreciated.
Please forgive the question, but did you really make any attempt
to find the code of interest? I'm rather getting the impression that
you try to abuse the list to save you some time looking around...
Jan
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: MTRR and cache programming in Xen
2015-01-13 1:59 MTRR and cache programming in Xen ayush ruia
2015-01-13 10:34 ` Jan Beulich
@ 2015-01-13 10:36 ` Ian Campbell
2015-01-13 11:50 ` ayush ruia
1 sibling, 1 reply; 5+ messages in thread
From: Ian Campbell @ 2015-01-13 10:36 UTC (permalink / raw)
To: ayush ruia; +Cc: xen-devel
On Mon, 2015-01-12 at 19:59 -0600, ayush ruia wrote:
> Hi all,
> Hoping that you could answer a few of my queries regarding cache
> properties for Xen.
>
> Is there any support from Xen for supporting MTRRs or any similar
> caching mechanisms such as PAT? How does Xen handle I/O ranges because
> different memory regions may have different caching requirements and
> any domU can be allocated I/O regions? Is the control on x86 only on
> individual page basis? How does that reflect in terms of Intel VT-x
> and Intel VT-d extensions and VMCS structures?
>
>
> Any pointers regarding the above will be very helpful and highly
> appreciated.
grep'ping for some of those keywords in the Xen source code and search
for "Xen $keyword" on a search engine should give you a reasonable
starting point.
See also http://wiki.xen.org/wiki/Asking_Xen_Devel_Questions
Ian.
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: MTRR and cache programming in Xen
2015-01-13 10:36 ` Ian Campbell
@ 2015-01-13 11:50 ` ayush ruia
2015-01-14 9:08 ` Jan Beulich
0 siblings, 1 reply; 5+ messages in thread
From: ayush ruia @ 2015-01-13 11:50 UTC (permalink / raw)
To: Ian Campbell; +Cc: xen-devel
[-- Attachment #1.1: Type: text/plain, Size: 1476 bytes --]
Hi all,
I apologize for giving the wrong impression. While I agree that I was
trying to avoid going through the source code. I had previously looked
online and found that that Xen did not support MTRR. I guess that is true.
Anyways, thanks for the feedback. I should be more careful in asking
question in the mailing list. :) Probably culturing a bad habit due to
overuse of stackoverflow.com, which thrives on this model. :)
Thanks and Regards,
Ayush Ruia.
Regards,
Ayush Ruia.
On Tue, Jan 13, 2015 at 4:36 AM, Ian Campbell <Ian.Campbell@citrix.com>
wrote:
> On Mon, 2015-01-12 at 19:59 -0600, ayush ruia wrote:
> > Hi all,
> > Hoping that you could answer a few of my queries regarding cache
> > properties for Xen.
> >
> > Is there any support from Xen for supporting MTRRs or any similar
> > caching mechanisms such as PAT? How does Xen handle I/O ranges because
> > different memory regions may have different caching requirements and
> > any domU can be allocated I/O regions? Is the control on x86 only on
> > individual page basis? How does that reflect in terms of Intel VT-x
> > and Intel VT-d extensions and VMCS structures?
> >
> >
> > Any pointers regarding the above will be very helpful and highly
> > appreciated.
>
> grep'ping for some of those keywords in the Xen source code and search
> for "Xen $keyword" on a search engine should give you a reasonable
> starting point.
>
> See also http://wiki.xen.org/wiki/Asking_Xen_Devel_Questions
>
> Ian.
>
>
>
[-- Attachment #1.2: Type: text/html, Size: 2254 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] 5+ messages in thread
* Re: MTRR and cache programming in Xen
2015-01-13 11:50 ` ayush ruia
@ 2015-01-14 9:08 ` Jan Beulich
0 siblings, 0 replies; 5+ messages in thread
From: Jan Beulich @ 2015-01-14 9:08 UTC (permalink / raw)
To: ayush ruia; +Cc: xen-devel, Ian Campbell
>>> On 13.01.15 at 12:50, <ayushruia@gmail.com> wrote:
> I apologize for giving the wrong impression. While I agree that I was
> trying to avoid going through the source code. I had previously looked
> online and found that that Xen did not support MTRR. I guess that is true.
It's not - neither for Xen's own use of the hardware, nor for
emulating respective behavior for HVM guests and supplying
suitable interfaces for PV ones.
Jan
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2015-01-14 9:08 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-01-13 1:59 MTRR and cache programming in Xen ayush ruia
2015-01-13 10:34 ` Jan Beulich
2015-01-13 10:36 ` Ian Campbell
2015-01-13 11:50 ` ayush ruia
2015-01-14 9:08 ` Jan Beulich
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.