1. 08 Dec, 2019 19 commits
  2. 03 Dec, 2019 21 commits
    • Linus Torvalds's avatar
      Merge tag 'tag-chrome-platform-for-v5.5' of... · 63de3747
      Linus Torvalds authored
      Merge tag 'tag-chrome-platform-for-v5.5' of git://git.kernel.org/pub/scm/linux/kernel/git/chrome-platform/linux
      
      Pull chrome platform changes from Benson Leung:
       "CrOS EC / MFD / IIO:
      
         - Contains tag-ib-chrome-mfd-iio-input-5.5, which is the first part
           of a series from Gwendal to refactor sensor code between MFD, CrOS
           EC, iio and input in order to add a new sensorhub driver and FIFO
           processing
      
        Wilco EC:
      
         - Add support for Dell's USB PowerShare policy control, keyboard
           backlight LED driver, and a new test_event file.
      
         - Fixes use after free in wilco_ec's telemetry driver.
      
        Misc:
      
         - bugfix in cros_usbpd_logger (missing destroy workqueue)"
      
      * tag 'tag-chrome-platform-for-v5.5' of git://git.kernel.org/pub/scm/linux/kernel/git/chrome-platform/linux:
        platform/chrome: wilco_ec: fix use after free issue
        platform/chrome: cros_ec: Add Kconfig default for cros-ec-sensorhub
        Revert "Input: cros_ec_keyb: mask out extra flags in event_type"
        Revert "Input: cros_ec_keyb - add back missing mask for event_type"
        platform/chrome: cros_ec: handle MKBP more events flag
        platform/chrome: cros_ec: Do not attempt to register a non-positive IRQ number
        platform/chrome: cros-ec: Record event timestamp in the hard irq
        mfd / platform / iio: cros_ec: Register sensor through sensorhub
        iio / platform: cros_ec: Add cros-ec-sensorhub driver
        mfd / platform: cros_ec: Add sensor_count and make check_features public
        platform/chrome: cros_ec: Put docs with the code
        platform/chrome: cros_usbpd_logger: add missed destroy_workqueue in remove
        platform/chrome: cros_ec: Fix Kconfig indentation
        platform/chrome: wilco_ec: Add keyboard backlight LED support
        platform/chrome: wilco_ec: Add charging config driver
        platform/chrome: wilco_ec: Add Dell's USB PowerShare Policy control
        platform/chrome: wilco_ec: Add debugfs test_event file
      63de3747
    • Linus Torvalds's avatar
      Merge tag 'spdx-5.5-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/spdx · 388c645a
      Linus Torvalds authored
      Pull SPDX fix from Greg KH:
       "Here is a single SPDX fixup for 5.5-rc1
      
        It resolves an issue where we had missed a few .h files with the
        auto-tagging scripts because they had "GPL" text in strings within the
        file themselves. This single patch fixes up the issue and provides the
        proper SPDX tags at the top of them as needed.
      
        This patch has been in linux-next for many many weeks now with no
        reported issues"
      
      * tag 'spdx-5.5-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/spdx:
        export,module: add SPDX GPL-2.0 license identifier to headers with no license
      388c645a
    • Linus Torvalds's avatar
      Merge tag 'tty-5.5-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/tty · 537bd0a1
      Linus Torvalds authored
      Pull tty/serial updates from Greg KH:
       "Here is the "big" tty and serial driver patches for 5.5-rc1.
      
        It's a bit later in the merge window than normal as I wanted to make
        sure some last-minute patches applied to it were all sane. They seem
        to be :)
      
        There's a lot of little stuff in here, for the tty core, and for lots
        of serial drivers:
      
         - reverts of uartlite serial driver patches that were wrong
      
         - msm-serial driver fixes
      
         - serial core updates and fixes
      
         - tty core fixes
      
         - serial driver dma mapping api changes
      
         - lots of other tiny fixes and updates for serial drivers
      
        All of these have been in linux-next for a while with no reported
        issues"
      
      * tag 'tty-5.5-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/tty: (58 commits)
        Revert "serial/8250: Add support for NI-Serial PXI/PXIe+485 devices"
        vcs: prevent write access to vcsu devices
        tty: vt: keyboard: reject invalid keycodes
        tty: don't crash in tty_init_dev when missing tty_port
        serial: stm32: fix clearing interrupt error flags
        tty: Fix Kconfig indentation, continued
        serial: serial_core: Perform NULL checks for break_ctl ops
        tty: remove unused argument from tty_open_by_driver()
        tty: Fix Kconfig indentation
        {tty: serial, nand: onenand}: samsung: rename to fix build warning
        serial: ifx6x60: add missed pm_runtime_disable
        serial: pl011: Fix DMA ->flush_buffer()
        Revert "serial-uartlite: Move the uart register"
        Revert "serial-uartlite: Add get serial id if not provided"
        Revert "serial-uartlite: Do not use static struct uart_driver out of probe()"
        Revert "serial-uartlite: Add runtime support"
        Revert "serial-uartlite: Change logic how console_port is setup"
        Revert "serial-uartlite: Use allocated structure instead of static ones"
        tty: serial: msm_serial: Use dma_request_chan() directly for channel request
        tty: serial: tegra: Use dma_request_chan() directly for channel request
        ...
      537bd0a1
    • Linus Torvalds's avatar
      Merge tag 'pci-v5.5-changes' of git://git.kernel.org/pub/scm/linux/kernel/git/helgaas/pci · c3bed3b2
      Linus Torvalds authored
      Pull PCI updates from Bjorn Helgaas:
       "Enumeration:
      
         - Warn if a host bridge has no NUMA info (Yunsheng Lin)
      
         - Add PCI_STD_NUM_BARS for the number of standard BARs (Denis
           Efremov)
      
        Resource management:
      
         - Fix boot-time Embedded Controller GPE storm caused by incorrect
           resource assignment after ACPI Bus Check Notification (Mika
           Westerberg)
      
         - Protect pci_reassign_bridge_resources() against concurrent
           addition/removal (Benjamin Herrenschmidt)
      
         - Fix bridge dma_ranges resource list cleanup (Rob Herring)
      
         - Add "pci=hpmmiosize" and "pci=hpmmioprefsize" parameters to control
           the MMIO and prefetchable MMIO window sizes of hotplug bridges
           independently (Nicholas Johnson)
      
         - Fix MMIO/MMIO_PREF window assignment that assigned more space than
           desired (Nicholas Johnson)
      
         - Only enforce bus numbers from bridge EA if the bridge has EA
           devices downstream (Subbaraya Sundeep)
      
         - Consolidate DT "dma-ranges" parsing and convert all host drivers to
           use shared parsing (Rob Herring)
      
        Error reporting:
      
         - Restore AER capability after resume (Mayurkumar Patel)
      
         - Add PoisonTLPBlocked AER counter (Rajat Jain)
      
         - Use for_each_set_bit() to simplify AER code (Andy Shevchenko)
      
         - Fix AER kernel-doc (Andy Shevchenko)
      
         - Add "pcie_ports=dpc-native" parameter to allow native use of DPC
           even if platform didn't grant control over AER (Olof Johansson)
      
        Hotplug:
      
         - Avoid returning prematurely from sysfs requests to enable or
           disable a PCIe hotplug slot (Lukas Wunner)
      
         - Don't disable interrupts twice when suspending hotplug ports (Mika
           Westerberg)
      
         - Fix deadlocks when PCIe ports are hot-removed while suspended (Mika
           Westerberg)
      
        Power management:
      
         - Remove unnecessary ASPM locking (Bjorn Helgaas)
      
         - Add support for disabling L1 PM Substates (Heiner Kallweit)
      
         - Allow re-enabling Clock PM after it has been disabled (Heiner
           Kallweit)
      
         - Add sysfs attributes for controlling ASPM link states (Heiner
           Kallweit)
      
         - Remove CONFIG_PCIEASPM_DEBUG, including "link_state" and "clk_ctl"
           sysfs files (Heiner Kallweit)
      
         - Avoid AMD FCH XHCI USB PME# from D0 defect that prevents wakeup on
           USB 2.0 or 1.1 connect events (Kai-Heng Feng)
      
         - Move power state check out of pci_msi_supported() (Bjorn Helgaas)
      
         - Fix incorrect MSI-X masking on resume and revert related nvme quirk
           for Kingston NVME SSD running FW E8FK11.T (Jian-Hong Pan)
      
         - Always return devices to D0 when thawing to fix hibernation with
           drivers like mlx4 that used legacy power management (previously we
           only did it for drivers with new power management ops) (Dexuan Cui)
      
         - Clear PCIe PME Status even for legacy power management (Bjorn
           Helgaas)
      
         - Fix PCI PM documentation errors (Bjorn Helgaas)
      
         - Use dev_printk() for more power management messages (Bjorn Helgaas)
      
         - Apply D2 delay as milliseconds, not microseconds (Bjorn Helgaas)
      
         - Convert xen-platform from legacy to generic power management (Bjorn
           Helgaas)
      
         - Removed unused .resume_early() and .suspend_late() legacy power
           management hooks (Bjorn Helgaas)
      
         - Rearrange power management code for clarity (Rafael J. Wysocki)
      
         - Decode power states more clearly ("4" or "D4" really refers to
           "D3cold") (Bjorn Helgaas)
      
         - Notice when reading PM Control register returns an error (~0)
           instead of interpreting it as being in D3hot (Bjorn Helgaas)
      
         - Add missing link delays required by the PCIe spec (Mika Westerberg)
      
        Virtualization:
      
         - Move pci_prg_resp_pasid_required() to CONFIG_PCI_PRI (Bjorn
           Helgaas)
      
         - Allow VFs to use PRI (the PF PRI is shared by the VFs, but the code
           previously didn't recognize that) (Kuppuswamy Sathyanarayanan)
      
         - Allow VFs to use PASID (the PF PASID capability is shared by the
           VFs, but the code previously didn't recognize that) (Kuppuswamy
           Sathyanarayanan)
      
         - Disconnect PF and VF ATS enablement, since ATS in PFs and
           associated VFs can be enabled independently (Kuppuswamy
           Sathyanarayanan)
      
         - Cache PRI and PASID capability offsets (Kuppuswamy Sathyanarayanan)
      
         - Cache the PRI PRG Response PASID Required bit (Bjorn Helgaas)
      
         - Consolidate ATS declarations in linux/pci-ats.h (Krzysztof
           Wilczynski)
      
         - Remove unused PRI and PASID stubs (Bjorn Helgaas)
      
         - Removed unnecessary EXPORT_SYMBOL_GPL() from ATS, PRI, and PASID
           interfaces that are only used by built-in IOMMU drivers (Bjorn
           Helgaas)
      
         - Hide PRI and PASID state restoration functions used only inside the
           PCI core (Bjorn Helgaas)
      
         - Add a DMA alias quirk for the Intel VCA NTB (Slawomir Pawlowski)
      
         - Serialize sysfs sriov_numvfs reads vs writes (Pierre Crégut)
      
         - Update Cavium ACS quirk for ThunderX2 and ThunderX3 (George
           Cherian)
      
         - Fix the UPDCR register address in the Intel ACS quirk (Steffen
           Liebergeld)
      
         - Unify ACS quirk implementations (Bjorn Helgaas)
      
        Amlogic Meson host bridge driver:
      
         - Fix meson PERST# GPIO polarity problem (Remi Pommarel)
      
         - Add DT bindings for Amlogic Meson G12A (Neil Armstrong)
      
         - Fix meson clock names to match DT bindings (Neil Armstrong)
      
         - Add meson support for Amlogic G12A SoC with separate shared PHY
           (Neil Armstrong)
      
         - Add meson extended PCIe PHY functions for Amlogic G12A USB3+PCIe
           combo PHY (Neil Armstrong)
      
         - Add arm64 DT for Amlogic G12A PCIe controller node (Neil Armstrong)
      
         - Add commented-out description of VIM3 USB3/PCIe mux in arm64 DT
           (Neil Armstrong)
      
        Broadcom iProc host bridge driver:
      
         - Invalidate iProc PAXB address mapping before programming it
           (Abhishek Shah)
      
         - Fix iproc-msi and mvebu __iomem annotations (Ben Dooks)
      
        Cadence host bridge driver:
      
         - Refactor Cadence PCIe host controller to use as a library for both
           host and endpoint (Tom Joseph)
      
        Freescale Layerscape host bridge driver:
      
         - Add layerscape LS1028a support (Xiaowei Bao)
      
        Intel VMD host bridge driver:
      
         - Add VMD bus 224-255 restriction decode (Jon Derrick)
      
         - Add VMD 8086:9A0B device ID (Jon Derrick)
      
         - Remove Keith from VMD maintainer list (Keith Busch)
      
        Marvell ARMADA 3700 / Aardvark host bridge driver:
      
         - Use LTSSM state to build link training flag since Aardvark doesn't
           implement the Link Training bit (Remi Pommarel)
      
         - Delay before training Aardvark link in case PERST# was asserted
           before the driver probe (Remi Pommarel)
      
         - Fix Aardvark issues with Root Control reads and writes (Remi
           Pommarel)
      
         - Don't rely on jiffies in Aardvark config access path since
           interrupts may be disabled (Remi Pommarel)
      
         - Fix Aardvark big-endian support (Grzegorz Jaszczyk)
      
        Marvell ARMADA 370 / XP host bridge driver:
      
         - Make mvebu_pci_bridge_emul_ops static (Ben Dooks)
      
        Microsoft Hyper-V host bridge driver:
      
         - Add hibernation support for Hyper-V virtual PCI devices (Dexuan
           Cui)
      
         - Track Hyper-V pci_protocol_version per-hbus, not globally (Dexuan
           Cui)
      
         - Avoid kmemleak false positive on hv hbus buffer (Dexuan Cui)
      
        Mobiveil host bridge driver:
      
         - Change mobiveil csr_read()/write() function names that conflict
           with riscv arch functions (Kefeng Wang)
      
        NVIDIA Tegra host bridge driver:
      
         - Fix Tegra CLKREQ dependency programming (Vidya Sagar)
      
        Renesas R-Car host bridge driver:
      
         - Remove unnecessary header include from rcar (Andrew Murray)
      
         - Tighten register index checking for rcar inbound range programming
           (Marek Vasut)
      
         - Fix rcar inbound range alignment calculation to improve packing of
           multiple entries (Marek Vasut)
      
         - Update rcar MACCTLR setting to match documentation (Yoshihiro
           Shimoda)
      
         - Clear bit 0 of MACCTLR before PCIETCTLR.CFINIT per manual
           (Yoshihiro Shimoda)
      
         - Add Marek Vasut and Yoshihiro Shimoda as R-Car maintainers (Simon
           Horman)
      
        Rockchip host bridge driver:
      
         - Make rockchip 0V9 and 1V8 power regulators non-optional (Robin
           Murphy)
      
        Socionext UniPhier host bridge driver:
      
         - Set uniphier to host (RC) mode always (Kunihiko Hayashi)
      
        Endpoint drivers:
      
         - Fix endpoint driver sign extension problem when shifting page
           number to phys_addr_t (Alan Mikhak)
      
        Misc:
      
         - Add NumaChip SPDX header (Krzysztof Wilczynski)
      
         - Replace EXTRA_CFLAGS with ccflags-y (Krzysztof Wilczynski)
      
         - Remove unused includes (Krzysztof Wilczynski)
      
         - Removed unused sysfs attribute groups (Ben Dooks)
      
         - Remove PTM and ASPM dependencies on PCIEPORTBUS (Bjorn Helgaas)
      
         - Add PCIe Link Control 2 register field definitions to replace magic
           numbers in AMDGPU and Radeon CIK/SI (Bjorn Helgaas)
      
         - Fix incorrect Link Control 2 Transmit Margin usage in AMDGPU and
           Radeon CIK/SI PCIe Gen3 link training (Bjorn Helgaas)
      
         - Use pcie_capability_read_word() instead of pci_read_config_word()
           in AMDGPU and Radeon CIK/SI (Frederick Lawler)
      
         - Remove unused pci_irq_get_node() Greg Kroah-Hartman)
      
         - Make asm/msi.h mandatory and simplify PCI_MSI_IRQ_DOMAIN Kconfig
           (Palmer Dabbelt, Michal Simek)
      
         - Read all 64 bits of Switchtec part_event_bitmap (Logan Gunthorpe)
      
         - Fix erroneous intel-iommu dependency on CONFIG_AMD_IOMMU (Bjorn
           Helgaas)
      
         - Fix bridge emulation big-endian support (Grzegorz Jaszczyk)
      
         - Fix dwc find_next_bit() usage (Niklas Cassel)
      
         - Fix pcitest.c fd leak (Hewenliang)
      
         - Fix typos and comments (Bjorn Helgaas)
      
         - Fix Kconfig whitespace errors (Krzysztof Kozlowski)"
      
      * tag 'pci-v5.5-changes' of git://git.kernel.org/pub/scm/linux/kernel/git/helgaas/pci: (160 commits)
        PCI: Remove PCI_MSI_IRQ_DOMAIN architecture whitelist
        asm-generic: Make msi.h a mandatory include/asm header
        Revert "nvme: Add quirk for Kingston NVME SSD running FW E8FK11.T"
        PCI/MSI: Fix incorrect MSI-X masking on resume
        PCI/MSI: Move power state check out of pci_msi_supported()
        PCI/MSI: Remove unused pci_irq_get_node()
        PCI: hv: Avoid a kmemleak false positive caused by the hbus buffer
        PCI: hv: Change pci_protocol_version to per-hbus
        PCI: hv: Add hibernation support
        PCI: hv: Reorganize the code in preparation of hibernation
        MAINTAINERS: Remove Keith from VMD maintainer
        PCI/ASPM: Remove PCIEASPM_DEBUG Kconfig option and related code
        PCI/ASPM: Add sysfs attributes for controlling ASPM link states
        PCI: Fix indentation
        drm/radeon: Prefer pcie_capability_read_word()
        drm/radeon: Replace numbers with PCI_EXP_LNKCTL2 definitions
        drm/radeon: Correct Transmit Margin masks
        drm/amdgpu: Prefer pcie_capability_read_word()
        PCI: uniphier: Set mode register to host mode
        drm/amdgpu: Replace numbers with PCI_EXP_LNKCTL2 definitions
        ...
      c3bed3b2
    • Linus Torvalds's avatar
      Merge tag 'rtc-5.5' of git://git.kernel.org/pub/scm/linux/kernel/git/abelloni/linux · 4672c2f2
      Linus Torvalds authored
      Pull RTC updates from Alexandre Belloni:
       "A lot of unnecessary code removal in here that ends up decreasing the
        number of lines in the subsystem. The ds1343 and ds1347 drivers got
        cleaned up. The rest are the usual fixes and new features.
      
        Subsystem:
         - fix warnings and errors with make W=1
         - UIE are now disabled while setting the RTC time
         - UIE are now disallowed when the RTC time is not set.
      
        Drivers:
         - remove unecessary .remove callbacks
         - Set RTC range for cros-ec, ds1343, ds1347, m41t80, s35390a, vt8500
         - Use devm_platform_ioremap_resource where applicable
         - rv3028: add clock out support"
      
      * tag 'rtc-5.5' of git://git.kernel.org/pub/scm/linux/kernel/git/abelloni/linux: (81 commits)
        rtc: Fix Kconfig indentation
        rtc: xgene: Remove unused struct device in struct xgene_rtc_dev
        rtc: sun6i: Remove struct device from sun6i_rtc_dev
        rtc: st-lpc: Remove struct resource from struct st_rtc
        rtc: pcf8523: Remove struct pcf8523
        rtc: meson: remove redundant assignment to variable retries
        rtc: v3020: remove set but unused variable
        rtc: tegra: remove set but unused variable
        rtc: pm8xxx: update kerneldoc for struct pm8xxx_rtc
        rtc: m41t80: remove excess kerneldoc
        rtc: ds1685: fix build error with make W=1
        rtc: ds1685: remove set but unused variables
        rtc: ds1374: remove unused variable
        rtc: sysfs: fix hctosys_show kerneldoc
        rtc: interface: fix kerneldoc comments
        rtc: msm6242: Remove unneeded msm6242_set()/msm6242_clear() functions
        rtc: msm6242: Fix reading of 10-hour digit
        rtc: tps65910: allow using RTC without alarm interrupt
        rtc: fsl-ftm-alarm: remove select FSL_RCPM and default y from Kconfig
        rtc: pcf8563: Constify clkout_rates
        ...
      4672c2f2
    • Linus Torvalds's avatar
      Merge tag 'iomap-5.5-merge-13' of git://git.kernel.org/pub/scm/fs/xfs/xfs-linux · 2a31aca5
      Linus Torvalds authored
      Pull iomap cleanups from Darrick Wong:
       "Aome more new iomap code for 5.5.
      
        There's not much this time -- just removing some local variables that
        don't need to exist in the iomap directio code"
      
      * tag 'iomap-5.5-merge-13' of git://git.kernel.org/pub/scm/fs/xfs/xfs-linux:
        iomap: remove unneeded variable in iomap_dio_rw()
        iomap: Do not create fake iter in iomap_dio_bio_actor()
      2a31aca5
    • Linus Torvalds's avatar
      Merge tag 'apparmor-pr-2019-12-03' of... · 79e178a5
      Linus Torvalds authored
      Merge tag 'apparmor-pr-2019-12-03' of git://git.kernel.org/pub/scm/linux/kernel/git/jj/linux-apparmor
      
      Pull apparmor updates from John Johansen:
       "Features:
      
         - increase left match history buffer size to provide improved
           conflict resolution in overlapping execution rules.
      
         - switch buffer allocation to use a memory pool and GFP_KERNEL where
           possible.
      
         - add compression of policy blobs to reduce memory usage.
      
        Cleanups:
      
         - fix spelling mistake "immutible" -> "immutable"
      
        Bug fixes:
      
         - fix unsigned len comparison in update_for_len macro
      
         - fix sparse warning for type-casting of current->real_cred"
      
      * tag 'apparmor-pr-2019-12-03' of git://git.kernel.org/pub/scm/linux/kernel/git/jj/linux-apparmor:
        apparmor: make it so work buffers can be allocated from atomic context
        apparmor: reduce rcu_read_lock scope for aa_file_perm mediation
        apparmor: fix wrong buffer allocation in aa_new_mount
        apparmor: fix unsigned len comparison with less than zero
        apparmor: increase left match history buffer size
        apparmor: Switch to GFP_KERNEL where possible
        apparmor: Use a memory pool instead per-CPU caches
        apparmor: Force type-casting of current->real_cred
        apparmor: fix spelling mistake "immutible" -> "immutable"
        apparmor: fix blob compression when ns is forced on a policy load
        apparmor: fix missing ZLIB defines
        apparmor: fix blob compression build failure on ppc
        apparmor: Initial implementation of raw policy blob compression
      79e178a5
    • Linus Torvalds's avatar
      Merge tag 's390-5.5-2' of git://git.kernel.org/pub/scm/linux/kernel/git/s390/linux · 01d1dff6
      Linus Torvalds authored
      Pull more s390 updates from Vasily Gorbik:
      
       - Make stack unwinder reliable and suitable for livepatching. Add
         unwinder testing module.
      
       - Fixes for CALL_ON_STACK helper used for stack switching.
      
       - Fix unwinding from bpf code.
      
       - Fix getcpu and remove compat support in vdso code.
      
       - Fix address space control registers initialization.
      
       - Save KASLR offset for early dumps.
      
       - Handle new FILTERED_BY_HYPERVISOR reply code in crypto code.
      
       - Minor perf code cleanup and potential memory leak fix.
      
       - Add couple of error messages for corner cases during PCI device
         creation.
      
      * tag 's390-5.5-2' of git://git.kernel.org/pub/scm/linux/kernel/git/s390/linux: (33 commits)
        s390: remove compat vdso code
        s390/livepatch: Implement reliable stack tracing for the consistency model
        s390/unwind: add stack pointer alignment sanity checks
        s390/unwind: filter out unreliable bogus %r14
        s390/unwind: start unwinding from reliable state
        s390/test_unwind: add program check context tests
        s390/test_unwind: add irq context tests
        s390/test_unwind: print verbose unwinding results
        s390/test_unwind: add CALL_ON_STACK tests
        s390: fix register clobbering in CALL_ON_STACK
        s390/test_unwind: require that unwinding ended successfully
        s390/unwind: add a test for the internal API
        s390/unwind: always inline get_stack_pointer
        s390/pci: add error message on device number limit
        s390/pci: add error message for UID collision
        s390/cpum_sf: Check for SDBT and SDB consistency
        s390/cpum_sf: Use TEAR_REG macro consistantly
        s390/cpum_sf: Remove unnecessary check for pending SDBs
        s390/cpum_sf: Replace function name in debug statements
        s390/kaslr: store KASLR offset for early dumps
        ...
      01d1dff6
    • Linus Torvalds's avatar
      Merge tag 'xtensa-20191201' of git://github.com/jcmvbkbc/linux-xtensa · 4d7048f5
      Linus Torvalds authored
      Pull Xtensa updates from Max Filippov:
      
       - add support for execute in place (XIP) kernels
      
       - improvements in inline assembly: use named arguments and "m"
         constraints where possible
      
       - improve stack dumping
      
       - clean up system_call code and syscall tracing
      
       - various small fixes and cleanups
      
      * tag 'xtensa-20191201' of git://github.com/jcmvbkbc/linux-xtensa: (30 commits)
        xtensa: clean up system_call/xtensa_rt_sigreturn interaction
        xtensa: fix system_call interaction with ptrace
        xtensa: rearrange syscall tracing
        xtensa: fix syscall_set_return_value
        xtensa: drop unneeded headers from coprocessor.S
        xtensa: entry: Remove unneeded need_resched() loop
        xtensa: use MEMBLOCK_ALLOC_ANYWHERE for KASAN shadow map
        xtensa: fix TLB sanity checker
        xtensa: get rid of __ARCH_USE_5LEVEL_HACK
        xtensa: mm: fix PMD folding implementation
        xtensa: make stack dump size configurable
        xtensa: improve stack dumping
        xtensa: use "m" constraint instead of "r" in futex.h assembly
        xtensa: use "m" constraint instead of "a" in cmpxchg.h assembly
        xtensa: use named assembly arguments in cmpxchg.h
        xtensa: use "m" constraint instead of "a" in atomic.h assembly
        xtensa: use named assembly arguments in atomic.h
        xtensa: use "m" constraint instead of "a" in bitops.h assembly
        xtensa: use named assembly arguments in bitops.h
        xtensa: use macros to generate *_bit and test_and_*_bit functions
        ...
      4d7048f5
    • Linus Torvalds's avatar
      Merge branch 'timers-core-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip · 043cf468
      Linus Torvalds authored
      Pull timer updates from Ingo Molnar:
       "The main changes in the timer code in this cycle were:
      
         - Clockevent updates:
      
            - timer-of framework cleanups. (Geert Uytterhoeven)
      
            - Use timer-of for the renesas-ostm and the device name to prevent
              name collision in case of multiple timers. (Geert Uytterhoeven)
      
            - Check if there is an error after calling of_clk_get in asm9260
              (Chuhong Yuan)
      
         - ABI fix: Zero out high order bits of nanoseconds on compat
           syscalls. This got broken a year ago, with apparently no side
           effects so far.
      
           Since the kernel would use random data otherwise I don't think we'd
           have other options but to fix the bug, even if there was a side
           effect to applications (Dmitry Safonov)
      
         - Optimize ns_to_timespec64() on 32-bit systems: move away from
           div_s64_rem() which can be slow, to div_u64_rem() which is faster
           (Arnd Bergmann)
      
         - Annotate KCSAN-reported false positive data races in
           hrtimer_is_queued() users by moving timer->state handling over to
           the READ_ONCE()/WRITE_ONCE() APIs. This documents these accesses
           (Eric Dumazet)
      
         - Misc cleanups and small fixes"
      
      [ I undid the "ABI fix" and updated the comments instead. The reason
        there were apparently no side effects is that the fix was a no-op.
      
        The updated comment is to say _why_ it was a no-op.    - Linus ]
      
      * 'timers-core-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip:
        time: Zero the upper 32-bits in __kernel_timespec on 32-bit
        time: Rename tsk->real_start_time to ->start_boottime
        hrtimer: Remove the comment about not used HRTIMER_SOFTIRQ
        time: Fix spelling mistake in comment
        time: Optimize ns_to_timespec64()
        hrtimer: Annotate lockless access to timer->state
        clocksource/drivers/asm9260: Add a check for of_clk_get
        clocksource/drivers/renesas-ostm: Use unique device name instead of ostm
        clocksource/drivers/renesas-ostm: Convert to timer_of
        clocksource/drivers/timer-of: Use unique device name instead of timer
        clocksource/drivers/timer-of: Convert last full_name to %pOF
      043cf468
    • Linus Torvalds's avatar
      Merge branch 'irq-core-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip · b22bfea7
      Linus Torvalds authored
      Pull irq updates from Ingo Molnar:
       "Most of the IRQ subsystem changes in this cycle were irq-chip driver
        updates:
      
         - Qualcomm PDC wakeup interrupt support
      
         - Layerscape external IRQ support
      
         - Broadcom bcm7038 PM and wakeup support
      
         - Ingenic driver cleanup and modernization
      
         - GICv3 ITS preparation for GICv4.1 updates
      
         - GICv4 fixes
      
        There's also the series from Frederic Weisbecker that fixes memory
        ordering bugs for the irq-work logic, whose primary fix is to turn
        work->irq_work.flags into an atomic variable and then convert the
        complex (and buggy) atomic_cmpxchg() loop in irq_work_claim() into a
        much simpler atomic_fetch_or() call.
      
        There are also various smaller cleanups"
      
      * 'irq-core-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip: (44 commits)
        pinctrl/sdm845: Add PDC wakeup interrupt map for GPIOs
        pinctrl/msm: Setup GPIO chip in hierarchy
        irqchip/qcom-pdc: Add irqchip set/get state calls
        irqchip/qcom-pdc: Add irqdomain for wakeup capable GPIOs
        irqchip/qcom-pdc: Do not toggle IRQ_ENABLE during mask/unmask
        irqchip/qcom-pdc: Update max PDC interrupts
        of/irq: Document properties for wakeup interrupt parent
        genirq: Introduce irq_chip_get/set_parent_state calls
        irqdomain: Add bus token DOMAIN_BUS_WAKEUP
        genirq: Fix function documentation of __irq_alloc_descs()
        irq_work: Fix IRQ_WORK_BUSY bit clearing
        irqchip/ti-sci-inta: Use ERR_CAST inlined function instead of ERR_PTR(PTR_ERR(...))
        irq_work: Slightly simplify IRQ_WORK_PENDING clearing
        irq_work: Fix irq_work_claim() memory ordering
        irq_work: Convert flags to atomic_t
        irqchip: Ingenic: Add process for more than one irq at the same time.
        irqchip: ingenic: Alloc generic chips from IRQ domain
        irqchip: ingenic: Get virq number from IRQ domain
        irqchip: ingenic: Error out if IRQ domain creation failed
        irqchip: ingenic: Drop redundant irq_suspend / irq_resume functions
        ...
      b22bfea7
    • Linus Torvalds's avatar
      Merge branch 'dmi-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/jdelvare/staging · 2dff2a1c
      Linus Torvalds authored
      Pull dmi updates from Jean Delvare.
      
      * 'dmi-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/jdelvare/staging:
        firmware: dmi: Add dmi_memdev_handle
        firmware: dmi: Remember the memory type
      2dff2a1c
    • Linus Torvalds's avatar
      Merge branch 'for-5.5' of git://git.kernel.org/pub/scm/linux/kernel/git/dennis/percpu · 2352923c
      Linus Torvalds authored
      Pull percpu updates from Dennis Zhou:
       "This has a change to fix percpu-refcount for RT kernels because
        rcu-sched disables preemption and the refcount release callback might
        acquire a spinlock"
      
      * 'for-5.5' of git://git.kernel.org/pub/scm/linux/kernel/git/dennis/percpu:
        Revert "percpu: add __percpu to SHIFT_PERCPU_PTR"
        percpu-refcount: Use normal instead of RCU-sched"
        percpu: add __percpu to SHIFT_PERCPU_PTR
      2352923c
    • Jean Delvare's avatar
      firmware: dmi: Add dmi_memdev_handle · 7c237880
      Jean Delvare authored
      Add a utility function dmi_memdev_handle() which returns the DMI
      handle associated with a given memory slot. This will allow kernel
      drivers to iterate over the memory slots.
      Signed-off-by: default avatarJean Delvare <jdelvare@suse.de>
      7c237880
    • Jean Delvare's avatar
      firmware: dmi: Remember the memory type · 9e0afe39
      Jean Delvare authored
      Store the memory type while walking the memory slots, and provide a
      way to retrieve it later.
      Signed-off-by: default avatarJean Delvare <jdelvare@suse.de>
      9e0afe39
    • Linus Torvalds's avatar
      Merge tag 'kbuild-v5.5' of git://git.kernel.org/pub/scm/linux/kernel/git/masahiroy/linux-kbuild · 76bb8b05
      Linus Torvalds authored
      Pull Kbuild updates from Masahiro Yamada:
      
       - remove unneeded asm headers from hexagon, ia64
      
       - add 'dir-pkg' target, which works like 'tar-pkg' but skips archiving
      
       - add 'helpnewconfig' target, which shows help for new CONFIG options
      
       - support 'make nsdeps' for external modules
      
       - make rebuilds faster by deleting $(wildcard $^) checks
      
       - remove compile tests for kernel-space headers
      
       - refactor modpost to simplify modversion handling
      
       - make single target builds faster
      
       - optimize and clean up scripts/kallsyms.c
      
       - refactor various Makefiles and scripts
      
      * tag 'kbuild-v5.5' of git://git.kernel.org/pub/scm/linux/kernel/git/masahiroy/linux-kbuild: (59 commits)
        MAINTAINERS: update Kbuild/Kconfig maintainer's email address
        scripts/kallsyms: remove redundant initializers
        scripts/kallsyms: put check_symbol_range() calls close together
        scripts/kallsyms: make check_symbol_range() void function
        scripts/kallsyms: move ignored symbol types to is_ignored_symbol()
        scripts/kallsyms: move more patterns to the ignored_prefixes array
        scripts/kallsyms: skip ignored symbols very early
        scripts/kallsyms: add const qualifiers where possible
        scripts/kallsyms: make find_token() return (unsigned char *)
        scripts/kallsyms: replace prefix_underscores_count() with strspn()
        scripts/kallsyms: add sym_name() to mitigate cast ugliness
        scripts/kallsyms: remove unneeded length check for prefix matching
        scripts/kallsyms: remove redundant is_arm_mapping_symbol()
        scripts/kallsyms: set relative_base more effectively
        scripts/kallsyms: shrink table before sorting it
        scripts/kallsyms: fix definitely-lost memory leak
        scripts/kallsyms: remove unneeded #ifndef ARRAY_SIZE
        kbuild: make single target builds even faster
        modpost: respect the previous export when 'exported twice' is warned
        modpost: do not set ->preloaded for symbols from Module.symvers
        ...
      76bb8b05
    • Linus Torvalds's avatar
      Merge tag 'linux-kselftest-5.5-rc1-fixes2' of... · e30dbe50
      Linus Torvalds authored
      Merge tag 'linux-kselftest-5.5-rc1-fixes2' of git://git.kernel.org/pub/scm/linux/kernel/git/shuah/linux-kselftest
      
      Pull more kselftest fixes from Shuah Khan:
       "This second Kselftest fixes update for Linux 5.5-rc1 consists of an
        urgent revert to fix regression in CI coverage"
      
      * tag 'linux-kselftest-5.5-rc1-fixes2' of git://git.kernel.org/pub/scm/linux/kernel/git/shuah/linux-kselftest:
        Revert "selftests: Fix O= and KBUILD_OUTPUT handling for relative paths"
      e30dbe50
    • Linus Torvalds's avatar
      Merge branch 'linus' of git://git.kernel.org/pub/scm/linux/kernel/git/herbert/crypto-2.6 · 483847a7
      Linus Torvalds authored
      Pull crypto fixes from Herbert Xu:
      
       - Fix build error in crypto lib code when crypto API is off
      
       - Fix NULL/error check in hisilicon
      
       - Fix Kconfig-related build error in talitos
      
      * 'linus' of git://git.kernel.org/pub/scm/linux/kernel/git/herbert/crypto-2.6:
        crypto: hisilicon - fix a NULL vs IS_ERR() bug in sec_create_qp_ctx()
        crypto: talitos - Fix build error by selecting LIB_DES
        crypto: arch - conditionalize crypto api in arch glue for lib code
      483847a7
    • Linus Torvalds's avatar
      Merge tag 'for-linus' of git://github.com/openrisc/linux · 120e4768
      Linus Torvalds authored
      Pull OpenRISC update from Stafford Horne:
       "White space fixups in Kconfig files from Krzysztof Kozlowski"
      
      * tag 'for-linus' of git://github.com/openrisc/linux:
        openrisc: Fix Kconfig indentation
      120e4768
    • Linus Torvalds's avatar
      Merge tag 'for-linus-5.5-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/rw/uml · fcaa0ad7
      Linus Torvalds authored
      Pull UML updates from Richard Weinberger:
      
       - Fixes for our new virtio code
      
       - Fix for the irqflags tracer
      
       - Kconfig coding style fixes
      
       - Allow BPF firmware loading in our vector driver
      
      * tag 'for-linus-5.5-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/rw/uml:
        um: Loadable BPF "Firmware" for vector drivers
        um: Fix Kconfig indentation
        um: virtio_uml: Disallow modular build
        um: virtio: Keep reading on -EAGAIN
        um: virtio: Remove device on disconnect
        um: Don't trace irqflags during shutdown
      fcaa0ad7
    • Linus Torvalds's avatar
      Merge tag 'upstream-5.5-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/rw/ubifs · e3a251e3
      Linus Torvalds authored
      Pull UBI/UBIFS/JFFS2 updates from Richard Weinberger:
       "This pull request contains mostly fixes for UBI, UBIFS and JFFS2:
      
        UBI:
      
         - Fix a regression around producing a anchor PEB for fastmap.
      
           Due to a change in our locking fastmap was unable to produce fresh
           anchors an re-used the existing one a way to often.
      
        UBIFS:
      
         - Fixes for endianness. A few places blindly assumed little endian.
      
         - Fix for a memory leak in the orphan code.
      
         - Fix for a possible crash during a commit.
      
         - Revert a wrong bugfix.
      
        JFFS2:
      
         - Revert a bad bugfix (false positive from a code checking tool)"
      
      * tag 'upstream-5.5-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/rw/ubifs:
        Revert "jffs2: Fix possible null-pointer dereferences in jffs2_add_frag_to_fragtree()"
        ubi: Fix producing anchor PEBs
        ubifs: ubifs_tnc_start_commit: Fix OOB in layout_in_gaps
        ubifs: do_kill_orphans: Fix a memory leak bug
        Revert "ubifs: Fix memory leak bug in alloc_ubifs_info() error path"
        ubifs: Fix type of sup->hash_algo
        ubifs: Fixed missed le64_to_cpu() in journal
        ubifs: Force prandom result to __le32
        ubifs: Remove obsolete TODO from dfs_file_write()
        ubi: Fix warning static is not at beginning of declaration
        ubi: Print skip_check in ubi_dump_vol_info()
      e3a251e3