1. 23 Jul, 2024 3 commits
  2. 11 Jul, 2024 4 commits
    • Catalin Marinas's avatar
      Merge branch 'for-next/vcpu-hotplug' into for-next/core · 4f3a6c4d
      Catalin Marinas authored
      * for-next/vcpu-hotplug: (21 commits)
        : arm64 support for virtual CPU hotplug (ACPI)
        irqchip/gic-v3: Fix 'broken_rdists' unused warning when !SMP and !ACPI
        arm64: Kconfig: Fix dependencies to enable ACPI_HOTPLUG_CPU
        cpumask: Add enabled cpumask for present CPUs that can be brought online
        arm64: document virtual CPU hotplug's expectations
        arm64: Kconfig: Enable hotplug CPU on arm64 if ACPI_PROCESSOR is enabled.
        arm64: arch_register_cpu() variant to check if an ACPI handle is now available.
        arm64: psci: Ignore DENIED CPUs
        irqchip/gic-v3: Add support for ACPI's disabled but 'online capable' CPUs
        irqchip/gic-v3: Don't return errors from gic_acpi_match_gicc()
        arm64: acpi: Harden get_cpu_for_acpi_id() against missing CPU entry
        arm64: acpi: Move get_cpu_for_acpi_id() to a header
        ACPI: Add post_eject to struct acpi_scan_handler for cpu hotplug
        ACPI: scan: switch to flags for acpi_scan_check_and_detach()
        ACPI: processor: Register deferred CPUs from acpi_processor_get_info()
        ACPI: processor: Add acpi_get_processor_handle() helper
        ACPI: processor: Move checks and availability of acpi_processor earlier
        ACPI: processor: Fix memory leaks in error paths of processor_add()
        ACPI: processor: Return an error if acpi_processor_get_info() fails in processor_add()
        ACPI: processor: Drop duplicated check on _STA (enabled + present)
        cpu: Do not warn on arch_register_cpu() returning -EPROBE_DEFER
        ...
      4f3a6c4d
    • Catalin Marinas's avatar
      Merge branches 'for-next/cpufeature', 'for-next/misc', 'for-next/kselftest',... · 3346c566
      Catalin Marinas authored
      Merge branches 'for-next/cpufeature', 'for-next/misc', 'for-next/kselftest', 'for-next/mte', 'for-next/errata', 'for-next/acpi', 'for-next/gic-v3-pmr' and 'for-next/doc', remote-tracking branch 'arm64/for-next/perf' into for-next/core
      
      * arm64/for-next/perf:
        perf: add missing MODULE_DESCRIPTION() macros
        perf: arm_pmuv3: Include asm/arm_pmuv3.h from linux/perf/arm_pmuv3.h
        perf: arm_v6/7_pmu: Drop non-DT probe support
        perf/arm: Move 32-bit PMU drivers to drivers/perf/
        perf: arm_pmuv3: Drop unnecessary IS_ENABLED(CONFIG_ARM64) check
        perf: arm_pmuv3: Avoid assigning fixed cycle counter with threshold
        perf: imx_perf: add support for i.MX95 platform
        perf: imx_perf: fix counter start and config sequence
        perf: imx_perf: refactor driver for imx93
        perf: imx_perf: let the driver manage the counter usage rather the user
        perf: imx_perf: add macro definitions for parsing config attr
        dt-bindings: perf: fsl-imx-ddr: Add i.MX95 compatible
        perf: pmuv3: Add new Cortex and Neoverse PMUs
        dt-bindings: arm: pmu: Add new Cortex and Neoverse cores
        perf/arm-cmn: Enable support for tertiary match group
        perf/arm-cmn: Decouple wp_config registers from filter group number
      
      * for-next/cpufeature:
        : Various cpufeature infrastructure patches
        arm64/cpufeature: Replace custom macros with fields from ID_AA64PFR0_EL1
        KVM: arm64: Replace custom macros with fields from ID_AA64PFR0_EL1
        arm64/cpufeatures/kvm: Add ARMv8.9 FEAT_ECBHB bits in ID_AA64MMFR1 register
      
      * for-next/misc:
        : Miscellaneous patches
        arm64: smp: Fix missing IPI statistics
        arm64: Cleanup __cpu_set_tcr_t0sz()
        arm64/mm: Stop using ESR_ELx_FSC_TYPE during fault
        arm64: Kconfig: fix typo in __builtin_return_adddress
        ARM64: reloc_test: add missing MODULE_DESCRIPTION() macro
        arm64: implement raw_smp_processor_id() using thread_info
        arm64/arch_timer: include <linux/percpu.h>
      
      * for-next/kselftest:
        : arm64 kselftest updates
        selftests: arm64: tags: remove the result script
        selftests: arm64: tags_test: conform test to TAP output
        kselftest/arm64: Fix a couple of spelling mistakes
        kselftest/arm64: Fix redundancy of a testcase
        kselftest/arm64: Include kernel mode NEON in fp-stress
      
      * for-next/mte:
        : MTE updates
        arm64: mte: Make mte_check_tfsr_*() conditional on KASAN instead of MTE
      
      * for-next/errata:
        : Arm CPU errata workarounds
        arm64: errata: Expand speculative SSBS workaround
        arm64: errata: Unify speculative SSBS errata logic
        arm64: cputype: Add Cortex-X925 definitions
        arm64: cputype: Add Cortex-A720 definitions
        arm64: cputype: Add Cortex-X3 definitions
      
      * for-next/acpi:
        : arm64 ACPI patches
        ACPI: Add acpi=nospcr to disable ACPI SPCR as default console on ARM64
        ACPI / amba: Drop unnecessary check for registered amba_dummy_clk
        arm64: FFH: Move ACPI specific code into drivers/acpi/arm64/
        arm64: cpuidle: Move ACPI specific code into drivers/acpi/arm64/
        ACPI: arm64: Sort entries alphabetically
      
      * for-next/gic-v3-pmr:
        : arm64: irqchip/gic-v3: Use compiletime constant PMR values
        arm64: irqchip/gic-v3: Select priorities at boot time
        irqchip/gic-v3: Detect GICD_CTRL.DS and SCR_EL3.FIQ earlier
        irqchip/gic-v3: Make distributor priorities variables
        irqchip/gic-common: Remove sync_access callback
        wordpart.h: Add REPEAT_BYTE_U32()
      
      * for-next/doc:
        : arm64 documentation updates
        Documentation: arm64: Update memory.rst for TBI
      3346c566
    • Muhammad Usama Anjum's avatar
      selftests: arm64: tags: remove the result script · 6e3bc73b
      Muhammad Usama Anjum authored
      The run_tags_test.sh script is used to run tags_test and print out if
      the test succeeded or failed. As tags_test has been TAP conformed, this
      script is unneeded and hence can be removed.
      Signed-off-by: default avatarMuhammad Usama Anjum <usama.anjum@collabora.com>
      Link: https://lore.kernel.org/r/20240602132502.4186771-2-usama.anjum@collabora.comSigned-off-by: default avatarCatalin Marinas <catalin.marinas@arm.com>
      6e3bc73b
    • Muhammad Usama Anjum's avatar
      selftests: arm64: tags_test: conform test to TAP output · 9de9c4cc
      Muhammad Usama Anjum authored
      Conform the layout, informational and status messages to TAP. No
      functional change is intended other than the layout of output messages.
      Signed-off-by: default avatarMuhammad Usama Anjum <usama.anjum@collabora.com>
      Link: https://lore.kernel.org/r/20240602132502.4186771-1-usama.anjum@collabora.comSigned-off-by: default avatarCatalin Marinas <catalin.marinas@arm.com>
      9de9c4cc
  3. 10 Jul, 2024 1 commit
    • Jeff Johnson's avatar
      perf: add missing MODULE_DESCRIPTION() macros · 42bebc7c
      Jeff Johnson authored
      With ARCH=x86, make allmodconfig && make W=1 C=1 reports:
      WARNING: modpost: missing MODULE_DESCRIPTION() in drivers/perf/arm-ccn.o
      WARNING: modpost: missing MODULE_DESCRIPTION() in drivers/perf/fsl_imx8_ddr_perf.o
      WARNING: modpost: missing MODULE_DESCRIPTION() in drivers/perf/marvell_cn10k_ddr_pmu.o
      WARNING: modpost: missing MODULE_DESCRIPTION() in drivers/perf/arm_cspmu/arm_cspmu_module.o
      WARNING: modpost: missing MODULE_DESCRIPTION() in drivers/perf/arm_cspmu/nvidia_cspmu.o
      WARNING: modpost: missing MODULE_DESCRIPTION() in drivers/perf/arm_cspmu/ampere_cspmu.o
      WARNING: modpost: missing MODULE_DESCRIPTION() in drivers/perf/cxl_pmu.o
      
      Add the missing invocation of the MODULE_DESCRIPTION() macro to all
      files which have a MODULE_LICENSE().
      
      This includes drivers/perf/hisilicon/hisi_uncore_pmu.c which, although
      it did not produce a warning with the x86 allmodconfig configuration,
      may cause this warning with arm64 configurations.
      Signed-off-by: default avatarJeff Johnson <quic_jjohnson@quicinc.com>
      Link: https://lore.kernel.org/r/20240709-md-drivers-perf-v3-1-513275b75ed0@quicinc.comSigned-off-by: default avatarWill Deacon <will@kernel.org>
      42bebc7c
  4. 08 Jul, 2024 1 commit
    • Jinjie Ruan's avatar
      arm64: smp: Fix missing IPI statistics · 916b93f4
      Jinjie Ruan authored
      commit 83cfac95 ("genirq: Allow interrupts to be excluded from
      /proc/interrupts") is to avoid IPIs appear twice in /proc/interrupts.
      But the commit 331a1b3a ("arm64: smp: Add arch support for backtrace
      using pseudo-NMI") and commit 2f5cd0c7("arm64: kgdb: Implement
      kgdb_roundup_cpus() to enable pseudo-NMI roundup") set CPU_BACKTRACE and
      KGDB_ROUNDUP IPIs "IRQ_HIDDEN" flag but not show them in
      arch_show_interrupts(), which cause the interrupt kstat_irqs accounting
      is missing in display.
      
      Before this patch, CPU_BACKTRACE and KGDB_ROUNDUP IPIs are missing:
      	/ # cat /proc/interrupts
      	           CPU0       CPU1       CPU2       CPU3
      	 11:        466        600        309        332     GICv3  27 Level     arch_timer
      	 13:         24          0          0          0     GICv3  33 Level     uart-pl011
      	 15:         64          0          0          0     GICv3  78 Edge      virtio0
      	 16:          0          0          0          0     GICv3  79 Edge      virtio1
      	 17:          0          0          0          0     GICv3  34 Level     rtc-pl031
      	 18:          3          3          3          3     GICv3  23 Level     arm-pmu
      	 19:          0          0          0          0 9030000.pl061   3 Edge      GPIO Key Poweroff
      	IPI0:         7         14          9         26       Rescheduling interrupts
      	IPI1:       354         93        233        255       Function call interrupts
      	IPI2:         0          0          0          0       CPU stop interrupts
      	IPI3:         0          0          0          0       CPU stop (for crash dump) interrupts
      	IPI4:         0          0          0          0       Timer broadcast interrupts
      	IPI5:         1          0          0          0       IRQ work interrupts
      	Err:          0
      
      After this pacth, CPU_BACKTRACE and KGDB_ROUNDUP IPIs are displayed:
      	/ # cat /proc/interrupts
      	           CPU0       CPU1       CPU2       CPU3
      	 11:        393        281        532        449     GICv3  27 Level     arch_timer
      	 13:         15          0          0          0     GICv3  33 Level     uart-pl011
      	 15:         64          0          0          0     GICv3  78 Edge      virtio0
      	 16:          0          0          0          0     GICv3  79 Edge      virtio1
      	 17:          0          0          0          0     GICv3  34 Level     rtc-pl031
      	 18:          2          2          2          2     GICv3  23 Level     arm-pmu
      	 19:          0          0          0          0 9030000.pl061   3 Edge      GPIO Key Poweroff
      	IPI0:        11         19          4         23       Rescheduling interrupts
      	IPI1:       279        347        222         72       Function call interrupts
      	IPI2:         0          0          0          0       CPU stop interrupts
      	IPI3:         0          0          0          0       CPU stop (for crash dump) interrupts
      	IPI4:         0          0          0          0       Timer broadcast interrupts
      	IPI5:         1          0          0          1       IRQ work interrupts
      	IPI6:         0          0          0          0       CPU backtrace interrupts
      	IPI7:         0          0          0          0       KGDB roundup interrupts
      	Err:          0
      
      Fixes: 331a1b3a ("arm64: smp: Add arch support for backtrace using pseudo-NMI")
      Signed-off-by: default avatarJinjie Ruan <ruanjinjie@huawei.com>
      Suggested-by: default avatarDoug Anderson <dianders@chromium.org>
      Acked-by: default avatarWill Deacon <will@kernel.org>
      Reviewed-by: default avatarDouglas Anderson <dianders@chromium.org>
      Link: https://lore.kernel.org/r/20240620063600.573559-1-ruanjinjie@huawei.comSigned-off-by: default avatarCatalin Marinas <catalin.marinas@arm.com>
      916b93f4
  5. 05 Jul, 2024 1 commit
  6. 04 Jul, 2024 4 commits
  7. 03 Jul, 2024 5 commits
  8. 01 Jul, 2024 11 commits
  9. 28 Jun, 2024 10 commits