public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* Inclusion of x86_64 memorize ioapic at bootup patch
@ 2006-01-03  4:46 Vivek Goyal
  2006-01-06  0:30 ` Yinghai Lu
  2006-01-06 23:48 ` Andi Kleen
  0 siblings, 2 replies; 26+ messages in thread
From: Vivek Goyal @ 2006-01-03  4:46 UTC (permalink / raw)
  To: Andi Kleen
  Cc: Eric W. Biederman, Fastboot mailing list,
	linux kernel mailing list, Morton Andrew Morton

Hi Andi,

Can you please include the following patch. This patch has already been pushed
by Andrew.

http://kernel.org/pub/linux/kernel/people/akpm/patches/2.6/2.6.15-rc5/2.6.15-rc5-mm3/broken-out/x86_64-io_apicc-memorize-at-bootup-where-the-i8259-is.patch

This patch is regarding remembering at boot up time where i8259 is connected
and restore the APIC settings back during kexec boot or kdump boot. This
enables getting timer interrupts in new kernel in legacy mode.

This patch is needed to make kexec and kdump work on some systems,
especially opteron boxes. Otherwise the second kernel does not receive
timer interrupts during early boot hence hangs.

I understand, that you are inclined towards remembering all the APIC states
and simply restore it back instead of putting hooks. This will work 
well for kexec but not for kdump because in kdump system can crash on 
non-boot cpu.

Restoring BIOS APIC state can make sure that BIOS designated boot cpu will 
always be able to see timer interrupts in legacy mode but same does not 
hold good if new kernel boots on some other cpu as is the case with kdump.

In case of kexec boot, we relocate to boot cpu but in case of kdump we
don't because it was suggested that in some extreme cases of crash, boot cpu
might not respond even to NMI and relocation to boot cpu will not be
possible.

Can you please re-consider this patch for inclusion.

Thanks
Vivek

^ permalink raw reply	[flat|nested] 26+ messages in thread
* RE: Inclusion of x86_64 memorize ioapic at bootup patch
@ 2006-01-07  0:35 Lu, Yinghai
  2006-01-07  1:14 ` Eric W. Biederman
  0 siblings, 1 reply; 26+ messages in thread
From: Lu, Yinghai @ 2006-01-07  0:35 UTC (permalink / raw)
  To: ebiederm
  Cc: Andi Kleen, Vivek Goyal, Fastboot mailing list,
	linux kernel mailing list, Morton Andrew Morton

Thanks. You don't need Etherboot with IB later....

How about the size of your first kernel and initrd? Are they in IDE
Flash?

YH

-----Original Message-----
From: ebiederm@xmission.com [mailto:ebiederm@xmission.com] 
Sent: Friday, January 06, 2006 4:30 PM
To: Lu, Yinghai
Cc: Andi Kleen; Vivek Goyal; Fastboot mailing list; linux kernel mailing
list; Morton Andrew Morton
Subject: Re: Inclusion of x86_64 memorize ioapic at bootup patch

Yinghai Lu <yinghai.lu@amd.com> writes:

> Eric,
>
> Do you try kexec with Nvidia ck804 based MB? it seems some one modify
> the mptable but not update the checksum ...

We've got a cluster using 2.6.14 booting over infiniband that
way.

Eric



^ permalink raw reply	[flat|nested] 26+ messages in thread
* RE: Inclusion of x86_64 memorize ioapic at bootup patch
@ 2006-01-07  1:32 Lu, Yinghai
  2006-01-07  2:32 ` yhlu
  0 siblings, 1 reply; 26+ messages in thread
From: Lu, Yinghai @ 2006-01-07  1:32 UTC (permalink / raw)
  To: ebiederm
  Cc: Andi Kleen, Vivek Goyal, Fastboot mailing list,
	linux kernel mailing list, Morton Andrew Morton

I tried to comment the checksum check, then it can boot well..., 
So it must be someone modify the range (add entries...) and do not
update the mptable correctly...

YH

-----Original Message-----
From: ebiederm@xmission.com [mailto:ebiederm@xmission.com] 
Sent: Friday, January 06, 2006 4:30 PM
To: Lu, Yinghai
Cc: Andi Kleen; Vivek Goyal; Fastboot mailing list; linux kernel mailing
list; Morton Andrew Morton
Subject: Re: Inclusion of x86_64 memorize ioapic at bootup patch

Yinghai Lu <yinghai.lu@amd.com> writes:

> Eric,
>
> Do you try kexec with Nvidia ck804 based MB? it seems some one modify
> the mptable but not update the checksum ...

We've got a cluster using 2.6.14 booting over infiniband that
way.

Eric



^ permalink raw reply	[flat|nested] 26+ messages in thread

end of thread, other threads:[~2006-01-07 21:35 UTC | newest]

Thread overview: 26+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-01-03  4:46 Inclusion of x86_64 memorize ioapic at bootup patch Vivek Goyal
2006-01-06  0:30 ` Yinghai Lu
2006-01-06  0:38   ` Andrew Morton
2006-01-06  4:50     ` Vivek Goyal
2006-01-06  8:02     ` Eric W. Biederman
2006-01-06 15:26       ` [LinuxBIOS] " Ronald G Minnich
2006-01-06 18:59       ` Andi Kleen
2006-01-06  8:14     ` [PATCH] i386 io_apic: Use correct index variable when computing the apic that is in ExtInt mode Eric W. Biederman
2006-01-06  8:20     ` [PATCH] x86_64 io_apic: memorize at bootup where the i8259 is Eric W. Biederman
2006-01-07  0:44       ` Yinghai Lu
2006-01-07  1:29         ` [PATCH] x86_64 io_apic: memorize at bootup where the i8259 is (typo fix) Eric W. Biederman
2006-01-06  8:24   ` Inclusion of x86_64 memorize ioapic at bootup patch Eric W. Biederman
2006-01-06 23:48 ` Andi Kleen
2006-01-07  0:00   ` Yinghai Lu
2006-01-07  0:29     ` Eric W. Biederman
  -- strict thread matches above, loose matches on Subject: below --
2006-01-07  0:35 Lu, Yinghai
2006-01-07  1:14 ` Eric W. Biederman
2006-01-07  1:32 Lu, Yinghai
2006-01-07  2:32 ` yhlu
2006-01-07  6:38   ` yhlu
2006-01-07  7:20     ` yhlu
2006-01-07  9:43       ` yhlu
2006-01-07 12:46         ` Eric W. Biederman
2006-01-07 19:36           ` yhlu
2006-01-07 19:44             ` Eric W. Biederman
2006-01-07 21:35               ` yhlu

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox