xen-devel.lists.xenproject.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/3] per_cpu() fixes
@ 2013-09-26  9:49 Andrew Cooper
  2013-09-26  9:49 ` [PATCH 1/3] x86/idle: Fix get_cpu_idle_time()'s interaction with offline pcpus Andrew Cooper
                   ` (3 more replies)
  0 siblings, 4 replies; 7+ messages in thread
From: Andrew Cooper @ 2013-09-26  9:49 UTC (permalink / raw)
  To: Xen-devel
  Cc: Keir Fraser, Ian Campbell, Andrew Cooper, Ian Jackson, Tim Deegan,
	Jan Beulich

This patch series is two independent but related changes to the use of
per_cpu() with offline pcpus.

The first patch is a fix for use of get_cpu_idle_time() whereby toolstack
hypercalls could cause an effective NULL structure dereference.

The second patch is a forward looking fix to try and prevent similar issues in
the future.  It causes uses of per_cpu() against an offline pcpu to cause a
#GF rather than to try and dereference a very low address.

The third patch is debugging code to demonstrate the effects of patch 2.

Signed-off-by: Andrew Cooper <andrew.cooper3@citrix.com>
CC: Keir Fraser <keir@xen.org>
CC: Jan Beulich <JBeulich@suse.com>
CC: Tim Deegan <tim@xen.org>
CC: Ian Campbell <Ian.Campbell@citrix.com>
CC: Ian Jackson <Ian.Jackson@eu.citrix.com>

-- 
1.7.10.4

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

end of thread, other threads:[~2013-10-03 19:52 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-09-26  9:49 [PATCH 0/3] per_cpu() fixes Andrew Cooper
2013-09-26  9:49 ` [PATCH 1/3] x86/idle: Fix get_cpu_idle_time()'s interaction with offline pcpus Andrew Cooper
2013-09-26  9:49 ` [PATCH 2/3] x86/percpu: Force INVALID_PERCPU_AREA into the non-canonical address region Andrew Cooper
2013-09-26 10:04   ` Andrew Cooper
2013-09-26  9:49 ` [PATCH 3/3] DO NOT APPLY - debugging code for gpf when accessing invalid per_cpu() data Andrew Cooper
2013-10-03 17:55 ` [PATCH 0/3] per_cpu() fixes Andrew Cooper
2013-10-03 19:52   ` Keir Fraser

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).