Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 145610
b: refs/heads/master
c: 03ea815
h: refs/heads/master
v: v3
  • Loading branch information
Weidong Han authored and Ingo Molnar committed Apr 19, 2009
1 parent 1cc652f commit 94a5c6e
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 1 deletion.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 937582382c71b75b29fbb92615629494e1a05ac0
refs/heads/master: 03ea81550676296d94596e4337c771c6ba29f542
3 changes: 3 additions & 0 deletions trunk/Documentation/kernel-parameters.txt
Original file line number Diff line number Diff line change
Expand Up @@ -1533,6 +1533,9 @@ and is between 256 and 4096 characters. It is defined in the file
noinitrd [RAM] Tells the kernel not to load any configured
initial RAM disk.

nointremap [X86-64, Intel-IOMMU] Do not enable interrupt
remapping.

nointroute [IA-64]

nojitter [IA64] Disables jitter checking for ITC timers.
Expand Down
11 changes: 11 additions & 0 deletions trunk/drivers/pci/intr_remapping.c
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,14 @@ static struct ioapic_scope ir_ioapic[MAX_IO_APICS];
static int ir_ioapic_num;
int intr_remapping_enabled;

static int disable_intremap;
static __init int setup_nointremap(char *str)
{
disable_intremap = 1;
return 0;
}
early_param("nointremap", setup_nointremap);

struct irq_2_iommu {
struct intel_iommu *iommu;
u16 irte_index;
Expand Down Expand Up @@ -506,6 +514,9 @@ int __init intr_remapping_supported(void)
{
struct dmar_drhd_unit *drhd;

if (disable_intremap)
return 0;

for_each_drhd_unit(drhd) {
struct intel_iommu *iommu = drhd->iommu;

Expand Down

0 comments on commit 94a5c6e

Please sign in to comment.