From: "Blue Swirl" <blauwirbel@gmail.com>
To: "qemu-devel@nongnu.org" <qemu-devel@nongnu.org>
Subject: [Qemu-devel] [PATCH][FYI] Remove address masking for non-Sparc hardware
Date: Sun, 7 Dec 2008 17:09:58 +0200 [thread overview]
Message-ID: <f43fc5580812070709i4d69698eh8c5c0b8d68fe8790@mail.gmail.com> (raw)
[-- Attachment #1: Type: text/plain, Size: 547 bytes --]
Hi,
As the address supplied to MMIO functions is now an offset, some of
the address masking can be removed. I did this for Sparc, this patch
removes most of the remaining ones.
I tried to check that the size of the area registered matches the
removed mask size, the area size is static and the function is not
used also for IO port access which uses absolute port numbers. In
RTL8139 case the common function performs the operation.
I have not tested the patch otherwise, so I won't apply it but offer
the patch for testing and cherry picking.
[-- Attachment #2: remove_address_masking_rest.diff --]
[-- Type: plain/text, Size: 25805 bytes --]
reply other threads:[~2008-12-07 15:10 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
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=f43fc5580812070709i4d69698eh8c5c0b8d68fe8790@mail.gmail.com \
--to=blauwirbel@gmail.com \
--cc=qemu-devel@nongnu.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;
as well as URLs for NNTP newsgroup(s).