xen-devel.lists.xenproject.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] xen: fbdev frontend needs xenbus frontend
@ 2010-02-24 13:58 Bastian Blank
  2010-02-25 12:40 ` Konrad Rzeszutek Wilk
  0 siblings, 1 reply; 5+ messages in thread
From: Bastian Blank @ 2010-02-24 13:58 UTC (permalink / raw)
  To: Jeremy Fitzhardinge; +Cc: xen-devel

The fbdev (and kbddev) frontend needs the xenbus frontend, but does not
define a dependency.  Make the fbdev frontend select the xenbus
frontend.

Signed-off-by: Bastian Blank <waldi@debian.org>

diff --git a/drivers/video/Kconfig b/drivers/video/Kconfig
index 188e1ba..efac9e3 100644
--- a/drivers/video/Kconfig
+++ b/drivers/video/Kconfig
@@ -2063,6 +2063,7 @@ config XEN_FBDEV_FRONTEND
 	select FB_SYS_IMAGEBLIT
 	select FB_SYS_FOPS
 	select FB_DEFERRED_IO
+	select XEN_XENBUS_FRONTEND
 	default y
 	help
 	  This driver implements the front-end of the Xen virtual
-- 
No more blah, blah, blah!
		-- Kirk, "Miri", stardate 2713.6

^ permalink raw reply related	[flat|nested] 5+ messages in thread
* [PATCH] xen: Disable stack protector for irq helper
@ 2009-10-04 18:30 Bastian Blank
  2009-10-04 23:06 ` Jeremy Fitzhardinge
  0 siblings, 1 reply; 5+ messages in thread
From: Bastian Blank @ 2009-10-04 18:30 UTC (permalink / raw)
  To: Ingo Molnar
  Cc: Xen-devel, Jeremy Fitzhardinge, the arch/x86 maintainers,
	Stable Kernel, Linux Kernel Mailing List

The stack protector needs additional registers on x86_32, which are not
saved in calls to the small paravirt interrupt handlers. This leads to
early crashes as registers are overwritten and not saved by the caller
as instructed.

Signed-off-by: Bastian Blank <waldi@debian.org>

diff --git a/arch/x86/xen/Makefile b/arch/x86/xen/Makefile
index 3bb4fc2..ac19398 100644
--- a/arch/x86/xen/Makefile
+++ b/arch/x86/xen/Makefile
@@ -5,9 +5,9 @@
 CFLAGS_REMOVE_irq.o = -pg
 endif
 
-# Make sure early boot has no stackprotector
 nostackp := $(call cc-option, -fno-stack-protector)
 CFLAGS_enlighten.o		:= $(nostackp)
+CFLAGS_irq.o			:= $(nostackp)
 CFLAGS_mmu.o			:= $(nostackp)
 
 obj-y		:= enlighten.o setup.o multicalls.o mmu.o irq.o \
-- 
Mind your own business, Spock.  I'm sick of your halfbreed interference.

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

end of thread, other threads:[~2010-02-25 17:48 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-02-24 13:58 [PATCH] xen: fbdev frontend needs xenbus frontend Bastian Blank
2010-02-25 12:40 ` Konrad Rzeszutek Wilk
2010-02-25 17:37   ` Jeremy Fitzhardinge
2010-02-25 17:48     ` Konrad Rzeszutek Wilk
  -- strict thread matches above, loose matches on Subject: below --
2009-10-04 18:30 [PATCH] xen: Disable stack protector for irq helper Bastian Blank
2009-10-04 23:06 ` Jeremy Fitzhardinge
2009-10-05  1:52   ` [PATCH] xen: fbdev frontend needs xenbus frontend Bastian Blank

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).