Thread (9 messages) 9 messages, 3 authors, 2021-09-29

Re: [PATCH] [RFC] qcom_scm: hide Kconfig symbol

From: Arnd Bergmann <arnd@kernel.org>
Date: 2021-09-27 20:48:12
Also in: dri-devel, linux-arm-kernel, linux-arm-msm, linux-gpio, linux-iommu, linux-media, linux-mmc, linux-sunxi, linux-wireless, lkml

On Mon, Sep 27, 2021 at 10:42 PM Bjorn Andersson
[off-list ref] wrote:
On Mon 27 Sep 13:15 PDT 2021, Arnd Bergmann wrote:
quoted
On Mon, Sep 27, 2021 at 9:52 PM Bjorn Andersson [off-list ref] wrote:

An easier option might be to find a way to build QCOM_SCM without
RESET_CONTROLLER for compile testing purposes. I don't know
what would break from that.
Afaict the reset API is properly stubbed and RESET_CONTROLLER is a bool,
so I think we can simply drop the "select" and the kernel will still
compile fine in all combinations.

When it comes to runtime, we currently select RESET_CONTROLLER from the
Qualcomm common clocks. If that is dropped (why would it...) it seems
possible to build a custom kernel for msm8916 that we can boot and miss
the stubbed out "mss restart" reset line from the SCM.


So, let's just drop the select RESET_CONTROLLER from SCM for now.
Ok, I've made that change locally, giving it more time on the randconfig
build box now.

       Arnd
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help