public inbox for linux-acpi@vger.kernel.org
 help / color / mirror / Atom feed
From: Len Brown <lenb@kernel.org>
To: Yinghai Lu <yinghai@kernel.org>
Cc: linux-acpi@vger.kernel.org
Subject: Re: why kexec (was Re: [PATCH 2/2] ACPI: PCI Interrupt Links -- disable when unused)
Date: Fri, 09 Jan 2009 05:30:15 -0500 (EST)	[thread overview]
Message-ID: <alpine.LFD.2.00.0901090520450.4091@localhost.localdomain> (raw)
In-Reply-To: <86802c440901082324g50138f71tcd705b909205be6e@mail.gmail.com>



> On Thu, Jan 8, 2009 at 10:55 PM, Len Brown <lenb@kernel.org> wrote:
> >> >> maybe could have one switch in /proc so could not disable that for
> >> >> some kexec path...
> >> >
> >> > I fail to comprehend the benefits of kexec,
> >> > and the requirements that kexec puts on the kernel, other than:
> >> >
> >> > # CONFIG_KEXEC is not set
> >> >
> >>
> >> for me: it is a tools that i could use to make sure root-cause is in FW, and BIOS guys will not kick back the ball to os team.
> >> after modifying table or hw reg in first kernel, and kexec even stock kernel, everything will work well.
> >
> > For ACPI, we already have the ability to override the BIOS tables
> > upon the 1st boot.
> >
> > I don't know which BIOS guys you refer to,
> > but when we find a BIOS bug and have access to
> > the associated BIOS developer, we've never needed
> > to do such a demonstration to convince them they have a bug.
> 
> Your BIOS developer must have enough time or have bunch of BIOS engineers.

Reasonable engineers do not need their own bugs
handed to them on a silver platter.

> > kexec seems like a science project that has a chance of working
> > only under extremely controlled conditions.
> > I have no problem with that, as long as it is not built into my kernel.
> 
> could reduce boot time.

Effort would be better spent on reducing boot time w/ kexec.

> or some system has problem with reset...
> 
> or linuxbios + tinykernel to kexec final production kernel.
> here linuxbios only init ram and basic pci resource allocation ...

My understanding is that the linuxbios people realized
that creating a BIOS that boots Linux (tiny or not)
only to then boot Linux again, was sort of subgenius.
So they re-named linuxbios to be coreboot and now
they talk about loading a "payload"....

> > But say kexec is useful to somebody out there -- what are
> > the requirements that kexec puts on the kernel?
> 
> the support got into the mainline kernel several years ago... from 2.6.16?

I'm afraid I'm not being clear.
This conversation started when you suggested that we should
put a hook in to ask ACPI to manipulate Link state
for the benefit of kexec.

My question is, what else does kexec need to properly
manage the state of the sytem?

I don't think that question has an answer.
I don't think it will ever have an answer.
I think that kexec is a viable concept only
under conditions I don't care about.

-Len



      reply	other threads:[~2009-01-09 10:30 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-12-19  8:22 _DIS ACPI PCI Interrupt Links Len Brown
2008-12-19  8:22 ` [PATCH 1/2] ACPI: update pci_link debug messages Len Brown
2008-12-19  8:22   ` [PATCH 2/2] ACPI: PCI Interrupt Links -- disable when unused Len Brown
2008-12-19  9:10     ` Yinghai Lu
2008-12-19  9:33       ` Len Brown
2008-12-19 11:57         ` Yinghai Lu
2008-12-19 18:39           ` Len Brown
2008-12-19 20:21             ` Yinghai Lu
2009-01-09  6:55               ` why kexec (was Re: [PATCH 2/2] ACPI: PCI Interrupt Links -- disable when unused) Len Brown
2009-01-09  7:24                 ` Yinghai Lu
2009-01-09 10:30                   ` Len Brown [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=alpine.LFD.2.00.0901090520450.4091@localhost.localdomain \
    --to=lenb@kernel.org \
    --cc=linux-acpi@vger.kernel.org \
    --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