1. 16 Apr, 2020 1 commit
  2. 15 Apr, 2020 4 commits
  3. 11 Apr, 2020 1 commit
    • Ziqian SUN (Zamir)'s avatar
      Bluetooth: btrtl: Add support for RTL8761B · 04896832
      Ziqian SUN (Zamir) authored
      Add new compatible device RTL8761B. RTL8761B is a USB Bluetooth device,
      with support of BLE and BR/EDR. The USB info is
      
      T:  Bus=03 Lev=04 Prnt=04 Port=00 Cnt=01 Dev#= 29 Spd=12   MxCh= 0
      D:  Ver= 1.10 Cls=e0(wlcon) Sub=01 Prot=01 MxPS=64 #Cfgs=  1
      P:  Vendor=0bda ProdID=8771 Rev= 2.00
      S:  Manufacturer=Realtek
      S:  Product=Bluetooth Radio
      S:  SerialNumber=XXXXXXXXXXXX
      C:* #Ifs= 2 Cfg#= 1 Atr=e0 MxPwr=500mA
      I:* If#= 0 Alt= 0 #EPs= 3 Cls=e0(wlcon) Sub=01 Prot=01 Driver=btusb
      E:  Ad=81(I) Atr=03(Int.) MxPS=  16 Ivl=1ms
      E:  Ad=02(O) Atr=02(Bulk) MxPS=  64 Ivl=0ms
      E:  Ad=82(I) Atr=02(Bulk) MxPS=  64 Ivl=0ms
      I:* If#= 1 Alt= 0 #EPs= 2 Cls=e0(wlcon) Sub=01 Prot=01 Driver=btusb
      E:  Ad=03(O) Atr=01(Isoc) MxPS=   0 Ivl=1ms
      E:  Ad=83(I) Atr=01(Isoc) MxPS=   0 Ivl=1ms
      I:  If#= 1 Alt= 1 #EPs= 2 Cls=e0(wlcon) Sub=01 Prot=01 Driver=btusb
      E:  Ad=03(O) Atr=01(Isoc) MxPS=   9 Ivl=1ms
      E:  Ad=83(I) Atr=01(Isoc) MxPS=   9 Ivl=1ms
      I:  If#= 1 Alt= 2 #EPs= 2 Cls=e0(wlcon) Sub=01 Prot=01 Driver=btusb
      E:  Ad=03(O) Atr=01(Isoc) MxPS=  17 Ivl=1ms
      E:  Ad=83(I) Atr=01(Isoc) MxPS=  17 Ivl=1ms
      I:  If#= 1 Alt= 3 #EPs= 2 Cls=e0(wlcon) Sub=01 Prot=01 Driver=btusb
      E:  Ad=03(O) Atr=01(Isoc) MxPS=  25 Ivl=1ms
      E:  Ad=83(I) Atr=01(Isoc) MxPS=  25 Ivl=1ms
      I:  If#= 1 Alt= 4 #EPs= 2 Cls=e0(wlcon) Sub=01 Prot=01 Driver=btusb
      E:  Ad=03(O) Atr=01(Isoc) MxPS=  33 Ivl=1ms
      E:  Ad=83(I) Atr=01(Isoc) MxPS=  33 Ivl=1ms
      I:  If#= 1 Alt= 5 #EPs= 2 Cls=e0(wlcon) Sub=01 Prot=01 Driver=btusb
      E:  Ad=03(O) Atr=01(Isoc) MxPS=  49 Ivl=1ms
      E:  Ad=83(I) Atr=01(Isoc) MxPS=  49 Ivl=1ms
      Signed-off-by: default avatarZiqian SUN (Zamir) <sztsian@gmail.com>
      Signed-off-by: default avatarMarcel Holtmann <marcel@holtmann.org>
      04896832
  4. 09 Apr, 2020 1 commit
  5. 08 Apr, 2020 2 commits
  6. 07 Apr, 2020 2 commits
  7. 05 Apr, 2020 10 commits
  8. 03 Apr, 2020 4 commits
    • Alain Michaud's avatar
      Bluetooth: fixing minor typo in comment · 1e5479be
      Alain Michaud authored
      This changes a simple typo in hci_event.c
      Signed-off-by: default avatarAlain Michaud <alainm@chromium.org>
      Signed-off-by: default avatarMarcel Holtmann <marcel@holtmann.org>
      1e5479be
    • Abhishek Pandit-Subedi's avatar
      Bluetooth: Prioritize SCO traffic · 7fedd3bb
      Abhishek Pandit-Subedi authored
      When scheduling TX packets, send all SCO/eSCO packets first, check for
      pending SCO/eSCO packets after every ACL/LE packet and send them if any
      are pending.  This is done to make sure that we can meet SCO deadlines
      on slow interfaces like UART.
      
      If we were to queue up multiple ACL packets without checking for a SCO
      packet, we might miss the SCO timing. For example:
      
      The time it takes to send a maximum size ACL packet (1024 bytes):
      t = 10/8 * 1024 bytes * 8 bits/byte * 1 packet / baudrate
              where 10/8 is uart overhead due to start/stop bits per byte
      
      Replace t = 3.75ms (SCO deadline), which gives us a baudrate of 2730666.
      
      At a baudrate of 3000000, if we didn't check for SCO packets within 1024
      bytes, we would miss the 3.75ms timing window.
      Signed-off-by: default avatarAbhishek Pandit-Subedi <abhishekpandit@chromium.org>
      Signed-off-by: default avatarMarcel Holtmann <marcel@holtmann.org>
      7fedd3bb
    • Michał Mirosław's avatar
      Bluetooth: hci_bcm: fix freeing not-requested IRQ · 81bd5d0c
      Michał Mirosław authored
      When BT module can't be initialized, but it has an IRQ, unloading
      the driver WARNs when trying to free not-yet-requested IRQ. Fix it by
      noting whether the IRQ was requested.
      
      WARNING: CPU: 2 PID: 214 at kernel/irq/devres.c:144 devm_free_irq+0x49/0x4ca
      [...]
      WARNING: CPU: 2 PID: 214 at kernel/irq/manage.c:1746 __free_irq+0x8b/0x27c
      Trying to free already-free IRQ 264
      Modules linked in: hci_uart(-) btbcm bluetooth ecdh_generic ecc libaes
      CPU: 2 PID: 214 Comm: rmmod Tainted: G        W         5.6.1mq-00044-ga5f9ea098318-dirty #928
      [...]
      [<b016aefb>] (devm_free_irq) from [<af8ba1ff>] (bcm_close+0x97/0x118 [hci_uart])
      [<af8ba1ff>] (bcm_close [hci_uart]) from [<af8b736f>] (hci_uart_unregister_device+0x33/0x3c [hci_uart])
      [<af8b736f>] (hci_uart_unregister_device [hci_uart]) from [<b035930b>] (serdev_drv_remove+0x13/0x20)
      [<b035930b>] (serdev_drv_remove) from [<b037093b>] (device_release_driver_internal+0x97/0x118)
      [<b037093b>] (device_release_driver_internal) from [<b0370a0b>] (driver_detach+0x2f/0x58)
      [<b0370a0b>] (driver_detach) from [<b036f855>] (bus_remove_driver+0x41/0x94)
      [<b036f855>] (bus_remove_driver) from [<af8ba8db>] (bcm_deinit+0x1b/0x740 [hci_uart])
      [<af8ba8db>] (bcm_deinit [hci_uart]) from [<af8ba86f>] (hci_uart_exit+0x13/0x30 [hci_uart])
      [<af8ba86f>] (hci_uart_exit [hci_uart]) from [<b01900bd>] (sys_delete_module+0x109/0x1d0)
      [<b01900bd>] (sys_delete_module) from [<b0101001>] (ret_fast_syscall+0x1/0x5a)
      [...]
      
      Cc: stable@vger.kernel.org
      Fixes: 6cc4396c ("Bluetooth: hci_bcm: Add wake-up capability")
      Signed-off-by: default avatarMichał Mirosław <mirq-linux@rere.qmqm.pl>
      Signed-off-by: default avatarMarcel Holtmann <marcel@holtmann.org>
      81bd5d0c
    • Michał Mirosław's avatar
      Bluetooth: hci_bcm: respect IRQ polarity from DT · b25e4df4
      Michał Mirosław authored
      The IRQ polarity is be configured in bcm_setup_sleep(). Make the
      configured value match what is in the DeviceTree.
      
      Cc: stable@vger.kernel.org
      Fixes: f25a96c8 ("Bluetooth: hci_bcm: enable IRQ capability from devicetree")
      Signed-off-by: default avatarMichał Mirosław <mirq-linux@rere.qmqm.pl>
      Signed-off-by: default avatarMarcel Holtmann <marcel@holtmann.org>
      b25e4df4
  9. 02 Apr, 2020 5 commits
  10. 01 Apr, 2020 3 commits
    • Linus Torvalds's avatar
      x86: get rid of 'errret' argument to __get_user_xyz() macross · 1a323ea5
      Linus Torvalds authored
      Every remaining user just has the error case returning -EFAULT.
      
      In fact, the exception was __get_user_asm_nozero(), which was removed in
      commit 4b842e4e ("x86: get rid of small constant size cases in
      raw_copy_{to,from}_user()"), and the other __get_user_xyz() macros just
      followed suit for consistency.
      
      Fix up some macro whitespace while at it.
      Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
      1a323ea5
    • Linus Torvalds's avatar
      x86: remove __put_user_asm() infrastructure · ab33eb49
      Linus Torvalds authored
      The last user was removed by commit 4b842e4e ("x86: get rid of small
      constant size cases in raw_copy_{to,from}_user()").  Get rid of the
      left-overs before somebody tries to use it again.
      Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
      ab33eb49
    • Linus Torvalds's avatar
      Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/net-next · 29d9f30d
      Linus Torvalds authored
      Pull networking updates from David Miller:
       "Highlights:
      
         1) Fix the iwlwifi regression, from Johannes Berg.
      
         2) Support BSS coloring and 802.11 encapsulation offloading in
            hardware, from John Crispin.
      
         3) Fix some potential Spectre issues in qtnfmac, from Sergey
            Matyukevich.
      
         4) Add TTL decrement action to openvswitch, from Matteo Croce.
      
         5) Allow paralleization through flow_action setup by not taking the
            RTNL mutex, from Vlad Buslov.
      
         6) A lot of zero-length array to flexible-array conversions, from
            Gustavo A. R. Silva.
      
         7) Align XDP statistics names across several drivers for consistency,
            from Lorenzo Bianconi.
      
         8) Add various pieces of infrastructure for offloading conntrack, and
            make use of it in mlx5 driver, from Paul Blakey.
      
         9) Allow using listening sockets in BPF sockmap, from Jakub Sitnicki.
      
        10) Lots of parallelization improvements during configuration changes
            in mlxsw driver, from Ido Schimmel.
      
        11) Add support to devlink for generic packet traps, which report
            packets dropped during ACL processing. And use them in mlxsw
            driver. From Jiri Pirko.
      
        12) Support bcmgenet on ACPI, from Jeremy Linton.
      
        13) Make BPF compatible with RT, from Thomas Gleixnet, Alexei
            Starovoitov, and your's truly.
      
        14) Support XDP meta-data in virtio_net, from Yuya Kusakabe.
      
        15) Fix sysfs permissions when network devices change namespaces, from
            Christian Brauner.
      
        16) Add a flags element to ethtool_ops so that drivers can more simply
            indicate which coalescing parameters they actually support, and
            therefore the generic layer can validate the user's ethtool
            request. Use this in all drivers, from Jakub Kicinski.
      
        17) Offload FIFO qdisc in mlxsw, from Petr Machata.
      
        18) Support UDP sockets in sockmap, from Lorenz Bauer.
      
        19) Fix stretch ACK bugs in several TCP congestion control modules,
            from Pengcheng Yang.
      
        20) Support virtual functiosn in octeontx2 driver, from Tomasz
            Duszynski.
      
        21) Add region operations for devlink and use it in ice driver to dump
            NVM contents, from Jacob Keller.
      
        22) Add support for hw offload of MACSEC, from Antoine Tenart.
      
        23) Add support for BPF programs that can be attached to LSM hooks,
            from KP Singh.
      
        24) Support for multiple paths, path managers, and counters in MPTCP.
            From Peter Krystad, Paolo Abeni, Florian Westphal, Davide Caratti,
            and others.
      
        25) More progress on adding the netlink interface to ethtool, from
            Michal Kubecek"
      
      * git://git.kernel.org/pub/scm/linux/kernel/git/netdev/net-next: (2121 commits)
        net: ipv6: rpl_iptunnel: Fix potential memory leak in rpl_do_srh_inline
        cxgb4/chcr: nic-tls stats in ethtool
        net: dsa: fix oops while probing Marvell DSA switches
        net/bpfilter: remove superfluous testing message
        net: macb: Fix handling of fixed-link node
        net: dsa: ksz: Select KSZ protocol tag
        netdevsim: dev: Fix memory leak in nsim_dev_take_snapshot_write
        net: stmmac: add EHL 2.5Gbps PCI info and PCI ID
        net: stmmac: add EHL PSE0 & PSE1 1Gbps PCI info and PCI ID
        net: stmmac: create dwmac-intel.c to contain all Intel platform
        net: dsa: bcm_sf2: Support specifying VLAN tag egress rule
        net: dsa: bcm_sf2: Add support for matching VLAN TCI
        net: dsa: bcm_sf2: Move writing of CFP_DATA(5) into slicing functions
        net: dsa: bcm_sf2: Check earlier for FLOW_EXT and FLOW_MAC_EXT
        net: dsa: bcm_sf2: Disable learning for ASP port
        net: dsa: b53: Deny enslaving port 7 for 7278 into a bridge
        net: dsa: b53: Prevent tagged VLAN on port 7 for 7278
        net: dsa: b53: Restore VLAN entries upon (re)configuration
        net: dsa: bcm_sf2: Fix overflow checks
        hv_netvsc: Remove unnecessary round_up for recv_completion_cnt
        ...
      29d9f30d
  11. 31 Mar, 2020 7 commits
    • Linus Torvalds's avatar
      Merge tag 'ntb-5.7' of git://github.com/jonmason/ntb · 56a451b7
      Linus Torvalds authored
      Pull NTB updates from Jon Mason:
       "Bug fixes for a few printing issues, link status detection bug on AMD
        hardware, and a DMA address issue with ntb_perf.
      
        Also, large series of AMD NTB patches"
      
      * tag 'ntb-5.7' of git://github.com/jonmason/ntb: (21 commits)
        NTB: add pci shutdown handler for AMD NTB
        NTB: send DB event when driver is loaded or un-loaded
        NTB: remove redundant setting of DB valid mask
        NTB: return link up status correctly for PRI and SEC
        NTB: add helper functions to set and clear sideinfo
        NTB: move ntb_ctrl handling to init and deinit
        NTB: handle link up, D0 and D3 events correctly
        NTB: handle link down event correctly
        NTB: remove handling of peer_sta from amd_link_is_up
        NTB: set peer_sta within event handler itself
        NTB: return the side info status from amd_poll_link
        NTB: define a new function to get link status
        NTB: Enable link up and down event notification
        NTB: clear interrupt status register
        NTB: Fix access to link status and control register
        MAINTAINERS: update maintainer list for AMD NTB driver
        NTB: ntb_transport: Use scnprintf() for avoiding potential buffer overflow
        ntb_hw_switchtec: Fix ntb_mw_clear_trans error if size == 0
        ntb_tool: Fix printk format
        NTB: ntb_perf: Fix address err in perf_copy_chunk
        ...
      56a451b7
    • Linus Torvalds's avatar
      Merge tag 'platform-drivers-x86-v5.7-1' of git://git.infradead.org/linux-platform-drivers-x86 · dba43fc4
      Linus Torvalds authored
      Pull x86 platform driver updates from Andy Shevchenko:
      
       - Fix for improper handling of fan_boost_mode in sysfs for ASUS
         laptops.
      
       - On newer ASUS laptops the 1st battery is named differently, here is a
         fix.
      
       - Fix Lex 2I385SW to allow both network cards to be used.
      
       - The power integrated circuit driver for Surface 3 has been added.
      
       - Refactor and clean up of Intel PMC driver and enable it on Intel
         Jasper Lake.
      
       - Clean up of Dell RBU driver.
      
       - Big update for Intel Speed Select technology support tool and driver.
      
      * tag 'platform-drivers-x86-v5.7-1' of git://git.infradead.org/linux-platform-drivers-x86: (75 commits)
        platform/x86: surface3_power: Fix always true condition in mshw0011_space_handler()
        platform/x86: surface3_power: Fix Kconfig section ordering
        platform/x86: surface3_power: Add missed headers
        platform/x86: surface3_power: Reformat GUID assignment
        platform/x86: surface3_power: Drop useless macro ACPI_PTR()
        platform/x86: surface3_power: Prefix POLL_INTERVAL with SURFACE_3
        platform/x86: surface3_power: Simplify mshw0011_adp_psr() to one liner
        platform/x86: surface3_power: Use dev_err() instead of pr_err()
        platform/x86: surface3_power: Drop unused structure definition
        platform/x86: surface3_power: MSHW0011 rev-eng implementation
        platform/x86: intel_pmc_core: Make pmc_core_substate_res_show() generic
        platform/x86: intel_pmc_core: Make pmc_core_lpm_display() generic for platforms that support sub-states
        tools/power/x86/intel-speed-select: Fix a typo in error message
        tools/power/x86/intel-speed-select: Update version
        tools/power/x86/intel-speed-select: Avoid duplicate Package strings for json
        tools/power/x86/intel-speed-select: Add display for enabled cpus count
        tools/power/x86/intel-speed-select: Print friendly warning for bad command line
        tools/power/x86/intel-speed-select: Fix avx options for turbo-freq feature
        tools/power/x86/intel-speed-select: Improve CLX commands
        tools/power/x86/intel-speed-select: Show error for invalid CPUs in the options
        ...
      dba43fc4
    • Linus Torvalds's avatar
      Merge tag 'tty-5.7-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/tty · 1f944f97
      Linus Torvalds authored
      Pull tty/serial updates from Greg KH:
       "Here is the big set of TTY / Serial patches for 5.7-rc1
      
        Lots of console fixups and reworking in here, serial core tweaks
        (doesn't that ever get old, why are we still creating new serial
        devices?), serial driver updates, line-protocol driver updates, and
        some vt cleanups and fixes included in here as well.
      
        All have been in linux-next with no reported issues"
      
      * tag 'tty-5.7-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/tty: (161 commits)
        serial: 8250: Optimize irq enable after console write
        serial: 8250: Fix rs485 delay after console write
        vt: vt_ioctl: fix use-after-free in vt_in_use()
        vt: vt_ioctl: fix VT_DISALLOCATE freeing in-use virtual console
        tty: serial: make SERIAL_SPRD depend on COMMON_CLK
        tty: serial: fsl_lpuart: fix return value checking
        tty: serial: fsl_lpuart: move dma_request_chan()
        ARM: dts: tango4: Make /serial compatible with ns16550a
        ARM: dts: mmp*: Make the serial ports compatible with xscale-uart
        ARM: dts: mmp*: Fix serial port names
        ARM: dts: mmp2-brownstone: Don't redeclare phandle references
        ARM: dts: pxa*: Make the serial ports compatible with xscale-uart
        ARM: dts: pxa*: Fix serial port names
        ARM: dts: pxa*: Don't redeclare phandle references
        serial: omap: drop unused dt-bindings header
        serial: 8250: 8250_omap: Add DMA support for UARTs on K3 SoCs
        serial: 8250: 8250_omap: Work around errata causing spurious IRQs with DMA
        serial: 8250: 8250_omap: Extend driver data to pass FIFO trigger info
        serial: 8250: 8250_omap: Move locking out from __dma_rx_do_complete()
        serial: 8250: 8250_omap: Account for data in flight during DMA teardown
        ...
      1f944f97
    • Linus Torvalds's avatar
      Merge tag 'mmc-v5.7' of git://git.kernel.org/pub/scm/linux/kernel/git/ulfh/mmc · dfabb077
      Linus Torvalds authored
      Pull MMC updates from Ulf Hansson:
       "MMC core:
         - Add support for host software queue for (e)MMC/SD
         - Throttle polling rate for CMD6
         - Update CMD13 busy condition check for CMD6 commands
         - Improve busy detect polling for erase/trim/discard/HPI
         - Fixup support for HW busy detection for HPI commands
         - Re-work and improve support for eMMC sanitize commands
      
        MMC host:
         - mmci:
             * Add support for sdmmc variant revision 2.0
         - mmci_sdmmc:
             * Improve support for busyend detection
             * Fixup support for signal voltage switch
             * Add support for tuning with delay block
         - mtk-sd:
             * Fix another SDIO irq issue
         - sdhci:
             * Disable native card detect when GPIO based type exist
         - sdhci:
             * Add option to defer request completion
         - sdhci_am654:
             * Add support to set a tap value per speed mode
         - sdhci-esdhc-imx:
             * Add support for i.MX8MM based variant
             * Fixup support for standard tuning on i.MX8 usdhc
             * Optimize for strobe/clock dll settings
             * Fixup support for system and runtime suspend/resume
         - sdhci-iproc:
             * Update regulator/bus-voltage management for bcm2711
         - sdhci-msm:
             * Prevent clock gating with PWRSAVE_DLL on broken variants
             * Fix management of CQE during SDHCI reset
         - sdhci-of-arasan:
             * Add support for auto tuning on ZynqMP based platforms
         - sdhci-omap:
             * Add support for system suspend/resume
         - sdhci-sprd:
             * Add support for HW busy detection
             * Enable support host software queue
         - sdhci-tegra:
             * Add support for HW busy detection
         - tmio/renesas_sdhi:
             * Enforce retune after runtime suspend
         - renesas_sdhi:
             * Use manual tap correction for HS400 on some variants
             * Add support for manual correction of tap values for tunings"
      
      * tag 'mmc-v5.7' of git://git.kernel.org/pub/scm/linux/kernel/git/ulfh/mmc: (86 commits)
        mmc: cavium-octeon: remove nonsense variable coercion
        mmc: mediatek: fix SDIO irq issue
        mmc: mmci_sdmmc: Fix clear busyd0end irq flag
        dt-bindings: mmc: Fix node name in an example
        mmc: core: Re-work the code for eMMC sanitize
        mmc: sdhci: use FIELD_GET for preset value bit masks
        mmc: sdhci-of-at91: Display clock changes for debug purpose only
        mmc: sdhci: iproc: Add custom set_power() callback for bcm2711
        mmc: sdhci: am654: Use sdhci_set_power_and_voltage()
        mmc: sdhci: at91: Use sdhci_set_power_and_voltage()
        mmc: sdhci: milbeaut: Use sdhci_set_power_and_voltage()
        mmc: sdhci: arasan: Use sdhci_set_power_and_voltage()
        mmc: sdhci: Introduce sdhci_set_power_and_bus_voltage()
        mmc: vub300: Use scnprintf() for avoiding potential buffer overflow
        dt-bindings: mmc: synopsys-dw-mshc: fix clock-freq-min-max in example
        sdhci: tegra: Enable MMC_CAP_WAIT_WHILE_BUSY host capability
        sdhci: tegra: Implement Tegra specific set_timeout callback
        mmc: sdhci-omap: Add Support for Suspend/Resume
        mmc: renesas_sdhi: simplify execute_tuning
        mmc: renesas_sdhi: Use BITS_PER_LONG helper
        ...
      dfabb077
    • Linus Torvalds's avatar
      Merge tag 'kbuild-v5.7' of git://git.kernel.org/pub/scm/linux/kernel/git/masahiroy/linux-kbuild · 5b67fbfc
      Linus Torvalds authored
      Pull Kbuild updates from Masahiro Yamada:
       "Build system:
      
         - add CONFIG_UNUSED_KSYMS_WHITELIST, which will be useful to define a
           fixed set of export symbols for Generic Kernel Image (GKI)
      
         - allow to run 'make dt_binding_check' without .config
      
         - use full schema for checking DT examples in *.yaml files
      
         - make modpost fail for missing MODULE_IMPORT_NS(), which makes more
           sense because we know the produced modules are never loadable
      
         - Remove unused 'AS' variable
      
        Kconfig:
      
         - sanitize DEFCONFIG_LIST, and remove ARCH_DEFCONFIG from Kconfig
           files
      
         - relax the 'imply' behavior so that symbols implied by 'y' can
           become 'm'
      
         - make 'imply' obey 'depends on' in order to make 'imply' really weak
      
        Misc:
      
         - add documentation on building the kernel with Clang/LLVM
      
         - revive __HAVE_ARCH_STRLEN for 32bit sparc to use optimized strlen()
      
         - fix warning from deb-pkg builds when CONFIG_DEBUG_INFO=n
      
         - various script and Makefile cleanups"
      
      * tag 'kbuild-v5.7' of git://git.kernel.org/pub/scm/linux/kernel/git/masahiroy/linux-kbuild: (34 commits)
        Makefile: Update kselftest help information
        kbuild: deb-pkg: fix warning when CONFIG_DEBUG_INFO is unset
        kbuild: add outputmakefile to no-dot-config-targets
        kbuild: remove AS variable
        net: wan: wanxl: refactor the firmware rebuild rule
        net: wan: wanxl: use $(M68KCC) instead of $(M68KAS) for rebuilding firmware
        net: wan: wanxl: use allow to pass CROSS_COMPILE_M68k for rebuilding firmware
        kbuild: add comment about grouped target
        kbuild: add -Wall to KBUILD_HOSTCXXFLAGS
        kconfig: remove unused variable in qconf.cc
        sparc: revive __HAVE_ARCH_STRLEN for 32bit sparc
        kbuild: refactor Makefile.dtbinst more
        kbuild: compute the dtbs_install destination more simply
        Makefile: disallow data races on gcc-10 as well
        kconfig: make 'imply' obey the direct dependency
        kconfig: allow symbols implied by y to become m
        net: drop_monitor: use IS_REACHABLE() to guard net_dm_hw_report()
        modpost: return error if module is missing ns imports and MODULE_ALLOW_MISSING_NAMESPACE_IMPORTS=n
        modpost: rework and consolidate logging interface
        kbuild: allow to run dt_binding_check without kernel configuration
        ...
      5b67fbfc
    • Linus Torvalds's avatar
      Merge branch 'next-general' of... · a1629843
      Linus Torvalds authored
      Merge branch 'next-general' of git://git.kernel.org:/pub/scm/linux/kernel/git/jmorris/linux-security
      
      Pull security subsystem updates from James Morris:
       "Two minor updates for the core security subsystem:
      
         - kernel-doc warning fixes from Randy Dunlap
      
         - header cleanup from YueHaibing"
      
      * 'next-general' of git://git.kernel.org:/pub/scm/linux/kernel/git/jmorris/linux-security:
        security: remove duplicated include from security.h
        security: <linux/lsm_hooks.h>: fix all kernel-doc warnings
      a1629843
    • Linus Torvalds's avatar
      Merge tag 'selinux-pr-20200330' of git://git.kernel.org/pub/scm/linux/kernel/git/pcmoore/selinux · b3aa112d
      Linus Torvalds authored
      Pull SELinux updates from Paul Moore:
       "We've got twenty SELinux patches for the v5.7 merge window, the
        highlights are below:
      
         - Deprecate setting /sys/fs/selinux/checkreqprot to 1.
      
           This flag was originally created to deal with legacy userspace and
           the READ_IMPLIES_EXEC personality flag. We changed the default from
           1 to 0 back in Linux v4.4 and now we are taking the next step of
           deprecating it, at some point in the future we will take the final
           step of rejecting 1.
      
         - Allow kernfs symlinks to inherit the SELinux label of the parent
           directory. In order to preserve backwards compatibility this is
           protected by the genfs_seclabel_symlinks SELinux policy capability.
      
         - Optimize how we store filename transitions in the kernel, resulting
           in some significant improvements to policy load times.
      
         - Do a better job calculating our internal hash table sizes which
           resulted in additional policy load improvements and likely general
           SELinux performance improvements as well.
      
         - Remove the unused initial SIDs (labels) and improve how we handle
           initial SIDs.
      
         - Enable per-file labeling for the bpf filesystem.
      
         - Ensure that we properly label NFS v4.2 filesystems to avoid a
           temporary unlabeled condition.
      
         - Add some missing XFS quota command types to the SELinux quota
           access controls.
      
         - Fix a problem where we were not updating the seq_file position
           index correctly in selinuxfs.
      
         - We consolidate some duplicated code into helper functions.
      
         - A number of list to array conversions.
      
         - Update Stephen Smalley's email address in MAINTAINERS"
      
      * tag 'selinux-pr-20200330' of git://git.kernel.org/pub/scm/linux/kernel/git/pcmoore/selinux:
        selinux: clean up indentation issue with assignment statement
        NFS: Ensure security label is set for root inode
        MAINTAINERS: Update my email address
        selinux: avtab_init() and cond_policydb_init() return void
        selinux: clean up error path in policydb_init()
        selinux: remove unused initial SIDs and improve handling
        selinux: reduce the use of hard-coded hash sizes
        selinux: Add xfs quota command types
        selinux: optimize storage of filename transitions
        selinux: factor out loop body from filename_trans_read()
        security: selinux: allow per-file labeling for bpffs
        selinux: generalize evaluate_cond_node()
        selinux: convert cond_expr to array
        selinux: convert cond_av_list to array
        selinux: convert cond_list to array
        selinux: sel_avc_get_stat_idx should increase position index
        selinux: allow kernfs symlinks to inherit parent directory context
        selinux: simplify evaluate_cond_node()
        Documentation,selinux: deprecate setting checkreqprot to 1
        selinux: move status variables out of selinux_ss
      b3aa112d