All of lore.kernel.org
 help / color / mirror / Atom feed
From: Jamie Lokier <jamie@shareable.org>
To: Andre Przywara <andre.przywara@amd.com>
Cc: aurelien@aurel32.net, qemu-devel@nongnu.org
Subject: Re: [Qemu-devel] [PATCH 13/13] x86/cpuid: Update qemu64/32 CPU models
Date: Sat, 13 Mar 2010 00:06:53 +0000	[thread overview]
Message-ID: <20100313000653.GI6491@shareable.org> (raw)
In-Reply-To: <1268314747-11111-14-git-send-email-andre.przywara@amd.com>

Andre Przywara wrote:
> Since we now have a real TCG feature set, use it to describe the
> artificial qemu CPUs (both 64 and 32-bit). If new features are added
> to TCG, the capability of qemu64/32 will automatically be adjusted.
> 
> Signed-off-by: Andre Przywara <andre.przywara@amd.com>

> -        .features = PPRO_FEATURES | 
> -        /* these features are needed for Win64 and aren't fully implemented */
> -            CPUID_MTRR | CPUID_CLFLUSH | CPUID_MCA |
> -        /* this feature is needed for Solaris and isn't fully implemented */
> -            CPUID_PSE36,
> -        .ext_features = CPUID_EXT_SSE3 | CPUID_EXT_CX16 | CPUID_EXT_POPCNT,
> -        .ext2_features = (PPRO_FEATURES & EXT2_FEATURE_MASK) | 
> -            CPUID_EXT2_LM | CPUID_EXT2_SYSCALL | CPUID_EXT2_NX,
> -        .ext3_features = CPUID_EXT3_LAHF_LM | CPUID_EXT3_SVM |
> -            CPUID_EXT3_ABM | CPUID_EXT3_SSE4A,

Those comments seem to have disappeared.  Are they useful - or even correct any more?

> +        .features = TCG_FEATURES,
> +        .ext_features = TCG_EXT_FEATURES,
> +        /* 3DNow! is deprecated, so leave it out of the default feature set */
> +        .ext2_features = (TCG_EXT2_FEATURES | EXT2_FEATURES_64) &
> +                        ~(CPUID_EXT2_3DNOW | CPUID_EXT2_3DNOWEXT),
> +        .ext3_features = TCG_EXT3_FEATURES,

3DNow! is an old capability, but why is that a reason to single it out
for omission?

Is there any harm in it being enabled?

-- Jamie

  reply	other threads:[~2010-03-13  0:07 UTC|newest]

Thread overview: 16+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-03-11 13:38 [Qemu-devel] [PATCH 00/13] x86/cpuid: cleanups and fixes Andre Przywara
2010-03-11 13:38 ` [Qemu-devel] [PATCH 01/13] x86/cpuid: move CPUID functions into separate file Andre Przywara
2010-03-11 13:38 ` [Qemu-devel] [PATCH 02/13] x86/cpuid: replace magic number with named constant Andre Przywara
2010-03-11 13:38 ` [Qemu-devel] [PATCH 03/13] x86/cpuid: fix missing feature set bits Andre Przywara
2010-03-11 13:38 ` [Qemu-devel] [PATCH 04/13] x86/cpuid: moved host_cpuid function and remove prototype Andre Przywara
2010-03-11 13:38 ` [Qemu-devel] [PATCH 05/13] x86/cpuid: add missing CPUID feature flag names Andre Przywara
2010-03-11 13:39 ` [Qemu-devel] [PATCH 06/13] x86/cpuid: add "host" to the list of supported CPU models Andre Przywara
2010-03-11 13:39 ` [Qemu-devel] [PATCH 07/13] x86/cpuid: remove unnecessary kvm_trim function Andre Przywara
2010-03-11 13:39 ` [Qemu-devel] [PATCH 08/13] x86/cpuid: propagate further CPUID leafs when -cpu host Andre Przywara
2010-03-11 13:39 ` [Qemu-devel] [PATCH 09/13] x86/cpuid: add TCG feature bit trimming Andre Przywara
2010-03-11 13:39 ` [Qemu-devel] [PATCH 10/13] x86/cpuid: Always expose 32 and 64-bit CPUs Andre Przywara
2010-03-11 13:39 ` [Qemu-devel] [PATCH 11/13] x86/cpuid: Add kvm32 CPU model Andre Przywara
2010-03-11 13:39 ` [Qemu-devel] [PATCH 12/13] x86/cpuid: fix CPUID levels Andre Przywara
2010-03-11 13:39 ` [Qemu-devel] [PATCH 13/13] x86/cpuid: Update qemu64/32 CPU models Andre Przywara
2010-03-13  0:06   ` Jamie Lokier [this message]
2010-03-13 15:50 ` [Qemu-devel] [PATCH 00/13] x86/cpuid: cleanups and fixes Aurelien Jarno

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20100313000653.GI6491@shareable.org \
    --to=jamie@shareable.org \
    --cc=andre.przywara@amd.com \
    --cc=aurelien@aurel32.net \
    --cc=qemu-devel@nongnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.