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 5E2E4C4332F for ; Wed, 23 Nov 2022 18:07:54 +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=72DDW6/0DgJ5TDpCu+n919ZJxD+BiUshxqZ1+pW9v5s=; b=x0zQbA3ryjAPkk srczLIhpaBMO7AaaQ7vfg/zDlkI0bIWrFOc2hwVdzdBBY0vCntN+jiuEUlPsBGHNU7/AaAx0+FbLK 9TV91Y+pDRXtWuNgmjtDkIANlcTZIVlt53F/GRupHs5lBPzP/y1HFzjiyq8VALCOnzjr89BnVR4A/ 3Tah4PPZbexZGCfOokc7pyMIQRqf3UO0w6l+0A5mnm/4Ts2MIeYmy6AcMFMsi9EavhV7VdNP7TsUA 9B5Gkme0gMvt44xLptm5gAPfih+X2rlYJabcwsR8+/OiOTJu3ElQB6tIe3U6vrWq4rw3BbivfsTXE vYrdOHbaKSjPi0Q6rxEw==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1oxu8w-001QIq-Fu; Wed, 23 Nov 2022 18:06:44 +0000 Received: from dfw.source.kernel.org ([139.178.84.217]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1oxu5O-001OTc-EW for linux-arm-kernel@lists.infradead.org; Wed, 23 Nov 2022 18:03:03 +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 dfw.source.kernel.org (Postfix) with ESMTPS id C658361E4F; Wed, 23 Nov 2022 18:03:01 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id BC772C433D6; Wed, 23 Nov 2022 18:02:59 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1669226581; bh=HpeBlKl/22fqxTp1+S79LELdgY7xN5ss8bbpiuQJ18Q=; h=From:To:Cc:Subject:Date:From; b=jLssMqwHtT/ZupHTj/oI1NOqc7k3RhhNU289T1QomH5NqqwH0aazBa7pLR648YxZB 8u4jHGGJtYDHlh0M0JOINAGmO5oQkcOeN4Mry3aVJVLmUBFV4GCDE+svIcPwI+096Q nwnRjEpcH5+Ca1LTsJtRRlLLofUDeHyp2SKmrno2lMAZKTm0N0kaIG8AJF+h7Q4mWt ht/Fy9rbL9Sxulx0LyizQv5BY4qJRx/z9G0XiRh+7+G0FaRDrC7lueyEgg6hEgVN0X Y/v3h7PjYexfYpZ2FriWuK9HfGM/MP2Isi5AL1MhwP1le06AxiNDsgY4VI7JbAID1e Sx/osnzUlgFVg== From: Mark Brown To: Catalin Marinas , Will Deacon Cc: Mark Rutland , Ard Biesheuvel , linux-arm-kernel@lists.infradead.org, Mark Brown Subject: [PATCH v1 0/2] arm64/asm: Remove DAIF save/restore macros Date: Wed, 23 Nov 2022 18:02:07 +0000 Message-Id: <20221123180209.634650-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=797; i=broonie@kernel.org; h=from:subject; bh=HpeBlKl/22fqxTp1+S79LELdgY7xN5ss8bbpiuQJ18Q=; b=owEBbQGS/pANAwAKASTWi3JdVIfQAcsmYgBjfmAeMuN1GTZdY2zBAoApbHxJHj9IByfi/K6jUnVg UabaKmmJATMEAAEKAB0WIQSt5miqZ1cYtZ/in+ok1otyXVSH0AUCY35gHgAKCRAk1otyXVSH0K+JB/ 9rA2B05kfRaAwjyLnm3iOIdOCqWyiWcH28W8vmPLYhtMEVSDGvVZSHzp/RjbLRmi3wOosTG7mOuvWX WiUnM94u0PcCagNMv6TkcheNkvbUVBmpZEKg3eDHiwcabMyr923EKG8L8gY5XDb8sidiuS4wrMn8AH pLGeeJhpB1eWZhoqyxC3MZhDIaNs9mxCN+b42c8a9bhNM3xEj22gbO4VFRNzR352cpzOoR5ikBQI2+ A/f8xjr7+nzadEQh5ScfPBFvRNv5ZtiT5N9cBee9ae3E9H0NX45hLcH62s+3WsGnOWE50eZdSSQ1YA SSTaCcjX8MKfS3GBWMncXyktQQVNaF 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-20221123_100302_590957_1E9CC7C7 X-CRM114-Status: UNSURE ( 9.79 ) 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: , 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 As part of an effort to improve the maintainability of the code for manipulating DAIF let's reduce the number of places where it is implemented by lifting the masking done during TTBR1 replacement for KPTI up into C code and removing the assembler macros it was using. Due to a textual collision with the removal of enable_da this is based on for-next/trivial in the arm64 tree. Mark Brown (2): arm64/kpti: Move DAIF masking to C code arm64/asm: Remove unused assembler DAIF save/restore macros arch/arm64/include/asm/assembler.h | 9 --------- arch/arm64/include/asm/mmu_context.h | 10 ++++++++++ arch/arm64/mm/proc.S | 4 ---- 3 files changed, 10 insertions(+), 13 deletions(-) base-commit: 32d495b0c3305546f4773b9aafcd4e90188ddb9e -- 2.30.2 _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel