12 Jan, 2012

1 commit

  • * 'linux-next' of git://git.kernel.org/pub/scm/linux/kernel/git/jbarnes/pci: (80 commits)
    x86/PCI: Expand the x86_msi_ops to have a restore MSIs.
    PCI: Increase resource array mask bit size in pcim_iomap_regions()
    PCI: DEVICE_COUNT_RESOURCE should be equal to PCI_NUM_RESOURCES
    PCI: pci_ids: add device ids for STA2X11 device (aka ConneXT)
    PNP: work around Dell 1536/1546 BIOS MMCONFIG bug that breaks USB
    x86/PCI: amd: factor out MMCONFIG discovery
    PCI: Enable ATS at the device state restore
    PCI: msi: fix imbalanced refcount of msi irq sysfs objects
    PCI: kconfig: English typo in pci/pcie/Kconfig
    PCI/PM/Runtime: make PCI traces quieter
    PCI: remove pci_create_bus()
    xtensa/PCI: convert to pci_scan_root_bus() for correct root bus resources
    x86/PCI: convert to pci_create_root_bus() and pci_scan_root_bus()
    x86/PCI: use pci_scan_bus() instead of pci_scan_bus_parented()
    x86/PCI: read Broadcom CNB20LE host bridge info before PCI scan
    sparc32, leon/PCI: convert to pci_scan_root_bus() for correct root bus resources
    sparc/PCI: convert to pci_create_root_bus()
    sh/PCI: convert to pci_scan_root_bus() for correct root bus resources
    powerpc/PCI: convert to pci_create_root_bus()
    powerpc/PCI: split PHB part out of pcibios_map_io_space()
    ...

    Fix up conflicts in drivers/pci/msi.c and include/linux/pci_regs.h due
    to the same patches being applied in other branches.

    Linus Torvalds
     

07 Jan, 2012

1 commit

  • This factors out the AMD native MMCONFIG discovery so we can use it
    outside amd_bus.c.

    amd_bus.c reads AMD MSRs so it can remove the MMCONFIG area from the
    PCI resources. We may also need the MMCONFIG information to work
    around BIOS defects in the ACPI MCFG table.

    Cc: Borislav Petkov
    Cc: Yinghai Lu
    Cc: stable@kernel.org # 2.6.34+
    Signed-off-by: Bjorn Helgaas
    Signed-off-by: Jesse Barnes

    Bjorn Helgaas
     

21 Dec, 2011

1 commit

  • Several fields in struct cpuinfo_x86 were not defined for the
    !SMP case, likely to save space. However, those fields still
    have some meaning for UP, and keeping them allows some #ifdef
    removal from other files. The additional size of the UP kernel
    from this change is not significant enough to worry about
    keeping up the distinction:

    text data bss dec hex filename
    4737168 506459 972040 6215667 5ed7f3 vmlinux.o.before
    4737444 506459 972040 6215943 5ed907 vmlinux.o.after

    for a difference of 276 bytes for an example UP config.

    If someone wants those 276 bytes back badly then it should
    be implemented in a cleaner way.

    Signed-off-by: Kevin Winchester
    Cc: Steffen Persvold
    Link: http://lkml.kernel.org/r/1324428742-12498-1-git-send-email-kjwinchester@gmail.com
    Signed-off-by: Ingo Molnar

    Kevin Winchester
     

31 Mar, 2011

1 commit


18 Mar, 2011

1 commit

  • * 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/bp/bp: (38 commits)
    amd64_edac: Fix decode_syndrome types
    amd64_edac: Fix DCT argument type
    amd64_edac: Fix ranges signedness
    amd64_edac: Drop local variable
    amd64_edac: Fix PCI config addressing types
    amd64_edac: Fix DRAM base macros
    amd64_edac: Fix node id signedness
    amd64_edac: Drop redundant declarations
    amd64_edac: Enable driver on F15h
    amd64_edac: Adjust ECC symbol size to F15h
    amd64_edac: Simplify scrubrate setting
    PCI: Rename CPU PCI id define
    amd64_edac: Improve DRAM address mapping
    amd64_edac: Sanitize ->read_dram_ctl_register
    amd64_edac: Adjust sys_addr to chip select conversion routine to F15h
    amd64_edac: Beef up early exit reporting
    amd64_edac: Revamp online spare handling
    amd64_edac: Fix channel interleave removal
    amd64_edac: Correct node interleaving removal
    amd64_edac: Add support for interleaved region swapping
    ...

    Fix up trivial conflict in include/linux/pci_ids.h due to
    AMD_15H_NB_MISC being renamed as AMD_15H_NB_F3 next to the new
    AMD_15H_NB_LINK entry.

    Linus Torvalds
     

17 Mar, 2011

1 commit

  • With increasing number of PCI function ids, add the PCI function id
    in the define name instead of its symbolic name in the BKDG for more
    clarity.

    Acked-by: Ingo Molnar
    Acked-by: Jesse Barnes
    Signed-off-by: Borislav Petkov

    Borislav Petkov
     

03 Mar, 2011

1 commit

  • Make functions used strictly in bool context return bool. Also,
    fixup used types and comments, and make a local function static,
    while at it.

    Signed-off-by: Borislav Petkov
    Cc: Borislav Petkov
    LKML-Reference:
    Signed-off-by: Ingo Molnar

    Borislav Petkov
     

10 Feb, 2011

1 commit


08 Feb, 2011

1 commit

  • L3 Cache Partitioning allows selecting which of the 4 L3 subcaches can be used
    for evictions by the L2 cache of each compute unit. By writing a 4-bit
    hexadecimal mask into the the sysfs file
    /sys/devices/system/cpu/cpuX/cache/index3/subcaches, the user can set the
    enabled subcaches for a CPU.

    The settings are directly read from and written to the hardware, so there is no
    way to have contradicting settings for two CPUs belonging to the same compute
    unit. Writing will always overwrite any previous setting for a compute unit.

    Signed-off-by: Hans Rosenfeld
    Cc:
    LKML-Reference:
    [ -v3: minor style fixes ]
    Signed-off-by: Ingo Molnar

    Hans Rosenfeld
     

26 Jan, 2011

2 commits


11 Jan, 2011

1 commit

  • While both methods should work equivalently well for the native
    case, the Xen Dom0 case can't reliably work with the MSR one,
    since there's no guarantee that the virtual CPUs it has
    available fully cover all necessary physical ones.

    As per the suggestion of Robert Richter the patch only adds the
    PCI method, but leaves the MSR one as a fallback to cover new
    systems the PCI IDs of which may not have got added to the code
    base yet.

    The only change in v2 is the breaking out of the new CPI
    initialization method into a separate function, as requested by
    Ingo.

    Signed-off-by: Jan Beulich
    Acked-by: Robert Richter
    Cc: Andreas Herrmann3
    Cc: Joerg Roedel
    Cc: Jeremy Fitzhardinge
    LKML-Reference:
    Signed-off-by: Ingo Molnar

    Jan Beulich
     

18 Nov, 2010

3 commits

  • Adaptions to the changes of the AMD northbridge caching code: instead
    of a bool in each l3 struct, use a flag in amd_northbridges.flags to
    indicate L3 cache index disable support; use a pointer to the whole
    northbridge instead of the misc device in the l3 struct; simplify the
    initialisation; dynamically generate sysfs attribute array.

    Signed-off-by: Hans Rosenfeld
    Signed-off-by: Borislav Petkov

    Hans Rosenfeld
     
  • Support more than just the "Misc Control" part of the northbridges.
    Support more flags by turning "gart_supported" into a single bit flag
    that is stored in a flags member. Clean up related code by using a set
    of functions (amd_nb_num(), amd_nb_has_feature() and node_to_amd_nb())
    instead of accessing the NB data structures directly. Reorder the
    initialization code and put the GART flush words caching in a separate
    function.

    Signed-off-by: Hans Rosenfeld
    Signed-off-by: Borislav Petkov

    Hans Rosenfeld
     
  • Not only the naming of the files was confusing, it was even more so for
    the function and variable names.

    Renamed the K8 NB and NUMA stuff that is also used on other AMD
    platforms. This also renames the CONFIG_K8_NUMA option to
    CONFIG_AMD_NUMA and the related file k8topology_64.c to
    amdtopology_64.c. No functional changes intended.

    Signed-off-by: Hans Rosenfeld
    Signed-off-by: Borislav Petkov

    Hans Rosenfeld
     

02 Oct, 2010

1 commit


21 Sep, 2010

1 commit