From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id A47D9C2BD09 for ; Thu, 27 Jun 2024 17:01:43 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender:List-Subscribe:List-Help :List-Post:List-Archive:List-Unsubscribe:List-Id:In-Reply-To:Content-Type: MIME-Version:References:Message-ID:Subject:Cc:To:From:Date:Reply-To: Content-Transfer-Encoding:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=xjwHPG2x9mz90w62WpNmKoRG5cBfa4NekkWSTqBnJ74=; b=2Va9zPCRwg+E1AdnhRH+OVUtaU b7L0Jj5I3pOocgEyaP4ZJ1pE4R9UeFjZ30XEJuVklRNLXtniq7p6i7baCaxRu8ry7zW8e1EILDl/T l/ZFQcPqOsLbiy8CV3kJub5UU1+Mpr4FcF0Gf7uvj22zt+5hQbsgYeNnysL/ItfxpKN+snMCfh7+V dDoahp3aRW1JVdc44IPZ7p10ldaDigB59ZjYWptUeuQpMpETi07unrWYdfdJ2dvpp+cx1sllzlh8Q u2x4lO004zp3LwekBWCVgsZnikWm9TroJwYf/EvKtIiuyuL4VyNHFxY5+8OtQeOzLAFklnHz538rD h7Ox+YCg==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1sMsUu-0000000B7Z6-2Hap; Thu, 27 Jun 2024 17:01:24 +0000 Received: from sin.source.kernel.org ([145.40.73.55]) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1sMsUk-0000000B7Wv-426y for linux-arm-kernel@lists.infradead.org; Thu, 27 Jun 2024 17:01:17 +0000 Received: from smtp.kernel.org (transwarp.subspace.kernel.org [100.75.92.58]) by sin.source.kernel.org (Postfix) with ESMTP id 0EF5FCE3373; Thu, 27 Jun 2024 17:01:13 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 3AB95C2BBFC; Thu, 27 Jun 2024 17:01:12 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1719507672; bh=jTzItkcA+UmCUZyaIYRFkOjQJgj1YeLgLA50ynTvyPY=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=Kp3cOTZ4cjNRhGPXGy1PPjYXiydX/5MMiCGFbF1LaZGVu4HvUEHDKCr50WuuqzWb+ MvAUD8qU80yrbAVhK0yc7mKf67qSdodlTwWJh9dIFvRSUoNPn0+n8vYOudBfKYEijQ 7Wj/wmtx6oOygUZUMAHc7nalnXdQh7CQSWeh5Iyf6/+azSbYCmN6oPaAD9ZEY9WYdG SLh4RbXofIykBi6ce0F5onA+CvmUXlOEFcsJNKa7Sq8F28hNHutHDl0vRGaHEtiqbq ANcScJAHmc7tdADLTJprHIhk892JT5nf37m8gX44rzYanQDXJuA/oTD0psmhNFNZ9o zKrd2ZQdwgkNA== Date: Thu, 27 Jun 2024 10:01:11 -0700 From: Kees Cook To: Jinjie Ruan Cc: catalin.marinas@arm.com, will@kernel.org, oleg@redhat.com, tglx@linutronix.de, peterz@infradead.org, luto@kernel.org, wad@chromium.org, rostedt@goodmis.org, arnd@arndb.de, ardb@kernel.org, broonie@kernel.org, mark.rutland@arm.com, rick.p.edgecombe@intel.com, leobras@redhat.com, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org Subject: Re: [PATCH v2 3/3] arm64: entry: Convert to generic entry Message-ID: <202406270958.D73912B@keescook> References: <20240627081209.3511918-1-ruanjinjie@huawei.com> <20240627081209.3511918-4-ruanjinjie@huawei.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20240627081209.3511918-4-ruanjinjie@huawei.com> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240627_100115_554501_F0322B26 X-CRM114-Status: UNSURE ( 9.18 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org On Thu, Jun 27, 2024 at 04:12:09PM +0800, Jinjie Ruan wrote: > Tested ok with following test cases on Qemu cortex-a53 and HiSilicon > Kunpeng-920: > - Run `perf top` command > - Switch between different `dynamic preempt` mode > - Use `pseudo nmi` > - stress-ng CPU stress test. I think two other things to test would be the MTE functionality (especially async mode), and kasan in general. I've really struggled to get MTE working with qemu, so likely real hardware would be needed for that... I'm hoping the ARM folks have access to something that would work well for this. :) -Kees -- Kees Cook