From mboxrd@z Thu Jan 1 00:00:00 1970 From: Eduardo Habkost Subject: Re: [PATCH v11 1/5] i386: Clean up cache CPUID code Date: Thu, 24 May 2018 16:28:21 -0300 Message-ID: <20180524192821.GM8988@localhost.localdomain> References: <1527176614-26271-1-git-send-email-babu.moger@amd.com> <1527176614-26271-2-git-send-email-babu.moger@amd.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: geoff@hostfission.com, kvm@vger.kernel.org, mst@redhat.com, kash@tripleback.net, mtosatti@redhat.com, qemu-devel@nongnu.org, pbonzini@redhat.com, rth@twiddle.net To: Babu Moger Return-path: Content-Disposition: inline In-Reply-To: <1527176614-26271-2-git-send-email-babu.moger@amd.com> List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: qemu-devel-bounces+gceq-qemu-devel2=m.gmane.org@nongnu.org Sender: "Qemu-devel" List-Id: kvm.vger.kernel.org On Thu, May 24, 2018 at 11:43:30AM -0400, Babu Moger wrote: > From: Eduardo Habkost > > Always initialize CPUCaches structs with cache information, even > if legacy_cache=true. Use different CPUCaches struct for > CPUID[2], CPUID[4], and the AMD CPUID leaves. > > This will simplify a lot the logic inside cpu_x86_cpuid(). > > Signed-off-by: Eduardo Habkost > Signed-off-by: Babu Moger Queued, thanks. -- Eduardo