From mboxrd@z Thu Jan 1 00:00:00 1970 From: Catalin Marinas Subject: Re: [PATCH v7 1/2] arm64: Define Documentation/arm64/tagged-address-abi.rst Date: Mon, 12 Aug 2019 18:17:35 +0100 Message-ID: <20190812171734.GC62772@arrakis.emea.arm.com> References: <20190807155321.9648-1-catalin.marinas@arm.com> <20190807155321.9648-2-catalin.marinas@arm.com> <20190808170424.6td34cpdngkcxxpu@willie-the-truck> <20190812104606.GY56241@e119886-lin.cambridge.arm.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Content-Disposition: inline In-Reply-To: <20190812104606.GY56241@e119886-lin.cambridge.arm.com> List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=m.gmane.org@lists.infradead.org To: Andrew Murray Cc: linux-arch@vger.kernel.org, linux-doc@vger.kernel.org, Szabolcs Nagy , Andrey Konovalov , Kevin Brodsky , Will Deacon , Dave Hansen , Vincenzo Frascino , Will Deacon , linux-arm-kernel@lists.infradead.org List-Id: linux-arch.vger.kernel.org On Mon, Aug 12, 2019 at 11:46:06AM +0100, Andrew Murray wrote: > On Thu, Aug 08, 2019 at 06:04:24PM +0100, Will Deacon wrote: > > On Wed, Aug 07, 2019 at 04:53:20PM +0100, Catalin Marinas wrote: > > > + > > > +- mmap() addr parameter. > > > + > > > +- mremap() new_address parameter. > > > + > > > +- prctl(PR_SET_MM, ``*``, ...) other than arg2 PR_SET_MM_MAP and > > > + PR_SET_MM_MAP_SIZE. > > > + > > > +- prctl(PR_SET_MM, PR_SET_MM_MAP{,_SIZE}, ...) struct prctl_mm_map fields. > > > > How did you generate this list and who will keep it up to date? How do you > > know you haven't missed anything? > > What about shared memory system calls: shmat, shmdt? The latest "arm64: untag > user pointers passed to the kernel" series doesn't untag these, thus we should > indicate here that these too are no supported. Yes. We dropped them from a previous version of the series but they've never been documented. I'll add something (unless someone has a real use-case for using tags with shmat/shmdt). -- Catalin From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from foss.arm.com ([217.140.110.172]:53012 "EHLO foss.arm.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726681AbfHLRRj (ORCPT ); Mon, 12 Aug 2019 13:17:39 -0400 Date: Mon, 12 Aug 2019 18:17:35 +0100 From: Catalin Marinas Subject: Re: [PATCH v7 1/2] arm64: Define Documentation/arm64/tagged-address-abi.rst Message-ID: <20190812171734.GC62772@arrakis.emea.arm.com> References: <20190807155321.9648-1-catalin.marinas@arm.com> <20190807155321.9648-2-catalin.marinas@arm.com> <20190808170424.6td34cpdngkcxxpu@willie-the-truck> <20190812104606.GY56241@e119886-lin.cambridge.arm.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20190812104606.GY56241@e119886-lin.cambridge.arm.com> Sender: linux-arch-owner@vger.kernel.org List-ID: To: Andrew Murray Cc: Will Deacon , linux-arch@vger.kernel.org, linux-doc@vger.kernel.org, Szabolcs Nagy , Andrey Konovalov , Kevin Brodsky , Will Deacon , Dave Hansen , Vincenzo Frascino , linux-arm-kernel@lists.infradead.org Message-ID: <20190812171735.r7YNM0FiF0j9ETtORiA-CSLL7Vohy5swxobJnQ_mArQ@z> On Mon, Aug 12, 2019 at 11:46:06AM +0100, Andrew Murray wrote: > On Thu, Aug 08, 2019 at 06:04:24PM +0100, Will Deacon wrote: > > On Wed, Aug 07, 2019 at 04:53:20PM +0100, Catalin Marinas wrote: > > > + > > > +- mmap() addr parameter. > > > + > > > +- mremap() new_address parameter. > > > + > > > +- prctl(PR_SET_MM, ``*``, ...) other than arg2 PR_SET_MM_MAP and > > > + PR_SET_MM_MAP_SIZE. > > > + > > > +- prctl(PR_SET_MM, PR_SET_MM_MAP{,_SIZE}, ...) struct prctl_mm_map fields. > > > > How did you generate this list and who will keep it up to date? How do you > > know you haven't missed anything? > > What about shared memory system calls: shmat, shmdt? The latest "arm64: untag > user pointers passed to the kernel" series doesn't untag these, thus we should > indicate here that these too are no supported. Yes. We dropped them from a previous version of the series but they've never been documented. I'll add something (unless someone has a real use-case for using tags with shmat/shmdt). -- Catalin