From nobody Fri Jun 14 15:06:06 2024 X-Original-To: freebsd-arm@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 4W12fR4GqZz5P1dV for ; Fri, 14 Jun 2024 15:06:07 +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 4W12fR30KKz4gMv for ; Fri, 14 Jun 2024 15:06:07 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1718377567; a=rsa-sha256; cv=none; b=RzspmWtxO8FvmnhcpTQpwTDk8lSYFCU6LWsB2J3CsJvKoP6Aq/U9Aco8nDWIbKmvgss+Mh OzGHLqqIY+isRHOEZZWGc8Yw6VXqWCNmyGgggU5EHFS+3DLwkoYJQZee+28HREIx811m3N cP6walngvOtWRA7GtouMG3Zpv8PQRS6D7Ic63ochZRhs7dFWBKBE2KbLYPBzdHEDyKitPV Z0LYBariSh4ZeY2fBfOKJ9BHkCSZqkPibvcloe8jb52xE7mI0SrVrwotOuJ/ncB9Le1e5E 7htoQsX5mFo59iBxtyqRkkiRZw9lUZ9FGJ8fwF0cb+Oz4h/LEXIxzFp5w6pMiA== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1718377567; 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=5hCAfbkOgdZOnZhE89FfeyFUjf5Rfnm7LO5wAebOccM=; b=tOyAgTytVUX2hQwZVrN+HNQgkGy0giea01CeYFR2bh4BEMePrCO9pNqqKF4mDfYsuDRaXN qHeIUKgWQ6BiCvxkMsV++ZRkRSdpO/4+e9H3pELyq4ILWUCBtQqwNQD0nxNxmF7aM/hQi0 7Ja2VHi9j+/w6g9x2YLew9/fWptWteKOZLbh0v5lYCjAP2j1tnukYd+0b1lDCwxfcysP2I +xyQZ8/kqbpXWIh7fbm29bTfKZgAXngbCuTpEXZoxl2EFwYZ52D/SyG1juzLrtI9ry8BOA DFT8Xtk3uF6hFr7mNAqBpIhTCqtLiOlf1ImsQI3vjR+OAddBgx7QbImhHaJh4w== 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 4W12fR2TWlzQ5p for ; Fri, 14 Jun 2024 15:06:07 +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 45EF67Zr042157 for ; Fri, 14 Jun 2024 15:06:07 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 45EF67Ed042156 for freebsd-arm@FreeBSD.org; Fri, 14 Jun 2024 15:06:07 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: freebsd-arm@FreeBSD.org Subject: [Bug 271780] RPi4 PSCI reset doesn't work. Date: Fri, 14 Jun 2024 15:06:06 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: arm X-Bugzilla-Version: CURRENT X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: mhorne@freebsd.org X-Bugzilla-Status: Closed X-Bugzilla-Resolution: Works As Intended X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: freebsd-arm@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: resolution bug_status cc 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: Porting FreeBSD to ARM processors List-Archive: https://lists.freebsd.org/archives/freebsd-arm List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-arm@FreeBSD.org MIME-Version: 1.0 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D271780 Mitchell Horne changed: What |Removed |Added ---------------------------------------------------------------------------- Resolution|--- |Works As Intended Status|Open |Closed CC| |mhorne@freebsd.org --- Comment #3 from Mitchell Horne --- Hi. Thanks for the submission. There is an existing hook to reset the RPI4 using the watchdog. This is registered to the shutdown_final handler in bcm2835_wdog.c: EVENTHANDLER_REGISTER(shutdown_final, bcmwd_reboot_system, sc, SHUTDOWN_PRI_LAST-1); Notably, the function bcmwd_reboot_system() does not handle the RB_HALT fla= g, set when the user requested a 'halt' shutdown. In your case, the solution is to use 'shutdown -r', not 'shutdown -h'. It i= s an unfortunate quirk of the RPI4 platform, but this is not easily resolved. --=20 You are receiving this mail because: You are the assignee for the bug.=