Re: [PATCH] Fix left over EFI cache mapping problems

!MAILaRCHIVE_VOTE_RePLACE
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: Ingo Molnar <mingo@...>
Cc: Andi Kleen <andi@...>, <torvalds@...>, <tglx@...>, <linux-kernel@...>, <ying.huang@...>
Date: Thursday, February 14, 2008 - 5:42 pm

On Thu, Feb 14, 2008 at 07:38:19PM +0100, Ingo Molnar wrote:

Sorry I didn't get that (you were a bit terse). 

You're saying the EFI BIOSes will never set that flag ?

I'm reading page 123+ of UEFI 2.1 which describes GetMemoryMap() 
and these flags and I see nothing to that effect. I admit I didn't
read the full EFI bible so far so there are certainly EFI
aspects I don't understand.

Can you please clarify why EFI would not set that flag on Linux? 
Can you refer me to the parts of the spec that describe that? 



On 32bit it is wrong too I think at least on non default __PAGE_OFFSET
splits.



Of course it is affected. set_memory_uc() will not fix up the 
direct mapping in this case either. Given the overlap of PCI hole
to direct mapping cases there are more seldom, but certainly
exist (e.g. consider 1:3 split and a 2GB PCI hole) 

And while given that's a relatively obscure case it's a valid regression.

-Andi

--
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
[PATCH] Fix left over EFI cache mapping problems, Andi Kleen, (Thu Feb 14, 9:13 am)
Re: [PATCH] Fix left over EFI cache mapping problems, Ingo Molnar, (Thu Feb 14, 12:12 pm)
Re: [PATCH] Fix left over EFI cache mapping problems, Huang, Ying, (Fri Feb 15, 12:48 am)
Re: [PATCH] Fix left over EFI cache mapping problems, Andi Kleen, (Fri Feb 15, 4:48 am)
Re: [PATCH] Fix left over EFI cache mapping problems, Huang, Ying, (Fri Feb 15, 5:21 am)
Re: [PATCH] Fix left over EFI cache mapping problems, Andi Kleen, (Fri Feb 15, 5:43 am)
Re: [PATCH] Fix left over EFI cache mapping problems, Ingo Molnar, (Fri Feb 15, 3:08 am)
Re: [PATCH] Fix left over EFI cache mapping problems, Huang, Ying, (Sun Feb 17, 9:53 pm)
Re: [PATCH] Fix left over EFI cache mapping problems, Andi Kleen, (Mon Feb 18, 7:26 am)
Re: [PATCH] Fix left over EFI cache mapping problems, Ingo Molnar, (Mon Feb 18, 10:05 am)
Re: [PATCH] Fix left over EFI cache mapping problems, Huang, Ying, (Fri Feb 15, 3:32 am)
Re: [PATCH] Fix left over EFI cache mapping problems, Linus Torvalds, (Fri Feb 15, 1:44 am)
Re: [PATCH] Fix left over EFI cache mapping problems, Ingo Molnar, (Fri Feb 15, 3:30 am)
Re: [PATCH] Fix left over EFI cache mapping problems, Huang, Ying, (Fri Feb 15, 2:24 am)
Re: [PATCH] Fix left over EFI cache mapping problems, Andi Kleen, (Thu Feb 14, 1:16 pm)
Re: [PATCH] Fix left over EFI cache mapping problems, Ingo Molnar, (Thu Feb 14, 2:38 pm)
Re: [PATCH] Fix left over EFI cache mapping problems, Huang, Ying, (Thu Feb 14, 10:52 pm)
Re: [PATCH] Fix left over EFI cache mapping problems, Andi Kleen, (Fri Feb 15, 4:55 am)
Re: [PATCH] Fix left over EFI cache mapping problems, Huang, Ying, (Fri Feb 15, 5:16 am)
Re: [PATCH] Fix left over EFI cache mapping problems, Andi Kleen, (Thu Feb 14, 5:42 pm)
Re: [PATCH] Fix left over EFI cache mapping problems, Arjan van de Ven, (Thu Feb 14, 6:08 pm)
Re: [PATCH] Fix left over EFI cache mapping problems, Andi Kleen, (Thu Feb 14, 7:01 pm)