12 Jan, 2013

1 commit

  • The CONFIG_EXPERIMENTAL config item has not carried much meaning for a
    while now and is almost always enabled by default. As agreed during the
    Linux kernel summit, remove it from any "depends on" lines in Kconfigs.

    CC: Rob Landley
    CC: Jiri Kosina
    CC: Masanari Iida
    CC: Jason Wessel
    CC: Richard L Maliszewski
    CC: Gang Wei
    CC: Shane Wang
    CC: Harry Wei
    Signed-off-by: Kees Cook
    Acked-by: Jason Wessel

    Kees Cook
     

09 Jan, 2013

2 commits

  • Pull ARM SoC fixes from Olof Johansson:
    "People are back from the holiday breaks, and it shows. Here are a
    bunch of fixes for a number of platforms:
    - A couple of small fixes for Nomadik
    - A larger set of changes for kirkwood/mvebu
    - uart driver selection, dt clocks, gpio-poweroff fixups, a few
    __init annotation fixes and some error handling improvement in
    their xor dma driver.
    - i.MX had a couple of minor fixes (and a critical one for flexcan2
    clock setup)
    - MXS has a small board fix and a framebuffer bugfix
    - A set of fixes for Samsung Exynos, fixing default bootargs and some
    Exynos5440 clock issues
    - A set of OMAP changes including PM fixes and a few sparse warning
    fixups

    All in all a bit more positive code delta than we'd ideally want to
    see here, mostly from the OMAP PM changes, but nothing overly crazy."

    * tag 'fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/arm/arm-soc: (44 commits)
    ARM: clps711x: Fix bad merge of clockevents setup
    ARM: highbank: save and restore L2 cache and GIC on suspend
    ARM: highbank: add a power request clear
    ARM: highbank: fix secondary boot and hotplug
    ARM: highbank: fix typos with hignbank in power request functions
    ARM: dts: fix highbank cpu mpidr values
    ARM: dts: add device_type prop to cpu nodes on Calxeda platforms
    ARM: mx5: Fix MX53 flexcan2 clock
    ARM: OMAP2+: am33xx-hwmod: Fix wrongly terminated am33xx_usbss_mpu_irqs array
    pinctrl: mvebu: make pdma clock on dove mandatory
    ARM: Dove: Add pinctrl clock to DT
    dma: mv_xor: fix error handling for clocks
    dma: mv_xor: fix error handling of mv_xor_channel_add()
    arm: mvebu: Add missing ; for cpu node.
    arm: mvebu: Armada XP MV78230 has only three Ethernet interfaces
    arm: mvebu: Armada XP MV78230 has two cores, not one
    clk: mvebu: Remove inappropriate __init tagging
    ARM: Kirkwood: Use fixed-regulator instead of board gpio call
    ARM: Kirkwood: Fix missing sdio clock
    ARM: Kirkwood: Switch TWSI1 of 88f6282 to DT clock providers
    ...

    Linus Torvalds
     
  • From Shawn Guo:

    It includes one critical fix - wrong flexcan2 clock will hang system
    when the port gets brought up. The other two are non-critical fixes,
    which are sent together here, since it's still early -rc stage.

    * tag 'imx-fixes-3.8' of git://git.linaro.org/people/shawnguo/linux-2.6:
    ARM: mx5: Fix MX53 flexcan2 clock
    ARM: dts: imx31-bug: Fix manufacturer compatible string
    clk: imx: Remove 'clock-output-names' from the examples

    Olof Johansson
     

08 Jan, 2013

2 commits

  • Pull networking fixes from David Miller:

    1) New sysctl ndisc_notify needs some documentation, from Hanns
    Frederic Sowa.

    2) Netfilter REJECT target doesn't set transport header of SKB
    correctly, from Mukund Jampala.

    3) Forcedeth driver needs to check for DMA mapping failures, from Larry
    Finger.

    4) brcmsmac driver can't use usleep_range while holding locks, use
    udelay instead. From Niels Ole Salscheider.

    5) Fix unregister of netlink bridge multicast database handlers, from
    Vlad Yasevich and Rami Rosen.

    6) Fix checksum calculations in netfilter's ipv6 network prefix
    translation module.

    7) Fix high order page allocation failures in netfilter xt_recent, from
    Eric Dumazet.

    8) mac802154 needs to use netif_rx_ni() instead of netif_rx() because
    mac802154_process_data() can execute in process rather than
    interrupt context. From Alexander Aring.

    9) Fix splice handling of MSG_SENDPAGE_NOTLAST, otherwise we elide one
    tcp_push() too many. From Eric Dumazet and Willy Tarreau.

    10) Fix skb->truesize tracking in XEN netfront driver, from Ian
    Campbell.

    * git://git.kernel.org/pub/scm/linux/kernel/git/davem/net: (46 commits)
    xen/netfront: improve truesize tracking
    ipv4: fix NULL checking in devinet_ioctl()
    tcp: fix MSG_SENDPAGE_NOTLAST logic
    net/ipv4/ipconfig: really display the BOOTP/DHCP server's address.
    ip-sysctl: fix spelling errors
    mac802154: fix NOHZ local_softirq_pending 08 warning
    ipv6: document ndisc_notify in networking/ip-sysctl.txt
    ath9k: Fix Kconfig for ATH9K_HTC
    netfilter: xt_recent: avoid high order page allocations
    netfilter: fix missing dependencies for the NOTRACK target
    netfilter: ip6t_NPT: fix IPv6 NTP checksum calculation
    bridge: add empty br_mdb_init() and br_mdb_uninit() definitions.
    vxlan: allow live mac address change
    bridge: Correctly unregister MDB rtnetlink handlers
    brcmfmac: fix parsing rsn ie for ap mode.
    brcmsmac: add copyright information for Canonical
    rtlwifi: rtl8723ae: Fix warning for unchecked pci_map_single() call
    rtlwifi: rtl8192se: Fix warning for unchecked pci_map_single() call
    rtlwifi: rtl8192de: Fix warning for unchecked pci_map_single() call
    rtlwifi: rtl8192ce: Fix warning for unchecked pci_map_single() call
    ...

    Linus Torvalds
     
  • Pull ACPI and power management fixes from Rafael Wysocki:

    - Removal of some ACPICA code that the kernel will never use from Lv
    Zheng.

    - APEI fix from Adrian Huang.

    - Removal of unnecessary ACPI memory hotplug driver code from Liu
    Jinsong.

    - Minor ACPI power management fixes.

    - ACPI debug code fix from Joe Perches.

    - ACPI fix to make system bus device nodes get the right names.

    - PNP resources handling fixes from Witold Szczeponik.

    - cpuidle fix for a recent regression stalling boot on systems with
    great numbers of CPUs from Daniel Lezcano.

    - cpuidle fixes from Sivaram Nair.

    - intel_idle debug message fix from Youquan Song.

    - cpufreq build regression fix from Larry Finger.

    - cpufreq fix for an obscure initialization race related to statistics
    from Konstantin Khlebnikov.

    - cpufreq change disabling the Longhaul driver by default from Rafał
    Bilski.

    - PM core fix preventing device suspend errors from happening during
    system suspend due to obscure race conditions.

    - PM QoS local variable name cleanup.

    * tag 'pm+acpi-for-3.8-rc3' of git://git.kernel.org/pub/scm/linux/kernel/git/rafael/linux-pm:
    PM: Move disabling/enabling runtime PM to late suspend/early resume
    PM / QoS: Rename local variable in dev_pm_qos_add_ancestor_request()
    ACPI / scan: Do not use dummy HID for system bus ACPI nodes
    cpufreq / governor: Fix problem with cpufreq_ondemand or cpufreq_conservative
    cpufreq / Longhaul: Disable driver by default
    cpufreq / stats: fix race between stats allocation and first usage
    cpuidle: fix lock contention in the idle path
    intel_idle: pr_debug information need separated
    cpuidle / coupled: fix ready counter decrement
    cpuidle: Fix finding state with min power_usage
    PNP: Handle IORESOURCE_BITS in resource allocation
    PNP: Simplify setting of resources
    ACPI / power: Remove useless message from device registering routine
    ACPI / glue: Update DBG macro to include KERN_DEBUG
    ACPI / PM: Do not apply ACPI_SUCCESS() to acpi_bus_get_device() result
    ACPI / memhotplug: remove redundant logic of acpi memory hotadd
    ACPI / APEI: Fix the returned value in erst_dbg_read
    ACPICA: Remove useless mini-C library.

    Linus Torvalds
     

07 Jan, 2013

1 commit


06 Jan, 2013

1 commit

  • Currently, the PM core disables runtime PM for all devices right
    after executing subsystem/driver .suspend() callbacks for them
    and re-enables it right before executing subsystem/driver .resume()
    callbacks for them. This may lead to problems when there are
    two devices such that the .suspend() callback executed for one of
    them depends on runtime PM working for the other. In that case,
    if runtime PM has already been disabled for the second device,
    the first one's .suspend() won't work correctly (and analogously
    for resume).

    To make those issues go away, make the PM core disable runtime PM
    for devices right before executing subsystem/driver .suspend_late()
    callbacks for them and enable runtime PM for them right after
    executing subsystem/driver .resume_early() callbacks for them. This
    way the potential conflitcs between .suspend_late()/.resume_early()
    and their runtime PM counterparts are still prevented from happening,
    but the subtle ordering issues related to disabling/enabling runtime
    PM for devices during system suspend/resume are much easier to avoid.

    Reported-and-tested-by: Jan-Matthias Braun
    Signed-off-by: Rafael J. Wysocki
    Reviewed-by: Ulf Hansson
    Reviewed-by: Kevin Hilman
    Cc: 3.4+

    Rafael J. Wysocki
     

05 Jan, 2013

4 commits

  • Signed-off-by: Carlos Alberto Lopez Perez
    Cc: Rob Landley
    Cc: Larry Finger
    Cc: Neil Horman
    Cc: Mitsuo Hayasaka
    Cc: Tejun Heo
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Carlos Alberto Lopez Perez
     
  • Add 3 new variables and sysctls to tune them (by one "next_id" variable
    for messages, semaphores and shared memory respectively). This variable
    can be used to set desired id for next allocated IPC object. By default
    it's equal to -1 and old behaviour is preserved. If this variable is
    non-negative, then desired idr will be extracted from it and used as a
    start value to search for free IDR slot.

    Notes:

    1) this patch doesn't guarantee that the new object will have desired
    id. So it's up to user space how to handle new object with wrong id.

    2) After a sucessful id allocation attempt, "next_id" will be set back
    to -1 (if it was non-negative).

    [akpm@linux-foundation.org: checkpatch fixes]
    Signed-off-by: Stanislav Kinsbursky
    Cc: Serge Hallyn
    Cc: "Eric W. Biederman"
    Cc: Pavel Emelyanov
    Cc: Al Viro
    Cc: KOSAKI Motohiro
    Cc: Michael Kerrisk
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Stanislav Kinsbursky
     
  • Signed-off-by: Stephen Hemminger
    Signed-off-by: David S. Miller

    stephen hemminger
     
  • I slipped in a new sysctl without proper documentation. I would like to
    make up for this now.

    Signed-off-by: Hannes Frederic Sowa
    Signed-off-by: David S. Miller

    Hannes Frederic Sowa
     

04 Jan, 2013

4 commits

  • 'clock-output-names' is not used in any of the dts/dtsi files for i.mx.

    Remove it from the examples, so that the example and the real usage in the
    dtsi files can match.

    Signed-off-by: Fabio Estevam
    Acked-by: Rob Herring
    Signed-off-by: Shawn Guo

    Fabio Estevam
     
  • Pull driver core __dev* removal patches - take 3 - from Greg Kroah-Hartman:
    "Here are the remaining __dev* removal patches against the 3.8-rc2
    tree. All of these patches were previously sent to the subsystem
    maintainers, most of them were picked up and pushed to you, but there
    were a number that fell through the cracks, and new drivers were added
    during the merge window, so this series cleans up the rest of the
    instances of these markings.

    Third time's the charm...

    Signed-off-by: Greg Kroah-Hartman "

    Fixed up trivial conflict with the pinctrl pull in pinctrl-sirf.c.

    * tag 'driver-core-3.8-rc2' of git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/driver-core: (54 commits)
    misc: remove __dev* attributes.
    include: remove __dev* attributes.
    Documentation: remove __dev* attributes.
    Drivers: misc: remove __dev* attributes.
    Drivers: block: remove __dev* attributes.
    Drivers: bcma: remove __dev* attributes.
    Drivers: char: remove __dev* attributes.
    Drivers: clocksource: remove __dev* attributes.
    Drivers: ssb: remove __dev* attributes.
    Drivers: dma: remove __dev* attributes.
    Drivers: gpu: remove __dev* attributes.
    Drivers: infinband: remove __dev* attributes.
    Drivers: memory: remove __dev* attributes.
    Drivers: mmc: remove __dev* attributes.
    Drivers: iommu: remove __dev* attributes.
    Drivers: power: remove __dev* attributes.
    Drivers: message: remove __dev* attributes.
    Drivers: macintosh: remove __dev* attributes.
    Drivers: mfd: remove __dev* attributes.
    pstore: remove __dev* attributes.
    ...

    Linus Torvalds
     
  • 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, __devinitdata,
    __devinitconst, and __devexit from the kernel documentation.

    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
    Signed-off-by: Greg Kroah-Hartman

    Greg Kroah-Hartman
     
  • Pull pinctrl fixes from Linus Walleij:
    "A first round of pinctrl fixes for v3.8:
    - i.MX5 register configuration
    - Swap a kfree to devm_kfree() to avoid memory corruption in the at91
    driver
    - Add the missing device tree binding doc for the SIRF pin controller
    - Enable the SIRF GPIO pull up/down configuration from the device
    tree, it was previously retired from the hard-coded approach.
    - NULL check for the prcm_base in the Nomadik pin controller.
    - Provide the prcm_base from the device tree in the DT boot path for
    the Nomadik pin controller."

    * tag 'pinctrl-fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/linusw/linux-pinctrl:
    ARM: ux500: add pinctrl address resources
    pinctrl: nomadik: return if prcm_base is NULL
    pinctrl: sirf: enable GPIO pullup/down configuration from dts
    pinctrl: sirf: add missing DT-binding document
    pinctrl: fix comment mistake
    drivers/pinctrl/pinctrl-at91.c: convert kfree to devm_kfree
    pinctrl: imx5: fix GPIO_8 pad CAN1_RXCAN configuration

    Linus Torvalds
     

02 Jan, 2013

1 commit


26 Dec, 2012

2 commits

  • commit 7bec207427c2efb794 remove sirfsoc_gpio_set_pull function,
    this patches takes the feature back by adding sirf,pullups and
    sirf,pulldowns prop in dts, and the driver will set the GPIO
    pull according to the dts.

    Cc: Arnd Bergmann
    Signed-off-by: Barry Song
    Signed-off-by: Linus Walleij

    Barry Song
     
  • While sending email to Linus for reviewing:
    "pinctrl: sirf: add DT-binding pinmux mapping support"
    https://patchwork.kernel.org/patch/1364361/

    i have included the devicetree/bindings/pinctrl/pinctrl-sirf.txt

    But while sending pull request with commit 056876f6c73406c,
    i missed the document.

    this patch takes the document back.

    Signed-off-by: Barry Song
    Signed-off-by: Linus Walleij

    Barry Song
     

22 Dec, 2012

1 commit

  • Pull watchdog updates from Wim Van Sebroeck:
    "This includes some fixes and code improvements (like
    clk_prepare_enable and clk_disable_unprepare), conversion from the
    omap_wdt and twl4030_wdt drivers to the watchdog framework, addition
    of the SB8x0 chipset support and the DA9055 Watchdog driver and some
    OF support for the davinci_wdt driver."

    * git://www.linux-watchdog.org/linux-watchdog: (22 commits)
    watchdog: mei: avoid oops in watchdog unregister code path
    watchdog: Orion: Fix possible null-deference in orion_wdt_probe
    watchdog: sp5100_tco: Add SB8x0 chipset support
    watchdog: davinci_wdt: add OF support
    watchdog: da9052: Fix invalid free of devm_ allocated data
    watchdog: twl4030_wdt: Change TWL4030_MODULE_PM_RECEIVER to TWL_MODULE_PM_RECEIVER
    watchdog: remove depends on CONFIG_EXPERIMENTAL
    watchdog: Convert dev_printk(KERN_ to dev_(
    watchdog: DA9055 Watchdog driver
    watchdog: omap_wdt: eliminate goto
    watchdog: omap_wdt: delete redundant platform_set_drvdata() calls
    watchdog: omap_wdt: convert to devm_ functions
    watchdog: omap_wdt: convert to new watchdog core
    watchdog: WatchDog Timer Driver Core: fix comment
    watchdog: s3c2410_wdt: use clk_prepare_enable and clk_disable_unprepare
    watchdog: imx2_wdt: Select the driver via ARCH_MXC
    watchdog: cpu5wdt.c: add missing del_timer call
    watchdog: hpwdt.c: Increase version string
    watchdog: Convert twl4030_wdt to watchdog core
    davinci_wdt: preparation for switch to common clock framework
    ...

    Linus Torvalds
     

21 Dec, 2012

12 commits

  • Merge the rest of Andrew's patches for -rc1:
    "A bunch of fixes and misc missed-out-on things.

    That'll do for -rc1. I still have a batch of IPC patches which still
    have a possible bug report which I'm chasing down."

    * emailed patches from Andrew Morton : (25 commits)
    keys: use keyring_alloc() to create module signing keyring
    keys: fix unreachable code
    sendfile: allows bypassing of notifier events
    SGI-XP: handle non-fatal traps
    fat: fix incorrect function comment
    Documentation: ABI: remove testing/sysfs-devices-node
    proc: fix inconsistent lock state
    linux/kernel.h: fix DIV_ROUND_CLOSEST with unsigned divisors
    memcg: don't register hotcpu notifier from ->css_alloc()
    checkpatch: warn on uapi #includes that #include
    mm: cma: WARN if freed memory is still in use
    exec: do not leave bprm->interp on stack
    ...

    Linus Torvalds
     
  • Pull VFS update from Al Viro:
    "fscache fixes, ESTALE patchset, vmtruncate removal series, assorted
    misc stuff."

    * 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/viro/vfs: (79 commits)
    vfs: make lremovexattr retry once on ESTALE error
    vfs: make removexattr retry once on ESTALE
    vfs: make llistxattr retry once on ESTALE error
    vfs: make listxattr retry once on ESTALE error
    vfs: make lgetxattr retry once on ESTALE
    vfs: make getxattr retry once on an ESTALE error
    vfs: allow lsetxattr() to retry once on ESTALE errors
    vfs: allow setxattr to retry once on ESTALE errors
    vfs: allow utimensat() calls to retry once on an ESTALE error
    vfs: fix user_statfs to retry once on ESTALE errors
    vfs: make fchownat retry once on ESTALE errors
    vfs: make fchmodat retry once on ESTALE errors
    vfs: have chroot retry once on ESTALE error
    vfs: have chdir retry lookup and call once on ESTALE error
    vfs: have faccessat retry once on an ESTALE error
    vfs: have do_sys_truncate retry once on an ESTALE error
    vfs: fix renameat to retry on ESTALE errors
    vfs: make do_unlinkat retry once on ESTALE errors
    vfs: make do_rmdir retry once on ESTALE errors
    vfs: add a flags argument to user_path_parent
    ...

    Linus Torvalds
     
  • This file is already documented in the stable ABI (see commit
    5bbe1ec11fcf).

    Signed-off-by: Davidlohr Bueso
    Cc: Greg KH
    Cc: Mel Gorman
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Davidlohr Bueso
     
  • Remove the documentation for capability.disable. The code supporting
    this parameter was removed with commit 5915eb53861c ("security: remove
    dummy module")

    Signed-off-by: Josh Boyer
    Acked-by: Serge Hallyn
    Cc: Rob Landley
    Cc: Miklos Szeredi
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Josh Boyer
     
  • …/linux-fs into for-linus

    Al Viro
     
  • Removed vmtruncate

    Signed-off-by: Marco Stornelli
    Signed-off-by: Al Viro

    Marco Stornelli
     
  • Pull nfsd update from Bruce Fields:
    "Included this time:

    - more nfsd containerization work from Stanislav Kinsbursky: we're
    not quite there yet, but should be by 3.9.

    - NFSv4.1 progress: implementation of basic backchannel security
    negotiation and the mandatory BACKCHANNEL_CTL operation. See

    http://wiki.linux-nfs.org/wiki/index.php/Server_4.0_and_4.1_issues

    for remaining TODO's

    - Fixes for some bugs that could be triggered by unusual compounds.
    Our xdr code wasn't designed with v4 compounds in mind, and it
    shows. A more thorough rewrite is still a todo.

    - If you've ever seen "RPC: multiple fragments per record not
    supported" logged while using some sort of odd userland NFS client,
    that should now be fixed.

    - Further work from Jeff Layton on our mechanism for storing
    information about NFSv4 clients across reboots.

    - Further work from Bryan Schumaker on his fault-injection mechanism
    (which allows us to discard selective NFSv4 state, to excercise
    rarely-taken recovery code paths in the client.)

    - The usual mix of miscellaneous bugs and cleanup.

    Thanks to everyone who tested or contributed this cycle."

    * 'for-3.8' of git://linux-nfs.org/~bfields/linux: (111 commits)
    nfsd4: don't leave freed stateid hashed
    nfsd4: free_stateid can use the current stateid
    nfsd4: cleanup: replace rq_resused count by rq_next_page pointer
    nfsd: warn on odd reply state in nfsd_vfs_read
    nfsd4: fix oops on unusual readlike compound
    nfsd4: disable zero-copy on non-final read ops
    svcrpc: fix some printks
    NFSD: Correct the size calculation in fault_inject_write
    NFSD: Pass correct buffer size to rpc_ntop
    nfsd: pass proper net to nfsd_destroy() from NFSd kthreads
    nfsd: simplify service shutdown
    nfsd: replace boolean nfsd_up flag by users counter
    nfsd: simplify NFSv4 state init and shutdown
    nfsd: introduce helpers for generic resources init and shutdown
    nfsd: make NFSd service structure allocated per net
    nfsd: make NFSd service boot time per-net
    nfsd: per-net NFSd up flag introduced
    nfsd: move per-net startup code to separated function
    nfsd: pass net to __write_ports() and down
    nfsd: pass net to nfsd_set_nrthreads()
    ...

    Linus Torvalds
     
  • Provide a proper invalidation method rather than relying on the netfs retiring
    the cookie it has and getting a new one. The problem with this is that isn't
    easy for the netfs to make sure that it has completed/cancelled all its
    outstanding storage and retrieval operations on the cookie it is retiring.

    Instead, have the cache provide an invalidation method that will cancel or wait
    for all currently outstanding operations before invalidating the cache, and
    will cause new operations to queue up behind that. Whilst invalidation is in
    progress, some requests will be rejected until the cache can stack a barrier on
    the operation queue to cause new operations to be deferred behind it.

    Signed-off-by: David Howells

    David Howells
     
  • Pull Ceph update from Sage Weil:
    "There are a few different groups of commits here. The largest is
    Alex's ongoing work to enable the coming RBD features (cloning,
    striping). There is some cleanup in libceph that goes along with it.

    Cyril and David have fixed some problems with NFS reexport (leaking
    dentries and page locks), and there is a batch of patches from Yan
    fixing problems with the fs client when running against a clustered
    MDS. There are a few bug fixes mixed in for good measure, many of
    which will be going to the stable trees once they're upstream.

    My apologies for the late pull. There is still a gremlin in the rbd
    map/unmap code and I was hoping to include the fix for that as well,
    but we haven't been able to confirm the fix is correct yet; I'll send
    that in a separate pull once it's nailed down."

    * 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/sage/ceph-client: (68 commits)
    rbd: get rid of rbd_{get,put}_dev()
    libceph: register request before unregister linger
    libceph: don't use rb_init_node() in ceph_osdc_alloc_request()
    libceph: init event->node in ceph_osdc_create_event()
    libceph: init osd->o_node in create_osd()
    libceph: report connection fault with warning
    libceph: socket can close in any connection state
    rbd: don't use ENOTSUPP
    rbd: remove linger unconditionally
    rbd: get rid of RBD_MAX_SEG_NAME_LEN
    libceph: avoid using freed osd in __kick_osd_requests()
    ceph: don't reference req after put
    rbd: do not allow remove of mounted-on image
    libceph: Unlock unprocessed pages in start_read() error path
    ceph: call handle_cap_grant() for cap import message
    ceph: Fix __ceph_do_pending_vmtruncate
    ceph: Don't add dirty inode to dirty list if caps is in migration
    ceph: Fix infinite loop in __wake_requests
    ceph: Don't update i_max_size when handling non-auth cap
    bdi_register: add __printf verification, fix arg mismatch
    ...

    Linus Torvalds
     
  • Fix the state management of internal fscache operations and the accounting of
    what operations are in what states.

    This is done by:

    (1) Give struct fscache_operation a enum variable that directly represents the
    state it's currently in, rather than spreading this knowledge over a bunch
    of flags, who's processing the operation at the moment and whether it is
    queued or not.

    This makes it easier to write assertions to check the state at various
    points and to prevent invalid state transitions.

    (2) Add an 'operation complete' state and supply a function to indicate the
    completion of an operation (fscache_op_complete()) and make things call
    it. The final call to fscache_put_operation() can then check that an op
    in the appropriate state (complete or cancelled).

    (3) Adjust the use of object->n_ops, ->n_in_progress, ->n_exclusive to better
    govern the state of an object:

    (a) The ->n_ops is now the number of extant operations on the object
    and is now decremented by fscache_put_operation() only.

    (b) The ->n_in_progress is simply the number of objects that have been
    taken off of the object's pending queue for the purposes of being
    run. This is decremented by fscache_op_complete() only.

    (c) The ->n_exclusive is the number of exclusive ops that have been
    submitted and queued or are in progress. It is decremented by
    fscache_op_complete() and by fscache_cancel_op().

    fscache_put_operation() and fscache_operation_gc() now no longer try to
    clean up ->n_exclusive and ->n_in_progress. That was leading to double
    decrements against fscache_cancel_op().

    fscache_cancel_op() now no longer decrements ->n_ops. That was leading to
    double decrements against fscache_put_operation().

    fscache_submit_exclusive_op() now decides whether it has to queue an op
    based on ->n_in_progress being > 0 rather than ->n_ops > 0 as the latter
    will persist in being true even after all preceding operations have been
    cancelled or completed. Furthermore, if an object is active and there are
    runnable ops against it, there must be at least one op running.

    (4) Add a remaining-pages counter (n_pages) to struct fscache_retrieval and
    provide a function to record completion of the pages as they complete.

    When n_pages reaches 0, the operation is deemed to be complete and
    fscache_op_complete() is called.

    Add calls to fscache_retrieval_complete() anywhere we've finished with a
    page we've been given to read or allocate for. This includes places where
    we just return pages to the netfs for reading from the server and where
    accessing the cache fails and we discard the proposed netfs page.

    The bugs in the unfixed state management manifest themselves as oopses like the
    following where the operation completion gets out of sync with return of the
    cookie by the netfs. This is possible because the cache unlocks and returns
    all the netfs pages before recording its completion - which means that there's
    nothing to stop the netfs discarding them and returning the cookie.

    FS-Cache: Cookie 'NFS.fh' still has outstanding reads
    ------------[ cut here ]------------
    kernel BUG at fs/fscache/cookie.c:519!
    invalid opcode: 0000 [#1] SMP
    CPU 1
    Modules linked in: cachefiles nfs fscache auth_rpcgss nfs_acl lockd sunrpc

    Pid: 400, comm: kswapd0 Not tainted 3.1.0-rc7-fsdevel+ #1090 /DG965RY
    RIP: 0010:[] [] __fscache_relinquish_cookie+0x170/0x343 [fscache]
    RSP: 0018:ffff8800368cfb00 EFLAGS: 00010282
    RAX: 000000000000003c RBX: ffff880023cc8790 RCX: 0000000000000000
    RDX: 0000000000002f2e RSI: 0000000000000001 RDI: ffffffff813ab86c
    RBP: ffff8800368cfb50 R08: 0000000000000002 R09: 0000000000000000
    R10: ffff88003a1b7890 R11: ffff88001df6e488 R12: ffff880023d8ed98
    R13: ffff880023cc8798 R14: 0000000000000004 R15: ffff88003b8bf370
    FS: 0000000000000000(0000) GS:ffff88003bd00000(0000) knlGS:0000000000000000
    CS: 0010 DS: 0000 ES: 0000 CR0: 000000008005003b
    CR2: 00000000008ba008 CR3: 0000000023d93000 CR4: 00000000000006e0
    DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
    DR3: 0000000000000000 DR6: 00000000ffff0ff0 DR7: 0000000000000400
    Process kswapd0 (pid: 400, threadinfo ffff8800368ce000, task ffff88003b8bf040)
    Stack:
    ffff88003b8bf040 ffff88001df6e528 ffff88001df6e528 ffffffffa00b46b0
    ffff88003b8bf040 ffff88001df6e488 ffff88001df6e620 ffffffffa00b46b0
    ffff88001ebd04c8 0000000000000004 ffff8800368cfb70 ffffffffa00b2c91
    Call Trace:
    [] nfs_fscache_release_inode_cookie+0x3b/0x47 [nfs]
    [] nfs_clear_inode+0x3c/0x41 [nfs]
    [] nfs4_evict_inode+0x2f/0x33 [nfs]
    [] evict+0xa1/0x15c
    [] dispose_list+0x2c/0x38
    [] prune_icache_sb+0x28c/0x29b
    [] prune_super+0xd5/0x140
    [] shrink_slab+0x102/0x1ab
    [] balance_pgdat+0x2f2/0x595
    [] ? process_timeout+0xb/0xb
    [] kswapd+0x270/0x289
    [] ? __init_waitqueue_head+0x46/0x46
    [] ? balance_pgdat+0x595/0x595
    [] kthread+0x7f/0x87
    [] kernel_thread_helper+0x4/0x10
    [] ? finish_task_switch+0x45/0xc0
    [] ? retint_restore_args+0xe/0xe
    [] ? __init_kthread_worker+0x53/0x53
    [] ? gs_change+0xb/0xb

    Signed-off-by: David Howells

    David Howells
     
  • Pull new F2FS filesystem from Jaegeuk Kim:
    "Introduce a new file system, Flash-Friendly File System (F2FS), to
    Linux 3.8.

    Highlights:
    - Add initial f2fs source codes
    - Fix an endian conversion bug
    - Fix build failures on random configs
    - Fix the power-off-recovery routine
    - Minor cleanup, coding style, and typos patches"

    From the Kconfig help text:

    F2FS is based on Log-structured File System (LFS), which supports
    versatile "flash-friendly" features. The design has been focused on
    addressing the fundamental issues in LFS, which are snowball effect
    of wandering tree and high cleaning overhead.

    Since flash-based storages show different characteristics according to
    the internal geometry or flash memory management schemes aka FTL, F2FS
    and tools support various parameters not only for configuring on-disk
    layout, but also for selecting allocation and cleaning algorithms.

    and there's an article by Neil Brown about it on lwn.net:

    http://lwn.net/Articles/518988/

    * tag 'for-3.8-merge' of git://git.kernel.org/pub/scm/linux/kernel/git/jaegeuk/f2fs: (36 commits)
    f2fs: fix tracking parent inode number
    f2fs: cleanup the f2fs_bio_alloc routine
    f2fs: introduce accessor to retrieve number of dentry slots
    f2fs: remove redundant call to f2fs_put_page in delete entry
    f2fs: make use of GFP_F2FS_ZERO for setting gfp_mask
    f2fs: rewrite f2fs_bio_alloc to make it simpler
    f2fs: fix a typo in f2fs documentation
    f2fs: remove unused variable
    f2fs: move error condition for mkdir at proper place
    f2fs: remove unneeded initialization
    f2fs: check read only condition before beginning write out
    f2fs: remove unneeded memset from init_once
    f2fs: show error in case of invalid mount arguments
    f2fs: fix the compiler warning for uninitialized use of variable
    f2fs: resolve build failures
    f2fs: adjust kernel coding style
    f2fs: fix endian conversion bugs reported by sparse
    f2fs: remove unneeded version.h header file from f2fs.h
    f2fs: update the f2fs document
    f2fs: update Kconfig and Makefile
    ...

    Linus Torvalds
     
  • Pull IOMMU updates from Joerg Roedel:
    "A few new features this merge-window. The most important one is
    probably, that dma-debug now warns if a dma-handle is not checked with
    dma_mapping_error by the device driver. This requires minor changes
    to some architectures which make use of dma-debug. Most of these
    changes have the respective Acks by the Arch-Maintainers.

    Besides that there are updates to the AMD IOMMU driver for refactor
    the IOMMU-Groups support and to make sure it does not trigger a
    hardware erratum.

    The OMAP changes (for which I pulled in a branch from Tony Lindgren's
    tree) have a conflict in linux-next with the arm-soc tree. The
    conflict is in the file arch/arm/mach-omap2/clock44xx_data.c which is
    deleted in the arm-soc tree. It is safe to delete the file too so
    solve the conflict. Similar changes are done in the arm-soc tree in
    the common clock framework migration. A missing hunk from the patch
    in the IOMMU tree will be submitted as a seperate patch when the
    merge-window is closed."

    * tag 'iommu-updates-v3.8' of git://git.kernel.org/pub/scm/linux/kernel/git/joro/iommu: (29 commits)
    ARM: dma-mapping: support debug_dma_mapping_error
    ARM: OMAP4: hwmod data: ipu and dsp to use parent clocks instead of leaf clocks
    iommu/omap: Adapt to runtime pm
    iommu/omap: Migrate to hwmod framework
    iommu/omap: Keep mmu enabled when requested
    iommu/omap: Remove redundant clock handling on ISR
    iommu/amd: Remove obsolete comment
    iommu/amd: Don't use 512GB pages
    iommu/tegra: smmu: Move bus_set_iommu after probe for multi arch
    iommu/tegra: gart: Move bus_set_iommu after probe for multi arch
    iommu/tegra: smmu: Remove unnecessary PTC/TLB flush all
    tile: dma_debug: add debug_dma_mapping_error support
    sh: dma_debug: add debug_dma_mapping_error support
    powerpc: dma_debug: add debug_dma_mapping_error support
    mips: dma_debug: add debug_dma_mapping_error support
    microblaze: dma-mapping: support debug_dma_mapping_error
    ia64: dma_debug: add debug_dma_mapping_error support
    c6x: dma_debug: add debug_dma_mapping_error support
    ARM64: dma_debug: add debug_dma_mapping_error support
    intel-iommu: Prevent devices with RMRRs from being placed into SI Domain
    ...

    Linus Torvalds
     

20 Dec, 2012

9 commits

  • Pull hwmon subsystem update from Jean Delvare:
    "There are many improvements to the it87 driver, as well as suspend
    support for the Winbond Super-I/O chips, and a few other fixes."

    * 'hwmon-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/jdelvare/staging:
    hwmon-vid: Add support for AMD family 11h to 15h processors
    hwmon: (it87) Support PECI for additional chips
    hwmon: (it87) Report thermal sensor type as Intel PECI if appropriate
    hwmon: (it87) Manage device specific features with table
    hwmon: (it87) Replace pwm group macro with direct attribute definitions
    hwmon: (it87) Avoid quoted string splits across lines
    hwmon: (it87) Save fan registers in 2-dimensional array
    hwmon: (it87) Introduce support for tempX_offset sysfs attribute
    hwmon: (it87) Replace macro defining tempX_type sensors with direct definitions
    hwmon: (it87) Save voltage register values in 2-dimensional array
    hwmon: (it87) Save temperature registers in 2-dimensional array
    hwmon: (w83627ehf) Get rid of smatch warnings
    hwmon: (w83627hf) Don't touch nonexistent I2C address registers
    hwmon: (w83627ehf) Add support for suspend
    hwmon: (w83627hf) Add support for suspend
    hwmon: Fix PCI device reference leak in quirk

    Linus Torvalds
     
  • Linus Torvalds
     
  • This adds OF support for davinci_wdt driver.

    Signed-off-by: Murali Karicheri
    Acked-by: Grant Likely
    Signed-off-by: Wim Van Sebroeck

    Murali Karicheri
     
  • IT8721 and IT8728 support Intel PECI temperature reporting. Each sensor
    can be programmed to display the temperature reported on the PECI interface.

    If configured for Intel PECI, the driver reported the wrong sensor type for
    the respective thermal sensor. Fix the code to correctly report it as
    "Intel PECI (6)".

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

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

    Guenter Roeck
     
  • Pull Xtensa patchset from Chris Zankel:
    "This contains support of device trees, many fixes, and code clean-ups"

    * tag 'xtensa-20121218' of git://github.com/czankel/xtensa-linux: (33 commits)
    xtensa: don't try to build DTB when OF is disabled
    xtensa: set the correct ethernet address for xtfpga
    xtensa: clean up files to make them code-style compliant
    xtensa: provide endianness macro for sparse
    xtensa: fix RASID SR initialization
    xtensa: initialize CPENABLE SR when core has one
    xtensa: reset all timers on initialization
    Use for_each_compatible_node() macro.
    xtensa: add XTFPGA DTS
    xtensa: add support for the XTFPGA boards
    xtensa: add device trees support
    xtensa: add IRQ domains support
    xtensa: add U-Boot image support (uImage).
    xtensa: clean up boot make rules
    xtensa: fix mb and wmb definitions
    xtensa: add s32c1i-based spinlock implementations
    xtensa: add s32c1i-based bitops implementations
    xtensa: add s32c1i-based atomic ops implementations
    xtensa: add s32c1i sanity check
    xtensa: add trap_set_handler function
    ...

    Linus Torvalds
     
  • Pull small x86 fixes from Peter Anvin:
    "A collection of very small fixes, mostly pure documentation."

    * 'x86-urgent-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip:
    x86, doc: Document that bootloader ID 4 is used also by iPXE
    x86, doc: Add a formal bootloader ID for kexec-tools
    x86, 8042: Enable A20 using KBC to fix S3 resume on some MSI laptops

    Linus Torvalds
     
  • Pull MTD updates from David Woodhouse:
    - Various cleanups especially in NAND tests
    - Add support for NAND flash on BCMA bus
    - DT support for sh_flctl and denali NAND drivers
    - Kill obsolete/superceded drivers (fortunet, nomadik_nand)
    - Fix JFFS2 locking bug in ENOMEM failure path
    - New SPI flash chips, as usual
    - Support writing in 'reliable mode' for DiskOnChip G4
    - Debugfs support in nandsim

    * tag 'for-linus-20121219' of git://git.infradead.org/linux-mtd: (96 commits)
    mtd: nand: typo in nand_id_has_period() comments
    mtd: nand/gpio: use io{read,write}*_rep accessors
    mtd: block2mtd: throttle writes by calling balance_dirty_pages_ratelimited.
    mtd: nand: gpmi: reset BCH earlier, too, to avoid NAND startup problems
    mtd: nand/docg4: fix and improve read of factory bbt
    mtd: nand/docg4: reserve bb marker area in ecclayout
    mtd: nand/docg4: add support for writing in reliable mode
    mtd: mxc_nand: reorder part_probes to let cmdline override other sources
    mtd: mxc_nand: fix unbalanced clk_disable() in error path
    mtd: nandsim: Introduce debugfs infrastructure
    mtd: physmap_of: error checking to prevent a NULL pointer dereference
    mtg: docg3: potential divide by zero in doc_write_oob()
    mtd: bcm47xxnflash: writing support
    mtd: tests/read: initialize buffer for whole next page
    mtd: at91: atmel_nand: return bit flips for the PMECC read_page()
    mtd: fix recovery after failed write-buffer operation in cfi_cmdset_0002.c
    mtd: nand: onfi need to be probed in 8 bits mode
    mtd: nand: add NAND_BUSWIDTH_AUTO to autodetect bus width
    mtd: nand: print flash size during detection
    mted: nand_wait_ready timeout fix
    ...

    Linus Torvalds
     
  • Pull pwm changes from Thierry Reding:
    "A new driver has been added for the SPEAr platform and the
    TWL4030/6030 driver has been replaced by two drivers that control the
    regular PWMs and the PWM driven LEDs provided by the chips.

    The vt8500, tiecap, tiehrpwm, i.MX, LPC32xx and Samsung drivers have
    all been improved and the device tree bindings now support the PWM
    signal polarity."

    Fix up trivial conflicts due to __devinit/exit removal.

    * tag 'for-3.8-rc1' of git://gitorious.org/linux-pwm/linux-pwm: (21 commits)
    pwm: samsung: add missing s3c->pwm_id assignment
    pwm: lpc32xx: Set the chip base for dynamic allocation
    pwm: lpc32xx: Properly disable the clock on device removal
    pwm: lpc32xx: Fix the PWM polarity
    pwm: i.MX: eliminate build warning
    pwm: Export of_pwm_xlate_with_flags()
    pwm: Remove pwm-twl6030 driver
    pwm: New driver to support PWM driven LEDs on TWL4030/6030 series of PMICs
    pwm: New driver to support PWMs on TWL4030/6030 series of PMICs
    pwm: pwm-tiehrpwm: pinctrl support
    pwm: tiehrpwm: Add device-tree binding
    pwm: pwm-tiehrpwm: Adding TBCLK gating support.
    pwm: pwm-tiecap: pinctrl support
    pwm: tiecap: Add device-tree binding
    pwm: Add TI PWM subsystem driver
    pwm: Device tree support for PWM polarity
    pwm: vt8500: Ensure PWM clock is enabled during pwm_config
    pwm: vt8500: Fix build error
    pwm: spear: Staticize spear_pwm_config()
    pwm: Add SPEAr PWM chip driver support
    ...

    Linus Torvalds