Message ID | 20231106110336.358-47-philmd@linaro.org (mailing list archive) |
---|---|
State | New, archived |
Headers | show
Received: from lindbergh.monkeyblade.net (lindbergh.monkeyblade.net [23.128.96.19]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 9240718AE4 for <kvm@vger.kernel.org>; Mon, 6 Nov 2023 11:08:57 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="CkQ8+o90" Received: from mail-lj1-x233.google.com (mail-lj1-x233.google.com [IPv6:2a00:1450:4864:20::233]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 63944BE for <kvm@vger.kernel.org>; Mon, 6 Nov 2023 03:08:55 -0800 (PST) Received: by mail-lj1-x233.google.com with SMTP id 38308e7fff4ca-2c6ed1b9a1cso58270251fa.3 for <kvm@vger.kernel.org>; Mon, 06 Nov 2023 03:08:55 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1699268933; x=1699873733; darn=vger.kernel.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=GYvSXfF+xbSSjVZB+VdYev9ZdU+Lgrd51drrmwgB968=; b=CkQ8+o90NA2u6JPpvKczDywY7M8BOWYlaSBORGMurJ+6MmTCZhU1OuftboX5QmrcQq xdzdu0AxOS4W2l7h8D6sHWj43YNGLlYUQdFgx4ZYf8es/ppkRNeYoQhIzh8Esyrw9Pqs /SzWW3Ya08Ne4UXlR0atk9ckrBem9RrfLd8ljgcdhlUwrHtjf2XcdYkt/GuswMrujN5J ufflOzaTd3nqIBmRc5HcT/ItsaWz9h4ZHcrEXB3Uiigm53YxcugoXL2Y+WrUBzCo9xW/ SKRFdNYD/DuSY1Fz6Nygo763HxQ+LXpXgJEN7CsP5ioGVBquiYyFHWZ9zk8LNlxO6GTB glew== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1699268933; x=1699873733; 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=GYvSXfF+xbSSjVZB+VdYev9ZdU+Lgrd51drrmwgB968=; b=PAdTctFTWQhzOZgmODDHacX4ds1I3YRXd0hoyc4VHJk6z8mzahRpmaaAEDq2QwQrko +7FT32nKrEwZgTdzsD3A9YxZdcSBe5AFptV9+mRJ0dgkUZLubOCg/fa/wbyOnbMB54qI z843GeoabzdbkXCQV0Wyv9mwUrJ6zjtX6cD/CJaYwrUaO9rMYGDAIU7rV5TBVYQ6bZec 34jDjyHgI6N0L8Z3X1h7PS1r2KPLAl41k2kTlSjVnG90mz+R28ZVJCtPgjDpljkMdSZj o5mkiu59ZZvCiOH033MI/pPD5eOKt60vT+h1dOnOW5uD48Sij2M9iopFj6hl5HXjeras 0UDg== X-Gm-Message-State: AOJu0YxA97a0R4HAkBew9e/vAPyqnPBTnlPvA3gQkUWph5Tjg73SGpRI pwpjv0ii4W6SugtSM/WpL0Zryw== X-Google-Smtp-Source: AGHT+IF/xZcrKq/LJLj9ohahw7rIxBUK2ed8EiXaUmWnZkVh+fy3szTtE+BCuI465Mb1P6JS3uEWwQ== X-Received: by 2002:a2e:7a17:0:b0:2c2:a337:5ea with SMTP id v23-20020a2e7a17000000b002c2a33705eamr22917103ljc.27.1699268933639; Mon, 06 Nov 2023 03:08:53 -0800 (PST) Received: from m1x-phil.lan (176-131-220-199.abo.bbox.fr. [176.131.220.199]) by smtp.gmail.com with ESMTPSA id h15-20020a5d688f000000b0032f9688ea48sm9121553wru.10.2023.11.06.03.08.51 (version=TLS1_3 cipher=TLS_CHACHA20_POLY1305_SHA256 bits=256/256); Mon, 06 Nov 2023 03:08:53 -0800 (PST) From: =?utf-8?q?Philippe_Mathieu-Daud=C3=A9?= <philmd@linaro.org> To: qemu-devel@nongnu.org Cc: kvm@vger.kernel.org, qemu-s390x@nongnu.org, qemu-block@nongnu.org, qemu-riscv@nongnu.org, qemu-ppc@nongnu.org, qemu-arm@nongnu.org, Zhao Liu <zhao1.liu@intel.com>, =?utf-8?q?Philippe_Mathieu-Daud=C3=A9?= <philmd@linaro.org>, Babu Moger <babu.moger@amd.com>, Yongwei Ma <yongwei.ma@intel.com>, "Michael S . Tsirkin" <mst@redhat.com>, Eduardo Habkost <eduardo@habkost.net>, Marcel Apfelbaum <marcel.apfelbaum@gmail.com>, Yanan Wang <wangyanan55@huawei.com> Subject: [PULL 46/60] hw/cpu: Update the comments of nr_cores and nr_dies Date: Mon, 6 Nov 2023 12:03:18 +0100 Message-ID: <20231106110336.358-47-philmd@linaro.org> X-Mailer: git-send-email 2.41.0 In-Reply-To: <20231106110336.358-1-philmd@linaro.org> References: <20231106110336.358-1-philmd@linaro.org> Precedence: bulk X-Mailing-List: kvm@vger.kernel.org List-Id: <kvm.vger.kernel.org> List-Subscribe: <mailto:kvm+subscribe@vger.kernel.org> List-Unsubscribe: <mailto:kvm+unsubscribe@vger.kernel.org> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit |
Series |
[PULL,01/60] vl: Free machine list
|
expand
|
diff --git a/include/hw/core/cpu.h b/include/hw/core/cpu.h index 77893d7b81..c0c8320413 100644 --- a/include/hw/core/cpu.h +++ b/include/hw/core/cpu.h @@ -408,7 +408,7 @@ struct qemu_work_item; * See TranslationBlock::TCG CF_CLUSTER_MASK. * @tcg_cflags: Pre-computed cflags for this cpu. * @nr_cores: Number of cores within this CPU package. - * @nr_threads: Number of threads within this CPU. + * @nr_threads: Number of threads within this CPU core. * @running: #true if CPU is currently running (lockless). * @has_waiter: #true if a CPU is currently waiting for the cpu_exec_end; * valid under cpu_list_lock. diff --git a/target/i386/cpu.h b/target/i386/cpu.h index 6c6b066986..b60a417074 100644 --- a/target/i386/cpu.h +++ b/target/i386/cpu.h @@ -1882,6 +1882,7 @@ typedef struct CPUArchState { TPRAccess tpr_access_type; + /* Number of dies within this CPU package. */ unsigned nr_dies; } CPUX86State;