Received: by 2002:a25:ca44:0:0:0:0:0 with SMTP id a65csp484185ybg; Sun, 26 Jul 2020 10:47:09 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxM0PVb1yJtU1ZbiyaqgaI3wGN3wHJUcNcONxb64AXUEmBNSXVVqMA3JTvdLh0Y/+SqfQ2G X-Received: by 2002:a17:906:6d56:: with SMTP id a22mr9559274ejt.440.1595785629683; Sun, 26 Jul 2020 10:47:09 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1595785629; cv=none; d=google.com; s=arc-20160816; b=HLlX9gj/RA203eDQotOi55cIV5BUxfFu6h2nF12XrO7K9QqnDD00V550gY9uDe5fEl YE6eKcRiRfxktX9+QrzGaWOVXBIP4uaAVrQxHR+M8x3E+s2YCPs2PF+NSL8GPSq74tw+ 6OwgUOluVjqQwQ++2YIGFsRUrYHYjIegiLCxXyf5/y7qrM5N3PlM6KBZxMItuHedHi5K y3+ZGLWFcHvVE5Y4T/xc96CTnWuzsnGBN3nsd/XgFf0THabCDX8/zeEYC1Alg6Wlw/wu WoyTQuFXd9HPDztBHRB70S7/ND4hHHqch6zfVIU6i2wnf1G6zRmeY4iWqpISJkRra8NE I6Gg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :message-id:to:from:cc:in-reply-to:subject:date:dkim-signature; bh=rz8PmAevX+AVytGTYCByWyvIy1/4eNHrEUMkdI13ieQ=; b=BFgJ9do8/0STYuDbpds17B5yw9zXPT8M4SWk6vhnKvQIlky6gz1woPCI3hkJ4O4XFP Fu/QtMh1HO/K2lmedHNWzY1VdxKn+POSgEMlPUiPmLKdCZlPg1LK92P2bTdLjzC5nt50 U9dJwrmUOh8EAw3Ejl3W18TxWT36yTFBSzsb9ZcCHseNN8ETQ9J23LrtPJKkZCUQ4Drl tzZKile2/eWGSJzvOsHF72Xn/br/xlq4PsM+SEJXvthhE2hfuluQs7PSsJjtq76XIWa4 kIWHbuK+aRgevPlwzUGiR3fYxaqSEVpQg6ScfgKAPsoluinPP353ls1FZDJBNv1x1RZ3 I3Zw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@dabbelt-com.20150623.gappssmtp.com header.s=20150623 header.b=QWRKokJ1; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id pg13si63380ejb.681.2020.07.26.10.46.47; Sun, 26 Jul 2020 10:47:09 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@dabbelt-com.20150623.gappssmtp.com header.s=20150623 header.b=QWRKokJ1; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727094AbgGZRov (ORCPT + 99 others); Sun, 26 Jul 2020 13:44:51 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:43932 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727062AbgGZRou (ORCPT ); Sun, 26 Jul 2020 13:44:50 -0400 Received: from mail-pg1-x541.google.com (mail-pg1-x541.google.com [IPv6:2607:f8b0:4864:20::541]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 6A844C0619D6 for ; Sun, 26 Jul 2020 10:44:50 -0700 (PDT) Received: by mail-pg1-x541.google.com with SMTP id m22so8108779pgv.9 for ; Sun, 26 Jul 2020 10:44:50 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=dabbelt-com.20150623.gappssmtp.com; s=20150623; h=date:subject:in-reply-to:cc:from:to:message-id:mime-version :content-transfer-encoding; bh=rz8PmAevX+AVytGTYCByWyvIy1/4eNHrEUMkdI13ieQ=; b=QWRKokJ1jbQuW0PkRJtwvVGJquSmHlRYaYTPngCykthHbtqC79WUZMe9dn94R+JHQ3 MD6r4dbJ5S5EaTgzrs+PGRazPszQO6zgfKXIJWnhSpchzyta3doIZ1/mZ5P+pYMOJDQz H3b5dNV2gTNEO8N8SPevaOxawfoYNgAXdLyr0+yPXY3YUsKjNCb7/MEFYzngumWotZa2 SRpKioyQgEhCAChtQDAJaDviE+f1X6taWqAtuQ0sMa5r2GQyorbXhCUrIaxkZai+xhQ/ gE9k0/WeZ7f9KgmR16E5JMvK0QwTmEkUJjdbe7w5yBQg5IhZ/XLHXP1aTWzYshwZtbN7 T23w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:subject:in-reply-to:cc:from:to:message-id :mime-version:content-transfer-encoding; bh=rz8PmAevX+AVytGTYCByWyvIy1/4eNHrEUMkdI13ieQ=; b=e5z2cy5+v25Sa41VPHI9lmgfeLgdhiHFNM6Mq+GWPKwKXnsMvXpG5KPaeRlfo64+pq vq4JlZiUanaDyrArWN9jUZNWneWyMBgrh/AtrFqFF4VcXkwIkSh2ul8Lz2mtwf7hpPxQ gGpWPHWUl4MuMwD4++PWa7Moezc7ya9gr6DbBqIE+j64Eol8HbnBxqPbBk7V+UWdnnx9 jOMU78o4LmSBpftjgShaPBnFYeWGoI8nV5ce/28I8sX0GsrkiLFhwNkJaiN6wm+WcL2J ZgwbQ0CtQtAPcb0EqMfbU17F55fpXqJnXYrxN8pNH5z6Vcn4P9tMr2G91WBV02ynENT9 hfLA== X-Gm-Message-State: AOAM531MysTFfa5PntrdjzR2LgATnBw599dDYlvf7RKHLO5W7PG6cECR 3S9DcSpVKFkKcvPB9vMzGw4QUtKXRlCIIA== X-Received: by 2002:a62:8081:: with SMTP id j123mr30331pfd.80.1595785489483; Sun, 26 Jul 2020 10:44:49 -0700 (PDT) Received: from localhost (76-210-143-223.lightspeed.sntcca.sbcglobal.net. [76.210.143.223]) by smtp.gmail.com with ESMTPSA id u2sm12465061pfl.21.2020.07.26.10.44.48 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 26 Jul 2020 10:44:48 -0700 (PDT) Date: Sun, 26 Jul 2020 10:44:48 -0700 (PDT) X-Google-Original-Date: Sun, 26 Jul 2020 10:44:45 PDT (-0700) Subject: Re: [PATCH 4/6] arch, mm: wire up secretmemfd system call were relevant In-Reply-To: <20200720092435.17469-5-rppt@kernel.org> CC: linux-kernel@vger.kernel.org, viro@zeniv.linux.org.uk, akpm@linux-foundation.org, luto@kernel.org, Arnd Bergmann , bp@alien8.de, catalin.marinas@arm.com, cl@linux.com, dan.j.williams@intel.com, dave.hansen@linux.intel.com, elena.reshetova@intel.com, hpa@zytor.com, idan.yaniv@ibm.com, mingo@redhat.com, jejb@linux.ibm.com, kirill@shutemov.name, willy@infradead.org, rppt@linux.ibm.com, rppt@kernel.org, Paul Walmsley , peterz@infradead.org, tglx@linutronix.de, tycho@tycho.ws, will@kernel.org, linux-api@vger.kernel.org, linux-arch@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-fsdevel@vger.kernel.org, linux-mm@kvack.org, linux-nvdimm@lists.01.org, linux-riscv@lists.infradead.org, x86@kernel.org From: Palmer Dabbelt To: rppt@kernel.org Message-ID: Mime-Version: 1.0 (MHng) Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, 20 Jul 2020 02:24:33 PDT (-0700), rppt@kernel.org wrote: > From: Mike Rapoport > > Wire up secretmemfd system call on architectures that define > ARCH_HAS_SET_DIRECT_MAP, namely arm64, risc-v and x86. > > Signed-off-by: Mike Rapoport > --- > arch/arm64/include/asm/unistd32.h | 2 ++ > arch/arm64/include/uapi/asm/unistd.h | 1 + > arch/riscv/include/asm/unistd.h | 1 + > arch/x86/entry/syscalls/syscall_32.tbl | 1 + > arch/x86/entry/syscalls/syscall_64.tbl | 1 + > include/linux/syscalls.h | 1 + > include/uapi/asm-generic/unistd.h | 7 ++++++- > 7 files changed, 13 insertions(+), 1 deletion(-) > > diff --git a/arch/riscv/include/asm/unistd.h b/arch/riscv/include/asm/unistd.h > index 977ee6181dab..9e47d9aed5eb 100644 > --- a/arch/riscv/include/asm/unistd.h > +++ b/arch/riscv/include/asm/unistd.h > @@ -9,6 +9,7 @@ > */ > > #define __ARCH_WANT_SYS_CLONE > +#define __ARCH_WANT_SECRETMEMFD > > #include Acked-by: Palmer Dabbelt