1. 24 11月, 2018 8 次提交
    • L
      Merge tag 'ceph-for-4.20-rc4' of https://github.com/ceph/ceph-client · 7c98a426
      Linus Torvalds 提交于
      Pullk ceph fix from Ilya Dryomov:
       "A messenger fix, marked for stable"
      
      * tag 'ceph-for-4.20-rc4' of https://github.com/ceph/ceph-client:
        libceph: fall back to sendmsg for slab pages
      7c98a426
    • L
      Merge tag 'for-linus-20181123' of git://git.kernel.dk/linux-block · 3381918f
      Linus Torvalds 提交于
      Pull block fix from Jens Axboe:
       "Just a single fix for this week, fixing an issue with nvme-fc"
      
      * tag 'for-linus-20181123' of git://git.kernel.dk/linux-block:
        nvme-fc: resolve io failures during connect
      3381918f
    • L
      Merge tag 'iommu-fixes-v4.20-rc3' of git://git.kernel.org/pub/scm/linux/kernel/git/joro/iommu · d88783b9
      Linus Torvalds 提交于
      Pull IOMMU fixes from Joerg Roedel:
      
       - Two fixes for the Intel VT-d driver to fix a NULL-ptr dereference and
         an unbalance in an allocate/free path (allocated with memremap, freed
         with iounmap)
      
       - Fix for a crash in the Renesas IOMMU driver
      
       - Fix for the Advanced Virtual Interrupt Controler (AVIC) code in the
         AMD IOMMU driver
      
      * tag 'iommu-fixes-v4.20-rc3' of git://git.kernel.org/pub/scm/linux/kernel/git/joro/iommu:
        iommu/vt-d: Use memunmap to free memremap
        amd/iommu: Fix Guest Virtual APIC Log Tail Address Register
        iommu/ipmmu-vmsa: Fix crash on early domain free
        iommu/vt-d: Fix NULL pointer dereference in prq_event_thread()
      d88783b9
    • L
      Merge tag 'acpi-4.20-rc4' of git://git.kernel.org/pub/scm/linux/kernel/git/rafael/linux-pm · a03bac58
      Linus Torvalds 提交于
      Pull ACPI fix from Rafael Wysocki:
       "Prevent the ACPI core from registering a platform device for the
        SMB0001 HID to avoid IRQ allocation issues (Hans de Goede)"
      
      * tag 'acpi-4.20-rc4' of git://git.kernel.org/pub/scm/linux/kernel/git/rafael/linux-pm:
        ACPI / platform: Add SMB0001 HID to forbidden_id_list
      a03bac58
    • L
      Merge tag 'pm-4.20-rc4' of git://git.kernel.org/pub/scm/linux/kernel/git/rafael/linux-pm · b88af994
      Linus Torvalds 提交于
      Pull power management fixes from Rafael Wysocki:
       "These fix two issues in the Operating Performance Points (OPP)
        framework, one cpufreq driver issue, one problem related to the tasks
        freezer and a few build-related issues in the cpupower utility.
      
        Specifics:
      
         - Fix tasks freezer deadlock in de_thread() that occurs if one of its
           sub-threads has been frozen already (Chanho Min).
      
         - Avoid registering a platform device by the ti-cpufreq driver on
           platforms that cannot use it (Dave Gerlach).
      
         - Fix a mistake in the ti-opp-supply operating performance points
           (OPP) driver that caused an incorrect reference voltage to be used
           and make it adjust the minimum voltage dynamically to avoid hangs
           or crashes in some cases (Keerthy).
      
         - Fix issues related to compiler flags in the cpupower utility and
           correct a linking problem in it by renaming a file with a duplicate
           name (Jiri Olsa, Konstantin Khlebnikov)"
      
      * tag 'pm-4.20-rc4' of git://git.kernel.org/pub/scm/linux/kernel/git/rafael/linux-pm:
        exec: make de_thread() freezable
        cpufreq: ti-cpufreq: Only register platform_device when supported
        opp: ti-opp-supply: Correct the supply in _get_optimal_vdd_voltage call
        opp: ti-opp-supply: Dynamically update u_volt_min
        tools cpupower: Override CFLAGS assignments
        tools cpupower debug: Allow to use outside build flags
        tools/power/cpupower: fix compilation with STATIC=true
      b88af994
    • L
      Merge tag 'gpio-v4.20-2' of git://git.kernel.org/pub/scm/linux/kernel/git/linusw/linux-gpio · e6005d3c
      Linus Torvalds 提交于
      Pull GPIO fixes from Linus Walleij:
       "Minor stuff except the IDA leak which was kind of important to fix.
        Also new maintainers, yay.
      
         - Do not lose an IDA on the gpiochip register errorpath.
      
         - Fix the PXA non-pincontrol GPIO-using platforms.
      
         - Fix the direction on the mockup GPIO driver.
      
         - Add some MAINTAINERS stuff: Bartosz stepped up as GPIO
           co-maintainer, and Andy established an Intel git tree"
      
      * tag 'gpio-v4.20-2' of git://git.kernel.org/pub/scm/linux/kernel/git/linusw/linux-gpio:
        MAINTAINERS: Do maintain Intel GPIO drivers via separate tree
        gpio: mockup: fix indicated direction
        gpio: pxa: fix legacy non pinctrl aware builds again
        gpio: don't free unallocated ida on gpiochip_add_data_with_key() error path
        MAINTAINERS: add myself as co-maintainer of gpiolib
      e6005d3c
    • L
      Merge tag 'mmc-v4.20-rc2' of git://git.kernel.org/pub/scm/linux/kernel/git/ulfh/mmc · dcd3aa31
      Linus Torvalds 提交于
      Pull MMC fixes from Ulf Hansson:
       "MMC host:
      
         - sdhci-pci: Fixup card detect lookup
      
         - sdhci-pci: Workaround GLK firmware bug for tuning"
      
      * tag 'mmc-v4.20-rc2' of git://git.kernel.org/pub/scm/linux/kernel/git/ulfh/mmc:
        mmc: sdhci-pci: Workaround GLK firmware failing to restore the tuning value
        mmc: sdhci-pci: Try "cd" for card-detect lookup before using NULL
      dcd3aa31
    • L
      Merge tag 'drm-fixes-2018-11-23' of git://anongit.freedesktop.org/drm/drm · 9b7c880c
      Linus Torvalds 提交于
      Pull drm fixes from Dave Airlie:
       "Regular drm fixes:
      
        amdgpu:
         - Vega20 fixes
         - firmware loading fix
         - panel display fix
         - override fix
      
        i915:
         - Sandybridge lockup fix
         - fastboot DSI panel fix
         - GPU hang on Broxton
         - GPU reloc fixes on pineview/bearlake
      
        ast:
         - screen blurring fix
         - cursor appearance fix
      
        udmabuf:
         - mmap fix
      
        vc4:
         - NULL deref fix
         - async cursor update fix
      
        All seems pretty normal at this stage"
      
      * tag 'drm-fixes-2018-11-23' of git://anongit.freedesktop.org/drm/drm:
        drm/ast: fixed cursor may disappear sometimes
        drm/ast: change resolution may cause screen blurred
        drm/i915: Add rotation readout for plane initial config
        drm/i915: Force a LUT update in intel_initial_commit()
        drm/fb-helper: Blacklist writeback when adding connectors to fbdev
        drm/i915: Write GPU relocs harder with gen3
        drm/amdgpu: Enable HDP memory light sleep
        drm/i915: Prevent machine hang from Broxton's vtd w/a and error capture
        drm/amd/pp: handle negative values when reading OD
        drm/amdgpu: Add missing firmware entry for HAINAN
        drm/amd/powerplay: disable Vega20 DS related features
        drm/amdgpu: Fix oops when pp_funcs->switch_power_profile is unset
        drm/i915: Disable LP3 watermarks on all SNB machines
        drm/ast: Remove existing framebuffers before loading driver
        udmabuf: set read/write flag when exporting
        drm/amd/display: Support amdgpu "max bpc" connector property (v2)
        drm/amdgpu: Add amdgpu "max bpc" connector property (v2)
        drm/vc4: Set ->legacy_cursor_update to false when doing non-async updates
        drm/vc4: Fix NULL pointer dereference in the async update path
      9b7c880c
  2. 23 11月, 2018 9 次提交
    • R
      Merge branches 'pm-cpufreq' and 'pm-sleep' · 1d50088c
      Rafael J. Wysocki 提交于
      * pm-cpufreq:
        cpufreq: ti-cpufreq: Only register platform_device when supported
      
      * pm-sleep:
        exec: make de_thread() freezable
      1d50088c
    • R
      Merge branches 'pm-opp' and 'pm-tools' · bec00cb5
      Rafael J. Wysocki 提交于
      * pm-opp:
        opp: ti-opp-supply: Correct the supply in _get_optimal_vdd_voltage call
        opp: ti-opp-supply: Dynamically update u_volt_min
      
      * pm-tools:
        tools cpupower: Override CFLAGS assignments
        tools cpupower debug: Allow to use outside build flags
        tools/power/cpupower: fix compilation with STATIC=true
      bec00cb5
    • D
      Merge tag 'drm-intel-fixes-2018-11-22' of... · 98c9cdfd
      Dave Airlie 提交于
      Merge tag 'drm-intel-fixes-2018-11-22' of git://anongit.freedesktop.org/drm/drm-intel into drm-fixes
      
      - Fix for fastboot DSI panel boot time flicker regression, also fixes Bugzilla #108225
      - Fix Bugzilla #101269 to avoid GPU hangs on Sandybridge machines
      - Avoid GPU hang on error capture on Broxton with Vt-d enabled
      - Avoid missing GPU relocations on Pineview and Bearlake (Gen3)
      Signed-off-by: NDave Airlie <airlied@redhat.com>
      From: Joonas Lahtinen <joonas.lahtinen@linux.intel.com>
      Link: https://patchwork.freedesktop.org/patch/msgid/20181122120555.GA18282@jlahtine-desk.ger.corp.intel.com
      98c9cdfd
    • L
      Merge tag 'sound-4.20-rc4' of git://git.kernel.org/pub/scm/linux/kernel/git/tiwai/sound · edeca3a7
      Linus Torvalds 提交于
      Pull sound fixes from Takashi Iwai:
       "The only significant change is for OSS PCM emulation to convert with
        kvcalloc() to address both performance and security issues. It's a
        pretty straightforward change, which should be safe.
      
        The rest are, as usual, device-specific small fixes for HD-audio"
      
      * tag 'sound-4.20-rc4' of git://git.kernel.org/pub/scm/linux/kernel/git/tiwai/sound:
        ALSA: hda/ca0132 - fix AE-5 pincfg
        ALSA: hda/ca0132 - Add new ZxR quirk
        ALSA: hda/ca0132 - Call pci_iounmap() instead of iounmap()
        ALSA: hda/realtek - Add quirk entry for HP Pavilion 15
        ALSA: oss: Use kvzalloc() for local buffer allocations
      edeca3a7
    • L
      Merge tag 'char-misc-4.20-rc4' of git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/char-misc · 52465bce
      Linus Torvalds 提交于
      Pull char/misc driver fixes from Greg KH:
       "Here are some small char/misc driver fixes for issues that have been
        reported.
      
        Nothing major, highlights include:
      
         - gnss sync write fixes
      
         - uio oops fix
      
         - nvmem fixes
      
         - other minor fixes and some documentation/maintainers updates
      
        Full details are in the shortlog.
      
        All of these have been in linux-next for a while with no reported
        issues"
      
      * tag 'char-misc-4.20-rc4' of git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/char-misc:
        Documentation/security-bugs: Postpone fix publication in exceptional cases
        MAINTAINERS: Add Sasha as a stable branch maintainer
        gnss: sirf: fix synchronous write timeout
        gnss: serial: fix synchronous write timeout
        uio: Fix an Oops on load
        test_firmware: fix error return getting clobbered
        nvmem: core: fix regression in of_nvmem_cell_get()
        misc: atmel-ssc: Fix section annotation on atmel_ssc_get_driver_data
        drivers/misc/sgi-gru: fix Spectre v1 vulnerability
        Drivers: hv: kvp: Fix the recent regression caused by incorrect clean-up
        slimbus: ngd: remove unnecessary check
      52465bce
    • L
      Merge tag 'usb-4.20-rc4' of git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb · 4cd73195
      Linus Torvalds 提交于
      Pull USB fixes from Greg KH:
       "Here are a number of small USB fixes for 4.20-rc4.
      
        There's the usual xhci and dwc2/3 fixes as well as a few minor other
        issues resolved for problems that have been reported. Full details are
        in the shortlog.
      
        All have been in linux-next for a while with no reported issues"
      
      * tag 'usb-4.20-rc4' of git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb:
        usb: cdc-acm: add entry for Hiro (Conexant) modem
        usb: xhci: Prevent bus suspend if a port connect change or polling state is detected
        usb: core: Fix hub port connection events lost
        usb: dwc3: gadget: fix ISOC TRB type on unaligned transfers
        Revert "usb: gadget: ffs: Fix BUG when userland exits with submitted AIO transfers"
        usb: dwc2: pci: Fix an error code in probe
        usb: dwc3: Fix NULL pointer exception in dwc3_pci_remove()
        xhci: Add quirk to workaround the errata seen on Cavium Thunder-X2 Soc
        usb: xhci: fix timeout for transition from RExit to U0
        usb: xhci: fix uninitialized completion when USB3 port got wrong status
        xhci: Add check for invalid byte size error when UAS devices are connected.
        xhci: handle port status events for removed USB3 hcd
        xhci: Fix leaking USB3 shared_hcd at xhci removal
        USB: misc: appledisplay: add 20" Apple Cinema Display
        USB: quirks: Add no-lpm quirk for Raydium touchscreens
        usb: quirks: Add delay-init quirk for Corsair K70 LUX RGB
        USB: Wait for extra delay time after USB_PORT_FEAT_RESET for quirky hub
        usb: dwc3: gadget: Properly check last unaligned/zero chain TRB
        usb: dwc3: core: Clean up ULPI device
      4cd73195
    • L
      Merge tag 'mtd/fixes-for-4.20-rc4' of git://git.infradead.org/linux-mtd · ef4d6f2c
      Linus Torvalds 提交于
      Pull mtd fixes from Boris Brezillon:
       "SPI NOR fixes:
      
         - Various fixes related to the SFDP parsing code merged in 4.20
      
         - Fix for a page fault in the cadence-qspi
      
        NAND fixes:
      
         - Fix a macro name conflict between the QCOM NAND controller driver
           and the RISC-V asm headers
      
         - Fix of-node handling in the atmel driver"
      
      * tag 'mtd/fixes-for-4.20-rc4' of git://git.infradead.org/linux-mtd:
        mtd: spi-nor: fix selection of uniform erase type in flexible conf
        mtd: spi-nor: Fix Cadence QSPI page fault kernel panic
        mtd: rawnand: qcom: Namespace prefix some commands
        mtd: rawnand: atmel: fix OF child-node lookup
        mtd: spi_nor: pass DMA-able buffer to spi_nor_read_raw()
        mtd: spi-nor: don't overwrite errno in spi_nor_get_map_in_use()
        mtd: spi-nor: fix iteration over smpt array
        mtd: spi-nor: don't drop sfdp data if optional parsers fail
      ef4d6f2c
    • L
      Merge tag 'scsi-fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/jejb/scsi · b84b6345
      Linus Torvalds 提交于
      Pull SCSI fixes from James Bottomley:
       "Two small fixes.
      
        The qla2xxx is a regression from 4.18 and the ufs one is a device
        enablement fix"
      
      * tag 'scsi-fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/jejb/scsi:
        scsi: ufs: Fix hynix ufs bug with quirk on hi36xx SoC
        scsi: qla2xxx: Timeouts occur on surprise removal of QLogic adapter
      b84b6345
    • P
      iommu/vt-d: Use memunmap to free memremap · 829383e1
      Pan Bian 提交于
      memunmap() should be used to free the return of memremap(), not
      iounmap().
      
      Fixes: dfddb969 ('iommu/vt-d: Switch from ioremap_cache to memremap')
      Signed-off-by: NPan Bian <bianpan2016@163.com>
      Signed-off-by: NJoerg Roedel <jroedel@suse.de>
      829383e1
  3. 22 11月, 2018 5 次提交
  4. 21 11月, 2018 11 次提交
  5. 20 11月, 2018 7 次提交
    • L
      Merge tag 'media/v4.20-3' of git://git.kernel.org/pub/scm/linux/kernel/git/mchehab/linux-media · 06e68fed
      Linus Torvalds 提交于
      Pull media fixes from Mauro Carvalho Chehab:
      
       - add a missing include at v4l2-controls uAPI header
      
       - minor kAPI update for the request API
      
       - some fixes at CEC core
      
       - use a lower minimum height for the virtual codec driver
      
       - cleanup a gcc warning due to the lack of a fall though markup
      
       - tc358743: Remove unnecessary self assignment
      
       - fix the V4L event subscription logic
      
       - docs: Document metadata format in struct v4l2_format
      
       - omap3isp and ipu3-cio2: fix unbinding logic
      
      * tag 'media/v4.20-3' of git://git.kernel.org/pub/scm/linux/kernel/git/mchehab/linux-media:
        media: ipu3-cio2: Use cio2_queues_exit
        media: ipu3-cio2: Unregister device nodes first, then release resources
        media: omap3isp: Unregister media device as first
        media: docs: Document metadata format in struct v4l2_format
        media: v4l: event: Add subscription to list before calling "add" operation
        media: dm365_ipipeif: better annotate a fall though
        media: Rename vb2_m2m_request_queue -> v4l2_m2m_request_queue
        media: cec: increase debug level for 'queue full'
        media: cec: check for non-OK/NACK conditions while claiming a LA
        media: vicodec: lower minimum height to 360
        media: tc358743: Remove unnecessary self assignment
        media: v4l: fix uapi mpeg slice params definition
        v4l2-controls: add a missing include
      06e68fed
    • T
      mtd: spi-nor: fix selection of uniform erase type in flexible conf · e8828ec1
      Tudor.Ambarus@microchip.com 提交于
      There are uniform, non-uniform and flexible erase flash configurations.
      
      The non-uniform erase types, are the erase types that can _not_ erase
      the entire flash by their own.
      
      As the code was, in case flashes had flexible erase capabilities
      (support both uniform and non-uniform erase types in the same flash
      configuration) and supported multiple uniform erase type sizes, the
      code did not sort the uniform erase types, and could select a wrong
      erase type size.
      
      Sort the uniform erase mask in case of flexible erase flash
      configurations, in order to select the best uniform erase type size.
      
      Uniform, non-uniform, and flexible configurations with just a valid
      uniform erase type, are not affected by this change.
      
      Uniform erase tested on mx25l3273fm2i-08g and sst26vf064B-104i/sn.
      Non uniform erase tested on sst26vf064B-104i/sn.
      
      Fixes: 5390a8df ("mtd: spi-nor: add support to non-uniform SFDP SPI NOR flash memories")
      Signed-off-by: NTudor Ambarus <tudor.ambarus@microchip.com>
      Signed-off-by: NBoris Brezillon <boris.brezillon@bootlin.com>
      e8828ec1
    • P
      RISC-V: recognize S/U mode bits in print_isa · 5d8f81ba
      Patrick Stählin 提交于
      Removes the warning about an unsupported ISA when reading /proc/cpuinfo
      on QEMU. The "S" extension is not being returned as it is not accessible
      from userspace.
      Signed-off-by: NPatrick Stählin <me@packi.ch>
      Signed-off-by: NPalmer Dabbelt <palmer@sifive.com>
      5d8f81ba
    • D
      riscv: add asm/unistd.h UAPI header · 27f8899d
      David Abdurachmanov 提交于
      Marcin Juszkiewicz reported issues while generating syscall table for riscv
      using 4.20-rc1. The patch refactors our unistd.h files to match some other
      architectures.
      
      - Add asm/unistd.h UAPI header, which has __ARCH_WANT_NEW_STAT only for 64-bit
      - Remove asm/syscalls.h UAPI header and merge to asm/unistd.h
      - Adjust kernel asm/unistd.h
      
      So now asm/unistd.h UAPI header should show all syscalls for riscv.
      
      Before this, Makefile simply put `#include <asm-generic/unistd.h>` into
      generated asm/unistd.h UAPI header thus user didn't see:
      
      - __NR_riscv_flush_icache
      - __NR_newfstatat
      - __NR_fstat
      
      which are supported by riscv kernel.
      Signed-off-by: NDavid Abdurachmanov <david.abdurachmanov@gmail.com>
      Cc: Arnd Bergmann <arnd@arndb.de>
      Cc: Marcin Juszkiewicz <marcin.juszkiewicz@linaro.org>
      Cc: Guenter Roeck <linux@roeck-us.net>
      Fixes: 67314ec7 ("RISC-V: Request newstat syscalls")
      Signed-off-by: NDavid Abdurachmanov <david.abdurachmanov@gmail.com>
      Acked-by: NOlof Johansson <olof@lixom.net>
      Signed-off-by: NPalmer Dabbelt <palmer@sifive.com>
      27f8899d
    • D
      riscv: fix warning in arch/riscv/include/asm/module.h · 0138ebb9
      David Abdurachmanov 提交于
      Fixes warning: 'struct module' declared inside parameter list will not be
      visible outside of this definition or declaration
      Signed-off-by: NDavid Abdurachmanov <david.abdurachmanov@gmail.com>
      Acked-by: NOlof Johansson <olof@lixom.net>
      Signed-off-by: NPalmer Dabbelt <palmer@sifive.com>
      0138ebb9
    • A
      RISC-V: Build flat and compressed kernel images · c0fbcd99
      Anup Patel 提交于
      This patch extends Linux RISC-V build system to build and install:
      Image - Flat uncompressed kernel image
      Image.gz - Flat and GZip compressed kernel image
      
      Quiet a few bootloaders (such as Uboot, UEFI, etc) are capable of
      booting flat and compressed kernel images. In case of Uboot, booting
      Image or Image.gz is achieved using bootm command.
      
      The flat and uncompressed kernel image (i.e. Image) is very useful
      in pre-silicon developent and testing because we can create back-door
      HEX files for RAM on FPGAs from Image.
      Signed-off-by: NAnup Patel <anup@brainfault.org>
      Signed-off-by: NPalmer Dabbelt <palmer@sifive.com>
      c0fbcd99
    • O
      RISC-V: Fix raw_copy_{to,from}_user() · 21f70d4a
      Olof Johansson 提交于
      Sparse highlighted it, and appears to be a pure bug (from vs to).
      
      ./arch/riscv/include/asm/uaccess.h:403:35: warning: incorrect type in argument 1 (different address spaces)
      ./arch/riscv/include/asm/uaccess.h:403:39: warning: incorrect type in argument 2 (different address spaces)
      ./arch/riscv/include/asm/uaccess.h:409:37: warning: incorrect type in argument 1 (different address spaces)
      ./arch/riscv/include/asm/uaccess.h:409:41: warning: incorrect type in argument 2 (different address spaces)
      Signed-off-by: NOlof Johansson <olof@lixom.net>
      Cc: stable@vger.kernel.org
      Signed-off-by: NPalmer Dabbelt <palmer@sifive.com>
      21f70d4a