Message ID | 20241230153929.87137-2-philmd@linaro.org |
---|---|
State | New |
Headers | show
Delivered-To: patch@linaro.org Received: by 2002:a5d:4888:0:b0:385:e875:8a9e with SMTP id g8csp6495458wrq; Mon, 30 Dec 2024 07:41:07 -0800 (PST) X-Forwarded-Encrypted: i=2; AJvYcCV1aRK7DitNLSHbNzRpMJtz22xnVqam3tUgcmOTMjLGXBhxsewXHRGkJPDKEjQ/YGhuxebxCg==@linaro.org X-Google-Smtp-Source: AGHT+IGYx4HRzxZSTwhP4qkhe2ETkZJDf+SOSzqIG1cSr+WRr9n9JA/RQ7XPd3GpI/Vz0hOX6I+T X-Received: by 2002:a05:6122:d0c:b0:50f:f21c:4fd0 with SMTP id 71dfb90a1353d-51b75d37003mr28011078e0c.8.1735573266913; Mon, 30 Dec 2024 07:41:06 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1735573266; cv=none; d=google.com; s=arc-20240605; b=DUQZ/4Ll5VMiZs5ZYByxjcqlVaUk1LXOyFTDT9BD/QCRJL9rS4TJk3kM9gGB1K4Y00 sfcusvhwWltiU7fqvMwOmhx+3ucM+CkU4hl/hRJtaz8SqNLdZoPsFcBg3uHwYDiXpx6/ 9/6U4/JgzB9hRFgr62zTsO98BNgiLnnbfQnKaApjbBr1r8U6KURlswLtPc/odGrPDJ1b SdxV1utNZ8K2vZtj06XXkfaOKZnkjdBre0MEp1xUCCDZacYZu5SSwLOJTQFjdw/10CNf wXQoxP8w/x8qY5Uu39UlliP+kyUSZ8mj5oLT2gLJN1eo/s3OKlwS+1VjFvjmf7Lv1KVW HL+Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20240605; 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=ijdzLVVBAgy15w9QsQgpQp9PmP6CutR0mq7PZBrBXtE=; fh=QAnqEm9+J4rk2BCSQNqmeCLLOXX1PKB5iRsrJ6bZAZg=; b=bN7r7H+PFj1PQs87J9Z/88XjvBydG5fwOp8IF7CzBkK93TejdSgw/NgcYisUljlr9z Mi5iUvU/amuYg3enh8cljaul9wx2aDVBncrqkElPS9nCqU9Z6lIMW8PO1t2Uf2vxOxMj h03klA2m8nWGabLXSDlotwH+JjNv3rDN5bJ8M9JtQvSUGAfEdXnQWm8ibUXl3jrVIN7z Xhdfy6vzNJtps56LOwXUhSdBCTAQyDhAQVY+UR/++9o08dRG9y1w0PoSR48CVlljHpbf 7+UZ6RBieKjRpvsFyY6tVPONb9PWy7JPw4SIb69vlVJzBQ0rEcxc1m6c4xA30482PxuT kKiw==; dara=google.com ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=H+FjpBkX; 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; dara=neutral header.i=@linaro.org Return-Path: <qemu-devel-bounces+patch=linaro.org@nongnu.org> Received: from lists.gnu.org (lists.gnu.org. [209.51.188.17]) by mx.google.com with ESMTPS id 71dfb90a1353d-51b68bb5531si6509847e0c.78.2024.12.30.07.41.06 for <patch@linaro.org> (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Mon, 30 Dec 2024 07:41:06 -0800 (PST) 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=H+FjpBkX; 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; dara=neutral header.i=@linaro.org Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from <qemu-devel-bounces@nongnu.org>) id 1tSHrv-0000o1-Dj; Mon, 30 Dec 2024 10:39:47 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from <philmd@linaro.org>) id 1tSHro-0000kf-Tw for qemu-devel@nongnu.org; Mon, 30 Dec 2024 10:39:43 -0500 Received: from mail-wm1-x336.google.com ([2a00:1450:4864:20::336]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from <philmd@linaro.org>) id 1tSHrm-0002zp-I3 for qemu-devel@nongnu.org; Mon, 30 Dec 2024 10:39:40 -0500 Received: by mail-wm1-x336.google.com with SMTP id 5b1f17b1804b1-4361f65ca01so93077495e9.1 for <qemu-devel@nongnu.org>; Mon, 30 Dec 2024 07:39:38 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1735573177; x=1736177977; darn=nongnu.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=ijdzLVVBAgy15w9QsQgpQp9PmP6CutR0mq7PZBrBXtE=; b=H+FjpBkXb2fVVeMGPj8zzIgM3x8fCnOOX6kmJ3Tk1JKpe/AHGAPqCA/qLRWjop6vlx 3/+rMBH4RSGHwpI/r9xV90d59MtX6kc/wO+A9r74hCjOpBd3Jth8ot5RSr8CAZndU5qI wSx+1dx5u9aOhmlPXkeYwJYQGbm9rYGa9olCmu6i1UD7Nkyoy0y06QC0lVrE3+c8jwJP ulTaRsuGNnjvxjyeTtGcq4tW8ZhgnZIOY9FL3OlOzGywnAyj/umsgdmhj3+nSVSTtde9 tEM1NoGAZApDQrn56crng05cXiW3uAOmOZ/rNZBWMt9VQr2x6ToNlQn8mFbqTf7kXxcA R1Xg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1735573177; x=1736177977; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=ijdzLVVBAgy15w9QsQgpQp9PmP6CutR0mq7PZBrBXtE=; b=uuTksaV1oxT8nYXEH0m+8vyrrORxvD0Oxk5fmHokN0baMacsE57aVaah/eTpXBhugD RItK4pcmGes0AnJSIl1XxCrRME+1ui0LP8DYf+4NTVGyEMCW2TjCEG5kFaO8dm5weRRa 60dmw20B/MCbSqWip6ofijQDrYYHtfPoNVJVsjL1uF37BKPo23QnpMbewODrr2GuNisg 3a3FVqBG2j8qn3DHqSUUGZ309Mt1QZwTxlQFJ4WqDkVHW3UM8qr4zOtuyIDayAH57KQw 8pLISlkwh2qCQVpMrnwoOVQ7aOgs4E1kGhPAkKwHZkjvM0WOgq4cj76rNQbGsDl+Hcfr znaw== X-Gm-Message-State: AOJu0YyYtUPJOnsr/PZ7P7PmoyjVbAYk6MUSaPvmg9/Yvz9aNmo0/PEp kq9Xemp35hYUbs/qYW7I+/ZubO3D/5Vni1hQuVBfKujhJhOmkK49nq/FSkCq2hgyum5XfjZFKNr E X-Gm-Gg: ASbGnctPghpbi/YlU7jnfeF9HxpAnEZVMNttssgRxUNYTbEVXbZjRFAiZGtXVeZ5Sy7 bppgVBbp4SEbVnWF/XL63jQ39ZZTi5Dw+1GfaL2bI7I2EKHosSjqoiNEjDJ6ZFYk5t9BC2LOKkB FIbX1BzgAtVjooM9v/PgrpD6dEv2zJFAWv2Ac5nt+Awq87Ix6xKiMkJF5uvJZoXYqqcXYq4rC8W iNImGWpjigMT4EuRLR4DVtS+E34FkxlJ+QHDO1AGnFTQltJIHxEs6bBeAbVGCw711Ew+4ybekzu PYiEch8aTFrsbmBd6e71/t12xuPPA4Q= X-Received: by 2002:a05:600c:4510:b0:434:feb1:adbb with SMTP id 5b1f17b1804b1-43668b76a08mr332642445e9.31.1735573176720; Mon, 30 Dec 2024 07:39:36 -0800 (PST) Received: from localhost.localdomain (88-187-86-199.subs.proxad.net. [88.187.86.199]) by smtp.gmail.com with ESMTPSA id 5b1f17b1804b1-436612008casm360093335e9.14.2024.12.30.07.39.35 (version=TLS1_3 cipher=TLS_CHACHA20_POLY1305_SHA256 bits=256/256); Mon, 30 Dec 2024 07:39:36 -0800 (PST) From: =?utf-8?q?Philippe_Mathieu-Daud=C3=A9?= <philmd@linaro.org> To: qemu-devel@nongnu.org Cc: Stafford Horne <shorne@gmail.com>, Zhao Liu <zhao1.liu@intel.com>, qemu-ppc@nongnu.org, Yanan Wang <wangyanan55@huawei.com>, Eduardo Habkost <eduardo@habkost.net>, Song Gao <gaosong@loongson.cn>, Bernhard Beschow <shentey@gmail.com>, qemu-arm@nongnu.org, Marcel Apfelbaum <marcel.apfelbaum@gmail.com>, Richard Henderson <richard.henderson@linaro.org>, Peter Maydell <peter.maydell@linaro.org>, =?utf-8?q?Philippe_Mathieu-Daud?= =?utf-8?q?=C3=A9?= <philmd@linaro.org> Subject: [PATCH 1/3] accel/tcg: Remove pointless initialization of cflags_next_tb Date: Mon, 30 Dec 2024 16:39:27 +0100 Message-ID: <20241230153929.87137-2-philmd@linaro.org> X-Mailer: git-send-email 2.47.1 In-Reply-To: <20241230153929.87137-1-philmd@linaro.org> References: <20241230153929.87137-1-philmd@linaro.org> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Received-SPF: pass client-ip=2a00:1450:4864:20::336; envelope-from=philmd@linaro.org; helo=mail-wm1-x336.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 autolearn=unavailable autolearn_force=no X-Spam_action: no action X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: <qemu-devel.nongnu.org> List-Unsubscribe: <https://lists.nongnu.org/mailman/options/qemu-devel>, <mailto:qemu-devel-request@nongnu.org?subject=unsubscribe> List-Archive: <https://lists.nongnu.org/archive/html/qemu-devel> List-Post: <mailto:qemu-devel@nongnu.org> List-Help: <mailto:qemu-devel-request@nongnu.org?subject=help> List-Subscribe: <https://lists.nongnu.org/mailman/listinfo/qemu-devel>, <mailto:qemu-devel-request@nongnu.org?subject=subscribe> Errors-To: qemu-devel-bounces+patch=linaro.org@nongnu.org Sender: qemu-devel-bounces+patch=linaro.org@nongnu.org |
Series |
cpus: Avoid re-initializing fields cleared in cpu_common_reset_hold()
|
expand
|
diff --git a/hw/core/cpu-common.c b/hw/core/cpu-common.c index 1edc16f65c8..10d34455a85 100644 --- a/hw/core/cpu-common.c +++ b/hw/core/cpu-common.c @@ -245,7 +245,6 @@ static void cpu_common_initfn(Object *obj) /* the default value is changed by qemu_init_vcpu() for system-mode */ cpu->nr_cores = 1; cpu->nr_threads = 1; - cpu->cflags_next_tb = -1; /* allocate storage for thread info, initialise condition variables */ cpu->thread = g_new0(QemuThread, 1);