All of lore.kernel.org
 help / color / mirror / Atom feed
From: Andi Kleen <ak@suse.de>
To: Arjan van de Ven <arjan@infradead.org>
Cc: "Huang, Ying" <ying.huang@intel.com>,
	Ingo Molnar <mingo@redhat.com>, "H. Peter Anvin" <hpa@zytor.com>,
	Thomas Gleixner <tglx@linutronix.de>,
	linux-kernel@vger.kernel.org
Subject: Re: ioremap_xxx() with EXEC enabled
Date: Wed, 30 Jan 2008 19:35:38 +0100	[thread overview]
Message-ID: <200801301935.39069.ak@suse.de> (raw)
In-Reply-To: <20080130094427.720fdae7@laptopd505.fenrus.org>


> 1) 32 bit EFI is totally irrelevant.

Apparently not to the original poster. And some Apple x86 users might 
also disagree.

On x86-64 BTW while they could still rely on end_pfn_mapped and
it being direct mapped Venki's PAT patchkit removes that so ioremap
would be needed there too 

> 2) set_memory_ and set_pages_ API is not restricted to direct mapping.
> That's why they take a virtual address / struct page

If there is no direct mapping what page tables should they change?
Surely you're not suggesting they should walk all vmalloc areas and switch
them over. I don't think this is correct.

-Andi

      reply	other threads:[~2008-01-30 18:35 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-01-30  9:32 ioremap_xxx() with EXEC enabled Huang, Ying
2008-01-30  9:59 ` Andi Kleen
2008-01-30 13:00   ` huang ying
2008-01-30 13:22     ` Andi Kleen
2008-01-30 15:45 ` Arjan van de Ven
2008-01-30 17:30   ` Andi Kleen
2008-01-30 17:44     ` Arjan van de Ven
2008-01-30 18:35       ` Andi Kleen [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=200801301935.39069.ak@suse.de \
    --to=ak@suse.de \
    --cc=arjan@infradead.org \
    --cc=hpa@zytor.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=mingo@redhat.com \
    --cc=tglx@linutronix.de \
    --cc=ying.huang@intel.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.