Re: [PATCH] x86: update mptable v7

!MAILaRCHIVE_VOTE_RePLACE
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: Len Brown <lenb@...>
Cc: Ingo Molnar <mingo@...>, Thomas Gleixner <tglx@...>, H. Peter Anvin <hpa@...>, Andrew Morton <akpm@...>, Eric W. Biederman <ebiederm@...>, linux-kernel@vger.kernel.org <linux-kernel@...>
Date: Thursday, June 19, 2008 - 2:26 am

On Wed, Jun 18, 2008 at 10:20 PM, Len Brown <lenb@kernel.org> wrote:

if the system doesn't support mps, this patch will bail out, because
it can not find mptable


it will use irq from mptable that is updated according to acpi

when acpi irq set routing, and it will set some bits in pci config in
southbridge, and the irq routing is consistent between HW and irq
returned by acpi.
when first kernel is shutdown, it doesn't restore the bits about irq
routing in pci config. So if keep updated mptable has correct pin,
then device on second
kernel will work.


the patch doesn't change entries in mptable that pin < 16 and irq is
not for pci device...

and normal sci/acpi is using 9..., and even mptable even doesn't has that entry.
and there is no pci device share that irq with sci/acpi..., so it will
be put into updated mptable.
so next kernel will mask that.


for system that have 6 pcie slots and more, with full populated cards.
when boot with mptable, BIOS will use irq < 16 for all pci devices,
and several devices will share same irq.
but when acpi is enabled, irqs are spanned all over.

also when pci card with several pci bridges is plugged in, the mptable
is totally messed up, some slot will work, and some doesn't work.

YH
--
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
[PATCH] x86: update mptable, Yinghai Lu, (Tue May 6, 1:38 pm)
[PATCH] x86: update mptable v2, Yinghai Lu, (Wed May 7, 3:48 am)
[PATCH] x86: update mptable v3, Yinghai Lu, (Fri May 16, 10:32 pm)
[PATCH] x86: update mptable v4, Yinghai Lu, (Mon May 19, 3:35 pm)
[PATCH] x86: update mptable v5, Yinghai Lu, (Mon May 19, 3:52 pm)
[PATCH] x86: update mptable v6, Yinghai Lu, (Sun May 25, 7:00 pm)
[PATCH] x86: update mptable v7, Yinghai Lu, (Sun Jun 1, 4:17 pm)
Re: [PATCH] x86: update mptable v7, Len Brown, (Wed Jun 18, 6:18 pm)
Re: [PATCH] x86: update mptable v7, Yinghai Lu, (Wed Jun 18, 6:32 pm)
Re: [PATCH] x86: update mptable v7, Len Brown, (Wed Jun 18, 8:33 pm)
Re: [PATCH] x86: update mptable v7, Yinghai Lu, (Wed Jun 18, 8:49 pm)
Re: [PATCH] x86: update mptable v7, Len Brown, (Thu Jun 19, 1:20 am)
Re: [PATCH] x86: update mptable v7, Yinghai Lu, (Thu Jun 19, 2:26 am)
Re: [PATCH] x86: update mptable v7, H. Peter Anvin, (Thu Jun 19, 2:28 am)
Re: [PATCH] x86: update mptable v7, Yinghai Lu, (Thu Jun 19, 2:35 am)
Re: [PATCH] x86: update mptable v7, Eric W. Biederman, (Thu Jun 19, 12:32 am)
Re: [PATCH] x86: update mptable v7, Len Brown, (Thu Jun 19, 1:27 am)
Re: [PATCH] x86: update mptable v7, Eric W. Biederman, (Thu Jun 19, 2:37 am)
Re: [PATCH] x86: update mptable v7, Yinghai Lu, (Thu Jun 19, 3:31 am)
Re: [PATCH] x86: update mptable v7, Len Brown, (Thu Jun 19, 2:16 pm)
Re: [PATCH] x86: update mptable v7, Ingo Molnar, (Fri Jun 20, 2:47 am)
Re: [PATCH] x86: update mptable v7, Andi Kleen, (Fri Jun 20, 5:12 am)
Re: [PATCH] x86: update mptable v7, Yinghai Lu, (Fri Jun 20, 3:20 am)
Re: [PATCH] x86: update mptable v7, H. Peter Anvin, (Thu Jun 19, 1:09 am)
Re: [PATCH] x86: update mptable v7, Yinghai Lu, (Thu Jun 19, 1:11 am)
[PATCH] x86: update mptable fix with no ioapic, Yinghai Lu, (Wed Jun 18, 5:32 pm)
[PATCH] x86: update mptable fix with no ioapic v2, Yinghai Lu, (Wed Jun 18, 8:29 pm)
Re: [PATCH] x86: update mptable fix with no ioapic v2, Ingo Molnar, (Thu Jun 19, 8:13 am)
[PATCH] x86: let MPS support selectable, Yinghai Lu, (Thu Jun 19, 3:18 am)
Re: [PATCH] x86: let MPS support selectable, Maciej W. Rozycki, (Thu Jun 19, 11:10 am)
Re: [PATCH] x86: let MPS support selectable, Yinghai Lu, (Thu Jun 19, 1:39 pm)
Re: [PATCH] x86: let MPS support selectable, Len Brown, (Thu Jun 19, 2:03 pm)
Re: [PATCH] x86: let MPS support selectable, Maciej W. Rozycki, (Thu Jun 19, 2:48 pm)
Re: [PATCH] x86: let MPS support selectable, Ingo Molnar, (Thu Jun 26, 5:31 am)
Re: [PATCH] x86: let MPS support selectable, Ingo Molnar, (Thu Jun 19, 8:13 am)
Re: [PATCH] x86: let MPS support selectable, Ingo Molnar, (Thu Jun 19, 8:49 am)
[PATCH] x86: update mptable v7 - fix, Yinghai Lu, (Sun Jun 8, 10:53 pm)
Re: [PATCH] x86: update mptable v7 - fix, Ingo Molnar, (Mon Jun 9, 6:13 am)
Re: [PATCH] x86: update mptable v7 - fix, Yinghai Lu, (Mon Jun 9, 1:51 pm)
Re: [PATCH] x86: update mptable v7 - fix, Ingo Molnar, (Mon Jun 9, 3:09 pm)
Re: [PATCH] x86: update mptable v7 - fix, Maciej W. Rozycki, (Mon Jun 9, 3:49 pm)
Re: [PATCH] x86: update mptable v7 - fix, Yinghai Lu, (Mon Jun 9, 3:38 pm)
Re: [PATCH] x86: update mptable v7 - fix, H. Peter Anvin, (Mon Jun 9, 3:46 pm)
Re: [PATCH] x86: update mptable v7 - fix, Maciej W. Rozycki, (Mon Jun 9, 2:11 pm)
Re: [PATCH] x86: update mptable v3, Ingo Molnar, (Mon May 19, 11:46 am)
[PATCH] x86: fixed mtrr change WP to WB, Yinghai Lu, (Tue May 6, 1:41 pm)
Re: [PATCH] x86: fixed mtrr change WP to WB, H. Peter Anvin, (Tue May 6, 1:48 pm)
Re: [PATCH] x86: fixed mtrr change WP to WB, Yinghai Lu, (Tue May 6, 2:24 pm)
Re: [PATCH] x86: fixed mtrr change WP to WB, H. Peter Anvin, (Tue May 6, 2:31 pm)
Re: [PATCH] x86: fixed mtrr change WP to WB, Yinghai Lu, (Tue May 6, 2:34 pm)
Re: [PATCH] x86: fixed mtrr change WP to WB, H. Peter Anvin, (Tue May 6, 2:43 pm)
Re: [PATCH] x86: fixed mtrr change WP to WB, Yinghai Lu, (Tue May 6, 3:05 pm)
Re: [PATCH] x86: fixed mtrr change WP to WB, H. Peter Anvin, (Tue May 6, 3:08 pm)
Re: [PATCH] x86: fixed mtrr change WP to WB, Yinghai Lu, (Tue May 6, 3:15 pm)