27 Sep, 2006

3 commits

  • PCI-Express AER (Advanced Error Reporting) provides more robust error reporting.
    The series of patches enable kernel support to AER.

    The initial patches were written by Tom Long Nguyen. I ported them to the kernel
    2.6.18-rc3. Many thanks to Rajesh Shah and Narayanan Chandramouli for their great
    review comments and testing help.

    Patch 1 consists of the pciaer-howto.txt document.

    Signed-off-by: Zhang Yanmin
    Signed-off-by: Greg Kroah-Hartman

    Zhang, Yanmin
     
  • * 'for-linus' of git://one.firstfloor.org/home/andi/git/linux-2.6: (225 commits)
    [PATCH] Don't set calgary iommu as default y
    [PATCH] i386/x86-64: New Intel feature flags
    [PATCH] x86: Add a cumulative thermal throttle event counter.
    [PATCH] i386: Make the jiffies compares use the 64bit safe macros.
    [PATCH] x86: Refactor thermal throttle processing
    [PATCH] Add 64bit jiffies compares (for use with get_jiffies_64)
    [PATCH] Fix unwinder warning in traps.c
    [PATCH] x86: Allow disabling early pci scans with pci=noearly or disallowing conf1
    [PATCH] x86: Move direct PCI scanning functions out of line
    [PATCH] i386/x86-64: Make all early PCI scans dependent on CONFIG_PCI
    [PATCH] Don't leak NT bit into next task
    [PATCH] i386/x86-64: Work around gcc bug with noreturn functions in unwinder
    [PATCH] Fix some broken white space in ia32_signal.c
    [PATCH] Initialize argument registers for 32bit signal handlers.
    [PATCH] Remove all traces of signal number conversion
    [PATCH] Don't synchronize time reading on single core AMD systems
    [PATCH] Remove outdated comment in x86-64 mmconfig code
    [PATCH] Use string instructions for Core2 copy/clear
    [PATCH] x86: - restore i8259A eoi status on resume
    [PATCH] i386: Split multi-line printk in oops output.
    ...

    Linus Torvalds
     
  • * master.kernel.org:/pub/scm/linux/kernel/git/gregkh/driver-2.6: (47 commits)
    Driver core: Don't call put methods while holding a spinlock
    Driver core: Remove unneeded routines from driver core
    Driver core: Fix potential deadlock in driver core
    PCI: enable driver multi-threaded probe
    Driver Core: add ability for drivers to do a threaded probe
    sysfs: add proper sysfs_init() prototype
    drivers/base: check errors
    drivers/base: Platform notify needs to occur before drivers attach to the device
    v4l-dev2: handle __must_check
    add CONFIG_ENABLE_MUST_CHECK
    add __must_check to device management code
    Driver core: fixed add_bind_files() definition
    Driver core: fix comments in drivers/base/power/resume.c
    sysfs_remove_bin_file: no return value, dump_stack on error
    kobject: must_check fixes
    Driver core: add ability for devices to create and remove bin files
    Class: add support for class interfaces for devices
    Driver core: create devices/virtual/ tree
    Driver core: add device_rename function
    Driver core: add ability for classes to handle devices properly
    ...

    Linus Torvalds
     

26 Sep, 2006

14 commits

  • Add the pm_trace attribute in /sys/power which has to be explicitly set to
    one to really enable the "PM tracing" code compiled in when CONFIG_PM_TRACE
    is set (which modifies the machine's CMOS clock in unpredictable ways).

    Signed-off-by: Rafael J. Wysocki
    Acked-by: Pavel Machek
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Rafael J. Wysocki
     
  • Add a boot parameter to reserve high linear address space for hypervisors.
    This is necessary to allow dynamically loaded hypervisor modules, which might
    not happen until userspace is already running, and also provides a useful tool
    to benchmark the performance impact of reduced lowmem address space.

    Signed-off-by: Zachary Amsden
    Signed-off-by: Chris Wright
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Zachary Amsden
     
  • Currently one can enable slab reclaim by setting an explicit option in
    /proc/sys/vm/zone_reclaim_mode. Slab reclaim is then used as a final
    option if the freeing of unmapped file backed pages is not enough to free
    enough pages to allow a local allocation.

    However, that means that the slab can grow excessively and that most memory
    of a node may be used by slabs. We have had a case where a machine with
    46GB of memory was using 40-42GB for slab. Zone reclaim was effective in
    dealing with pagecache pages. However, slab reclaim was only done during
    global reclaim (which is a bit rare on NUMA systems).

    This patch implements slab reclaim during zone reclaim. Zone reclaim
    occurs if there is a danger of an off node allocation. At that point we

    1. Shrink the per node page cache if the number of pagecache
    pages is more than min_unmapped_ratio percent of pages in a zone.

    2. Shrink the slab cache if the number of the nodes reclaimable slab pages
    (patch depends on earlier one that implements that counter)
    are more than min_slab_ratio (a new /proc/sys/vm tunable).

    The shrinking of the slab cache is a bit problematic since it is not node
    specific. So we simply calculate what point in the slab we want to reach
    (current per node slab use minus the number of pages that neeed to be
    allocated) and then repeately run the global reclaim until that is
    unsuccessful or we have reached the limit. I hope we will have zone based
    slab reclaim at some point which will make that easier.

    The default for the min_slab_ratio is 5%

    Also remove the slab option from /proc/sys/vm/zone_reclaim_mode.

    [akpm@osdl.org: cleanups]
    Signed-off-by: Christoph Lameter
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Christoph Lameter
     
  • Some buggy systems can machine check when config space accesses
    happen for some non existent devices. i386/x86-64 do some early
    device scans that might trigger this. Allow pci=noearly to disable
    this. Also when type 1 is disabling also don't do any early
    accesses which are always type1.

    This moves the pci= configuration parsing to be a early parameter.
    I don't think this can break anything because it only changes
    a single global that is only used by PCI.

    Cc: gregkh@suse.de
    Cc: Trammell Hudson

    Signed-off-by: Andi Kleen

    Andi Kleen
     
  • Signed-off-by: Andi Kleen

    Andi Kleen
     
  • Describes the stack organization on x86-64.

    I changed it a bit and removed some obsolete information and the
    questions.

    Cc: kaos@sgi.com
    Signed-off-by: Andi Kleen

    Andi Kleen
     
  • ... instead of using a CONFIG option. The config option still controls
    if the resulting executable actually has unwind information.

    This is useful to prevent compilation errors when users select
    CONFIG_STACK_UNWIND on old binutils and also allows to use
    CFI in the future for non kernel debugging applications.

    Cc: jbeulich@novell.com
    Cc: sam@ravnborg.org

    Signed-off-by: Andi Kleen

    Andi Kleen
     
  • Signed-off-by: Andi Kleen

    Andi Kleen
     
  • Adds a new /proc/sys/kernel/nmi_watchdog call that will enable/disable the
    nmi watchdog.

    By entering a non-zero value here, a user can enable the nmi watchdog to
    monitor the online cpus in the system. By entering a zero value here, a
    user can disable the nmi watchdog and free up a performance counter which
    could then be utilized by the oprofile subsystem, otherwise oprofile may be
    short a counter when in use.

    Signed-off-by: Don Zickus
    Signed-off-by: Andi Kleen
    Cc: Andi Kleen
    Signed-off-by: Andrew Morton

    Don Zickus
     
  • The file sysfs-power that documents the interface in the /sys/power/ directory
    is added to Documentation/ABI/testing.

    Signed-off-by: Rafael J. Wysocki
    Acked-by: Pavel Machek
    Signed-off-by: Andrew Morton
    Signed-off-by: Greg Kroah-Hartman

    Rafael J. Wysocki
     
  • This lists the /sys/devices/.../power/state file, and its internal support,
    as due for removal next year.

    Signed-off-by: Pavel Machek
    Signed-off-by: David Brownell
    Signed-off-by: Greg Kroah-Hartman

    Pavel Machek
     
  • This turned into a rewrite of Documentation/power/devices.txt:

    - Provide more of the "big picture"

    - Fixup some of the horribly ancient/obsolete description of device suspend()
    semantics; lots of text just got deleted.

    - Add a decent description of PM_EVENT_* codes, including the new PRETHAW code
    needed in some swsusp scenarios.

    - Describe the new PM factorization from Linus:
    * class suspend, current suspend, then suspend_late
    * NOT suspend_prepare, it wasn't really usable
    * resume_early, current resume, class resume.

    - Updates power/state docs to be correct, and deprecate its usage except for
    driver testing.

    Signed-off-by: David Brownell
    Signed-off-by: Greg Kroah-Hartman

    David Brownell
     
  • deprecate PHYSDEV* values in the uevent environment

    These values are no longer needed and inconsistent with the
    stacking of class devices. The event environment should not
    carry properties of a parent device. The key PHYSDEVDRIVER is
    available as DRIVER, PHYDEVBUS is indentical SUBSYSTEM. Class
    devices should not carry any of these values.

    Signed-off-by: Kay Sievers
    Signed-off-by: Greg Kroah-Hartman

    Kay Sievers
     
  • Signed-off-by: Jens M. Noedler
    Signed-off-by: Greg Kroah-Hartman

    jens m. noedler
     

25 Sep, 2006

13 commits

  • David S. Miller
     
  • * git://git.kernel.org/pub/scm/linux/kernel/git/sam/kbuild: (28 commits)
    kbuild: add distclean info to 'make help' and more details for 'clean'
    dontdiff: add utsrelease.h
    kbuild: fix "mkdir -p" usage in scripts/package/mkspec
    kbuild: correct and clarify versioning info in Makefile
    kbuild: fixup Documentation/kbuild/modules.txt
    kbuild: Extend kbuild/defconfig tags support to exuberant ctags
    kbuild: fix for some typos in Documentation/makefiles.txt
    kbuild: clarify "make C=" build option
    Documentaion: update Documentation/Changes with minimum versions
    kbuild: update help in top level Makefile
    kbuild: fail kernel compilation in case of unresolved module symbols
    kbuild: remove debug left-over from Makefile.host
    kbuild: create output directory for hostprogs with O=.. build
    kbuild: add missing return statement in modpost.c:secref_whitelist()
    kbuild: preperly align SYSMAP output
    kbuild: make -rR is now default
    kbuild: make V=2 tell why a target is rebuild
    kbuild: modpost on vmlinux regardless of CONFIG_MODULES
    kbuild: ignore references from ".pci_fixup" to ".init.text"
    kbuild: linguistic fixes for Documentation/kbuild/makefiles.txt
    ...

    Linus Torvalds
     
  • Add auto-generated utsrelease.h to dontdiff file.

    Signed-off-by: Randy Dunlap
    Signed-off-by: Sam Ravnborg

    Randy Dunlap
     
  • Signed-off-by: Sam Ravnborg

    Robert P. J. Day
     
  • I noticed a few typos while reading makefiles.txt to learn about the
    kbuild system. Attached is a patch against 2.6.18 to fix them.
    Remove trailing whitespace while we are there..

    Signed-off-by: Bryce Harrington
    Signed-off-by: Sam Ravnborg

    Bryce Harrington
     
  • Clarify the use of "make C=" in the top-level Makefile, and fix a
    typo in the Documentation file.

    Signed-off-by: Sam Ravnborg

    Robert P. J. Day
     
  • Based on conversations with greg kh (and noticing a simple typo),
    these are the actual minimal versions for 2.6.18.

    Signed-off-by: Sam Ravnborg

    Robert P. J. Day
     
  • I have done a look-through through Documentation/kbuild/ and my corrections
    (proposed) are attached.

    Cc'ed are original author Michael (responsible for comitting changes to
    these files?), Sam (kbuild maintainer), Adrian (-trivial maintainer).

    Signed-off-by: Jan Engelhardt
    Signed-off-by: Sam Ravnborg

    Jan Engelhardt
     
  • I have done a look-through through Documentation/kbuild/ and my corrections
    (proposed) are attached.

    Cc'ed are original author Michael (responsible for comitting changes to
    these files?), Sam (kbuild maintainer), Adrian (-trivial maintainer).

    Signed-off-by: Jan Engelhardt
    Signed-off-by: Sam Ravnborg

    Jan Engelhardt
     
  • I have done a look-through through Documentation/kbuild/ and my corrections
    (proposed) are attached.

    Cc'ed are original author Michael (responsible for comitting changes to
    these files?), Sam (kbuild maintainer), Adrian (-trivial maintainer).

    Signed-off-by: Jan Engelhardt
    Signed-off-by: Sam Ravnborg

    Jan Engelhardt
     
  • This has been discussed on dccp@vger and removes the necessity for applications
    to supply service codes in each and every case.

    If an application does not want to provide a service code, that's fine, it will
    be given 0. Otherwise, service codes can be set via socket options as before.

    This patch has been tested using various client/server configurations
    (including listening on multiple service codes).

    Signed-off-by: Gerrit Renker
    Signed-off-by: Arnaldo Carvalho de Melo

    Gerrit Renker
     
  • * 'upstream-linus' of master.kernel.org:/pub/scm/linux/kernel/git/jgarzik/libata-dev: (50 commits)
    [libata] Delete pata_it8172 driver
    [PATCH] libata: improve handling of diagostic fail (and hardware that misreports it)
    [PATCH] libata: fix non-uniform ports handling
    Fix libata resource conflict for legacy mode
    [libata] ata_piix: build fix
    [PATCH] pata_amd: Check enable bits on Nvidia
    [PATCH] Update SiS PATA
    [libata] Add pata_jmicron driver to Kconfig, Makefile
    [libata #pata-drivers] Trim trailing whitespace.
    [libata] Trim trailing whitespace.
    [libata] Add a bunch of PATA drivers.
    Rename libata-bmdma.c to libata-sff.c.
    libata: Grand renaming.
    Clean up drivers/ata/Kconfig a bit.
    [PATCH] CONFIG_PM=n slim: drivers/scsi/sata_sil*
    [PATCH] sata_via: Add SATA support for vt8237a
    [PATCH] libata: change path to libata in libata.tmpl
    [PATCH] libata: s/CONFIG_SCSI_SATA/CONFIG_[S]ATA/g in pci/quirks.c
    libata: Make sure drivers/ata is a separate Kconfig menu
    [libata] ata_piix: add missing kfree()
    ...

    Linus Torvalds
     
  • * 'upstream-linus' of master.kernel.org:/pub/scm/linux/kernel/git/jgarzik/netdev-2.6: (217 commits)
    net/ieee80211: fix more crypto-related build breakage
    [PATCH] Spidernet: add ethtool -S (show statistics)
    [NET] GT96100: Delete bitrotting ethernet driver
    [PATCH] mv643xx_eth: restrict to 32-bit PPC_MULTIPLATFORM
    [PATCH] Cirrus Logic ep93xx ethernet driver
    r8169: the MMIO region of the 8167 stands behin BAR#1
    e1000, ixgb: Remove pointless wrappers
    [PATCH] Remove powerpc specific parts of 3c509 driver
    [PATCH] s2io: Switch to pci_get_device
    [PATCH] gt96100: move to pci_get_device API
    [PATCH] ehea: bugfix for register access functions
    [PATCH] e1000 disable device on PCI error
    drivers/net/phy/fixed: #if 0 some incomplete code
    drivers/net: const-ify ethtool_ops declarations
    [PATCH] ethtool: allow const ethtool_ops
    [PATCH] sky2: big endian
    [PATCH] sky2: fiber support
    [PATCH] sky2: tx pause bug fix
    drivers/net: Trim trailing whitespace
    [PATCH] ehea: IBM eHEA Ethernet Device Driver
    ...

    Manually resolved conflicts in drivers/net/ixgb/ixgb_main.c and
    drivers/net/sky2.c related to CHECKSUM_HW/CHECKSUM_PARTIAL changes by
    commit 84fa7933a33f806bbbaae6775e87459b1ec584c0 that just happened to be
    next to unrelated changes in this update.

    Linus Torvalds
     

24 Sep, 2006

5 commits

  • Jeff Garzik
     
  • Conflicts:

    include/linux/blkdev.h

    Trivial merge to incorporate tag prototypes.

    James Bottomley
     
  • Received from Mark Salyzyn:

    This patch to the driver's documentation adds a few new product entries,
    sorts the entries on OEM lines first for easy searching, followed by
    product id order to make it easier to compare against the open source
    pci list. The driver has 'family match' so is somewhat future proof, no
    code changes are required to recognize the new products.

    Signed-off-by: Mark Haverkamp
    Signed-off-by: James Bottomley

    Mark Haverkamp
     
  • * 'linus' of master.kernel.org:/pub/scm/linux/kernel/git/perex/alsa: (148 commits)
    [ALSA] intel8x0m - Free irq in suspend
    [ALSA] Move CONFIG_SND_AC97_POWER_SAVE to pci/Kconfig
    [ALSA] usb-audio: add mixer control names for the Aureon 5.1 MkII
    [ALSA] ES1938: remove duplicate field initialization
    [ALSA] usb-audio: increase number of packets per URB
    [ALSA] hda-codec - Fix headphone auto-toggle on sigmatel codec
    [ALSA] hda-intel - A slight cleanup of timeout check in azx_get_response()
    [ALSA] hda-codec - Fix mic input with STAC92xx codecs
    [ALSA] mixart: Use SEEK_{SET,CUR,END} instead of hardcoded values
    [ALSA] gus: Use SEEK_{SET,CUR,END} instead of hardcoded values
    [ALSA] opl4: Use SEEK_{SET,CUR,END} instead of hardcoded values
    [ALSA] sound core: Use SEEK_{SET,CUR,END} instead of hardcoded values
    [ALSA] hda-codec - Support multiple headphone pins
    [ALSA] hda_intel prefer 24bit instead of 20bit
    [ALSA] hda-codec - Add vendor ids for Motorola and Conexant
    [ALSA] hda-codec - Add device id for Motorola si3054-compatible codec
    [ALSA] Add missing compat ioctls for ALSA control API
    [ALSA] powermac - Fix Oops when conflicting with aoa driver
    [ALSA] aoa: add locking to tas codec
    [ALSA] hda-intel - Fix suspend/resume with MSI
    ...

    Linus Torvalds
     
  • Conflicts:

    drivers/scsi/iscsi_tcp.c
    drivers/scsi/iscsi_tcp.h

    Pretty horrible merge between crypto hash consolidation
    and crypto_digest_...->crypto_hash_... conversion

    Signed-off-by: James Bottomley

    James Bottomley
     

23 Sep, 2006

5 commits