Return-Path: Received: from ozlabs.org (bilbo.ozlabs.org [103.22.144.67]) (using TLSv1.2 with cipher ADH-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by lists.ozlabs.org (Postfix) with ESMTPS id 3zPxqq0kLCzF0XB for ; Mon, 22 Jan 2018 14:34:15 +1100 (AEDT) In-Reply-To: <20171204054922.16075-1-khandual@linux.vnet.ibm.com> To: Anshuman Khandual , linuxppc-dev@lists.ozlabs.org From: Michael Ellerman Cc: aneesh.kumar@linux.vnet.ibm.com Subject: Re: [V2] powerpc/mm: Invalidate subpage_prot() system call on radix platforms Message-Id: <3zPxqp4p3Gz9sP1@ozlabs.org> Date: Mon, 22 Jan 2018 14:34:14 +1100 (AEDT) List-Id: Linux on PowerPC Developers Mail List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , On Mon, 2017-12-04 at 05:49:22 UTC, Anshuman Khandual wrote: > Radix enabled platforms don't support subpage_prot() system calls. But > at present the system call goes through without an error and fails > later on while validating expected subpage accesses. Lets not allow > the system call on powerpc radix platforms to begin with to prevent > this confusion in user space. > > Signed-off-by: Anshuman Khandual Applied to powerpc next, thanks. https://git.kernel.org/powerpc/c/5b2b80714796073ec9e196c7aeec59 cheers