1. 05 May, 2021 14 commits
    • Linus Torvalds's avatar
      Merge branch 'turbostat' of git://git.kernel.org/pub/scm/linux/kernel/git/lenb/linux · d8cb379c
      Linus Torvalds authored
      Pull turbostat updates from Len Brown:
       "Bug fixes and a smattering of features"
      
      * 'turbostat' of git://git.kernel.org/pub/scm/linux/kernel/git/lenb/linux: (21 commits)
        tools/power turbostat: version 2021.05.04
        tools/power turbostat: Support "turbostat --hide idle"
        tools/power turbostat: elevate priority of interval mode
        tools/power turbostat: formatting
        tools/power turbostat: rename tcc variables
        tools/power turbostat: add TCC Offset support
        tools/power turbostat: save original CPU model
        tools/power turbostat: Fix Core C6 residency on Atom CPUs
        tools/power turbostat: Print the C-state Pre-wake settings
        tools/power turbostat: Enable tsc_tweak for Elkhart Lake and Jasper Lake
        tools/power turbostat: unmark non-kernel-doc comment
        tools/power/turbostat: Remove Package C6 Retention on Ice Lake Server
        tools/power turbostat: Fix offset overflow issue in index converting
        tools/power/turbostat: Fix turbostat for AMD Zen CPUs
        tools/power turbostat: update version number
        tools/power turbostat: Fix DRAM Energy Unit on SKX
        Revert "tools/power turbostat: adjust for temperature offset"
        tools/power turbostat: Support Ice Lake D
        tools/power turbostat: Support Alder Lake Mobile
        tools/power turbostat: print microcode patch level
        ...
      d8cb379c
    • Linus Torvalds's avatar
      Merge tag 'ktest-v5.13' of git://git.kernel.org/pub/scm/linux/kernel/git/rostedt/linux-ktest · dd8c86c6
      Linus Torvalds authored
      Pull ktest updates from Steven Rostedt:
      
       - Added a KTEST section in the MAINTAINERS file
      
       - Included John Hawley as a co-maintainer
      
       - Add an example config that would work with VMware workstation guests
      
       - Cleanups to the code
      
      * tag 'ktest-v5.13' of git://git.kernel.org/pub/scm/linux/kernel/git/rostedt/linux-ktest:
        ktest: Add KTEST section to MAINTAINERS file
        ktest: Re-arrange the code blocks for better discoverability
        ktest: Further consistency cleanups
        ktest: Fixing indentation to match expected pattern
        ktest: Adding editor hints to improve consistency
        ktest: Add example config for using VMware VMs
        ktest: Minor cleanup with uninitialized variable $build_options
      dd8c86c6
    • Linus Torvalds's avatar
      Merge tag 'safesetid-5.13' of git://github.com/micah-morton/linux · d29c9bb0
      Linus Torvalds authored
      Pull SafeSetID update from Micah Morton:
       "Simple code cleanup
      
        This just has a single three-line code cleanup to eliminate some
        unnecessary 'break' statements"
      
      * tag 'safesetid-5.13' of git://github.com/micah-morton/linux:
        LSM: SafeSetID: Fix code specification by scripts/checkpatch.pl
      d29c9bb0
    • Linus Torvalds's avatar
      Merge tag 'for-linus-5.13-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/rw/uml · d665ea6e
      Linus Torvalds authored
      Pull UML updates from Richard Weinberger:
      
       - Disable CONFIG_GCOV when built with modules
      
       - Many fixes for W=1 related warnings
      
       - Code cleanup
      
      * tag 'for-linus-5.13-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/rw/uml:
        um: Fix W=1 missing-include-dirs warnings
        um: elf.h: Fix W=1 warning for empty body in 'do' statement
        um: pgtable.h: Fix W=1 warning for empty body in 'do' statement
        um: Remove unused including <linux/version.h>
        um: Add 2 missing libs to fix various build errors
        um: Replace if (cond) BUG() with BUG_ON()
        um: Disable CONFIG_GCOV with MODULES
        um: Remove unneeded variable 'ret'
        um: Mark all kernel symbols as local
        um: Fix tag order in stub_32.h
      d665ea6e
    • Linus Torvalds's avatar
      Merge tag 'for-linus-5.13-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/rw/ubifs · 51f62944
      Linus Torvalds authored
      Pull JFFS2, UBI and UBIFS updates from Richard Weinberger:
       "JFFS2:
         - Use splice_write()
         - Fix for a slab-out-of-bounds bug
      
        UBI:
         - Fix for clang related warnings
         - Code cleanup
      
        UBIFS:
         - Fix for inode rebirth at replay
         - Set s_uuid
         - Use zstd for default filesystem"
      
      * tag 'for-linus-5.13-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/rw/ubifs:
        ubi: Remove unnecessary struct declaration
        jffs2: Hook up splice_write callback
        jffs2: avoid Wempty-body warnings
        jffs2: Fix kasan slab-out-of-bounds problem
        ubi: Fix fall-through warnings for Clang
        ubifs: Report max LEB count at mount time
        ubifs: Set s_uuid in super block to support ima/evm uuid options
        ubifs: Default to zstd compression
        ubifs: Only check replay with inode type to judge if inode linked
      51f62944
    • Linus Torvalds's avatar
      Merge tag 'f2fs-for-5.13-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/jaegeuk/f2fs · d0195c7d
      Linus Torvalds authored
      Pull f2fs updates from Jaegeuk Kim:
       "In this round, we added a new mount option, "checkpoint_merge", which
        introduces a kernel thread dealing with the f2fs checkpoints. Once we
        start to manage the IO priority along with blk-cgroup, the checkpoint
        operation can be processed in a lower priority under the process
        context. Since the checkpoint holds all the filesystem operations, we
        give a higher priority to the checkpoint thread all the time.
      
        Enhancements:
         - introduce gc_merge mount option to introduce a checkpoint thread
         - improve to run discard thread efficiently
         - allow modular compression algorithms
         - expose # of overprivision segments to sysfs
         - expose runtime compression stat to sysfs
      
        Bug fixes:
         - fix OOB memory access by the node id lookup
         - avoid touching checkpointed data in the checkpoint-disabled mode
         - fix the resizing flow to avoid kernel panic and race conditions
         - fix block allocation issues on pinned files
         - address some swapfile issues
         - fix hugtask problem and kernel panic during atomic write operations
         - don't start checkpoint thread in RO
      
        And, we've cleaned up some kernel coding style and build warnings. In
        addition, we fixed some minor race conditions and error handling
        routines"
      
      * tag 'f2fs-for-5.13-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/jaegeuk/f2fs: (48 commits)
        f2fs: drop inplace IO if fs status is abnormal
        f2fs: compress: remove unneed check condition
        f2fs: clean up left deprecated IO trace codes
        f2fs: avoid using native allocate_segment_by_default()
        f2fs: remove unnecessary struct declaration
        f2fs: fix to avoid NULL pointer dereference
        f2fs: avoid duplicated codes for cleanup
        f2fs: document: add description about compressed space handling
        f2fs: clean up build warnings
        f2fs: fix the periodic wakeups of discard thread
        f2fs: fix to avoid accessing invalid fio in f2fs_allocate_data_block()
        f2fs: fix to avoid GC/mmap race with f2fs_truncate()
        f2fs: set checkpoint_merge by default
        f2fs: Fix a hungtask problem in atomic write
        f2fs: fix to restrict mount condition on readonly block device
        f2fs: introduce gc_merge mount option
        f2fs: fix to cover __allocate_new_section() with curseg_lock
        f2fs: fix wrong alloc_type in f2fs_do_replace_block
        f2fs: delete empty compress.h
        f2fs: fix a typo in inode.c
        ...
      d0195c7d
    • Len Brown's avatar
      tools/power turbostat: version 2021.05.04 · 3c070b2a
      Len Brown authored
      Signed-off-by: default avatarLen Brown <len.brown@intel.com>
      3c070b2a
    • Len Brown's avatar
      tools/power turbostat: Support "turbostat --hide idle" · b60c573d
      Len Brown authored
      As idle, in particular, can have many columns on some machines...
      Make it easy to ignore them all at once.
      Signed-off-by: default avatarLen Brown <len.brown@intel.com>
      b60c573d
    • Len Brown's avatar
      tools/power turbostat: elevate priority of interval mode · 38c6663a
      Len Brown authored
      This makes interval mode less likely to see delayed
      results on a heavily loaded system.
      Signed-off-by: default avatarLen Brown <len.brown@intel.com>
      38c6663a
    • Len Brown's avatar
      tools/power turbostat: formatting · 1b439f01
      Len Brown authored
      Spring is here...
      run a long overdue Lendent on turbostat.c
      
      no functional change
      Signed-off-by: default avatarLen Brown <len.brown@intel.com>
      1b439f01
    • Zhang Rui's avatar
      tools/power turbostat: rename tcc variables · 55279aef
      Zhang Rui authored
      There are two TCC activation temeprature.
      One is the default TCC activation temperature, also known as TJ_MAX.
      Another one is the effective TCC activation temperature, which is the
      subtraction of default TCC activation temperature and TCC offset.
      
      The name of variable tcc_activation_temp might be misleading here.
      Thus rename tcc_activation_temp to tj_max, and use tcc_default and
      tcc_offset to calculate the effective TCC activation temperature.
      
      No functional change in this patch.
      Signed-off-by: default avatarZhang Rui <rui.zhang@intel.com>
      Signed-off-by: default avatarLen Brown <len.brown@intel.com>
      55279aef
    • Zhang Rui's avatar
      tools/power turbostat: add TCC Offset support · 0b9a0b9b
      Zhang Rui authored
      The length of TCC Offset bits varies on different platforms.
      Decode TCC Offset bits only for the platforms that we have verified.
      For the others, only show default TCC activation temperature.
      Signed-off-by: default avatarZhang Rui <rui.zhang@intel.com>
      Signed-off-by: default avatarLen Brown <len.brown@intel.com>
      0b9a0b9b
    • Zhang Rui's avatar
      tools/power turbostat: save original CPU model · e9d3092f
      Zhang Rui authored
      CPU model may get changed in intel_model_duplicates() for code reuse.
      But there are still some cases we need the original CPU model to handle
      minor differences between generations.
      
      Thus save the original CPU model.
      Signed-off-by: default avatarZhang Rui <rui.zhang@intel.com>
      Signed-off-by: default avatarLen Brown <len.brown@intel.com>
      e9d3092f
    • Zhang Rui's avatar
      tools/power turbostat: Fix Core C6 residency on Atom CPUs · 7ab5ff49
      Zhang Rui authored
      For Atom CPUs that have core cstate deeper than C6,
      MSR_CORE_C6_RESIDENCY actually returns the residency for both CC6 and
      deeper Core cstates.
      Thus, the real Core C6 residency should be the subtraction of
      MSR_CORE_C6_RESIDENCY return value and MSR_CORE_C6_RESIDENCY return value.
      Signed-off-by: default avatarZhang Rui <rui.zhang@intel.com>
      Signed-off-by: default avatarLen Brown <len.brown@intel.com>
      7ab5ff49
  2. 04 May, 2021 20 commits
  3. 03 May, 2021 6 commits