From patchwork Tue Jul 11 02:57:02 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?q?Philippe_Mathieu-Daud=C3=A9?= X-Patchwork-Id: 9833963 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id 84DA16031B for ; Tue, 11 Jul 2017 02:59:51 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 7F4EA2847D for ; Tue, 11 Jul 2017 02:59:51 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 73F8628535; Tue, 11 Jul 2017 02:59:51 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-3.6 required=2.0 tests=BAYES_00,DKIM_SIGNED, RCVD_IN_DNSWL_MED,RCVD_IN_SORBS_SPAM,T_DKIM_INVALID autolearn=ham version=3.3.1 Received: from lists.xenproject.org (lists.xenproject.org [192.237.175.120]) (using TLSv1.2 with cipher AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id 0E27F2847D for ; Tue, 11 Jul 2017 02:59:50 +0000 (UTC) Received: from localhost ([127.0.0.1] helo=lists.xenproject.org) by lists.xenproject.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dUlMg-0001I2-PN; Tue, 11 Jul 2017 02:57:30 +0000 Received: from mail6.bemta6.messagelabs.com ([193.109.254.103]) by lists.xenproject.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dUlMe-0001Hf-LX for xen-devel@lists.xenproject.org; Tue, 11 Jul 2017 02:57:28 +0000 Received: from [193.109.254.147] by server-3.bemta-6.messagelabs.com id 7F/75-03044-79E34695; Tue, 11 Jul 2017 02:57:27 +0000 X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFvrLIsWRWlGSWpSXmKPExsVyMfTGQd3pdim RBst2SVp83zKZyYHR4/CHKywBjFGsmXlJ+RUJrBmrL71nLFjHV/F6fgt7A+Mh7i5GLg4hgZmM Ev8vLmPtYuTkYBFYyCpxcXYqSEJCYC+rxMltJ8ASEgJxEpObZjNB2BUSL7YdZASxhQT0JfZf/ sUIMek/o8Tu40uBijg4hAVCJPrbZUBq2AQcJY5++cwEUiMicJ5RYtKZN8wgDrPAISaJ9y+Oso BUCQtYSUxouMcCcYaqxKPXE8EG8QqYSEy4Xw6xWF7iXf9TsCM4BUwljq46zAJxhInEjIU3wQ7 lFRCUODnzCQtIK7OAusT6eUIgYWag1uats5knMIrMQlI1C6FqFpKqBYzMqxjVi1OLylKLdM31 kooy0zNKchMzc3QNDcz0clOLixPTU3MSk4r1kvNzNzECg58BCHYwzrzsf4hRkoNJSZRXSjUlU ogvKT+lMiOxOCO+qDQntfgQowwHh5IE71QboJxgUWp6akVaZg4wDmHSEhw8SiK8yz8nRwrxFh ck5hZnpkOkTjFacly5su4LE8eUA9uB5KsJ/78xCbHk5eelSonzmtsCzRMAacgozYMbB0sVlxh lpYR5GYEOFOIpSC3KzSxBlX/FKM7BqCTMexrkKp7MvBK4ra+ADmICOoitLgHkoJJEhJRUA+Py Xza2c56HS13Yu1csbur576nV1X9zAuO+vLjwJ2WupLiFxKQK2cyXPlureeTtViuEuN5ap350y Yqyydynm5nev33avIj/2+UrOtNKVl/8emqv++ZfPldm8M71vWoRy7SCN7C1UKfp9XIZ7fYJx8 1Xn2Lo6186Lel0sbDSghaHQw+FtlwWvVqpxFKckWioxVxUnAgA/bfRgRADAAA= X-Env-Sender: philippe.mathieu.daude@gmail.com X-Msg-Ref: server-2.tower-27.messagelabs.com!1499741846!46950362!1 X-Originating-IP: [209.85.216.193] X-SpamReason: No, hits=0.0 required=7.0 tests= X-StarScan-Received: X-StarScan-Version: 9.4.25; banners=-,-,- X-VirusChecked: Checked Received: (qmail 34980 invoked from network); 11 Jul 2017 02:57:27 -0000 Received: from mail-qt0-f193.google.com (HELO mail-qt0-f193.google.com) (209.85.216.193) by server-2.tower-27.messagelabs.com with AES128-GCM-SHA256 encrypted SMTP; 11 Jul 2017 02:57:27 -0000 Received: by mail-qt0-f193.google.com with SMTP id v31so15116671qtb.3 for ; Mon, 10 Jul 2017 19:57:27 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=sender:from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=dWRVvfU59+6/j1GscjKiOzV6Mf+IhWgFCMg3s18drds=; b=D2QY5UfeeggpnenPpfSnopKzSvPYI62E7VgkSjbDFhxj8e7wn8uCvigJrPBsr96hGp hmmaAHSLFt7QHWd4xqtJ21n9X0ewZse3532VA/dcNcp3Tlqa6Yy42NjaqICdLlG1fbde SmlTuPu+D6HzCumXNhMNgpdaf7nc5FSrKFqirDsA8X1dZt6G6WzMczlT1ogHPwLj8BAT 0PO/re0AH5hSAXKqvFjb/aDnIu2Qcbx4l5lgC4oxTTIPDxsCVyWhejp7OoYjf/iggunk LCBfz3/eLUnbMj53oe7Bd96GFaKxU9mhkMch27gJA0LjtkrxyK3zIfaqreS2BWCf0TDy hkwA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:sender:from:to:cc:subject:date:message-id :in-reply-to:references:mime-version:content-transfer-encoding; bh=dWRVvfU59+6/j1GscjKiOzV6Mf+IhWgFCMg3s18drds=; b=gv+gx4fE1/PFq8Pd9rwHbJa90JcM04ApHtM0/PC0WePhJN3Sqne77Hp9BZmMg2jT8g awv4r5F44FfA+H2oWtFlPJWVXbS7O7AtNgjyNdOpklIB1loShGVmqfGPt6YT2rY61kR2 gDu5GE3W4rBdfZXH9WIqkq8VVxdy1aeX5epIw65PKugRmA2Qam86+KOtSazKw/Pjchu1 d/VMfI6v9hF10vGZJHg6MO+VaConp1IcsFVF49E0Dazad0fwi7VHiWGuTptpaQ5ReEsx 299YK8V0oJVXEkFaCNmjhbxWYQjQucnE/2Hdyw2pW3J05L1mZ9bXDasJ3I6RTy+q4flf pdoQ== X-Gm-Message-State: AIVw1133hpRic2k8SpAiuYgb9G/QpFRppUTBA5JirgafUkVBt1ouj6/r 2a966ZB/gT9wZQ== X-Received: by 10.237.39.135 with SMTP id a7mr972074qtd.164.1499741846268; Mon, 10 Jul 2017 19:57:26 -0700 (PDT) Received: from yoga.offpageads.com ([138.117.48.223]) by smtp.gmail.com with ESMTPSA id w46sm10813234qtw.28.2017.07.10.19.57.22 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 10 Jul 2017 19:57:25 -0700 (PDT) From: =?UTF-8?q?Philippe=20Mathieu-Daud=C3=A9?= To: qemu-devel@nongnu.org, xen-devel@lists.xenproject.org, Peter Maydell , Paolo Bonzini , Stefano Stabellini , qemu-arm@nongnu.org Date: Mon, 10 Jul 2017 23:57:02 -0300 Message-Id: <20170711025703.24194-3-f4bug@amsat.org> X-Mailer: git-send-email 2.13.2 In-Reply-To: <20170711025703.24194-1-f4bug@amsat.org> References: <20170711025703.24194-1-f4bug@amsat.org> MIME-Version: 1.0 Cc: Juergen Gross , Marcelo Tosatti , =?UTF-8?q?Philippe=20Mathieu-Daud=C3=A9?= , Anthony Xu , Anoob Soman , Anthony Perard , xen-arm@lists.xen.org, Paul Durrant Subject: [Xen-devel] [RFC PATCH 2/3] xen/mapcache: disable Xen on arm* X-BeenThere: xen-devel@lists.xen.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: Xen developer discussion List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Errors-To: xen-devel-bounces@lists.xen.org Sender: "Xen-devel" X-Virus-Scanned: ClamAV using ClamSMTP linking on Linux debian/stretch/arm[64] with libxen-4.8: exec.o: In function `reclaim_ramblock': qemu/exec.c:2071: undefined reference to `xen_invalidate_map_cache_entry' exec.o: In function `qemu_map_ram_ptr': qemu/exec.c:2177: undefined reference to `xen_map_cache' qemu/exec.c:2174: undefined reference to `xen_map_cache' exec.o: In function `qemu_ram_block_from_host': qemu/exec.c:2242: undefined reference to `xen_ram_addr_from_mapcache' qemu/exec.c:2242: undefined reference to `xen_ram_addr_from_mapcache' exec.o: In function `qemu_ram_ptr_length': qemu/exec.c:2210: undefined reference to `xen_map_cache' qemu/exec.c:2207: undefined reference to `xen_map_cache' exec.o: In function `address_space_unmap': qemu/exec.c:3357: undefined reference to `xen_invalidate_map_cache_entry' collect2: error: ld returned 1 exit status Makefile:197: recipe for target 'qemu-system-aarch64' failed make[1]: *** [qemu-system-aarch64] Error 1 Signed-off-by: Philippe Mathieu-Daudé --- include/sysemu/xen-mapcache.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/include/sysemu/xen-mapcache.h b/include/sysemu/xen-mapcache.h index 01daaad00c..75f0988e04 100644 --- a/include/sysemu/xen-mapcache.h +++ b/include/sysemu/xen-mapcache.h @@ -12,7 +12,9 @@ typedef hwaddr (*phys_offset_to_gaddr_t)(hwaddr start_addr, ram_addr_t size, void *opaque); -#ifdef CONFIG_XEN +/* FIXME ARM supported since Xen 4.3? */ +#if defined(CONFIG_XEN) /* XXX supported_xen_target() wrong? */ && \ + !defined(HOST_ARM) && !defined(HOST_AARCH64) void xen_map_cache_init(phys_offset_to_gaddr_t f, void *opaque);