Re: [PATCH 3/3] arm64: alpine: select AL_POS

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 




On 9/9/2019 4:45 PM, Arnd Bergmann wrote:
On Mon, Sep 9, 2019 at 12:17 PM Shenhar, Talel <talel@xxxxxxxxxx> wrote:
On 9/9/2019 12:40 PM, Arnd Bergmann wrote:
On Mon, Sep 9, 2019 at 11:14 AM Talel Shenhar <talel@xxxxxxxxxx> wrote:
diff --git a/arch/arm64/Kconfig.platforms b/arch/arm64/Kconfig.platforms
index 4778c77..bd86b15 100644
--- a/arch/arm64/Kconfig.platforms
+++ b/arch/arm64/Kconfig.platforms
@@ -25,6 +25,7 @@ config ARCH_SUNXI
   config ARCH_ALPINE
          bool "Annapurna Labs Alpine platform"
          select ALPINE_MSI if PCI
+       select AL_POS
          help
            This enables support for the Annapurna Labs Alpine
            Soc family.
Generally I think this kind of thing should go into the defconfig
rather than being hard-selected. There might be users that
want to not enable the driver.
The reason for selecting it is because this is a driver that we will
always want for ARCH_ALPINE.
Can you put the exact requirement (other than "we want this")
in the changelog text then? It's still not clear to me what breaks
without this driver.

         Arnd

Its not that something will get broken. its error event detector for POS events which allows seeing bad accesses to registers.

What is the general rule of which configs to put under select and which under defconfig?

I was thinking that "general" SoC support is good under select - those things that we always want.

And specific features, e.g. RAID support or features that supported only on specific HW shall go under defconfig.


Similar, I see ARCH_LAYERSCAPE selecting EDAC_SUPPORT.


Will love to hear the general rule for select vs defconfig.




[Index of Archives]     [Device Tree Compilter]     [Device Tree Spec]     [Linux Driver Backports]     [Video for Linux]     [Linux USB Devel]     [Linux PCI Devel]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [XFree86]     [Yosemite Backpacking]


  Powered by Linux