From nobody Wed Sep 27 12:37:06 2023 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 4Rwbj050TNz4vPgh for ; Wed, 27 Sep 2023 12:37:08 +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 4Rwbj03yXdz4Pjn for ; Wed, 27 Sep 2023 12:37:08 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1695818228; a=rsa-sha256; cv=none; b=Izq4bUQt7BgTIElFwB+4jX8nkINcbxsg8B7fGsGdLXLM4ptKtoTEzenhFssOIgaxJNw8mx 79R/6l8rxCmjr/fKv7FWRVKGmxTH6uWPBabdMsrNdB9hwRtMqWGH4aX/sA8/hyWZi49LF+ caRQ+ZcvOe2E01ZdFQB6LbRxBs44VilBfCWAsW3kdXoUKUzdZYX3zCyZGer8Has2yFqmaI Ktu0XSOZpSF6KmijHGoOJBPFJRljEs8JgJkOMsnbvpyAqDfyaPVAOUxNhSzCMWQv76W4yD ynAu2or5lmMXKaB+/geCH2txt+UpqOXqvW8yptaY8BHPI3dzXcpTReMIy7AARw== 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=1695818228; 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=XXwJYGiEvMO3wzhJBLGu1PBC+PjV4vRxgM7fdOJ0HNA=; b=XrDFcBeSRJ+AAeOtl+aIS7nz4zSqlMMlyqqX8WpXx4z1a3OrYlHiUuZyCgQ8NYIL6tOe3r vd+MIsAzxO3YQgwERk0QAIM19ZYVutieyKAq0cBxs+81Zi+RsGKtVwRRFDORIfm3s8z290 G89Yv4GFiuke2SbadFS5yNrqyPa/FMc72bvoXf9Qi9sclfuLS6ZBlI/BXN8jiLOBsmqCI1 sn2Bpi4PC+MVZfA27xqc2v3schdgTzlLIgH3naWMehGkv9r698T0irWIvhfgblgkfRdk7I 02V4FESSgE5Cg09QQRnjuE1q0O/c7ChP8FWXgTOTvH6qI7ALvpCdxcy6xuWpug== 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 4Rwbj02wqvzfkF for ; Wed, 27 Sep 2023 12:37:08 +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 38RCb8xt086780 for ; Wed, 27 Sep 2023 12:37:08 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from bugzilla@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 38RCb8xA086779 for bugs@FreeBSD.org; Wed, 27 Sep 2023 12:37:08 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 268393] system always reboots once from a powered off state Date: Wed, 27 Sep 2023 12:37:06 +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: crash X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: commit-hook@FreeBSD.org X-Bugzilla-Status: Open 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 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D268393 --- Comment #80 from commit-hook@FreeBSD.org --- A commit in branch main references this bug: URL: https://cgit.FreeBSD.org/src/commit/?id=3D015daf5221f7588b9258fe0242cee09bd= e39fe21 commit 015daf5221f7588b9258fe0242cee09bde39fe21 Author: Mark Johnston AuthorDate: 2023-09-27 12:23:58 +0000 Commit: Mark Johnston CommitDate: 2023-09-27 12:28:27 +0000 hdac: Defer interrupt allocation in hdac_attach() hdac_attach() registers an interrupt handler before allocating various driver resources which are accessed by the interrupt handler. On some platforms we observe what appear to be spurious interrupts upon a cold boot, resulting in panics. Partially work around the problem by deferring irq allocation until after other resources are allocated. I think this is not a complete solution, but is correct and sufficient to work around the problems reported in the PR. PR: 268393 Tested by: Alexander Sherikov Tested by: Oleh Hushchenkov MFC after: 1 week Differential Revision: https://reviews.freebsd.org/D41883 sys/dev/sound/pci/hda/hdac.c | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) --=20 You are receiving this mail because: You are the assignee for the bug.=