1. 28 Apr, 2024 1 commit
  2. 19 Apr, 2024 23 commits
  3. 12 Apr, 2024 1 commit
    • Yicong Yang's avatar
      arm64: arm_pmuv3: Correctly extract and check the PMUVer · b782e8d0
      Yicong Yang authored
      Currently we're using "sbfx" to extract the PMUVer from ID_AA64DFR0_EL1
      and skip the init/reset if no PMU present when the extracted PMUVer is
      negative or is zero. However for PMUv3p8 the PMUVer will be 0b1000 and
      PMUVer extracted by "sbfx" will always be negative and we'll skip the
      init/reset in __init_el2_debug/reset_pmuserenr_el0 unexpectedly.
      
      So this patch use "ubfx" instead of "sbfx" to extract the PMUVer. If
      the PMUVer is implementation defined (0b1111) or not implemented(0b0000)
      then skip the reset/init. Previously we'll also skip the init/reset
      if the PMUVer is higher than the version we known (currently PMUv3p9),
      with this patch we'll only skip if the PMU is not implemented or
      implementation defined. This keeps consistence with how we probe
      the PMU in the driver with pmuv3_implemented().
      Signed-off-by: default avatarYicong Yang <yangyicong@hisilicon.com>
      Link: https://lore.kernel.org/r/20240411123030.7201-1-yangyicong@huawei.comSigned-off-by: default avatarWill Deacon <will@kernel.org>
      b782e8d0
  4. 10 Apr, 2024 1 commit
  5. 09 Apr, 2024 12 commits
  6. 07 Apr, 2024 2 commits
    • Linus Torvalds's avatar
      Linux 6.9-rc3 · fec50db7
      Linus Torvalds authored
      fec50db7
    • Linus Torvalds's avatar
      Merge tag 'x86-urgent-2024-04-07' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip · 9fe30842
      Linus Torvalds authored
      Pull x86 fixes from Ingo Molnar:
      
       - Fix MCE timer reinit locking
      
       - Fix/improve CoCo guest random entropy pool init
      
       - Fix SEV-SNP late disable bugs
      
       - Fix false positive objtool build warning
      
       - Fix header dependency bug
      
       - Fix resctrl CPU offlining bug
      
      * tag 'x86-urgent-2024-04-07' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip:
        x86/retpoline: Add NOENDBR annotation to the SRSO dummy return thunk
        x86/mce: Make sure to grab mce_sysfs_mutex in set_bank()
        x86/CPU/AMD: Track SNP host status with cc_platform_*()
        x86/cc: Add cc_platform_set/_clear() helpers
        x86/kvm/Kconfig: Have KVM_AMD_SEV select ARCH_HAS_CC_PLATFORM
        x86/coco: Require seeding RNG with RDRAND on CoCo systems
        x86/numa/32: Include missing <asm/pgtable_areas.h>
        x86/resctrl: Fix uninitialized memory read when last CPU of domain goes offline
      9fe30842