From: Wim Van Sebroeck Subject: Re: [PATCH -v3 -resend] watchdog, SP5100: Check if firmware has set correct value in tcobase. Date: Thu, 24 Mar 2011 09:31:20 +0100 Message-ID: <20110324083120.GC4968@infomag.iguana.be> References: <20110311222129.GA3168@dumpdata.com> <4D80F992.10603@kernel.org> <4D812180.5030102@kernel.org> <4D812919.30706@kernel.org> <20110317022331.GA3528@dumpdata.com> <4D8AD791.9010602@kernel.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Content-Disposition: inline In-Reply-To: <4D8AD791.9010602@kernel.org> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: Yinghai Lu Cc: Priyanka Gupta , Jeremy Fitzhardinge , "xen-devel@lists.xensource.com" , linux-watchdog@vger.kernel.org, Stefano Stabellini , Konrad Rzeszutek Wilk , "linux-kernel@vger.kernel.org" , Mike Waychison , "H. Peter Anvin" , Andrew Morton List-Id: xen-devel@lists.xenproject.org Hi Yinghai, > Stefano found SP5100 TCO watchdog driver using wrong address. > > [ 9.148536] SP5100 TCO timer: SP5100 TCO WatchDog Timer Driver v0.01 > [ 9.148628] DEBUG __ioremap_caller WARNING address=b8fe00 size=8 valid=1 reserved=1 > > and e820 said that range is RAM. > > We should check if we can use that reading out. BIOS could just program wrong address there. > > -v2: Mike pointed out one path need one release. > -v3: corrected logic checking with request_mem_region_exclusive() > Found by Konrad. > > > Reported-by: Stefano Stabellini > Signed-off-by:Yinghai Lu > Acked-by: Mike Waychison > Tested-by: Konrad Rzeszutek Wilk This patch is in linux-2.6-watchdog-next for a week now. Will go upstream to linus. Kind regards, Wim.