1. 07 Nov, 2015 1 commit
    • Vitaly Kuznetsov's avatar
      x86/irq: Probe for PIC presence before allocating descs for legacy IRQs · 8c058b0b
      Vitaly Kuznetsov authored
      Commit d32932d0 ("x86/irq: Convert IOAPIC to use hierarchical irqdomain
      interfaces") brought a regression for Hyper-V Gen2 instances. These
      instances don't have i8259 legacy PIC but they use legacy IRQs for serial
      port, rtc, and acpi. With this commit included we end up with these IRQs
      not initialized. Earlier, there was a special workaround for legacy IRQs
      in mp_map_pin_to_irq() doing mp_irqdomain_map() without looking at
      nr_legacy_irqs() and now we fail in __irq_domain_alloc_irqs() when
      irq_domain_alloc_descs() returns -EEXIST.
      
      The essence of the issue seems to be that early_irq_init() calls
      arch_probe_nr_irqs() to figure out the number of legacy IRQs before
      we probe for i8259 and gets 16. Later when init_8259A() is called we switch
      to NULL legacy PIC and nr_legacy_irqs() starts to return 0 but we already
      have 16 descs allocated.
      
      Solve the issue by separating i8259 probe from init and calling it in
      arch_probe_nr_irqs() before we actually use nr_legacy_irqs() information.
      
      Fixes: d32932d0
      
       ("x86/irq: Convert IOAPIC to use hierarchical irqdomain interfaces")
      Signed-off-by: default avatarVitaly Kuznetsov <vkuznets@redhat.com>
      Cc: Jiang Liu <jiang.liu@linux.intel.com>
      Cc: K. Y. Srinivasan <kys@microsoft.com>
      Cc: stable@vger.kernel.org
      Link: http://lkml.kernel.org/r/1446543614-3621-1-git-send-email-vkuznets@redhat.com
      
      Signed-off-by: default avatarThomas Gleixner <tglx@linutronix.de>
      8c058b0b
  2. 21 Jun, 2014 1 commit
  3. 12 Oct, 2010 1 commit
  4. 20 Feb, 2010 2 commits
  5. 16 Feb, 2010 1 commit
  6. 10 Apr, 2009 1 commit
  7. 22 Feb, 2009 1 commit
    • Ingo Molnar's avatar
      x86: refactor x86_quirks support · 8e6dafd6
      Ingo Molnar authored
      
      Impact: cleanup
      
      Make x86_quirks support more transparent. The highlevel
      methods are now named:
      
        extern void x86_quirk_pre_intr_init(void);
        extern void x86_quirk_intr_init(void);
      
        extern void x86_quirk_trap_init(void);
      
        extern void x86_quirk_pre_time_init(void);
        extern void x86_quirk_time_init(void);
      
      This makes it clear that if some platform extension has to
      do something here that it is considered ... weird, and is
      discouraged.
      
      Also remove arch_hooks.h and move it into setup.h (and other
      header files where appropriate).
      Signed-off-by: default avatarIngo Molnar <mingo@elte.hu>
      8e6dafd6
  8. 23 Oct, 2008 2 commits
  9. 22 Jul, 2008 1 commit
    • Vegard Nossum's avatar
      x86: consolidate header guards · 77ef50a5
      Vegard Nossum authored
      
      This patch is the result of an automatic script that consolidates the
      format of all the headers in include/asm-x86/.
      
      The format:
      
      1. No leading underscore. Names with leading underscores are reserved.
      2. Pathname components are separated by two underscores. So we can
         distinguish between mm_types.h and mm/types.h.
      3. Everything except letters and numbers are turned into single
         underscores.
      Signed-off-by: default avatarVegard Nossum <vegard.nossum@gmail.com>
      77ef50a5
  10. 12 Jul, 2008 1 commit
  11. 24 May, 2008 2 commits
    • Pavel Machek's avatar
      x86: automatical unification of i8259.c · 21fd5132
      Pavel Machek authored
      
      Make conversion of i8259 very mechanical -- i8259 was generated by
       diff -D, with too different parts left in i8259_32 and
      i8259_64.c. Only "by hand" changes were removal of #ifdef from middle
      of the comment (prevented compilation) and removal of one static to
      allow splitting into files.
      
      Of course, it will need some cleanups now, and those will follow.
      Signed-of-by: default avatarPavel Machek <pavel@suse.cz>
      21fd5132
    • Pavel Machek's avatar
      x86: automatical unification of i8259.c · 40bd2174
      Pavel Machek authored
      Make conversion of i8259 very mechanical -- i8259 was generated by
      40bd2174
  12. 17 Apr, 2008 2 commits
  13. 30 Jan, 2008 2 commits
  14. 11 Oct, 2007 1 commit
  15. 16 Apr, 2005 1 commit
    • Linus Torvalds's avatar
      Linux-2.6.12-rc2 · 1da177e4
      Linus Torvalds authored
      Initial git repository build. I'm not bothering with the full history,
      even though we have it. We can create a separate "historical" git
      archive of that later if we want to, and in the meantime it's about
      3.2GB when imported into git - space that would just make the early
      git days unnecessarily complicated, when we don't have a lot of good
      infrastructure for it.
      
      Let it rip!
      1da177e4