1. 14 May, 2019 21 commits
  2. 13 May, 2019 2 commits
    • Linus Torvalds's avatar
      Merge tag 'iommu-updates-v5.2' of ssh://gitolite.kernel.org/pub/scm/linux/kernel/git/joro/iommu · a13f0655
      Linus Torvalds authored
      Pull IOMMU updates from Joerg Roedel:
      
       - ATS support for ARM-SMMU-v3.
      
       - AUX domain support in the IOMMU-API and the Intel VT-d driver. This
         adds support for multiple DMA address spaces per (PCI-)device. The
         use-case is to multiplex devices between host and KVM guests in a
         more flexible way than supported by SR-IOV.
      
       - the rest are smaller cleanups and fixes, two of which needed to be
         reverted after testing in linux-next.
      
      * tag 'iommu-updates-v5.2' of ssh://gitolite.kernel.org/pub/scm/linux/kernel/git/joro/iommu: (45 commits)
        Revert "iommu/amd: Flush not present cache in iommu_map_page"
        Revert "iommu/amd: Remove the leftover of bypass support"
        iommu/vt-d: Fix leak in intel_pasid_alloc_table on error path
        iommu/vt-d: Make kernel parameter igfx_off work with vIOMMU
        iommu/vt-d: Set intel_iommu_gfx_mapped correctly
        iommu/amd: Flush not present cache in iommu_map_page
        iommu/vt-d: Cleanup: no spaces at the start of a line
        iommu/vt-d: Don't request page request irq under dmar_global_lock
        iommu/vt-d: Use struct_size() helper
        iommu/mediatek: Fix leaked of_node references
        iommu/amd: Remove amd_iommu_pd_list
        iommu/arm-smmu: Log CBFRSYNRA register on context fault
        iommu/arm-smmu-v3: Don't disable SMMU in kdump kernel
        iommu/arm-smmu-v3: Disable tagged pointers
        iommu/arm-smmu-v3: Add support for PCI ATS
        iommu/arm-smmu-v3: Link domains and devices
        iommu/arm-smmu-v3: Add a master->domain pointer
        iommu/arm-smmu-v3: Store SteamIDs in master
        iommu/arm-smmu-v3: Rename arm_smmu_master_data to arm_smmu_master
        ACPI/IORT: Check ATS capability in root complex nodes
        ...
      a13f0655
    • Linus Torvalds's avatar
      Merge tag 'linux-watchdog-5.2-rc1' of git://www.linux-watchdog.org/linux-watchdog · 55472bae
      Linus Torvalds authored
      Pull watchdog updates from Wim Van Sebroeck:
      
       - a new watchdog driver for the ROHM BD70528 watchdog block
      
       - a new watchdog driver for the i.MX system controller watchdog
      
       - conversions to use device managed functions and other improvements
      
       - refactor watchdog_init_timeout
      
       - make watchdog core configurable as module
      
       - pretimeout governors improvements
      
       - a lot of other fixes
      
      * tag 'linux-watchdog-5.2-rc1' of git://www.linux-watchdog.org/linux-watchdog: (114 commits)
        watchdog: Enforce that at least one pretimeout governor is enabled
        watchdog: stm32: add dynamic prescaler support
        watchdog: Improve Kconfig entry ordering and dependencies
        watchdog: npcm: Enable modular builds
        watchdog: Make watchdog core configurable as module
        watchdog: Move pretimeout governor configuration up
        watchdog: Use depends instead of select for pretimeout governors
        watchdog: rtd119x: drop unused module.h include
        watchdog: intel_scu: make it explicitly non-modular
        watchdog: coh901327: make it explicitly non-modular
        watchdog: ziirave_wdt: drop warning after calling watchdog_init_timeout
        watchdog: xen_wdt: drop warning after calling watchdog_init_timeout
        watchdog: stm32_iwdg: drop warning after calling watchdog_init_timeout
        watchdog: st_lpc_wdt: drop warning after calling watchdog_init_timeout
        watchdog: sp5100_tco: drop warning after calling watchdog_init_timeout
        watchdog: renesas_wdt: drop warning after calling watchdog_init_timeout
        watchdog: nic7018_wdt: drop warning after calling watchdog_init_timeout
        watchdog: ni903x_wdt: drop warning after calling watchdog_init_timeout
        watchdog: imx_sc_wdt: drop warning after calling watchdog_init_timeout
        watchdog: i6300esb: drop warning after calling watchdog_init_timeout
        ...
      55472bae
  3. 12 May, 2019 4 commits
    • Linus Torvalds's avatar
      Merge tag 'upstream-5.2-rc1' of ssh://gitolite.kernel.org/pub/scm/linux/kernel/git/rw/ubifs · d7a02fa0
      Linus Torvalds authored
      Pull UBI/UBIFS updates from Richard Weinberger:
      
       - fscrypt framework usage updates
      
       - One huge fix for xattr unlink
      
       - Cleanup of fscrypt ifdefs
      
       - Fix for our new UBIFS auth feature
      
      * tag 'upstream-5.2-rc1' of ssh://gitolite.kernel.org/pub/scm/linux/kernel/git/rw/ubifs:
        ubi: wl: Fix uninitialized variable
        ubifs: Drop unnecessary setting of zbr->znode
        ubifs: Remove ifdefs around CONFIG_UBIFS_ATIME_SUPPORT
        ubifs: Remove #ifdef around CONFIG_FS_ENCRYPTION
        ubifs: Limit number of xattrs per inode
        ubifs: orphan: Handle xattrs like files
        ubifs: journal: Handle xattrs like files
        ubifs: find.c: replace swap function with built-in one
        ubifs: Do not skip hash checking in data nodes
        ubifs: work around high stack usage with clang
        ubifs: remove unused function __ubifs_shash_final
        ubifs: remove unnecessary #ifdef around fscrypt_ioctl_get_policy()
        ubifs: remove unnecessary calls to set up directory key
      d7a02fa0
    • Linus Torvalds's avatar
      Merge tag 'mtd/for-5.2' of ssh://gitolite.kernel.org/pub/scm/linux/kernel/git/mtd/linux · 4dbf09fe
      Linus Torvalds authored
      Pull MTD updates from Richard Weinberger:
       "MTD core changes:
         - New AFS partition parser
         - Update MAINTAINERS entry
         - Use of fall-throughs markers
      
        NAND core changes:
         - Support having the bad block markers in either the first, second or
           last page of a block. The combination of all three location is now
           possible.
         - Constification of NAND_OP_PARSER(_PATTERN) elements.
         - Generic NAND DT bindings changed to yaml format (can be used to
           check the proposed bindings. First platform to be fully supported:
           sunxi.
         - Stopped using several legacy hooks.
         - Preparation to use the generic NAND layer with the addition of
           several helpers and the removal of the struct nand_chip from
           generic functions.
         - Kconfig cleanup to prepare the introduction of external ECC engines
           support.
         - Fallthrough comments.
         - Introduction of the SPI-mem dirmap API for SPI-NAND devices.
      
        Raw NAND controller drivers changes:
         - nandsim:
            - Switch to ->exec-op().
         - meson:
            - Misc cleanups and fixes.
            - New OOB layout.
         - Sunxi:
            - A23/A33 NAND DMA support.
         - Ingenic:
            - Full reorganization and cleanup.
            - Clear separation between NAND controller and ECC engine.
            - Support JZ4740 an JZ4725B.
         - Denali:
            - Clear controller/chip separation.
            - ->exec_op() migration.
            - Various cleanups.
         - fsl_elbc:
            - Enable software ECC support.
         - Atmel:
            - Sam9x60 support.
         - GPMI:
            - Introduce the GPMI_IS_MXS() macro.
         - Various trivial/spelling/coding style fixes.
      
        SPI NOR core changes:
         - Print all JEDEC ID bytes on error
         - Fix comment of spi_nor_find_best_erase_type()
         - Add region locking flags for s25fl512s
      
        SPI NOR controller drivers changes:
         - intel-spi:
            - Avoid crossing 4K address boundary on read/write
            - Add support for Intel Comet Lake SPI serial flash"
      
      * tag 'mtd/for-5.2' of ssh://gitolite.kernel.org/pub/scm/linux/kernel/git/mtd/linux: (120 commits)
        mtd: part: fix incorrect format specifier for an unsigned long long
        mtd: lpddr_cmds: Mark expected switch fall-through
        mtd: phram: Mark expected switch fall-throughs
        mtd: cfi_cmdset_0002: Mark expected switch fall-throughs
        mtd: cfi_util: mark expected switch fall-throughs
        MAINTAINERS: MTD Git repository is hosted on kernel.org
        MAINTAINERS: Update jffs2 entry
        mtd: afs: add v2 partition parsing
        mtd: afs: factor the IIS read into partition parser
        mtd: afs: factor footer parsing into the v1 part parsing
        mtd: factor out v1 partition parsing
        mtd: afs: simplify partition detection
        mtd: afs: simplify partition parsing
        mtd: partitions: Add OF support to AFS partitions
        mtd: partitions: Add AFS partitions DT bindings
        mtd: afs: Move AFS partition parser to parsers subdir
        mtd: maps: Make uclinux_ram_map static
        mtd: maps: Allow MTD_PHYSMAP with MTD_RAM
        MAINTAINERS: Add myself as MTD maintainer
        MAINTAINERS: Remove my name from the MTD and NAND entries
        ...
      4dbf09fe
    • Linus Torvalds's avatar
      Merge tag 'for-linus-5.2-rc1' of ssh://gitolite.kernel.org/pub/scm/linux/kernel/git/rw/uml · 983dfa4b
      Linus Torvalds authored
      Pull UML updates from Richard Weinberger:
      
       - Kconfig cleanups
      
       - Fix cpu_all_mask() usage
      
       - Various bug fixes
      
      * tag 'for-linus-5.2-rc1' of ssh://gitolite.kernel.org/pub/scm/linux/kernel/git/rw/uml:
        um: irq: don't set the chip for all irqs
        um: define set_pte_at() as a static inline function, not a macro
        um: remove uses of variable length arrays
        um: remove unused variable
        uml: fix a boot splat wrt use of cpu_all_mask
        um: Do not unlock mutex that is not hold.
        hostfs: fix mismatch between link_file definition and declaration
        arch: um: drivers: Kconfig: pedantic formatting
        arch: um: Kconfig: pedantic indention cleanups
        um: Revert to using stack for pt_regs in signal handling
      983dfa4b
    • Linus Torvalds's avatar
      Merge tag 'tag-chrome-platform-for-v5.2' of... · 47782361
      Linus Torvalds authored
      Merge tag 'tag-chrome-platform-for-v5.2' of ssh://gitolite.kernel.org/pub/scm/linux/kernel/git/chrome-platform/linux
      
      Pull chrome platform updates from Benson Leung:
       "CrOS EC:
         - Add EC host command support using rpmsg
         - Add new CrOS USB PD logging driver
         - Transfer spi messages at high priority
         - Add support to trace CrOS EC commands
         - Minor fixes and cleanups in protocol and debugfs
      
        Wilco EC:
         - Standardize Wilco EC mailbox interface
         - Add h1_gpio status to debugfs"
      
      * tag 'tag-chrome-platform-for-v5.2' of ssh://gitolite.kernel.org/pub/scm/linux/kernel/git/chrome-platform/linux:
        platform/chrome: cros_ec_proto: Add trace event to trace EC commands
        platform/chrome: cros_ec_debugfs: Use cros_ec_cmd_xfer_status helper
        platform/chrome: cros_ec: Add EC host command support using rpmsg
        platform/chrome: wilco_ec: Add h1_gpio status to debugfs
        platform/chrome: wilco_ec: Standardize mailbox interface
        platform/chrome: cros_ec_proto: check for NULL transfer function
        platform/chrome: Add CrOS USB PD logging driver
        platform/chrome: cros_ec_spi: Transfer messages at high priority
        platform/chrome: cros_ec_debugfs: no need to check return value of debugfs_create functions
        platform/chrome: cros_ec_debugfs: Remove dev_warn when console log is not supported
      47782361
  4. 11 May, 2019 4 commits
    • Linus Torvalds's avatar
      Merge tag 'gpio-v5.2-1' of git://git.kernel.org/pub/scm/linux/kernel/git/linusw/linux-gpio · 8148c17b
      Linus Torvalds authored
      Pull gpio updates from Linus Walleij:
       "This is the bulk of the GPIO changes for the v5.2 kernel cycle. A bit
        later than usual because I was ironing out my own mistakes. I'm
        holding some stuff back for the next kernel as a result, and this
        should be a healthy and well tested batch.
      
        Core changes:
      
         - The gpiolib MMIO driver has been enhanced to handle two direction
           registers, i.e. one register to set lines as input and one register
           to set lines as output. It turns out some silicon engineer thinks
           the ability to configure a line as input and output at the same
           time makes sense, this can be debated but includes a lot of analog
           electronics reasoning, and the registers are there and need to be
           handled consistently. Unsurprisingly, we enforce the lines to be
           either inputs or outputs in such schemes.
      
         - Send in the proper argument value to .set_config() dispatched to
           the pin control subsystem. Nobody used it before, now someone does,
           so fix it to work as expected.
      
         - The ACPI gpiolib portions can now handle pin bias setting (pull up
           or pull down). This has been in the ACPI spec for years and we
           finally have it properly integrated with Linux GPIOs. It was based
           on an observation from Andy Schevchenko that Thomas Petazzoni's
           changes to the core for biasing the PCA950x GPIO expander actually
           happen to fit hand-in-glove with what the ACPI core needed. Such
           nice synergies happen sometimes.
      
        New drivers:
      
         - A new driver for the Mellanox BlueField GPIO controller. This is
           using 64bit MMIO registers and can configure lines as inputs and
           outputs at the same time and after improving the MMIO library we
           handle it just fine. Interesting.
      
         - A new IXP4xx proper gpiochip driver with hierarchical interrupts
           should be coming in from the ARM SoC tree as well.
      
        Driver enhancements:
      
         - The PCA053x driver handles the CAT9554 GPIO expander.
      
         - The PCA053x driver handles the NXP PCAL6416 GPIO expander.
      
         - Wake-up support on PCA053x GPIO lines.
      
         - OMAP now does a nice asynchronous IRQ handling on wake-ups by
           letting everything wake up on edges, and this makes runtime PM work
           as expected too.
      
        Misc:
      
         - Several cleanups such as devres fixes.
      
         - Get rid of some languager comstructs that cause problems when
           compiling with LLVMs clang.
      
         - Documentation review and update"
      
      * tag 'gpio-v5.2-1' of git://git.kernel.org/pub/scm/linux/kernel/git/linusw/linux-gpio: (85 commits)
        gpio: Update documentation
        docs: gpio: convert docs to ReST and rename to *.rst
        gpio: sch: Remove write-only core_base
        gpio: pxa: Make two symbols static
        gpiolib: acpi: Respect pin bias setting
        gpiolib: acpi: Add acpi_gpio_update_gpiod_lookup_flags() helper
        gpiolib: acpi: Set pin value, based on bias, more accurately
        gpiolib: acpi: Change type of dflags
        gpiolib: Introduce GPIO_LOOKUP_FLAGS_DEFAULT
        gpiolib: Make use of enum gpio_lookup_flags consistent
        gpiolib: Indent entry values of enum gpio_lookup_flags
        gpio: pca953x: add support for pca6416
        dt-bindings: gpio: pca953x: document the nxp,pca6416
        gpio: pca953x: add pcal6416 to the of_device_id table
        gpio: gpio-omap: Remove conditional pm_runtime handling for GPIO interrupts
        gpio: gpio-omap: configure edge detection for level IRQs for idle wakeup
        tracing: stop making gpio tracing configurable
        gpio: pca953x: Configure wake-up path when wake-up is enabled
        gpio: of: Optimize quirk checks
        gpio: mmio: Drop bgpio_dir_inverted
        ...
      8148c17b
    • Linus Torvalds's avatar
      Merge tag 'vfio-v5.2-rc1' of git://github.com/awilliam/linux-vfio · 6fe567df
      Linus Torvalds authored
      Pull VFIO updates from Alex Williamson:
      
       - Improve dev_printk() usage (Bjorn Helgaas)
      
       - Fix issue with blocking in !TASK_RUNNING state while waiting for
         userspace to release devices (Farhan Ali)
      
       - Fix error path cleanup in nvlink setup (Greg Kurz)
      
       - mdev-core cleanups and fixes in preparation for more use cases (Parav
         Pandit)
      
       - Cornelia has volunteered as an official vfio reviewer (Cornelia Huck)
      
      * tag 'vfio-v5.2-rc1' of git://github.com/awilliam/linux-vfio:
        vfio: Add Cornelia Huck as reviewer
        vfio/mdev: Avoid inline get and put parent helpers
        vfio/mdev: Fix aborting mdev child device removal if one fails
        vfio/mdev: Follow correct remove sequence
        vfio/mdev: Avoid masking error code to EBUSY
        vfio/mdev: Drop redundant extern for exported symbols
        vfio/mdev: Removed unused kref
        vfio/mdev: Avoid release parent reference during error path
        vfio-pci/nvlink2: Fix potential VMA leak
        vfio: Fix WARNING "do not call blocking ops when !TASK_RUNNING"
        vfio: Use dev_printk() when possible
      6fe567df
    • Linus Torvalds's avatar
      Merge branch 'next-tomoyo2' of git://git.kernel.org/pub/scm/linux/kernel/git/jmorris/linux-security · c367dc8d
      Linus Torvalds authored
      Pull tomoyo updates from James Morris:
       "Fixes to enable fuzz testing, and a fix for calculating whether a
        filesystem is user-modifiable"
      
      * 'next-tomoyo2' of git://git.kernel.org/pub/scm/linux/kernel/git/jmorris/linux-security:
        tomoyo: Don't emit WARNING: string while fuzzing testing.
        tomoyo: Change pathname calculation for read-only filesystems.
        tomoyo: Check address length before reading address family
        tomoyo: Add a kernel config option for fuzzing testing.
      c367dc8d
    • Linus Torvalds's avatar
      Merge tag 'xtensa-20190510' of git://github.com/jcmvbkbc/linux-xtensa · 7a557521
      Linus Torvalds authored
      Pull xtensa updates from Max Filippov:
      
       - implement atomic operations using exclusive access Xtensa option
         operations
      
       - add support for Xtensa cores with memory protection unit (MPU)
      
       - clean up xtensa-specific kernel-only headers
      
       - fix error path in simdisk_setup
      
      * tag 'xtensa-20190510' of git://github.com/jcmvbkbc/linux-xtensa:
        xtensa: implement initialize_cacheattr for MPU cores
        xtensa: add exclusive atomics support
        xtensa: clean up inline assembly in futex.h
        xtensa: replace variant/core.h with asm/core.h
        xtensa: drop ifdef __KERNEL__ from kernel-only headers
        xtensa: set proper error code for simdisk_setup()
        xtensa: fix incorrect fd close in error case of simdisk_setup()
      7a557521
  5. 10 May, 2019 9 commits
    • Tetsuo Handa's avatar
      tomoyo: Don't emit WARNING: string while fuzzing testing. · 4ad98ac4
      Tetsuo Handa authored
      Commit cff0e6c3ec3e6230 ("tomoyo: Add a kernel config option for fuzzing
      testing.") enabled the learning mode, but syzkaller is detecting any
      "WARNING:" string as a crash. Thus, disable TOMOYO's quota warning if
      built for fuzzing testing.
      Signed-off-by: default avatarTetsuo Handa <penguin-kernel@I-love.SAKURA.ne.jp>
      Cc: Dmitry Vyukov <dvyukov@google.com>
      Signed-off-by: default avatarJames Morris <jamorris@linux.microsoft.com>
      4ad98ac4
    • Tetsuo Handa's avatar
      tomoyo: Change pathname calculation for read-only filesystems. · 27df4b4a
      Tetsuo Handa authored
      Commit 5625f2e3 ("TOMOYO: Change pathname for non-rename()able
      filesystems.") intended to be applied to filesystems where the content is
      not controllable from the userspace (e.g. proc, sysfs, securityfs), based
      on an assumption that such filesystems do not support rename() operation.
      
      But it turned out that read-only filesystems also do not support rename()
      operation despite the content is controllable from the userspace, and that
      commit is annoying TOMOYO users who want to use e.g. squashfs as the root
      filesystem due to use of local name which does not start with '/'.
      
      Therefore, based on an assumption that filesystems which require the
      device argument upon mount() request is an indication that the content
      is controllable from the userspace, do not use local name if a filesystem
      does not support rename() operation but requires the device argument upon
      mount() request.
      Signed-off-by: default avatarTetsuo Handa <penguin-kernel@I-love.SAKURA.ne.jp>
      Signed-off-by: default avatarJames Morris <jamorris@linux.microsoft.com>
      27df4b4a
    • Tetsuo Handa's avatar
      tomoyo: Check address length before reading address family · e6193f78
      Tetsuo Handa authored
      KMSAN will complain if valid address length passed to bind()/connect()/
      sendmsg() is shorter than sizeof("struct sockaddr"->sa_family) bytes.
      Signed-off-by: default avatarTetsuo Handa <penguin-kernel@I-love.SAKURA.ne.jp>
      Signed-off-by: default avatarJames Morris <jamorris@linux.microsoft.com>
      e6193f78
    • Tetsuo Handa's avatar
      tomoyo: Add a kernel config option for fuzzing testing. · e80b1859
      Tetsuo Handa authored
      syzbot is reporting kernel panic triggered by memory allocation fault
      injection before loading TOMOYO's policy [1]. To make the fuzzing tests
      useful, we need to assign a profile other than "disabled" (no-op) mode.
      Therefore, let's allow syzbot to load TOMOYO's built-in policy for
      "learning" mode using a kernel config option. This option must not be
      enabled for kernels built for production system, for this option also
      disables domain/program checks when modifying policy configuration via
      /sys/kernel/security/tomoyo/ interface.
      
      [1] https://syzkaller.appspot.com/bug?extid=29569ed06425fcf67a95Reported-by: default avatarsyzbot <syzbot+e1b8084e532b6ee7afab@syzkaller.appspotmail.com>
      Reported-by: default avatarsyzbot <syzbot+29569ed06425fcf67a95@syzkaller.appspotmail.com>
      Reported-by: default avatarsyzbot <syzbot+2ee3f8974c2e7dc69feb@syzkaller.appspotmail.com>
      Signed-off-by: default avatarTetsuo Handa <penguin-kernel@I-love.SAKURA.ne.jp>
      Signed-off-by: default avatarJames Morris <jamorris@linux.microsoft.com>
      e80b1859
    • Linus Torvalds's avatar
      Merge tag 'docs-5.2a' of git://git.lwn.net/linux · 1fb3b526
      Linus Torvalds authored
      Pull more documentation updates from Jonathan Corbet:
       "Some late arriving documentation changes. In particular, this contains
        the conversion of the x86 docs to RST, which has been in the works for
        some time but needed a couple of final tweaks"
      
      * tag 'docs-5.2a' of git://git.lwn.net/linux: (29 commits)
        Documentation: x86: convert x86_64/machinecheck to reST
        Documentation: x86: convert x86_64/cpu-hotplug-spec to reST
        Documentation: x86: convert x86_64/fake-numa-for-cpusets to reST
        Documentation: x86: convert x86_64/5level-paging.txt to reST
        Documentation: x86: convert x86_64/mm.txt to reST
        Documentation: x86: convert x86_64/uefi.txt to reST
        Documentation: x86: convert x86_64/boot-options.txt to reST
        Documentation: x86: convert i386/IO-APIC.txt to reST
        Documentation: x86: convert usb-legacy-support.txt to reST
        Documentation: x86: convert orc-unwinder.txt to reST
        Documentation: x86: convert resctrl_ui.txt to reST
        Documentation: x86: convert microcode.txt to reST
        Documentation: x86: convert pti.txt to reST
        Documentation: x86: convert amd-memory-encryption.txt to reST
        Documentation: x86: convert intel_mpx.txt to reST
        Documentation: x86: convert protection-keys.txt to reST
        Documentation: x86: convert pat.txt to reST
        Documentation: x86: convert mtrr.txt to reST
        Documentation: x86: convert tlb.txt to reST
        Documentation: x86: convert zero-page.txt to reST
        ...
      1fb3b526
    • Linus Torvalds's avatar
      Merge tag 'printk-for-5.2-fixes' of... · e290e6af
      Linus Torvalds authored
      Merge tag 'printk-for-5.2-fixes' of ssh://gitolite.kernel.org/pub/scm/linux/kernel/git/pmladek/printk
      
      Pull printk fixup from Petr Mladek:
       "Replace the problematic probe_kernel_read() with original simple
        pointer checks in vsprintf()"
      
      * tag 'printk-for-5.2-fixes' of ssh://gitolite.kernel.org/pub/scm/linux/kernel/git/pmladek/printk:
        vsprintf: Do not break early boot with probing addresses
      e290e6af
    • Linus Torvalds's avatar
      Merge tag 'pidfd-fixes-v5.2-rc1' of gitolite.kernel.org:pub/scm/linux/kernel/git/brauner/linux · 3232b43f
      Linus Torvalds authored
      Pull pidfd fixes from Christian Brauner:
       "This fixes two bugs:
      
         - The first one reported by Linus whereby the pidfd-metadata binary
           was not placed in a .gitignore file.
      
         - The second one is rather urgent and fixes a locking issue found by
           syzkaller.
      
           What happened is that during process creation we need to check
           whether the cgroup we are in allows us to fork. To perform this
           check the cgroup needs to guard itself against threadgroup changes
           and takes a lock.
      
           Prior to CLONE_PIDFD the cleanup target "bad_fork_free_pid" would
           also need to release said lock. That's not true anymore since
           CLONE_PIDFD so this is fixed here.
      
           Syzkaller has tested the patch and was not able to reproduce the
           issue"
      
      * tag 'pidfd-fixes-v5.2-rc1' of gitolite.kernel.org:pub/scm/linux/kernel/git/brauner/linux:
        fork: do not release lock that wasn't taken
        samples: add .gitignore for pidfd-metadata
      3232b43f
    • Linus Torvalds's avatar
      Merge tag 'platform-drivers-x86-v5.2-1' of git://git.infradead.org/linux-platform-drivers-x86 · 7817ffd2
      Linus Torvalds authored
      Pull x86 platform driver updates from Andy Shevchenko:
       "Gathered pile of patches for Platform Drivers x86. No surprises and no
        merge conflicts. Business as usual.
      
        Summary:
      
         - New driver of power button for Basin Cove PMIC.
      
         - ASUS WMI driver has got a Fn lock mode switch support.
      
         - Resolve a never end story with non working Wi-Fi on newer Lenovo
           Ideapad computers. Now the black list is replaced with white list.
      
         - New facility to debug S0ix failures on Intel Atom platforms. The
           Intel PMC and accompanying drivers are cleaned up.
      
         - Mellanox got a new TmFifo driver. Besides tachometer sensor and
           watchdog are enabled on Mellanox platforms.
      
         - The information of embedded controller is now recognized on new
           Thinkpads. Bluetooth driver on Thinkpads is blacklisted for some
           models.
      
         - Touchscreen DMI driver extended to support 'jumper ezpad 6 pro b'
           and Myria MY8307 2-in-1.
      
         - Additionally few small fixes here and there for WMI and ACPI laptop
           drivers.
      
         - The following is an automated git shortlog grouped by driver:
      
         - alienware-wmi:
            - printing the wrong error code
            - fix kfree on potentially uninitialized pointer
      
         - asus-wmi:
            - Add fn-lock mode switch support
      
         - dell-laptop:
            - fix rfkill functionality
      
         - dell-rbtn:
            - Add missing #include
      
         - ideapad-laptop:
            - Remove no_hw_rfkill_list
      
         - intel_pmc_core:
            - Allow to dump debug registers on S0ix failure
            - Convert to a platform_driver
            - Mark local function static
      
         - intel_pmc_ipc:
            - Don't map non-used optional resources
            - Apply same width for offset definitions
            - Use BIT() macro
            - adding error handling
      
         - intel_punit_ipc:
            - Revert "Fix resource ioremap warning"
      
         - mlx-platform:
            - Add mlx-wdt platform driver activation
            - Add support for tachometer speed register
            - Add TmFifo driver for Mellanox BlueField Soc
      
         - sony-laptop:
            - Fix unintentional fall-through
      
         - thinkpad_acpi:
            - cleanup for Thinkpad ACPI led
            - Mark expected switch fall-throughs
            - fix spelling mistake "capabilites" -> "capabilities"
            - Read EC information on newer models
            - Disable Bluetooth for some machines
      
         - touchscreen_dmi:
            - Add info for 'jumper ezpad 6 pro b' touchscreen
            - Add info for Myria MY8307 2-in-1"
      
      * tag 'platform-drivers-x86-v5.2-1' of git://git.infradead.org/linux-platform-drivers-x86: (26 commits)
        platform/x86: Add support for Basin Cove power button
        platform/x86: asus-wmi: Add fn-lock mode switch support
        platform/x86: ideapad-laptop: Remove no_hw_rfkill_list
        platform/x86: touchscreen_dmi: Add info for 'jumper ezpad 6 pro b' touchscreen
        platform/x86: thinkpad_acpi: cleanup for Thinkpad ACPI led
        platform/x86: thinkpad_acpi: Mark expected switch fall-throughs
        platform/x86: sony-laptop: Fix unintentional fall-through
        platform/x86: alienware-wmi: printing the wrong error code
        platform/x86: intel_pmc_core: Allow to dump debug registers on S0ix failure
        platform/x86: intel_pmc_core: Convert to a platform_driver
        platform/x86: mlx-platform: Add mlx-wdt platform driver activation
        platform/x86: mlx-platform: Add support for tachometer speed register
        platform/mellanox: Add TmFifo driver for Mellanox BlueField Soc
        platform/x86: thinkpad_acpi: fix spelling mistake "capabilites" -> "capabilities"
        platform/x86: intel_punit_ipc: Revert "Fix resource ioremap warning"
        platform/x86: intel_pmc_ipc: Don't map non-used optional resources
        platform/x86: intel_pmc_ipc: Apply same width for offset definitions
        platform/x86: intel_pmc_ipc: Use BIT() macro
        platform/x86: alienware-wmi: fix kfree on potentially uninitialized pointer
        platform/x86: dell-laptop: fix rfkill functionality
        ...
      7817ffd2
    • Linus Torvalds's avatar
      Merge tag 'fbdev-v5.2' of git://github.com/bzolnier/linux · cccd559e
      Linus Torvalds authored
      Pull fbdev updates from Bartlomiej Zolnierkiewicz:
       "Four small fixes for fb core, updates for udlfb, sm712fb, macfb and
        atafb drivers. Redundant code removals from amba-clcd and atmel_lcdfb
        drivers. Minor fixes/cleanups for other fb drivers
      
        Detailed summary:
      
         - fix regression in fbcon logo handling on 'quiet' boots (Andreas
           Schwab)
      
         - fix divide-by-zero error in fb_var_to_videomode() (Shile Zhang)
      
         - fix 'WARNING in __alloc_pages_nodemask' bug (Jiufei Xue)
      
         - list all PCI memory BARs as conflicting apertures (Gerd Hoffmann)
      
         - update udlfb driver: fix sleeping inside spinlock, add mutex around
           rendering calls and remove redundant code (Mikulas Patocka)
      
         - update sm712fb driver: fix SM720 support related issues (Yifeng Li)
      
         - update macfb driver: fix DAFB colour table pointer initialization
           and remove redundant code (Finn Thain)
      
         - update atafb driver: fix kexec support, use dev_*() calls instead
           of printk() and remove obsolete module support (Geert Uytterhoeven)
      
         - add support to mxsfb driver for skipping display initialization for
           flicker-free display takeover from bootloader (Melchior Franz)
      
         - remove Versatile and Nomadik board families support from amba-clcd
           driver as they are handled by DRM driver nowadays (Linus Walleij)
      
         - remove no longer needed AVR and platform_data support from
           atmel_lcdfb driver (Alexandre Belloni)
      
         - misc fixes (Colin Ian King, Julia Lawall, Gustavo A. R. Silva,
           Aditya Pakki, Kangjie Lu, YueHaibing)
      
         - misc cleanups (Enrico Weigelt, Kefeng Wang)"
      
      * tag 'fbdev-v5.2' of git://github.com/bzolnier/linux: (38 commits)
        video: fbdev: Use dev_get_drvdata()
        fbcon: Don't reset logo_shown when logo is currently shown
        video: fbdev: atmel_lcdfb: remove set but not used variable 'pdata'
        video: fbdev: mxsfb: remove set but not used variable 'line_count'
        video: fbdev: pvr2fb: remove set but not used variable 'size'
        fbdev: fix WARNING in __alloc_pages_nodemask bug
        video: amba-clcd: Decomission Versatile and Nomadik
        fbdev: sm712fb: fix memory frequency by avoiding a switch/case fallthrough
        fbdev: fix divide error in fb_var_to_videomode
        fbdev: sm712fb: use 1024x768 by default on non-MIPS, fix garbled display
        fbdev: sm712fb: fix support for 1024x768-16 mode
        fbdev: sm712fb: fix crashes and garbled display during DPMS modesetting
        fbdev: sm712fb: fix crashes during framebuffer writes by correctly mapping VRAM
        fbdev: sm712fb: fix boot screen glitch when sm712fb replaces VGA
        fbdev: sm712fb: fix VRAM detection, don't set SR70/71/74/75
        fbdev: sm712fb: fix brightness control on reboot, don't set SR30
        fbdev: sm712fb: fix white screen of death on reboot, don't set CR3B-CR3F
        video: imsttfb: fix potential NULL pointer dereferences
        video: hgafb: fix potential NULL pointer dereference
        fbdev: list all pci memory bars as conflicting apertures
        ...
      cccd559e