Return-Path: Received: from mail.linutronix.de (193.142.43.55:993) by crypto-ml.lab.linutronix.de with IMAP4-SSL for ; 03 Oct 2019 09:07:03 -0000 Received: from mx2.suse.de ([195.135.220.15] helo=mx1.suse.de) by Galois.linutronix.de with esmtps (TLS1.2:DHE_RSA_AES_256_CBC_SHA256:256) (Exim 4.80) (envelope-from ) id 1iFx4f-0002G1-Jk for speck@linutronix.de; Thu, 03 Oct 2019 11:07:02 +0200 Received: from relay2.suse.de (unknown [195.135.220.254]) by mx1.suse.de (Postfix) with ESMTP id 75C05B171 for ; Thu, 3 Oct 2019 09:06:53 +0000 (UTC) Date: Thu, 3 Oct 2019 11:06:42 +0200 From: Borislav Petkov Subject: [MODERATED] Re: ucode packaging Message-ID: <20191003090642.GA11929@zn.tnic> References: MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable To: speck@linutronix.de List-ID: On Thu, Oct 03, 2019 at 02:46:41AM +0100, speck for Andrew Cooper wrote: > Expressing this via separate packages, as the kernel typically is, is > most likely too complicated to work sensibly, but luckily ucode blobs > are tiny.=C2=A0 How about a scheme whereby a single package has files in the > form of /lib/firmware/$VENDOR-ucode/FF-MM-SS-VERSION and a symlink of > the latest version to FF-MM-SS, for compatibility with existing initrd > generation tools? I don't see a problem with that since no changes will be needed to the existing tools - they would only need to be tested whether they can handle the symlink thing properly. Some distros, for example, already call some ucode blobs FF-MM-SS.initramfs, for example, to enforce only early loading of those due to bugs when loaded late. I believe we did that in our dracut too... --=20 Regards/Gruss, Boris. SUSE Software Solutions Germany GmbH, GF: Felix Imend=C3=B6rffer, HRB 247165,= AG M=C3=BCnchen --=20