[PATCH v7 4/5] smccc/kvm_guest: Enable errata based on implementation CPUs
Marc Zyngier
maz at kernel.org
Fri Feb 14 08:43:20 PST 2025
On Fri, 14 Feb 2025 16:12:02 +0000,
Sebastian Ott <sebott at redhat.com> wrote:
>
> On Fri, 14 Feb 2025, Shameer Kolothum wrote:
> > +++ b/arch/arm64/kernel/cpu_errata.c
> > @@ -14,6 +14,9 @@
> > #include <asm/kvm_asm.h>
> > #include <asm/smp_plat.h>
> >
> > +u32 target_impl_cpu_num;
> > +struct target_impl_cpu *target_impl_cpus;
>
> These should be exported (for configs using
> CONFIG_CORESIGHT_SOURCE_ETM4X=m)
It might be better to make is_midr_in_range() out of line, and export
that. This could allow making the data static (by implementing a
couple of additional accessors).
Thanks,
M.
--
Without deviation from the norm, progress is not possible.
More information about the linux-arm-kernel
mailing list