Skip to contentSkip to conversation

arm64: defconfig: hisilicon config updates for v4.18

GIT PULL Wei Xu 3 participants 6 messages May 11, 2018 – May 18, 2018

lore
Share & tools
lore

Wei Xu

author
#0 lore raw

Hi Arnd, Hi Olof,

Please help to pull the following changes.

About the CLOCK_STUB and the MAILBOX consolidate patch, Jassi and Stephen have acked it.
Could you let me know how to handle this kind case if it is not OK to be in this pull?
Thanks!

Best Regards,
Wei

---

The following changes since commit 60cc43fc888428bb2f18f08997432d426a243338:

Linux 4.17-rc1 (2018-04-15 18:24:20 -0700)

are available in the Git repository at:

git://github.com/hisilicon/linux-hisi.git tags/hisi-defconfig-for-4.18

for you to fetch changes up to fafb929ce189a84d9915854f3323dded6cbb3e74:

hisi: Consolidate the Kconfigs for the CLOCK_STUB and the MAILBOX (2018-05-11 11:49:31 +0100)

----------------------------------------------------------------
ARM64: hisilicon: defconfig updates for 4.18

- Sync the arm64 defconfig with savedefconfig
- Enable the support of ethernet, eMMC, Combo/INNO phy and PCIe for Hi3798CV200
- Enable the LPC for hip06 and hip07
- Consolidate the configs of the CLOCK_STUB and the MAILBOX for hi6220 and hi3660

----------------------------------------------------------------
Daniel Lezcano (1):
hisi: Consolidate the Kconfigs for the CLOCK_STUB and the MAILBOX

John Garry (1):
arm64: defconfig: Enable HISILICON_LPC

Shawn Guo (2):
arm64: defconfig: sync it with savedefconfig
arm64: defconfig: enable drivers for Poplar support

 arch/arm64/configs/defconfig  | 87 ++++++++++++++++++-------------------------
 drivers/clk/hisilicon/Kconfig | 13 ++++---
 drivers/mailbox/Kconfig       | 12 ++++--
 3 files changed, 52 insertions(+), 60 deletions(-)
#1 lore raw

Hi Wei,

Quoted 8 lines · Wei Xu

Hi Arnd, Hi Olof,

Please help to pull the following changes.

About the CLOCK_STUB and the MAILBOX consolidate patch, Jassi and Stephen have acked it.
Could you let me know how to handle this kind case if it is not OK to be in this pull?

I don't think there's any need to group the Kconfig changes with the defconfig updates here, is there?

So, the clk Kconfig change can go in through the clk maintainer (in one patch), the mailbox can go in through that maintainer as a separate patch. The update to the defconfig is just removing what's now the new default, so it's not urgent to do.

Based on this, can you respin the pull request with that patch dropped? Thanks!

-Olof

#2 lore raw
Quoted 7 lines · Olof Johansson

Hi Wei,

Quoted 4 lines · Wei Xu

Hi Arnd, Hi Olof,

Please help to pull the following changes.

Quoted 7 lines
Quoted 4 lines

About the CLOCK_STUB and the MAILBOX consolidate patch, Jassi and Stephen have acked it.
Could you let me know how to handle this kind case if it is not OK to be in this pull?

I don't think there's any need to group the Kconfig changes with the defconfig updates here, is there?

I don't have the patches history, but likely this patch should come together with:

https://patchwork.kernel.org/patch/10399799/
https://patchwork.kernel.org/patch/10399801/

Otherwise the compilation options won't be consistent with what is enabled in the DT.

Quoted 9 lines

So, the clk Kconfig change can go in through the clk maintainer (in one patch), the mailbox can go in through that maintainer as a separate patch. The update to the defconfig is just removing what's now the new default, so it's not urgent to do.

Based on this, can you respin the pull request with that patch dropped? Thanks!

-Olof

Signature · 5 lines
 <http://www.linaro.org/> Linaro.org ? Open source software for ARM SoCs

Follow Linaro:  <http://www.facebook.com/pages/Linaro> Facebook |
<http://twitter.com/#!/linaroorg> Twitter |
<http://www.linaro.org/linaro-blog/> Blog
#3 lore raw
Quoted 16 lines · Daniel Lezcano
Quoted 7 lines · Olof Johansson

Hi Wei,

Quoted 4 lines · Wei Xu

Hi Arnd, Hi Olof,

Please help to pull the following changes.

Quoted 7 lines
Quoted 4 lines

About the CLOCK_STUB and the MAILBOX consolidate patch, Jassi and Stephen have acked it.
Could you let me know how to handle this kind case if it is not OK to be in this pull?

I don't think there's any need to group the Kconfig changes with the defconfig updates here, is there?

Quoted 7 lines

I don't have the patches history, but likely this patch should come together with:

https://patchwork.kernel.org/patch/10399799/
https://patchwork.kernel.org/patch/10399801/

Otherwise the compilation options won't be consistent with what is enabled in the DT.

As long as neither side regresses due to the changes, there should be no problem. Just because a DT node is added in the tree there's no need to configure the driver. Or am I missing some aspect of it here?

-Olof

#4 lore raw
Quoted 22 lines · Olof Johansson
Quoted 21 lines · Daniel Lezcano
Quoted 7 lines · Olof Johansson

Hi Wei,

Quoted 4 lines · Wei Xu

Hi Arnd, Hi Olof,

Please help to pull the following changes.

Quoted 7 lines
Quoted 4 lines

About the CLOCK_STUB and the MAILBOX consolidate patch, Jassi and Stephen have acked it.
Could you let me know how to handle this kind case if it is not OK to be in this pull?

I don't think there's any need to group the Kconfig changes with the defconfig updates here, is there?

I don't have the patches history, but likely this patch should come together with:

https://patchwork.kernel.org/patch/10399799/
https://patchwork.kernel.org/patch/10399801/

Quoted 6 lines
Quoted 2 lines

Otherwise the compilation options won't be consistent with what is enabled in the DT.

As long as neither side regresses due to the changes, there should be no problem. Just because a DT node is added in the tree there's no need to configure the driver. Or am I missing some aspect of it here?

Actually, the DT node being added do not introduce regressions.

However it is expected by adding the clock stub and the mailbox to have the cpufreq working which is not necessarily the case because the config may be inconsistent, so the cpufreq may be working on some config if the user had the options for the clock and the mailbox enabled but these options can disappear and not come back because of this Kconfig inconsistencies.

Quoted 1 line

From my point of view, by adding those DT nodes, it makes sense to give a

consolidated Kconfig coming together and ensuring the drivers are enabled when the node is parsed.

On the other side, the patch is simple enough to be split and submitted in separated trees, hoping the maintainer Wu Xei and the branch users keep in mind if the board does not boot or has inconsistent behavior they will have to double check the options are enabled for the clock stub and the mailbox.

I don't have a strong opinion on this actually, whatever the decision is, I will be fine with resubmitting the patch to the different trees, or keep it as is and merge it through the hisi tree.

-- Daniel

Signature · 5 lines
 <http://www.linaro.org/> Linaro.org ? Open source software for ARM SoCs

Follow Linaro:  <http://www.facebook.com/pages/Linaro> Facebook |
<http://twitter.com/#!/linaroorg> Twitter |
<http://www.linaro.org/linaro-blog/> Blog
author
#5 lore raw

Hi Daniel,

Quoted 42 lines · Daniel Lezcano
Quoted 22 lines · Olof Johansson
Quoted 21 lines · Daniel Lezcano
Quoted 7 lines · Olof Johansson

Hi Wei,

Quoted 4 lines · Wei Xu

Hi Arnd, Hi Olof,

Please help to pull the following changes.

Quoted 7 lines
Quoted 4 lines

About the CLOCK_STUB and the MAILBOX consolidate patch, Jassi and Stephen have acked it.
Could you let me know how to handle this kind case if it is not OK to be in this pull?

I don't think there's any need to group the Kconfig changes with the defconfig updates here, is there?

I don't have the patches history, but likely this patch should come together with:

https://patchwork.kernel.org/patch/10399799/
https://patchwork.kernel.org/patch/10399801/

Quoted 6 lines
Quoted 2 lines

Otherwise the compilation options won't be consistent with what is enabled in the DT.

As long as neither side regresses due to the changes, there should be no problem. Just because a DT node is added in the tree there's no need to configure the driver. Or am I missing some aspect of it here?

Actually, the DT node being added do not introduce regressions.

However it is expected by adding the clock stub and the mailbox to have the cpufreq working which is not necessarily the case because the config may be inconsistent, so the cpufreq may be working on some config if the user had the options for the clock and the mailbox enabled but these options can disappear and not come back because of this Kconfig inconsistencies.

Quoted 1 line

From my point of view, by adding those DT nodes, it makes sense to give a

consolidated Kconfig coming together and ensuring the drivers are enabled when the node is parsed.

Quoted 8 lines

On the other side, the patch is simple enough to be split and submitted in separated trees, hoping the maintainer Wu Xei and the branch users keep in mind if the board does not boot or has inconsistent behavior they will have to double check the options are enabled for the clock stub and the mailbox.

I don't have a strong opinion on this actually, whatever the decision is, I will be fine with resubmitting the patch to the different trees, or keep it as is and merge it through the hisi tree.

Thanks to make it clear!
In this case, I will drop this patch in the pull firstly.

Best Regards,
Wei

Quoted 3 lines

-- Daniel