Re: [RFC v1 27/38] target/arm: move sve_zcr_len_for_el to common_cpu

2021-02-25 Thread Richard Henderson
On 2/25/21 12:13 PM, Claudio Fontana wrote: > sve_zcr_len_for_el is also called in arch_dump.c in aarch64_write_el64_sve, > via sve_current_vq(). > > Wonder if a stub is needed, or we need the whole implementation.. For sve_zcr_len_for_el, I'd use the whole thing. The dump seems to be callable

Re: [RFC v1 27/38] target/arm: move sve_zcr_len_for_el to common_cpu

2021-02-25 Thread Claudio Fontana
On 2/25/21 6:28 PM, Claudio Fontana wrote: > On 2/22/21 7:06 AM, Richard Henderson wrote: >> On 2/21/21 1:24 AM, Claudio Fontana wrote: >>> From: Claudio Fontana >>> >>> it is needed for KVM too. >>> >>> Signed-off-by: Claudio Fontana >>> --- >>> target/arm/cpu-common.c | 33

Re: [RFC v1 27/38] target/arm: move sve_zcr_len_for_el to common_cpu

2021-02-25 Thread Claudio Fontana
On 2/22/21 7:06 AM, Richard Henderson wrote: > On 2/21/21 1:24 AM, Claudio Fontana wrote: >> From: Claudio Fontana >> >> it is needed for KVM too. >> >> Signed-off-by: Claudio Fontana >> --- >> target/arm/cpu-common.c | 33 + >> target/arm/tcg/helper.c | 33

Re: [RFC v1 27/38] target/arm: move sve_zcr_len_for_el to common_cpu

2021-02-21 Thread Richard Henderson
On 2/21/21 1:24 AM, Claudio Fontana wrote: > From: Claudio Fontana > > it is needed for KVM too. > > Signed-off-by: Claudio Fontana > --- > target/arm/cpu-common.c | 33 + > target/arm/tcg/helper.c | 33 - > 2 files changed, 33