From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id A2E2FC3DA49 for ; Thu, 25 Jul 2024 11:42:49 +0000 (UTC) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1sWwrw-0002z5-3g; Thu, 25 Jul 2024 07:42:48 -0400 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 ) id 1sWwrh-0001vz-Re; Thu, 25 Jul 2024 07:42:34 -0400 Received: from mgamail.intel.com ([192.198.163.14]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1sWwrf-0001i4-2w; Thu, 25 Jul 2024 07:42:32 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1721907751; x=1753443751; h=date:from:to:cc:subject:message-id:references: mime-version:in-reply-to; bh=KygXsTO1/7PsKHbHPRlx3mwu6GzCfvzBN5TuN2US15g=; b=Ch0utKZ4ilEHD2/h7WNZoi9umqJXXx5djwUrfEVs/KXffFQDrDyJKzbd FmIxyTDBwhZJwWF8lPm7pis/ahd8Dn/M1ClzfrtUxlSXXrSM/KcBAX43w oksLxH03MrICiVXRzYvPikwv0ziwkBF/Bzp5Qwt/SqwlRyrJ9jfgL50R4 qufIjnKnXalIspy37M2THYhjYIq2QaAdk/2fjtBBhhTbvSrcYK+QpMZHa ZChtzbXMYuc7BHjzP3snrgUgQ6VsmPKCcRbULcSv78ZZz7UtYRJSlp7GB 2IkMgzV9zySSyJFz1i4YbmXt9sOkMOAh6VC0Umd86jiXT6/Hj29EO0gML A==; X-CSE-ConnectionGUID: gcZAz1gOSwSvfhSU1LCaIQ== X-CSE-MsgGUID: nU33LRjFS8qvuNDT8DAEtw== X-IronPort-AV: E=McAfee;i="6700,10204,11143"; a="19818826" X-IronPort-AV: E=Sophos;i="6.09,235,1716274800"; d="scan'208";a="19818826" Received: from fmviesa001.fm.intel.com ([10.60.135.141]) by fmvoesa108.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 25 Jul 2024 04:42:28 -0700 X-CSE-ConnectionGUID: 2Wsp4k4PRGSWlLWNJZuuKw== X-CSE-MsgGUID: utSt5rtmS7CpNGoEk5uI9Q== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="6.09,235,1716274800"; d="scan'208";a="83895660" Received: from liuzhao-optiplex-7080.sh.intel.com (HELO localhost) ([10.239.160.36]) by fmviesa001.fm.intel.com with ESMTP; 25 Jul 2024 04:42:23 -0700 Date: Thu, 25 Jul 2024 19:58:08 +0800 From: Zhao Liu To: Jonathan Cameron Cc: Markus Armbruster , berrange@redhat.com, Eduardo Habkost , Marcel Apfelbaum , Philippe =?utf-8?B?TWF0aGlldS1EYXVk77+9?= , Yanan Wang , "Michael S.Tsirkin " , Paolo Bonzini , Richard Henderson , Eric Blake , Marcelo Tosatti , Alex =?utf-8?B?QmVubu+/vWU=?= , Peter Maydell , Sia Jee Heng , qemu-devel@nongnu.org, kvm@vger.kernel.org, qemu-riscv@nongnu.org, qemu-arm@nongnu.org, Zhenyu Wang , Dapeng Mi , Yongwei Ma Subject: Re: [PATCH 2/8] qapi/qom: Introduce smp-cache object Message-ID: References: <20240704031603.1744546-1-zhao1.liu@intel.com> <20240704031603.1744546-3-zhao1.liu@intel.com> <87wmld361y.fsf@pond.sub.org> <87h6cfowei.fsf@pond.sub.org> <871q3hua56.fsf@pond.sub.org> <20240725115059.000016c5@Huawei.com> <20240725115902.000037e4@Huawei.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20240725115902.000037e4@Huawei.com> Received-SPF: pass client-ip=192.198.163.14; envelope-from=zhao1.liu@intel.com; helo=mgamail.intel.com X-Spam_score_int: -44 X-Spam_score: -4.5 X-Spam_bar: ---- X-Spam_report: (-4.5 / 5.0 requ) BAYES_00=-1.9, DKIMWL_WL_HIGH=-0.144, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_MED=-2.3, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: qemu-riscv@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-riscv-bounces+qemu-riscv=archiver.kernel.org@nongnu.org Sender: qemu-riscv-bounces+qemu-riscv=archiver.kernel.org@nongnu.org Thanks Jonathon! On Thu, Jul 25, 2024 at 11:59:02AM +0100, Jonathan Cameron wrote: [snip] > > > I think I understand why you want to configure caches. My question was > > > about the connection to SMP. > > > > > > Say we run a guest with a single core, no SMP. Could configuring caches > > > still be useful then? > > > > Probably not useful to configure topology (sizes are a separate question) > > - any sensible default should be fine. > > Yes, I agree. Regards, Zhao