linux-arm-kernel.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
From: steve.capper@linaro.org (Steve Capper)
To: linux-arm-kernel@lists.infradead.org
Subject: [PATCH V2] arm64: mm: Create gigabyte kernel logical mappings where possible
Date: Tue, 6 May 2014 11:16:19 +0100	[thread overview]
Message-ID: <20140506101618.GA20232@linaro.org> (raw)
In-Reply-To: <20140506095850.GA23957@arm.com>

On Tue, May 06, 2014 at 10:58:53AM +0100, Catalin Marinas wrote:
> On Fri, May 02, 2014 at 04:17:09PM +0100, Steve Capper wrote:
> > We have the capability to map 1GB level 1 blocks when using a 4K
> > granule.
> > 
> > This patch adjusts the create_mapping logic s.t. when mapping physical
> > memory on boot, we attempt to use a 1GB block if both the VA and PA
> > start and end are 1GB aligned. This both reduces the levels of lookup
> > required to resolve a kernel logical address, as well as reduces TLB
> > pressure on cores that support 1GB TLB entries.
> > 
> > Signed-off-by: Steve Capper <steve.capper@linaro.org>
> 
> I think you need to patch kern_addr_valid as well for this (we recently
> pushed a patch to detect pmd block mappings).

Ahh, I see it, thanks. I will amend the logic.

Cheers,
-- 
Steve

> 
> -- 
> Catalin

      reply	other threads:[~2014-05-06 10:16 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-05-02 15:17 [PATCH V2] arm64: mm: Create gigabyte kernel logical mappings where possible Steve Capper
2014-05-06  9:58 ` Catalin Marinas
2014-05-06 10:16   ` Steve Capper [this message]

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=20140506101618.GA20232@linaro.org \
    --to=steve.capper@linaro.org \
    --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 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).