All of lore.kernel.org
 help / color / mirror / Atom feed
From: "David N. Welton" <davidw@linuxcare.com>
To: Linux -Dev <linuxppc-dev@lists.linuxppc.org>
Subject: Re: again 2.3.28
Date: Wed, 17 Nov 1999 20:03:00 -0800	[thread overview]
Message-ID: <19991117200300.B4647@bassano.linuxcare.com> (raw)
In-Reply-To: <19991117110116.B4281@bassano.linuxcare.com>; from David N. Welton on Wed, Nov 17, 1999 at 11:01:16AM -0800


Ok... hmmm, this may mean something, but I'll leave it to others to
tell me if I've found something or if I'm just on crack.

copy_and_flush:
	addi	r5,r5,-4
	addi	r6,r6,-4
4:	li	r0,8
	mtctr	r0
3:	addi	r6,r6,4			/* copy a cache line */
	lwzx	r0,r6,r4
	stwx	r0,r6,r3
	bdnz	3b
	dcbst	r6,r3			/* write it to memory */
	sync
	icbi	r6,r3			/* flush the icache line */
	cmplw	0,r6,r5
	bl	davidw_debug	   <<<<<<<<< POSITION 1	
	blt	4b
	bl	davidw_debug	   <<<<<<<<< POSITION 2
	isync
	addi	r5,r5,4
	addi	r6,r6,4
	blr

When davidw_debug is in position 1, it actually exits the boot load
back into the firmware with a 'default catch' or something like that.
If it is in position 2, it just hangs and does nothing (possibly
continuing with this loop forever?).

Is this significant?  Or am I just messing up something else?

Ciao,
-- 
David N. Welton, Developer, Linuxcare, Inc.
415.354.4878 x241 tel, 415.701.7457 fax
davidw@linuxcare.com, http://www.linuxcare.com/
Linuxcare. At the center of Linux.

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

  parent reply	other threads:[~1999-11-18  4:03 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1999-11-17 18:53 again 2.3.28 Andreas Tobler
1999-11-17 19:01 ` David N. Welton
1999-11-17 19:43   ` Ani Joshi
1999-11-17 19:53     ` David N. Welton
1999-11-17 20:06       ` Ani Joshi
1999-11-17 20:09         ` Mac specific code David N. Welton
1999-11-18  4:03   ` David N. Welton [this message]
1999-11-18  4:26     ` again 2.3.28 David Edelsohn
1999-11-18  6:45       ` David N. Welton
1999-11-17 19:39 ` Ani Joshi
1999-11-17 19:49   ` Geert Uytterhoeven
1999-11-17 20:15     ` Ani Joshi
1999-11-17 20:18       ` Geert Uytterhoeven
  -- strict thread matches above, loose matches on Subject: below --
1999-11-18 10:01 Benjamin Herrenschmidt

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=19991117200300.B4647@bassano.linuxcare.com \
    --to=davidw@linuxcare.com \
    --cc=linuxppc-dev@lists.linuxppc.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.