1. 18 2月, 2009 1 次提交
  2. 10 2月, 2009 2 次提交
  3. 09 2月, 2009 6 次提交
    • Y
      acpi/x86: introduce __apci_map_table, v4 · 7d97277b
      Yinghai Lu 提交于
      to prevent wrongly overwriting fixmap that still want to use.
      
      ACPI used to rely on low mappings being all linearly mapped and
      grew a habit: it never really unmapped certain kinds of tables
      after use.
      
      This can cause problems - for example the hypothetical case
      when some spurious access still references it.
      
      v2: remove prev_map and prev_size in __apci_map_table
      v3: let acpi_os_unmap_memory() call early_iounmap too, so remove extral calling to
      early_acpi_os_unmap_memory
      v4: fix typo in one acpi_get_table_with_size calling
      Signed-off-by: NYinghai Lu <yhlu.kernel@gmail.com>
      Acked-by: NLen Brown <len.brown@intel.com>
      Signed-off-by: NIngo Molnar <mingo@elte.hu>
      7d97277b
    • J
      acpi: remove final __acpi_map_table mapping before setting acpi_gbl_permanent_mmap · 05876f88
      Jeremy Fitzhardinge 提交于
      On x86, __acpi_map_table uses early_ioremap() to create the mapping,
      replacing the previous mapping with a new one.  Once enough of the
      kernel is up an running it switches to using normal ioremap().  At
      that point, we need to clean up the final mapping to avoid a warning
      from the early_ioremap subsystem.
      
      This can be removed after all the instances in the ACPI code are fixed
      that rely on early-ioremap's implicit overmapping of previously
      mapped tables.
      Signed-off-by: NJeremy Fitzhardinge <jeremy.fitzhardinge@citrix.com>
      Acked-by: NLen Brown <len.brown@intel.com>
      Signed-off-by: NIngo Molnar <mingo@elte.hu>
      05876f88
    • J
      x86: always explicitly map acpi memory · eecb9a69
      Jeremy Fitzhardinge 提交于
      Always map acpi tables, rather than assuming we can use the normal
      linear mapping to access the acpi tables.  This is necessary in a
      virtual environment where the linear mappings are to pseudo-physical
      memory, but the acpi tables exist at a real physical address.  It
      doesn't hurt to map in the normal non-virtual case, so just do it
      unconditionally.
      Signed-off-by: NJeremy Fitzhardinge <jeremy.fitzhardinge@citrix.com>
      Acked-by: NLen Brown <len.brown@intel.com>
      Signed-off-by: NIngo Molnar <mingo@elte.hu>
      eecb9a69
    • J
      x86: use early_ioremap in __acpi_map_table · 1c14fa49
      Jeremy Fitzhardinge 提交于
      __acpi_map_table() effectively reimplements early_ioremap().  Rather
      than have that duplication, just implement it in terms of
      early_ioremap().
      
      However, unlike early_ioremap(), __acpi_map_table() just maintains a
      single mapping which gets replaced each call, and has no corresponding
      unmap function.  Implement this by just removing the previous mapping
      each time its called.  Unfortunately, this will leave a stray mapping
      at the end.
      Signed-off-by: NJeremy Fitzhardinge <jeremy.fitzhardinge@citrix.com>
      Signed-off-by: NIngo Molnar <mingo@elte.hu>
      1c14fa49
    • Y
      x86: find nr_irqs_gsi with mp_ioapic_routing · 3f4a739c
      Yinghai Lu 提交于
      Impact: find right nr_irqs_gsi on some systems.
      
      One test-system has gap between gsi's:
      
      [    0.000000] ACPI: IOAPIC (id[0x04] address[0xfec00000] gsi_base[0])
      [    0.000000] IOAPIC[0]: apic_id 4, version 0, address 0xfec00000, GSI 0-23
      [    0.000000] ACPI: IOAPIC (id[0x05] address[0xfeafd000] gsi_base[48])
      [    0.000000] IOAPIC[1]: apic_id 5, version 0, address 0xfeafd000, GSI 48-54
      [    0.000000] ACPI: IOAPIC (id[0x06] address[0xfeafc000] gsi_base[56])
      [    0.000000] IOAPIC[2]: apic_id 6, version 0, address 0xfeafc000, GSI 56-62
      ...
      [    0.000000] nr_irqs_gsi: 38
      
      So nr_irqs_gsi is not right. some irq for MSI will overwrite with io_apic.
      
      need to get that with acpi_probe_gsi when acpi io_apic is used
      Signed-off-by: NYinghai Lu <yinghai@kernel.org>
      Signed-off-by: NIngo Molnar <mingo@elte.hu>
      3f4a739c
    • Y
      x86: find nr_irqs_gsi with mp_ioapic_routing · cc6c5006
      Yinghai Lu 提交于
      Impact: find right nr_irqs_gsi on some systems.
      
      One test-system has gap between gsi's:
      
      [    0.000000] ACPI: IOAPIC (id[0x04] address[0xfec00000] gsi_base[0])
      [    0.000000] IOAPIC[0]: apic_id 4, version 0, address 0xfec00000, GSI 0-23
      [    0.000000] ACPI: IOAPIC (id[0x05] address[0xfeafd000] gsi_base[48])
      [    0.000000] IOAPIC[1]: apic_id 5, version 0, address 0xfeafd000, GSI 48-54
      [    0.000000] ACPI: IOAPIC (id[0x06] address[0xfeafc000] gsi_base[56])
      [    0.000000] IOAPIC[2]: apic_id 6, version 0, address 0xfeafc000, GSI 56-62
      ...
      [    0.000000] nr_irqs_gsi: 38
      
      So nr_irqs_gsi is not right. some irq for MSI will overwrite with io_apic.
      
      need to get that with acpi_probe_gsi when acpi io_apic is used
      Signed-off-by: NYinghai Lu <yinghai@kernel.org>
      Signed-off-by: NIngo Molnar <mingo@elte.hu>
      cc6c5006
  4. 30 1月, 2009 1 次提交
  5. 29 1月, 2009 5 次提交
  6. 14 1月, 2009 2 次提交
  7. 09 1月, 2009 1 次提交
  8. 04 1月, 2009 2 次提交
  9. 23 12月, 2008 1 次提交
  10. 08 12月, 2008 1 次提交
  11. 12 11月, 2008 1 次提交
    • B
      ACPI: pci_link: remove acpi_irq_balance_set() interface · 32836259
      Bjorn Helgaas 提交于
      This removes the acpi_irq_balance_set() interface from the PCI
      interrupt link driver.
      
      x86 used acpi_irq_balance_set() to tell the PCI interrupt link
      driver to configure links to minimize IRQ sharing.  But the link
      driver can easily figure out whether to turn on IRQ balancing
      based on the IRQ model (PIC/IOAPIC/etc), so we can get rid of
      that external interface.
      
      It's better for the driver to figure this out at init-time.  If
      we set it externally via the x86 code, the interface reduces
      modularity, and we depend on the fact that acpi_process_madt()
      happens before we process the kernel command line.
      Signed-off-by: NBjorn Helgaas <bjorn.helgaas@hp.com>
      Signed-off-by: NLen Brown <len.brown@intel.com>
      32836259
  12. 22 10月, 2008 2 次提交
  13. 16 10月, 2008 4 次提交
  14. 07 10月, 2008 2 次提交
  15. 27 8月, 2008 1 次提交
  16. 21 8月, 2008 1 次提交
    • Y
      x86: fix apic version warning · 11494547
      Yinghai Lu 提交于
      after following patch,
      
      commit 1b313f4a
      Author: Cyrill Gorcunov <gorcunov@gmail.com>
      Date:   Mon Aug 18 20:45:57 2008 +0400
      
          x86: apic - generic_processor_info
      
          - use physid_set instead of phys_cpu and physids_or
          - set phys_cpu_present_map bit AFTER check for allowed
            number of processors
          - add checking for APIC valid version in 64bit mode
            (mostly not needed but added for merging purpose)
          - add apic_version definition for 64bit mode which
            is used now
      
      we are getting warning for acpi path on 64 bit system.
      
      make the 64-bit side fill in apic_version[] as well.
      
      [ mingo@elte.hu: build fix ]
      Signed-off-by: NIngo Molnar <mingo@elte.hu>
      11494547
  17. 13 8月, 2008 1 次提交
  18. 11 8月, 2008 1 次提交
  19. 22 7月, 2008 1 次提交
  20. 13 7月, 2008 1 次提交
  21. 12 7月, 2008 3 次提交