1. 17 Aug, 2018 27 commits
  2. 16 Aug, 2018 13 commits
    • Linus Torvalds's avatar
      Merge tag 'for-linus-4.19-ofs1' of git://git.kernel.org/pub/scm/linux/kernel/git/hubcap/linux · 5c60a738
      Linus Torvalds authored
      Pull orangefs updates from Mike Marshall:
       "Orangefs: one cleanup and Souptick's vm_fault_t patch:
      
         - add new return type vm_fault_t (Souptick Joarder)
      
         - remove redundant pointer (Colin Ian King)"
      
      * tag 'for-linus-4.19-ofs1' of git://git.kernel.org/pub/scm/linux/kernel/git/hubcap/linux:
        orangefs: remove redundant pointer orangefs_inode
        orangefs: Adding new return type vm_fault_t
      5c60a738
    • Linus Torvalds's avatar
      Merge tag 'vfio-v4.19-rc1' of git://github.com/awilliam/linux-vfio · b6d6a307
      Linus Torvalds authored
      Pull VFIO updates from Alex Williamson:
      
       - mark switch fall-through cases (Gustavo A. R. Silva)
      
       - disable binding SR-IOV enabled PFs (Alex Williamson)
      
      * tag 'vfio-v4.19-rc1' of git://github.com/awilliam/linux-vfio:
        vfio-pci: Disable binding to PFs with SR-IOV enabled
        vfio: Mark expected switch fall-throughs
      b6d6a307
    • Linus Torvalds's avatar
      Merge branch 'linus' of git://git.kernel.org/pub/scm/linux/kernel/git/evalenti/linux-soc-thermal · d01e12dd
      Linus Torvalds authored
      Pull thermal management updates from Eduardo Valentin:
      
       - rework tsens driver to add support for tsens-v2 (Amit Kucheria)
      
       - rework armada thermal driver to use syscon and multichannel support
         (Miquel Raynal)
      
       - fixes to TI SoC, IMX, Exynos, RCar, and hwmon drivers
      
      * 'linus' of git://git.kernel.org/pub/scm/linux/kernel/git/evalenti/linux-soc-thermal: (34 commits)
        thermal: armada: fix copy-paste error in armada_thermal_probe()
        thermal: rcar_thermal: avoid NULL dereference in absence of IRQ resources
        thermal: samsung: Remove Exynos5440 clock handling left-overs
        thermal: tsens: Fix negative temperature reporting
        thermal: tsens: switch from of_iomap() to devm_ioremap_resource()
        thermal: tsens: Rename variable
        thermal: tsens: Add generic support for TSENS v2 IP
        thermal: tsens: Rename tsens-8996 to tsens-v2 for reuse
        thermal: tsens: Add support to split up register address space into two
        dt: thermal: tsens: Document the fallback DT property for v2 of TSENS IP
        thermal: tsens: Get rid of unused fields in structure
        thermal_hwmon: Pass the originating device down to hwmon_device_register_with_info
        thermal_hwmon: Sanitize attribute name passed to hwmon
        dt-bindings: thermal: armada: add reference to new bindings
        dt-bindings: cp110: add the thermal node in the syscon file
        dt-bindings: cp110: update documentation since DT de-duplication
        dt-bindings: ap806: add the thermal node in the syscon file
        dt-bindings: cp110: prepare the syscon file to list other syscons nodes
        dt-bindings: ap806: prepare the syscon file to list other syscons nodes
        dt-bindings: cp110: rename cp110 syscon file
        ...
      d01e12dd
    • Linus Torvalds's avatar
      Merge tag 'mailbox-v4.19' of git://git.linaro.org/landing-teams/working/fujitsu/integration · 9502f0d1
      Linus Torvalds authored
      Pull mailbox updates from Jassi Brar:
      
       - xgene: potential null pointer fix
      
       - omap: switch to spdx license and use of_device_get_match_data() to
         match data
      
       - ti-msgmgr: cleanup and optimisation. New TI specific feature - secure
         proxy thread.
      
       - mediatek: add driver for CMDQ controller.
      
       - nxp: add driver for MU controller
      
      * tag 'mailbox-v4.19' of git://git.linaro.org/landing-teams/working/fujitsu/integration:
        mailbox: Add support for i.MX messaging unit
        dt-bindings: mailbox: imx-mu: add generic MU channel support
        dt-bindings: arm: fsl: add mu binding doc
        mailbox: add MODULE_LICENSE() for mtk-cmdq-mailbox.c
        mailbox: mediatek: Add Mediatek CMDQ driver
        dt-bindings: soc: Add documentation for the MediaTek GCE unit
        mailbox: ti-msgmgr: Add support for Secure Proxy
        dt-bindings: mailbox: Add support for secure proxy threads
        mailbox: ti-msgmgr: Move the memory region name to descriptor
        mailbox: ti-msgmgr: Change message count mask to be descriptor based
        mailbox: ti-msgmgr: Allocate Rx channel resources only on request
        mailbox: ti-msgmgr: Get rid of unused structure members
        mailbox/omap: use of_device_get_match_data() to get match data
        mailbox/omap: switch to SPDX license identifier
        mailbox: xgene-slimpro: Fix potential NULL pointer dereference
      9502f0d1
    • Yannik Sembritzki's avatar
      Fix kexec forbidding kernels signed with keys in the secondary keyring to boot · ea93102f
      Yannik Sembritzki authored
      The split of .system_keyring into .builtin_trusted_keys and
      .secondary_trusted_keys broke kexec, thereby preventing kernels signed by
      keys which are now in the secondary keyring from being kexec'd.
      
      Fix this by passing VERIFY_USE_SECONDARY_KEYRING to
      verify_pefile_signature().
      
      Fixes: d3bfe841 ("certs: Add a secondary system keyring that can be added to dynamically")
      Signed-off-by: default avatarYannik Sembritzki <yannik@sembritzki.me>
      Signed-off-by: default avatarDavid Howells <dhowells@redhat.com>
      Cc: kexec@lists.infradead.org
      Cc: keyrings@vger.kernel.org
      Cc: linux-security-module@vger.kernel.org
      Cc: stable@kernel.org
      Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
      ea93102f
    • Yannik Sembritzki's avatar
      Replace magic for trusting the secondary keyring with #define · 817aef26
      Yannik Sembritzki authored
      Replace the use of a magic number that indicates that verify_*_signature()
      should use the secondary keyring with a symbol.
      Signed-off-by: default avatarYannik Sembritzki <yannik@sembritzki.me>
      Signed-off-by: default avatarDavid Howells <dhowells@redhat.com>
      Cc: keyrings@vger.kernel.org
      Cc: linux-security-module@vger.kernel.org
      Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
      817aef26
    • Linus Torvalds's avatar
      Merge tag 'pci-v4.19-changes' of git://git.kernel.org/pub/scm/linux/kernel/git/helgaas/pci · 4e31843f
      Linus Torvalds authored
      Pull pci updates from Bjorn Helgaas:
      
       - Decode AER errors with names similar to "lspci" (Tyler Baicar)
      
       - Expose AER statistics in sysfs (Rajat Jain)
      
       - Clear AER status bits selectively based on the type of recovery (Oza
         Pawandeep)
      
       - Honor "pcie_ports=native" even if HEST sets FIRMWARE_FIRST (Alexandru
         Gagniuc)
      
       - Don't clear AER status bits if we're using the "Firmware-First"
         strategy where firmware owns the registers (Alexandru Gagniuc)
      
       - Use sysfs_match_string() to simplify ASPM sysfs parsing (Andy
         Shevchenko)
      
       - Remove unnecessary includes of <linux/pci-aspm.h> (Bjorn Helgaas)
      
       - Defer DPC event handling to work queue (Keith Busch)
      
       - Use threaded IRQ for DPC bottom half (Keith Busch)
      
       - Print AER status while handling DPC events (Keith Busch)
      
       - Work around IDT switch ACS Source Validation erratum (James
         Puthukattukaran)
      
       - Emit diagnostics for all cases of PCIe Link downtraining (Links
         operating slower than they're capable of) (Alexandru Gagniuc)
      
       - Skip VFs when configuring Max Payload Size (Myron Stowe)
      
       - Reduce Root Port Max Payload Size if necessary when hot-adding a
         device below it (Myron Stowe)
      
       - Simplify SHPC existence/permission checks (Bjorn Helgaas)
      
       - Remove hotplug sample skeleton driver (Lukas Wunner)
      
       - Convert pciehp to threaded IRQ handling (Lukas Wunner)
      
       - Improve pciehp tolerance of missed events and initially unstable
         links (Lukas Wunner)
      
       - Clear spurious pciehp events on resume (Lukas Wunner)
      
       - Add pciehp runtime PM support, including for Thunderbolt controllers
         (Lukas Wunner)
      
       - Support interrupts from pciehp bridges in D3hot (Lukas Wunner)
      
       - Mark fall-through switch cases before enabling -Wimplicit-fallthrough
         (Gustavo A. R. Silva)
      
       - Move DMA-debug PCI init from arch code to PCI core (Christoph
         Hellwig)
      
       - Fix pci_request_irq() usage of IRQF_ONESHOT when no handler is
         supplied (Heiner Kallweit)
      
       - Unify PCI and DMA direction #defines (Shunyong Yang)
      
       - Add PCI_DEVICE_DATA() macro (Andy Shevchenko)
      
       - Check for VPD completion before checking for timeout (Bert Kenward)
      
       - Limit Netronome NFP5000 config space size to work around erratum
         (Jakub Kicinski)
      
       - Set IRQCHIP_ONESHOT_SAFE for PCI MSI irqchips (Heiner Kallweit)
      
       - Document ACPI description of PCI host bridges (Bjorn Helgaas)
      
       - Add "pci=disable_acs_redir=" parameter to disable ACS redirection for
         peer-to-peer DMA support (we don't have the peer-to-peer support yet;
         this is just one piece) (Logan Gunthorpe)
      
       - Clean up devm_of_pci_get_host_bridge_resources() resource allocation
         (Jan Kiszka)
      
       - Fixup resizable BARs after suspend/resume (Christian König)
      
       - Make "pci=earlydump" generic (Sinan Kaya)
      
       - Fix ROM BAR access routines to stay in bounds and check for signature
         correctly (Rex Zhu)
      
       - Add DMA alias quirk for Microsemi Switchtec NTB (Doug Meyer)
      
       - Expand documentation for pci_add_dma_alias() (Logan Gunthorpe)
      
       - To avoid bus errors, enable PASID only if entire path supports
         End-End TLP prefixes (Sinan Kaya)
      
       - Unify slot and bus reset functions and remove hotplug knowledge from
         callers (Sinan Kaya)
      
       - Add Function-Level Reset quirks for Intel and Samsung NVMe devices to
         fix guest reboot issues (Alex Williamson)
      
       - Add function 1 DMA alias quirk for Marvell 88SS9183 PCIe SSD
         Controller (Bjorn Helgaas)
      
       - Remove Xilinx AXI-PCIe host bridge arch dependency (Palmer Dabbelt)
      
       - Remove Aardvark outbound window configuration (Evan Wang)
      
       - Fix Aardvark bridge window sizing issue (Zachary Zhang)
      
       - Convert Aardvark to use pci_host_probe() to reduce code duplication
         (Thomas Petazzoni)
      
       - Correct the Cadence cdns_pcie_writel() signature (Alan Douglas)
      
       - Add Cadence support for optional generic PHYs (Alan Douglas)
      
       - Add Cadence power management ops (Alan Douglas)
      
       - Remove redundant variable from Cadence driver (Colin Ian King)
      
       - Add Kirin MSI support (Xiaowei Song)
      
       - Drop unnecessary root_bus_nr setting from exynos, imx6, keystone,
         armada8k, artpec6, designware-plat, histb, qcom, spear13xx (Shawn
         Guo)
      
       - Move link notification settings from DesignWare core to individual
         drivers (Gustavo Pimentel)
      
       - Add endpoint library MSI-X interfaces (Gustavo Pimentel)
      
       - Correct signature of endpoint library IRQ interfaces (Gustavo
         Pimentel)
      
       - Add DesignWare endpoint library MSI-X callbacks (Gustavo Pimentel)
      
       - Add endpoint library MSI-X test support (Gustavo Pimentel)
      
       - Remove unnecessary GFP_ATOMIC from Hyper-V "new child" allocation
         (Jia-Ju Bai)
      
       - Add more devices to Broadcom PAXC quirk (Ray Jui)
      
       - Work around corrupted Broadcom PAXC config space to enable SMMU and
         GICv3 ITS (Ray Jui)
      
       - Disable MSI parsing to work around broken Broadcom PAXC logic in some
         devices (Ray Jui)
      
       - Hide unconfigured functions to work around a Broadcom PAXC defect
         (Ray Jui)
      
       - Lower iproc log level to reduce console output during boot (Ray Jui)
      
       - Fix mobiveil iomem/phys_addr_t type usage (Lorenzo Pieralisi)
      
       - Fix mobiveil missing include file (Lorenzo Pieralisi)
      
       - Add mobiveil Kconfig/Makefile support (Lorenzo Pieralisi)
      
       - Fix mvebu I/O space remapping issues (Thomas Petazzoni)
      
       - Use generic pci_host_bridge in mvebu instead of ARM-specific API
         (Thomas Petazzoni)
      
       - Whitelist VMD devices with fast interrupt handlers to avoid sharing
         vectors with slow handlers (Keith Busch)
      
      * tag 'pci-v4.19-changes' of git://git.kernel.org/pub/scm/linux/kernel/git/helgaas/pci: (153 commits)
        PCI/AER: Don't clear AER bits if error handling is Firmware-First
        PCI: Limit config space size for Netronome NFP5000
        PCI/MSI: Set IRQCHIP_ONESHOT_SAFE for PCI-MSI irqchips
        PCI/VPD: Check for VPD access completion before checking for timeout
        PCI: Add PCI_DEVICE_DATA() macro to fully describe device ID entry
        PCI: Match Root Port's MPS to endpoint's MPSS as necessary
        PCI: Skip MPS logic for Virtual Functions (VFs)
        PCI: Add function 1 DMA alias quirk for Marvell 88SS9183
        PCI: Check for PCIe Link downtraining
        PCI: Add ACS Redirect disable quirk for Intel Sunrise Point
        PCI: Add device-specific ACS Redirect disable infrastructure
        PCI: Convert device-specific ACS quirks from NULL termination to ARRAY_SIZE
        PCI: Add "pci=disable_acs_redir=" parameter for peer-to-peer support
        PCI: Allow specifying devices using a base bus and path of devfns
        PCI: Make specifying PCI devices in kernel parameters reusable
        PCI: Hide ACS quirk declarations inside PCI core
        PCI: Delay after FLR of Intel DC P3700 NVMe
        PCI: Disable Samsung SM961/PM961 NVMe before FLR
        PCI: Export pcie_has_flr()
        PCI: mvebu: Drop bogus comment above mvebu_pcie_map_registers()
        ...
      4e31843f
    • Linus Torvalds's avatar
      Merge branch 'next-integrity' of... · f91e6544
      Linus Torvalds authored
      Merge branch 'next-integrity' of git://git.kernel.org/pub/scm/linux/kernel/git/jmorris/linux-security
      
      Pull integrity updates from James Morris:
       "This adds support for EVM signatures based on larger digests, contains
        a new audit record AUDIT_INTEGRITY_POLICY_RULE to differentiate the
        IMA policy rules from the IMA-audit messages, addresses two deadlocks
        due to either loading or searching for crypto algorithms, and cleans
        up the audit messages"
      
      * 'next-integrity' of git://git.kernel.org/pub/scm/linux/kernel/git/jmorris/linux-security:
        EVM: fix return value check in evm_write_xattrs()
        integrity: prevent deadlock during digsig verification.
        evm: Allow non-SHA1 digital signatures
        evm: Don't deadlock if a crypto algorithm is unavailable
        integrity: silence warning when CONFIG_SECURITYFS is not enabled
        ima: Differentiate auditing policy rules from "audit" actions
        ima: Do not audit if CONFIG_INTEGRITY_AUDIT is not set
        ima: Use audit_log_format() rather than audit_log_string()
        ima: Call audit_log_string() rather than logging it untrusted
      f91e6544
    • Linus Torvalds's avatar
      Merge branch 'next-tpm' of git://git.kernel.org/pub/scm/linux/kernel/git/jmorris/linux-security · c715ebeb
      Linus Torvalds authored
      Pull TPM updates from James Morris:
      
       - Migrate away from PM runtime as explicit cmdReady/goIdle transactions
         for every command is a spec requirement. PM runtime adds only a layer
         of complexity on our case.
      
       - tpm_tis drivers can now specify the hwrng quality.
      
       - TPM 2.0 code uses now tpm_buf for constructing messages. Jarkko
         thinks Tomas Winkler has done the same for TPM 1.2, and will start
         digging those changes from the patchwork in the near future.
      
       - Bug fixes and clean ups
      
      * 'next-tpm' of git://git.kernel.org/pub/scm/linux/kernel/git/jmorris/linux-security:
        ima: Get rid of ima_used_chip and use ima_tpm_chip != NULL instead
        ima: Use tpm_default_chip() and call TPM functions with a tpm_chip
        tpm: replace TPM_TRANSMIT_RAW with TPM_TRANSMIT_NESTED
        tpm: Convert tpm_find_get_ops() to use tpm_default_chip()
        tpm: Implement tpm_default_chip() to find a TPM chip
        tpm: rename tpm_chip_find_get() to tpm_find_get_ops()
        tpm: Allow tpm_tis drivers to set hwrng quality.
        tpm: Return the actual size when receiving an unsupported command
        tpm: separate cmd_ready/go_idle from runtime_pm
        tpm/tpm_i2c_infineon: switch to i2c_lock_bus(..., I2C_LOCK_SEGMENT)
        tpm_tis_spi: Pass the SPI IRQ down to the driver
        tpm: migrate tpm2_get_random() to use struct tpm_buf
        tpm: migrate tpm2_get_tpm_pt() to use struct tpm_buf
        tpm: migrate tpm2_probe() to use struct tpm_buf
        tpm: migrate tpm2_shutdown() to use struct tpm_buf
      c715ebeb
    • Linus Torvalds's avatar
      Merge branch 'next-smack' of git://git.kernel.org/pub/scm/linux/kernel/git/jmorris/linux-security · 04743f89
      Linus Torvalds authored
      Pull smack updates from James Morris:
       "Minor fixes from Piotr Sawicki"
      
      * 'next-smack' of git://git.kernel.org/pub/scm/linux/kernel/git/jmorris/linux-security:
        Smack: Inform peer that IPv6 traffic has been blocked
        Smack: Check UDP-Lite and DCCP protocols during IPv6 handling
        Smack: Fix handling of IPv4 traffic received by PF_INET6 sockets
      04743f89
    • Linus Torvalds's avatar
      Merge tag 'jfs-4.19' of git://github.com/kleikamp/linux-shaggy · 5bae2be4
      Linus Torvalds authored
      Pull jfs update from David Kleikamp:
       "Just one jfs patch for 4.19"
      
      * tag 'jfs-4.19' of git://github.com/kleikamp/linux-shaggy:
        jfs: use time64_t for otime
      5bae2be4
    • Linus Torvalds's avatar
      Merge tag 'gfs2-4.19.fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/gfs2/linux-gfs2 · 2b2f2aed
      Linus Torvalds authored
      Pull gfs2 updates from Andreas Gruenbacher:
      
       - iomap support for buffered writes and for direct I/O
      
       - two patches that reduce the size of struct gfs2_inode
      
       - lots of fixes and cleanups
      
      * tag 'gfs2-4.19.fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/gfs2/linux-gfs2: (25 commits)
        gfs2: eliminate update_rgrp_lvb_unlinked
        gfs2: Fix gfs2_testbit to use clone bitmaps
        gfs2: Get rid of gfs2_ea_strlen
        gfs2: cleanup: call gfs2_rgrp_ondisk2lvb from gfs2_rgrp_out
        gfs2: Special-case rindex for gfs2_grow
        GFS2: rgrp free blocks used incorrectly
        gfs2: remove redundant variable 'moved'
        gfs2: use iomap_readpage for blocksize == PAGE_SIZE
        gfs2: Use iomap for stuffed direct I/O reads
        gfs2: fallocate_chunk: Always initialize struct iomap
        GFS2: Fix recovery issues for spectators
        fs: gfs2: Adding new return type vm_fault_t
        gfs2: using posix_acl_xattr_size instead of posix_acl_to_xattr
        gfs2: Don't reject a supposedly full bitmap if we have blocks reserved
        gfs2: Eliminate redundant ip->i_rgd
        gfs2: Stop messing with ip->i_rgd in the rlist code
        gfs2: Remove gfs2_write_{begin,end}
        gfs2: iomap direct I/O support
        gfs2: gfs2_extent_length cleanup
        gfs2: iomap buffered write support
        ...
      2b2f2aed
    • Linus Torvalds's avatar
      Merge tag 'scsi-misc' of git://git.kernel.org/pub/scm/linux/kernel/git/jejb/scsi · 72f02ba6
      Linus Torvalds authored
      Pull SCSI updates from James Bottomley:
       "This is mostly updates to the usual drivers: mpt3sas, lpfc, qla2xxx,
        hisi_sas, smartpqi, megaraid_sas, arcmsr.
      
        In addition, with the continuing absence of Nic we have target updates
        for tcmu and target core (all with reviews and acks).
      
        The biggest observable change is going to be that we're (again) trying
        to switch to mulitqueue as the default (a user can still override the
        setting on the kernel command line).
      
        Other major core stuff is the removal of the remaining Microchannel
        drivers, an update of the internal timers and some reworks of
        completion and result handling"
      
      * tag 'scsi-misc' of git://git.kernel.org/pub/scm/linux/kernel/git/jejb/scsi: (203 commits)
        scsi: core: use blk_mq_run_hw_queues in scsi_kick_queue
        scsi: ufs: remove unnecessary query(DM) UPIU trace
        scsi: qla2xxx: Fix issue reported by static checker for qla2x00_els_dcmd2_sp_done()
        scsi: aacraid: Spelling fix in comment
        scsi: mpt3sas: Fix calltrace observed while running IO & reset
        scsi: aic94xx: fix an error code in aic94xx_init()
        scsi: st: remove redundant pointer STbuffer
        scsi: qla2xxx: Update driver version to 10.00.00.08-k
        scsi: qla2xxx: Migrate NVME N2N handling into state machine
        scsi: qla2xxx: Save frame payload size from ICB
        scsi: qla2xxx: Fix stalled relogin
        scsi: qla2xxx: Fix race between switch cmd completion and timeout
        scsi: qla2xxx: Fix Management Server NPort handle reservation logic
        scsi: qla2xxx: Flush mailbox commands on chip reset
        scsi: qla2xxx: Fix unintended Logout
        scsi: qla2xxx: Fix session state stuck in Get Port DB
        scsi: qla2xxx: Fix redundant fc_rport registration
        scsi: qla2xxx: Silent erroneous message
        scsi: qla2xxx: Prevent sysfs access when chip is down
        scsi: qla2xxx: Add longer window for chip reset
        ...
      72f02ba6