From patchwork Thu May 3 14:15:44 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Andrey Konovalov X-Patchwork-Id: 10378475 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 766F0603B4 for ; Thu, 3 May 2018 14:21:10 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 60CB728CC5 for ; Thu, 3 May 2018 14:21:10 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 5343C28F23; Thu, 3 May 2018 14:21:10 +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=-2.9 required=2.0 tests=BAYES_00, DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED, DKIM_VALID, MAILING_LIST_MULTI 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 B99BD28CC5 for ; Thu, 3 May 2018 14:21:09 +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=ypRBso4JXKGxYQ7AF4c1RLWdWRqJjzs6WqSNls5tOPg=; b=Ijqvm5+oPlB6i4yvN7FQ35dCAG mNOQNHPCWMTiyq6E07RISc2KcU3uaUwSuEeG43k+BPgnB8NSsqaeUClKGWh73mGigq+XNmOl9cGS/ yZUD8ZoDE3XDIltDlXBa9EFajDRxtIMEksMiTMfeLdajGOyyydobVMsIhBtUylWhapa0i0AYyEiBA JLt8SPbaNKb56kGcmQ9+A4lI3/RON7IrwIBE8uZTHa7UHCNbvVcqbF/q2V30zCTAyT3zxOurE/dy8 hpJk0fyx2XtjnQ0sbnUGP519vGlM23loj+0sjsMJ1D21eq0bQWdqqtuMlTromdYbZzDIfH1sAMW3/ dj+TatHw==; 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 1fEF6N-00070U-8v; Thu, 03 May 2018 14:20:55 +0000 Received: from mail-wm0-x242.google.com ([2a00:1450:400c:c09::242]) by bombadil.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1fEF1l-0003VD-4s for linux-arm-kernel@lists.infradead.org; Thu, 03 May 2018 14:16:12 +0000 Received: by mail-wm0-x242.google.com with SMTP id a137-v6so3147613wme.1 for ; Thu, 03 May 2018 07:16:00 -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=UK5wc6DlUcroqlO7Swx8mX58fL3XtYOgQeE0FdL7+yM=; b=SCYKEXLSpkNlZ9mHjShUuLWwNSiajDqZHo9U6ZQfP94nylXpVwhaK/sq9SWYSuw6qZ xgQ1LKQGfbq7VMeFIP6LF7phM9DOO4kNWoESi0QbI1EHcEFsPwSEJmupL1OyoB05vXoE TupctVtdSq13zTI46v73lUWLEIohw8yHPSyROzFIi/sfPuE5ulZNhFr++XsbAQL2/i3U l7FJtduUS2tb6945qKr4Ok8wb+PScpzEommAHb3yD+rJ3Hb9yz8ruCtvZSL6xpamwEIm ywOUlxxHQ0CTeZuLgI4GuOUP+T5FSGpLlZMwsCUky+i7P3jHK2Y42sb6Z0bEOVVTa/+W xRrg== 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=UK5wc6DlUcroqlO7Swx8mX58fL3XtYOgQeE0FdL7+yM=; b=ggWlToquqa0MySzCXkvDPyWumjHKYm8Gg6yhNsaLzWMkdbiU6fgIfV12pLtey8ww3z TQlF1cNZDJ3viq+Xz3L2KatxUtAO699f6dkSHYrovmEe8NmQ0hXtiE179UmTyeU6KwWY f1jdXCCa/4fPGxQJ1SMbVcyxSfzyulN0JIBo08tOLRKh4t/F2DcMkXOgATM1zn9ZOU9Q XG3btXuc7xsLWhX8TdbFS10446TwvLKnfsRMqIMtC1D6vSDOOu68902NK9YQ3ZXqNio9 Ml2R3OwV+CHfGbPrT1xMuXZilJZvmVl9UkTSPs0hDpKiLHp9QaR8M9qakZLuuoE71L4o vMDQ== X-Gm-Message-State: ALQs6tD/nZAHj0qt6sJ5hhjjN0UuogPgQxvBYyd184lVUTMSiDptsl1W hSNXxbp4v6cj90LH7V5VCBkXSw== X-Google-Smtp-Source: AB8JxZp3MQmZZ6oNm3X5fe1bQ1T4o6Ql+t77Nx3UuR1G4D5mj7PNDW0sv4E6Oua5EgFMYH61+7XlKQ== X-Received: by 10.28.142.149 with SMTP id q143mr14751135wmd.161.1525356959476; Thu, 03 May 2018 07:15:59 -0700 (PDT) Received: from andreyknvl0.muc.corp.google.com ([2a00:79e0:15:10:84be:a42a:826d:c530]) by smtp.gmail.com with ESMTPSA id u20-v6sm22090298wru.33.2018.05.03.07.15.57 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 03 May 2018 07:15:58 -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: [PATCH v2 6/6] arm64: update Documentation/arm64/tagged-pointers.txt Date: Thu, 3 May 2018 16:15:44 +0200 Message-Id: <1a708210a8056aa356407e72973e00970523e7e2.1525356769.git.andreyknvl@google.com> X-Mailer: git-send-email 2.17.0.441.gb46fe60e1d-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-20180503_071609_221582_4CC369BD X-CRM114-Status: GOOD ( 16.11 ) 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: Chintan Pandya , 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