From: will.deacon@arm.com (Will Deacon)
To: linux-arm-kernel@lists.infradead.org
Subject: [PATCH 1/2] arm64: consolidate context ID for 8-bit ASIDs
Date: Mon, 20 Jun 2016 09:28:36 +0100 [thread overview]
Message-ID: <20160620082835.GD29165@arm.com> (raw)
In-Reply-To: <20160617173300.4767-1-jean-philippe.brucker@arm.com>
On Fri, Jun 17, 2016 at 06:32:59PM +0100, Jean-Philippe Brucker wrote:
> When a CPU uses 8 bits of ASID, software should write the top 8 bits of
> TTB registers and TLBI commands as 0. Currently, we put the generation
> field right above the ASIDs, which leads to writing it into TTB and TLBIs.
> Hardware is supposed to always ignore those bits, but we shouldn't rely on
> that.
Actually, I think we can rely on this. The ARM ARM has a special exception
for ASID size (there are some pending changes to this text that appear to
be inconsequential to this discussion):
ASID size
[...]
When the value of TCR_EL1.AS is 0, ASID[15:8] ... Are ignored by hardware
for every purpose other than reads of ID_AA64MMFR0_EL1.
Will
prev parent reply other threads:[~2016-06-20 8:28 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-06-17 17:32 [PATCH 1/2] arm64: consolidate context ID for 8-bit ASIDs Jean-Philippe Brucker
2016-06-17 17:33 ` [PATCH 2/2] arm64: update ASID limit Jean-Philippe Brucker
2016-06-20 8:28 ` Will Deacon [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=20160620082835.GD29165@arm.com \
--to=will.deacon@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.