login
Login
/
Register
Search
Forums
News
Blogs
Features
Site
Home
»
Mailing list archives
»
linux-kernel
»
2008
»
January
»
31
Re: [PATCH 04 of 11] x86: fix early_ioremap pagetable ops
view
thread
!MAILaRCHIVE_VOTE_RePLACE
Previous message: [
thread
] [
date
] [
author
]
Next message: [thread] [
date
] [
author
]
[view in full thread]
From:
Jeremy Fitzhardinge <jeremy@...>
To: Ian Campbell <ijc@...>
Cc: Ingo Molnar <mingo@...>, LKML <linux-kernel@...>, Andi Kleen <ak@...>, Jan Beulich <jbeulich@...>, Eduardo Pereira Habkost <ehabkost@...>, H Peter Anvin <hpa@...>
Subject:
Re: [PATCH 04 of 11] x86: fix early_ioremap pagetable ops
Date: Thursday, January 31, 2008 - 3:52 pm
Ian Campbell wrote:
quoted text
> > This seems to have ended up in f6df72e71eba621b2f5c49b3a763116fac748f6e > as: > + paravirt_release_pt(__pa(pmd) >> PAGE_SHIFT); > > and the pmd_populate_kernel hunk is missing altogether. > > --- > >From bfa2a08064a269dd7906ed5f60e436360e1360e7 Mon Sep 17 00:00:00 2001 > From: Ian Campbell <ijc@hellion.org.uk> > Date: Thu, 31 Jan 2008 18:56:06 +0000 > Subject: [PATCH] x86: fix early_ioremap pagetable ops for paravirt. > > Some important parts of f6df72e71eba621b2f5c49b3a763116fac748f6e got dropped > along the way, reintroduce them. >
Yep. Acked-by: Jeremy Fitzhardinge <jeremy@xensource.com>
quoted text
> Signed-off-by: Ian Campbell <ijc@hellion.org.uk> > --- > arch/x86/mm/ioremap.c | 4 ++-- > 1 files changed, 2 insertions(+), 2 deletions(-) > > diff --git a/arch/x86/mm/ioremap.c b/arch/x86/mm/ioremap.c > index ed4208e..93d931e 100644 > --- a/arch/x86/mm/ioremap.c > +++ b/arch/x86/mm/ioremap.c > @@ -302,7 +302,7 @@ void __init early_ioremap_init(void) > > pmd = early_ioremap_pmd(fix_to_virt(FIX_BTMAP_BEGIN)); > memset(bm_pte, 0, sizeof(bm_pte)); > - set_pmd(pmd, __pmd(__pa(bm_pte) | _PAGE_TABLE)); > + pmd_populate_kernel(&init_mm, pmd, bm_pte); > > /* > * The boot-ioremap range spans multiple pmds, for which > @@ -332,7 +332,7 @@ void __init early_ioremap_clear(void) > > pmd = early_ioremap_pmd(fix_to_virt(FIX_BTMAP_BEGIN)); > pmd_clear(pmd); > - paravirt_release_pt(__pa(pmd) >> PAGE_SHIFT); > + paravirt_release_pt(__pa(bm_pte) >> PAGE_SHIFT); > __flush_tlb_all(); > } > >
--
unsubscribe notice
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to
majordomo@vger.kernel.org
More majordomo info at
http://vger.kernel.org/majordomo-info.html
Please read the FAQ at
http://www.tux.org/lkml/
Previous message: [
thread
] [
date
] [
author
]
Next message: [thread] [
date
] [
author
]
Messages in current thread:
[PATCH 00 of 11] x86: separate pmd lifetime from pgd
, Jeremy Fitzhardinge
, (Fri Jan 25, 5:23 pm)
Re: [PATCH 00 of 11] x86: separate pmd lifetime from pgd
, Ingo Molnar
, (Mon Jan 28, 11:17 am)
Re: [PATCH 00 of 11] x86: separate pmd lifetime from pgd
, Ingo Molnar
, (Mon Jan 28, 11:41 am)
Re: [PATCH 00 of 11] x86: separate pmd lifetime from pgd
, Jeremy Fitzhardinge
, (Mon Jan 28, 12:20 pm)
Re: [PATCH 00 of 11] x86: separate pmd lifetime from pgd
, Ingo Molnar
, (Mon Jan 28, 11:47 am)
Re: [PATCH 00 of 11] x86: separate pmd lifetime from pgd
, Jeremy Fitzhardinge
, (Mon Jan 28, 11:39 am)
[PATCH 11 of 11] x86: defer cr3 reload when doing pud_clear()
, Jeremy Fitzhardinge
, (Fri Jan 25, 5:23 pm)
[PATCH 09 of 11] x86: preallocate pmds at pgd creation time
, Jeremy Fitzhardinge
, (Fri Jan 25, 5:23 pm)
[PATCH 08 of 11] xen: deal with pmd being allocated/freed
, Jeremy Fitzhardinge
, (Fri Jan 25, 5:23 pm)
[PATCH 05 of 11] x86: demacro asm-x86/pgalloc_32.h
, Jeremy Fitzhardinge
, (Fri Jan 25, 5:23 pm)
[PATCH 10 of 11] x86: allocate and initialize unshared pmds
, Jeremy Fitzhardinge
, (Fri Jan 25, 5:23 pm)
[PATCH 07 of 11] x86: don't special-case pmd allocations as ...
, Jeremy Fitzhardinge
, (Fri Jan 25, 5:23 pm)
[PATCH 02 of 11] x86: use the same pgd_list for PAE and 64-bit
, Jeremy Fitzhardinge
, (Fri Jan 25, 5:23 pm)
[PATCH 03 of 11] x86: add mm parameter to paravirt_alloc_pd
, Jeremy Fitzhardinge
, (Fri Jan 25, 5:23 pm)
[PATCH 01 of 11] xen: fix mismerge in masking pte flags
, Jeremy Fitzhardinge
, (Fri Jan 25, 5:23 pm)
[PATCH 04 of 11] x86: fix early_ioremap pagetable ops
, Jeremy Fitzhardinge
, (Fri Jan 25, 5:23 pm)
Re: [PATCH 04 of 11] x86: fix early_ioremap pagetable ops
, Ian Campbell
, (Thu Jan 31, 3:01 pm)
Re: [PATCH 04 of 11] x86: fix early_ioremap pagetable ops
, Ingo Molnar
, (Thu Jan 31, 4:37 pm)
Re: [PATCH 04 of 11] x86: fix early_ioremap pagetable ops
, Jeremy Fitzhardinge
, (Thu Jan 31, 4:41 pm)
Re: [PATCH 04 of 11] x86: fix early_ioremap pagetable ops
, Jeremy Fitzhardinge
, (Thu Jan 31, 3:52 pm)
[PATCH 06 of 11] x86: unify PAE/non-PAE pgd_ctor
, Jeremy Fitzhardinge
, (Fri Jan 25, 5:23 pm)
Navigation
Create content
Mailing list archives
Recent posts
Popular discussions
linux-kernel
:
debian developer
Re: Dual-Licensing Linux Kernel with GPL V2 and GPL V3
Greg KH
[GIT PATCH] driver core patches against 2.6.24
H. Peter Anvin
Re: [PATCH] x86: Construct 32 bit boot time page tables in native format.
Christoph Lameter
Re: [RFC 00/15] x86_64: Optimize percpu accesses
git
:
linux-netdev
:
Christoph Hellwig
Re: [PATCH 06/32] IGET: Mark iget() and read_inode() as being obsolete [try #2]
Jarek Poplawski
Re: [PATCH] pkt_sched: Destroy gen estimators under rtnl_lock().
Gerrit Renker
[PATCH 27/37] dccp: Integration of dynamic feature activation - part 2 (server side)
David Miller
[GIT]: Networking
openbsd-misc
:
Colocation donated by:
Who's online
There are currently
2 users
and
551 guests
online.
Online users
zeekec
passionplay0001
Syndicate