Received: by 2002:a05:6a10:22f:0:0:0:0 with SMTP id 15csp1275465pxk; Sat, 12 Sep 2020 18:48:11 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxkEz7wYvynqA8ZV67p1YXBYp/dW56g2FdJNcAXFuD+BXAIqMwTwy3yII5bPAYuoIGXgTv0 X-Received: by 2002:aa7:dd8d:: with SMTP id g13mr11094822edv.324.1599961690798; Sat, 12 Sep 2020 18:48:10 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1599961690; cv=none; d=google.com; s=arc-20160816; b=CldL6Sf+Cw7LHHoZSkOaE+7nrcH7kstIWom56/LtXs22NW56/PyuBKNSmCFiKv5QLv POifZsJ4rP9bNWJaOox9Dz3t/BZ+LSq+7zEJww6x+A3520LpP7KJunp4MjF9y6BW05f7 MnIhD7FbqPRwTBfv9oiMRFRVRzJykfbhExNgKmn3kMcvuMv3BuMV1BS05DT3xhdcK1re gGaLTGFntCH/JU3x5QuvF6wpGwIB/X11MAH9atbhr3tXU9EGjB+DGyo3TJkgFW1Q1z0g 3Eq4+W1aRnP1SpSOalpiQDTkqVpQECVPuBA6LGwZ01vbPkK3goyzE4M9y/qbI9E3CRcj 3GTw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:dkim-signature; bh=ogNGDpwK7JKhPUfWRMhocoPqwvFlejV9gizEWbPc8Fg=; b=UXtjGSZQM0nHVINbMh741xBLM22RaXLzFLT46mj/qPM8ETDXX9jEtoQPYF80Pejetd iS1zBb8LkPBy1kMT/qxrUQmV35/XLP1yZ3lkw1NAjo+K9YM+YeZ1GMFGpChqQDzy54+m 9FSCDoIkMjxm5MClvp+cPeX5uYWA3q8PZjjVWampvPGTArvSoTTMAf4a2NUhWb/ODDIM um8f1XO8J3y+8504p643Z4bCBgrjq+0DmP2jFOUkYRRw1WaCDJ0/JqdELLK4549YTe2G imz3+IaFG5krUcNMWMP1SD0xo2/Jw5vrCQV7GyD9BGOQAWC69bLU3EfmB1z+bcY08AHB VK4g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=cRebRgZZ; 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=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id r8si4598348edw.288.2020.09.12.18.47.36; Sat, 12 Sep 2020 18:48:10 -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=pass header.i=@kernel.org header.s=default header.b=cRebRgZZ; 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=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1725910AbgIMBql (ORCPT + 99 others); Sat, 12 Sep 2020 21:46:41 -0400 Received: from mail.kernel.org ([198.145.29.99]:53886 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725906AbgIMBqk (ORCPT ); Sat, 12 Sep 2020 21:46:40 -0400 Received: from dragon (80.251.214.228.16clouds.com [80.251.214.228]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id 8752421531; Sun, 13 Sep 2020 01:46:38 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1599961600; bh=GwRsGmQPxPXZvkghZC562wXoSBHQCZTy/z9V7TwRZ6c=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=cRebRgZZaNS/MAcZhsFvmtDo6z2k8N0H0CLKcwBW1z+e3qmVdefMqo20d6wmAuTpd 4N14TWJS9+glcyd+nYWX84agiw1uJn1Lvfn+bQu/nZIYkBAgvLCn/m9SnJFUktn/CX Q/+64M7kP1HKljBKfj0VpK8zuar//3UA+5XU4SAE= Date: Sun, 13 Sep 2020 09:46:35 +0800 From: Shawn Guo To: peng.fan@nxp.com Cc: s.hauer@pengutronix.de, festevam@gmail.com, abel.vesa@nxp.com, kernel@pengutronix.de, linux-imx@nxp.com, Anson.Huang@nxp.com, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, aisheng.dong@nxp.com Subject: Re: [PATCH] firmware: imx: scu-pd: ignore power domain not owned Message-ID: <20200913014634.GF25109@dragon> References: <1599559621-1397-1-git-send-email-peng.fan@nxp.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1599559621-1397-1-git-send-email-peng.fan@nxp.com> User-Agent: Mutt/1.9.4 (2018-02-28) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, Sep 08, 2020 at 06:07:01PM +0800, peng.fan@nxp.com wrote: > From: Peng Fan > > Should not register power domain that not owned by current > partition. > > Alought power domains will not be registered when power on failure, > we have to let CPU waste more cycles. > > Whether power on or owned check, both need communicate with SCU, > but with owned check, we no need to run more code path to save CPU > cycles. > > Signed-off-by: Peng Fan > Reviewed-by: Leonard Crestez Applied, thanks.