From patchwork Sat Jul 30 00:37:54 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Richard Henderson X-Patchwork-Id: 594516 Delivered-To: patch@linaro.org Received: by 2002:a05:7000:b345:0:0:0:0 with SMTP id w5csp1776006maz; Fri, 29 Jul 2022 17:41:05 -0700 (PDT) X-Google-Smtp-Source: AGRyM1uW0wqPdTpyQgKTrDLxfOVDFIPRYLtvlZ+4/h2ag94hQuJCUTatV51IeOSvq59uWufdl7C8 X-Received: by 2002:a05:620a:24cf:b0:6b6:8102:25a0 with SMTP id m15-20020a05620a24cf00b006b6810225a0mr4553857qkn.314.1659141665599; Fri, 29 Jul 2022 17:41:05 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1659141665; cv=none; d=google.com; s=arc-20160816; b=oJ5MVvABO46QhQsgKuMUQXN7gowIT9e6XdyDsUD7wA2oBIS2ZAOAfsGRHPjNXQquAy 09d6hn/Frn0XaovDVj/g/KemkQcXHQOSm7Wlhc502t4GD4sQlLHi2GSauufhvKPdbfJi dXXMbVNYL6mXgdYTN8k+9pwPGQiWdJikp0SU1t0c0he+A/Y35ToljxjtMNgrps4HYafk IZPtovYee7Az4diSJ1/6vC50ICnPr6w5BRyQa14/QUcj2GWPeIzjScRhWXlPsYlZeh4O hRcaU0RQJSmXl3OThf4Ha0PnaOfNos9ytCZExXcIC6fLCC3OogfX3Nb4jdNr4xPT5rqm haPQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:list-subscribe:list-help:list-post:list-archive :list-unsubscribe:list-id:precedence:content-transfer-encoding :mime-version:references:in-reply-to:message-id:date:subject:cc:to :from:dkim-signature; bh=YKnWKxobxWr0eoYl/6FV/vOfO1g5odZSiiZMd2jnFpE=; b=VSCpMSho9+07HWyLW5bKM4VjaoHUb/ySN+CcPgktroZsjlVqQr5U6pqAOK4a6MYyRi g0XfDD13xeC/OACL9mWDjWaJA3NFgMwFrc4dXWS7wUhi9ShpEI6TxaI/I6C0HAa46SjO MCxLHhMBZxGc47OrvEkgw4ZCQVBmCOK55ZdG63sjzqWKQmDy9UVRDabZ6w6FVNR8h6vC zTcQgDZpVwMo6KtmzGmA3uVJpI28O4tvKni1XQotRtsfLWwibHVqa6JlP5jmMUlD50GA CD7c3FaShYXxDk5tv4jBDRS3ZMsa5c+IyohA81EWqASfZASf1Rz9WeJg4riPsxFAaL/z NcmA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=dWYYGKq9; spf=pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom="qemu-devel-bounces+patch=linaro.org@nongnu.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from lists.gnu.org (lists.gnu.org. [209.51.188.17]) by mx.google.com with ESMTPS id u5-20020a0562141c0500b004747aae539bsi3301288qvc.242.2022.07.29.17.41.05 for (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Fri, 29 Jul 2022 17:41:05 -0700 (PDT) Received-SPF: pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 209.51.188.17 as permitted sender) client-ip=209.51.188.17; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=dWYYGKq9; spf=pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom="qemu-devel-bounces+patch=linaro.org@nongnu.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from localhost ([::1]:45018 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oHaXQ-0002Y8-M9 for patch@linaro.org; Fri, 29 Jul 2022 20:41:04 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:36394) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oHaUb-0002Xa-TK for qemu-devel@nongnu.org; Fri, 29 Jul 2022 20:38:09 -0400 Received: from mail-pf1-x42d.google.com ([2607:f8b0:4864:20::42d]:47041) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1oHaUU-0003Hw-47 for qemu-devel@nongnu.org; Fri, 29 Jul 2022 20:38:09 -0400 Received: by mail-pf1-x42d.google.com with SMTP id c3so5912778pfb.13 for ; Fri, 29 Jul 2022 17:38:01 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=YKnWKxobxWr0eoYl/6FV/vOfO1g5odZSiiZMd2jnFpE=; b=dWYYGKq9+UxDjRpTsCP2HMazqT1i+KHyMydoCRGzqNN32el09GbBrglBdGxs0D/Q2S /Tt1oXvKEjUSTK6uEM2T3w61Vb4sHegnD0WoQ86OwDZNze6TTT9GjMJNcBLipNR2EYmT sHdpWLknBuj2ge+21x52NWHxXrkB/ua0pN82rBvcXO1uoRrzWPTXaRVbmfh00cF6izMU Hw/ufe6PNfWgJ71WbJAaxvvR1fvmf/exZZ9mrP9iXqqZ+5gnGG0IvrF2DB2RsxjBZ35M AmHkWSCr9e9YbCcerC+PUKVhlyU++hk/Uwkz2GGqh6rPzarz1psYHKpfXhjgmEhPWB53 iYLA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=YKnWKxobxWr0eoYl/6FV/vOfO1g5odZSiiZMd2jnFpE=; b=QXPaIOE3QJHgWicfrgzXykfomc/ezUaFb1swLyZt8Vctr/Qx8hPBTzAY5JOqWNXUZM 8Gny+VF/MpGqhsvjSUPh3bH+oHwE5lfwn88fqfVRKOO9DIXgZGGDXUPAwA0GrjOpPKeZ CfsYRbIhf/p96FhkvGlOql4kx0vhAxvGiA5l58vYwRc2EMFWtgq9Lotn1LsodYMksUrK O+cVO0b1ZuVS7ZEDQdp5T3HQ5R2trUO66EF791TDD+2wEBxX6CZKeBWQkykPnV+XwzVk ez8nMWRYcr2JMgw5fHKwAGRMdiLt7Ohy9cYFx+9iFWDq3JMzRCnGMR2LxXFyNt/Nw+nx lJfA== X-Gm-Message-State: AJIora87v/8JD4efgxjO/0MldrnGB4xRdgRf69V4EAh74gKiH45iQieo JN7t6ErAT/vzlmwl6Wet/621XH9GyKeSNw== X-Received: by 2002:a63:a1d:0:b0:41b:4483:35d1 with SMTP id 29-20020a630a1d000000b0041b448335d1mr4823663pgk.441.1659141480112; Fri, 29 Jul 2022 17:38:00 -0700 (PDT) Received: from stoup.. ([2602:ae:1549:801:a427:660:88d4:8559]) by smtp.gmail.com with ESMTPSA id a13-20020a1709027e4d00b0016dbc169316sm4228345pln.187.2022.07.29.17.37.58 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 29 Jul 2022 17:37:58 -0700 (PDT) From: Richard Henderson To: qemu-devel@nongnu.org Cc: Xiaojuan Yang Subject: [PULL 1/2] hw/loongarch: Rename file 'loongson3.XXX' to 'virt.XXX' Date: Fri, 29 Jul 2022 17:37:54 -0700 Message-Id: <20220730003755.54019-2-richard.henderson@linaro.org> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20220730003755.54019-1-richard.henderson@linaro.org> References: <20220730003755.54019-1-richard.henderson@linaro.org> MIME-Version: 1.0 Received-SPF: pass client-ip=2607:f8b0:4864:20::42d; envelope-from=richard.henderson@linaro.org; helo=mail-pf1-x42d.google.com 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, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, T_SCC_BODY_TEXT_LINE=-0.01, T_SPF_TEMPERROR=0.01 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: qemu-devel-bounces+patch=linaro.org@nongnu.org Sender: "Qemu-devel" From: Xiaojuan Yang 1. Rename 'loongson3.c' to 'virt.c' and change the meson.build file. 2. Rename 'loongson3.rst' to 'virt.rst'. Signed-off-by: Xiaojuan Yang Message-Id: <20220729073018.27037-2-yangxiaojuan@loongson.cn> Signed-off-by: Richard Henderson --- hw/loongarch/{loongson3.c => virt.c} | 0 MAINTAINERS | 2 +- hw/loongarch/meson.build | 2 +- target/loongarch/README | 2 +- 4 files changed, 3 insertions(+), 3 deletions(-) rename hw/loongarch/{loongson3.c => virt.c} (100%) diff --git a/hw/loongarch/loongson3.c b/hw/loongarch/virt.c similarity index 100% rename from hw/loongarch/loongson3.c rename to hw/loongarch/virt.c diff --git a/MAINTAINERS b/MAINTAINERS index 6af9cd985c..5ce4227ff6 100644 --- a/MAINTAINERS +++ b/MAINTAINERS @@ -1129,7 +1129,7 @@ Virt M: Xiaojuan Yang M: Song Gao S: Maintained -F: docs/system/loongarch/loongson3.rst +F: docs/system/loongarch/virt.rst F: configs/targets/loongarch64-softmmu.mak F: configs/devices/loongarch64-softmmu/default.mak F: hw/loongarch/ diff --git a/hw/loongarch/meson.build b/hw/loongarch/meson.build index 6a2a1b18e5..c0421502ab 100644 --- a/hw/loongarch/meson.build +++ b/hw/loongarch/meson.build @@ -2,7 +2,7 @@ loongarch_ss = ss.source_set() loongarch_ss.add(files( 'fw_cfg.c', )) -loongarch_ss.add(when: 'CONFIG_LOONGARCH_VIRT', if_true: [files('loongson3.c'), fdt]) +loongarch_ss.add(when: 'CONFIG_LOONGARCH_VIRT', if_true: [files('virt.c'), fdt]) loongarch_ss.add(when: 'CONFIG_ACPI', if_true: files('acpi-build.c')) hw_arch += {'loongarch': loongarch_ss} diff --git a/target/loongarch/README b/target/loongarch/README index 9f5edd10c8..1823375d04 100644 --- a/target/loongarch/README +++ b/target/loongarch/README @@ -15,7 +15,7 @@ 3A5000 support multiple interrupt cascading while here we just emulate the extioi interrupt cascading. LS7A1000 host bridge support multiple devices, such as sata, gmac, uart, rtc and so on. But we just realize the rtc. Others use the qemu common devices. It does not affect - the general use. We also introduced the emulation of devices at docs/system/loongarch/loongson3.rst. + the general use. We also introduced the emulation of devices at docs/system/loongarch/virt.rst. This version only supports running binary files in ELF format, and does not depend on BIOS and kernel file. You can compile the test program with 'make & make check-tcg' and run the test case with the following command: