All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH v2 0/3] A few VPMU/watchdog-related patches
@ 2015-01-29 17:58 Boris Ostrovsky
  2015-01-29 17:58 ` [PATCH v2 1/3] x86/nmi: Cleanup usage of nmi_watchdog Boris Ostrovsky
                   ` (3 more replies)
  0 siblings, 4 replies; 6+ messages in thread
From: Boris Ostrovsky @ 2015-01-29 17:58 UTC (permalink / raw)
  To: JBeulich, andrew.cooper3
  Cc: xen-devel, kevin.tian, boris.ostrovsky, dietmar.hahn

Changes in v2:
* Added NMI cleanup patch
* Disaple VPMU in vpmu_initialise() instead of doing it in options parsing routines
* Update documentation by mentioning that VPMU doesn't work with watchdog
* Drop some sign-off area tags


The first patch is a light cleanup of nmi_watchdog usage. (I removed
NMI_INVALID definition but left NMI_IO_APIC. Do we actually need it? I
don't see anyone using it except for one place, which doesn't really
use it neither)

The second patch is to disable VPMU when watchdog is on since both are using
APIC_LVTPC register and VPMU, when running, will overwrite watchdog's settings.

The last patch is update to the earlier (reverted) commit 8097616. We prevent
guests's updates to APIC_LVTPC when VPMU is disabled. Without this a guest may
redirect a watchdog interrupt to VPMU which will not be able to handle it.

Boris Ostrovsky (3):
  x86/nmi: Cleanup usage of nmi_watchdog
  x86/VPMU: Disable VPMU when NMI watchdog is on
  x86/VPMU: Handle APIC_LVTPC accesses

 docs/misc/xen-command-line.markdown |  2 ++
 xen/arch/x86/hvm/svm/vpmu.c         |  4 ----
 xen/arch/x86/hvm/vlapic.c           |  3 +++
 xen/arch/x86/hvm/vmx/vpmu_core2.c   | 17 -----------------
 xen/arch/x86/hvm/vpmu.c             | 21 +++++++++++++++++++++
 xen/arch/x86/nmi.c                  |  6 +++---
 xen/arch/x86/traps.c                |  3 ++-
 xen/include/asm-x86/apic.h          |  1 -
 xen/include/asm-x86/hvm/vpmu.h      |  1 +
 9 files changed, 32 insertions(+), 26 deletions(-)

-- 
1.8.1.4

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2015-01-30  9:41 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-01-29 17:58 [PATCH v2 0/3] A few VPMU/watchdog-related patches Boris Ostrovsky
2015-01-29 17:58 ` [PATCH v2 1/3] x86/nmi: Cleanup usage of nmi_watchdog Boris Ostrovsky
2015-01-29 17:58 ` [PATCH v2 2/3] x86/VPMU: Disable VPMU when NMI watchdog is on Boris Ostrovsky
2015-01-30  9:41   ` Jan Beulich
2015-01-29 17:58 ` [PATCH v2 3/3] x86/VPMU: Handle APIC_LVTPC accesses Boris Ostrovsky
2015-01-30  9:38 ` [PATCH v2 0/3] A few VPMU/watchdog-related patches Jan Beulich

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.