On Mon, 11 Sept 2023 at 15:59, Philippe Mathieu-Daudé <phi...@linaro.org> wrote: > > On 11/9/23 15:53, Peter Maydell wrote: > > Our lists of Arm 32 and 64 bit hwcap values have lagged behind > > the Linux kernel. Update them to include all the bits defined > > as of upstream Linux git commit a48fa7efaf1161c1 (in the middle > > of the kernel 6.6 dev cycle). > > > > For 64-bit, we don't yet implement any of the features reported via > > these hwcap bits. For 32-bit we do in fact already implement them > > all; we'll add the code to set them in a subsequent commit. > > > > Signed-off-by: Peter Maydell <peter.mayd...@linaro.org> > > --- > > linux-user/elfload.c | 44 ++++++++++++++++++++++++++++++++++++++++++++ > > 1 file changed, 44 insertions(+) > > Reviewed-by: Philippe Mathieu-Daudé <phi...@linaro.org> > > Why can't we import asm/hwcap.h with update-linux-headers.sh?
Probably no inherent reason, but historically linux-user has always defined its own versions of target architecture kernel header values and structures. -- PMM