Re: [PATCH v7 17/42] target/arm: Restrict the values of DCZID.BS under TCG

2020-06-18 Thread Peter Maydell
On Wed, 3 Jun 2020 at 02:13, Richard Henderson wrote: > > We can simplify our DC_ZVA if we recognize that the largest BS > that we actually use in system mode is 64. Let us just assert > that it fits within TARGET_PAGE_SIZE. > > For DC_GVA and STZGM, we want to be able to write whole bytes > of t

[PATCH v7 17/42] target/arm: Restrict the values of DCZID.BS under TCG

2020-06-02 Thread Richard Henderson
We can simplify our DC_ZVA if we recognize that the largest BS that we actually use in system mode is 64. Let us just assert that it fits within TARGET_PAGE_SIZE. For DC_GVA and STZGM, we want to be able to write whole bytes of tag memory, so assert that BS is >= 2 * TAG_GRANULE, or 32. Signed-o