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] [thread-next>] [day] [month] [year] [list]
Message-ID: <YlVRALeMEv6IhhVr@zn.tnic>
Date:   Tue, 12 Apr 2022 12:14:24 +0200
From:   Borislav Petkov <bp@...en8.de>
To:     Vasant Karasulli <vkarasulli@...e.de>
Cc:     linux-kernel@...r.kernel.org, jroedel@...e.de, kvm@...r.kernel.org,
        x86@...nel.org, thomas.lendacky@....com, varad.gautam@...e.com
Subject: Re: [PATCH v6 2/4] x86/tests: Add tests for AMD SEV-ES #VC handling

On Fri, Mar 18, 2022 at 11:46:44AM +0100, Vasant Karasulli wrote:
>  Add KUnit based tests to validate Linux's
>  VC handling for instructions cpuid and wbinvd.

This looks like a commit message title to me.

Also, please write x86 instructions in all caps: CPUID and WBINVD.

>  These tests:
>    1. install a kretprobe on the #VC handler (sev_es_ghcb_hv_call, to
>       access GHCB before/after the resulting VMGEXIT).
>    2. trigger an NAE by executing either cpuid or wbinvd.
>    3. check that the kretprobe was hit with the right exit_code
>       available in GHCB.

Yes, I'd appreciate a short step-by-step thing how to run them or a
pointer to the docs.

Thx.

-- 
Regards/Gruss,
    Boris.

https://people.kernel.org/tglx/notes-about-netiquette

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ