public inbox for linux-ia64@vger.kernel.org
 help / color / mirror / Atom feed
From: Hiro Fujita <fujita@kanagawa.hitachi.co.jp>
To: linux-ia64@vger.kernel.org
Subject: [Linux-ia64] register initialization error on test9 ?
Date: Tue, 17 Oct 2000 06:13:46 +0000	[thread overview]
Message-ID: <marc-linux-ia64-105590678205572@msgid-missing> (raw)

Hi,

there seems to be a register initialization error on test9 kernel.

--- linux-2.4.0-test9-ia64-001004/arch/ia64/kernel/head.S.org	Fri Oct  6 09:20:34 2000
+++ linux-2.4.0-test9-ia64-001004/arch/ia64/kernel/head.S	Mon Oct 16 20:50:07 2000
@@ -73,15 +73,13 @@
 	mov ar.fpsr=r2
 	;;
 
-#ifdef CONFIG_IA64_EARLY_PRINTK
-	mov r2=6
-	mov r3=(8<<8) | (28<<2)
+	movl r2=6<<61
+	mov r3=(6<<8) | (28<<2)
 	;;
 	mov rr[r2]=r3
 	;;
 	srlz.i
 	;;
-#endif
 
 #define isAP	p2	// are we booting an Application Processor (not the BSP)?
 
----------------
In the original code, RR[0] is initialized instead of RR[6].
I don't know whether the RID value should be 8 or 6,
but it is later re-initialized to 6 in ia64_rid_init().

And, this initialization should be done for all application 
processors (APs) even if CONFIG_IA64_EARLY_PRINTK is not defined, 
because RR[6] is used for translation when printk() is called by AP.

When AP calls printk(), writes to VGA region (0xc0000000000bxxxx) is
occured because console_drivers is already initialized by BSP.

Is this right ?
I don't know the detail of address translation.

--
Hiro Fujita
Hitachi, Ltd.


             reply	other threads:[~2000-10-17  6:13 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2000-10-17  6:13 Hiro Fujita [this message]
2000-10-17  7:18 ` [Linux-ia64] register initialization error on test9 ? David Mosberger

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=marc-linux-ia64-105590678205572@msgid-missing \
    --to=fujita@kanagawa.hitachi.co.jp \
    --cc=linux-ia64@vger.kernel.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox