From mboxrd@z Thu Jan 1 00:00:00 1970 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=-14.1 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_CR_TRAILER, INCLUDES_PATCH,MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS 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 4A173C04FF3 for ; Mon, 24 May 2021 17:27:37 +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 12501613BF for ; Mon, 24 May 2021 17:27:37 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 12501613BF Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=linux-m68k.org 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:Cc:To:Subject:Message-ID:Date:From: In-Reply-To:References:MIME-Version:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=qLfU/hMH/rdzNKTY0bgK6cSuV7A40DqMSx1TkCq8wnM=; b=4JqPMk7fjOllM8 sFT3AJKfeFxVH/UwvSOL/QcVHwtI3tuEHaySgQzPL3JpfDePbV17gmAK7oZ6YzFFxsghHO41kacPB 0gkOwXreKbEKuJGN+bRrdXVrembn8xvPZNzHl/Du5Kqk7iS3ES/faHlpelqY18vkc10x3j3YYG/x8 XE2stt+yinFvU/m85gu4J2H5HL8jKbHaL7BgpLvdptokNHuFP8Hd/D3+EKGr1R3CM7QxXxYrdMMCB qkWZQWFal4Q59OLG68qBCQS5jSA3RMDYKT84u7nQ0s3XvxyduG5Ogf7sITUHOBBiNGbsgwPiNmqAZ N4zTBMM8bypHKaG8/Phg==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94 #2 (Red Hat Linux)) id 1llEKP-001GZH-GQ; Mon, 24 May 2021 17:25:23 +0000 Received: from mail-ua1-f47.google.com ([209.85.222.47]) by bombadil.infradead.org with esmtps (Exim 4.94 #2 (Red Hat Linux)) id 1ll6Mg-000mTo-0q for linux-arm-kernel@lists.infradead.org; Mon, 24 May 2021 08:55:11 +0000 Received: by mail-ua1-f47.google.com with SMTP id c6so8543090uat.0 for ; Mon, 24 May 2021 01:55:08 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=5H0qZkzumrdkYcAyVjQDQA6Hje2p2FxbSu2Plzs94Cg=; b=W8TKw8o2x9+433x5S57rblYY3l1EppC9RaFxRssmZJ4h6T8NjrpiJBCocgC6WYMWAf xG9SQciLLRVtNxSPtHJNFkY3mPpDjrJ1WP/tW1m63ETXefuC8iZPMiiFkiVVvPYxaC8/ 8AxONivXLWGqPNA9LuBMxLNHVRl/91ts72jaYMnVEsbxPs4uJVGKFYfvz5Fw1THu8FOD HOIvfYLWGSgV5ejS72NGkMCQzQCG8yQFWG6fSsRD6t347kBFjzlpE/G8z/TH+wDiqRTy mnME/cnICl21j/53waSwHVYfiQzHUQnCL1IiT2+UsjslIMiZPmz9AkxmbYRhfaldgQSp I6SQ== X-Gm-Message-State: AOAM531+kNYkp4tX87y9PFuD5nBg1JO6/6qZOgOqsoO6VG/AguYKAxMq gZ6IFeUzstRAB/TvjUsSSp6MElDNawg71eypQZg= X-Google-Smtp-Source: ABdhPJxxyosYrdj1GqNypPiBnYRArw2E3/38homNMO1Av1PFu0RXXr0Dh8t9Utur9chqZtb0X55m4PfZQwmS3BcBlZQ= X-Received: by 2002:ab0:7705:: with SMTP id z5mr20481974uaq.2.1621846508208; Mon, 24 May 2021 01:55:08 -0700 (PDT) MIME-Version: 1.0 References: <20210523232556.15017-1-digetx@gmail.com> In-Reply-To: <20210523232556.15017-1-digetx@gmail.com> From: Geert Uytterhoeven Date: Mon, 24 May 2021 10:54:57 +0200 Message-ID: Subject: Re: [PATCH v1] kbuild: Disable compile testing if HAVE_LEGACY_CLK enabled To: Dmitry Osipenko Cc: Thierry Reding , Jonathan Hunter , Krzysztof Kozlowski , Stephen Boyd , Tony Lindgren , Arnd Bergmann , Paul Burton , John Crispin , "open list:BROADCOM NVRAM DRIVER" , Linux ARM , linux-m68k , Linux Kernel Mailing List , linux-tegra , linux-clk , "open list:TI ETHERNET SWITCH DRIVER (CPSW)" X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20210524_015510_084086_1093D33D X-CRM114-Status: GOOD ( 23.97 ) 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: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org Hi Dmitry, On Mon, May 24, 2021 at 1:26 AM Dmitry Osipenko wrote: > 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 Thanks for your patch! > --- 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 That sounds a bit drastic to me. Usually we just try to implement the missing functionality, or provide stubs. Which functions are missing? > 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 Gr{oetje,eeting}s, Geert -- Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@linux-m68k.org In personal conversations with technical people, I call myself a hacker. But when I'm talking to journalists I just say "programmer" or something like that. -- Linus Torvalds _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel