From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Date: Fri, 28 Oct 2016 16:30:59 -0700 From: Stephen Boyd To: Laura Abbott Cc: Michael Turquette , Loc Ho , linux-clk@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCHv2] clk: xgene: Don't call __pa on ioremaped address Message-ID: <20161028233059.GO16026@codeaurora.org> References: <1477673978-15424-1-git-send-email-labbott@redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii In-Reply-To: <1477673978-15424-1-git-send-email-labbott@redhat.com> List-ID: On 10/28, Laura Abbott wrote: > ioremaped addresses are not linearly mapped so the physical > address can not be figured out via __pa. More generally, there > is no guarantee that backing value of an ioremapped address > is a physical address at all. The value here is only used > for debugging so just drop the call to __pa on the ioremapped > address. > > Fixes: 6ae5fd381251 ("clk: xgene: Silence sparse warnings") > Signed-off-by: Laura Abbott > --- Applied to clk-fixes -- Qualcomm Innovation Center, Inc. is a member of Code Aurora Forum, a Linux Foundation Collaborative Project