Received: by 2002:a25:ab43:0:0:0:0:0 with SMTP id u61csp7031471ybi; Thu, 13 Jun 2019 08:25:48 -0700 (PDT) X-Google-Smtp-Source: APXvYqxACFKh4OiK/73oGvdL1lS9ooQtWXQI3TS4eaVdNCTfz80FjSD1gYlvkeUDzM8OhZNyVust X-Received: by 2002:a17:902:728a:: with SMTP id d10mr86704005pll.90.1560439548856; Thu, 13 Jun 2019 08:25:48 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1560439548; cv=none; d=google.com; s=arc-20160816; b=Cj9J1iWsY0Ysku2erPsjVjXsXE3qDIMikeQar1iZJSoUPhSGJcXe81Rfr8ZDVIwJpJ 49O9ICEPF5N3IeqRt6lRPIr4XklQcTa88/v7GqJC89LcY6U4s/aeGHYU4WlFtcC3vHgi 28mpRxbCGsHiOMNJ6Of4/WirEomog0ORrHg2L12Hw9fvF3Qi1JEpdfHEiDeMPvQsk/4p NFY+SDY3uTaUckT/sRmc9HUHlzigJPoNp55QnXMTZLhxBxVWY6lnP34xL5eU4z0g7WVs /HxcTrVitTqAKe82YT103QFVv2rRl8mdzm8B83JLrRY9jOpx4Uhel+j6sUcKeIXfeGs3 m0RQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date; bh=JmNM7gkvFldkGTmJO99C+BwqKX+y/M/lLJoJIjoYUDo=; b=ecgrPRxPxEWL6y6uXs92pLnpGaCsUrBDdK4NjaZgU1otfE05NTRQ9IlMNttPj24LVz oHNgEQ6BxqTEABXIcwdrRf8prmSC8cUDopBqSdZjhz9VsHDGW5JLdv0cK+QL4v2nkh15 mO7kQsHd5EkitoHrrBAQ11ZDF4hskBXZpG5HmTvy5IVHFx66oxkO4cEG5uLyPUjI+1dt 01JHbyWGQ7z7FhRHZbyb7CinylHuRkmrvWT+5YPwfQDtP5Q+hZQHGlU+/AcEVyXM87Mv LZevVIEVQKADDXcW6UD93H16gdLFT7+dXNYVj7+VjLjpLDmFveI7dWIUcO6Ag2tpOpk7 sxqQ== 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 u71si33792pgd.455.2019.06.13.08.25.33; Thu, 13 Jun 2019 08:25:48 -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 S2389159AbfFMPXW (ORCPT + 99 others); Thu, 13 Jun 2019 11:23:22 -0400 Received: from foss.arm.com ([217.140.110.172]:39168 "EHLO foss.arm.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1731876AbfFMM2j (ORCPT ); Thu, 13 Jun 2019 08:28:39 -0400 Received: from usa-sjc-imap-foss1.foss.arm.com (unknown [10.121.207.14]) by usa-sjc-mx-foss1.foss.arm.com (Postfix) with ESMTP id A1E6A2B; Thu, 13 Jun 2019 05:28:38 -0700 (PDT) Received: from C02TF0J2HF1T.local (unknown [172.31.20.19]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPSA id C3B393F694; Thu, 13 Jun 2019 05:28:32 -0700 (PDT) Date: Thu, 13 Jun 2019 13:28:21 +0100 From: Catalin Marinas To: Dave Martin Cc: Vincenzo Frascino , linux-arch@vger.kernel.org, linux-doc@vger.kernel.org, Szabolcs Nagy , Andrey Konovalov , Will Deacon , linux-kernel@vger.kernel.org, linux-mm@kvack.org, Alexander Viro , linux-kselftest@vger.kernel.org, linux-arm-kernel@lists.infradead.org Subject: Re: [PATCH v4 1/2] arm64: Define Documentation/arm64/tagged-address-abi.txt Message-ID: <20190613122821.GS28951@C02TF0J2HF1T.local> References: <20190612142111.28161-1-vincenzo.frascino@arm.com> <20190612142111.28161-2-vincenzo.frascino@arm.com> <20190612153538.GL28951@C02TF0J2HF1T.local> <141c740a-94c2-2243-b6d1-b44ffee43791@arm.com> <20190613113731.GY28398@e103592.cambridge.arm.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20190613113731.GY28398@e103592.cambridge.arm.com> User-Agent: Mutt/1.11.2 (2019-01-07) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, Jun 13, 2019 at 12:37:32PM +0100, Dave P Martin wrote: > On Thu, Jun 13, 2019 at 11:15:34AM +0100, Vincenzo Frascino wrote: > > On 12/06/2019 16:35, Catalin Marinas wrote: > > > On Wed, Jun 12, 2019 at 03:21:10PM +0100, Vincenzo Frascino wrote: > > >> + - PR_GET_TAGGED_ADDR_CTRL: can be used to check the status of the Tagged > > >> + Address ABI. [...] > Is there a canonical way to detect whether this whole API/ABI is > available? (i.e., try to call this prctl / check for an HWCAP bit, > etc.) The canonical way is a prctl() call. HWCAP doesn't make sense since it's not a hardware feature. If you really want a different way of detecting this (which I don't think it's worth), we can reinstate the AT_FLAGS bit. -- Catalin