)]}'
{
  "commit": "c528d8b32d130956b3c158394d854e948cfc3411",
  "tree": "e0e5ece9b4e42955baeed4be70dbe912c070f732",
  "parents": [
    "ba6579e27bb6308ebd03463092c75b4f8a904413"
  ],
  "author": {
    "name": "Andy Shevchenko",
    "email": "andriy.shevchenko@linux.intel.com",
    "time": "Wed Dec 10 20:29:25 2014 +0200"
  },
  "committer": {
    "name": "Thomas Gleixner",
    "email": "tglx@linutronix.de",
    "time": "Wed Dec 10 23:43:56 2014 +0100"
  },
  "message": "x86, ioapic: Add proper legacy interrupt check to mp_map_pin_to_irq()\n\nSince commit bfa644bfa9e3 (x86, irq: Convert IOAPIC to use hierarchy\nirqdomain interfaces) Intel MID platforms crashes on boot:\n\n Enabling APIC mode:  Flat.  Using 1 I/O APICs\n BUG: unable to handle kernel NULL pointer dereference at 00000018\n IP: [\u003cc107bdc6\u003e] __irq_domain_alloc_irqs+0xff/0x250\n\nThe reason is that mp_map_pin_to_irq() assumes blindly that any non\nPCI interrupt is legacy, but thats wrong for MID platforms as they\nhave no legacy interrupt support.\n\nalloc_irq_from_domain() and mp_init_irq_at_boot() have checks for\nthis, but mp_map_pin_to_irq() is lacking one.\n\nInstead of copying the same code another time, move the check to an\ninline function and use it everywhere.\n\n[ tglx: Massaged changelog ]\n\nFixes: bfa644bfa9e3 \u0027x86, irq: Convert IOAPIC to use hierarchy irqdomain interfaces\u0027\nSigned-off-by: Andy Shevchenko \u003candriy.shevchenko@linux.intel.com\u003e\nCc: Jiang Liu \u003cjiang.liu@linux.intel.com\u003e\nCc: Joerg Roedel \u003cjoro@8bytes.org\u003e\nCc: David Cohen \u003cdavid.a.cohen@linux.intel.com\u003e\nLink: http://lkml.kernel.org/r/1418236165-13961-1-git-send-email-andriy.shevchenko@linux.intel.com\nSigned-off-by: Thomas Gleixner \u003ctglx@linutronix.de\u003e\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "ed22b4cb6adc58cde0453af0db24b1401af72096",
      "old_mode": 33188,
      "old_path": "arch/x86/kernel/apic/io_apic.c",
      "new_id": "f60e06e499be1d227ba1826a4815ba0136949a3e",
      "new_mode": 33188,
      "new_path": "arch/x86/kernel/apic/io_apic.c"
    }
  ]
}
