Received: by 2002:a25:8b91:0:0:0:0:0 with SMTP id j17csp4992491ybl; Tue, 4 Feb 2020 05:51:56 -0800 (PST) X-Google-Smtp-Source: APXvYqzU4tU6ex2f7IoAMxoH3EJkB28fMbne8nEUHqahk1yIXQO9Q6hDhcViUCrr96F9exHpU9dB X-Received: by 2002:a05:6830:1691:: with SMTP id k17mr23063734otr.282.1580824316585; Tue, 04 Feb 2020 05:51:56 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1580824316; cv=none; d=google.com; s=arc-20160816; b=uJfqN30DIUOE2HSRnWdm3yBoJU8LaFpmVWYJB7uA+dPea70zZRaVSdsIe6KHiiJ8+H EsFoR84G1sRVCI5TNEpTS0VWpyjNJBzqqY2KX+X1DOm6BgHI+6Rr0QqmB5uqTAsu2TbT 3o9o4ykcB/+UlDbXzCI2EV9BW+a7jLpFsDjtjE1KEYTNSzAT67LwGeF4UFyJ4063ogjg ZDV0/+pK+V+XduQt3kBRdaUy2SYWKJa1Q/IdnIrNyV995EuE3KNQnKCCzIeNcOeGLvix fjqSnSwurenZA5BcWW12YgJyWfXhBADDVpKGN8/8xMoDebp8cSXXRCnO0+K5YFlTAxiC JdQg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:dkim-signature; bh=9jLVAcyplvqzHsaCloEAHREkwig8WcGxJ3DAaOOUD3A=; b=tgJbDPzExRmEBNPmlbE/WL8rcEFIi6YltIxbWx1FqNwoHo2va3xgVv4I7+hB5t3S/K 40AOTKMZvnDawyJThDQIADbroCzQj6Dxje290VZcEMBo/kx+YporbIUf3sq1XQmRJwXa XF9xDZZRSKIALAwH6o6W9soTMGbm0Xs5y0WTDJEPbomZz2pFcE20JF/Wy0fKxyg4ZV0L fqWQbAaCwEcBky9QDIZYl2mp8ji9Kf3fP8HQe8TBwBGrTainc5jMYB15WQgVBmcUmspF miYHhfyk4wc80IMDVz5bBC5HOFNHxs2ef5vp3c7PDGhEzl6sADFKpQMcg3CU7BvR+iVa SQUA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b="GcxYe74/"; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 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. [209.132.180.67]) by mx.google.com with ESMTP id s22si9912997oij.35.2020.02.04.05.51.42; Tue, 04 Feb 2020 05:51:56 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b="GcxYe74/"; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 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 S1727210AbgBDNuv (ORCPT + 99 others); Tue, 4 Feb 2020 08:50:51 -0500 Received: from mail-lf1-f68.google.com ([209.85.167.68]:43263 "EHLO mail-lf1-f68.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727180AbgBDNuu (ORCPT ); Tue, 4 Feb 2020 08:50:50 -0500 Received: by mail-lf1-f68.google.com with SMTP id 9so12210282lfq.10; Tue, 04 Feb 2020 05:50:49 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=9jLVAcyplvqzHsaCloEAHREkwig8WcGxJ3DAaOOUD3A=; b=GcxYe74/idVHZGr0GaeypVm2u2HL/+wZaUIBarQqgv78UGehNvGeO9nQsXManCpMBX fDgvAm1QoMCK47vmAtNf/UTARl1eJ2UL81UfRwIbWLlXtqgiMv0dErvjN7o1SzakSwpe 3KWtUQlhn5zGJeJHw8AR0Xl1CIn4cEQQUBE9Iioma2649hekeOGtjErpydl/S8cYJXvY UFUEQmvqssk17dR97GYN8fGIz8YELs4Z9KPsv6uAQ5SzmH8iaB9x4vPdnOsuetI7tcHx 6myRkTjT/QNtm/ilSvhRfD9KUSEgEOLcc3PThcc9uaWEhPTEJiL5e6pdwGZ3Izm4hgsP C+Eg== 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=9jLVAcyplvqzHsaCloEAHREkwig8WcGxJ3DAaOOUD3A=; b=DcTrQ52fWlCn9Lc+sJ+11aFxsXRAOS+Y1EEnaIgUHNpCshBLX7onvwwb8hfZzeU1R5 2Ne7uuYeSW8lR4tDWJ4kIBSxt2jIq+VkJDsPm41Mq9Z1BxhotKlz6OdUwHlQ/Yytia8a V/aeBKZY3e+4Hb6G4q+IQBbCBp8O6wwBxM0Sfu+3bZF4G+UhUUFr8AvPpwcWXrbEjm6j YekL1INzH/6bumKGhSh+C/O4qaeRvQqEBUsZxyh98Bwwtyca5rZmZhc2RnWEaKY8N3jS D1IG15fQs3a+30B2tMNI6kR6kTLi5fKxVa3idjQSDO1LbXE1JGvUMKbzOcgb57zD7mIn uYUw== X-Gm-Message-State: APjAAAU0QKbmLcIXpFfm3aacEyQ24TXubfkAmOf7kz/Rz/sY8nZPBaM/ olGUhbPV3MblY+iInewDTa2RDkg6eAsTv+SXkPY= X-Received: by 2002:a19:5212:: with SMTP id m18mr15375040lfb.7.1580824248848; Tue, 04 Feb 2020 05:50:48 -0800 (PST) MIME-Version: 1.0 References: <1580823277-13644-1-git-send-email-peng.fan@nxp.com> <1580823277-13644-7-git-send-email-peng.fan@nxp.com> In-Reply-To: <1580823277-13644-7-git-send-email-peng.fan@nxp.com> From: Fabio Estevam Date: Tue, 4 Feb 2020 10:50:41 -0300 Message-ID: Subject: Re: [PATCH 6/7] ARM: imx: imx7ulp: support HSRUN mode To: Peng Fan Cc: Shawn Guo , Sascha Hauer , Stephen Boyd , Abel Vesa , Dong Aisheng , Leonard Crestez , Sascha Hauer , NXP Linux Team , Ping Bai , Yongcai Huang , "moderated list:ARM/FREESCALE IMX / MXC ARM ARCHITECTURE" , linux-kernel , linux-clk Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Peng, On Tue, Feb 4, 2020 at 10:41 AM wrote: > > From: Peng Fan > > Configure pmprot to let ARM core could run into HSRUN mode. > > Signed-off-by: Peng Fan > --- > + writel_relaxed(BM_PMPROT_AHSRUN, smc1_base + SMC_PMPROT); HSRUN cannot be configured unconditionally because if i.MX7ULP runs with LDO-enabled it cannot run in HSRUN mode.