All of lore.kernel.org
 help / color / mirror / Atom feed
From: "H. Peter Anvin" <hpa@zytor.com>
To: Shaohua Li <shaohua.li@intel.com>
Cc: Len Brown <lenb@kernel.org>, Jack Steiner <steiner@sgi.com>,
	Henrique de Moraes Holschuh <hmh@hmh.eng.br>,
	"tony.luck@gmail.com" <tony.luck@gmail.com>,
	"linux-acpi@vger.kernel.org" <linux-acpi@vger.kernel.org>,
	"linux-kernel@vger.kernel.org" <linux-kernel@vger.kernel.org>,
	"gbeshers@sgi.com" <gbeshers@sgi.com>
Subject: Re: [PATCH] ACPI: use ioremap_cache()
Date: Mon, 27 Dec 2010 19:35:27 -0800	[thread overview]
Message-ID: <4D195AFF.9020106@zytor.com> (raw)
In-Reply-To: <1293506460.10593.43.camel@sli10-conroe>

On 12/27/2010 07:21 PM, Shaohua Li wrote:
> RCRB is a memory mapped io. In ICH, it's chipset configuration
> registers. this range can't be cached.
> I thought we should add a check like
> if page is E820_RAM or E820_ACPI then
> 	cached_map
> else
> 	uncached_map
> we have page_is_ram() API which just checks E820_RAM, I thought we can
> add a new API to check E820_ACPI.

For x86, that is handled by the MTRRs; for ia64, I would assume
ioremap() handles that somehow, otherwise it wouldn't be able to handle
existing drivers with ioremap() in them.

	-hpa

-- 
H. Peter Anvin, Intel Open Source Technology Center
I work for Intel.  I don't speak on their behalf.

  reply	other threads:[~2010-12-28  3:35 UTC|newest]

Thread overview: 26+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-12-14 22:09 [PATCH] - Mapping ACPI tables as CACHED Jack Steiner
2010-12-14 22:58 ` H. Peter Anvin
2010-12-14 23:22   ` Len Brown
2010-12-15  0:26     ` H. Peter Anvin
2010-12-15  2:27   ` Jack Steiner
2010-12-15  4:17     ` H. Peter Anvin
2010-12-15  0:04 ` Len Brown
2010-12-15  1:18   ` H. Peter Anvin
2010-12-15  2:40     ` Len Brown
2010-12-15  2:41   ` Jack Steiner
2010-12-15  4:03     ` Len Brown
2010-12-15  4:35       ` Len Brown
2010-12-15  6:17         ` H. Peter Anvin
2010-12-15  6:17         ` Milton Miller
2010-12-15  6:29           ` H. Peter Anvin
2010-12-15 16:46       ` Jack Steiner
2010-12-15 21:16         ` Len Brown
2010-12-15 22:18           ` H. Peter Anvin
2010-12-17  2:54           ` Len Brown
2010-12-17  8:08             ` [PATCH] ACPI: use ioremap_cache() Len Brown
2010-12-27 19:42               ` Tony Luck
2010-12-27 20:12                 ` H. Peter Anvin
2010-12-28  3:21               ` Shaohua Li
2010-12-28  3:35                 ` H. Peter Anvin [this message]
2010-12-28  5:02                   ` Shaohua Li
2010-12-28 20:12                     ` H. Peter Anvin

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=4D195AFF.9020106@zytor.com \
    --to=hpa@zytor.com \
    --cc=gbeshers@sgi.com \
    --cc=hmh@hmh.eng.br \
    --cc=lenb@kernel.org \
    --cc=linux-acpi@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=shaohua.li@intel.com \
    --cc=steiner@sgi.com \
    --cc=tony.luck@gmail.com \
    /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.