From patchwork Sun Jan 22 12:23:52 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Linus Walleij X-Patchwork-Id: 92156 Delivered-To: patch@linaro.org Received: by 10.140.20.99 with SMTP id 90csp804813qgi; Sun, 22 Jan 2017 04:25:19 -0800 (PST) X-Received: by 10.99.56.94 with SMTP id h30mr27335834pgn.23.1485087919685; Sun, 22 Jan 2017 04:25:19 -0800 (PST) Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id z30si12521135plh.61.2017.01.22.04.25.19; Sun, 22 Jan 2017 04:25:19 -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=@linaro.org; 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=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751710AbdAVMZA (ORCPT + 25 others); Sun, 22 Jan 2017 07:25:00 -0500 Received: from mail-lf0-f54.google.com ([209.85.215.54]:33937 "EHLO mail-lf0-f54.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751311AbdAVMYP (ORCPT ); Sun, 22 Jan 2017 07:24:15 -0500 Received: by mail-lf0-f54.google.com with SMTP id v186so80715325lfa.1 for ; Sun, 22 Jan 2017 04:23:56 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id; bh=ZGotS+xsPSLdp71qOW9vg+tmwKs1aWpX730RkTaqoeI=; b=KUJDrgY+0XxJBpqci3c44UNfHIdD0vnSbAUN7o8Po2NVOd3E0OxwKzfmYCgh6FSDrm zM8EodHbt9nTuAlxSI87qTIOf9CGsPt5xyq9T4cz9nR3/7TJi8OuKJyvx6A6QAdCwfmN nRl1w3Z8KGv4/zwd9jGjhVdO6uSR5H1iRrICs= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id; bh=ZGotS+xsPSLdp71qOW9vg+tmwKs1aWpX730RkTaqoeI=; b=OJbfE8GYvY2dJXHMECwJMIAEfe7L1FVykXQyWzst/WBp1IHHUcJNjC4cizPdmhfN4R yAL8Su83+EJXjl6G7h01okIgGTylXSl3wuYi2SKVbl+7fksv4Xt+8V+ZGkC10eQldtYo AzcpAW6qV/27j4yG7dc2iVa4cWFdVihfxk2yip3e42FKe7mbeGrKVb9g4wBD0RMy7D/F 7EO99Vur206D+L/sqbnUGvJRyo04Lr0TiKpaM8y5qLx69WY6oj24gmAV05iVqUGS6CEl RVie88fm4VQjt33kT8SfvpcYA1ZbTQJlr8ahP3VgrO8pifGPSfxH0/aBYPtGu0qJfOPr UZvw== X-Gm-Message-State: AIkVDXKba82JeEXqqtxFlbpy5eqp6J+CbS5mRrGpaej77MgrGcplXl+URs4t0Dw65d5LgrmW X-Received: by 10.46.9.215 with SMTP id 206mr9640999ljj.3.1485087835922; Sun, 22 Jan 2017 04:23:55 -0800 (PST) Received: from localhost.localdomain (c-357171d5.014-348-6c756e10.cust.bredbandsbolaget.se. [213.113.113.53]) by smtp.gmail.com with ESMTPSA id 18sm5369213ljh.39.2017.01.22.04.23.54 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sun, 22 Jan 2017 04:23:55 -0800 (PST) From: Linus Walleij To: linux-arm-kernel@lists.infradead.org, Hans Ulli Kroll , Florian Fainelli Cc: Janos Laube , Paulius Zaleckas , openwrt-devel@openwrt.org, Arnd Bergmann , linux-kernel@vger.kernel.org, Linus Walleij Subject: [PATCH 20/22] ARM: gemini: select ARM_PATCH_PHYS_VIRT and AUTO_ZRELADDR Date: Sun, 22 Jan 2017 13:23:52 +0100 Message-Id: <20170122122352.11060-1-linus.walleij@linaro.org> X-Mailer: git-send-email 2.9.3 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org This platform survives physical to virtual patching without any hickups, and can use AUTO_ZRELADDR. We still need to keep Makefile.boot but it is now empty. Cc: Janos Laube Cc: Paulius Zaleckas Cc: Hans Ulli Kroll Cc: Florian Fainelli Signed-off-by: Linus Walleij --- arch/arm/Kconfig | 2 ++ arch/arm/mach-gemini/Makefile.boot | 4 +--- 2 files changed, 3 insertions(+), 3 deletions(-) -- 2.9.3 diff --git a/arch/arm/Kconfig b/arch/arm/Kconfig index 2c448dc49467..2e99bf1c5c53 100644 --- a/arch/arm/Kconfig +++ b/arch/arm/Kconfig @@ -356,6 +356,8 @@ config ARM_SINGLE_ARMV7M config ARCH_GEMINI bool "Cortina Systems Gemini" select ARM_APPENDED_DTB # Old Redboot bootloaders deployed + select ARM_PATCH_PHYS_VIRT + select AUTO_ZRELADDR select CLKSRC_MMIO select CLKSRC_OF select CPU_FA526 diff --git a/arch/arm/mach-gemini/Makefile.boot b/arch/arm/mach-gemini/Makefile.boot index 760a0efe7580..8e3d1c6e1e38 100644 --- a/arch/arm/mach-gemini/Makefile.boot +++ b/arch/arm/mach-gemini/Makefile.boot @@ -1,3 +1 @@ - zreladdr-y += 0x00008000 -params_phys-y := 0x00000100 -initrd_phys-y := 0x00800000 +# Empty on purpose