Received: by 10.213.65.68 with SMTP id h4csp811110imn; Tue, 27 Mar 2018 09:11:11 -0700 (PDT) X-Google-Smtp-Source: AG47ELucjbDAQWExaZp5C2jfgQbwDDnEaeGPJpqzOKUNnD4zys69VgU6FSfbeCvaYJ9bb/quXx3F X-Received: by 2002:a17:902:4d45:: with SMTP id o5-v6mr38026097plh.84.1522167071222; Tue, 27 Mar 2018 09:11:11 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1522167071; cv=none; d=google.com; s=arc-20160816; b=Ax9s5rVexPMjEGGJaBw+vws1AKbc9ssWr4g37Tt5TGcTS+GXjIASnX8i8vj/B1CRHV lM0InVnQDl0c1nzH1W5FVgEE+gPWcJP+NhQjDMkBQhsVHeEOo+QBHEOL+Q/1qnGkM+NT IlAGch1gKmMd8L52wnu7pmDOAr6dUxYlZ6qa+rt75AwmCiFcRoNL/uUh/j4biFCqGhQ9 3gAN7YajGpii+lVNpUlD4bX5aKNTs/rBklFMVTvJQpT2egoMLnM6oWnB0P6CaTaZFg6U HLlpZw/7xJa+jZP/JPsUc4NM7tFbcz8cD2K2Uu2zUhcmLk12zS6iyA5E5Hg1IRfUPWuC Ve2g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:references:in-reply-to:message-id:date :subject:cc:to:from:arc-authentication-results; bh=/tlCXJEeo6v+k7/Sr3xIRsQVZA/tnTK12YCEJpfMI7g=; b=DZvNXDp4y7olMvj24CPGZk6FZ74Quf+hvwXwRakZ0F8iMhcqeNWoBSBXa0c4TjN+qc EVEo1iMm4Bqw/TKtKEx+fie8/k081I1csnd/Ci1Q8ba2rGYnnmbNZBi51i6/L81kOzSp EhkgHKPKbHtfogd2Wma/nlDTUFdsjs4yNpWPIcHcwut03Lg73bPmgvoFgcW8nAIVpK1g a616aAQvEiuu3bG37xHBLL3pui4748dBAzx2plQbxPBzg6Hk78KtH8XdksTfKMw1ETYF b25N0uvHMGKq5clSZYQ42WZSaTa0zFBOd3rhs7e91Ftj+7kX4maufX3N/xqsaYS/znrL 86/w== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id 92-v6si1564679pli.455.2018.03.27.09.10.56; Tue, 27 Mar 2018 09:11:11 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753132AbeC0QJH (ORCPT + 99 others); Tue, 27 Mar 2018 12:09:07 -0400 Received: from mail.efficios.com ([167.114.142.138]:51690 "EHLO mail.efficios.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752706AbeC0QGW (ORCPT ); Tue, 27 Mar 2018 12:06:22 -0400 Received: from localhost (localhost [127.0.0.1]) by mail.efficios.com (Postfix) with ESMTP id EEADC1A5119; Tue, 27 Mar 2018 12:06:20 -0400 (EDT) Received: from mail.efficios.com ([127.0.0.1]) by localhost (mail02.efficios.com [127.0.0.1]) (amavisd-new, port 10032) with ESMTP id LWQK65lB_XEJ; Tue, 27 Mar 2018 12:06:20 -0400 (EDT) Received: from localhost (localhost [127.0.0.1]) by mail.efficios.com (Postfix) with ESMTP id AF13A1A5113; Tue, 27 Mar 2018 12:06:20 -0400 (EDT) X-Virus-Scanned: amavisd-new at efficios.com Received: from mail.efficios.com ([127.0.0.1]) by localhost (mail02.efficios.com [127.0.0.1]) (amavisd-new, port 10026) with ESMTP id tFItazSzgFPC; Tue, 27 Mar 2018 12:06:20 -0400 (EDT) Received: from thinkos.internal.efficios.com (192-222-157-41.qc.cable.ebox.net [192.222.157.41]) by mail.efficios.com (Postfix) with ESMTPSA id 40AA61A50FC; Tue, 27 Mar 2018 12:06:20 -0400 (EDT) From: Mathieu Desnoyers To: Peter Zijlstra , "Paul E . McKenney" , Boqun Feng , Andy Lutomirski , Dave Watson Cc: linux-kernel@vger.kernel.org, linux-api@vger.kernel.org, Paul Turner , Andrew Morton , Russell King , Thomas Gleixner , Ingo Molnar , "H . Peter Anvin" , Andrew Hunter , Andi Kleen , Chris Lameter , Ben Maurer , Steven Rostedt , Josh Triplett , Linus Torvalds , Catalin Marinas , Will Deacon , Michael Kerrisk , Mathieu Desnoyers , Benjamin Herrenschmidt , Paul Mackerras , Michael Ellerman , linuxppc-dev@lists.ozlabs.org Subject: [RFC PATCH for 4.17 12/21] powerpc: Wire up cpu_opv system call Date: Tue, 27 Mar 2018 12:05:33 -0400 Message-Id: <20180327160542.28457-13-mathieu.desnoyers@efficios.com> X-Mailer: git-send-email 2.11.0 In-Reply-To: <20180327160542.28457-1-mathieu.desnoyers@efficios.com> References: <20180327160542.28457-1-mathieu.desnoyers@efficios.com> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Signed-off-by: Mathieu Desnoyers CC: Benjamin Herrenschmidt CC: Paul Mackerras CC: Michael Ellerman CC: Boqun Feng CC: Peter Zijlstra CC: "Paul E. McKenney" CC: linuxppc-dev@lists.ozlabs.org --- arch/powerpc/include/asm/systbl.h | 1 + arch/powerpc/include/asm/unistd.h | 2 +- arch/powerpc/include/uapi/asm/unistd.h | 1 + 3 files changed, 3 insertions(+), 1 deletion(-) diff --git a/arch/powerpc/include/asm/systbl.h b/arch/powerpc/include/asm/systbl.h index 45d4d37495fd..4131825b5a05 100644 --- a/arch/powerpc/include/asm/systbl.h +++ b/arch/powerpc/include/asm/systbl.h @@ -393,3 +393,4 @@ SYSCALL(pkey_alloc) SYSCALL(pkey_free) SYSCALL(pkey_mprotect) SYSCALL(rseq) +SYSCALL(cpu_opv) diff --git a/arch/powerpc/include/asm/unistd.h b/arch/powerpc/include/asm/unistd.h index 1e9708632dce..c19379f0a32e 100644 --- a/arch/powerpc/include/asm/unistd.h +++ b/arch/powerpc/include/asm/unistd.h @@ -12,7 +12,7 @@ #include -#define NR_syscalls 388 +#define NR_syscalls 389 #define __NR__exit __NR_exit diff --git a/arch/powerpc/include/uapi/asm/unistd.h b/arch/powerpc/include/uapi/asm/unistd.h index ac5ba55066dd..f7a221bdb5df 100644 --- a/arch/powerpc/include/uapi/asm/unistd.h +++ b/arch/powerpc/include/uapi/asm/unistd.h @@ -399,5 +399,6 @@ #define __NR_pkey_free 385 #define __NR_pkey_mprotect 386 #define __NR_rseq 387 +#define __NR_cpu_opv 388 #endif /* _UAPI_ASM_POWERPC_UNISTD_H_ */ -- 2.11.0