From nobody Fri Dec 26 01:50:07 2025 Received: from xavier.telenet-ops.be (xavier.telenet-ops.be [195.130.132.52]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 28A803D56D for ; Mon, 22 Jan 2024 14:50:49 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=195.130.132.52 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1705935051; cv=none; b=WwchidrqZ6Noj5nxB42MIN9FfmE49qS+4C7uHkkZtS9sTOoaWPG8haDH0Rqg4fOmoJiPWzZxbEIvNXHNZ0jWao+P2bWTkc/q0VtCKBusKbBqAhOtOfvSiLYDtwOvrTANhMj5P/f64aJsG5pbll8IEzDXeUyyyO1SrjqPLt19eU4= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1705935051; c=relaxed/simple; bh=G3sszZquVnd060FqVtCYQu5A+l3gwRuUVqyVxfx6PVE=; h=From:To:Cc:Subject:Date:Message-Id:In-Reply-To:References: MIME-Version; b=pbOqc/BqykHt+ZhBNWaGkX9noPhb8oFdZV5OD1RcNJGEVlxczcuhs24w4wuRxQn5DnSlXlSH9s6vQnbrVVPzQZwCg+o5BeohM1JMWHasPjo4xG2pg4x0QO7hFLu3MmAZpsaXwIKVdEQ+xYUqVfecAhT7J9l4QDE6eChLd67yVew= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=glider.be; spf=none smtp.mailfrom=linux-m68k.org; arc=none smtp.client-ip=195.130.132.52 Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=glider.be Authentication-Results: smtp.subspace.kernel.org; spf=none smtp.mailfrom=linux-m68k.org Received: from ramsan.of.borg ([IPv6:2a02:1810:ac12:ed40:955e:bba5:7ff4:cfb6]) by xavier.telenet-ops.be with bizsmtp id dqqn2B00Q0ZxL6o01qqndy; Mon, 22 Jan 2024 15:50:48 +0100 Received: from rox.of.borg ([192.168.97.57]) by ramsan.of.borg with esmtp (Exim 4.95) (envelope-from ) id 1rRvcc-00GGyl-PI; Mon, 22 Jan 2024 15:50:47 +0100 Received: from geert by rox.of.borg with local (Exim 4.95) (envelope-from ) id 1rRvdP-00CFhw-Pn; Mon, 22 Jan 2024 15:50:47 +0100 From: Geert Uytterhoeven To: Andrew Morton Cc: linux-kernel@vger.kernel.org, Geert Uytterhoeven Subject: [PATCH 1/3] lib: dhry: remove unneeded Date: Mon, 22 Jan 2024 15:50:43 +0100 Message-Id: X-Mailer: git-send-email 2.34.1 In-Reply-To: References: Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" The Dhrystone benchmark test does not use mutexes. Signed-off-by: Geert Uytterhoeven --- lib/dhry_run.c | 1 - 1 file changed, 1 deletion(-) diff --git a/lib/dhry_run.c b/lib/dhry_run.c index f15ac666e9d38bd2..e6a279dabf848eb3 100644 --- a/lib/dhry_run.c +++ b/lib/dhry_run.c @@ -10,7 +10,6 @@ #include #include #include -#include #include =20 #define DHRY_VAX 1757 --=20 2.34.1 From nobody Fri Dec 26 01:50:07 2025 Received: from baptiste.telenet-ops.be (baptiste.telenet-ops.be [195.130.132.51]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 2587E3D56A for ; Mon, 22 Jan 2024 14:50:49 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=195.130.132.51 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1705935051; cv=none; b=h72Bxma6i8qD+UFHtmFgpYX/6wBEES7tNn17jKPhLlKRP2zpGoOKbFH0uyVu5vMhsdmJbUZiZSt5OcxxBlya2fJ1s5spwiDXk2v2TaeA0d5SjF/SDyOX5/yVKGqQo4wps++YwD1lhlE0dOaMKXGbt0g72r4wXLWbgdTh0JmjUiU= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1705935051; c=relaxed/simple; bh=1SbxM9qBeJgN6mPKwjnW26SKGE5zOE/i5nXgZr91DWc=; h=From:To:Cc:Subject:Date:Message-Id:In-Reply-To:References: MIME-Version; b=GLhyr/4VINBgZxoeyEs/6zQceu+nVkkj7tVG2XMHcND7Ok5mhaXfauDVuGbD6dZDxXeY7BFmx9nNogwHJmng/e/4Oxj5i/GrR1bMMXC+A24aDV5nIYHa7HbmaY53+ovmevMJskbno96w/pRxVtx94k3PrnnbPlobzQYwFV/Rb9U= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=glider.be; spf=none smtp.mailfrom=linux-m68k.org; arc=none smtp.client-ip=195.130.132.51 Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=glider.be Authentication-Results: smtp.subspace.kernel.org; spf=none smtp.mailfrom=linux-m68k.org Received: from ramsan.of.borg ([IPv6:2a02:1810:ac12:ed40:955e:bba5:7ff4:cfb6]) by baptiste.telenet-ops.be with bizsmtp id dqqn2B00U0ZxL6o01qqnRw; Mon, 22 Jan 2024 15:50:48 +0100 Received: from rox.of.borg ([192.168.97.57]) by ramsan.of.borg with esmtp (Exim 4.95) (envelope-from ) id 1rRvcc-00GGyn-Px; Mon, 22 Jan 2024 15:50:47 +0100 Received: from geert by rox.of.borg with local (Exim 4.95) (envelope-from ) id 1rRvdP-00CFhz-Qm; Mon, 22 Jan 2024 15:50:47 +0100 From: Geert Uytterhoeven To: Andrew Morton Cc: linux-kernel@vger.kernel.org, Geert Uytterhoeven Subject: [PATCH 2/3] lib: dhry: use ktime_ms_delta() helper Date: Mon, 22 Jan 2024 15:50:44 +0100 Message-Id: X-Mailer: git-send-email 2.34.1 In-Reply-To: References: Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" Use the existing ktime_ms_delta() helper instead of open-coding the same operation. Signed-off-by: Geert Uytterhoeven --- lib/dhry_1.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/dhry_1.c b/lib/dhry_1.c index 08edbbb19f573ff7..ca6c87232c580954 100644 --- a/lib/dhry_1.c +++ b/lib/dhry_1.c @@ -277,7 +277,7 @@ int dhry(int n) dhry_assert_string_eq(Str_1_Loc, "DHRYSTONE PROGRAM, 1'ST STRING"); dhry_assert_string_eq(Str_2_Loc, "DHRYSTONE PROGRAM, 2'ND STRING"); =20 - User_Time =3D ktime_to_ms(ktime_sub(End_Time, Begin_Time)); + User_Time =3D ktime_ms_delta(End_Time, Begin_Time); =20 kfree(Ptr_Glob); kfree(Next_Ptr_Glob); --=20 2.34.1 From nobody Fri Dec 26 01:50:07 2025 Received: from michel.telenet-ops.be (michel.telenet-ops.be [195.130.137.88]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id E9F1F3D553 for ; Mon, 22 Jan 2024 14:50:49 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=195.130.137.88 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1705935052; cv=none; b=BsJIUd+z0c0eD2S8Yg3Za1uSbB4OtUmJZlQyJ96SC5/Fx11Q3bV+X7BH1YOs+64bWs66Mcdfux04E+FqJ9idJnAkz1UCvMCSIZdGoP8ektlnmQccIycAC86+LqrMhXN1Di5j3vAICSydcGN4P2/Y30JFo7c4wVkbAZ31UmwattU= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1705935052; c=relaxed/simple; bh=dCsN5Xwxzp8w/3SKShSYkJ/ugzoeRbU8bWqgmHB1nFI=; h=From:To:Cc:Subject:Date:Message-Id:In-Reply-To:References: MIME-Version; b=cIcl6IiWAg0aTTDCGX9/95E1h3kV11KSayxrRoYZtRYCU/YFimvEAgrpnDkRXrNkoaCtJXandVsV2XXcOP1V+At66TkglWiaBw91LCIZllOiqTNiTn90uyAVOLabKwHNMWTsRmyHX8NG+uO0X99kwRG7vfdSRu9JEkrmLSgAsQs= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=glider.be; spf=none smtp.mailfrom=linux-m68k.org; arc=none smtp.client-ip=195.130.137.88 Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=glider.be Authentication-Results: smtp.subspace.kernel.org; spf=none smtp.mailfrom=linux-m68k.org Received: from ramsan.of.borg ([IPv6:2a02:1810:ac12:ed40:955e:bba5:7ff4:cfb6]) by michel.telenet-ops.be with bizsmtp id dqqn2B00k0ZxL6o06qqoHv; Mon, 22 Jan 2024 15:50:48 +0100 Received: from rox.of.borg ([192.168.97.57]) by ramsan.of.borg with esmtp (Exim 4.95) (envelope-from ) id 1rRvcc-00GGyr-Qa; Mon, 22 Jan 2024 15:50:47 +0100 Received: from geert by rox.of.borg with local (Exim 4.95) (envelope-from ) id 1rRvdP-00CFi4-Ri; Mon, 22 Jan 2024 15:50:47 +0100 From: Geert Uytterhoeven To: Andrew Morton Cc: linux-kernel@vger.kernel.org, Geert Uytterhoeven Subject: [PATCH 3/3] lib: dhry: add missing closing parenthesis Date: Mon, 22 Jan 2024 15:50:45 +0100 Message-Id: <772b43271bcb3dd17a6aae671b2084f08c05b079.1705934853.git.geert+renesas@glider.be> X-Mailer: git-send-email 2.34.1 In-Reply-To: References: Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" The help text for the Dhrystone benchmark test lacks a matching closing parenthesis. Signed-off-by: Geert Uytterhoeven --- lib/Kconfig.debug | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/Kconfig.debug b/lib/Kconfig.debug index 79dc58b938f860d3..b93eccc2ebfb756a 100644 --- a/lib/Kconfig.debug +++ b/lib/Kconfig.debug @@ -2141,7 +2141,7 @@ config TEST_DHRY =20 To run the benchmark, it needs to be enabled explicitly, either from the kernel command line (when built-in), or from userspace (when - built-in or modular. + built-in or modular). =20 Run once during kernel boot: =20 --=20 2.34.1