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]
Date:   Tue, 28 Sep 2021 22:58:06 +0200
From:   Borislav Petkov <>
To:     "Kuppuswamy, Sathyanarayanan" 
Cc:     LKML <>,
        Andi Kleen <>,
        Andy Lutomirski <>,
        Ard Biesheuvel <>, Baoquan He <>,
        Benjamin Herrenschmidt <>,
        Christian Borntraeger <>,
        Daniel Vetter <>,
        Dave Young <>,
        David Airlie <>,
        Heiko Carstens <>,
        Joerg Roedel <>,
        "Kirill A. Shutemov" <>,
        Maarten Lankhorst <>,
        Maxime Ripard <>,
        Michael Ellerman <>,
        Paul Mackerras <>,
        Tom Lendacky <>,
        Thomas Zimmermann <>,
        Vasily Gorbik <>,
        VMware Graphics <>,
        Will Deacon <>,
        Christoph Hellwig <>,,,,,,,,,,
Subject: Re: [PATCH v4 0/8] Implement generic cc_platform_has() helper

On Tue, Sep 28, 2021 at 01:48:46PM -0700, Kuppuswamy, Sathyanarayanan wrote:
> Just read it. If you want to use cpuid_has_tdx_guest() directly in
> cc_platform_has(), then you want to rename intel_cc_platform_has() to
> tdx_cc_platform_has()?


You simply do:

	if (cpuid_has_tdx_guest())

and lemme paste from that mail: " should use
cpuid_has_tdx_guest() instead but cache its result so that you don't
call CPUID each time the kernel executes cc_platform_has()."

Makes sense?


Powered by blists - more mailing lists