Received: by 2002:a05:6358:45e:b0:b5:b6eb:e1f9 with SMTP id 30csp2922981rwe; Mon, 29 Aug 2022 02:44:47 -0700 (PDT) X-Google-Smtp-Source: AA6agR6qW+ApYc+A4ZNqSznK/j4dD+/cqdF2ywfd4fCrEfWcauaSBacBxJn61MWkv1RnmQZ7Ia8Y X-Received: by 2002:a17:902:eb46:b0:174:b04f:2ddc with SMTP id i6-20020a170902eb4600b00174b04f2ddcmr5324642pli.126.1661766287413; Mon, 29 Aug 2022 02:44:47 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1661766287; cv=none; d=google.com; s=arc-20160816; b=XmIsIVDNKmsRWiKWwx5pDFWP6b6FzWgfTcFSbEx26yO6qiAbzQCurWD7uc4hQTZm2l +9zM9SxYajeoGdnoYsZQhiuYkKoDH+dcNqzR6PJiaiSB+PERNUay5UHrVhTJnIrSZnBF Y1FVCUctXZQxz9VdFtdj0PwrKyBAV1zLHCfRfOEBecOLCSSKbwDQAjtCXeH2rzVHEjUn svxh35C8KYbEQiaCX4wGaISeZfrfX7e4DP+wj6/SDp3A6WiHe3ppSl1wmlbH8iOwH1Cv 3VYE9T3OsRpJcqcCxAdLBNEubgRnt9UH6Kl78UplLCQOrnU9dVeWxWZjxunnjxVRDbdh JRRg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:in-reply-to:from :references:cc:to:content-language:subject:user-agent:mime-version :date:message-id:dkim-signature; bh=eB+3aQ3kL1UWfYUID7xX798KfUmuc+e8SZ1pQzIJZMQ=; b=v/x2NM64K4yDTk8ZZizXCFZRpH8i+w1PYDgLqdJ9kKTMHwA1nZuBOFJSBViPYDZnbs u8P8sZS2AtM7JNDOLekNiz4fNEilLsg3Ur6ZM9A2qMylNz+LZZ17C80VLQKEaZI86ffR x4M+Dg8p1favPVG6tenock1KQUXoYVy8m+gYDBBINwGUomAhVuCXR29PySeEPJX7F1w9 9NCkin0lqAI5NS/pdSxp8vzS9ItpvMqj0iRYnQkMLWIq+QM3etQ+qIkXz8KtwrVN8LVB fDB1SfsVc0kT193oQq8oPVk+00hnD1SVoHHudczlJHJrj/NU4x1H5mfwOTSKFKpXFyoH VTzQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@collabora.com header.s=mail header.b=bYFXlHfC; 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 q10-20020a170902f78a00b00172d8f7cb5csi8626262pln.473.2022.08.29.02.44.34; Mon, 29 Aug 2022 02:44:47 -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=bYFXlHfC; 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 S229977AbiH2Jd2 (ORCPT + 99 others); Mon, 29 Aug 2022 05:33:28 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:38312 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229679AbiH2Jd0 (ORCPT ); Mon, 29 Aug 2022 05:33:26 -0400 Received: from madras.collabora.co.uk (madras.collabora.co.uk [46.235.227.172]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 5A6065A806 for ; Mon, 29 Aug 2022 02:33:25 -0700 (PDT) Received: from [192.168.1.100] (2-237-20-237.ip236.fastwebnet.it [2.237.20.237]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) (Authenticated sender: kholk11) by madras.collabora.co.uk (Postfix) with ESMTPSA id 5BA496601DB2; Mon, 29 Aug 2022 10:33:23 +0100 (BST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=collabora.com; s=mail; t=1661765603; bh=TeeiT3sOJD7ti95kUOVN+hHl62A13KKzEUX5gr7qxoY=; h=Date:Subject:To:Cc:References:From:In-Reply-To:From; b=bYFXlHfCvVW3d8M5OyGw5U34C40yYrQTineqrlNQhResTqgK8x1QOy66hNAkKka+I Ce4pEa8FljcExBpHQlu0UzWag8PIgelGaquxFPg+ubuTAMptCH2oQYDnv2gPWI9ukt qxDk+jlDmCaIIG8Glg4lWUJfB6oXSYl/un/ZM6vNRp76veV6Bg5ElmQ81PoUP9V97W w8+tQt6OjwFY0VGjaegF6b1yKIp64dxfp3yNHRKtzyIOQORh3/VmZIQbGg8DY02MT8 dQxXc6cTH5aUc7hpQnKyqEbsDUaWLWlUZxQ1f6gQ/WrpnJr8ieMIQA2O0J+5cwcJCd JB8bSI7w73KyA== Message-ID: <5ef83611-1649-c86b-abd8-dff617993580@collabora.com> Date: Mon, 29 Aug 2022 11:33:20 +0200 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.11.0 Subject: Re: [PATCH 6/6] soc: mediatek: mtk-svs: Use bitfield access macros where possible Content-Language: en-US To: Matthias Brugger Cc: roger.lu@mediatek.com, khilman@baylibre.com, linux-arm-kernel@lists.infradead.org, linux-mediatek@lists.infradead.org, linux-kernel@vger.kernel.org, nfraprado@collabora.com, kernel@collabora.com References: <20220726141653.177948-1-angelogioacchino.delregno@collabora.com> <20220726141653.177948-7-angelogioacchino.delregno@collabora.com> From: AngeloGioacchino Del Regno In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,NICE_REPLY_A,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 Il 25/08/22 15:29, Matthias Brugger ha scritto: > > > 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! > Hey Matthias, thanks for picking the ones that applied cleanly in the meanwhile. I'll rebase this and 1/6 as soon as I can! Cheers, Angelo