mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Len Brown <lenb@kernel.org>
To: Yinghai Lu <yhlu.kernel@gmail.com>
Cc: "Eric W. Biederman" <ebiederm@xmission.com>,
	Ingo Molnar <mingo@elte.hu>, Thomas Gleixner <tglx@linutronix.de>,
	"H. Peter Anvin" <hpa@zytor.com>,
	Andrew Morton <akpm@linux-foundation.org>,
	"linux-kernel@vger.kernel.org" <linux-kernel@vger.kernel.org>
Subject: Re: [PATCH] x86: update mptable v7
Date: Thu, 19 Jun 2008 14:16:36 -0400 (EDT)	[thread overview]
Message-ID: <alpine.LFD.1.10.0806191412100.3040@localhost.localdomain> (raw)
In-Reply-To: <86802c440806190031q17049054md2a790224d30d29@mail.gmail.com>



NAK on this entire direction.

> >>> >>> > Is this an effort to boot an ACPI-mode kernel,
> >>> >>> > and then kexec a non-ACPI kernel?
> >>> >>>
> >>> >>> Yes,
> >>> >>
> >>> >> Why is this feature needed?
> >>> >> There are a number of ways that the resulting kernel may fail,
> >>> >> all platform specific.
> >>> >
> >>> > other os still doesn't have update acpi irq routing support. but has
> >>> > broken mptable.
> >>>
> >>> Which is at least in part a reason to go back to the BIOS manufacturer
> >>> and get them to fix their table.
> >>
> >> Who says it is broken?
> >
> > In the common case if not in general the MP table and the ACPI
> > version of the same table, provide the same data in slight different
> > formats.
> >
> >>> I can see a warning coming from the kernel if these two tables are
> >> inconsistent
> >>> though.
> >>
> >> Again, there may not *be* an MPS table, and if there is but the
> >> interrupt links are programmable, the MPS table may have very little
> >> in common with the state of the machine in ACPI mode.
> >
> > That I will believe.
> >
> >> I'm sorry, kexec continues to sound like science fiction to me.
> >> I don't understand why scribbling on upstream Linux in the name
> >> of science fiction makes any sense.
> >>
> >> I just don't get it.
> >
> > In the normal kexec case not the kexec on panic (aka kdump) we should
> > have shutdown ACPI on the way down.  So the machine won't be running
> > in ACPI mode.  I assume ACPI supports that.
> >
> > What YH is doing does sound potentially dangerous.  If you can indeed compare
> > the two tables and in fact see they are inconsistent.  That is a good case
> > for printing a warning message.  YH clearly started this because in his
> > testing the MP table was broken and he had an older Enterprise kernel to run
> > that had unusable ACPI support.  That however is a BIOS bug.  Pushing back
> > on BIOS bugs and making them easy to find is always a good deal.  Silently
> > fixing them (not just working around them) seems unprecedented.
> 
> the patch did print out the old and updated mptable.
> 
> and that feature is enabled via "update_mptable" command line.
> 
> 
> also it is useful for kexec from acpi kernel to no acpi kernel on MB
> with nvidia chipset with AMI BIOS.
> becuase irq routing is different from mptable and acpi.
> 
> amd8111/amd8131 chipset with AMI bios has same irq routing from
> mptable and acpi.
> 
> Phonix BIOS, has one setup option APIC/PIC, and if select APIC, then
> irq routing from mptable and acpi is the same with
> nvidia chipset.

So you know this can't NEVER be reliable, yet you continue to push for 
upstream changes that carry risk for all systems that DO work.

Please clue me into the use model that justifies risking a single line of 
Linux code for this effort.

-Len


  reply	other threads:[~2008-06-19 18:17 UTC|newest]

Thread overview: 65+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <200805041823.57198.yhlu.kernel@gmail.com>
2008-05-06 17:38 ` [PATCH] x86: update mptable Yinghai Lu
2008-05-06 17:41   ` [PATCH] x86: fixed mtrr change WP to WB Yinghai Lu
2008-05-06 17:48     ` H. Peter Anvin
2008-05-06 18:24       ` Yinghai Lu
2008-05-06 18:31         ` H. Peter Anvin
2008-05-06 18:34           ` Yinghai Lu
2008-05-06 18:43             ` H. Peter Anvin
2008-05-06 19:05               ` Yinghai Lu
2008-05-06 19:08                 ` H. Peter Anvin
2008-05-06 19:15                   ` Yinghai Lu
2008-05-07  7:48   ` [PATCH] x86: update mptable v2 Yinghai Lu
2008-05-17  2:32     ` [PATCH] x86: update mptable v3 Yinghai Lu
2008-05-19 15:46       ` Ingo Molnar
2008-05-19 19:35       ` [PATCH] x86: update mptable v4 Yinghai Lu
2008-05-19 19:52         ` [PATCH] x86: update mptable v5 Yinghai Lu
2008-05-25 23:00           ` [PATCH] x86: update mptable v6 Yinghai Lu
2008-06-01 20:17             ` [PATCH] x86: update mptable v7 Yinghai Lu
2008-06-09  2:53               ` [PATCH] x86: update mptable v7 - fix Yinghai Lu
2008-06-09 10:13                 ` Ingo Molnar
2008-06-09 17:51                   ` Yinghai Lu
2008-06-09 18:11                     ` Maciej W. Rozycki
2008-06-09 19:09                     ` Ingo Molnar
2008-06-09 19:38                       ` Yinghai Lu
2008-06-09 19:46                         ` H. Peter Anvin
2008-06-09 19:49                       ` Maciej W. Rozycki
2008-06-18 21:32               ` [PATCH] x86: update mptable fix with no ioapic Yinghai Lu
2008-06-19  0:29                 ` [PATCH] x86: update mptable fix with no ioapic v2 Yinghai Lu
2008-06-19  7:18                   ` [PATCH] x86: let MPS support selectable Yinghai Lu
2008-06-19 12:13                     ` Ingo Molnar
2008-06-19 12:49                       ` Ingo Molnar
2008-06-19 15:10                     ` Maciej W. Rozycki
2008-06-19 17:39                       ` Yinghai Lu
2008-06-19 18:03                         ` Len Brown
2008-06-19 18:48                           ` Maciej W. Rozycki
2008-06-26  9:31                             ` Ingo Molnar
     [not found]                     ` <200806191213.10312.yhlu.kernel@gmail.com>
2008-06-19 19:15                       ` [PATCH] x86: fix compiling when CONFIG_X86_MPPARSE is not set Yinghai Lu
2008-06-20 14:42                         ` [PATCH] x86: check command line " Yinghai Lu
2008-06-20 15:01                           ` Ingo Molnar
2008-06-20 15:04                             ` Yinghai Lu
2008-06-20 15:36                             ` Maciej W. Rozycki
2008-06-20 23:11                           ` [PATCH] x86: check command line when CONFIG_X86_MPPARSE is not set v2 Yinghai Lu
2008-06-21  8:14                             ` [PATCH] x86: clean up init_amd() Yinghai Lu
2008-06-24 12:12                           ` [PATCH] x86: check command line when CONFIG_X86_MPPARSE is not set Pavel Machek
2008-06-26  8:23                             ` Yinghai Lu
     [not found]                       ` <200806200733.31477.yhlu.kernel@gmail.com>
2008-06-20 15:03                         ` [PATCH] x86: simplify x86_mpparse dependency check Ingo Molnar
2008-06-20 15:31                         ` Maciej W. Rozycki
2008-06-19 12:13                   ` [PATCH] x86: update mptable fix with no ioapic v2 Ingo Molnar
2008-06-18 22:18               ` [PATCH] x86: update mptable v7 Len Brown
2008-06-18 22:32                 ` Yinghai Lu
2008-06-19  0:33                   ` Len Brown
2008-06-19  0:49                     ` Yinghai Lu
2008-06-19  4:32                       ` Eric W. Biederman
2008-06-19  5:09                         ` H. Peter Anvin
2008-06-19  5:11                         ` Yinghai Lu
2008-06-19  5:27                         ` Len Brown
2008-06-19  6:37                           ` Eric W. Biederman
2008-06-19  7:31                             ` Yinghai Lu
2008-06-19 18:16                               ` Len Brown [this message]
2008-06-20  6:47                                 ` Ingo Molnar
2008-06-20  7:20                                   ` Yinghai Lu
2008-06-20  9:12                                   ` Andi Kleen
2008-06-19  5:20                       ` Len Brown
2008-06-19  6:26                         ` Yinghai Lu
2008-06-19  6:28                           ` H. Peter Anvin
2008-06-19  6:35                             ` Yinghai Lu

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=alpine.LFD.1.10.0806191412100.3040@localhost.localdomain \
    --to=lenb@kernel.org \
    --cc=akpm@linux-foundation.org \
    --cc=ebiederm@xmission.com \
    --cc=hpa@zytor.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=mingo@elte.hu \
    --cc=tglx@linutronix.de \
    --cc=yhlu.kernel@gmail.com \
    /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

Powered by JetHome