[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <1386701379.1752.26.camel@LTIRV-MCHAN1.corp.ad.broadcom.com>
Date: Tue, 10 Dec 2013 10:49:39 -0800
From: Michael Chan <mchan@...adcom.com>
To: David Miller <davem@...emloft.net>
CC: <sergei.shtylyov@...entembedded.com>, <natg@...gle.com>,
<nsujir@...adcom.com>, <netdev@...r.kernel.org>,
<linux-kernel@...r.kernel.org>
Subject: Re: [PATCH] net-tg3: Initialize REG_BASE_ADDR at PCI config offset
120 to 0
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.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists