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 5DA51C433EF for ; Thu, 27 Jan 2022 20:06:35 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:Message-Id:Date:Subject:Cc :To:From:Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References: List-Owner; bh=vlQPq6PIZe9qTqm+z02taQqmdchQjsJVxcrOzLyA7Yg=; b=BOx9k9ddZR1KSn 3O8OzuLZVRMi/FBHP1ceJZtl4rXl5MbMSaeeCe6k1n2HRc40Yx8LMGiFWvZDT3MofEsFnwtxACxpC z9bUP0eTC2l2xEkniscSA5yx45E2UizrcmaEdaDsc30VRGSaRs3OpekRMyhHXYILwdAuwMAp8V/ss bwRJO6fe0L9tyeSGYwqlGMJLyQO+5UKDgdLcPWcIpY8vIeuk6KW+7mYaNzi0TaFrRchV2zFhvvdBm mAG6iBadKu4w3V69shkgHVl4K0teLgG5XcccW3H1nUZbDQxKROxkZmfsLGUFtl1QP7RilLUtWIouB b3js4MiHvPbI/W3tnrsQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1nDB1F-00H1yB-6I; Thu, 27 Jan 2022 20:05:21 +0000 Received: from ams.source.kernel.org ([2604:1380:4601:e00::1]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1nDB1B-00H1xC-HP for linux-arm-kernel@lists.infradead.org; Thu, 27 Jan 2022 20:05:18 +0000 Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ams.source.kernel.org (Postfix) with ESMTPS id 3630AB821C0; Thu, 27 Jan 2022 20:05:16 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 7E7EEC340E4; Thu, 27 Jan 2022 20:05:13 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1643313914; bh=cvlT0gSzfptBLDiIE5ZevXt9KmPZ27oHoE7Uh8t4jpA=; h=From:To:Cc:Subject:Date:From; b=cQD4ggvpy2ANuwUgdf8iwlCNjZCxzhftwdg5bzDF6DqLxlTszmqnjyGBpoyQQvwik EJrgJKch89Obx62RtgOkI1X4Cqsi4QIBOzjDX/m2JgcjIcbkjtVBD3jR0+iwasOHMd QwFdz/OO/qeH8KTVwPh3E1XpFKTl5fAQlL6CL5+mqbp2irLbDvXu6wwIpGCLa0bYhA 5tGCPIIsvG5JcaptopjfE2F1RadfFmyRJu0StJ4N6nreMyR5EUMN8vIFplpA4rLaP6 gdLcZKxhczKvjgEVDxUG0WOCi/E1sKkxscC6Qgizc8+AYe6U52dHPeTgyONiKGcZ1I EdPdJE4JG9T4A== From: Mark Brown To: Catalin Marinas , Will Deacon Cc: Joey Gouly , Branislav Rankov , linux-arm-kernel@lists.infradead.org, Mark Brown Subject: [PATCH v1 0/4] arm64/mte: Asymmetric MTE support in userspace Date: Thu, 27 Jan 2022 19:57:08 +0000 Message-Id: <20220127195712.748150-1-broonie@kernel.org> X-Mailer: git-send-email 2.30.2 MIME-Version: 1.0 X-Developer-Signature: v=1; a=openpgp-sha256; l=1574; h=from:subject; bh=cvlT0gSzfptBLDiIE5ZevXt9KmPZ27oHoE7Uh8t4jpA=; b=owEBbQGS/pANAwAKASTWi3JdVIfQAcsmYgBh8vkT+zWUTiDpVGc6SvmkaHah5EY9O2DGcPCO9p01 mZzzI7WJATMEAAEKAB0WIQSt5miqZ1cYtZ/in+ok1otyXVSH0AUCYfL5EwAKCRAk1otyXVSH0ExEB/ 434TwZRc5OJbhasEtSBlpntrLOAooaJR1b6i19fXxURVMt1V4lrYzqzxGl/wxGjCmt7P0E0pz7Ro26 tab9fgqgJXeQJJc9Ms9sNfRsTdUMURKnebSqk8r5rJikkngesi55BXkQ1fLYAeAdtBCTxkVgbIGXUv WWLwTZ0Axa5cz8CQzq/WYwBTFOInCLn6h0DY4Kcn/jD54KAMcx45puTYuGezKxJL4WgloUxsLbCezh rm0VPLBJ7f9yYW9c4B7Cm2CDOA3EjpAcY3qhg0qjnhXEQpVPqiOF4QIqn3A8JcFaKr6oMWaRBaqEnM CCS2tOf05Vrn2Qbbo7BV4bKbJC2eVP X-Developer-Key: i=broonie@kernel.org; a=openpgp; fpr=3F2568AAC26998F9E813A1C5C3F436CA30F5D8EB X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20220127_120517_749502_EEA12310 X-CRM114-Status: GOOD ( 14.52 ) 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: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org MTE3 adds a new mode which is synchronous for writes but asynchronous for reads. Currently we make use of this within the kernel but do not make it available for userspace, this series extends the existing userspace ABI to allow that to happen. There's no updates to the kselftests for MTE here, I have some work in progress there but there's some overlap with Joey's work extending the tests to cover some additional cases and there's some fairly extensive assumptions that need to be unpicked about only being able to generate one type of fault at once. I'll clean that up and post it later. Mark Brown (4): arm64/mte: Document ABI for asymmetric mode arm64/mte: Add a little bit of documentation for mte_update_sctlr_user() arm64/mte: Add hwcap for asymmetric mode arm64/mte: Add userspace interface for enabling asymmetric mode Documentation/arm64/elf_hwcaps.rst | 5 ++++ .../arm64/memory-tagging-extension.rst | 12 +++++---- arch/arm64/include/asm/hwcap.h | 1 + arch/arm64/include/asm/processor.h | 1 + arch/arm64/include/uapi/asm/hwcap.h | 1 + arch/arm64/kernel/cpufeature.c | 1 + arch/arm64/kernel/cpuinfo.c | 1 + arch/arm64/kernel/mte.c | 26 ++++++++++++++++++- arch/arm64/kernel/process.c | 5 +++- include/uapi/linux/prctl.h | 4 ++- 10 files changed, 49 insertions(+), 8 deletions(-) base-commit: e783362eb54cd99b2cac8b3a9aeac942e6f6ac07 -- 2.30.2 _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel