* [PATCH] x86, AMD: Extend support to future families
@ 2010-06-02 18:29 Borislav Petkov
2010-06-09 22:53 ` H. Peter Anvin
2010-06-10 0:10 ` [tip:x86/cpu] " tip-bot for Borislav Petkov
0 siblings, 2 replies; 6+ messages in thread
From: Borislav Petkov @ 2010-06-02 18:29 UTC (permalink / raw)
To: H. Peter Anvin, Ingo Molnar, Thomas Gleixner; +Cc: LKML, x86
Extend support to future families, and in particular:
* extend direct mapping split of Tseg SMM area.
* extend K8 flavored alternatives (NOPS).
* rep movs* prefix is fast in ucode.
Signed-off-by: Borislav Petkov <borislav.petkov@amd.com>
---
arch/x86/kernel/cpu/amd.c | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/arch/x86/kernel/cpu/amd.c b/arch/x86/kernel/cpu/amd.c
index e485825..12b9cff 100644
--- a/arch/x86/kernel/cpu/amd.c
+++ b/arch/x86/kernel/cpu/amd.c
@@ -466,7 +466,7 @@ static void __cpuinit init_amd(struct cpuinfo_x86 *c)
}
}
- if (c->x86 == 0x10 || c->x86 == 0x11)
+ if (c->x86 >= 0x10)
set_cpu_cap(c, X86_FEATURE_REP_GOOD);
/* get apicid instead of initial apic id from cpuid */
@@ -529,7 +529,7 @@ static void __cpuinit init_amd(struct cpuinfo_x86 *c)
num_cache_leaves = 3;
}
- if (c->x86 >= 0xf && c->x86 <= 0x11)
+ if (c->x86 >= 0xf)
set_cpu_cap(c, X86_FEATURE_K8);
if (cpu_has_xmm2) {
@@ -546,7 +546,7 @@ static void __cpuinit init_amd(struct cpuinfo_x86 *c)
fam10h_check_enable_mmcfg();
}
- if (c == &boot_cpu_data && c->x86 >= 0xf && c->x86 <= 0x11) {
+ if (c == &boot_cpu_data && c->x86 >= 0xf) {
unsigned long long tseg;
/*
--
1.6.4.4
--
Regards/Gruss,
Boris.
Operating Systems Research Center
Advanced Micro Devices, Inc.
^ permalink raw reply related [flat|nested] 6+ messages in thread
* Re: [PATCH] x86, AMD: Extend support to future families
2010-06-02 18:29 [PATCH] x86, AMD: Extend support to future families Borislav Petkov
@ 2010-06-09 22:53 ` H. Peter Anvin
2010-06-12 4:15 ` Borislav Petkov
2010-06-10 0:10 ` [tip:x86/cpu] " tip-bot for Borislav Petkov
1 sibling, 1 reply; 6+ messages in thread
From: H. Peter Anvin @ 2010-06-09 22:53 UTC (permalink / raw)
To: Borislav Petkov; +Cc: Ingo Molnar, Thomas Gleixner, LKML, x86
On 06/02/2010 11:29 AM, Borislav Petkov wrote:
> Extend support to future families, and in particular:
>
> * extend direct mapping split of Tseg SMM area.
> * extend K8 flavored alternatives (NOPS).
> * rep movs* prefix is fast in ucode.
>
> Signed-off-by: Borislav Petkov <borislav.petkov@amd.com>
This doesn't reflect any currently shipping hardware, right?
-hpa
^ permalink raw reply [flat|nested] 6+ messages in thread
* [tip:x86/cpu] x86, AMD: Extend support to future families
2010-06-02 18:29 [PATCH] x86, AMD: Extend support to future families Borislav Petkov
2010-06-09 22:53 ` H. Peter Anvin
@ 2010-06-10 0:10 ` tip-bot for Borislav Petkov
1 sibling, 0 replies; 6+ messages in thread
From: tip-bot for Borislav Petkov @ 2010-06-10 0:10 UTC (permalink / raw)
To: linux-tip-commits; +Cc: linux-kernel, hpa, mingo, tglx, hpa, borislav.petkov
Commit-ID: 12d8a961289644d265d8b3e88201878837c3b814
Gitweb: http://git.kernel.org/tip/12d8a961289644d265d8b3e88201878837c3b814
Author: Borislav Petkov <borislav.petkov@amd.com>
AuthorDate: Wed, 2 Jun 2010 20:29:21 +0200
Committer: H. Peter Anvin <hpa@linux.intel.com>
CommitDate: Wed, 9 Jun 2010 15:57:47 -0700
x86, AMD: Extend support to future families
Extend support to future families, and in particular:
* extend direct mapping split of Tseg SMM area.
* extend K8 flavored alternatives (NOPS).
* rep movs* prefix is fast in ucode.
Signed-off-by: Borislav Petkov <borislav.petkov@amd.com>
LKML-Reference: <20100602182921.GA21557@aftab>
Signed-off-by: H. Peter Anvin <hpa@linux.intel.com>
---
arch/x86/kernel/cpu/amd.c | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/arch/x86/kernel/cpu/amd.c b/arch/x86/kernel/cpu/amd.c
index e485825..12b9cff 100644
--- a/arch/x86/kernel/cpu/amd.c
+++ b/arch/x86/kernel/cpu/amd.c
@@ -466,7 +466,7 @@ static void __cpuinit init_amd(struct cpuinfo_x86 *c)
}
}
- if (c->x86 == 0x10 || c->x86 == 0x11)
+ if (c->x86 >= 0x10)
set_cpu_cap(c, X86_FEATURE_REP_GOOD);
/* get apicid instead of initial apic id from cpuid */
@@ -529,7 +529,7 @@ static void __cpuinit init_amd(struct cpuinfo_x86 *c)
num_cache_leaves = 3;
}
- if (c->x86 >= 0xf && c->x86 <= 0x11)
+ if (c->x86 >= 0xf)
set_cpu_cap(c, X86_FEATURE_K8);
if (cpu_has_xmm2) {
@@ -546,7 +546,7 @@ static void __cpuinit init_amd(struct cpuinfo_x86 *c)
fam10h_check_enable_mmcfg();
}
- if (c == &boot_cpu_data && c->x86 >= 0xf && c->x86 <= 0x11) {
+ if (c == &boot_cpu_data && c->x86 >= 0xf) {
unsigned long long tseg;
/*
^ permalink raw reply related [flat|nested] 6+ messages in thread
* Re: [PATCH] x86, AMD: Extend support to future families
2010-06-09 22:53 ` H. Peter Anvin
@ 2010-06-12 4:15 ` Borislav Petkov
2010-06-12 18:22 ` H. Peter Anvin
0 siblings, 1 reply; 6+ messages in thread
From: Borislav Petkov @ 2010-06-12 4:15 UTC (permalink / raw)
To: H. Peter Anvin; +Cc: Ingo Molnar, Thomas Gleixner, LKML, x86
From: "H. Peter Anvin" <hpa@zytor.com>
Date: Wed, Jun 09, 2010 at 06:53:12PM -0400
> On 06/02/2010 11:29 AM, Borislav Petkov wrote:
> > Extend support to future families, and in particular:
> >
> > * extend direct mapping split of Tseg SMM area.
> > * extend K8 flavored alternatives (NOPS).
> > * rep movs* prefix is fast in ucode.
> >
> > Signed-off-by: Borislav Petkov <borislav.petkov@amd.com>
>
> This doesn't reflect any currently shipping hardware, right?
Not yet. And I'm assuming you're driving at tagging it for -stable?
If yes, I think a stable tag makes sense since this way the distros
will pick it up more easily and we most definitely will need to do the
backport later otherwise.
Do you need another version with the stable tag resent or is it easier
for you to edit the commit message of the one you have already?
Thanks.
--
Regards/Gruss,
Boris.
Operating Systems Research Center
Advanced Micro Devices, Inc.
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [PATCH] x86, AMD: Extend support to future families
2010-06-12 4:15 ` Borislav Petkov
@ 2010-06-12 18:22 ` H. Peter Anvin
2010-06-13 6:52 ` Borislav Petkov
0 siblings, 1 reply; 6+ messages in thread
From: H. Peter Anvin @ 2010-06-12 18:22 UTC (permalink / raw)
To: Borislav Petkov; +Cc: Ingo Molnar, Thomas Gleixner, LKML, x86
On 06/11/2010 09:15 PM, Borislav Petkov wrote:
>
> Not yet. And I'm assuming you're driving at tagging it for -stable?
> If yes, I think a stable tag makes sense since this way the distros
> will pick it up more easily and we most definitely will need to do the
> backport later otherwise.
>
> Do you need another version with the stable tag resent or is it easier
> for you to edit the commit message of the one you have already?
>
No, I'm not -- Linus is being really snippy about wanting regressions
only this cycle, which this is not. Once .35 is out you can talk to
Greg about -stable.
-hpa
--
H. Peter Anvin, Intel Open Source Technology Center
I work for Intel. I don't speak on their behalf.
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [PATCH] x86, AMD: Extend support to future families
2010-06-12 18:22 ` H. Peter Anvin
@ 2010-06-13 6:52 ` Borislav Petkov
0 siblings, 0 replies; 6+ messages in thread
From: Borislav Petkov @ 2010-06-13 6:52 UTC (permalink / raw)
To: H. Peter Anvin; +Cc: Ingo Molnar, Thomas Gleixner, LKML, x86
From: "H. Peter Anvin" <hpa@zytor.com>
Date: Sat, Jun 12, 2010 at 02:22:09PM -0400
> On 06/11/2010 09:15 PM, Borislav Petkov wrote:
> >
> > Not yet. And I'm assuming you're driving at tagging it for -stable?
> > If yes, I think a stable tag makes sense since this way the distros
> > will pick it up more easily and we most definitely will need to do the
> > backport later otherwise.
> >
> > Do you need another version with the stable tag resent or is it easier
> > for you to edit the commit message of the one you have already?
> >
>
> No, I'm not -- Linus is being really snippy about wanting regressions
> only this cycle, which this is not.
Yeah, so I heard :)
> Once .35 is out you can talk to Greg about -stable.
Right, so this is clearly .36 merge window material - I just thought I
should get it out as early as possible so that it gets tested.
And by the way, how about a tag which says which kernel is the patch
aimed at so that maintainers know what should go where. I mean, with
those gazillion patches on lkml one doesn't always know which is
regression, which is a new feature but should go in earlier so that it
catches the next merge window etc? I.e., something like:
Aimed-at: 2.6.36+
or for regressions
Aimed-at: 2.6.35-rc3
and maybe even a bug info
Fixes: https://bugzilla.kernel.org/show_bug.cgi?id=....
I'm afraid this is starting to sound like Ingo's Impact: tag, at least
semantically, which didn't get accepted. Hmm, anyway, I'll try adding
such an information in later patches.
Thanks.
--
Regards/Gruss,
Boris.
Operating Systems Research Center
Advanced Micro Devices, Inc.
^ permalink raw reply [flat|nested] 6+ messages in thread
end of thread, other threads:[~2010-06-13 7:02 UTC | newest]
Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-06-02 18:29 [PATCH] x86, AMD: Extend support to future families Borislav Petkov
2010-06-09 22:53 ` H. Peter Anvin
2010-06-12 4:15 ` Borislav Petkov
2010-06-12 18:22 ` H. Peter Anvin
2010-06-13 6:52 ` Borislav Petkov
2010-06-10 0:10 ` [tip:x86/cpu] " tip-bot for Borislav Petkov
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).