[PATCH 05/11] tools headers: Sync arm64 headers with the kernel source
Namhyung Kim
namhyung at kernel.org
Wed Aug 27 10:28:12 PDT 2025
Hi Leo,
On Wed, Aug 27, 2025 at 09:12:52AM +0100, Leo Yan wrote:
> On Mon, Aug 25, 2025 at 02:58:57PM -0700, Namhyung Kim wrote:
>
> [...]
>
> > But the following two changes cannot be applied since they introduced
> > new build errors in util/arm-spe.c. So it still has the warning after
> > this change.
> >
> > c8c2647e69bedf80 arm64: Make _midr_in_range_list() an exported function
> > e3121298c7fcaf48 arm64: Modify _midr_range() functions to read MIDR/REVIDR internally
>
> Hi Namhyung,
>
> Thanks for working on this. It is on our todo list for automatic
> generating MIDR. Sorry for any troubling during the syncing.
No worries, and thanks for your review. I'm glad you noticed the issue
and have it in you TODO list. :)
>
> Just a minor comment below.
>
> [...]
>
> > +struct target_impl_cpu {
> > + u64 midr;
> > + u64 revidr;
> > + u64 aidr;
> > +};
> > +
> > +bool cpu_errata_set_target_impl(u64 num, void *impl_cpus);
> > +
>
> Currently, no one uses this API. It seems to me that we don't need to
> sync this code chunk.
Ok, but it'd be easier for me just to have the change anyway.
>
> Otherwise, other changes LGTM.
Thanks,
Namhyung
More information about the linux-arm-kernel
mailing list