Re: [discuss] [patch] mtrr: fix issues with large addresses

2007-02-06 Thread Eric W. Biederman
"Joerg Roedel" <[EMAIL PROTECTED]> writes: > On Tue, Feb 06, 2007 at 12:08:12PM -0700, [EMAIL PROTECTED] wrote: >> "Andreas Herrmann" <[EMAIL PROTECTED]> writes: >> > You are referring to current Linux implementation? >> > The AMD64 architecture increased physical address size in PSE mode to >> >

Re: [discuss] [patch] mtrr: fix issues with large addresses

2007-02-06 Thread Joerg Roedel
On Tue, Feb 06, 2007 at 12:08:12PM -0700, [EMAIL PROTECTED] wrote: > "Andreas Herrmann" <[EMAIL PROTECTED]> writes: > > You are referring to current Linux implementation? > > The AMD64 architecture increased physical address size in PSE mode to > > 40 bits. So at least it would be possible to use m

Re: [discuss] [patch] mtrr: fix issues with large addresses

2007-02-06 Thread Eric W. Biederman
"Andreas Herrmann" <[EMAIL PROTECTED]> writes: > On Tue, Feb 06, 2007 at 10:54:23AM -0700, [EMAIL PROTECTED] wrote: >> "Andreas Herrmann" <[EMAIL PROTECTED]> writes: >> > On Mon, Feb 05, 2007 at 05:26:12PM -0700, [EMAIL PROTECTED] wrote: >> >> "Andreas Herrmann" <[EMAIL PROTECTED]> writes: >> >> >

Re: [discuss] [patch] mtrr: fix issues with large addresses

2007-02-06 Thread Andreas Herrmann
On Tue, Feb 06, 2007 at 10:54:23AM -0700, [EMAIL PROTECTED] wrote: > "Andreas Herrmann" <[EMAIL PROTECTED]> writes: > > On Mon, Feb 05, 2007 at 05:26:12PM -0700, [EMAIL PROTECTED] wrote: > >> "Andreas Herrmann" <[EMAIL PROTECTED]> writes: > >> > > >> The limit is per cpu not per architecture. So i

Re: [discuss] [patch] mtrr: fix issues with large addresses

2007-02-06 Thread Andreas Herrmann
On Tue, Feb 06, 2007 at 11:54:57AM +0100, Andi Kleen wrote: > On Tuesday 06 February 2007 10:53, Jan Beulich wrote: > > >> I don't think I remember a restriction here, at least not below 44 bits > > >> (that's where pfn-s would need to become 64-bit wide). > > > > > >The i386 mm code only supports

Re: [discuss] [patch] mtrr: fix issues with large addresses

2007-02-06 Thread Andreas Herrmann
On Tue, Feb 06, 2007 at 09:31:45AM +, Jan Beulich wrote: > >>> Andi Kleen <[EMAIL PROTECTED]> 06.02.07 08:53 >>> > >On Monday 05 February 2007 23:50, Siddha, Suresh B wrote: > >> On Mon, Feb 05, 2007 at 06:19:59PM +0100, Andreas Herrmann wrote: > >> > o added check to restrict base address to 3

Re: [discuss] [patch] mtrr: fix issues with large addresses

2007-02-06 Thread Andi Kleen
On Tuesday 06 February 2007 10:53, Jan Beulich wrote: > >> I don't think I remember a restriction here, at least not below 44 bits > >> (that's where pfn-s would need to become 64-bit wide). > > > >The i386 mm code only supports 4 entries in the PGD, so more than 36bit > >cannot > >be mapped righ

Re: [discuss] [patch] mtrr: fix issues with large addresses

2007-02-06 Thread Jan Beulich
>> I don't think I remember a restriction here, at least not below 44 bits >> (that's where pfn-s would need to become 64-bit wide). > >The i386 mm code only supports 4 entries in the PGD, so more than 36bit cannot >be mapped right now. That has nothing to do with the number of physical address b

Re: [discuss] [patch] mtrr: fix issues with large addresses

2007-02-06 Thread Andi Kleen
On Tuesday 06 February 2007 10:31, Jan Beulich wrote: > >>> Andi Kleen <[EMAIL PROTECTED]> 06.02.07 08:53 >>> > >On Monday 05 February 2007 23:50, Siddha, Suresh B wrote: > >> On Mon, Feb 05, 2007 at 06:19:59PM +0100, Andreas Herrmann wrote: > >> > o added check to restrict base address to 36 bit o

Re: [discuss] [patch] mtrr: fix issues with large addresses

2007-02-06 Thread Jan Beulich
>>> Andi Kleen <[EMAIL PROTECTED]> 06.02.07 08:53 >>> >On Monday 05 February 2007 23:50, Siddha, Suresh B wrote: >> On Mon, Feb 05, 2007 at 06:19:59PM +0100, Andreas Herrmann wrote: >> > o added check to restrict base address to 36 bit on i386 >> >> Why is this? It can go upto implemented physical