From nobody Fri Nov 01 23:13:58 2024 X-Original-To: bugs@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 4XgGrl0kkGz5cf3g for ; Fri, 01 Nov 2024 23:13:59 +0000 (UTC) (envelope-from bugzilla-noreply@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 "R10" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4XgGrk6q9qz4pXg for ; Fri, 1 Nov 2024 23:13:58 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1730502839; 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: in-reply-to:in-reply-to:references:references; bh=bc+c6SD9LL/op1lvTeKJWuv7/D9+t6dh9uSsuHoKMfQ=; b=SwP6/2Iu03FTE5qDQTALg+WehPD1J/6whau6+DaVbgrZPVIpcWIgJMsFVlWuTmOuvs9EHK 5zRfoPtWYsHPX+HC7N6+FFtv29P2GzGuoD+f3Zrq503Wa1Ga+RGVeNi4pM0M3Od9XGchG5 NXu1dQ1D66XYHu0uzaBAmtHthl4vv2ZSldHR6loDIEWKm34X93EoVsk8Bj0BkOmk35q1r1 yGWpz9flT4UC90UpO4KdcrFHZypTaYMGEVktHLO6DD9Mj2Rc6e2XNmzq5weGBXBz7ZpnNU PXsvV4y/8mUwyZHXB6Kv864vKOs7e788uK1HWWFVR8SHG56k721U7SqJWAKu4Q== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1730502839; a=rsa-sha256; cv=none; b=CXTav8YWuZqWgb9DaI7ZadjAih9VpuNuUHzfbyRXRQ5xawkF0y2+KQL3OwWGTF4GjUF0f2 giZaXnrz08E7w6QlM8SOvyKbmuM6n3H+nadpd+xXsZEBlG0hqbh7Ll0gbyo/jxKFm1uq1I v3P8yVY9dwrBuFdjq7DHBOIs4yccID+zI14F9ZtVLX3S/2zsszUzP6t+QWiVTxnNdWuQ7P msCX4d9UkVLCAHC03r4yWm/iBnQSE6NRhCw38itgFuZyQAvqHY+4oORiakDTCBTzDRXL9Y 2WUFlHTqW4uISk1YBe9CPv8JL1Mtwo8DQfl859hOZYeGd8UJLoJKYu7wWKTqzg== Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (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 4XgGrk6705zgCj for ; Fri, 1 Nov 2024 23:13:58 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 4A1NDw8F032914 for ; Fri, 1 Nov 2024 23:13:58 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 4A1NDw0G032913 for bugs@FreeBSD.org; Fri, 1 Nov 2024 23:13:58 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: bugs@FreeBSD.org Subject: [Bug 282479] LinuxKPI: lockdep_is_held() user doesn't build after LLVM 19 import Date: Fri, 01 Nov 2024 23:13:58 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: kern X-Bugzilla-Version: Unspecified X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: 2khramtsov@gmail.com X-Bugzilla-Status: Open X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: bugs@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated List-Id: Bug reports List-Archive: https://lists.freebsd.org/archives/freebsd-bugs List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-bugs@FreeBSD.org MIME-Version: 1.0 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D282479 --- Comment #4 from Evgenii Khramtsov <2khramtsov@gmail.com> --- (In reply to Bjoern A. Zeeb from comment #3) > Also if you have no DEBUG kernel (or no INVARIANTS) *__m may not be used = in a function but only declared, which leads to an error. Memory serving m= e right this can happen in iwlwifi. Comment #1 says that -CURRENT with both GENERIC and GENERIC-NODEBUG kernels (that include iwlwifi) build fine after removing the __diagused macro (which expands to the __unused attribute) from the parameter list. I didn't investigate further. > It is not clear where your sources are from and whether you are building = the modules with the same options as your kernel or with the kernel (given = your sources seem to be in /tmp). Comment #1 says -CURRENT and drm-kmod 5.10-lts branch: base 8d6feaaaa26f (/usr/src) and https://github.com/freebsd/drm-kmod/commit/17498c322eea (/tmp/drm-kmod) cd /tmp/drm-kmod && make -j$(nproc) > There were other compile-time fixes for drm-kmod committed a few days ago. "path does not exist" types of warning fixes do not apply to 5.10-lts > Sorry but 5.10 is not for current. Assuming amd64 please use 6.1-lts or = simply ports they'll do the right thing and 6.1-lts compiles (and wulf trie= d master he said; see review of the commit). drm-kmod >=3D5.11 with the new ttmv3 allocator is unusable on amdgpu as it = lacks bus_dma(9) for DMA allocations, and instead requests 4 MB phys contig allocations without a scatter gather which become a burden after enough free phys mem fragmentation (prolonged uptime or poudriere building) see https://github.com/freebsd/drm-kmod/issues/302#issuecomment-2318230263 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D277476#c0 "The right thing" is subjective, please don't give unsolicited advice. --=20 You are receiving this mail because: You are the assignee for the bug.=