From mboxrd@z Thu Jan 1 00:00:00 1970 From: Arnd Bergmann Subject: Re: [PATCH] mm: only enable sys_pkey* when ARCH_HAS_PKEYS Date: Tue, 08 Nov 2016 12:39:28 +0100 Message-ID: <1596342.1rV5HksyDO@wuerfel> References: <1477958904-9903-1-git-send-email-mark.rutland@arm.com> <20161104234459.GA18760@remoulade> <20161108093042.GC3528@osiris> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7Bit Return-path: In-Reply-To: <20161108093042.GC3528@osiris> Sender: linux-kernel-owner@vger.kernel.org To: Heiko Carstens Cc: Mark Rutland , Dave Hansen , linux-kernel@vger.kernel.org, Andrew Morton , Mel Gorman , Russell King , Thomas Gleixner , linux-api@vger.kernel.org, linux-arch@vger.kernel.org, linux-mm@kvack.org, torvalds@linux-foundation.org List-Id: linux-arch.vger.kernel.org On Tuesday, November 8, 2016 10:30:42 AM CET Heiko Carstens wrote: > Three architectures (parisc, powerpc, s390) decided to ignore the system > calls completely, but still have the pkey code linked into the kernel > image. Wouldn't it actually make sense to hook this up to the storage keys in the s390 page tables? Arnd From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mout.kundenserver.de ([217.72.192.75]:59006 "EHLO mout.kundenserver.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932185AbcKHLlJ (ORCPT ); Tue, 8 Nov 2016 06:41:09 -0500 From: Arnd Bergmann Subject: Re: [PATCH] mm: only enable sys_pkey* when ARCH_HAS_PKEYS Date: Tue, 08 Nov 2016 12:39:28 +0100 Message-ID: <1596342.1rV5HksyDO@wuerfel> In-Reply-To: <20161108093042.GC3528@osiris> References: <1477958904-9903-1-git-send-email-mark.rutland@arm.com> <20161104234459.GA18760@remoulade> <20161108093042.GC3528@osiris> MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" Sender: linux-arch-owner@vger.kernel.org List-ID: To: Heiko Carstens Cc: Mark Rutland , Dave Hansen , linux-kernel@vger.kernel.org, Andrew Morton , Mel Gorman , Russell King , Thomas Gleixner , linux-api@vger.kernel.org, linux-arch@vger.kernel.org, linux-mm@kvack.org, torvalds@linux-foundation.org Message-ID: <20161108113928.5iVEEo2Zi7fbCNUJ54BB7UerP5Ve4DlnhR4r55JGrgs@z> On Tuesday, November 8, 2016 10:30:42 AM CET Heiko Carstens wrote: > Three architectures (parisc, powerpc, s390) decided to ignore the system > calls completely, but still have the pkey code linked into the kernel > image. Wouldn't it actually make sense to hook this up to the storage keys in the s390 page tables? Arnd