From mboxrd@z Thu Jan 1 00:00:00 1970 From: Catalin Marinas Subject: Re: [PATCH v2 09/28] arm64/sve: Signal frame and context structure definition Date: Wed, 13 Sep 2017 06:36:18 -0700 Message-ID: <20170913133618.lclorawve7364xxi@localhost> References: <1504198860-12951-1-git-send-email-Dave.Martin@arm.com> <1504198860-12951-10-git-send-email-Dave.Martin@arm.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Received: from usa-sjc-mx-foss1.foss.arm.com ([217.140.101.70]:51704 "EHLO foss.arm.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750999AbdIMNgV (ORCPT ); Wed, 13 Sep 2017 09:36:21 -0400 Content-Disposition: inline In-Reply-To: <1504198860-12951-10-git-send-email-Dave.Martin@arm.com> Sender: linux-arch-owner@vger.kernel.org List-ID: To: Dave Martin Cc: linux-arm-kernel@lists.infradead.org, linux-arch@vger.kernel.org, libc-alpha@sourceware.org, gdb@sourceware.org, Ard Biesheuvel , Szabolcs Nagy , Yao Qi , Alan Hayward , Will Deacon , Richard Sandiford , Alex =?iso-8859-1?Q?Benn=E9e?= , kvmarm@lists.cs.columbia.edu On Thu, Aug 31, 2017 at 06:00:41PM +0100, Dave P Martin wrote: > +/* > + * The SVE architecture leaves space for future expansion of the > + * vector length beyond its initial architectural limit of 2048 bits > + * (16 quadwords). > + */ > +#define SVE_VQ_BYTES 0x10 /* number of bytes per quadword */ > + > +#define SVE_VQ_MIN 1 > +#define SVE_VQ_MAX 0x200 Just a nitpick (up to you): could you use 16 and 512 here instead of hex? I usually associate hex numbers with some bit fields. -- Catalin