08 Jul, 2020

3 commits

  • Pull MTD fixes from Miquel Raynal:
    "MTD:
    - Set a missing master partition panic write flag

    Raw NAND:
    - Fix build issue in the xway driver
    - Fix a wrong return code"

    * tag 'mtd/fixes-for-5.8-rc5' of git://git.kernel.org/pub/scm/linux/kernel/git/mtd/linux:
    mtd: rawnand: xway: Fix build issue
    mtd: set master partition panic write flag
    nandsim: Fix return code testing of ns_find_operation()

    Linus Torvalds
     
  • Pull tpm fix from Jarkko Sakkinen:
    "Revert commit e918e570415c ("tpm_tis: Remove the HID IFX0102").

    Removing IFX0102 from tpm_tis was not a right move because both
    tpm_tis and tpm_infineon use the same device ID.

    A real fix requires quirks added to both drivers. It can probably wait
    until v5.9 as the bug has existed since 2006"

    * tag 'tpmdd-next-v5.8-rc5' of git://git.infradead.org/users/jjs/linux-tpmdd:
    Revert commit e918e570415c ("tpm_tis: Remove the HID IFX0102")

    Linus Torvalds
     
  • This MIPS driver does not support COMPILE_TEST yet and failed to build
    under my radar.

    Replace 'mtd' chich is not defined in the scope of xway_nand_remove()
    by nand_to_mtd(chip). The mistake has been added in the long series
    dropping nand_release().

    Tested with a 7.3.0 MIPS GCC toolchain built with Buildroot.

    Fixes: 9fdd78f7bcda ("mtd: rawnand: xway: Stop using nand_release()")
    Reported-by: kernel test robot
    Signed-off-by: Miquel Raynal
    Link: https://lore.kernel.org/linux-mtd/20200626065511.16424-1-miquel.raynal@bootlin.com

    Miquel Raynal
     

07 Jul, 2020

3 commits

  • Removing IFX0102 from tpm_tis was not a right move because both tpm_tis
    and tpm_infineon use the same device ID. Revert the commit and add a
    remark about a bug caused by commit 93e1b7d42e1e ("[PATCH] tpm: add HID
    module parameter").

    Fixes: e918e570415c ("tpm_tis: Remove the HID IFX0102")
    Reported-by: Peter Huewe
    Reviewed-by: Jerry Snitselaar
    Signed-off-by: Jarkko Sakkinen

    Jarkko Sakkinen
     
  • Pull kvm fixes from Paolo Bonzini:
    "Bugfixes and a one-liner patch to silence a sparse warning"

    * tag 'for-linus' of git://git.kernel.org/pub/scm/virt/kvm/kvm:
    KVM: arm64: Stop clobbering x0 for HVC_SOFT_RESTART
    KVM: arm64: PMU: Fix per-CPU access in preemptible context
    KVM: VMX: Use KVM_POSSIBLE_CR*_GUEST_BITS to initialize guest/host masks
    KVM: x86: Mark CR4.TSD as being possibly owned by the guest
    KVM: x86: Inject #GP if guest attempts to toggle CR4.LA57 in 64-bit mode
    kvm: use more precise cast and do not drop __user
    KVM: x86: bit 8 of non-leaf PDPEs is not reserved
    KVM: X86: Fix async pf caused null-ptr-deref
    KVM: arm64: vgic-v4: Plug race between non-residency and v4.1 doorbell
    KVM: arm64: pvtime: Ensure task delay accounting is enabled
    KVM: arm64: Fix kvm_reset_vcpu() return code being incorrect with SVE
    KVM: arm64: Annotate hyp NMI-related functions as __always_inline
    KVM: s390: reduce number of IO pins to 1

    Linus Torvalds
     
  • Pull s390 fixes from Heiko Carstens:

    - Initialize jump labels before early command line parsing in order to
    make init_on_alloc and init_on_free options work

    - Fix vfio-ccw build error due to missing include

    - Prevent callchain data collection with hardware sampling, since the
    callchains simply do not exist

    - Prevent multiple registrations of the same zPCI function

    - Update defconfigs

    * tag 's390-5.8-4' of git://git.kernel.org/pub/scm/linux/kernel/git/s390/linux:
    vfio-ccw: Fix a build error due to missing include of linux/slab.h
    s390: update defconfigs
    s390/cpum_sf: prohibit callchain data collection
    s390/setup: init jump labels before command line parsing
    s390/maccess: add no DAT mode to kernel_write
    s390/pci: fix enabling a reserved PCI function

    Linus Torvalds
     

06 Jul, 2020

4 commits

  • Pull irq fixes from Thomas Gleixner:
    "A set of interrupt chip driver fixes:

    - Ensure the atomicity of affinity updates in the GIC driver

    - Don't try to sleep in atomic context when waiting for the GICv4.1
    to respond. Use polling instead.

    - Typo fixes in Kconfig and warnings"

    * tag 'irq-urgent-2020-07-05' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip:
    irqchip/gic: Atomically update affinity
    irqchip/riscv-intc: Fix a typo in a pr_warn()
    irqchip/gic-v4.1: Use readx_poll_timeout_atomic() to fix sleep in atomic
    irqchip/loongson-pci-msi: Fix a typo in Kconfig

    Linus Torvalds
     
  • Pull SCSI fixes from James Bottomley:
    "Four small fixes in three drivers.

    The mptfusion one has actually caused user visible issues in certain
    kernel configurations"

    * tag 'scsi-fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/jejb/scsi:
    scsi: mptfusion: Don't use GFP_ATOMIC for larger DMA allocations
    scsi: libfc: Skip additional kref updating work event
    scsi: libfc: Handling of extra kref
    scsi: qla2xxx: Fix a condition in qla2x00_find_all_fabric_devs()

    Linus Torvalds
     
  • Pull block fixes from Jens Axboe:

    - NVMe fixes from Christoph:
    - Fix crash in multi-path disk add (Christoph)
    - Fix ignore of identify error (Sagi)

    - Fix a compiler complaint that a function should be static (Wei)

    * tag 'block-5.8-2020-07-05' of git://git.kernel.dk/linux-block:
    block: make function __bio_integrity_free() static
    nvme: fix a crash in nvme_mpath_add_disk
    nvme: fix identify error status silent ignore

    Linus Torvalds
     
  • Pull i2c fixes from Wolfram Sang:
    "The usual driver fixes and documentation updates"

    * 'i2c/for-current' of git://git.kernel.org/pub/scm/linux/kernel/git/wsa/linux:
    i2c: mlxcpld: check correct size of maximum RECV_LEN packet
    i2c: add Kconfig help text for slave mode
    i2c: slave-eeprom: update documentation
    i2c: eg20t: Load module automatically if ID matches
    i2c: designware: platdrv: Set class based on DMI
    i2c: algo-pca: Add 0x78 as SCL stuck low status for PCA9665

    Linus Torvalds
     

04 Jul, 2020

10 commits

  • Pull xen fixes from Juergen Gross:
    "One small cleanup patch for ARM and two patches for the xenbus driver
    fixing latent problems (large stack allocations and bad return code
    settings)"

    * tag 'for-linus-5.8b-rc4-tag' of git://git.kernel.org/pub/scm/linux/kernel/git/xen/tip:
    xen/xenbus: let xenbus_map_ring_valloc() return errno values only
    xen/xenbus: avoid large structs and arrays on the stack
    arm/xen: remove the unused macro GRANT_TABLE_PHYSADDR

    Linus Torvalds
     
  • I2C_SMBUS_BLOCK_MAX defines already the maximum number as defined in the
    SMBus 2.0 specs. I don't see a reason to add 1 here. Also, fix the errno
    to what is suggested for this error.

    Fixes: c9bfdc7c16cb ("i2c: mlxcpld: Add support for smbus block read transaction")
    Signed-off-by: Wolfram Sang
    Reviewed-by: Michael Shych
    Tested-by: Michael Shych
    Signed-off-by: Wolfram Sang

    Wolfram Sang
     
  • I can't recall why there was none, but we surely want to have it.

    Signed-off-by: Wolfram Sang
    Reviewed-by: Niklas Söderlund
    Reviewed-by: Geert Uytterhoeven
    Signed-off-by: Wolfram Sang

    Wolfram Sang
     
  • Add more details which have either been missing ever since or describe
    recent additions.

    Signed-off-by: Wolfram Sang
    Reviewed-by: Niklas Söderlund
    Reviewed-by: Luca Ceresoli
    Signed-off-by: Wolfram Sang

    Wolfram Sang
     
  • The driver can't be loaded automatically because it misses
    module alias to be provided. Add corresponding MODULE_DEVICE_TABLE()
    call to the driver.

    Signed-off-by: Andy Shevchenko
    Signed-off-by: Wolfram Sang

    Andy Shevchenko
     
  • Current AMD's zen-based APUs use this core for some of its i2c-buses.

    With this patch we re-enable autodetection of hwmon-alike devices, so
    lm-sensors will be able to work automatically.

    It does not affect the boot-time of embedded devices, as the class is
    set based on the DMI information.

    DMI is probed only on Qtechnology QT5222 Industrial Camera Platform.

    DocLink: https://qtec.com/camera-technology-camera-platforms/
    Fixes: 3eddad96c439 ("i2c: designware: reverts "i2c: designware: Add support for AMD I2C controller"")
    Signed-off-by: Ricardo Ribalda
    Reviewed-by: Andy Shevchenko
    Acked-by: Jarkko Nikula
    Signed-off-by: Wolfram Sang

    Ricardo Ribalda
     
  • The PCA9665 datasheet says that I2CSTA = 78h indicates that SCL is stuck
    low, this differs to the PCA9564 which uses 90h for this indication.
    Treat either 0x78 or 0x90 as an indication that the SCL line is stuck.

    Based on looking through the PCA9564 and PCA9665 datasheets this should
    be safe for both chips. The PCA9564 should not return 0x78 for any valid
    state and the PCA9665 should not return 0x90.

    Fixes: eff9ec95efaa ("i2c-algo-pca: Add PCA9665 support")
    Signed-off-by: Chris Packham
    Reviewed-by: Andy Shevchenko
    Signed-off-by: Wolfram Sang

    Chris Packham
     
  • Pull hwmon fixes from Guenter Roeck:

    - Fix typo in Kconfig SENSORS_IR35221 option

    - Fix potential memory leak in acpi_power_meter_add()

    - Make sure the OVERT mask is set correctly in max6697 driver

    - In PMBus core, fix page vs. register when accessing fans

    - Mark is_visible functions static in bt1-pvt driver

    - Define Temp- and Volt-to-N poly as maybe-unused in bt1-pvt driver

    * tag 'hwmon-for-v5.8-rc4' of git://git.kernel.org/pub/scm/linux/kernel/git/groeck/linux-staging:
    hwmon: (pmbus) fix a typo in Kconfig SENSORS_IR35221 option
    hwmon: (acpi_power_meter) Fix potential memory leak in acpi_power_meter_add()
    hwmon: (max6697) Make sure the OVERT mask is set correctly
    hwmon: (pmbus) Fix page vs. register when accessing fans
    hwmon: (bt1-pvt) Mark is_visible functions static
    hwmon: (bt1-pvt) Define Temp- and Volt-to-N poly as maybe-unused

    Linus Torvalds
     
  • Pull ACPI updates from Rafael Wysocki:
    "Add a new device ID for Intel Tiger Lake to the DPTF battery
    participant driver (Srinivas Pandruvada) and fix the Tiger Lake fan
    device ID (Sumeet Pawnikar)"

    * tag 'acpi-5.8-rc4' of git://git.kernel.org/pub/scm/linux/kernel/git/rafael/linux-pm:
    ACPI: fan: Fix Tiger Lake ACPI device ID
    ACPI: DPTF: Add battery participant for TigerLake

    Linus Torvalds
     
  • Pull drm fixes from Dave Airlie:
    "Pretty usual rc4 pull: two usual amdgpu, i915 pulls, and some misc arm
    driver fixes.

    The bigger bit is including the asm sources for some GPU shaders that
    were contained in the i915 driver, otherwise it's pretty much business
    as usual.

    dma-buf:
    - fix a use-after-free bug

    amdgpu:
    - Fix for vega20 boards without RAS support
    - DC bandwidth revalidation fix
    - Fix Renoir vram info fetching
    - Fix hwmon freq printing

    i915:
    - GVT fixes
    - Two missed MMIO handler fixes for SKL/CFL
    - Fix mask register bits check
    - Fix one lockdep error for debugfs entry access
    - Include asm sources for render cache clear batches

    msm:
    - memleak fix
    - display block fix
    - address space fixes

    exynos:
    - error value and reference count fix
    - error print removal

    sun4i:
    - remove HPD polling"

    * tag 'drm-fixes-2020-07-03' of git://anongit.freedesktop.org/drm/drm: (22 commits)
    drm/amdgpu: use %u rather than %d for sclk/mclk
    drm/amdgpu/atomfirmware: fix vram_info fetching for renoir
    drm/amd/display: Only revalidate bandwidth on medium and fast updates
    drm: sun4i: hdmi: Remove extra HPD polling
    drm/i915: Include asm sources for {ivb, hsw}_clear_kernel.c
    drm/exynos: fix ref count leak in mic_pre_enable
    drm/exynos: Properly propagate return value in drm_iommu_attach_device()
    drm/exynos: Remove dev_err() on platform_get_irq() failure
    drm/amd/powerplay: Fix NULL dereference in lock_bus() on Vega20 w/o RAS
    dma-buf: Move dma_buf_release() from fops to dentry_ops
    drm/msm: Fix up the rest of the messed up address sizes
    drm/msm: Fix setup of a6xx create_address_space.
    drm/msm: Fix address space size after refactor.
    drm/i915/gvt: Use GFP_ATOMIC instead of GFP_KERNEL in atomic context
    drm/i915/gvt: Fix incorrect check of enabled bits in mask registers
    drm/i915/gvt: Fix two CFL MMIO handling caused by regression.
    drm/i915/gvt: Add one missing MMIO handler for D_SKL_PLUS
    drm/msm: Fix 0xfffflub in "Refactor address space initialization"
    drm/msm/dpu: allow initialization of encoder locks during encoder init
    drm/msm/dpu: fix error return code in dpu_encoder_init
    ...

    Linus Torvalds
     

03 Jul, 2020

8 commits

  • * acpi-fan:
    ACPI: fan: Fix Tiger Lake ACPI device ID

    Rafael J. Wysocki
     
  • Include linux/slab.h to fix a build error due to kfree() being undefined.

    Fixes: 3f02cb2fd9d2 ("vfio-ccw: Wire up the CRW irq and CRW region")
    Signed-off-by: Sean Christopherson
    Message-Id:
    Signed-off-by: Cornelia Huck

    Sean Christopherson
     
  • Pull tpm fixes from Jarkko Sakkinen:
    "These are just fixes for bugs found lately.

    All of them are small scale things here and there, and all of them are
    for previous kernel releases (the oldest appeared in v2.6.17)"

    * tag 'tpmdd-next-v5.8-rc4' of git://git.infradead.org/users/jjs/linux-tpmdd:
    tpm_tis: Remove the HID IFX0102
    tpm_tis_spi: Prefer async probe
    tpm: ibmvtpm: Wait for ready buffer before probing for TPM2 attributes
    tpm/st33zp24: fix spelling mistake "drescription" -> "description"
    tpm_tis: extra chip->ops check on error path in tpm_tis_core_init
    tpm_tis_spi: Don't send anything during flow control
    tpm: Fix TIS locality timeout problems

    Linus Torvalds
     
  • * dma-buf: fix a use-after-free bug

    * sun4i: remove HPD polling

    Signed-off-by: Dave Airlie

    From: Thomas Zimmermann
    Link: https://patchwork.freedesktop.org/patch/msgid/20200702075143.GA25040@linux-uq9g

    Dave Airlie
     
  • Fix a typo in SENSORS_IR35221 option: module name should be "ir35221"
    instead of "ir35521".

    Fixes: 8991ebd9c9a6 ("hwmon: (pmbus) Add client driver for IR35221")

    Cc: Samuel Mendoza-Jonas
    Signed-off-by: Tao Ren
    Link: https://lore.kernel.org/r/20200702221349.18139-1-rentao.bupt@gmail.com
    Signed-off-by: Guenter Roeck

    Tao Ren
     
  • Pull block fixes from Jens Axboe:

    - Use kvfree_sensitive() for the block keyslot free (Eric)

    - Sync blk-mq debugfs flags (Hou)

    - Memory leak fix in virtio-blk error path (Hou)

    * tag 'block-5.8-2020-07-01' of git://git.kernel.dk/linux-block:
    virtio-blk: free vblk-vqs in error path of virtblk_probe()
    block/keyslot-manager: use kvfree_sensitive()
    blk-mq-debugfs: update blk_queue_flag_name[] accordingly for new flags

    Linus Torvalds
     
  • Today xenbus_map_ring_valloc() can return either a negative errno
    value (-ENOMEM or -EINVAL) or a grant status value. This is a mess as
    e.g -ENOMEM and GNTST_eagain have the same numeric value.

    Fix that by turning all grant mapping errors into -ENOENT. This is
    no problem as all callers of xenbus_map_ring_valloc() only use the
    return value to print an error message, and in case of mapping errors
    the grant status value has already been printed by __xenbus_map_ring()
    before.

    Signed-off-by: Juergen Gross
    Reviewed-by: Boris Ostrovsky
    Link: https://lore.kernel.org/r/20200701121638.19840-3-jgross@suse.com
    Signed-off-by: Boris Ostrovsky

    Juergen Gross
     
  • xenbus_map_ring_valloc() and its sub-functions are putting quite large
    structs and arrays on the stack. This is problematic at runtime, but
    might also result in build failures (e.g. with clang due to the option
    -Werror,-Wframe-larger-than=... used).

    Fix that by moving most of the data from the stack into a dynamically
    allocated struct. Performance is no issue here, as
    xenbus_map_ring_valloc() is used only when adding a new PV device to
    a backend driver.

    While at it move some duplicated code from pv/hvm specific mapping
    functions to the single caller.

    Reported-by: Arnd Bergmann
    Signed-off-by: Juergen Gross
    Reviewed-by: Boris Ostrovsky
    Link: https://lore.kernel.org/r/20200701121638.19840-2-jgross@suse.com
    Signed-off-by: Boris Ostrovsky

    Juergen Gross
     

02 Jul, 2020

12 commits

  • Acer C720 running Linux v5.3 reports this in klog:

    tpm_tis: 1.2 TPM (device-id 0xB, rev-id 16)
    tpm tpm0: tpm_try_transmit: send(): error -5
    tpm tpm0: A TPM error (-5) occurred attempting to determine the timeouts
    tpm_tis tpm_tis: Could not get TPM timeouts and durations
    tpm_tis 00:08: 1.2 TPM (device-id 0xB, rev-id 16)
    tpm tpm0: tpm_try_transmit: send(): error -5
    tpm tpm0: A TPM error (-5) occurred attempting to determine the timeouts
    tpm_tis 00:08: Could not get TPM timeouts and durations
    ima: No TPM chip found, activating TPM-bypass!
    tpm_inf_pnp 00:08: Found TPM with ID IFX0102

    % git --no-pager grep IFX0102 drivers/char/tpm
    drivers/char/tpm/tpm_infineon.c: {"IFX0102", 0},
    drivers/char/tpm/tpm_tis.c: {"IFX0102", 0}, /* Infineon */

    Obviously IFX0102 was added to the HID table for the TCG TIS driver by
    mistake.

    Fixes: 93e1b7d42e1e ("[PATCH] tpm: add HID module parameter")
    Link: https://bugzilla.kernel.org/show_bug.cgi?id=203877
    Cc: stable@vger.kernel.org
    Cc: Kylene Jo Hall
    Reported-by: Ferry Toth:
    Reviewed-by: Jerry Snitselaar
    Signed-off-by: Jarkko Sakkinen

    Jarkko Sakkinen
     
  • On a Chromebook I'm working on I noticed a big (~1 second) delay
    during bootup where nothing was happening. Right around this big
    delay there were messages about the TPM:

    [ 2.311352] tpm_tis_spi spi0.0: TPM ready IRQ confirmed on attempt 2
    [ 3.332790] tpm_tis_spi spi0.0: Cr50 firmware version: ...

    I put a few printouts in and saw that tpm_tis_spi_init() (specifically
    tpm_chip_register() in that function) was taking the lion's share of
    this time, though ~115 ms of the time was in cr50_print_fw_version().

    Let's make a one-line change to prefer async probe for tpm_tis_spi.
    There's no reason we need to block other drivers from probing while we
    load.

    NOTES:
    * It's possible that other hardware runs through the init sequence
    faster than Cr50 and this isn't such a big problem for them.
    However, even if they are faster they are still doing _some_
    transfers over a SPI bus so this should benefit everyone even if to
    a lesser extent.
    * It's possible that there are extra delays in the code that could be
    optimized out. I didn't dig since once I enabled async probe they
    no longer impacted me.

    Signed-off-by: Douglas Anderson
    Reviewed-by: Jarkko Sakkinen
    Signed-off-by: Jarkko Sakkinen

    Douglas Anderson
     
  • The tpm2_get_cc_attrs_tbl() call will result in TPM commands being issued,
    which will need the use of the internal command/response buffer. But,
    we're issuing this *before* we've waited to make sure that buffer is
    allocated.

    This can result in intermittent failures to probe if the hypervisor / TPM
    implementation doesn't respond quickly enough. I find it fails almost
    every time with an 8 vcpu guest under KVM with software emulated TPM.

    To fix it, just move the tpm2_get_cc_attrs_tlb() call after the
    existing code to wait for initialization, which will ensure the buffer
    is allocated.

    Fixes: 18b3670d79ae9 ("tpm: ibmvtpm: Add support for TPM2")
    Signed-off-by: David Gibson
    Reviewed-by: Jerry Snitselaar
    Reviewed-by: Jarkko Sakkinen
    Signed-off-by: Jarkko Sakkinen

    David Gibson
     
  • Trivial fix, the spelling of "drescription" is incorrect
    in function comment.

    Fix this.

    Signed-off-by: Binbin Zhou
    Acked-by: Jarkko Sakkinen
    Signed-off-by: Jarkko Sakkinen

    Binbin Zhou
     
  • Found by smatch:
    drivers/char/tpm/tpm_tis_core.c:1088 tpm_tis_core_init() warn:
    variable dereferenced before check 'chip->ops' (see line 979)

    'chip->ops' is assigned in the beginning of function
    in tpmm_chip_alloc->tpm_chip_alloc
    and is used before first possible goto to error path.

    Signed-off-by: Vasily Averin
    Reviewed-by: Jerry Snitselaar
    Reviewed-by: Jarkko Sakkinen
    Signed-off-by: Jarkko Sakkinen

    Vasily Averin
     
  • During flow control we are just reading from the TPM, yet our spi_xfer
    has the tx_buf and rx_buf both non-NULL which means we're requesting a
    full duplex transfer.

    SPI is always somewhat of a full duplex protocol anyway and in theory
    the other side shouldn't really be looking at what we're sending it
    during flow control, but it's still a bit ugly to be sending some
    "random" data when we shouldn't.

    The default tpm_tis_spi_flow_control() tries to address this by
    setting 'phy->iobuf[0] = 0'. This partially avoids the problem of
    sending "random" data, but since our tx_buf and rx_buf both point to
    the same place I believe there is the potential of us sending the
    TPM's previous byte back to it if we hit the retry loop.

    Another flow control implementation, cr50_spi_flow_control(), doesn't
    address this at all.

    Let's clean this up and just make the tx_buf NULL before we call
    flow_control(). Not only does this ensure that we're not sending any
    "random" bytes but it also possibly could make the SPI controller
    behave in a slightly more optimal way.

    NOTE: no actual observed problems are fixed by this patch--it's was
    just made based on code inspection.

    Signed-off-by: Douglas Anderson
    Reviewed-by: Paul Menzel
    Reviewed-by: Jarkko Sakkinen
    Signed-off-by: Jarkko Sakkinen

    Douglas Anderson
     
  • It has been reported that some TIS based TPMs are giving unexpected
    errors when using the O_NONBLOCK path of the TPM device. The problem
    is that some TPMs don't like it when you get and then relinquish a
    locality (as the tpm_try_get_ops()/tpm_put_ops() pair does) without
    sending a command. This currently happens all the time in the
    O_NONBLOCK write path. Fix this by moving the tpm_try_get_ops()
    further down the code to after the O_NONBLOCK determination is made.
    This is safe because the priv->buffer_mutex still protects the priv
    state being modified.

    BugLink: https://bugzilla.kernel.org/show_bug.cgi?id=206275
    Fixes: d23d12484307 ("tpm: fix invalid locking in NONBLOCKING mode")
    Reported-by: Mario Limonciello
    Tested-by: Alex Guzman
    Cc: stable@vger.kernel.org
    Reviewed-by: Jerry Snitselaar
    Signed-off-by: James Bottomley
    Reviewed-by: Jarkko Sakkinen
    Signed-off-by: Jarkko Sakkinen

    James Bottomley
     
  • For private namespaces ns->head_disk is NULL, so add a NULL check
    before updating the BDI capabilities.

    Fixes: b2ce4d90690b ("nvme-multipath: set bdi capabilities once")
    Reported-by: Avinash M N
    Signed-off-by: Christoph Hellwig
    Reviewed-by: Sagi Grimberg
    Reviewed-by: Max Gurtovoy

    Christoph Hellwig
     
  • Commit 59c7c3caaaf8 intended to only silently ignore non retry-able
    errors (DNR bit set) such that we can still identify misbehaving
    controllers, and in the other hand propagate retry-able errors (DNR bit
    cleared) so we don't wrongly abandon a namespace just because it happens
    to be temporarily inaccessible.

    The goal remains the same as the original commit where this was
    introduced but unfortunately had the logic backwards.

    Fixes: 59c7c3caaaf8 ("nvme: fix possible hang when ns scanning fails during error recovery")
    Reported-by: Keith Busch
    Signed-off-by: Sagi Grimberg
    Reviewed-by: Keith Busch
    Signed-off-by: Christoph Hellwig

    Sagi Grimberg
     
  • amd-drm-fixes-5.8-2020-07-01:

    amdgpu:
    - Fix for vega20 boards without RAS support
    - DC bandwidth revalidation fix
    - Fix Renoir vram info fetching
    - Fix hwmon freq printing

    Signed-off-by: Dave Airlie
    From: Alex Deucher
    Link: https://patchwork.freedesktop.org/patch/msgid/20200701194415.4065-1-alexander.deucher@amd.com

    Dave Airlie
     
  • drm/i915 fixes for v5.8-rc4:
    - GVT fixes
    - Include asm sources for render cache clear batches

    Signed-off-by: Dave Airlie
    From: Jani Nikula
    Link: https://patchwork.freedesktop.org/patch/msgid/87imf7l6ee.fsf@intel.com

    Dave Airlie
     
  • Pull hyperv fix from Wei Liu:
    "One patch from Joseph to make panic reporting contain more useful
    information"

    * tag 'hyperv-fixes-signed' of git://git.kernel.org/pub/scm/linux/kernel/git/hyperv/linux:
    Drivers: hv: Change flag to write log level in panic msg to false

    Linus Torvalds