Skip to content
  1. Nov 12, 2021
  2. Nov 06, 2021
  3. Nov 01, 2021
  4. Oct 31, 2021
  5. Oct 30, 2021
    • Avri Altman's avatar
      scsi: ufs: ufshpb: Remove HPB2.0 flows · 09d9e4d0
      Avri Altman authored
      The Host Performance Buffer feature allows UFS read commands to carry the
      physical media addresses along with the LBAs, thus allowing less internal
      L2P-table switches in the device.  HPB1.0 allowed a single LBA, while
      HPB2.0 increases this capacity up to 255 blocks.
      
      Carrying more than a single record, the read operation is no longer purely
      of type "read" but a "hybrid" command: Writing the physical address to the
      device in one operation and reading back the required payload in another.
      
      The JEDEC HPB spec defines two commands for this operation:
      HPB-WRITE-BUFFER (0x2) to write the physical addresses to device, and
      HPB-READ to read the payload.
      
      With the current HPB design the UFS driver has no alternative but to divide
      the READ request into 2 separate commands: HPB-WRITE-BUFFER and HPB-READ.
      This causes a great deal of aggravation to the block layer guys who
      demanded that we completely revert the entire HPB driver regardless of the
      huge amount of corporate effort already invested in it.
      
      As a compromise, remove only the pieces that implement the 2.0
      specification. This is done as a matter of urgency for the final 5.15
      release.
      
      Link: https://lore.kernel.org/r/20211030062301.248-1-avri.altman@wdc.com
      
      
      Tested-by: default avatarAvri Altman <avri.altman@wdc.com>
      Tested-by: default avatarBean Huo <beanhuo@micron.com>
      Reviewed-by: default avatarBart Van Assche <bvanassche@acm.org>
      Reviewed-by: default avatarBean Huo <beanhuo@micron.com>
      Co-developed-by: default avatarJames Bottomley <James.Bottomley@HansenPartnership.com>
      Signed-off-by: default avatarJames Bottomley <James.Bottomley@HansenPartnership.com>
      Signed-off-by: default avatarAvri Altman <avri.altman@wdc.com>
      Signed-off-by: default avatarMartin K. Petersen <martin.petersen@oracle.com>
      09d9e4d0
    • Linus Torvalds's avatar
      Merge tag 'powerpc-5.15-6' of git://git.kernel.org/pub/scm/linux/kernel/git/powerpc/linux · 119c8505
      Linus Torvalds authored
      Pull powerpc fixes from Michael Ellerman:
       "Three commits fixing some issues introduced with the recent IOMMU
        changes we merged.
      
        Thanks to Alexey Kardashevskiy"
      
      * tag 'powerpc-5.15-6' of git://git.kernel.org/pub/scm/linux/kernel/git/powerpc/linux:
        powerpc/pseries/iommu: Create huge DMA window if no MMIO32 is present
        powerpc/pseries/iommu: Check if the default window in use before removing it
        powerpc/pseries/iommu: Use correct vfree for it_map
      119c8505
    • Linus Torvalds's avatar
      Merge tag 'gpio-fixes-for-v5.15' of git://git.kernel.org/pub/scm/linux/kernel/git/brgl/linux · db2398a5
      Linus Torvalds authored
      Pull gpio fixes from Bartosz Golaszewski:
      
       - fix the return value check when parsing the ngpios property in
         gpio-xgs-iproc
      
       - check the return value of bgpio_init() in gpio-mlxbf2
      
      * tag 'gpio-fixes-for-v5.15' of git://git.kernel.org/pub/scm/linux/kernel/git/brgl/linux:
        gpio: mlxbf2.c: Add check for bgpio_init failure
        gpio: xgs-iproc: fix parsing of ngpios property
      db2398a5
    • Linus Torvalds's avatar
      Merge tag 'block-5.15-2021-10-29' of git://git.kernel.dk/linux-block · a379fbbc
      Linus Torvalds authored
      Pull block fixes from Jens Axboe:
      
       - NVMe pull request:
            - fix nvmet-tcp header digest verification (Amit Engel)
            - fix a memory leak in nvmet-tcp when releasing a queue (Maurizio
              Lombardi)
            - fix nvme-tcp H2CData PDU send accounting again (Sagi Grimberg)
            - fix digest pointer calculation in nvme-tcp and nvmet-tcp (Varun
              Prakash)
            - fix possible nvme-tcp req->offset corruption (Varun Prakash)
      
       - Queue drain ordering fix (Ming)
      
       - Partition check regression for zoned devices (Shin'ichiro)
      
       - Zone queue restart fix (Naohiro)
      
      * tag 'block-5.15-2021-10-29' of git://git.kernel.dk/linux-block:
        block: Fix partition check for host-aware zoned block devices
        nvmet-tcp: fix header digest verification
        nvmet-tcp: fix data digest pointer calculation
        nvme-tcp: fix data digest pointer calculation
        nvme-tcp: fix possible req->offset corruption
        block: schedule queue restart after BLK_STS_ZONE_RESOURCE
        block: drain queue after disk is removed from sysfs
        nvme-tcp: fix H2CData PDU send accounting (again)
        nvmet-tcp: fix a memory leak when releasing a queue
      a379fbbc
    • Martin K. Petersen's avatar
      scsi: mpt3sas: Fix reference tag handling for WRITE_INSERT · 61a9f252
      Martin K. Petersen authored
      Testing revealed a problem with how the reference tag was handled for
      a WRITE_INSERT operation. The SCSI_PROT_REF_CHECK flag is not set when
      the controller is asked to generate the protection information
      (i.e. not DIX). And as a result the initial reference tag would not be
      set in the WRITE_INSERT case.
      
      Separate handling of the REF_CHECK and REF_INCREMENT flags to align
      with both the DIX spec and the MPI implementation.
      
      Link: https://lore.kernel.org/r/20211028034202.24225-1-martin.petersen@oracle.com
      
      
      Fixes: b3e2c72a ("scsi: mpt3sas: Use the proper SCSI midlayer interfaces for PI")
      Signed-off-by: default avatarMartin K. Petersen <martin.petersen@oracle.com>
      61a9f252
    • Linus Torvalds's avatar
      Merge tag 'mmc-v5.15-rc5' of git://git.kernel.org/pub/scm/linux/kernel/git/ulfh/mmc · 17d50f89
      Linus Torvalds authored
      Pull MMC fixes from Ulf Hansson:
      
       - tmio: Re-enable card irqs after a reset
      
       - mtk-sd: Fixup probing of cqhci for crypto
      
       - cqhci: Fix support for suspend/resume
      
       - vub300: Fix control-message timeouts
      
       - dw_mmc-exynos: Fix support for tuning
      
       - winbond: Silences build errors on M68K
      
       - sdhci-esdhc-imx: Fix support for tuning
      
       - sdhci-pci: Read card detect from ACPI for Intel Merrifield
      
       - sdhci: Fix eMMC support for Thundercomm TurboX CM2290
      
      * tag 'mmc-v5.15-rc5' of git://git.kernel.org/pub/scm/linux/kernel/git/ulfh/mmc:
        mmc: tmio: reenable card irqs after the reset callback
        mmc: mediatek: Move cqhci init behind ungate clock
        mmc: cqhci: clear HALT state after CQE enable
        mmc: vub300: fix control-message timeouts
        mmc: dw_mmc: exynos: fix the finding clock sample value
        mmc: winbond: don't build on M68K
        mmc: sdhci-esdhc-imx: clear the buffer_read_ready to reset standard tuning circuit
        mmc: sdhci-pci: Read card detect from ACPI for Intel Merrifield
        mmc: sdhci: Map more voltage level to SDHCI_POWER_330
      17d50f89
    • Linus Torvalds's avatar
      Merge tag 'for-5.15-rc7-tag' of git://git.kernel.org/pub/scm/linux/kernel/git/kdave/linux · fd919bbd
      Linus Torvalds authored
      Pull btrfs fixes from David Sterba:
       "Last minute fixes for crash on 32bit architectures when compression is
        in use. It's a regression introduced in 5.15-rc and I'd really like
        not let this into the final release, fixes via stable trees would add
        unnecessary delay.
      
        The problem is on 32bit architectures with highmem enabled, the pages
        for compression may need to be kmapped, while the patches removed that
        as we don't use GFP_HIGHMEM allocations anymore. The pages that don't
        come from local allocation still may be from highmem. Despite being on
        32bit there's enough such ARM machines in use so it's not a marginal
        issue.
      
        I did full reverts of the patches one by one instead of a huge one.
        There's one exception for the "lzo" revert as there was an
        intermediate patch touching the same code to make it compatible with
        subpage. I can't revert that one too, so the revert in lzo.c is
        manual. Qu Wenruo has worked on that with me and verified the changes"
      
      * tag 'for-5.15-rc7-tag' of git://git.kernel.org/pub/scm/linux/kernel/git/kdave/linux:
        Revert "btrfs: compression: drop kmap/kunmap from lzo"
        Revert "btrfs: compression: drop kmap/kunmap from zlib"
        Revert "btrfs: compression: drop kmap/kunmap from zstd"
        Revert "btrfs: compression: drop kmap/kunmap from generic helpers"
      fd919bbd
    • Linus Torvalds's avatar
      Merge tag 'trace-v5.15-rc6-3' of git://git.kernel.org/pub/scm/linux/kernel/git/rostedt/linux-trace · 6f115212
      Linus Torvalds authored
      Pull tracing comment fixes from Steven Rostedt:
      
       - Some bots have informed me that some of the ftrace functions
         kernel-doc has formatting issues.
      
       - Also, fix my snake instinct.
      
      * tag 'trace-v5.15-rc6-3' of git://git.kernel.org/pub/scm/linux/kernel/git/rostedt/linux-trace:
        tracing: Fix misspelling of "missing"
        ftrace: Fix kernel-doc formatting issues
      6f115212
    • Linus Torvalds's avatar
      Merge branch 'linus' of git://git.kernel.org/pub/scm/linux/kernel/git/herbert/crypto-2.6 · 75c7a6c1
      Linus Torvalds authored
      Pull crypto fix from Herbert Xu:
       "Fix a build-time warning in x86/sm4"
      
      * 'linus' of git://git.kernel.org/pub/scm/linux/kernel/git/herbert/crypto-2.6:
        crypto: x86/sm4 - Fix invalid section entry size
      75c7a6c1
    • Linus Torvalds's avatar
      Merge branch 'akpm' (patches from Andrew) · 2c04d67e
      Linus Torvalds authored
      Merge misc fixes from Andrew Morton:
       "11 patches.
      
        Subsystems affected by this patch series: mm (memcg, memory-failure,
        oom-kill, secretmem, vmalloc, hugetlb, damon, and tools), and ocfs2"
      
      * emailed patches from Andrew Morton <akpm@linux-foundation.org>:
        tools/testing/selftests/vm/split_huge_page_test.c: fix application of sizeof to pointer
        mm/damon/core-test: fix wrong expectations for 'damon_split_regions_of()'
        mm: khugepaged: skip huge page collapse for special files
        mm, thp: bail out early in collapse_file for writeback page
        mm/vmalloc: fix numa spreading for large hash tables
        mm/secretmem: avoid letting secretmem_users drop to zero
        ocfs2: fix race between searching chunks and release journal_head from buffer_head
        mm/oom_kill.c: prevent a race between process_mrelease and exit_mmap
        mm: filemap: check if THP has hwpoisoned subpage for PMD page fault
        mm: hwpoison: remove the unnecessary THP check
        memcg: page_alloc: skip bulk allocator for __GFP_ACCOUNT
      2c04d67e