Received: by 10.192.165.148 with SMTP id m20csp4409332imm; Tue, 8 May 2018 08:02:22 -0700 (PDT) X-Google-Smtp-Source: AB8JxZrJr6nolBa5ZSqnE2w42L0qlheAQ4R11ZHH48b+e2srOjT5z/7JZn3RX2OGOzRurpWpIxlC X-Received: by 10.98.64.79 with SMTP id n76mr17211300pfa.185.1525791742508; Tue, 08 May 2018 08:02:22 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1525791742; cv=none; d=google.com; s=arc-20160816; b=H8lO7LRlxVG7l8x2xMjGiFLcREIaYBtQgtwGHflLmpczj9DAmfkHhxWt4w7o4mE0kF dQcm6xJsWhRQrL2RAkmhgbrC/hsy/aiM7hnUkCWLUJJxzzoWPVxdw76ntnY5q2ntxtTI oIlQSGlUBBkYakYf6FBMWZ7pfhnAc9euQo3AUFQDe9XS/3x7VeqWTVFsC3YBKK265TOl jEgQ6vPIemEVkqmUbC4SGWMJvui5h+VAKuKoNfusXXRNpK7K1GefFaptVYbl34PmakWN 1aaLRNIGnC3j+yjuZeK5DfIMyrhihzB2atjy/CI0YpjK2YZYKpCS3hqc6bNVyMahYo1J DmDg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:message-id:date:subject:cc:to:from :arc-authentication-results; bh=IOPP0eKuxEOPOLgQRNSDqXtZV+ezOVqxzJxYDEGHPI8=; b=GpPLqMEi5Z/ENXiZxATQZXplfG+tDKXXkqNlPUd3QE9xw8KafNpfPRocX8qj3h7TBi txGCFa5U6qj52KkwnO+sYza/fNxcWOgrH6M/12qbF4/2P98cV0vuNBoeZDk7V/7iJ4sL AF+19eTJzwHH/FCaeNn6OGBUr95pMugpj73FolQvahIpKT6uRC/9hEVHnrr+15JvgIkW VxjUjwF0cGulekByvsYFV1NBBtxGhNWf7s5SEcdjO8eype0NZk7MXDEieWsDRqDkXPBo w7Qcdfyw7h46gnmpp4pqZLRP99KRXJraNC6rf55AVDkkGDXOnwWWVRHNkWGSzlHKjKzR 6T+g== 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 r11-v6si16273700pgp.235.2018.05.08.08.02.06; Tue, 08 May 2018 08:02:22 -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 S932734AbeEHO75 (ORCPT + 99 others); Tue, 8 May 2018 10:59:57 -0400 Received: from ozlabs.org ([203.11.71.1]:34845 "EHLO ozlabs.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932679AbeEHO74 (ORCPT ); Tue, 8 May 2018 10:59:56 -0400 Received: by ozlabs.org (Postfix, from userid 1034) id 40gN232gsdz9s27; Wed, 9 May 2018 00:59:55 +1000 (AEST) From: Michael Ellerman To: linuxram@us.ibm.com Cc: mingo@redhat.com, linuxppc-dev@ozlabs.org, linux-mm@kvack.org, x86@kernel.org, linux-kernel@vger.kernel.org, dave.hansen@intel.com Subject: [PATCH 0/8] mm, x86, powerpc: Consolidate pkey code Date: Wed, 9 May 2018 00:59:40 +1000 Message-Id: <20180508145948.9492-1-mpe@ellerman.id.au> X-Mailer: git-send-email 2.14.1 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org This is a rework of Ram's series, which broke the build on both arches at various points due to the differing header dependencies. The actual pkey changes are basically the same, this just has some rework to get the headers cleaned up a bit beforehand. If no one objects I'll ask Stephen to put these in a topic branch in linux-next, and I or someone else can merge them for 4.18. cheers Ram's original: http://patchwork.ozlabs.org/patch/909066/ http://patchwork.ozlabs.org/patch/909067/ http://patchwork.ozlabs.org/patch/909068/ Michael Ellerman (5): mm/pkeys: Remove include of asm/mmu_context.h from pkeys.h mm/pkeys, powerpc, x86: Provide an empty vma_pkey() in linux/pkeys.h x86/pkeys: Move vma_pkey() into asm/pkeys.h x86/pkeys: Add arch_pkeys_enabled() mm/pkeys: Add an empty arch_pkeys_enabled() Ram Pai (3): mm, powerpc, x86: define VM_PKEY_BITx bits if CONFIG_ARCH_HAS_PKEYS is enabled mm, powerpc, x86: introduce an additional vma bit for powerpc pkey mm/pkeys, x86, powerpc: Display pkey in smaps if arch supports pkeys arch/powerpc/include/asm/mmu_context.h | 5 ----- arch/powerpc/include/asm/pkeys.h | 2 ++ arch/x86/include/asm/mmu_context.h | 15 --------------- arch/x86/include/asm/pkeys.h | 13 +++++++++++++ arch/x86/kernel/setup.c | 8 -------- fs/proc/task_mmu.c | 13 +++++++------ include/linux/mm.h | 12 +++++++----- include/linux/pkeys.h | 13 +++++++++++-- 8 files changed, 40 insertions(+), 41 deletions(-) -- 2.14.1