Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1391600 > unrolled thread

Re: [PATCH] mfd: vexpress: add !ARCH_USES_GETTIMEOFFSET dependency

Started byLinus Walleij <linus.walleij@linaro.org>
First post2016-04-30 13:50 +0200
Last post2016-04-30 13:50 +0200
Articles 1 — 1 participant

Back to article view | Back to linux.kernel

This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by below is the oldest one visible, not the original post.


Contents

  Re: [PATCH] mfd: vexpress: add !ARCH_USES_GETTIMEOFFSET dependency Linus Walleij <linus.walleij@linaro.org> - 2016-04-30 13:50 +0200

#1391600 — Re: [PATCH] mfd: vexpress: add !ARCH_USES_GETTIMEOFFSET dependency

FromLinus Walleij <linus.walleij@linaro.org>
Date2016-04-30 13:50 +0200
SubjectRe: [PATCH] mfd: vexpress: add !ARCH_USES_GETTIMEOFFSET dependency
Message-ID<rtBzk-76k-3@gated-at.bofh.it>
On Wed, Apr 27, 2016 at 7:49 PM, Arnd Bergmann <arnd@arndb.de> wrote:

> The MFD_VEXPRESS_SYSREG driver selects CLKSRC_MMIO, which in turn
> conflicts with ARCH_USES_GETTIMEOFFSET, causing a harmless Kconfig
> warning when it is set:
>
> warning: (ARCH_MVEBU && ARCH_DIGICOLOR && ARCH_GEMINI && ARCH_KEYSTONE && ARCH_MOXART && ARCH_MXS && PLAT_SPEAR && ARCH_SUNXI && ARCH_TEGRA && ARCH_U300 && PLAT_ORION && ARCH_CLPS711X && ARCH_EP93XX && ARCH_NETX && ARCH_IXP4XX && ARCH_KS8695 && ARCH_W90X900 && ARCH_PXA && ARCH_SA1100 && ARCH_OMAP1 && ARCH_BCM_IPROC && ARCH_INTEGRATOR_AP && ARCH_OMAP2PLUS && MFD_VEXPRESS_SYSREG) selects CLKSRC_MMIO which has unmet direct dependencies (!ARCH_USES_GETTIMEOFFSET)
>
> This was apparently hidden by the fact that no ARM platform that
> still sets ARCH_USES_GETTIMEOFFSET has gpiolib support, and we
> already have a dependency on GPIOLIB that I added a while ago.
>
> However, after 296ad4acb8ef ("gpio: remove deps on
> ARCH_[WANT_OPTIONAL|REQUIRE]_GPIOLIB"), any platform can enable
> CONFIG_GPIOLIB, and that lets us enable MFD_VEXPRESS_SYSREG
> as well.
>
> This adds an explicit dependency on !ARCH_USES_GETTIMEOFFSET
> to guarantee that we can enable the CLKSRC_MMIO driver without
> getting warnings.
>
> Signed-off-by: Arnd Bergmann <arnd@arndb.de>

OMG that was complex, thanks for explaining.

I am officially impress by your Kconfig ninja skills.

Acked-by: Linus Walleij <linus.walleij@linaro.org>

Lee, please pick this up?

Yours,
Linus Walleij

[toc] | [standalone]


Back to top | Article view | linux.kernel


csiph-web