From patchwork Fri Nov 10 17:51:02 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Anton Gerasimov X-Patchwork-Id: 836810 X-Patchwork-Delegate: bmeng.cn@gmail.com Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=none (mailfrom) smtp.mailfrom=lists.denx.de (client-ip=81.169.180.215; helo=lists.denx.de; envelope-from=u-boot-bounces@lists.denx.de; receiver=) Authentication-Results: ozlabs.org; dkim=fail reason="signature verification failed" (1024-bit key; unprotected) header.d=advancedtelematic.com header.i=@advancedtelematic.com header.b="PqAdFxpa"; dkim-atps=neutral Received: from lists.denx.de (dione.denx.de [81.169.180.215]) by ozlabs.org (Postfix) with ESMTP id 3yYSKw13Xfz9sNr for ; Sat, 11 Nov 2017 04:52:36 +1100 (AEDT) Received: by lists.denx.de (Postfix, from userid 105) id 7985BC21DA6; Fri, 10 Nov 2017 17:52:33 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on lists.denx.de X-Spam-Level: X-Spam-Status: No, score=-0.0 required=5.0 tests=RCVD_IN_DNSWL_BLOCKED, RCVD_IN_MSPIKE_H3, RCVD_IN_MSPIKE_WL, T_DKIM_INVALID autolearn=unavailable autolearn_force=no version=3.4.0 Received: from lists.denx.de (localhost [IPv6:::1]) by lists.denx.de (Postfix) with ESMTP id 6BCD2C21D7C; Fri, 10 Nov 2017 17:52:31 +0000 (UTC) Received: by lists.denx.de (Postfix, from userid 105) id 13924C21D7C; Fri, 10 Nov 2017 17:52:30 +0000 (UTC) Received: from mail-wm0-f67.google.com (mail-wm0-f67.google.com [74.125.82.67]) by lists.denx.de (Postfix) with ESMTPS id A7BEAC21D79 for ; Fri, 10 Nov 2017 17:52:29 +0000 (UTC) Received: by mail-wm0-f67.google.com with SMTP id r68so4294869wmr.1 for ; Fri, 10 Nov 2017 09:52:29 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=advancedtelematic.com; s=google; h=from:to:cc:subject:date:message-id; bh=A8OGpqdCi4umSyzN6kxxhyFTeGiuKJllnqYH4dldyQU=; b=PqAdFxpant8W1dtyFS9Q7WwZgAT44u3/WvzaFgHKwCJG0jaV6IeNx/x8RCqKdejm// 7Qt1bKec+YBrq+c/tZBPHQDVV8qoPTDaBBRPM7isdQG7e5Gw5+aF2wKJ0zJdrH600m9O 0SFmkiY7UmK8UGoGgx0x0Sl4JZ4rreCdgJNbE= 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=A8OGpqdCi4umSyzN6kxxhyFTeGiuKJllnqYH4dldyQU=; b=kujQ6YIgNsPSy35JrhS9rK2JOQUm1sd+lKvnjNQjHkNzzqPXrOWu1oizvD/MoWZmXs S7BX/dPUpP/XQ6e3wxm+GiDvyP2HXC0YpY2C4XFUJvbrpNEaDpiFQ0elNDMhbaMBawjN wO2U5/poF86whI5hY5ynrfwr/OZdWlwjDeLwOq0R+PjDztYv7M+Lr/bKBGWWMUYhX3Pl jbfB+wRNhT5bHZd/QZTZlaS/MaGtNh/e9Dd7uNMQLGjYud2mjnfeNsTyEWYZv7JQZUav IfbqzNUUMDVnh6TsS0nf3xyqm+POwt2h/cKrK5LFmWpGG002PKf1JpUP28nlFz4/iXRk IXeg== X-Gm-Message-State: AJaThX6pW96ENWo+FnBPw7bo1kU3/w8+tz5v1zkiJ4EA3N8otEDvqCHj F2O3hzCL0nJbxqnl5E4pvx+3MqNlTbM= X-Google-Smtp-Source: AGs4zMYa0tCleZQ+f0+vVu0IfX2a3QolSQB6olD7dyQLkGiiYtf6kjoOsyFPole14hau8hs85QEqOw== X-Received: by 10.80.170.46 with SMTP id o43mr1652972edc.40.1510336349039; Fri, 10 Nov 2017 09:52:29 -0800 (PST) Received: from anton-ats.internal.advancedtelematic.com (p57bf9f95.dip0.t-ipconnect.de. [87.191.159.149]) by smtp.gmail.com with ESMTPSA id l9sm6701887edi.31.2017.11.10.09.52.27 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 10 Nov 2017 09:52:28 -0800 (PST) From: Anton Gerasimov To: u-boot@lists.denx.de, bmeng.cn@gmail.com Date: Fri, 10 Nov 2017 18:51:02 +0100 Message-Id: <20171110175102.21746-1-anton@advancedtelematic.com> X-Mailer: git-send-email 2.14.1 Subject: [U-Boot] [PATCH] Move Cache-As-RAM memory from area mapped to ROM in QEMU X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.18 Precedence: list List-Id: U-Boot discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Errors-To: u-boot-bounces@lists.denx.de Sender: "U-Boot" ROM has been made read-only in qemu recently (namely commit 208fa0e43645edd0b0d8f838857dfc79daff40a8), so this patch restores compatibility between u-boot and qemu. It is still broken for me unless I set CONFIG_SMP=n and disable lapic (i.e. revert patch aaaa55751ab1e5a5cfa0962d604593a7e6f33ff6 in u-boot), but these are separate issues Signed-off-by: Anton Gerasimov Tested-by: Heinrich Schuchardt --- arch/x86/cpu/qemu/Kconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/x86/cpu/qemu/Kconfig b/arch/x86/cpu/qemu/Kconfig index 6808c9a6b9..f4b9922a34 100644 --- a/arch/x86/cpu/qemu/Kconfig +++ b/arch/x86/cpu/qemu/Kconfig @@ -11,7 +11,7 @@ if QEMU config SYS_CAR_ADDR hex - default 0xd0000 + default 0x10000 config SYS_CAR_SIZE hex