From: David Daney <ddaney.cavm@gmail.com>
To: "Steven J. Hill" <Steven.Hill@imgtec.com>
Cc: linux-mips@linux-mips.org, ralf@linux-mips.org
Subject: Re: [PATCH V7 1/3] MIPS: Rearrange PTE bits into fixed positions.
Date: Fri, 27 Feb 2015 09:52:15 -0800 [thread overview]
Message-ID: <54F0AECF.5070501@gmail.com> (raw)
In-Reply-To: <54EFE6B9.1050109@imgtec.com>
On 02/26/2015 07:38 PM, Steven J. Hill wrote:
> On 02/26/2015 06:51 PM, David Daney wrote:
>>
>> That's not really what I meant in my previous response on the subject.
>> When I said:
>>
>> Why not just use RI for everything, instead of taking up two bits
>> to represent a single binary concept?
>>
>> For the case where there is no RI hardware active, it is a purely
>> software bit and you can easily invert the meaning and just have a
>> _PAGE_NO_READ bit.
>>
>> I envisioned something like:
>>
>> 64-bit, all revisions: CCC D V G RI XI [S H] M A W P
>> 32-bit, all revisions: CCC D V G RI XI M A W P
>>
> Which is what I implemented.
I think there is still misunderstanding.
Your patches leave us with definitions for *both* _PAGE_READ *and*
_PAGE_NO_READ defined in the source code. My suggestion was to
eliminate all vestiges of _PAGE_READ and _PAGE_READ_SHIFT, and unify all
variants to use _PAGE_NO_READ
> I now only use one bit that functions
> either as _PAGE_READ or _PAGE_READ_ONLY depending on the RI/XI
> functionality present. Did you bother to read the code and understand
> it, or just look at the commit message?
I did read it, see above.
next prev parent reply other threads:[~2015-02-27 17:52 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-02-27 0:16 [PATCH V7 0/3] Add support for eXtended Physical Addressing Steven J. Hill
2015-02-27 0:16 ` [PATCH V7 1/3] MIPS: Rearrange PTE bits into fixed positions Steven J. Hill
2015-02-27 0:51 ` David Daney
2015-02-27 3:38 ` Steven J. Hill
2015-02-27 3:38 ` Steven J. Hill
2015-02-27 17:52 ` David Daney [this message]
2015-02-27 19:04 ` Steven J. Hill
2015-02-27 19:04 ` Steven J. Hill
2015-02-27 19:20 ` David Daney
2015-07-09 4:23 ` Huacai Chen
2015-02-27 0:16 ` [PATCH V7 2/3] MIPS: Add support for XPA Steven J. Hill
2015-02-27 0:16 ` [PATCH V7 3/3] MIPS: XPA: Add new configuration file Steven J. Hill
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=54F0AECF.5070501@gmail.com \
--to=ddaney.cavm@gmail.com \
--cc=Steven.Hill@imgtec.com \
--cc=linux-mips@linux-mips.org \
--cc=ralf@linux-mips.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