From nobody Sun Apr 23 17:56:05 2023 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 4Q4GCW17F6z46Dpb; Sun, 23 Apr 2023 17:56:07 +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 4Q4GCT5PVZz42G5; Sun, 23 Apr 2023 17:56:05 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1682272565; 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=t/Nv0IGFkzxvPCKXO2f0WEUcGlYcuQ0rQPM/axQLbuY=; b=LUKXAk2P1F4UJN4A7UEXDX94Qt68CZvb/WI8zqz3jtdh94mo9i198FNInnSdp4J436S2u0 NSXx8SueFfYfcoLXdDDdfsSuKPXzgwHXYMNwBFDXu5vCGhj+OofgxHzCiUmbxp7ZSNq4DB HVTlJQkhq2kMRZRvgDemGSyptGMOW8ilUkwWluTr2RdavuXLXU4AsHuaFzJXgJbXRvtnUq kU0t3Up5O75CfYevOEgLp5D79pZxzQkRChjtHl6sufOCCHnaEB7HHPC5OFUdLeXWVdhP+j sR4JhDyQdA+KL3B3+wBdmCfMaUXIV97NRmNZyMQoIPJ+yojMtVDBBE3yVMbiyg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1682272565; 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=t/Nv0IGFkzxvPCKXO2f0WEUcGlYcuQ0rQPM/axQLbuY=; b=WGhNWh3z7VlKUIhdQmPPlzThXEJvJ+kLclS/tQnI5D6f6oe7PLGAy+0bEvsI2shiGN3IyY FqjBQ3mPuf//Edwtprsl/R0uJoDUX1cd4yuZZNqNA/6Eu0lRf/F3Pj8Y0lVq0hottLENK+ aclhnu465WULmQk/og5YVtul2DhZ9+mp9/nJVMuSh6Oaen2m7k+6Nk2TEibFpt35paLFLQ g+qSbzlYs5sx7XOoNInkbCAW0G+XrPY7C5hgzjfUmpgDYQ2ddgJQDL+HBZTtaovojMU/IO HHq/AF3exUGXafzNjGyv8FG+JdjiOGH4DDhBHnPBkPg8tzkZE2ctoRFL19nKeA== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1682272565; a=rsa-sha256; cv=none; b=vXNwBlyz1k8o19KQuE1Z5DG+8aT9AstinfMO9aL6UnZvD7Z/kOBxWdisM/yFG71RP1geRN GkkS42DFFhir5I44Fs3+Cy3DOuW9mmw4izaF8EjzZqOFyn6LI3TopaP8th09GUp/Ho+I4l He9EG3RcmH3RO9QWSUdJp4hRu9Pbv+8gbNipSUgaYNdbspbyFSUEZhkFB0WGqgkuiN3nmD jlxYy7p8oq3uYhx7Lnn1uLndh5OuWcrSPzq2aKndbt/th0RpqfsB7I9grVTSNBmL4zTiQA zeDmFScT9rV9yHMm05aYXnkoFN8mD2gtjJeY3C8bsy6gNf3FvuXAcmpSzB0HtA== 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 4Q4GCT4T3KztFD; Sun, 23 Apr 2023 17:56:05 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.16.1/8.16.1) with ESMTP id 33NHu5wV026425; Sun, 23 Apr 2023 17:56:05 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 33NHu5oi026424; Sun, 23 Apr 2023 17:56:05 GMT (envelope-from git) Date: Sun, 23 Apr 2023 17:56:05 GMT Message-Id: <202304231756.33NHu5oi026424@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org From: Mark Johnston Subject: git: 7623cc8f65ab - main - arm64: Implement bus_describe_intr() for nexus 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: Sender: owner-dev-commits-src-all@freebsd.org X-BeenThere: dev-commits-src-all@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: markj X-Git-Repository: src X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 7623cc8f65ab1b28690d4a6580ae87b7926ed008 Auto-Submitted: auto-generated X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by markj: URL: https://cgit.FreeBSD.org/src/commit/?id=7623cc8f65ab1b28690d4a6580ae87b7926ed008 commit 7623cc8f65ab1b28690d4a6580ae87b7926ed008 Author: Mark Johnston AuthorDate: 2023-04-23 17:30:44 +0000 Commit: Mark Johnston CommitDate: 2023-04-23 17:55:57 +0000 arm64: Implement bus_describe_intr() for nexus Prompted by a compiler warning introduced by e582d4a2b09e ("arm64: nexus code tidy-up"). Reviewed by: mhorne, andrew MFC after: 1 week Differential Revision: https://reviews.freebsd.org/D39749 --- sys/arm64/arm64/nexus.c | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/sys/arm64/arm64/nexus.c b/sys/arm64/arm64/nexus.c index 29680fe5b9c8..9f1f8a3229fa 100644 --- a/sys/arm64/arm64/nexus.c +++ b/sys/arm64/arm64/nexus.c @@ -146,6 +146,7 @@ static device_method_t nexus_methods[] = { DEVMETHOD(bus_bind_intr, nexus_bind_intr), #endif DEVMETHOD(bus_config_intr, nexus_config_intr), + DEVMETHOD(bus_describe_intr, nexus_describe_intr), DEVMETHOD(bus_setup_intr, nexus_setup_intr), DEVMETHOD(bus_teardown_intr, nexus_teardown_intr), DEVMETHOD(bus_get_bus_tag, nexus_get_bus_tag), @@ -348,6 +349,14 @@ nexus_teardown_intr(device_t dev, device_t child, struct resource *r, void *ih) return (intr_teardown_irq(child, r, ih)); } +static int +nexus_describe_intr(device_t dev, device_t child, struct resource *irq, + void *cookie, const char *descr) +{ + + return (intr_describe_irq(child, irq, cookie, descr)); +} + #ifdef SMP static int nexus_bind_intr(device_t dev, device_t child, struct resource *irq, int cpu)