From patchwork Tue Mar 27 16:57:42 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Andrey Konovalov X-Patchwork-Id: 10311113 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id 126F6600F6 for ; Tue, 27 Mar 2018 16:58:08 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id F1A2C287BD for ; Tue, 27 Mar 2018 16:58:07 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id E5B0729602; Tue, 27 Mar 2018 16:58:07 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-1.9 required=2.0 tests=BAYES_00, DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED,DKIM_VALID autolearn=ham version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id 82347287BD for ; Tue, 27 Mar 2018 16:58:07 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:MIME-Version:Cc:List-Subscribe: List-Help:List-Post:List-Archive:List-Unsubscribe:List-Id:References: In-Reply-To:Message-Id:Date:Subject:To:From:Reply-To:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:List-Owner; bh=Ysbak7jZqpxkUz32tjso7p0A7VStdqECK2pJz0UfWn4=; b=J4MB5vUISxFyg6Y5oBUF4gmygK QqvIhjguKbYij56PiBD8+RM0MHz28yNnKP53dlaOxhXQD3skuWGuTWNmDrmzCYGobrLNG6p8kvFI5 0WWUY4vUHA61lhXWlk1BlyO3oPRRb9fml/G4KpSezxqtptcLLX2IaR7MH90cMN9QPP8JePoes14AB hCZNZAp2qjljsHyQh4fYNOAkEiC9SjuIFv23i1GxDdTz4ZOkEyXztvtC6qtajIsvJEpJ8iSMEQKaE 8e+jOxHFmh6uaK99ZPRlCTCs9dS4X6539Cs3Vjo4TB2XpVsVegl7LcpEzX91x3RnnX4HBBSapy1sX myhkSmhg==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.90_1 #2 (Red Hat Linux)) id 1f0rv8-00083l-Vo; Tue, 27 Mar 2018 16:58:02 +0000 Received: from mail-wr0-x243.google.com ([2a00:1450:400c:c0c::243]) by bombadil.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1f0rv4-00080e-J1 for linux-arm-kernel@lists.infradead.org; Tue, 27 Mar 2018 16:57:59 +0000 Received: by mail-wr0-x243.google.com with SMTP id p53so15591980wrc.10 for ; Tue, 27 Mar 2018 09:57:58 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references :in-reply-to:references; bh=TrPsSA82+Wc4vKs2A+va2uJYYyXutDQZXj+lR7R4i7Y=; b=hGaHk3rT4oR7RSVZDO2A48w0IDbgBzPTt7seVreSACYhuxwuG7iKSENEjXqvP7derS jyjTDSdtsXQlb4pfyoe3MNi79AC97IkTbtpe973ozvBIZ4HkWf5i93K45lQEpy9lzNpW oFyLnKE0jkxikHr8c6BTzL6BOaN4RA56Hjf801jLyCX4sIz4Rc0hLzdPEuUt1GmXHTgz X5JoErmiBr3kfeuweYDN0T6fY8L/nyNVniZyOX1X1yXHqa9y8WJP0qDgL5X9UfB48elQ AezBGElS4A/5785trTOszzgD27eAiBMTdhu0G+URIik3mjzxxJ+111rzZkRklFnxXrjH 36dA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:in-reply-to:references; bh=TrPsSA82+Wc4vKs2A+va2uJYYyXutDQZXj+lR7R4i7Y=; b=MjmrMsT/7IRZPOXuxsqeIAP7bExP8A/NdA/So+em4HemQPOc14AMpD9Ln1aPtTGBr9 IOI1LwdfUDNOB4Z9AaB5AIS34SDcPi3dE0ndpcocJUdVqGeI8/ZYKhg8A0nxG+pHEyTG ZKBLqLTxjLtctONz5vBR6WBKOOxpqoMFkSaTLs33+8C8Huu1h2AULhP4lGsYn6uiaja7 qQHVBKZwlSezZZ/K+1zxN2vFrKjwhpg/pjXBzVtuYqffHFjjajxDwntJvgXXBfj/ggMH T2ndgHO1moCwuTPOBva/CGeMGl2ObWWzLaSyfYeG3KIwSdEKPgOkFIQqIjf6AsZckRj+ XIbw== X-Gm-Message-State: AElRT7H4Ae/NTvPI8/pIXB/R0mIp/e1pB3HDrpR1Sx2+PCL1U29xCN2B tE5DWKcGodY5c9HsfC8KglGl4w== X-Google-Smtp-Source: AIpwx48mmB0IcT064n10LjGGUrdOaAg2hz0T4aQdm7Lr/dGWIh29GAk/0bOK3XWMNVpO7eivSW7BnQ== X-Received: by 10.223.143.7 with SMTP id p7mr88799wrb.207.1522169876334; Tue, 27 Mar 2018 09:57:56 -0700 (PDT) Received: from andreyknvl0.muc.corp.google.com ([2a00:79e0:15:10:84be:a42a:826d:c530]) by smtp.gmail.com with ESMTPSA id 93sm1622992wrh.46.2018.03.27.09.57.54 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 27 Mar 2018 09:57:55 -0700 (PDT) From: Andrey Konovalov To: Catalin Marinas , Will Deacon , Jonathan Corbet , Mark Rutland , Robin Murphy , Al Viro , Andrey Konovalov , James Morse , Kees Cook , Bart Van Assche , Kate Stewart , Greg Kroah-Hartman , Thomas Gleixner , Philippe Ombredanne , Andrew Morton , Ingo Molnar , "Kirill A . Shutemov" , Dan Williams , "Aneesh Kumar K . V" , Zi Yan , linux-arm-kernel@lists.infradead.org, linux-doc@vger.kernel.org, linux-kernel@vger.kernel.org, linux-mm@kvack.org Subject: [RFC PATCH v2 6/6] arm64: update Documentation/arm64/tagged-pointers.txt Date: Tue, 27 Mar 2018 18:57:42 +0200 Message-Id: <080040fac18377cb6b9cd418668a10e1113b3c2a.1522169685.git.andreyknvl@google.com> X-Mailer: git-send-email 2.17.0.rc0.231.g781580f067-goog In-Reply-To: References: In-Reply-To: References: X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20180327_095758_659337_FD34048B X-CRM114-Status: GOOD ( 15.18 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Jacob Bramley , Ruben Ayrapetyan , Lee Smith , Kostya Serebryany , Dmitry Vyukov , Ramana Radhakrishnan , Evgeniy Stepanov MIME-Version: 1.0 Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Virus-Scanned: ClamAV using ClamSMTP Add a note that work on passing tagged user pointers to the kernel via syscalls has started, but might not be complete yet. Signed-off-by: Andrey Konovalov --- Documentation/arm64/tagged-pointers.txt | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/Documentation/arm64/tagged-pointers.txt b/Documentation/arm64/tagged-pointers.txt index a25a99e82bb1..361481283f00 100644 --- a/Documentation/arm64/tagged-pointers.txt +++ b/Documentation/arm64/tagged-pointers.txt @@ -35,8 +35,9 @@ Using non-zero address tags in any of these locations may result in an error code being returned, a (fatal) signal being raised, or other modes of failure. -For these reasons, passing non-zero address tags to the kernel via -system calls is forbidden, and using a non-zero address tag for sp is +Some initial work for supporting non-zero address tags passed to the +kernel via system calls has been done, but the kernel doesn't provide +any guarantees at this point. Using a non-zero address tag for sp is strongly discouraged. Programs maintaining a frame pointer and frame records that use non-zero