From: Hirofumi Fujita <h-fujita@ebina.hitachi.co.jp>
To: linux-ia64@vger.kernel.org
Subject: [Linux-ia64] CR[TPR] initialization in test12 kernel
Date: Thu, 21 Dec 2000 08:20:12 +0000 [thread overview]
Message-ID: <marc-linux-ia64-105590678205871@msgid-missing> (raw)
Hi,
In test12 kernel,
CR[TPR] is not initialized for APs (application processors).
SAL spec says nothing about it's value at SAL to OS handoff,
but we cannot expect it has been set to 0.
So it should be set to 0 when interrupts are enabled in smp_callin().
BSP's CR[TPR] is correctly initialized in init_IRQ().
--- linux-2.4.0-test12-ia64-001214/arch/ia64/kernel/smp.c.org Fri Dec 15 14:27:12 2000
+++ linux-2.4.0-test12-ia64-001214/arch/ia64/kernel/smp.c Tue Dec 19 17:45:25 2000
@@ -532,6 +532,7 @@
ia64_set_lrr0(0, 1);
ia64_set_lrr1(0, 1);
+ ia64_set_tpr(0);
local_irq_enable(); /* Interrupts have been off until now */
calibrate_delay();
And, here is another patch for init_IRQ().
CR[CMCV] is already initialized to correct value in ia64_mca_init().
--- linux-2.4.0-test12-ia64-001214/arch/ia64/kernel/irq_ia64.c.org Fri Dec 15 14:23:21 2000
+++ linux-2.4.0-test12-ia64-001214/arch/ia64/kernel/irq_ia64.c Tue Dec 19 17:54:32 2000
@@ -165,7 +165,6 @@
#endif
ia64_set_pmv(1 << 16);
- ia64_set_cmcv(CMC_IRQ); /* XXX fix me */
platform_irq_init();
Thanks,
Hirofumi Fujita
Hitachi, Ltd.
next reply other threads:[~2000-12-21 8:20 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2000-12-21 8:20 Hirofumi Fujita [this message]
-- strict thread matches above, loose matches on Subject: below --
2001-01-05 19:17 [Linux-ia64] CR[TPR] initialization in test12 kernel 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-105590678205871@msgid-missing \
--to=h-fujita@ebina.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