linux-mips
[Top] [All Lists]

Re: [PATCH v2] Revert "MIPS: make CAC_ADDR and UNCAC_ADDR account for PH

To: "Maciej W. Rozycki" <macro@linux-mips.org>
Subject: Re: [PATCH v2] Revert "MIPS: make CAC_ADDR and UNCAC_ADDR account for PHYS_OFFSET"
From: Leonid Yegoshin <Leonid.Yegoshin@imgtec.com>
Date: Wed, 26 Jun 2013 16:47:15 -0700
Cc: Ralf Baechle <ralf@linux-mips.org>, "Steven J. Hill" <Steven.Hill@imgtec.com>, "linux-mips@linux-mips.org" <linux-mips@linux-mips.org>, Florian Fainelli <florian@openwrt.org>
In-reply-to: <alpine.LFD.2.03.1306262233250.32101@linux-mips.org>
List-archive: <http://www.linux-mips.org/archives/linux-mips/>
List-help: <mailto:ecartis@linux-mips.org?Subject=help>
List-id: linux-mips <linux-mips.eddie.linux-mips.org>
List-owner: <mailto:ralf@linux-mips.org>
List-post: <mailto:linux-mips@linux-mips.org>
List-software: Ecartis version 1.0.0
List-subscribe: <mailto:ecartis@linux-mips.org?subject=subscribe%20linux-mips>
List-unsubscribe: <mailto:ecartis@linux-mips.org?subject=unsubscribe%20linux-mips>
Original-recipient: rfc822;linux-mips@linux-mips.org
References: <1371742590-10138-1-git-send-email-Steven.Hill@imgtec.com> <20130626145234.GB7171@linux-mips.org> <gjxqcs1k6ixh0k608l2d5c4p.1372261412004@email.android.com> <20130626162302.GE7171@linux-mips.org> <nh7ue18fnbn1tbs2wsphlis9.1372265400519@email.android.com> <20130626175015.GH7171@linux-mips.org> <51CB3B04.1070903@imgtec.com> <alpine.LFD.2.03.1306262233250.32101@linux-mips.org>
Sender: linux-mips-bounce@linux-mips.org
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/20130106 Thunderbird/17.0.2
On 06/26/2013 02:41 PM, Maciej W. Rozycki wrote:
Ralf,
  To complete the image, there is a set of new memory access instructions
added (including but not limited to CACHE) that in the kernel mode
separates accesses to the user space from accesses to the kernel space,
i.e. the same virtual address can map differently depending on which
instruction set it is used with.  I encourage you to have at least a skim
over the most recent set of MIPS architecture manuals publicly available
where it all is documented.

   Maciej

Look into http://www.mips.com/auth/MD00091-2B-MIPS64PRA-AFP-03.52.pdf
(registration required). Read sections 4.13, 4.12 and 9.13-9.15.
Ignore anything for 64bit core.

Sorry, I asked David Lau to update MIPS32 actual docs but it can take time.
Right now it is from 2011 year.

- Leonid.



<Prev in Thread] Current Thread [Next in Thread>