1. 29 1月, 2009 9 次提交
    • I
      x86, apic: remove no_balance_irq and no_ioapic_check flags · 2e867b17
      Ingo Molnar 提交于
      These flags are completely unused. (the in-kernel IRQ balancer has
      been removed from the upstream kernel.)
      Signed-off-by: NIngo Molnar <mingo@elte.hu>
      2e867b17
    • I
      x86, apic: clean up check_apicid*() callbacks · d1d7cae8
      Ingo Molnar 提交于
      Clean up these methods - to make it clearer which function is
      used in which case.
      Signed-off-by: NIngo Molnar <mingo@elte.hu>
      d1d7cae8
    • I
      x86: clean up the APIC_DEST_LOGICAL logic · 0b06e734
      Ingo Molnar 提交于
      Impact: cleanup
      
      The bigsmp and es7000 subarchitectures un-defined APIC_DEST_LOGICAL in
      a rather nasty way by re-defining it to zero. That is infinitely
      fragile and makes it very hard to see what to code really does in
      a given context. The very same constant has different meanings and
      values - depending on which subarch is enabled.
      
      Untangle this mess by never undefining the constant, but instead
      propagating the right values into the genapic driver templates.
      Signed-off-by: NIngo Molnar <mingo@elte.hu>
      0b06e734
    • I
      x86: clean up esr_disable() methods · f6f52baf
      Ingo Molnar 提交于
      Impact: cleanup
      
      Most subarchitectures want to disable the APIC ESR (Error Status Register),
      because they generally have hardware hacks that wrap standard CPUs into
      a bigger system and hence the APIC bus is quite non-standard and weirdnesses
      (lockups) have been seen with ESR reporting.
      
      Remove the esr_disable macros and put the desired flag into each
      subarchitecture's genapic template directly.
      Signed-off-by: NIngo Molnar <mingo@elte.hu>
      f6f52baf
    • I
      x86, apic: clean up / remove TARGET_CPUS · fe402e1f
      Ingo Molnar 提交于
      Impact: cleanup
      
      use apic->target_cpus() directly instead of the TARGET_CPUS wrapper.
      Signed-off-by: NIngo Molnar <mingo@elte.hu>
      fe402e1f
    • I
      x86, apic: remove IRQ_DEST_MODE / IRQ_DELIVERY_MODE · 9b5bc8dc
      Ingo Molnar 提交于
      Remove the wrapper macros IRQ_DEST_MODE and IRQ_DELIVERY_MODE.
      
      The typical 32-bit and the 64-bit build all dereference via the genapic,
      so it's pointless to hide that indirection via these ugly macros.
      
      Furthermore, it also obscures subarchitecture details.
      
      So replace it with apic->irq_dest_mode / etc. accesses.
      Signed-off-by: NIngo Molnar <mingo@elte.hu>
      9b5bc8dc
    • I
      x86, genapic: rename int_delivery_mode, et. al. · f8987a10
      Ingo Molnar 提交于
      int_delivery_mode is supposed to mean 'interrupt delivery mode', but
      it's quite a misnomer as 'int' we usually think of as an integer type ...
      
      The standard naming for such attributes is 'irq' - so rename the following
      fields and macros:
      
       int_delivery_mode => irq_delivery_mode
       INT_DELIVERY_MODE => IRQ_DELIVERY_MODE
       int_dest_mode     => irq_dest_mode
       INT_DEST_MODE     => IRQ_DEST_MODE
      Signed-off-by: NIngo Molnar <mingo@elte.hu>
      f8987a10
    • I
      x86: clean up apic->apic_id_registered() methods · 7ed248da
      Ingo Molnar 提交于
      Impact: cleanup
      
      x86 subarchitectures each defined a "apic_id_registered()" method,
      which could be an inline function depending on which subarch we build
      for, and which was also the name of a genapic field.
      
      Untangle this namespace spaghetti by giving each of the instances
      a separate name.
      
      Also remove wrapper macro obfuscation.
      Signed-off-by: NIngo Molnar <mingo@elte.hu>
      7ed248da
    • I
      x86: rename 'genapic' to 'apic' · c8d46cf0
      Ingo Molnar 提交于
      Rename genapic-> to apic-> references because in a future chagne we'll
      open-code all the indirect calls (instead of obscuring them via macros),
      so we want this reference to be as short as possible.
      Signed-off-by: NIngo Molnar <mingo@elte.hu>
      c8d46cf0
  2. 17 12月, 2008 1 次提交
  3. 18 11月, 2008 1 次提交
  4. 23 10月, 2008 3 次提交
  5. 16 10月, 2008 1 次提交
    • Y
      x86: make 32bit support per_cpu vector · 497c9a19
      Yinghai Lu 提交于
      so we can merge io_apic_32.c and io_apic_64.c
      
      v2: Use cpu_online_map as target cpus for bigsmp, just like 64-bit is doing.
      
      Also remove some unused TARGET_CPUS macro.
      
      v3: need to check if desc is null in smp_irq_move_cleanup
      
      also migration needs to reset vector too, so copy __target_IO_APIC_irq
      from 64bit.
      
      (the duplication will go away once the two files are unified.)
      Signed-off-by: NYinghai Lu <yhlu.kernel@gmail.com>
      Signed-off-by: NIngo Molnar <mingo@elte.hu>
      497c9a19
  6. 23 7月, 2008 1 次提交
    • V
      x86: consolidate header guards · 77ef50a5
      Vegard Nossum 提交于
      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: NVegard Nossum <vegard.nossum@gmail.com>
      77ef50a5
  7. 17 4月, 2008 1 次提交
  8. 11 10月, 2007 1 次提交
  9. 03 5月, 2007 1 次提交
  10. 05 9月, 2005 1 次提交
  11. 24 6月, 2005 1 次提交
  12. 17 4月, 2005 1 次提交
    • L
      Linux-2.6.12-rc2 · 1da177e4
      Linus Torvalds 提交于
      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