Received: by 2002:a05:6a10:af89:0:0:0:0 with SMTP id iu9csp2100241pxb; Sat, 22 Jan 2022 16:16:06 -0800 (PST) X-Google-Smtp-Source: ABdhPJzB3C/RN6eGtf9iphhDHR3YANb6E98iqJ3cV6Buz128IvWQIznJ+MVHC52IfrdAODUtm6Ru X-Received: by 2002:a17:90b:4b41:: with SMTP id mi1mr7010787pjb.1.1642896965908; Sat, 22 Jan 2022 16:16:05 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1642896965; cv=none; d=google.com; s=arc-20160816; b=rOc7/BUfz010a9zB+xnboXrb05uCgbwXCsy3FkObyaKGe6SLm0QKIF33XUoaqHKDmE hN6HuoeAbi7v2o4twqzYl3Z/IspdvPDc1FzXN1ysVgxkR2OO0NEdJGuDE9Jkt5i8pQcJ xrklKDT1gEKfwVtAK/kWmbLXDJO4UVHcAYNcRbDQqDWEPeWB5wJINzjro8fNRNRzxhjL vk7Q2EtAJDaSQ6miZ3lfuzHbM56LBDa8GaTdxMntcDFTpAqhzLlxCR0R4/4rPx1GMNPp GNegmV+/xB5DpeArUjFwDb6moZSgOZuFtWv+v+MnZ77OL/FzjvUH6XrUWTlDyduUSMn8 VrIg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=2AZpnBw4RaqQoYcagsg73LF4yfaWi1RtR7CrBVPWFJk=; b=Jtyz1KCuG0c92nM6K2SBFKTYLopVkdglyLT2AR1AVfDmr0UkfLSWpTfaD9ukZrutiC xmRDuHNgr/me7NXXuh9tE80Mo2BD2BxvB6W2u3urrLXMohrV+qu/+HJHmyVq+5xAwFQF HsGDN12vRODfWkQkMz0co31BTszbG4DJcKMDLVZiTBdwbGLoDdl5pFjx+R0hNgmhmpwY q2yJREr7tczcYmQOo1G1B3DBDXY762g9qeIj8+1qmDS0x6+qfXrI8D2fbjDYzXiADXXR pyqdVmY15jqU4S9fdBtXq5T0FZd3tfVaAGfFvs1hIzJtbnAH/5F6yq5LePUKsx80ImCC /yDw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b=GCFLOCrb; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id x7si8519428plr.389.2022.01.22.16.15.54; Sat, 22 Jan 2022 16:16:05 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b=GCFLOCrb; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231483AbiAVDzE (ORCPT + 99 others); Fri, 21 Jan 2022 22:55:04 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:55482 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229996AbiAVDy7 (ORCPT ); Fri, 21 Jan 2022 22:54:59 -0500 Received: from mail-pj1-x1032.google.com (mail-pj1-x1032.google.com [IPv6:2607:f8b0:4864:20::1032]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 41A97C06173B for ; Fri, 21 Jan 2022 19:54:59 -0800 (PST) Received: by mail-pj1-x1032.google.com with SMTP id v11-20020a17090a520b00b001b512482f36so7888539pjh.3 for ; Fri, 21 Jan 2022 19:54:59 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=2AZpnBw4RaqQoYcagsg73LF4yfaWi1RtR7CrBVPWFJk=; b=GCFLOCrbsT3vYYjj9sk0+iqHPAU3MLHKF65dsd63ve3ERaTGwlgAhWbIuXV7/qP0jD cfNREdPKYJL8TlLF1zuKbNcP3qtsmzHPVFzzMTtKapTLuhLclZwMfkBZMRrz+peIA4x0 PNCckGsGHYkV/umugZOXh1zFqA5Q77jEsqHan+Z6uXtmQ5aXIR6/S6NT69MPnUrw/Hcg AjsO43kW4LJXOvWMObXxiRQPfnZ8bCiXEUS+ysmoLZv/41asA1TWA0repTbb1+WomnVO djJrSIk76Vy7j7FQYOWHgpowR+0mND4oc3icvUnfma0Tg+4g9Eds5tnLtpJcrFVSmXBB 7doQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=2AZpnBw4RaqQoYcagsg73LF4yfaWi1RtR7CrBVPWFJk=; b=R7kzGhrT1L2CPSVadwHlvNpZMElza0VIzHKgz19UZri0yBBvS6vi0J0w35ZR5fGLUJ /icpRjuC6wb2VHH/MUbTZmrEzxRyREhZHQ2wRlk2NBYax5rx6yKGrJL5vnLwhd2yqgCa B4xGEUYeWeF8LLaUk+WVhuPDw6/3HUlAzABVWNwOM5yd4JTgkWX7DeeqEWwoXinKZ/jZ /vZ0Q6CVDWbgWFm2laXeAEN5mUTxr/duMlGGm6P6/hUSCToorys73JVsrWUrc6L/BGuo Bd/KU8/E8PO1Velm/MYeupPdLuNJ7yB1qAnOi7irRV8lz8EpCDQ/OMlar55tap13y28S bbnw== X-Gm-Message-State: AOAM531nfTrN59glNubRZbFSGH6f+hNH0aSthrgxiQpD+Dju2Uj/sWhQ S5t+zQEf7rhyd0GAVxLDfjo= X-Received: by 2002:a17:90a:5d17:: with SMTP id s23mr3622752pji.65.1642823698692; Fri, 21 Jan 2022 19:54:58 -0800 (PST) Received: from fainelli-desktop.igp.broadcom.net ([192.19.223.252]) by smtp.gmail.com with ESMTPSA id a1sm667255pjm.1.2022.01.21.19.54.57 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 21 Jan 2022 19:54:58 -0800 (PST) From: Florian Fainelli To: linux-arm-kernel@lists.infradead.org Cc: Florian Fainelli , bcm-kernel-feedback-list@broadcom.com (maintainer:BROADCOM BCM7XXX ARM ARCHITECTURE), Mark Rutland , Lorenzo Pieralisi , linux-kernel@vger.kernel.org (open list) Subject: [PATCH 2/4] soc: bcm: brcmstb: Make legacy PM code depend on !ARM_PSCI_FW Date: Fri, 21 Jan 2022 19:54:19 -0800 Message-Id: <20220122035421.4086618-3-f.fainelli@gmail.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20220122035421.4086618-1-f.fainelli@gmail.com> References: <20220122035421.4086618-1-f.fainelli@gmail.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On ARM 32-bit the legacy PM code would conflict with a PSCI based implementation that we are going to introduce in subsequent commits. Make PM_BRCMSTB depend on !ARM_PSCI_FW to exclude the two implementations from each other. Signed-off-by: Florian Fainelli --- drivers/soc/bcm/brcmstb/pm/Makefile | 2 ++ 1 file changed, 2 insertions(+) diff --git a/drivers/soc/bcm/brcmstb/pm/Makefile b/drivers/soc/bcm/brcmstb/pm/Makefile index 8e10abb14f8b..86004458260c 100644 --- a/drivers/soc/bcm/brcmstb/pm/Makefile +++ b/drivers/soc/bcm/brcmstb/pm/Makefile @@ -1,4 +1,6 @@ # SPDX-License-Identifier: GPL-2.0-only +ifndef CONFIG_ARM_PSCI_FW obj-$(CONFIG_ARM) += s2-arm.o pm-arm.o AFLAGS_s2-arm.o := -march=armv7-a +endif obj-$(CONFIG_BMIPS_GENERIC) += s2-mips.o s3-mips.o pm-mips.o -- 2.25.1