From: AngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com>
To: matthias.bgg@gmail.com
Cc: linux-kernel@vger.kernel.org,
linux-arm-kernel@lists.infradead.org, kernel@collabora.com,
linux-mediatek@lists.infradead.org
Subject: Re: [PATCH v2 0/2] soc: mediatek: mtk-cmdq-helper: Various cleanups
Date: Tue, 8 Oct 2024 13:54:14 +0200 [thread overview]
Message-ID: <6b190912-90e8-49b3-aa0f-b8ef8f47e78d@collabora.com> (raw)
In-Reply-To: <20241008093220.39734-1-angelogioacchino.delregno@collabora.com>
Il 08/10/24 11:32, AngeloGioacchino Del Regno ha scritto:
> Changes in v2:
> - Dropped patch marking very likely/unlikely branches
> - Removed useless .mask=0 assignment in patch 2/2.
>
> This series performs various cleanups to the MediaTek CMDQ Helper lib,
> reducing code duplication and enhancing human readability.
>
> This also avoids double initialization struct cmdq_instruction as,
> in some cases, it was stack-initialized to zero and then overwritten
> completely anyway a bit later.
> I'd expect compilers to be somehow smart about that, but still, while
> at it ... why not :-)
>
> Tested on MT8192 Asurada, MT8195 Tomato Chromebooks.
>
Matthias, just making you aware that I'll wait for your feedback before
replacing v1 with this one in the MTK soc tree.
No hurry, though.
Cheers
> AngeloGioacchino Del Regno (2):
> soc: mediatek: mtk-cmdq: Move mask build and append to function
> soc: mediatek: mtk-cmdq: Move cmdq_instruction init to declaration
>
> drivers/soc/mediatek/mtk-cmdq-helper.c | 230 ++++++++++++-------------
> 1 file changed, 106 insertions(+), 124 deletions(-)
>
prev parent reply other threads:[~2024-10-08 11:54 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-10-08 9:32 AngeloGioacchino Del Regno
2024-10-08 9:32 ` [PATCH v2 1/2] soc: mediatek: mtk-cmdq: Move mask build and append to function AngeloGioacchino Del Regno
2024-10-08 9:32 ` [PATCH v2 2/2] soc: mediatek: mtk-cmdq: Move cmdq_instruction init to declaration AngeloGioacchino Del Regno
2024-10-08 11:54 ` AngeloGioacchino Del Regno [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=6b190912-90e8-49b3-aa0f-b8ef8f47e78d@collabora.com \
--to=angelogioacchino.delregno@collabora.com \
--cc=kernel@collabora.com \
--cc=linux-arm-kernel@lists.infradead.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-mediatek@lists.infradead.org \
--cc=matthias.bgg@gmail.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®