From nobody Wed Sep 14 13:42:50 2022 X-Original-To: bugs@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4MSM3H0lGjz4c8YB for ; Wed, 14 Sep 2022 13:42:51 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4MSM3G6v63z3wJq for ; Wed, 14 Sep 2022 13:42:50 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4MSM3G5ygzzhRp for ; Wed, 14 Sep 2022 13:42:50 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 28EDgoeV038811 for ; Wed, 14 Sep 2022 13:42:50 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from bugzilla@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 28EDgoO8038810 for bugs@FreeBSD.org; Wed, 14 Sep 2022 13:42:50 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: bugzilla set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: bugs@FreeBSD.org Subject: [Bug 266093] [nxprtc] My PCF8523 fails to initialize properly after 2444018f7dd3c0ecd1099d63de0a856e7f6b1984 Date: Wed, 14 Sep 2022 13:42:50 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: kern X-Bugzilla-Version: 13.1-STABLE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: commit-hook@FreeBSD.org X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: bugs@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated List-Id: Bug reports List-Archive: https://lists.freebsd.org/archives/freebsd-bugs List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-bugs@freebsd.org MIME-Version: 1.0 ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1663162971; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=0+WMv/fnnzWlyEdXQOcMAY8YoMNurAj+DlOF4H93Jek=; b=Ny3jCG1jgdSlV3Y4jSp0jT7e1VF6F7E3aMWqaDB1/gp7w9fJvKLNuG1rCjzD3GAVlK4W3j 7vtVEz0LIFBQcHtkDe2oKios//dokBiDWed0XiJfD4kGWbkfGXxSyschvZr29TqLQlQ5lV OHpqjiJRXibdTp71zR/TZI/dXQiq+Rl22FcRslN/mlmeC9nPRPnpkDo3Hssx56UwHJ0F0P rajM62kh944hQfURouWBq97EykIQeM0wT8oMFG2dbZvvI4ooHQXhNErX81G1esWfgR1nR+ BwiKVprG2DKxvO835wrbq/ukKqsz4filI+TqcUkFTKA+EMvgqBOlxIvpL/Bwlw== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1663162971; a=rsa-sha256; cv=none; b=MOQZXReTk6O7qB9sB8MD34hGhe58p7zz3dQvhxJh42c98F96E+RzBaQObUvkOIGCV+N+Z3 58kO+nTyOr1b1M/S8lShiGtWZ4fdvb2ttrWPSgDC+ovvVjVJU+MlTIRj+8xYlyL/MrUUdO A0NYrpSZDgGnzp+pVeK0wO8gj+46skuxhVVDm+7HqsdtheBXdH31ngznvSNrcYpQq7DFbl jTKG4BGqfUGI0tPZBUT8tpCuPMYxPnU+3EYX0C8l/EkTKYdIekKpWNmTeAZcG2AxUjVPzW /z1TK/sNox2SjUk9I6v5IGvZ9wPeNiwX2R26mshmJRq5f8yeiz9a8K0LHLclYA== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D266093 --- Comment #3 from commit-hook@FreeBSD.org --- A commit in branch main references this bug: URL: https://cgit.FreeBSD.org/src/commit/?id=3De2386f18eca2f6f75f7c5c2d49d603e3d= 2674509 commit e2386f18eca2f6f75f7c5c2d49d603e3d2674509 Author: Tetsuya Uemura AuthorDate: 2022-09-14 13:34:15 +0000 Commit: Warner Losh CommitDate: 2022-09-14 13:34:15 +0000 nxprtc: Fix timing issue with register access. My Adafruit PCF8523 RTC on either RPi2B or RPi3B+ failed to work around 80 ~ 90 % of boot-ups, by printing the following log lines. nxprtc0: at addr 0xd0 on iicbus0 nxprtc0: cannot set up timer Warning: no time-of-day clock registered, system time will not be set accurately This is due to pcf8523_start_timer(sc) returned non-zero in nxprtc_start() due to a register read failure of PCF8523_R_TMR_A_FREQ or PCF8523_R_TMR_CLKOUT or a failure to program a new value. The pause_sbt("nxpbat") sleep was too short and caused the register access failures. PR: 266093 sys/dev/iicbus/nxprtc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) --=20 You are receiving this mail because: You are the assignee for the bug.=