From nobody Wed Aug 30 17:26:24 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 4RbWRj1Rtgz4sJrr for ; Wed, 30 Aug 2023 17:26:25 +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 4RbWRj08pGz3Trs for ; Wed, 30 Aug 2023 17:26:25 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1693416385; a=rsa-sha256; cv=none; b=Mgr2LEF6yXffPfXqM1qKO3kK4gr5EJq7V6qb2fD8j3LQT/iaw+XuqVAT9divLs87SfWSLe GLVFhmrYoakJz/oZIZ1hEZKqi5y9G/6rHFCmKMOfspVBGM2pMsquIcouG9Yj+DkXGM1NYV o4nbJAGvx/sJ3f2WOdq8A4Sp6390pIS73ajxr2og3mHdsfELh7X4hm8hDyXON1t2paeaeh pcW1qVbWiW2fsUwz+HidB8ewH2pQgGNecn0EP/AB55/YCC8ZdvFxsQyCXl19WLDflOnCd4 DtY3H1jpu0dLF3o26RLRqeTYUI9HKQRHyL4CVDkFyaqzsCAWTWmm2Csm6hTbBg== 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=1693416385; 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=sPPpYKgceunYtPm9LSgNlcZK/HMP0UqS+23njmEemOU=; b=nqOx42A6bD6J9co3sdVGNF214RDEtuqR2yFrGnpdBTRAl9Ll3rKvjAtTDIKbJrl0NlXKU8 1lRRSq5M+ZP0aaQzN2knoAjhSK2/uAWr7v8Q9ZBeHSpyXvPM47cDSmq6gQj3vOA5WFvLbo 5IxiUZdmvcwoPu4YyV1mfkgO3dtgggFzTOVIkVtrLRZkIR448pjL0hYrghE0i8zPhgQv4p TP+zjEJGrTaJrkf91Q/jMaiT7CqfSdUbvzT2tBHtL7RXefQmqrwgHTdUwVCTLiEQsBVSk6 dj7AIziixaJjmWwCn7Ju4ZFNWauucR4KUJ7B9zlh7Z7y9eCQSs7qaFwBkA3+Yw== 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 4RbWRh6BKHzjWN for ; Wed, 30 Aug 2023 17:26:24 +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 37UHQO2P072001 for ; Wed, 30 Aug 2023 17:26:24 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 37UHQOrW072000 for bugs@FreeBSD.org; Wed, 30 Aug 2023 17:26:24 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: bugs@FreeBSD.org Subject: [Bug 268393] system always reboots once from a powered off state Date: Wed, 30 Aug 2023 17:26:24 +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, needs-qa X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: john.grafton@runbox.com 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 #57 from John Grafton --- (In reply to Warner Losh from comment #54) You mean like this? diff --git a/sys/dev/sound/pci/hda/hdac.c b/sys/dev/sound/pci/hda/hdac.c index 79ab71516cd9..78c99db8e813 100644 --- a/sys/dev/sound/pci/hda/hdac.c +++ b/sys/dev/sound/pci/hda/hdac.c @@ -393,13 +393,13 @@ hdac_intr_handler(void *context) * re-examine GIS then we can leave it set and never get an interru= pt * again. */ - hdac_lock(sc); intsts =3D HDAC_READ_4(&sc->mem, HDAC_INTSTS); while (intsts !=3D 0xffffffff && (intsts & HDAC_INTSTS_GIS) !=3D 0)= { + hdac_lock(sc); hdac_one_intr(sc, intsts); + hdac_unlock(sc); intsts =3D HDAC_READ_4(&sc->mem, HDAC_INTSTS); } - hdac_unlock(sc); } --=20 You are receiving this mail because: You are the assignee for the bug.=