Re: [tip:x86/platform] x86/platform: Remove incorrect error messagein x86_default_fixup_cpu_id()

From: Borislav Petkov
Date: Tue Feb 28 2012 - 10:28:09 EST


On Mon, Feb 27, 2012 at 04:07:33AM -0800, tip-bot for Andreas Herrmann wrote:
> Commit-ID: d7dedbe3694bbf97b4e3409e1fa52d97a3b9f028
> Gitweb: http://git.kernel.org/tip/d7dedbe3694bbf97b4e3409e1fa52d97a3b9f028
> Author: Andreas Herrmann <andreas.herrmann3@xxxxxxx>
> AuthorDate: Fri, 24 Feb 2012 16:31:27 +0100
> Committer: Ingo Molnar <mingo@xxxxxxx>
> CommitDate: Mon, 27 Feb 2012 10:35:47 +0100
>
> x86/platform: Remove incorrect error message in x86_default_fixup_cpu_id()
>
> It's only called from amd.c:srat_detect_node(). The introduced
> condition for calling the fixup code is true for all AMD
> multi-node processors, e.g. Magny-Cours and Interlagos. There we
> have 2 NUMA nodes on one socket. Thus there are cores having
> different numa-node-id but with equal phys_proc_id.
>
> There is no point to print error messages in such a situation.
>
> The confusing/misleading error message was introduced with
> commit 64be4c1c2428e148de6081af235e2418e6a66dda (x86: Add
> x86_init platform override to fix up NUMA core numbering).
>
> Change the default fixup function (remove the error message),
> move the Numascale-specific condition for calling the fixup into
> the fixup-function itself and slightly adapt the comment.
>
> Signed-off-by: Andreas Herrmann <andreas.herrmann3@xxxxxxx>
> Reviewed-by: Daniel J Blueman <daniel@xxxxxxxxxxxxxxxxxx>
> Cc: Borislav Petkov <bp@xxxxxxxxx>
> Cc: Borislav Petkov <borislav.petkov@xxxxxxx>
> Cc: Steffen Persvold <sp@xxxxxxxxxxxxx>
> Link: http://lkml.kernel.org/r/20120224153127.GD28921@xxxxxxxxxxxxxxxx
> Signed-off-by: Ingo Molnar <mingo@xxxxxxx>

Maybe this one should be queued for x86/urgent instead and should go to
Linus soonish since it cures an issue which came in during the 3.3 merge
window with 64be4c1c2428e148de6081af235e2418e6a66dda?

Thanks.

--
Regards/Gruss,
Boris.

Advanced Micro Devices GmbH
Einsteinring 24, 85609 Dornach
GM: Alberto Bozzo
Reg: Dornach, Landkreis Muenchen
HRB Nr. 43632 WEEE Registernr: 129 19551
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/