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 for Android: free password hash cracker in your pocket
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date:   Wed, 28 Jul 2021 10:59:24 +0100
From:   Suzuki K Poulose <suzuki.poulose@....com>
To:     yee.lee@...iatek.com, linux-kernel@...r.kernel.org
Cc:     nicholas.Tang@...iatek.com, Kuan-Ying.lee@...iatek.com,
        chinwen.chang@...iatek.com,
        Catalin Marinas <catalin.marinas@....com>,
        Will Deacon <will@...nel.org>,
        Matthias Brugger <matthias.bgg@...il.com>,
        Marc Zyngier <maz@...nel.org>,
        David Brazdil <dbrazdil@...gle.com>,
        Mark Rutland <mark.rutland@....com>,
        Ionela Voinescu <ionela.voinescu@....com>,
        Amit Daniel Kachhap <amit.kachhap@....com>,
        Quentin Perret <qperret@...gle.com>,
        Andrew Scull <ascull@...gle.com>,
        James Morse <james.morse@....com>,
        Fuad Tabba <tabba@...gle.com>,
        "moderated list:ARM64 PORT (AARCH64 ARCHITECTURE)" 
        <linux-arm-kernel@...ts.infradead.org>,
        "moderated list:ARM/Mediatek SoC support" 
        <linux-mediatek@...ts.infradead.org>
Subject: Re: [PATCH 1/1] arm64/cpufeature: Add option to disable mte support

On 28/07/2021 10:42, yee.lee@...iatek.com wrote:
> From: Yee Lee <yee.lee@...iatek.com>
> 
> Add a static key to exapnd the logic of system_supports_mte().
> This function controls mte enablement in both EL1 and EL0.
> 
> The static key, "arm64_mte_support" is default true and can
> be disabled via the early_param.

Please could we use the id-reg override mechanism and give it
an alias ?

See :

arch/arm64/kernel/idreg-override.c

And could add something along the lines of :

arm64.nomte


Cheers
Suzuki

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ