Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 86102
b: refs/heads/master
c: 208c70a
h: refs/heads/master
v: v3
  • Loading branch information
Alexey Starikovskiy authored and Len Brown committed Feb 14, 2008
1 parent fe6a3a3 commit 495d14f
Show file tree
Hide file tree
Showing 747 changed files with 11,057 additions and 22,405 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: e6364cd3a1a3e7c3e9a80bad15698afe6cc7ee75
refs/heads/master: 208c70a45624400fafd7511b96bc426bf01f8f5e
2 changes: 0 additions & 2 deletions trunk/Documentation/00-INDEX
Original file line number Diff line number Diff line change
Expand Up @@ -109,8 +109,6 @@ cpu-hotplug.txt
- document describing CPU hotplug support in the Linux kernel.
cpu-load.txt
- document describing how CPU load statistics are collected.
cpuidle/
- info on CPU_IDLE, CPU idle state management subsystem.
cpusets.txt
- documents the cpusets feature; assign CPUs and Mem to a set of tasks.
cputopology.txt
Expand Down
23 changes: 0 additions & 23 deletions trunk/Documentation/cpuidle/core.txt

This file was deleted.

31 changes: 0 additions & 31 deletions trunk/Documentation/cpuidle/driver.txt

This file was deleted.

29 changes: 0 additions & 29 deletions trunk/Documentation/cpuidle/governor.txt

This file was deleted.

79 changes: 0 additions & 79 deletions trunk/Documentation/cpuidle/sysfs.txt

This file was deleted.

32 changes: 15 additions & 17 deletions trunk/Documentation/i386/IO-APIC.txt
Original file line number Diff line number Diff line change
@@ -1,14 +1,12 @@
Most (all) Intel-MP compliant SMP boards have the so-called 'IO-APIC',
which is an enhanced interrupt controller. It enables us to route
hardware interrupts to multiple CPUs, or to CPU groups. Without an
IO-APIC, interrupts from hardware will be delivered only to the
CPU which boots the operating system (usually CPU#0).
which is an enhanced interrupt controller, it enables us to route
hardware interrupts to multiple CPUs, or to CPU groups.

Linux supports all variants of compliant SMP boards, including ones with
multiple IO-APICs. Multiple IO-APICs are used in high-end servers to
distribute IRQ load further.
multiple IO-APICs. (multiple IO-APICs are used in high-end servers to
distribute IRQ load further).

There are (a few) known breakages in certain older boards, such bugs are
There are (a few) known breakages in certain older boards, which bugs are
usually worked around by the kernel. If your MP-compliant SMP board does
not boot Linux, then consult the linux-smp mailing list archives first.

Expand All @@ -30,18 +28,18 @@ If your box boots fine with enabled IO-APIC IRQs, then your
hell:~>
<----------------------------

Some interrupts are still listed as 'XT PIC', but this is not a problem;
some interrupts are still listed as 'XT PIC', but this is not a problem,
none of those IRQ sources is performance-critical.


In the unlikely case that your board does not create a working mp-table,
in the unlikely case that your board does not create a working mp-table,
you can use the pirq= boot parameter to 'hand-construct' IRQ entries. This
is non-trivial though and cannot be automated. One sample /etc/lilo.conf
is nontrivial though and cannot be automated. One sample /etc/lilo.conf
entry:

append="pirq=15,11,10"

The actual numbers depend on your system, on your PCI cards and on their
the actual numbers depend on your system, on your PCI cards and on their
PCI slot position. Usually PCI slots are 'daisy chained' before they are
connected to the PCI chipset IRQ routing facility (the incoming PIRQ1-4
lines):
Expand All @@ -56,7 +54,7 @@ lines):
PIRQ1 ----| |- `----| |- `----| |- `----| |--------| |
`-' `-' `-' `-' `-'

Every PCI card emits a PCI IRQ, which can be INTA, INTB, INTC or INTD:
every PCI card emits a PCI IRQ, which can be INTA,INTB,INTC,INTD:

,-.
INTD--| |
Expand Down Expand Up @@ -97,21 +95,21 @@ card (IRQ11) in Slot3, and have Slot1 empty:
[value '0' is a generic 'placeholder', reserved for empty (or non-IRQ emitting)
slots.]

Generally, it's always possible to find out the correct pirq= settings, just
generally, it's always possible to find out the correct pirq= settings, just
permute all IRQ numbers properly ... it will take some time though. An
'incorrect' pirq line will cause the booting process to hang, or a device
won't function properly (e.g. if it's inserted as a module).
won't function properly (if it's inserted as eg. a module).

If you have 2 PCI buses, then you can use up to 8 pirq values, although such
If you have 2 PCI buses, then you can use up to 8 pirq values. Although such
boards tend to have a good configuration.

Be prepared that it might happen that you need some strange pirq line:

append="pirq=0,0,0,0,0,0,9,11"

Use smart trial-and-error techniques to find out the correct pirq line ...
use smart try-and-err techniques to find out the correct pirq line ...

Good luck and mail to linux-smp@vger.kernel.org or
good luck and mail to linux-smp@vger.kernel.org or
linux-kernel@vger.kernel.org if you have any problems that are not covered
by this document.

Expand Down
Loading

0 comments on commit 495d14f

Please sign in to comment.