[PATCH] hrtimer:Add get_hrtimer_cpu_base()

2024-03-12 Thread Enlin Mu
From: Enlin Mu On the Arm platform,arch_timer may occur irq strom, By using the next_timer of hrtimer_cpu_base, it is possible to quickly locate abnormal timers. As it is an out of tree modules,the function needs to be exproted. Signed-off-by: Enlin Mu --- include/linux/hrtimer.h | 1 + kernel

Re: [PATCH 2/2] gcc-plugins: disable plugins when gmp.h is unavailable

2024-03-12 Thread Masahiro Yamada
On Wed, Mar 13, 2024 at 6:53 AM Kees Cook wrote: > > On Tue, Mar 12, 2024 at 04:03:30PM +0100, Thomas Weißschuh wrote: > > The header gmp.h is meant to be picked up from the host system. > > > > When it is unavailable the plugin build fails: > > > > In file included from > > ../crosstools/gcc-13.

Re: [PATCH v2][next] net/smc: Avoid -Wflex-array-member-not-at-end warnings

2024-03-12 Thread Jakub Kicinski
On Tue, 12 Mar 2024 11:55:19 -0600 Gustavo A. R. Silva wrote: > -Wflex-array-member-not-at-end is coming in GCC-14, and we are getting > ready to enable it globally. ## Form letter - net-next-closed The merge window for v6.9 has begun and we have already posted our pull request. Therefore net-nex

Re: [GIT PULL] pstore updates for v6.9-rc1

2024-03-12 Thread pr-tracker-bot
The pull request you sent on Mon, 11 Mar 2024 16:32:30 -0700: > https://git.kernel.org/pub/scm/linux/kernel/git/kees/linux.git > tags/pstore-v6.9-rc1 has been merged into torvalds/linux.git: https://git.kernel.org/torvalds/c/41cb8c332bb904cd2108250075d195e060e1fdc7 Thank you! -- Deet-doot-dot

Re: [PATCH 2/2] gcc-plugins: disable plugins when gmp.h is unavailable

2024-03-12 Thread Kees Cook
On Tue, Mar 12, 2024 at 04:03:30PM +0100, Thomas Weißschuh wrote: > The header gmp.h is meant to be picked up from the host system. > > When it is unavailable the plugin build fails: > > In file included from > ../crosstools/gcc-13.2.0-nolibc/i386-linux/bin/../lib/gcc/i386-linux/13.2.0/plugin/in

[PATCH v2][next] net/smc: Avoid -Wflex-array-member-not-at-end warnings

2024-03-12 Thread Gustavo A. R. Silva
-Wflex-array-member-not-at-end is coming in GCC-14, and we are getting ready to enable it globally. There are currently a couple of objects in `struct smc_clc_msg_proposal_area` that contain a couple of flexible structures: struct smc_clc_msg_proposal_area { ... struct smc_clc_v2_

[PATCH 2/2] gcc-plugins: disable plugins when gmp.h is unavailable

2024-03-12 Thread Thomas Weißschuh
The header gmp.h is meant to be picked up from the host system. When it is unavailable the plugin build fails: In file included from ../crosstools/gcc-13.2.0-nolibc/i386-linux/bin/../lib/gcc/i386-linux/13.2.0/plugin/include/gcc-plugin.h:28, from ../scripts/gcc-plugins/gcc-common

[PATCH 1/2] kbuild: add host-cc-option helper

2024-03-12 Thread Thomas Weißschuh
This helper works the same as cc-option but for the host compiler. It will be used by the gcc-plugins configuration to check for the gmp.h header. Signed-off-by: Thomas Weißschuh --- scripts/Kconfig.include | 4 1 file changed, 4 insertions(+) diff --git a/scripts/Kconfig.include b/scripts

[PATCH 0/2] gcc-plugins: disable plugins when gmp.h is unavailable

2024-03-12 Thread Thomas Weißschuh
insertions(+) --- base-commit: 855684c7d938c2442f07eabc154e7532b4c1fbf9 change-id: 20240312-gcc-plugins-gmp-efab1a8d05c0 Best regards, -- Thomas Weißschuh

Re: [PATCH v3 2/2] string: Convert helpers selftest to KUnit

2024-03-12 Thread Mark Brown
On Fri, Mar 01, 2024 at 12:27:31PM -0800, Kees Cook wrote: > Convert test-string_helpers.c to KUnit so it can be easily run with > everything else. > > Failure reporting doesn't need to be open-coded in most places, for > example, forcing a failure in the expected output for upper/lower > testing

Re: [PATCH v3 1/2] string: Convert selftest to KUnit

2024-03-12 Thread Mark Brown
On Fri, Mar 01, 2024 at 12:27:30PM -0800, Kees Cook wrote: > Convert test_string.c to KUnit so it can be easily run with everything > else. > > Additional text context is retained for failure reporting. For example, > when forcing a bad match, we can see the loop counters reported for the > memset

Re: [PATCH v2 6/7] kunit: Print last test location on fault

2024-03-12 Thread Mickaël Salaün
On Tue, Mar 12, 2024 at 12:54:48PM +0800, David Gow wrote: > On Sat, 2 Mar 2024 at 03:40, Mickaël Salaün wrote: > > > > This helps identify the location of test faults. > > > > Cc: Brendan Higgins > > Cc: David Gow > > Cc: Rae Moar > > Cc: Shuah Khan > > Reviewed-by: Kees Cook > > Signed-off-

Re: [PATCH v2 4/7] kunit: Handle test faults

2024-03-12 Thread Mickaël Salaün
On Tue, Mar 12, 2024 at 01:05:37PM +0800, David Gow wrote: > On Sat, 2 Mar 2024 at 03:40, Mickaël Salaün wrote: > > > > Previously, when a kernel test thread crashed (e.g. NULL pointer > > dereference, general protection fault), the KUnit test hanged for 30 > > seconds and exited with a timeout er

Re: [PATCH v2 4/7] kunit: Handle test faults

2024-03-12 Thread Mickaël Salaün
On Mon, Mar 11, 2024 at 05:21:11PM -0400, Rae Moar wrote: > On Fri, Mar 1, 2024 at 2:40 PM Mickaël Salaün wrote: > > > > Previously, when a kernel test thread crashed (e.g. NULL pointer > > dereference, general protection fault), the KUnit test hanged for 30 > > seconds and exited with a timeout e

Re: [PATCH v3 4/4] arm64: dts: qcom: sc7280: Add clocks for QOS configuration

2024-03-12 Thread Konrad Dybcio
On 3/6/24 08:30, Odelu Kukatla wrote: Add handles for required clocks to be enabled for configuring QoS on sc7280. Signed-off-by: Odelu Kukatla --- arch/arm64/boot/dts/qcom/sc7280.dtsi | 3 +++ 1 file changed, 3 insertions(+) diff --git a/arch/arm64/boot/dts/qcom/sc7280.dtsi b/arch/arm6

Re: [PATCH][next] net/smc: Avoid -Wflex-array-member-not-at-end warnings

2024-03-12 Thread Wen Gu
On 2024/3/12 15:54, Jan Karcher wrote: On 11/03/2024 11:59, Wen Gu wrote: On 2024/3/8 07:46, Gustavo A. R. Silva wrote: On 3/7/24 02:17, Jan Karcher wrote: On 04/03/2024 10:00, Wen Gu wrote: On 2024/3/2 02:40, Gustavo A. R. Silva wrote: -Wflex-array-member-not-at-end is coming i

Re: [PATCH][next] net/smc: Avoid -Wflex-array-member-not-at-end warnings

2024-03-12 Thread Jan Karcher
On 11/03/2024 11:59, Wen Gu wrote: On 2024/3/8 07:46, Gustavo A. R. Silva wrote: On 3/7/24 02:17, Jan Karcher wrote: On 04/03/2024 10:00, Wen Gu wrote: On 2024/3/2 02:40, Gustavo A. R. Silva wrote: -Wflex-array-member-not-at-end is coming in GCC-14, and we are getting ready to enab