lkml.org 
[lkml]   [2013]   [Dec]   [10]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: [PATCH] net-tg3: Initialize REG_BASE_ADDR at PCI config offset 120 to 0
From
Date
On Tue, 2013-12-10 at 13:43 -0500, David Miller wrote:

> What if the kernel is booted via kexec, and the driver in the kernel
> we are kexec'ing from left indirect access enabled in MISC_HOST_CTRL?

That should be ok. The driver will only use valid register offsets in
indirect mode during run time, so register 0x78 should point to a valid
register. If indirect mode is never used by the driver, it will point
to zero with this patch. So register 0x78 will be valid (or zero) in
the kexec'ed kernel.




\
 
 \ /
  Last update: 2013-12-10 20:41    [W:0.055 / U:1.144 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site