Richard Hughes
ef6c399a64
Fix a tiny memory leak when probing MEI devices
2022-12-12 17:29:17 +00:00
Richard Hughes
4a29b831fb
Mark all MEI devices as internal
2022-12-06 15:10:45 +00:00
Richard Hughes
e02a094ca3
trivial: Fix memory leak when incorporating FuMeiDevice
2022-11-19 12:59:30 +00:00
Richard Hughes
2b64a41dd6
trivial: Don't use _NO_AUTO_INSTANCE_IDS for MEI devices
...
This doesn't do what we thought it does.
2022-11-01 16:21:39 +00:00
Richard Hughes
6117f88b31
Do not hardcode mei0 for mei_me children
2022-11-01 16:19:27 +00:00
Richard Hughes
7222cafbb1
trivial: Ensure all private MEI instance data is incorporated
2022-11-01 16:19:27 +00:00
Richard Hughes
1f97275a33
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.
2022-11-01 16:19:27 +00:00
Richard Hughes
0f8ec55f46
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.
2022-10-13 18:34:00 +01:00
Richard Hughes
2dea742004
Match the MEI UUID in quirk files
...
This allows us to be more specific when matching devices, and also means we get
more attributes 'for free' from the FuUdevDevice->probe().
This would allow us to have multiple device GTypes handling multiple MEI
interfaces in the same plugin., for instance, PTHI and MKHI.
The slight fly in the ointment is that the kernel does not set the 'dev' for
the mei_me devices, but it's always going to be just /dev/mei0, so hardcode it.
2022-10-12 13:17:42 +01:00
Richard Hughes
14e7e1b587
Use EFI-style GUIDs when connecting the MEI interface
...
This means the GUID matches what the kernel exports in sysfs.
2022-10-11 16:17:20 +01:00
Richard Hughes
a69341b228
trivial: Add a new env var to show MEI reads and writes
2022-10-01 13:10:21 +01:00
Richard Hughes
6a5eda0a44
trivial: Use G_GSSIZE_FORMAT in more places
2022-09-09 19:23:29 +01:00
Richard Hughes
ced79fce4a
Create the better device GType in the backend
...
It is weird to do this when constructing the object, and it allows us
to match PossiblePlugin quirk matches on potentially better instance
IDs added by the superclass.
2022-06-30 19:06:38 +01:00
Richard Hughes
7b96c2e6cd
trivial: Implement FuMeiDevice->incorporate()
2022-06-30 19:06:38 +01:00
Richard Hughes
006c75a82d
trivial: Only print the MEI private data if set
2022-06-30 19:06:38 +01:00
Richard Hughes
5e899535d4
amt: Modernize the plugin and split out common functionality
...
The MEI code is soon going to be used by a new plugin, so split it
out into libfwupdplugin like we did i2c.
2022-06-21 08:10:04 +01:00