On 5/5/22 13:39, Peter Maydell wrote:
Factor out the part of combine_cacheattrs() that is specific to
handling HCR_EL2.FWB == 0.  This is the part where we combine the
memory type and cacheability attributes.

The "force Outer Shareable for Device or Normal Inner-NC Outer-NC"
logic remains in combine_cacheattrs() because it holds regardless
(this is the equivalent of the pseudocode EffectiveShareability()
function).

Signed-off-by: Peter Maydell<peter.mayd...@linaro.org>
---
  target/arm/helper.c | 88 +++++++++++++++++++++++++--------------------
  1 file changed, 50 insertions(+), 38 deletions(-)

Reviewed-by: Richard Henderson <richard.hender...@linaro.org>

r~

Reply via email to