Re: [PATCH] PowerPC: Remove hardcoded BAT configuration of IMMR in CPM early debug console
From: Scott Wood <hidden>
Date: 2010-06-02 16:28:06
From: Scott Wood <hidden>
Date: 2010-06-02 16:28:06
On 06/02/2010 03:06 AM, Martyn Welch wrote:
quoted
quoted
quoted
I think that's a more fundamental change to CPM early debug than I can handle right now.Is IMMRBASE on your board at some address that has a low likelihood of conflicting when treated as a kernel effective address?It's at 0x0f000000, is seems ok, but then I'm not sure I fully understand kernel effective addresses.
That overlaps userspace -- is the BAT cleared before userspace starts? If you don't want to do the fixmap stuff, might want to at least just leave it at the current arbitrary effective address, which hasn't seemed to cause much trouble so far. But fixmap is the right way to do it. -Scott