diff options
author | Jean-Philippe Brucker <jean-philippe.brucker@arm.com> | 2016-06-17 19:33:00 +0200 |
---|---|---|
committer | Will Deacon <will.deacon@arm.com> | 2016-06-21 21:10:18 +0200 |
commit | f7e0efc9b50266f5317b50732efff98d40fc879a (patch) | |
tree | cdbf55c7e1202782c62e3377557564bb023499d8 /arch/m68k/math-emu | |
parent | Linux 4.7-rc4 (diff) | |
download | linux-f7e0efc9b50266f5317b50732efff98d40fc879a.tar.xz linux-f7e0efc9b50266f5317b50732efff98d40fc879a.zip |
arm64: update ASID limit
During a rollover, we mark the active ASID on each CPU as reserved, before
allocating a new ID for the task that caused the rollover. This means that
with N CPUs, we can only guarantee the new task to obtain a valid ASID if
we have at least N+1 ASIDs. Update this limit in the initcall check.
Note that this restriction was introduced by commit 8e648066 on the
arch/arm side, which disallow re-using the previously active ASID on the
local CPU, as it would introduce a TLB race.
In addition, we only dispose of NUM_USER_ASIDS-1, since ASID 0 is
reserved. Add this restriction as well.
Signed-off-by: Jean-Philippe Brucker <jean-philippe.brucker@arm.com>
Signed-off-by: Will Deacon <will.deacon@arm.com>
Diffstat (limited to 'arch/m68k/math-emu')
0 files changed, 0 insertions, 0 deletions