From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-pf1-f173.google.com (mail-pf1-f173.google.com [209.85.210.173]) (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 B2371337BBF for ; Tue, 16 Dec 2025 06:06:02 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.210.173 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1765865167; cv=none; b=NQGK7x0i4KM+1JsIZiPvoroaEgvg9tHj68T7pgjsv+HEM5RdjBDQX752tQYG8u2J6maGmwVH1X5wfniVBKRSVHxQfAdEXUMb/A63DNMwmADBnzJJT/NsaTjpB1O8tPBtLCaaHy35b2XEeUF7C68tqHjRF9znGkVrn6BRsK7UDIw= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1765865167; c=relaxed/simple; bh=GrRNJ4ZQr2BDKHCBcm0FU2tfZ/LDd66PfPui0xplU8Q=; h=From:To:Cc:Subject:Date:Message-Id:In-Reply-To:References: MIME-Version:Content-Type; b=GWwZ/Kn0bhjt9HMZX+xoieWfXe1E196cbg4VSXTulfF5OD5jhG8nHz8lkWBdyU90CTtZoLvvBV4YC2/dk7lvwZvVIbLeyuqBuYiv87T1jAVM2DGjO0murEQ4VZRKI56Mt5D4Lbkep7TfJpN1xmog+IBhUWt2wXp6il1u+3EqGIo= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com; spf=pass smtp.mailfrom=gmail.com; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b=kaYKJD+X; arc=none smtp.client-ip=209.85.210.173 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=gmail.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="kaYKJD+X" Received: by mail-pf1-f173.google.com with SMTP id d2e1a72fcca58-7b22ffa2a88so3917932b3a.1 for ; Mon, 15 Dec 2025 22:06:02 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1765865160; x=1766469960; darn=vger.kernel.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=yRYxo95seJW4bO/OXvA6GBtFkWYVr5A7pUfEeF1sojU=; b=kaYKJD+XdbifEb0e+StODak6hU+CJP4CwkDLaOaHjzt9Crr+SzJYdz68rj7SJXxqXX 55g1SWks6hetEUmspm681znlFfP+cRcTzmY7NkWK6e9rXXMH2+rnYOQ4xPi6NsHeZY99 yR6pBuBUblFEePGj7lnkDnlBUchKLrUBd3zSbxtXdQnvSyAOf5M7LvaTTskLlrCwR5Xw b95PH/kE4jWQ/fsNeop7wm5l4KaDCzRXjl+JgWRn5BUQtk6TBO6nTIPPStybxN3huAcI s/FCg1pJ3cT4BAlsCFthW/c5e4bXZwcfcmUreFt+h0bPMSn1noFEAz+Fwbe7bj2xh/6W I0Tw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1765865160; x=1766469960; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-gg:x-gm-message-state:from :to:cc:subject:date:message-id:reply-to; bh=yRYxo95seJW4bO/OXvA6GBtFkWYVr5A7pUfEeF1sojU=; b=eMJk64Qqn5Hs2MDPFmzNM+4XMjbDGUxh40Ih+b/1qzBuPBUUcos/XAwFOyGhpA+VCe 8iOWxuFTU613eiYg7QSuqzqpWbDEoSSZG6c94Y0FpMTB2vnuWxymLSmz7cpCxW/dfjE6 2Y/g5KmNWvbhLtFjjdJdbl0p4GgfsL+QjLQ79nNJ1OdKHVRE/wvd9o/ExXYRzVv/1hmP zXz5PtA+YTwM8ePenOjKeltp6GyaQoFKq/v00sJAjfCB137cMTUmtrMjJv6eZRW1drsb d6Wpb6PzlLxNXwvnOBZrqdpbFutVUbohlfU5rmhJIzOJqVfGIOxfMeeqoeHtZWd3xFDa m4NQ== X-Forwarded-Encrypted: i=1; AJvYcCUZpiB6EUlTtjfT9YiZ8C8OjbEI6/yxmNxoyaRtMmo+2txecT/AdxPt4ED3Z5yd2dPi4lqh7kcnraVsS5I=@vger.kernel.org X-Gm-Message-State: AOJu0Yy62M2MkNIGd5tayTgIah75Se6Se9TRGRxUB/oSSDy+AFV5MkeW zBN2rBVbi70bOcksQtk6LfsdAJzaBNbN3nnl9192/GlARP6hGiknyFsd X-Gm-Gg: AY/fxX5TX8/XVR5c+XuV+QYE0/EQieY1v8Rskx3jLRzqd8TMLxcdXB/f6SkuJrZrPRI 8S8wvnfs01LoSMVbb77qg4xjiir6fWPwdMI5ULBAn0Ea0cZvDuuJusbxEWCiLsDtdKw7DtyYP0p l/71EPp9NWailzFH6xoN1GwwJlMIoEPZV5odXT2Dp4gnrcxiTP7FftjjPuCNgXObCBceX+7S5b8 cmiGM+DPhAeyL6lWp4wGfvVmvbSk/ld1UAHRAB38Da82olDloAwSxgbdyl7ogMEihCD2ZOAb9Ow 9Rtsnpy5l5UaL4YaeTZDBvm/ysgav6L+4IXIqCqVDGH3Jq96oB73vOnxlQhCCIeMXWdbGcYyJY9 xBnOUjVrEvx/pZ3We6rWvf50mMqVsX4XMojqLOFHbzy/XJ3ZvAQgpieSa0qDErGPor8YrT6MNwv lzlueVAxXVrSynnCODr/1jwprYxGQ/8/9P X-Google-Smtp-Source: AGHT+IESiXvPhJNXyLQX65F5Q6s9HOUfdspNtdUzHVbcaJbS4dQN3aOur503BiDusTbT3KHlrzXjDA== X-Received: by 2002:a05:6a00:8c11:b0:7e1:b7ba:d5a2 with SMTP id d2e1a72fcca58-7f664c09e44mr13021193b3a.0.1765865160537; Mon, 15 Dec 2025 22:06:00 -0800 (PST) Received: from localhost.localdomain ([180.172.132.17]) by smtp.gmail.com with ESMTPSA id d2e1a72fcca58-7f4c22842dasm14399642b3a.12.2025.12.15.22.05.58 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 15 Dec 2025 22:06:00 -0800 (PST) From: stephen.eta.zhou@gmail.com To: linux@roeck-us.net Cc: daniel.lezcano@linaro.org, linux-kernel@vger.kernel.org, stephen.eta.zhou@gmail.com, tglx@linutronix.de Subject: RE: [PATCH v4] clocksource: timer-sp804: Fix read_current_timer() issue when clock source is not registered Date: Tue, 16 Dec 2025 14:05:54 +0800 Message-Id: <20251216060554.332334-1-stephen.eta.zhou@gmail.com> X-Mailer: git-send-email 2.25.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-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 8bit Hi Guenter, On Mon, 15 Dec 2025 21:48:39 -0800, Guenter Roeck wrote: > The realview-pbx-a9 target it also affected. Bisect log below. Thanks so much for the feedback! My plan is to fix the issue by properly initializing sched_clkevt before calling sp804_read() in read_current_timer(). I'll submit the patch soon to address the problem on both the integratorcp and realview-pbx-a9 platforms. > # bad: [559e608c46553c107dbba19dae0854af7b219400] Merge tag 'ntfs3_for_6.19' of https://github.com/Paragon-Software-Group/linux-ntfs3 > # good: [7d0a66e4bb9081d75c82ec4957c50034cb0ea449] Linux 6.18 > git bisect start '559e608c4655' 'v6.18' > # bad: [015e7b0b0e8e51f7321ec2aafc1d7fc0a8a5536f] Merge tag 'bpf-next-6.19' of git://git.kernel.org/pub/scm/linux/kernel/git/bpf/bpf-next > git bisect bad 015e7b0b0e8e51f7321ec2aafc1d7fc0a8a5536f > # bad: [2547f79b0b0cd969ae6f736890af4ebd9368cda5] Merge tag 's390-6.19-1' of git://git.kernel.org/pub/scm/linux/kernel/git/s390/linux > git bisect bad 2547f79b0b0cd969ae6f736890af4ebd9368cda5 > # good: [63e6995005be8ceb8a1d56a18df1a1a40c28356d] Merge tag 'objtool-core-2025-12-01' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip > git bisect good 63e6995005be8ceb8a1d56a18df1a1a40c28356d > # good: [15b87bec89cb227b55b3689bf5de31b85cf88559] Merge tag 'irq-drivers-2025-11-30' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip > git bisect good 15b87bec89cb227b55b3689bf5de31b85cf88559 > # bad: [54de197c9a5e8f522cb0a472e68e3e9888c91aa3] Merge tag 'x86_sgx_for_6.19-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip > git bisect bad 54de197c9a5e8f522cb0a472e68e3e9888c91aa3 > # bad: [49219bba0149157774b7091c3ea9ad22b2114285] Merge tag 'edac_updates_for_v6.19_rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/ras/ras > git bisect bad 49219bba0149157774b7091c3ea9ad22b2114285 > # bad: [d42e504a555d0da2a10001e697f0c8a7f633fb05] Merge tag 'timers-core-2025-11-30' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip > git bisect bad d42e504a555d0da2a10001e697f0c8a7f633fb05 > # bad: [5028f42416eaec08d3f6aa4f98ccca669b3f8ab3] Merge tag 'timers-clocksource-2025-11-30' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip > git bisect bad 5028f42416eaec08d3f6aa4f98ccca669b3f8ab3 > # bad: [627f3f3716a3591f5e6a6bd124c95eef85444080] clocksource/drivers/rda: Add sched_clock_register for RDA8810PL SoC > git bisect bad 627f3f3716a3591f5e6a6bd124c95eef85444080 > # bad: [62524f285c11d6e6168ad31b586143755b27b2e5] clocksource/drivers/sh_cmt: Always leave device running after probe > git bisect bad 62524f285c11d6e6168ad31b586143755b27b2e5 > # bad: [640594a04f119338019b0aeed70c7301216595b3] clocksource/drivers/timer-sp804: Fix read_current_timer() issue when clock source is not registered > git bisect bad 640594a04f119338019b0aeed70c7301216595b3 > # good: [576c564ec3bb60e571c705a71907d7c0c039e6c0] clocksource/drivers/sprd: Enable register for timer counter from 32 bit to 64 bit > git bisect good 576c564ec3bb60e571c705a71907d7c0c039e6c0 > # first bad commit: [640594a04f119338019b0aeed70c7301216595b3] clocksource/drivers/timer-sp804: Fix read_current_timer() issue when clock source is not registered Thanks~ Best regards, Stephen