Received: by 2002:a05:6358:53a8:b0:117:f937:c515 with SMTP id z40csp4105649rwe; Mon, 17 Apr 2023 08:03:42 -0700 (PDT) X-Google-Smtp-Source: AKy350a35Y7jooySBpTcoyOv1tr6It/AOmg1TM3vyQwWBLT9rEvDdDnDx0qtzilokpDkoTZVtjaF X-Received: by 2002:a05:6a00:2450:b0:626:cc72:51ac with SMTP id d16-20020a056a00245000b00626cc7251acmr21667533pfj.30.1681743822321; Mon, 17 Apr 2023 08:03:42 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1681743822; cv=none; d=google.com; s=arc-20160816; b=q6/8uGAogO0OmUWS8L9nDocYaFoJA/z11BdJfCoFRiYyt5/xE/HxMwdf08fA94EQro hko0iM5tk6rZ1YzpiFm5skG3XaLzWoANv5rQ86nXCZGq7iKxZ9OnMZZI3kBHP/99Hmoq oyyq4LNRG+bk1rjaMC4AiKkyuv6LlQ1RvxguJYnGN88LUlw0rAm9iZfHCgL2e72blGWm Yj/uPM7mPdNqQ8HZ0UjYeO9B0O8qkWIhQuTTGee83b430hhiWxVFpbr04AHl91eGIoJ/ /P8GJlurQ/4TyrORy17eXtOLIGa1cx+MzGbXwTwU1s4h0m749cEPiecOta/MIrZPaWyS dxnw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=iB3bB91eeMx+XPpCVGEcxA0patTifsiPyhOcIiDUnvI=; b=bSosAkrp42eSmJE8hdjMmKwDUUTgKrT0vXqn+CoZEEb+sPwB2Tde2Cu4DKR2R8d08j 5dhOgTQkhu1uH0jDeV0DQGvhKrNoZimXEJQRcmT2Ss4u3xVBJ2I6R4nT3obVcsPdm1Eo VsHD3tJ0SM5Acpkh9fZEoTRlMLrXcsdyWGthC9MkENQX0w8Z1fCpue2KTaAwZv8Kcj5y DbH4bOmQU8VoeUTp7UrV9V+UIR13rroPlP/+v4thfc7RP9Z2YfKSkZxwUyUAmetGmPfd eUURxhH6C71rXK1CPwpsg5YQ4SQFXLKnhpvxAopjL3DA5qeFn9G71nW5pmFQf2f5oP1I Gu5Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=c96S8PGY; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id h188-20020a6253c5000000b0062d90384500si11881208pfb.307.2023.04.17.08.03.22; Mon, 17 Apr 2023 08:03:42 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=c96S8PGY; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231128AbjDQPDN (ORCPT + 99 others); Mon, 17 Apr 2023 11:03:13 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:57366 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229554AbjDQPDL (ORCPT ); Mon, 17 Apr 2023 11:03:11 -0400 Received: from dfw.source.kernel.org (dfw.source.kernel.org [139.178.84.217]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id ECB3BF3 for ; Mon, 17 Apr 2023 08:03:09 -0700 (PDT) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id 8700162521 for ; Mon, 17 Apr 2023 15:03:09 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 931A5C433EF; Mon, 17 Apr 2023 15:03:07 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1681743788; bh=EenNM5rlyO67QhwZZbk0khwOfny3tM6/qNjsa8+rwH0=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=c96S8PGY0tuAZ12JvYhBSRbiIkSnsc/500BlPY2CrUUbm/x1iXStlBlMzAJempLu7 JOMUkZIWkTH7V+X61n+mCtIMWSxKQDM5UchoMDyT0fmvX7hCYhUzKw7MUHPKyY7ow8 XMFSb57dWggC5k8T4vSMEvdzqfI7eay9xFb3alzjkQ6poPBgO+KFN3EylE9gaX3a4u kelroPNbtso/QcjfS8Bje8VbWoLX53OtEKAaRZ4pYGf/xTWrsc2JwBkKQueBqK1NMx 6pDRvJKpvQxt8pwSuLNU6xcHeouwe7ldPHK9a7Jr170yZ1/aoQ2f2WeaP+vane+xwm gkLMiCFcdMgwA== From: Will Deacon To: Mark Brown , Catalin Marinas Cc: kernel-team@android.com, Will Deacon , Suzuki K Poulose , linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org Subject: Re: [PATCH v2 0/3] arm64/cpufeature: Use macros for ID based matches Date: Mon, 17 Apr 2023 16:03:01 +0100 Message-Id: <168173299497.3662080.15394085934941488516.b4-ty@kernel.org> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20230303-arm64-cpufeature-helpers-v2-0-4c8f28a6f203@kernel.org> References: <20230303-arm64-cpufeature-helpers-v2-0-4c8f28a6f203@kernel.org> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-7.1 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_HI, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, 12 Apr 2023 18:13:28 +0100, Mark Brown wrote: > As was recently done for hwcaps convert all the cpufeatures that match > on ID registers to use helper macros to initialise all the data fields > that the matching code uses. The feature table is much less of an eye > chart than the hwcap tables were so the benefits are less substantial > but the result is still less verbose and error prone so still seems like > a win. > > [...] Applied to arm64 (for-next/cpufeature), thanks! [1/3] arm64/cpufeature: Pull out helper for CPUID register definitions https://git.kernel.org/arm64/c/876e3c8efe79 [2/3] arm64/cpufeature: Consistently use symbolic constants for min_field_value https://git.kernel.org/arm64/c/21642da214a9 [3/3] arm64/cpufeature: Use helper macro to specify ID register for capabilites https://git.kernel.org/arm64/c/863da0bdb17b Cheers, -- Will https://fixes.arm64.dev https://next.arm64.dev https://will.arm64.dev