linuxppc-dev.lists.ozlabs.org archive mirror
 help / color / mirror / Atom feed
* patch - KGDB read and write of IO registers
@ 2001-12-21 22:49 Frank Rowand
  2001-12-26 16:24 ` Tom Rini
  0 siblings, 1 reply; 2+ messages in thread
From: Frank Rowand @ 2001-12-21 22:49 UTC (permalink / raw)
  To: trini, linuxppc-dev; +Cc: frowand

[-- Attachment #1: Type: text/plain, Size: 558 bytes --]

Tom,

Please apply the attached patch to linuxppc_2_4_devel.

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().

Thanks!

-Frank
--
Frank Rowand <frank_rowand@mvista.com>
MontaVista Software, Inc

[-- Attachment #2: patch_getput_iospace.gz --]
[-- Type: application/x-gzip, Size: 1042 bytes --]

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: patch - KGDB read and write of IO registers
  2001-12-21 22:49 patch - KGDB read and write of IO registers Frank Rowand
@ 2001-12-26 16:24 ` Tom Rini
  0 siblings, 0 replies; 2+ messages in thread
From: Tom Rini @ 2001-12-26 16:24 UTC (permalink / raw)
  To: frowand; +Cc: linuxppc-dev


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.

--
Tom

** Sent via the linuxppc-dev mail list. See http://lists.linuxppc.org/

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2001-12-26 16:24 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2001-12-21 22:49 patch - KGDB read and write of IO registers Frank Rowand
2001-12-26 16:24 ` Tom Rini

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).