From nobody Fri Feb 23 19:33:05 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 4ThKt92WPBz5BN6m; Fri, 23 Feb 2024 19:33:05 +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 4ThKt91zpXz54KM; Fri, 23 Feb 2024 19:33:05 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1708716785; 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=lC6z4xtsHjqPA5+fP1CeRsuOI7Ed8Vgz+sJVAjrR9KA=; b=rk4lZvNhdvm+Nzf4y7xyiFk8+dcGmd92hVR3APtlZpqbbmQrudpxe4rYqWRaTYcUgA5vtg o8qSduhjI2wJFDrguSCK3e3rt/N+280QYv4QdOJ4R5+QgWhhAuXoQHxAFEYpSNN0chx1KO IVjmRPtcZEQ7mwfMToHTprf+GcDIU/9ko1T+59zAeZQcyqFCxhHF5hclbqHVLKIhGQ62Hn A53NMaFsQS6kgiEOCwkCJ0DvmeVQjyNGWITg4eTNW5DVv2bIuFQL2mZch5nZPRWfr0pk42 lcRRWoX9AxuzY8/NexpslIcDlDGB9lrVlO8hLHVsw8TJPMrw/e1R/xob9JxiFg== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1708716785; a=rsa-sha256; cv=none; b=LJ5dBXpBDNVQ/A9KeJwbEgmiXTXChauEU3bmQg9wGqCt6aRKUEkD3a5a5EVt7VQ8mdAiqI 8WUxhNeFpoI6CFp4CepznvWXHK4o+wkkZrTCcQLSymb7QN8+LSySPEZWWjKcrNFoILjPXy mRK+AGiulVIt3axzW5M6wSFmVCjjiXE6Tt6MKmMIWleNfqgsyNYlkyOMgM6LbhlyKolh9n HtavtRADVEa0qzThTjsKSpkECgKMRQuHl2/jzdmKxmIVGWJsHAmLjjB/9zKk0wdgjseRza QN2XxJcuCYQE8xyXk2h5+l9Fej6ZqzhvdfwrP9nti6C/ABq71GwroIG05Li/5w== 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=1708716785; 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=lC6z4xtsHjqPA5+fP1CeRsuOI7Ed8Vgz+sJVAjrR9KA=; b=ebrJ33tePdwzh8pi0+k8LR3bCK0WInUQpBAkNb8htA+GB1RpMvkMKVTlGLV748ECmFr2Gc lytGdplHTrzPiM2fBx8809o6sC5rRoaFMsYgnQABLWLusYJKHN1Z94GXDfk/QQf6H88HNc XuabWiwH6PPEgpCJawAw1kMNqxGXiRm7ds+yPvZwN5ckcBrVcgfaOUoEcu/UEaVMNTn04T KIopkSjomzIlbC0U8hdvhxCr6ItwyL/8QvNrqMMXo2AF8n0AelLJQCTrM9JWohLyKckpko udIA/MXj8SezbX+17YlIpDlYLdBXsQEEPvvniRjCUjAiGPKcI/RNk3Btym17dw== 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 4ThKt912WbzTQM; Fri, 23 Feb 2024 19:33:05 +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 41NJX50A089288; Fri, 23 Feb 2024 19:33:05 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.17.1/8.17.1/Submit) id 41NJX5UF089285; Fri, 23 Feb 2024 19:33:05 GMT (envelope-from git) Date: Fri, 23 Feb 2024 19:33:05 GMT Message-Id: <202402231933.41NJX5UF089285@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org From: Gleb Smirnoff Subject: git: 89189224adb5 - main - snd_hda: add 32-bit memory quirk for Creative Sound Blaster Audigy FX 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: glebius X-Git-Repository: src X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 89189224adb560af6de2bb2e13a2b1831b89101d Auto-Submitted: auto-generated The branch main has been updated by glebius: URL: https://cgit.FreeBSD.org/src/commit/?id=89189224adb560af6de2bb2e13a2b1831b89101d commit 89189224adb560af6de2bb2e13a2b1831b89101d Author: Gleb Smirnoff AuthorDate: 2024-02-23 19:30:13 +0000 Commit: Gleb Smirnoff CommitDate: 2024-02-23 19:30:13 +0000 snd_hda: add 32-bit memory quirk for Creative Sound Blaster Audigy FX Despite still being in production the device appeared not able to use memory above BUS_SPACE_MAXADDR_32BIT, and if your desktop has a lot of memory there is a high chance driver would allocate inaccessible memory. Submitted by: wulf Reviewed by: mav --- sys/dev/sound/pci/hda/hdac.c | 1 + sys/dev/sound/pci/hda/hdac.h | 1 + 2 files changed, 2 insertions(+) diff --git a/sys/dev/sound/pci/hda/hdac.c b/sys/dev/sound/pci/hda/hdac.c index 1f06692ba36e..704bcad3822c 100644 --- a/sys/dev/sound/pci/hda/hdac.c +++ b/sys/dev/sound/pci/hda/hdac.c @@ -201,6 +201,7 @@ static const struct { { HDA_VMWARE, "VMware", 0, 0 }, { HDA_SIS_966, "SiS 966/968", 0, 0 }, { HDA_ULI_M5461, "ULI M5461", 0, 0 }, + { HDA_CREATIVE_SB1570, "Creative SB Audigy FX", 0, HDAC_QUIRK_64BIT }, /* Unknown */ { HDA_INTEL_ALL, "Intel", 0, 0 }, { HDA_NVIDIA_ALL, "NVIDIA", 0, 0 }, diff --git a/sys/dev/sound/pci/hda/hdac.h b/sys/dev/sound/pci/hda/hdac.h index 31bdc9130d9b..53c101f3119b 100644 --- a/sys/dev/sound/pci/hda/hdac.h +++ b/sys/dev/sound/pci/hda/hdac.h @@ -192,6 +192,7 @@ /* Creative */ #define CREATIVE_VENDORID 0x1102 +#define HDA_CREATIVE_SB1570 HDA_MODEL_CONSTRUCT(CREATIVE, 0x0012) #define HDA_CREATIVE_ALL HDA_MODEL_CONSTRUCT(CREATIVE, 0xffff) /* VIA */