Received: by 2002:a05:6358:45e:b0:b5:b6eb:e1f9 with SMTP id 30csp2941890rwe; Mon, 29 Aug 2022 03:08:54 -0700 (PDT) X-Google-Smtp-Source: AA6agR6E8vfBetNENugUYfLVEV+yxY+NahvePTIoq4WjqZZg+NwiWEc3pR7c0OKLbqeGVzMmeGyB X-Received: by 2002:a05:6402:2756:b0:443:4a6d:f05a with SMTP id z22-20020a056402275600b004434a6df05amr15861261edd.396.1661767734195; Mon, 29 Aug 2022 03:08:54 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1661767734; cv=none; d=google.com; s=arc-20160816; b=bqD5TfWCEsPm9ED/qhgCV0Dp/7ChAMCVZq7WszOYI6KDPu4a/2Hm6e2kCgUUnro4bg B3jw/bVff/MW3wB1j961GiYwViNv1z7BU+yd9uesfkAjAeLbO0HJQomYwKozLBiWWLIS eJzo81u5KIHMyj7jIcG5V1RtTeJ95+dK1NVammDittA+m+L8yJdIEQIF3xFDyR+nJ2HF HIc58Fft1R0FIl5nGjbNF9k+q7XOBW5XI9r/pTjmxBIYoJwerHZWC3r3uUmwwOiXNrVT 5fUBmsaeuzx6Vktpn66WLkV2snMviE9iJ0CRVsLftic4NJ3A5vOCxsGOjM6ffrbHCbZI O4aQ== 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=mvDFZnFYuslCXBG3CHOQdUo6QecNXprpcW0x045OsAI=; b=G65k2u2pFgHucSemZpJHm/Axl5upPaO8P8iN5vfXwCI/iJUj8UEQEX5K56tnNGHUWp aO2EwKDEWq6C66WU+Z1Y/VQx8ImK/7h6XRL1eWAMI2z5Lszqqfw2UYdtd4Kxh4ipufWK UbelZ+wulvpdfya5ogex06PYdiznqkxOg41UcoUgh4KvyxR7frwqn357OjzzGqMpN1uV HjE2ZeeHGMUv7LMDhDiW4a9VuM0FG1BAAsazL5g7acFIgBuX3h5/cFZSKhMwDzMMaVBP xhCxE2l8niurUb/p4maHghltxm0XocCnt24t6Zs9LkykxPJo2Wpbqtzq/CakXMf2zDTk BTbg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@collabora.com header.s=mail header.b=aUCjw1mH; 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 jw8-20020a17090776a800b00734bbe8d2f7si5675946ejc.952.2022.08.29.03.08.28; Mon, 29 Aug 2022 03:08:54 -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=aUCjw1mH; 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 S229949AbiH2Jg7 (ORCPT + 99 others); Mon, 29 Aug 2022 05:36:59 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:45988 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229671AbiH2Jg5 (ORCPT ); Mon, 29 Aug 2022 05:36:57 -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 836ED5C977 for ; Mon, 29 Aug 2022 02:36:56 -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 D26E06601DB2; Mon, 29 Aug 2022 10:36:54 +0100 (BST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=collabora.com; s=mail; t=1661765815; bh=G158CjfQdiI7n5kAiwB1ffU/Ky0VT1XFLd5k77luxWA=; h=Date:Subject:To:Cc:References:From:In-Reply-To:From; b=aUCjw1mHanhtQiZIpUwNswac5D30YX4kqATo6tlBrvrnN/VykansD2j1scYFIifWT FgKqoBRMqB6jCUk8HuL3+G/2MIakt05+pY/S2b2Bbl+ShoAq+t6f9OPCg0EGYGiX7O sA+QVuiOukSkYgKABLGHKnoTAaO013DUi2VJghsUsOllIQYlsQJmg3nTJkrSB9sDhm ddo/mhaJh9JVlJb4TyxHVPJJ3b40ecfxhW6Adlv5tliZsTSHjPNVkyqS4RvcehzmjP cjKB9i7IhEVNtYzNlRe/P6K76XCPaVkuc5+gs1yOPccSe9tu1wKCE5X7A/Uy460r98 qIax8O3etmI0Q== Message-ID: <37cdcc41-8cfc-443a-a6d7-94b992a0b6f5@collabora.com> Date: Mon, 29 Aug 2022 11:36:52 +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: =?UTF-8?B?TsOtY29sYXMgRi4gUi4gQS4gUHJhZG8=?= , 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, kernel@collabora.com References: <20220726141653.177948-1-angelogioacchino.delregno@collabora.com> <20220726141653.177948-7-angelogioacchino.delregno@collabora.com> <20220825185059.xbh3gigksveg4h4u@notapiano> From: AngeloGioacchino Del Regno In-Reply-To: <20220825185059.xbh3gigksveg4h4u@notapiano> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit 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 20:50, NĂ­colas F. R. A. Prado ha scritto: > 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 Uh, sorry for the previous noise - didn't notice this email. Many thanks for timely rebasing the patches! Cheers!