From: Ingo Molnar <mingo@elte.hu>
To: Jan Beulich <JBeulich@novell.com>
Cc: tglx@linutronix.de, hpa@zytor.com,
Yinghai Lu <yinghai@kernel.org>,
linux-kernel@vger.kernel.org
Subject: Re: [PATCH] x86-64: make enabling of MMCFG on AMD Fam10 CPUs actually work
Date: Thu, 21 Jul 2011 09:16:38 +0200 [thread overview]
Message-ID: <20110721071638.GD9216@elte.hu> (raw)
In-Reply-To: <4E258A11020000780004E39B@nat28.tlf.novell.com>
* Jan Beulich <JBeulich@novell.com> wrote:
> Forcibly enabling the MMCFG space on AMD Fam10 CPUs cannot be expected
> to work, since with the firmware not being aware of the address range
> used, it cannot possibly reserve the space in E820 or ACPI resources.
> Hence we need to manually insert the range into the E820 table, and
> enable the range only when the insertion actually works without
> conflict.
>
> Adding the calls to the respective E820 handling functions additionally
> requires to deal with modpost's mismatch checking: The function doing
> those calls needs to be __init, and it is being made sure that it gets
> called (from its __cpuinit caller) only on the BSP, and through a stub
> (silencing the warning).
>
> Signed-off-by: Jan Beulich <jbeulich@novell.com>
> Cc: Yinghai Lu <yinghai@kernel.org>
>
> ---
> arch/x86/kernel/mmconf-fam10h_64.c | 22 +++++++++++++++++++---
> 1 file changed, 19 insertions(+), 3 deletions(-)
I agree with the patch (and please also add the second fix you
extracted from Yinghai's patch, as a second patch).
This changelog is missing scope analysis: what systems are affected
in practice (if any), were actual problems observed, if no problems
were observed then what are the potential problems that people should
look out for (and which this commit may fix), etc.
If none of that information is available then such a small blurb:
'This bug was found via code review and I'm not aware of any systems
that are affected currently - but some may exist.'
Will inform maintainers and other interested parties about the
practical background of the patch.
Thanks,
Ingo
prev parent reply other threads:[~2011-07-21 7:17 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-07-19 11:43 [PATCH] x86-64: make enabling of MMCFG on AMD Fam10 CPUs actually work Jan Beulich
2011-07-19 16:38 ` Yinghai Lu
2011-07-20 9:07 ` Jan Beulich
2011-07-21 7:16 ` Ingo Molnar [this message]
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=20110721071638.GD9216@elte.hu \
--to=mingo@elte.hu \
--cc=JBeulich@novell.com \
--cc=hpa@zytor.com \
--cc=linux-kernel@vger.kernel.org \
--cc=tglx@linutronix.de \
--cc=yinghai@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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox