On Mon, Oct 24, 2016 at 3:09 PM, Dr. David Alan Gilbert <dgilb...@redhat.com> wrote: > * vijay.kil...@gmail.com (vijay.kil...@gmail.com) wrote: >> From: Vijaya Kumar K <vijaya.ku...@cavium.com> >> >> Add helper API to read MIDR_EL1 registers to fetch >> cpu identification information. This helps in >> adding errata's and architecture specific features. >> >> This is implemented only for arm architecture. >> >> Signed-off-by: Vijaya Kumar K <vijaya.ku...@cavium.com> >> --- >> include/qemu/aarch64-cpuid.h | 9 +++++ >> util/Makefile.objs | 1 + >> util/aarch64-cpuid.c | 87 >> ++++++++++++++++++++++++++++++++++++++++++++ > > It feels like there should be somewhere else to put this very ARM specific > thing > that in util/ - not sure where though.
IRC, I tried it. But libutil is built before arch code compilation. So cannot put outside of util folder