From patchwork Sun May 23 23:25:56 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Dmitry Osipenko X-Patchwork-Id: 12276855 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-13.7 required=3.0 tests=BAYES_00, DKIM_ADSP_CUSTOM_MED,DKIM_SIGNED,DKIM_VALID,FREEMAIL_FORGED_FROMDOMAIN, FREEMAIL_FROM,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_CR_TRAILER, INCLUDES_PATCH,MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,USER_AGENT_GIT autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 15189C04FF3 for ; Mon, 24 May 2021 19:24:04 +0000 (UTC) Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id AF93A613F6 for ; Mon, 24 May 2021 19:24:03 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org AF93A613F6 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=gmail.com Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:Message-Id:Date:Subject:Cc :To:From:Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References: List-Owner; bh=28glX1LXm0TKtblQauBAmyLLJI1Ubf5XNxZbeOzX/fE=; b=qnjTiuX7AB6sPA 7EZNeLuY0TzyOnTh+xJn6s9qt+MSV+v5JOJBTonZKSI3bu3cV5PgLdIAaIItxV2+aoidvPIV56GDQ g5vGpHzu/QFSUvofoOEYRthO3MAHWUZ6yKph1Mr+FBhvXfuUaK5aUiZmCdyI9WXPikESqssQIvKUI nDm8iHxioUhlv6A9PjB8ioQzu4zwwwU+oAMND2YFErUFD02VIoRj3Ep6AIbTjuMggzUnjtCLnkJ3y yFy0WdkMRD4BRrK2qvwnvptOtCAri9HlJLUJiRzgBqqBB1B5TL3wQDz/g4ZqozfYZpdQNZkK99Hcb B3CAXdXI8Xpyp26CJTJg==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94 #2 (Red Hat Linux)) id 1llG8m-001eBy-Ib; Mon, 24 May 2021 19:21:29 +0000 Received: from mail-lj1-x232.google.com ([2a00:1450:4864:20::232]) by bombadil.infradead.org with esmtps (Exim 4.94 #2 (Red Hat Linux)) id 1lkxTx-000bsi-Nw for linux-arm-kernel@lists.infradead.org; Sun, 23 May 2021 23:26:06 +0000 Received: by mail-lj1-x232.google.com with SMTP id s25so31148243ljo.11 for ; Sun, 23 May 2021 16:26:04 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=pPiK1DfUxZZrTBI/5iz69l7qULP78LHErLsYFXd4x9o=; b=Wh4IAnNxXo994rOpcpBG1uHjyJm1icPsdNE7/2cIz+9OcmAv8x5QRPsjauEGrPNXiW RQkuH5Bx1P5mQmEgcSIo+dbZENJWfm+ttnjxO+s92XMY+RPBJ2+nun7R4NtaOHRkojvQ W5cyhqxNL775x1J4LWzOqkZigA/1vrCffMUNYpOkXrHm5cFJmaSSfTKIr13MI9bCY/Nq LR2+mcOUhyQTrJmbrtHh4CssW4Gvgsl5T+cpjBpF4kz2QpQPMu12h5jDZ0hMpEJyjgTp 0ruHCtRGDigp05ZBlZJ/ZsD0UV5aaUlUx5toHznF4RKhugLSlHIIAWqhOg4k8RZwG5Gm lDow== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=pPiK1DfUxZZrTBI/5iz69l7qULP78LHErLsYFXd4x9o=; b=raeZ2XEB4mTd9GutjNIGyKKNkisHRq/zLzS2nstX85IV8R0lZ4iT1ScRVjV0llRrfN tuVOMFqlRHGf+J7uYEgqCYqhXGYx2kjZjBycJXAw3X0S4jE4jHhnTAYKlKJOXDea++6a 6/hYZIWmSJ0bqsjAmA/UiJxw0SeC7jUJy/q8ZVpXb2T4pTeDAYJ07GqsxvaFKODuhngO 2RC9KXls5hD8c0XJjfJhy82HOCW9cF6hZW/EykhFHcCS+dLZC9xwb+svBHCgVp/eiE8g CAbUu6eCy97leg0Kkh8RSZ0h5KU8lymWuiJjnXArzIRTe9Y6C8eroFDdvtduySDgrKEo MDlw== X-Gm-Message-State: AOAM5311d9FxO1a/dKz0GYfMwSC5NoYT8cr9UHQuI8rqT0xvNrGGLajT SyK3YbsR7Q1wZCedsbqCA+M= X-Google-Smtp-Source: ABdhPJzn0nkTvNJ4/y5/7O9Cpdv0X5iyxFW9w+e888CSbB1VKcAijfzu9imoGp+TgHIWvgjlKrqffQ== X-Received: by 2002:a05:651c:1043:: with SMTP id x3mr14722134ljm.130.1621812363346; Sun, 23 May 2021 16:26:03 -0700 (PDT) Received: from localhost.localdomain (109-252-193-110.dynamic.spd-mgts.ru. [109.252.193.110]) by smtp.gmail.com with ESMTPSA id p7sm1489329ljg.61.2021.05.23.16.26.02 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 23 May 2021 16:26:02 -0700 (PDT) From: Dmitry Osipenko To: Thierry Reding , Jonathan Hunter , Krzysztof Kozlowski , Stephen Boyd , Tony Lindgren , Arnd Bergmann , Geert Uytterhoeven , Paul Burton , John Crispin Cc: linux-mips@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-m68k@lists.linux-m68k.org, linux-kernel@vger.kernel.org, linux-tegra@vger.kernel.org, linux-clk@vger.kernel.org, linux-omap@vger.kernel.org Subject: [PATCH v1] kbuild: Disable compile testing if HAVE_LEGACY_CLK enabled Date: Mon, 24 May 2021 02:25:56 +0300 Message-Id: <20210523232556.15017-1-digetx@gmail.com> X-Mailer: git-send-email 2.30.2 MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20210523_162605_797031_23251AF6 X-CRM114-Status: GOOD ( 13.48 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org There are couple older platforms that can't be compile-tested because they partially implement CLK API. It causes build failure of kernel drivers due to the missing symbols of the unimplemented part of CLK API. These platforms are: ARM EP93XX, ARM OMAP1, m68k ColdFire, MIPS AR7, MIPS Ralink. Disable compile-testing for HAVE_LEGACY_CLK=y. Reported-by: kernel test robot Signed-off-by: Dmitry Osipenko --- init/Kconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/init/Kconfig b/init/Kconfig index 173a474012d7..42701b04be00 100644 --- a/init/Kconfig +++ b/init/Kconfig @@ -131,7 +131,7 @@ config INIT_ENV_ARG_LIMIT config COMPILE_TEST bool "Compile also drivers which will not load" - depends on HAS_IOMEM + depends on HAS_IOMEM && !HAVE_LEGACY_CLK help Some drivers can be compiled on a different platform than they are intended to be run on. Despite they cannot be loaded there (or even