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

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

* Andi Kleen <andi@firstfloor.org> wrote:


No, we did not ignore it, and yes, you are wrong.

One thing that you miss is that the 64-bit EFI runtime has to be marked 
uncacheable only if it the EFI image attribute signals an uncacheable 
area:

                if (!(md->attribute & EFI_MEMORY_WB))
                        set_memory_uc(md->virt_addr, md->num_pages);

and Linux EFI does not support device EFI runtimes. So your observation, 
while correct for non-RAM 64-bit EFI images, is theoretical at the 
moment and has no practical relevance.

Of course, as we've stated it numerous times, we want this all fixed up, 
and we _have_ fixed it up already, but we wanted to do it properly. 
Right now we've got the fixes lined up and we are waiting for a test 
report and an Ack from Ying Huang. (he reported that current -git worked 
just fine for him)

Also note that 64-bit EFI runtime support (the ability to execute EFI 
code) is completely new - it got introduced 14 days ago. We only use 
fixmaps on 64-bit EFI.

32-bit EFI is more common (but still not very common, compared to other 
x86 platforms) and that is totally unaffected by secondary aliases. 
(which is a complication of the 64-bit kernel)

Thanks,

	Ingo
--
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)