driver core: count references of the platform device's fwnode, not OF node
Subsystems (28)
v3 cover driver core: count references of the platform device's fwnode, not OF node
Platform device core provides helper interfaces for dealing with dynamically created platform devices. Most users should use platform_device_register_full() which encapsulates most of the operations but some modules will want to use the split approach of calling platform_device_alloc() + platform_device_add() separately for various reasons.
With many platform devices now using dynamic software nodes as their primary firmware nodes and with the platform device interface being extended to also better cover the use-cases of secondary software nodes, I believe it makes sense to switch to counting the references of all kinds of firmware nodes.
To that end, I identified all users of platform_device_alloc() that also assign dev.of_node or dev.fwnode manually. I noticed five cases where the references are not increased as they should (patches 1-5 fix these users) and provided three new functions in platform_device.h that now become the preferred interfaces for assigning firmware nodes to dynamic platform devices (in line with platform_device_add_data(), platform_device_add_resources(), etc.). The bulk of the patches in this series are small driver conversions to port all users to going through the new functions that now encapsulate the refcount logic. With that done, the final patch seamlessly switches to counting the references of all firmware node types.
This effort is prerequisite of removing platform_device_release_full() and unifying the release path for dynamic platform devices using unmanaged software nodes.
Merging strategy: The entire series should go through the driver core tree, possibly with an immutable branch provided to solve any potential conflicts though these are rather unlikely.
---
Changes in v3:
- Use device_set_node() where applicable
- Use __free(device_node) in fsl iommu driver
- Don't use __free() where not really required
- Add a patch updating the kerneldoc for platform_device_alloc()
- Collect more tags
- Link to v2: https://patch.msgid.link/[email protected]
Changes in v2:
- Rebased on top of v7.2-rc1, dropped applied patches, collected tags
- Link to v1: https://patch.msgid.link/[email protected]
---
Bartosz Golaszewski (20):
powerpc/powermac: fix OF node refcount
driver core: platform: provide platform_device_set_of_node() driver core: platform: provide platform_device_set_fwnode() driver core: platform: provide platform_device_set_of_node_from_dev() driver core: update kerneldoc for platform_device_alloc()
of: platform: use platform_device_set_of_node() powerpc/powermac: use platform_device_set_of_node()
i2c: pxa-pci: use platform_device_set_of_node()
iommu/fsl: use platform_device_set_of_node()
net: bcmgenet: use platform_device_set_of_node()
pmdomain: imx: use platform_device_set_of_node()
mfd: tps6586: use platform_device_set_of_node()
slimbus: qcom-ngd-ctrl: use platform_device_set_of_node()
net: mv643xx: use platform_device_set_of_node() drm/xe/i2c: use platform_device_set_fwnode() platform/surface: gpe: use platform_device_set_fwnode()
usb: chipidea: use platform_device_set_of_node_from_dev()
usb: musb: use platform_device_set_of_node_from_dev()
reset: rzg2l: use platform_device_set_of_node_from_dev() driver core: platform: count references to all kinds of firmware nodes
arch/powerpc/platforms/powermac/low_i2c.c | 2 +- drivers/base/platform.c | 61 ++++++++++++++++++++++++++-- drivers/gpu/drm/xe/xe_i2c.c | 2 +- drivers/i2c/busses/i2c-pxa-pci.c | 3 +- drivers/iommu/fsl_pamu.c | 16 +++----- drivers/mfd/tps6586x.c | 2 +- drivers/net/ethernet/broadcom/genet/bcmmii.c | 3 +- drivers/net/ethernet/marvell/mv643xx_eth.c | 2 +- drivers/of/platform.c | 2 +- drivers/platform/surface/surface_gpe.c | 2 +- drivers/pmdomain/imx/gpc.c | 3 +- drivers/reset/reset-rzg2l-usbphy-ctrl.c | 2 +- drivers/slimbus/qcom-ngd-ctrl.c | 2 +- drivers/usb/chipidea/core.c | 2 +- drivers/usb/musb/jz4740.c | 2 +- include/linux/platform_device.h | 9 ++++ 16 files changed, 88 insertions(+), 27 deletions(-)
---
base-commit: 8cdeaa50eae8dad34885515f62559ee83e7e8dda
change-id: 20260520-pdev-fwnode-ref-d867836971eb
Best regards,
Signature · 1 line
Bartosz Golaszewski <[email protected]>
PATCH v3 1/20 powerpc/powermac: fix OF node refcount
Platform devices created with platform_device_alloc() call platform_device_release() when the last reference to the device's kobject is dropped. This function calls of_node_put() unconditionally. This works fine for devices created with platform_device_register_full() but users of the split approach (platform_device_alloc() + platform_device_add()) must bump the reference of the of_node they assign manually. Add the missing call to of_node_get().
--- arch/powerpc/platforms/powermac/low_i2c.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
arch/powerpc/platforms/powermac/low_i2c.c +1 -1
@@ -1471,7 +1471,7 @@ static int __init pmac_i2c_create_platform_devices(void)if (bus->platform_dev ==NULL )return -ENOMEM ; bus->platform_dev->dev.platform_data = bus; - bus->platform_dev->dev.of_node = bus->busnode; + bus->platform_dev->dev.of_node =of_node_get (bus->busnode);platform_device_add (bus->platform_dev); }
Signature · 1 line
2.47.3
[email protected]
AI reviewRe: [PATCH v3 01/20] powerpc/powermac: fix OF node refcount
Sashiko has reviewed this patch and found no issues. It looks great!
Quoted 8 lines
Platform devices created with
platform_device_alloc()callplatform_device_release()when the last reference to the device's kobject is dropped. This function callsof_node_put()unconditionally. This works fine for devices created withplatform_device_register_full()but users of the split approach (platform_device_alloc()+platform_device_add()) must bump the reference of theof_nodethey assign manually. Add the missing call toof_node_get().
Quoted 4 lines
Fixes 81e5d8646ff6 ("i2c/powermac: Register i2c devices from device-tree")Reviewed-by Andy Shevchenko <[email protected]>Signed-off-by Bartosz Golaszewski <[email protected]>
Sashiko has reviewed this patch and found no issues. It looks great!
Signature · 1 line
Sashiko AI review · https://sashiko.dev/#/patchset/[email protected]?part=1
PATCH v3 2/20 driver core: platform: provide platform_device_set_of_node()
In reply to Bartosz GolaszewskiEncapsulate the reference counting logic for OF nodes assigned to platform devices created with platform_device_alloc() in a helper function. Make the kerneldoc state that this is the proper interface for assigning OF nodes to dynamically allocated platform devices. This will allow us to switch to counting the references of the device's firmware nodes, not only the OF nodes.
--- drivers/base/platform.c | 18 ++++++++++++++++++ include/linux/platform_device.h | 4 ++++ 2 files changed, 22 insertions(+)
drivers/base/platform.c +18 -0
@@ -693,6 +693,24 @@ int platform_device_add_data(struct platform_device *pdev, const void *data, }EXPORT_SYMBOL_GPL (platform_device_add_data); +/** +* platform_device_set_of_node - assign an OF node to device +* @pdev: platform device to add the node for +* @np: new device node +* +* Assign an OF node to this platform device. Internally keep track of the +* reference count. Devices created with platform_device_alloc() must use this +* function instead of assigning the node manually. +*/ +void platform_device_set_of_node (struct platform_device *pdev, +struct device_node *np) +{ +of_node_put (pdev->dev.of_node); + pdev->dev.of_node =of_node_get (np); + pdev->dev.fwnode =of_fwnode_handle (np); +} +EXPORT_SYMBOL_GPL (platform_device_set_of_node); +/** * platform_device_add - add a platform device to device hierarchy * @pdev: platform device we're adding
include/linux/platform_device.h +4 -0
@@ -19,6 +19,8 @@struct irq_affinity ;struct mfd_cell ;struct property_entry ; +struct platform_device_id ; +struct device_node ;struct platform_device {const char *name;
@@ -262,6 +264,8 @@ extern int platform_device_add_resources(struct platform_device *pdev, unsigned int num);extern int platform_device_add_data (struct platform_device *pdev,const void *data,size_t size); +void platform_device_set_of_node (struct platform_device *pdev, +struct device_node *np);extern int platform_device_add (struct platform_device *pdev);extern void platform_device_del (struct platform_device *pdev);extern void platform_device_put (struct platform_device *pdev);
Signature · 1 line
2.47.3
Re: [PATCH v3 02/20] driver core: platform: provide platform_device_set_of_node()
Hi Bartosz,
Quoted 25 lines · Bartosz Golaszewski
Encapsulate the reference counting logic for OF nodes assigned to platform devices created with
platform_device_alloc()in a helper function. Make the kerneldoc state that this is the proper interface for assigning OF nodes to dynamically allocated platform devices. This will allow us to switch to counting the references of the device's firmware nodes, not only the OF nodes.Reviewed-by Manuel Ebner <[email protected]>Reviewed-by Andy Shevchenko <[email protected]>Signed-off-by Bartosz Golaszewski <[email protected]>---
drivers/base/platform.c | 18 ++++++++++++++++++include/linux/platform_device.h| 4 ++++2 files changed, 22 insertions(+)drivers/base/platform.c +0
-0100644
drivers/base/platform.c +0
-0@@ -693,6 +693,24 @@ int platform_device_add_data(struct platform_device *pdev, constvoid *data, } EXPORT_SYMBOL_GPL(platform_device_add_data);
Quoted 8 lines
+/**
+ *platform_device_set_of_node- assign an OF node to device
+ * @pdev: platform device to add the node for
+ * @np: new device node
+ *
+ * Assign an OF node to this platform device. Internally keep track of the
+ * reference count. Devices created withplatform_device_alloc()must use this
+ * function instead of assigning the node manually.
I did some more pondering about this patch and concluded the right place for a warning would be the lines been read right before or after assigning a node manually.
I think this would be in platform_device_alloc() (as I suggested in v2).
BUT my knowledge in C isn't sound. So if it's good as is keep it. If it isn't add or move the remark.
Either way Thanks and
Reviewed-by Manuel Ebner.
---
Note:
I removed Mark Brown <[email protected]> from recipients because:
“RCPT TO <[email protected]> failed:
<[email protected]>: Recipient address rejected: Domain not found”.
Quoted 37 lines
+ */
drivers/base/platform.c +9
-0+void platform_device_set_of_node (struct platform_device *pdev, +struct device_node *np) +{ +of_node_put (pdev->dev.of_node); + pdev->dev.of_node =of_node_get (np); + pdev->dev.fwnode =of_fwnode_handle (np); +} +EXPORT_SYMBOL_GPL (platform_device_set_of_node); +/**
*platform_device_add- add a platform device to device hierarchy
* @pdev: platform device we're addinginclude/linux/platform_device.h +0
-0100644
include/linux/platform_device.h +2
-0@@ -19,6 +19,8 @@ struct irq_affinity; struct mfd_cell; struct property_entry; +struct platform_device_id ; +struct device_node ;
structplatform_device{
const char *name;include/linux/platform_device.h +2
-0@@ -262,6 +264,8 @@ extern int platform_device_add_resources(struct platform_device *pdev, unsigned int num); extern int platform_device_add_data(struct platform_device *pdev, const void *data, size_t size); +void platform_device_set_of_node (struct platform_device *pdev, +struct device_node *np); extern int platform_device_add(struct platform_device *pdev); extern void platform_device_del(struct platform_device *pdev);extern void
platform_device_put(struct platform_device *pdev);
Re: [PATCH v3 02/20] driver core: platform: provide platform_device_set_of_node()
Quoted 5 lines · Manuel Ebner
Hi Bartosz,
Review int platform_device_add_data(struct platform_device *pdev, const
Quoted 2 lines · Bartosz Golaszewski
(quoted diff) +0
-0@@ -693,6 +693,24 @@ int platform_device_add_data(struct platform_device *pdev, const
Nevermind, I got confused because of @@ int platform_device_add_data() and
Review static void platform_device_release_full(struct device *dev)
Quoted 1 line
(quoted diff) +0
-0@@ -619,6 +619,13 @@ static void platform_device_release_full(struct device *dev)
in [PATCH v3 05/20] driver core: update kerneldoc for platform_device_alloc()
Sorry for the noise
Manuel
Re: [PATCH v3 02/20] driver core: platform: provide platform_device_set_of_node()
In reply to Manuel EbnerQuoted 5 lines · Manuel Ebner
On Mon, 2026-07-06 at 14:44 +0200, Bartosz Golaszewski wrote:
I removed Mark Brown <[email protected]> from recipients because:
“RCPT TO <[email protected]> failed:
<[email protected]>: Recipient address rejected: Domain not found”.
Perhaps he needs to send a patch to update .mailmap? Cc'ed to Mark.
Signature · 2 lines
With Best Regards, Andy Shevchenko
Re: [PATCH v3 02/20] driver core: platform: provide platform_device_set_of_node()
Quoted 9 lines · Andy Shevchenko
Quoted 5 lines · Manuel Ebner
On Mon, 2026-07-06 at 14:44 +0200, Bartosz Golaszewski wrote:
I removed Mark Brown <[email protected]> from recipients because:
“RCPT TO <[email protected]> failed:
<[email protected]>: Recipient address rejected: Domain not found”.Perhaps he needs to send a patch to update .mailmap? Cc'ed to Mark.
If it's for something that old I can't imagine I actually care. If it's important enough I'm sure someone can work out how to get hold of me.
[email protected]
AI reviewRe: [PATCH v3 02/20] driver core: platform: provide platform_device_set_of_node()
In reply to Bartosz GolaszewskiSashiko has reviewed this patch and found no issues. It looks great!
Quoted 10 lines
Encapsulate the reference counting logic for OF nodes assigned to platform devices created with
platform_device_alloc()in a helper function. Make the kerneldoc state that this is the proper interface for assigning OF nodes to dynamically allocated platform devices. This will allow us to switch to counting the references of the device's firmware nodes, not only the OF nodes.Reviewed-by Manuel Ebner <[email protected]>Reviewed-by Andy Shevchenko <[email protected]>Signed-off-by Bartosz Golaszewski <[email protected]>
Sashiko has reviewed this patch and found no issues. It looks great!
Signature · 1 line
Sashiko AI review · https://sashiko.dev/#/patchset/[email protected]?part=2
PATCH v3 3/20 driver core: platform: provide platform_device_set_fwnode()
In reply to Bartosz GolaszewskiProvide a helper function encapsulating the logic of assigning firmware nodes to platform devices created with platform_device_alloc(). Make the kerneldoc state that this is the proper interface for assigning firmware nodes to dynamically allocated platform devices. This will allow us to switch to counting the references of the device's firmware nodes in the future, not only the OF nodes.
--- drivers/base/platform.c | 19 +++++++++++++++++++ include/linux/platform_device.h | 3 +++ 2 files changed, 22 insertions(+)
drivers/base/platform.c +19 -0
@@ -711,6 +711,25 @@ void platform_device_set_of_node(struct platform_device *pdev, }EXPORT_SYMBOL_GPL (platform_device_set_of_node); +/** +* platform_device_set_fwnode - assign a firmware node to device +* @pdev: platform device to set the node for +* @fwnode: new firmware node +* +* Assign a firmware node to this platform device. Internally keep track of the +* reference count. Devices created with platform_device_alloc() must use this +* function instead of assigning the node manually. +*/ +void platform_device_set_fwnode (struct platform_device *pdev, +struct fwnode_handle *fwnode) +{ +if (is_of_node (fwnode)) +platform_device_set_of_node (pdev,to_of_node (fwnode)); +else + pdev->dev.fwnode = fwnode; +} +EXPORT_SYMBOL_GPL (platform_device_set_fwnode); +/** * platform_device_add - add a platform device to device hierarchy * @pdev: platform device we're adding
include/linux/platform_device.h +3 -0
@@ -21,6 +21,7 @@ struct mfd_cell;struct property_entry ;struct platform_device_id ;struct device_node ; +struct fwnode_handle ;struct platform_device {const char *name;
@@ -266,6 +267,8 @@ extern int platform_device_add_data(struct platform_device *pdev, const void *data, size_t size);void platform_device_set_of_node (struct platform_device *pdev,struct device_node *np); +void platform_device_set_fwnode (struct platform_device *pdev, +struct fwnode_handle *fwnode);extern int platform_device_add (struct platform_device *pdev);extern void platform_device_del (struct platform_device *pdev);extern void platform_device_put (struct platform_device *pdev);
Signature · 1 line
2.47.3
[email protected]
AI reviewRe: [PATCH v3 03/20] driver core: platform: provide platform_device_set_fwnode()
Sashiko has reviewed this patch and found no issues. It looks great!
Quoted 9 lines
Provide a helper function encapsulating the logic of assigning firmware nodes to platform devices created with
platform_device_alloc(). Make the kerneldoc state that this is the proper interface for assigning firmware nodes to dynamically allocated platform devices. This will allow us to switch to counting the references of the device's firmware nodes in the future, not only the OF nodes.Reviewed-by Andy Shevchenko <[email protected]>Signed-off-by Bartosz Golaszewski <[email protected]>
Sashiko has reviewed this patch and found no issues. It looks great!
Signature · 1 line
Sashiko AI review · https://sashiko.dev/#/patchset/[email protected]?part=3
PATCH v3 4/20 driver core: platform: provide platform_device_set_of_node_from_dev()
In reply to Bartosz GolaszewskiProvide a platform-specific variant of device_set_of_node_from_dev(). In addition to bumping the reference count of the OF node being assigned, it also assigns the fwnode of the platform device.
--- drivers/base/platform.c | 16 ++++++++++++++++ include/linux/platform_device.h | 2 ++ 2 files changed, 18 insertions(+)
drivers/base/platform.c +16 -0
@@ -730,6 +730,22 @@ void platform_device_set_fwnode(struct platform_device *pdev, }EXPORT_SYMBOL_GPL (platform_device_set_fwnode); +/** +* platform_device_set_of_node_from_dev - reuse OF node of another device +* @pdev: platform device to set the node for +* @dev2: device whose OF node to reuse +* +* Reuses the OF node of another device in this platform device while +* internally keeping track of reference counting. +*/ +void platform_device_set_of_node_from_dev (struct platform_device *pdev, +const struct device *dev2) +{ +device_set_of_node_from_dev (&pdev->dev, dev2); + pdev->dev.fwnode =of_fwnode_handle (pdev->dev.of_node); +} +EXPORT_SYMBOL_GPL (platform_device_set_of_node_from_dev); +/** * platform_device_add - add a platform device to device hierarchy * @pdev: platform device we're adding
include/linux/platform_device.h +2 -0
@@ -269,6 +269,8 @@ void platform_device_set_of_node(struct platform_device *pdev, struct device_node *np);void platform_device_set_fwnode (struct platform_device *pdev,struct fwnode_handle *fwnode); +void platform_device_set_of_node_from_dev (struct platform_device *pdev, +const struct device *dev2);extern int platform_device_add (struct platform_device *pdev);extern void platform_device_del (struct platform_device *pdev);extern void platform_device_put (struct platform_device *pdev);
Signature · 1 line
2.47.3
[email protected]
AI reviewRe: [PATCH v3 04/20] driver core: platform: provide platform_device_set_of_node_from_dev()
Sashiko has reviewed this patch and found no issues. It looks great!
Quoted 6 lines
Provide a platform-specific variant of
device_set_of_node_from_dev(). In addition to bumping the reference count of the OF node being assigned, it also assigns the fwnode of the platform device.Reviewed-by Andy Shevchenko <[email protected]>Signed-off-by Bartosz Golaszewski <[email protected]>
Sashiko has reviewed this patch and found no issues. It looks great!
Signature · 1 line
Sashiko AI review · https://sashiko.dev/#/patchset/[email protected]?part=4
PATCH v3 5/20 driver core: update kerneldoc for platform_device_alloc()
In reply to Bartosz GolaszewskiUsers of platform_device_alloc() + platform_device_add() must not modify certain fields of the dynamically created platform device object. Update the kernel doc to say which fields are affected and which functions to use.
--- drivers/base/platform.c | 7 +++++++ 1 file changed, 7 insertions(+)
drivers/base/platform.c +7 -0
@@ -619,6 +619,13 @@ static void platform_device_release_full(struct device *dev)* * Create a platform device object which can have other objects attached * to it, and which will have attached objects freed when it is released. +* +* The following fields of the dynamically allocated platform device must not +* be modified manually: resource, num_resources, dev.platform_data, +* dev.of_node and dev.fwnode. Users wishing to do the split platform device +* registration with platform_device_alloc() + platform_device_add() are +* required to use dedicated helpers for adding resources, platform data or +* assigning firmware nodes. */ struct platform_device *platform_device_alloc (const char *name,int id) {
Signature · 1 line
2.47.3
[email protected]
AI reviewRe: [PATCH v3 05/20] driver core: update kerneldoc for platform_device_alloc()
Sashiko has reviewed this patch and found no issues. It looks great!
Quoted 7 lines
Users of
platform_device_alloc()+platform_device_add()must not modify certain fields of the dynamically created platform device object. Update the kernel doc to say which fields are affected and which functions to use.Suggested-by Manuel Ebner <[email protected]>Signed-off-by Bartosz Golaszewski <[email protected]>
Sashiko has reviewed this patch and found no issues. It looks great!
Signature · 1 line
Sashiko AI review · https://sashiko.dev/#/patchset/[email protected]?part=5
Re: [PATCH v3 05/20] driver core: update kerneldoc for platform_device_alloc()
In reply to Bartosz GolaszewskiQuoted 4 lines · Bartosz Golaszewski
Users of
platform_device_alloc()+platform_device_add()must not modify certain fields of the dynamically created platform device object. Update the kernel doc to say which fields are affected and which functions to use.
Consider using __private checker attribute for them as well. It will make sparse scream.
Quoted 2 lines
Suggested-by Manuel Ebner <[email protected]>Signed-off-by Bartosz Golaszewski <[email protected]>
Signature · 2 lines
With Best Regards, Andy Shevchenko
Re: [PATCH v3 05/20] driver core: update kerneldoc for platform_device_alloc()
Quoted 9 lines · Andy Shevchenko
Quoted 4 lines · Bartosz Golaszewski
Users of
platform_device_alloc()+platform_device_add()must not modify certain fields of the dynamically created platform device object. Update the kernel doc to say which fields are affected and which functions to use.Consider using
__privatechecker attribute for them as well. It will make sparse scream.
Sure but let's leave it for another series.
Bart
Re: [PATCH v3 05/20] driver core: update kerneldoc for platform_device_alloc()
Quoted 8 lines · Bartosz Golaszewski
Quoted 6 lines · Andy Shevchenko
Quoted 4 lines · Bartosz Golaszewski
Users of
platform_device_alloc()+platform_device_add()must not modify certain fields of the dynamically created platform device object. Update the kernel doc to say which fields are affected and which functions to use.
Quoted 4 lines
Quoted 2 lines
Consider using
__privatechecker attribute for them as well. It will make sparse scream.Sure but let's leave it for another series.
Sure, just a side note comment that you know that we have some facilities for that type of problems.
Signature · 2 lines
With Best Regards, Andy Shevchenko
PATCH v3 6/20 of: platform: use platform_device_set_of_node()
In reply to Bartosz GolaszewskiAhead of reworking the reference counting logic for platform devices, encapsulate the assignment of the OF node for dynamically allocated platform devices with the provided helper.
--- drivers/of/platform.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/of/platform.c +1 -1
@@ -126,7 +126,7 @@ struct platform_device *of_device_alloc(struct device_node *np, }/* setup generic device info */ -device_set_node (&dev->dev,of_fwnode_handle (of_node_get (np))); +platform_device_set_of_node (dev, np); dev->dev.parent = parent ? : &platform_bus;if (bus_id)
Signature · 1 line
2.47.3
[email protected]
AI reviewRe: [PATCH v3 06/20] of: platform: use platform_device_set_of_node()
Sashiko has reviewed this patch and found no issues. It looks great!
Quoted 7 lines
Ahead of reworking the reference counting logic for platform devices, encapsulate the assignment of the OF node for dynamically allocated platform devices with the provided helper.
Reviewed-by Andy Shevchenko <[email protected]>Signed-off-by Bartosz Golaszewski <[email protected]>
Sashiko has reviewed this patch and found no issues. It looks great!
Signature · 1 line
Sashiko AI review · https://sashiko.dev/#/patchset/[email protected]?part=6
PATCH v3 7/20 powerpc/powermac: use platform_device_set_of_node()
In reply to Bartosz GolaszewskiAhead of reworking the reference counting logic for platform devices, encapsulate the assignment of the OF node for dynamically allocated platform devices with the provided helper.
--- arch/powerpc/platforms/powermac/low_i2c.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
arch/powerpc/platforms/powermac/low_i2c.c +1 -1
@@ -1471,7 +1471,7 @@ static int __init pmac_i2c_create_platform_devices(void)if (bus->platform_dev ==NULL )return -ENOMEM ; bus->platform_dev->dev.platform_data = bus; - bus->platform_dev->dev.of_node =of_node_get (bus->busnode); +platform_device_set_of_node (bus->platform_dev, bus->busnode);platform_device_add (bus->platform_dev); }
Signature · 1 line
2.47.3
[email protected]
AI reviewRe: [PATCH v3 07/20] powerpc/powermac: use platform_device_set_of_node()
Sashiko has reviewed this patch and found no issues. It looks great!
Quoted 6 lines
Ahead of reworking the reference counting logic for platform devices, encapsulate the assignment of the OF node for dynamically allocated platform devices with the provided helper.
Reviewed-by Andy Shevchenko <[email protected]>Signed-off-by Bartosz Golaszewski <[email protected]>
Sashiko has reviewed this patch and found no issues. It looks great!
Signature · 1 line
Sashiko AI review · https://sashiko.dev/#/patchset/[email protected]?part=7
PATCH v3 8/20 i2c: pxa-pci: use platform_device_set_of_node()
In reply to Bartosz GolaszewskiAhead of reworking the reference counting logic for platform devices, encapsulate the assignment of the OF node for dynamically allocated platform devices with the provided helper.
--- drivers/i2c/busses/i2c-pxa-pci.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-)
drivers/i2c/busses/i2c-pxa-pci.c +2 -1
@@ -76,7 +76,8 @@ static struct platform_device *add_i2c_device(struct pci_dev *dev, int bar) goto out; } pdev->dev.parent = &dev->dev; - pdev->dev.of_node = child; + +platform_device_set_of_node (pdev, child); ret =platform_device_add_resources (pdev, res,ARRAY_SIZE (res));if (ret)
Signature · 1 line
2.47.3
[email protected]
AI reviewRe: [PATCH v3 08/20] i2c: pxa-pci: use platform_device_set_of_node()
Thank you for your contribution! Sashiko AI review found 1 potential issue(s) to consider: - [Medium] The OF device node reference obtained from `for_each_child_of_node()` is leaked when assigning…
Thank you for your contribution! Sashiko AI review found 1 potential issue(s) to consider:
- [Medium] The OF device node reference obtained from for_each_child_of_node() is leaked when assigning the OF node to the platform device. --
commit 0b7f7e14c13b65be057bb0d2e9e1a4b953a99635
Author: Bartosz Golaszewski <[email protected]>
i2c: pxa-pci: use platform_device_set_of_node()
This patch updates the i2c-pxa-pci driver to use the new platform_device_set_of_node() helper for dynamically allocated platform devices. It replaces the direct assignment of the OF node pointer ahead of upcoming reference counting reworks in the driver core.
drivers/i2c/busses/i2c-pxa-pci.c static struct platform_device *add_i2c_device(struct pci_dev *dev, int bar) · line 80
Quoted 11 lines
drivers/i2c/busses/i2c-pxa-pci.c +2
-1@@ -76,7 +76,8 @@ static struct platform_device *add_i2c_device(struct pci_dev *dev, int bar) goto out; } pdev->dev.parent = &dev->dev; - pdev->dev.of_node = child; + +platform_device_set_of_node (pdev, child);
[Severity: Medium]
Does this change introduce an OF node reference leak?
Earlier in add_i2c_device(), the child node is acquired using a for_each_child_of_node() loop that exits via break. This leaves the child variable with an incremented reference count.
Before this patch, the direct assignment implicitly transferred this reference to the platform device. The new platform_device_set_of_node() helper takes its own additional reference internally when setting the fwnode. Since the caller's original reference is never explicitly dropped after this helper is called, it seems this will leak the OF node reference on both the success and error paths. Should there be an of_node_put(child) after calling the helper?
Quoted 3 lines
drivers/i2c/busses/i2c-pxa-pci.c +0
-0ret =platform_device_add_resources (pdev, res,ARRAY_SIZE (res));if (ret)
Signature · 1 line
Sashiko AI review · https://sashiko.dev/#/patchset/[email protected]?part=8
PATCH v3 9/20 iommu/fsl: use platform_device_set_of_node()
In reply to Bartosz GolaszewskiAhead of reworking the reference counting logic for platform devices, encapsulate the assignment of the OF node for dynamically allocated platform devices with the provided helper.
--- drivers/iommu/fsl_pamu.c | 16 ++++++---------- 1 file changed, 6 insertions(+), 10 deletions(-)
drivers/iommu/fsl_pamu.c +6 -10
@@ -8,6 +8,7 @@#include "fsl_pamu.h" +#include <linux/cleanup.h> #include <linux/fsl/guts.h> #include <linux/interrupt.h> #include <linux/genalloc.h>
@@ -933,7 +934,6 @@ static struct platform_driver fsl_of_pamu_driver = {static __init int fsl_pamu_init (void ) {struct platform_device *pdev =NULL ; -struct device_node *np;int ret;/*
@@ -955,7 +955,8 @@ static __init int fsl_pamu_init(void)* PAMU node would require significant changes to a lot of code. */ - np =of_find_compatible_node (NULL ,NULL ,"fsl,pamu" ); + struct device_node *np __free(device_node) = +of_find_compatible_node (NULL ,NULL ,"fsl,pamu" );if (!np) {pr_err ("could not find a PAMU node\n" );return -ENODEV ;
@@ -964,7 +965,7 @@ static __init int fsl_pamu_init(void) ret =platform_driver_register (&fsl_of_pamu_driver);if (ret) {pr_err ("could not register driver (err=%i)\n" , ret); - goto error_driver_register; +return ret; } pdev =platform_device_alloc ("fsl-of-pamu" ,0 );
@@ -973,7 +974,8 @@ static __init int fsl_pamu_init(void) ret = -ENOMEM ; goto error_device_alloc; } - pdev->dev.of_node =of_node_get (np); + +platform_device_set_of_node (pdev, np); ret =pamu_domain_init ();if (ret)
@@ -988,17 +990,11 @@ static __init int fsl_pamu_init(void)return 0 ; error_device_add: -of_node_put (pdev->dev.of_node); - pdev->dev.of_node =NULL ; -platform_device_put (pdev); error_device_alloc:platform_driver_unregister (&fsl_of_pamu_driver); -error_driver_register: -of_node_put (np); -return ret; }arch_initcall (fsl_pamu_init);
Signature · 1 line
2.47.3
Re: [PATCH v3 09/20] iommu/fsl: use platform_device_set_of_node()
Quoted 8 lines · Bartosz Golaszewski
Ahead of reworking the reference counting logic for platform devices, encapsulate the assignment of the OF node for dynamically allocated platform devices with the provided helper.
Acked-by Robin Murphy <[email protected]>Reviewed-by Andy Shevchenko <[email protected]>Signed-off-by Bartosz Golaszewski <[email protected]>---
Quoted 75 lines
drivers/iommu/fsl_pamu.c | 16 ++++++---------- 1 file changed, 6 insertions(+), 10 deletions(-)drivers/iommu/fsl_pamu.c +6
-11@@ -8,6 +8,7 @@#include "fsl_pamu.h" +#include <linux/cleanup.h> #include <linux/fsl/guts.h> #include <linux/interrupt.h> #include <linux/genalloc.h> @@ -933,7 +934,6 @@ static struct platform_driver fsl_of_pamu_driver = {static __init int fsl_pamu_init (void ) {struct platform_device *pdev =NULL ; -struct device_node *np;int ret;/* @@ -955,7 +955,8 @@ static __init int fsl_pamu_init(void)* PAMU node would require significant changes to a lot of code. */ - np =of_find_compatible_node (NULL ,NULL ,"fsl,pamu" ); + struct device_node *np __free(device_node) = +of_find_compatible_node (NULL ,NULL ,"fsl,pamu" );if (!np) {pr_err ("could not find a PAMU node\n" );return -ENODEV ;@@ -964,7 +965,7 @@ static __init int fsl_pamu_init(void) ret =platform_driver_register (&fsl_of_pamu_driver);if (ret) {pr_err ("could not register driver (err=%i)\n" , ret); - goto error_driver_register; +return ret; } pdev =platform_device_alloc ("fsl-of-pamu" ,0 );@@ -973,7 +974,8 @@ static __init int fsl_pamu_init(void) ret = -ENOMEM ; goto error_device_alloc; } - pdev->dev.of_node =of_node_get (np); + +platform_device_set_of_node (pdev, np); ret =pamu_domain_init ();if (ret)@@ -988,17 +990,11 @@ static __init int fsl_pamu_init(void)return 0 ; error_device_add: -of_node_put (pdev->dev.of_node); - pdev->dev.of_node =NULL ; -platform_device_put (pdev); error_device_alloc:platform_driver_unregister (&fsl_of_pamu_driver); -error_driver_register: -of_node_put (np); -return ret; }arch_initcall (fsl_pamu_init); --2.47.3
[email protected]
AI reviewRe: [PATCH v3 09/20] iommu/fsl: use platform_device_set_of_node()
In reply to Bartosz GolaszewskiThank you for your contribution! Sashiko AI review found 1 potential issue(s) to consider: - [Medium] Mixing `goto`-based error handling with `__free()` cleanup in the same function. --
Thank you for your contribution! Sashiko AI review found 1 potential issue(s) to consider:
- [Medium] Mixing goto-based error handling with __free() cleanup in the same function. --
commit 59e996ccb5b78974f4d3d6c2abcfbc8e49cb4d29
Author: Bartosz Golaszewski <[email protected]>
iommu/fsl: use platform_device_set_of_node()
Ahead of reworking the reference counting logic for platform devices, encapsulate the assignment of the OF node for dynamically allocated platform devices with the provided helper.
Quoted 4 lines
drivers/iommu/fsl_pamu.c +0
-0
[ ... ]
Quoted 20 lines
drivers/iommu/fsl_pamu.c +3
-2@@ -955,7 +955,8 @@ static __init int fsl_pamu_init(void)* PAMU node would require significant changes to a lot of code. */ - np =of_find_compatible_node (NULL ,NULL ,"fsl,pamu" ); + struct device_node *np __free(device_node) = +of_find_compatible_node (NULL ,NULL ,"fsl,pamu" );if (!np) {pr_err ("could not find a PAMU node\n" );return -ENODEV ;@@ -964,7 +965,7 @@ static __init int fsl_pamu_init(void) ret =platform_driver_register (&fsl_of_pamu_driver);if (ret) {pr_err ("could not register driver (err=%i)\n" , ret); - goto error_driver_register; +return ret; } pdev =platform_device_alloc ("fsl-of-pamu" ,0 );
drivers/iommu/fsl_pamu.c static __init int fsl_pamu_init(void) · line 975
Quoted 2 lines
drivers/iommu/fsl_pamu.c +0
-0@@ -973,7 +974,8 @@ static __init int fsl_pamu_init(void) ret = -ENOMEM ; goto error_device_alloc;
[Severity: Medium]
Is it intentional to mix goto-based error handling with scope-based cleanup in fsl_pamu_init()?
The cleanup helper documentation in include/linux/cleanup.h specifies that goto and cleanup helpers should never be mixed in the same function to prevent confusing ownership semantics.
Since pdev allocation and other initialization steps in this function still use goto labels (like error_device_alloc and error_device_add), should they all be converted to scope-based cleanup, or should np remain manually managed to keep the error handling consistent?
Quoted 23 lines
drivers/iommu/fsl_pamu.c +2
-7- pdev->dev.of_node =of_node_get (np); + +platform_device_set_of_node (pdev, np); ret =pamu_domain_init ();if (ret)@@ -988,17 +990,11 @@ static __init int fsl_pamu_init(void)return 0 ; error_device_add: -of_node_put (pdev->dev.of_node); - pdev->dev.of_node =NULL ; -platform_device_put (pdev); error_device_alloc:platform_driver_unregister (&fsl_of_pamu_driver); -error_driver_register: -of_node_put (np); -return ret; }
Signature · 1 line
Sashiko AI review · https://sashiko.dev/#/patchset/[email protected]?part=9
PATCH v3 10/20 net: bcmgenet: use platform_device_set_of_node()
In reply to Bartosz GolaszewskiAhead of reworking the reference counting logic for platform devices, encapsulate the assignment of the OF node for dynamically allocated platform devices with the provided helper.
--- drivers/net/ethernet/broadcom/genet/bcmmii.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-)
drivers/net/ethernet/broadcom/genet/bcmmii.c +2 -1
@@ -490,8 +490,9 @@ static int bcmgenet_mii_register(struct bcmgenet_priv *priv)/* Retain this platform_device pointer for later cleanup */ priv->mii_pdev = ppdev; ppdev->dev.parent = &pdev->dev; +if (dn) - ppdev->dev.of_node =bcmgenet_mii_of_find_mdio (priv); +platform_device_set_of_node (ppdev,bcmgenet_mii_of_find_mdio (priv));else ppd.phy_mask = ~0 ;
Signature · 1 line
2.47.3
[email protected]
AI reviewRe: [PATCH v3 10/20] net: bcmgenet: use platform_device_set_of_node()
Thank you for your contribution! Sashiko AI review found 1 potential issue(s) to consider: - [Medium] OF Node Reference Leak due to missing of_node_put() on the result of bcmgenet_mii_of_find_mdio()…
Thank you for your contribution! Sashiko AI review found 1 potential issue(s) to consider:
- [Medium] OF Node Reference Leak due to missing of_node_put() on the result of bcmgenet_mii_of_find_mdio() --
commit 3b29ae0c601cb855b049f7da529812b74080533b
Author: Bartosz Golaszewski <[email protected]>
net: bcmgenet: use platform_device_set_of_node()
This commit encapsulates the assignment of the OF node for dynamically allocated platform devices using platform_device_set_of_node().
Quoted 4 lines
drivers/net/ethernet/broadcom/genet/bcmmii.c +0
-0
[ ... ]
drivers/net/ethernet/broadcom/genet/bcmmii.c static int bcmgenet_mii_register(struct bcmgenet_priv *priv) · line 495
Quoted 8 lines
drivers/net/ethernet/broadcom/genet/bcmmii.c +2
-1@@ -490,8 +490,9 @@ static int bcmgenet_mii_register(struct bcmgenet_priv *priv)/* Retain this platform_device pointer for later cleanup */ priv->mii_pdev = ppdev; ppdev->dev.parent = &pdev->dev; +if (dn) - ppdev->dev.of_node =bcmgenet_mii_of_find_mdio (priv); +platform_device_set_of_node (ppdev,bcmgenet_mii_of_find_mdio (priv));
[Severity: Medium]
Does this leak the OF node reference? bcmgenet_mii_of_find_mdio() internally calls of_get_compatible_child(), which returns a device node with an incremented reference count.
Previously, direct assignment allowed the platform device to consume this reference when it was eventually released. Now that platform_device_set_of_node() is used, it acquires its own reference internally.
Should there be an explicit of_node_put() to drop the initial reference returned by bcmgenet_mii_of_find_mdio() so it isn't leaked?
Quoted 3 lines
drivers/net/ethernet/broadcom/genet/bcmmii.c +0
-0else ppd.phy_mask = ~0 ;
Signature · 1 line
Sashiko AI review · https://sashiko.dev/#/patchset/[email protected]?part=10
PATCH v3 11/20 pmdomain: imx: use platform_device_set_of_node()
In reply to Bartosz GolaszewskiAhead of reworking the reference counting logic for platform devices, encapsulate the assignment of the OF node for dynamically allocated platform devices with the provided helper.
--- drivers/pmdomain/imx/gpc.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-)
drivers/pmdomain/imx/gpc.c +1 -2
@@ -487,8 +487,7 @@ static int imx_gpc_probe(struct platform_device *pdev) domain->ipg_rate_mhz = ipg_rate_mhz; pd_pdev->dev.parent = &pdev->dev; - pd_pdev->dev.of_node =of_node_get (np); - pd_pdev->dev.fwnode =of_fwnode_handle (np); +platform_device_set_of_node (pd_pdev, np); ret =platform_device_add (pd_pdev);if (ret) {
Signature · 1 line
2.47.3
[email protected]
AI reviewRe: [PATCH v3 11/20] pmdomain: imx: use platform_device_set_of_node()
Thank you for your contribution! Sashiko AI review found 2 potential issue(s) to consider:
Thank you for your contribution! Sashiko AI review found 2 potential issue(s) to consider:
Pre-existing issues:
- [High] Child platform devices dynamically added during probe are not unregistered on probe error paths or during driver removal.
- [High] The i.MX GPC power domain driver initializes domains as powered on but does not set GENPD_FLAG_NO_STAY_ON or provide a sync_state callback, causing domains to stay on indefinitely. --
commit 183445e8048cfd412f98719fae14416614f14176
Author: Bartosz Golaszewski <[email protected]>
pmdomain: imx: use platform_device_set_of_node()
Ahead of reworking the reference counting logic for platform devices, encapsulate the assignment of the OF node for dynamically allocated platform devices with the provided helper.
Quoted 5 lines
drivers/pmdomain/imx/gpc.c +0
-0
drivers/pmdomain/imx/gpc.c static int imx_gpc_probe(struct platform_device *pdev) · line 493
Quoted 9 lines
drivers/pmdomain/imx/gpc.c +1
-2@@ -487,8 +487,7 @@ static int imx_gpc_probe(struct platform_device *pdev) domain->ipg_rate_mhz = ipg_rate_mhz; pd_pdev->dev.parent = &pdev->dev; - pd_pdev->dev.of_node =of_node_get (np); - pd_pdev->dev.fwnode =of_fwnode_handle (np); +platform_device_set_of_node (pd_pdev, np); ret =platform_device_add (pd_pdev);if (ret) {
[Severity: High]
This isn't a bug introduced by this patch, but I noticed that child platform devices added in previous loop iterations are not unregistered on this error path.
If platform_device_add() fails, or if platform_device_alloc() fails earlier in the loop, imx_gpc_probe() returns immediately. Any successfully added "imx-pgc-power-domain" devices from previous iterations are left orphaned.
Because these orphaned child devices hold references to the parent's devm-managed regmap, does this create a use-after-free when the parent's devres cleanup runs?
The same unregistering step appears to be missing in imx_gpc_remove(), which skips the cleanup of these dynamically added platform devices entirely when pgc_node is present.
[Severity: High]
This is also a pre-existing issue, but I noticed a potential problem with how these domains are initialized.
In imx_pgc_power_domain_probe(), the domains are initialized as powered on via pm_genpd_init(&domain->base, NULL, false). For OF-based genpd providers, this sets genpd->stay_on = true.
However, neither imx_gpc_driver nor imx_pgc_power_domain_driver registers a .sync_state callback, and the domains do not have GENPD_FLAG_NO_STAY_ON set.
Since the stay_on flag is never cleared, will this cause the domains to remain powered on indefinitely? If regulator_late_cleanup() later disables the underlying regulators while the domains are still active, could this lead to hardware malfunctions?
Quoted 3 lines
drivers/pmdomain/imx/gpc.c +0
-0platform_device_put (pd_pdev);return ret; }
Signature · 1 line
Sashiko AI review · https://sashiko.dev/#/patchset/[email protected]?part=11
Re: [PATCH v3 11/20] pmdomain: imx: use platform_device_set_of_node()
In reply to Bartosz GolaszewskiQuoted 8 lines · Bartosz Golaszewski
Ahead of reworking the reference counting logic for platform devices, encapsulate the assignment of the OF node for dynamically allocated platform devices with the provided helper.
Reviewed-by Frank Li <[email protected]>Reviewed-by Andy Shevchenko <[email protected]>Signed-off-by Bartosz Golaszewski <[email protected]>
If not too late, feel free to add:
Kind regards
Uffe
Quoted 22 lines
--- drivers/pmdomain/imx/gpc.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-)drivers/pmdomain/imx/gpc.c +1
-3@@ -487,8 +487,7 @@ static int imx_gpc_probe(struct platform_device *pdev) domain->ipg_rate_mhz = ipg_rate_mhz; pd_pdev->dev.parent = &pdev->dev; - pd_pdev->dev.of_node =of_node_get (np); - pd_pdev->dev.fwnode =of_fwnode_handle (np); +platform_device_set_of_node (pd_pdev, np); ret =platform_device_add (pd_pdev);if (ret) { --2.47.3
PATCH v3 12/20 mfd: tps6586: use platform_device_set_of_node()
In reply to Bartosz GolaszewskiAhead of reworking the reference counting logic for platform devices, encapsulate the assignment of the OF node for dynamically allocated platform devices with the provided helper.
--- drivers/mfd/tps6586x.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/mfd/tps6586x.c +1 -1
@@ -397,7 +397,7 @@ static int tps6586x_add_subdevs(struct tps6586x *tps6586x, pdev->dev.parent = tps6586x->dev; pdev->dev.platform_data = subdev->platform_data; - pdev->dev.of_node =of_node_get (subdev->of_node); +platform_device_set_of_node (pdev, subdev->of_node); ret =platform_device_add (pdev);if (ret) {
Signature · 1 line
2.47.3
[email protected]
AI reviewRe: [PATCH v3 12/20] mfd: tps6586: use platform_device_set_of_node()
Thank you for your contribution! Sashiko AI review found 3 potential issue(s) to consider:
Thank you for your contribution! Sashiko AI review found 3 potential issue(s) to consider:
Pre-existing issues:
- [High] Subdevice cleanup unconditionally unregisters all children, prematurely removing MFD cell devices and bypassing mfd_remove_devices_fn().
- [Medium] Manual assignment of pdev->dev.platform_data leads to invalid kfree().
- [Medium] Missing IRQ domain and IRQ descriptors cleanup on teardown and error paths.
--
commit 0df04ec4b22ac2adb3b77bf67e6a1339f5fd4523
Author: Bartosz Golaszewski <[email protected]>
mfd: tps6586: use platform_device_set_of_node()
This commit encapsulates the assignment of the OF node for dynamically allocated platform devices by using the platform_device_set_of_node() helper. This change prepares for reworking the reference counting logic for platform devices.
drivers/mfd/tps6586x.c static int tps6586x_add_subdevs(struct tps6586x *tps6586x, · line 399
Quoted 8 lines
drivers/mfd/tps6586x.c +0
-0@@ -397,7 +397,7 @@ static int tps6586x_add_subdevs(struct tps6586x *tps6586x, pdev->dev.parent = tps6586x->dev; pdev->dev.platform_data = subdev->platform_data;
[Severity: Medium]
This is a pre-existing issue, but does this manual assignment of platform_data at line 399 in tps6586x_add_subdevs() cause problems during device release?
When the platform device is unregistered, platform_device_release() unconditionally calls kfree(pdev->dev.platform_data).
If subdev->platform_data was statically allocated or part of devm_kzalloc memory, could this corrupt the heap?
drivers/mfd/tps6586x.c static int tps6586x_add_subdevs(struct tps6586x *tps6586x, · line 403
Quoted 5 lines
drivers/mfd/tps6586x.c +1
-1- pdev->dev.of_node =of_node_get (subdev->of_node); +platform_device_set_of_node (pdev, subdev->of_node); ret =platform_device_add (pdev);if (ret) {
[Severity: High]
This isn't a bug introduced by this patch, but does the cleanup in tps6586x_remove_subdevs() interfere with MFD core cleanup?
drivers/mfd/tps6586x.c:tps6586x_remove_subdevs() {
...
return device_for_each_child(tps6586x->dev, NULL, __remove_subdev);
}drivers/mfd/tps6586x.c:__remove_subdev() {
...
platform_device_unregister(to_platform_device(dev));
}Since MFD cells added by mfd_add_devices() are children of tps6586x->dev, this unconditional unregistering of all children appears to bypass mfd_remove_devices_fn().
Could blindly casting dev to struct platform_device also be unsafe if any child is not a platform device?
[Severity: Medium]
This is a pre-existing issue, but does the driver leak IRQ descriptors and the IRQ domain during removal or on error paths?
In the removal path, tps6586x_i2c_remove() in drivers/mfd/tps6586x.c cleans up other resources but misses IRQ cleanup:
drivers/mfd/tps6586x.c:tps6586x_i2c_remove() {
struct tps6586x *tps6586x = i2c_get_clientdata(client);
tps6586x_remove_subdevs(tps6586x);
mfd_remove_devices(tps6586x->dev);
}Additionally, if irq_domain_create_simple() or request_threaded_irq() fail in tps6586x_irq_init():
drivers/mfd/tps6586x.c:tps6586x_irq_init() {
...
if (!tps6586x->irq_domain) {
dev_err(tps6586x->dev, "Failed to create IRQ domain\n");
return -ENOMEM;
}
...
}The error paths exit without freeing the previously allocated descriptors or domain. Can this cause resource leakage on cold paths?
Signature · 1 line
Sashiko AI review · https://sashiko.dev/#/patchset/[email protected]?part=12
PATCH v3 13/20 slimbus: qcom-ngd-ctrl: use platform_device_set_of_node()
In reply to Bartosz GolaszewskiAhead of reworking the reference counting logic for platform devices, encapsulate the assignment of the OF node for dynamically allocated platform devices with the provided helper.
--- drivers/slimbus/qcom-ngd-ctrl.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/slimbus/qcom-ngd-ctrl.c +1 -1
@@ -1539,7 +1539,7 @@ static int of_qcom_slim_ngd_register(struct device *parent,kfree (ngd);return ret; } - ngd->pdev->dev.of_node =of_node_get (node); +platform_device_set_of_node (ngd->pdev, node); ctrl->ngd = ngd; ret =platform_device_add (ngd->pdev);
Signature · 1 line
2.47.3
Re: [PATCH v3 13/20] slimbus: qcom-ngd-ctrl: use platform_device_set_of_node()
Thank you for your contribution! Sashiko AI review found 3 potential issue(s) to consider:
Thank you for your contribution! Sashiko AI review found 3 potential issue(s) to consider:
Pre-existing issues:
- [High] The dynamically allocated platform device and its associated OF node reference are leaked during device unregistration.
- [High] Unconditional dereference of of_match_node() return value leads to a NULL pointer dereference.
- [High] Missing cancellation of asynchronous work ngd_up_work causes a Use-After-Free of the ctrl structure on module removal. --
commit 4a2753767e946e9e44740066e0bb9147c741d781
Author: Bartosz Golaszewski <[email protected]>
slimbus: qcom-ngd-ctrl: use platform_device_set_of_node()
Ahead of reworking the reference counting logic for platform devices, encapsulate the assignment of the OF node for dynamically allocated platform devices with the provided helper.
drivers/slimbus/qcom-ngd-ctrl.c
Quoted 4 lines
drivers/slimbus/qcom-ngd-ctrl.c +0
-0
[ ... ]
[Severity: High]
This isn't a bug introduced by this patch, but can this code cause a NULL pointer dereference?
Looking at the beginning of of_qcom_slim_ngd_register():
drivers/slimbus/qcom-ngd-ctrl.c:of_qcom_slim_ngd_register() {
...
match = of_match_node(qcom_slim_ngd_dt_match, parent->of_node);
data = match->data;If the driver is bound via sysfs to a platform device that lacks a device tree node, of_match_node() will return NULL. Should this use of_device_get_match_data() or validate the match pointer before accessing data?
drivers/slimbus/qcom-ngd-ctrl.c static int of_qcom_slim_ngd_register(struct device *parent, · line 1545
Quoted 9 lines
drivers/slimbus/qcom-ngd-ctrl.c +1
-1@@ -1539,7 +1539,7 @@ static int of_qcom_slim_ngd_register(struct device *parent,kfree (ngd);return ret; } - ngd->pdev->dev.of_node =of_node_get (node); +platform_device_set_of_node (ngd->pdev, node); ctrl->ngd = ngd; ret =platform_device_add (ngd->pdev);
[Severity: High]
This is a pre-existing issue, but does this dynamically allocated device get leaked when unregistered?
Looking at qcom_slim_ngd_unregister() in drivers/slimbus/qcom-ngd-ctrl.c:
qcom_slim_ngd_unregister() {
...
platform_device_del(ngd->pdev);
...
}Since of_qcom_slim_ngd_register() allocates the device with platform_device_alloc(), shouldn't platform_device_put() be called to drop the initial reference count? Without it, both the device structure and the device tree node reference acquired above are never freed during unbind.
[Severity: High]
This is a pre-existing issue, but is there a risk of a use-after-free during module removal?
Looking at the driver teardown in qcom_slim_ngd_ctrl_remove():
drivers/slimbus/qcom-ngd-ctrl.c:qcom_slim_ngd_ctrl_remove() {
...
qcom_slim_ngd_unregister(ctrl);
destroy_workqueue(ctrl->mwq);
}If qcom_slim_ngd_ssr_pdr_notify() has scheduled ctrl->ngd_up_work on the system workqueue, can it execute after the devres-managed ctrl structure is freed? Would adding cancel_work_sync(&ctrl->ngd_up_work) here ensure the background task completes before the memory is released?
Signature · 1 line
Sashiko AI review · https://sashiko.dev/#/patchset/[email protected]?part=13
PATCH v3 14/20 net: mv643xx: use platform_device_set_of_node()
In reply to Bartosz GolaszewskiAhead of reworking the reference counting logic for platform devices, encapsulate the assignment of the OF node for dynamically allocated platform devices with the provided helper.
--- drivers/net/ethernet/marvell/mv643xx_eth.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/net/ethernet/marvell/mv643xx_eth.c +1 -1
@@ -2780,7 +2780,7 @@ static int mv643xx_eth_shared_of_add_port(struct platform_device *pdev, goto put_err; } ppdev->dev.coherent_dma_mask =DMA_BIT_MASK (32 ); - ppdev->dev.of_node =of_node_get (pnp); +platform_device_set_of_node (ppdev, pnp); ret =platform_device_add_resources (ppdev, &res,1 );if (ret)
Signature · 1 line
2.47.3
[email protected]
AI reviewRe: [PATCH v3 14/20] net: mv643xx: use platform_device_set_of_node()
Thank you for your contribution! Sashiko AI review found 3 potential issue(s) to consider:
Thank you for your contribution! Sashiko AI review found 3 potential issue(s) to consider:
Pre-existing issues:
- [High] Dynamically allocated platform devices are leaked during driver removal due to missing platform_device_put().
- [High] The static global port_platdev array is accessed without synchronization, leading to probe races and cross-device teardown corruption.
- [High] Missing phy_disconnect() on the error path of mv643xx_eth_probe(), leading to a use-after-free of the net_device. --
commit 286e3bdd9b38ee5d56ee5ff7b8525f2effcb4c53
Author: Bartosz Golaszewski <[email protected]>
net: mv643xx: use platform_device_set_of_node()
Ahead of reworking the reference counting logic for platform devices, encapsulate the assignment of the OF node for dynamically allocated platform devices with the provided helper.
Quoted 4 lines
drivers/net/ethernet/marvell/mv643xx_eth.c +0
-0
[ ... ]
drivers/net/ethernet/marvell/mv643xx_eth.c static int mv643xx_eth_shared_of_add_port(struct platform_device *pdev, · line 2783
Quoted 6 lines
drivers/net/ethernet/marvell/mv643xx_eth.c +1
-1@@ -2780,7 +2780,7 @@ static int mv643xx_eth_shared_of_add_port(struct platform_device *pdev, goto put_err; } ppdev->dev.coherent_dma_mask =DMA_BIT_MASK (32 ); - ppdev->dev.of_node =of_node_get (pnp); +platform_device_set_of_node (ppdev, pnp);
[Severity: High]
This isn't a bug introduced by this patch, but does this dynamically allocated platform device leak during driver removal?
Earlier in mv643xx_eth_shared_of_add_port(), platform_device_alloc() sets the initial reference count to 1. During removal, mv643xx_eth_shared_of_remove() calls platform_device_del(), which removes the device from the hierarchy but fails to drop the reference count.
Without a matching platform_device_put(), the device and its associated data leak on unbind or probe failure.
[Severity: High]
This is also a pre-existing issue, but could this global port array logic cause cross-device teardown corruption?
This function searches for a free slot in the global port_platdev array without synchronization:
mv643xx_eth_shared_of_add_port() {
...
while (dev_num < 3 && port_platdev[dev_num])
dev_num++;
...
}If controllers probe concurrently, they could race on this global state. Additionally, if one controller is unbound via sysfs, mv643xx_eth_shared_of_remove() unconditionally iterates over the global array and deletes all ports:
mv643xx_eth_shared_of_remove() {
...
for (n = 0; n < 3; n++) {
if (!port_platdev[n])
continue;
platform_device_del(port_platdev[n]);
port_platdev[n] = NULL;
}
}Wouldn't this destroy active network ports belonging to completely independent controllers sharing the driver?
[Severity: High]
This is another pre-existing issue, but does the probe error path leave a dangling pointer in the PHY subsystem?
In mv643xx_eth_probe(), the driver connects the PHY (which attaches it and stores a pointer to the net_device in phydev->attached_dev). If a subsequent operation in the probe fails, the error path frees the net_device but never disconnects the PHY:
mv643xx_eth_probe() {
...
out:
if (!IS_ERR(mp->clk))
clk_disable_unprepare(mp->clk);
free_netdev(dev);
return err;
}Can this lead to a use-after-free if the PHY device remains active and is later accessed via sysfs or core PHY polling routines?
Quoted 3 lines
drivers/net/ethernet/marvell/mv643xx_eth.c +0
-0ret =platform_device_add_resources (ppdev, &res,1 );if (ret)
Signature · 1 line
Sashiko AI review · https://sashiko.dev/#/patchset/[email protected]?part=14
PATCH v3 15/20 drm/xe/i2c: use platform_device_set_fwnode()
In reply to Bartosz GolaszewskiAhead of reworking the reference counting logic for platform devices, encapsulate the assignment of the firmware node for dynamically allocated platform devices with the provided helper.
--- drivers/gpu/drm/xe/xe_i2c.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/gpu/drm/xe/xe_i2c.c +1 -1
@@ -123,7 +123,7 @@ static int xe_i2c_register_adapter(struct xe_i2c *i2c) } pdev->dev.parent = i2c->drm_dev; - pdev->dev.fwnode = fwnode; +platform_device_set_fwnode (pdev, fwnode); i2c->adapter_node = fwnode; i2c->pdev = pdev;
Signature · 1 line
2.47.3
[email protected]
AI reviewRe: [PATCH v3 15/20] drm/xe/i2c: use platform_device_set_fwnode()
Thank you for your contribution! Sashiko AI review found 1 potential issue(s) to consider:
Thank you for your contribution! Sashiko AI review found 1 potential issue(s) to consider:
Pre-existing issues:
- [High] Missing cancel_work_sync() in the xe_i2c teardown path leads to a Use-After-Free of the device structure. --
commit 1fdde54b64291aceacb95c2a267bee6b6609b500
Author: Bartosz Golaszewski <[email protected]>
drm/xe/i2c: use platform_device_set_fwnode()
This commit encapsulates the assignment of the firmware node for dynamically allocated platform devices with the provided helper ahead of reworking the reference counting logic.
Quoted 4 lines
drivers/gpu/drm/xe/xe_i2c.c +0
-0
[ ... ]
drivers/gpu/drm/xe/xe_i2c.c static int xe_i2c_register_adapter(struct xe_i2c *i2c) · line 128
Quoted 8 lines
drivers/gpu/drm/xe/xe_i2c.c +1
-1@@ -123,7 +123,7 @@ static int xe_i2c_register_adapter(struct xe_i2c *i2c) } pdev->dev.parent = i2c->drm_dev; - pdev->dev.fwnode = fwnode; +platform_device_set_fwnode (pdev, fwnode); i2c->adapter_node = fwnode; i2c->pdev = pdev;
[Severity: High]
This is a pre-existing issue, but does the teardown path for this adapter need a cancel_work_sync() call?
The I2C adapter registration during xe_i2c_probe() triggers a BUS_NOTIFY_ADD_DEVICE notification, which schedules i2c->work. If the device is unbound before this background work completes, xe_i2c_remove() is called:
static void xe_i2c_remove(void *data)
{
struct xe_i2c *i2c = data;
unsigned int i;
for (i = 0; i < XE_I2C_MAX_CLIENTS; i++)
i2c_unregister_device(i2c->client[i]);
bus_unregister_notifier(&i2c_bus_type, &i2c->bus_notifier);
xe_i2c_unregister_adapter(i2c);
xe_i2c_remove_irq(i2c);
}Since xe_i2c_remove() unregisters the notifier and adapter but fails to call cancel_work_sync(&i2c->work), could the scheduled work execute after the struct xe_i2c memory is freed?
This appears to leave a window for a use-after-free when unbinding the driver, as the delayed work might dereference the freed i2c pointer.
Signature · 1 line
Sashiko AI review · https://sashiko.dev/#/patchset/[email protected]?part=15
PATCH v3 16/20 platform/surface: gpe: use platform_device_set_fwnode()
In reply to Bartosz GolaszewskiAhead of reworking the reference counting logic for platform devices, encapsulate the assignment of the firmware node for dynamically allocated platform devices with the provided helper.
--- drivers/platform/surface/surface_gpe.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/platform/surface/surface_gpe.c +1 -1
@@ -317,7 +317,7 @@ static int __init surface_gpe_init(void) goto err_alloc; } - pdev->dev.fwnode = fwnode; +platform_device_set_fwnode (pdev, fwnode); status =platform_device_add (pdev);if (status)
Signature · 1 line
2.47.3
[email protected]
AI reviewRe: [PATCH v3 16/20] platform/surface: gpe: use platform_device_set_fwnode()
Sashiko has reviewed this patch and found no issues. It looks great!
Quoted 7 lines
Ahead of reworking the reference counting logic for platform devices, encapsulate the assignment of the firmware node for dynamically allocated platform devices with the provided helper.
Acked-by Ilpo Järvinen <[email protected]>Reviewed-by Andy Shevchenko <[email protected]>Signed-off-by Bartosz Golaszewski <[email protected]>
Sashiko has reviewed this patch and found no issues. It looks great!
Signature · 1 line
Sashiko AI review · https://sashiko.dev/#/patchset/[email protected]?part=16
PATCH v3 17/20 usb: chipidea: use platform_device_set_of_node_from_dev()
In reply to Bartosz GolaszewskiAhead of reworking the reference counting logic for platform devices, encapsulate the assignment of the OF node from another device for dynamically allocated platform devices with the provided helper.
--- drivers/usb/chipidea/core.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/usb/chipidea/core.c +1 -1
@@ -879,7 +879,7 @@ struct platform_device *ci_hdrc_add_device(struct device *dev, } pdev->dev.parent = dev; -device_set_of_node_from_dev (&pdev->dev, dev); +platform_device_set_of_node_from_dev (pdev, dev); ret =platform_device_add_resources (pdev, res, nres);if (ret)
Signature · 1 line
2.47.3
[email protected]
AI reviewRe: [PATCH v3 17/20] usb: chipidea: use platform_device_set_of_node_from_dev()
Sashiko has reviewed this patch and found no issues. It looks great!
Quoted 8 lines
Ahead of reworking the reference counting logic for platform devices, encapsulate the assignment of the OF node from another device for dynamically allocated platform devices with the provided helper.
Acked-by Peter Chen <[email protected]>Reviewed-by Andy Shevchenko <[email protected]>Signed-off-by Bartosz Golaszewski <[email protected]>
Sashiko has reviewed this patch and found no issues. It looks great!
Signature · 1 line
Sashiko AI review · https://sashiko.dev/#/patchset/[email protected]?part=17
PATCH v3 18/20 usb: musb: use platform_device_set_of_node_from_dev()
In reply to Bartosz GolaszewskiAhead of reworking the reference counting logic for platform devices, encapsulate the assignment of the OF node from another device for dynamically allocated platform devices with the provided helper.
--- drivers/usb/musb/jz4740.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/usb/musb/jz4740.c +1 -1
@@ -273,7 +273,7 @@ static int jz4740_probe(struct platform_device *pdev) musb->dev.parent = dev; musb->dev.dma_mask = &musb->dev.coherent_dma_mask; musb->dev.coherent_dma_mask =DMA_BIT_MASK (32 ); -device_set_of_node_from_dev (&musb->dev, dev); +platform_device_set_of_node_from_dev (musb, dev); glue->pdev = musb; glue->clk = clk;
Signature · 1 line
2.47.3
[email protected]
AI reviewRe: [PATCH v3 18/20] usb: musb: use platform_device_set_of_node_from_dev()
Thank you for your contribution! Sashiko AI review found 1 potential issue(s) to consider: - [Medium] The patch missed replacing `device_set_of_node_from_dev()` with the new…
Thank you for your contribution! Sashiko AI review found 1 potential issue(s) to consider:
- [Medium] The patch missed replacing device_set_of_node_from_dev() with the new platform_device_set_of_node_from_dev() wrapper for four dynamically allocated platform devices in the musb subsystem. Because the final patch in this series modifies platform_device_release() to only drop the fwnode reference instead of the of_node reference, these four un-migrated drivers will never have their fwnode field populated and will leak their of_node reference upon device destruction. --
commit 38644321565357d4bf1b4cbb11a9e179abf72efc
Author: Bartosz Golaszewski <[email protected]>
usb: musb: use platform_device_set_of_node_from_dev()
Ahead of reworking the reference counting logic for platform devices, encapsulate the assignment of the OF node from another device for dynamically allocated platform devices with the provided helper.
drivers/usb/musb/jz4740.c static int jz4740_probe(struct platform_device *pdev) · line 276
Quoted 10 lines
drivers/usb/musb/jz4740.c +1
-1@@ -273,7 +273,7 @@ static int jz4740_probe(struct platform_device *pdev) musb->dev.parent = dev; musb->dev.dma_mask = &musb->dev.coherent_dma_mask; musb->dev.coherent_dma_mask =DMA_BIT_MASK (32 ); -device_set_of_node_from_dev (&musb->dev, dev); +platform_device_set_of_node_from_dev (musb, dev);
[Severity: Medium]
Will this miss other dynamically allocated platform devices in the musb subsystem?
Because the final patch in this series modifies platform_device_release() to only drop the fwnode reference instead of the of_node reference, wouldn't these remaining un-migrated drivers never have their fwnode field populated?
This could cause an of_node reference leak upon device destruction (e.g., via platform_device_put() on probe failure or driver unbinding). If these devices are instantiated via dynamic Device Tree overlays, the leaked reference will prevent the overlay from being safely unloaded.
The following files appear to have missed the migration:
drivers/usb/musb/mpfs.c:mpfs_probe()
device_set_of_node_from_dev(&musb_pdev->dev, dev);
drivers/usb/musb/musb_dsps.c:dsps_create_musb_pdev()
device_set_of_node_from_dev(&musb->dev, &parent->dev);
drivers/usb/musb/omap2430.c:omap2430_probe()
device_set_of_node_from_dev(&musb->dev, &pdev->dev);
drivers/usb/musb/ux500.c:ux500_probe()
device_set_of_node_from_dev(&musb->dev, &pdev->dev);
Signature · 1 line
Sashiko AI review · https://sashiko.dev/#/patchset/[email protected]?part=18
PATCH v3 19/20 reset: rzg2l: use platform_device_set_of_node_from_dev()
In reply to Bartosz GolaszewskiAhead of reworking the reference counting logic for platform devices, encapsulate the assignment of the OF node from another device for dynamically allocated platform devices with the provided helper.
--- drivers/reset/reset-rzg2l-usbphy-ctrl.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/reset/reset-rzg2l-usbphy-ctrl.c +1 -1
@@ -249,7 +249,7 @@ static int rzg2l_usbphy_ctrl_probe(struct platform_device *pdev) vdev->dev.parent = dev; priv->vdev = vdev; -device_set_of_node_from_dev (&vdev->dev, dev); +platform_device_set_of_node_from_dev (vdev, dev); error =platform_device_add (vdev);if (error) goto err_device_put;
Signature · 1 line
2.47.3
[email protected]
AI reviewRe: [PATCH v3 19/20] reset: rzg2l: use platform_device_set_of_node_from_dev()
Sashiko has reviewed this patch and found no issues. It looks great!
Quoted 7 lines
Ahead of reworking the reference counting logic for platform devices, encapsulate the assignment of the OF node from another device for dynamically allocated platform devices with the provided helper.
Acked-by Philipp Zabel <[email protected]>Reviewed-by Andy Shevchenko <[email protected]>Signed-off-by Bartosz Golaszewski <[email protected]>
Sashiko has reviewed this patch and found no issues. It looks great!
Signature · 1 line
Sashiko AI review · https://sashiko.dev/#/patchset/[email protected]?part=19
PATCH v3 20/20 driver core: platform: count references to all kinds of firmware nodes
In reply to Bartosz GolaszewskiWhen using platform_device_register_full(), we currently only increase the reference count of the OF node associated with a platform device. We symmetrically decrease it in platform_device_release(). With all users in tree now converted to using provided platform device helpers for assigning OF and firmware nodes, we can now switch to counting references of all kinds of firmware nodes.
--- drivers/base/platform.c | 15 +++++---------- 1 file changed, 5 insertions(+), 10 deletions(-)
drivers/base/platform.c +5 -10
@@ -599,7 +599,7 @@ static void platform_device_release(struct device *dev) struct platform_object *pa = container_of(dev, struct platform_object, pdev.dev); -of_node_put (pa->pdev.dev.of_node); +fwnode_handle_put (pa->pdev.dev.fwnode);kfree (pa->pdev.dev.platform_data);kfree (pa->pdev.mfd_cell);kfree (pa->pdev.resource);
@@ -712,9 +712,7 @@ EXPORT_SYMBOL_GPL(platform_device_add_data);void platform_device_set_of_node (struct platform_device *pdev,struct device_node *np) { -of_node_put (pdev->dev.of_node); - pdev->dev.of_node =of_node_get (np); - pdev->dev.fwnode =of_fwnode_handle (np); +platform_device_set_fwnode (pdev,of_fwnode_handle (np)); }EXPORT_SYMBOL_GPL (platform_device_set_of_node);
@@ -730,10 +728,8 @@ EXPORT_SYMBOL_GPL(platform_device_set_of_node);void platform_device_set_fwnode (struct platform_device *pdev,struct fwnode_handle *fwnode) { -if (is_of_node (fwnode)) -platform_device_set_of_node (pdev,to_of_node (fwnode)); -else - pdev->dev.fwnode = fwnode; +fwnode_handle_put (pdev->dev.fwnode); +device_set_node (&pdev->dev,fwnode_handle_get (fwnode)); }EXPORT_SYMBOL_GPL (platform_device_set_fwnode);
@@ -928,8 +924,7 @@ struct platform_device *platform_device_register_full(const struct platform_devireturn ERR_PTR (-ENOMEM ); pdev->dev.parent = pdevinfo->parent; - pdev->dev.fwnode = pdevinfo->fwnode; - pdev->dev.of_node =of_node_get (to_of_node (pdev->dev.fwnode)); +device_set_node (&pdev->dev,fwnode_handle_get (pdevinfo->fwnode));dev_assign_of_node_reused (&pdev->dev, pdevinfo->of_node_reused);if (pdevinfo->dma_mask) {
Signature · 1 line
2.47.3
[email protected]
AI reviewRe: [PATCH v3 20/20] driver core: platform: count references to all kinds of firmware nodes
Thank you for your contribution! Sashiko AI review found 1 potential issue(s) to consider: - [High] OF node reference leak for dynamically allocated platform devices due to incomplete tree-wide…
Thank you for your contribution! Sashiko AI review found 1 potential issue(s) to consider:
- [High] OF node reference leak for dynamically allocated platform devices due to incomplete tree-wide conversion. --
commit 50bc78e1d223d4a9addf4cc0c3c1d384a104d5a6
Author: Bartosz Golaszewski <[email protected]>
driver core: platform: count references to all kinds of firmware nodes
When using platform_device_register_full(), we currently only increase the reference count of the OF node associated with a platform device. We symmetrically decrease it in platform_device_release(). With all users in tree now converted to using provided platform device helpers for assigning OF and firmware nodes, we can now switch to counting references of all kinds of firmware nodes.
drivers/base/platform.c static void platform_device_release(struct device *dev) · line 602
Quoted 10 lines
drivers/base/platform.c +1
-1@@ -599,7 +599,7 @@ static void platform_device_release(struct device *dev) struct platform_object *pa = container_of(dev, struct platform_object, pdev.dev); -of_node_put (pa->pdev.dev.of_node); +fwnode_handle_put (pa->pdev.dev.fwnode);
[Severity: High]
Does this code leak the device_node for drivers that haven't been fully converted to the platform device helpers?
The commit message mentions that all in-tree users are converted, but there appear to be some unconverted drivers still using device_set_of_node_from_dev on dynamically allocated platform devices.
For example, in drivers/usb/host/fsl-mph-dr-of.c:fsl_usb2_device_register():
device_set_of_node_from_dev(&pdev->dev, &ofdev->dev);
And in drivers/usb/musb/musb_dsps.c:dsps_create_musb_pdev():
device_set_of_node_from_dev(&musb->dev, &parent->dev);
Since device_set_of_node_from_dev() sets and increments dev->of_node without setting dev->fwnode, won't fwnode_handle_put(NULL) do nothing and permanently leak the OF node reference when these devices are released?
Signature · 1 line
Sashiko AI review · https://sashiko.dev/#/patchset/[email protected]?part=20
Patchwork
CI✓ CI.KUnit: success for driver core: count references of the platform device's fwnode, not OF node (rev3)
In reply to Bartosz Golaszewski== Series Details ==
== Series Details ==
Series: driver core: count references of the platform device's fwnode, not OF node (rev3)
URL : https://patchwork.freedesktop.org/series/166998/
State : success
== Summary ==
+ trap cleanup EXIT
+ /kernel/tools/testing/kunit/kunit.py run --kunitconfig /kernel/drivers/gpu/drm/xe/.kunitconfig [13:18:51] Configuring KUnit Kernel ...
Generating .config ...
Populating config with:
$ make ARCH=um O=.kunit olddefconfig
[13:18:56] Building KUnit Kernel ...
Populating config with:
$ make ARCH=um O=.kunit olddefconfig
Building with:
$ make all compile_commands.json scripts_gdb ARCH=um O=.kunit --jobs=48
../drivers/gpu/drm/xe/xe_pt.c:1430:13: warning: ‘xe_pt_svm_userptr_notifier_lock’ defined but not used [-Wunused-function]
1430 | static void xe_pt_svm_userptr_notifier_lock(struct xe_vm *vm)
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~[13:19:27] Starting KUnit Kernel (1/1)...
[13:19:27] ============================================================ Running tests with:
$ .kunit/linux kunit.enable=1 mem=1G console=tty kunit_shutdown=halt [13:19:28] ================== guc_buf (11 subtests) =================== [13:19:28] [PASSED] test_smallest [13:19:28] [PASSED] test_largest [13:19:28] [PASSED] test_granular [13:19:28] [PASSED] test_unique [13:19:28] [PASSED] test_overlap [13:19:28] [PASSED] test_reusable [13:19:28] [PASSED] test_too_big [13:19:28] [PASSED] test_flush [13:19:28] [PASSED] test_lookup [13:19:28] [PASSED] test_data [13:19:28] [PASSED] test_class [13:19:28] ===================== [PASSED] guc_buf ===================== [13:19:28] =================== guc_dbm (7 subtests) =================== [13:19:28] [PASSED] test_empty [13:19:28] [PASSED] test_default [13:19:28] ======================== test_size ======================== [13:19:28] [PASSED] 4 [13:19:28] [PASSED] 8 [13:19:28] [PASSED] 32 [13:19:28] [PASSED] 256 [13:19:28] ==================== [PASSED] test_size ==================== [13:19:28] ======================= test_reuse ======================== [13:19:28] [PASSED] 4 [13:19:28] [PASSED] 8 [13:19:28] [PASSED] 32 [13:19:28] [PASSED] 256 [13:19:28] =================== [PASSED] test_reuse ==================== [13:19:28] =================== test_range_overlap ==================== [13:19:28] [PASSED] 4 [13:19:28] [PASSED] 8 [13:19:28] [PASSED] 32 [13:19:28] [PASSED] 256 [13:19:28] =============== [PASSED] test_range_overlap ================ [13:19:28] =================== test_range_compact ==================== [13:19:28] [PASSED] 4 [13:19:28] [PASSED] 8 [13:19:28] [PASSED] 32 [13:19:28] [PASSED] 256 [13:19:28] =============== [PASSED] test_range_compact ================ [13:19:28] ==================== test_range_spare ===================== [13:19:28] [PASSED] 4 [13:19:28] [PASSED] 8 [13:19:28] [PASSED] 32 [13:19:28] [PASSED] 256 [13:19:28] ================ [PASSED] test_range_spare ================= [13:19:28] ===================== [PASSED] guc_dbm ===================== [13:19:28] =================== guc_idm (6 subtests) =================== [13:19:28] [PASSED] bad_init [13:19:28] [PASSED] no_init [13:19:28] [PASSED] init_fini [13:19:28] [PASSED] check_used [13:19:28] [PASSED] check_quota [13:19:28] [PASSED] check_all [13:19:28] ===================== [PASSED] guc_idm ===================== [13:19:28] ================== no_relay (3 subtests) =================== [13:19:28] [PASSED] xe_drops_guc2pf_if_not_ready [13:19:28] [PASSED] xe_drops_guc2vf_if_not_ready [13:19:28] [PASSED] xe_rejects_send_if_not_ready [13:19:28] ==================== [PASSED] no_relay ===================== [13:19:28] ================== pf_relay (14 subtests) ================== [13:19:28] [PASSED] pf_rejects_guc2pf_too_short [13:19:28] [PASSED] pf_rejects_guc2pf_too_long [13:19:28] [PASSED] pf_rejects_guc2pf_no_payload [13:19:28] [PASSED] pf_fails_no_payload [13:19:28] [PASSED] pf_fails_bad_origin [13:19:28] [PASSED] pf_fails_bad_type [13:19:28] [PASSED] pf_txn_reports_error [13:19:28] [PASSED] pf_txn_sends_pf2guc [13:19:28] [PASSED] pf_sends_pf2guc [13:19:28] [SKIPPED] pf_loopback_nop (requires CONFIG_DRM_XE_DEBUG_SRIOV) [13:19:28] [SKIPPED] pf_loopback_echo (requires CONFIG_DRM_XE_DEBUG_SRIOV) [13:19:28] [SKIPPED] pf_loopback_fail (requires CONFIG_DRM_XE_DEBUG_SRIOV) [13:19:28] [SKIPPED] pf_loopback_busy (requires CONFIG_DRM_XE_DEBUG_SRIOV) [13:19:28] [SKIPPED] pf_loopback_retry (requires CONFIG_DRM_XE_DEBUG_SRIOV) [13:19:28] ==================== [PASSED] pf_relay ===================== [13:19:28] ================== vf_relay (3 subtests) =================== [13:19:28] [PASSED] vf_rejects_guc2vf_too_short [13:19:28] [PASSED] vf_rejects_guc2vf_too_long [13:19:28] [PASSED] vf_rejects_guc2vf_no_payload [13:19:28] ==================== [PASSED] vf_relay ===================== [13:19:28] ================ pf_gt_config (9 subtests) ================= [13:19:28] [PASSED] fair_contexts_1vf [13:19:28] [PASSED] fair_doorbells_1vf [13:19:28] [PASSED] fair_ggtt_1vf [13:19:28] ====================== fair_vram_1vf ====================== [13:19:28] [PASSED] 3.50 GiB [13:19:28] [PASSED] 11.5 GiB [13:19:28] [PASSED] 15.5 GiB [13:19:28] [PASSED] 31.5 GiB [13:19:28] [PASSED] 63.5 GiB [13:19:28] [PASSED] 1.91 GiB [13:19:28] ================== [PASSED] fair_vram_1vf ================== [13:19:28] ================ fair_vram_1vf_admin_only ================= [13:19:28] [PASSED] 3.50 GiB [13:19:28] [PASSED] 11.5 GiB [13:19:28] [PASSED] 15.5 GiB [13:19:28] [PASSED] 31.5 GiB [13:19:28] [PASSED] 63.5 GiB [13:19:28] [PASSED] 1.91 GiB [13:19:28] ============ [PASSED] fair_vram_1vf_admin_only ============= [13:19:28] ====================== fair_contexts ====================== [13:19:28] [PASSED] 1 VF [13:19:28] [PASSED] 2 VFs [13:19:28] [PASSED] 3 VFs [13:19:28] [PASSED] 4 VFs [13:19:28] [PASSED] 5 VFs [13:19:28] [PASSED] 6 VFs [13:19:28] [PASSED] 7 VFs [13:19:28] [PASSED] 8 VFs [13:19:28] [PASSED] 9 VFs [13:19:28] [PASSED] 10 VFs [13:19:28] [PASSED] 11 VFs [13:19:28] [PASSED] 12 VFs [13:19:28] [PASSED] 13 VFs [13:19:28] [PASSED] 14 VFs [13:19:28] [PASSED] 15 VFs [13:19:28] [PASSED] 16 VFs [13:19:28] [PASSED] 17 VFs [13:19:28] [PASSED] 18 VFs [13:19:28] [PASSED] 19 VFs [13:19:28] [PASSED] 20 VFs [13:19:28] [PASSED] 21 VFs [13:19:28] [PASSED] 22 VFs [13:19:28] [PASSED] 23 VFs [13:19:28] [PASSED] 24 VFs [13:19:28] [PASSED] 25 VFs [13:19:28] [PASSED] 26 VFs [13:19:28] [PASSED] 27 VFs [13:19:28] [PASSED] 28 VFs [13:19:28] [PASSED] 29 VFs [13:19:28] [PASSED] 30 VFs [13:19:28] [PASSED] 31 VFs [13:19:28] [PASSED] 32 VFs [13:19:28] [PASSED] 33 VFs [13:19:28] [PASSED] 34 VFs [13:19:28] [PASSED] 35 VFs [13:19:28] [PASSED] 36 VFs [13:19:28] [PASSED] 37 VFs [13:19:28] [PASSED] 38 VFs [13:19:28] [PASSED] 39 VFs [13:19:28] [PASSED] 40 VFs [13:19:28] [PASSED] 41 VFs [13:19:28] [PASSED] 42 VFs [13:19:28] [PASSED] 43 VFs [13:19:28] [PASSED] 44 VFs [13:19:28] [PASSED] 45 VFs [13:19:28] [PASSED] 46 VFs [13:19:28] [PASSED] 47 VFs [13:19:28] [PASSED] 48 VFs [13:19:28] [PASSED] 49 VFs [13:19:28] [PASSED] 50 VFs [13:19:28] [PASSED] 51 VFs [13:19:28] [PASSED] 52 VFs [13:19:28] [PASSED] 53 VFs [13:19:28] [PASSED] 54 VFs [13:19:28] [PASSED] 55 VFs [13:19:28] [PASSED] 56 VFs [13:19:28] [PASSED] 57 VFs [13:19:28] [PASSED] 58 VFs [13:19:28] [PASSED] 59 VFs [13:19:28] [PASSED] 60 VFs [13:19:28] [PASSED] 61 VFs [13:19:28] [PASSED] 62 VFs [13:19:28] [PASSED] 63 VFs [13:19:28] ================== [PASSED] fair_contexts ================== [13:19:28] ===================== fair_doorbells ====================== [13:19:28] [PASSED] 1 VF [13:19:28] [PASSED] 2 VFs [13:19:28] [PASSED] 3 VFs [13:19:28] [PASSED] 4 VFs [13:19:28] [PASSED] 5 VFs [13:19:28] [PASSED] 6 VFs [13:19:28] [PASSED] 7 VFs [13:19:28] [PASSED] 8 VFs [13:19:28] [PASSED] 9 VFs [13:19:28] [PASSED] 10 VFs [13:19:28] [PASSED] 11 VFs [13:19:28] [PASSED] 12 VFs [13:19:28] [PASSED] 13 VFs [13:19:28] [PASSED] 14 VFs [13:19:28] [PASSED] 15 VFs [13:19:28] [PASSED] 16 VFs [13:19:28] [PASSED] 17 VFs [13:19:28] [PASSED] 18 VFs [13:19:28] [PASSED] 19 VFs [13:19:28] [PASSED] 20 VFs [13:19:28] [PASSED] 21 VFs [13:19:28] [PASSED] 22 VFs [13:19:28] [PASSED] 23 VFs [13:19:28] [PASSED] 24 VFs [13:19:28] [PASSED] 25 VFs [13:19:28] [PASSED] 26 VFs [13:19:28] [PASSED] 27 VFs [13:19:28] [PASSED] 28 VFs [13:19:28] [PASSED] 29 VFs [13:19:28] [PASSED] 30 VFs [13:19:28] [PASSED] 31 VFs [13:19:28] [PASSED] 32 VFs [13:19:28] [PASSED] 33 VFs [13:19:28] [PASSED] 34 VFs [13:19:28] [PASSED] 35 VFs [13:19:28] [PASSED] 36 VFs [13:19:28] [PASSED] 37 VFs [13:19:28] [PASSED] 38 VFs [13:19:28] [PASSED] 39 VFs [13:19:28] [PASSED] 40 VFs [13:19:28] [PASSED] 41 VFs [13:19:28] [PASSED] 42 VFs [13:19:28] [PASSED] 43 VFs [13:19:28] [PASSED] 44 VFs [13:19:28] [PASSED] 45 VFs [13:19:28] [PASSED] 46 VFs [13:19:28] [PASSED] 47 VFs [13:19:28] [PASSED] 48 VFs [13:19:28] [PASSED] 49 VFs [13:19:28] [PASSED] 50 VFs [13:19:28] [PASSED] 51 VFs [13:19:28] [PASSED] 52 VFs [13:19:28] [PASSED] 53 VFs [13:19:28] [PASSED] 54 VFs [13:19:28] [PASSED] 55 VFs [13:19:28] [PASSED] 56 VFs [13:19:28] [PASSED] 57 VFs [13:19:28] [PASSED] 58 VFs [13:19:28] [PASSED] 59 VFs [13:19:28] [PASSED] 60 VFs [13:19:28] [PASSED] 61 VFs [13:19:28] [PASSED] 62 VFs [13:19:28] [PASSED] 63 VFs [13:19:28] ================= [PASSED] fair_doorbells ================== [13:19:28] ======================== fair_ggtt ======================== [13:19:28] [PASSED] 1 VF [13:19:28] [PASSED] 2 VFs [13:19:28] [PASSED] 3 VFs [13:19:28] [PASSED] 4 VFs [13:19:28] [PASSED] 5 VFs [13:19:28] [PASSED] 6 VFs [13:19:28] [PASSED] 7 VFs [13:19:28] [PASSED] 8 VFs [13:19:28] [PASSED] 9 VFs [13:19:28] [PASSED] 10 VFs [13:19:28] [PASSED] 11 VFs [13:19:28] [PASSED] 12 VFs [13:19:28] [PASSED] 13 VFs [13:19:28] [PASSED] 14 VFs [13:19:28] [PASSED] 15 VFs [13:19:28] [PASSED] 16 VFs [13:19:28] [PASSED] 17 VFs [13:19:28] [PASSED] 18 VFs [13:19:28] [PASSED] 19 VFs [13:19:28] [PASSED] 20 VFs [13:19:28] [PASSED] 21 VFs [13:19:28] [PASSED] 22 VFs [13:19:28] [PASSED] 23 VFs [13:19:28] [PASSED] 24 VFs [13:19:28] [PASSED] 25 VFs [13:19:28] [PASSED] 26 VFs [13:19:28] [PASSED] 27 VFs [13:19:28] [PASSED] 28 VFs [13:19:28] [PASSED] 29 VFs [13:19:28] [PASSED] 30 VFs [13:19:28] [PASSED] 31 VFs [13:19:28] [PASSED] 32 VFs [13:19:28] [PASSED] 33 VFs [13:19:28] [PASSED] 34 VFs [13:19:28] [PASSED] 35 VFs [13:19:28] [PASSED] 36 VFs [13:19:28] [PASSED] 37 VFs [13:19:28] [PASSED] 38 VFs [13:19:28] [PASSED] 39 VFs [13:19:28] [PASSED] 40 VFs [13:19:28] [PASSED] 41 VFs [13:19:28] [PASSED] 42 VFs [13:19:28] [PASSED] 43 VFs [13:19:28] [PASSED] 44 VFs [13:19:28] [PASSED] 45 VFs [13:19:28] [PASSED] 46 VFs [13:19:28] [PASSED] 47 VFs [13:19:28] [PASSED] 48 VFs [13:19:28] [PASSED] 49 VFs [13:19:28] [PASSED] 50 VFs [13:19:28] [PASSED] 51 VFs [13:19:28] [PASSED] 52 VFs [13:19:28] [PASSED] 53 VFs [13:19:28] [PASSED] 54 VFs [13:19:28] [PASSED] 55 VFs [13:19:28] [PASSED] 56 VFs [13:19:28] [PASSED] 57 VFs [13:19:28] [PASSED] 58 VFs [13:19:28] [PASSED] 59 VFs [13:19:28] [PASSED] 60 VFs [13:19:28] [PASSED] 61 VFs [13:19:28] [PASSED] 62 VFs [13:19:28] [PASSED] 63 VFs [13:19:28] ==================== [PASSED] fair_ggtt ==================== [13:19:28] ======================== fair_vram ======================== [13:19:28] [PASSED] 1 VF [13:19:28] [PASSED] 2 VFs [13:19:28] [PASSED] 3 VFs [13:19:28] [PASSED] 4 VFs [13:19:28] [PASSED] 5 VFs [13:19:28] [PASSED] 6 VFs [13:19:28] [PASSED] 7 VFs [13:19:28] [PASSED] 8 VFs [13:19:28] [PASSED] 9 VFs [13:19:28] [PASSED] 10 VFs [13:19:28] [PASSED] 11 VFs [13:19:28] [PASSED] 12 VFs [13:19:28] [PASSED] 13 VFs [13:19:28] [PASSED] 14 VFs [13:19:28] [PASSED] 15 VFs [13:19:28] [PASSED] 16 VFs [13:19:28] [PASSED] 17 VFs [13:19:28] [PASSED] 18 VFs [13:19:28] [PASSED] 19 VFs [13:19:28] [PASSED] 20 VFs [13:19:28] [PASSED] 21 VFs [13:19:28] [PASSED] 22 VFs [13:19:28] [PASSED] 23 VFs [13:19:28] [PASSED] 24 VFs [13:19:28] [PASSED] 25 VFs [13:19:28] [PASSED] 26 VFs [13:19:28] [PASSED] 27 VFs [13:19:28] [PASSED] 28 VFs [13:19:28] [PASSED] 29 VFs [13:19:28] [PASSED] 30 VFs [13:19:28] [PASSED] 31 VFs [13:19:28] [PASSED] 32 VFs [13:19:28] [PASSED] 33 VFs [13:19:28] [PASSED] 34 VFs [13:19:28] [PASSED] 35 VFs [13:19:28] [PASSED] 36 VFs [13:19:28] [PASSED] 37 VFs [13:19:28] [PASSED] 38 VFs [13:19:28] [PASSED] 39 VFs [13:19:28] [PASSED] 40 VFs [13:19:28] [PASSED] 41 VFs [13:19:28] [PASSED] 42 VFs [13:19:28] [PASSED] 43 VFs [13:19:28] [PASSED] 44 VFs [13:19:28] [PASSED] 45 VFs [13:19:28] [PASSED] 46 VFs [13:19:28] [PASSED] 47 VFs [13:19:28] [PASSED] 48 VFs [13:19:28] [PASSED] 49 VFs [13:19:28] [PASSED] 50 VFs [13:19:28] [PASSED] 51 VFs [13:19:28] [PASSED] 52 VFs [13:19:28] [PASSED] 53 VFs [13:19:28] [PASSED] 54 VFs [13:19:28] [PASSED] 55 VFs [13:19:28] [PASSED] 56 VFs [13:19:28] [PASSED] 57 VFs [13:19:28] [PASSED] 58 VFs [13:19:28] [PASSED] 59 VFs [13:19:28] [PASSED] 60 VFs [13:19:28] [PASSED] 61 VFs [13:19:28] [PASSED] 62 VFs [13:19:28] [PASSED] 63 VFs [13:19:28] ==================== [PASSED] fair_vram ==================== [13:19:28] ================== [PASSED] pf_gt_config =================== [13:19:28] ===================== lmtt (1 subtest) ===================== [13:19:28] ======================== test_ops ========================= [13:19:28] [PASSED] 2-level [13:19:28] [PASSED] multi-level [13:19:28] ==================== [PASSED] test_ops ===================== [13:19:28] ====================== [PASSED] lmtt ======================= [13:19:28] ================= pf_service (11 subtests) ================= [13:19:28] [PASSED] pf_negotiate_any [13:19:28] [PASSED] pf_negotiate_base_match [13:19:28] [PASSED] pf_negotiate_base_newer [13:19:28] [PASSED] pf_negotiate_base_next [13:19:28] [SKIPPED] pf_negotiate_base_older (no older minor) [13:19:28] [PASSED] pf_negotiate_base_prev [13:19:28] [PASSED] pf_negotiate_latest_match [13:19:28] [PASSED] pf_negotiate_latest_newer [13:19:28] [PASSED] pf_negotiate_latest_next [13:19:28] [SKIPPED] pf_negotiate_latest_older (no older minor) [13:19:28] [SKIPPED] pf_negotiate_latest_prev (no prev major) [13:19:28] =================== [PASSED] pf_service ==================== [13:19:28] ================= xe_guc_g2g (2 subtests) ================== [13:19:28] ============== xe_live_guc_g2g_kunit_default ============== [13:19:28] ========= [SKIPPED] xe_live_guc_g2g_kunit_default ========== [13:19:28] ============== xe_live_guc_g2g_kunit_allmem =============== [13:19:28] ========== [SKIPPED] xe_live_guc_g2g_kunit_allmem ========== [13:19:28] =================== [SKIPPED] xe_guc_g2g =================== [13:19:28] =================== xe_mocs (2 subtests) =================== [13:19:28] ================ xe_live_mocs_kernel_kunit ================ [13:19:28] =========== [SKIPPED] xe_live_mocs_kernel_kunit ============ [13:19:28] ================ xe_live_mocs_reset_kunit ================= [13:19:28] ============ [SKIPPED] xe_live_mocs_reset_kunit ============ [13:19:28] ==================== [SKIPPED] xe_mocs ===================== [13:19:28] ================= xe_migrate (2 subtests) ================== [13:19:28] ================= xe_migrate_sanity_kunit ================= [13:19:28] ============ [SKIPPED] xe_migrate_sanity_kunit ============= [13:19:28] ================== xe_validate_ccs_kunit ================== [13:19:28] ============= [SKIPPED] xe_validate_ccs_kunit ============== [13:19:28] =================== [SKIPPED] xe_migrate =================== [13:19:28] ================== xe_dma_buf (1 subtest) ================== [13:19:28] ==================== xe_dma_buf_kunit ===================== [13:19:28] ================ [SKIPPED] xe_dma_buf_kunit ================ [13:19:28] =================== [SKIPPED] xe_dma_buf =================== [13:19:28] ================= xe_bo_shrink (1 subtest) ================= [13:19:28] =================== xe_bo_shrink_kunit ==================== [13:19:28] =============== [SKIPPED] xe_bo_shrink_kunit =============== [13:19:28] ================== [SKIPPED] xe_bo_shrink ================== [13:19:28] ==================== xe_bo (2 subtests) ==================== [13:19:28] ================== xe_ccs_migrate_kunit =================== [13:19:28] ============== [SKIPPED] xe_ccs_migrate_kunit ============== [13:19:28] ==================== xe_bo_evict_kunit ==================== [13:19:28] =============== [SKIPPED] xe_bo_evict_kunit ================ [13:19:28] ===================== [SKIPPED] xe_bo ====================== [13:19:28] ==================== args (13 subtests) ==================== [13:19:28] [PASSED] count_args_test [13:19:28] [PASSED] call_args_example [13:19:28] [PASSED] call_args_test [13:19:28] [PASSED] drop_first_arg_example [13:19:28] [PASSED] drop_first_arg_test [13:19:28] [PASSED] first_arg_example [13:19:28] [PASSED] first_arg_test [13:19:28] [PASSED] last_arg_example [13:19:28] [PASSED] last_arg_test [13:19:28] [PASSED] pick_arg_example [13:19:28] [PASSED] if_args_example [13:19:28] [PASSED] if_args_test [13:19:28] [PASSED] sep_comma_example [13:19:28] ====================== [PASSED] args ======================= [13:19:28] =================== xe_pci (3 subtests) ==================== [13:19:28] ==================== check_graphics_ip ==================== [13:19:28] [PASSED] 12.00 Xe_LP [13:19:28] [PASSED] 12.10 Xe_LP+ [13:19:28] [PASSED] 12.55 Xe_HPG [13:19:28] [PASSED] 12.60 Xe_HPC [13:19:28] [PASSED] 12.70 Xe_LPG [13:19:28] [PASSED] 12.71 Xe_LPG [13:19:28] [PASSED] 12.74 Xe_LPG+ [13:19:28] [PASSED] 20.01 Xe2_HPG [13:19:28] [PASSED] 20.02 Xe2_HPG [13:19:28] [PASSED] 20.04 Xe2_LPG [13:19:28] [PASSED] 30.00 Xe3_LPG [13:19:28] [PASSED] 30.01 Xe3_LPG [13:19:28] [PASSED] 30.03 Xe3_LPG [13:19:28] [PASSED] 30.04 Xe3_LPG [13:19:28] [PASSED] 30.05 Xe3_LPG [13:19:28] [PASSED] 35.10 Xe3p_LPG [13:19:28] [PASSED] 35.11 Xe3p_XPC [13:19:28] ================ [PASSED] check_graphics_ip ================ [13:19:28] ===================== check_media_ip ====================== [13:19:28] [PASSED] 12.00 Xe_M [13:19:28] [PASSED] 12.55 Xe_HPM [13:19:28] [PASSED] 13.00 Xe_LPM+ [13:19:28] [PASSED] 13.01 Xe2_HPM [13:19:28] [PASSED] 20.00 Xe2_LPM [13:19:28] [PASSED] 30.00 Xe3_LPM [13:19:28] [PASSED] 30.02 Xe3_LPM [13:19:28] [PASSED] 35.00 Xe3p_LPM [13:19:28] [PASSED] 35.03 Xe3p_HPM [13:19:28] ================= [PASSED] check_media_ip ================== [13:19:28] =================== check_platform_desc =================== [13:19:28] [PASSED] 0x9A60 (TIGERLAKE) [13:19:28] [PASSED] 0x9A68 (TIGERLAKE) [13:19:28] [PASSED] 0x9A70 (TIGERLAKE) [13:19:28] [PASSED] 0x9A40 (TIGERLAKE) [13:19:28] [PASSED] 0x9A49 (TIGERLAKE) [13:19:28] [PASSED] 0x9A59 (TIGERLAKE) [13:19:28] [PASSED] 0x9A78 (TIGERLAKE) [13:19:28] [PASSED] 0x9AC0 (TIGERLAKE) [13:19:28] [PASSED] 0x9AC9 (TIGERLAKE) [13:19:28] [PASSED] 0x9AD9 (TIGERLAKE) [13:19:28] [PASSED] 0x9AF8 (TIGERLAKE) [13:19:28] [PASSED] 0x4C80 (ROCKETLAKE) [13:19:28] [PASSED] 0x4C8A (ROCKETLAKE) [13:19:28] [PASSED] 0x4C8B (ROCKETLAKE) [13:19:28] [PASSED] 0x4C8C (ROCKETLAKE) [13:19:28] [PASSED] 0x4C90 (ROCKETLAKE) [13:19:28] [PASSED] 0x4C9A (ROCKETLAKE) [13:19:28] [PASSED] 0x4680 (ALDERLAKE_S) [13:19:28] [PASSED] 0x4682 (ALDERLAKE_S) [13:19:28] [PASSED] 0x4688 (ALDERLAKE_S) [13:19:28] [PASSED] 0x468A (ALDERLAKE_S) [13:19:28] [PASSED] 0x468B (ALDERLAKE_S) [13:19:28] [PASSED] 0x4690 (ALDERLAKE_S) [13:19:28] [PASSED] 0x4692 (ALDERLAKE_S) [13:19:28] [PASSED] 0x4693 (ALDERLAKE_S) [13:19:28] [PASSED] 0x46A0 (ALDERLAKE_P) [13:19:28] [PASSED] 0x46A1 (ALDERLAKE_P) [13:19:28] [PASSED] 0x46A2 (ALDERLAKE_P) [13:19:28] [PASSED] 0x46A3 (ALDERLAKE_P) [13:19:28] [PASSED] 0x46A6 (ALDERLAKE_P) [13:19:28] [PASSED] 0x46A8 (ALDERLAKE_P) [13:19:28] [PASSED] 0x46AA (ALDERLAKE_P) [13:19:28] [PASSED] 0x462A (ALDERLAKE_P) [13:19:28] [PASSED] 0x4626 (ALDERLAKE_P) [13:19:28] [PASSED] 0x4628 (ALDERLAKE_P) [13:19:28] [PASSED] 0x46B0 (ALDERLAKE_P) [13:19:28] [PASSED] 0x46B1 (ALDERLAKE_P) [13:19:28] [PASSED] 0x46B2 (ALDERLAKE_P) [13:19:28] [PASSED] 0x46B3 (ALDERLAKE_P) [13:19:28] [PASSED] 0x46C0 (ALDERLAKE_P) [13:19:28] [PASSED] 0x46C1 (ALDERLAKE_P) [13:19:28] [PASSED] 0x46C2 (ALDERLAKE_P) [13:19:28] [PASSED] 0x46C3 (ALDERLAKE_P) [13:19:28] [PASSED] 0x46D0 (ALDERLAKE_N) [13:19:28] [PASSED] 0x46D1 (ALDERLAKE_N) [13:19:28] [PASSED] 0x46D2 (ALDERLAKE_N) [13:19:28] [PASSED] 0x46D3 (ALDERLAKE_N) [13:19:28] [PASSED] 0x46D4 (ALDERLAKE_N) [13:19:28] [PASSED] 0xA721 (ALDERLAKE_P) [13:19:28] [PASSED] 0xA7A1 (ALDERLAKE_P) [13:19:28] [PASSED] 0xA7A9 (ALDERLAKE_P) [13:19:28] [PASSED] 0xA7AC (ALDERLAKE_P) [13:19:28] [PASSED] 0xA7AD (ALDERLAKE_P) [13:19:28] [PASSED] 0xA720 (ALDERLAKE_P) [13:19:28] [PASSED] 0xA7A0 (ALDERLAKE_P) [13:19:28] [PASSED] 0xA7A8 (ALDERLAKE_P) [13:19:28] [PASSED] 0xA7AA (ALDERLAKE_P) [13:19:28] [PASSED] 0xA7AB (ALDERLAKE_P) [13:19:28] [PASSED] 0xA780 (ALDERLAKE_S) [13:19:28] [PASSED] 0xA781 (ALDERLAKE_S) [13:19:28] [PASSED] 0xA782 (ALDERLAKE_S) [13:19:28] [PASSED] 0xA783 (ALDERLAKE_S) [13:19:28] [PASSED] 0xA788 (ALDERLAKE_S) [13:19:28] [PASSED] 0xA789 (ALDERLAKE_S) [13:19:28] [PASSED] 0xA78A (ALDERLAKE_S) [13:19:28] [PASSED] 0xA78B (ALDERLAKE_S) [13:19:28] [PASSED] 0x4905 (DG1) [13:19:28] [PASSED] 0x4906 (DG1) [13:19:28] [PASSED] 0x4907 (DG1) [13:19:28] [PASSED] 0x4908 (DG1) [13:19:28] [PASSED] 0x4909 (DG1) [13:19:28] [PASSED] 0x56C0 (DG2) [13:19:28] [PASSED] 0x56C2 (DG2) [13:19:28] [PASSED] 0x56C1 (DG2) [13:19:28] [PASSED] 0x7D51 (METEORLAKE) [13:19:28] [PASSED] 0x7DD1 (METEORLAKE) [13:19:28] [PASSED] 0x7D41 (METEORLAKE) [13:19:28] [PASSED] 0x7D67 (METEORLAKE) [13:19:28] [PASSED] 0xB640 (METEORLAKE) [13:19:28] [PASSED] 0x56A0 (DG2) [13:19:28] [PASSED] 0x56A1 (DG2) [13:19:28] [PASSED] 0x56A2 (DG2) [13:19:28] [PASSED] 0x56BE (DG2) [13:19:28] [PASSED] 0x56BF (DG2) [13:19:28] [PASSED] 0x5690 (DG2) [13:19:28] [PASSED] 0x5691 (DG2) [13:19:28] [PASSED] 0x5692 (DG2) [13:19:28] [PASSED] 0x56A5 (DG2) [13:19:28] [PASSED] 0x56A6 (DG2) [13:19:28] [PASSED] 0x56B0 (DG2) [13:19:28] [PASSED] 0x56B1 (DG2) [13:19:28] [PASSED] 0x56BA (DG2) [13:19:28] [PASSED] 0x56BB (DG2) [13:19:28] [PASSED] 0x56BC (DG2) [13:19:28] [PASSED] 0x56BD (DG2) [13:19:28] [PASSED] 0x5693 (DG2) [13:19:28] [PASSED] 0x5694 (DG2) [13:19:28] [PASSED] 0x5695 (DG2) [13:19:28] [PASSED] 0x56A3 (DG2) [13:19:28] [PASSED] 0x56A4 (DG2) [13:19:28] [PASSED] 0x56B2 (DG2) [13:19:28] [PASSED] 0x56B3 (DG2) [13:19:28] [PASSED] 0x5696 (DG2) [13:19:28] [PASSED] 0x5697 (DG2) [13:19:28] [PASSED] 0xB69 (PVC) [13:19:28] [PASSED] 0xB6E (PVC) [13:19:28] [PASSED] 0xBD4 (PVC) [13:19:28] [PASSED] 0xBD5 (PVC) [13:19:28] [PASSED] 0xBD6 (PVC) [13:19:28] [PASSED] 0xBD7 (PVC) [13:19:28] [PASSED] 0xBD8 (PVC) [13:19:28] [PASSED] 0xBD9 (PVC) [13:19:28] [PASSED] 0xBDA (PVC) [13:19:28] [PASSED] 0xBDB (PVC) [13:19:28] [PASSED] 0xBE0 (PVC) [13:19:28] [PASSED] 0xBE1 (PVC) [13:19:28] [PASSED] 0xBE5 (PVC) [13:19:28] [PASSED] 0x7D40 (METEORLAKE) [13:19:28] [PASSED] 0x7D45 (METEORLAKE) [13:19:28] [PASSED] 0x7D55 (METEORLAKE) [13:19:28] [PASSED] 0x7D60 (METEORLAKE) [13:19:28] [PASSED] 0x7DD5 (METEORLAKE) [13:19:28] [PASSED] 0x6420 (LUNARLAKE) [13:19:28] [PASSED] 0x64A0 (LUNARLAKE) [13:19:28] [PASSED] 0x64B0 (LUNARLAKE) [13:19:28] [PASSED] 0xE202 (BATTLEMAGE) [13:19:28] [PASSED] 0xE209 (BATTLEMAGE) [13:19:28] [PASSED] 0xE20B (BATTLEMAGE) [13:19:28] [PASSED] 0xE20C (BATTLEMAGE) [13:19:28] [PASSED] 0xE20D (BATTLEMAGE) [13:19:28] [PASSED] 0xE210 (BATTLEMAGE) [13:19:28] [PASSED] 0xE211 (BATTLEMAGE) [13:19:28] [PASSED] 0xE212 (BATTLEMAGE) [13:19:28] [PASSED] 0xE216 (BATTLEMAGE) [13:19:28] [PASSED] 0xE220 (BATTLEMAGE) [13:19:28] [PASSED] 0xE221 (BATTLEMAGE) [13:19:28] [PASSED] 0xE222 (BATTLEMAGE) [13:19:28] [PASSED] 0xE223 (BATTLEMAGE) [13:19:28] [PASSED] 0xB080 (PANTHERLAKE) [13:19:28] [PASSED] 0xB081 (PANTHERLAKE) [13:19:28] [PASSED] 0xB082 (PANTHERLAKE) [13:19:28] [PASSED] 0xB083 (PANTHERLAKE) [13:19:28] [PASSED] 0xB084 (PANTHERLAKE) [13:19:28] [PASSED] 0xB085 (PANTHERLAKE) [13:19:28] [PASSED] 0xB086 (PANTHERLAKE) [13:19:28] [PASSED] 0xB087 (PANTHERLAKE) [13:19:28] [PASSED] 0xB08F (PANTHERLAKE) [13:19:28] [PASSED] 0xB090 (PANTHERLAKE) [13:19:28] [PASSED] 0xB0A0 (PANTHERLAKE) [13:19:28] [PASSED] 0xB0B0 (PANTHERLAKE) [13:19:28] [PASSED] 0xFD80 (PANTHERLAKE) [13:19:28] [PASSED] 0xFD81 (PANTHERLAKE) [13:19:28] [PASSED] 0xD740 (NOVALAKE_S) [13:19:28] [PASSED] 0xD741 (NOVALAKE_S) [13:19:28] [PASSED] 0xD742 (NOVALAKE_S) [13:19:28] [PASSED] 0xD743 (NOVALAKE_S) [13:19:28] [PASSED] 0xD745 (NOVALAKE_S) [13:19:28] [PASSED] 0xD74A (NOVALAKE_S) [13:19:28] [PASSED] 0xD74B (NOVALAKE_S) [13:19:28] [PASSED] 0x674C (CRESCENTISLAND) [13:19:28] [PASSED] 0x674D (CRESCENTISLAND) [13:19:28] [PASSED] 0x674E (CRESCENTISLAND) [13:19:28] [PASSED] 0x674F (CRESCENTISLAND) [13:19:28] [PASSED] 0x6750 (CRESCENTISLAND) [13:19:28] [PASSED] 0xD750 (NOVALAKE_P) [13:19:28] [PASSED] 0xD751 (NOVALAKE_P) [13:19:28] [PASSED] 0xD752 (NOVALAKE_P) [13:19:28] [PASSED] 0xD753 (NOVALAKE_P) [13:19:28] [PASSED] 0xD754 (NOVALAKE_P) [13:19:28] [PASSED] 0xD755 (NOVALAKE_P) [13:19:28] [PASSED] 0xD756 (NOVALAKE_P) [13:19:28] [PASSED] 0xD757 (NOVALAKE_P) [13:19:28] [PASSED] 0xD75F (NOVALAKE_P) [13:19:28] =============== [PASSED] check_platform_desc =============== [13:19:28] ===================== [PASSED] xe_pci ====================== [13:19:28] ============= xe_rtp_tables_test (5 subtests) ============== [13:19:28] ================== xe_rtp_table_gt_test =================== [13:19:28] [PASSED] gt_was/14011060649 [13:19:28] [PASSED] gt_was/14011059788 [13:19:28] [PASSED] gt_was/14015795083 [13:19:28] [PASSED] gt_was/16021867713 [13:19:28] [PASSED] gt_was/14019449301 [13:19:28] [PASSED] gt_was/16028005424 [13:19:28] [PASSED] gt_was/14026578760 [13:19:28] [PASSED] gt_was/1409420604 [13:19:28] [PASSED] gt_was/1408615072 [13:19:28] [PASSED] gt_was/22010523718 [13:19:28] [PASSED] gt_was/14011006942 [13:19:28] [PASSED] gt_was/14014830051 [13:19:28] [PASSED] gt_was/18018781329 [13:19:28] [PASSED] gt_was/1509235366 [13:19:28] [PASSED] gt_was/18018781329 [13:19:28] [PASSED] gt_was/16016694945 [13:19:28] [PASSED] gt_was/14018575942 [13:19:28] [PASSED] gt_was/22016670082 [13:19:28] [PASSED] gt_was/22016670082 [13:19:28] [PASSED] gt_was/14017421178 [13:19:28] [PASSED] gt_was/16025250150 [13:19:28] [PASSED] gt_was/14021871409 [13:19:28] [PASSED] gt_was/16021865536 [13:19:28] [PASSED] gt_was/14021486841 [13:19:28] [PASSED] gt_was/14025160223 [13:19:28] [PASSED] gt_was/14026144927, 16029437861, 14026127056 [13:19:28] [PASSED] gt_was/14025635424 [13:19:28] [PASSED] gt_was/16028005424 [13:19:28] ============== [PASSED] xe_rtp_table_gt_test =============== [13:19:28] ================== xe_rtp_table_gt_test =================== [13:19:28] [PASSED] gt_tunings/Tuning: Blend Fill Caching Optimization Disable [13:19:28] [PASSED] gt_tunings/Tuning: 32B Access Enable [13:19:28] [PASSED] gt_tunings/Tuning: L3 cache [13:19:28] [PASSED] gt_tunings/Tuning: L3 cache - media [13:19:28] [PASSED] gt_tunings/Tuning: Compression Overfetch [13:19:28] [PASSED] gt_tunings/Tuning: Compression Overfetch - media [13:19:28] [PASSED] gt_tunings/Tuning: Enable compressible partial write overfetch in L3 [13:19:28] [PASSED] gt_tunings/Tuning: Enable compressible partial write overfetch in L3 - media [13:19:28] [PASSED] gt_tunings/Tuning: L2 Overfetch Compressible Only [13:19:28] [PASSED] gt_tunings/Tuning: L2 Overfetch Compressible Only - media [13:19:28] [PASSED] gt_tunings/Tuning: Stateless compression control [13:19:28] [PASSED] gt_tunings/Tuning: Stateless compression control - media [13:19:28] [PASSED] gt_tunings/Tuning: L3 RW flush all Cache [13:19:28] [PASSED] gt_tunings/Tuning: L3 RW flush all cache - media [13:19:28] [PASSED] gt_tunings/Tuning: Set STLB Bank Hash Mode to 4KB [13:19:28] ============== [PASSED] xe_rtp_table_gt_test =============== [13:19:28] ================== xe_rtp_table_oob_test ================== [13:19:28] [PASSED] oob_was/1607983814 [13:19:28] [PASSED] oob_was/16010904313 [13:19:28] [PASSED] oob_was/18022495364 [13:19:28] [PASSED] oob_was/22012773006 [13:19:28] [PASSED] oob_was/14014475959 [13:19:28] [PASSED] oob_was/22011391025 [13:19:28] [PASSED] oob_was/22012727170 [13:19:28] [PASSED] oob_was/22012727685 [13:19:28] [PASSED] oob_was/22016596838 [13:19:28] [PASSED] oob_was/18020744125 [13:19:28] [PASSED] oob_was/1409600907 [13:19:28] [PASSED] oob_was/22014953428 [13:19:28] [PASSED] oob_was/16017236439 [13:19:28] [PASSED] oob_was/14019821291 [13:19:28] [PASSED] oob_was/14015076503 [13:19:28] [PASSED] oob_was/14018913170 [13:19:28] [PASSED] oob_was/14018094691 [13:19:28] [PASSED] oob_was/18024947630 [13:19:28] [PASSED] oob_was/16022287689 [13:19:28] [PASSED] oob_was/13011645652 [13:19:28] [PASSED] oob_was/14022293748 [13:19:28] [PASSED] oob_was/22019794406 [13:19:28] [PASSED] oob_was/22019338487 [13:19:28] [PASSED] oob_was/16023588340 [13:19:28] [PASSED] oob_was/14019789679 [13:19:28] [PASSED] oob_was/14022866841 [13:19:28] [PASSED] oob_was/16021333562 [13:19:28] [PASSED] oob_was/14016712196 [13:19:28] [PASSED] oob_was/14015568240 [13:19:28] [PASSED] oob_was/18013179988 [13:19:28] [PASSED] oob_was/1508761755 [13:19:28] [PASSED] oob_was/16023105232 [13:19:28] [PASSED] oob_was/16026508708 [13:19:28] [PASSED] oob_was/14020001231 [13:19:28] [PASSED] oob_was/16023683509 [13:19:28] [PASSED] oob_was/14025515070 [13:19:28] [PASSED] oob_was/15015404425_disable [13:19:28] [PASSED] oob_was/16026007364 [13:19:28] [PASSED] oob_was/14020316580 [13:19:28] [PASSED] oob_was/14025883347 [13:19:28] [PASSED] oob_was/16029380221 [13:19:28] ============== [PASSED] xe_rtp_table_oob_test ============== [13:19:28] ================ xe_rtp_table_dev_oob_test ================ [13:19:28] [PASSED] device_oob_was/22010954014 [13:19:28] [PASSED] device_oob_was/15015404425 [13:19:28] [PASSED] device_oob_was/22019338487_display [13:19:28] [PASSED] device_oob_was/14022085890 [13:19:28] [PASSED] device_oob_was/14026539277 [13:19:28] [PASSED] device_oob_was/14026633728 [13:19:28] [PASSED] device_oob_was/14026746987 [13:19:28] [PASSED] device_oob_was/14026779378 [13:19:28] ============ [PASSED] xe_rtp_table_dev_oob_test ============ [13:19:28] ========== xe_rtp_table_missing_upper_bound_test ========== [13:19:28] [PASSED] register_whitelist/WaAllowPMDepthAndInvocationCountAccessFromUMD, 1408556865 [13:19:28] [PASSED] register_whitelist/1508744258, 14012131227, 1808121037 [13:19:28] [PASSED] register_whitelist/1806527549 [13:19:28] [PASSED] register_whitelist/allow_read_ctx_timestamp [13:19:28] [PASSED] register_whitelist/allow_read_queue_timestamp [13:19:28] [PASSED] register_whitelist/16014440446 [13:19:28] [PASSED] register_whitelist/16017236439 [13:19:28] [PASSED] register_whitelist/16020183090 [13:19:28] [PASSED] register_whitelist/14024997852 [13:19:28] [PASSED] register_whitelist/14024997852 [13:19:28] ====== [PASSED] xe_rtp_table_missing_upper_bound_test ====== [13:19:28] =============== [PASSED] xe_rtp_tables_test ================ [13:19:28] =================== xe_rtp (3 subtests) ==================== [13:19:28] =================== xe_rtp_rules_tests ==================== [13:19:28] [PASSED] no [13:19:28] [PASSED] yes [13:19:28] [PASSED] no-and-no [13:19:28] [PASSED] no-and-yes [13:19:28] [PASSED] yes-and-no [13:19:28] [PASSED] yes-and-yes [13:19:28] [PASSED] no-or-no [13:19:28] [PASSED] no-or-yes [13:19:28] [PASSED] yes-or-no [13:19:28] [PASSED] yes-or-yes [13:19:28] [PASSED] no-yes-or-yes-no [13:19:28] [PASSED] no-yes-or-yes-yes [13:19:28] [PASSED] yes-yes-or-no-yes [13:19:28] [PASSED] yes-yes-or-yes-yes [13:19:28] [PASSED] no-no-or-yes-or-no [13:19:28] [PASSED] or [13:19:28] [PASSED] or-yes [13:19:28] [PASSED] or-no [13:19:28] [PASSED] yes-or [13:19:28] [PASSED] no-or [13:19:28] [PASSED] no-or-or-yes [13:19:28] [PASSED] yes-or-or-no [13:19:28] [PASSED] no-or-or-no [13:19:28] [PASSED] missing-context-engine-class [13:19:28] [PASSED] missing-context-engine-class-or-yes [13:19:28] [PASSED] missing-context-engine-class-or-or-yes [13:19:28] =============== [PASSED] xe_rtp_rules_tests ================ [13:19:28] =============== xe_rtp_process_to_sr_tests ================ [13:19:28] [PASSED] coalesce-same-reg [13:19:28] [PASSED] coalesce-same-reg-literal-and-func [13:19:28] [PASSED] no-match-no-add [13:19:28] [PASSED] two-regs-two-entries [13:19:28] [PASSED] clr-one-set-other [13:19:28] [PASSED] set-field [13:19:28] [PASSED] conflict-duplicate [13:19:28] [PASSED] conflict-not-disjoint [13:19:28] [PASSED] conflict-not-disjoint-literal-and-func [13:19:28] [PASSED] conflict-reg-type [13:19:28] [PASSED] bad-mcr-reg-forced-to-regular [13:19:28] [PASSED] bad-regular-reg-forced-to-mcr [13:19:28] =========== [PASSED] xe_rtp_process_to_sr_tests ============ [13:19:28] ================== xe_rtp_process_tests =================== [13:19:28] [PASSED] active1 [13:19:28] [PASSED] active2 [13:19:28] [PASSED] active-inactive [13:19:28] [PASSED] inactive-active [13:19:28] [PASSED] inactive-active-inactive [13:19:28] [PASSED] inactive-inactive-inactive [13:19:28] ============== [PASSED] xe_rtp_process_tests =============== [13:19:28] ===================== [PASSED] xe_rtp ====================== [13:19:28] ==================== xe_wa (1 subtest) ===================== [13:19:28] ======================== xe_wa_gt ========================= [13:19:28] [PASSED] TIGERLAKE B0 [13:19:28] [PASSED] DG1 A0 [13:19:28] [PASSED] DG1 B0 [13:19:28] [PASSED] ALDERLAKE_S A0 [13:19:28] [PASSED] ALDERLAKE_S B0 [13:19:28] [PASSED] ALDERLAKE_S C0 [13:19:28] [PASSED] ALDERLAKE_S D0 [13:19:28] [PASSED] ALDERLAKE_P A0 [13:19:28] [PASSED] ALDERLAKE_P B0 [13:19:28] [PASSED] ALDERLAKE_P C0 [13:19:28] [PASSED] ALDERLAKE_S RPLS D0 [13:19:28] [PASSED] ALDERLAKE_P RPLU E0 [13:19:28] [PASSED] DG2 G10 C0 [13:19:28] [PASSED] DG2 G11 B1 [13:19:28] [PASSED] DG2 G12 A1 [13:19:28] [PASSED] METEORLAKE 12.70(Xe_LPG) A0 13.00(Xe_LPM+) A0 [13:19:28] [PASSED] METEORLAKE 12.71(Xe_LPG) A0 13.00(Xe_LPM+) A0 [13:19:28] [PASSED] METEORLAKE 12.74(Xe_LPG+) A0 13.00(Xe_LPM+) A0 [13:19:28] [PASSED] LUNARLAKE 20.04(Xe2_LPG) A0 20.00(Xe2_LPM) A0 [13:19:28] [PASSED] LUNARLAKE 20.04(Xe2_LPG) B0 20.00(Xe2_LPM) A0 [13:19:28] [PASSED] BATTLEMAGE 20.01(Xe2_HPG) A0 13.01(Xe2_HPM) A1 [13:19:28] [PASSED] PANTHERLAKE 30.00(Xe3_LPG) A0 30.00(Xe3_LPM) A0 [13:19:28] ==================== [PASSED] xe_wa_gt ===================== [13:19:28] ====================== [PASSED] xe_wa ====================== [13:19:28] ============================================================ [13:19:28] Testing complete. Ran 729 tests: passed: 711, skipped: 18 [13:19:28] Elapsed time: 36.873s total, 4.432s configuring, 31.776s building, 0.646s running
+ /kernel/tools/testing/kunit/kunit.py run --kunitconfig /kernel/drivers/gpu/drm/tests/.kunitconfig [13:19:28] Configuring KUnit Kernel ...
Regenerating .config ...
Populating config with:
$ make ARCH=um O=.kunit olddefconfig [13:19:30] Building KUnit Kernel ... Populating config with: $ make ARCH=um O=.kunit olddefconfig Building with: $ make all compile_commands.json scripts_gdb ARCH=um O=.kunit --jobs=48 [13:19:55] Starting KUnit Kernel (1/1)... [13:19:55] ============================================================ Running tests with: $ .kunit/linux kunit.enable=1 mem=1G console=tty kunit_shutdown=halt [13:19:55] ============ drm_test_pick_cmdline (2 subtests) ============ [13:19:55] [PASSED] drm_test_pick_cmdline_res_1920_1080_60 [13:19:55] =============== drm_test_pick_cmdline_named =============== [13:19:55] [PASSED] NTSC [13:19:55] [PASSED] NTSC-J [13:19:55] [PASSED] PAL [13:19:55] [PASSED] PAL-M [13:19:55] =========== [PASSED] drm_test_pick_cmdline_named =========== [13:19:55] ============== [PASSED] drm_test_pick_cmdline ============== [13:19:55] == drm_test_atomic_get_connector_for_encoder (1 subtest) === [13:19:55] [PASSED] drm_test_drm_atomic_get_connector_for_encoder [13:19:55] ==== [PASSED] drm_test_atomic_get_connector_for_encoder ==== [13:19:55] =========== drm_validate_clone_mode (2 subtests) =========== [13:19:55] ============== drm_test_check_in_clone_mode =============== [13:19:55] [PASSED] in_clone_mode [13:19:55] [PASSED] not_in_clone_mode [13:19:55] ========== [PASSED] drm_test_check_in_clone_mode =========== [13:19:55] =============== drm_test_check_valid_clones =============== [13:19:55] [PASSED] not_in_clone_mode [13:19:55] [PASSED] valid_clone [13:19:55] [PASSED] invalid_clone [13:19:55] =========== [PASSED] drm_test_check_valid_clones =========== [13:19:55] ============= [PASSED] drm_validate_clone_mode ============= [13:19:55] ============= drm_validate_modeset (1 subtest) ============= [13:19:55] [PASSED] drm_test_check_connector_changed_modeset [13:19:55] ============== [PASSED] drm_validate_modeset =============== [13:19:55] ====== drm_test_bridge_get_current_state (2 subtests) ====== [13:19:55] [PASSED] drm_test_drm_bridge_get_current_state_atomic [13:19:55] [PASSED] drm_test_drm_bridge_get_current_state_legacy [13:19:55] ======== [PASSED] drm_test_bridge_get_current_state ======== [13:19:55] ====== drm_test_bridge_helper_reset_crtc (4 subtests) ====== [13:19:55] [PASSED] drm_test_drm_bridge_helper_reset_crtc_atomic [13:19:55] [PASSED] drm_test_drm_bridge_helper_reset_crtc_atomic_disabled [13:19:55] [PASSED] drm_test_drm_bridge_helper_reset_crtc_legacy [13:19:55] [PASSED] drm_test_drm_bridge_helper_hdmi_output_bus_fmts [13:19:55] ======== [PASSED] drm_test_bridge_helper_reset_crtc ======== [13:19:55] ============== drm_bridge_alloc (2 subtests) =============== [13:19:55] [PASSED] drm_test_drm_bridge_alloc_basic [13:19:55] [PASSED] drm_test_drm_bridge_alloc_get_put [13:19:55] ================ [PASSED] drm_bridge_alloc ================= [13:19:55] ============= drm_bridge_bus_fmt (5 subtests) ============== [13:19:55] [PASSED] drm_test_bridge_rgb_yuv_rgb [13:19:55] [PASSED] drm_test_bridge_must_convert_to_yuv444 [13:19:55] [PASSED] drm_test_bridge_hdmi_auto_rgb [13:19:55] [PASSED] drm_test_bridge_auto_first [13:19:55] [PASSED] drm_test_bridge_rgb_yuv_no_path [13:19:55] =============== [PASSED] drm_bridge_bus_fmt ================ [13:19:55] ============= drm_cmdline_parser (40 subtests) ============= [13:19:55] [PASSED] drm_test_cmdline_force_d_only [13:19:55] [PASSED] drm_test_cmdline_force_D_only_dvi [13:19:55] [PASSED] drm_test_cmdline_force_D_only_hdmi [13:19:55] [PASSED] drm_test_cmdline_force_D_only_not_digital [13:19:55] [PASSED] drm_test_cmdline_force_e_only [13:19:55] [PASSED] drm_test_cmdline_res [13:19:55] [PASSED] drm_test_cmdline_res_vesa [13:19:55] [PASSED] drm_test_cmdline_res_vesa_rblank [13:19:55] [PASSED] drm_test_cmdline_res_rblank [13:19:55] [PASSED] drm_test_cmdline_res_bpp [13:19:55] [PASSED] drm_test_cmdline_res_refresh [13:19:55] [PASSED] drm_test_cmdline_res_bpp_refresh [13:19:55] [PASSED] drm_test_cmdline_res_bpp_refresh_interlaced [13:19:55] [PASSED] drm_test_cmdline_res_bpp_refresh_margins [13:19:55] [PASSED] drm_test_cmdline_res_bpp_refresh_force_off [13:19:55] [PASSED] drm_test_cmdline_res_bpp_refresh_force_on [13:19:55] [PASSED] drm_test_cmdline_res_bpp_refresh_force_on_analog [13:19:55] [PASSED] drm_test_cmdline_res_bpp_refresh_force_on_digital [13:19:55] [PASSED] drm_test_cmdline_res_bpp_refresh_interlaced_margins_force_on [13:19:55] [PASSED] drm_test_cmdline_res_margins_force_on [13:19:55] [PASSED] drm_test_cmdline_res_vesa_margins [13:19:55] [PASSED] drm_test_cmdline_name [13:19:55] [PASSED] drm_test_cmdline_name_bpp [13:19:55] [PASSED] drm_test_cmdline_name_option [13:19:55] [PASSED] drm_test_cmdline_name_bpp_option [13:19:55] [PASSED] drm_test_cmdline_rotate_0 [13:19:55] [PASSED] drm_test_cmdline_rotate_90 [13:19:55] [PASSED] drm_test_cmdline_rotate_180 [13:19:55] [PASSED] drm_test_cmdline_rotate_270 [13:19:55] [PASSED] drm_test_cmdline_hmirror [13:19:55] [PASSED] drm_test_cmdline_vmirror [13:19:55] [PASSED] drm_test_cmdline_margin_options [13:19:55] [PASSED] drm_test_cmdline_multiple_options [13:19:55] [PASSED] drm_test_cmdline_bpp_extra_and_option [13:19:55] [PASSED] drm_test_cmdline_extra_and_option [13:19:55] [PASSED] drm_test_cmdline_freestanding_options [13:19:55] [PASSED] drm_test_cmdline_freestanding_force_e_and_options [13:19:55] [PASSED] drm_test_cmdline_panel_orientation [13:19:55] ================ drm_test_cmdline_invalid ================= [13:19:55] [PASSED] margin_only [13:19:55] [PASSED] interlace_only [13:19:55] [PASSED] res_missing_x [13:19:55] [PASSED] res_missing_y [13:19:55] [PASSED] res_bad_y [13:19:55] [PASSED] res_missing_y_bpp [13:19:55] [PASSED] res_bad_bpp [13:19:55] [PASSED] res_bad_refresh [13:19:55] [PASSED] res_bpp_refresh_force_on_off [13:19:55] [PASSED] res_invalid_mode [13:19:55] [PASSED] res_bpp_wrong_place_mode [13:19:55] [PASSED] name_bpp_refresh [13:19:55] [PASSED] name_refresh [13:19:55] [PASSED] name_refresh_wrong_mode [13:19:55] [PASSED] name_refresh_invalid_mode [13:19:55] [PASSED] rotate_multiple [13:19:55] [PASSED] rotate_invalid_val [13:19:55] [PASSED] rotate_truncated [13:19:55] [PASSED] invalid_option [13:19:55] [PASSED] invalid_tv_option [13:19:55] [PASSED] truncated_tv_option [13:19:55] ============ [PASSED] drm_test_cmdline_invalid ============= [13:19:55] =============== drm_test_cmdline_tv_options =============== [13:19:55] [PASSED] NTSC [13:19:55] [PASSED] NTSC_443 [13:19:55] [PASSED] NTSC_J [13:19:55] [PASSED] PAL [13:19:55] [PASSED] PAL_M [13:19:55] [PASSED] PAL_N [13:19:55] [PASSED] SECAM [13:19:55] [PASSED] MONO_525 [13:19:55] [PASSED] MONO_625 [13:19:55] =========== [PASSED] drm_test_cmdline_tv_options =========== [13:19:55] =============== [PASSED] drm_cmdline_parser ================ [13:19:55] ========== drmm_connector_hdmi_init (20 subtests) ========== [13:19:55] [PASSED] drm_test_connector_hdmi_init_valid [13:19:55] [PASSED] drm_test_connector_hdmi_init_bpc_8 [13:19:55] [PASSED] drm_test_connector_hdmi_init_bpc_10 [13:19:55] [PASSED] drm_test_connector_hdmi_init_bpc_12 [13:19:55] [PASSED] drm_test_connector_hdmi_init_bpc_invalid [13:19:55] [PASSED] drm_test_connector_hdmi_init_bpc_null [13:19:55] [PASSED] drm_test_connector_hdmi_init_formats_empty [13:19:55] [PASSED] drm_test_connector_hdmi_init_formats_no_rgb [13:19:55] === drm_test_connector_hdmi_init_formats_yuv420_allowed === [13:19:55] [PASSED] supported_formats=0x9 yuv420_allowed=1 [13:19:55] [PASSED] supported_formats=0x9 yuv420_allowed=0 [13:19:55] [PASSED] supported_formats=0x5 yuv420_allowed=1 [13:19:55] [PASSED] supported_formats=0x5 yuv420_allowed=0 [13:19:55] === [PASSED] drm_test_connector_hdmi_init_formats_yuv420_allowed === [13:19:55] [PASSED] drm_test_connector_hdmi_init_null_ddc [13:19:55] [PASSED] drm_test_connector_hdmi_init_null_product [13:19:55] [PASSED] drm_test_connector_hdmi_init_null_vendor [13:19:55] [PASSED] drm_test_connector_hdmi_init_product_length_exact [13:19:55] [PASSED] drm_test_connector_hdmi_init_product_length_too_long [13:19:55] [PASSED] drm_test_connector_hdmi_init_product_valid [13:19:55] [PASSED] drm_test_connector_hdmi_init_vendor_length_exact [13:19:55] [PASSED] drm_test_connector_hdmi_init_vendor_length_too_long [13:19:55] [PASSED] drm_test_connector_hdmi_init_vendor_valid [13:19:55] ========= drm_test_connector_hdmi_init_type_valid ========= [13:19:55] [PASSED] HDMI-A [13:19:55] [PASSED] HDMI-B [13:19:55] ===== [PASSED] drm_test_connector_hdmi_init_type_valid ===== [13:19:55] ======== drm_test_connector_hdmi_init_type_invalid ======== [13:19:55] [PASSED] Unknown [13:19:55] [PASSED] VGA [13:19:55] [PASSED] DVI-I [13:19:55] [PASSED] DVI-D [13:19:55] [PASSED] DVI-A [13:19:55] [PASSED] Composite [13:19:55] [PASSED] SVIDEO [13:19:55] [PASSED] LVDS [13:19:55] [PASSED] Component [13:19:55] [PASSED] DIN [13:19:55] [PASSED] DP [13:19:55] [PASSED] TV [13:19:55] [PASSED] eDP [13:19:55] [PASSED] Virtual [13:19:55] [PASSED] DSI [13:19:55] [PASSED] DPI [13:19:55] [PASSED] Writeback [13:19:55] [PASSED] SPI [13:19:55] [PASSED] USB [13:19:55] ==== [PASSED] drm_test_connector_hdmi_init_type_invalid ==== [13:19:55] ============ [PASSED] drmm_connector_hdmi_init ============= [13:19:55] ============= drmm_connector_init (3 subtests) ============= [13:19:55] [PASSED] drm_test_drmm_connector_init [13:19:55] [PASSED] drm_test_drmm_connector_init_null_ddc [13:19:55] ========= drm_test_drmm_connector_init_type_valid ========= [13:19:55] [PASSED] Unknown [13:19:55] [PASSED] VGA [13:19:55] [PASSED] DVI-I [13:19:55] [PASSED] DVI-D [13:19:55] [PASSED] DVI-A [13:19:55] [PASSED] Composite [13:19:55] [PASSED] SVIDEO [13:19:55] [PASSED] LVDS [13:19:55] [PASSED] Component [13:19:55] [PASSED] DIN [13:19:55] [PASSED] DP [13:19:55] [PASSED] HDMI-A [13:19:55] [PASSED] HDMI-B [13:19:55] [PASSED] TV [13:19:55] [PASSED] eDP [13:19:55] [PASSED] Virtual [13:19:55] [PASSED] DSI [13:19:55] [PASSED] DPI [13:19:55] [PASSED] Writeback [13:19:55] [PASSED] SPI [13:19:55] [PASSED] USB [13:19:55] ===== [PASSED] drm_test_drmm_connector_init_type_valid ===== [13:19:55] =============== [PASSED] drmm_connector_init =============== [13:19:55] ========= drm_connector_dynamic_init (6 subtests) ========== [13:19:55] [PASSED] drm_test_drm_connector_dynamic_init [13:19:55] [PASSED] drm_test_drm_connector_dynamic_init_null_ddc [13:19:55] [PASSED] drm_test_drm_connector_dynamic_init_not_added [13:19:55] [PASSED] drm_test_drm_connector_dynamic_init_properties [13:19:55] ===== drm_test_drm_connector_dynamic_init_type_valid ====== [13:19:55] [PASSED] Unknown [13:19:55] [PASSED] VGA [13:19:55] [PASSED] DVI-I [13:19:55] [PASSED] DVI-D [13:19:55] [PASSED] DVI-A [13:19:55] [PASSED] Composite [13:19:55] [PASSED] SVIDEO [13:19:55] [PASSED] LVDS [13:19:55] [PASSED] Component [13:19:55] [PASSED] DIN [13:19:55] [PASSED] DP [13:19:55] [PASSED] HDMI-A [13:19:55] [PASSED] HDMI-B [13:19:55] [PASSED] TV [13:19:55] [PASSED] eDP [13:19:55] [PASSED] Virtual [13:19:55] [PASSED] DSI [13:19:55] [PASSED] DPI [13:19:55] [PASSED] Writeback [13:19:55] [PASSED] SPI [13:19:55] [PASSED] USB [13:19:55] = [PASSED] drm_test_drm_connector_dynamic_init_type_valid == [13:19:55] ======== drm_test_drm_connector_dynamic_init_name ========= [13:19:55] [PASSED] Unknown [13:19:55] [PASSED] VGA [13:19:55] [PASSED] DVI-I [13:19:55] [PASSED] DVI-D [13:19:55] [PASSED] DVI-A [13:19:55] [PASSED] Composite [13:19:55] [PASSED] SVIDEO [13:19:55] [PASSED] LVDS [13:19:55] [PASSED] Component [13:19:55] [PASSED] DIN [13:19:55] [PASSED] DP [13:19:55] [PASSED] HDMI-A [13:19:55] [PASSED] HDMI-B [13:19:55] [PASSED] TV [13:19:55] [PASSED] eDP [13:19:55] [PASSED] Virtual [13:19:55] [PASSED] DSI [13:19:55] [PASSED] DPI [13:19:55] [PASSED] Writeback [13:19:55] [PASSED] SPI [13:19:55] [PASSED] USB [13:19:55] ==== [PASSED] drm_test_drm_connector_dynamic_init_name ===== [13:19:55] =========== [PASSED] drm_connector_dynamic_init ============ [13:19:55] ==== drm_connector_dynamic_register_early (4 subtests) ===== [13:19:55] [PASSED] drm_test_drm_connector_dynamic_register_early_on_list [13:19:55] [PASSED] drm_test_drm_connector_dynamic_register_early_defer [13:19:55] [PASSED] drm_test_drm_connector_dynamic_register_early_no_init [13:19:55] [PASSED] drm_test_drm_connector_dynamic_register_early_no_mode_object [13:19:55] ====== [PASSED] drm_connector_dynamic_register_early ======= [13:19:55] ======= drm_connector_dynamic_register (7 subtests) ======== [13:19:55] [PASSED] drm_test_drm_connector_dynamic_register_on_list [13:19:55] [PASSED] drm_test_drm_connector_dynamic_register_no_defer [13:19:55] [PASSED] drm_test_drm_connector_dynamic_register_no_init [13:19:55] [PASSED] drm_test_drm_connector_dynamic_register_mode_object [13:19:55] [PASSED] drm_test_drm_connector_dynamic_register_sysfs [13:19:55] [PASSED] drm_test_drm_connector_dynamic_register_sysfs_name [13:19:55] [PASSED] drm_test_drm_connector_dynamic_register_debugfs [13:19:55] ========= [PASSED] drm_connector_dynamic_register ========== [13:19:55] = drm_connector_attach_broadcast_rgb_property (2 subtests) = [13:19:55] [PASSED] drm_test_drm_connector_attach_broadcast_rgb_property [13:19:55] [PASSED] drm_test_drm_connector_attach_broadcast_rgb_property_hdmi_connector [13:19:55] === [PASSED] drm_connector_attach_broadcast_rgb_property === [13:19:55] ========== drm_get_tv_mode_from_name (2 subtests) ========== [13:19:55] ========== drm_test_get_tv_mode_from_name_valid =========== [13:19:55] [PASSED] NTSC [13:19:55] [PASSED] NTSC-443 [13:19:55] [PASSED] NTSC-J [13:19:55] [PASSED] PAL [13:19:55] [PASSED] PAL-M [13:19:55] [PASSED] PAL-N [13:19:55] [PASSED] SECAM [13:19:55] [PASSED] Mono [13:19:55] ====== [PASSED] drm_test_get_tv_mode_from_name_valid ======= [13:19:55] [PASSED] drm_test_get_tv_mode_from_name_truncated [13:19:55] ============ [PASSED] drm_get_tv_mode_from_name ============ [13:19:55] = drm_test_connector_hdmi_compute_mode_clock (12 subtests) = [13:19:55] [PASSED] drm_test_drm_hdmi_compute_mode_clock_rgb [13:19:55] [PASSED] drm_test_drm_hdmi_compute_mode_clock_rgb_10bpc [13:19:55] [PASSED] drm_test_drm_hdmi_compute_mode_clock_rgb_10bpc_vic_1 [13:19:55] [PASSED] drm_test_drm_hdmi_compute_mode_clock_rgb_12bpc [13:19:55] [PASSED] drm_test_drm_hdmi_compute_mode_clock_rgb_12bpc_vic_1 [13:19:55] [PASSED] drm_test_drm_hdmi_compute_mode_clock_rgb_double [13:19:55] = drm_test_connector_hdmi_compute_mode_clock_yuv420_valid = [13:19:55] [PASSED] VIC 96 [13:19:55] [PASSED] VIC 97 [13:19:55] [PASSED] VIC 101 [13:19:55] [PASSED] VIC 102 [13:19:55] [PASSED] VIC 106 [13:19:55] [PASSED] VIC 107 [13:19:55] === [PASSED] drm_test_connector_hdmi_compute_mode_clock_yuv420_valid === [13:19:55] [PASSED] drm_test_connector_hdmi_compute_mode_clock_yuv420_10_bpc [13:19:55] [PASSED] drm_test_connector_hdmi_compute_mode_clock_yuv420_12_bpc [13:19:55] [PASSED] drm_test_connector_hdmi_compute_mode_clock_yuv422_8_bpc [13:19:55] [PASSED] drm_test_connector_hdmi_compute_mode_clock_yuv422_10_bpc [13:19:55] [PASSED] drm_test_connector_hdmi_compute_mode_clock_yuv422_12_bpc [13:19:55] === [PASSED] drm_test_connector_hdmi_compute_mode_clock ==== [13:19:55] == drm_hdmi_connector_get_broadcast_rgb_name (2 subtests) == [13:19:55] === drm_test_drm_hdmi_connector_get_broadcast_rgb_name ==== [13:19:55] [PASSED] Automatic [13:19:55] [PASSED] Full [13:19:55] [PASSED] Limited 16:235 [13:19:55] === [PASSED] drm_test_drm_hdmi_connector_get_broadcast_rgb_name === [13:19:55] [PASSED] drm_test_drm_hdmi_connector_get_broadcast_rgb_name_invalid [13:19:55] ==== [PASSED] drm_hdmi_connector_get_broadcast_rgb_name ==== [13:19:55] == drm_hdmi_connector_get_output_format_name (2 subtests) == [13:19:55] === drm_test_drm_hdmi_connector_get_output_format_name ==== [13:19:55] [PASSED] RGB [13:19:55] [PASSED] YUV 4:2:0 [13:19:55] [PASSED] YUV 4:2:2 [13:19:55] [PASSED] YUV 4:4:4 [13:19:55] === [PASSED] drm_test_drm_hdmi_connector_get_output_format_name === [13:19:55] [PASSED] drm_test_drm_hdmi_connector_get_output_format_name_invalid [13:19:55] ==== [PASSED] drm_hdmi_connector_get_output_format_name ==== [13:19:55] ============= drm_damage_helper (21 subtests) ============== [13:19:55] [PASSED] drm_test_damage_iter_no_damage [13:19:55] [PASSED] drm_test_damage_iter_no_damage_fractional_src [13:19:55] [PASSED] drm_test_damage_iter_no_damage_src_moved [13:19:55] [PASSED] drm_test_damage_iter_no_damage_fractional_src_moved [13:19:55] [PASSED] drm_test_damage_iter_no_damage_not_visible [13:19:55] [PASSED] drm_test_damage_iter_no_damage_no_crtc [13:19:55] [PASSED] drm_test_damage_iter_no_damage_no_fb [13:19:55] [PASSED] drm_test_damage_iter_simple_damage [13:19:55] [PASSED] drm_test_damage_iter_single_damage [13:19:55] [PASSED] drm_test_damage_iter_single_damage_intersect_src [13:19:55] [PASSED] drm_test_damage_iter_single_damage_outside_src [13:19:55] [PASSED] drm_test_damage_iter_single_damage_fractional_src [13:19:55] [PASSED] drm_test_damage_iter_single_damage_intersect_fractional_src [13:19:55] [PASSED] drm_test_damage_iter_single_damage_outside_fractional_src [13:19:55] [PASSED] drm_test_damage_iter_single_damage_src_moved [13:19:55] [PASSED] drm_test_damage_iter_single_damage_fractional_src_moved [13:19:55] [PASSED] drm_test_damage_iter_damage [13:19:55] [PASSED] drm_test_damage_iter_damage_one_intersect [13:19:55] [PASSED] drm_test_damage_iter_damage_one_outside [13:19:55] [PASSED] drm_test_damage_iter_damage_src_moved [13:19:55] [PASSED] drm_test_damage_iter_damage_not_visible [13:19:55] ================ [PASSED] drm_damage_helper ================ [13:19:55] ============== drm_dp_mst_helper (3 subtests) ============== [13:19:55] ============== drm_test_dp_mst_calc_pbn_mode ============== [13:19:55] [PASSED] Clock 154000 BPP 30 DSC disabled [13:19:55] [PASSED] Clock 234000 BPP 30 DSC disabled [13:19:55] [PASSED] Clock 297000 BPP 24 DSC disabled [13:19:55] [PASSED] Clock 332880 BPP 24 DSC enabled [13:19:55] [PASSED] Clock 324540 BPP 24 DSC enabled [13:19:55] ========== [PASSED] drm_test_dp_mst_calc_pbn_mode ========== [13:19:55] ============== drm_test_dp_mst_calc_pbn_div =============== [13:19:55] [PASSED] Link rate 2000000 lane count 4 [13:19:55] [PASSED] Link rate 2000000 lane count 2 [13:19:55] [PASSED] Link rate 2000000 lane count 1 [13:19:55] [PASSED] Link rate 1350000 lane count 4 [13:19:55] [PASSED] Link rate 1350000 lane count 2 [13:19:55] [PASSED] Link rate 1350000 lane count 1 [13:19:55] [PASSED] Link rate 1000000 lane count 4 [13:19:55] [PASSED] Link rate 1000000 lane count 2 [13:19:55] [PASSED] Link rate 1000000 lane count 1 [13:19:55] [PASSED] Link rate 810000 lane count 4 [13:19:55] [PASSED] Link rate 810000 lane count 2 [13:19:55] [PASSED] Link rate 810000 lane count 1 [13:19:55] [PASSED] Link rate 540000 lane count 4 [13:19:55] [PASSED] Link rate 540000 lane count 2 [13:19:55] [PASSED] Link rate 540000 lane count 1 [13:19:55] [PASSED] Link rate 270000 lane count 4 [13:19:55] [PASSED] Link rate 270000 lane count 2 [13:19:55] [PASSED] Link rate 270000 lane count 1 [13:19:55] [PASSED] Link rate 162000 lane count 4 [13:19:55] [PASSED] Link rate 162000 lane count 2 [13:19:55] [PASSED] Link rate 162000 lane count 1 [13:19:55] ========== [PASSED] drm_test_dp_mst_calc_pbn_div =========== [13:19:55] ========= drm_test_dp_mst_sideband_msg_req_decode ========= [13:19:55] [PASSED] DP_ENUM_PATH_RESOURCES with port number [13:19:55] [PASSED] DP_POWER_UP_PHY with port number [13:19:55] [PASSED] DP_POWER_DOWN_PHY with port number [13:19:55] [PASSED] DP_ALLOCATE_PAYLOAD with SDP stream sinks [13:19:55] [PASSED] DP_ALLOCATE_PAYLOAD with port number [13:19:55] [PASSED] DP_ALLOCATE_PAYLOAD with VCPI [13:19:55] [PASSED] DP_ALLOCATE_PAYLOAD with PBN [13:19:55] [PASSED] DP_QUERY_PAYLOAD with port number [13:19:55] [PASSED] DP_QUERY_PAYLOAD with VCPI [13:19:55] [PASSED] DP_REMOTE_DPCD_READ with port number [13:19:55] [PASSED] DP_REMOTE_DPCD_READ with DPCD address [13:19:55] [PASSED] DP_REMOTE_DPCD_READ with max number of bytes [13:19:55] [PASSED] DP_REMOTE_DPCD_WRITE with port number [13:19:55] [PASSED] DP_REMOTE_DPCD_WRITE with DPCD address [13:19:55] [PASSED] DP_REMOTE_DPCD_WRITE with data array [13:19:55] [PASSED] DP_REMOTE_I2C_READ with port number [13:19:55] [PASSED] DP_REMOTE_I2C_READ with I2C device ID [13:19:55] [PASSED] DP_REMOTE_I2C_READ with transactions array [13:19:55] [PASSED] DP_REMOTE_I2C_WRITE with port number [13:19:55] [PASSED] DP_REMOTE_I2C_WRITE with I2C device ID [13:19:55] [PASSED] DP_REMOTE_I2C_WRITE with data array [13:19:55] [PASSED] DP_QUERY_STREAM_ENC_STATUS with stream ID [13:19:55] [PASSED] DP_QUERY_STREAM_ENC_STATUS with client ID [13:19:55] [PASSED] DP_QUERY_STREAM_ENC_STATUS with stream event [13:19:55] [PASSED] DP_QUERY_STREAM_ENC_STATUS with valid stream event [13:19:55] [PASSED] DP_QUERY_STREAM_ENC_STATUS with stream behavior [13:19:55] [PASSED] DP_QUERY_STREAM_ENC_STATUS with a valid stream behavior [13:19:55] ===== [PASSED] drm_test_dp_mst_sideband_msg_req_decode ===== [13:19:55] ================ [PASSED] drm_dp_mst_helper ================ [13:19:55] ================== drm_exec (7 subtests) =================== [13:19:55] [PASSED] sanitycheck [13:19:55] [PASSED] test_lock [13:19:55] [PASSED] test_lock_unlock [13:19:55] [PASSED] test_duplicates [13:19:55] [PASSED] test_prepare [13:19:55] [PASSED] test_prepare_array [13:19:55] [PASSED] test_multiple_loops [13:19:55] ==================== [PASSED] drm_exec ===================== [13:19:55] =========== drm_format_helper_test (17 subtests) =========== [13:19:55] ============== drm_test_fb_xrgb8888_to_gray8 ============== [13:19:55] [PASSED] single_pixel_source_buffer [13:19:55] [PASSED] single_pixel_clip_rectangle [13:19:55] [PASSED] well_known_colors [13:19:55] [PASSED] destination_pitch [13:19:55] ========== [PASSED] drm_test_fb_xrgb8888_to_gray8 ========== [13:19:55] ============= drm_test_fb_xrgb8888_to_rgb332 ============== [13:19:55] [PASSED] single_pixel_source_buffer [13:19:55] [PASSED] single_pixel_clip_rectangle [13:19:55] [PASSED] well_known_colors [13:19:55] [PASSED] destination_pitch [13:19:55] ========= [PASSED] drm_test_fb_xrgb8888_to_rgb332 ========== [13:19:55] ============= drm_test_fb_xrgb8888_to_rgb565 ============== [13:19:55] [PASSED] single_pixel_source_buffer [13:19:55] [PASSED] single_pixel_clip_rectangle [13:19:55] [PASSED] well_known_colors [13:19:55] [PASSED] destination_pitch [13:19:55] ========= [PASSED] drm_test_fb_xrgb8888_to_rgb565 ========== [13:19:55] ============ drm_test_fb_xrgb8888_to_xrgb1555 ============= [13:19:55] [PASSED] single_pixel_source_buffer [13:19:55] [PASSED] single_pixel_clip_rectangle [13:19:55] [PASSED] well_known_colors [13:19:55] [PASSED] destination_pitch [13:19:55] ======== [PASSED] drm_test_fb_xrgb8888_to_xrgb1555 ========= [13:19:55] ============ drm_test_fb_xrgb8888_to_argb1555 ============= [13:19:55] [PASSED] single_pixel_source_buffer [13:19:55] [PASSED] single_pixel_clip_rectangle [13:19:55] [PASSED] well_known_colors [13:19:55] [PASSED] destination_pitch [13:19:55] ======== [PASSED] drm_test_fb_xrgb8888_to_argb1555 ========= [13:19:55] ============ drm_test_fb_xrgb8888_to_rgba5551 ============= [13:19:55] [PASSED] single_pixel_source_buffer [13:19:55] [PASSED] single_pixel_clip_rectangle [13:19:55] [PASSED] well_known_colors [13:19:55] [PASSED] destination_pitch [13:19:55] ======== [PASSED] drm_test_fb_xrgb8888_to_rgba5551 ========= [13:19:55] ============= drm_test_fb_xrgb8888_to_rgb888 ============== [13:19:55] [PASSED] single_pixel_source_buffer [13:19:55] [PASSED] single_pixel_clip_rectangle [13:19:55] [PASSED] well_known_colors [13:19:55] [PASSED] destination_pitch [13:19:55] ========= [PASSED] drm_test_fb_xrgb8888_to_rgb888 ========== [13:19:55] ============= drm_test_fb_xrgb8888_to_bgr888 ============== [13:19:55] [PASSED] single_pixel_source_buffer [13:19:55] [PASSED] single_pixel_clip_rectangle [13:19:55] [PASSED] well_known_colors [13:19:55] [PASSED] destination_pitch [13:19:55] ========= [PASSED] drm_test_fb_xrgb8888_to_bgr888 ========== [13:19:55] ============ drm_test_fb_xrgb8888_to_argb8888 ============= [13:19:55] [PASSED] single_pixel_source_buffer [13:19:55] [PASSED] single_pixel_clip_rectangle [13:19:55] [PASSED] well_known_colors [13:19:55] [PASSED] destination_pitch [13:19:55] ======== [PASSED] drm_test_fb_xrgb8888_to_argb8888 ========= [13:19:55] =========== drm_test_fb_xrgb8888_to_xrgb2101010 =========== [13:19:55] [PASSED] single_pixel_source_buffer [13:19:55] [PASSED] single_pixel_clip_rectangle [13:19:55] [PASSED] well_known_colors [13:19:55] [PASSED] destination_pitch [13:19:55] ======= [PASSED] drm_test_fb_xrgb8888_to_xrgb2101010 ======= [13:19:55] =========== drm_test_fb_xrgb8888_to_argb2101010 =========== [13:19:55] [PASSED] single_pixel_source_buffer [13:19:55] [PASSED] single_pixel_clip_rectangle [13:19:55] [PASSED] well_known_colors [13:19:55] [PASSED] destination_pitch [13:19:55] ======= [PASSED] drm_test_fb_xrgb8888_to_argb2101010 ======= [13:19:55] ============== drm_test_fb_xrgb8888_to_mono =============== [13:19:55] [PASSED] single_pixel_source_buffer [13:19:55] [PASSED] single_pixel_clip_rectangle [13:19:55] [PASSED] well_known_colors [13:19:55] [PASSED] destination_pitch [13:19:55] ========== [PASSED] drm_test_fb_xrgb8888_to_mono =========== [13:19:55] ==================== drm_test_fb_swab ===================== [13:19:55] [PASSED] single_pixel_source_buffer [13:19:55] [PASSED] single_pixel_clip_rectangle [13:19:55] [PASSED] well_known_colors [13:19:55] [PASSED] destination_pitch [13:19:55] ================ [PASSED] drm_test_fb_swab ================= [13:19:55] ============ drm_test_fb_xrgb8888_to_xbgr8888 ============= [13:19:55] [PASSED] single_pixel_source_buffer [13:19:55] [PASSED] single_pixel_clip_rectangle [13:19:55] [PASSED] well_known_colors [13:19:55] [PASSED] destination_pitch [13:19:55] ======== [PASSED] drm_test_fb_xrgb8888_to_xbgr8888 ========= [13:19:55] ============ drm_test_fb_xrgb8888_to_abgr8888 ============= [13:19:55] [PASSED] single_pixel_source_buffer [13:19:55] [PASSED] single_pixel_clip_rectangle [13:19:55] [PASSED] well_known_colors [13:19:55] [PASSED] destination_pitch [13:19:55] ======== [PASSED] drm_test_fb_xrgb8888_to_abgr8888 ========= [13:19:55] ================= drm_test_fb_clip_offset ================= [13:19:55] [PASSED] pass through [13:19:55] [PASSED] horizontal offset [13:19:55] [PASSED] vertical offset [13:19:55] [PASSED] horizontal and vertical offset [13:19:55] [PASSED] horizontal offset (custom pitch) [13:19:55] [PASSED] vertical offset (custom pitch) [13:19:55] [PASSED] horizontal and vertical offset (custom pitch) [13:19:55] ============= [PASSED] drm_test_fb_clip_offset ============= [13:19:55] =================== drm_test_fb_memcpy ==================== [13:19:55] [PASSED] single_pixel_source_buffer: XR24 little-endian (0x34325258) [13:19:55] [PASSED] single_pixel_source_buffer: XRA8 little-endian (0x38415258) [13:19:55] [PASSED] single_pixel_source_buffer: YU24 little-endian (0x34325559) [13:19:55] [PASSED] single_pixel_clip_rectangle: XB24 little-endian (0x34324258) [13:19:55] [PASSED] single_pixel_clip_rectangle: XRA8 little-endian (0x38415258) [13:19:55] [PASSED] single_pixel_clip_rectangle: YU24 little-endian (0x34325559) [13:19:55] [PASSED] well_known_colors: XB24 little-endian (0x34324258) [13:19:55] [PASSED] well_known_colors: XRA8 little-endian (0x38415258) [13:19:55] [PASSED] well_known_colors: YU24 little-endian (0x34325559) [13:19:55] [PASSED] destination_pitch: XB24 little-endian (0x34324258) [13:19:55] [PASSED] destination_pitch: XRA8 little-endian (0x38415258) [13:19:55] [PASSED] destination_pitch: YU24 little-endian (0x34325559) [13:19:55] =============== [PASSED] drm_test_fb_memcpy ================ [13:19:55] ============= [PASSED] drm_format_helper_test ============== [13:19:55] ================= drm_format (18 subtests) ================= [13:19:55] [PASSED] drm_test_format_block_width_invalid [13:19:55] [PASSED] drm_test_format_block_width_one_plane [13:19:55] [PASSED] drm_test_format_block_width_two_plane [13:19:55] [PASSED] drm_test_format_block_width_three_plane [13:19:55] [PASSED] drm_test_format_block_width_tiled [13:19:55] [PASSED] drm_test_format_block_height_invalid [13:19:55] [PASSED] drm_test_format_block_height_one_plane [13:19:55] [PASSED] drm_test_format_block_height_two_plane [13:19:55] [PASSED] drm_test_format_block_height_three_plane [13:19:55] [PASSED] drm_test_format_block_height_tiled [13:19:55] [PASSED] drm_test_format_min_pitch_invalid [13:19:55] [PASSED] drm_test_format_min_pitch_one_plane_8bpp [13:19:55] [PASSED] drm_test_format_min_pitch_one_plane_16bpp [13:19:55] [PASSED] drm_test_format_min_pitch_one_plane_24bpp [13:19:55] [PASSED] drm_test_format_min_pitch_one_plane_32bpp [13:19:55] [PASSED] drm_test_format_min_pitch_two_plane [13:19:55] [PASSED] drm_test_format_min_pitch_three_plane_8bpp [13:19:55] [PASSED] drm_test_format_min_pitch_tiled [13:19:55] =================== [PASSED] drm_format ==================== [13:19:55] ============== drm_framebuffer (10 subtests) =============== [13:19:55] ========== drm_test_framebuffer_check_src_coords ========== [13:19:55] [PASSED] Success: source fits into fb [13:19:55] [PASSED] Fail: overflowing fb with x-axis coordinate [13:19:55] [PASSED] Fail: overflowing fb with y-axis coordinate [13:19:55] [PASSED] Fail: overflowing fb with source width [13:19:55] [PASSED] Fail: overflowing fb with source height [13:19:55] ====== [PASSED] drm_test_framebuffer_check_src_coords ====== [13:19:55] [PASSED] drm_test_framebuffer_cleanup [13:19:55] =============== drm_test_framebuffer_create =============== [13:19:55] [PASSED] ABGR8888 normal sizes [13:19:55] [PASSED] ABGR8888 max sizes [13:19:55] [PASSED] ABGR8888 pitch greater than min required [13:19:55] [PASSED] ABGR8888 pitch less than min required [13:19:55] [PASSED] ABGR8888 Invalid width [13:19:55] [PASSED] ABGR8888 Invalid buffer handle [13:19:55] [PASSED] No pixel format [13:19:55] [PASSED] ABGR8888 Width 0 [13:19:55] [PASSED] ABGR8888 Height 0 [13:19:55] [PASSED] ABGR8888 Out of bound height * pitch combination [13:19:55] [PASSED] ABGR8888 Large buffer offset [13:19:55] [PASSED] ABGR8888 Buffer offset for inexistent plane [13:19:55] [PASSED] ABGR8888 Invalid flag [13:19:55] [PASSED] ABGR8888 Set DRM_MODE_FB_MODIFIERS without modifiers [13:19:55] [PASSED] ABGR8888 Valid buffer modifier [13:19:55] [PASSED] ABGR8888 Invalid buffer modifier(DRM_FORMAT_MOD_SAMSUNG_64_32_TILE) [13:19:55] [PASSED] ABGR8888 Extra pitches without DRM_MODE_FB_MODIFIERS [13:19:55] [PASSED] ABGR8888 Extra pitches with DRM_MODE_FB_MODIFIERS [13:19:55] [PASSED] NV12 Normal sizes [13:19:55] [PASSED] NV12 Max sizes [13:19:55] [PASSED] NV12 Invalid pitch [13:19:55] [PASSED] NV12 Invalid modifier/missing DRM_MODE_FB_MODIFIERS flag [13:19:55] [PASSED] NV12 different modifier per-plane [13:19:55] [PASSED] NV12 with DRM_FORMAT_MOD_SAMSUNG_64_32_TILE [13:19:55] [PASSED] NV12 Valid modifiers without DRM_MODE_FB_MODIFIERS [13:19:55] [PASSED] NV12 Modifier for inexistent plane [13:19:55] [PASSED] NV12 Handle for inexistent plane [13:19:55] [PASSED] NV12 Handle for inexistent plane without DRM_MODE_FB_MODIFIERS [13:19:55] [PASSED] YVU420 DRM_MODE_FB_MODIFIERS set without modifier [13:19:55] [PASSED] YVU420 Normal sizes [13:19:55] [PASSED] YVU420 Max sizes [13:19:55] [PASSED] YVU420 Invalid pitch [13:19:55] [PASSED] YVU420 Different pitches [13:19:55] [PASSED] YVU420 Different buffer offsets/pitches [13:19:55] [PASSED] YVU420 Modifier set just for plane 0, without DRM_MODE_FB_MODIFIERS [13:19:55] [PASSED] YVU420 Modifier set just for planes 0, 1, without DRM_MODE_FB_MODIFIERS [13:19:55] [PASSED] YVU420 Modifier set just for plane 0, 1, with DRM_MODE_FB_MODIFIERS [13:19:55] [PASSED] YVU420 Valid modifier [13:19:55] [PASSED] YVU420 Different modifiers per plane [13:19:55] [PASSED] YVU420 Modifier for inexistent plane [13:19:55] [PASSED] YUV420_10BIT Invalid modifier(DRM_FORMAT_MOD_LINEAR) [13:19:55] [PASSED] X0L2 Normal sizes [13:19:55] [PASSED] X0L2 Max sizes [13:19:55] [PASSED] X0L2 Invalid pitch [13:19:55] [PASSED] X0L2 Pitch greater than minimum required [13:19:55] [PASSED] X0L2 Handle for inexistent plane [13:19:55] [PASSED] X0L2 Offset for inexistent plane, without DRM_MODE_FB_MODIFIERS set [13:19:55] [PASSED] X0L2 Modifier without DRM_MODE_FB_MODIFIERS set [13:19:55] [PASSED] X0L2 Valid modifier [13:19:55] [PASSED] X0L2 Modifier for inexistent plane [13:19:55] =========== [PASSED] drm_test_framebuffer_create =========== [13:19:55] [PASSED] drm_test_framebuffer_free [13:19:55] [PASSED] drm_test_framebuffer_init [13:19:55] [PASSED] drm_test_framebuffer_init_bad_format [13:19:55] [PASSED] drm_test_framebuffer_init_dev_mismatch [13:19:55] [PASSED] drm_test_framebuffer_lookup [13:19:55] [PASSED] drm_test_framebuffer_lookup_inexistent [13:19:55] [PASSED] drm_test_framebuffer_modifiers_not_supported [13:19:55] ================= [PASSED] drm_framebuffer ================= [13:19:55] ================ drm_gem_shmem (8 subtests) ================ [13:19:55] [PASSED] drm_gem_shmem_test_obj_create [13:19:55] [PASSED] drm_gem_shmem_test_obj_create_private [13:19:55] [PASSED] drm_gem_shmem_test_pin_pages [13:19:55] [PASSED] drm_gem_shmem_test_vmap [13:19:55] [PASSED] drm_gem_shmem_test_get_sg_table [13:19:55] [PASSED] drm_gem_shmem_test_get_pages_sgt [13:19:55] [PASSED] drm_gem_shmem_test_madvise [13:19:55] [PASSED] drm_gem_shmem_test_purge [13:19:55] ================== [PASSED] drm_gem_shmem ================== [13:19:55] === drm_atomic_helper_connector_hdmi_check (29 subtests) === [13:19:55] [PASSED] drm_test_check_broadcast_rgb_auto_cea_mode [13:19:55] [PASSED] drm_test_check_broadcast_rgb_auto_cea_mode_vic_1 [13:19:55] [PASSED] drm_test_check_broadcast_rgb_full_cea_mode [13:19:55] [PASSED] drm_test_check_broadcast_rgb_full_cea_mode_vic_1 [13:19:55] [PASSED] drm_test_check_broadcast_rgb_limited_cea_mode [13:19:55] [PASSED] drm_test_check_broadcast_rgb_limited_cea_mode_vic_1 [13:19:55] ====== drm_test_check_broadcast_rgb_cea_mode_yuv420 ======= [13:19:55] [PASSED] Automatic [13:19:55] [PASSED] Full [13:19:55] [PASSED] Limited 16:235 [13:19:55] == [PASSED] drm_test_check_broadcast_rgb_cea_mode_yuv420 === [13:19:55] [PASSED] drm_test_check_broadcast_rgb_crtc_mode_changed [13:19:55] [PASSED] drm_test_check_broadcast_rgb_crtc_mode_not_changed [13:19:55] [PASSED] drm_test_check_disable_connector [13:19:55] [PASSED] drm_test_check_hdmi_funcs_reject_rate [13:19:55] [PASSED] drm_test_check_max_tmds_rate_bpc_fallback_rgb [13:19:55] [PASSED] drm_test_check_max_tmds_rate_bpc_fallback_yuv420 [13:19:55] [PASSED] drm_test_check_max_tmds_rate_bpc_fallback_ignore_yuv422 [13:19:55] [PASSED] drm_test_check_max_tmds_rate_bpc_fallback_ignore_yuv420 [13:19:55] [PASSED] drm_test_check_driver_unsupported_fallback_yuv420 [13:19:55] [PASSED] drm_test_check_output_bpc_crtc_mode_changed [13:19:55] [PASSED] drm_test_check_output_bpc_crtc_mode_not_changed [13:19:55] [PASSED] drm_test_check_output_bpc_dvi [13:19:55] [PASSED] drm_test_check_output_bpc_format_vic_1 [13:19:55] [PASSED] drm_test_check_output_bpc_format_display_8bpc_only [13:19:55] [PASSED] drm_test_check_output_bpc_format_display_rgb_only [13:19:55] [PASSED] drm_test_check_output_bpc_format_driver_8bpc_only [13:19:55] [PASSED] drm_test_check_output_bpc_format_driver_rgb_only [13:19:55] [PASSED] drm_test_check_tmds_char_rate_rgb_8bpc [13:19:55] [PASSED] drm_test_check_tmds_char_rate_rgb_10bpc [13:19:55] [PASSED] drm_test_check_tmds_char_rate_rgb_12bpc [13:19:55] ============ drm_test_check_hdmi_color_format ============= [13:19:55] [PASSED] AUTO -> RGB [13:19:55] [PASSED] YCBCR422 -> YUV422 [13:19:55] [PASSED] YCBCR420 -> YUV420 [13:19:55] [PASSED] YCBCR444 -> YUV444 [13:19:55] [PASSED] RGB -> RGB [13:19:55] ======== [PASSED] drm_test_check_hdmi_color_format ========= [13:19:55] ======== drm_test_check_hdmi_color_format_420_only ======== [13:19:55] [PASSED] RGB should fail [13:19:55] [PASSED] YUV444 should fail [13:19:55] [PASSED] YUV422 should fail [13:19:55] [PASSED] YUV420 should work [13:19:55] ==== [PASSED] drm_test_check_hdmi_color_format_420_only ==== [13:19:55] ===== [PASSED] drm_atomic_helper_connector_hdmi_check ====== [13:19:55] === drm_atomic_helper_connector_hdmi_reset (6 subtests) ==== [13:19:55] [PASSED] drm_test_check_broadcast_rgb_value [13:19:55] [PASSED] drm_test_check_bpc_8_value [13:19:55] [PASSED] drm_test_check_bpc_10_value [13:19:55] [PASSED] drm_test_check_bpc_12_value [13:19:55] [PASSED] drm_test_check_format_value [13:19:55] [PASSED] drm_test_check_tmds_char_value [13:19:55] ===== [PASSED] drm_atomic_helper_connector_hdmi_reset ====== [13:19:55] = drm_atomic_helper_connector_hdmi_mode_valid (7 subtests) = [13:19:55] [PASSED] drm_test_check_mode_valid [13:19:55] [PASSED] drm_test_check_mode_valid_reject [13:19:55] [PASSED] drm_test_check_mode_valid_reject_rate [13:19:55] [PASSED] drm_test_check_mode_valid_reject_max_clock [13:19:55] [PASSED] drm_test_check_mode_valid_yuv420_only_max_clock [13:19:55] [PASSED] drm_test_check_mode_valid_reject_yuv420_only_connector [13:19:55] [PASSED] drm_test_check_mode_valid_accept_yuv420_also_connector_rgb [13:19:55] === [PASSED] drm_atomic_helper_connector_hdmi_mode_valid === [13:19:55] = drm_atomic_helper_connector_hdmi_infoframes (5 subtests) = [13:19:55] [PASSED] drm_test_check_infoframes [13:19:55] [PASSED] drm_test_check_reject_avi_infoframe [13:19:55] [PASSED] drm_test_check_reject_hdr_infoframe_bpc_8 [13:19:55] [PASSED] drm_test_check_reject_hdr_infoframe_bpc_10 [13:19:55] [PASSED] drm_test_check_reject_audio_infoframe [13:19:55] === [PASSED] drm_atomic_helper_connector_hdmi_infoframes === [13:19:55] ================= drm_managed (2 subtests) ================= [13:19:55] [PASSED] drm_test_managed_release_action [13:19:55] [PASSED] drm_test_managed_run_action [13:19:55] =================== [PASSED] drm_managed =================== [13:19:55] =================== drm_mm (6 subtests) ==================== [13:19:55] [PASSED] drm_test_mm_init [13:19:55] [PASSED] drm_test_mm_debug [13:19:55] [PASSED] drm_test_mm_align32 [13:19:55] [PASSED] drm_test_mm_align64 [13:19:55] [PASSED] drm_test_mm_lowest [13:19:55] [PASSED] drm_test_mm_highest [13:19:55] ===================== [PASSED] drm_mm ====================== [13:19:55] ============= drm_modes_analog_tv (5 subtests) ============= [13:19:55] [PASSED] drm_test_modes_analog_tv_mono_576i [13:19:55] [PASSED] drm_test_modes_analog_tv_ntsc_480i [13:19:55] [PASSED] drm_test_modes_analog_tv_ntsc_480i_inlined [13:19:55] [PASSED] drm_test_modes_analog_tv_pal_576i [13:19:55] [PASSED] drm_test_modes_analog_tv_pal_576i_inlined [13:19:55] =============== [PASSED] drm_modes_analog_tv =============== [13:19:55] ============== drm_plane_helper (2 subtests) =============== [13:19:55] =============== drm_test_check_plane_state ================ [13:19:55] [PASSED] clipping_simple [13:19:55] [PASSED] clipping_rotate_reflect [13:19:55] [PASSED] positioning_simple [13:19:55] [PASSED] upscaling [13:19:55] [PASSED] downscaling [13:19:55] [PASSED] rounding1 [13:19:55] [PASSED] rounding2 [13:19:55] [PASSED] rounding3 [13:19:55] [PASSED] rounding4 [13:19:55] =========== [PASSED] drm_test_check_plane_state ============ [13:19:55] =========== drm_test_check_invalid_plane_state ============ [13:19:55] [PASSED] positioning_invalid [13:19:55] [PASSED] upscaling_invalid [13:19:55] [PASSED] downscaling_invalid [13:19:55] ======= [PASSED] drm_test_check_invalid_plane_state ======== [13:19:55] ================ [PASSED] drm_plane_helper ================= [13:19:55] ====== drm_connector_helper_tv_get_modes (1 subtest) ======= [13:19:55] ====== drm_test_connector_helper_tv_get_modes_check ======= [13:19:55] [PASSED] None [13:19:55] [PASSED] PAL [13:19:55] [PASSED] NTSC [13:19:55] [PASSED] Both, NTSC Default [13:19:55] [PASSED] Both, PAL Default [13:19:55] [PASSED] Both, NTSC Default, with PAL on command-line [13:19:55] [PASSED] Both, PAL Default, with NTSC on command-line [13:19:55] == [PASSED] drm_test_connector_helper_tv_get_modes_check === [13:19:55] ======== [PASSED] drm_connector_helper_tv_get_modes ======== [13:19:55] ================== drm_rect (9 subtests) =================== [13:19:55] [PASSED] drm_test_rect_clip_scaled_div_by_zero [13:19:55] [PASSED] drm_test_rect_clip_scaled_not_clipped [13:19:55] [PASSED] drm_test_rect_clip_scaled_clipped [13:19:55] [PASSED] drm_test_rect_clip_scaled_signed_vs_unsigned [13:19:55] ================= drm_test_rect_intersect ================= [13:19:55] [PASSED] top-left x bottom-right: 2x2+1+1 x 2x2+0+0 [13:19:55] [PASSED] top-right x bottom-left: 2x2+0+0 x 2x2+1-1 [13:19:55] [PASSED] bottom-left x top-right: 2x2+1-1 x 2x2+0+0 [13:19:55] [PASSED] bottom-right x top-left: 2x2+0+0 x 2x2+1+1 [13:19:55] [PASSED] right x left: 2x1+0+0 x 3x1+1+0 [13:19:55] [PASSED] left x right: 3x1+1+0 x 2x1+0+0 [13:19:55] [PASSED] up x bottom: 1x2+0+0 x 1x3+0-1 [13:19:55] [PASSED] bottom x up: 1x3+0-1 x 1x2+0+0 [13:19:55] [PASSED] touching corner: 1x1+0+0 x 2x2+1+1 [13:19:55] [PASSED] touching side: 1x1+0+0 x 1x1+1+0 [13:19:55] [PASSED] equal rects: 2x2+0+0 x 2x2+0+0 [13:19:55] [PASSED] inside another: 2x2+0+0 x 1x1+1+1 [13:19:55] [PASSED] far away: 1x1+0+0 x 1x1+3+6 [13:19:55] [PASSED] points intersecting: 0x0+5+10 x 0x0+5+10 [13:19:55] [PASSED] points not intersecting: 0x0+0+0 x 0x0+5+10 [13:19:55] ============= [PASSED] drm_test_rect_intersect ============= [13:19:55] ================ drm_test_rect_calc_hscale ================ [13:19:55] [PASSED] normal use [13:19:55] [PASSED] out of max range [13:19:55] [PASSED] out of min range [13:19:55] [PASSED] zero dst [13:19:55] [PASSED] negative src [13:19:55] [PASSED] negative dst [13:19:55] ============ [PASSED] drm_test_rect_calc_hscale ============ [13:19:55] ================ drm_test_rect_calc_vscale ================ [13:19:55] [PASSED] normal use [13:19:55] [PASSED] out of max range [13:19:55] [PASSED] out of min range [13:19:55] [PASSED] zero dst [13:19:55] [PASSED] negative src [13:19:55] [PASSED] negative dst [13:19:55] ============ [PASSED] drm_test_rect_calc_vscale ============ [13:19:55] ================== drm_test_rect_rotate =================== [13:19:55] [PASSED] reflect-x [13:19:55] [PASSED] reflect-y [13:19:55] [PASSED] rotate-0 [13:19:55] [PASSED] rotate-90 [13:19:55] [PASSED] rotate-180 [13:19:55] [PASSED] rotate-270 [13:19:55] ============== [PASSED] drm_test_rect_rotate =============== [13:19:55] ================ drm_test_rect_rotate_inv ================= [13:19:55] [PASSED] reflect-x [13:19:55] [PASSED] reflect-y [13:19:55] [PASSED] rotate-0 [13:19:55] [PASSED] rotate-90 [13:19:55] [PASSED] rotate-180 [13:19:55] [PASSED] rotate-270 [13:19:55] ============ [PASSED] drm_test_rect_rotate_inv ============= [13:19:55] ==================== [PASSED] drm_rect ===================== [13:19:55] ============ drm_sysfb_modeset_test (1 subtest) ============ [13:19:55] ============ drm_test_sysfb_build_fourcc_list ============= [13:19:55] [PASSED] no native formats [13:19:55] [PASSED] XRGB8888 as native format [13:19:55] [PASSED] remove duplicates [13:19:55] [PASSED] convert alpha formats [13:19:55] [PASSED] random formats [13:19:55] ======== [PASSED] drm_test_sysfb_build_fourcc_list ========= [13:19:55] ============= [PASSED] drm_sysfb_modeset_test ============== [13:19:55] ================== drm_fixp (2 subtests) =================== [13:19:55] [PASSED] drm_test_int2fixp [13:19:55] [PASSED] drm_test_sm2fixp [13:19:55] ==================== [PASSED] drm_fixp ===================== [13:19:55] ============================================================ [13:19:55] Testing complete. Ran 639 tests: passed: 639 [13:19:55] Elapsed time: 26.715s total, 1.792s configuring, 24.752s building, 0.150s running
+ /kernel/tools/testing/kunit/kunit.py run --kunitconfig /kernel/drivers/gpu/drm/ttm/tests/.kunitconfig [13:19:55] Configuring KUnit Kernel ...
Regenerating .config ...
Populating config with:
$ make ARCH=um O=.kunit olddefconfig [13:19:57] Building KUnit Kernel ... Populating config with: $ make ARCH=um O=.kunit olddefconfig Building with: $ make all compile_commands.json scripts_gdb ARCH=um O=.kunit --jobs=48 [13:20:07] Starting KUnit Kernel (1/1)... [13:20:07] ============================================================ Running tests with: $ .kunit/linux kunit.enable=1 mem=1G console=tty kunit_shutdown=halt [13:20:07] ================= ttm_device (5 subtests) ================== [13:20:07] [PASSED] ttm_device_init_basic [13:20:07] [PASSED] ttm_device_init_multiple [13:20:07] [PASSED] ttm_device_fini_basic [13:20:07] [PASSED] ttm_device_init_no_vma_man [13:20:07] ================== ttm_device_init_pools ================== [13:20:07] [PASSED] No DMA allocations, no DMA32 required [13:20:07] [PASSED] DMA allocations, DMA32 required [13:20:07] [PASSED] No DMA allocations, DMA32 required [13:20:07] [PASSED] DMA allocations, no DMA32 required [13:20:07] ============== [PASSED] ttm_device_init_pools ============== [13:20:07] =================== [PASSED] ttm_device ==================== [13:20:07] ================== ttm_pool (8 subtests) =================== [13:20:07] ================== ttm_pool_alloc_basic =================== [13:20:07] [PASSED] One page [13:20:07] [PASSED] More than one page [13:20:07] [PASSED] Above the allocation limit [13:20:07] [PASSED] One page, with coherent DMA mappings enabled [13:20:07] [PASSED] Above the allocation limit, with coherent DMA mappings enabled [13:20:07] ============== [PASSED] ttm_pool_alloc_basic =============== [13:20:07] ============== ttm_pool_alloc_basic_dma_addr ============== [13:20:07] [PASSED] One page [13:20:07] [PASSED] More than one page [13:20:07] [PASSED] Above the allocation limit [13:20:07] [PASSED] One page, with coherent DMA mappings enabled [13:20:07] [PASSED] Above the allocation limit, with coherent DMA mappings enabled [13:20:07] ========== [PASSED] ttm_pool_alloc_basic_dma_addr ========== [13:20:07] [PASSED] ttm_pool_alloc_order_caching_match [13:20:07] [PASSED] ttm_pool_alloc_caching_mismatch [13:20:07] [PASSED] ttm_pool_alloc_order_mismatch [13:20:07] [PASSED] ttm_pool_free_dma_alloc [13:20:07] [PASSED] ttm_pool_free_no_dma_alloc [13:20:07] [PASSED] ttm_pool_fini_basic [13:20:07] ==================== [PASSED] ttm_pool ===================== [13:20:07] ================ ttm_resource (8 subtests) ================= [13:20:07] ================= ttm_resource_init_basic ================= [13:20:07] [PASSED] Init resource in TTM_PL_SYSTEM [13:20:07] [PASSED] Init resource in TTM_PL_VRAM [13:20:07] [PASSED] Init resource in a private placement [13:20:07] [PASSED] Init resource in TTM_PL_SYSTEM, set placement flags [13:20:07] ============= [PASSED] ttm_resource_init_basic ============= [13:20:07] [PASSED] ttm_resource_init_pinned [13:20:07] [PASSED] ttm_resource_fini_basic [13:20:07] [PASSED] ttm_resource_manager_init_basic [13:20:07] [PASSED] ttm_resource_manager_usage_basic [13:20:07] [PASSED] ttm_resource_manager_set_used_basic [13:20:07] [PASSED] ttm_sys_man_alloc_basic [13:20:07] [PASSED] ttm_sys_man_free_basic [13:20:07] ================== [PASSED] ttm_resource =================== [13:20:07] =================== ttm_tt (15 subtests) =================== [13:20:07] ==================== ttm_tt_init_basic ==================== [13:20:07] [PASSED] Page-aligned size [13:20:07] [PASSED] Extra pages requested [13:20:07] ================ [PASSED] ttm_tt_init_basic ================ [13:20:07] [PASSED] ttm_tt_init_misaligned [13:20:07] [PASSED] ttm_tt_fini_basic [13:20:07] [PASSED] ttm_tt_fini_sg [13:20:07] [PASSED] ttm_tt_fini_shmem [13:20:07] [PASSED] ttm_tt_create_basic [13:20:07] [PASSED] ttm_tt_create_invalid_bo_type [13:20:07] [PASSED] ttm_tt_create_ttm_exists [13:20:07] [PASSED] ttm_tt_create_failed [13:20:07] [PASSED] ttm_tt_destroy_basic [13:20:07] [PASSED] ttm_tt_populate_null_ttm [13:20:07] [PASSED] ttm_tt_populate_populated_ttm [13:20:07] [PASSED] ttm_tt_unpopulate_basic [13:20:07] [PASSED] ttm_tt_unpopulate_empty_ttm [13:20:07] [PASSED] ttm_tt_swapin_basic [13:20:07] ===================== [PASSED] ttm_tt ====================== [13:20:07] =================== ttm_bo (14 subtests) =================== [13:20:07] =========== ttm_bo_reserve_optimistic_no_ticket =========== [13:20:07] [PASSED] Cannot be interrupted and sleeps [13:20:07] [PASSED] Cannot be interrupted, locks straight away [13:20:07] [PASSED] Can be interrupted, sleeps [13:20:07] ======= [PASSED] ttm_bo_reserve_optimistic_no_ticket ======= [13:20:07] [PASSED] ttm_bo_reserve_locked_no_sleep [13:20:07] [PASSED] ttm_bo_reserve_no_wait_ticket [13:20:07] [PASSED] ttm_bo_reserve_double_resv [13:20:07] [PASSED] ttm_bo_reserve_interrupted [13:20:07] [PASSED] ttm_bo_reserve_deadlock [13:20:07] [PASSED] ttm_bo_unreserve_basic [13:20:07] [PASSED] ttm_bo_unreserve_pinned [13:20:07] [PASSED] ttm_bo_unreserve_bulk [13:20:07] [PASSED] ttm_bo_fini_basic [13:20:07] [PASSED] ttm_bo_fini_shared_resv [13:20:07] [PASSED] ttm_bo_pin_basic [13:20:07] [PASSED] ttm_bo_pin_unpin_resource [13:20:07] [PASSED] ttm_bo_multiple_pin_one_unpin [13:20:07] ===================== [PASSED] ttm_bo ====================== [13:20:07] ============== ttm_bo_validate (22 subtests) =============== [13:20:07] ============== ttm_bo_init_reserved_sys_man =============== [13:20:07] [PASSED] Buffer object for userspace [13:20:07] [PASSED] Kernel buffer object [13:20:07] [PASSED] Shared buffer object [13:20:07] ========== [PASSED] ttm_bo_init_reserved_sys_man =========== [13:20:07] ============== ttm_bo_init_reserved_mock_man ============== [13:20:07] [PASSED] Buffer object for userspace [13:20:07] [PASSED] Kernel buffer object [13:20:07] [PASSED] Shared buffer object [13:20:07] ========== [PASSED] ttm_bo_init_reserved_mock_man ========== [13:20:07] [PASSED] ttm_bo_init_reserved_resv [13:20:07] ================== ttm_bo_validate_basic ================== [13:20:07] [PASSED] Buffer object for userspace [13:20:07] [PASSED] Kernel buffer object [13:20:07] [PASSED] Shared buffer object [13:20:07] ============== [PASSED] ttm_bo_validate_basic ============== [13:20:07] [PASSED] ttm_bo_validate_invalid_placement [13:20:07] ============= ttm_bo_validate_same_placement ============== [13:20:07] [PASSED] System manager [13:20:07] [PASSED] VRAM manager [13:20:07] ========= [PASSED] ttm_bo_validate_same_placement ========== [13:20:07] [PASSED] ttm_bo_validate_failed_alloc [13:20:07] [PASSED] ttm_bo_validate_pinned [13:20:07] [PASSED] ttm_bo_validate_busy_placement [13:20:07] ================ ttm_bo_validate_multihop ================= [13:20:07] [PASSED] Buffer object for userspace [13:20:07] [PASSED] Kernel buffer object [13:20:07] [PASSED] Shared buffer object [13:20:07] ============ [PASSED] ttm_bo_validate_multihop ============= [13:20:07] ========== ttm_bo_validate_no_placement_signaled ========== [13:20:07] [PASSED] Buffer object in system domain, no page vector [13:20:07] [PASSED] Buffer object in system domain with an existing page vector [13:20:07] ====== [PASSED] ttm_bo_validate_no_placement_signaled ====== [13:20:07] ======== ttm_bo_validate_no_placement_not_signaled ======== [13:20:07] [PASSED] Buffer object for userspace [13:20:07] [PASSED] Kernel buffer object [13:20:07] [PASSED] Shared buffer object [13:20:07] ==== [PASSED] ttm_bo_validate_no_placement_not_signaled ==== [13:20:07] [PASSED] ttm_bo_validate_move_fence_signaled [13:20:07] ========= ttm_bo_validate_move_fence_not_signaled ========= [13:20:07] [PASSED] Waits for GPU [13:20:07] [PASSED] Tries to lock straight away [13:20:07] ===== [PASSED] ttm_bo_validate_move_fence_not_signaled ===== [13:20:07] [PASSED] ttm_bo_validate_swapout [13:20:07] [PASSED] ttm_bo_validate_happy_evict [13:20:07] [PASSED] ttm_bo_validate_all_pinned_evict [13:20:07] [PASSED] ttm_bo_validate_allowed_only_evict [13:20:07] [PASSED] ttm_bo_validate_deleted_evict [13:20:07] [PASSED] ttm_bo_validate_busy_domain_evict [13:20:07] [PASSED] ttm_bo_validate_evict_gutting [13:20:07] [PASSED] ttm_bo_validate_recrusive_evict [13:20:07] ================= [PASSED] ttm_bo_validate ================= [13:20:07] ============================================================ [13:20:07] Testing complete. Ran 102 tests: passed: 102 [13:20:07] Elapsed time: 11.990s total, 1.858s configuring, 9.917s building, 0.179s running
+ cleanup
++ stat -c %u:%g /kernel
+ chown -R 1003:1003 /kernel
Patchwork
CI✓ Xe.CI.BAT: success for driver core: count references of the platform device's fwnode, not OF node (rev3)
In reply to Bartosz Golaszewski== Series Details ==
== Series Details ==
Series: driver core: count references of the platform device's fwnode, not OF node (rev3)
URL : https://patchwork.freedesktop.org/series/166998/
State : success
== Summary ==
CI Bug Log - changes from xe-5344-cd2f56e2e0645a8a22ffbc83fdc922c5c4fe7bd7_BAT -> xe-pw-166998v3_BAT
====================================================
Summary
-------
**SUCCESS**
No regressions found.
Participating hosts (11 -> 11)
------------------------------
Additional (1): bat-wcl-1
Missing (1): bat-bmg-1
Known issues
------------
Here are the changes found in xe-pw-166998v3_BAT that come from known issues:
### IGT changes ###
#### Issues hit ####
* igt@kms_addfb_basic@addfb25-y-tiled-small-legacy:
- bat-wcl-1: NOTRUN -> [SKIP][1] ([Intel XE#7245])
[1]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-166998v3/bat-wcl-1/igt@[email protected]
* igt@kms_dsc@dsc-basic:
- bat-wcl-1: NOTRUN -> [SKIP][2] ([Intel XE#8265])
[2]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-166998v3/bat-wcl-1/igt@[email protected]
* igt@xe_evict@evict-small-external-cm:
- bat-wcl-1: NOTRUN -> [SKIP][3] ([Intel XE#7238]) +11 other tests skip
[3]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-166998v3/bat-wcl-1/igt@[email protected]
* igt@xe_exec_balancer@twice-virtual-rebind:
- bat-wcl-1: NOTRUN -> [SKIP][4] ([Intel XE#7482]) +17 other tests skip
[4]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-166998v3/bat-wcl-1/igt@[email protected]
* igt@xe_exec_multi_queue@many-queues-priority:
- bat-wcl-1: NOTRUN -> [SKIP][5] ([Intel XE#8364]) +13 other tests skip
[5]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-166998v3/bat-wcl-1/igt@[email protected]
* igt@xe_live_ktest@xe_migrate@xe_validate_ccs_kunit:
- bat-wcl-1: NOTRUN -> [SKIP][6] ([Intel XE#7239]) +2 other tests skip
[6]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-166998v3/bat-wcl-1/igt@xe_live_ktest@xe_migrate@xe_validate_ccs_kunit.html
* igt@xe_mmap@vram:
- bat-wcl-1: NOTRUN -> [SKIP][7] ([Intel XE#7243])
[7]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-166998v3/bat-wcl-1/igt@[email protected]
* igt@xe_pat@pat-index-xehpc:
- bat-wcl-1: NOTRUN -> [SKIP][8] ([Intel XE#7247] / [Intel XE#7590])
[8]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-166998v3/bat-wcl-1/igt@[email protected]
* igt@xe_pat@pat-index-xelp:
- bat-wcl-1: NOTRUN -> [SKIP][9] ([Intel XE#7242] / [Intel XE#7590])
[9]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-166998v3/bat-wcl-1/igt@[email protected]
* igt@xe_pat@pat-index-xelpg:
- bat-wcl-1: NOTRUN -> [SKIP][10] ([Intel XE#7248] / [Intel XE#7590])
[10]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-166998v3/bat-wcl-1/igt@[email protected]
[Intel XE#7238]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/7238
[Intel XE#7239]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/7239
[Intel XE#7242]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/7242
[Intel XE#7243]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/7243
[Intel XE#7245]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/7245
[Intel XE#7247]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/7247
[Intel XE#7248]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/7248
[Intel XE#7482]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/7482
[Intel XE#7590]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/7590
[Intel XE#8265]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/8265
[Intel XE#8364]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/8364
Build changes
-------------
* Linux: xe-5344-cd2f56e2e0645a8a22ffbc83fdc922c5c4fe7bd7 -> xe-pw-166998v3
IGT_8990: 8990
xe-5344-cd2f56e2e0645a8a22ffbc83fdc922c5c4fe7bd7: cd2f56e2e0645a8a22ffbc83fdc922c5c4fe7bd7
xe-pw-166998v3: 166998v3
== Logs ==
For more details see: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-166998v3/index.html
Patchwork
CI✓ Xe.CI.FULL: success for driver core: count references of the platform device's fwnode, not OF node (rev3)
In reply to Bartosz Golaszewski== Series Details ==
== Series Details ==
Series: driver core: count references of the platform device's fwnode, not OF node (rev3)
URL : https://patchwork.freedesktop.org/series/166998/
State : success
== Summary ==
CI Bug Log - changes from xe-5344-cd2f56e2e0645a8a22ffbc83fdc922c5c4fe7bd7_FULL -> xe-pw-166998v3_FULL
====================================================
Summary
-------
**SUCCESS**
No regressions found.
Participating hosts (2 -> 2)
------------------------------
No changes in participating hosts
New tests
---------
New tests have been introduced between xe-5344-cd2f56e2e0645a8a22ffbc83fdc922c5c4fe7bd7_FULL and xe-pw-166998v3_FULL:
### New IGT tests (9) ###
* igt@kms_flip@blocking-absolute-wf_vblank-interruptible@a-dp2:
- Statuses : 1 pass(s)
- Exec time: [4.19] s
* igt@kms_flip@blocking-absolute-wf_vblank-interruptible@b-dp2:
- Statuses : 1 pass(s)
- Exec time: [4.14] s
* igt@kms_flip@blocking-absolute-wf_vblank-interruptible@c-dp2:
- Statuses : 1 pass(s)
- Exec time: [4.14] s
* igt@kms_flip@flip-vs-rmfb@a-dp2:
- Statuses : 1 pass(s)
- Exec time: [4.12] s
* igt@kms_flip@flip-vs-rmfb@b-dp2:
- Statuses : 1 pass(s)
- Exec time: [4.07] s
* igt@kms_flip@flip-vs-rmfb@c-dp2:
- Statuses : 1 pass(s)
- Exec time: [4.07] s
* igt@kms_flip@single-buffer-flip-vs-dpms-off-vs-modeset@a-dp2:
- Statuses : 1 pass(s)
- Exec time: [0.99] s
* igt@kms_flip@single-buffer-flip-vs-dpms-off-vs-modeset@b-dp2:
- Statuses : 1 pass(s)
- Exec time: [0.86] s
* igt@kms_flip@single-buffer-flip-vs-dpms-off-vs-modeset@c-dp2:
- Statuses : 1 pass(s)
- Exec time: [0.88] s
Known issues
------------
Here are the changes found in xe-pw-166998v3_FULL that come from known issues:
### IGT changes ###
#### Issues hit ####
* igt@kms_big_fb@4-tiled-16bpp-rotate-270:
- shard-lnl: NOTRUN -> [SKIP][1] ([Intel XE#1407])
[1]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-166998v3/shard-lnl-3/igt@[email protected]
* igt@kms_big_fb@linear-8bpp-rotate-270:
- shard-bmg: NOTRUN -> [SKIP][2] ([Intel XE#2327])
[2]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-166998v3/shard-bmg-8/igt@[email protected]
* igt@kms_big_fb@y-tiled-16bpp-rotate-180:
- shard-lnl: NOTRUN -> [SKIP][3] ([Intel XE#1124]) +1 other test skip
[3]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-166998v3/shard-lnl-3/igt@[email protected]
* igt@kms_big_fb@yf-tiled-max-hw-stride-64bpp-rotate-0-hflip:
- shard-bmg: NOTRUN -> [SKIP][4] ([Intel XE#1124]) +8 other tests skip
[4]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-166998v3/shard-bmg-8/igt@[email protected]
* igt@kms_bw@connected-linear-tiling-4-displays-target-2560x1440p:
- shard-bmg: NOTRUN -> [SKIP][5] ([Intel XE#7679])
[5]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-166998v3/shard-bmg-8/igt@[email protected]
* igt@kms_bw@connected-linear-tiling-4-displays-target-3840x2160p:
- shard-lnl: NOTRUN -> [SKIP][6] ([Intel XE#8365])
[6]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-166998v3/shard-lnl-3/igt@[email protected]
* igt@kms_bw@linear-tiling-1-displays-target-2560x1440p:
- shard-bmg: NOTRUN -> [SKIP][7] ([Intel XE#367])
[7]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-166998v3/shard-bmg-5/igt@[email protected]
* igt@kms_ccs@bad-rotation-90-4-tiled-dg2-rc-ccs:
- shard-lnl: NOTRUN -> [SKIP][8] ([Intel XE#2887]) +4 other tests skip
[8]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-166998v3/shard-lnl-3/igt@[email protected]
* igt@kms_ccs@bad-rotation-90-4-tiled-lnl-ccs@pipe-c-dp-2:
- shard-bmg: NOTRUN -> [SKIP][9] ([Intel XE#2652]) +8 other tests skip
[9]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-166998v3/shard-bmg-5/igt@kms_ccs@[email protected]
* igt@kms_ccs@crc-primary-basic-4-tiled-dg2-rc-ccs:
- shard-bmg: NOTRUN -> [SKIP][10] ([Intel XE#2887]) +9 other tests skip
[10]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-166998v3/shard-bmg-1/igt@[email protected]
* igt@kms_ccs@crc-primary-suspend-4-tiled-dg2-rc-ccs-cc:
- shard-bmg: NOTRUN -> [SKIP][11] ([Intel XE#3432])
[11]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-166998v3/shard-bmg-5/igt@[email protected]
* igt@kms_cdclk@mode-transition:
- shard-bmg: NOTRUN -> [SKIP][12] ([Intel XE#2724] / [Intel XE#7449])
[12]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-166998v3/shard-bmg-1/igt@[email protected]
* igt@kms_chamelium_color@ctm-0-25:
- shard-bmg: NOTRUN -> [SKIP][13] ([Intel XE#2325] / [Intel XE#7358]) +1 other test skip
[13]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-166998v3/shard-bmg-8/igt@[email protected]
* igt@kms_chamelium_frames@dp-crc-single:
- shard-lnl: NOTRUN -> [SKIP][14] ([Intel XE#373]) +2 other tests skip
[14]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-166998v3/shard-lnl-3/igt@[email protected]
* igt@kms_chamelium_hpd@common-hpd-after-suspend:
- shard-bmg: NOTRUN -> [SKIP][15] ([Intel XE#2252]) +6 other tests skip
[15]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-166998v3/shard-bmg-5/igt@[email protected]
* igt@kms_content_protection@atomic-hdcp14:
- shard-bmg: NOTRUN -> [FAIL][16] ([Intel XE#1178] / [Intel XE#3304] / [Intel XE#7374]) +3 other tests fail
[16]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-166998v3/shard-bmg-5/igt@[email protected]
* igt@kms_content_protection@dp-mst-type-0-suspend-resume:
- shard-bmg: NOTRUN -> [SKIP][17] ([Intel XE#6974])
[17]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-166998v3/shard-bmg-8/igt@[email protected]
* igt@kms_content_protection@dp-mst-type-1:
- shard-bmg: NOTRUN -> [SKIP][18] ([Intel XE#2390] / [Intel XE#6974]) +1 other test skip
[18]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-166998v3/shard-bmg-1/igt@[email protected]
* igt@kms_cursor_crc@cursor-random-512x512:
- shard-bmg: NOTRUN -> [SKIP][19] ([Intel XE#2321] / [Intel XE#7355])
[19]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-166998v3/shard-bmg-1/igt@[email protected]
* igt@kms_cursor_crc@cursor-rapid-movement-64x21:
- shard-lnl: NOTRUN -> [SKIP][20] ([Intel XE#1424]) +1 other test skip
[20]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-166998v3/shard-lnl-3/igt@[email protected]
* igt@kms_cursor_crc@cursor-rapid-movement-max-size:
- shard-bmg: NOTRUN -> [SKIP][21] ([Intel XE#2320])
[21]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-166998v3/shard-bmg-8/igt@[email protected]
* igt@kms_cursor_legacy@cursorb-vs-flipb-atomic:
- shard-lnl: NOTRUN -> [SKIP][22] ([Intel XE#309] / [Intel XE#7343])
[22]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-166998v3/shard-lnl-3/igt@[email protected]
* igt@kms_dp_link_training@non-uhbr-mst:
- shard-bmg: NOTRUN -> [SKIP][23] ([Intel XE#4354] / [Intel XE#5882])
[23]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-166998v3/shard-bmg-8/igt@[email protected]
* igt@kms_dsc@dsc-fractional-bpp-bigjoiner:
- shard-bmg: NOTRUN -> [SKIP][24] ([Intel XE#8265]) +1 other test skip
[24]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-166998v3/shard-bmg-1/igt@[email protected]
* igt@kms_dsc@dsc-with-output-formats:
- shard-lnl: NOTRUN -> [SKIP][25] ([Intel XE#8265])
[25]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-166998v3/shard-lnl-3/igt@[email protected]
* igt@kms_flip@2x-wf_vblank-ts-check-interruptible:
- shard-lnl: NOTRUN -> [SKIP][26] ([Intel XE#1421])
[26]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-166998v3/shard-lnl-3/igt@kms_flip@2x-wf_vblank-ts-check-interruptible.html
* igt@kms_flip@flip-vs-expired-vblank@c-edp1:
- shard-lnl: [PASS][27] -> [FAIL][28] ([Intel XE#301] / [Intel XE#3149]) +2 other tests fail
[27]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-5344-cd2f56e2e0645a8a22ffbc83fdc922c5c4fe7bd7/shard-lnl-6/igt@kms_flip@[email protected]
[28]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-166998v3/shard-lnl-2/igt@kms_flip@[email protected]
* igt@kms_flip_scaled_crc@flip-32bpp-ytile-to-32bpp-ytilegen12rcccs-downscaling:
- shard-bmg: NOTRUN -> [SKIP][29] ([Intel XE#7178] / [Intel XE#7351]) +1 other test skip
[29]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-166998v3/shard-bmg-8/igt@kms_flip_scaled_crc@flip-32bpp-ytile-to-32bpp-ytilegen12rcccs-downscaling.html
* igt@kms_flip_scaled_crc@flip-32bpp-yuv-linear-to-32bpp-yuv-linear-reflect-x:
- shard-bmg: NOTRUN -> [SKIP][30] ([Intel XE#7179]) +1 other test skip
[30]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-166998v3/shard-bmg-5/igt@kms_flip_scaled_crc@flip-32bpp-yuv-linear-to-32bpp-yuv-linear-reflect-x.html
* igt@kms_frontbuffer_tracking@drrs-1p-primscrn-cur-indfb-draw-render:
- shard-lnl: NOTRUN -> [SKIP][31] ([Intel XE#6312] / [Intel XE#651]) +2 other tests skip
[31]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-166998v3/shard-lnl-3/igt@kms_frontbuffer_tracking@drrs-1p-primscrn-cur-indfb-draw-render.html
* igt@kms_frontbuffer_tracking@drrshdr-1p-offscreen-pri-indfb-draw-render:
- shard-lnl: NOTRUN -> [SKIP][32] ([Intel XE#6312]) +2 other tests skip
[32]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-166998v3/shard-lnl-3/igt@kms_frontbuffer_tracking@drrshdr-1p-offscreen-pri-indfb-draw-render.html
* igt@kms_frontbuffer_tracking@drrshdr-argb161616f-draw-blt:
- shard-bmg: NOTRUN -> [SKIP][33] ([Intel XE#7061]) +3 other tests skip
[33]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-166998v3/shard-bmg-1/igt@[email protected]
* igt@kms_frontbuffer_tracking@fbc-2p-primscrn-pri-indfb-draw-render:
- shard-lnl: NOTRUN -> [SKIP][34] ([Intel XE#656] / [Intel XE#7905]) +8 other tests skip
[34]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-166998v3/shard-lnl-3/igt@kms_frontbuffer_tracking@fbc-2p-primscrn-pri-indfb-draw-render.html
* igt@kms_frontbuffer_tracking@fbc-2p-scndscrn-cur-indfb-draw-render:
- shard-bmg: NOTRUN -> [SKIP][35] ([Intel XE#4141]) +9 other tests skip
[35]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-166998v3/shard-bmg-8/igt@kms_frontbuffer_tracking@fbc-2p-scndscrn-cur-indfb-draw-render.html
* igt@kms_frontbuffer_tracking@fbcdrrshdr-1p-primscrn-cur-indfb-draw-mmap-wc:
- shard-bmg: NOTRUN -> [SKIP][36] ([Intel XE#2311]) +33 other tests skip
[36]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-166998v3/shard-bmg-1/igt@kms_frontbuffer_tracking@fbcdrrshdr-1p-primscrn-cur-indfb-draw-mmap-wc.html
* igt@kms_frontbuffer_tracking@fbcdrrshdr-argb161616f-draw-render:
- shard-lnl: NOTRUN -> [SKIP][37] ([Intel XE#7061])
[37]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-166998v3/shard-lnl-3/igt@[email protected]
* igt@kms_frontbuffer_tracking@fbchdr-1p-offscreen-pri-shrfb-draw-mmap-wc:
- shard-lnl: NOTRUN -> [SKIP][38] ([Intel XE#7865]) +3 other tests skip
[38]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-166998v3/shard-lnl-3/igt@kms_frontbuffer_tracking@fbchdr-1p-offscreen-pri-shrfb-draw-mmap-wc.html
* igt@kms_frontbuffer_tracking@fbchdr-tiling-y:
- shard-lnl: NOTRUN -> [SKIP][39] ([Intel XE#7399])
[39]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-166998v3/shard-lnl-3/igt@[email protected]
* igt@kms_frontbuffer_tracking@fbcpsr-argb161616f-draw-render:
- shard-lnl: NOTRUN -> [SKIP][40] ([Intel XE#7061] / [Intel XE#7356])
[40]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-166998v3/shard-lnl-3/igt@[email protected]
* igt@kms_frontbuffer_tracking@fbcpsrhdr-tiling-y:
- shard-bmg: NOTRUN -> [SKIP][41] ([Intel XE#7399])
[41]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-166998v3/shard-bmg-5/igt@[email protected]
* igt@kms_frontbuffer_tracking@psr-abgr161616f-draw-blt:
- shard-bmg: NOTRUN -> [SKIP][42] ([Intel XE#7061] / [Intel XE#7356]) +2 other tests skip
[42]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-166998v3/shard-bmg-8/igt@[email protected]
* igt@kms_frontbuffer_tracking@psrhdr-1p-primscrn-pri-shrfb-draw-blt:
- shard-bmg: NOTRUN -> [SKIP][43] ([Intel XE#2313]) +42 other tests skip
[43]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-166998v3/shard-bmg-8/igt@kms_frontbuffer_tracking@psrhdr-1p-primscrn-pri-shrfb-draw-blt.html
* igt@kms_frontbuffer_tracking@psrhdr-2p-primscrn-pri-shrfb-draw-blt:
- shard-lnl: NOTRUN -> [SKIP][44] ([Intel XE#7905]) +6 other tests skip
[44]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-166998v3/shard-lnl-3/igt@kms_frontbuffer_tracking@psrhdr-2p-primscrn-pri-shrfb-draw-blt.html
* igt@kms_hdmi_inject@inject-audio:
- shard-bmg: NOTRUN -> [SKIP][45] ([Intel XE#7308])
[45]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-166998v3/shard-bmg-1/igt@[email protected]
* igt@kms_joiner@basic-max-non-joiner:
- shard-bmg: NOTRUN -> [SKIP][46] ([Intel XE#4298] / [Intel XE#5873])
[46]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-166998v3/shard-bmg-1/igt@[email protected]
* igt@kms_joiner@invalid-modeset-force-ultra-joiner:
- shard-bmg: NOTRUN -> [SKIP][47] ([Intel XE#6911] / [Intel XE#7466])
[47]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-166998v3/shard-bmg-5/igt@[email protected]
* igt@kms_joiner@invalid-modeset-ultra-joiner:
- shard-bmg: NOTRUN -> [SKIP][48] ([Intel XE#6911] / [Intel XE#7378])
[48]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-166998v3/shard-bmg-8/igt@[email protected]
* igt@kms_plane@pixel-format-4-tiled-mtl-mc-ccs-modifier:
- shard-bmg: NOTRUN -> [SKIP][49] ([Intel XE#7283]) +2 other tests skip
[49]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-166998v3/shard-bmg-1/igt@[email protected]
* igt@kms_plane@pixel-format-y-tiled-ccs-modifier:
- shard-lnl: NOTRUN -> [SKIP][50] ([Intel XE#7283])
[50]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-166998v3/shard-lnl-3/igt@[email protected]
* igt@kms_plane_multiple@2x-tiling-4:
- shard-lnl: NOTRUN -> [SKIP][51] ([Intel XE#4596] / [Intel XE#5854])
[51]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-166998v3/shard-lnl-3/igt@[email protected]
* igt@kms_plane_multiple@2x-tiling-yf:
- shard-bmg: NOTRUN -> [SKIP][52] ([Intel XE#5021] / [Intel XE#7377])
[52]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-166998v3/shard-bmg-1/igt@[email protected]
* igt@kms_pm_dc@dc3co-after-dc6:
- shard-bmg: NOTRUN -> [SKIP][53] ([Intel XE#8395]) +1 other test skip
[53]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-166998v3/shard-bmg-1/igt@[email protected]
* igt@kms_pm_dc@dc3co-after-dc6@psr2:
- shard-bmg: NOTRUN -> [SKIP][54] ([Intel XE#8396])
[54]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-166998v3/shard-bmg-1/igt@kms_pm_dc@[email protected]
* igt@kms_pm_lpsp@kms-lpsp:
- shard-bmg: NOTRUN -> [SKIP][55] ([Intel XE#2499])
[55]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-166998v3/shard-bmg-8/igt@[email protected]
* igt@kms_psr2_sf@fbc-pr-cursor-plane-move-continuous-exceed-sf:
- shard-lnl: NOTRUN -> [SKIP][56] ([Intel XE#2893] / [Intel XE#7304]) +1 other test skip
[56]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-166998v3/shard-lnl-3/igt@[email protected]
* igt@kms_psr2_sf@psr2-overlay-plane-move-continuous-exceed-fully-sf:
- shard-bmg: NOTRUN -> [SKIP][57] ([Intel XE#1489]) +3 other tests skip
[57]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-166998v3/shard-bmg-4/igt@kms_psr2_sf@psr2-overlay-plane-move-continuous-exceed-fully-sf.html
* igt@kms_psr@fbc-pr-sprite-plane-onoff:
- shard-lnl: NOTRUN -> [SKIP][58] ([Intel XE#1406])
[58]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-166998v3/shard-lnl-3/igt@[email protected]
* igt@kms_psr@psr-sprite-plane-move:
- shard-bmg: NOTRUN -> [SKIP][59] ([Intel XE#2234] / [Intel XE#2850]) +9 other tests skip
[59]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-166998v3/shard-bmg-5/igt@[email protected]
* igt@kms_psr@psr2-primary-render:
- shard-bmg: NOTRUN -> [SKIP][60] ([Intel XE#2234])
[60]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-166998v3/shard-bmg-8/igt@[email protected]
* igt@kms_rotation_crc@primary-yf-tiled-reflect-x-180:
- shard-bmg: NOTRUN -> [SKIP][61] ([Intel XE#2330] / [Intel XE#5813]) +1 other test skip
[61]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-166998v3/shard-bmg-8/igt@[email protected]
* igt@kms_rotation_crc@sprite-rotation-90-pos-100-0:
- shard-bmg: NOTRUN -> [SKIP][62] ([Intel XE#3904] / [Intel XE#7342])
[62]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-166998v3/shard-bmg-8/igt@[email protected]
* igt@kms_setmode@invalid-clone-single-crtc:
- shard-lnl: NOTRUN -> [SKIP][63] ([Intel XE#1435]) +1 other test skip
[63]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-166998v3/shard-lnl-3/igt@[email protected]
* igt@kms_sharpness_filter@filter-dpms:
- shard-bmg: NOTRUN -> [SKIP][64] ([Intel XE#6503])
[64]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-166998v3/shard-bmg-5/igt@[email protected]
* igt@kms_vrr@max-min:
- shard-bmg: NOTRUN -> [SKIP][65] ([Intel XE#1499])
[65]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-166998v3/shard-bmg-5/igt@[email protected]
* igt@xe_compute@ccs-mode-compute-kernel:
- shard-bmg: NOTRUN -> [SKIP][66] ([Intel XE#6599])
[66]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-166998v3/shard-bmg-5/igt@[email protected]
* igt@xe_eudebug@basic-read-event:
- shard-bmg: NOTRUN -> [SKIP][67] ([Intel XE#7636]) +7 other tests skip
[67]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-166998v3/shard-bmg-8/igt@[email protected]
* igt@xe_eudebug_online@stopped-thread:
- shard-lnl: NOTRUN -> [SKIP][68] ([Intel XE#7636]) +2 other tests skip
[68]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-166998v3/shard-lnl-3/igt@[email protected]
* igt@xe_evict@evict-beng-mixed-many-threads-small:
- shard-lnl: NOTRUN -> [SKIP][69] ([Intel XE#6540] / [Intel XE#688]) +2 other tests skip
[69]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-166998v3/shard-lnl-3/igt@[email protected]
* igt@xe_evict@evict-small-external-multi-queue:
- shard-bmg: NOTRUN -> [SKIP][70] ([Intel XE#8370]) +1 other test skip
[70]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-166998v3/shard-bmg-5/igt@[email protected]
* igt@xe_exec_balancer@many-virtual-userptr-rebind:
- shard-lnl: NOTRUN -> [SKIP][71] ([Intel XE#7482]) +1 other test skip
[71]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-166998v3/shard-lnl-3/igt@[email protected]
* igt@xe_exec_basic@multigpu-many-execqueues-many-vm-bindexecqueue-userptr:
- shard-lnl: NOTRUN -> [SKIP][72] ([Intel XE#1392]) +1 other test skip
[72]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-166998v3/shard-lnl-3/igt@xe_exec_basic@multigpu-many-execqueues-many-vm-bindexecqueue-userptr.html
* igt@xe_exec_basic@multigpu-many-execqueues-many-vm-bindexecqueue-userptr-invalidate:
- shard-bmg: NOTRUN -> [SKIP][73] ([Intel XE#2322] / [Intel XE#7372]) +4 other tests skip
[73]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-166998v3/shard-bmg-5/igt@xe_exec_basic@multigpu-many-execqueues-many-vm-bindexecqueue-userptr-invalidate.html
* igt@xe_exec_fault_mode@once-multi-queue-invalid-userptr-fault:
- shard-lnl: NOTRUN -> [SKIP][74] ([Intel XE#8374]) +3 other tests skip
[74]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-166998v3/shard-lnl-3/igt@[email protected]
* igt@xe_exec_fault_mode@twice-multi-queue-userptr-rebind-prefetch:
- shard-bmg: NOTRUN -> [SKIP][75] ([Intel XE#8374]) +4 other tests skip
[75]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-166998v3/shard-bmg-5/igt@xe_exec_fault_mode@twice-multi-queue-userptr-rebind-prefetch.html
* igt@xe_exec_multi_queue@max-queues-dyn-priority:
- shard-lnl: NOTRUN -> [SKIP][76] ([Intel XE#8364]) +4 other tests skip
[76]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-166998v3/shard-lnl-3/igt@[email protected]
* igt@xe_exec_multi_queue@two-queues-userptr:
- shard-bmg: NOTRUN -> [SKIP][77] ([Intel XE#8364]) +20 other tests skip
[77]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-166998v3/shard-bmg-1/igt@[email protected]
* igt@xe_exec_reset@multi-queue-cat-error-on-secondary:
- shard-bmg: NOTRUN -> [SKIP][78] ([Intel XE#8369])
[78]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-166998v3/shard-bmg-1/igt@[email protected]
* igt@xe_exec_system_allocator@twice-large-free-race:
- shard-bmg: NOTRUN -> [ABORT][79] ([Intel XE#8007])
[79]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-166998v3/shard-bmg-2/igt@[email protected]
- shard-lnl: NOTRUN -> [ABORT][80] ([Intel XE#8007])
[80]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-166998v3/shard-lnl-1/igt@[email protected]
* igt@xe_exec_threads@threads-multi-queue-cm-rebind:
- shard-lnl: NOTRUN -> [SKIP][81] ([Intel XE#8378]) +2 other tests skip
[81]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-166998v3/shard-lnl-3/igt@[email protected]
* igt@xe_exec_threads@threads-multi-queue-mixed-shared-vm-userptr-rebind:
- shard-bmg: NOTRUN -> [SKIP][82] ([Intel XE#8378]) +7 other tests skip
[82]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-166998v3/shard-bmg-5/igt@xe_exec_threads@threads-multi-queue-mixed-shared-vm-userptr-rebind.html
* igt@xe_fault_injection@exec-queue-create-fail-xe_pxp_exec_queue_add:
- shard-bmg: NOTRUN -> [SKIP][83] ([Intel XE#6281] / [Intel XE#7426])
[83]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-166998v3/shard-bmg-8/igt@xe_fault_injection@exec-queue-create-fail-xe_pxp_exec_queue_add.html
* igt@xe_live_ktest@xe_migrate@xe_validate_ccs_kunit:
- shard-lnl: NOTRUN -> [SKIP][84] ([Intel XE#2229])
[84]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-166998v3/shard-lnl-3/igt@xe_live_ktest@xe_migrate@xe_validate_ccs_kunit.html
* igt@xe_multigpu_svm@mgpu-atomic-op-basic:
- shard-lnl: NOTRUN -> [SKIP][85] ([Intel XE#6964])
[85]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-166998v3/shard-lnl-3/igt@[email protected]
* igt@xe_multigpu_svm@mgpu-pagefault-prefetch:
- shard-bmg: NOTRUN -> [SKIP][86] ([Intel XE#6964]) +2 other tests skip
[86]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-166998v3/shard-bmg-4/igt@[email protected]
* igt@xe_page_reclaim@invalid-1g:
- shard-lnl: NOTRUN -> [SKIP][87] ([Intel XE#7793])
[87]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-166998v3/shard-lnl-3/igt@[email protected]
* igt@xe_pat@xa-app-transient-media-off:
- shard-bmg: NOTRUN -> [SKIP][88] ([Intel XE#7590])
[88]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-166998v3/shard-bmg-5/igt@[email protected]
* igt@xe_pm@d3cold-multiple-execs:
- shard-lnl: NOTRUN -> [SKIP][89] ([Intel XE#2284] / [Intel XE#366] / [Intel XE#7370])
[89]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-166998v3/shard-lnl-3/igt@[email protected]
* igt@xe_pm@s4-d3cold-basic-exec:
- shard-bmg: NOTRUN -> [SKIP][90] ([Intel XE#2284] / [Intel XE#7370]) +1 other test skip
[90]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-166998v3/shard-bmg-5/igt@[email protected]
* igt@xe_pmu@engine-activity-accuracy-50@engine-drm_xe_engine_class_copy0:
- shard-bmg: [PASS][91] -> [FAIL][92] ([Intel XE#8555])
[91]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-5344-cd2f56e2e0645a8a22ffbc83fdc922c5c4fe7bd7/shard-bmg-6/igt@xe_pmu@engine-activity-accuracy-50@engine-drm_xe_engine_class_copy0.html
[92]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-166998v3/shard-bmg-7/igt@xe_pmu@engine-activity-accuracy-50@engine-drm_xe_engine_class_copy0.html
* igt@xe_pmu@engine-activity-accuracy-50@engine-drm_xe_engine_class_render0:
- shard-bmg: [PASS][93] -> [FAIL][94] ([Intel XE#8554])
[93]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-5344-cd2f56e2e0645a8a22ffbc83fdc922c5c4fe7bd7/shard-bmg-6/igt@xe_pmu@engine-activity-accuracy-50@engine-drm_xe_engine_class_render0.html
[94]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-166998v3/shard-bmg-7/igt@xe_pmu@engine-activity-accuracy-50@engine-drm_xe_engine_class_render0.html
* igt@xe_pxp@pxp-termination-key-update-post-suspend:
- shard-bmg: NOTRUN -> [SKIP][95] ([Intel XE#4733] / [Intel XE#7417]) +2 other tests skip
[95]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-166998v3/shard-bmg-8/igt@[email protected]
* igt@xe_query@multigpu-query-uc-fw-version-huc:
- shard-bmg: NOTRUN -> [SKIP][96] ([Intel XE#944]) +1 other test skip
[96]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-166998v3/shard-bmg-5/igt@[email protected]
* igt@xe_sriov_admin@bulk-exec-quantum-vfs-disabled:
- shard-lnl: NOTRUN -> [SKIP][97] ([Intel XE#7174])
[97]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-166998v3/shard-lnl-3/igt@[email protected]
* igt@xe_survivability@runtime-survivability:
- shard-lnl: NOTRUN -> [SKIP][98] ([Intel XE#8415])
[98]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-166998v3/shard-lnl-3/igt@[email protected]
* igt@xe_wedged@basic-wedged-read:
- shard-bmg: [PASS][99] -> [ABORT][100] ([Intel XE#8007])
[99]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-5344-cd2f56e2e0645a8a22ffbc83fdc922c5c4fe7bd7/shard-bmg-4/igt@[email protected]
[100]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-166998v3/shard-bmg-3/igt@[email protected]
#### Possible fixes ####
* igt@kms_async_flips@alternate-sync-async-flip:
- shard-lnl: [FAIL][101] ([Intel XE#3718] / [Intel XE#7265]) -> [PASS][102] +1 other test pass
[101]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-5344-cd2f56e2e0645a8a22ffbc83fdc922c5c4fe7bd7/shard-lnl-7/igt@[email protected]
[102]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-166998v3/shard-lnl-7/igt@[email protected]
* igt@kms_color@ctm-0-75:
- shard-bmg: [INCOMPLETE][103] ([Intel XE#8561]) -> [PASS][104] +1 other test pass
[103]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-5344-cd2f56e2e0645a8a22ffbc83fdc922c5c4fe7bd7/shard-bmg-5/igt@[email protected]
[104]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-166998v3/shard-bmg-4/igt@[email protected]
* igt@kms_cursor_legacy@flip-vs-cursor-atomic:
- shard-bmg: [FAIL][105] ([Intel XE#7571]) -> [PASS][106]
[105]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-5344-cd2f56e2e0645a8a22ffbc83fdc922c5c4fe7bd7/shard-bmg-6/igt@[email protected]
[106]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-166998v3/shard-bmg-7/igt@[email protected]
* igt@kms_flip@flip-vs-expired-vblank:
- shard-bmg: [FAIL][107] ([Intel XE#3321]) -> [PASS][108] +1 other test pass
[107]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-5344-cd2f56e2e0645a8a22ffbc83fdc922c5c4fe7bd7/shard-bmg-9/igt@[email protected]
[108]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-166998v3/shard-bmg-4/igt@[email protected]
* igt@kms_flip@flip-vs-expired-vblank@b-edp1:
- shard-lnl: [FAIL][109] ([Intel XE#301]) -> [PASS][110]
[109]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-5344-cd2f56e2e0645a8a22ffbc83fdc922c5c4fe7bd7/shard-lnl-6/igt@kms_flip@[email protected]
[110]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-166998v3/shard-lnl-2/igt@kms_flip@[email protected]
* igt@xe_evict@evict-mixed-many-threads-small:
- shard-bmg: [INCOMPLETE][111] ([Intel XE#6321] / [Intel XE#8355]) -> [PASS][112] +1 other test pass
[111]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-5344-cd2f56e2e0645a8a22ffbc83fdc922c5c4fe7bd7/shard-bmg-6/igt@[email protected]
[112]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-166998v3/shard-bmg-8/igt@[email protected]
* igt@xe_fault_injection@inject-fault-probe-function-xe_guc_ct_init:
- shard-bmg: [ABORT][113] ([Intel XE#8007]) -> [PASS][114] +3 other tests pass
[113]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-5344-cd2f56e2e0645a8a22ffbc83fdc922c5c4fe7bd7/shard-bmg-5/igt@xe_fault_injection@inject-fault-probe-function-xe_guc_ct_init.html
[114]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-166998v3/shard-bmg-1/igt@xe_fault_injection@inject-fault-probe-function-xe_guc_ct_init.html
* igt@xe_wedged@wedged-mode-toggle:
- shard-lnl: [ABORT][115] ([Intel XE#8007]) -> [PASS][116]
[115]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-5344-cd2f56e2e0645a8a22ffbc83fdc922c5c4fe7bd7/shard-lnl-8/igt@[email protected]
[116]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-166998v3/shard-lnl-1/igt@[email protected]
#### Warnings ####
* igt@kms_flip@flip-vs-expired-vblank:
- shard-lnl: [FAIL][117] ([Intel XE#301]) -> [FAIL][118] ([Intel XE#301] / [Intel XE#3149])
[117]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-5344-cd2f56e2e0645a8a22ffbc83fdc922c5c4fe7bd7/shard-lnl-6/igt@[email protected]
[118]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-166998v3/shard-lnl-2/igt@[email protected]
* igt@kms_tiled_display@basic-test-pattern:
- shard-bmg: [FAIL][119] ([Intel XE#1729] / [Intel XE#7424]) -> [SKIP][120] ([Intel XE#2426] / [Intel XE#5848])
[119]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-5344-cd2f56e2e0645a8a22ffbc83fdc922c5c4fe7bd7/shard-bmg-10/igt@[email protected]
[120]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-166998v3/shard-bmg-7/igt@[email protected]
* igt@kms_tiled_display@basic-test-pattern-with-chamelium:
- shard-bmg: [SKIP][121] ([Intel XE#2426] / [Intel XE#5848]) -> [SKIP][122] ([Intel XE#2509] / [Intel XE#7437])
[121]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-5344-cd2f56e2e0645a8a22ffbc83fdc922c5c4fe7bd7/shard-bmg-9/igt@[email protected]
[122]: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-166998v3/shard-bmg-10/igt@[email protected]
[Intel XE#1124]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/1124
[Intel XE#1178]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/1178
[Intel XE#1392]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/1392
[Intel XE#1406]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/1406
[Intel XE#1407]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/1407
[Intel XE#1421]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/1421
[Intel XE#1424]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/1424
[Intel XE#1435]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/1435
[Intel XE#1489]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/1489
[Intel XE#1499]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/1499
[Intel XE#1729]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/1729
[Intel XE#2229]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/2229
[Intel XE#2234]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/2234
[Intel XE#2252]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/2252
[Intel XE#2284]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/2284
[Intel XE#2311]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/2311
[Intel XE#2313]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/2313
[Intel XE#2320]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/2320
[Intel XE#2321]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/2321
[Intel XE#2322]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/2322
[Intel XE#2325]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/2325
[Intel XE#2327]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/2327
[Intel XE#2330]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/2330
[Intel XE#2390]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/2390
[Intel XE#2426]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/2426
[Intel XE#2499]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/2499
[Intel XE#2509]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/2509
[Intel XE#2652]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/2652
[Intel XE#2724]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/2724
[Intel XE#2850]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/2850
[Intel XE#2887]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/2887
[Intel XE#2893]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/2893
[Intel XE#301]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/301
[Intel XE#309]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/309
[Intel XE#3149]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/3149
[Intel XE#3304]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/3304
[Intel XE#3321]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/3321
[Intel XE#3432]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/3432
[Intel XE#366]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/366
[Intel XE#367]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/367
[Intel XE#3718]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/3718
[Intel XE#373]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/373
[Intel XE#3904]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/3904
[Intel XE#4141]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/4141
[Intel XE#4298]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/4298
[Intel XE#4354]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/4354
[Intel XE#4596]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/4596
[Intel XE#4733]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/4733
[Intel XE#5021]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/5021
[Intel XE#5813]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/5813
[Intel XE#5848]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/5848
[Intel XE#5854]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/5854
[Intel XE#5873]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/5873
[Intel XE#5882]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/5882
[Intel XE#6281]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/6281
[Intel XE#6312]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/6312
[Intel XE#6321]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/6321
[Intel XE#6503]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/6503
[Intel XE#651]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/651
[Intel XE#6540]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/6540
[Intel XE#656]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/656
[Intel XE#6599]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/6599
[Intel XE#688]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/688
[Intel XE#6911]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/6911
[Intel XE#6964]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/6964
[Intel XE#6974]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/6974
[Intel XE#7061]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/7061
[Intel XE#7174]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/7174
[Intel XE#7178]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/7178
[Intel XE#7179]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/7179
[Intel XE#7265]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/7265
[Intel XE#7283]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/7283
[Intel XE#7304]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/7304
[Intel XE#7308]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/7308
[Intel XE#7342]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/7342
[Intel XE#7343]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/7343
[Intel XE#7351]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/7351
[Intel XE#7355]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/7355
[Intel XE#7356]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/7356
[Intel XE#7358]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/7358
[Intel XE#7370]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/7370
[Intel XE#7372]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/7372
[Intel XE#7374]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/7374
[Intel XE#7377]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/7377
[Intel XE#7378]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/7378
[Intel XE#7399]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/7399
[Intel XE#7417]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/7417
[Intel XE#7424]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/7424
[Intel XE#7426]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/7426
[Intel XE#7437]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/7437
[Intel XE#7449]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/7449
[Intel XE#7466]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/7466
[Intel XE#7482]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/7482
[Intel XE#7571]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/7571
[Intel XE#7590]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/7590
[Intel XE#7636]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/7636
[Intel XE#7679]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/7679
[Intel XE#7793]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/7793
[Intel XE#7865]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/7865
[Intel XE#7905]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/7905
[Intel XE#8007]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/8007
[Intel XE#8265]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/8265
[Intel XE#8355]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/8355
[Intel XE#8364]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/8364
[Intel XE#8365]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/8365
[Intel XE#8369]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/8369
[Intel XE#8370]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/8370
[Intel XE#8374]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/8374
[Intel XE#8378]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/8378
[Intel XE#8395]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/8395
[Intel XE#8396]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/8396
[Intel XE#8415]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/8415
[Intel XE#8554]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/8554
[Intel XE#8555]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/8555
[Intel XE#8561]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/8561
[Intel XE#944]: https://gitlab.freedesktop.org/drm/xe/kernel/issues/944
Build changes
-------------
* Linux: xe-5344-cd2f56e2e0645a8a22ffbc83fdc922c5c4fe7bd7 -> xe-pw-166998v3
IGT_8990: 8990
xe-5344-cd2f56e2e0645a8a22ffbc83fdc922c5c4fe7bd7: cd2f56e2e0645a8a22ffbc83fdc922c5c4fe7bd7
xe-pw-166998v3: 166998v3
== Logs ==
For more details see: https://intel-gfx-ci.01.org/tree/intel-xe/xe-pw-166998v3/index.html
Greg Kroah-Hartman
maintainerQuoted 25 lines · Bartosz Golaszewski
Platform device core provides helper interfaces for dealing with dynamically created platform devices. Most users should use
platform_device_register_full()which encapsulates most of the operations but some modules will want to use the split approach of callingplatform_device_alloc()+platform_device_add()separately for various reasons.With many platform devices now using dynamic software nodes as their primary firmware nodes and with the platform device interface being extended to also better cover the use-cases of secondary software nodes, I believe it makes sense to switch to counting the references of all kinds of firmware nodes.
To that end, I identified all users of
platform_device_alloc()that also assign dev.of_node or dev.fwnode manually. I noticed five cases where the references are not increased as they should (patches 1-5 fix these users) and provided three new functions inplatform_device.hthat now become the preferred interfaces for assigning firmware nodes to dynamic platform devices (in line withplatform_device_add_data(),platform_device_add_resources(), etc.). The bulk of the patches in this series are small driver conversions to port all users to going through the new functions that now encapsulate the refcount logic. With that done, the final patch seamlessly switches to counting the references of all firmware node types.
Quoted 7 lines
This effort is prerequisite of removing
platform_device_release_full()and unifying the release path for dynamic platform devices using unmanaged software nodes.Merging strategy: The entire series should go through the driver core tree, possibly with an immutable branch provided to solve any potential conflicts though these are rather unlikely.
I've added this to the driver-core-testing branch now, thanks!
greg k-h