1. 15 Aug, 2023 1 commit
  2. 13 Aug, 2023 1 commit
    • Samin Guo's avatar
      riscv: dts: starfive: jh7110: Fix GMAC configuration · f331eb1f
      Samin Guo authored
      Fixed configuration to improve the speed of TCP RX.
      
      Before:
        # iperf3 -s
        -----------------------------------------------------------
        Server listening on 5201 (test #1)
        -----------------------------------------------------------
        Accepted connection from 192.168.1.4, port 47604
        [  5] local 192.168.1.3 port 5201 connected to 192.168.1.4 port 47612
        [ ID] Interval           Transfer     Bitrate
        [  5]   0.00-1.00   sec  36.3 MBytes   305 Mbits/sec
        [  5]   1.00-2.00   sec  35.6 MBytes   299 Mbits/sec
        [  5]   2.00-3.00   sec  36.5 MBytes   306 Mbits/sec
        [  5]   3.00-4.00   sec  36.5 MBytes   306 Mbits/sec
        [  5]   4.00-5.00   sec  35.7 MBytes   300 Mbits/sec
        [  5]   5.00-6.00   sec  35.4 MBytes   297 Mbits/sec
        [  5]   6.00-7.00   sec  37.1 MBytes   311 Mbits/sec
        [  5]   7.00-8.00   sec  35.6 MBytes   298 Mbits/sec
        [  5]   8.00-9.00   sec  36.4 MBytes   305 Mbits/sec
        [  5]   9.00-10.00  sec  36.3 MBytes   304 Mbits/sec
        - - - - - - - - - - - - - - - - - - - - - - - - -
        [ ID] Interval           Transfer     Bitrate
        [  5]   0.00-10.00  sec   361 MBytes   303 Mbits/sec        receiver
      
      After:
        # iperf3 -s
        -----------------------------------------------------------
        Server listening on 5201 (test #1)
        -----------------------------------------------------------
        Accepted connection from 192.168.1.4, port 47710
        [  5] local 192.168.1.3 port 5201 connected to 192.168.1.4 port 47720
        [ ID] Interval           Transfer     Bitrate
        [  5]   0.00-1.00   sec   111 MBytes   932 Mbits/sec
        [  5]   1.00-2.00   sec   111 MBytes   934 Mbits/sec
        [  5]   2.00-3.00   sec   111 MBytes   934 Mbits/sec
        [  5]   3.00-4.00   sec   111 MBytes   934 Mbits/sec
        [  5]   4.00-5.00   sec   111 MBytes   934 Mbits/sec
        [  5]   5.00-6.00   sec   111 MBytes   935 Mbits/sec
        [  5]   6.00-7.00   sec   111 MBytes   934 Mbits/sec
        [  5]   7.00-8.00   sec   111 MBytes   935 Mbits/sec
        [  5]   8.00-9.00   sec   111 MBytes   934 Mbits/sec
        [  5]   9.00-10.00  sec   111 MBytes   934 Mbits/sec
        [  5]  10.00-10.00  sec   167 KBytes   933 Mbits/sec
        - - - - - - - - - - - - - - - - - - - - - - - - -
        [ ID] Interval           Transfer     Bitrate
        [  5]   0.00-10.00  sec  1.09 GBytes   934 Mbits/sec        receiver
      Reviewed-by: default avatarHal Feng <hal.feng@starfivetech.com>
      Signed-off-by: default avatarSamin Guo <samin.guo@starfivetech.com>
      Fixes: 1ff166c9 ("riscv: dts: starfive: jh7110: Add ethernet device nodes")
      Reviewed-by: default avatarEmil Renner Berthing <emil.renner.berthing@canonical.com>
      [conor: converted to decimal per emil's request]
      Signed-off-by: default avatarConor Dooley <conor.dooley@microchip.com>
      f331eb1f
  3. 09 Aug, 2023 4 commits
  4. 05 Aug, 2023 1 commit
  5. 26 Jul, 2023 5 commits
  6. 25 Jul, 2023 3 commits
  7. 20 Jul, 2023 6 commits
  8. 19 Jul, 2023 6 commits
  9. 12 Jul, 2023 1 commit
  10. 09 Jul, 2023 10 commits
  11. 08 Jul, 2023 2 commits
    • Hugh Dickins's avatar
      mm: lock newly mapped VMA with corrected ordering · 1c7873e3
      Hugh Dickins authored
      Lockdep is certainly right to complain about
      
        (&vma->vm_lock->lock){++++}-{3:3}, at: vma_start_write+0x2d/0x3f
                       but task is already holding lock:
        (&mapping->i_mmap_rwsem){+.+.}-{3:3}, at: mmap_region+0x4dc/0x6db
      
      Invert those to the usual ordering.
      
      Fixes: 33313a74 ("mm: lock newly mapped VMA which can be modified after it becomes visible")
      Cc: stable@vger.kernel.org
      Signed-off-by: default avatarHugh Dickins <hughd@google.com>
      Tested-by: default avatarSuren Baghdasaryan <surenb@google.com>
      Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
      1c7873e3
    • Linus Torvalds's avatar
      Merge tag 'mm-hotfixes-stable-2023-07-08-10-43' of... · 946c6b59
      Linus Torvalds authored
      Merge tag 'mm-hotfixes-stable-2023-07-08-10-43' of git://git.kernel.org/pub/scm/linux/kernel/git/akpm/mm
      
      Pull hotfixes from Andrew Morton:
       "16 hotfixes. Six are cc:stable and the remainder address post-6.4
        issues"
      
      The merge undoes the disabling of the CONFIG_PER_VMA_LOCK feature, since
      it was all hopefully fixed in mainline.
      
      * tag 'mm-hotfixes-stable-2023-07-08-10-43' of git://git.kernel.org/pub/scm/linux/kernel/git/akpm/mm:
        lib: dhry: fix sleeping allocations inside non-preemptable section
        kasan, slub: fix HW_TAGS zeroing with slub_debug
        kasan: fix type cast in memory_is_poisoned_n
        mailmap: add entries for Heiko Stuebner
        mailmap: update manpage link
        bootmem: remove the vmemmap pages from kmemleak in free_bootmem_page
        MAINTAINERS: add linux-next info
        mailmap: add Markus Schneider-Pargmann
        writeback: account the number of pages written back
        mm: call arch_swap_restore() from do_swap_page()
        squashfs: fix cache race with migration
        mm/hugetlb.c: fix a bug within a BUG(): inconsistent pte comparison
        docs: update ocfs2-devel mailing list address
        MAINTAINERS: update ocfs2-devel mailing list address
        mm: disable CONFIG_PER_VMA_LOCK until its fixed
        fork: lock VMAs of the parent process when forking
      946c6b59