From nobody Mon Feb 9 08:11:31 2026 Delivered-To: importer@patchew.org Authentication-Results: mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+importer=patchew.org@nongnu.org; dmarc=pass(p=none dis=none) header.from=gmail.com ARC-Seal: i=1; a=rsa-sha256; t=1641352349; cv=none; d=zohomail.com; s=zohoarc; b=I2jczNyochrOYKWcs3qhbMEfp1+ZsCeX6hrMV6ivoL6qUlcHt7ZHSSVv6m1Qk5GHMAldZ0ZARA1xcj+ss3qHHPfZWobxB7TA0YXeIXjEUu4MYfbHEza1/I8uopKpIrRi6T3WQ9ijRHGUuiz2XKCvxEqQgYbGejI8+YZluoXlP/o= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1641352349; h=Content-Transfer-Encoding:Date:From:In-Reply-To:List-Subscribe:List-Post:List-Id:List-Archive:List-Help:List-Unsubscribe:MIME-Version:Message-ID:References:Sender:Subject:To; bh=JHwHfuV9hmWrxQ5VW+DQoxoqfBUBj55UNvF+Xci6R6M=; b=NwgILw2GBew+UaZlfwXF2FhKzSd3TT9eOncakMyouC5/YqEykRQIoUGe3sbQqxMWOX3wp5I7maRqR+W7Ea0kMMbPw1UKsTNEwxJoyJLd8CqWu+Ny8/6demrCVpGrXXf+kv0PEH0Rwd0cJnrRhEkz86TvrZ4BjHZ+JNhFdrRQdks= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+importer=patchew.org@nongnu.org; dmarc=pass header.from= (p=none dis=none) Return-Path: Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mx.zohomail.com with SMTPS id 1641352349400833.3064384321973; Tue, 4 Jan 2022 19:12:29 -0800 (PST) Received: from localhost ([::1]:44640 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1n4wiy-0002aJ-Bs for importer@patchew.org; Tue, 04 Jan 2022 22:12:28 -0500 Received: from eggs.gnu.org ([209.51.188.92]:58906) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1n4wYl-0007l6-Jf; Tue, 04 Jan 2022 22:01:55 -0500 Received: from [2607:f8b0:4864:20::535] (port=44717 helo=mail-pg1-x535.google.com) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1n4wYi-0007Qu-4V; Tue, 04 Jan 2022 22:01:54 -0500 Received: by mail-pg1-x535.google.com with SMTP id y9so5809157pgr.11; Tue, 04 Jan 2022 19:01:51 -0800 (PST) Received: from pek-vx-bsp2.wrs.com (unknown-176-192.windriver.com. [147.11.176.192]) by smtp.gmail.com with ESMTPSA id nu14sm23011pjb.17.2022.01.04.19.01.49 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 04 Jan 2022 19:01:50 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=from:to:subject:date:message-id:in-reply-to:references:mime-version :content-transfer-encoding; bh=JHwHfuV9hmWrxQ5VW+DQoxoqfBUBj55UNvF+Xci6R6M=; b=S8I2n8o+RfNnWvQMdrWAKVuvNZVYgK11tO4c7DoOu1MG5/9qlarxSRdrIvYEmahjzj MYMNwsxlrXwrmXdpjyTxosrZy8uwGp6SGvdggKblassCw0ZMJPMTHkarDJnsWgRjGko0 Hn/TRSbROBIibok6Ta5/zz2/FPu9RLV7DnZU/RpVaGWTbn4rt+/eQihF0B+WCaEncCgF /2g4WzswMh3Dpsa2n9mhUO9F4e5Mqk9JebqDbN1eqPcwCCNnS9/O0UHpz4fZreIDFowC HUT9KN9OirnNVhSVCxXEF9WTtAWO1XB8E0xUfiS01FqzYxfXT0MMhvvvyrY3lSTcjyhO f+Bw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=JHwHfuV9hmWrxQ5VW+DQoxoqfBUBj55UNvF+Xci6R6M=; b=tBHn6hCtTR61REw19NWic3PvZzeBrya2VEcT6h4vFCO/QKTrmEBydsvf/B0Cvur1l/ 5p89K6F80J/R3tmzq76RLtjPWlKKHBKm8MHySmdjwR246OyY7bBcHgpMMz/HSE5VxG5t +8pwFIeeXr4KdgcMBpJrpJDNwD0TJINZT1UvoaHOarJrcGOPhQiazJqFmMBCJZcm8hsn SymUB2RBaF0QT2hkoffju+iwIuG3fzAWVKvs7s4E2DQbtcPC10SaSxtMKR6/Z0ZD3Iq7 nCVuvyMMVgmOI/wN5DOSrKJxqYUWaN7jdc9ICtDKia43XSlNXQJYfuZef+ZfaKNTD5Hf DMIw== X-Gm-Message-State: AOAM531A4+DAnu1LHwW/V6rj5ybLhFns/OZuh4Vs1knCu36pR0hR2WZc b5G7Mu8PFjufm2RevTeBwCS4aVVRTP9yJA== X-Google-Smtp-Source: ABdhPJyYrxjdl1BMImyElA06pYYmJMbIN+NDi5X9xUpTmGqtx78+XfnFf/hlg6/vP71HJxmLADf4AA== X-Received: by 2002:a62:83c3:0:b0:4ba:bb14:4bf7 with SMTP id h186-20020a6283c3000000b004babb144bf7mr53275627pfe.32.1641351710507; Tue, 04 Jan 2022 19:01:50 -0800 (PST) From: Bin Meng X-Google-Original-From: Bin Meng To: Alistair Francis , qemu-devel@nongnu.org, qemu-riscv@nongnu.org Subject: [PATCH v3 6/7] target/riscv: cpu: Enable native debug feature Date: Wed, 5 Jan 2022 11:01:25 +0800 Message-Id: <20220105030126.778503-7-bin.meng@windriver.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20220105030126.778503-1-bin.meng@windriver.com> References: <20220105030126.778503-1-bin.meng@windriver.com> MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable X-Host-Lookup-Failed: Reverse DNS lookup failed for 2607:f8b0:4864:20::535 (failed) Received-SPF: pass (zohomail.com: domain of gnu.org designates 209.51.188.17 as permitted sender) client-ip=209.51.188.17; envelope-from=qemu-devel-bounces+importer=patchew.org@nongnu.org; helo=lists.gnu.org; Received-SPF: pass client-ip=2607:f8b0:4864:20::535; envelope-from=bmeng.cn@gmail.com; helo=mail-pg1-x535.google.com X-Spam_score_int: -12 X-Spam_score: -1.3 X-Spam_bar: - X-Spam_report: (-1.3 / 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, RDNS_NONE=0.793, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=no 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+importer=patchew.org@nongnu.org Sender: "Qemu-devel" X-ZohoMail-DKIM: pass (identity @gmail.com) X-ZM-MESSAGEID: 1641352351515100001 Content-Type: text/plain; charset="utf-8" Turn on native debug feature by default for all CPUs. Signed-off-by: Bin Meng --- Changes in v3: - enable debug feature by default for all CPUs target/riscv/cpu.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/target/riscv/cpu.c b/target/riscv/cpu.c index 17dcc3c14f..17444b458f 100644 --- a/target/riscv/cpu.c +++ b/target/riscv/cpu.c @@ -644,7 +644,7 @@ static Property riscv_cpu_properties[] =3D { DEFINE_PROP_BOOL("Zfhmin", RISCVCPU, cfg.ext_zfhmin, false), DEFINE_PROP_BOOL("mmu", RISCVCPU, cfg.mmu, true), DEFINE_PROP_BOOL("pmp", RISCVCPU, cfg.pmp, true), - DEFINE_PROP_BOOL("debug", RISCVCPU, cfg.debug, false), + DEFINE_PROP_BOOL("debug", RISCVCPU, cfg.debug, true), =20 DEFINE_PROP_STRING("priv_spec", RISCVCPU, cfg.priv_spec), DEFINE_PROP_STRING("vext_spec", RISCVCPU, cfg.vext_spec), --=20 2.25.1