From patchwork Wed Apr 18 18:53:15 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Andrey Konovalov X-Patchwork-Id: 10348817 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 279BE601D7 for ; Wed, 18 Apr 2018 18:59:43 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 1804E287F4 for ; Wed, 18 Apr 2018 18:59:43 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 0C527287FA; Wed, 18 Apr 2018 18:59:43 +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 89770287F4 for ; Wed, 18 Apr 2018 18:59:42 +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=7+Jkj8P0sVOzz2Qyeh4cvZqG9hZDBp3vvT5N/DfPIUA=; b=MqVj5J3IXBkjUCLRFkBqmyz1tk 8ckjc7EJpe5x8nGnNq5uXq+OWdwPOprR3ImNoAHXQqAHd0kbaPP3Nke0iRwyiXkgvgFLGxfTnYiv+ +ySmzXA8jgbM0GnO1+NFtnN3/5jOwae/43fCpd3ZsxNCXRZ+wslZwLyUG56QILZtKmatQ1PwPjHQ/ kfeNYbMK2ppNkWDr1zfUTi3XXOEwwMB53SXxejJJEroZRznZQFu/Ak9aIZVRako540l5uHnApErcb YNv/75puDUhXNCEn9GPRcKySYlQusBxt0rinciY/fN/MGWP95XThOMTJwJ9tOntcFGPyIeJCkqbdy 9vfuApjQ==; 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 1f8sIi-0006X0-HY; Wed, 18 Apr 2018 18:59:28 +0000 Received: from mail-wr0-x244.google.com ([2a00:1450:400c:c0c::244]) by bombadil.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1f8sD6-0002v8-JF for linux-arm-kernel@lists.infradead.org; Wed, 18 Apr 2018 18:53:42 +0000 Received: by mail-wr0-x244.google.com with SMTP id d19-v6so7553183wre.1 for ; Wed, 18 Apr 2018 11:53:30 -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=EZGWuFfiHqjCbpQnzR64TWy+WxEaujGKaSajXvCUFAc=; b=XoOfHGDK7SgM9AlCtWHh7oh0GHDm4VZCG+jh1df8Vj4ySECjuzY2zXvwQBEs+sLGqB 6riaTc1/uxe/qFc30n7Yu43YH+sX6eTZV9LRvLh4/hkMa9HIW1ugGQuFc/Ah0OBfOwD4 e4wTpiBLAFoOxv1VLZ3TY6TsbcUy/J2c5vEGhEcWec0e3bWZ1PAMsFqijpV7YERCLimq v9eHL8GFoVB/g8fTQkNuNPC8Av5ezgvUGKackOhu1rb3Z6JWUPuiUowbY9S4PRA7RR/d 5K5lAZD9nV60MKJlhgI6GNaaPOXgq20MGKk3ntFes0rUWxNS4SkHPFFi8EbDUB0/t6wD I2sw== 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=EZGWuFfiHqjCbpQnzR64TWy+WxEaujGKaSajXvCUFAc=; b=R7LqRvEcH2iTYWFmLhLRJqI2Gq+3kosyaBTai+a/9K2LXIUqRSU117Ca9QRRnnQ57v Z9jzX2plCsJztXVptSnyV5Hc05Ch4Si535vMPmZRfVsd9hDn26/qalGJyXPrGqYQ/nJP GqjdUr3Ds7lOyzez3mb3Mqo8HqL+cT9R1z8iVyCxJxQwwb2qPHKaFoGvD5ZVWcwtOoWr 8aiYW6u82hyQ7yaDZkZTLzD0C28c+j4XsMOnowwLnQM8R6pO5zXTUTxl0x/um06wUbM6 MpaBMDMHxczIE+YtIGLTnWlFP0izQ8ty0FaIdDafhfX2pF7YBP+q7MyE2kksDh+zqs+8 Nh+Q== X-Gm-Message-State: ALQs6tB1kdrEjweIqN8kwr1Jd8cm46XMk9r8eLE4IDHeDhcLoC0uHl1U UkK9XnGROL5hutnojfhe5hOB3w== X-Google-Smtp-Source: AIpwx4+jqENAWip/MUW3PGvlX0PAg25j/IaqTVI58MpVYsnVtxnKfu+qYLlIBk/+1UQ8zcYiy7iy7A== X-Received: by 10.28.148.129 with SMTP id w123mr2649992wmd.116.1524077608370; Wed, 18 Apr 2018 11:53:28 -0700 (PDT) Received: from andreyknvl0.muc.corp.google.com ([2a00:79e0:15:10:84be:a42a:826d:c530]) by smtp.gmail.com with ESMTPSA id k79sm2616735wmg.39.2018.04.18.11.53.26 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 18 Apr 2018 11:53:27 -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 6/6] arm64: update Documentation/arm64/tagged-pointers.txt Date: Wed, 18 Apr 2018 20:53:15 +0200 Message-Id: <0fdb6332cc5bf333f80212d0b17edadd2bdc9fcf.1524077494.git.andreyknvl@google.com> X-Mailer: git-send-email 2.17.0.484.g0c8726318c-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-20180418_115340_709227_DE99AD1C X-CRM114-Status: GOOD ( 15.55 ) 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