On 1/10/25 13:58, Alexandru Elisei wrote: > (CC'ing everyone from MAINTAINERS because I'm touching configure) > > Vladimir sent a test for MTE [1], which didn't work on the default -cpu > model, cortex-a57, because that CPU didn't implement MTE. There were two > options to get it working: > > 1. Add -cpu max to the extra_params unittest parameter. > 2. Make the default value for the configure --processor option 'max'. > > We decided that the second option was preferable, so here it is. > > The first patch might look unrelated, but when I was writing the function > to select the default processor based on the architecture I noticed that > for arm64, $arch is first equal to aarch64, then it gets changed to arm64. > My first instinct was to have it be arm64 from the start, but then I > realized that, despite the help text, --arch=aarch64 has been supported > ever since arm64 was added to kvm-unit-tests. So I decided that it might > more prudent to go with it and document it. > > [1] https://lore.kernel.org/all/20241212103447.34593-1-vladimir.murzin@xxxxxxx/ > Thanks Alex! That removes extra hassle of setting up -cpu to match required feature. My MTE test continue working fine and require one less configuration option - undeniable improvement in user experience! FWIW: Tested-by: Vladimir Murzin <vladimir.murzin@xxxxxxx> # arm64 Vladimir > Alexandru Elisei (5): > configure: Document that the architecture name 'aarch64' is also > supported > configure: Display the default processor for arm and arm64 > arm64: Implement the ./configure --processor option > arm/arm64: Add support for --processor=max > configure: arm64: Make 'max' the default for --processor > > arm/Makefile.arm | 1 - > arm/Makefile.common | 3 +++ > configure | 35 ++++++++++++++++++++++++++--------- > 3 files changed, 29 insertions(+), 10 deletions(-) > > > base-commit: 0ed2cdf3c80ee803b9150898e687e77e4d6f5db2 > -- 2.47.1 >