Received: by 2002:a05:6a10:22f:0:0:0:0 with SMTP id 15csp390982pxk; Fri, 11 Sep 2020 09:38:24 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzwosZmFcSH/NiMeLXEKvc0G1mD8T4if2uT+qFeLHNOcCnUwLi8ANKtODpyEL6kOPZwrp/n X-Received: by 2002:a17:906:4dc7:: with SMTP id f7mr2907944ejw.261.1599842304513; Fri, 11 Sep 2020 09:38:24 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1599842304; cv=none; d=google.com; s=arc-20160816; b=ZFm6uge0UgvdSiz+e+ZG3kg3T3H64cLXrdndy4NTrNgbpmbDQHriDixSxRnLtanGKV l281IUkHESFqop+AskPtiProLfOcNF7rfc0kzcYKSptS52vYk+bpnGEw0b0CcH1/3tV/ aCMsgfweG0niij7IL4Tl3Vr67VbzpLVnmVbX4bkRo1/w5SWkXcWsD71AThrQP0ohlCg5 pQuWfftj9UabZOHBnu9he7+dV5E7T8sc636gjO6AbZgCHslo3+10Dh+JIi7Tht5nHVoJ Q7TBy1wULITudzfuXh4fQK0rrw9tAO8nYgJ3hQ/kx1z9s3pUbMBD8ddlHqUvFYO691zG tb9Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :references:in-reply-to:message-id:subject:cc:to:from:date :dkim-signature; bh=Mqkz/TWdkaK1QSCbkP0AJS8OkxokSpm+JnM6y2Dzk1U=; b=DHZTbKAtUScc2yp92vh7UwSVdCTioq7kGxB82gWaUndj1bUKoeuhW8u4we3q9EWnNG YxSYuVB82IA1fehE6BthOP5CEhtKbGz4O87C6aSVZrmYpZbAzbQw1yMaV3VkOPLh7/XT Oku2Gj37Zp47/CwZGHVkFK7UBo9r8W1ccZb6ofEjDyeZtef32XN2KnlKib4/dNV1aRG8 on2e1+JqaTridmgTez+0ScRh3vFb1Q8P5u0nXM01263PTfeXm3aQPQnQLoq3bDb8UzNM QM6Cwiqa5AQDYuOaCo2a4VIUNP6DN2YKuDA7WY0aBZWtrxKOWc6BppcXgQyVTiFTSWFT r1ww== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@kemnade.info header.s=20180802 header.b=iuePkO9G; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id mh25si1577293ejb.568.2020.09.11.09.38.01; Fri, 11 Sep 2020 09:38:24 -0700 (PDT) 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=fail header.i=@kemnade.info header.s=20180802 header.b=iuePkO9G; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726447AbgIKQha (ORCPT + 99 others); Fri, 11 Sep 2020 12:37:30 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:59726 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726429AbgIKPM6 (ORCPT ); Fri, 11 Sep 2020 11:12:58 -0400 Received: from mail.andi.de1.cc (mail.andi.de1.cc [IPv6:2a01:238:4321:8900:456f:ecd6:43e:202c]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id D4351C061358; Fri, 11 Sep 2020 07:27:43 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=kemnade.info; s=20180802; h=Content-Transfer-Encoding:Content-Type: MIME-Version:References:In-Reply-To:Message-ID:Subject:Cc:To:From:Date:Sender :Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help: List-Unsubscribe:List-Subscribe:List-Post:List-Owner:List-Archive; bh=Mqkz/TWdkaK1QSCbkP0AJS8OkxokSpm+JnM6y2Dzk1U=; b=iuePkO9Gkom/odDxD1jBzDR2t6 xtNgBI1jkys2M3Dufsm1WU4nOmnsz8hVTMzk9DfnLsHRW/TrlMWYbM3tu8WyJ+Th7lkrxGguMhiWx hOpme4zgCM/XcytmhnbjAlZtiPoXaUXYVgtvuCgQjucNNi9YLQk4ieFPB9A+CotJ5Pdc=; Received: from p200300ccff0ce9001a3da2fffebfd33a.dip0.t-ipconnect.de ([2003:cc:ff0c:e900:1a3d:a2ff:febf:d33a] helo=aktux) by mail.andi.de1.cc with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.89) (envelope-from ) id 1kGk1B-0001LS-Kb; Fri, 11 Sep 2020 16:27:32 +0200 Date: Fri, 11 Sep 2020 16:27:12 +0200 From: Andreas Kemnade To: Tony Lindgren Cc: khilman@kernel.org, linux@armlinux.org.uk, linux-omap@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, letux-kernel@openphoenux.org Subject: Re: [PATCH] omap3: enable off mode automatically Message-ID: <20200911162712.740d96ec@aktux> In-Reply-To: <20200911103337.GH7101@atomide.com> References: <20200911064924.26281-1-andreas@kemnade.info> <20200911103337.GH7101@atomide.com> X-Mailer: Claws Mail 3.17.3 (GTK+ 2.24.32; x86_64-pc-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Spam-Score: -1.0 (-) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, 11 Sep 2020 13:33:37 +0300 Tony Lindgren wrote: > * Andreas Kemnade [200911 09:50]: > > --- a/arch/arm/mach-omap2/pm.h > > +++ b/arch/arm/mach-omap2/pm.h > > @@ -49,11 +49,7 @@ static inline int omap4_opp_init(void) > > extern int omap3_pm_get_suspend_state(struct powerdomain *pwrdm); > > extern int omap3_pm_set_suspend_state(struct powerdomain *pwrdm, int state); > > > > -#ifdef CONFIG_PM_DEBUG > > extern u32 enable_off_mode; > > -#else > > -#define enable_off_mode 0 > > -#endif > > Hmm isn't the above still needed for the other SoCs? Or is omap3 the only > user? > well, the linker moans about undefined symbols if CONFIG_ARCH_OMAP3 is not enabled. I will send a v2. Regards, Andreas