From nobody Thu Aug 3 16:12:00 2023 X-Original-To: dev-commits-src-main@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 4RGv4J34jxz3cNvR; Thu, 3 Aug 2023 16:12:00 +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 4RGv4J2Fb5z4WQG; Thu, 3 Aug 2023 16:12:00 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1691079120; 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=bej3tlRmE+7nXnSiKE8PkXYirRqz2ZXcsLdn+nDf1b4=; b=NDEMKwzxZm+Wbl6dwyow6+FsO9ipjkvKO5LnNyppG+EVh1gIfANaEr3ulmfkW9t0jKD8jP GsVkrO+jj4vk1RXnn1AXXuOnxmMhqC17b26tTkMcSDOCRs5JVq2/LdSfmI2f5jdYzDPFyQ jEBqH6fPKFCrBqAeqHxB/XrxxjDxHzMmVRXDRyHuchgw9aYK7V/S63B6hIwua49fYUAOqS GBfW+TQ64DahHCg/dshrkEBGOQVTnQMsBUka+episH6jSyB/P2ZSc2GCHtwe+7HX2C20QH GjHtJzmgdgskz2qzHuTvbjbumpAJPBOr6MeDzY0QGuxq528Rwq1z9S70iI4MJA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1691079120; 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=bej3tlRmE+7nXnSiKE8PkXYirRqz2ZXcsLdn+nDf1b4=; b=YuMg5dJj91HAOdk+wyfK/W3wTJwKxyucKqawn44sg46WvdOscLQ0BeIux17L3HgXDbtpJC MQ7LWDNmJzrh2NnkQQW43qawsC6CoRSAUpWlGjQQO3ZxclKmuflntmQJN3piXExzcdjafp kPAtyPDLoaRNDZVSpgr4mEkIsV+bImXt+g7CCTWFDvtFeXXW11jUDPeLmRWC5hRX7tM6Ef BFSTnI0UpdAF3CO1VF21qHFObz3cxQz1wTG3ByyYoWMZwZ2zdbPaCdzWsbPqPxLBGFeNzg 5LxcqpooNFl+YSacTx0IoU2LHLw5zffdksvJorv3OHHkDcvRH0Dl25UM4BQvsA== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1691079120; a=rsa-sha256; cv=none; b=JKcX/U9jR7J0gkKdl89gSCdegl8T3C4hKQK0GOS2eSxsraBHOMODW5XcqGx6nMDZVLBRlO d4MJqyq0+HAiKa2ien+3BnksbaCQTSDib9KiIumZ9eu0YYlouNl8U8Cr3WOlAsSVPEDsUo njQE4FrU9PhsgB2g5d3DGblArQ1pMzbFFK0uTKqwEVHtBpbd9UfZzEpiFgwnP05JJugMA3 8OvcopReQEsTe3cuVz05ZFSQMjJ3x7Ajo9fo48NgAgup2MqU4wUuoqw6lwMJBgZYijk2Ej 33QECZ9atS7IMj3BghrUqoPTNWpX6O8Z6ZVNomBY9Vrd06FZzAKmJE3sm0j5Hw== ARC-Authentication-Results: i=1; mx1.freebsd.org; none 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 4RGv4J1FpkzCBR; Thu, 3 Aug 2023 16:12:00 +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 373GC0YB006032; Thu, 3 Aug 2023 16:12:00 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.17.1/8.17.1/Submit) id 373GC003006031; Thu, 3 Aug 2023 16:12:00 GMT (envelope-from git) Date: Thu, 3 Aug 2023 16:12:00 GMT Message-Id: <202308031612.373GC003006031@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org From: Vladimir Kondratyev Subject: git: c6889cbf664e - main - spibus(4): Allow IRQ resource to be released List-Id: Commit messages for the main branch of the src repository List-Archive: https://lists.freebsd.org/archives/dev-commits-src-main List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-src-main@freebsd.org X-BeenThere: dev-commits-src-main@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: wulf X-Git-Repository: src X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: c6889cbf664ecddf7fdce7c6d3c90a282c1b5d98 Auto-Submitted: auto-generated The branch main has been updated by wulf: URL: https://cgit.FreeBSD.org/src/commit/?id=c6889cbf664ecddf7fdce7c6d3c90a282c1b5d98 commit c6889cbf664ecddf7fdce7c6d3c90a282c1b5d98 Author: Vladimir Kondratyev AuthorDate: 2023-08-03 16:10:50 +0000 Commit: Vladimir Kondratyev CommitDate: 2023-08-03 16:10:50 +0000 spibus(4): Allow IRQ resource to be released IRQ Resource is allocated on spibus(4). We must release it here too rather than propagate request down the tree. Fixes: 4dd8db62e9d3 ("Add IRQ resource to SPIBUS") MFC after: 1 week Reviewed by: manu Differential Revision: https://reviews.freebsd.org/D41243 --- sys/dev/spibus/spibus.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sys/dev/spibus/spibus.c b/sys/dev/spibus/spibus.c index b9b3e8d28b83..af4b1402cee4 100644 --- a/sys/dev/spibus/spibus.c +++ b/sys/dev/spibus/spibus.c @@ -247,11 +247,11 @@ static device_method_t spibus_methods[] = { /* Bus interface */ DEVMETHOD(bus_setup_intr, bus_generic_setup_intr), DEVMETHOD(bus_teardown_intr, bus_generic_teardown_intr), - DEVMETHOD(bus_release_resource, bus_generic_release_resource), DEVMETHOD(bus_activate_resource, bus_generic_activate_resource), DEVMETHOD(bus_deactivate_resource, bus_generic_deactivate_resource), DEVMETHOD(bus_adjust_resource, bus_generic_adjust_resource), DEVMETHOD(bus_alloc_resource, bus_generic_rl_alloc_resource), + DEVMETHOD(bus_release_resource, bus_generic_rl_release_resource), DEVMETHOD(bus_get_resource, bus_generic_rl_get_resource), DEVMETHOD(bus_set_resource, bus_generic_rl_set_resource), DEVMETHOD(bus_get_resource_list, spibus_get_resource_list),