login
Login
/
Register
Search
Forums
News
Blogs
Features
Site
Home
»
Mailing list archives
»
linux-kernel
»
2008
»
July
»
9
Re: [PATCH 16 of 55] xen64: add extra pv_mmu_ops
view
thread
!MAILaRCHIVE_VOTE_RePLACE
Previous message: [
thread
] [
date
] [
author
]
Next message: [
thread
] [
date
] [
author
]
[view in full thread]
From:
Mark McLoughlin <markmc@...>
To: Jeremy Fitzhardinge <jeremy@...>
Cc: Ingo Molnar <mingo@...>, LKML <linux-kernel@...>, <x86@...>, Stephen Tweedie <sct@...>, Eduardo Habkost <ehabkost@...>
Subject:
Re: [PATCH 16 of 55] xen64: add extra pv_mmu_ops
Date: Wednesday, July 9, 2008 - 3:55 am
Hey Jeremy, On Tue, 2008-07-08 at 15:06 -0700, Jeremy Fitzhardinge wrote:
quoted text
> We need extra pv_mmu_ops for 64-bit, to deal with the extra level of > pagetable. > > Signed-off-by: Jeremy Fitzhardinge <jeremy.fitzhardinge@citrix.com> > --- > arch/x86/xen/enlighten.c | 33 +++++++++++++++++++++++++++- > arch/x86/xen/mmu.c | 51 +++++++++++++++++++++++++++++++++++++++++++- > arch/x86/xen/mmu.h | 15 +++++++++++- > include/asm-x86/xen/page.h | 4 +++ > 4 files changed, 99 insertions(+), 4 deletions(-)
...
quoted text
> diff --git a/arch/x86/xen/mmu.c b/arch/x86/xen/mmu.c > --- a/arch/x86/xen/mmu.c > +++ b/arch/x86/xen/mmu.c > @@ -438,14 +438,19 @@ > > void xen_set_pte(pte_t *ptep, pte_t pte) > { > +#ifdef CONFIG_X86_PAE > ptep->pte_high = pte.pte_high; > smp_wmb(); > ptep->pte_low = pte.pte_low; > +#else > + *ptep = pte; > +#endif > }
You've dropped non-PAE support already, right? Any reason to use the X86_PAE macro instead of X86_32? Cheers, Mark. --
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 55] xen64: implement 64-bit Xen support
, Jeremy Fitzhardinge
, (Tue Jul 8, 6:06 pm)
Re: [PATCH 00 of 55] xen64: implement 64-bit Xen support
, Ingo Molnar
, (Wed Jul 9, 7:12 am)
Re: [PATCH 00 of 55] xen64: implement 64-bit Xen support
, Jeremy Fitzhardinge
, (Wed Jul 9, 12:12 pm)
[patch] xen64: fix build error on 32-bit + !HIGHMEM (was: R...
, Ingo Molnar
, (Wed Jul 9, 7:47 am)
Re: [patch] xen64: fix build error on 32-bit + !HIGHMEM
, Jeremy Fitzhardinge
, (Wed Jul 9, 12:07 pm)
[patch] xen64: fix !HVC_XEN build dependency (was: Re: [PATC...
, Ingo Molnar
, (Wed Jul 9, 7:21 am)
Re: [patch] xen64: fix !HVC_XEN build dependency
, Jeremy Fitzhardinge
, (Wed Jul 9, 12:07 pm)
[patch] power, xen64: fix PM_SLEEP build dependencies (was: ...
, Ingo Molnar
, (Wed Jul 9, 7:16 am)
Re: [patch] power, xen64: fix PM_SLEEP build dependencies (w...
, Ingo Molnar
, (Wed Jul 9, 3:47 pm)
Re: [patch] power, xen64: fix PM_SLEEP build dependencies (w...
, Ingo Molnar
, (Wed Jul 9, 3:52 pm)
Re: [patch] power, xen64: fix PM_SLEEP build dependencies (w...
, Rafael J. Wysocki
, (Wed Jul 9, 3:59 pm)
Re: [patch] power, xen64: fix PM_SLEEP build dependencies (w...
, Rafael J. Wysocki
, (Wed Jul 9, 4:02 pm)
Re: [patch] power, xen64: fix PM_SLEEP build dependencies (w...
, Ingo Molnar
, (Wed Jul 9, 4:04 pm)
Re: [patch] power, xen64: fix PM_SLEEP build dependencies
, Jeremy Fitzhardinge
, (Wed Jul 9, 4:17 pm)
Re: [patch] power, xen64: fix PM_SLEEP build dependencies (w...
, Rafael J. Wysocki
, (Wed Jul 9, 4:17 pm)
Re: [patch] power, xen64: fix PM_SLEEP build dependencies (w...
, Ingo Molnar
, (Wed Jul 9, 4:23 pm)
Re: [patch] power, xen64: fix PM_SLEEP build dependencies
, Jeremy Fitzhardinge
, (Wed Jul 9, 4:40 pm)
Re: [patch] power, xen64: fix PM_SLEEP build dependencies
, Jeremy Fitzhardinge
, (Wed Jul 9, 4:23 pm)
Re: [patch] power, xen64: fix PM_SLEEP build dependencies
, Rafael J. Wysocki
, (Wed Jul 9, 4:33 pm)
Re: [patch] power, xen64: fix PM_SLEEP build dependencies
, Jeremy Fitzhardinge
, (Wed Jul 9, 4:39 pm)
Re: [patch] power, xen64: fix PM_SLEEP build dependencies
, Rafael J. Wysocki
, (Wed Jul 9, 4:53 pm)
Re: [patch] power, xen64: fix PM_SLEEP build dependencies
, Ingo Molnar
, (Wed Jul 9, 4:42 pm)
Re: [patch] power, xen64: fix PM_SLEEP build dependencies
, Ingo Molnar
, (Wed Jul 9, 4:26 pm)
[PATCH 11 of 55] xen: define set_pte from the outset
, Jeremy Fitzhardinge
, (Tue Jul 8, 6:06 pm)
[PATCH 09 of 55] xen-netfront: fix xennet_release_tx_bufs()
, Jeremy Fitzhardinge
, (Tue Jul 8, 6:06 pm)
[PATCH 12 of 55] xen64: define asm/xen/interface for 64-bit
, Jeremy Fitzhardinge
, (Tue Jul 8, 6:06 pm)
[PATCH 19 of 55] xen: move smp setup into smp.c
, Jeremy Fitzhardinge
, (Tue Jul 8, 6:06 pm)
[PATCH 21 of 55] xen64: smp.c compile hacking
, Jeremy Fitzhardinge
, (Tue Jul 8, 6:06 pm)
[PATCH 22 of 55] xen64: add xen-head code to head_64.S
, Jeremy Fitzhardinge
, (Tue Jul 8, 6:06 pm)
[PATCH 18 of 55] xen64: get active_mm from the pda
, Jeremy Fitzhardinge
, (Tue Jul 8, 6:06 pm)
[PATCH 15 of 55] xen64: fix calls into hypercall page
, Jeremy Fitzhardinge
, (Tue Jul 8, 6:06 pm)
[PATCH 32 of 55] xen: fix truncation of machine address
, Jeremy Fitzhardinge
, (Tue Jul 8, 6:06 pm)
[PATCH 30 of 55] xen64: map an initial chunk of physical mem...
, Jeremy Fitzhardinge
, (Tue Jul 8, 6:06 pm)
[PATCH 42 of 55] Xen64: HYPERVISOR_set_segment_base() implem...
, Jeremy Fitzhardinge
, (Tue Jul 8, 6:07 pm)
[PATCH 41 of 55] xen64: add identity irq->vector map
, Jeremy Fitzhardinge
, (Tue Jul 8, 6:07 pm)
[PATCH 43 of 55] xen64: implement xen_load_gs_index()
, Jeremy Fitzhardinge
, (Tue Jul 8, 6:07 pm)
[PATCH 51 of 55] xen64: allocate and manage user pagetables
, Jeremy Fitzhardinge
, (Tue Jul 8, 6:07 pm)
[PATCH 53 of 55] xen64: set up userspace syscall patch
, Jeremy Fitzhardinge
, (Tue Jul 8, 6:07 pm)
[PATCH 54 of 55] xen: implement Xen write_msr operation
, Jeremy Fitzhardinge
, (Tue Jul 8, 6:07 pm)
[PATCH 52 of 55] xen64: set up syscall and sysenter entrypoi...
, Jeremy Fitzhardinge
, (Tue Jul 8, 6:07 pm)
[PATCH 55 of 55] xen: update Kconfig to allow 64-bit Xen
, Jeremy Fitzhardinge
, (Tue Jul 8, 6:07 pm)
[PATCH 44 of 55] xen: rework pgd_walk to deal with 32/64 bit
, Jeremy Fitzhardinge
, (Tue Jul 8, 6:07 pm)
[PATCH 50 of 55] xen64: save lots of registers
, Jeremy Fitzhardinge
, (Tue Jul 8, 6:07 pm)
[PATCH 49 of 55] xen64: implement 64-bit update_descriptor
, Jeremy Fitzhardinge
, (Tue Jul 8, 6:07 pm)
[PATCH 40 of 55] xen64: register callbacks in arch-independe...
, Jeremy Fitzhardinge
, (Tue Jul 8, 6:07 pm)
[PATCH 48 of 55] xen64: Clear %fs on xen_load_tls()
, Jeremy Fitzhardinge
, (Tue Jul 8, 6:07 pm)
[PATCH 47 of 55] xen64: implement failsafe callback
, Jeremy Fitzhardinge
, (Tue Jul 8, 6:07 pm)
[PATCH 46 of 55] xen: enable PM_SLEEP for CONFIG_XEN
, Jeremy Fitzhardinge
, (Tue Jul 8, 6:07 pm)
[PATCH 45 of 55] xen: make sure the kernel command line is r...
, Jeremy Fitzhardinge
, (Tue Jul 8, 6:07 pm)
[PATCH 37 of 55] xen64: xen_write_idt_entry() and cvt_gate_t...
, Jeremy Fitzhardinge
, (Tue Jul 8, 6:06 pm)
[PATCH 34 of 55] xen: set num_processors
, Jeremy Fitzhardinge
, (Tue Jul 8, 6:06 pm)
[PATCH 39 of 55] xen64: add pvop for swapgs
, Jeremy Fitzhardinge
, (Tue Jul 8, 6:07 pm)
[PATCH 38 of 55] xen64: deal with extra words Xen pushes ont...
, Jeremy Fitzhardinge
, (Tue Jul 8, 6:07 pm)
[PATCH 24 of 55] xen64: add 64-bit assembler
, Jeremy Fitzhardinge
, (Tue Jul 8, 6:06 pm)
[PATCH 28 of 55] xen64: early mapping setup
, Jeremy Fitzhardinge
, (Tue Jul 8, 6:06 pm)
[PATCH 31 of 55] xen32: create initial mappings like 64-bit
, Jeremy Fitzhardinge
, (Tue Jul 8, 6:06 pm)
[PATCH 36 of 55] xen: use set_pte_vaddr
, Jeremy Fitzhardinge
, (Tue Jul 8, 6:06 pm)
[PATCH 35 of 55] xen64: defer setting pagetable alloc/releas...
, Jeremy Fitzhardinge
, (Tue Jul 8, 6:06 pm)
[PATCH 26 of 55] xen: cpu_detect is 32-bit only
, Jeremy Fitzhardinge
, (Tue Jul 8, 6:06 pm)
[PATCH 33 of 55] xen64: use arbitrary_virt_to_machine for xe...
, Jeremy Fitzhardinge
, (Tue Jul 8, 6:06 pm)
[PATCH 27 of 55] xen64: add hypervisor callbacks for events,...
, Jeremy Fitzhardinge
, (Tue Jul 8, 6:06 pm)
[PATCH 16 of 55] xen64: add extra pv_mmu_ops
, Jeremy Fitzhardinge
, (Tue Jul 8, 6:06 pm)
Re: [PATCH 16 of 55] xen64: add extra pv_mmu_ops
, Mark McLoughlin
, (Wed Jul 9, 3:55 am)
Re: [PATCH 16 of 55] xen64: add extra pv_mmu_ops
, Jeremy Fitzhardinge
, (Wed Jul 9, 4:02 am)
[PATCH 17 of 55] xen64: random ifdefs to mask out 32-bit onl...
, Jeremy Fitzhardinge
, (Tue Jul 8, 6:06 pm)
[PATCH 29 of 55] xen64: 64-bit starts using set_pte from ver...
, Jeremy Fitzhardinge
, (Tue Jul 8, 6:06 pm)
[PATCH 25 of 55] xen64: use set_fixmap for shared_info struc...
, Jeremy Fitzhardinge
, (Tue Jul 8, 6:06 pm)
[PATCH 20 of 55] x86_64: add workaround for no %gs-based per...
, Jeremy Fitzhardinge
, (Tue Jul 8, 6:06 pm)
[PATCH 23 of 55] xen64: add asm-offsets
, Jeremy Fitzhardinge
, (Tue Jul 8, 6:06 pm)
[PATCH 13 of 55] xen: make ELF notes work for 32 and 64 bit
, Jeremy Fitzhardinge
, (Tue Jul 8, 6:06 pm)
[PATCH 14 of 55] xen: fix 64-bit hypercall variants
, Jeremy Fitzhardinge
, (Tue Jul 8, 6:06 pm)
[PATCH 10 of 55] xen: add xen_arch_resume()/xen_timer_resume...
, Jeremy Fitzhardinge
, (Tue Jul 8, 6:06 pm)
[PATCH 08 of 55] xen: print backtrace on multicall failure
, Jeremy Fitzhardinge
, (Tue Jul 8, 6:06 pm)
[PATCH 07 of 55] x86_64: unstatic get_local_pda
, Jeremy Fitzhardinge
, (Tue Jul 8, 6:06 pm)
[PATCH 06 of 55] x86_64: adjust exception frame in ia32entry
, Jeremy Fitzhardinge
, (Tue Jul 8, 6:06 pm)
[PATCH 05 of 55] x86: use __page_aligned_data/bss
, Jeremy Fitzhardinge
, (Tue Jul 8, 6:06 pm)
[PATCH 04 of 55] x86: clean up formatting of __switch_to
, Jeremy Fitzhardinge
, (Tue Jul 8, 6:06 pm)
[PATCH 03 of 55] x86_64: there's no need to preallocate leve...
, Jeremy Fitzhardinge
, (Tue Jul 8, 6:06 pm)
[PATCH 02 of 55] pvops-64: call paravirt_post_allocator_init...
, Jeremy Fitzhardinge
, (Tue Jul 8, 6:06 pm)
[PATCH 01 of 55] x86/paravirt: Call paravirt_pagetable_setup...
, Jeremy Fitzhardinge
, (Tue Jul 8, 6:06 pm)
Navigation
Create content
Mailing list archives
Recent posts
Popular discussions
linux-kernel
:
Pavel Emelianov
[RFC][PATCH 4/7] RSS accounting hooks over the code
Avi Kivity
[PATCH 03/54] KVM: MMU: Rename variables of type 'struct kvm_mmu_page *'
Alan
Re: [RFC] Heads up on sys_fallocate()
debian developer
Re: Dual-Licensing Linux Kernel with GPL V2 and GPL V3
git
:
openbsd-misc
:
linux-netdev
:
David Miller
Re: 2.6.25-rc8: FTP transfer errors
Gerrit Renker
[PATCH 27/37] dccp: Integration of dynamic feature activation - part 2 (server side)
Jarek Poplawski
[PATCH] pkt_sched: Destroy gen estimators under rtnl_lock().
Neil Horman
Re: [RFC] net: release dst entry in dev_queue_xmit()
Colocation donated by:
Who's online
There are currently
2 users
and
904 guests
online.
Online users
rejupal
penelop321
Syndicate