Re: [PATCH 2/5] i386/cpu: add IsDefined flag to smp-cache property

2024-10-07 Thread Zhao Liu
Hi Ali, On Thu, Sep 12, 2024 at 02:38:26PM +0100, Alireza Sanaee wrote: > Date: Thu, 12 Sep 2024 14:38:26 +0100 > From: Alireza Sanaee > Subject: [PATCH 2/5] i386/cpu: add IsDefined flag to smp-cache property > X-Mailer: git-send-email 2.34.1 > > This commit adds IsDefined

Re: [PATCH 2/5] i386/cpu: add IsDefined flag to smp-cache property

2024-09-13 Thread Alireza Sanaee via
On Fri, 13 Sep 2024 11:21:28 +0100 Jonathan Cameron wrote: > On Thu, 12 Sep 2024 14:38:26 +0100 > Alireza Sanaee wrote: > > > This commit adds IsDefined flag to the object and this helps in > > avoiding extra checks for every single layer of caches in both x86 > > and ARM. > Hi Ali, > > You

Re: [PATCH 2/5] i386/cpu: add IsDefined flag to smp-cache property

2024-09-13 Thread Jonathan Cameron via
On Thu, 12 Sep 2024 14:38:26 +0100 Alireza Sanaee wrote: > This commit adds IsDefined flag to the object and this helps in avoiding > extra checks for every single layer of caches in both x86 and ARM. Hi Ali, You mention x86 here, but no code changes to support that? Jonathan > > Signed-off-b

[PATCH 2/5] i386/cpu: add IsDefined flag to smp-cache property

2024-09-12 Thread Alireza Sanaee via
This commit adds IsDefined flag to the object and this helps in avoiding extra checks for every single layer of caches in both x86 and ARM. Signed-off-by: Alireza Sanaee --- hw/core/machine-smp.c | 2 ++ include/hw/boards.h | 1 + 2 files changed, 3 insertions(+) diff --git a/hw/core/machine-