1. 31 Aug, 2015 12 commits
    • Linus Torvalds's avatar
      Merge tag 'for-v4.3' of git://git.kernel.org/pub/scm/linux/kernel/git/sre/linux-power-supply · c8192ba4
      Linus Torvalds authored
      Pull power supply and reset changes from Sebastian Reichel:
       - new reset driver for ZTE SoCs
       - add support for sama5d3 reset handling
       - overhaul of twl4030 charger driver
       - misc fixes and cleanups
      
      * tag 'for-v4.3' of git://git.kernel.org/pub/scm/linux/kernel/git/sre/linux-power-supply: (35 commits)
        bq2415x_charger: Allow to load and use driver even if notify device is not registered yet
        twl4030_charger: fix compile error when TWL4030_MADC not available.
        power: bq24190_charger: Fix charge type sysfs property
        power: Allow compile test of GPIO consumers if !GPIOLIB
        power: Export I2C module alias information in missing drivers
        twl4030_charger: Increase current carefully while watching voltage.
        twl4030_charger: add ac/mode to match usb/mode
        twl4030_charger: add software controlled linear charging mode.
        twl4030_charger: enable manual enable/disable of usb charging.
        twl4030_charger: allow max_current to be managed via sysfs.
        twl4030_charger: distinguish between USB current and 'AC' current
        twl4030_charger: allow fine control of charger current.
        twl4030_charger: split uA calculation into a function.
        twl4030_charger: trust phy to determine when USB power is available.
        twl4030_charger: correctly handle -EPROBE_DEFER from devm_usb_get_phy_by_node
        twl4030_charger: convert to module_platform_driver instead of ..._probe.
        twl4030_charger: use runtime_pm to keep usb phy active while charging.
        rx51-battery: Set name to rx51-battery
        MAINTAINERS: AVS is not maintained via power supply tree
        power: olpc_battery: clean up eeprom read function
        ...
      c8192ba4
    • Linus Torvalds's avatar
      Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/s390/linux · 9c6a019c
      Linus Torvalds authored
      Pull s390 updates from Martin Schwidefsky:
       "The big one is support for fake NUMA, splitting a really large machine
        in more manageable piece improves performance in some cases, e.g. for
        a KVM host.
      
        The FICON Link Incident handling has been improved, this helps the
        operator to identify degraded or non-operational FICON connections.
      
        The save and restore of floating point and vector registers has been
        overhauled to allow the future use of vector registers in the kernel.
      
        A few small enhancement, magic sys-requests for the vt220 console via
        SCLP, some more assembler code has been converted to C, the PCI error
        handling is improved.
      
        And the usual cleanup and bug fixing"
      
      * 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/s390/linux: (59 commits)
        s390/jump_label: Use %*ph to print small buffers
        s390/sclp_vt220: support magic sysrequests
        s390/ctrlchar: improve handling of magic sysrequests
        s390/numa: remove superfluous ARCH_WANT defines
        s390/3270: redraw screen on unsolicited device end
        s390/dcssblk: correct out of bounds array indexes
        s390/mm: simplify page table alloc/free code
        s390/pci: move debug messages to debugfs
        s390/nmi: initialize control register 0 earlier
        s390/zcrypt: use msleep() instead of mdelay()
        s390/hmcdrv: fix interrupt registration
        s390/setup: fix novx parameter
        s390/uaccess: remove uaccess_primary kernel parameter
        s390: remove unneeded sizeof(void *) comparisons
        s390/facilities: remove transactional-execution bits
        s390/numa: re-add DIE sched_domain_topology_level
        s390/dasd: enhance CUIR scope detection
        s390/dasd: fix failing path verification
        s390/vdso: emit a GNU hash
        s390/numa: make core to node mapping data dynamic
        ...
      9c6a019c
    • Linus Torvalds's avatar
      Merge tag 'xtensa-20150830' of git://github.com/czankel/xtensa-linux · 7c019191
      Linus Torvalds authored
      Pull xtensa updates from Chris Zankel:
       "Xtensa fixes and improvements for 4.3:
      
         - reimplement DMA API using common helpers
         - implement counting and sampling perf events using hardware perf
           counters
         - add fake NMI support for hardware perf counters
         - fix THREADPTR register reloading on return to userspace
         - keep exception/interrupt stack continuous for debugger
         - improve vmlinux.lds.S post-processing"
      
      * tag 'xtensa-20150830' of git://github.com/czankel/xtensa-linux:
        xtensa: improve vmlinux.lds.S sed post-processing
        xtensa: drop unused irq_err_count
        xtensa: implement fake NMI
        xtensa: don't touch EXC_TABLE_FIXUP in _switch_to
        xtensa: fix kernel register spilling
        xtensa: reorganize irq flags tracing
        perf tools: xtensa: add DWARF register names
        xtensa: implement counting and sampling perf events
        xtensa: count software page fault perf events
        xtensa: add profiling IRQ type to xtensa_irq_map
        xtensa: select PERF_USE_VMALLOC for cache-aliasing configurations
        xtensa: move oprofile stack tracing to stacktrace.c
        xtensa: keep exception/interrupt stack continuous
        xtensa: clean up Kconfig dependencies for custom cores
        xtensa: reimplement DMA API using common helpers
        xtensa: fix threadptr reload on return to userspace
        xtensa: ISS: add missing va_end into split_if_spec
      7c019191
    • Linus Torvalds's avatar
      Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/mattst88/alpha · 7b8067d3
      Linus Torvalds authored
      Pull alpha update from Matt Turner:
       "A single patch for alpha, one that enables ARCH_USE_CMPXCHG_LOCKREF
        and offers around an 8% performance improvement on a little benchmark
        that you wrote"
      
      * 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/mattst88/alpha:
        alpha: select CONFIG_ARCH_USE_CMPXCHG_LOCKREF.
      7b8067d3
    • Linus Torvalds's avatar
      Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/geert/linux-m68k · 9551bf29
      Linus Torvalds authored
      Pull m68k updates from Geert Uytterhoeven.
      
      * 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/geert/linux-m68k:
        m68k/bootinfo: Use kmemdup rather than duplicating its implementation
        m68k/defconfig: Update defconfigs for v4.2-rc1
        m68k/defconfig: Disable experimental CONFIG_DM_CACHE
      9551bf29
    • Linus Torvalds's avatar
      Merge tag 'usb-4.3-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb · 4ff12049
      Linus Torvalds authored
      Pull USB updates from Greg KH:
       "Here's the big USB and PHY patchset for 4.3-rc1.
      
        As usual, the majority of the changes are in the USB gadget portion of
        the tree, lots of little changes all over the place for bugs and new
        hardware.  Other than that, the normal mix of new hardware support and
        bugfixes.
      
        All have been in linux-next with no reported issues"
      
      * tag 'usb-4.3-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb: (261 commits)
        USB: qcserial: add HP lt4111 LTE/EV-DO/HSPA+ Gobi 4G Module
        USB: ftdi_sio: Added custom PID for CustomWare products
        USB: usb_wwan: silence read errors on disconnect
        USB: option: silence interrupt errors
        USB: symbolserial: Correct transferred data size
        USB: symbolserial: Use usb_get_serial_port_data
        usb: misc: usbtest: format max packet size for iso transfer
        usb: host: ehci-sys: delete useless bus_to_hcd conversion
        Revert "usb: interface authorization: Declare authorized attribute"
        Revert "usb: interface authorization: Introduces the default interface authorization"
        Revert "usb: interface authorization: Control interface probing and claiming"
        Revert "usb: interface authorization: Introduces the USB interface authorization"
        Revert "usb: interface authorization: SysFS part of USB interface authorization"
        Revert "usb: interface authorization: Documentation part"
        Revert "usb: interface authorization: Use a flag for the default device authorization"
        usb: core: hub: Removed some warnings generated by checkpatch.pl
        USB: host: ohci-at91: merge loops in ohci_hcd_at91_drv_probe
        USB: host: ohci-at91: merge ohci_at91_of_init in ohci_hcd_at91_drv_probe
        USB: host: ohci-at91: depend on OF
        USB: host: ohci-at91: move at91_usbh_data definition in c file
        ...
      4ff12049
    • Linus Torvalds's avatar
      Merge tag 'tty-4.3-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/tty · c2078402
      Linus Torvalds authored
      Pull tty/serial driver updates from Greg KH:
       "Here is the big tty/serial driver update for 4.3-rc1.
      
        Not many major things, a number of driver updates and changes, and the
        8250 driver got split up a bit to make it easier to work with by
        moving some functions to a new file.  Full details are in the
        shortlog.
      
        All have been in linux-next with no reported issues"
      
      * tag 'tty-4.3-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/tty: (90 commits)
        serial: imx: save and restore context in the suspend path
        serial: imx: allow waking up on RTSD
        serial: imx: introduce serial_imx_enable_wakeup()
        serial: imx: remove unbalanced clk_prepare
        serial: 8250: move rx_running out of the bitfield
        tty: serial: 8250_omap: do not use RX DMA if pause is not supported
        serial:8250_dw: do not alter CTS and DCTS since AFE is enabled
        tty: serial: men_z135_uart.c: Don't initialize port->lock
        tty: serial: men_z135_uart.c: Fix race between IRQ and set_termios()
        serial: 8250: bind to ALi Fast Infrared Controller (ALI5123)
        serial: 8250: don't bind to SMSC IrCC IR port
        serial: mxs-auart: fix baud rate range
        serial: mxs-auart: keep the AUART unit in reset state when not in use
        serial: mxs-auart: use a function name to reflect what it really does
        serial: 8250_pci: fix mode after S3/S4 resume for F81504/508/512
        sc16is7xx: constify devtype
        sc16is7xx: support multiple devices
        sc16is7xx: save and use per-chip line number
        uart: pl011: Add support to ZTE ZX296702 uart
        uart: pl011: Improve LCRH register access decision
        ...
      c2078402
    • Linus Torvalds's avatar
      Merge tag 'staging-4.3-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/staging · 2f37d65a
      Linus Torvalds authored
      Pull staging driver updates from Greg KH:
       "Here is the big staging driver updates for 4.3-rc1.
      
        Lots of things all over the place, almost all of them trivial fixups
        and changes.  The usual IIO updates and new drivers and we have added
        the MOST driver subsystem which is getting cleaned up in the tree.
        The ozwpan driver is finally being deleted as it is obviously
        abandoned and no one cares about it.
      
        Full details are in the shortlog, and all of these have been in
        linux-next with no reported issues"
      
      * tag 'staging-4.3-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/staging: (912 commits)
        staging/lustre/o2iblnd: remove references to ib_reg_phsy_mr()
        staging: wilc1000: fix build warning with setup_timer()
        staging: wilc1000: remove DECLARE_WILC_BUFFER()
        staging: wilc1000: remove void function return statements that are not useful
        staging: wilc1000: coreconfigurator.c: fix kmalloc error check
        staging: wilc1000: coreconfigurator.c: use kmalloc instead of WILC_MALLOC
        staging: wilc1000: remove unused codes of gps8ConfigPacket
        staging: wilc1000: remove unnecessary void pointer cast
        staging: wilc1000: remove WILC_NEW and WILC_NEW_EX
        staging: wilc1000: use kmalloc instead of WILC_NEW
        staging: wilc1000: Process WARN, INFO options of debug levels from user
        staging: wilc1000: remove unneeded tstrWILC_MsgQueueAttrs typedef
        staging: wilc1000: delete wilc_osconfig.h
        staging: wilc1000: delete wilc_log.h
        staging: wilc1000: delete wilc_timer.h
        staging: wilc1000: remove WILC_TimerStart()
        staging: wilc1000: remove WILC_TimerCreate()
        staging: wilc1000: remove WILC_TimerDestroy()
        staging: wilc1000: remove WILC_TimerStop()
        staging: wilc1000: remove tstrWILC_TimerAttrs typedef
        ...
      2f37d65a
    • Linus Torvalds's avatar
      Merge tag 'driver-core-4.3-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/driver-core · 1af115d6
      Linus Torvalds authored
      Pull driver core updates from Greg KH:
       "Here is the new patches for the driver core / sysfs for 4.3-rc1.
      
        Very small number of changes here, all the details are in the
        shortlog, nothing major happening at all this kernel release, which is
        nice to see"
      
      * tag 'driver-core-4.3-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/driver-core:
        bus: subsys: update return type of ->remove_dev() to void
        driver core: correct device's shutdown order
        driver core: fix docbook for device_private.device
        selftests: firmware: skip timeout checks for kernels without user mode helper
        kernel, cpu: Remove bogus __ref annotations
        cpu: Remove bogus __ref annotation of cpu_subsys_online()
        firmware: fix wrong memory deallocation in fw_add_devm_name()
        sysfs.txt: update show method notes about sprintf/snprintf/scnprintf usage
        devres: fix devres_get()
      1af115d6
    • Linus Torvalds's avatar
      Merge tag 'char-misc-4.3-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/char-misc · 1c00038c
      Linus Torvalds authored
      Pull char/misc driver patches from Greg KH:
       "Here's the "big" char/misc driver update for 4.3-rc1.
      
        Not much really interesting here, just a number of little changes all
        over the place, and some nice consolidation of the nvmem drivers to a
        common framework.  As usual, the mei drivers stand out as the largest
        "churn" to handle new devices and features in their hardware.
      
        All have been in linux-next for a while with no issues"
      
      * tag 'char-misc-4.3-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/char-misc: (136 commits)
        auxdisplay: ks0108: initialize local parport variable
        extcon: palmas: Fix build break due to devm_gpiod_get_optional API change
        extcon: palmas: Support GPIO based USB ID detection
        extcon: Fix signedness bugs about break error handling
        extcon: Drop owner assignment from i2c_driver
        extcon: arizona: Simplify pdata symantics for micd_dbtime
        extcon: arizona: Declare 3-pole jack if we detect open circuit on mic
        extcon: Add exception handling to prevent the NULL pointer access
        extcon: arizona: Ensure variables are set for headphone detection
        extcon: arizona: Use gpiod inteface to handle micd_pol_gpio gpio
        extcon: arizona: Add basic microphone detection DT/ACPI bindings
        extcon: arizona: Update to use the new device properties API
        extcon: palmas: Remove the mutually_exclusive array
        extcon: Remove optional print_state() function pointer of struct extcon_dev
        extcon: Remove duplicate header file in extcon.h
        extcon: max77843: Clear IRQ bits state before request IRQ
        toshiba laptop: replace ioremap_cache with ioremap
        misc: eeprom: max6875: clean up max6875_read()
        misc: eeprom: clean up eeprom_read()
        misc: eeprom: 93xx46: clean up eeprom_93xx46_bin_read/write
        ...
      1c00038c
    • Linus Torvalds's avatar
      Merge tag 'kvm-4.3-1' of git://git.kernel.org/pub/scm/virt/kvm/kvm · 44e98edc
      Linus Torvalds authored
      Pull kvm updates from Paolo Bonzini:
       "A very small release for x86 and s390 KVM.
      
         - s390: timekeeping changes, cleanups and fixes
      
         - x86: support for Hyper-V MSRs to report crashes, and a bunch of
           cleanups.
      
        One interesting feature that was planned for 4.3 (emulating the local
        APIC in kernel while keeping the IOAPIC and 8254 in userspace) had to
        be delayed because Intel complained about my reading of the manual"
      
      * tag 'kvm-4.3-1' of git://git.kernel.org/pub/scm/virt/kvm/kvm: (42 commits)
        x86/kvm: Rename VMX's segment access rights defines
        KVM: x86/vPMU: Fix unnecessary signed extension for AMD PERFCTRn
        kvm: x86: Fix error handling in the function kvm_lapic_sync_from_vapic
        KVM: s390: Fix assumption that kvm_set_irq_routing is always run successfully
        KVM: VMX: drop ept misconfig check
        KVM: MMU: fully check zero bits for sptes
        KVM: MMU: introduce is_shadow_zero_bits_set()
        KVM: MMU: introduce the framework to check zero bits on sptes
        KVM: MMU: split reset_rsvds_bits_mask_ept
        KVM: MMU: split reset_rsvds_bits_mask
        KVM: MMU: introduce rsvd_bits_validate
        KVM: MMU: move FNAME(is_rsvd_bits_set) to mmu.c
        KVM: MMU: fix validation of mmio page fault
        KVM: MTRR: Use default type for non-MTRR-covered gfn before WARN_ON
        KVM: s390: host STP toleration for VMs
        KVM: x86: clean/fix memory barriers in irqchip_in_kernel
        KVM: document memory barriers for kvm->vcpus/kvm->online_vcpus
        KVM: x86: remove unnecessary memory barriers for shared MSRs
        KVM: move code related to KVM_SET_BOOT_CPU_ID to x86
        KVM: s390: log capability enablement and vm attribute changes
        ...
      44e98edc
    • Matt Turner's avatar
      alpha: select CONFIG_ARCH_USE_CMPXCHG_LOCKREF. · 8f8dcb3f
      Matt Turner authored
      On Alpha we have spinlocks that are 32b in size and an efficient
      cmpxchg64 implementation, so we qualify to make use of cmpxchg backed
      lockrefs. Select the ARCH_USE_CMPXCHG_LOCKREF Kconfig symbol and provide
      a trivial implementation of arch_spin_value_unlocked to satisfy the
      lockref code.
      
      Using Linus' simple testcase from
      http://article.gmane.org/gmane.linux.file-systems/77466 on a dual CPU
      ES47 system I see around an 8% gain:
      
          N       Min       Max    Median       Avg      Stddev
      x  30   6194580   6295654   6272504   6272514   17694.232
      +  30   6731164   6786334   6767982d   6764274   13738.863
      Difference at 95.0% confidence
              491760 +/- 8188.17
              7.83992% +/- 0.130541%
              (Student's t, pooled s = 15840.5)
      Signed-off-by: default avatarMatt Turner <mattst88@gmail.com>
      8f8dcb3f
  2. 30 Aug, 2015 1 commit
  3. 29 Aug, 2015 2 commits
  4. 28 Aug, 2015 6 commits
    • Linus Torvalds's avatar
      Merge branch 'for-4.2-fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/tj/libata · 5e7fec29
      Linus Torvalds authored
      Pull libata fixlet from Tejun Heo:
       "Simple blacklist entry addition"
      
      * 'for-4.2-fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/tj/libata:
        Add factory recertified Crucial M500s to blacklist
      5e7fec29
    • Linus Torvalds's avatar
      Merge tag 'sound-fix-4.2' of git://git.kernel.org/pub/scm/linux/kernel/git/tiwai/sound · b29083c5
      Linus Torvalds authored
      Pull sound fixes from Takashi Iwai:
       "Here are stable fixes that have been gathered since rc8: fixes for
        HD-audio widget power control regressions since 4.1, a NULL fix for
        HD-audio HDMI, a noise fix for Conexant codecs and a quirk addition
        for USB-Audio DSD"
      
      * tag 'sound-fix-4.2' of git://git.kernel.org/pub/scm/linux/kernel/git/tiwai/sound:
        ALSA: hda - Fix path power activation
        ALSA: hda - Check all inputs for is_active_nid_for_any()
        ALSA: hda: fix possible NULL dereference
        ALSA: hda - Shutdown CX20722 on reboot/free to avoid spurious noises
        ALSA: usb: Add native DSD support for Gustard DAC-X20U
      b29083c5
    • Linus Torvalds's avatar
      Merge tag 'powerpc-4.2-4' of git://git.kernel.org/pub/scm/linux/kernel/git/powerpc/linux · 4941b8f0
      Linus Torvalds authored
      Pull powerpc fixes from Michael Ellerman:
       "Fix MSI/MSI-X on pseries from Guilherme"
      
      * tag 'powerpc-4.2-4' of git://git.kernel.org/pub/scm/linux/kernel/git/powerpc/linux:
        powerpc/PCI: Disable MSI/MSI-X interrupts at PCI probe time in OF case
        PCI: Make pci_msi_setup_pci_dev() non-static for use by arch code
      4941b8f0
    • Linus Torvalds's avatar
      Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net · e001d708
      Linus Torvalds authored
      Pull networking fixes from David Miller:
       "Some straggler bug fixes here:
      
         1) Netlink_sendmsg() doesn't check iterator type properly in mmap
            case, from Ken-ichirou MATSUZAWA.
      
         2) Don't sleep in atomic context in bcmgenet driver, from Florian
            Fainelli.
      
         3) The pfkey_broadcast() code patch can't actually ever use anything
            other than GFP_ATOMIC.  And the cases that right now pass
            GFP_KERNEL or similar will currently trigger an RCU splat.  Just
            use GFP_ATOMIC unconditionally.  From David Ahern.
      
         4) Fix FD bit timings handling in pcan_usb driver, from Marc
            Kleine-Budde.
      
         5) Cache dst leaked in ip6_gre tunnel removal, fix from Huaibin Wang.
      
         6) Traversal into drivers/net/ethernet/renesas should be triggered by
            CONFIG_NET_VENDOR_RENESAS, not a particular driver's config
            option.  From Kazuya Mizuguchi.
      
         7) Fix regression in handling of igmp_join errors in vxlan, from
            Marcelo Ricardo Leitner.
      
         8) Make phy_{read,write}_mmd_indirect() properly take the mdio_lock
            mutex when programming the registers.  From Russell King.
      
         9) Fix non-forced handling in u32_destroy(), from WANG Cong.
      
        10) Test the EVENT_NO_RUNTIME_PM flag before it is cleared in
            usbnet_stop(), from Eugene Shatokhin.
      
        11) In sfc driver, don't fetch statistics firmware isn't capable of,
            from Bert Kenward.
      
        12) Verify ASCONF address parameter location in SCTP, from Xin Long"
      
      * git://git.kernel.org/pub/scm/linux/kernel/git/davem/net:
        sctp: donot reset the overall_error_count in SHUTDOWN_RECEIVE state
        sctp: asconf's process should verify address parameter is in the beginning
        sfc: only use vadaptor stats if firmware is capable
        net: phy: fixed: propagate fixed link values to struct
        usbnet: Get EVENT_NO_RUNTIME_PM bit before it is cleared
        drivers: net: xgene: fix: Oops in linkwatch_fire_event
        cls_u32: complete the check for non-forced case in u32_destroy()
        net: fec: use reinit_completion() in mdio accessor functions
        net: phy: add locking to phy_read_mmd_indirect()/phy_write_mmd_indirect()
        vxlan: re-ignore EADDRINUSE from igmp_join
        net: compile renesas directory if NET_VENDOR_RENESAS is configured
        ip6_gre: release cached dst on tunnel removal
        phylib: Make PHYs children of their MDIO bus, not the bus' parent.
        can: pcan_usb: don't provide CAN FD bittimings by non-FD adapters
        net: Fix RCU splat in af_key
        net: bcmgenet: fix uncleaned dma flags
        net: bcmgenet: Avoid sleeping in bcmgenet_timeout
        netlink: mmap: fix tx type check
      e001d708
    • Linus Torvalds's avatar
      Merge branch 'libnvdimm-fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/nvdimm/nvdimm · 5c98bcce
      Linus Torvalds authored
      Pull nvdimm fixlet from Dan Williams:
       "This is a libnvdimm ABI fixup.
      
        I pushed back on this change quite hard given the late date, that it
        appears to be purely cosmetic, sysfs is not necessarily meant to be a
        user friendly UI, and the kernel interprets the reversed polarity of
        the ACPI_NFIT_MEM_ARMED flag correctly.  When this flag is set, the
        energy source of an NVDIMM is not armed and any new writes to the DIMM
        may not be preserved.
      
        However, Bob Moore warned me that it is important to get these things
        named correctly wherever they appear otherwise we run the risk of a
        less than cautious firmware engineer implementing the polarity the
        wrong way.  Once a mistake like that escapes into production platforms
        the flag becomes useless and we need to move to a new bit position.
      
        Bob has agreed to take a change through ACPICA to rename
        ACPI_NFIT_MEM_ARMED to ACPI_NFIT_MEM_NOT_ARMED, and the patch below
        from Toshi brings the sysfs representation of these flags in line with
        their respective polarities.
      
        Please pull for 4.2 as this is the first kernel to expose the ACPI
        NFIT sysfs representation, and this is likely a kernel that firmware
        developers will be using for checking out their NVDIMM enabling"
      
      * 'libnvdimm-fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/nvdimm/nvdimm:
        nfit: Clarify memory device state flags strings
      5c98bcce
    • lucien's avatar
      sctp: donot reset the overall_error_count in SHUTDOWN_RECEIVE state · f648f807
      lucien authored
      Commit f8d96052 ("sctp: Enforce retransmission limit during shutdown")
      fixed a problem with excessive retransmissions in the SHUTDOWN_PENDING by not
      resetting the association overall_error_count.  This allowed the association
      to better enforce assoc.max_retrans limit.
      
      However, the same issue still exists when the association is in SHUTDOWN_RECEIVED
      state.  In this state, HB-ACKs will continue to reset the overall_error_count
      for the association would extend the lifetime of association unnecessarily.
      
      This patch solves this by resetting the overall_error_count whenever the current
      state is small then SCTP_STATE_SHUTDOWN_PENDING.  As a small side-effect, we
      end up also handling SCTP_STATE_SHUTDOWN_ACK_SENT and SCTP_STATE_SHUTDOWN_SENT
      states, but they are not really impacted because we disable Heartbeats in those
      states.
      
      Fixes: Commit f8d96052 ("sctp: Enforce retransmission limit during shutdown")
      Signed-off-by: default avatarXin Long <lucien.xin@gmail.com>
      Acked-by: default avatarMarcelo Ricardo Leitner <marcelo.leitner@gmail.com>
      Acked-by: default avatarVlad Yasevich <vyasevich@gmail.com>
      Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
      f648f807
  5. 27 Aug, 2015 7 commits
  6. 26 Aug, 2015 12 commits