03 Jun, 2010

1 commit


02 Jun, 2010

1 commit

  • This patch adds a setting, PACKET_TIMESTAMP, to specify the packet
    timestamp source that is exported to capture utilities like tcpdump by
    packet_mmap.

    PACKET_TIMESTAMP accepts the same integer bit field as
    SO_TIMESTAMPING. However, only the SOF_TIMESTAMPING_SYS_HARDWARE and
    SOF_TIMESTAMPING_RAW_HARDWARE values are currently recognized by
    PACKET_TIMESTAMP. SOF_TIMESTAMPING_SYS_HARDWARE takes precedence over
    SOF_TIMESTAMPING_RAW_HARDWARE if both bits are set.

    If PACKET_TIMESTAMP is not set, a software timestamp generated inside
    the networking stack is used (the behavior before this setting was
    added).

    Signed-off-by: Scott McMillan
    Signed-off-by: David S. Miller

    Scott McMillan
     

31 May, 2010

1 commit


29 May, 2010

4 commits

  • * 'release' of git://git.kernel.org/pub/scm/linux/kernel/git/lenb/linux-acpi-2.6: (27 commits)
    ACPI: Don't let acpi_pad needlessly mark TSC unstable
    drivers/acpi/sleep.h: Checkpatch cleanup
    ACPI: Minor cleanup eliminating redundant PMTIMER_TICKS to NS conversion
    ACPI: delete unused c-state promotion/demotion data strucutures
    ACPI: video: fix acpi_backlight=video
    ACPI: EC: Use kmemdup
    drivers/acpi: use kasprintf
    ACPI, APEI, EINJ injection parameters support
    Add x64 support to debugfs
    ACPI, APEI, Use ERST for persistent storage of MCE
    ACPI, APEI, Error Record Serialization Table (ERST) support
    ACPI, APEI, Generic Hardware Error Source memory error support
    ACPI, APEI, UEFI Common Platform Error Record (CPER) header
    Unified UUID/GUID definition
    ACPI Hardware Error Device (PNP0C33) support
    ACPI, APEI, PCIE AER, use general HEST table parsing in AER firmware_first setup
    ACPI, APEI, Document for APEI
    ACPI, APEI, EINJ support
    ACPI, APEI, HEST table parsing
    ACPI, APEI, APEI supporting infrastructure
    ...

    Linus Torvalds
     
  • Len Brown
     
  • * 'for-linus/2635-updates' of git://git.fluff.org/bjdooks/linux:
    ARM: S5PV210: serial: Fix section mismatch warning
    ARM: s3c2410_defconfig: Add new machines
    ARM: s3c6400_defconfig: Add framebuffer and basic LCD
    ARM: s3c6400_defconfig: Add RTC driver support
    ARM: s3c6400_defconfig: Enable USB host side
    ARM: s3c6400_defconfig: Add SPI driver
    ARM: s3c6400_defconfig: Update compiled machines
    ARM: S5P: Regoster clk_xusbxti clock for hsotg driver
    ARM: S3C64XX: Add USB OTG HCLK to the list of clocks
    ARM: SAMSUNG: gpio-cfg.h: update documentation
    ARM: SAMSUNG: Documentation: add documentation on GPIO code
    ARM: SAMSUNG: Fix documentation for s3c_gpio_cfgpin()
    ARM: S3C24XX: Documentation: add section on gpiolib changes
    ARM: S3C24XX: Documentation: update GPIO documentation
    ARM: S3C24XX: Documentation: update documentation overview
    ARM: SAMSUNG: Documentation: update directory layout
    ARM: SAMSUNG: Documentation: update the list of SoCs supported

    Linus Torvalds
     
  • * 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/viro/vfs-2.6:
    remove detritus left by "mm: make read_cache_page synchronous"
    fix fs/sysv s_dirt handling
    fat: convert to use the new truncate convention.
    ext2: convert to use the new truncate convention.
    tmpfs: convert to use the new truncate convention
    fs: convert simple fs to new truncate
    kill spurious reference to vmtruncate
    fs: introduce new truncate sequence
    fs/super: fix kernel-doc warning
    fs/minix: bugfix, number of indirect block ptrs per block depends on block size
    rename the generic fsync implementations
    drop unused dentry argument to ->fsync
    fs: Add missing mutex_unlock
    Fix racy use of anon_inode_getfd() in perf_event.c
    get rid of the magic around f_count in aio
    VFS: fix recent breakage of FS_REVAL_DOT
    Revert "anon_inode: set S_IFREG on the anon_inode"

    Linus Torvalds
     

28 May, 2010

32 commits

  • Add some documentation in Documentation/arm/Samsung for the GPIO code
    and where to look for the necessary functions. Update the S3C24XX case
    as well.

    Signed-off-by: Ben Dooks

    Ben Dooks
     
  • Add section to the S3C24XX GPIO documentation on the recent changes
    to move towards gpiolib integration.

    Signed-off-by: Ben Dooks

    Ben Dooks
     
  • Upate the S3C24XX GPIO documentation after the changes for gpiolib
    and show which calls are being replaced by gpiolib or the new s3c
    generic calls.

    Signed-off-by: Ben Dooks

    Ben Dooks
     
  • Add the two new SoCs added in this release cycle and update the notes
    on the gpiolib conversion.

    Signed-off-by: Ben Dooks

    Ben Dooks
     
  • Update the directory layout in Documentation/arm/Samsung/Overview.txt
    to reflect the changes that have been made in the latest kernel
    updates.

    Signed-off-by: Ben Dooks

    Ben Dooks
     
  • Update the list of SoCs supported for the plat-s5p range.

    Signed-off-by: Ben Dooks

    Ben Dooks
     
  • Introduce a new truncate calling sequence into fs/mm subsystems. Rather than
    setattr > vmtruncate > truncate, have filesystems call their truncate sequence
    from ->setattr if filesystem specific operations are required. vmtruncate is
    deprecated, and truncate_pagecache and inode_newsize_ok helpers introduced
    previously should be used.

    simple_setattr is introduced for simple in-ram filesystems to implement
    the new truncate sequence. Eventually all filesystems should be converted
    to implement a setattr, and the default code in notify_change should go
    away.

    simple_setsize is also introduced to perform just the ATTR_SIZE portion
    of simple_setattr (ie. changing i_size and trimming pagecache).

    To implement the new truncate sequence:
    - filesystem specific manipulations (eg freeing blocks) must be done in
    the setattr method rather than ->truncate.
    - vmtruncate can not be used by core code to trim blocks past i_size in
    the event of write failure after allocation, so this must be performed
    in the fs code.
    - convert usage of helpers block_write_begin, nobh_write_begin,
    cont_write_begin, and *blockdev_direct_IO* to use _newtrunc postfixed
    variants. These avoid calling vmtruncate to trim blocks (see previous).
    - inode_setattr should not be used. generic_setattr is a new function
    to be used to copy simple attributes into the generic inode.
    - make use of the better opportunity to handle errors with the new sequence.

    Big problem with the previous calling sequence: the filesystem is not called
    until i_size has already changed. This means it is not allowed to fail the
    call, and also it does not know what the previous i_size was. Also, generic
    code calling vmtruncate to truncate allocated blocks in case of error had
    no good way to return a meaningful error (or, for example, atomically handle
    block deallocation).

    Cc: Christoph Hellwig
    Acked-by: Jan Kara
    Signed-off-by: Nick Piggin
    Signed-off-by: Al Viro

    npiggin@suse.de
     
  • Signed-off-by: Christoph Hellwig
    Signed-off-by: Al Viro

    Christoph Hellwig
     
  • * 'upstream-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/jgarzik/libata-dev:
    libata: implement dump_id force param
    libata: disable ATAPI AN by default
    libata-sff: make BMDMA optional
    libata-sff: kill dummy BMDMA ops from sata_qstor and pata_octeon_cf
    libata-sff: separate out BMDMA init
    libata-sff: separate out BMDMA irq handler
    libata-sff: ata_sff_irq_clear() is BMDMA specific
    sata_mv: drop unncessary EH callback resetting

    Linus Torvalds
     
  • * 'hwmon-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/jdelvare/staging: (23 commits)
    hwmon: (lm75) Add support for the Texas Instruments TMP105
    hwmon: (ltc4245) Read only one GPIO pin
    hwmon: (dme1737) Add SCH5127 support
    hwmon: (tmp102) Don't always stop chip at exit
    hwmon: (tmp102) Fix suspend and resume functions
    hwmon: (tmp102) Various fixes
    hwmon: Driver for TI TMP102 temperature sensor
    hwmon: EMC1403 thermal sensor support
    hwmon: (applesmc) Add temperature sensor labels to sysfs interface
    hwmon: (applesmc) Add generic support for MacBook Pro 7
    hwmon: (applesmc) Add generic support for MacBook Pro 6
    hwmon: (applesmc) Add support for MacBook Pro 5,3 and 5,4
    hwmon: (tmp401) Reorganize code to get rid of static forward declarations
    hwmon: (tmp401) Use constants for sysfs file permissions
    hwmon: (adm1031) Allow setting update rate
    hwmon: Add description of the update_rate sysfs attribute
    hwmon: (lm90) Use programmed update rate
    hwmon: (f71882fg) Acquire I/O regions while we're working with them
    hwmon: (f71882fg) Code cleanup
    hwmon: (f71882fg) Use strict_stro(l|ul) instead of simple_strto$1
    ...

    Linus Torvalds
     
  • Read only one of the GPIO pins as an analog voltage. The ADC can be
    switched to a different GPIO pin at runtime, but this is not supported.

    Previously, this driver would report the analog voltage of the currently
    selected GPIO pin as all three GPIO voltages: in9_input, in10_input and
    in11_input.

    Signed-off-by: Ira W. Snyder
    Signed-off-by: Jean Delvare
    Cc: stable@kernel.org

    Ira W. Snyder
     
  • Add support for the hardware monitoring capabilities of the SCH5127
    chip to the dme1737 driver.

    Signed-off-by: Juerg Haefliger
    Signed-off-by: Jean Delvare
    Tested-by: Jeff Rickman

    Juerg Haefliger
     
  • Fixes from my driver review:
    http://lists.lm-sensors.org/pipermail/lm-sensors/2010-March/028051.html

    Only the small changes are in there, more important changes will come
    later separately as time permits.

    * Drop the remnants of the now gone detect function
    * The TMP102 has no known compatible chip
    * Include the right header files
    * Clarify why byte swapping of register values is needed
    * Strip resolution info bit from temperature register value
    * Set cache lifetime to 1/3 second
    * Don't arbitrarily reject limit values; clamp as needed
    * Make limit writing unconditional
    * Don't check for transaction types the driver doesn't use
    * Properly check for error when setting configuration
    * Report error on failed probe
    * Make the driver load automatically where needed
    * Various other minor fixes

    Signed-off-by: Jean Delvare
    Cc: Steven King

    Jean Delvare
     
  • Driver for the TI TMP102.

    The TI TMP102 is similar to the LM75. It differs from the LM75 by
    having a 16-bit conf register and the temp registers have a minimum
    resolution of 12 bits; the extended conf register can select 13-bit
    resolution (which this driver does) and also change the update rate
    (which this driver currently doesn't use).

    [JD: Fix tmp102_exit tag, must be __exit, not __init.]

    Signed-off-by: Steven King
    Signed-off-by: Jean Delvare

    Steven King
     
  • The update_rate attribute can be used by drivers to let userspace choose
    the update rate of the chip, if it is configurable.

    Signed-off-by: Ira W. Snyder
    Signed-off-by: Jean Delvare

    Ira W. Snyder
     
  • The LM64 appears to be an LM63 with added GPIO lines. Add support for the
    hwmon functionality - GPIO can be added at some later stage if someone
    has a need for them.

    Signed-off-by: Matthew Garrett
    Signed-off-by: Jean Delvare

    Matthew Garrett
     
  • * 'sfi-release' of git://git.kernel.org/pub/scm/linux/kernel/git/lenb/linux-sfi-2.6:
    SFI: add sysfs interface for SFI tables.
    SFI: add support for v0.81 spec

    Linus Torvalds
     
  • * 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/ieee1394/linux1394-2.6:
    ieee1394: schedule for removal
    firewire: core: use separate timeout for each transaction
    firewire: core: Fix tlabel exhaustion problem
    firewire: core: make transaction label allocation more robust
    firewire: core: clean up config ROM related defined constants
    ieee1394: mark char device files as not seekable
    firewire: cdev: mark char device files as not seekable
    firewire: ohci: cleanups and fix for nonstandard build without debug facility
    firewire: ohci: wait for PHY register accesses to complete
    firewire: ohci: fix up configuration of TI chips
    firewire: ohci: enable 1394a enhancements
    firewire: ohci: do not clear PHY interrupt status inadvertently
    firewire: ohci: add a function for reading PHY registers

    Trivial conflicts in Documentation/feature-removal-schedule.txt

    Linus Torvalds
     
  • Analogous to ACPI's /sys/firmware/acpi/tables/...

    create /sys/firmware/sfi/tables/

    The tables are primariy for the kernel,
    but sometimes it is useful for user-space to be
    able to read them.

    Signed-off-by: Feng Tang
    Signed-off-by: Len Brown

    Feng Tang
     
  • Kamezawa Hiroyuki requested documentation for the numa_mem_id() and slab
    related changes. He suggested Documentation/vm/numa for this
    documentation. Looking at this file, it seems to me to be hopelessly out
    of date relative to current Linux NUMA support. At the risk of going down
    a rathole, I have made an attempt to rewrite the doc at a slightly higher
    level [I think] and provide pointers to other in-tree documents and
    out-of-tree man pages that cover the details.

    Let the games begin.

    Signed-off-by: Lee Schermerhorn
    Cc: Tejun Heo
    Cc: Mel Gorman
    Cc: Christoph Lameter
    Cc: Nick Piggin
    Cc: David Rientjes
    Cc: Eric Whitney
    Cc: KAMEZAWA Hiroyuki
    Cc: Ingo Molnar
    Cc: Thomas Gleixner
    Cc: "H. Peter Anvin"
    Cc: "Luck, Tony"
    Cc: Pekka Enberg
    Cc: Randy Dunlap
    Cc:
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Lee Schermerhorn
     
  • The inode's i_size is not protected by the big kernel lock. Therefore it
    does not make sense to recommend taking the BKL in filesystems llseek
    operations. Instead it should use the inode's mutex or use just use
    i_size_read() instead. Add a note that this is not protecting
    file->f_pos.

    Signed-off-by: Jan Blunck
    Acked-by: Alan Cox
    Cc: Arnd Bergmann
    Cc: Christoph Hellwig
    Cc: Frederic Weisbecker
    Cc: John Kacur
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Jan Blunck
     
  • Add ARCH_KMALLOC_MINALIGN description in "Platform Issues" section.

    Signed-off-by: FUJITA Tomonori
    Cc: "David S. Miller"
    Cc: Matt Mackall
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    FUJITA Tomonori
     
  • Handing DMA mapping errors is essential. Let's put it in the more
    appropriate place rather than the end of the doc.

    Signed-off-by: FUJITA Tomonori
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    FUJITA Tomonori
     
  • Now we have . Architectures should use it
    instead of inventing the own scatterlist struct. Let's update the
    description.

    Signed-off-by: FUJITA Tomonori
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    FUJITA Tomonori
     
  • Add the concrete DMA mapping error handling for SCSI drivers on the
    queuecommand path.

    Signed-off-by: FUJITA Tomonori
    Cc: James Bottomley
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    FUJITA Tomonori
     
  • Adds the concrete DMA mapping error handling for Networking drivers on the
    transmit path.

    Signed-off-by: FUJITA Tomonori
    Acked-by: David S. Miller
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    FUJITA Tomonori
     
  • Some information are old, and I think current document doesn't work as "a
    guide for users". We need summary of all of our controls, at least.

    Signed-off-by: KAMEZAWA Hiroyuki
    Reviewed-by: Randy Dunlap
    Cc: Balbir Singh
    Cc: Daisuke Nishimura
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    KAMEZAWA Hiroyuki
     
  • This patch adds support for moving charge of file pages, which include
    normal file, tmpfs file and swaps of tmpfs file. It's enabled by setting
    bit 1 of /memory.move_charge_at_immigrate.

    Unlike the case of anonymous pages, file pages(and swaps) in the range
    mmapped by the task will be moved even if the task hasn't done page fault,
    i.e. they might not be the task's "RSS", but other task's "RSS" that maps
    the same file. And mapcount of the page is ignored(the page can be moved
    even if page_mapcount(page) > 1). So, conditions that the page/swap
    should be met to be moved is that it must be in the range mmapped by the
    target task and it must be charged to the old cgroup.

    [akpm@linux-foundation.org: coding-style fixes]
    [akpm@linux-foundation.org: fix warning]
    Signed-off-by: Daisuke Nishimura
    Acked-by: KAMEZAWA Hiroyuki
    Cc: Balbir Singh
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Daisuke Nishimura
     
  • This adds a feature to disable oom-killer for memcg, if disabled, of
    course, tasks under memcg will stop.

    But now, we have oom-notifier for memcg. And the world around memcg is
    not under out-of-memory. memcg's out-of-memory just shows memcg hits
    limit. Then, administrator or management daemon can recover the situation
    by

    - kill some process
    - enlarge limit, add more swap.
    - migrate some tasks
    - remove file cache on tmps (difficult ?)

    Unlike oom-killer, you can take enough information before killing tasks.
    (by gcore, or, ps etc.)

    [akpm@linux-foundation.org: coding-style fixes]
    Signed-off-by: KAMEZAWA Hiroyuki
    Cc: Daisuke Nishimura
    Cc: Balbir Singh
    Cc: Daisuke Nishimura
    Cc: David Rientjes
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    KAMEZAWA Hiroyuki
     
  • Considering containers or other resource management softwares in userland,
    event notification of OOM in memcg should be implemented. Now, memcg has
    "threshold" notifier which uses eventfd, we can make use of it for oom
    notification.

    This patch adds oom notification eventfd callback for memcg. The usage is
    very similar to threshold notifier, but control file is memory.oom_control
    and no arguments other than eventfd is required.

    % cgroup_event_notifier /cgroup/A/memory.oom_control dummy
    (About cgroup_event_notifier, see Documentation/cgroup/)

    Signed-off-by: KAMEZAWA Hiroyuki
    Cc: Daisuke Nishimura
    Cc: Balbir Singh
    Cc: Daisuke Nishimura
    Cc: David Rientjes
    Cc: Davide Libenzi
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    KAMEZAWA Hiroyuki
     
  • Signed-off-by: Trevor Woerner
    Cc: Paul Menage
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Trevor Woerner
     
  • - Add additional location (Git) for the kernel master tree
    - Add reference to Git Project

    Signed-off-by: Abraham Arce
    Acked-by: Randy Dunlap
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Arce, Abraham
     

26 May, 2010

1 commit

  • * git://git.kernel.org/pub/scm/linux/kernel/git/pkl/squashfs-linus:
    squashfs: update documentation to include description of xattr layout
    squashfs: fix name reading in squashfs_xattr_get
    squashfs: constify xattr handlers
    squashfs: xattr fix sparse warnings
    squashfs: xattr_lookup sparse fix
    squashfs: add xattr support configure option
    squashfs: add new extended inode types
    squashfs: add support for xattr reading
    squashfs: add xattr id support

    Linus Torvalds