From patchwork Tue Sep 5 21:19:59 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?q?Andreas_F=C3=A4rber?= X-Patchwork-Id: 111752 Delivered-To: patch@linaro.org Received: by 10.140.94.166 with SMTP id g35csp3374355qge; Tue, 5 Sep 2017 14:20:23 -0700 (PDT) X-Google-Smtp-Source: ADKCNb6kTgtmcXtQ036tWbZia5ZtjLJH+LA0hIBLYB1KZcPjzacrMDzgZZDyN9zYVxYyzlocmnVi X-Received: by 10.98.130.200 with SMTP id w191mr5175481pfd.204.1504646423579; Tue, 05 Sep 2017 14:20:23 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1504646423; cv=none; d=google.com; s=arc-20160816; b=RodFFAQmVKLFCQn5Fqt5h+IZ8pX7leW1Rd7mWED6FrdDJjR83CxAOhXVRmljKu0phj ZMuUQ29GEEvRgEfGBGk4OQW9TGLjkDJXpL9sKWZoKt/6p2j6XzhwlcWt7j7D2qFGMXw3 rGZ7j1x4mYzdTqj02ksfX5oUQVptM3jzCDIqQ4dyVU2dEbA00IQcvjTPznZDd/26cl2E EQXZJ9qz5Do8MRcabiz1fyl3jpe18ksUuweJRckjN1CQTusUhJ2ptWatMilmDy48VikF JLIPUul89XtZO9qAlN4/hTaJGwhQEO0FW+r61kDY3bNnQzz7TNMiRFK+L2ctxErDJvBE F+SQ== 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:date:subject:cc:to:from :arc-authentication-results; bh=ED5cl5GiO7lWn2GRnWK9nXuyaIJ4SI0pXCQwLht2EwU=; b=dPnvBYe0XXNJySH6sRr9zpt6CUr4JytDoMIQ8DzN11yCqZH7wgylVHBvL5PinUMtVy nhIHbDEvEUENszdkWgSEcFcuTnKbHi6uK8ZRkM0id0WXbNtQU96fQkKOZZekmfYExahu Z7hNHIveW2F3wOf8dKDFuX885gWc1kMk2ANcD8eBodC3lWToaBWkolTp8yLyphBDV/oC GjVMt9iAj2q32Ses6psVrkLnIWXMQ8fSK8WSaKj3mujFjqAyQurzNtiYsgqrG9hngO/s ggzx8F7ZvE+x9kMr3DCY/AOM2c+/V43b0OK4vYoQya7TAmm2yJfpD10fFCZhtRHXrRU6 Oa1w== ARC-Authentication-Results: i=1; mx.google.com; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id l8si892858pgf.552.2017.09.05.14.20.23; Tue, 05 Sep 2017 14:20:23 -0700 (PDT) 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; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753357AbdIEVUU (ORCPT + 26 others); Tue, 5 Sep 2017 17:20:20 -0400 Received: from mx2.suse.de ([195.135.220.15]:34015 "EHLO mx1.suse.de" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1752742AbdIEVUM (ORCPT ); Tue, 5 Sep 2017 17:20:12 -0400 X-Virus-Scanned: by amavisd-new at test-mx.suse.de Received: from relay1.suse.de (charybdis-ext.suse.de [195.135.220.254]) by mx1.suse.de (Postfix) with ESMTP id 65E53AE54; Tue, 5 Sep 2017 21:20:11 +0000 (UTC) From: =?utf-8?q?Andreas_F=C3=A4rber?= To: =?utf-8?q?Andreas_F=C3=A4rber?= , linux-arm-kernel@lists.infradead.org Cc: Thomas Liau , =?utf-8?b?5byg5Lic6aOO?= , =?utf-8?b?5YiY54Kc?= , =?utf-8?b?5byg5aSp55uK?= , =?utf-8?b?5qKF5Yip?= , 96boards@ucrobotics.com, support@lemaker.org, support@cubietech.com, lee@cubietech.com, Ioan B , Florian Fainelli , linux-kernel@vger.kernel.org, Russell King Subject: [PATCH v2 1/2] ARM: owl: smp: Use __pa_symbol() Date: Tue, 5 Sep 2017 23:19:59 +0200 Message-Id: <20170905212000.7009-2-afaerber@suse.de> X-Mailer: git-send-email 2.13.5 In-Reply-To: <20170905212000.7009-1-afaerber@suse.de> References: <20170905212000.7009-1-afaerber@suse.de> MIME-Version: 1.0 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Replace an occurrence of virt_to_phys() with __pa_symbol() macro. See 64fc2a947a9873700929ec0ef02b4654a04e0476 ("ARM: 8641/1: treewide: Replace uses of virt_to_phys with __pa_symbol"). Fixes: 172067e0bc87 ("ARM: owl: Implement CPU enable-method for S500") Reported-by: Florian Fainelli Signed-off-by: Andreas Färber --- v1 -> v2: New arch/arm/mach-actions/platsmp.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) -- 2.13.5 diff --git a/arch/arm/mach-actions/platsmp.c b/arch/arm/mach-actions/platsmp.c index 12a9e331b432..7238926ab015 100644 --- a/arch/arm/mach-actions/platsmp.c +++ b/arch/arm/mach-actions/platsmp.c @@ -71,7 +71,7 @@ static int s500_wakeup_secondary(unsigned int cpu) /* wait for CPUx to run to WFE instruction */ udelay(200); - writel(virt_to_phys(owl_secondary_startup), + writel(__pa_symbol(owl_secondary_startup), timer_base_addr + OWL_CPU1_ADDR + (cpu - 1) * 4); writel(OWL_CPUx_FLAG_BOOT, timer_base_addr + OWL_CPU1_FLAG + (cpu - 1) * 4);