Received: by 2002:a05:6358:45e:b0:b5:b6eb:e1f9 with SMTP id 30csp935479rwe; Thu, 25 Aug 2022 11:53:49 -0700 (PDT) X-Google-Smtp-Source: AA6agR70iKznSFvUj/mRAnFwLbbSQuik97Tu3PpWzvoxDH3tNq4SroFF+QErQkdje4NHUBVSqAxx X-Received: by 2002:a05:6402:50cb:b0:440:8bac:1e02 with SMTP id h11-20020a05640250cb00b004408bac1e02mr4327729edb.336.1661453629433; Thu, 25 Aug 2022 11:53:49 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1661453629; cv=none; d=google.com; s=arc-20160816; b=MZsjHLotxcf1jgRZqqdlsFK9KnOQsIPRYFHF5AHZTz8+DKEebOAgiXGa/KH1zqeh7o sI//9aeGQjFYX6sumh6EPHyNrfwhxDuJOi7LBv0DefFUy+q6UvBYHVGIlQiP51/gjPec PJHSkG1Xlc76sY/W38YGZUhs9kyGbtPfDTakxby5z3bFB7vu2oSQRq7KzrgOJzIV4JMI Wh8dyX1uzC6muG4D7XgPvIyhxfd4AI0g/5HJlvVJ2nl+ukxgzTObs9NDJAOkTgK1A7g2 ZJRJBIEXPJmSjspzu3HcjIleYKzM/0Iw6wiXqV3MfaJTlAYqOLTW8WHlALnzUOKvL6BB IT2A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-transfer-encoding :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:dkim-signature; bh=XULX992igVj6Uiedt+AxlCqUAYRC3smYWUBYWhJowks=; b=mLhfHCaiGG4KoNdpwZAqhQhxCbfb9l2H15qIqtNSOj/7OsPPgEJufL27hiKp0xx3D3 diuI1c+w+Qys5llZIXXu0wFZLXJYR+mifXYPCTxZH8Ci2slk1O9/rEdW36JHFECNSh56 KQ7LXTu3ETG9oeoP03kt2FmunxFBnW6154padby8KZzabugc4HxVSDV40w7JU52veCln SEe4gA8maSrRXtrGQfcCYfbYyfZfMic+i7pEV94A1BUX/5t8vczz4clnFQvAHY5vYhhA mOn53v+yilwNi9WQ3iRprRKYzUNkYEDrBN73iLW4XOf1dfq+jUF6bbY+Ltk09mW4h2sB 3yfg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@collabora.com header.s=mail header.b=MH5HsrRk; 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=collabora.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id hp40-20020a1709073e2800b0073dbba48eecsi3689235ejc.298.2022.08.25.11.53.23; Thu, 25 Aug 2022 11:53:49 -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=@collabora.com header.s=mail header.b=MH5HsrRk; 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=collabora.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S243526AbiHYSvR (ORCPT + 99 others); Thu, 25 Aug 2022 14:51:17 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:53630 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S243489AbiHYSvG (ORCPT ); Thu, 25 Aug 2022 14:51:06 -0400 Received: from madras.collabora.co.uk (madras.collabora.co.uk [IPv6:2a00:1098:0:82:1000:25:2eeb:e5ab]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id CD3C4B2CF7 for ; Thu, 25 Aug 2022 11:51:05 -0700 (PDT) Received: from notapiano (unknown [70.107.189.129]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-256) server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) (Authenticated sender: nfraprado) by madras.collabora.co.uk (Postfix) with ESMTPSA id 942E56601EAE; Thu, 25 Aug 2022 19:51:03 +0100 (BST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=collabora.com; s=mail; t=1661453464; bh=jqjW7nQ84W8spFHzeSk+rHHJ/4I5iCIJLk6w8rmb7rc=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=MH5HsrRkh3wk3XSsr+HODwUgKAGKEz2nM078683pQisORGSosmuU2vvz8w2xWrmYP MxqrWoLWdzzLXFUC2UKgceMIt0yW4/j51rTGu7XUgbBtM0lrmBkCjsDYRyWiEG7uIa NnQNlLGdxclJmEb25DlZ3/7Kb8xPG9xB7psiNMCm8l3EC69khxFKXdyHiz6eySopIk gQF+v6zbIiX7Xk5FZICrdgNonPUB5MoosO1BfDdnMcSl60IDQjR/shcL63TB2sbxtI qvrHz1kLWIk15ATI0mngDAOh/NLof2Ir6ctpYoYpw6DxVd6FgXKnEs9Jm08SMobyq5 RBQUG/Ofj8LpA== Date: Thu, 25 Aug 2022 14:50:59 -0400 From: =?utf-8?B?TsOtY29sYXMgRi4gUi4gQS4=?= Prado To: Matthias Brugger Cc: AngeloGioacchino Del Regno , roger.lu@mediatek.com, khilman@baylibre.com, linux-arm-kernel@lists.infradead.org, linux-mediatek@lists.infradead.org, linux-kernel@vger.kernel.org, kernel@collabora.com Subject: Re: [PATCH 6/6] soc: mediatek: mtk-svs: Use bitfield access macros where possible Message-ID: <20220825185059.xbh3gigksveg4h4u@notapiano> References: <20220726141653.177948-1-angelogioacchino.delregno@collabora.com> <20220726141653.177948-7-angelogioacchino.delregno@collabora.com> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,SPF_HELO_NONE,SPF_PASS, T_SCC_BODY_TEXT_LINE,URIBL_BLOCKED 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 Thu, Aug 25, 2022 at 03:29:33PM +0200, Matthias Brugger wrote: > > > On 26/07/2022 16:16, AngeloGioacchino Del Regno wrote: > > In order to enhance readability and safety during registers setup > > and value retrieval, redefine a few register related macros and > > convert all open-coded instances of bitfield setting/retrieval > > to use the FIELD_PREP() and FIELD_GET() macros. > > While at it, some macros were renamed to further enhance readability. > > > > This commit brings no functional changes. > > > > Signed-off-by: AngeloGioacchino Del Regno > > Does not apply, would you mind to resend together with 1/6? Thanks! Hi Matthias, Patches 1 and 6 rebased and sent [1]. Thanks, N?colas [1] https://lore.kernel.org/all/20220825184616.2118870-1-nfraprado@collabora.com