23 Aug, 2009
1 commit
-
All calls from outside RCU are of the form:
if (rcu_pending(cpu))
rcu_check_callbacks(cpu, user);This is silly, instead we put a call to rcu_pending() in
rcu_check_callbacks(), and then make the outside calls be to
rcu_check_callbacks(). This cuts down on the code a bit and
also gives the compiler a better chance of optimizing.Signed-off-by: Paul E. McKenney
Cc: laijs@cn.fujitsu.com
Cc: dipankar@in.ibm.com
Cc: akpm@linux-foundation.org
Cc: mathieu.desnoyers@polymtl.ca
Cc: josht@linux.vnet.ibm.com
Cc: dvhltc@us.ibm.com
Cc: niv@us.ibm.com
Cc: peterz@infradead.org
Cc: rostedt@goodmis.org
LKML-Reference:
Signed-off-by: Ingo Molnar
16 Jun, 2009
1 commit
-
The defines and typedefs (hw_interrupt_type, no_irq_type, irq_desc_t) have
been kept around for migration reasons. After more than two years it's
time to remove them finally.This patch cleans up one of the remaining users. When all such patches
hit mainline we can remove the defines and typedefs finally.Impact: cleanup
Convert the last remaining users and remove the typedef.
Signed-off-by: Thomas Gleixner
Signed-off-by: Andrew Morton
Signed-off-by: Tony Luck
06 May, 2009
1 commit
-
- drivers/xen/events.c did not compile
- xen_setup_hook caused a modpost section warning
- the use of u64 (instead of unsigned long long) together with a %llu
in drivers/xen/balloon.c caused a compiler warningSigned-off-by: Jan Beulich
Signed-off-by: Tony Luck
28 Mar, 2009
2 commits
-
This patch removes the following warnings and related ones.
Plus some cosmetics.arch/ia64/kernel/patch.c:112: warning: passing argument 1 of 'paravirt_fc' makes integer from pointer without a cast
arch/ia64/kernel/patch.c:135: warning: passing argument 1 of 'paravirt_fc' makes integer from pointer without a cast
arch/ia64/kernel/patch.c:166: warning: passing argument 1 of 'paravirt_fc' makes integer from pointer without a cast
arch/ia64/kernel/patch.c:202: warning: passing argument 1 of 'paravirt_fc' makes integer from pointer without a cast
arch/ia64/kernel/patch.c:220: warning: passing argument 1 of 'paravirt_fc' makes integer from pointer without a castSigned-off-by: Isaku Yamahata
Signed-off-by: Tony Luck -
This patch fixes the following link error with xen_domu_defconfig.
Depending on compiler version, it doesn't link as follows.
So remove const and use __initdata for xen_iosapic_ops.> arch/ia64/xen/xen_pv_ops.c:878: error: xen_iosapic_ops causes a section type conflict
Signed-off-by: Isaku Yamahata
Signed-off-by: Tony Luck
27 Mar, 2009
7 commits
-
implemented xen binary patch for pv_cpu_ops.
Signed-off-by: Isaku Yamahata
Signed-off-by: Tony Luck -
xen gate page paravirtualization
Signed-off-by: Isaku Yamahata
Signed-off-by: Tony Luck -
define xen specific gate page.
At this phase bits in the gate page is same to native.
At the next phase, it will be paravirtualized.Signed-off-by: Isaku Yamahata
Signed-off-by: Tony Luck -
paravirtualize sched_clock.
Signed-off-by: Isaku Yamahata
Signed-off-by: Tony Luck -
paravirtualize ar.itc and ar.itm in order to support save/restore.
Signed-off-by: Isaku Yamahata
Signed-off-by: Tony Luck -
This is a preliminary patch to paravirtualizing fsys.S.
compile fsys.S twice one for native and one for xen, and switch
them at run tine.
Later fsys.S will be paravirtualized.Signed-off-by: Isaku Yamahata
Signed-off-by: Tony Luck -
use __initconst instead of __initdata for const data like
ec8148de85a73a3be397a59b6d8f4f32cf2dd254Signed-off-by: Isaku Yamahata
Signed-off-by: Tony Luck
20 Feb, 2009
2 commits
-
arch/ia64/xen/xen_pv_ops.c:156: error: xen_init_ops causes a section type conflict
arch/ia64/xen/xen_pv_ops.c:340: error: xen_iosapic_ops causes a section type conflictSigned-off-by: Tony Luck
-
This patch fixes xen related Kconfigs and add default config
file for ia64 xen domU.Signed-off-by: Isaku Yamahata
Signed-off-by: Tony Luck
16 Jan, 2009
1 commit
-
This patch fixes the following errors caused by
79741dd35713ff4f6fd0eafd59fa94e8a4ba922d which changed
the prototypes of account_steal_time() and account_idle_time().> CC arch/ia64/xen/time.o
> arch/ia64/xen/time.c: In function 'consider_steal_time':
> arch/ia64/xen/time.c:132: warning: passing argument 1 of 'account_steal_time' makes integer from pointer without a cast
> arch/ia64/xen/time.c:132: error: too many arguments to function 'account_steal_time'
> arch/ia64/xen/time.c:133: warning: passing argument 1 of 'account_steal_time' makes integer from pointer without a cast
> arch/ia64/xen/time.c:133: error: too many arguments to function 'account_steal_time'Cc: Martin Schwidefsky
Signed-off-by: Isaku Yamahata
Signed-off-by: Tony Luck
21 Nov, 2008
1 commit
-
fix xen_get_eflags. It doesn't take any argument.
Signed-off-by: Isaku Yamahata
Signed-off-by: Tony Luck
18 Oct, 2008
15 commits
-
introduce CONFIG_PARAVIRT_GUEST, CONFIG_PARAVIRT for
paravirtualized guest.
introduce CONFIG_XEN, CONFIG_IA64_XEN_GUEST for xen.Signed-off-by: Alex Williamson
Signed-off-by: Isaku Yamahata
Signed-off-by: Tony Luck -
preliminary support for save/restore.
Although Save/restore isn't fully working yet, this patch is necessary
to compile.Signed-off-by: Isaku Yamahata
Signed-off-by: Tony Luck -
define xen machine vector for domU.
Signed-off-by: Isaku Yamahata
Signed-off-by: Tony Luck -
implement xen pv_time_ops to account steal time.
Cc: Jeremy Fitzhardinge
Signed-off-by: Alex Williamson
Signed-off-by: Isaku Yamahata
Signed-off-by: Tony Luck -
implement xen pv_irq_ops to paravirtualize irq handling
with xen event channel.Cc: Jeremy Fitzhardinge
Signed-off-by: Akio Takebe
Signed-off-by: Alex Williamson
Signed-off-by: Isaku Yamahata
Signed-off-by: Tony Luck -
implement xen pv_iosapic_ops for xen paravirtualized
iosapic.Signed-off-by: Isaku Yamahata
Signed-off-by: Tony Luck -
paravirtualize entry.S for ia64/xen by multi compile.
Signed-off-by: Isaku Yamahata
Signed-off-by: Tony Luck -
paravirtualize ivt.S for xen by multi compile.
Signed-off-by: Isaku Yamahata
Signed-off-by: Tony Luck -
define xen pv_cpu_ops which implementes xen paravirtualized
privileged instructions.Signed-off-by: Yaozu (Eddie) Dong
Signed-off-by: Isaku Yamahata
Signed-off-by: Tony Luck -
This patch implements xen version of pv_init_ops to do various
xen initialization.
This patch also includes ia64 counter part of x86 xen early printk support
patches.Signed-off-by: Akio Takebe
Signed-off-by: Alex Williamson
Signed-off-by: Yaozu (Eddie) Dong
Signed-off-by: Isaku Yamahata
Signed-off-by: Tony Luck -
This patch enables elf note based xen startup for IA-64, which gives the
kernel an early hint for running on xen like x86 case.
In order to avoid the multi entry point, presumably extending booting
protocol(i.e. extending struct ia64_boot_param) would be necessary.
It probably means that elilo also needs modification.Signed-off-by: Qing He
Signed-off-by: Isaku Yamahata
Signed-off-by: Tony Luck -
Xen implements grant tables which is for sharing pages with
guest domains.
This patch implements arch specific part of grant table initialization.
and xen_alloc_vm_area()/xen_free_vm_area() which are helper functions
for xen grant table.Signed-off-by: Isaku Yamahata
Signed-off-by: Tony Luck -
On ia64/xen, pointer arguments for hypercall is passed
by pseudo physical address(guest physical address.)
So such hypercalls needs address conversion functions.
This patch implements concrete conversion functions for
such hypercalls.Signed-off-by: Akio Takebe
Signed-off-by: Yaozu (Eddie) Dong
Signed-off-by: Isaku Yamahata
Signed-off-by: Tony Luck -
On ia64/xen, pointer argument for the hypercall is passed
by pseudo physical address (guest physical address.)
So it is necessary to convert virtual address into pseudo physical
address right before issuing hypercall. The frame work is called
xencomm. This patch implements arch specific part.Signed-off-by: Alex Williamson
Signed-off-by: Isaku Yamahata
Cc: Akio Takebe
Signed-off-by: Tony Luck -
introduce helper functions for xen hypercalls which
traps to hypervisor.Signed-off-by: Yaozu (Eddie) Dong
Signed-off-by: Isaku Yamahata
Signed-off-by: Tony Luck