From patchwork Mon Jun 1 12:43:20 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Aleksandar Markovic X-Patchwork-Id: 281558 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-9.6 required=3.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,FREEMAIL_FORGED_FROMDOMAIN,FREEMAIL_FROM, HEADER_FROM_DIFFERENT_DOMAINS, INCLUDES_PATCH, MAILING_LIST_MULTI, SIGNED_OFF_BY, SPF_HELO_NONE, SPF_PASS, USER_AGENT_GIT autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id C134CC433E0 for ; Mon, 1 Jun 2020 12:49:09 +0000 (UTC) Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 8745320679 for ; Mon, 1 Jun 2020 12:49:09 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="HA7Os5ut" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 8745320679 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=gmail.com Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=qemu-devel-bounces+qemu-devel=archiver.kernel.org@nongnu.org Received: from localhost ([::1]:55084 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jfjsK-0004jU-Nk for qemu-devel@archiver.kernel.org; Mon, 01 Jun 2020 08:49:08 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:54332) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jfjmr-00066A-DB for qemu-devel@nongnu.org; Mon, 01 Jun 2020 08:43:29 -0400 Received: from mail-wm1-x336.google.com ([2a00:1450:4864:20::336]:35946) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1jfjmq-000553-Cw for qemu-devel@nongnu.org; Mon, 01 Jun 2020 08:43:29 -0400 Received: by mail-wm1-x336.google.com with SMTP id d128so11247181wmc.1 for ; Mon, 01 Jun 2020 05:43:27 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=nBjzGdklMexKb/6JWGFmjUnmUd5clhjwawZNup6d0kc=; b=HA7Os5utpMJ6K5ebFO3TxMCYc4cK79e9DMTw9txAPs5N0hEL8GpUzTZPCGQBFCbfft SGUvqnUgT+5tevMoUIdsMIrrOsiYAZwj5gWeDzP303GC0QO8pTJyghUE/XEe7ibJ9D3n Hkt1W3RSmluVknf8SEvgZoNvsywYxmgisSKrJqeyUNKS4SxhgZCir8KJWR7XUz7jbN+M cE2bSW8R/1img46ueaupMI3IvSuvDDfzFUSXsQ8UZgwUiu806i2A/XPHotTNQPqWhT6w I0rZah2n6v49dt/uOcAoFodmqueikB0HXYLY/UShnB1ES7vexRdPOblMRnL6PpJ56QQ1 aD9A== 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:in-reply-to :references:mime-version:content-transfer-encoding; bh=nBjzGdklMexKb/6JWGFmjUnmUd5clhjwawZNup6d0kc=; b=eEi/FkepCS8eLspDljqZGgM+lqtGYdr7YNAnidFwvYcYAWFr9eXR5m+AE1pG6whqHV oybS18iChtDiQWpRZSxx2P2PGQHGVNIC726b1k5ywh4JDyuJmNNSd9NXnSWlpcwyOid3 Tp644wGnxIpfEQw+QWwVSuKESXmul2cbe4Z3tz3sqjpDGI1K/B6cxn7c/+l3hXuBDUBj rSwGOGBSst4UyiOLe/Sey+JakLWnxNuDd2mhlym6OVmt6BWa/juFBp19dc92Abd2Ed+y o9X2NcPEftCyfNP79F90OKOj0dyQ+/CFgeJHZlhSpQVeiQdiVGbn/0fJpysED7Wq021q EmmQ== X-Gm-Message-State: AOAM531bUVLIXwXmE8/Ul3QnUPZ9TtHJuVAaKNn+GXGwoyNOMaDuJDnt /4VaZVHMtxeZ2dDJ9ibLGVWOXCzOylY= X-Google-Smtp-Source: ABdhPJw19BJJITyC6pSG9g2LKsP4MEWbB/E06UB4GqgeSIloPA3RqcAagpZ+IpExvcf6sNII9Gsp/w== X-Received: by 2002:a1c:a3c1:: with SMTP id m184mr23025164wme.91.1591015406783; Mon, 01 Jun 2020 05:43:26 -0700 (PDT) Received: from rtrkw774-lin.syrmia.com ([46.240.135.226]) by smtp.gmail.com with ESMTPSA id n23sm10948474wmc.0.2020.06.01.05.43.26 (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Mon, 01 Jun 2020 05:43:26 -0700 (PDT) From: Aleksandar Markovic To: qemu-devel@nongnu.org Subject: [PULL 1/6] tests/Makefile: Fix description of "make check" Date: Mon, 1 Jun 2020 14:43:20 +0200 Message-Id: <1591015405-19651-2-git-send-email-aleksandar.qemu.devel@gmail.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1591015405-19651-1-git-send-email-aleksandar.qemu.devel@gmail.com> References: <1591015405-19651-1-git-send-email-aleksandar.qemu.devel@gmail.com> MIME-Version: 1.0 Received-SPF: pass client-ip=2a00:1450:4864:20::336; envelope-from=aleksandar.qemu.devel@gmail.com; helo=mail-wm1-x336.google.com X-detected-operating-system: by eggs.gnu.org: No matching host in p0f cache. That's all we know. X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_PASS=-0.001, URIBL_BLOCKED=0.001 autolearn=_AUTOLEARN X-Spam_action: no action X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: peter.maydell@linaro.org, aleksandar.qemu.devel@gmail.com Errors-To: qemu-devel-bounces+qemu-devel=archiver.kernel.org@nongnu.org Sender: "Qemu-devel" From: Huacai Chen The description of "make check" is out-of-date, so fix it by adding block and softfloat. Reviewed-by: Claudio Fontana Signed-off-by: Huacai Chen Reviewed-by: Philippe Mathieu-Daudé Tested-by: Philippe Mathieu-Daudé Reviewed-by: Aleksandar Markovic Signed-off-by: Aleksandar Markovic Message-Id: <1588674291-6486-1-git-send-email-chenhc@lemote.com> --- tests/Makefile.include | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/Makefile.include b/tests/Makefile.include index a00ccc9..6e3d637 100644 --- a/tests/Makefile.include +++ b/tests/Makefile.include @@ -4,7 +4,7 @@ check-help: @echo "Regression testing targets:" @echo - @echo " $(MAKE) check Run unit, qapi-schema, qtest and decodetree" + @echo " $(MAKE) check Run block, qapi-schema, unit, softfloat, qtest and decodetree tests" @echo @echo " $(MAKE) check-qtest-TARGET Run qtest tests for given target" @echo " $(MAKE) check-qtest Run qtest tests" From patchwork Mon Jun 1 12:43:21 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Aleksandar Markovic X-Patchwork-Id: 281560 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-9.6 required=3.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,FREEMAIL_FORGED_FROMDOMAIN,FREEMAIL_FROM, HEADER_FROM_DIFFERENT_DOMAINS, INCLUDES_PATCH, MAILING_LIST_MULTI, SIGNED_OFF_BY, SPF_HELO_NONE, SPF_PASS, USER_AGENT_GIT autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id EC133C433DF for ; Mon, 1 Jun 2020 12:44:38 +0000 (UTC) Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id BBFFE20679 for ; Mon, 1 Jun 2020 12:44:38 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="eKM8Yzdu" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org BBFFE20679 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=gmail.com Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=qemu-devel-bounces+qemu-devel=archiver.kernel.org@nongnu.org Received: from localhost ([::1]:42888 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jfjnx-0007Yz-UW for qemu-devel@archiver.kernel.org; Mon, 01 Jun 2020 08:44:37 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:54334) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jfjms-00066p-0J for qemu-devel@nongnu.org; Mon, 01 Jun 2020 08:43:30 -0400 Received: from mail-wm1-x32f.google.com ([2a00:1450:4864:20::32f]:37100) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1jfjmr-000559-8E for qemu-devel@nongnu.org; Mon, 01 Jun 2020 08:43:29 -0400 Received: by mail-wm1-x32f.google.com with SMTP id f5so11220662wmh.2 for ; Mon, 01 Jun 2020 05:43:28 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=jkTOq2PXmEwc1GxRKr+8vq1tSIfxuDyzzjRCTdzClcU=; b=eKM8Yzdu9FFGC8WYSLPmvD9/ddR+KkjdNCSYUWRHAgoqQ+Vm6+/sfZcj8BrsG1kO1E SxD1cKTOj4H7ryjkU2JyoCSsr96Y2JV3Bt0T1y1b6TVx7MerkBu1WbhSSLG72S+LyQik WLvi7SaKAaMCKrXlkD460nbp91HdOgd+ck89oezYH/LGtHnjpoasDKRTUbRhDCj6yFob GLQ/NxmRxpQN/l5eOA6lxAnB40aX2AKhA7XxqE5i21AhwbfpqfH2qFEh5+tjYa7Hj9U9 tDzOmY/ZQFO+IQaY0PvTFwUVpsHnqATIT85zNydwDbjv369EXZZlK5+Too/NEoYA4uyg NrhA== 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:in-reply-to :references; bh=jkTOq2PXmEwc1GxRKr+8vq1tSIfxuDyzzjRCTdzClcU=; b=iPSP7Cn+zrklbThwNyjB6BakYivi8gU/qFlRvDFjdLrZUdmkWxhMit55TktWwqKIDp P3zTcbaUxvS6q8FscWSu/AyfMZaviADJwDpUT1ICqrm0e6nJH1CGOUM3lrH95sSaJKd9 JZHpe5ggKIjVq5DotN/kB31tdktfHeltCU1TfrqW8rtqKgnO0p8kW7bqRHebcfw5s3VY TwrqNWExfXl7RfsADv+Cb6jxUaLua7KZS9X8QwRktHsXyg5VIPOg1dqcExsR5/4NjVOB JTnDi40C5DYEFxWYCSIykXV1nWek4zj7WvQ8CipeMvArQ6AZ0QkE+VSwPT3xFNJjUYfq OMhA== X-Gm-Message-State: AOAM530A8nKhYJuaQb1HaaMefRaO8vcDe+E+czlk3K/rFRjLsMKy8ubF H9QEMMpt+qhCBogosjcHCPcD/oikuk4= X-Google-Smtp-Source: ABdhPJyp31wQS7iMbHzaBxuNBH6b65gtxM0nMCiVCgsiQs0gmhb0qpjgCdMMdYJQKnM0Pk70zQd9TQ== X-Received: by 2002:a1c:7fc5:: with SMTP id a188mr22838975wmd.59.1591015407752; Mon, 01 Jun 2020 05:43:27 -0700 (PDT) Received: from rtrkw774-lin.syrmia.com ([46.240.135.226]) by smtp.gmail.com with ESMTPSA id n23sm10948474wmc.0.2020.06.01.05.43.26 (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Mon, 01 Jun 2020 05:43:27 -0700 (PDT) From: Aleksandar Markovic To: qemu-devel@nongnu.org Subject: [PULL 2/6] configure: Add KVM target support for MIPS64 Date: Mon, 1 Jun 2020 14:43:21 +0200 Message-Id: <1591015405-19651-3-git-send-email-aleksandar.qemu.devel@gmail.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1591015405-19651-1-git-send-email-aleksandar.qemu.devel@gmail.com> References: <1591015405-19651-1-git-send-email-aleksandar.qemu.devel@gmail.com> Received-SPF: pass client-ip=2a00:1450:4864:20::32f; envelope-from=aleksandar.qemu.devel@gmail.com; helo=mail-wm1-x32f.google.com X-detected-operating-system: by eggs.gnu.org: No matching host in p0f cache. That's all we know. X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_PASS=-0.001, URIBL_BLOCKED=0.001 autolearn=_AUTOLEARN X-Spam_action: no action X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: peter.maydell@linaro.org, aleksandar.qemu.devel@gmail.com Errors-To: qemu-devel-bounces+qemu-devel=archiver.kernel.org@nongnu.org Sender: "Qemu-devel" From: Huacai Chen Preparing for Loongson-3 virtualization, add KVM target support for MIPS64 in configure script. Signed-off-by: Huacai Chen Co-developed-by: Jiaxun Yang Reviewed-by: Aleksandar Markovic Signed-off-by: Aleksandar Markovic Message-Id: <1588501221-1205-2-git-send-email-chenhc@lemote.com> --- configure | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/configure b/configure index af2ba83..f087d2b 100755 --- a/configure +++ b/configure @@ -198,7 +198,7 @@ supported_kvm_target() { arm:arm | aarch64:aarch64 | \ i386:i386 | i386:x86_64 | i386:x32 | \ x86_64:i386 | x86_64:x86_64 | x86_64:x32 | \ - mips:mips | mipsel:mips | \ + mips:mips | mipsel:mips | mips64:mips | mips64el:mips | \ ppc:ppc | ppc64:ppc | ppc:ppc64 | ppc64:ppc64 | ppc64:ppc64le | \ s390x:s390x) return 0 From patchwork Mon Jun 1 12:43:24 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Aleksandar Markovic X-Patchwork-Id: 281559 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-9.6 required=3.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,FREEMAIL_FORGED_FROMDOMAIN,FREEMAIL_FROM, HEADER_FROM_DIFFERENT_DOMAINS, INCLUDES_PATCH, MAILING_LIST_MULTI, SIGNED_OFF_BY, SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED,USER_AGENT_GIT autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 1DB4EC433DF for ; Mon, 1 Jun 2020 12:47:01 +0000 (UTC) Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id CE3D820679 for ; Mon, 1 Jun 2020 12:47:00 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="rdLFkJlm" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org CE3D820679 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=gmail.com Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=qemu-devel-bounces+qemu-devel=archiver.kernel.org@nongnu.org Received: from localhost ([::1]:49388 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jfjqG-0002J5-3s for qemu-devel@archiver.kernel.org; Mon, 01 Jun 2020 08:47:00 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:54346) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jfjmu-00069L-3S for qemu-devel@nongnu.org; Mon, 01 Jun 2020 08:43:35 -0400 Received: from mail-wr1-x42f.google.com ([2a00:1450:4864:20::42f]:42030) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1jfjmt-00055s-C4 for qemu-devel@nongnu.org; Mon, 01 Jun 2020 08:43:31 -0400 Received: by mail-wr1-x42f.google.com with SMTP id p5so5429960wrw.9 for ; Mon, 01 Jun 2020 05:43:30 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=//oQPQNfOG3Cowa0+33C2vqPBy/QAFTT+RnBfWuuERs=; b=rdLFkJlmdO4KvA141V/SnaEgJwdxO0WwkFocYeZ8ATYV2xSlE8bCvL3RPD7+Ozw3s2 EJzHmENaBIZXh7lKmBVpD3r3IBklAqNxLejsnWtIWb9RVc5hZE3bP6pMe7XIgDGgtMAJ eB6fTjK1msHpkvEuaGKqr5GFlfF49/86Hhpu7V1n8GZ2VUXCe1E86cGr8wyMjfMoIhoI qppPLcudlVhLoE/bGCnVRXTV88REOCIjQFL2CFsscOic91AE4I/Y69aOdK3PYEeuFRoE ey1ZHdfJx81BADZIBOQlPwejMp6ZWthXYJX/h/nbXbq2SfWuMqql4LHm0lFtp/sk6ex8 ZEQQ== 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:in-reply-to :references; bh=//oQPQNfOG3Cowa0+33C2vqPBy/QAFTT+RnBfWuuERs=; b=X7LLnUVfjSpzYyd0qiBjjYud8SxYiT1fL7iWrm4wyzRjwmnrcWtl09s//OmHzdPuUW EK84i9EqEFlyrGd2moHEgt/9HjJktZpU8X5HRy3K42xT2SJ7vJevRgt1hqSPlCaW36A3 jrfK+VP55vZiW2dBqHTJHVEOQoQYDxHHucBmoEXns5PaaCUhUVeOrBZLX6vpMkHCShQC hV1yGmuqbqrS3t7lCGaI55V50ZsUseDjQ9aQZSVq8WdIcHuOje7m03QG2uujQVfCIvS6 Tm37a3BTT++EuO6snFsARZQZI3bU9EOJJfpGixfxuq1+aSZaHcQ1EfHsaSeii46NbD5K /jtA== X-Gm-Message-State: AOAM531YawV/r2qsLSJtECXdrB7tBK7DdsQEceKmqC4LcVVj5mIT+miB hf33R1TiPVD66wHePOy+b1OxYkyedss= X-Google-Smtp-Source: ABdhPJwysEuReEscVqp5IvIQT6oVDbcodv/Xy+XNdKbmxxS2R+Sd+YgjvEYL8jvKAJJD5vvzlSwS0Q== X-Received: by 2002:adf:dd06:: with SMTP id a6mr22554401wrm.142.1591015409998; Mon, 01 Jun 2020 05:43:29 -0700 (PDT) Received: from rtrkw774-lin.syrmia.com ([46.240.135.226]) by smtp.gmail.com with ESMTPSA id n23sm10948474wmc.0.2020.06.01.05.43.29 (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Mon, 01 Jun 2020 05:43:29 -0700 (PDT) From: Aleksandar Markovic To: qemu-devel@nongnu.org Subject: [PULL 5/6] target/mips: Support variable page size Date: Mon, 1 Jun 2020 14:43:24 +0200 Message-Id: <1591015405-19651-6-git-send-email-aleksandar.qemu.devel@gmail.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1591015405-19651-1-git-send-email-aleksandar.qemu.devel@gmail.com> References: <1591015405-19651-1-git-send-email-aleksandar.qemu.devel@gmail.com> Received-SPF: pass client-ip=2a00:1450:4864:20::42f; envelope-from=aleksandar.qemu.devel@gmail.com; helo=mail-wr1-x42f.google.com X-detected-operating-system: by eggs.gnu.org: No matching host in p0f cache. That's all we know. X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_PASS=-0.001, URIBL_BLOCKED=0.001 autolearn=_AUTOLEARN X-Spam_action: no action X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: peter.maydell@linaro.org, aleksandar.qemu.devel@gmail.com Errors-To: qemu-devel-bounces+qemu-devel=archiver.kernel.org@nongnu.org Sender: "Qemu-devel" From: Huacai Chen Traditionally, MIPS use 4KB page size, but Loongson prefer 16KB page size in system emulator. So, let's define TARGET_PAGE_BITS_VARY and TARGET_PAGE_BITS_MIN to support variable page size. Cc: Jiaxun Yang Signed-off-by: Huacai Chen Reviewed-by: Aleksandar Markovic Signed-off-by: Aleksandar Markovic Message-Id: <1586337380-25217-1-git-send-email-chenhc@lemote.com> --- target/mips/cpu-param.h | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/target/mips/cpu-param.h b/target/mips/cpu-param.h index 308660d..9c4a6ea 100644 --- a/target/mips/cpu-param.h +++ b/target/mips/cpu-param.h @@ -23,7 +23,12 @@ # define TARGET_VIRT_ADDR_SPACE_BITS 32 #endif #endif +#ifdef CONFIG_USER_ONLY #define TARGET_PAGE_BITS 12 +#else +#define TARGET_PAGE_BITS_VARY +#define TARGET_PAGE_BITS_MIN 12 +#endif #define NB_MMU_MODES 4 #endif From patchwork Mon Jun 1 12:43:25 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Aleksandar Markovic X-Patchwork-Id: 281557 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-9.6 required=3.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,FREEMAIL_FORGED_FROMDOMAIN,FREEMAIL_FROM, HEADER_FROM_DIFFERENT_DOMAINS, INCLUDES_PATCH, MAILING_LIST_MULTI, SIGNED_OFF_BY, SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED,USER_AGENT_GIT autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 264E0C433DF for ; Mon, 1 Jun 2020 12:51:46 +0000 (UTC) Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id E50BF20679 for ; Mon, 1 Jun 2020 12:51:45 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="N/SPzpS0" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org E50BF20679 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=gmail.com Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=qemu-devel-bounces+qemu-devel=archiver.kernel.org@nongnu.org Received: from localhost ([::1]:32832 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jfjur-0007UK-6e for qemu-devel@archiver.kernel.org; Mon, 01 Jun 2020 08:51:45 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:54354) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jfjmy-0006BP-6v for qemu-devel@nongnu.org; Mon, 01 Jun 2020 08:43:36 -0400 Received: from mail-wr1-x42f.google.com ([2a00:1450:4864:20::42f]:45945) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1jfjmx-00056Q-F7 for qemu-devel@nongnu.org; Mon, 01 Jun 2020 08:43:35 -0400 Received: by mail-wr1-x42f.google.com with SMTP id c3so11295330wru.12 for ; Mon, 01 Jun 2020 05:43:31 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=aNhfYIaY3OUVVYH83lAIrkbP3NWpAGizZOAzH/eH6ZY=; b=N/SPzpS0QF4aYs3+nSvt1Z2rBWWbxebQ4yvlmvVoTnirt+Re6W1F8sxiV1ahhU78xL oA68VDM5ozJwGXZtajRunLnMwB4AVgs6ChnCwJodHi4FnYN689cMjGRZHuBkeGpAI5E7 HRzfh67+BQIC5pZbdWN3s7t56Da56Gea9Zl45f1doSKOg/+R2/Ahtr6M75vYJm0rttL+ llWeoN0h/vQiP6M8/pTZ53XleL5mx6IvG7Nbe4ipMX62wYW1l6wQOkgeeqITDlHUfhU8 AkzZK9gpf0XTTMaDJItnCizrbkh/wriiwsNqBLaMjm12StwLgANJQhNO3n4Srn23O84M F1DA== 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:in-reply-to :references; bh=aNhfYIaY3OUVVYH83lAIrkbP3NWpAGizZOAzH/eH6ZY=; b=KInZRxPwGLY33ddiimh54amK4I8Mfslfm10Cry/3Y+c5HEFqu/f8Wk0j7xuJnTwIHD dP9uR4SiJiF5lgKfZs63OLCSrhU8gSsCAkhHlZNuvB211J0htaLzb66pIg8v5vlQtonJ HJuKi8dj8YRTTtWchDI6XQMdnsme7UKiaZTz98EWwsWXDLPk5v802cWx7JIj/oyvwq6F Wk3ExRJ0/15xCAKbQKhHVCz6Ntbx/DcAygjfwtR1nup2X6V8VWP32HVKCMTPYvkImV/Q SJjA730cwEwwTLUmSXqDen0Qt6zpXchIsNaOsGHSW2pnLcFAAB7aTHHFgyfZ9Ud+CvVl B5xg== X-Gm-Message-State: AOAM5332FEko46TtvqzDihLnIEV8CJFgsF2+beDzQ6LpjuiJeHS+QMBE mE4rAC6/XtmTcXM2zZQTp67Q/6VPon0= X-Google-Smtp-Source: ABdhPJxeJKLlv0d0Io7p4iohL4w4GIXNw7te6nZPoD3mXU/HSWMcj9sM1VzpnEHeyDKPGvugu48VOQ== X-Received: by 2002:a05:6000:108d:: with SMTP id y13mr23234834wrw.180.1591015410659; Mon, 01 Jun 2020 05:43:30 -0700 (PDT) Received: from rtrkw774-lin.syrmia.com ([46.240.135.226]) by smtp.gmail.com with ESMTPSA id n23sm10948474wmc.0.2020.06.01.05.43.30 (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Mon, 01 Jun 2020 05:43:30 -0700 (PDT) From: Aleksandar Markovic To: qemu-devel@nongnu.org Subject: [PULL 6/6] hw/mips: fuloong2e: Set preferred page size to 16KB Date: Mon, 1 Jun 2020 14:43:25 +0200 Message-Id: <1591015405-19651-7-git-send-email-aleksandar.qemu.devel@gmail.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1591015405-19651-1-git-send-email-aleksandar.qemu.devel@gmail.com> References: <1591015405-19651-1-git-send-email-aleksandar.qemu.devel@gmail.com> Received-SPF: pass client-ip=2a00:1450:4864:20::42f; envelope-from=aleksandar.qemu.devel@gmail.com; helo=mail-wr1-x42f.google.com X-detected-operating-system: by eggs.gnu.org: No matching host in p0f cache. That's all we know. X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_PASS=-0.001, URIBL_BLOCKED=0.001 autolearn=_AUTOLEARN X-Spam_action: no action X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: peter.maydell@linaro.org, aleksandar.qemu.devel@gmail.com Errors-To: qemu-devel-bounces+qemu-devel=archiver.kernel.org@nongnu.org Sender: "Qemu-devel" From: Huacai Chen Loongson processor prefers 16KB page size in system emulator, so let's define mc->minimum_page_bits to 14. Cc: Jiaxun Yang Signed-off-by: Huacai Chen Reviewed-by: Aleksandar Markovic Signed-off-by: Aleksandar Markovic Message-Id: <1586337380-25217-2-git-send-email-chenhc@lemote.com> --- hw/mips/fuloong2e.c | 1 + 1 file changed, 1 insertion(+) diff --git a/hw/mips/fuloong2e.c b/hw/mips/fuloong2e.c index f583c44..7a65166 100644 --- a/hw/mips/fuloong2e.c +++ b/hw/mips/fuloong2e.c @@ -392,6 +392,7 @@ static void mips_fuloong2e_machine_init(MachineClass *mc) mc->default_cpu_type = MIPS_CPU_TYPE_NAME("Loongson-2E"); mc->default_ram_size = 256 * MiB; mc->default_ram_id = "fuloong2e.ram"; + mc->minimum_page_bits = 14; } DEFINE_MACHINE("fuloong2e", mips_fuloong2e_machine_init)