Skip to content
  1. Aug 09, 2019
  2. Aug 08, 2019
  3. Aug 07, 2019
  4. Aug 06, 2019
    • Greg Kroah-Hartman's avatar
      USB: usbip: convert platform driver to use dev_groups · 91148dba
      Greg Kroah-Hartman authored
      
      
      Platform drivers now have the option to have the platform core create
      and remove any needed sysfs attribute files.  So take advantage of that
      and do not register "by hand" any sysfs files.
      
      Cc: Valentina Manea <valentina.manea.m@gmail.com>
      Acked-by: default avatarShuah Khan <skhan@linuxfoundation.org>
      Link: https://lore.kernel.org/r/20190805193636.25560-5-gregkh@linuxfoundation.org
      Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
      91148dba
    • Greg Kroah-Hartman's avatar
      Merge tag 'dev_groups_all_drivers' of... · c5d16537
      Greg Kroah-Hartman authored
      
      Merge tag 'dev_groups_all_drivers' of git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/driver-core into usb-next
      
      dev_groups added to struct driver
      
      Persistent tag for others to pull this branch from
      
      This is the first patch in a longer series that adds the ability for the
      driver core to create and remove a list of attribute groups
      automatically when the device is bound/unbound from a specific driver.
      
      See:
      	https://lore.kernel.org/r/20190731124349.4474-2-gregkh@linuxfoundation.org
      for details on this patch, and examples of how to use it in other
      drivers.
      
      Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
      c5d16537
  5. Aug 05, 2019
  6. Aug 02, 2019
    • Dmitry Torokhov's avatar
      driver core: add dev_groups to all drivers · 23b69044
      Dmitry Torokhov authored
      
      
      Add the ability for the driver core to create and remove a list of
      attribute groups automatically when the device is bound/unbound from a
      specific driver.
      
      Signed-off-by: default avatarDmitry Torokhov <dmitry.torokhov@gmail.com>
      Tested-by: default avatarRichard Gong <richard.gong@linux.intel.com>
      Link: https://lore.kernel.org/r/20190731124349.4474-2-gregkh@linuxfoundation.org
      Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
      23b69044
    • Miquel Raynal's avatar
      usb: host: xhci-plat: Prevent an abnormally restrictive PHY init skipping · eb6c2eb6
      Miquel Raynal authored
      In the past, USB PHY handling has been moved in the HCD core. Some
      host controller drivers needing more control of the PHYs, they have
      been granted the freedom to handle themselves the PHY states and to
      prevent the HCD core to do so in commit 4e88d4c0 ("usb: add a flag
      to skip PHY initialization to struct usb_hcd"). With this change, any
      USB host controller could set the hcd->skip_phy_initialization flag so
      that the HCD core would just skip the PHY initialization sequence.
      
      However, in the USB subsystem, there are currently two entirely
      different forms of PHY: one is called 'usb_phy' and is
      USB-subsystem-wide, while there is also the generic and kernel-wide
      'phy' from the (recent) generic PHY framework.
      
      When the commit above was introduced, both type of PHYs where handled
      by the HCD core.
      
      Later, commit bc40f534
      
       ("USB: core: hcd: drop support for legacy
      phys") removed the support for the former type of PHYs in the HCD
      core. These 'usb_phy' are still present though, but managed from the
      controller drivers only. Hence, setting the
      hcd->skip_phy_initialization flag just because a 'usb_phy' is
      initialized by a controller driver is a non-sense.
      
      For instance on Armada CP110, a 'usb_phy' is there to enable the power
      supply to the USB host, while there is also a COMPHY block providing
      SERDES lanes configuration that is referenced as a PHY from the common
      PHY framework.
      
      Right now, users of the xhci-plat.c driver either use a 'usb_phy' only
      and do not care about the attempt of generic PHY initialization within
      the HCD core (as there is none); or they use a single 'phy' and the
      code flow does not pass through the block setting
      hcd->skip_phy_initialization anyway.
      
      While there is not users of both PHY types at the same time, drop this
      limitation from the xhci-plat.c driver. Note that the tegra driver
      probably has the same limitation and could definitely benefit from a
      similar change.
      
      Cc: Johan Hovold <johan@kernel.org>
      Cc: Martin Blumenstingl <martin.blumenstingl@googlemail.com>
      Signed-off-by: default avatarMiquel Raynal <miquel.raynal@bootlin.com>
      Acked-by: default avatarMartin Blumenstingl <martin.blumenstingl@googlemail.com>
      Link: https://lore.kernel.org/r/20190731121150.2253-1-miquel.raynal@bootlin.com
      Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
      eb6c2eb6
    • Geert Uytterhoeven's avatar
      usb: wusbcore: Spelling s/disconenct/disconnect/ · d1f54df4
      Geert Uytterhoeven authored
      
      
      Signed-off-by: default avatarGeert Uytterhoeven <geert+renesas@glider.be>
      Link: https://lore.kernel.org/r/20190731134241.18647-1-geert+renesas@glider.be
      Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
      d1f54df4
    • Colin Ian King's avatar
      usb: musb: remove redundant assignment to variable ret · 82e17a09
      Colin Ian King authored
      
      
      Variable ret is being initialized with a value that is never read
      and ret is being re-assigned a little later on. The assignment is
      redundant and hence can be removed.
      
      Addresses-Coverity: ("Unused value")
      Signed-off-by: default avatarColin Ian King <colin.king@canonical.com>
      Link: https://lore.kernel.org/r/20190731223917.16532-1-colin.king@canonical.com
      Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
      82e17a09
  7. Jul 31, 2019
    • Stephen Boyd's avatar
      usb: Remove dev_err() usage after platform_get_irq() · b33f3706
      Stephen Boyd authored
      
      
      We don't need dev_err() messages when platform_get_irq() fails now that
      platform_get_irq() prints an error message itself when something goes
      wrong. Let's remove these prints with a simple semantic patch.
      
      // <smpl>
      @@
      expression ret;
      struct platform_device *E;
      @@
      
      ret =
      (
      platform_get_irq(E, ...)
      |
      platform_get_irq_byname(E, ...)
      );
      
      if ( \( ret < 0 \| ret <= 0 \) )
      {
      (
      -if (ret != -EPROBE_DEFER)
      -{ ...
      -dev_err(...);
      -... }
      |
      ...
      -dev_err(...);
      )
      ...
      }
      // </smpl>
      
      While we're here, remove braces on if statements that only have one
      statement (manually).
      
      Signed-off-by: default avatarStephen Boyd <swboyd@chromium.org>
      Link: https://lore.kernel.org/r/20190730181557.90391-47-swboyd@chromium.org
      Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
      b33f3706
  8. Jul 30, 2019
    • Gustavo A. R. Silva's avatar
      usb: phy: ab8500-usb: Mark expected switch fall-throughs · dcf8f7ec
      Gustavo A. R. Silva authored
      
      
      Mark switch cases where we are expecting to fall through.
      
      This patch fixes the following warnings:
      
      drivers/usb/phy/phy-ab8500-usb.c: In function 'ab8500_usb_link_status_update':
      drivers/usb/phy/phy-ab8500-usb.c:424:9: warning: this statement may fall through [-Wimplicit-fallthrough=]
         event = UX500_MUSB_RIDB;
         ~~~~~~^~~~~~~~~~~~~~~~~
      drivers/usb/phy/phy-ab8500-usb.c:425:2: note: here
        case USB_LINK_NOT_CONFIGURED_8500:
        ^~~~
      drivers/usb/phy/phy-ab8500-usb.c:440:9: warning: this statement may fall through [-Wimplicit-fallthrough=]
         event = UX500_MUSB_RIDC;
         ~~~~~~^~~~~~~~~~~~~~~~~
      drivers/usb/phy/phy-ab8500-usb.c:441:2: note: here
        case USB_LINK_STD_HOST_NC_8500:
        ^~~~
      drivers/usb/phy/phy-ab8500-usb.c:459:9: warning: this statement may fall through [-Wimplicit-fallthrough=]
         event = UX500_MUSB_RIDA;
         ~~~~~~^~~~~~~~~~~~~~~~~
      drivers/usb/phy/phy-ab8500-usb.c:460:2: note: here
        case USB_LINK_HM_IDGND_8500:
        ^~~~
      drivers/usb/phy/phy-ab8500-usb.c: In function 'ab8505_usb_link_status_update':
      drivers/usb/phy/phy-ab8500-usb.c:332:9: warning: this statement may fall through [-Wimplicit-fallthrough=]
         event = UX500_MUSB_RIDB;
         ~~~~~~^~~~~~~~~~~~~~~~~
      drivers/usb/phy/phy-ab8500-usb.c:333:2: note: here
        case USB_LINK_NOT_CONFIGURED_8505:
        ^~~~
      drivers/usb/phy/phy-ab8500-usb.c:352:9: warning: this statement may fall through [-Wimplicit-fallthrough=]
         event = UX500_MUSB_RIDC;
         ~~~~~~^~~~~~~~~~~~~~~~~
      drivers/usb/phy/phy-ab8500-usb.c:353:2: note: here
        case USB_LINK_STD_HOST_NC_8505:
        ^~~~
      drivers/usb/phy/phy-ab8500-usb.c:370:9: warning: this statement may fall through [-Wimplicit-fallthrough=]
         event = UX500_MUSB_RIDA;
         ~~~~~~^~~~~~~~~~~~~~~~~
      drivers/usb/phy/phy-ab8500-usb.c:371:2: note: here
        case USB_LINK_HM_IDGND_8505:
        ^~~~
      
      Reported-by: default avatarStephen Rothwell <sfr@canb.auug.org.au>
      Signed-off-by: default avatarGustavo A. R. Silva <gustavo@embeddedor.com>
      Reviewed-by: default avatarKees Cook <keescook@chromium.org>
      Link: https://lore.kernel.org/r/20190729000631.GA24165@embeddedor
      Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
      dcf8f7ec
    • Gustavo A. R. Silva's avatar
      usb: host: ohci-tmio: Mark expected switch fall-throughs · 9e22cb82
      Gustavo A. R. Silva authored
      
      
      Mark switch cases where we are expecting to fall through.
      
      This patch fixes the following warning (Building: arm):
      
      drivers/usb/host/ohci-tmio.c: In function ‘tmio_stop_hc’:
      ./include/linux/device.h:1499:2: warning: this statement may fall through [-Wimplicit-fallthrough=]
        _dev_err(dev, dev_fmt(fmt), ##__VA_ARGS__)
        ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
      drivers/usb/host/ohci-tmio.c:99:4: note: in expansion of macro ‘dev_err’
          dev_err(&dev->dev, "Unsupported amount of ports: %d\n", ohci->num_ports);
          ^~~~~~~
      In file included from drivers/usb/host/ohci-hcd.c:1257:0:
      drivers/usb/host/ohci-tmio.c:100:3: note: here
         case 3:
         ^~~~
      drivers/usb/host/ohci-tmio.c:101:7: warning: this statement may fall through [-Wimplicit-fallthrough=]
          pm |= CCR_PM_USBPW3;
             ^
      drivers/usb/host/ohci-tmio.c:102:3: note: here
         case 2:
         ^~~~
      drivers/usb/host/ohci-tmio.c:103:7: warning: this statement may fall through [-Wimplicit-fallthrough=]
          pm |= CCR_PM_USBPW2;
             ^
      drivers/usb/host/ohci-tmio.c:104:3: note: here
         case 1:
         ^~~~
      
      Signed-off-by: default avatarGustavo A. R. Silva <gustavo@embeddedor.com>
      Link: https://lore.kernel.org/r/20190729222201.GA19408@embeddedor
      Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
      9e22cb82
    • Marek Szyprowski's avatar
      ARM: dts: exynos: Use standard arrays of generic PHYs for EHCI/OHCI devices · 314de2f6
      Marek Szyprowski authored
      
      
      Move USB PHYs to a standard arrays for Exynos EHCI/OHCI devices. This
      resolves the conflict between Exynos EHCI/OHCI sub-nodes and generic USB
      device bindings. Once the Exynos EHCI/OHCI sub-nodes are removed, the
      boards can finally provide sub-nodes for the USB devices using generic USB
      device bindings.
      
      Suggested-by: default avatarMåns Rullgård <mans@mansr.com>
      Signed-off-by: default avatarMarek Szyprowski <m.szyprowski@samsung.com>
      Link: https://lore.kernel.org/r/20190726081453.9456-4-m.szyprowski@samsung.com
      Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
      314de2f6
    • Marek Szyprowski's avatar
      usb: exynos: add support for getting PHYs from the standard dt array · 214b606e
      Marek Szyprowski authored
      
      
      Add the code for getting generic PHYs from standard device tree array
      from the main controller device node. This is a first step in resolving
      the conflict between Exynos EHCI/OHCI sub-nodes and generic USB device
      bindings. Later the sub-nodes currently used for assigning PHYs to root
      ports of the controller will be removed making a place for the generic
      USB device bindings nodes.
      
      Suggested-by: default avatarMåns Rullgård <mans@mansr.com>
      Signed-off-by: default avatarMarek Szyprowski <m.szyprowski@samsung.com>
      Acked-by: default avatarAlan Stern <stern@rowland.harvard.edu>
      Acked-by: default avatarKrzysztof Kozlowski <krzk@kernel.org>
      Link: https://lore.kernel.org/r/20190726081453.9456-3-m.szyprowski@samsung.com
      Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
      214b606e
    • Marek Szyprowski's avatar
      dt-bindings: switch Exynos EHCI/OHCI bindings to use array of generic PHYs · c27989cc
      Marek Szyprowski authored
      Commit 69bec725 ("USB: core: let USB device know device node") added
      support for attaching devicetree node for USB devices. Those nodes are
      children of their USB host controller. However Exynos EHCI and OHCI
      driver bindings already define child-nodes for each physical root hub
      port and assigns respective PHY controller and parameters to them. This
      leads to the conflict. A workaround for it has been merged as commit
      01d40714
      
       ("usb: exynos: add workaround for the USB device bindings
      conflict"), but it disabled support for USB device binding for Exynos
      EHCI/OHCI controllers.
      
      To resolve it properly, lets move PHYs from the sub-nodes to a standard
      array under the 'phys' property.
      
      Suggested-by: default avatarMåns Rullgård <mans@mansr.com>
      Reviewed-by: default avatarRob Herring <robh@kernel.org>
      Signed-off-by: default avatarMarek Szyprowski <m.szyprowski@samsung.com>
      Acked-by: default avatarKrzysztof Kozlowski <krzk@kernel.org>
      Link: https://lore.kernel.org/r/20190726081453.9456-2-m.szyprowski@samsung.com
      Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
      c27989cc
  9. Jul 29, 2019
    • Greg Kroah-Hartman's avatar
      Merge 5.3-rc2 into usb-next · 2a0f4f16
      Greg Kroah-Hartman authored
      
      
      We need the USB fixes in here as well.
      
      Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
      2a0f4f16
    • Linus Torvalds's avatar
      Linux 5.3-rc2 · 609488bc
      Linus Torvalds authored
      609488bc
    • Linus Torvalds's avatar
      Merge tag 'meminit-v5.3-rc2' of git://git.kernel.org/pub/scm/linux/kernel/git/kees/linux · c622fc5f
      Linus Torvalds authored
      Pull structleak fix from Kees Cook:
       "Disable gcc-based stack variable auto-init under KASAN (Arnd
        Bergmann).
      
        This fixes a bunch of build warnings under KASAN and the
        gcc-plugin-based stack auto-initialization features (which are
        arguably redundant, so better to let KASAN control this)"
      
      * tag 'meminit-v5.3-rc2' of git://git.kernel.org/pub/scm/linux/kernel/git/kees/linux:
        structleak: disable STRUCTLEAK_BYREF in combination with KASAN_STACK
      c622fc5f
    • Linus Torvalds's avatar
      Merge tag 'kbuild-fixes-v5.3' of... · 8e61ea11
      Linus Torvalds authored
      Merge tag 'kbuild-fixes-v5.3' of git://git.kernel.org/pub/scm/linux/kernel/git/masahiroy/linux-kbuild
      
      Pull Kbuild fixes from Masahiro Yamada:
      
       - add compile_commands.json to .gitignore
      
       - fix false-positive warning from gen_compile_commands.py after
         allnoconfig build
      
       - remove unused code
      
      * tag 'kbuild-fixes-v5.3' of git://git.kernel.org/pub/scm/linux/kernel/git/masahiroy/linux-kbuild:
        kbuild: remove unused single-used-m
        gen_compile_commands: lower the entry count threshold
        .gitignore: Add compilation database file
        kbuild: remove unused objectify macro
      8e61ea11
    • Linus Torvalds's avatar
      Merge tag 'char-misc-5.3-rc2' of git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/char-misc · 04ce9318
      Linus Torvalds authored
      Pull char/misc driver fixes from Greg KH:
       "Here are some small char and misc driver fixes for 5.3-rc2 to resolve
        some reported issues.
      
        Nothing major at all, some binder bugfixes for issues found, some new
        mei device ids, firmware building warning fixes, habanalabs fixes, a
        few other build fixes, and a MAINTAINERS update.
      
        All of these have been in linux-next with no reported issues"
      
      * tag 'char-misc-5.3-rc2' of git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/char-misc:
        test_firmware: fix a memory leak bug
        hpet: Fix division by zero in hpet_time_div()
        eeprom: make older eeprom drivers select NVMEM_SYSFS
        vmw_balloon: Remove Julien from the maintainers list
        fpga-manager: altera-ps-spi: Fix build error
        mei: me: add mule creek canyon (EHL) device ids
        binder: prevent transactions to context manager from its own process.
        binder: Set end of SG buffer area properly.
        firmware: Fix missing inline
        firmware: fix build errors in paged buffer handling code
        habanalabs: don't reset device when getting VRHOT
        habanalabs: use %pad for printing a dma_addr_t
      04ce9318
    • Linus Torvalds's avatar
      Merge tag 'tty-5.3-rc2' of git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/tty · 572782b2
      Linus Torvalds authored
      Pull tty fixes from Greg KH:
       "Here are two tty/vt fixes:
      
         - delete the netx-serial driver as the arch has been removed, no need
           to keep the serial driver for it around either.
      
         - vt console_lock fix to resolve a reported noisy warning at runtime
      
        Both of these have been in linux-next with no reported issues"
      
      * tag 'tty-5.3-rc2' of git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/tty:
        vt: Grab console_lock around con_is_bound in show_bind
        tty: serial: netx: Delete driver
      572782b2
    • Linus Torvalds's avatar
      Merge tag 'spdx-5.3-rc2' of git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/spdx · ad28fd1c
      Linus Torvalds authored
      Pull SPDX fixes from Greg KH:
       "Here are some small SPDX fixes for 5.3-rc2 for things that came in
        during the 5.3-rc1 merge window that we previously missed.
      
        Only three small patches here:
      
         - two uapi patches to resolve some SPDX tags that were not correct
      
         - fix an invalid SPDX tag in the iomap Makefile file
      
        All have been properly reviewed on the public mailing lists"
      
      * tag 'spdx-5.3-rc2' of git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/spdx:
        iomap: fix Invalid License ID
        treewide: remove SPDX "WITH Linux-syscall-note" from kernel-space headers again
        treewide: add "WITH Linux-syscall-note" to SPDX tag of uapi headers
      ad28fd1c
    • Linus Torvalds's avatar
      Merge tag 'usb-5.3-rc2' of git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb · 29af915c
      Linus Torvalds authored
      Pull USB fixes from Greg KH:
       "Here are some small fixes for 5.3-rc2. All of these resolve some
        reported issues, some more than others :)
      
        Included in here is:
      
         - xhci fix for an annoying issue with odd devices
      
         - reversion of some usb251xb patches that should not have been merged
      
         - usb pci quirk additions and fixups
      
         - usb storage fix
      
         - usb host controller error test fix
      
        All of these have been in linux-next with no reported issues"
      
      * tag 'usb-5.3-rc2' of git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb:
        xhci: Fix crash if scatter gather is used with Immediate Data Transfer (IDT).
        usb: usb251xb: Reallow swap-dx-lanes to apply to the upstream port
        Revert "usb: usb251xb: Add US port lanes inversion property"
        Revert "usb: usb251xb: Add US lanes inversion dts-bindings"
        usb: wusbcore: fix unbalanced get/put cluster_id
        usb/hcd: Fix a NULL vs IS_ERR() bug in usb_hcd_setup_local_mem()
        usb-storage: Add a limitation for blk_queue_max_hw_sectors()
        usb: pci-quirks: Minor cleanup for AMD PLL quirk
        usb: pci-quirks: Correct AMD PLL quirk detection
      29af915c
    • Linus Torvalds's avatar
      Merge tag 'armsoc-fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/soc/soc · 5bb575bc
      Linus Torvalds authored
      Pull ARM SoC fixes from Olof Johansson:
       "Here's the first batch of fixes for this release cycle.
      
        Main diffstat here is the re-deletion of netx. I messed up and most
        likely didn't remove the files from the index when I test-merged this
        and saw conflicts, and from there on out 'git rerere' remembered the
        mistake and I missed checking it. Here it's done again as expected.
      
        Besides that:
      
         - A defconfig refresh + enabling of new drivers for u8500
      
         - i.MX fixlets for i2c/SAI/pinmux
      
         - sleep.S build fix for Davinci
      
         - Broadcom devicetree build/warning fix"
      
      * tag 'armsoc-fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/soc/soc:
        ARM: defconfig: u8500: Add new drivers
        ARM: defconfig: u8500: Refresh defconfig
        ARM: dts: bcm: bcm47094: add missing #cells for mdio-bus-mux
        ARM: davinci: fix sleep.S build error on ARMv4
        arm64: dts: imx8mq: fix SAI compatible
        arm64: dts: imx8mm: Correct SAI3 RXC/TXFS pin's mux option #1
        ARM: dts: imx6ul: fix clock frequency property name of I2C buses
        ARM: Delete netx a second time
        ARM: dts: imx7ulp: Fix usb-phy unit address format
      5bb575bc
  10. Jul 28, 2019
    • Linus Torvalds's avatar
      Merge branch 'x86-urgent-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip · a9815a4f
      Linus Torvalds authored
      Pull x86 fixes from Thomas Gleixner:
       "A set of x86 fixes and functional updates:
      
         - Prevent stale huge I/O TLB mappings on 32bit. A long standing bug
           which got exposed by KPTI support for 32bit
      
         - Prevent bogus access_ok() warnings in arch_stack_walk_user()
      
         - Add display quirks for Lenovo devices which have height and width
           swapped
      
         - Add the missing CR2 fixup for 32 bit async pagefaults. Fallout of
           the CR2 bug fix series.
      
         - Unbreak handling of force enabled HPET by moving the 'is HPET
           counting' check back to the original place.
      
         - A more accurate check for running on a hypervisor platform in the
           MDS mitigation code. Not perfect, but more accurate than the
           previous one.
      
         - Update a stale and confusing comment vs. IRQ stacks"
      
      * 'x86-urgent-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip:
        x86/speculation/mds: Apply more accurate check on hypervisor platform
        x86/hpet: Undo the early counter is counting check
        x86/entry/32: Pass cr2 to do_async_page_fault()
        x86/irq/64: Update stale comment
        x86/sysfb_efi: Add quirks for some devices with swapped width and height
        x86/stacktrace: Prevent access_ok() warnings in arch_stack_walk_user()
        mm/vmalloc: Sync unmappings in __purge_vmap_area_lazy()
        x86/mm: Sync also unmappings in vmalloc_sync_all()
        x86/mm: Check for pfn instead of page in vmalloc_sync_one()
      a9815a4f
    • Linus Torvalds's avatar
      Merge branch 'sched-urgent-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip · e24ce84e
      Linus Torvalds authored
      Pull scheduler fixes from Thomas Gleixner:
       "Two fixes for the fair scheduling class:
      
         - Prevent freeing memory which is accessible by concurrent readers
      
         - Make the RCU annotations for numa groups consistent"
      
      * 'sched-urgent-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip:
        sched/fair: Use RCU accessors consistently for ->numa_group
        sched/fair: Don't free p->numa_faults with concurrent readers
      e24ce84e
    • Linus Torvalds's avatar
      Merge branch 'perf-urgent-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip · 750991f9
      Linus Torvalds authored
      Pull perf fixes from Thomas Gleixner:
       "A pile of perf related fixes:
      
        Kernel:
         - Fix SLOTS PEBS event constraints for Icelake CPUs
      
         - Add the missing mask bit to allow counting hardware generated
           prefetches on L3 for Icelake CPUs
      
         - Make the test for hypervisor platforms more accurate (as far as
           possible)
      
         - Handle PMUs correctly which override event->cpu
      
         - Yet another missing fallthrough annotation
      
        Tools:
           perf.data:
              - Fix loading of compressed data split across adjacent records
              - Fix buffer size setting for processing CPU topology perf.data
                header.
      
           perf stat:
              - Fix segfault for event group in repeat mode
              - Always separate "stalled cycles per insn" line, it was being
                appended to the "instructions" line.
      
           perf script:
              - Fix --max-blocks man page description.
              - Improve man page description of metrics.
              - Fix off by one in brstackinsn IPC computation.
      
           perf probe:
              - Avoid calling freeing routine multiple times for same pointer.
      
           perf build:
              - Do not use -Wshadow on gcc < 4.8, avoiding too strict warnings
                treated as errors, breaking the build"
      
      * 'perf-urgent-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip:
        perf/x86/intel: Mark expected switch fall-throughs
        perf/core: Fix creating kernel counters for PMUs that override event->cpu
        perf/x86: Apply more accurate check on hypervisor platform
        perf/x86/intel: Fix invalid Bit 13 for Icelake MSR_OFFCORE_RSP_x register
        perf/x86/intel: Fix SLOTS PEBS event constraint
        perf build: Do not use -Wshadow on gcc < 4.8
        perf probe: Avoid calling freeing routine multiple times for same pointer
        perf probe: Set pev->nargs to zero after freeing pev->args entries
        perf session: Fix loading of compressed data split across adjacent records
        perf stat: Always separate stalled cycles per insn
        perf stat: Fix segfault for event group in repeat mode
        perf tools: Fix proper buffer size for feature processing
        perf script: Fix off by one in brstackinsn IPC computation
        perf script: Improve man page description of metrics
        perf script: Fix --max-blocks man page description
      750991f9
    • Linus Torvalds's avatar
      Merge branch 'locking-urgent-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip · 431f288e
      Linus Torvalds authored
      Pull locking fixes from Thomas Gleixner:
       "A set of locking fixes:
      
         - Address the fallout of the rwsem rework. Missing ACQUIREs and a
           sanity check to prevent a use-after-free
      
         - Add missing checks for unitialized mutexes when mutex debugging is
           enabled.
      
         - Remove the bogus code in the generic SMP variant of
           arch_futex_atomic_op_inuser()
      
         - Fixup the #ifdeffery in lockdep to prevent compile warnings"
      
      * 'locking-urgent-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip:
        locking/mutex: Test for initialized mutex
        locking/lockdep: Clean up #ifdef checks
        locking/lockdep: Hide unused 'class' variable
        locking/rwsem: Add ACQUIRE comments
        tty/ldsem, locking/rwsem: Add missing ACQUIRE to read_failed sleep loop
        lcoking/rwsem: Add missing ACQUIRE to read_slowpath sleep loop
        locking/rwsem: Add missing ACQUIRE to read_slowpath exit when queue is empty
        locking/rwsem: Don't call owner_on_cpu() on read-owner
        futex: Cleanup generic SMP variant of arch_futex_atomic_op_inuser()
      431f288e
    • Linus Torvalds's avatar
      Merge branch 'core-urgent-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip · 13fbe991
      Linus Torvalds authored
      Pull objtool fix from Thomas Gleixner:
       "A single robustness fix for objtool to handle unbalanced CLAC
        invocations under all circumstances"
      
      * 'core-urgent-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip:
        objtool: Improve UACCESS coverage
      13fbe991