[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <95fc3b8f-7556-371d-2817-7e0d811de24a@linux.intel.com>
Date: Tue, 19 Jul 2022 09:49:44 -0500
From: Pierre-Louis Bossart <pierre-louis.bossart@...ux.intel.com>
To: Dave Airlie <airlied@...il.com>,
Rodrigo Vivi <rodrigo.vivi@...el.com>
Cc: alsa-devel@...a-project.org,
"open list:DOCUMENTATION" <linux-doc@...r.kernel.org>,
Greg Kroah-Hartman <gregkh@...uxfoundation.org>,
Jonathan Corbet <corbet@....net>,
Linux Wireless List <linux-wireless@...r.kernel.org>,
LKML <linux-kernel@...r.kernel.org>, linux-block@...r.kernel.org,
"Luis R. Rodriguez" <mcgrof@...nel.org>,
Daniel Vetter <daniel@...ll.ch>,
Network Development <netdev@...r.kernel.org>,
"dri-devel@...ts.sf.net" <dri-devel@...ts.sf.net>,
Dave Airlie <airlied@...hat.com>,
Linus Torvalds <torvalds@...ux-foundation.org>,
Linux Media Mailing List <linux-media@...r.kernel.org>
Subject: Re: [PATCH] docs: driver-api: firmware: add driver firmware
guidelines.
On 7/18/22 19:29, Dave Airlie wrote:
>>> +* Firmware should be versioned with at least a major/minor version. It
>>> + is suggested that the firmware files in linux-firmware be named with
>>> + some device specific name, and just the major version. The
>>> + major/minor/patch versions should be stored in a header in the
>>> + firmware file for the driver to detect any non-ABI fixes/issues. The
>>> + firmware files in linux-firmware should be overwritten with the newest
>>> + compatible major version. Newer major version firmware should remain
>>> + compatible with all kernels that load that major number.
>>
>> would symbolic links be acceptable in the linux-firmware.git where
>> the <fmw>_<major>.bin is a sym link to <fwm>_<major>.<minor>.bin
>>
>> or having the <fwm>_<major>.bin really to be the overwritten every minor
>> update?
>
> I don't think providing multiple minor versions of fw in
> linux-firmware is that interesting.
> Like if the major is the same, surely you always want the newer ones.
> As long as the
> ABI doesn't break. Otherwise we are just wasting disk space with fws
> nobody will be using.
It was my understanding that once a firmware file is in linux-firmware
it's there forever. There are tons of existing symlinks to point to the
latest version, but the previous versions are not removed/overwritten.
see random examples:
ls -lR /lib/firmware | grep t4fw
ls -lR /lib/firmware | grep fw_release
Powered by blists - more mailing lists