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=-2.5 required=3.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,USER_AGENT_MUTT 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 3C915C43613 for ; Fri, 21 Jun 2019 18:12:53 +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 15BAB208C3 for ; Fri, 21 Jun 2019 18:12:52 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="RuHwlYfJ" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 15BAB208C3 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=kernel.org Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-arm-kernel-bounces+infradead-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.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:Cc:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:In-Reply-To:MIME-Version:References: Message-ID:Subject:To:From:Date:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=yW5M/hEW9xBkKPzfAjUiUgu5kUe8G4kZdgaPwlsjs1Y=; b=RuHwlYfJsxDqcs yTZeftCLWM88Or1PztRDF7nkVnztlOBDpdv5wv4s3UKHnK2pnqvcdpdjZ4LvU1Ec9JkjEyt5bnOrL KFGNxIrKskW8ACwq7Yhg/tayHvfQxqtMU21QE1gfPqhkrQa/Q8CxexSy6qUUxDVLiSNlxGwpPTvzQ zd2Uk5gSPFoTKO4SPzI4EjtNLNJbw+6cKEuWPjfeb4RjJqYzvdtjzYPLnfAUv9FT8du1UncmRbxf5 rRvSjcbNdNsZE6rReYArVH5YtRNAhcM+khyXz613Fvx4M3PMc3m/eBbentyHi37QsYwM3jrEd/k+9 nMqW3dYwp+lEbXvwjdwQ==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.92 #3 (Red Hat Linux)) id 1heO1q-0001Cm-4p; Fri, 21 Jun 2019 18:12:50 +0000 Received: from mail-wm1-f67.google.com ([209.85.128.67]) by bombadil.infradead.org with esmtps (Exim 4.92 #3 (Red Hat Linux)) id 1heO1o-0001CL-0B for linux-arm-kernel@lists.infradead.org; Fri, 21 Jun 2019 18:12:49 +0000 Received: by mail-wm1-f67.google.com with SMTP id a15so7123441wmj.5 for ; Fri, 21 Jun 2019 11:12:46 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to:user-agent; bh=K8ZqNlSRzlw+iByGaPZNdN2szcR/O2ehXG6DihUgi5k=; b=StXkfua6NPz/F2w/Ix9t+lU+WENFfY6VKjwSKM4VH+boYWeLRLr+pckGHZ1z2NrAw8 OQLU+3zL+CX7o2Ej9MNzXcrziSKfH98ZMsUJ+hbXoU4Tvm/5WQXnqZNA9APtMPrx7FEi IFv8bXwXWDwvmIFrC1eHZ8o1eR5y/1OPsHfRwll2HHxvsKnIRmHEWcqF+Osud3nky8Yl tZjtaMrnYDWIv3y5ugLaB5dxF16f3juomR7SmeV3a6rXSsO+iS8pLlPNel7Oi5eM4FES MiYVP1kfBxct37vkuduKsOgcXt08+5moGKIMQJD4rwrLzKWkmXLT/k20dCoILBU4kwoy 487w== X-Gm-Message-State: APjAAAVb/owbcIY9Q8JX6HLKaKaNPpefs1HdkOAhXtpATw0/HizgmC0K RJZobbjiT31ktOGvMeTZvKY= X-Google-Smtp-Source: APXvYqxxO+HkCjrMZC9y5KfK+BU2nNihU5fwC/SA7zEcs/MVwbeu/GDip2tz7utkxVE97ewJTt8utg== X-Received: by 2002:a1c:1947:: with SMTP id 68mr4932544wmz.171.1561140765354; Fri, 21 Jun 2019 11:12:45 -0700 (PDT) Received: from kozik-lap ([194.230.155.186]) by smtp.googlemail.com with ESMTPSA id h90sm4746092wrh.15.2019.06.21.11.12.44 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Fri, 21 Jun 2019 11:12:44 -0700 (PDT) Date: Fri, 21 Jun 2019 20:12:42 +0200 From: Krzysztof Kozlowski To: Arnd Bergmann Subject: Re: [PATCH] ARM: exynos: only build mcpm support if used Message-ID: <20190621181242.GA18341@kozik-lap> References: <20190619125545.1087023-1-arnd@arndb.de> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <20190619125545.1087023-1-arnd@arndb.de> User-Agent: Mutt/1.9.4 (2018-02-28) X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20190621_111248_044895_39134E3D X-CRM114-Status: GOOD ( 12.02 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: linux-samsung-soc@vger.kernel.org, Bartlomiej Zolnierkiewicz , linux-kernel@vger.kernel.org, Tomasz Figa , Russell King , Kukjin Kim , linux-arm-kernel@lists.infradead.org, Marek Szyprowski Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+infradead-linux-arm-kernel=archiver.kernel.org@lists.infradead.org On Wed, Jun 19, 2019 at 02:55:29PM +0200, Arnd Bergmann wrote: > We get a link error for configurations that enable an exynos > SoC that does not require mcpm, but then manually enable > mcpm anyway wihtout also turning on the arm-cci: > > arch/arm/mach-exynos/mcpm-exynos.o: In function `exynos_pm_power_up_setup': > mcpm-exynos.c:(.text+0x8): undefined reference to `cci_enable_port_for_self' > > Change it back to only build the code we actually need, by > introducing a CONFIG_EXYNOS_MCPM that serves the same purpose > as the older CONFIG_EXYNOS5420_MCPM. > > Fixes: 2997520c2d4e ("ARM: exynos: Set MCPM as mandatory for Exynos542x/5800 SoCs") Thanks, applied. Best regards, Krzysztof _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel