Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.kernel > #81875

Bug#1062678: amd64-microcode: Package upstream's amdtee dir in amd64-microcode?

Path csiph.com!fu-berlin.de!bofh.it!news.nic.it!robomod
From Diederik de Haas <didi.debian@cknow.org>
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 <I77gl-9WGo-1@gated-at.bofh.it> (permalink)
References <I353s-7pd2-23@gated-at.bofh.it> <I6OGJ-9Lh9-3@gated-at.bofh.it> <I77gl-9WGo-3@gated-at.bofh.it> <I353s-7pd2-23@gated-at.bofh.it> <I77gl-9WGo-3@gated-at.bofh.it>
X-Original-To "1062678@bugs.debian.org" <1062678@bugs.debian.org>, Henrique de Moraes Holschuh <hmh@debian.org>, Mario Limonciello <mario.limonciello@amd.com>
X-Mailbox-Line From debian-bugs-dist-request@lists.debian.org Tue Feb 13 20:09:10 2024
Old-Return-Path <debbugs@buxtehude.debian.org>
X-Spam-Flag NO
X-Spam-Score 0.44
Reply-To Diederik de Haas <didi.debian@cknow.org>, 1062678@bugs.debian.org
Resent-To debian-bugs-dist@lists.debian.org
Resent-Cc Henrique de Moraes Holschuh <hmh@debian.org>
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 <debian-bugs-dist@lists.debian.org> archive/latest/1821573
List-ID <debian-bugs-dist.lists.debian.org>
List-URL <https://lists.debian.org/debian-bugs-dist/>
Approved robomod@news.nic.it
Lines 87
Sender robomod@news.nic.it
X-Original-Cc "debian-kernel@lists.debian.org" <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

Cross-posted to 2 groups.

Show key headers only | View raw


[Multipart message — attachments visible in raw view] - view raw

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

Back to linux.debian.kernel | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

Bug#1062678: amd64-microcode: Package upstream's amdtee dir in amd64-microcode? Diederik de Haas <didi.debian@cknow.org> - 2024-02-02 18:00 +0100
  Bug#1062678: amd64-microcode: Package upstream's amdtee dir in amd64-microcode? Diederik de Haas <didi.debian@cknow.org> - 2024-02-12 21:30 +0100
  Bug#1062678: amd64-microcode: Package upstream's amdtee dir in amd64-microcode? Diederik de Haas <didi.debian@cknow.org> - 2024-02-13 01:30 +0100
  Bug#1062678: amd64-microcode: Package upstream's amdtee dir in amd64-microcode? Diederik de Haas <didi.debian@cknow.org> - 2024-02-13 21:10 +0100
    Bug#1062678: amd64-microcode: Package upstream's amdtee dir in amd64-microcode? "Henrique de Moraes Holschuh" <hmh@debian.org> - 2024-02-15 19:20 +0100
      Bug#1062678: amd64-microcode: Package upstream's amdtee dir in amd64-microcode? "Henrique de Moraes Holschuh" <hmh@debian.org> - 2024-02-15 19:50 +0100
  Bug#1062678: amd64-microcode: Package upstream's amdtee dir in amd64-microcode? "Henrique de Moraes Holschuh" <hmh@debian.org> - 2024-02-15 20:10 +0100

csiph-web