From nobody Mon Jul 15 12:38:21 2024 X-Original-To: dev-commits-src-branches@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 4WN1vf2zcZz5QrYJ; Mon, 15 Jul 2024 12:38:22 +0000 (UTC) (envelope-from git@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 "R11" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4WN1vd6scKz4HSg; Mon, 15 Jul 2024 12:38:21 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1721047102; 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; bh=ZDRjHIInX6MP7/2JJvXRiEPJWimLMzItArRKAZeUVEg=; b=CWNX+doRNWHUfmxq+6UvXcv82egon/ly40Dsi6fJnLmUMrYTfV4FelXXcKvFS+ZPTdWwld 2dbuhQ4OY02O9wk8LpRywiBWP1pOtMpDbi6uirCCJ6TNMhaOebDTLiiK23Jo0x6tP5cfBP hFWeke3EAdFmOltYfrR/8BqhZ/WCG+KSiPCST5ph+md7PSor8HaEJgoEyzqUGt9pcos+Ri zL4vO1whhLd//P4GJ2T/bdNuaBT0Z9FHjcehMFDJzkXdgg7/zWxCBzoXKOOj2yDHU9aKHM bCQcdiQilxG0IZLSOW2rEulQo1Ddn4QkmWiwvQQB9nA18uY7tAW/ZgWHf+JUdg== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1721047102; a=rsa-sha256; cv=none; b=RsGdTlu8M+LkFqqn+NXVoxtAgfiaHArRwFG/8v4xKex32UY6GNsghA8N7xaNOhvkah9dVn wx/QW9ysQFoM58RzFP4rcGZbl6osVDxc6U6E4tfhZXOPqLTU8GsXKGgvLSGowqEdWlIPwK Tqc+jnBjPEBsIm89n7NYfpkiAFZ8844yBpVn7fr81KMz1ZoguwGI3dB5kn8slnDGy69qQN q5C9vs9ZU5GoIlIXk/Q/3Q9EycE/Nl/82GKUT0M7HktPxi17qFSS2Det/zRzcxZZ44ToAt yyoE0SpAB7aFnvWb6ajaZymVjxU0plylcU7puP62q4DVMQmrL0nd2Ca/jGFuJg== 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=1721047102; 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; bh=ZDRjHIInX6MP7/2JJvXRiEPJWimLMzItArRKAZeUVEg=; b=getyvGopRhPzRyYd15CWmgA9Py3gLQBWt+QLmqlEfW2YG1B/Ko74VTw9wPQLkrjfofkmsG SjLSLoSk7HQfIal3uRFbChXIMJLXOOD0lvEJcXT0uvzlHwVOLd6eBihM4WAXUILyPzFS3e ViVHNJHi8sQFS/43R8PBGteh5kG7/Y8JIg+m/neLCbil37cq82NycuQg1Qru4DDWa58121 9QcHEOYBtK38zEct/eK2S7V4DH1sNgsT9L4qIO+zC0FBxEtLFkuiWUPXSf/FbnHT9MkWGK gLkI6BlwfujTP5TRlf2hGqAkJhNpB0g7hQjDzAyhTVsIYiFP1rAkOErmiUwaYw== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (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 4WN1vd6V8NzspD; Mon, 15 Jul 2024 12:38:21 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.18.1/8.18.1) with ESMTP id 46FCcLJr060981; Mon, 15 Jul 2024 12:38:21 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.18.1/8.18.1/Submit) id 46FCcLYq060978; Mon, 15 Jul 2024 12:38:21 GMT (envelope-from git) Date: Mon, 15 Jul 2024 12:38:21 GMT Message-Id: <202407151238.46FCcLYq060978@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-branches@FreeBSD.org From: Andrew Turner Subject: git: 7f616da3cea0 - stable/13 - arm: Add a missing interrupt to the generic timer List-Id: Commits to the stable branches of the FreeBSD src repository List-Archive: https://lists.freebsd.org/archives/dev-commits-src-branches List-Help: List-Post: List-Subscribe: List-Unsubscribe: X-BeenThere: dev-commits-src-branches@freebsd.org Sender: owner-dev-commits-src-branches@FreeBSD.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: andrew X-Git-Repository: src X-Git-Refname: refs/heads/stable/13 X-Git-Reftype: branch X-Git-Commit: 7f616da3cea0e53399db7ad7ad7f6f391b17e364 Auto-Submitted: auto-generated The branch stable/13 has been updated by andrew: URL: https://cgit.FreeBSD.org/src/commit/?id=7f616da3cea0e53399db7ad7ad7f6f391b17e364 commit 7f616da3cea0e53399db7ad7ad7f6f391b17e364 Author: Andrew Turner AuthorDate: 2024-01-11 17:07:59 +0000 Commit: Andrew Turner CommitDate: 2024-07-15 12:34:29 +0000 arm: Add a missing interrupt to the generic timer The ACPI generic timer attachment added 3 interrupts, but missed the hypervisor physical interrupt. As the field is present in all versions of the GTDT ACPI table and isn't an optional interrupts we can add it to the interrupts provided to the driver. Sponsored by: Arm Ltd Differential Revision: https://reviews.freebsd.org/D43974 (cherry picked from commit f715e95461c9264913a65e2dc93c291b7e318d2e) --- sys/arm/arm/generic_timer.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/sys/arm/arm/generic_timer.c b/sys/arm/arm/generic_timer.c index f08ddf830a77..40990d64cd5d 100644 --- a/sys/arm/arm/generic_timer.c +++ b/sys/arm/arm/generic_timer.c @@ -518,6 +518,8 @@ arm_tmr_acpi_identify(driver_t *driver, device_t parent) gtdt->NonSecureEl1Interrupt); arm_tmr_acpi_add_irq(parent, dev, GT_VIRT, gtdt->VirtualTimerInterrupt); + arm_tmr_acpi_add_irq(parent, dev, GT_HYP_PHYS, + gtdt->NonSecureEl2Interrupt); out: acpi_unmap_table(gtdt);