public inbox for linux-ia64@vger.kernel.org
 help / color / mirror / Atom feed
From: David Mosberger <davidm@napali.hpl.hp.com>
To: linux-ia64@vger.kernel.org
Subject: Re: [Linux-ia64] [PATCH] set ar.k0 on APs
Date: Tue, 02 Apr 2002 00:15:25 +0000	[thread overview]
Message-ID: <marc-linux-ia64-105590701905356@msgid-missing> (raw)
In-Reply-To: <marc-linux-ia64-105590701905355@msgid-missing>

>>>>> On Mon, 1 Apr 2002 16:54:20 -0700, Bjorn Helgaas <bjorn_helgaas@hp.com> said:

  Bjorn> We currently set ar.k0 on the BP, but not on the APs.  The following
  Bjorn> patch does it for APs as well.

  Bjorn> Apparently Intel firmware sets ar.k0, but HP firmware doesn't.
  Bjorn> If the kernel doesn't set ar.k0, X won't start up on APs because
  Bjorn> it uses ar.k0 to access I/O port space.

Sounds good.

  Bjorn> +	/*
  Bjorn> +	 * Set I/O port base per CPU
  Bjorn> +	 */
  Bjorn> +	ia64_set_kr(IA64_KR_IO_BASE, ia64_iobase & ~PAGE_OFFSET);

But you shouldn't mask anything with PAGE_OFFSET (it's a base-address,
not a mask).  __pa() can be used instead.  I see that setup.c had the
same problem, so I cleaned that up as well, plus I made it use
ioremap(), instead of hardcoding the formation of an uncachable
mapping).

Thanks,

	--david


      reply	other threads:[~2002-04-02  0:15 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-04-01 23:54 [Linux-ia64] [PATCH] set ar.k0 on APs Bjorn Helgaas
2002-04-02  0:15 ` David Mosberger [this message]

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-105590701905356@msgid-missing \
    --to=davidm@napali.hpl.hp.com \
    --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