]> git.proxmox.com Git - fwupd.git/log
fwupd.git
22 months agodfu: Add some wisdom for vendors implementing devices
Richard Hughes [Thu, 29 Dec 2022 14:52:13 +0000 (14:52 +0000)]
dfu: Add some wisdom for vendors implementing devices

22 months agoInclude the plugin README text in the generated docs
Richard Hughes [Tue, 10 Jan 2023 10:03:27 +0000 (10:03 +0000)]
Include the plugin README text in the generated docs

22 months agoemmc: Add back a legacy GUID to fix a regression
Richard Hughes [Mon, 9 Jan 2023 08:05:48 +0000 (08:05 +0000)]
emmc: Add back a legacy GUID to fix a regression

I had no idea anyone was using this, so apologies. The instance ID is completely
wrong, but it is effectively D-Bus ABI and we need to support old firmware in
the field.

22 months agoAdd a pefile firmware parser
Richard Hughes [Fri, 6 Jan 2023 11:31:05 +0000 (11:31 +0000)]
Add a pefile firmware parser

This will eventually allow us to reconstruct a SBoM using a UEFI file volume.

This can be used like this `fwupdtool firmware-parse efi/fwupdx64.efi pefile`
to produce:

    <firmware gtype="FuPefileFirmware">
      <data size="0xef59">MZ.</data>
      <firmware>
        <id>.text</id>
        <offset>0x2d0</offset>
        <size>0x7bab</size>
        <data size="0x7bab">H...QRH.=....H.5</data>
      </firmware>
      ...
      <firmware gtype="FuCoswidFirmware">
        <id>fwupd-efi:fwupdx64</id>
        <idx>0x7</idx>
        <version>1.4</version>
        <offset>0xc4e0</offset>
        <size>0xce</size>
        <data size="0xce">..een-US</data>
        <version_scheme>semver</version_scheme>
        <product>fwupdx64</product>
        <summary>EFI helpers to install system firmware</summary>
        <colloquial_version>1.3-7-g881a508</colloquial_version>
        <link>
          <href>https://spdx.org/licenses/LGPL-2.0.html</href>
          <rel>license</rel>
        </link>
        <entity>
          <name>Richard Hughes</name>
          <regid>hughsie.com</regid>
          <role>maintainer</role>
          <role>tag-creator</role>
        </entity>
      </firmware>
    </firmware>

22 months agoAlways search for uSWID data in the image
Richard Hughes [Fri, 6 Jan 2023 10:05:32 +0000 (10:05 +0000)]
Always search for uSWID data in the image

22 months agosynaptics-rmi: add support to more firmware partitions
Vincent Huang [Fri, 6 Jan 2023 10:24:41 +0000 (18:24 +0800)]
synaptics-rmi: add support to more firmware partitions

22 months agoplugins/flashrom: Allow 32MiB images for the StarBook Mk VI (#5383)
Sean Rhodes [Fri, 6 Jan 2023 10:12:36 +0000 (10:12 +0000)]
plugins/flashrom: Allow 32MiB images for the StarBook Mk VI (#5383)

Also allow 32MiB images for the coreboot firmware

Signed-off-by: Sean Rhodes <sean@starlabs.systems>
Signed-off-by: Sean Rhodes <sean@starlabs.systems>
22 months agosynaptics-rmi: add support to USBHID devices
Vincent Huang [Fri, 6 Jan 2023 03:15:45 +0000 (11:15 +0800)]
synaptics-rmi: add support to USBHID devices

22 months agomodem-manager: add quirk for Quectel RM520 modem
Ivan Mikhanchuk [Fri, 30 Dec 2022 21:38:10 +0000 (13:38 -0800)]
modem-manager: add quirk for Quectel RM520 modem

Quectel RM520 is based on Qualcomm SDX6x chipset and requires different
firehose programmer file.

22 months agomodem-manager: add firehose prog name quirk
Ivan Mikhanchuk [Tue, 27 Dec 2022 19:20:22 +0000 (11:20 -0800)]
modem-manager: add firehose prog name quirk

Adds FirehoseProgFile quirk to determine the correct filename for the
firehose prog depending on the device VID:PID.

22 months agoplugins/flashrom: Allow 32MiB images for the StarBook Mk VI
Sean Rhodes [Thu, 5 Jan 2023 14:44:01 +0000 (14:44 +0000)]
plugins/flashrom: Allow 32MiB images for the StarBook Mk VI

Signed-off-by: Sean Rhodes <sean@starlabs.systems>
22 months agotrivial: skip self tests that fail with G_IO_ERROR_NOT_DIRECTORY
Mario Limonciello [Wed, 4 Jan 2023 02:19:39 +0000 (20:19 -0600)]
trivial: skip self tests that fail with G_IO_ERROR_NOT_DIRECTORY

fixes: #5370

22 months agotrivial: fix error message on reading IA32_TME_ACTIVATION
Martin Fernandez [Tue, 3 Jan 2023 15:46:37 +0000 (12:46 -0300)]
trivial: fix error message on reading IA32_TME_ACTIVATION

22 months agoDo not allow LZX compressed cabinet archives
Richard Hughes [Wed, 4 Jan 2023 09:46:11 +0000 (09:46 +0000)]
Do not allow LZX compressed cabinet archives

The GCab decompression code is *scary* low level C that has not had any security
auditing other than by the fuzzer (which found plenty of memory-safety bugs).

Supporting LZX is useless at best, and could be a security exploit at worst.

22 months agotrivial: Ensure that G_TEST_SRCDIR is set for all self tests
Richard Hughes [Wed, 4 Jan 2023 10:38:30 +0000 (10:38 +0000)]
trivial: Ensure that G_TEST_SRCDIR is set for all self tests

This means that we don't get hard-to-debug failures later in time.

22 months agomtd: Use dummy SMBIOS data to fix self test on s390x
Richard Hughes [Tue, 3 Jan 2023 17:59:44 +0000 (17:59 +0000)]
mtd: Use dummy SMBIOS data to fix self test on s390x

22 months agotrivial: post release version bump
Richard Hughes [Tue, 3 Jan 2023 12:23:13 +0000 (12:23 +0000)]
trivial: post release version bump

22 months agoRelease fwupd 1.8.9
Richard Hughes [Tue, 3 Jan 2023 12:15:50 +0000 (12:15 +0000)]
Release fwupd 1.8.9

22 months agoShow the get-plugins failures in red text
Richard Hughes [Fri, 30 Dec 2022 17:50:56 +0000 (17:50 +0000)]
Show the get-plugins failures in red text

22 months agoShow the get-plugins secure-config text in green
Richard Hughes [Fri, 30 Dec 2022 17:50:44 +0000 (17:50 +0000)]
Show the get-plugins secure-config text in green

22 months agoShow the get-plugins system-integrity text in green
Richard Hughes [Fri, 30 Dec 2022 17:50:14 +0000 (17:50 +0000)]
Show the get-plugins system-integrity text in green

22 months agoAdd support for W25X10CL SPI flash chip
Richard Hughes [Fri, 30 Dec 2022 10:24:00 +0000 (10:24 +0000)]
Add support for W25X10CL SPI flash chip

22 months agoUse 'check' when calling run_command() to avoid a warning
Richard Hughes [Fri, 23 Dec 2022 11:06:23 +0000 (11:06 +0000)]
Use 'check' when calling run_command() to avoid a warning

New versions of meson [correctly] warn when this parameter is not specified.

22 months agotrivial: Use meson features to disable functionality
Richard Hughes [Thu, 29 Dec 2022 14:59:03 +0000 (14:59 +0000)]
trivial: Use meson features to disable functionality

22 months agoFix deprecated meson commands
Richard Hughes [Fri, 23 Dec 2022 10:55:53 +0000 (10:55 +0000)]
Fix deprecated meson commands

22 months agoLots of spelling fixes
Josh Soref [Thu, 29 Dec 2022 13:57:31 +0000 (08:57 -0500)]
Lots of spelling fixes

Fixes:

* activate
* active
* additional
* and
* approaches
* attestation
* bootloader
* calculate
* capability
* children
* close
* compatible
* continuous
* convenience
* critical
* data
* delivery
* disabled
* disambiguate
* documented
* elapse
* emergency
* erasable
* expectations
* filesystem
* from
* haptic
* ignorable
* images
* infinity
* information
* information
* inhibited
* insufficient
* interrupt
* into
* limited
* management
* manifest
* maximum
* memory
* metadata
* mismatch
* model
* nonexistent
* not
* objects
* offset
* omissions
* ota
* past
* perform
* peripherals
* predictable
* product
* quarterly
* quirk
* quirks
* recognize
* release
* requests
* revocation
* sanitized
* sector
* status
* the
* the update
* timeout
* transfer
* transfers
* typically
* unspecified
* upgrade
* which
* will
* wireless

22 months agoNever allow using SHA-1 for checksum validation
Richard Hughes [Wed, 28 Dec 2022 09:49:11 +0000 (09:49 +0000)]
Never allow using SHA-1 for checksum validation

23 months agowacom-usb: add scaler support to wacom-usb
Aaron Skomra [Tue, 11 Oct 2022 23:27:24 +0000 (16:27 -0700)]
wacom-usb: add scaler support to wacom-usb

Support for updating Wacom scalar firmware is being introduced
with the Cintiq Pro 27.

23 months agotrivial: Add new convenience API to make plugins simpler
Richard Hughes [Tue, 20 Dec 2022 10:44:39 +0000 (10:44 +0000)]
trivial: Add new convenience API to make plugins simpler

23 months agoAdd X-GraphicsTablet category
Richard Hughes [Tue, 20 Dec 2022 15:24:00 +0000 (15:24 +0000)]
Add X-GraphicsTablet category

23 months agoAdd X-FingerprintReader category
Richard Hughes [Tue, 20 Dec 2022 15:17:26 +0000 (15:17 +0000)]
Add X-FingerprintReader category

23 months agowistron-dock: Add a new plugin to update several dock models
Richard Hughes [Thu, 1 Dec 2022 17:54:37 +0000 (17:54 +0000)]
wistron-dock: Add a new plugin to update several dock models

23 months agoSkip the fwupdx64.efi BootXXXX entry when measuring system integrity
Richard Hughes [Tue, 20 Dec 2022 11:51:19 +0000 (11:51 +0000)]
Skip the fwupdx64.efi BootXXXX entry when measuring system integrity

This is created before the UEFI capsule plugin adds the new BootXXXX entry on
NVRAM systems.

23 months agoAdd a request ID for re-inserting the USB cable
Richard Hughes [Tue, 20 Dec 2022 09:30:28 +0000 (09:30 +0000)]
Add a request ID for re-inserting the USB cable

23 months agotrivial: don't comment out any daemon.conf keys by default
Mario Limonciello [Mon, 19 Dec 2022 16:46:36 +0000 (10:46 -0600)]
trivial: don't comment out any daemon.conf keys by default

It's confusing to an end user if some keys are commented but others
aren't. The thought process is:

1) All keys are configured with their default value.
2) Commenting out a key should keep the default value.
3) Modifying a key sets a new value.

23 months agofu-config: Set defaults if conffile is missing
Mario Limonciello [Mon, 19 Dec 2022 16:45:46 +0000 (10:45 -0600)]
fu-config: Set defaults if conffile is missing

Line up the defaults for all keys in daemon.conf to match the code
behavior if the conffile was removed.

23 months agotrivial: Do not emit DeviceChanged before DeviceAdded
Richard Hughes [Mon, 19 Dec 2022 12:17:58 +0000 (12:17 +0000)]
trivial: Do not emit DeviceChanged before DeviceAdded

23 months agosynaptics-cape: return false if version detection failed
Denis Pynkin [Sat, 17 Dec 2022 20:57:16 +0000 (21:57 +0100)]
synaptics-cape: return false if version detection failed

23 months agosynaptics-cape: add the PID 0x0286
Denis Pynkin [Wed, 23 Nov 2022 18:58:46 +0000 (19:58 +0100)]
synaptics-cape: add the PID 0x0286

The device with PID=0x00298 has PID=0x0286 with the outdated FWre.
This change allows to recognize and update devices in the field to
the recent FWre version.
See: Google tracker issue 257197851

Signed-off-by: Denis Pynkin <denis.pynkin@collabora.com>
23 months agotpm: don't require event log to have all reconstructions
Mario Limonciello [Sat, 17 Dec 2022 18:25:41 +0000 (12:25 -0600)]
tpm: don't require event log to have all reconstructions

23 months agotpm: Add support for sha384
Mario Limonciello [Sat, 17 Dec 2022 13:48:32 +0000 (07:48 -0600)]
tpm: Add support for sha384

23 months agotrivial: add missing colon in function docs
Mario Limonciello [Sat, 17 Dec 2022 13:22:44 +0000 (07:22 -0600)]
trivial: add missing colon in function docs

23 months agoAdd fu_archive_firmware_get_image_fnmatch() for future use
Richard Hughes [Fri, 16 Dec 2022 16:46:04 +0000 (16:46 +0000)]
Add fu_archive_firmware_get_image_fnmatch() for future use

It's useful to get images from archives by a specific filename extension.

23 months agouefi-dbx: Ignore failure to mount the ESP if unsupported
Richard Hughes [Fri, 16 Dec 2022 09:09:42 +0000 (09:09 +0000)]
uefi-dbx: Ignore failure to mount the ESP if unsupported

I think this is only possible when a raw partition with no filesystem has the
ESP or BDP UEFI GUID set in the partition table.

23 months agoFix some trivial null-correctness spotted by Tartan
Richard Hughes [Thu, 15 Dec 2022 13:58:50 +0000 (13:58 +0000)]
Fix some trivial null-correctness spotted by Tartan

23 months agotrivial: Use the correct integer type when getting the method caller
Richard Hughes [Thu, 15 Dec 2022 13:01:21 +0000 (13:01 +0000)]
trivial: Use the correct integer type when getting the method caller

23 months agotrivial: Do not use a GError for a critical problem
Richard Hughes [Thu, 15 Dec 2022 12:57:58 +0000 (12:57 +0000)]
trivial: Do not use a GError for a critical problem

23 months agosuperio: Return with failure if setting GError
Richard Hughes [Thu, 15 Dec 2022 12:56:35 +0000 (12:56 +0000)]
superio: Return with failure if setting GError

23 months agosuperio: Do not set GError if not failing
Richard Hughes [Thu, 15 Dec 2022 12:56:07 +0000 (12:56 +0000)]
superio: Do not set GError if not failing

23 months agosynaptics-cape: Prefix the GError correctly
Richard Hughes [Thu, 15 Dec 2022 12:55:26 +0000 (12:55 +0000)]
synaptics-cape: Prefix the GError correctly

23 months agoelantp: Prefix the GError correctly
Richard Hughes [Thu, 15 Dec 2022 12:54:52 +0000 (12:54 +0000)]
elantp: Prefix the GError correctly

23 months agotrivial: Actually make the self test match the comment
Richard Hughes [Thu, 15 Dec 2022 12:07:52 +0000 (12:07 +0000)]
trivial: Actually make the self test match the comment

23 months agotrivial: Fix reading from garbage when getting the pending reboot
Richard Hughes [Thu, 15 Dec 2022 12:00:07 +0000 (12:00 +0000)]
trivial: Fix reading from garbage when getting the pending reboot

Fix the confusion by using a tmp variable.

23 months agotrivial: Remove useless duplication
Richard Hughes [Thu, 15 Dec 2022 11:53:13 +0000 (11:53 +0000)]
trivial: Remove useless duplication

23 months agotrivial: Fix an impossible-to-hit read of undefined data
Richard Hughes [Thu, 15 Dec 2022 11:52:48 +0000 (11:52 +0000)]
trivial: Fix an impossible-to-hit read of undefined data

23 months agotrivial: Add a device test for the CalDigit TS4
Richard Hughes [Thu, 15 Dec 2022 17:09:51 +0000 (17:09 +0000)]
trivial: Add a device test for the CalDigit TS4

23 months agotrivial: Fix debugging with FU_HID_DEVICE_VERBOSE
Richard Hughes [Thu, 15 Dec 2022 16:24:46 +0000 (16:24 +0000)]
trivial: Fix debugging with FU_HID_DEVICE_VERBOSE

23 months agoAllow getting the ESP when there is a block device with no filesystem
Richard Hughes [Tue, 13 Dec 2022 09:28:56 +0000 (09:28 +0000)]
Allow getting the ESP when there is a block device with no filesystem

Fixes https://github.com/fwupd/fwupd/issues/5313

23 months agosynaptics-prometheus: add PIDs to quirk file
Vincent Huang [Thu, 15 Dec 2022 07:46:01 +0000 (15:46 +0800)]
synaptics-prometheus: add PIDs to quirk file

23 months agoFix the regression to find all device GUID
Richard Hughes [Wed, 14 Dec 2022 22:51:12 +0000 (22:51 +0000)]
Fix the regression to find all device GUID

This regressed in 000e986dc8cd0c7e49bdb5d177dcfc91749351aa but we did not
notice because devices with only one GUID (e.g. ESRT devices) still worked as
before. Fix the error handling to only abort if none of the GUIDs are found.

23 months agoti-tps6598x: Use the TX identity to set the PD VID&PID to the correct values
Richard Hughes [Wed, 14 Dec 2022 18:35:03 +0000 (18:35 +0000)]
ti-tps6598x: Use the TX identity to set the PD VID&PID to the correct values

This allows us to match the firmware stream to the dock model perfectly,
without relying on the oUID and CONFIG being set to specific OEM values.

23 months agoti-tps6598x: remove the delay on write
Denis Pynkin [Wed, 14 Dec 2022 17:27:18 +0000 (18:27 +0100)]
ti-tps6598x: remove the delay on write

Speed up the write by removing the delay after SFWd write:
- 100ms (current): 3m 16s
- no delays: 1m 45s

23 months agoiommu: Suggest to turn on ThunderboltAccess for Lenovo systems
Mario Limonciello [Wed, 14 Dec 2022 13:37:39 +0000 (07:37 -0600)]
iommu: Suggest to turn on ThunderboltAccess for Lenovo systems

Lenovo systems that offer a BIOS setting for ThunderboltAccess will
use this option to control whether the IOMMU is enabled by default
or not.

It may be counter-intuitive; but as there are other more physically
difficult to attack PCIe devices it's better to have the IOMMU
enabled pre-boot even if it enables access to Thunderbolt/USB4.

Fixes: #5314
23 months agoAdd a 'get-report-metadata' command to allow debugging metadata collection
Richard Hughes [Tue, 13 Dec 2022 12:02:00 +0000 (12:02 +0000)]
Add a 'get-report-metadata' command to allow debugging metadata collection

23 months agoAdd X-Dock and X-UsbDock update categories
Richard Hughes [Wed, 14 Dec 2022 14:18:44 +0000 (14:18 +0000)]
Add X-Dock and X-UsbDock update categories

23 months agoAllow specifying OR parent requirements
Richard Hughes [Wed, 14 Dec 2022 12:35:12 +0000 (12:35 +0000)]
Allow specifying OR parent requirements

For example:

    <requires>
      <!-- USB\VID_0451&PID_ACE1&OUID_0800000000000000 or
           USB\VID_0451&PID_ACE1&OUID_3300000000000000 -->
      <firmware depth="1">39cd2d79-f119-5e2b-ba57-0b101df5bebc|33c68fc5-fd3d-5cc8-951b-319368dfd6e8</firmware>
    </requires>

23 months agotrivial: Fix build failure when /var/cache/fwupd is not writable
Richard Hughes [Wed, 14 Dec 2022 13:47:10 +0000 (13:47 +0000)]
trivial: Fix build failure when /var/cache/fwupd is not writable

The fu_context_load_quirks(FU_QUIRKS_LOAD_FLAG_NO_CACHE) has to be done first,
otherwise fu_context_load_hwinfo() auto-loads the quirk db with the defaults.

Fixes a build failure in Fedora QA.

23 months agoti-tps6598x: Add a new plugin to update some TI USB-4 docks
Richard Hughes [Tue, 8 Nov 2022 13:18:22 +0000 (13:18 +0000)]
ti-tps6598x: Add a new plugin to update some TI USB-4 docks

23 months agotrivial: Fix a recently introduced -Wunused-variable
Richard Hughes [Wed, 14 Dec 2022 09:51:22 +0000 (09:51 +0000)]
trivial: Fix a recently introduced -Wunused-variable

23 months agotrivial: Add convenience API for future use
Richard Hughes [Tue, 13 Dec 2022 20:03:27 +0000 (20:03 +0000)]
trivial: Add convenience API for future use

23 months agotrivial: Fix warning when running fwupdtool --version
Richard Hughes [Tue, 13 Dec 2022 11:44:02 +0000 (11:44 +0000)]
trivial: Fix warning when running fwupdtool --version

23 months agoUse prepared query when getting getting the bkc tags
Richard Hughes [Mon, 12 Dec 2022 12:43:23 +0000 (12:43 +0000)]
Use prepared query when getting getting the bkc tags

There's no point parsing and optimizing this query 12 times at startup.

23 months agotrivial: Don't use xb_string_append_union() to join strings
Richard Hughes [Sun, 11 Dec 2022 12:30:30 +0000 (12:30 +0000)]
trivial: Don't use xb_string_append_union() to join strings

23 months agoUse a prepared query when getting the remote ID
Richard Hughes [Sun, 11 Dec 2022 10:59:46 +0000 (10:59 +0000)]
Use a prepared query when getting the remote ID

We do this a handful of times when calling GetDevices() and GetHistory() and
parsing the XPath expression each time is inefficient and kinda slow.

23 months agoUse the indexed query when getting releases for devices
Richard Hughes [Sat, 10 Dec 2022 16:41:26 +0000 (16:41 +0000)]
Use the indexed query when getting releases for devices

This speeds up startup by ~9% on a machine with lots of devices attached.

23 months agoAdd needs-shutdown flag for Solidigm NVMe device
Jakub Kolakowski [Tue, 13 Dec 2022 15:25:32 +0000 (16:25 +0100)]
Add needs-shutdown flag for Solidigm NVMe device

23 months agoRemove plugin and device GRWLocks
Richard Hughes [Mon, 12 Dec 2022 16:35:28 +0000 (16:35 +0000)]
Remove plugin and device GRWLocks

This only have any protective effect if we're using multiple threads -- which
we're not. Removing these unused locks does not affect startup speed, but does
drop the idle RSS by ~10kB.

23 months agoFix a tiny memory leak when parsing signed reports
Richard Hughes [Mon, 12 Dec 2022 15:45:48 +0000 (15:45 +0000)]
Fix a tiny memory leak when parsing signed reports

23 months agoFix a tiny memory leak when probing MEI devices
Richard Hughes [Mon, 12 Dec 2022 15:45:31 +0000 (15:45 +0000)]
Fix a tiny memory leak when probing MEI devices

23 months agoOnly write devices.json once at startup, rather than for each device add
Richard Hughes [Mon, 12 Dec 2022 14:55:58 +0000 (14:55 +0000)]
Only write devices.json once at startup, rather than for each device add

This means we do 15% less i/o at startup, which means we start a lot faster.

23 months agoDo not filter in fwupdtool for ->attach() if specifying --force
Richard Hughes [Thu, 8 Dec 2022 16:25:42 +0000 (16:25 +0000)]
Do not filter in fwupdtool for ->attach() if specifying --force

23 months agoAllow reinstalling on devices with only-version-upgrade set
Richard Hughes [Mon, 12 Dec 2022 12:13:18 +0000 (12:13 +0000)]
Allow reinstalling on devices with only-version-upgrade set

All three devices with that flag support reinstalling the current version for testing.

23 months agoConvert FuProgress to a FINAL object
Richard Hughes [Sat, 10 Dec 2022 15:28:29 +0000 (15:28 +0000)]
Convert FuProgress to a FINAL object

We're not going to subclass this, and making it final saves during startup:

 * 300K calls of fu_progress_get_instance_private()
 * 280K calls of fu_progress_get_step_weighting()

23 months agoAdd fu_version_from_uint24() for future usage
Richard Hughes [Fri, 9 Dec 2022 18:02:26 +0000 (18:02 +0000)]
Add fu_version_from_uint24() for future usage

23 months agoReturn a more useful error if USB recovery() failed
Richard Hughes [Thu, 8 Dec 2022 16:24:38 +0000 (16:24 +0000)]
Return a more useful error if USB recovery() failed

23 months agotrivial: Add compiler hint that fu_device_build_instance_id() must end in NULL
Richard Hughes [Sat, 10 Dec 2022 14:43:03 +0000 (14:43 +0000)]
trivial: Add compiler hint that fu_device_build_instance_id() must end in NULL

23 months agotrivial: Fix up a plugin method name
Richard Hughes [Sat, 10 Dec 2022 14:42:30 +0000 (14:42 +0000)]
trivial: Fix up a plugin method name

23 months agotrivial: fix autopkgtest failure
Mario Limonciello [Fri, 9 Dec 2022 13:46:53 +0000 (07:46 -0600)]
trivial: fix autopkgtest failure

Explicitly load_hwinfo at start of mtd self test
```
.# Start of mtd tests
.# GLib-GIO-DEBUG: _g_io_module_get_default: Found default implementation local (GLocalVfs) for ?gio-vfs?
.# XbSilo-DEBUG: attempting to load /tmp/.E94WW1
.# XbSilo-DEBUG: failed to load silo: blob too small
Bail out! FuContext-FATAL-CRITICAL: cannot use HWIDs before calling ->load_hwinfo()

(/usr/libexec/installed-tests/fwupd/mtd-self-test:1758): FuContext-CRITICAL **: 23:27:43.095: cannot use HWIDs before calling ->load_hwinfo()
```

23 months agotrivial: uefi-capsule: decrease warning about missing header to debug
Mario Limonciello [Thu, 8 Dec 2022 17:36:16 +0000 (11:36 -0600)]
trivial: uefi-capsule: decrease warning about missing header to debug

Plenty of vendors rely upon this behavior, so we don't need to be
making noise in everyone's logs for them.

23 months agoDon't suggest iommu=pt to people (Fixes: #5304)
Mario Limonciello [Thu, 8 Dec 2022 15:15:20 +0000 (09:15 -0600)]
Don't suggest iommu=pt to people (Fixes: #5304)

23 months agoAdd the fwupd version to the HSI result if the chassis is invalid
Richard Hughes [Thu, 8 Dec 2022 09:37:14 +0000 (09:37 +0000)]
Add the fwupd version to the HSI result if the chassis is invalid

If the user uploads a report to the LVFS we don't currently get the fwupd
version data in this case. And it makes the LVFS unhappy.

23 months agotrivial: post release version bump
Richard Hughes [Wed, 7 Dec 2022 18:52:46 +0000 (18:52 +0000)]
trivial: post release version bump

23 months agoRelease fwupd 1.8.8
Richard Hughes [Wed, 7 Dec 2022 18:39:56 +0000 (18:39 +0000)]
Release fwupd 1.8.8

23 months agointel-gsc: Use the new 'gpu' device icon
Richard Hughes [Wed, 7 Dec 2022 13:52:51 +0000 (13:52 +0000)]
intel-gsc: Use the new 'gpu' device icon

23 months agoLoad report data from /etc/lsb-release
Richard Hughes [Thu, 1 Dec 2022 20:43:02 +0000 (20:43 +0000)]
Load report data from /etc/lsb-release

23 months agoAdd the X-Gpu category for new hardware support
Richard Hughes [Tue, 6 Dec 2022 15:38:18 +0000 (15:38 +0000)]
Add the X-Gpu category for new hardware support

23 months agoMove to C11
Richard Hughes [Tue, 6 Dec 2022 15:22:40 +0000 (15:22 +0000)]
Move to C11

Hey, it's only 11 years ago and I'd like to use _Generic.

23 months agointel-gsc: Use measured progress steps on real hardware
Richard Hughes [Tue, 6 Dec 2022 15:13:47 +0000 (15:13 +0000)]
intel-gsc: Use measured progress steps on real hardware

23 months agointel-gsc: Wait for the GPU to come back after updating
Richard Hughes [Tue, 6 Dec 2022 15:13:19 +0000 (15:13 +0000)]
intel-gsc: Wait for the GPU to come back after updating

23 months agointel-gsc: Mark GPU devices as internal
Richard Hughes [Tue, 6 Dec 2022 15:11:52 +0000 (15:11 +0000)]
intel-gsc: Mark GPU devices as internal