From: Jan Kiszka <jan.kiszka@web.de>
To: Jaswinder Singh Rajput <jaswinder@kernel.org>
Cc: Avi Kivity <avi@redhat.com>, kvm@vger.kernel.org
Subject: Re: [PATCH] kvm-kmod: Add MSR_K7_HWCR and MSR_K8_SYSCFG compat definition
Date: Wed, 27 May 2009 12:05:40 +0200 [thread overview]
Message-ID: <4A1D1074.9060503@web.de> (raw)
In-Reply-To: <1243418126.3109.18.camel@localhost.localdomain>
[-- Attachment #1: Type: text/plain, Size: 1251 bytes --]
Jaswinder Singh Rajput wrote:
> Hello Jan,
>
> On Tue, 2009-05-26 at 23:01 +0200, Jan Kiszka wrote:
>> Reposted as joint patch as there is no MSR_K7 in your next queue.
>>
>> -------->
>>
>> Signed-off-by: Jan Kiszka <jan.kiszka@siemens.com>
>> ---
>>
>> x86/external-module-compat.h | 8 ++++++++
>> 1 files changed, 8 insertions(+), 0 deletions(-)
>>
>> diff --git a/x86/external-module-compat.h b/x86/external-module-compat.h
>> index 445c7a1..0e26743 100644
>> --- a/x86/external-module-compat.h
>> +++ b/x86/external-module-compat.h
>> @@ -496,6 +496,14 @@ struct kvm_desc_ptr {
>> #define MSR_IA32_TSC 0x00000010
>> #endif
>>
>> +#ifndef MSR_K7_HWCR
>> +#define MSR_K7_HWCR 0xc0010015
>> +#endif
>> +
>> +#ifndef MSR_K8_SYSCFG
>> +#define MSR_K8_SYSCFG 0xc0010010
>> +#endif
>> +
>
> It will look more beautiful if we arrange MSR addresses in some order
> (say increasing order) :
>
> +#ifndef MSR_K8_SYSCFG
> +#define MSR_K8_SYSCFG 0xc0010010
> +#endif
> +
> +#ifndef MSR_K7_HWCR
> +#define MSR_K7_HWCR 0xc0010015
> +#endif
> +
Well, I just used a different sorting key: K7 vs. K8...
Jan
[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 257 bytes --]
next prev parent reply other threads:[~2009-05-27 10:05 UTC|newest]
Thread overview: 28+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-05-26 11:52 [PATCH 0/8] kvm-kmod: Compat fixes & enhancements Jan Kiszka
2009-05-26 11:52 ` [PATCH 3/8] kvm-kmod: Include relayfs_fs.h on pre-2.6.17 kernels Jan Kiszka
2009-05-26 11:52 ` [PATCH 2/8] kvm-kmod: Include asm/uaccess.h on pre-2.6.18 kernels Jan Kiszka
2009-05-26 11:52 ` [PATCH 1/8] kvm-kmod: Allow to override sync source Jan Kiszka
2009-05-26 11:52 ` [PATCH 8/8] kvm-kmod: x86: Add MCE compat defines Jan Kiszka
2009-05-26 12:08 ` Avi Kivity
2009-05-26 12:43 ` Jan Kiszka
2009-05-26 12:59 ` Avi Kivity
2009-05-26 13:47 ` [PATCH v2] " Jan Kiszka
2009-05-26 13:51 ` Avi Kivity
2009-05-26 11:52 ` [PATCH 7/8] kvm-kmod: x86: Add MSR_IA32_TSC compat define Jan Kiszka
2009-05-26 12:29 ` Jaswinder Singh Rajput
2009-05-26 12:36 ` Jan Kiszka
2009-05-26 12:42 ` Avi Kivity
2009-05-26 12:53 ` Jan Kiszka
2009-05-26 12:58 ` Avi Kivity
2009-05-26 12:48 ` Jaswinder Singh Rajput
2009-05-26 11:52 ` [PATCH 5/8] kvm-kmod: Fix msi_enabled patching Jan Kiszka
2009-05-26 11:52 ` [PATCH 6/8] kvm-kmod: Add eventfd.c to patch list Jan Kiszka
2009-05-26 11:52 ` [PATCH 4/8] kvm-kmod: Provide flush_work compat wrapper Jan Kiszka
2009-05-26 12:01 ` [PATCH 0/8] kvm-kmod: Compat fixes & enhancements Avi Kivity
2009-05-26 12:54 ` [PATCH] kvm-kmod: x86: Add MSR_K8_SYSCFG compat define Jan Kiszka
2009-05-26 21:01 ` [PATCH] kvm-kmod: Add MSR_K7_HWCR and MSR_K8_SYSCFG compat definition Jan Kiszka
2009-05-27 9:27 ` Avi Kivity
2009-05-27 9:55 ` Jaswinder Singh Rajput
2009-05-27 10:05 ` Jan Kiszka [this message]
2009-05-27 11:06 ` Jaswinder Singh Rajput
2009-05-27 11:12 ` Avi Kivity
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=4A1D1074.9060503@web.de \
--to=jan.kiszka@web.de \
--cc=avi@redhat.com \
--cc=jaswinder@kernel.org \
--cc=kvm@vger.kernel.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.