From nobody Sat Feb 17 15:12:21 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 4TcXN54Z1Tz5BFcL; Sat, 17 Feb 2024 15:12:21 +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 4TcXN53fTTz4XbR; Sat, 17 Feb 2024 15:12:21 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1708182741; 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=yjMJWQT5PTIWTWK/52TsBKu/MtnkPl+Zkc2qudeN+lw=; b=Dxk1KwQLb8qRypsVPNn9GbuwAPlnG5axoGx3KC3ajqydecFRhIgA5PxpQgt475pu6itCOF UGRFSDrkgkUEid9JqINRAPy6WuBI2qEkxmv3Os+6PbV1/pB3KOvjj92EHWksHnwjA6Pe91 JAb8y+bqROhBj3tbioVp6g6CUr6yxOmM9I5VbdE16zSIwpbKJw9Mbv9JHeB4k5VSrgd0uT z2rDda+zyGJfjeIqbfE8rKJt4FrHA5o0b37hIAfavH5+UhEcIa0UgMreKTa6nEdDuGnDXN WikpderniZ9HYG1eoyphSDojppWtNdnVQDKVSSb/NcbU2lYUH8DuZ9tkBC4Hmg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1708182741; 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=yjMJWQT5PTIWTWK/52TsBKu/MtnkPl+Zkc2qudeN+lw=; b=Judr+aEVoWXP/+oez1NF3ODi25dp+TJfKzfS0tE71oAUvdwPySx43XYqxXOFIwJIYaVIpJ HRUYjpidB/bzs1GO9U2QDtlowUNjgfvXJ8V7wvnOeu8kkkw+9Kpift4ekRPH9WWR4nMfJq +SKtNzkjiXkTwIq/MpylZM+PZq39d+RSk1GuM0bhgXeNkhNoSBzIm0WK/eTbXozxUWP8aL nnZ+6v09x+SjPwyMLxmS4j4Jb4Hwd0iKb7LV6R4QDGzwL4A4nEAd6LPDF9bnuMjmJ1VZXp 33c87tgcKDVTyjrOPHs/S+/faHH3boAUl4NFcovN8ahYPBCEvoKhnf+jJbUvGA== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1708182741; a=rsa-sha256; cv=none; b=Y8H/aA1fP64ikplnu2JIZ9W9lYCEVpBDEcKufOHJWXkWYRUeukzhM6+O6fDaisxOIpr1p9 LATw8UlvqXrFucwavU+UyOcphPsm3OhPCvljGEaIfV6Gmj1axlq9+xeDO5QRVjb2SaMbnk jLBCv9kLOOGyVR3o/31WfPbRdv2iOOul+SIGL9Vkc98Jo49K1orYEM9/RHCQxXHOpQY/8F Sb4d6qNSeXJSCxMq31yPHkwWWEnDTmCPmNMNYNjSjkwJbN8EH3wMu84J1GTdLtcRxeONSk biINiPl0cuBaxTCUXIUrj3mTTsCdGIst1I7510n1Xi8l5fn0R6Ws7h+8CBQZ2A== 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 4TcXN52mVCz1C9D; Sat, 17 Feb 2024 15:12:21 +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 41HFCL6T080167; Sat, 17 Feb 2024 15:12:21 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.17.1/8.17.1/Submit) id 41HFCL2Z080156; Sat, 17 Feb 2024 15:12:21 GMT (envelope-from git) Date: Sat, 17 Feb 2024 15:12:21 GMT Message-Id: <202402171512.41HFCL2Z080156@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-branches@FreeBSD.org From: Andriy Gapon Subject: git: 52dfb8b11453 - stable/14 - rk_i2s: change interrupt type from MISC to AV (audio/video) 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: avg X-Git-Repository: src X-Git-Refname: refs/heads/stable/14 X-Git-Reftype: branch X-Git-Commit: 52dfb8b11453c30e9afcdafc9bf581401eb912a6 Auto-Submitted: auto-generated The branch stable/14 has been updated by avg: URL: https://cgit.FreeBSD.org/src/commit/?id=52dfb8b11453c30e9afcdafc9bf581401eb912a6 commit 52dfb8b11453c30e9afcdafc9bf581401eb912a6 Author: Andriy Gapon AuthorDate: 2021-09-24 17:06:49 +0000 Commit: Andriy Gapon CommitDate: 2024-02-17 14:15:10 +0000 rk_i2s: change interrupt type from MISC to AV (audio/video) This gives a higher priority to the interrupt handling thread. We need it because its work (filling the hardware FIFO) is time sensitive. (cherry picked from commit 406e959d07c78521fb755d94dc784d377f302cfe) --- sys/arm64/rockchip/rk_i2s.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sys/arm64/rockchip/rk_i2s.c b/sys/arm64/rockchip/rk_i2s.c index b1356a17987e..85a45af50af8 100644 --- a/sys/arm64/rockchip/rk_i2s.c +++ b/sys/arm64/rockchip/rk_i2s.c @@ -545,7 +545,7 @@ rk_i2s_dai_setup_intr(device_t dev, driver_intr_t intr_handler, void *intr_arg) struct rk_i2s_softc *sc = device_get_softc(dev); if (bus_setup_intr(dev, sc->res[1], - INTR_TYPE_MISC | INTR_MPSAFE, NULL, intr_handler, intr_arg, + INTR_TYPE_AV | INTR_MPSAFE, NULL, intr_handler, intr_arg, &sc->intrhand)) { device_printf(dev, "cannot setup interrupt handler\n"); return (ENXIO);