Path: csiph.com!fu-berlin.de!bofh.it!news.nic.it!robomod From: Diederik de Haas Newsgroups: linux.debian.bugs.dist,linux.debian.kernel Subject: Bug#1062678: amd64-microcode: Package upstream's amdtee dir in amd64-microcode? Date: Tue, 13 Feb 2024 21:10:01 +0100 Message-ID: References: X-Original-To: "1062678@bugs.debian.org" <1062678@bugs.debian.org>, Henrique de Moraes Holschuh , Mario Limonciello X-Mailbox-Line: From debian-bugs-dist-request@lists.debian.org Tue Feb 13 20:09:10 2024 Old-Return-Path: X-Spam-Flag: NO X-Spam-Score: 0.44 Reply-To: Diederik de Haas , 1062678@bugs.debian.org Resent-To: debian-bugs-dist@lists.debian.org Resent-Cc: Henrique de Moraes Holschuh X-Debian-Pr-Message: followup 1062678 X-Debian-Pr-Package: amd64-microcode X-Debian-Pr-Source: amd64-microcode X-Report-Abuse: Please report any abuse attempt to abuse@migadu.com and include these headers. Organization: Connecting Knowledge MIME-Version: 1.0 Content-Type: multipart/signed; boundary="nextPart2230448.Cv6rrhPuTd"; micalg="pgp-sha256"; protocol="application/pgp-signature" X-Migadu-Flow: FLOW_OUT X-Debian-Message: from BTS X-Mailing-List: archive/latest/1821573 List-ID: List-URL: Approved: robomod@news.nic.it Lines: 87 Sender: robomod@news.nic.it X-Original-Cc: "debian-kernel@lists.debian.org" X-Original-Date: Tue, 13 Feb 2024 21:04:12 +0100 X-Original-Message-ID: <4129440.WoNEDfnNJR@bagend> X-Original-References: <170689265029.11005.12520981375105195462.reportbug@bagend.home.cknow.org> <1772612.1cg3NubReN@bagend> <92061e45-5ab7-4381-9518-d406ffa33042@amd.com> <170689265029.11005.12520981375105195462.reportbug@bagend.home.cknow.org> <92061e45-5ab7-4381-9518-d406ffa33042@amd.com> Xref: csiph.com linux.debian.bugs.dist:1186127 linux.debian.kernel:81875 --nextPart2230448.Cv6rrhPuTd Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii"; protected-headers="v1" X-Report-Abuse: Please report any abuse attempt to abuse@migadu.com and include these headers. From: Diederik de Haas Cc: "debian-kernel@lists.debian.org" Date: Tue, 13 Feb 2024 21:04:12 +0100 Message-ID: <4129440.WoNEDfnNJR@bagend> Organization: Connecting Knowledge In-Reply-To: <92061e45-5ab7-4381-9518-d406ffa33042@amd.com> MIME-Version: 1.0 On Tuesday, 13 February 2024 17:59:55 CET Mario Limonciello wrote: > > I think it's important to facilitate people having f.e. the following > > combos: > > - Intel CPU with AMD GPU > > - AMD CPU with Nvidia GPU > > - AMD CPU with AMD GPU (discrete or integrated) > > > > Preferably without having to install 100s of MB of firmware files of which > > 95% the user doesn't actually need. (See f.e. > > https://bugs.debian.org/1057786) > You don't currently split up the AMD APU integrated graphics and dGPU, > and I doing this is a bad idea as it's possible to reuse IP versions on > APU and dGPU hardware. If they are the same then they would use the > same firmware binaries. I have/had no plan to make a split for iGPU and dGPU, both would need to install the `firmware-amd-graphics` package. For the 3 scenario's above: - `intel-microcode` + `firmware-amd-graphics` - `amd64-microcode` + `firmware-nvidia`* - `amd64-microcode` + `firmware-amd-graphics` AMD APU's would fall into scenario 3. *) If my MR gets accepted, otherwise `firmware-misc-nonfree` > For reference on the size: > > $ du -sh amdgpu > 60M amdgpu > > $ du -sh du -sh amdtee/ > 20K amdtee/ > > $ du -sh amd-ucode/ > 112K amd-ucode/ > > $ du -sh amd > 268K amd What I want(ed) to prevent is that for scenario 2, the user should NOT have to install the `firmware-amd-graphics` package to get the amdtee firmware. > These aren't yet upstream, but so you can see the size: > > $ du -sh amdnpu/ > 3.3M amdnpu/ And that seems like a future candidate too for amd64-microcode package. > I think your suggestion to combine all the non graphics related binaries > to a single package and all graphics related binaries to another is fine. Excellent, then I think we're all in agreement :) I'll add the `amdtee` dir to `Files-Excluded` in firmware-nonfree and Henrique can add those files to the amd64-microcode package. Cheers, Diederik --nextPart2230448.Cv6rrhPuTd Content-Type: application/pgp-signature; name="signature.asc" Content-Description: This is a digitally signed message part. Content-Transfer-Encoding: 7Bit -----BEGIN PGP SIGNATURE----- iHUEABYIAB0WIQT1sUPBYsyGmi4usy/XblvOeH7bbgUCZcvLPAAKCRDXblvOeH7b bh2EAP9e2FP0hFj2qip86Ru1ECIWqBLRwy1wfogbCL+e+AS6KAD+KJRt1BWX2NNO AU4TMFyGn6JrXB1qITaaCOGxg8AgQAw= =h/11 -----END PGP SIGNATURE----- --nextPart2230448.Cv6rrhPuTd--