Merge head 'upstream' of master.kernel.org:/pub/scm/linux/kernel/git/jgarzik/libata-dev
[pandora-kernel.git] / Documentation / x86_64 / boot-options.txt
1 AMD64 specific boot options
2
3 There are many others (usually documented in driver documentation), but
4 only the AMD64 specific ones are listed here.
5
6 Machine check
7
8    mce=off disable machine check
9
10    nomce (for compatibility with i386): same as mce=off
11
12    Everything else is in sysfs now.
13
14 APICs
15
16    apic          Use IO-APIC. Default
17
18    noapic        Don't use the IO-APIC.
19
20    disableapic   Don't use the local APIC
21
22    nolapic       Don't use the local APIC (alias for i386 compatibility)
23
24    pirq=...      See Documentation/i386/IO-APIC.txt
25
26    noapictimer   Don't set up the APIC timer
27
28    no_timer_check Don't check the IO-APIC timer. This can work around
29                  problems with incorrect timer initialization on some boards.
30
31 Early Console
32
33    syntax: earlyprintk=vga
34            earlyprintk=serial[,ttySn[,baudrate]]
35
36    The early console is useful when the kernel crashes before the
37    normal console is initialized. It is not enabled by
38    default because it has some cosmetic problems.
39    Append ,keep to not disable it when the real console takes over.
40    Only vga or serial at a time, not both.
41    Currently only ttyS0 and ttyS1 are supported.
42    Interaction with the standard serial driver is not very good.
43    The VGA output is eventually overwritten by the real console.
44
45 Timing
46
47   notsc
48   Don't use the CPU time stamp counter to read the wall time.
49   This can be used to work around timing problems on multiprocessor systems
50   with not properly synchronized CPUs.
51
52   report_lost_ticks
53   Report when timer interrupts are lost because some code turned off
54   interrupts for too long.
55
56   nmi_watchdog=NUMBER[,panic]
57   NUMBER can be:
58   0 don't use an NMI watchdog
59   1 use the IO-APIC timer for the NMI watchdog
60   2 use the local APIC for the NMI watchdog using a performance counter. Note
61   This will use one performance counter and the local APIC's performance
62   vector.
63   When panic is specified panic when an NMI watchdog timeout occurs.
64   This is useful when you use a panic=... timeout and need the box
65   quickly up again.
66
67   nohpet
68   Don't use the HPET timer.
69
70 Idle loop
71
72   idle=poll
73   Don't do power saving in the idle loop using HLT, but poll for rescheduling
74   event. This will make the CPUs eat a lot more power, but may be useful
75   to get slightly better performance in multiprocessor benchmarks. It also
76   makes some profiling using performance counters more accurate.
77   Please note that on systems with MONITOR/MWAIT support (like Intel EM64T
78   CPUs) this option has no performance advantage over the normal idle loop.
79   It may also interact badly with hyperthreading.
80
81 Rebooting
82
83    reboot=b[ios] | t[riple] | k[bd] [, [w]arm | [c]old]
84    bios   Use the CPU reboto vector for warm reset
85    warm   Don't set the cold reboot flag
86    cold   Set the cold reboot flag
87    triple Force a triple fault (init)
88    kbd    Use the keyboard controller. cold reset (default)
89
90    Using warm reset will be much faster especially on big memory
91    systems because the BIOS will not go through the memory check.
92    Disadvantage is that not all hardware will be completely reinitialized
93    on reboot so there may be boot problems on some systems.
94
95    reboot=force
96
97    Don't stop other CPUs on reboot. This can make reboot more reliable
98    in some cases.
99
100 Non Executable Mappings
101
102   noexec=on|off
103
104   on      Enable(default)
105   off     Disable
106
107 SMP
108
109   nosmp Only use a single CPU
110
111   maxcpus=NUMBER only use upto NUMBER CPUs
112
113   cpumask=MASK   only use cpus with bits set in mask
114
115 NUMA
116
117   numa=off      Only set up a single NUMA node spanning all memory.
118
119   numa=noacpi   Don't parse the SRAT table for NUMA setup
120
121   numa=fake=X   Fake X nodes and ignore NUMA setup of the actual machine.
122
123 ACPI
124
125   acpi=off      Don't enable ACPI
126   acpi=ht       Use ACPI boot table parsing, but don't enable ACPI
127                 interpreter
128   acpi=force    Force ACPI on (currently not needed)
129
130   acpi=strict   Disable out of spec ACPI workarounds.
131
132   acpi_sci={edge,level,high,low}  Set up ACPI SCI interrupt.
133
134   acpi=noirq    Don't route interrupts
135
136 PCI
137
138   pci=off       Don't use PCI
139   pci=conf1     Use conf1 access.
140   pci=conf2     Use conf2 access.
141   pci=rom       Assign ROMs.
142   pci=assign-busses    Assign busses
143   pci=irqmask=MASK             Set PCI interrupt mask to MASK
144   pci=lastbus=NUMBER           Scan upto NUMBER busses, no matter what the mptable says.
145   pci=noacpi            Don't use ACPI to set up PCI interrupt routing.
146
147 IOMMU
148
149  iommu=[size][,noagp][,off][,force][,noforce][,leak][,memaper[=order]][,merge]
150          [,forcesac][,fullflush][,nomerge][,noaperture]
151    size  set size of iommu (in bytes)
152    noagp don't initialize the AGP driver and use full aperture.
153    off   don't use the IOMMU
154    leak  turn on simple iommu leak tracing (only when CONFIG_IOMMU_LEAK is on)
155    memaper[=order] allocate an own aperture over RAM with size 32MB^order.
156    noforce don't force IOMMU usage. Default.
157    force  Force IOMMU.
158    merge  Do SG merging. Implies force (experimental)
159    nomerge Don't do SG merging.
160    forcesac For SAC mode for masks <40bits  (experimental)
161    fullflush Flush IOMMU on each allocation (default)
162    nofullflush Don't use IOMMU fullflush
163    allowed  overwrite iommu off workarounds for specific chipsets.
164    soft  Use software bounce buffering (default for Intel machines)
165    noaperture Don't touch the aperture for AGP.
166
167   swiotlb=pages[,force]
168
169   pages  Prereserve that many 128K pages for the software IO bounce buffering.
170   force  Force all IO through the software TLB.
171
172 Debugging
173
174   oops=panic Always panic on oopses. Default is to just kill the process,
175              but there is a small probability of deadlocking the machine.
176              This will also cause panics on machine check exceptions.
177              Useful together with panic=30 to trigger a reboot.
178
179   kstack=N   Print that many words from the kernel stack in oops dumps.
180
181 Misc
182
183   noreplacement  Don't replace instructions with more appropiate ones
184                  for the CPU. This may be useful on asymmetric MP systems
185                  where some CPU have less capabilities than the others.