From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 10036 invoked by alias); 13 Sep 2017 17:29:18 -0000 Mailing-List: contact gdb-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-owner@sourceware.org Received: (qmail 9486 invoked by uid 89); 13 Sep 2017 17:29:17 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-1.9 required=5.0 tests=BAYES_00,RP_MATCHES_RCVD,SPF_PASS autolearn=ham version=3.3.2 spammy=HContent-Transfer-Encoding:8bit X-Spam-User: qpsmtpd, 2 recipients X-HELO: foss.arm.com Received: from usa-sjc-mx-foss1.foss.arm.com (HELO foss.arm.com) (217.140.101.70) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Wed, 13 Sep 2017 17:29:16 +0000 Received: from usa-sjc-imap-foss1.foss.arm.com (unknown [10.72.51.249]) by usa-sjc-mx-foss1.foss.arm.com (Postfix) with ESMTP id 4A7A31435; Wed, 13 Sep 2017 10:29:15 -0700 (PDT) Received: from localhost (usa-sjc-mx-foss1.foss.arm.com [217.140.101.70]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPSA id 368593F483; Wed, 13 Sep 2017 10:29:15 -0700 (PDT) Received: from cmarinas by localhost with local (Exim 4.89) (envelope-from ) id 1dsBTM-000060-23; Wed, 13 Sep 2017 10:29:12 -0700 Date: Wed, 13 Sep 2017 17:29:00 -0000 From: Catalin Marinas To: Dave Martin Cc: linux-arm-kernel@lists.infradead.org, Will Deacon , Ard Biesheuvel , Alex =?iso-8859-1?Q?Benn=E9e?= , Szabolcs Nagy , Richard Sandiford , kvmarm@lists.cs.columbia.edu, libc-alpha@sourceware.org, linux-arch@vger.kernel.org, gdb@sourceware.org, Alan Hayward , Yao Qi Subject: Re: [PATCH v2 14/28] arm64/sve: Backend logic for setting the vector length Message-ID: <20170913172911.3ca2h6cpju7etifi@localhost> References: <1504198860-12951-1-git-send-email-Dave.Martin@arm.com> <1504198860-12951-15-git-send-email-Dave.Martin@arm.com> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <1504198860-12951-15-git-send-email-Dave.Martin@arm.com> User-Agent: NeoMutt/20170113 (1.7.2) X-SW-Source: 2017-09/txt/msg00033.txt.bz2 On Thu, Aug 31, 2017 at 06:00:46PM +0100, Dave P Martin wrote: > This patch implements the core logic for changing a task's vector > length on request from userspace. This will be used by the ptrace > and prctl frontends that are implemented in later patches. > > The SVE architecture permits, but does not require, implementations > to support vector lengths that are not a power of two. To handle > this, logic is added to check a requested vector length against a > possibly sparse bitmap of available vector lengths at runtime, so > that the best supported value can be chosen. > > Signed-off-by: Dave Martin > Cc: Alex Bennée Can this be merged with patch 20? It seems to add the PR_ definitions which get actually used later when the prctl interface is added. -- Catalin