patch - KGDB read and write of IO registers

Tom Rini trini at
Thu Dec 27 03:24:16 EST 2001

On Fri, Dec 21, 2001 at 02:49:47PM -0800, Frank Rowand wrote:

> The patch allows IO device registers to be accessed by KGDB via word
> (or halfword) loads and stores for word (or halfword) sized objects
> when naturally aligned.  The previous behaviour was to always do
> byte load and stores which can result in side effects when accessing
> an IO device register.
> A second fix in the patch is to pass the correct address to
> flush_icache_range() when writing to memory in hex2mem().

Looks good, applied.


** Sent via the linuxppc-dev mail list. See

More information about the Linuxppc-dev mailing list