public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/6] Support calling functions on dedicated physical cpu
@ 2016-03-11 11:59 Juergen Gross
  2016-03-11 11:59 ` [PATCH 1/6] xen: sync xen header Juergen Gross
                   ` (6 more replies)
  0 siblings, 7 replies; 18+ messages in thread
From: Juergen Gross @ 2016-03-11 11:59 UTC (permalink / raw)
  To: linux-kernel, xen-devel
  Cc: konrad.wilk, boris.ostrovsky, david.vrabel, mingo, peterz,
	Douglas_Warzecha, pali.rohar, jdelvare, linux, tglx, hpa, x86,
	Juergen Gross

Some hardware (e.g. Dell Studio laptops) require special functions to
be called on physical cpu 0 in order to avoid occasional hangs. When
running as dom0 under Xen this could be achieved only via special boot
parameters (vcpu pinning) limiting the hypervisor in it's scheduling
decisions.

This patch series is adding a generic function to be able to temporarily
pin a (virtual) cpu to a dedicated physical cpu for executing above
mentioned functions on that specific cpu. The drivers (dcdbas and i8k)
requiring this functionality are modified accordingly.

Juergen Gross (6):
  xen: sync xen header
  sched: add function to execute a function synchronously on a physical
    cpu
  dcdbas: make use of call_sync_on_phys_cpu()
  hwmon: use call_sync_on_phys_cpu() for dell-smm i8k
  virt, sched: add cpu pinning to call_sync_on_phys_cpu()
  xen: add xen_pin_vcpu() to support calling functions on a dedicated
    pcpu

 arch/x86/include/asm/hypervisor.h |   9 ++++
 arch/x86/xen/enlighten.c          |  40 +++++++++++++++
 drivers/firmware/dcdbas.c         |  46 ++++++++----------
 drivers/hwmon/dell-smm-hwmon.c    |  27 +++++-----
 include/linux/sched.h             |  31 ++++++++++++
 include/xen/interface/sched.h     | 100 +++++++++++++++++++++++++++++++-------
 kernel/sched/core.c               |  30 ++++++++++++
 7 files changed, 224 insertions(+), 59 deletions(-)

-- 
2.6.2

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

end of thread, other threads:[~2016-03-11 13:19 UTC | newest]

Thread overview: 18+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-03-11 11:59 [PATCH 0/6] Support calling functions on dedicated physical cpu Juergen Gross
2016-03-11 11:59 ` [PATCH 1/6] xen: sync xen header Juergen Gross
2016-03-11 11:59 ` [PATCH 2/6] sched: add function to execute a function synchronously on a physical cpu Juergen Gross
2016-03-11 12:19   ` Peter Zijlstra
2016-03-11 12:42     ` Peter Zijlstra
2016-03-11 12:48       ` Juergen Gross
2016-03-11 12:57         ` Peter Zijlstra
2016-03-11 13:07           ` Juergen Gross
2016-03-11 12:43     ` Juergen Gross
2016-03-11 12:45       ` Peter Zijlstra
2016-03-11 11:59 ` [PATCH 3/6] dcdbas: make use of call_sync_on_phys_cpu() Juergen Gross
2016-03-11 11:59 ` [PATCH 4/6] hwmon: use call_sync_on_phys_cpu() for dell-smm i8k Juergen Gross
2016-03-11 11:59 ` [PATCH 5/6] virt, sched: add cpu pinning to call_sync_on_phys_cpu() Juergen Gross
2016-03-11 11:59 ` [PATCH 6/6] xen: add xen_pin_vcpu() to support calling functions on a dedicated pcpu Juergen Gross
2016-03-11 12:25 ` [PATCH 0/6] Support calling functions on dedicated physical cpu Peter Zijlstra
2016-03-11 12:28   ` Pali Rohár
2016-03-11 13:15   ` One Thousand Gnomes
2016-03-11 13:19     ` Peter Zijlstra

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox