16 Nov, 2010

3 commits

  • * 'i2c-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/jdelvare/staging:
    i2c: Sanity checks on adapter registration
    i2c: Mark i2c_adapter.id as deprecated
    i2c: Drivers shouldn't include
    i2c: Delete unused adapter IDs
    i2c: Remove obsolete cleanup for clientdata

    Linus Torvalds
     
  • It's about time to make it clear that i2c_adapter.id is deprecated.
    Hopefully this will remind the last user to move over to a different
    strategy.

    Signed-off-by: Jean Delvare
    Acked-by: Jarod Wilson
    Acked-by: Mauro Carvalho Chehab
    Acked-by: Hans Verkuil

    Jean Delvare
     
  • …l/git/lethal/fbdev-2.6

    * 'fbdev-fixes-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/lethal/fbdev-2.6:
    fsl-diu-fb: drop dead ioctl define
    MAINTAINERS: Add an fbdev git tree entry.
    OMAP: DSS: Fix documentation regarding 'vram' kernel parameter
    OMAP: VRAM: Fix boot-time memory allocation
    OMAP: VRAM: improve VRAM error prints
    sisfb: limit POST memory test according to PCI resource length
    fbdev: sh_mobile_lcdc: use correct number of modes, when using the default
    fbdev: sh_mobile_lcdc: use the standard CEA-861 720p timing
    fbdev: sh_mobile_hdmi: properly clean up modedb on monitor unplug

    Linus Torvalds
     

13 Nov, 2010

4 commits

  • * git://git.kernel.org/pub/scm/linux/kernel/git/davem/net-2.6: (66 commits)
    can-bcm: fix minor heap overflow
    gianfar: Do not call device_set_wakeup_enable() under a spinlock
    ipv6: Warn users if maximum number of routes is reached.
    docs: Add neigh/gc_thresh3 and route/max_size documentation.
    axnet_cs: fix resume problem for some Ax88790 chip
    ipv6: addrconf: don't remove address state on ifdown if the address is being kept
    tcp: Don't change unlocked socket state in tcp_v4_err().
    x25: Prevent crashing when parsing bad X.25 facilities
    cxgb4vf: add call to Firmware to reset VF State.
    cxgb4vf: Fail open if link_start() fails.
    cxgb4vf: flesh out PCI Device ID Table ...
    cxgb4vf: fix some errors in Gather List to skb conversion
    cxgb4vf: fix bug in Generic Receive Offload
    cxgb4vf: don't implement trivial (and incorrect) ndo_select_queue()
    ixgbe: Look inside vlan when determining offload protocol.
    bnx2x: Look inside vlan when determining checksum proto.
    vlan: Add function to retrieve EtherType from vlan packets.
    virtio-net: init link state correctly
    ucc_geth: Fix deadlock
    ucc_geth: Do not bring the whole IF down when TX failure.
    ...

    Linus Torvalds
     
  • Signed-off-by: Ben Greear
    Signed-off-by: David S. Miller

    Ben Greear
     
  • * 'for-linus' of git://git.kernel.dk/linux-2.6-block: (27 commits)
    block: remove unused copy_io_context()
    Documentation: remove anticipatory scheduler info
    block: remove REQ_HARDBARRIER
    ioprio: rcu_read_lock/unlock protect find_task_by_vpid call (V2)
    ioprio: fix RCU locking around task dereference
    block: ioctl: fix information leak to userland
    block: read i_size with i_size_read()
    cciss: fix proc warning on attempt to remove non-existant directory
    bio: take care not overflow page count when mapping/copying user data
    block: limit vec count in bio_kmalloc() and bio_alloc_map_data()
    block: take care not to overflow when calculating total iov length
    block: check for proper length of iov entries in blk_rq_map_user_iov()
    cciss: remove controllers supported by hpsa
    cciss: use usleep_range not msleep for small sleeps
    cciss: limit commands allocated on reset_devices
    cciss: Use kernel provided PCI state save and restore functions
    cciss: fix board status waiting code
    drbd: Removed checks for REQ_HARDBARRIER on incomming BIOs
    drbd: REQ_HARDBARRIER -> REQ_FUA transition for meta data accesses
    drbd: Removed the BIO_RW_BARRIER support form the receiver/epoch code
    ...

    Linus Torvalds
     
  • * 'for-linus' of git://oss.sgi.com/xfs/xfs:
    xfs: remove incorrect assert in xfs_vm_writepage
    xfs: use hlist_add_fake
    xfs: fix a few compiler warnings with CONFIG_XFS_QUOTA=n
    xfs: tell lockdep about parent iolock usage in filestreams
    xfs: move delayed write buffer trace
    xfs: fix per-ag reference counting in inode reclaim tree walking
    xfs: xfs_ioctl: fix information leak to userland
    xfs: remove experimental tag from the delaylog option

    Linus Torvalds
     

12 Nov, 2010

4 commits

  • Create sub directory Documentation/leds and add short documentation for
    LP5521 and LP5523 drivers.

    Signed-off-by: Samu Onkalo
    Cc: Richard Purdie
    Cc: Jean Delvare
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Samu Onkalo
     
  • Currently, blinking LEDs can be awkward because it is not guaranteed that
    all LEDs implement blinking. The trigger that wants it to blink then
    needs to implement its own timer solution.

    Rather than require that, add led_blink_set() API that triggers can use.
    This function will attempt to use hw blinking, but if that fails
    implements a timer for it. To stop blinking again, brightness_set() also
    needs to be wrapped into API that will stop the software blink.

    As a result of this, the timer trigger becomes a very trivial one, and
    hopefully we can finally see triggers using blinking as well because it's
    always easy to use.

    Signed-off-by: Johannes Berg
    Acked-by: Richard Purdie
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Johannes Berg
     
  • The kernel syslog contains debugging information that is often useful
    during exploitation of other vulnerabilities, such as kernel heap
    addresses. Rather than futilely attempt to sanitize hundreds (or
    thousands) of printk statements and simultaneously cripple useful
    debugging functionality, it is far simpler to create an option that
    prevents unprivileged users from reading the syslog.

    This patch, loosely based on grsecurity's GRKERNSEC_DMESG, creates the
    dmesg_restrict sysctl. When set to "0", the default, no restrictions are
    enforced. When set to "1", only users with CAP_SYS_ADMIN can read the
    kernel syslog via dmesg(8) or other mechanisms.

    [akpm@linux-foundation.org: explain the config option in kernel.txt]
    Signed-off-by: Dan Rosenberg
    Acked-by: Ingo Molnar
    Acked-by: Eugene Teo
    Acked-by: Kees Cook
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Dan Rosenberg
     
  • /proc/pid/oom_adj was deprecated in August 2010 with the introduction of
    the new oom killer heuristic.

    This patch copies the Documentation/feature-removal-schedule.txt entry for
    this tunable to the Documentation/ABI/obsolete directory so nobody misses
    it.

    Signed-off-by: David Rientjes
    Reported-by: Alan Cox
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    David Rientjes
     

11 Nov, 2010

2 commits


10 Nov, 2010

1 commit


01 Nov, 2010

4 commits

  • * 'i2c-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/jdelvare/staging:
    i2c-i801: Add PCI idents for Patsburg 'IDF' SMBus controllers
    i2c-i801: Handle multiple instances instead of keeping global state
    i2c-i801: Add Intel Patsburg device ID
    i2c: Drop unused I2C_CLASS_TV flags

    Linus Torvalds
     
  • * git://git.kernel.org/pub/scm/linux/kernel/git/jejb/scsi-misc-2.6: (70 commits)
    [SCSI] pmcraid: add support for set timestamp command and other fixes
    [SCSI] pmcraid: remove duplicate struct member
    [SCSI] qla4xxx: Fix cmd check in qla4xxx_cmd_wait
    [SCSI] megaraid_sas: Version and documentation update
    [SCSI] megaraid_sas: Add three times Online controller reset
    [SCSI] megaraid_sas: Add input parameter for max_sectors
    [SCSI] megaraid_sas: support devices update flag
    [SCSI] libosd: write/read_sg_kern API
    [SCSI] libosd: Support for scatter gather write/read commands
    [SCSI] libosd: Free resources in reverse order of allocation
    [SCSI] libosd: Fix bug in attr_page handling
    [SCSI] lpfc 8.3.18: Update lpfc driver version to 8.3.18
    [SCSI] lpfc 8.3.18: Add new WQE support
    [SCSI] lpfc 8.3.18: Fix critical errors
    [SCSI] lpfc 8.3.18: Adapter Shutdown and Unregistration cleanup
    [SCSI] lpfc 8.3.18: Add logic to detect last devloss timeout
    [SCSI] lpfc 8.3.18: Add support of received ELS commands
    [SCSI] lpfc 8.3.18: FC/FCoE Discovery fixes
    [SCSI] ipr: add definitions for a new adapter
    [SCSI] bfa: fix comments for c files
    ...

    Linus Torvalds
     
  • These are the extra 'Integrated Device Function' SMBus controllers found
    on the Patsburg chipset. Mention the absence of slave mode support.

    Signed-off-by: David Woodhouse
    Signed-off-by: Jean Delvare

    David Woodhouse
     
  • Add support for the Intel Patsburg PCH SMBus Controller.

    Signed-off-by: Seth Heasley
    Signed-off-by: Jean Delvare

    Seth Heasley
     

31 Oct, 2010

1 commit


30 Oct, 2010

2 commits


29 Oct, 2010

18 commits

  • * 'misc' of git://git.kernel.org/pub/scm/linux/kernel/git/mmarek/kbuild-2.6: (39 commits)
    Revert "namespace: add source file location exceptions"
    Coccinelle: Add contextual message
    Coccinelle: Fix documentation
    Coccinelle: Find doubled arguments to boolean or bit operators.
    Coccinelle: Find nested lock+irqsave functions that use the same flags variables.
    namespace: add source file location exceptions
    scripts/extract-ikconfig: add support for bzip2, lzma and lzo
    kbuild: check return value of asprintf()
    scripts/namespace.pl: improve to get more correct results
    scripts/namespace.pl: some bug fixes
    scripts/namespace.pl: update file exclusion list
    scripts/namespace.pl: fix wrong source path
    Coccinelle: Use the -no_show_diff option for org and report mode
    Coccinelle: Add a new mode named 'chain'
    Coccinelle: Use new comment format to explain kfree.cocci
    Coccinelle: Improve user information with a new kind of comment
    Coccinelle: Update documentation
    MAINTAINERS: Coccinelle: Update email address
    Documentation/kbuild: modules.txt cleanup
    Documentation/kbuild: major edit of modules.txt sections 5-8
    ...

    Linus Torvalds
     
  • * 'kconfig' of git://git.kernel.org/pub/scm/linux/kernel/git/mmarek/kbuild-2.6: (38 commits)
    kbuild: convert `arch/tile' to the kconfig mainmenu upgrade
    README: cite nconfig
    Revert "kconfig: Temporarily disable dependency warnings"
    kconfig: Use PATH_MAX instead of 128 for path buffer sizes.
    kconfig: Fix realloc usage()
    kconfig: Propagate const
    kconfig: Don't go out from read config loop when you read new symbol
    kconfig: fix menuconfig on debian lenny
    kbuild: migrate all arch to the kconfig mainmenu upgrade
    kconfig: expand file names
    kconfig: use the file's name of sourced file
    kconfig: constify file name
    kconfig: don't emit warning upon rootmenu's prompt redefinition
    kconfig: replace KERNELVERSION usage by the mainmenu's prompt
    kconfig: delay gconf window initialization
    kconfig: expand by default the rootmenu's prompt
    kconfig: add a symbol string expansion helper
    kconfig: regen parser
    kconfig: implement the `mainmenu' directive
    kconfig: allow PACKAGE to be defined on the compiler's command-line
    ...

    Fix up trivial conflict in arch/mn10300/Kconfig

    Linus Torvalds
     
  • * 'kbuild' of git://git.kernel.org/pub/scm/linux/kernel/git/mmarek/kbuild-2.6:
    initramfs: Fix build break on symbol-prefixed archs
    initramfs: fix initramfs size calculation
    initramfs: generalize initramfs_data.xxx.S variants
    scripts/kallsyms: Enable error messages while hush up unnecessary warnings
    scripts/setlocalversion: update comment
    kbuild: Use a single clean rule for kernel and external modules
    kbuild: Do not run make clean in $(srctree)
    scripts/mod/modpost.c: fix commentary accordingly to last changes
    kbuild: Really don't clean bounds.h and asm-offsets.h

    Linus Torvalds
     
  • * 'hwmon-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/jdelvare/staging: (68 commits)
    hwmon: (it87) Add support for the IT8721F/IT8758E
    hwmon: (it87) Move conversion functions
    hwmon: Remove many EXPERIMENTAL flags
    hwmon: (lm85) Add support for ADT7468 high-frequency PWM mode
    hwmon: (lm85) Document the ADT7468 as supported
    hwmon: (lm85) Fix ADT7468 frequency table
    hwmon: I2C addresses are constant
    Move ams driver to macintosh
    hwmon: (pcf8591) Don't attempt to detect devices
    hwmon: (pcf8591) Register as a hwmon device
    hwmon: (w83795) Use standard attributes for chassis intrusion
    hwmon: (w83795) Exclude fan control feature by default
    hwmon: (w83795) Add myself as co-author and maintainer
    hwmon: (w83795) More style cleanups
    hwmon: (w83795) Fix LSB reading of voltage limits
    hwmon: (w83795) Use dev_get_drvdata() where possible
    hwmon: (w83795) Delay reading pwm config registers
    hwmon: (w83795) Delay reading limit registers
    hwmon: (w83795) Move register reads to dedicated functions
    hwmon: (w83795) Pack similar register reads
    ...

    Linus Torvalds
     
  • * git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/staging-2.6: (841 commits)
    Staging: brcm80211: fix usage of roundup in structures
    Staging: bcm: fix up network device reference counting
    Staging: keucr: fix up US_ macro change
    staging: brcm80211: brcmfmac: Removed codeversion from firmware filenames.
    staging: brcm80211: Remove unnecessary header files.
    staging: brcm80211: Remove unnecessary includes from bcmutils.c
    staging: brcm80211: Removed unnecessary pktsetprio() function.
    Staging: brcm80211: remove typedefs.h
    Staging: brcm80211: remove uintptr typedef usage
    Staging: hv: remove struct vmbus_channel_interface
    Staging: hv: remove Open from struct vmbus_channel_interface
    Staging: hv: storvsc: call vmbus_open directly
    Staging: hv: netvsc: call vmbus_open directly
    Staging: hv: channel: export vmbus_open to modules
    Staging: hv: remove Close from struct vmbus_channel_interface
    Staging: hv: netvsc: call vmbus_close directly
    Staging: hv: storvsc: call vmbus_close directly
    Staging: hv: channel: export vmbus_close to modules
    Staging: hv: remove SendPacket from struct vmbus_channel_interface
    Staging: hv: storvsc: call vmbus_sendpacket directly
    ...

    Fix up conflicts in
    drivers/staging/cx25821/cx25821-audio-upstream.c
    drivers/staging/cx25821/cx25821-audio.h
    due to warring whitespace cleanups (neither of which were all that great)

    Linus Torvalds
     
  • * 'linux-next' of git://git.kernel.org/pub/scm/linux/kernel/git/jbarnes/pci-2.6: (27 commits)
    x86: allocate space within a region top-down
    x86: update iomem_resource end based on CPU physical address capabilities
    x86/PCI: allocate space from the end of a region, not the beginning
    PCI: allocate bus resources from the top down
    resources: support allocating space within a region from the top down
    resources: handle overflow when aligning start of available area
    resources: ensure callback doesn't allocate outside available space
    resources: factor out resource_clip() to simplify find_resource()
    resources: add a default alignf to simplify find_resource()
    x86/PCI: MMCONFIG: fix region end calculation
    PCI: Add support for polling PME state on suspended legacy PCI devices
    PCI: Export some PCI PM functionality
    PCI: fix message typo
    PCI: log vendor/device ID always
    PCI: update Intel chipset names and defines
    PCI: use new ccflags variable in Makefile
    PCI: add PCI_MSIX_TABLE/PBA defines
    PCI: add PCI vendor id for STmicroelectronics
    x86/PCI: irq and pci_ids patch for Intel Patsburg DeviceIDs
    PCI: OLPC: Only enable PCI configuration type override on XO-1
    ...

    Linus Torvalds
     
  • Add support for the IT8721F/IT8758E. These new chips differ from the
    older IT87xxF chips in the following ways:
    * ADC LSB is 12 mV instead of 16 mV.
    * PWM values are 8-bit instead of 7-bit.
    There are other minor changes we don't have to care about in the
    driver.

    Another change is that we will handle internal voltage scaling in the
    driver instead of delegating the work to user-space.

    Signed-off-by: Jean Delvare

    Jean Delvare
     
  • The ADT7468 supports a high-frequency PWM output mode where all PWM
    outputs are driven by a 22.5 kHz clock. Add support for this mode, and
    document it, as it may surprise the user that setting one PWM output
    frequency also affects the other PWM outputs.

    Signed-off-by: Jean Delvare
    Cc: Darrick J. Wong
    Acked-by: Guenter Roeck

    Jean Delvare
     
  • Signed-off-by: Jean Delvare
    Cc: Darrick J. Wong
    Acked-by: Guenter Roeck

    Jean Delvare
     
  • The PCF8591 can't be detected, don't even try. There are plenty of
    other means to instantiate i2c devices these days.

    Signed-off-by: Jean Delvare
    Reviewed-by: Guenter Roeck
    Cc: Aurelien Jarno

    Jean Delvare
     
  • I was wondering if that chip ever existed publicly... Apparently yes,
    so add support for it.

    Signed-off-by: Jean Delvare
    Tested-by: Alexander Stein
    Acked-by: Guenter Roeck

    Jean Delvare
     
  • Signed-off-by: Guenter Roeck
    Signed-off-by: Jean Delvare

    Guenter Roeck
     
  • Signed-off-by: Guenter Roeck
    Signed-off-by: Jean Delvare

    Guenter Roeck
     
  • Signed-off-by: Guenter Roeck
    Signed-off-by: Jean Delvare

    Guenter Roeck
     
  • Signed-off-by: Guenter Roeck
    Signed-off-by: Jean Delvare

    Guenter Roeck
     
  • This merges the staging-next tree to Linus's tree and resolves
    some conflicts that were present due to changes in other trees that were
    affected by files here.

    Signed-off-by: Greg Kroah-Hartman

    Greg Kroah-Hartman
     
  • * 'v4l_for_linus' of git://git.kernel.org/pub/scm/linux/kernel/git/mchehab/linux-2.6: (505 commits)
    [media] af9015: Fix max I2C message size when used with tda18271
    [media] IR: initialize ir_raw_event in few more drivers
    [media] Guard a divide in v4l1 compat layer
    [media] imon: fix nomouse modprobe option
    [media] imon: remove redundant change_protocol call
    [media] imon: fix my egregious brown paper bag w/rdev/idev split
    [media] cafe_ccic: Configure ov7670 correctly
    [media] ov7670: allow configuration of image size, clock speed, and I/O method
    [media] af9015: support for DigitalNow TinyTwin v3 [1f4d:9016]
    [media] af9015: map DigitalNow TinyTwin v2 remote
    [media] DigitalNow TinyTwin remote controller
    [media] af9015: RC fixes and improvements
    videodev2.h.xml: Update to reflect the latest changes at videodev2.h
    [media] v4l: document new Bayer and monochrome pixel formats
    [media] DocBook/v4l: Add missing formats used on gspca cpia1 and sn9c2028
    [media] firedtv: add parameter to fake ca_system_ids in CA_INFO
    [media] tm6000: fix a macro coding style issue
    tm6000: Remove some ugly debug code
    [media] Nova-S-Plus audio line input
    [media] [RFC,1/1] V4L2: Use new CAP bits in existing RDS capable drivers
    ...

    Linus Torvalds
     
  • * 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/cjb/mmc: (66 commits)
    mmc: add new sdhci-pxa driver for Marvell SoCs
    mmc: make number of mmcblk minors configurable
    mmc_spi: Recover from CRC errors for r/w operation over SPI.
    mmc: sdhci-pltfm: add -pltfm driver for imx35/51
    mmc: sdhci-of-esdhc: factor out common stuff
    mmc: sdhci_pltfm: pass more data on custom init call
    mmc: sdhci: introduce get_ro private write-protect hook
    mmc: sdhci-pltfm: move .h file into appropriate subdir
    mmc: sdhci-pltfm: Add structure for host-specific data
    mmc: fix cb710 kconfig dependency warning
    mmc: cb710: remove debugging printk (info duplicated from mmc-core)
    mmc: cb710: clear irq handler on init() error path
    mmc: cb710: remove unnecessary msleep()
    mmc: cb710: implement get_cd() callback
    mmc: cb710: partially demystify clock selection
    mmc: add a file to debugfs for changing host clock at runtime
    mmc: sdhci: allow for eMMC 74 clock generation by controller
    mmc: sdhci: highspeed: check for mmc as well as sd cards
    mmc: sdhci: Add Moorestown device support
    mmc: sdhci: Intel Medfield support
    ...

    Linus Torvalds
     

28 Oct, 2010

1 commit