From patchwork Sun Apr 1 16:36:33 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Thomas Petazzoni X-Patchwork-Id: 894031 Return-Path: X-Original-To: incoming-buildroot@patchwork.ozlabs.org Delivered-To: patchwork-incoming-buildroot@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=pass (mailfrom) smtp.mailfrom=busybox.net (client-ip=140.211.166.133; helo=hemlock.osuosl.org; envelope-from=buildroot-bounces@busybox.net; receiver=) Authentication-Results: ozlabs.org; dmarc=none (p=none dis=none) header.from=bootlin.com Received: from hemlock.osuosl.org (smtp2.osuosl.org [140.211.166.133]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 40Dgx34m0kz9s1p for ; Mon, 2 Apr 2018 02:36:55 +1000 (AEST) Received: from localhost (localhost [127.0.0.1]) by hemlock.osuosl.org (Postfix) with ESMTP id A360586215; Sun, 1 Apr 2018 16:36:46 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from hemlock.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 3zhE9I+dc2QD; Sun, 1 Apr 2018 16:36:44 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by hemlock.osuosl.org (Postfix) with ESMTP id D0E1085B36; Sun, 1 Apr 2018 16:36:44 +0000 (UTC) X-Original-To: buildroot@lists.busybox.net Delivered-To: buildroot@osuosl.org Received: from fraxinus.osuosl.org (smtp4.osuosl.org [140.211.166.137]) by ash.osuosl.org (Postfix) with ESMTP id D1C541C273C for ; Sun, 1 Apr 2018 16:36:41 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by fraxinus.osuosl.org (Postfix) with ESMTP id CF387882F5 for ; Sun, 1 Apr 2018 16:36:41 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from fraxinus.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id HF2pvFxabYJm for ; Sun, 1 Apr 2018 16:36:40 +0000 (UTC) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.6 Received: from mail.bootlin.com (mail.bootlin.com [62.4.15.54]) by fraxinus.osuosl.org (Postfix) with ESMTP id 9D240882F1 for ; Sun, 1 Apr 2018 16:36:40 +0000 (UTC) Received: by mail.bootlin.com (Postfix, from userid 110) id 08B7F20764; Sun, 1 Apr 2018 18:36:39 +0200 (CEST) Received: from localhost (unknown [195.154.228.195]) by mail.bootlin.com (Postfix) with ESMTPSA id BAD4920384; Sun, 1 Apr 2018 18:36:38 +0200 (CEST) From: Thomas Petazzoni To: Buildroot List , "Arnout Vandecappelle (Essensium/Mind)" , Adam Duskett Date: Sun, 1 Apr 2018 18:36:33 +0200 Message-Id: <20180401163636.4098-1-thomas.petazzoni@bootlin.com> X-Mailer: git-send-email 2.14.3 Subject: [Buildroot] [PATCH v2 0/3] Disable qemu user emulation for host variant on MIPS64 X-BeenThere: buildroot@busybox.net X-Mailman-Version: 2.1.24 Precedence: list List-Id: Discussion and development of buildroot List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Thomas Petazzoni MIME-Version: 1.0 Errors-To: buildroot-bounces@busybox.net Sender: "buildroot" Hello, This is a new iteration of the patch sent by Adam [1]. Changes compared to Adam's version: - According to Qemu's TODO list, both n32 and n64 don't work for user mode emulation on mips64, so basically mips64 can't be used. - Adam's patches was not properly propagating the new architecture dependency to the "select" that selects the user-mode emulation if the system emulation is not selected. Solving this required quite a few changes to how architecture dependencies are expressed in the host-qemu package. [1] https://patchwork.ozlabs.org/patch/828190/ Thanks, Thomas Adam Duskett (1): qemu: disable qemu user emulation on MIPS64 for host variant Thomas Petazzoni (2): qemu: rewrite BR2_PACKAGE_HOST_QEMU_ARCH_SUPPORTS to be more readable qemu: introduce BR2_PACKAGE_HOST_QEMU_{SYSTEM,USER}_ARCH_SUPPORTS package/qemu/Config.in.host | 39 +++++++++++++++++++++++++++++++-------- 1 file changed, 31 insertions(+), 8 deletions(-)