]> Git Repo - qemu.git/commit
target/arm: Split out aa64_va_parameter_tbi, aa64_va_parameter_tbid
authorRichard Henderson <[email protected]>
Sun, 16 Feb 2020 19:43:43 +0000 (11:43 -0800)
committerPeter Maydell <[email protected]>
Fri, 21 Feb 2020 16:07:00 +0000 (16:07 +0000)
commitb830a5ee82e66f54697dcc6450fe9239b7412d13
tree373385935717b62daaff8955b6cc805708c0322e
parent03f27724dff15633911e68a3906c30f57938ea45
target/arm: Split out aa64_va_parameter_tbi, aa64_va_parameter_tbid

For the purpose of rebuild_hflags_a64, we do not need to compute
all of the va parameters, only tbi.  Moreover, we can compute them
in a form that is more useful to storing in hflags.

This eliminates the need for aa64_va_parameter_both, so fold that
in to aa64_va_parameter.  The remaining calls to aa64_va_parameter
are in get_phys_addr_lpae and in pauth_helper.c.

This reduces the total cpu consumption of aa64_va_parameter in a
kernel boot plus a kvm guest kernel boot from 3% to 0.5%.

Reviewed-by: Peter Maydell <[email protected]>
Signed-off-by: Richard Henderson <[email protected]>
Message-id: 20200216194343[email protected]
Signed-off-by: Peter Maydell <[email protected]>
target/arm/helper.c
target/arm/internals.h
This page took 0.027907 seconds and 4 git commands to generate.