]>
git.proxmox.com Git - fwupd.git/log
Richard Hughes [Sat, 19 Nov 2022 11:06:23 +0000 (11:06 +0000)]
trivial: Fix memory leak when incorporating FuMeiDevice
Richard Hughes [Sat, 19 Nov 2022 11:05:18 +0000 (11:05 +0000)]
trivial: Fix a tiny leak when translating the security attr
Mario Limonciello [Wed, 16 Nov 2022 22:24:13 +0000 (16:24 -0600)]
Add BIOS rollback protection support for Dell systems
Mario Limonciello [Wed, 16 Nov 2022 22:24:02 +0000 (16:24 -0600)]
Add BIOS rollback protection support for Lenovo systems
Mario Limonciello [Wed, 16 Nov 2022 22:23:26 +0000 (16:23 -0600)]
Add security attribute for OEM specific implementations of BIOS rollback protection
Mario Limonciello [Wed, 16 Nov 2022 17:07:46 +0000 (11:07 -0600)]
Move AMD platform rollback protection into level 4
This was expected to be used more prevalently than it is being used
in practice.
Link: https://github.com/fwupd/fwupd/issues/5261
Vincent Huang [Fri, 18 Nov 2022 07:38:21 +0000 (15:38 +0800)]
synaptics-rmi: show correct bootloader version on V5 and V6 device
Vincent Huang [Fri, 18 Nov 2022 03:40:05 +0000 (11:40 +0800)]
synaptics-rmi: Fix the issue when updating non-secure devices
Sanjay Sheth [Thu, 3 Nov 2022 21:58:46 +0000 (14:58 -0700)]
New plugin for Logitech Whiteboard camera
Jan Tojnar [Wed, 16 Nov 2022 15:23:06 +0000 (16:23 +0100)]
build: Do not check markdown version for gi-docgen 2022
There is no guarantee that Python environment used for the build contains
the same `markdown` version as the one used for running `gi-docgen`.
For example, Nixpkgs uses a self-contained Python environment for the latter,
so `markdown` package is not even available in fwupd build environment.
Fortunately, gi-docgen 2022.2 already checks for `markdown` version
so we can omit our own check for newer gi-docgen versions.
Kevin Chen [Wed, 26 Oct 2022 05:55:02 +0000 (13:55 +0800)]
qsi-dock: Create a new plugin to update docks from QSI
Richard Hughes [Wed, 9 Nov 2022 15:28:06 +0000 (15:28 +0000)]
trivial: Fix the tests on s390x
Richard Hughes [Thu, 10 Nov 2022 10:15:06 +0000 (10:15 +0000)]
dfu-csr: Fix a critical warning when deploying firmware
The last chunk of data has zero size, and so never copy from a NULL source.
Fixes https://github.com/fwupd/fwupd/issues/5251
Richard Hughes [Wed, 9 Nov 2022 15:51:27 +0000 (15:51 +0000)]
trivial: Fix lvfs-testing remote file
Richard Hughes [Wed, 9 Nov 2022 14:19:58 +0000 (14:19 +0000)]
trivial: post release version bump
Richard Hughes [Wed, 9 Nov 2022 14:12:27 +0000 (14:12 +0000)]
Release fwupd 1.8.7
Richard Hughes [Wed, 9 Nov 2022 14:02:39 +0000 (14:02 +0000)]
trivial: Fix capsule image generation for broken locales
Vitaly Lubart [Tue, 8 Nov 2022 13:48:06 +0000 (15:48 +0200)]
igsc: Fix README.md
Intel Arc products do not require the host CSME to update Arc firmware.
Firmware updates will work on both AMD and Intel platforms.
Arc products have their own Graphics Security Control for firmware updates and
leverage existing Intel technology like the MEI interface protocol to implement
the firmware update flow.
Signed-off-by: Vitaly Lubart <vitaly.lubart@intel.com>
jinglewu [Tue, 8 Nov 2022 11:32:56 +0000 (19:32 +0800)]
elantp: Add support for more haptic hardware
Support ic_type 0x12 & 0x13, iap_ver 0x3 & 0x5 iap flow.
Richard Hughes [Thu, 3 Nov 2022 18:05:46 +0000 (18:05 +0000)]
elantp: Use fu_device_retry_full() to avoid a Coverity warning
chenhong [Mon, 7 Nov 2022 07:03:40 +0000 (15:03 +0800)]
Add Goodix GF3258WNC support
Richard Hughes [Fri, 4 Nov 2022 10:17:11 +0000 (10:17 +0000)]
Add more EFI keys to the integrity check list
Richard Hughes [Fri, 4 Nov 2022 12:47:19 +0000 (12:47 +0000)]
Flip around the FuDeviceInstanceFlags logic
Opt-ing 'in' to each both behaviours requires less mental gymnastics compared
to having one flag inverted.
Richard Hughes [Fri, 4 Nov 2022 12:09:58 +0000 (12:09 +0000)]
Do not add duplicate quirk instance IDs
It's pointless, and just wastes RSS.
Kai Michaelis [Fri, 4 Nov 2022 12:55:48 +0000 (13:55 +0100)]
Explain the smc bmc license issue
Add documentation and a helper license script.
Richard Hughes [Thu, 3 Nov 2022 17:27:41 +0000 (17:27 +0000)]
Never hang in g_udev_device_get_parent() if there is never a busnum
Spotted by Coverity.
Richard Hughes [Thu, 3 Nov 2022 16:59:08 +0000 (16:59 +0000)]
trivial: Fix invalid self test loop
Spotted by Coverity.
Aaron Armstrong Skomra [Fri, 4 Nov 2022 02:01:58 +0000 (19:01 -0700)]
wacom-usb: remove the use-runtime-version flag from IPS
The use-runtime-version flag was initially used with the Intuos
Pro Small (2nd-gen USB v2) to force the use of the legacy code
path. The legacy code path was required because of a bug in the
identification of the Bluetooth (I6) firmware.
It has been decided that the bug will be fixed before any fimware
changes are released, removing the need to use the legacy code path.
Richard Hughes [Thu, 3 Nov 2022 17:41:05 +0000 (17:41 +0000)]
analogix: Fix potential division by zero when writing
Richard Hughes [Thu, 3 Nov 2022 17:19:07 +0000 (17:19 +0000)]
fpc: Remove some dead code
Spotted by Coverity.
Richard Hughes [Wed, 19 Oct 2022 12:57:32 +0000 (13:57 +0100)]
Check system integrity when installing UEFI updates
Recently we had an update that changed the system-defined Platform Key, and
we've certainly had updates in the past that changed the Boot#### variables.
Store some core ACPI and UEFI system integrity state from before and after the
update which can be used to mark (waivable) test failures on the LVFS.
Richard Hughes [Thu, 3 Nov 2022 14:59:00 +0000 (14:59 +0000)]
trivial: Do not show a critical warning without a request ID
If using old metadata (or when the device does not hard-require an update
message) just use something generic that cannot be replaced client-side.
Richard Hughes [Thu, 3 Nov 2022 11:54:47 +0000 (11:54 +0000)]
Save the new release metadata when using fu_history_modify_device()
Richard Hughes [Thu, 3 Nov 2022 11:54:09 +0000 (11:54 +0000)]
Correctly set the remote-id when using new-style xz-metadata
The new xz metadata does not include the non-standard checksum target tags, and
instead uses the standardized artifact checksum.
Support both metadata formats when setting the remote ID used for reports.
Richard Hughes [Tue, 21 Jun 2022 09:17:51 +0000 (10:17 +0100)]
igsc: Add a plugin to update some Intel discrete graphics cards
Richard Hughes [Wed, 2 Nov 2022 09:03:10 +0000 (09:03 +0000)]
Fix a regression when using fwuptool install-blob with FMAP firmware
Only set _NO_SEARCH when specified, and do not piggy-back on the --force
command line option.
Fixes https://github.com/fwupd/fwupd/issues/5227
Richard Hughes [Wed, 2 Nov 2022 13:26:10 +0000 (13:26 +0000)]
Do not use globs when building docs
If we use an explicit file lists then the docs are regenerated when the source
files change.
Richard Hughes [Wed, 2 Nov 2022 13:10:24 +0000 (13:10 +0000)]
Add documentation for three existing HSI attributes
Fixes https://github.com/fwupd/fwupd/issues/5233
Richard Hughes [Wed, 2 Nov 2022 10:14:52 +0000 (10:14 +0000)]
Ignored root partitions when getting the list of ESPs
Fixes the other half of https://github.com/fwupd/fwupd/issues/5211
Richard Hughes [Wed, 2 Nov 2022 10:02:14 +0000 (10:02 +0000)]
Do not follow symlinks when uing fu_path_get_files()
Fixes half of https://github.com/fwupd/fwupd/issues/5211
Richard Hughes [Tue, 1 Nov 2022 16:23:17 +0000 (16:23 +0000)]
trivial: Fix docs warning for fu_udev_device_find_usb_device()
Richard Hughes [Tue, 1 Nov 2022 16:21:39 +0000 (16:21 +0000)]
trivial: Don't use _NO_AUTO_INSTANCE_IDS for MEI devices
This doesn't do what we thought it does.
Richard Hughes [Mon, 31 Oct 2022 17:03:36 +0000 (17:03 +0000)]
Record more host DMI data when submitting a report
We want the specific BiosVersion when adding entries to the uefi-dbx.quirk --
as often the dbx update will work only with newer BIOS versions.
Richard Hughes [Tue, 1 Nov 2022 15:38:06 +0000 (15:38 +0000)]
analogix: Add a device test with test firmware
Richard Hughes [Tue, 1 Nov 2022 10:15:54 +0000 (10:15 +0000)]
analogix: Devices need to be removed and re-inserted after update has completed
The device needs to switch to the new firmware bank, and no automated way
currently exists to reboot the chip.
Richard Hughes [Tue, 1 Nov 2022 13:51:13 +0000 (13:51 +0000)]
Do not hardcode mei0 for mei_me children
Richard Hughes [Tue, 1 Nov 2022 13:31:14 +0000 (13:31 +0000)]
trivial: Ensure all private MEI instance data is incorporated
Richard Hughes [Tue, 1 Nov 2022 13:14:12 +0000 (13:14 +0000)]
Add fu_mei_device_get_fw_status() for future usage
All MEI devices support these attributes, and this API addition will allow us
to support new Intel GPUs and also modernize other plugins.
Richard Hughes [Tue, 1 Nov 2022 13:13:50 +0000 (13:13 +0000)]
trivial: Fix over-constification in fu_udev_device_get_siblings_with_subsystem()
Richard Hughes [Tue, 1 Nov 2022 13:13:09 +0000 (13:13 +0000)]
trivial: Allow specifying NULL for fu_udev_device_get_parent_with_subsystem()
Richard Hughes [Mon, 31 Oct 2022 13:21:48 +0000 (13:21 +0000)]
flashrom: Only use the IFD when the system is Intel-based
Josh Chen [Mon, 31 Oct 2022 02:08:10 +0000 (10:08 +0800)]
elantp: Updating the quirks of the ABS touchpad of Chromebook
Modify the matching method from I2C\MODALIAS_ to I2C\NAME_
Richard Hughes [Fri, 28 Oct 2022 13:02:33 +0000 (14:02 +0100)]
elantp: Derive from FuI2cDevice to allow a I2C\NAME_ quirk match
Mario Limonciello [Fri, 28 Oct 2022 18:10:07 +0000 (13:10 -0500)]
trivial: add missing log domain for efi signature list
Noticed this missing in https://github.com/fwupd/fwupd/issues/5211
Richard Hughes [Thu, 27 Oct 2022 09:10:56 +0000 (10:10 +0100)]
analogix: Be more accurate when reporting percentage progress
Richard Hughes [Thu, 27 Oct 2022 09:09:49 +0000 (10:09 +0100)]
trivial: Be less verbose when parsing IHEX files
Richard Hughes [Thu, 27 Oct 2022 14:05:43 +0000 (15:05 +0100)]
trivial: interpolate correctly when the old value is exactly zero
Richard Hughes [Thu, 27 Oct 2022 13:46:49 +0000 (14:46 +0100)]
trivial: Only ignore progress steps when they are all nonzero
Richard Hughes [Thu, 27 Oct 2022 13:45:57 +0000 (14:45 +0100)]
Add fu_progress_to_string() to make debugging easier
Richard Hughes [Thu, 27 Oct 2022 14:13:16 +0000 (15:13 +0100)]
trivial: Add two more compiler flags to check for C99 compatibility
Richard Hughes [Thu, 27 Oct 2022 14:08:49 +0000 (15:08 +0100)]
trivial: Fix a -Wunused-variable compile warning
Richard Hughes [Thu, 27 Oct 2022 13:49:55 +0000 (14:49 +0100)]
trivial: Fix the dell self tests with the new GUsb installed
Benson Leung [Wed, 26 Oct 2022 21:23:07 +0000 (21:23 +0000)]
ccgx: Add Anker Thunderbolt 4 Mini Hub
This hub is based on Godzilla Creek.
VID:PID is 291A:8398
Benson Leung [Wed, 26 Oct 2022 21:23:07 +0000 (21:23 +0000)]
ccgx: Add QSI's Godzilla Creek Reference Hub
Quanta Storage Inc. QSI Thunderbolt4 Godzilla Hub
It's VID:PID is 2BEF:9065
Richard Hughes [Fri, 23 Sep 2022 07:47:41 +0000 (08:47 +0100)]
Add a helper to get a GUsbDevice from a FuUdevDevice
Mario Limonciello [Wed, 26 Oct 2022 14:34:45 +0000 (09:34 -0500)]
trivial: fix a host security event message
the structure is old->new, so from tained to not tainted should be:
"Kernel is no longer tainted" not "Kernel is tainted"
Fixes: #5199
Sean Rhodes [Wed, 26 Oct 2022 12:48:38 +0000 (13:48 +0100)]
Add new GUIDs for Star Labs laptops (#5201)
* plugins/{flashrom,superio]: Add GUIDs for StarBook Mk VI - Intel
Signed-off-by: Sean Rhodes <sean@starlabs.systems>
* plugins/{flashrom,superio]: Add GUIDs for StarBook Mk VI - AMD
Signed-off-by: Sean Rhodes <sean@starlabs.systems>
* plugins/{flashrom,superio]: Add GUIDs for Byte Mk I - AMD
Signed-off-by: Sean Rhodes <sean@starlabs.systems>
Signed-off-by: Sean Rhodes <sean@starlabs.systems>
Victor Cheng [Tue, 25 Oct 2022 18:10:03 +0000 (02:10 +0800)]
usi-dock: set correct chip type before update.
Richard Hughes [Tue, 25 Oct 2022 10:17:10 +0000 (11:17 +0100)]
Emit a critical warning if a plugin tries to use HWIDs in ->init()
The HWIDs are only available for ->setup() and ->coldplug().
Richard Hughes [Tue, 25 Oct 2022 10:15:56 +0000 (11:15 +0100)]
trivial: Use the GError when loading hwinfo
No behaviour change as this always returns TRUE even if failing to load SMBIOS.
Richard Hughes [Tue, 25 Oct 2022 09:44:02 +0000 (10:44 +0100)]
trivial: Rename an internal function to reflect reality
Richard Hughes [Tue, 25 Oct 2022 09:37:16 +0000 (10:37 +0100)]
dell: Fix the GError setting when querying for a TPM
Richard Hughes [Tue, 25 Oct 2022 09:29:51 +0000 (10:29 +0100)]
Revert "trivial: load hwinfo early so plugins can use the info timely"
This reverts commit
960b6141a6c9586f4aafd820060803d74377c20c as
fu_context_load_hwinfo() needs to load the HWID quirks, and we need to load the
plugins before the quirks otherwise we'll get warnings about quirk keys not
being registered.
Richard Hughes [Tue, 25 Oct 2022 11:43:56 +0000 (12:43 +0100)]
Save the ONLY_QUIRK instance IDs to fix incorporation of i2c
The baseclass is calling fu_device_build_instance_id_quirk() and when we
incorporate the device we were only copying the 'proper' instance IDs and not
the ones used for quirk matching -- which we need to match the devices that use
keys containing MODALIAS for the Plugin key to be set.
Richard Hughes [Tue, 25 Oct 2022 09:50:47 +0000 (10:50 +0100)]
trivial: Watch the plugin config even if there's no ->startup()
Richard Hughes [Tue, 25 Oct 2022 09:49:38 +0000 (10:49 +0100)]
Ensure the configure file is correct for built-in plugins
The fu_plugin_open() function is only called for modular plugins.
Richard Hughes [Fri, 21 Oct 2022 12:16:30 +0000 (13:16 +0100)]
Make the HSI specification machine readable
This allows us to convert it to other forms, e.g. OPAL.
Crag Wang [Mon, 24 Oct 2022 15:00:41 +0000 (23:00 +0800)]
trivial: load hwinfo early so plugins can use the info timely
Richard Hughes [Sun, 23 Oct 2022 09:35:15 +0000 (10:35 +0100)]
Support loading COSWID when only one role has been set
CBOR supports removing the array for only one base element, which the python
uSWID tools now support; allow parsing this in fwupd.
Mario Limonciello [Mon, 24 Oct 2022 14:46:24 +0000 (09:46 -0500)]
trivial: drop libsmbios from synaptics-mst README
Richard Hughes [Mon, 24 Oct 2022 08:32:22 +0000 (09:32 +0100)]
dell: Use fu_memread_xxx() to make buffer parsing less scary
Richard Hughes [Mon, 24 Oct 2022 08:15:39 +0000 (09:15 +0100)]
trivial: Return an error from fu_context_get_smbios_data()
Richard Hughes [Mon, 24 Oct 2022 07:49:25 +0000 (08:49 +0100)]
dell: Fix plugin startup
The fu_context_get_smbios_data() call will not work when creating the plugin
GType, so just create the SMI object when it is needed in ->startup().
Fixes https://github.com/fwupd/firmware-dell/issues/144
Richard Hughes [Sat, 22 Oct 2022 16:20:46 +0000 (17:20 +0100)]
elantp: Add ELAN hapticpad support
Co-authored-by: jingle.wu <jingle.wu@emc.com.tw>
Matthias Braun [Fri, 21 Oct 2022 17:35:11 +0000 (19:35 +0200)]
Update README.md
Richard Hughes [Fri, 21 Oct 2022 13:08:46 +0000 (14:08 +0100)]
trivial: Store .xz files with the correct filename
Richard Hughes [Fri, 21 Oct 2022 08:03:42 +0000 (09:03 +0100)]
trivial: Add a few more kernel command line arguements we don't care about
Richard Hughes [Thu, 20 Oct 2022 13:14:13 +0000 (14:14 +0100)]
Use xz-compressed metadata to reduce bandwidth used by ~25%
Richard Hughes [Tue, 18 Oct 2022 18:52:46 +0000 (19:52 +0100)]
Split out FuUefiPkDevice as a device for future use
This does not serve much purpose now, but would be useful if we need to know
more about the installed PK from other plugins. If nothing else it makes the
`--verbose` output more helpful.
Mario Limonciello [Wed, 19 Oct 2022 16:48:51 +0000 (11:48 -0500)]
trivial: snap: remove some unnecessary files
Mario Limonciello [Wed, 19 Oct 2022 16:17:16 +0000 (11:17 -0500)]
trivial: snap: move EFI binaries to expected location
We compile with prefix "/", but Ubuntu (where we get the binaries from)
compiles with prefix "/usr".
Correct the location of these binaries in the snap.
Richard Hughes [Wed, 19 Oct 2022 13:59:02 +0000 (14:59 +0100)]
Allow parsing metadata more than 1MB in size
The LVFS crept over this limit yesterday. I've put some emergency commits in
place that take it back down to 800KB, and I'll focus next week on getting it
much lower than that.
The real problem is that we thought that g_input_stream_read_bytes() was using
`count` as the chunk size, not the total size. Raise the total size to 32MB and
chunk in 32kB blocks to reduce the RSS peak when loading metadata.
Fixes https://github.com/fwupd/fwupd/issues/5173
Richard Hughes [Wed, 19 Oct 2022 08:51:24 +0000 (09:51 +0100)]
Fix a compile failure when compiling without efiboot
Fixes https://github.com/fwupd/fwupd/issues/5171
Matthias Gerstner [Tue, 18 Oct 2022 09:09:00 +0000 (11:09 +0200)]
fu-daemon: GetBiosSettings: explain the meaning of the unauthenticated branch
Richard Hughes [Mon, 17 Oct 2022 15:27:43 +0000 (16:27 +0100)]
Consider the release priority when returning results
This means we might be able to offer two versions of firmware for the same
device, where one has additional requirement such as a CHID.
The idea here is to allow OEMs to distribute thier own superset dbx updates on
the LVFS without having to invent an anti-CHID requirement type.
jim.zhang [Tue, 18 Oct 2022 07:31:12 +0000 (15:31 +0800)]
add FPC lenfy device support
Richard Hughes [Mon, 17 Oct 2022 14:45:18 +0000 (15:45 +0100)]
Only count the Microsoft hashes when getting the dbx version
HP include extra keys that means the version is higher than expected.
Richard Hughes [Wed, 12 Oct 2022 09:11:52 +0000 (10:11 +0100)]
Move the AMT functionality to the Intel MEI plugin
Richard Hughes [Tue, 11 Oct 2022 12:40:49 +0000 (13:40 +0100)]
Add a new plugin to get more Intel ME MCA data
This allows us to get the OEM Public Key BootGuard hashes.
Also add a new HSI test for leaked bootguard keys.
Richard Hughes [Thu, 13 Oct 2022 12:48:26 +0000 (13:48 +0100)]
trivial: Fix a critical warning when using old kernel versions