Forum | Documentation | Website | Blog

Skip to content
Snippets Groups Projects
  1. Mar 04, 2021
    • Steven Rostedt (VMware)'s avatar
      tracing: Fix comment about the trace_event_call flags · f9f34447
      Steven Rostedt (VMware) authored
      
      In the declaration of the struct trace_event_call, the flags has the bits
      defined in the comment above it. But these bits are also defined by the
      TRACE_EVENT_FL_* enums just above the declaration of the struct. As the
      comment about the flags in the struct has become stale and incorrect, just
      replace it with a reference to the TRACE_EVENT_FL_* enum above.
      
      Signed-off-by: default avatarSteven Rostedt (VMware) <rostedt@goodmis.org>
      f9f34447
    • Steven Rostedt (VMware)'s avatar
      tracing: Skip selftests if tracing is disabled · ee666a18
      Steven Rostedt (VMware) authored
      
      If tracing is disabled for some reason (traceoff_on_warning, command line,
      etc), the ftrace selftests are guaranteed to fail, as their results are
      defined by trace data in the ring buffers. If the ring buffers are turned
      off, the tests will fail, due to lack of data.
      
      Because tracing being disabled is for a specific reason (warning, user
      decided to, etc), it does not make sense to enable tracing to run the self
      tests, as the test output may corrupt the reason for the tracing to be
      disabled.
      
      Instead, simply skip the self tests and report that they are being skipped
      due to tracing being disabled.
      
      Signed-off-by: default avatarSteven Rostedt (VMware) <rostedt@goodmis.org>
      ee666a18
    • Vamshi K Sthambamkadi's avatar
      tracing: Fix memory leak in __create_synth_event() · f40fc799
      Vamshi K Sthambamkadi authored
      kmemleak report:
      unreferenced object 0xc5a6f708 (size 8):
        comm "ftracetest", pid 1209, jiffies 4294911500 (age 6.816s)
        hex dump (first 8 bytes):
          00 c1 3d 60 14 83 1f 8a                          ..=`....
        backtrace:
          [<f0aa4ac4>] __kmalloc_track_caller+0x2a6/0x460
          [<7d3d60a6>] kstrndup+0x37/0x70
          [<45a0e739>] argv_split+0x1c/0x120
          [<c17982f8>] __create_synth_event+0x192/0xb00
          [<0708b8a3>] create_synth_event+0xbb/0x150
          [<3d1941e1>] create_dyn_event+0x5c/0xb0
          [<5cf8b9e3>] trace_parse_run_command+0xa7/0x140
          [<04deb2ef>] dyn_event_write+0x10/0x20
          [<8779ac95>] vfs_write+0xa9/0x3c0
          [<ed93722a>] ksys_write+0x89/0xc0
          [<b9ca0507>] __ia32_sys_write+0x15/0x20
          [<7ce02d85>] __do_fast_syscall_32+0x45/0x80
          [<cb0ecb35>] do_fast_syscall_32+0x29/0x60
          [<2467454a>] do_SYSENTER_32+0x15/0x20
          [<9beaa61d>] entry_SYSENTER_32+0xa9/0xfc
      unreferenced object 0xc5a6f078 (size 8):
        comm "ftracetest", pid 1209, jiffies 4294911500 (age 6.816s)
        hex dump (first 8 bytes):
          08 f7 a6 c5 00 00 00 00                          ........
        backtrace:
          [<bbac096a>] __kmalloc+0x2b6/0x470
          [<aa2624b4>] argv_split+0x82/0x120
          [<c17982f8>] __create_synth_event+0x192/0xb00
          [<0708b8a3>] create_synth_event+0xbb/0x150
          [<3d1941e1>] create_dyn_event+0x5c/0xb0
          [<5cf8b9e3>] trace_parse_run_command+0xa7/0x140
          [<04deb2ef>] dyn_event_write+0x10/0x20
          [<8779ac95>] vfs_write+0xa9/0x3c0
          [<ed93722a>] ksys_write+0x89/0xc0
          [<b9ca0507>] __ia32_sys_write+0x15/0x20
          [<7ce02d85>] __do_fast_syscall_32+0x45/0x80
          [<cb0ecb35>] do_fast_syscall_32+0x29/0x60
          [<2467454a>] do_SYSENTER_32+0x15/0x20
          [<9beaa61d>] entry_SYSENTER_32+0xa9/0xfc
      
      In __create_synth_event(), while iterating field/type arguments, the
      argv_split() will return array of atleast 2 elements even when zero
      arguments(argc=0) are passed. for e.g. when there is double delimiter
      or string ends with delimiter
      
      To fix call argv_free() even when argc=0.
      
      Link: https://lkml.kernel.org/r/20210304094521.GA1826@cosmos
      
      
      
      Signed-off-by: default avatarVamshi K Sthambamkadi <vamshi.k.sthambamkadi@gmail.com>
      Signed-off-by: default avatarSteven Rostedt (VMware) <rostedt@goodmis.org>
      f40fc799
    • Steven Rostedt (VMware)'s avatar
      ring-buffer: Add a little more information and a WARN when time stamp going backwards is detected · 6549de1f
      Steven Rostedt (VMware) authored
      
      When the CONFIG_RING_BUFFER_VALIDATE_TIME_DELTAS is enabled, and the time
      stamps are detected as not being valid, it reports information about the
      write stamp, but does not show the before_stamp which is still useful
      information. Also, it should give a warning once, such that tests detect
      this happening.
      
      Signed-off-by: default avatarSteven Rostedt (VMware) <rostedt@goodmis.org>
      6549de1f
    • Steven Rostedt (VMware)'s avatar
      ring-buffer: Force before_stamp and write_stamp to be different on discard · 6f6be606
      Steven Rostedt (VMware) authored
      Part of the logic of the new time stamp code depends on the before_stamp and
      the write_stamp to be different if the write_stamp does not match the last
      event on the buffer, as it will be used to calculate the delta of the next
      event written on the buffer.
      
      The discard logic depends on this, as the next event to come in needs to
      inject a full timestamp as it can not rely on the last event timestamp in
      the buffer because it is unknown due to events after it being discarded. But
      by changing the write_stamp back to the time before it, it forces the next
      event to use a full time stamp, instead of relying on it.
      
      The issue came when a full time stamp was used for the event, and
      rb_time_delta() returns zero in that case. The update to the write_stamp
      (which subtracts delta) made it not change. Then when the event is removed
      from the buffer, because the before_stamp and write_stamp still match, the
      next event written would calculate its delta from the write_stamp, but that
      would be wrong as the write_stamp is of the time of the event that was
      discarded.
      
      In the case that the delta change being made to write_stamp is zero, set the
      before_stamp to zero as well, and this will force the next event to inject a
      full timestamp and not use the current write_stamp.
      
      Cc: stable@vger.kernel.org
      Fixes: a389d86f
      
       ("ring-buffer: Have nested events still record running time stamp")
      Signed-off-by: default avatarSteven Rostedt (VMware) <rostedt@goodmis.org>
      6f6be606
    • Rolf Eike Beer's avatar
      69268094
    • Yordan Karadzhov (VMware)'s avatar
      tracing: Remove duplicate declaration from trace.h · 70d443d8
      Yordan Karadzhov (VMware) authored
      A declaration of function "int trace_empty(struct trace_iterator *iter)"
      shows up twice in the header file kernel/trace/trace.h
      
      Link: https://lkml.kernel.org/r/20210304092348.208033-1-y.karadz@gmail.com
      
      
      
      Signed-off-by: default avatarYordan Karadzhov (VMware) <y.karadz@gmail.com>
      Signed-off-by: default avatarSteven Rostedt (VMware) <rostedt@goodmis.org>
      70d443d8
  2. Mar 02, 2021
  3. Feb 28, 2021
    • Linus Torvalds's avatar
      Linux 5.12-rc1 · fe07bfda
      Linus Torvalds authored
    • Linus Torvalds's avatar
      Merge tag 'ide-5.11-2021-02-28' of git://git.kernel.dk/linux-block · d346da4a
      Linus Torvalds authored
      Pull ide fix from Jens Axboe:
       "This is a leftover fix from 5.11, where I forgot to ship it your way"
      
      * tag 'ide-5.11-2021-02-28' of git://git.kernel.dk/linux-block:
        ide/falconide: Fix module unload
      d346da4a
    • Linus Torvalds's avatar
      Merge tag 'kbuild-fixes-v5.12' of... · 06d5d309
      Linus Torvalds authored
      Merge tag 'kbuild-fixes-v5.12' of git://git.kernel.org/pub/scm/linux/kernel/git/masahiroy/linux-kbuild
      
      Pull Kbuild fixes from Masahiro Yamada:
      
       - Fix UNUSED_KSYMS_WHITELIST for Clang LTO
      
       - Make -s builds really silent irrespective of V= option
      
       - Fix build error when SUBLEVEL or PATCHLEVEL is empty
      
      * tag 'kbuild-fixes-v5.12' of git://git.kernel.org/pub/scm/linux/kernel/git/masahiroy/linux-kbuild:
        kbuild: Fix <linux/version.h> for empty SUBLEVEL or PATCHLEVEL again
        kbuild: make -s option take precedence over V=1
        ia64: remove redundant READELF from arch/ia64/Makefile
        kbuild: do not include include/config/auto.conf from adjust_autoksyms.sh
        kbuild: fix UNUSED_KSYMS_WHITELIST for Clang LTO
        kbuild: lto: add _mcount to list of used symbols
      06d5d309
    • Linus Torvalds's avatar
      Merge tag 'csky-for-linus-5.12-rc1' of git://github.com/c-sky/csky-linux · cd278456
      Linus Torvalds authored
      Pull arch/csky updates from Guo Ren:
       "Features:
         - add new memory layout 2.5G(user):1.5G(kernel)
         - add kmemleak support
         - reconstruct VDSO framework: add VDSO with GENERIC_GETTIMEOFDAY,
           GENERIC_TIME_VSYSCALL, HAVE_GENERIC_VDSO
         - add faulthandler_disabled() check
         - support (fix) swapon
         - add (fix) _PAGE_ACCESSED for default pgprot
         - abort uaccess retries upon fatal signal (from arm)
      
        Fixes and optimizations:
         - fix perf probe failure
         - fix show_regs doesn't contain regs->usp
         - remove custom asm/atomic.h implementation
         - fix barrier design
         - fix futex SMP implementation
         - fix asm/cmpxchg.h with correct ordering barrier
         - cleanup asm/spinlock.h
         - fix PTE global for 2.5:1.5 virtual memory
         - remove prologue of page fault handler in entry.S
         - fix TLB maintenance synchronization problem
         - add show_tlb for CPU_CK860 debug
         - fix FAULT_FLAG_XXX param for handle_mm_fault
         - fix update_mmu_cache called with user io mapping
         - fix do_page_fault parent irq status
         - fix a size determination in gpr_get()
         - pgtable.h: Coding convention
         - kprobe: Fix code in simulate without 'long'
         - fix pfn_valid error with wrong max_mapnr
         - use free_initmem_default() in free_initmem()
         - fix compile error"
      
      * tag 'csky-for-linus-5.12-rc1' of git://github.com/c-sky/csky-linux: (30 commits)
        csky: Fixup compile error
        csky: use free_initmem_default() in free_initmem()
        csky: Fixup pfn_valid error with wrong max_mapnr
        csky: Add VDSO with GENERIC_GETTIMEOFDAY, GENERIC_TIME_VSYSCALL, HAVE_GENERIC_VDSO
        csky: kprobe: Fixup code in simulate without 'long'
        csky: Fixup swapon
        csky: pgtable.h: Coding convention
        csky: Fixup _PAGE_ACCESSED for default pgprot
        csky: remove unused including <linux/version.h>
        csky: Fix a size determination in gpr_get()
        csky: Reconstruct VDSO framework
        csky: mm: abort uaccess retries upon fatal signal
        csky: Sync riscv mm/fault.c for easy maintenance
        csky: Fixup do_page_fault parent irq status
        csky: Add faulthandler_disabled() check
        csky: Fixup update_mmu_cache called with user io mapping
        csky: Fixup FAULT_FLAG_XXX param for handle_mm_fault
        csky: Add show_tlb for CPU_CK860 debug
        csky: Fix TLB maintenance synchronization problem
        csky: Add kmemleak support
        ...
      cd278456
    • Linus Torvalds's avatar
      Merge tag 'riscv-for-linus-5.12-mw1' of git://git.kernel.org/pub/scm/linux/kernel/git/riscv/linux · 7d19ea5e
      Linus Torvalds authored
      Pull more RISC-V updates from Palmer Dabbelt:
       "A pair of patches that slipped through the cracks:
      
         - enable CPU hotplug in the defconfigs
      
         - some cleanups to setup_bootmem
      
        There's also a single fix for some randconfig build failures:
      
         - make NUMA depend on SMP"
      
      * tag 'riscv-for-linus-5.12-mw1' of git://git.kernel.org/pub/scm/linux/kernel/git/riscv/linux:
        riscv: Cleanup setup_bootmem()
        RISC-V: Enable CPU Hotplug in defconfigs
        RISC-V: Make NUMA depend on SMP
      7d19ea5e
    • Linus Torvalds's avatar
      Merge tag 'scsi-misc' of git://git.kernel.org/pub/scm/linux/kernel/git/jejb/scsi · 0b311e34
      Linus Torvalds authored
      Pull more SCSI updates from James Bottomley:
       "This is a few driver updates (iscsi, mpt3sas) that were still in the
        staging queue when the merge window opened (all committed on or before
        8 Feb) and some small bug fixes which came in during the merge window
        (all committed on 22 Feb)"
      
      * tag 'scsi-misc' of git://git.kernel.org/pub/scm/linux/kernel/git/jejb/scsi: (30 commits)
        scsi: hpsa: Correct dev cmds outstanding for retried cmds
        scsi: sd: Fix Opal support
        scsi: target: tcmu: Fix memory leak caused by wrong uio usage
        scsi: target: tcmu: Move some functions without code change
        scsi: sd: sd_zbc: Don't pass GFP_NOIO to kvcalloc
        scsi: aic7xxx: Remove unused function pointer typedef ahc_bus_suspend/resume_t
        scsi: bnx2fc: Fix Kconfig warning & CNIC build errors
        scsi: ufs: Fix a duplicate dev quirk number
        scsi: aic79xx: Fix spelling of version
        scsi: target: core: Prevent underflow for service actions
        scsi: target: core: Add cmd length set before cmd complete
        scsi: iscsi: Drop session lock in iscsi_session_chkready()
        scsi: qla4xxx: Use iscsi_is_session_online()
        scsi: libiscsi: Reset max/exp cmdsn during recovery
        scsi: iscsi_tcp: Fix shost can_queue initialization
        scsi: libiscsi: Add helper to calculate max SCSI cmds per session
        scsi: libiscsi: Fix iSCSI host workq destruction
        scsi: libiscsi: Fix iscsi_task use after free()
        scsi: libiscsi: Drop taskqueuelock
        scsi: libiscsi: Fix iscsi_prep_scsi_cmd_pdu() error handling
        ...
      0b311e34
    • Linus Torvalds's avatar
      Merge tag 'xfs-5.12-merge-6' of git://git.kernel.org/pub/scm/fs/xfs/xfs-linux · 03dc748b
      Linus Torvalds authored
      Pull more xfs updates from Darrick Wong:
       "The most notable fix here prevents premature reuse of freed metadata
        blocks, and adding the ability to detect accidental nested
        transactions, which are not allowed here.
      
         - Restore a disused sysctl control knob that was inadvertently
           dropped during the merge window to avoid fstests regressions.
      
         - Don't speculatively release freed blocks from the busy list until
           we're actually allocating them, which fixes a rare log recovery
           regression.
      
         - Don't nest transactions when scanning for free space.
      
         - Add an idiot^Wmaintainer light to detect nested transactions. ;)"
      
      * tag 'xfs-5.12-merge-6' of git://git.kernel.org/pub/scm/fs/xfs/xfs-linux:
        xfs: use current->journal_info for detecting transaction recursion
        xfs: don't nest transactions when scanning for eofblocks
        xfs: don't reuse busy extents on extent trim
        xfs: restore speculative_cow_prealloc_lifetime s...
      03dc748b
    • Linus Torvalds's avatar
      Merge tag 'block-5.12-2021-02-27' of git://git.kernel.dk/linux-block · 3ab6608e
      Linus Torvalds authored
      Pull more block updates from Jens Axboe:
       "A few stragglers (and one due to me missing it originally), and fixes
        for changes in this merge window mostly. In particular:
      
         - blktrace cleanups (Chaitanya, Greg)
      
         - Kill dead blk_pm_* functions (Bart)
      
         - Fixes for the bio alloc changes (Christoph)
      
         - Fix for the partition changes (Christoph, Ming)
      
         - Fix for turning off iopoll with polled IO inflight (Jeffle)
      
         - nbd disconnect fix (Josef)
      
         - loop fsync error fix (Mauricio)
      
         - kyber update depth fix (Yang)
      
         - max_sectors alignment fix (Mikulas)
      
         - Add bio_max_segs helper (Matthew)"
      
      * tag 'block-5.12-2021-02-27' of git://git.kernel.dk/linux-block: (21 commits)
        block: Add bio_max_segs
        blktrace: fix documentation for blk_fill_rw()
        block: memory allocations in bounce_clone_bio must not fail
        block: remove the gfp_mask argument to bounce_clone_bio
        block: fix bounce_clone_bio for passthrough bios
        block-cry...
      3ab6608e
    • Masahiro Yamada's avatar
      kbuild: Fix <linux/version.h> for empty SUBLEVEL or PATCHLEVEL again · 207da4c8
      Masahiro Yamada authored
      Commit 78d3bb44 ("kbuild: Fix <linux/version.h> for empty SUBLEVEL
      or PATCHLEVEL") fixed the build error for empty SUBLEVEL or PATCHLEVEL
      by prepending a zero.
      
      Commit 9b82f13e ("kbuild: clamp SUBLEVEL to 255") re-introduced
      this issue.
      
      This time, we cannot take the same approach because we have C code:
      
        #define LINUX_VERSION_PATCHLEVEL $(PATCHLEVEL)
        #define LINUX_VERSION_SUBLEVEL $(SUBLEVEL)
      
      Replace empty SUBLEVEL/PATCHLEVEL with a zero.
      
      Fixes: 9b82f13e
      
       ("kbuild: clamp SUBLEVEL to 255")
      Reported-by: default avatarChristian Zigotzky <chzigotzky@xenosoft.de>
      Signed-off-by: default avatarMasahiro Yamada <masahiroy@kernel.org>
      Reviewed-and-tested-by: default avatarSasha Levin <sashal@kernel.org>
      207da4c8
    • Masahiro Yamada's avatar
      kbuild: make -s option take precedence over V=1 · 22149454
      Masahiro Yamada authored
      
      'make -s' should be really silent. However, 'make -s V=1' prints noisy
      log messages from some shell scripts.
      
      Of course, such a combination is odd, but the build system needs to do
      the right thing even if a user gives strange input.
      
      If -s is given, KBUILD_VERBOSE should be forced to 0.
      
      Signed-off-by: default avatarMasahiro Yamada <masahiroy@kernel.org>
      22149454
    • Masahiro Yamada's avatar
      ia64: remove redundant READELF from arch/ia64/Makefile · ad7953e7
      Masahiro Yamada authored
      
      READELF is defined by the top Makefile.
      
      Signed-off-by: default avatarMasahiro Yamada <masahiroy@kernel.org>
      ad7953e7
    • Masahiro Yamada's avatar
      kbuild: do not include include/config/auto.conf from adjust_autoksyms.sh · 12e9dea6
      Masahiro Yamada authored
      Commit cd195bc4 ("kbuild: split adjust_autoksyms.sh in two parts")
      split out the code that needs include/config/auto.conf.
      
      This script no longer needs to include include/config/auto.conf.
      
      Fixes: cd195bc4
      
       ("kbuild: split adjust_autoksyms.sh in two parts")
      Signed-off-by: default avatarMasahiro Yamada <masahiroy@kernel.org>
      12e9dea6
    • Masahiro Yamada's avatar
      kbuild: fix UNUSED_KSYMS_WHITELIST for Clang LTO · a6aaeb84
      Masahiro Yamada authored
      Commit fbe078d3 ("kbuild: lto: add a default list of used symbols")
      does not work as expected if the .config file has already specified
      CONFIG_UNUSED_KSYMS_WHITELIST="my/own/white/list" before enabling
      CONFIG_LTO_CLANG.
      
      So, the user-supplied whitelist and LTO-specific white list must be
      independent of each other.
      
      I refactored the shell script so CONFIG_MODVERSIONS and CONFIG_CLANG_LTO
      handle whitelists in the same way.
      
      Fixes: fbe078d3
      
       ("kbuild: lto: add a default list of used symbols")
      Signed-off-by: default avatarMasahiro Yamada <masahiroy@kernel.org>
      Tested-by: default avatarSedat Dilek <sedat.dilek@gmail.com>
      a6aaeb84
  4. Feb 27, 2021
  5. Feb 26, 2021
    • Matthew Wilcox (Oracle)'s avatar
      block: Add bio_max_segs · 5f7136db
      Matthew Wilcox (Oracle) authored
      
      It's often inconvenient to use BIO_MAX_PAGES due to min() requiring the
      sign to be the same.  Introduce bio_max_segs() and change BIO_MAX_PAGES to
      be unsigned to make it easier for the users.
      
      Reviewed-by: default avatarChaitanya Kulkarni <chaitanya.kulkarni@wdc.com>
      Signed-off-by: default avatarMatthew Wilcox (Oracle) <willy@infradead.org>
      Signed-off-by: default avatarJens Axboe <axboe@kernel.dk>
      5f7136db
    • Linus Torvalds's avatar
      Merge tag 'docs-5.12-2' of git://git.lwn.net/linux · 3fb6d0e0
      Linus Torvalds authored
      Pull documentation fixes from Jonathan Corbet:
       "A handful of late-arriving documentation fixes, nothing all that
        notable"
      
      * tag 'docs-5.12-2' of git://git.lwn.net/linux:
        docs: proc.rst: fix indentation warning
        Documentation: cgroup-v2: fix path to example BPF program
        docs: powerpc: Fix tables in syscall64-abi.rst
        Documentation: features: refresh feature list
        Documentation: features: remove c6x references
        docs: ABI: testing: ima_policy: Fixed missing bracket
        Fix unaesthetic indentation
        scripts: kernel-doc: fix array element capture in pointer-to-func parsing
        doc: use KCFLAGS instead of EXTRA_CFLAGS to pass flags from command line
        Documentation: proc.rst: add more about the 6 fields in loadavg
      3fb6d0e0
    • Linus Torvalds's avatar
      Merge tag 'for-linus' of git://github.com/openrisc/linux · a3905af5
      Linus Torvalds authored
      Pull OpenRISC updates from Stafford Horne:
      
       - Update for Litex SoC controller to support wider width registers as
         well as reset.
      
       - Refactor SMP code to use device tree to define possible cpus.
      
       - Update build including generating vmlinux.bin
      
      * tag 'for-linus' of git://github.com/openrisc/linux:
        openrisc: Use devicetree to determine present cpus
        drivers/soc/litex: Add restart handler
        openrisc: add arch/openrisc/Kbuild
        drivers/soc/litex: make 'litex_[set|get]_reg()' methods private
        drivers/soc/litex: support 32-bit subregisters, 64-bit CPUs
        drivers/soc/litex: s/LITEX_REG_SIZE/LITEX_SUBREG_ALIGN/g
        drivers/soc/litex: separate MMIO from subregister offset calculation
        drivers/soc/litex: move generic accessors to litex.h
        openrisc: restart: Call common handlers before hanging
        openrisc: Add vmlinux.bin target
      a3905af5
    • Linus Torvalds's avatar
      Merge tag 's390-5.12-2' of git://git.kernel.org/pub/scm/linux/kernel/git/s390/linux · e7270e47
      Linus Torvalds authored
      Pull more s390 updates from Vasily Gorbik:
      
       - Fix physical vs virtual confusion in some basic mm macros and
         routines. Caused by __pa == __va on s390 currently.
      
       - Get rid of on-stack cpu masks.
      
       - Add support for complete CPU counter set extraction.
      
       - Add arch_irq_work_raise implementation.
      
       - virtio-ccw revision and opcode fixes.
      
      * tag 's390-5.12-2' of git://git.kernel.org/pub/scm/linux/kernel/git/s390/linux:
        s390/cpumf: Add support for complete counter set extraction
        virtio/s390: implement virtio-ccw revision 2 correctly
        s390/smp: implement arch_irq_work_raise()
        s390/topology: move cpumasks away from stack
        s390/smp: smp_emergency_stop() - move cpumask away from stack
        s390/smp: __smp_rescan_cpus() - move cpumask away from stack
        s390/smp: consolidate locking for smp_rescan()
        s390/mm: fix phys vs virt confusion in vmem_*() functions family
        s390/mm: fix phys vs virt confusion in pgtable allocation routines
        s390/mm: fix invalid __pa() usage in pfn_pXd() macros
        s390/mm: make pXd_deref() macros return a pointer
        s390/opcodes: rename selhhhr to selfhr
      e7270e47
    • Linus Torvalds's avatar
      Merge tag '5.12-smb3-part1' of git://git.samba.org/sfrench/cifs-2.6 · c19798af
      Linus Torvalds authored
      Pull cifs updates from Steve French:
      
       - improvements to mode bit conversion, chmod and chown when using
         cifsacl mount option
      
       - two new mount options for controlling attribute caching
      
       - improvements to crediting and reconnect, improved debugging
      
       - reconnect fix
      
       - add SMB3.1.1 dialect to default dialects for vers=3
      
      * tag '5.12-smb3-part1' of git://git.samba.org/sfrench/cifs-2.6: (27 commits)
        cifs: update internal version number
        cifs: use discard iterator to discard unneeded network data more efficiently
        cifs: introduce helper for finding referral server to improve DFS target resolution
        cifs: check all path components in resolved dfs target
        cifs: fix DFS failover
        cifs: fix nodfs mount option
        cifs: fix handling of escaped ',' in the password mount argument
        cifs: Add new parameter "acregmax" for distinct file and directory metadata timeout
        cifs: convert revalidate of directories to using directory metadata cache timeout
        cifs: Add new mount parameter "acdirmax" to allow caching directory metadata
        cifs: If a corrupted DACL is returned by the server, bail out.
        cifs: minor simplification to smb2_is_network_name_deleted
        TCON Reconnect during STATUS_NETWORK_NAME_DELETED
        cifs: cleanup a few le16 vs. le32 uses in cifsacl.c
        cifs: Change SIDs in ACEs while transferring file ownership.
        cifs: Retain old ACEs when converting between mode bits and ACL.
        cifs: Fix cifsacl ACE mask for group and others.
        cifs: clarify hostname vs ip address in /proc/fs/cifs/DebugData
        cifs: change confusing field serverName (to ip_addr)
        cifs: Fix inconsistent IS_ERR and PTR_ERR
        ...
      c19798af