1. 19 Jun, 2018 6 commits
    • William Wu's avatar
      usb: dwc2: fix isoc split in transfer with no data · 70c3c8cb
      William Wu authored
      If isoc split in transfer with no data (the length of DATA0
      packet is zero), we can't simply return immediately. Because
      the DATA0 can be the first transaction or the second transaction
      for the isoc split in transaction. If the DATA0 packet with no
      data is in the first transaction, we can return immediately.
      But if the DATA0 packet with no data is in the second transaction
      of isoc split in transaction sequence, we need to increase the
      qtd->isoc_frame_index and giveback urb to device driver if needed,
      otherwise, the MDATA packet will be lost.
      
      A typical test case is that connect the dwc2 controller with an
      usb hs Hub (GL852G-12), and plug an usb fs audio device (Plantronics
      headset) into the downstream port of Hub. Then use the usb mic
      to record, we can find noise when playback.
      
      In the case, the isoc split in transaction sequence like this:
      
      - SSPLIT IN transaction
      - CSPLIT IN transaction
        - MDATA packet (176 bytes)
      - CSPLIT IN transaction
        - DATA0 packet (0 byte)
      
      This patch use both the length of DATA0 and qtd->isoc_split_offset
      to check if the DATA0 is in the second transaction.
      Tested-by: default avatarGevorg Sahakyan <sahakyan@synopsys.com>
      Tested-by: default avatarHeiko Stuebner <heiko@sntech.de>
      Acked-by: Minas Harutyunyan hminas@synopsys.com>
      Signed-off-by: default avatarWilliam Wu <william.wu@rock-chips.com>
      Signed-off-by: default avatarFelipe Balbi <felipe.balbi@linux.intel.com>
      70c3c8cb
    • William Wu's avatar
      usb: dwc2: alloc dma aligned buffer for isoc split in · af424a41
      William Wu authored
      The commit 3bc04e28 ("usb: dwc2: host: Get aligned DMA in
      a more supported way") rips out a lot of code to simply the
      allocation of aligned DMA. However, it also introduces a new
      issue when use isoc split in transfer.
      
      In my test case, I connect the dwc2 controller with an usb hs
      Hub (GL852G-12), and plug an usb fs audio device (Plantronics
      headset) into the downstream port of Hub. Then use the usb mic
      to record, we can find noise when playback.
      
      It's because that the usb Hub uses an MDATA for the first
      transaction and a DATA0 for the second transaction for the isoc
      split in transaction. An typical isoc split in transaction sequence
      like this:
      
      - SSPLIT IN transaction
      - CSPLIT IN transaction
        - MDATA packet
      - CSPLIT IN transaction
        - DATA0 packet
      
      The DMA address of MDATA (urb->dma) is always DWORD-aligned, but
      the DMA address of DATA0 (urb->dma + qtd->isoc_split_offset) may
      not be DWORD-aligned, it depends on the qtd->isoc_split_offset (the
      length of MDATA). In my test case, the length of MDATA is usually
      unaligned, this cause DATA0 packet transmission error.
      
      This patch use kmem_cache to allocate aligned DMA buf for isoc
      split in transaction. Note that according to usb 2.0 spec, the
      maximum data payload size is 1023 bytes for each fs isoc ep,
      and the maximum allowable interrupt data payload size is 64 bytes
      or less for fs interrupt ep. So we set the size of object to be
      1024 bytes in the kmem cache.
      Tested-by: default avatarGevorg Sahakyan <sahakyan@synopsys.com>
      Tested-by: default avatarHeiko Stuebner <heiko@sntech.de>
      Acked-by: Minas Harutyunyan hminas@synopsys.com>
      Signed-off-by: default avatarWilliam Wu <william.wu@rock-chips.com>
      Reviewed-by: default avatarDouglas Anderson <dianders@chromium.org>
      Signed-off-by: default avatarFelipe Balbi <felipe.balbi@linux.intel.com>
      af424a41
    • William Wu's avatar
      usb: dwc2: fix the incorrect bitmaps for the ports of multi_tt hub · 87606759
      William Wu authored
      The dwc2_get_ls_map() use ttport to reference into the
      bitmap if we're on a multi_tt hub. But the bitmaps index
      from 0 to (hub->maxchild - 1), while the ttport index from
      1 to hub->maxchild. This will cause invalid memory access
      when the number of ttport is hub->maxchild.
      
      Without this patch, I can easily meet a Kernel panic issue
      if connect a low-speed USB mouse with the max port of FE2.1
      multi-tt hub (1a40:0201) on rk3288 platform.
      
      Fixes: 9f9f09b0 ("usb: dwc2: host: Totally redo the microframe scheduler")
      Cc: <stable@vger.kernel.org>
      Reviewed-by: default avatarDouglas Anderson <dianders@chromium.org>
      Acked-by: Minas Harutyunyan hminas@synopsys.com>
      Signed-off-by: default avatarWilliam Wu <william.wu@rock-chips.com>
      Signed-off-by: default avatarFelipe Balbi <felipe.balbi@linux.intel.com>
      87606759
    • Artur Petrosyan's avatar
      usb: dwc2: Fix host exit from hibernation flow. · 22bb5cfd
      Artur Petrosyan authored
      In case when a hub is connected to DWC2 host
      auto suspend occurs and host goes to
      hibernation. When any device connected to hub
      host hibernation exiting incorrectly.
      
      - Added dwc2_hcd_rem_wakeup() function call to
        exit from suspend state by remote wakeup.
      
      - Increase timeout value for port suspend bit to be set.
      Acked-by: default avatarMinas Harutyunyan <hminas@synopsys.com>
      Signed-off-by: default avatarArtur Petrosyan <arturp@synopsys.com>
      Signed-off-by: default avatarFelipe Balbi <felipe.balbi@linux.intel.com>
      22bb5cfd
    • Arnd Bergmann's avatar
      usb: dwc3: qcom: mark PM functions as __maybe_unused · 9925e6eb
      Arnd Bergmann authored
      The #ifdef guards around these are wrong, resulting in warnings
      in certain configurations:
      
      drivers/usb/dwc3/dwc3-qcom.c:244:12: error: 'dwc3_qcom_resume' defined but not used [-Werror=unused-function]
       static int dwc3_qcom_resume(struct dwc3_qcom *qcom)
                  ^~~~~~~~~~~~~~~~
      drivers/usb/dwc3/dwc3-qcom.c:223:12: error: 'dwc3_qcom_suspend' defined but not used [-Werror=unused-function]
       static int dwc3_qcom_suspend(struct dwc3_qcom *qcom)
      
      This replaces the guards with __maybe_unused annotations to shut up
      the warnings and give better compile time coverage.
      
      Fixes: a4333c3a ("usb: dwc3: Add Qualcomm DWC3 glue driver")
      Reviewed-by: default avatarDouglas Anderson <dianders@chromium.org>
      Acked-by: default avatarGeert Uytterhoeven <geert@linux-m68k.org>
      Signed-off-by: default avatarArnd Bergmann <arnd@arndb.de>
      Signed-off-by: default avatarFelipe Balbi <felipe.balbi@linux.intel.com>
      9925e6eb
    • Wei Yongjun's avatar
      usb: dwc3: Fix error return code in dwc3_qcom_probe() · 93ef2dc0
      Wei Yongjun authored
      Fix to return error code -ENODEV from the get device failed error
      handling case instead of 0, as done elsewhere in this function.
      
      Fixes: a4333c3a ("usb: dwc3: Add Qualcomm DWC3 glue driver")
      Signed-off-by: default avatarWei Yongjun <weiyongjun1@huawei.com>
      Signed-off-by: default avatarFelipe Balbi <felipe.balbi@linux.intel.com>
      93ef2dc0
  2. 18 Jun, 2018 8 commits
    • Minas Harutyunyan's avatar
      usb: dwc2: gadget: fix packet drop issue for ISOC OUT transfers · 21cbbc6b
      Minas Harutyunyan authored
      In ISOC OUT transfer, when the OUT token received while EP disabled,
      we shouldn't complete a usb request. The current flow completed one
      usb request, this will lead to a packet drop to function driver.
      Signed-off-by: default avatarMinas Harutyunyan <hminas@synopsys.com>
      Signed-off-by: default avatarFelipe Balbi <felipe.balbi@linux.intel.com>
      21cbbc6b
    • Hans de Goede's avatar
      usb: dwc3: Only call clk_bulk_get() on devicetree instantiated devices · 61527777
      Hans de Goede authored
      Commit fe8abf33 ("usb: dwc3: support clocks and resets for DWC3 core")
      adds support for handling clocks and resets in the DWC3 core, so that for
      platforms following the standard devicetree bindings this does not need
      to be duplicated in all the different glue layers.
      
      These changes intended for devicetree based platforms introduce an
      uncoditional clk_bulk_get() in the core probe path. This leads to the
      following error being logged on x86/ACPI systems:
      
      [   26.276783] dwc3 dwc3.3.auto: Failed to get clk 'ref': -2
      
      This commits wraps the clk_bulk_get() in an if (dev->of_node) check so
      that it only is done on devicetree instantiated devices, fixing this
      error.
      
      Cc: Masahiro Yamada <yamada.masahiro@socionext.com>
      Reviewed-by: default avatarMasahiro Yamada <yamada.masahiro@socionext.com>
      Signed-off-by: default avatarHans de Goede <hdegoede@redhat.com>
      Signed-off-by: default avatarFelipe Balbi <felipe.balbi@linux.intel.com>
      61527777
    • Zeng Tao's avatar
      usb: dwc2: gadget: fix packet drop issue in dwc2_gadget_handle_nak · 6e967d7e
      Zeng Tao authored
      In ISOC transfer, when the NAK interrupt happens, we shouldn't complete
      a usb request, the current flow will complete one usb request with no
      hardware transfer, this will lead to a packet drop on the usb bus.
      Acked-by: default avatarMinas Harutyunyan <hminas@synopsys.com>
      Signed-off-by: default avatarZeng Tao <prime.zeng@hisilicon.com>
      Signed-off-by: default avatarFelipe Balbi <felipe.balbi@linux.intel.com>
      6e967d7e
    • Johan Hovold's avatar
      usb: dwc3: of-simple: fix use-after-free on remove · 896e5188
      Johan Hovold authored
      The clocks have already been explicitly disabled and put as part of
      remove() so the runtime suspend callback must not be run when balancing
      the runtime PM usage count before returning.
      
      Fixes: 16adc674 ("usb: dwc3: add generic OF glue layer")
      Signed-off-by: default avatarJohan Hovold <johan@kernel.org>
      Signed-off-by: default avatarFelipe Balbi <felipe.balbi@linux.intel.com>
      896e5188
    • Minas Harutyunyan's avatar
      usb: dwc2: gadget: Fix issue in dwc2_gadget_start_isoc() · 1ffba905
      Minas Harutyunyan authored
      In case of requests queue is empty reset EP target_frame to
      initial value.
      
      This allow restarting ISOC traffic in case when function
      driver queued requests with interruptions.
      Tested-by: default avatarZeng Tao <prime.zeng@hisilicon.com>
      Signed-off-by: default avatarMinas Harutyunyan <hminas@synopsys.com>
      Signed-off-by: default avatarFelipe Balbi <felipe.balbi@linux.intel.com>
      1ffba905
    • Jaejoong Kim's avatar
      doc: usb: Fix typo in gadget_configfs documentation · 3ec148eb
      Jaejoong Kim authored
      Fix the directory name from 'configfs' to 'configs'.
      Signed-off-by: default avatarJaejoong Kim <climbbb.kim@gmail.com>
      Signed-off-by: default avatarFelipe Balbi <felipe.balbi@linux.intel.com>
      3ec148eb
    • Vincent Pelletier's avatar
      usb: gadget: ffs: Fix BUG when userland exits with submitted AIO transfers · d52e4d0c
      Vincent Pelletier authored
      This bug happens only when the UDC needs to sleep during usb_ep_dequeue,
      as is the case for (at least) dwc3.
      
      [  382.200896] BUG: scheduling while atomic: screen/1808/0x00000100
      [  382.207124] 4 locks held by screen/1808:
      [  382.211266]  #0:  (rcu_callback){....}, at: [<c10b4ff0>] rcu_process_callbacks+0x260/0x440
      [  382.219949]  #1:  (rcu_read_lock_sched){....}, at: [<c1358ba0>] percpu_ref_switch_to_atomic_rcu+0xb0/0x130
      [  382.230034]  #2:  (&(&ctx->ctx_lock)->rlock){....}, at: [<c11f0c73>] free_ioctx_users+0x23/0xd0
      [  382.230096]  #3:  (&(&ffs->eps_lock)->rlock){....}, at: [<f81e7710>] ffs_aio_cancel+0x20/0x60 [usb_f_fs]
      [  382.230160] Modules linked in: usb_f_fs libcomposite configfs bnep btsdio bluetooth ecdh_generic brcmfmac brcmutil intel_powerclamp coretemp dwc3 kvm_intel ulpi udc_core kvm irqbypass crc32_pclmul crc32c_intel pcbc dwc3_pci aesni_intel aes_i586 crypto_simd cryptd ehci_pci ehci_hcd gpio_keys usbcore basincove_gpadc industrialio usb_common
      [  382.230407] CPU: 1 PID: 1808 Comm: screen Not tainted 4.14.0-edison+ #117
      [  382.230416] Hardware name: Intel Corporation Merrifield/BODEGA BAY, BIOS 542 2015.01.21:18.19.48
      [  382.230425] Call Trace:
      [  382.230438]  <SOFTIRQ>
      [  382.230466]  dump_stack+0x47/0x62
      [  382.230498]  __schedule_bug+0x61/0x80
      [  382.230522]  __schedule+0x43/0x7a0
      [  382.230587]  schedule+0x5f/0x70
      [  382.230625]  dwc3_gadget_ep_dequeue+0x14c/0x270 [dwc3]
      [  382.230669]  ? do_wait_intr_irq+0x70/0x70
      [  382.230724]  usb_ep_dequeue+0x19/0x90 [udc_core]
      [  382.230770]  ffs_aio_cancel+0x37/0x60 [usb_f_fs]
      [  382.230798]  kiocb_cancel+0x31/0x40
      [  382.230822]  free_ioctx_users+0x4d/0xd0
      [  382.230858]  percpu_ref_switch_to_atomic_rcu+0x10a/0x130
      [  382.230881]  ? percpu_ref_exit+0x40/0x40
      [  382.230904]  rcu_process_callbacks+0x2b3/0x440
      [  382.230965]  __do_softirq+0xf8/0x26b
      [  382.231011]  ? __softirqentry_text_start+0x8/0x8
      [  382.231033]  do_softirq_own_stack+0x22/0x30
      [  382.231042]  </SOFTIRQ>
      [  382.231071]  irq_exit+0x45/0xc0
      [  382.231089]  smp_apic_timer_interrupt+0x13c/0x150
      [  382.231118]  apic_timer_interrupt+0x35/0x3c
      [  382.231132] EIP: __copy_user_ll+0xe2/0xf0
      [  382.231142] EFLAGS: 00210293 CPU: 1
      [  382.231154] EAX: bfd4508c EBX: 00000004 ECX: 00000003 EDX: f3d8fe50
      [  382.231165] ESI: f3d8fe51 EDI: bfd4508d EBP: f3d8fe14 ESP: f3d8fe08
      [  382.231176]  DS: 007b ES: 007b FS: 00d8 GS: 0033 SS: 0068
      [  382.231265]  core_sys_select+0x25f/0x320
      [  382.231346]  ? __wake_up_common_lock+0x62/0x80
      [  382.231399]  ? tty_ldisc_deref+0x13/0x20
      [  382.231438]  ? ldsem_up_read+0x1b/0x40
      [  382.231459]  ? tty_ldisc_deref+0x13/0x20
      [  382.231479]  ? tty_write+0x29f/0x2e0
      [  382.231514]  ? n_tty_ioctl+0xe0/0xe0
      [  382.231541]  ? tty_write_unlock+0x30/0x30
      [  382.231566]  ? __vfs_write+0x22/0x110
      [  382.231604]  ? security_file_permission+0x2f/0xd0
      [  382.231635]  ? rw_verify_area+0xac/0x120
      [  382.231677]  ? vfs_write+0x103/0x180
      [  382.231711]  SyS_select+0x87/0xc0
      [  382.231739]  ? SyS_write+0x42/0x90
      [  382.231781]  do_fast_syscall_32+0xd6/0x1a0
      [  382.231836]  entry_SYSENTER_32+0x47/0x71
      [  382.231848] EIP: 0xb7f75b05
      [  382.231857] EFLAGS: 00000246 CPU: 1
      [  382.231868] EAX: ffffffda EBX: 00000400 ECX: bfd4508c EDX: bfd4510c
      [  382.231878] ESI: 00000000 EDI: 00000000 EBP: 00000000 ESP: bfd45020
      [  382.231889]  DS: 007b ES: 007b FS: 0000 GS: 0033 SS: 007b
      [  382.232281] softirq: huh, entered softirq 9 RCU c10b4d90 with preempt_count 00000100, exited with 00000000?
      Tested-by: default avatarSam Protsenko <semen.protsenko@linaro.org>
      Signed-off-by: default avatarVincent Pelletier <plr.vincent@gmail.com>
      Signed-off-by: default avatarFelipe Balbi <felipe.balbi@linux.intel.com>
      d52e4d0c
    • Heikki Krogerus's avatar
      usb: dwc3: pci: add support for Intel IceLake · 00908693
      Heikki Krogerus authored
      PCI IDs for Intel IceLake.
      Signed-off-by: default avatarHeikki Krogerus <heikki.krogerus@linux.intel.com>
      Signed-off-by: default avatarFelipe Balbi <felipe.balbi@linux.intel.com>
      00908693
  3. 16 Jun, 2018 8 commits
    • Linus Torvalds's avatar
      Linux 4.18-rc1 · ce397d21
      Linus Torvalds authored
      ce397d21
    • Linus Torvalds's avatar
      Merge tag 'for-linus-20180616' of git://git.kernel.dk/linux-block · 265c5596
      Linus Torvalds authored
      Pull block fixes from Jens Axboe:
       "A collection of fixes that should go into -rc1. This contains:
      
         - bsg_open vs bsg_unregister race fix (Anatoliy)
      
         - NVMe pull request from Christoph, with fixes for regressions in
           this window, FC connect/reconnect path code unification, and a
           trace point addition.
      
         - timeout fix (Christoph)
      
         - remove a few unused functions (Christoph)
      
         - blk-mq tag_set reinit fix (Roman)"
      
      * tag 'for-linus-20180616' of git://git.kernel.dk/linux-block:
        bsg: fix race of bsg_open and bsg_unregister
        block: remov blk_queue_invalidate_tags
        nvme-fabrics: fix and refine state checks in __nvmf_check_ready
        nvme-fabrics: handle the admin-only case properly in nvmf_check_ready
        nvme-fabrics: refactor queue ready check
        blk-mq: remove blk_mq_tagset_iter
        nvme: remove nvme_reinit_tagset
        nvme-fc: fix nulling of queue data on reconnect
        nvme-fc: remove reinit_request routine
        blk-mq: don't time out requests again that are in the timeout handler
        nvme-fc: change controllers first connect to use reconnect path
        nvme: don't rely on the changed namespace list log
        nvmet: free smart-log buffer after use
        nvme-rdma: fix error flow during mapping request data
        nvme: add bio remapping tracepoint
        nvme: fix NULL pointer dereference in nvme_init_subsystem
        blk-mq: reinit q->tag_set_list entry only after grace period
      265c5596
    • Linus Torvalds's avatar
      Merge tag 'docs-broken-links' of git://linuxtv.org/mchehab/experimental · 5e7b9212
      Linus Torvalds authored
      Pull documentation fixes from Mauro Carvalho Chehab:
       "This solves a series of broken links for files under Documentation,
        and improves a script meant to detect such broken links (see
        scripts/documentation-file-ref-check).
      
        The changes on this series are:
      
         - can.rst: fix a footnote reference;
      
         - crypto_engine.rst: Fix two parsing warnings;
      
         - Fix a lot of broken references to Documentation/*;
      
         - improve the scripts/documentation-file-ref-check script, in order
           to help detecting/fixing broken references, preventing
           false-positives.
      
        After this patch series, only 33 broken references to doc files are
        detected by scripts/documentation-file-ref-check"
      
      * tag 'docs-broken-links' of git://linuxtv.org/mchehab/experimental: (26 commits)
        fix a series of Documentation/ broken file name references
        Documentation: rstFlatTable.py: fix a broken reference
        ABI: sysfs-devices-system-cpu: remove a broken reference
        devicetree: fix a series of wrong file references
        devicetree: fix name of pinctrl-bindings.txt
        devicetree: fix some bindings file names
        MAINTAINERS: fix location of DT npcm files
        MAINTAINERS: fix location of some display DT bindings
        kernel-parameters.txt: fix pointers to sound parameters
        bindings: nvmem/zii: Fix location of nvmem.txt
        docs: Fix more broken references
        scripts/documentation-file-ref-check: check tools/*/Documentation
        scripts/documentation-file-ref-check: get rid of false-positives
        scripts/documentation-file-ref-check: hint: dash or underline
        scripts/documentation-file-ref-check: add a fix logic for DT
        scripts/documentation-file-ref-check: accept more wildcards at filenames
        scripts/documentation-file-ref-check: fix help message
        media: max2175: fix location of driver's companion documentation
        media: v4l: fix broken video4linux docs locations
        media: dvb: point to the location of the old README.dvb-usb file
        ...
      5e7b9212
    • Linus Torvalds's avatar
      Merge tag 'fsnotify_for_v4.18-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/jack/linux-fs · dbb2816f
      Linus Torvalds authored
      Pull fsnotify updates from Jan Kara:
       "fsnotify cleanups unifying handling of different watch types.
      
        This is the shortened fsnotify series from Amir with the last five
        patches pulled out. Amir has modified those patches to not change
        struct inode but obviously it's too late for those to go into this
        merge window"
      
      * tag 'fsnotify_for_v4.18-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/jack/linux-fs:
        fsnotify: add fsnotify_add_inode_mark() wrappers
        fanotify: generalize fanotify_should_send_event()
        fsnotify: generalize send_to_group()
        fsnotify: generalize iteration of marks by object type
        fsnotify: introduce marks iteration helpers
        fsnotify: remove redundant arguments to handle_event()
        fsnotify: use type id to identify connector object type
      dbb2816f
    • Linus Torvalds's avatar
      Merge tag 'fbdev-v4.18' of git://github.com/bzolnier/linux · 644f2639
      Linus Torvalds authored
      Pull fbdev updates from Bartlomiej Zolnierkiewicz:
       "There is nothing really major here, few small fixes, some cleanups and
        dead drivers removal:
      
         - mark omapfb drivers as orphans in MAINTAINERS file (Tomi Valkeinen)
      
         - add missing module license tags to omap/omapfb driver (Arnd
           Bergmann)
      
         - add missing GPIOLIB dependendy to omap2/omapfb driver (Arnd
           Bergmann)
      
         - convert savagefb, aty128fb & radeonfb drivers to use msleep & co.
           (Jia-Ju Bai)
      
         - allow COMPILE_TEST build for viafb driver (media part was reviewed
           by media subsystem Maintainer)
      
         - remove unused MERAM support from sh_mobile_lcdcfb and shmob-drm
           drivers (drm parts were acked by shmob-drm driver Maintainer)
      
         - remove unused auo_k190xfb drivers
      
         - misc cleanups (Souptick Joarder, Wolfram Sang, Markus Elfring, Andy
           Shevchenko, Colin Ian King)"
      
      * tag 'fbdev-v4.18' of git://github.com/bzolnier/linux: (26 commits)
        fb_omap2: add gpiolib dependency
        video/omap: add module license tags
        MAINTAINERS: make omapfb orphan
        video: fbdev: pxafb: match_string() conversion fixup
        video: fbdev: nvidia: fix spelling mistake: "scaleing" -> "scaling"
        video: fbdev: fix spelling mistake: "frambuffer" -> "framebuffer"
        video: fbdev: pxafb: Convert to use match_string() helper
        video: fbdev: via: allow COMPILE_TEST build
        video: fbdev: remove unused sh_mobile_meram driver
        drm: shmobile: remove unused MERAM support
        video: fbdev: sh_mobile_lcdcfb: remove unused MERAM support
        video: fbdev: remove unused auo_k190xfb drivers
        video: omap: Improve a size determination in omapfb_do_probe()
        video: sm501fb: Improve a size determination in sm501fb_probe()
        video: fbdev-MMP: Improve a size determination in path_init()
        video: fbdev-MMP: Delete an error message for a failed memory allocation in two functions
        video: auo_k190x: Delete an error message for a failed memory allocation in auok190x_common_probe()
        video: sh_mobile_lcdcfb: Delete an error message for a failed memory allocation in two functions
        video: sh_mobile_meram: Delete an error message for a failed memory allocation in sh_mobile_meram_probe()
        video: fbdev: sh_mobile_meram: Drop SUPERH platform dependency
        ...
      644f2639
    • Linus Torvalds's avatar
      Merge branch 'afs-proc' of git://git.kernel.org/pub/scm/linux/kernel/git/viro/vfs · 35773c93
      Linus Torvalds authored
      Pull AFS updates from Al Viro:
       "Assorted AFS stuff - ended up in vfs.git since most of that consists
        of David's AFS-related followups to Christoph's procfs series"
      
      * 'afs-proc' of git://git.kernel.org/pub/scm/linux/kernel/git/viro/vfs:
        afs: Optimise callback breaking by not repeating volume lookup
        afs: Display manually added cells in dynamic root mount
        afs: Enable IPv6 DNS lookups
        afs: Show all of a server's addresses in /proc/fs/afs/servers
        afs: Handle CONFIG_PROC_FS=n
        proc: Make inline name size calculation automatic
        afs: Implement network namespacing
        afs: Mark afs_net::ws_cell as __rcu and set using rcu functions
        afs: Fix a Sparse warning in xdr_decode_AFSFetchStatus()
        proc: Add a way to make network proc files writable
        afs: Rearrange fs/afs/proc.c to remove remaining predeclarations.
        afs: Rearrange fs/afs/proc.c to move the show routines up
        afs: Rearrange fs/afs/proc.c by moving fops and open functions down
        afs: Move /proc management functions to the end of the file
      35773c93
    • Linus Torvalds's avatar
      Merge branch 'work.compat' of git://git.kernel.org/pub/scm/linux/kernel/git/viro/vfs · 29d6849d
      Linus Torvalds authored
      Pull compat updates from Al Viro:
       "Some biarch patches - getting rid of assorted (mis)uses of
        compat_alloc_user_space().
      
        Not much in that area this cycle..."
      
      * 'work.compat' of git://git.kernel.org/pub/scm/linux/kernel/git/viro/vfs:
        orangefs: simplify compat ioctl handling
        signalfd: lift sigmask copyin and size checks to callers of do_signalfd4()
        vmsplice(): lift importing iovec into vmsplice(2) and compat counterpart
      29d6849d
    • Linus Torvalds's avatar
      Merge branch 'work.aio' of git://git.kernel.org/pub/scm/linux/kernel/git/viro/vfs · a5b729ea
      Linus Torvalds authored
      Pull aio fixes from Al Viro:
       "Assorted AIO followups and fixes"
      
      * 'work.aio' of git://git.kernel.org/pub/scm/linux/kernel/git/viro/vfs:
        eventpoll: switch to ->poll_mask
        aio: only return events requested in poll_mask() for IOCB_CMD_POLL
        eventfd: only return events requested in poll_mask()
        aio: mark __aio_sigset::sigmask const
      a5b729ea
  4. 15 Jun, 2018 18 commits