From nobody Fri May 17 16:12:50 2024 X-Original-To: dev-commits-src-all@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 4VgsSL5Fntz5LP8l; Fri, 17 May 2024 16:12:50 +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 "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4VgsSL4cqmz4Q9f; Fri, 17 May 2024 16:12:50 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1715962370; 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=uYZqXqmsZJYneHy9RvUhZ0H4fpAIYnH4WwDnbTxOH54=; b=LVDyfN+JAcixUKlmFu2tZ3xbh6wOkO6LkDuwL+pjvP8acxifZm3xt49A/tLTTpZsf/0l70 WksJD+kBJMPCf5IgVckWtJyQTLNuG0eiq0rMngkWG6L+9XMQccAF369JYI4bhXNysstSeK x5RiZGY+Vj4/M0Y9Fcpm7BIQG1ov9i3ZXSlQxwluccJHqgAkK1hizD48OObyuyO+UnJyqs v9ZdtqJkul+clPR7hYP5Fptka1MgX+we2xj+7UrHV7a10QKnYGug66eyPIswBxAQaVDqG2 2ZrLTsqqoQkBJUZEGpjDqm0DLU3YBcYjYzwMTzD4fNHAm39tBUKdtLB5jpc5Yw== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1715962370; a=rsa-sha256; cv=none; b=Oidzwhf9fsmE9HWnZ+r5BUynXFhU/i3pzKwWkyAQpAXg7SUXF5u74K92LI9rvDXu/f60kJ 0oaP5jRaaGjJMZ1flKmi7E8XgFf6+RzhZkv2TBARyZlnnTPquI4eHb1mAU9e9C+8zTZtz8 CrLGj8ft4mmF5OWffijeOUBjtEZ+BlB90tlL60NrfhAVct4Jhhe7eHBvMKRh7UZjXrFKJ/ Pj3EkCTJtjmRS+PHz3b3mHDGZhpfgP4kZH0Ls3NXmOdlCFSWSLAqlBEiKlfPmOk5590iRm R9ZwcjWefWEVrHh3iF7ALhHhcqZAv2BsW1P1BmoOlpfphmpig3bLgCzkMzV2IA== 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=1715962370; 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=uYZqXqmsZJYneHy9RvUhZ0H4fpAIYnH4WwDnbTxOH54=; b=AlNuc9eFJqFbuIDIhYFu1I1t67XiFbvp09QS4kGkPMQ5VZmtONGUrf8t8u3ASXVEqhzaMD qqJMB7c3tfHnqIEq6isjPa6j8iZmqqOjIcplavMG6OTxq6sRAJ7xvRBkZXmZ40l5+DIGNN m/gZJLfjhSx2CpCw5JUT3S9T3HZW2/U8LoG3qcftl+SxTBHD+LvnXM+7/y3ALYB2ZT6QWo u2gdNzWF04HDqHUyJFa33CAixey3mj3kxrZxeHoBzk2Q8ZTBvzgq7ANgSWneuGkKM8hVRA wDYGjHoi1KKihMh2eEtDuJOE27p6kmCAw0Lb3Ehj7GezPaA5dJF2q5Ay+CSmAA== 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 4VgsSL4CVSzpQw; Fri, 17 May 2024 16:12:50 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.17.1/8.17.1) with ESMTP id 44HGCot3065118; Fri, 17 May 2024 16:12:50 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.17.1/8.17.1/Submit) id 44HGCoiQ065115; Fri, 17 May 2024 16:12:50 GMT (envelope-from git) Date: Fri, 17 May 2024 16:12:50 GMT Message-Id: <202405171612.44HGCoiQ065115@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org From: Andrew Turner Subject: git: f715e95461c9 - main - arm: Add a missing interrupt to the generic timer List-Id: Commit messages for all branches of the src repository List-Archive: https://lists.freebsd.org/archives/dev-commits-src-all List-Help: List-Post: List-Subscribe: List-Unsubscribe: X-BeenThere: dev-commits-src-all@freebsd.org Sender: owner-dev-commits-src-all@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/main X-Git-Reftype: branch X-Git-Commit: f715e95461c9264913a65e2dc93c291b7e318d2e Auto-Submitted: auto-generated The branch main has been updated by andrew: URL: https://cgit.FreeBSD.org/src/commit/?id=f715e95461c9264913a65e2dc93c291b7e318d2e commit f715e95461c9264913a65e2dc93c291b7e318d2e Author: Andrew Turner AuthorDate: 2024-01-11 17:07:59 +0000 Commit: Andrew Turner CommitDate: 2024-05-17 16:07:15 +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 --- 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 d98c2a022d71..bad0939b6ab9 100644 --- a/sys/arm/arm/generic_timer.c +++ b/sys/arm/arm/generic_timer.c @@ -564,6 +564,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);