Displaying 12 results from an estimated 12 matches for "arch_local_irq_disable".
2014 Oct 13
2
kernel crashes after soft lockups in xen domU
...1049] [<ffffffff810cf54c>] ? tlb_finish_mmu+0xc/0x31
[354008.101054] [<ffffffff810d5e79>] ? exit_mmap+0xc4/0xe9
[354008.101060] [<ffffffff81044b82>] ? mmput+0x56/0xf8
[354008.101064] [<ffffffff81049d07>] ? exit_mm+0x117/0x122
[354008.101069] [<ffffffff8107115b>] ? arch_local_irq_disable+0x7/0x8
[354008.101074] [<ffffffff81350487>] ? _raw_spin_lock_irq+0xa/0x14
[354008.101078] [<ffffffff8107115b>] ? arch_local_irq_disable+0x7/0x8
[354008.101083] [<ffffffff81049f57>] ? do_exit+0x245/0x713
[354008.101088] [<ffffffff81039a92>] ? finish_task_switch+0x4e/0xb9...
2014 Nov 05
0
kernel crashes after soft lockups in xen domU
...810cf54c>] ? tlb_finish_mmu+0xc/0x31
> [354008.101054] [<ffffffff810d5e79>] ? exit_mmap+0xc4/0xe9
> [354008.101060] [<ffffffff81044b82>] ? mmput+0x56/0xf8
> [354008.101064] [<ffffffff81049d07>] ? exit_mm+0x117/0x122
> [354008.101069] [<ffffffff8107115b>] ? arch_local_irq_disable+0x7/0x8
> [354008.101074] [<ffffffff81350487>] ? _raw_spin_lock_irq+0xa/0x14
> [354008.101078] [<ffffffff8107115b>] ? arch_local_irq_disable+0x7/0x8
> [354008.101083] [<ffffffff81049f57>] ? do_exit+0x245/0x713
> [354008.101088] [<ffffffff81039a92>] ? finish_t...
2020 Aug 05
0
[PATCH] x86/paravirt: Add missing noinstr to arch_local*() helpers
...PVOP_CALLEE0(unsigned long, irq.save_fl);
> }
>
> -static inline notrace void arch_local_irq_restore(unsigned long f)
> +static inline noinstr void arch_local_irq_restore(unsigned long f)
> {
> PVOP_VCALLEE1(irq.restore_fl, f);
> }
>
> -static inline notrace void arch_local_irq_disable(void)
> +static inline noinstr void arch_local_irq_disable(void)
> {
> PVOP_VCALLEE0(irq.irq_disable);
> }
>
> -static inline notrace void arch_local_irq_enable(void)
> +static inline noinstr void arch_local_irq_enable(void)
> {
> PVOP_VCALLEE0(irq.irq_enable);
&...
2014 Jul 22
0
Bug#755753: xen-hypervisor-4.1-amd64: xen crashes at random
...8.413801] Call Trace:
Jul 16 20:41:01 placka kernel: [28018.413801] [<ffffffff81046cd9>] ? warn_slowpath_common+0x78/0x8c
Jul 16 20:41:01 placka kernel: [28018.413801] [<ffffffff81049d71>] ? do_exit+0x5f/0x713
Jul 16 20:41:01 placka kernel: [28018.413801] [<ffffffff8107115b>] ? arch_local_irq_disable+0x7/0x8
Jul 16 20:41:01 placka kernel: [28018.413801] [<ffffffff8107116d>] ? arch_local_irq_save+0x11/0x17
Jul 16 20:41:01 placka kernel: [28018.413801] [<ffffffff81071153>] ? arch_local_irq_restore+0x7/0x8
Jul 16 20:41:01 placka kernel: [28018.413801] [<ffffffff813505cf>] ? _r...
2017 Oct 04
31
[PATCH 00/13] x86/paravirt: Make pv ops code generation more closely match reality
This changes the pv ops code generation to more closely match reality.
For example, instead of:
callq *0xffffffff81e3a400 (pv_irq_ops.save_fl)
vmlinux will now show:
pushfq
pop %rax
nop
nop
nop
nop
nop
which is what the runtime version of the code will show in most cases.
This idea was suggested by Andy Lutomirski.
The benefits are:
- For the most common runtime cases
2017 Oct 04
31
[PATCH 00/13] x86/paravirt: Make pv ops code generation more closely match reality
This changes the pv ops code generation to more closely match reality.
For example, instead of:
callq *0xffffffff81e3a400 (pv_irq_ops.save_fl)
vmlinux will now show:
pushfq
pop %rax
nop
nop
nop
nop
nop
which is what the runtime version of the code will show in most cases.
This idea was suggested by Andy Lutomirski.
The benefits are:
- For the most common runtime cases
2017 May 19
13
[PATCH 00/10] paravirt: make amount of paravirtualization configurable
Today paravirtualization is a all-or-nothing game: either a kernel is
compiled with no paravirtualization support at all, or it is supporting
paravirtualized environments like Xen pv-guests or lguest additionally
to some paravirtualized tuning for KVM, Hyperv, VMWare or Xen
HVM-guests.
As support of pv-guests requires quite intrusive pv-hooks (e.g. all
access functions to page table entries,
2017 May 19
13
[PATCH 00/10] paravirt: make amount of paravirtualization configurable
Today paravirtualization is a all-or-nothing game: either a kernel is
compiled with no paravirtualization support at all, or it is supporting
paravirtualized environments like Xen pv-guests or lguest additionally
to some paravirtualized tuning for KVM, Hyperv, VMWare or Xen
HVM-guests.
As support of pv-guests requires quite intrusive pv-hooks (e.g. all
access functions to page table entries,
2017 Feb 06
1
[PATCH] x86/paravirt: Avoid setting IF flag, if not necessary
...t;
@@ -762,11 +763,6 @@ static inline notrace unsigned long arch_local_save_flags(void)
return PVOP_CALLEE0(unsigned long, pv_irq_ops.save_fl);
}
-static inline notrace void arch_local_irq_restore(unsigned long f)
-{
- PVOP_VCALLEE1(pv_irq_ops.restore_fl, f);
-}
-
static inline notrace void arch_local_irq_disable(void)
{
PVOP_VCALLEE0(pv_irq_ops.irq_disable);
@@ -786,6 +782,16 @@ static inline notrace unsigned long arch_local_irq_save(void)
return f;
}
+/*
+ * In a VM, setting the IF flag can cause an expensive VM exit. So if
+ * interrupt was disabled before arch_local_irq_save(), we don't need...
2017 Feb 06
1
[PATCH] x86/paravirt: Avoid setting IF flag, if not necessary
...t;
@@ -762,11 +763,6 @@ static inline notrace unsigned long arch_local_save_flags(void)
return PVOP_CALLEE0(unsigned long, pv_irq_ops.save_fl);
}
-static inline notrace void arch_local_irq_restore(unsigned long f)
-{
- PVOP_VCALLEE1(pv_irq_ops.restore_fl, f);
-}
-
static inline notrace void arch_local_irq_disable(void)
{
PVOP_VCALLEE0(pv_irq_ops.irq_disable);
@@ -786,6 +782,16 @@ static inline notrace unsigned long arch_local_irq_save(void)
return f;
}
+/*
+ * In a VM, setting the IF flag can cause an expensive VM exit. So if
+ * interrupt was disabled before arch_local_irq_save(), we don't need...
2018 Aug 13
11
[PATCH v2 00/11] x86/paravirt: several cleanups
This series removes some no longer needed stuff from paravirt
infrastructure and puts large quantities of paravirt ops under a new
config option PARAVIRT_XXL which is selected by XEN_PV only.
A pvops kernel without XEN_PV being configured is about 2.5% smaller
with this series applied.
tip commit 5800dc5c19f34e6e03b5adab1282535cb102fafd ("x86/paravirt:
Fix spectre-v2 mitigations for
2013 Sep 05
4
Bug#721946: xen-hypervisor-4.1-amd64: dom0_mem cannot exceed some value
...nk_screen+0x142/0x142
Sep 5 17:11:25 pcale kernel: [11959.375261] [<ffffffff810ec9f7>] ? kmem_cache_alloc+0x20/0xea
Sep 5 17:11:25 pcale kernel: [11959.375264] [<ffffffff810985db>] ? taskstats_exit+0x53/0x2e0
Sep 5 17:11:25 pcale kernel: [11959.375267] [<ffffffff81070df3>] ? arch_local_irq_disable+0x7/0x8
Sep 5 17:11:25 pcale kernel: [11959.375269] [<ffffffff8134eb5f>] ? _raw_spin_lock_irq+0xa/0x14
Sep 5 17:11:25 pcale kernel: [11959.375272] [<ffffffff81049de3>] ? do_exit+0x23d/0x713
Sep 5 17:11:25 pcale kernel: [11959.375274] [<ffffffff81070df3>] ? arch_local_irq_dis...