07 Jan, 2012

2 commits

  • Convert from pci_scan_bus() to pci_scan_root_bus() and remove root bus
    fixups. This fixes the problem of "early" and "header" quirks
    seeing incorrect root bus resources.

    This arch was unusual because it filled in bus->resource[0..3] in
    pcibios_init(), then overwrote them, applied io_space.offset and
    checked for unset resources in pcibios_fixup_bus(). I moved all of
    that to a new pci_controller_apertures() that we can use before
    scanning the root bus.

    CC: Chris Zankel
    Signed-off-by: Bjorn Helgaas
    Signed-off-by: Jesse Barnes

    Bjorn Helgaas
     
  • This patch converts Xtensa's architecture-specific
    'pcibios_set_master()' routine to a non-inlined function. This will
    allow follow on patches to create a generic 'pcibios_set_master()'
    function using the '__weak' attribute which can be used by all
    architectures as a default which, if necessary, can then be over-
    ridden by architecture-specific code.

    Converting 'pci_bios_set_master()' to a non-inlined function will
    allow Xtensa's 'pcibios_set_master()' implementation to remain
    architecture-specific after the generic version is introduced and
    thus, not change current behavior.

    No functional change.

    Signed-off-by: Myron Stowe
    Signed-off-by: Jesse Barnes

    Myron Stowe
     

23 Feb, 2010

2 commits


28 Aug, 2007

1 commit


01 Jun, 2007

1 commit


04 Oct, 2006

1 commit


01 Jul, 2006

1 commit


28 Jun, 2006

1 commit


26 Jun, 2006

1 commit

  • Remove VM_LOCKED before remap_pfn range from device drivers and get rid of
    VM_SHM.

    remap_pfn_range() already sets VM_IO. There is no need to set VM_SHM since
    it does nothing. VM_LOCKED is of no use since the remap_pfn_range does not
    place pages on the LRU. The pages are therefore never subject to swap
    anyways. Remove all the vm_flags settings before calling remap_pfn_range.

    After removing all the vm_flag settings no use of VM_SHM is left. Drop it.

    Signed-off-by: Christoph Lameter
    Acked-by: Hugh Dickins
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Christoph Lameter
     

23 Sep, 2005

1 commit


30 Jun, 2005

1 commit

  • Removed dead code in arch/xtensa/kernel/pci.c and use the pci_name() macro.
    Fixed an error in the delay asm macro: '1' is an invalid immediate value.

    Signed-off-by: Chris Zankel
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Chris Zankel
     

24 Jun, 2005

1 commit