public inbox for linux-ia64@vger.kernel.org
 help / color / mirror / Atom feed
From: Bjorn Helgaas <bjorn.helgaas@hp.com>
To: linux-ia64@vger.kernel.org
Subject: Re: [patch 4/5] ia64: fail mmaps that span areas with incompatible attributes
Date: Mon, 28 May 2007 15:07:14 +0000	[thread overview]
Message-ID: <200705280907.14687.bjorn.helgaas@hp.com> (raw)
In-Reply-To: <200703211622.05198.bjorn.helgaas@hp.com>

On Sunday 27 May 2007 08:55:45 pm Peter Chubb wrote:
> >>>>> "Peter" = Peter Chubb <peter@chubb.wattle.id.au> writes:
> 
> >>>>> "Bjorn" = Bjorn Helgaas <bjorn.helgaas@hp.com> writes:
> 
> Bjorn> Example memory map (from HP sx1000 with VGA enabled): 0x00000 -
> Bjorn> 0x9FFFF supports only WB (cacheable) access 0xA0000 - 0xBFFFF
> Bjorn> supports only UC (uncacheable) access 0xC0000 - 0xFFFFF
> Bjorn> supports only WB (cacheable) access
> 
> Bjorn> Some versions of X map the entire 0x00000-0xFFFFF area at once.
> Bjorn> With the example above, this mmap must fail because there's no
> Bjorn> memory attribute that's safe for the entire area.
> 
> Peter> This patch breaks X on a ZX2000.
> 
> Except that there is a fix in the latest X source.
> 
> Sorry to bother you all.

No problem, I should have mentioned the X server interlock
in the changelog, which would have saved you the trouble of
debugging this.  This whole area has been an incredible
headache, and I recently discovered yet another hole to
be fixed (mmap via /proc/bus/pci needs to be checked, iirc).

Bjorn

      parent reply	other threads:[~2007-05-28 15:07 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-03-21 22:22 [patch 4/5] ia64: fail mmaps that span areas with incompatible attributes Bjorn Helgaas
2007-03-30 16:35 ` Bjorn Helgaas
2007-05-28  1:03 ` Peter Chubb
2007-05-28  2:55 ` Peter Chubb
2007-05-28 15:07 ` Bjorn Helgaas [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=200705280907.14687.bjorn.helgaas@hp.com \
    --to=bjorn.helgaas@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