From patchwork Wed Apr 20 18:05:54 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Richard Henderson X-Patchwork-Id: 563978 Delivered-To: patch@linaro.org Received: by 2002:a05:7000:6886:0:0:0:0 with SMTP id m6csp4405784map; Wed, 20 Apr 2022 11:17:06 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzDODV+mWbUxDBKKEigATpcxx0QEvwkFtpFEA7YImrZstPG+GkSIBOrcq+o5OS3Cz5tPbrA X-Received: by 2002:a25:585:0:b0:645:729a:e38b with SMTP id 127-20020a250585000000b00645729ae38bmr284737ybf.373.1650478626419; Wed, 20 Apr 2022 11:17:06 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1650478626; cv=none; d=google.com; s=arc-20160816; b=x8V78DorLzS14/BQ7pku/oENy5UKJ06nkl5ghedoO2GEZjOMqMls8G3uoBoqW/VgIT TXDDZ2DNhakkAsSphP0ScRqkDzXD904ZNB2lPZAB4dC7wl0SiCQeQ3vHiQZI+K0H9Q4Y ExanqxXQszMcq2iuyud/EpO1iNYz2xj9EjaHaPVqTZWzf02Fzq8mXbSkPFq5Mi2ELO+Y S3oHQBTKDgPXe05udBG3d5n7B1Xe/CBbE5y1i8+k3Unowvqvs7Ft/AzHBcYDQn8Kv1Ur h80ERXteanFkkMYlMzxkiG8ws4KwJ2cE4bpy1n8kOXc0womH++ihgR38OvajgY6YQx4B bVAQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:cc: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:to:from :dkim-signature; bh=esKzBdANexAUJ4Ped1Zb42JAumSJtJDyJYcrCyyvHX4=; b=N1UUEI2p5hfloq4iy0AghoOvplLNR7mYyeSKxlYQV8nKsq4ImJ2c3Dw3h4joLbxtNf VlzyQD9CtK642k8Q9QJh7+2K5T/W/fC8q0ZOHD31VwWCEJMbN6+65fYMaru31R9uefdx jwQMpkarBB8AX6Mp+aduHri26VC4M5gFPdtVQ6NkSqU6AB7YnzH6MSmuX7xViKwFoCRS MGxwNLwbQQ39OVLptJ3UoLrab1HVqLoOyfzO1DD+yG4/uKqYxQ2FTsvGOq1FPJCIXuyp 7Giw1aew9OYs/B/NrRERYvQhCVhPpSpDd2OND6oqOTLFMbRV3Z9lUldRNCqF8EcrFAG2 qNEw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=ZKomJVMj; 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 g194-20020a0dddcb000000b002eb49096516si655897ywe.13.2022.04.20.11.17.06 for (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Wed, 20 Apr 2022 11:17:06 -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=ZKomJVMj; 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]:51404 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nhEsx-0007Wa-KH for patch@linaro.org; Wed, 20 Apr 2022 14:17:03 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:53292) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nhEit-0005Zn-0c for qemu-devel@nongnu.org; Wed, 20 Apr 2022 14:06:39 -0400 Received: from mail-pj1-x1032.google.com ([2607:f8b0:4864:20::1032]:54908) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1nhEir-0001EH-HO for qemu-devel@nongnu.org; Wed, 20 Apr 2022 14:06:38 -0400 Received: by mail-pj1-x1032.google.com with SMTP id md4so2659298pjb.4 for ; Wed, 20 Apr 2022 11:06:37 -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=esKzBdANexAUJ4Ped1Zb42JAumSJtJDyJYcrCyyvHX4=; b=ZKomJVMj8BgYVpRyt1Rt9WsCKZz1IJCXLskaJ9AhN0rJ0uGnFnMPbfeFZ6MndKNjSp YdujrSaWVhPwFF8dxSFZ3mnNh4YVFH0BTizXIJVzKBEHC9JTAo0SdUX7/edKslnycaha 10fkUmetQzeCq+9gcBipxtKs48+7Mr/gzB3Aa9pJGoIM9Bfis8SDMur7YTAUwPlF+Q5+ A6joYilTFgH7eURlNGfyjPMX333fZ2HFpduwpRfzc7ZHzTuSIuhmPwzqp6XFhNrV3ZOD xrcKae91FF6C2vhHgSU0RX8j1G36ZgNUhY+GLKopUN3JZ38moVk3w1SHe+WM5zrcrs1o 5yXw== 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=esKzBdANexAUJ4Ped1Zb42JAumSJtJDyJYcrCyyvHX4=; b=TGjkx4bIkFlHhr8VQwH2XDbwQkJgdauv1MpQHXTP9B1FafgCkRycrAkfLSwIvuQZec pUgqs+vTbGfHqF3fF0XYGp+QbbY7th2ca4RQB7hPTaJziDfnleF9w3yYbHGQAox51IFg 8dak6dSUSURqk/JCEhDt4+DM6zpoBsh21I4WCfgETZ/mzGZSfKfhJ0ops1TpRHnUHtJp A9bPlwzHCiCORoXT4WKHTWLxsDmgIriJpa7KZFTIg1oQS/9d5ACtvWo6o6QJhU5j1Gd6 xAq7iZNuVg4gqAyBXrHkqQ8YlfFPvWrWevl4nNSd7AgxvbOoVc6PJSBM/C+GR182xe06 eh9g== X-Gm-Message-State: AOAM532DyPuGipPi9sZBdZEligt8HJUGpqKsOnaizUDHyDdUxa/N1L8M ijkIjg08iI0VjX3AtlFCY/QsIUQq/0rg+A== X-Received: by 2002:a17:90a:5902:b0:1cb:a0eb:8f8c with SMTP id k2-20020a17090a590200b001cba0eb8f8cmr5803770pji.17.1650477996297; Wed, 20 Apr 2022 11:06:36 -0700 (PDT) Received: from stoup.. (174-21-142-130.tukw.qwest.net. [174.21.142.130]) by smtp.gmail.com with ESMTPSA id i2-20020a17090a058200b001d2fc489b8asm56681pji.25.2022.04.20.11.06.35 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 20 Apr 2022 11:06:35 -0700 (PDT) From: Richard Henderson To: qemu-devel@nongnu.org Subject: [PULL 15/39] target/nios2: Remove log_cpu_state from reset Date: Wed, 20 Apr 2022 11:05:54 -0700 Message-Id: <20220420180618.1183855-16-richard.henderson@linaro.org> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20220420180618.1183855-1-richard.henderson@linaro.org> References: <20220420180618.1183855-1-richard.henderson@linaro.org> MIME-Version: 1.0 Received-SPF: pass client-ip=2607:f8b0:4864:20::1032; envelope-from=richard.henderson@linaro.org; helo=mail-pj1-x1032.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, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-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: , Cc: =?utf-8?q?Alex_Benn=C3=A9e?= , =?utf-8?q?Philipp?= =?utf-8?q?e_Mathieu-Daud=C3=A9?= Errors-To: qemu-devel-bounces+patch=linaro.org@nongnu.org Sender: "Qemu-devel" This is redundant with the logging done in cpu_common_reset. Reviewed-by: Alex Bennée Reviewed-by: Philippe Mathieu-Daudé Signed-off-by: Richard Henderson Message-Id: <20220417183019.755276-16-richard.henderson@linaro.org> --- target/nios2/cpu.c | 5 ----- 1 file changed, 5 deletions(-) diff --git a/target/nios2/cpu.c b/target/nios2/cpu.c index 6975ae4bdb..b0877cb39e 100644 --- a/target/nios2/cpu.c +++ b/target/nios2/cpu.c @@ -46,11 +46,6 @@ static void nios2_cpu_reset(DeviceState *dev) Nios2CPUClass *ncc = NIOS2_CPU_GET_CLASS(cpu); CPUNios2State *env = &cpu->env; - if (qemu_loglevel_mask(CPU_LOG_RESET)) { - qemu_log("CPU Reset (CPU %d)\n", cs->cpu_index); - log_cpu_state(cs, 0); - } - ncc->parent_reset(dev); memset(env->regs, 0, sizeof(uint32_t) * NUM_CORE_REGS);