From nobody Tue Sep 29 06:08:45 2026 Received: from galois.linutronix.de (Galois.linutronix.de [193.142.43.55]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id D03EC43F4C3; Tue, 11 Aug 2026 16:14:06 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=193.142.43.55 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1786464848; cv=none; b=etzKZUSgu/a35urOiMSN4NWuftrTl+bUbCA7mJf9SXYHLh9Qwty8MH/D3zbj6L8niwAVazQJvLAj5oEH2WXWRi5Bl/28HZYLcCpXY/+SuWnO6aYMgvWM7MuJWDOFryUpxBdSgxx5HTY3y+HXQvwxwlex4b+LygKVYF18xrshr4E= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1786464848; c=relaxed/simple; bh=vl0zw1U5Ye/KlbE+w8dDC5O9ZL+cs/wATcOy0chQa3g=; h=Date:From:To:Subject:Cc:In-Reply-To:References:MIME-Version: Message-ID:Content-Type; b=WPRLFMN89Gzw0qTYsYoN53uZ3zqxuQg7p9Qbi2qydTluqy8olCdr2bWyLOxIEhTcZKUoEj61WrtL2r76EL/6iR2STB1x80k2t0IXLqJuD8qLLrlAsYzx0IHSgx+WGa6VP/X8IykaBgBzzAeDwowZdVf63yfJxSf/hPUNno+MPc0= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linutronix.de; spf=pass smtp.mailfrom=linutronix.de; dkim=pass (2048-bit key) header.d=linutronix.de header.i=@linutronix.de header.b=yRl2mcbE; dkim=permerror (0-bit key) header.d=linutronix.de header.i=@linutronix.de header.b=Gd8eWQTK; arc=none smtp.client-ip=193.142.43.55 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linutronix.de Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=linutronix.de Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=linutronix.de header.i=@linutronix.de header.b="yRl2mcbE"; dkim=permerror (0-bit key) header.d=linutronix.de header.i=@linutronix.de header.b="Gd8eWQTK" Date: Tue, 11 Aug 2026 16:14:03 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linutronix.de; s=2020; t=1786464845; h=from:from:sender:sender:reply-to:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=axEhhtTDxkoU24jkpvaBROnzq/6StoyO6QCY+L0LLDU=; b=yRl2mcbEuc1tm02jBuT+/OGMpkPVgyIbNWpqGRcKzIA53Q13CMRBqDH7x1YAz/3V4Go9dm V9a3DJiwph+7grCxr40rnSUu+qAwxDCvRlhQqNEmdnHONlNk15anmaFRBTBLb+0TSMGAx7 +CTezMzjGGWhCeEqqkI1Z+duZov842AqpaNr21ToRUPsjgsCQ/uzm4W0E0vEAos2SSvQi6 9OQIilPErNVmgMgRy9m0RoMhQH0ghynB4CXDGPLhEfMcMtIzGsAJIdp/owjA9UQJeoOOpm DZ2390I/hFfyHYCA1ReOzkwzqNfAV/4Q8v8Ynn6KfP/WtK4p/s7lItzq06/NEA== DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=linutronix.de; s=2020e; t=1786464845; h=from:from:sender:sender:reply-to:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=axEhhtTDxkoU24jkpvaBROnzq/6StoyO6QCY+L0LLDU=; b=Gd8eWQTK1wqyODIpheOLvyjQOzMGdFYhgTrElPpQ+CRlFzbO23zYEqJCYmlrp9mYnwsNVJ ZJs2rsOj6OTCLVAA== From: tip-bot2 for Thomas =?utf-8?q?Wei=C3=9Fschuh_=28Schneider_Electric=29?= Sender: tip-bot2@linutronix.de Reply-to: linux-kernel@vger.kernel.org To: linux-tip-commits@vger.kernel.org Subject: [tip: timers/core] selftests: timers: nsleep-lat: Use NSEC_PER_MSEC define for unreasonable latency Cc: thomas.weissschuh@linutronix.de, Thomas Gleixner , John Stultz , x86@kernel.org, linux-kernel@vger.kernel.org In-Reply-To: <20260803-auxclock-nanosleep-prep-v2-14-910cbd485390@linutronix.de> References: <20260803-auxclock-nanosleep-prep-v2-14-910cbd485390@linutronix.de> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Message-ID: <178646484362.442315.2386093076148953191.tip-bot2@tip-bot2> Robot-ID: Robot-Unsubscribe: Contact to get blacklisted from these emails Precedence: bulk Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable The following commit has been merged into the timers/core branch of tip: Commit-ID: a00f90877dcd4176da3564f5f126547aa3ddfead Gitweb: https://git.kernel.org/tip/a00f90877dcd4176da3564f5f126547aa= 3ddfead Author: Thomas Wei=C3=9Fschuh (Schneider Electric) AuthorDate: Mon, 03 Aug 2026 12:04:45 +02:00 Committer: Thomas Gleixner CommitterDate: Tue, 11 Aug 2026 18:11:21 +02:00 selftests: timers: nsleep-lat: Use NSEC_PER_MSEC define for unreasonable la= tency Use the predefined symbol to make the code easier to understand. Signed-off-by: Thomas Wei=C3=9Fschuh (Schneider Electric) Signed-off-by: Thomas Gleixner Acked-by: John Stultz Link: https://patch.msgid.link/20260803-auxclock-nanosleep-prep-v2-14-910cb= d485390@linutronix.de --- tools/testing/selftests/timers/nsleep-lat.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/testing/selftests/timers/nsleep-lat.c b/tools/testing/se= lftests/timers/nsleep-lat.c index d22973c..d46f174 100644 --- a/tools/testing/selftests/timers/nsleep-lat.c +++ b/tools/testing/selftests/timers/nsleep-lat.c @@ -27,7 +27,7 @@ #include "clock-helpers.h" #include "kselftest.h" =20 -#define UNRESONABLE_LATENCY 40000000 /* 40ms in nanosecs */ +#define UNRESONABLE_LATENCY (40 * NSEC_PER_MSEC) =20 /* CLOCK_HWSPECIFIC =3D=3D CLOCK_SGI_CYCLE (Deprecated) */ #define CLOCK_HWSPECIFIC 10