From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 28058 invoked by alias); 20 Jun 2019 13:43:29 -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 28050 invoked by uid 89); 20 Jun 2019 13:43:29 -0000 Authentication-Results: sourceware.org; auth=none X-Spam-SWARE-Status: No, score=-9.4 required=5.0 tests=AWL,BAYES_00,SPF_PASS autolearn=ham version=3.3.1 spammy=HX-Languages-Length:506 X-HELO: foss.arm.com Received: from foss.arm.com (HELO foss.arm.com) (217.140.110.172) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Thu, 20 Jun 2019 13:43:28 +0000 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 031F0344; Thu, 20 Jun 2019 06:43:27 -0700 (PDT) Received: from [10.37.9.222] (unknown [10.37.9.222]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPSA id EA7C83F718; Thu, 20 Jun 2019 06:43:24 -0700 (PDT) Subject: Re: [PATCH v2 3/3] arm64/sve: Fix a couple of magic numbers for the Z-reg count To: Dave Martin , linux-arm-kernel@lists.infradead.org Cc: gdb@sourceware.org, =?UTF-8?Q?Alex_Benn=c3=a9e?= , Will Deacon , Catalin Marinas , Peter Maydell , Zhang Lei , Alan Hayward References: <1560355234-25516-1-git-send-email-Dave.Martin@arm.com> <1560355234-25516-4-git-send-email-Dave.Martin@arm.com> From: Julien Grall Message-ID: <58a0a8ec-49b0-7002-a86f-7973158672b0@arm.com> Date: Thu, 20 Jun 2019 13:43:00 -0000 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.7.0 MIME-Version: 1.0 In-Reply-To: <1560355234-25516-4-git-send-email-Dave.Martin@arm.com> Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit X-SW-Source: 2019-06/txt/msg00062.txt.bz2 Hi Dave, On 6/12/19 5:00 PM, Dave Martin wrote: > There are some hand-written instances of "32" to express the number > of SVE Z-registers. > > Since this code was written a #define was added for this, so > convert trivial instances of this magic number as appropriate. > > No functional change. > > Signed-off-by: Dave Martin Reviewed-by: Julien Grall Cheers, -- Julien Grall