From: Markus Armbruster Subject: Re: [PATCH] xenfb: connect to backend before registering fb Date: Fri, 28 Aug 2009 11:12:42 +0200 Message-ID: <87k50oqp2t.fsf@pike.pond.sub.org> References: <4A96DD03.2080808@goop.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: In-Reply-To: <4A96DD03.2080808@goop.org> (Jeremy Fitzhardinge's message of "Thu\, 27 Aug 2009 12\:22\:43 -0700") List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: Jeremy Fitzhardinge Cc: "Rafael J. Wysocki" , Xen-devel , Linus Torvalds , Linux Kernel Mailing List , Michal Schmidt List-Id: xen-devel@lists.xenproject.org Jeremy Fitzhardinge writes: > As soon as the framebuffer is registered, our methods may be called by the > kernel. This leads to a crash as xenfb_refresh() gets called before we have > the irq. > > Connect to the backend before registering our framebuffer with the kernel. > > [ Fixes bug http://bugzilla.kernel.org/show_bug.cgi?id=14059 ] > > Signed-off-by: Michal Schmidt > Signed-off-by: Jeremy Fitzhardinge Looks good to me.