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 X-Spam-Level: X-Spam-Status: No, score=-12.4 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, MENTIONS_GIT_HOSTING,SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED,USER_AGENT_GIT autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 8DE43C4338F for ; Thu, 5 Aug 2021 13:40:25 +0000 (UTC) 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 mail.kernel.org (Postfix) with ESMTPS id 5A11561154 for ; Thu, 5 Aug 2021 13:40:25 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.1 mail.kernel.org 5A11561154 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=arm.com Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=lists.infradead.org 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:References:In-Reply-To: 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: List-Owner; bh=zEu7gXz6bNQdzkdmpF6EOWIJwoco3y9gaBO3ri8jTwA=; b=Au4v8i3m3tyBBl vLQKj6Y4MX4p1P87fmJ26bJMTltx8RVOdiPVkRYgCpUOsHd8qqlLHcJFEqMoBwVFnNows0GZ2B4t3 Jyy+FPDgO2A3v7kFGaD17jI0pSfJp6ZV2uqw6XdRGxGkbqct3bD2Ys9GLAgBY65oQBJI2ObPebWSt 9f8a4Xyr1NL19Jjgk0clXRYM/LOViMstYJaKdps+TLn9dUTsgrBGVSF1EbzkxsBqtDsWaOQ0BKU9D C3hxLKYcYWJIZa8FTCZnXRjHnxItuDxI7XFCnWV3+8TwF5IIEcJxiXYiVZ33L4AmkJUehyPZ4yZcK 0PpEJk9MlKOZCuTWnIJg==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1mBdaR-009ier-1F; Thu, 05 Aug 2021 13:39:03 +0000 Received: from mail.kernel.org ([198.145.29.99]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1mBdaN-009ieO-ME for linux-arm-kernel@lists.infradead.org; Thu, 05 Aug 2021 13:39:01 +0000 Received: by mail.kernel.org (Postfix) with ESMTPSA id EE21F6113C; Thu, 5 Aug 2021 13:38:57 +0000 (UTC) From: Catalin Marinas To: Mark Rutland , linux-arm-kernel@lists.infradead.org Cc: Will Deacon , maz@kernel.org, james.morse@arm.com, joey.gouly@arm.com Subject: Re: [PATCH 0/4] arm64: entry: rework user return handling Date: Thu, 5 Aug 2021 14:38:56 +0100 Message-Id: <162817061093.16854.7299387625427703505.b4-ty@arm.com> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20210802140733.52716-1-mark.rutland@arm.com> References: <20210802140733.52716-1-mark.rutland@arm.com> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20210805_063859_785135_6784AFBA X-CRM114-Status: GOOD ( 11.94 ) 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 On Mon, 2 Aug 2021 15:07:29 +0100, Mark Rutland wrote: > These patches (based on v5.14-rc3) rework the arm64 entry code, > converting the bulk of `ret_to_user` and `work_pending` assembly code to > C. This simplifies the code, and ensure that for each exception there is > a single assembly<->c transition, which may make it easier to handle > backtracing in future if metadata is necessary. > > The bulk of the additions are comments added in patch 2, which clarify > the semantics of some helpers functions used during entry/exit. > > [...] Applied to arm64 (for-next/entry). There was a small conflict in entry.S with the changes from the for-next/mte branch - clear_mte_async_tcf macro call moved around. I also fixed the typos that Joey mentioned. Please have a look to make sure everthing is still ok. Thanks! [1/4] arm64: entry: consolidate entry/exit helpers https://git.kernel.org/arm64/c/46a2b02d232e [2/4] arm64: entry: clarify entry/exit helpers https://git.kernel.org/arm64/c/bc29b71f53b1 [3/4] arm64: entry: move bulk of ret_to_user to C https://git.kernel.org/arm64/c/4d1c2ee2709f [4/4] arm64: entry: call exit_to_user_mode() from C https://git.kernel.org/arm64/c/e130338eed5d -- Catalin _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel