lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <ae15bf83-df34-59a3-712e-6102bec59801@redhat.com>
Date: Mon, 27 Oct 2025 13:17:07 +0100 (CET)
From: Sebastian Ott <sebott@...hat.com>
To: Sascha Bischoff <Sascha.Bischoff@....com>
cc: "maz@...nel.org" <maz@...nel.org>, 
    "oliver.upton@...ux.dev" <oliver.upton@...ux.dev>, 
    "yuzenghui@...wei.com" <yuzenghui@...wei.com>, 
    Suzuki Poulose <Suzuki.Poulose@....com>, nd <nd@....com>, 
    "linux-kernel@...r.kernel.org" <linux-kernel@...r.kernel.org>, 
    "kvmarm@...ts.linux.dev" <kvmarm@...ts.linux.dev>, 
    "linux-arm-kernel@...ts.infradead.org" <linux-arm-kernel@...ts.infradead.org>, 
    "will@...nel.org" <will@...nel.org>, Joey Gouly <Joey.Gouly@....com>
Subject: Re: Failing no-vgic-v3 test

On Mon, 27 Oct 2025, Sascha Bischoff wrote:
> On Mon, 2025-10-27 at 12:37 +0100, Sebastian Ott wrote:
>> on an ampere altra I've got a sad selftest:
>>
>> [root@...tlab-arm11 kvm]# ./arm64/no-vgic-v3
>> Random seed: 0x6b8b4567
>> ==== Test Assertion Failure ====
>>    arm64/no-vgic-v3.c:66: handled
>>    pid=3793 tid=3793 errno=4 - Interrupted system call
>>       1  0x0000000000402feb: test_run_vcpu at no-vgic-v3.c:128
>>       2  0x000000000040214f: test_guest_no_gicv3 at no-vgic-v3.c:155
>> (discriminator 17)
>>       3   (inlined by) main at no-vgic-v3.c:174 (discriminator 17)
>>       4  0x0000ffff873eb587: ?? ??:0
>>       5  0x0000ffff873eb65f: ?? ??:0
>>       6  0x00000000004022af: _start at ??:?
>>    ICC_PMR_EL1 no read trap
>>
>> This is a guest without VGICv3 on GICv3 HW. The test expects UNDEF on
>> reg
>> access - which is not happening since:
>>
>> 3193287ddffb KVM: arm64: gic-v3: Only set ICH_HCR traps for v2-on-v3
>> or v3 guests
>>
> I posted a fix for that the other day:
>
> https://lore.kernel.org/all/20251021094358.1963807-1-sascha.bischoff@arm.com/
>
> Could you please try the fix and confirm if it works for you?
>

Yes, that did the trick - thanks!
Sebastian

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ