1. 01 Nov, 2021 16 commits
  2. 31 Oct, 2021 7 commits
  3. 30 Oct, 2021 6 commits
  4. 29 Oct, 2021 11 commits
    • 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
    • Alexandre Ghiti's avatar
      riscv: Fix asan-stack clang build · 54c5639d
      Alexandre Ghiti authored
      Nathan reported that because KASAN_SHADOW_OFFSET was not defined in
      Kconfig, it prevents asan-stack from getting disabled with clang even
      when CONFIG_KASAN_STACK is disabled: fix this by defining the
      corresponding config.
      Reported-by: default avatarNathan Chancellor <nathan@kernel.org>
      Signed-off-by: default avatarAlexandre Ghiti <alexandre.ghiti@canonical.com>
      Fixes: 8ad8b727 ("riscv: Add KASAN support")
      Cc: stable@vger.kernel.org
      Signed-off-by: default avatarPalmer Dabbelt <palmerdabbelt@google.com>
      54c5639d
    • Alexandre Ghiti's avatar
      riscv: Do not re-populate shadow memory with kasan_populate_early_shadow · cf11d011
      Alexandre Ghiti authored
      When calling this function, all the shadow memory is already populated
      with kasan_early_shadow_pte which has PAGE_KERNEL protection.
      kasan_populate_early_shadow write-protects the mapping of the range
      of addresses passed in argument in zero_pte_populate, which actually
      write-protects all the shadow memory mapping since kasan_early_shadow_pte
      is used for all the shadow memory at this point. And then when using
      memblock API to populate the shadow memory, the first write access to the
      kernel stack triggers a trap. This becomes visible with the next commit
      that contains a fix for asan-stack.
      
      We already manually populate all the shadow memory in kasan_early_init
      and we write-protect kasan_early_shadow_pte at the end of kasan_init
      which makes the calls to kasan_populate_early_shadow superfluous so
      we can remove them.
      Signed-off-by: default avatarAlexandre Ghiti <alexandre.ghiti@canonical.com>
      Fixes: e178d670 ("riscv/kasan: add KASAN_VMALLOC support")
      Fixes: 8ad8b727 ("riscv: Add KASAN support")
      Cc: stable@vger.kernel.org
      Signed-off-by: default avatarPalmer Dabbelt <palmerdabbelt@google.com>
      cf11d011
    • Steven Rostedt (VMware)'s avatar
      tracing: Fix misspelling of "missing" · ddcf906f
      Steven Rostedt (VMware) authored
      My snake instinct was on and I wrote "misssing" instead of "missing".
      Signed-off-by: default avatarSteven Rostedt (VMware) <rostedt@goodmis.org>
      ddcf906f
    • Steven Rostedt (VMware)'s avatar
      ftrace: Fix kernel-doc formatting issues · 6130722f
      Steven Rostedt (VMware) authored
      Some functions had kernel-doc that used a comma instead of a hash to
      separate the function name from the one line description.
      
      Also, the "ftrace_is_dead()" had an incomplete description.
      Signed-off-by: default avatarSteven Rostedt (VMware) <rostedt@goodmis.org>
      6130722f