All of lore.kernel.org
 help / color / mirror / Atom feed
From: catalin.marinas@arm.com (Catalin Marinas)
To: linux-arm-kernel@lists.infradead.org
Subject: [RFC PATCH 1/1] arm64: Add support for 48-bit Physical Address
Date: Wed, 26 Feb 2014 14:08:21 +0000	[thread overview]
Message-ID: <20140226140821.GD7409@arm.com> (raw)
In-Reply-To: <530DF0FE.3050602@codeaurora.org>

On Wed, Feb 26, 2014 at 01:49:50PM +0000, Christopher Covington wrote:
> On 02/26/2014 12:58 AM, mohun106 at gmail.com wrote:
> > From: Radha Mohan Chintakuntla <rchintakuntla@cavium.com>
> > 
> > Added support for ARMv8 platforms that have 48-bit physical address
> > implemented. There is no change in the VA bits and levels of
> > translation.
> 
> Is there benefit to using build-time constants for this information? Why not
> look up the physical address range at run time, so that a single kernel binary
> could run on any system?

I agree, we don't need a Kconfig option for this, just check the
available (intermediate) physical address bits at boot-time
(ID_AA64MMFR0_EL1) and program the TCR_ELx registers accordingly.

(for whatever reason, I got the same patches in private and I replied
with the same but they haven't been changed before appearing on the
list)

-- 
Catalin

  reply	other threads:[~2014-02-26 14:08 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-02-26  5:58 [RFC PATCH 0/1] arm64: 48-bit Physical Address support mohun106 at gmail.com
2014-02-26  5:58 ` [RFC PATCH 1/1] arm64: Add support for 48-bit Physical Address mohun106 at gmail.com
2014-02-26 13:49   ` Christopher Covington
2014-02-26 14:08     ` Catalin Marinas [this message]
2014-02-26 14:27       ` Radha Mohan

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=20140226140821.GD7409@arm.com \
    --to=catalin.marinas@arm.com \
    --cc=linux-arm-kernel@lists.infradead.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 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.