From patchwork Thu Aug 30 11:41:14 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Andrey Konovalov X-Patchwork-Id: 10581539 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 38E8F174C for ; Thu, 30 Aug 2018 11:41:53 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 2A7F02BA60 for ; Thu, 30 Aug 2018 11:41:53 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 1DDFE2BA68; Thu, 30 Aug 2018 11:41:53 +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=-10.5 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,MAILING_LIST_MULTI,RCVD_IN_DNSWL_NONE, USER_IN_DEF_DKIM_WL autolearn=unavailable version=3.3.1 Received: from kanga.kvack.org (kanga.kvack.org [205.233.56.17]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id C64F52BA60 for ; Thu, 30 Aug 2018 11:41:52 +0000 (UTC) Received: by kanga.kvack.org (Postfix) id 46C4D6B513F; Thu, 30 Aug 2018 07:41:36 -0400 (EDT) Delivered-To: linux-mm-outgoing@kvack.org Received: by kanga.kvack.org (Postfix, from userid 40) id 378C66B5142; Thu, 30 Aug 2018 07:41:36 -0400 (EDT) X-Original-To: int-list-linux-mm@kvack.org X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id 1F3FA6B5143; Thu, 30 Aug 2018 07:41:36 -0400 (EDT) X-Original-To: linux-mm@kvack.org X-Delivered-To: linux-mm@kvack.org Received: from mail-wm0-f70.google.com (mail-wm0-f70.google.com [74.125.82.70]) by kanga.kvack.org (Postfix) with ESMTP id B04C96B513F for ; Thu, 30 Aug 2018 07:41:35 -0400 (EDT) Received: by mail-wm0-f70.google.com with SMTP id s205-v6so1132956wmf.7 for ; Thu, 30 Aug 2018 04:41:35 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:dkim-signature:from:to:cc:subject:date :message-id:in-reply-to:references:mime-version :content-transfer-encoding; bh=W/jdbb2Vq3Kiym03/gav3BOUvcnL67E9+cfyfM7MhIU=; b=CnFVxBiHxk4E61UncnNeqW8OsR8nY3KuuC+q0QVsqPIRd90t2+jK9javVtrKSIxLqs 0MOOirhbHgySE4R6ilEtXbcbHwIatz/C93YM2MQLfisFtFBM+qrKXNUK2G1c3VhwfNnM Zg8UaBQfNFFLh27EaPVjMAaLfbkjWlm3UfDbp7rOddkVr/F6reSE5a6ah3IluOQvQzoL S65ZDaqHB5Dxd//U0/QS7AVHboaNBqZLe4QaB3rqIy/bayBwS/EKB26nZFNJGrLGEQtS ZxLyMzYdoAqmN7MHQz86NT+tIyQjZIAFkBycmpVwgC5DrFkUequQnLuQC8Pa/Ax10PC+ ykEQ== X-Gm-Message-State: APzg51CFT9z9Ejb0h1Ze0+SRPjqVkW7PWqVCrgA+PJ4EqrHEU/tFQOv4 57t6JQszpQ4ACnufnrYh4V1PyIbaKeh5Q9JqaHeoYi5q7NDbQ98jSaDyIn+IkPW/J4A3MyOajPf ic9PWihdJaRuy8ac4q1tWKIziRTMslAW+C44HtElmNdhEBOLqpApzlfiwEqB59ujPUDsTNZzPv9 5ZClf+9+7bGRuBBo8OhSzSlbpNKaimQyxZ1PjrXkjicnn897mL5xG6TafxBQwICY1gqqzqZkUzH jnVJM2rIaRhdXC1qtKLSYm8WeU4p6bZ5F6H4ZIKzALklEEq4uCiTuC7mSXOB29XiDMUtjlPiLn1 G2bvxCkC06MW59PoMH1Q+pvAX4KhWw0B7J6utNn/ZrSYaJ4lHybKdHcrtaSLBOBE7J+JVGfM06B 6 X-Received: by 2002:a1c:1f48:: with SMTP id f69-v6mr1480308wmf.152.1535629295173; Thu, 30 Aug 2018 04:41:35 -0700 (PDT) X-Received: by 2002:a1c:1f48:: with SMTP id f69-v6mr1480280wmf.152.1535629294530; Thu, 30 Aug 2018 04:41:34 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1535629294; cv=none; d=google.com; s=arc-20160816; b=ESHBXLmQ6EYnLe4ZtyE4qftAERQMM7BSBk7Uei1/8fsXol9Ua+hufo04vbEkdg1OQS EBWBNUZHHmFl/1tIb2i4jc9txXXFuC9S3AnycCtSeWjmIqyuYpuvQgV6uxiRYhZQ+VBF K9mQyGuE2zR2VPoy0RM2+a8UJK0VqB5/erkgAAjtNltuzzMv9QKQFUK0rtGmMDrrLJbC 7X9eY5ZzdBaBuVYVFi8JDSfSe0bs1YqB9T3bzhzGhiPHK/WeGmHg8eR1OTtTor2WKzae X0cQZ9LrHX0hwdojjETVM8U7QVYPAJXjcky83HYBvwCwZZedxgqrkZf75KBTBhGAj8dV l1Cw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:dkim-signature; bh=W/jdbb2Vq3Kiym03/gav3BOUvcnL67E9+cfyfM7MhIU=; b=NLR360+yQmfOQiSdDGDnXGm/Bi/kGeygsovYKA6hQTcmaPK3HHD8nIol4CNZ8K7FQ+ qZ0cgckE6OJ+d9mMGRV4n5o45RrwQASipTieA0TcxEhh5DL10eMBlKTHmEARvny+bU5S KX5DR2526pQVi5XsszpNQP8i5mm/aXeP21eRD+CP7K0lKspB3Co+mlCTLM6S9NFGV16z UQaEVpIb8PujUeKw6Wwz0EgLgAK9BY+ltOtaJ3GqT+pIe9CcK8jmMgV/Xuh173VD1EyA xym8/Io6kcKepQWHGrWNymzieaGmIMHjGHVb57oQOMbBX/5fWY32VRkml4OpaqvFDBtW RMIw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@google.com header.s=20161025 header.b="DMD4I/SS"; spf=pass (google.com: domain of andreyknvl@google.com designates 209.85.220.65 as permitted sender) smtp.mailfrom=andreyknvl@google.com; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=google.com Received: from mail-sor-f65.google.com (mail-sor-f65.google.com. [209.85.220.65]) by mx.google.com with SMTPS id r196-v6sor56908wmg.11.2018.08.30.04.41.34 for (Google Transport Security); Thu, 30 Aug 2018 04:41:34 -0700 (PDT) Received-SPF: pass (google.com: domain of andreyknvl@google.com designates 209.85.220.65 as permitted sender) client-ip=209.85.220.65; Authentication-Results: mx.google.com; dkim=pass header.i=@google.com header.s=20161025 header.b="DMD4I/SS"; spf=pass (google.com: domain of andreyknvl@google.com designates 209.85.220.65 as permitted sender) smtp.mailfrom=andreyknvl@google.com; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=google.com 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 :mime-version:content-transfer-encoding; bh=W/jdbb2Vq3Kiym03/gav3BOUvcnL67E9+cfyfM7MhIU=; b=DMD4I/SS8lJ+d3U1+HP9Yl6kLLZHPhvAdJS/JxxXCHjmDxUF/UgLbg2LpoqOkcwLuR wQQPHq4FCtWNS5xr7a3yBgBLJiWBX59b39kyQUx1OqIRTZZTjyRpftdyJmGkxbABZFU6 5KDwphISdpfEXbTOa+4UH4EiTU/0Wi30p9H0GhSfdYr6ze+w3YzNJGGCjrGlYOzyxLmh iWSjewMZmvPQ1GwgRIhyGXsGTzAm8HlL91OxzULxqV+6QAR/5fdqnSyQQBmOZsTukWgi 9+fmCsSQzqxxTagM+2Wx2wT5yLGsY3A4DZXaZsUTAtgiarABDJqijOFj2slq5uuV7G9d s3yw== X-Google-Smtp-Source: ANB0VdZJCY9SDGNv4X5vQQOPslJfwglBfynr1JnV8gKw4PAQtLtDlI07kC0OD66facMHWBf1VWf6KA== X-Received: by 2002:a1c:e54:: with SMTP id 81-v6mr1614151wmo.84.1535629293894; Thu, 30 Aug 2018 04:41:33 -0700 (PDT) Received: from andreyknvl0.muc.corp.google.com ([2a00:79e0:15:10:84be:a42a:826d:c530]) by smtp.gmail.com with ESMTPSA id z184-v6sm2175218wmz.0.2018.08.30.04.41.32 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 30 Aug 2018 04:41:33 -0700 (PDT) From: Andrey Konovalov To: Catalin Marinas , Will Deacon , Mark Rutland , Robin Murphy , Al Viro , Andrey Konovalov , Kees Cook , Kate Stewart , Greg Kroah-Hartman , Andrew Morton , Ingo Molnar , "Kirill A . Shutemov" , Shuah Khan , linux-arm-kernel@lists.infradead.org, linux-doc@vger.kernel.org, linux-mm@kvack.org, linux-arch@vger.kernel.org, linux-kselftest@vger.kernel.org, linux-kernel@vger.kernel.org Cc: Dmitry Vyukov , Kostya Serebryany , Evgeniy Stepanov , Lee Smith , Ramana Radhakrishnan , Jacob Bramley , Ruben Ayrapetyan , Chintan Pandya Subject: [PATCH v6 09/11] arm64: update Documentation/arm64/tagged-pointers.txt Date: Thu, 30 Aug 2018 13:41:14 +0200 Message-Id: <594756b2aa9fea948f4da3cd01ffa8a5acbc5805.1535629099.git.andreyknvl@google.com> X-Mailer: git-send-email 2.19.0.rc0.228.g281dcd1b4d0-goog In-Reply-To: References: MIME-Version: 1.0 X-Bogosity: Ham, tests=bogofilter, spamicity=0.000000, version=1.2.4 Sender: owner-linux-mm@kvack.org Precedence: bulk X-Loop: owner-majordomo@kvack.org List-ID: 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