15 Apr, 2013

4 commits

  • Comparison between buffers is stored to the dedicated structure.

    Note that the verify result is now accessible only via file 'results' in the
    debugfs.

    Signed-off-by: Andy Shevchenko
    Signed-off-by: Vinod Koul

    Andy Shevchenko
     
  • The patch provides a storage for the test results in the linked list. The
    gathered data could be used after test is done.

    The new file 'results' represents gathered data of the in progress test. The
    messages collected are printed to the kernel log as well.

    Example of output:
    % cat /sys/kernel/debug/dmatest/results
    dma0chan0-copy0: #1: No errors with src_off=0x7bf dst_off=0x8ad len=0x3fea (0)

    The message format is unified across the different types of errors. A number in
    the parens represents additional information, e.g. error code, error counter,
    or status.

    Note that the buffer comparison is done in the old way, i.e. data is not
    collected and just printed out.

    Signed-off-by: Andy Shevchenko
    Signed-off-by: Vinod Koul

    Andy Shevchenko
     
  • The following command should return actual state of the test.
    % cat /sys/kernel/debug/dmatest/run

    To wait for test done the user may perform a busy loop that checks the state.
    % while [ $(cat /sys/kernel/debug/dmatest/run) = "Y" ]
    > do
    > echo -n "."
    > sleep 1
    > done
    > echo

    Signed-off-by: Andy Shevchenko
    Signed-off-by: Vinod Koul

    Andy Shevchenko
     
  • Instead of doing
    modprobe dmatest ...
    modprobe -r dmatest
    we allow user to run tests interactively.

    The dmatest could be built as module or inside kernel. Let's consider those
    cases.

    1. When dmatest is built as a module...

    After mounting debugfs and loading the module, the /sys/kernel/debug/dmatest
    folder with nodes will be created. They are the same as module parameters with
    addition of the 'run' node that controls run and stop phases of the test.

    Note that in this case test will not run on load automatically.

    Example of usage:
    % echo dma0chan0 > /sys/kernel/debug/dmatest/channel
    % echo 2000 > /sys/kernel/debug/dmatest/timeout
    % echo 1 > /sys/kernel/debug/dmatest/iterations
    % echo 1 > /sys/kernel/debug/dmatest/run

    After a while you will start to get messages about current status or error like
    in the original code.

    Note that running a new test will stop any in progress test.

    2. When built-in in the kernel...

    The module parameters that is supplied to the kernel command line will be used
    for the first performed test. After user gets a control, the test could be
    interrupted or re-run with same or different parameters. For the details see
    the above section "1. When dmatest is built as a module..."

    In both cases the module parameters are used as initial values for the test case.
    You always could check them at run-time by running
    % grep -H . /sys/module/dmatest/parameters/*

    Signed-off-by: Andy Shevchenko
    Signed-off-by: Vinod Koul

    Andy Shevchenko
     

13 Apr, 2013

1 commit

  • Pull SCSI fixes from James Bottomley:
    "This is a set of ten bug fixes (and two consisting of copyright year
    update and version number change) pretty much all of which involve
    either a crash or a hang except the removal of the random sleep from
    the qla2xxx driver (which is a coding error so bad, we want it gone
    before anyone has a chance to copy it)."

    * tag 'scsi-fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/jejb/scsi:
    [SCSI] lpfc: fix potential NULL pointer dereference in lpfc_sli4_rq_put()
    [SCSI] libsas: fix handling vacant phy in sas_set_ex_phy()
    [SCSI] ibmvscsi: Fix slave_configure deadlock
    [SCSI] qla2xxx: Update the driver version to 8.04.00.13-k.
    [SCSI] qla2xxx: Remove debug code that msleeps for random duration.
    [SCSI] qla2xxx: Update copyright dates information in LICENSE.qla2xxx file.
    [SCSI] qla2xxx: Fix crash during firmware dump procedure.
    [SCSI] Revert "qla2xxx: Add setting of driver version string for vendor application."
    [SCSI] ipr: dlpar failed when adding an adapter back
    [SCSI] ipr: fix addition of abort command to HRRQ free queue
    [SCSI] st: Take additional queue ref in st_probe
    [SCSI] libsas: use right function to alloc smp response
    [SCSI] ipr: ipr_test_msi() fails when running with msi-x enabled adapter

    Linus Torvalds
     

11 Apr, 2013

1 commit

  • Pull tty/serial fixes from Greg Kroah-Hartman:
    "Here are 4 small tty/serial fixes for 3.9.

    One fixes a bug where we broke the documentation build, and the others
    fix reported problems in some serial drivers.

    All have been in linux-next for a while"

    * tag 'tty-3.9-rc6' of git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/tty:
    tty: mxser: fix cycle termination condition in mxser_probe() and mxser_module_init()
    Revert "tty/8250_pnp: serial port detection regression since v3.7"
    OMAP/serial: Revert bad fix of Rx FIFO threshold granularity
    tty: Documentation: fix a path in a DocBook template

    Linus Torvalds
     

06 Apr, 2013

2 commits

  • Signed-off-by: Giridhar Malavali
    Signed-off-by: Saurav Kashyap
    Signed-off-by: James Bottomley

    Saurav Kashyap
     
  • Pull sound fixes from Takashi Iwai:
    "This contains slightly more volumes than usual at this stage, mostly
    because of my vacation in the last week. Nothing to scare, all small
    and/or trivial fixes:

    - Fix loop path handling in ASoC DAPM
    - Some memory handling fixes in ASoC core
    - Fix spear_pcm to adapt to the updated API
    - HD-audio HDMI ELD handling fixes
    - Fix for CM6331 USB-audio SRC change bugs
    - Revert power_save_controller option change due to user-space usage
    - A few other small ASoC and HD-audio fixes"

    * tag 'sound-3.9' of git://git.kernel.org/pub/scm/linux/kernel/git/tiwai/sound:
    ALSA: hda/generic - fix uninitialized variable
    Revert "ALSA: hda - Allow power_save_controller option override DCAPS"
    ALSA: hda - fix typo in proc output
    ALSA: hda - Enabling Realtek ALC 671 codec
    ALSA: usb: Work around CM6631 sample rate change bug
    ALSA: hda - bug fix on HDMI ELD debug message
    ALSA: hda - bug fix on return value when getting HDMI ELD info
    ASoC: dma-sh7760: Fix compile error
    ASoC: core: fix invalid free of devm_ allocated data
    ASoC: spear_pcm: Update to new pcm_new() API
    ASoC:: max98090: Remove executable bit
    ASoC: dapm: Fix pointer dereference in is_connected_output_ep()
    ASoC: pcm030 audio fabric: remove __init from probe
    ASoC: imx-ssi: Fix occasional AC97 reset failure
    ASoC: core: fix possible memory leak in snd_soc_bytes_put()
    ASoC: wm_adsp: fix possible memory leak in wm_adsp_load_coeff()
    ASoC: dapm: Fix handling of loops
    ASoC: si476x: Add missing break for SNDRV_PCM_FORMAT_S8 switch case

    Linus Torvalds
     

04 Apr, 2013

2 commits

  • This reverts commit 6ab317419c62850a71e2adfd1573e5ee87d8774f.

    The commit [6ab317419c: ALSA: hda - Allow power_save_controller option
    override DCAPS] changed the behavior of power_save_controller so that
    it can override the driver capability. This assumed that this option
    is rarely changed dynamically unlike power_save option. Too naive.

    It turned out that the user-space power-management tool tries to set
    power_save_controller option to 1 together with power_save option
    without knowing what's actually doing. This enabled forcibly the
    runtime PM of the controller, which is known to be broken om many
    chips thus disabled as default.

    So, the only sane fix is to revert this commit again. It was intended
    to ease debugging/testing for runtime PM enablement, but obviously we
    need another way for it.

    Bugzilla: https://bugzilla.kernel.org/show_bug.cgi?id=56171
    Reported-and-tested-by: Nikita Tsukanov
    Signed-off-by: Takashi Iwai

    Takashi Iwai
     
  • A wrong path to a driver breaks DocBook built.

    Signed-off-by: Guennadi Liakhovetski
    Acked-by: Randy Dunlap
    Acked-by: Jiri Slaby
    Signed-off-by: Greg Kroah-Hartman

    Guennadi Liakhovetski
     

27 Mar, 2013

1 commit

  • Pull networking fixes from David Miller:

    1) Always increment IPV4 ID field in encapsulated GSO packets, even
    when DF is set. Regression fix from Pravin B Shelar.

    2) Fix per-net subsystem initialization in netfilter conntrack,
    otherwise we may access dynamically allocated memory before it is
    actually allocated. From Gao Feng.

    3) Fix DMA buffer lengths in iwl3945 driver, from Stanislaw Gruszka.

    4) Fix race between submission of sync vs async commands in mwifiex
    driver, from Amitkumar Karwar.

    5) Add missing cancel of command timer in mwifiex driver, from Bing
    Zhao.

    6) Missing SKB free in rtlwifi USB driver, from Jussi Kivilinna.

    7) Thermal layer tries to use a genetlink multicast string that is
    longer than the 16 character limit. Fix it and add a BUG check to
    prevent this kind of thing from happening in the future.

    From Masatake YAMATO.

    8) Fix many bugs in the handling of the teardown of L2TP connections,
    UDP encapsulation instances, and sockets. From Tom Parkin.

    9) Missing socket release in IRDA, from Kees Cook.

    10) Fix fec driver modular build, from Fabio Estevam.

    11) Erroneous use of kfree() instead of free_netdev() in lantiq_etop,
    from Wei Yongjun.

    12) Fix bugs in handling of queue numbers and steering rules in mlx4
    driver, from Moshe Lazer, Hadar Hen Zion, and Or Gerlitz.

    13) Some FOO_DIAG_MAX constants were defined off by one, fix from Andrey
    Vagin.

    14) TCP segmentation deferral is unintentionally done too strongly,
    breaking ACK clocking. Fix from Eric Dumazet.

    15) net_enable_timestamp() can legitimately be invoked from software
    interrupts, and in a way that is safe, so remove the WARN_ON().
    Also from Eric Dumazet.

    16) Fix use after free in VLANs, from Cong Wang.

    17) Fix TCP slow start retransmit storms after SACK reneging, from
    Yuchung Cheng.

    18) Unix socket release should mark a socket dead before NULL'ing out
    sock->sk, otherwise we can race. Fix from Paul Moore.

    19) IPV6 addrconf code can try to free static memory, from Hong Zhiguo.

    20) Fix register mis-programming, NULL pointer derefs, and wrong PHC
    clock frequency in IGB driver. From Lior LevyAlex Williamson, Jiri
    Benc, and Jeff Kirsher.

    21) skb->ip_summed logic in pch_gbe driver is reversed, breaking packet
    forwarding. Fix from Veaceslav Falico.

    * git://git.kernel.org/pub/scm/linux/kernel/git/davem/net: (65 commits)
    ipv4: Fix ip-header identification for gso packets.
    bonding: remove already created master sysfs link on failure
    af_unix: dont send SCM_CREDENTIAL when dest socket is NULL
    pch_gbe: fix ip_summed checksum reporting on rx
    igb: fix PHC stopping on max freq
    igb: make sensor info static
    igb: SR-IOV init reordering
    igb: Fix null pointer dereference
    igb: fix i350 anti spoofing config
    ixgbevf: don't release the soft entries
    ipv6: fix bad free of addrconf_init_net
    unix: fix a race condition in unix_release()
    tcp: undo spurious timeout after SACK reneging
    bnx2x: fix assignment of signed expression to unsigned variable
    bridge: fix crash when set mac address of br interface
    8021q: fix a potential use-after-free
    net: remove a WARN_ON() in net_enable_timestamp()
    tcp: preserve ACK clocking in TSO
    net: fix *_DIAG_MAX constants
    net/mlx4_core: Disallow releasing VF QPs which have steering rules
    ...

    Linus Torvalds
     

24 Mar, 2013

1 commit

  • Pull i2c fixes from Wolfram Sang:
    "One bugfix for the tegra driver. Two updates regarding email
    addresses and MAINTAINERS which I like to have up-to-date so people
    can be reached immediately. While we are here, there is on PCI_ID
    addition."

    * 'i2c/for-current' of git://git.kernel.org/pub/scm/linux/kernel/git/wsa/linux:
    MAINTAINERS: add maintainer entry for atmel i2c driver
    i2c: Fix my e-mail address in drivers and documentation
    i2c: iSMT: add Intel Avoton DeviceIDs
    i2c: tegra: check the clk_prepare_enable() return value

    Linus Torvalds
     

23 Mar, 2013

1 commit

  • Pull sound fixes from Takashi Iwai:
    "Mostly HD-audio and USB-audio regression fixes:
    - Oops fix at unloading of snd-hda-codec-conexant module
    - A few trivial regression fixes for Cirrus and Conexant HD-audio
    codecs
    - Relax the USB-audio descriptor parse errors as non-fatal
    - Fix locking of HD-audio CA0132 DSP loader
    - Fix the generic HD-audio parser for VIA codecs"

    * tag 'sound-3.9' of git://git.kernel.org/pub/scm/linux/kernel/git/tiwai/sound:
    ALSA: hda - Fix DAC assignment for independent HP
    ALSA: hda - Fix abuse of snd_hda_lock_devices() for DSP loader
    ALSA: hda - Fix typo in checking IEC958 emphasis bit
    ALSA: snd-usb: mixer: ignore -EINVAL in snd_usb_mixer_controls()
    ALSA: snd-usb: mixer: propagate errors up the call chain
    ALSA: usb: Parse UAC2 extension unit like for UAC1
    ALSA: hda - Fix yet missing GPIO/EAPD setup in cirrus driver
    ALSA: hda/cirrus - Fix the digital beep registration
    ALSA: hda - Fix missing beep detach in patch_conexant.c
    ALSA: documentation: Fix typo in Documentation/sound

    Linus Torvalds
     

22 Mar, 2013

1 commit


20 Mar, 2013

1 commit

  • Pablo Neira Ayuso says:

    ====================
    The following patchset contains 7 Netfilter/IPVS fixes for 3.9-rc, they are:

    * Restrict IPv6 stateless NPT targets to the mangle table. Many users are
    complaining that this target does not work in the nat table, which is the
    wrong table for it, from Florian Westphal.

    * Fix possible use before initialization in the netns init path of several
    conntrack protocol trackers (introduced recently while improving conntrack
    netns support), from Gao Feng.

    * Fix incorrect initialization of copy_range in nfnetlink_queue, spotted
    by Eric Dumazet during the NFWS2013, patch from myself.

    * Fix wrong calculation of next SCTP chunk in IPVS, from Julian Anastasov.

    * Remove rcu_read_lock section in IPVS while calling ipv4_update_pmtu
    not required anymore after change introduced in 3.7, again from Julian.

    * Fix SYN looping in IPVS state sync if the backup is used a real server
    in DR/TUN modes, this required a new /proc entry to disable the director
    function when acting as backup, also from Julian.

    * Remove leftover IP_NF_QUEUE Kconfig after ip_queue removal, noted by
    Paul Bolle.
    ====================

    Signed-off-by: David S. Miller

    David S. Miller
     

19 Mar, 2013

2 commits

  • Dmitry Akindinov is reporting for a problem where SYNs are looping
    between the master and backup server when the backup server is used as
    real server in DR mode and has IPVS rules to function as director.

    Even when the backup function is enabled we continue to forward
    traffic and schedule new connections when the current master is using
    the backup server as real server. While this is not a problem for NAT,
    for DR and TUN method the backup server can not determine if a request
    comes from client or from director.

    To avoid such loops add new sysctl flag backup_only. It can be needed
    for DR/TUN setups that do not need backup and director function at the
    same time. When the backup function is enabled we stop any forwarding
    and pass the traffic to the local stack (real server mode). The flag
    disables the director function when the backup function is enabled.

    For setups that enable backup function for some virtual services and
    director function for other virtual services there should be another
    more complex solution to support DR/TUN mode, may be to assign
    per-virtual service syncid value, so that we can differentiate the
    requests.

    Reported-by: Dmitry Akindinov
    Tested-by: German Myzovsky
    Signed-off-by: Julian Anastasov
    Signed-off-by: Simon Horman

    Julian Anastasov
     
  • The TCN75 has its own prefix for a long time now.

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

    Jean Delvare
     

17 Mar, 2013

1 commit


16 Mar, 2013

1 commit

  • Pull MFD fixes from Samuel Ortiz:
    "This is the first batch of MFD fixes for 3.9.

    With this one we have:

    - An ab8500 build failure fix.
    - An ab8500 device tree parsing fix.
    - A fix for twl4030_madc remove routine to work properly (when
    built-in).
    - A fix for properly registering palmas interrupt handler.
    - A fix for omap-usb init routine to actually write into the
    hostconfig register.
    - A couple of warning fixes for ab8500-gpadc and tps65912"

    * tag 'mfd-fixes-3.9-1' of git://git.kernel.org/pub/scm/linux/kernel/git/sameo/mfd-fixes:
    mfd: twl4030-madc: Remove __exit_p annotation
    mfd: ab8500: Kill "reg" property from binding
    mfd: ab8500-gpadc: Complain if we fail to enable vtvout LDO
    mfd: wm831x: Don't forward declare enum wm831x_auxadc
    mfd: twl4030-audio: Fix argument type for twl4030_audio_disable_resource()
    mfd: tps65912: Declare and use tps65912_irq_exit()
    mfd: palmas: Provide irq flags through DT/platform data
    mfd: Make AB8500_CORE select POWER_SUPPLY to fix build error
    mfd: omap-usb-host: Actually update hostconfig

    Linus Torvalds
     

14 Mar, 2013

1 commit

  • Pull tty/serial fixes from Greg Kroah-Hartman:
    "Here are some tty/serial driver fixes for 3.9

    We finally mute the annoying WARN_ON that lots of people are hitting
    and it turns out isn't needed anymore. Also add a few new device ids
    and a some other minor fixes."

    * tag 'tty-3.9-rc2' of git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/tty:
    tty: serial: fix typo "SERIAL_S3C2412"
    serial: 8250: Keep 8250. module options functional after driver rename
    tty: serial: fix typo "ARCH_S5P6450"
    tty/8250_pnp: serial port detection regression since v3.7
    serial: bcm63xx_uart: fix compilation after "TTY: switch tty_insert_flip_char"
    serial: 8250_pci: add support for another kind of NetMos Technology PCI 9835 Multi-I/O Controller
    Fix 4 port and add support for 8 port 'Unknown' PCI serial port cards
    tty/serial: Add support for Altera serial port
    tty: serial: vt8500: Unneccessary duplicated clock code removed
    tty: serial: mpc5xxx: fix PSC clock name bug
    TTY: disable debugging warning

    Linus Torvalds
     

12 Mar, 2013

2 commits

  • Add support for Altera 8250/16550 compatible serial port.

    Signed-off-by: Ley Foon Tan
    Cc: stable
    Signed-off-by: Greg Kroah-Hartman

    Ley Foon Tan
     
  • The ab8500 device is a child of the prcmu device, which is a memory mapped
    bus device, whose children are addressable using physical memory addresses,
    not using mailboxes, so a mailbox number in the ab8500 node cannot be
    parsed by DT. Nothing uses this number, since it was only introduced
    as part of the failed attempt to clean up prcmu mailbox handling, and
    we can simply remove it.

    Signed-off-by: Arnd Bergmann
    Signed-off-by: Samuel Ortiz

    Arnd Bergmann
     

11 Mar, 2013

3 commits

  • Pull perf fixes from Ingo Molnar:
    "Misc minor fixes mostly related to tracing"

    * 'perf-urgent-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip:
    s390: Fix a header dependencies related build error
    tracing: update documentation of snapshot utility
    tracing: Do not return EINVAL in snapshot when not allocated
    tracing: Add help of snapshot feature when snapshot is empty
    ftrace: Update the kconfig for DYNAMIC_FTRACE

    Linus Torvalds
     
  • Pull networking fixes from David Miller:

    1) Missing cancel of work items in mac80211 MLME, from Ben Greear.

    2) Fix DMA mapping handling in iwlwifi by using coherent DMA for
    command headers, from Johannes Berg.

    3) Decrease the amount of pressure on the page allocator by using order
    1 pages less in iwlwifi, from Emmanuel Grumbach.

    4) Fix mesh PS broadcast OOPS in mac80211, from Marco Porsch.

    5) Don't forget to recalculate idle state in mac80211 monitor
    interface, from Felix Fietkau.

    6) Fix varargs in netfilter conntrack handler, from Joe Perches.

    7) Need to reset entire chip when command queue fills up in iwlwifi,
    from Emmanuel Grumbach.

    8) The TX antenna value must be valid when calibrations are performed
    in iwlwifi, fix from Dor Shaish.

    9) Don't generate netfilter audit log entries when audit is disabled,
    from Gao Feng.

    10) Deal with DMA unit hang on e1000e during power state transitions,
    from Bruce Allan.

    11) Remove BUILD_BUG_ON check from igb driver, from Alexander Duyck.

    12) Fix lockdep warning on i2c handling of igb driver, from Carolyn
    Wyborny.

    13) Fix several TTY handling issues in IRDA ircomm tty driver, from
    Peter Hurley.

    14) Several QFQ packet scheduler fixes from Paolo Valente.

    15) When VXLAN encapsulates on transmit, we have to reset the netfilter
    state. From Zang MingJie.

    16) Fix jiffie check in net_rx_action() so that we really cap the
    processing at 2HZ. From Eric Dumazet.

    17) Fix erroneous trigger of IP option space exhaustion, when routers
    are pre-specified and we are looking to see if we can insert a
    timestamp, we will have the space. From David Ward.

    18) Fix various issues in benet driver wrt waiting for firmware to
    finish POST after resets or errors. From Gavin Shan and Sathya
    Perla.

    19) Fix TX locking in SFC driver, from Ben Hutchings.

    20) Like the VXLAN fix above, when we encap in a TUN device we have to
    reset the netfilter state. This should fix several strange crashes
    reported by Dave Jones and others. From Eric Dumazet.

    21) Don't forget to clean up MAC address resources when shutting down a
    port in mlx4 driver, from Yan Burman.

    22) Fix divide by zero in vmxnet3 driver, from Bhavesh Davda.

    23) Fix device statistic regression in tg3 when the driver is using
    phylib, from Nithin Sujir.

    24) Fix info leak in several netlink handlers, from Mathias Krause.

    * git://git.kernel.org/pub/scm/linux/kernel/git/davem/net: (79 commits)
    6lowpan: Fix endianness issue in is_addr_link_local().
    rrunner.c: fix possible memory leak in rr_init_one()
    dcbnl: fix various netlink info leaks
    rtnl: fix info leak on RTM_GETLINK request for VF devices
    bridge: fix mdb info leaks
    tg3: Update link_up flag for phylib devices
    ipv6: stop multicast forwarding to process interface scoped addresses
    bridging: fix rx_handlers return code
    netlabel: fix build problems when CONFIG_IPV6=n
    drivers/isdn: checkng length to be sure not memory overflow
    net/rds: zero last byte for strncpy
    bnx2x: Fix SFP+ misconfiguration in iSCSI boot scenario
    bnx2x: Fix intermittent long KR2 link up time
    macvlan: Set IFF_UNICAST_FLT flag to prevent unnecessary promisc mode.
    team: unsyc the devices addresses when port is removed
    bridge: add missing vid to br_mdb_get()
    Fix: sparse warning in inet_csk_prepare_forced_close
    afkey: fix a typo
    MAINTAINERS: Update qlcnic maintainers list
    netlabel: correctly list all the static label mappings
    ...

    Linus Torvalds
     
  • Pull input updates from Dmitry Torokhov:
    "Except for the largish change to the ALPS driver adding "Dolphin V1"
    support and Wacom getting a new signature of yet another device, the
    rest are straightforward driver fixes."

    * 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/dtor/input:
    Input: mms114 - Fix regulator enable and disable paths
    Input: ads7864 - check return value of regulator enable
    Input: tc3589x-keypad - fix keymap size
    Input: wacom - add support for 0x10d
    Input: ALPS - update documentation for recent touchpad driver mods
    Input: ALPS - add "Dolphin V1" touchpad support
    Input: ALPS - remove unused argument to alps_enter_command_mode()
    Input: cypress_ps2 - fix trackpadi found in Dell XPS12

    Linus Torvalds
     

09 Mar, 2013

1 commit

  • Update email address and CREDITS info. xenotime.net is defunct.

    Signed-off-by: Randy Dunlap
    Cc: Harry Wei
    Cc: Keiichi KII
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Randy Dunlap
     

08 Mar, 2013

3 commits

  • Now, "snapshot" file returns success on a reset of snapshot buffer
    even if the buffer wasn't allocated, instead of returning EINVAL.
    This patch updates snapshot desctiption according to the change.

    Link: http://lkml.kernel.org/r/51399409.4090207@hitachi.com

    Signed-off-by: Hiraku Toyooka
    Signed-off-by: Steven Rostedt

    Hiraku Toyooka
     
  • Pull ACPI and power management fixes from Rafael J Wysocki:

    - Two fixes for the new intel_pstate driver from Dirk Brandewie.

    - Fix for incorrect usage of the .find_bridge() callback from struct
    acpi_bus_type in the USB core and subsequent removal of that callback
    from Rafael J Wysocki.

    - ACPI processor driver cleanups from Chen Gang and Syam Sidhardhan.

    - ACPI initialization and error messages fix from Joe Perches.

    - Operating Performance Points documentation improvement from Nishanth
    Menon.

    - Fixes for memory leaks and potential concurrency issues and sysfs
    attributes leaks during device removal in the core device PM QoS code
    from Rafael J Wysocki.

    - Calxeda Highbank cpufreq driver simplification from Emilio López.

    - cpufreq comment cleanup from Namhyung Kim.

    - Fix for a section mismatch in Calxeda Highbank interprocessor
    communication code from Mark Langsdorf (this is not a PM fix strictly
    speaking, but the code in question went in through the PM tree).

    * tag 'pm+acpi-3.9-rc2' of git://git.kernel.org/pub/scm/linux/kernel/git/rafael/linux-pm:
    cpufreq / intel_pstate: Do not load on VM that does not report max P state.
    cpufreq / intel_pstate: Fix intel_pstate_init() error path
    ACPI / glue: Drop .find_bridge() callback from struct acpi_bus_type
    ACPI / glue: Add .match() callback to struct acpi_bus_type
    ACPI / porocessor: Beautify code, pr->id is u32 which is never < 0
    ACPI / processor: Remove redundant NULL check before kfree
    ACPI / Sleep: Avoid interleaved message on errors
    PM / QoS: Remove device PM QoS sysfs attributes at the right place
    PM / QoS: Fix concurrency issues and memory leaks in device PM QoS
    cpufreq: highbank: do not initialize array with a loop
    PM / OPP: improve introductory documentation
    cpufreq: Fix a typo in comment
    mailbox, pl320-ipc: remove __init from probe function

    Linus Torvalds
     
  • Pull hwmon patches from Guenter Roeck:
    "Bug fixes for sht15 and ltc2978 driver plus some documentation
    updates"

    * tag 'hwmon-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/groeck/linux-staging:
    hwmon: (sht15) Check return value of regulator_enable()
    hwmon: (adt7410) Document ADT7420 support
    hwmon: (pmbus/ltc2978) Use detected chip ID to select supported functionality
    hwmon: (pmbus/ltc2978) Fix peak attribute handling
    hwmon: (pmbus/ltc2978) Update datasheet links
    hwmon: Update my e-mail address in driver documentation

    Linus Torvalds
     

07 Mar, 2013

1 commit


06 Mar, 2013

1 commit

  • Pull md updates from NeilBrown:
    "Mostly little bugfixes.

    Only "feature" is a new RAID10 layout which slightly improves the
    number of sets of devices that can concurrently fail, without data
    loss."

    * tag 'md-3.9' of git://neil.brown.name/md:
    md: expedite metadata update when switching read-auto -> active
    md: remove CONFIG_MULTICORE_RAID456
    md/raid1,raid10: fix deadlock with freeze_array()
    md/raid0: improve error message when converting RAID4-with-spares to RAID0
    md: raid0: fix error return from create_stripe_zones.
    md: fix two bugs when attempting to resize RAID0 array.
    DM RAID: Add support for MD's RAID10 "far" and "offset" algorithms
    MD RAID10: Improve redundancy for 'far' and 'offset' algorithms (part 2)
    MD RAID10: Improve redundancy for 'far' and 'offset' algorithms (part 1)
    MD RAID10: Minor non-functional code changes
    md: raid1,10: Handle REQ_WRITE_SAME flag in write bios
    md: protect against crash upon fsync on ro array

    Linus Torvalds
     

04 Mar, 2013

8 commits

  • Make Operating Performance Points (OPP) library introductory chapter
    a little more reader-friendly. Split the chapter into two sections,
    highlight the definition with an example and minor rewording to be
    verbose.

    Reported-by: Linus Torvalds
    Signed-off-by: Nishanth Menon
    Reviewed-by: Randy Dunlap
    Signed-off-by: Rafael J. Wysocki

    Nishanth Menon
     
  • The adt7410 driver supports the ADT7420, but its documentation file
    makes no mention of that. Add this refrence, and a brief a description
    of the differences between the ADT7410 and the ADT7420.

    Signed-off-by: Jean Delvare
    Cc: Lars-Peter Clausen
    Cc: Hartmut Knaack
    Cc: Guenter Roeck
    Signed-off-by: Guenter Roeck

    Jean Delvare
     
  • Links to datasheets are no longer valid. Provide links to product information
    instead (which provides links to the datasheets and is hopefully more
    persistent).

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

    Guenter Roeck
     
  • Most of the hwmon driver documentation still listed my old invalid e-mail
    address. Fix it.

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

    Guenter Roeck
     
  • Pull new ImgTec Meta architecture from James Hogan:
    "This adds core architecture support for Imagination's Meta processor
    cores, followed by some later miscellaneous arch/metag cleanups and
    fixes which I kept separate to ease review:

    - Support for basic Meta 1 (ATP) and Meta 2 (HTP) core architecture
    - A few fixes all over, particularly for symbol prefixes
    - A few privilege protection fixes
    - Several cleanups (setup.c includes, split out a lot of
    metag_ksyms.c)
    - Fix some missing exports
    - Convert hugetlb to use vm_unmapped_area()
    - Copy device tree to non-init memory
    - Provide dma_get_sgtable()"

    * tag 'metag-v3.9-rc1-v4' of git://git.kernel.org/pub/scm/linux/kernel/git/jhogan/metag: (61 commits)
    metag: Provide dma_get_sgtable()
    metag: prom.h: remove declaration of metag_dt_memblock_reserve()
    metag: copy devicetree to non-init memory
    metag: cleanup metag_ksyms.c includes
    metag: move mm/init.c exports out of metag_ksyms.c
    metag: move usercopy.c exports out of metag_ksyms.c
    metag: move setup.c exports out of metag_ksyms.c
    metag: move kick.c exports out of metag_ksyms.c
    metag: move traps.c exports out of metag_ksyms.c
    metag: move irq enable out of irqflags.h on SMP
    genksyms: fix metag symbol prefix on crc symbols
    metag: hugetlb: convert to vm_unmapped_area()
    metag: export clear_page and copy_page
    metag: export metag_code_cache_flush_all
    metag: protect more non-MMU memory regions
    metag: make TXPRIVEXT bits explicit
    metag: kernel/setup.c: sort includes
    perf: Enable building perf tools for Meta
    metag: add boot time LNKGET/LNKSET check
    metag: add __init to metag_cache_probe()
    ...

    Linus Torvalds
     
  • Pull watchdog updates from Wim Van Sebroeck:
    "This contains:
    - fixes and improvements
    - devicetree bindings
    - conversion to watchdog generic framework of the following drivers:
    - booke_wdt
    - bcm47xx_wdt.c
    - at91sam9_wdt
    - Removal of old STMP3xxx driver
    - Addition of following new drivers:
    - new driver for STMP3xxx and i.MX23/28
    - Retu watchdog driver"

    * git://www.linux-watchdog.org/linux-watchdog: (30 commits)
    watchdog: sp805_wdt depends on ARM
    watchdog: davinci_wdt: update to devm_* API
    watchdog: davinci_wdt: use devm managed clk get
    watchdog: at91rm9200: add DT support
    watchdog: add timeout-sec property binding
    watchdog: at91sam9_wdt: Convert to use the watchdog framework
    watchdog: omap_wdt: Add option nowayout
    watchdog: core: dt: add support for the timeout-sec dt property
    watchdog: bcm47xx_wdt.c: add hard timer
    watchdog: bcm47xx_wdt.c: rename wdt_time to timeout
    watchdog: bcm47xx_wdt.c: rename ops methods
    watchdog: bcm47xx_wdt.c: use platform device
    watchdog: bcm47xx_wdt.c: convert to watchdog core api
    watchdog: Convert BookE watchdog driver to watchdog infrastructure
    watchdog: s3c2410_wdt: Use devm_* functions
    watchdog: remove old STMP3xxx driver
    watchdog: add new driver for STMP3xxx and i.MX23/28
    rtc: stmp3xxx: add wdt-accessor function
    watchdog: introduce retu_wdt driver
    watchdog: intel_scu_watchdog: fix Kconfig dependency
    ...

    Linus Torvalds
     
  • Pull second set of slave-dmaengine updates from Vinod Koul:
    "Arnd's patch moves the dw_dmac to use generic DMA binding. I agreed
    to merge this late as it will avoid the conflicts between trees.

    The second patch from Matt adding a dma_request_slave_channel_compat
    API was supposed to be picked up, but somehow never got picked up.
    Some patches dependent on this are already in -next :("

    * 'next' of git://git.infradead.org/users/vkoul/slave-dma:
    dmaengine: dw_dmac: move to generic DMA binding
    dmaengine: add dma_request_slave_channel_compat()

    Linus Torvalds
     
  • Pull x86 platform driver updates from Matthew Garrett:
    "Mostly relatively small updates, along with some hardware enablement
    for Sony hardware and a pile of updates to Google's Chromebook driver"

    * 'for_linus' of git://cavan.codon.org.uk/platform-drivers-x86: (49 commits)
    ideapad-laptop: Depend on BACKLIGHT_CLASS_DEVICE instead of selecting it
    ideapad: depends on backlight subsystem and update comment
    Platform: x86: chromeos_laptop - add i915 gmbuses to adapter names
    Platform: x86: chromeos_laptop - Add isl light sensor for Pixel
    Platform: x86: chromeos_laptop - Add a more general add_i2c_device
    Platform: x86: chromeos_laptop - Add Pixel Touchscreen
    Platform: x86: chromeos_laptop - Add support for probing devices
    Platform: x86: chromeos_laptop - Add Pixel Trackpad
    hp-wmi: fix handling of platform device
    sony-laptop: leak in error handling sony_nc_lid_resume_setup()
    hp-wmi: Add support for SMBus hotkeys
    asus-wmi: Fix unused function build warning
    acer-wmi: avoid the warning of 'devices' may be used uninitialized
    drivers/platform/x86/thinkpad_acpi.c: Handle HKEY event 0x6040
    Platform: x86: chromeos_laptop - Add HP Pavilion 14
    Platform: x86: chromeos_laptop - Add Taos tsl2583 device
    Platform: x86: chromeos_laptop - Add Taos tsl2563 device
    Platform: x86: chromeos_laptop - Add Acer C7 trackpad
    Platform: x86: chromeos_laptop - Rename setup_lumpy_tp to setup_cyapa_smbus_tp
    asus-laptop: always report brightness key events
    ...

    Linus Torvalds
     

03 Mar, 2013

1 commit

  • Pull MTD update from David Woodhouse:
    "Fairly unexciting MTD merge for 3.9:

    - misc clean-ups in the MTD command-line partitioning parser
    (cmdlinepart)
    - add flash locking support for STmicro chips serial flash chips, as
    well as for CFI command set 2 chips.
    - new driver for the ELM error correction HW module found in various
    TI chips, enable the OMAP NAND driver to use the ELM HW error
    correction
    - added number of new serial flash IDs
    - various fixes and improvements in the gpmi NAND driver
    - bcm47xx NAND driver improvements
    - make the mtdpart module actually removable"

    * tag 'for-linus-20130301' of git://git.infradead.org/linux-mtd: (45 commits)
    mtd: map: BUG() in non handled cases
    mtd: bcm47xxnflash: use pr_fmt for module prefix in messages
    mtd: davinci_nand: Use managed resources
    mtd: mtd_torturetest can cause stack overflows
    mtd: physmap_of: Convert device allocation to managed devm_kzalloc()
    mtd: at91: atmel_nand: for PMECC, add code to check the ONFI parameter ECC requirement.
    mtd: atmel_nand: make pmecc-cap, pmecc-sector-size in dts is optional.
    mtd: atmel_nand: avoid to report an error when lookup table offset is 0.
    mtd: bcm47xxsflash: adjust names of bus-specific functions
    mtd: bcm47xxpart: improve probing of nvram partition
    mtd: bcm47xxpart: add support for other erase sizes
    mtd: bcm47xxnflash: register this as normal driver
    mtd: bcm47xxnflash: fix message
    mtd: bcm47xxsflash: register this as normal driver
    mtd: bcm47xxsflash: write number of written bytes
    mtd: gpmi: add sanity check for the ECC
    mtd: gpmi: set the Golois Field bit for mx6q's BCH
    mtd: devices: elm: Removes literals in elm DT node
    mtd: gpmi: fix a dereferencing freed memory error
    mtd: fix the wrong timeo for panic_nand_wait()
    ...

    Linus Torvalds