mbox series

[00/13] arm64: defconfig: Enable missing kconfigs for mt8183-kukui-jacuzzi-juniper

Message ID 20221108232228.1177199-1-nfraprado@collabora.com (mailing list archive)
Headers show
Series arm64: defconfig: Enable missing kconfigs for mt8183-kukui-jacuzzi-juniper | expand

Message

Nícolas F. R. A. Prado Nov. 8, 2022, 11:22 p.m. UTC
mt8183-kukui-jacuzzi-juniper is one of the devices set up to run tests
on KernelCI, but several of its drivers are currently disabled in the
defconfig. This series enables all the missing kconfigs on the defconfig
to get everything probing on that machine so that it can be fully tested
by KernelCI.

Given that all kconfigs added in the series are to enable support for a
MediaTek platform, it seems reasonable for it to be applied through the
MediaTek tree, but the commits themselves are independent (apart from
MTK_CMDQ and MTK_SVS) and could be applied separately.

[1] https://github.com/kernelci/kernelci-core/pull/1352
[2] https://github.com/kernelci/bootrr/pull/22


Nícolas F. R. A. Prado (13):
  arm64: defconfig: Enable SPI_MT65XX
  arm64: defconfig: Enable ATH10K_SDIO
  arm64: defconfig: Enable TOUCHSCREEN_ELAN
  arm64: defconfig: Enable sound support for MT8183 based machines
  arm64: defconfig: Enable DRM_ANALOGIX_ANX7625
  arm64: defconfig: Enable MTK_CMDQ
  arm64: defconfig: Enable MTK_SVS
  arm64: defconfig: Enable CR50 TPMs
  arm64: defconfig: Enable MTK_SCP
  arm64: defconfig: Enable VIDEO_MEDIATEK_JPEG
  arm64: defconfig: Enable ARM_MEDIATEK_CCI_DEVFREQ
  arm64: defconfig: Enable GENERIC_ADC_THERMAL
  arm64: defconfig: Enable MEDIATEK_MT6577_AUXADC

 arch/arm64/configs/defconfig | 18 ++++++++++++++++++
 1 file changed, 18 insertions(+)

Comments

Arnd Bergmann Nov. 9, 2022, 7:28 a.m. UTC | #1
On Wed, Nov 9, 2022, at 00:22, Nícolas F. R. A. Prado wrote:
> mt8183-kukui-jacuzzi-juniper is one of the devices set up to run tests
> on KernelCI, but several of its drivers are currently disabled in the
> defconfig. This series enables all the missing kconfigs on the defconfig
> to get everything probing on that machine so that it can be fully tested
> by KernelCI.

The changes all look fine, but I would recommend not separating it
out into 13 patches when you are doing just one thing here. 

As a general rule, if you keep saying the same things in each
patch description, it is usually an indication that they should
be combined. Similarly, if you find describing unrelated changes
("also, ..."), that would be an indication that patches should
be split up.

> Given that all kconfigs added in the series are to enable support for a
> MediaTek platform, it seems reasonable for it to be applied through the
> MediaTek tree, but the commits themselves are independent (apart from
> MTK_CMDQ and MTK_SVS) and could be applied separately.

Agreed, merging this through the Mediatek tree is the preferred way.

     Arnd
Krzysztof Kozlowski Nov. 9, 2022, 9:08 a.m. UTC | #2
On 09/11/2022 08:28, Arnd Bergmann wrote:
> On Wed, Nov 9, 2022, at 00:22, Nícolas F. R. A. Prado wrote:
>> mt8183-kukui-jacuzzi-juniper is one of the devices set up to run tests
>> on KernelCI, but several of its drivers are currently disabled in the
>> defconfig. This series enables all the missing kconfigs on the defconfig
>> to get everything probing on that machine so that it can be fully tested
>> by KernelCI.
> 
> The changes all look fine, but I would recommend not separating it
> out into 13 patches when you are doing just one thing here. 
> 
> As a general rule, if you keep saying the same things in each
> patch description, it is usually an indication that they should
> be combined. Similarly, if you find describing unrelated changes
> ("also, ..."), that would be an indication that patches should
> be split up.

I agree. Descriptions you wrote are useful - they explain why you are
doing it - but it got all really too detailed, just for defconfigs. One
commit per one symbol is a bit too much...

Best regards,
Krzysztof
Nícolas F. R. A. Prado Nov. 9, 2022, 2:53 p.m. UTC | #3
On Wed, Nov 09, 2022 at 10:08:27AM +0100, Krzysztof Kozlowski wrote:
> On 09/11/2022 08:28, Arnd Bergmann wrote:
> > On Wed, Nov 9, 2022, at 00:22, Nícolas F. R. A. Prado wrote:
> >> mt8183-kukui-jacuzzi-juniper is one of the devices set up to run tests
> >> on KernelCI, but several of its drivers are currently disabled in the
> >> defconfig. This series enables all the missing kconfigs on the defconfig
> >> to get everything probing on that machine so that it can be fully tested
> >> by KernelCI.
> > 
> > The changes all look fine, but I would recommend not separating it
> > out into 13 patches when you are doing just one thing here. 
> > 
> > As a general rule, if you keep saying the same things in each
> > patch description, it is usually an indication that they should
> > be combined. Similarly, if you find describing unrelated changes
> > ("also, ..."), that would be an indication that patches should
> > be split up.
> 
> I agree. Descriptions you wrote are useful - they explain why you are
> doing it - but it got all really too detailed, just for defconfigs. One
> commit per one symbol is a bit too much...

Okay, thank you both for the feedback. Given that this is a contentious file,
splitting independent symbols throughout the commits seemed to be more friendly
to possible merge conflicts. But you're right that there's a single overarching
goal for all the changes, so I'll join them all into a single commit as
suggested.

Thanks,
Nícolas