04 Jan, 2013

1 commit

  • CONFIG_HOTPLUG is going away as an option. As a result, the __dev*
    markings need to be removed.

    This change removes the use of __devinit, __devexit_p, __devinitconst,
    and __devexit from these drivers.

    Based on patches originally written by Bill Pemberton, but redone by me
    in order to handle some of the coding style issues better, by hand.

    Cc: Bill Pemberton
    Cc: Thomas Gleixner
    Cc: Ingo Molnar
    Cc: "H. Peter Anvin"
    Cc: Peter Zijlstra
    Cc: Daniel Drake
    Signed-off-by: Greg Kroah-Hartman

    Greg Kroah-Hartman
     

23 Jun, 2012

4 commits


15 Oct, 2011

1 commit

  • As with any other such change, the goal is to prevent inadvertent
    writes to these structures (assuming DEBUG_RODATA is enabled), and to
    separate data (possibly frequently) written to from such never getting
    modified.

    Reviewed-by: Ingo Molnar
    Signed-off-by: Jan Beulich
    Signed-off-by: Jesse Barnes

    Jan Beulich
     

25 Nov, 2009

7 commits


21 Mar, 2009

1 commit

  • Fix mmconfig detection to not assume a single mmconfig space in the
    northbridge, paving the way for AMD fam10h + mcp55 CPUs. On those, the
    MSR has some range, but the mcp55 pci config will have another one.

    Also helps the mcp55 + io55 case, where every one will have one range.

    If it is mcp55, exclude the range that is used by CPU MSR, in other
    words , if the CPU claims busses 0-255, the range in mcp55 is dropped,
    because CPU HW will not route those ranges to mcp55 mmconfig to handle
    it.

    Signed-off-by: Yinghai Lu
    Signed-off-by: Jesse Barnes

    Yinghai Lu
     

30 Dec, 2008

1 commit

  • Impact: cleanup

    Now that arch/x86/pci/pci.h is used in a number of other places as well,
    move the lowlevel x86 pci definitions into the architecture include files.
    (not to be confused with the existing arch/x86/include/asm/pci.h file,
    which provides public details about x86 PCI)

    Tested on: X86_32_UP, X86_32_SMP and X86_64_SMP

    Signed-off-by: Jaswinder Singh Rajput
    Acked-by: Jesse Barnes
    Signed-off-by: Ingo Molnar

    Jaswinder Singh Rajput
     

27 Apr, 2008

1 commit

  • For x86_64, need to free pci_mmcfg_virt, and iounmap some pointers
    when MMCONF is not reserved in E820 or acpi _CRS and get rejected.

    Signed-off-by: Yinghai Lu
    Cc: Andrew Morton
    Cc: Greg KH
    Cc: Greg KH
    Cc: Andi Kleen
    Signed-off-by: Andrew Morton
    Signed-off-by: Ingo Molnar
    Signed-off-by: Thomas Gleixner

    Yinghai Lu
     

11 Feb, 2008

2 commits

  • We want to allow different implementations of pci_raw_ops for standard
    and extended config space on x86. Rather than clutter generic code with
    knowledge of this, we make pci_raw_ops private to x86 and use it to
    implement the new raw interface -- raw_pci_read() and raw_pci_write().

    Signed-off-by: Matthew Wilcox
    Signed-off-by: Linus Torvalds

    Matthew Wilcox
     
  • Thanks to Loic Prylli , who originally proposed
    this idea.

    Always using legacy configuration mechanism for the legacy config space
    and extended mechanism (mmconf) for the extended config space is
    a simple and very logical approach. It's supposed to resolve all
    known mmconf problems. It still allows per-device quirks (tweaking
    dev->cfg_size). It also allows to get rid of mmconf fallback code.

    Signed-off-by: Ivan Kokshaysky
    Signed-off-by: Matthew Wilcox
    Signed-off-by: Linus Torvalds

    Ivan Kokshaysky
     

11 Oct, 2007

1 commit