From: Chris Friesen <cfriesen@nortelnetworks.com>
To: benh@kernel.crashing.org, linuxppc-dev@lists.linuxppc.org
Subject: confused about HID1 bits and G5
Date: Wed, 28 Apr 2004 13:36:54 -0400 [thread overview]
Message-ID: <408FEBB6.105@nortelnetworks.com> (raw)
I'm looking at 2.6.5, in the setup for the G5, specifically the HID1 register.
According to the docs for the chip, the default setting is all zeros, and the preferred setting is
0xFD3C200000000000.
The only place I see HID1 being set is in __power4_cpu_preinit, and it executes the following:
mfspr r0,SPRN_HID1
li r11,0x1200 /* enable i-fetch cacheability */
sldi r11,r11,44 /* and prefetch */
or r0,r0,r11
mtspr SPRN_HID1,r0
mtspr SPRN_HID1,r0
isync
It appears that we're relying on the firmware to set up a lot of the bits in this register--is there
any reason we aren't forcing particular values?
Chris
** Sent via the linuxppc-dev mail list. See http://lists.linuxppc.org/
next reply other threads:[~2004-04-28 17:36 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-04-28 17:36 Chris Friesen [this message]
2004-04-28 22:29 ` confused about HID1 bits and G5 Benjamin Herrenschmidt
2004-04-29 13:54 ` Chris Friesen
2004-04-29 15:05 ` Greg Watson
2004-04-29 21:49 ` Benjamin Herrenschmidt
2004-04-29 23:16 ` Greg Watson
2004-04-29 21:46 ` 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=408FEBB6.105@nortelnetworks.com \
--to=cfriesen@nortelnetworks.com \
--cc=benh@kernel.crashing.org \
--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 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).