From: Albert Cahalan <albert@users.sf.net>
To: linux-kernel mailing list <linux-kernel@vger.kernel.org>
Cc: olh@suse.de, benh@kernel.crashing.org, geert@linux-m68k.org
Subject: Re: reserve legacy io regions on powermac
Date: 21 Jul 2004 20:59:06 -0400 [thread overview]
Message-ID: <1090457945.1231.711.camel@cube> (raw)
I think a great many drivers could be cleaned up
by making IO fail if the proper IO address cookies
haven't been obtained. This might be done with
byteswapping, XOR, addition, putting a checksum in
the top 2 bytes of a 64-bit cookie, or simply
tracking where an ioremap has been done. Then the
read and write operations can check this.
In general, make IO fail if a driver doesn't play
by the rules.
Perhaps some of the low memory-mapped stuff on
x86 could be moved.
next reply other threads:[~2004-07-22 3:27 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-07-22 0:59 Albert Cahalan [this message]
-- strict thread matches above, loose matches on Subject: below --
2004-07-21 9:12 reserve legacy io regions on powermac Olaf Hering
2004-07-21 14:51 ` Benjamin Herrenschmidt
2004-07-21 14:56 ` Olaf Hering
2004-07-21 15:48 ` Geert Uytterhoeven
2004-07-21 17:08 ` Segher Boessenkool
2004-07-21 20:07 ` Jesse Barnes
2004-07-22 8:21 ` Segher Boessenkool
2004-07-23 14:21 ` Olaf Hering
2004-07-23 16:44 ` Olaf Hering
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=1090457945.1231.711.camel@cube \
--to=albert@users.sf.net \
--cc=benh@kernel.crashing.org \
--cc=geert@linux-m68k.org \
--cc=linux-kernel@vger.kernel.org \
--cc=olh@suse.de \
/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.