Stable Archive on lore.kernel.org
 help / color / Atom feed
* [PATCH v1] driver core: Fix memory leak when adding SYNC_STATE_ONLY device links
@ 2020-05-16  8:07 Saravana Kannan
  2020-05-18  7:48 ` Saravana Kannan
  0 siblings, 1 reply; 19+ messages in thread
From: Saravana Kannan @ 2020-05-16  8:07 UTC (permalink / raw)
  To: Greg Kroah-Hartman, Rafael J. Wysocki, Saravana Kannan
  Cc: stable, kernel-team, linux-kernel

When SYNC_STATE_ONLY support was added in commit 05ef983e0d65 ("driver
core: Add device link support for SYNC_STATE_ONLY flag"),
device_link_add() incorrectly skipped adding the new SYNC_STATE_ONLY
device link to the supplier's and consumer's "device link" list. So the
"device link" is lost forever from driver core if the caller didn't keep
track of it (typically isn't expected to).

If the same SYNC_STATE_ONLY device link is created again using
device_link_add(), instead of returning the pointer to the previously
created device link, a new device link is created and returned. This can
cause memory leaks in conjunction with fw_devlinks.

Cc: stable@vger.kernel.org
Fixes: 05ef983e0d65 ("driver core: Add device link support for SYNC_STATE_ONLY flag")
Signed-off-by: Saravana Kannan <saravanak@google.com>
---
 drivers/base/core.c | 9 +++++----
 1 file changed, 5 insertions(+), 4 deletions(-)

diff --git a/drivers/base/core.c b/drivers/base/core.c
index 84c569726d75..d36e9289b2df 100644
--- a/drivers/base/core.c
+++ b/drivers/base/core.c
@@ -436,12 +436,16 @@ struct device_link *device_link_add(struct device *consumer,
 	    flags & DL_FLAG_PM_RUNTIME)
 		pm_runtime_resume(supplier);
 
+	list_add_tail_rcu(&link->s_node, &supplier->links.consumers);
+	list_add_tail_rcu(&link->c_node, &consumer->links.suppliers);
+
 	if (flags & DL_FLAG_SYNC_STATE_ONLY) {
 		dev_dbg(consumer,
 			"Linked as a sync state only consumer to %s\n",
 			dev_name(supplier));
 		goto out;
 	}
+
 reorder:
 	/*
 	 * Move the consumer and all of the devices depending on it to the end
@@ -452,12 +456,9 @@ struct device_link *device_link_add(struct device *consumer,
 	 */
 	device_reorder_to_tail(consumer, NULL);
 
-	list_add_tail_rcu(&link->s_node, &supplier->links.consumers);
-	list_add_tail_rcu(&link->c_node, &consumer->links.suppliers);
-
 	dev_dbg(consumer, "Linked as a consumer to %s\n", dev_name(supplier));
 
- out:
+out:
 	device_pm_unlock();
 	device_links_write_unlock();
 
-- 
2.26.2.761.g0e0b3e54be-goog


^ permalink raw reply	[flat|nested] 19+ messages in thread

* Re: [PATCH v1] driver core: Fix memory leak when adding SYNC_STATE_ONLY device links
  2020-05-16  8:07 [PATCH v1] driver core: Fix memory leak when adding SYNC_STATE_ONLY device links Saravana Kannan
@ 2020-05-18  7:48 ` Saravana Kannan
  2020-05-18  8:03   ` Greg Kroah-Hartman
  0 siblings, 1 reply; 19+ messages in thread
From: Saravana Kannan @ 2020-05-18  7:48 UTC (permalink / raw)
  To: Greg Kroah-Hartman, Rafael J. Wysocki, Saravana Kannan
  Cc: stable, Android Kernel Team, LKML

On Sat, May 16, 2020 at 1:07 AM Saravana Kannan <saravanak@google.com> wrote:
>
> When SYNC_STATE_ONLY support was added in commit 05ef983e0d65 ("driver
> core: Add device link support for SYNC_STATE_ONLY flag"),
> device_link_add() incorrectly skipped adding the new SYNC_STATE_ONLY
> device link to the supplier's and consumer's "device link" list. So the
> "device link" is lost forever from driver core if the caller didn't keep
> track of it (typically isn't expected to).
>
> If the same SYNC_STATE_ONLY device link is created again using
> device_link_add(), instead of returning the pointer to the previously
> created device link, a new device link is created and returned. This can
> cause memory leaks in conjunction with fw_devlinks.
>
> Cc: stable@vger.kernel.org
> Fixes: 05ef983e0d65 ("driver core: Add device link support for SYNC_STATE_ONLY flag")
> Signed-off-by: Saravana Kannan <saravanak@google.com>

Greg/Rafael,

This patch causes a warning for SYNC_STATE_ONLY links because they
allow consumers to probe before suppliers but the device link
status/state change code wasn't written with that possibility in mind.
So I need to fix up that warning or state change code.

Depending on how urgent you think memory leak fixes are, you can take
it as is for now and I can send a separate patch to fix the
warning/state change code later. Or if we can sit on this memory leak
for a week, I might be able to fix the warning before then.

Thanks,
Saravana

^ permalink raw reply	[flat|nested] 19+ messages in thread

* Re: [PATCH v1] driver core: Fix memory leak when adding SYNC_STATE_ONLY device links
  2020-05-18  7:48 ` Saravana Kannan
@ 2020-05-18  8:03   ` Greg Kroah-Hartman
  2020-05-18 19:47     ` Saravana Kannan
                       ` (2 more replies)
  0 siblings, 3 replies; 19+ messages in thread
From: Greg Kroah-Hartman @ 2020-05-18  8:03 UTC (permalink / raw)
  To: Saravana Kannan; +Cc: Rafael J. Wysocki, stable, Android Kernel Team, LKML

On Mon, May 18, 2020 at 12:48:42AM -0700, Saravana Kannan wrote:
> On Sat, May 16, 2020 at 1:07 AM Saravana Kannan <saravanak@google.com> wrote:
> >
> > When SYNC_STATE_ONLY support was added in commit 05ef983e0d65 ("driver
> > core: Add device link support for SYNC_STATE_ONLY flag"),
> > device_link_add() incorrectly skipped adding the new SYNC_STATE_ONLY
> > device link to the supplier's and consumer's "device link" list. So the
> > "device link" is lost forever from driver core if the caller didn't keep
> > track of it (typically isn't expected to).
> >
> > If the same SYNC_STATE_ONLY device link is created again using
> > device_link_add(), instead of returning the pointer to the previously
> > created device link, a new device link is created and returned. This can
> > cause memory leaks in conjunction with fw_devlinks.
> >
> > Cc: stable@vger.kernel.org
> > Fixes: 05ef983e0d65 ("driver core: Add device link support for SYNC_STATE_ONLY flag")
> > Signed-off-by: Saravana Kannan <saravanak@google.com>
> 
> Greg/Rafael,
> 
> This patch causes a warning for SYNC_STATE_ONLY links because they
> allow consumers to probe before suppliers but the device link
> status/state change code wasn't written with that possibility in mind.
> So I need to fix up that warning or state change code.

What type of warning happens?

> Depending on how urgent you think memory leak fixes are, you can take
> it as is for now and I can send a separate patch to fix the
> warning/state change code later. Or if we can sit on this memory leak
> for a week, I might be able to fix the warning before then.

memory leaks are not ok, but neither is adding runtime warnings.  Any
chance we can't just get a fix for both?  :)

thanks,

greg k-h

^ permalink raw reply	[flat|nested] 19+ messages in thread

* Re: [PATCH v1] driver core: Fix memory leak when adding SYNC_STATE_ONLY device links
  2020-05-18  8:03   ` Greg Kroah-Hartman
@ 2020-05-18 19:47     ` Saravana Kannan
  2020-05-19  3:00     ` [PATCH v2] driver core: Fix SYNC_STATE_ONLY device link implementation Saravana Kannan
  2020-05-19  6:30     ` [PATCH v3] " Saravana Kannan
  2 siblings, 0 replies; 19+ messages in thread
From: Saravana Kannan @ 2020-05-18 19:47 UTC (permalink / raw)
  To: Greg Kroah-Hartman; +Cc: Rafael J. Wysocki, stable, Android Kernel Team, LKML

On Mon, May 18, 2020 at 1:03 AM Greg Kroah-Hartman
<gregkh@linuxfoundation.org> wrote:
>
> On Mon, May 18, 2020 at 12:48:42AM -0700, Saravana Kannan wrote:
> > On Sat, May 16, 2020 at 1:07 AM Saravana Kannan <saravanak@google.com> wrote:
> > >
> > > When SYNC_STATE_ONLY support was added in commit 05ef983e0d65 ("driver
> > > core: Add device link support for SYNC_STATE_ONLY flag"),
> > > device_link_add() incorrectly skipped adding the new SYNC_STATE_ONLY
> > > device link to the supplier's and consumer's "device link" list. So the
> > > "device link" is lost forever from driver core if the caller didn't keep
> > > track of it (typically isn't expected to).
> > >
> > > If the same SYNC_STATE_ONLY device link is created again using
> > > device_link_add(), instead of returning the pointer to the previously
> > > created device link, a new device link is created and returned. This can
> > > cause memory leaks in conjunction with fw_devlinks.
> > >
> > > Cc: stable@vger.kernel.org
> > > Fixes: 05ef983e0d65 ("driver core: Add device link support for SYNC_STATE_ONLY flag")
> > > Signed-off-by: Saravana Kannan <saravanak@google.com>
> >
> > Greg/Rafael,
> >
> > This patch causes a warning for SYNC_STATE_ONLY links because they
> > allow consumers to probe before suppliers but the device link
> > status/state change code wasn't written with that possibility in mind.
> > So I need to fix up that warning or state change code.
>
> What type of warning happens?

The WARN_ON(link->status != DL_STATE_CONSUMER_PROBE); inside
device_links_driver_bound().

>
> > Depending on how urgent you think memory leak fixes are, you can take
> > it as is for now and I can send a separate patch to fix the
> > warning/state change code later. Or if we can sit on this memory leak
> > for a week, I might be able to fix the warning before then.
>
> memory leaks are not ok, but neither is adding runtime warnings.  Any
> chance we can't just get a fix for both?  :)

Don't pick up this patch. I think I have a fix that fixes the memory
leak without warnings that also coincidentally frees up some memory.
Testing it.

-Saravana

^ permalink raw reply	[flat|nested] 19+ messages in thread

* [PATCH v2] driver core: Fix SYNC_STATE_ONLY device link implementation
  2020-05-18  8:03   ` Greg Kroah-Hartman
  2020-05-18 19:47     ` Saravana Kannan
@ 2020-05-19  3:00     ` Saravana Kannan
  2020-05-19  5:48       ` Greg Kroah-Hartman
  2020-05-19  6:30     ` [PATCH v3] " Saravana Kannan
  2 siblings, 1 reply; 19+ messages in thread
From: Saravana Kannan @ 2020-05-19  3:00 UTC (permalink / raw)
  To: Greg Kroah-Hartman, Rafael J. Wysocki, Saravana Kannan
  Cc: stable, kernel-team, linux-kernel

When SYNC_STATE_ONLY support was added in commit 05ef983e0d65 ("driver
core: Add device link support for SYNC_STATE_ONLY flag"),
device_link_add() incorrectly skipped adding the new SYNC_STATE_ONLY
device link to the supplier's and consumer's "device link" list.

This causes multiple issues:
- The device link is lost forever from driver core if the caller
  didn't keep track of it (caller typically isn't expected to). This is
  a memory leak.
- The device link is also never visible to any other code path after
  device_link_add() returns.

If we fix the "device link" list handling, that exposes a bunch of
issues.

1. The device link "status" state management code rightfully doesn't
handle the case where a DL_FLAG_MANAGED device link exists between a
supplier and consumer, but the consumer manages to probe successfully
before the supplier. The addition of DL_FLAG_SYNC_STATE_ONLY links break
this assumption. This causes device_links_driver_bound() to throw a
warning when this happens.

Since DL_FLAG_SYNC_STATE_ONLY device links are mainly used for creating
proxy device links for child device dependencies and aren't useful once
the consumer device probes successfully, this patch just deletes
DL_FLAG_SYNC_STATE_ONLY device links once its consumer device probes.
This way, we avoid the warning, free up some memory and avoid
complicating the device links "status" state management code.

2. Creating a DL_FLAG_STATELESS device link between two devices that
already have a DL_FLAG_SYNC_STATE_ONLY device link will result in the
DL_FLAG_STATELESS flag not getting set correctly. This patch also fixes
this.

Lastly, this patch also fixes minor whitespace issues.

Cc: stable@vger.kernel.org
Fixes: 05ef983e0d65 ("driver core: Add device link support for SYNC_STATE_ONLY flag")
Signed-off-by: Saravana Kannan <saravanak@google.com>
---
 drivers/base/core.c | 61 +++++++++++++++++++++++++++++----------------
 1 file changed, 39 insertions(+), 22 deletions(-)

diff --git a/drivers/base/core.c b/drivers/base/core.c
index 84c569726d75..f804e561e0a2 100644
--- a/drivers/base/core.c
+++ b/drivers/base/core.c
@@ -363,13 +363,12 @@ struct device_link *device_link_add(struct device *consumer,
 
 		if (flags & DL_FLAG_STATELESS) {
 			kref_get(&link->kref);
+			link->flags |= DL_FLAG_STATELESS;
 			if (link->flags & DL_FLAG_SYNC_STATE_ONLY &&
-			    !(link->flags & DL_FLAG_STATELESS)) {
-				link->flags |= DL_FLAG_STATELESS;
+			    !(link->flags & DL_FLAG_STATELESS))
 				goto reorder;
-			} else {
+			else
 				goto out;
-			}
 		}
 
 		/*
@@ -436,12 +435,16 @@ struct device_link *device_link_add(struct device *consumer,
 	    flags & DL_FLAG_PM_RUNTIME)
 		pm_runtime_resume(supplier);
 
+	list_add_tail_rcu(&link->s_node, &supplier->links.consumers);
+	list_add_tail_rcu(&link->c_node, &consumer->links.suppliers);
+
 	if (flags & DL_FLAG_SYNC_STATE_ONLY) {
 		dev_dbg(consumer,
 			"Linked as a sync state only consumer to %s\n",
 			dev_name(supplier));
 		goto out;
 	}
+
 reorder:
 	/*
 	 * Move the consumer and all of the devices depending on it to the end
@@ -452,12 +455,9 @@ struct device_link *device_link_add(struct device *consumer,
 	 */
 	device_reorder_to_tail(consumer, NULL);
 
-	list_add_tail_rcu(&link->s_node, &supplier->links.consumers);
-	list_add_tail_rcu(&link->c_node, &consumer->links.suppliers);
-
 	dev_dbg(consumer, "Linked as a consumer to %s\n", dev_name(supplier));
 
- out:
+out:
 	device_pm_unlock();
 	device_links_write_unlock();
 
@@ -832,6 +832,13 @@ static void __device_links_supplier_defer_sync(struct device *sup)
 		list_add_tail(&sup->links.defer_sync, &deferred_sync);
 }
 
+static void device_link_drop_managed(struct device_link *link)
+{
+	link->flags &= ~DL_FLAG_MANAGED;
+	WRITE_ONCE(link->status, DL_STATE_NONE);
+	kref_put(&link->kref, __device_link_del);
+}
+
 /**
  * device_links_driver_bound - Update device links after probing its driver.
  * @dev: Device to update the links for.
@@ -845,7 +852,7 @@ static void __device_links_supplier_defer_sync(struct device *sup)
  */
 void device_links_driver_bound(struct device *dev)
 {
-	struct device_link *link;
+	struct device_link *link, *ln;
 	LIST_HEAD(sync_list);
 
 	/*
@@ -885,18 +892,35 @@ void device_links_driver_bound(struct device *dev)
 	else
 		__device_links_queue_sync_state(dev, &sync_list);
 
-	list_for_each_entry(link, &dev->links.suppliers, c_node) {
+	list_for_each_entry_safe(link, ln, &dev->links.suppliers, c_node) {
+		struct device *supplier;
+
 		if (!(link->flags & DL_FLAG_MANAGED))
 			continue;
 
-		WARN_ON(link->status != DL_STATE_CONSUMER_PROBE);
-		WRITE_ONCE(link->status, DL_STATE_ACTIVE);
+		supplier = link->supplier;
+		if (link->flags & DL_FLAG_SYNC_STATE_ONLY) {
+			/*
+			 * When DL_FLAG_SYNC_STATE_ONLY is set, it means no
+			 * other DL_MANAGED_LINK_FLAGS have been set. So, it's
+			 * save to drop the managed link completely.
+			 */
+			device_link_drop_managed(link);
+		} else {
+			WARN_ON(link->status != DL_STATE_CONSUMER_PROBE);
+			WRITE_ONCE(link->status, DL_STATE_ACTIVE);
+		}
 
+		/*
+		 * This needs to be done even for the deleted
+		 * DL_FLAG_SYNC_STATE_ONLY device link in case it was the last
+		 * device link that was preventing the supplier from getting a
+		 * sync_state() call.
+		 */
 		if (defer_sync_state_count)
-			__device_links_supplier_defer_sync(link->supplier);
+			__device_links_supplier_defer_sync(supplier);
 		else
-			__device_links_queue_sync_state(link->supplier,
-							&sync_list);
+			__device_links_queue_sync_state(supplier, &sync_list);
 	}
 
 	dev->links.status = DL_DEV_DRIVER_BOUND;
@@ -906,13 +930,6 @@ void device_links_driver_bound(struct device *dev)
 	device_links_flush_sync_list(&sync_list, dev);
 }
 
-static void device_link_drop_managed(struct device_link *link)
-{
-	link->flags &= ~DL_FLAG_MANAGED;
-	WRITE_ONCE(link->status, DL_STATE_NONE);
-	kref_put(&link->kref, __device_link_del);
-}
-
 /**
  * __device_links_no_driver - Update links of a device without a driver.
  * @dev: Device without a drvier.
-- 
2.26.2.761.g0e0b3e54be-goog


^ permalink raw reply	[flat|nested] 19+ messages in thread

* Re: [PATCH v2] driver core: Fix SYNC_STATE_ONLY device link implementation
  2020-05-19  3:00     ` [PATCH v2] driver core: Fix SYNC_STATE_ONLY device link implementation Saravana Kannan
@ 2020-05-19  5:48       ` Greg Kroah-Hartman
  0 siblings, 0 replies; 19+ messages in thread
From: Greg Kroah-Hartman @ 2020-05-19  5:48 UTC (permalink / raw)
  To: Saravana Kannan; +Cc: Rafael J. Wysocki, stable, kernel-team, linux-kernel

On Mon, May 18, 2020 at 08:00:25PM -0700, Saravana Kannan wrote:
> When SYNC_STATE_ONLY support was added in commit 05ef983e0d65 ("driver
> core: Add device link support for SYNC_STATE_ONLY flag"),
> device_link_add() incorrectly skipped adding the new SYNC_STATE_ONLY
> device link to the supplier's and consumer's "device link" list.
> 
> This causes multiple issues:
> - The device link is lost forever from driver core if the caller
>   didn't keep track of it (caller typically isn't expected to). This is
>   a memory leak.
> - The device link is also never visible to any other code path after
>   device_link_add() returns.
> 
> If we fix the "device link" list handling, that exposes a bunch of
> issues.
> 
> 1. The device link "status" state management code rightfully doesn't
> handle the case where a DL_FLAG_MANAGED device link exists between a
> supplier and consumer, but the consumer manages to probe successfully
> before the supplier. The addition of DL_FLAG_SYNC_STATE_ONLY links break
> this assumption. This causes device_links_driver_bound() to throw a
> warning when this happens.
> 
> Since DL_FLAG_SYNC_STATE_ONLY device links are mainly used for creating
> proxy device links for child device dependencies and aren't useful once
> the consumer device probes successfully, this patch just deletes
> DL_FLAG_SYNC_STATE_ONLY device links once its consumer device probes.
> This way, we avoid the warning, free up some memory and avoid
> complicating the device links "status" state management code.
> 
> 2. Creating a DL_FLAG_STATELESS device link between two devices that
> already have a DL_FLAG_SYNC_STATE_ONLY device link will result in the
> DL_FLAG_STATELESS flag not getting set correctly. This patch also fixes
> this.
> 
> Lastly, this patch also fixes minor whitespace issues.
> 
> Cc: stable@vger.kernel.org
> Fixes: 05ef983e0d65 ("driver core: Add device link support for SYNC_STATE_ONLY flag")
> Signed-off-by: Saravana Kannan <saravanak@google.com>
> ---
>  drivers/base/core.c | 61 +++++++++++++++++++++++++++++----------------
>  1 file changed, 39 insertions(+), 22 deletions(-)

If this is v2, what changed from v1?

That always goes below the --- line, you know this :)

v3 please?

thanks,

greg k-h

^ permalink raw reply	[flat|nested] 19+ messages in thread

* [PATCH v3] driver core: Fix SYNC_STATE_ONLY device link implementation
  2020-05-18  8:03   ` Greg Kroah-Hartman
  2020-05-18 19:47     ` Saravana Kannan
  2020-05-19  3:00     ` [PATCH v2] driver core: Fix SYNC_STATE_ONLY device link implementation Saravana Kannan
@ 2020-05-19  6:30     ` Saravana Kannan
  2020-05-19 10:47       ` Rafael J. Wysocki
  2020-05-22 18:41       ` Michael Walle
  2 siblings, 2 replies; 19+ messages in thread
From: Saravana Kannan @ 2020-05-19  6:30 UTC (permalink / raw)
  To: Greg Kroah-Hartman, Rafael J. Wysocki, Saravana Kannan
  Cc: stable, kernel-team, linux-kernel

When SYNC_STATE_ONLY support was added in commit 05ef983e0d65 ("driver
core: Add device link support for SYNC_STATE_ONLY flag"),
device_link_add() incorrectly skipped adding the new SYNC_STATE_ONLY
device link to the supplier's and consumer's "device link" list.

This causes multiple issues:
- The device link is lost forever from driver core if the caller
  didn't keep track of it (caller typically isn't expected to). This is
  a memory leak.
- The device link is also never visible to any other code path after
  device_link_add() returns.

If we fix the "device link" list handling, that exposes a bunch of
issues.

1. The device link "status" state management code rightfully doesn't
handle the case where a DL_FLAG_MANAGED device link exists between a
supplier and consumer, but the consumer manages to probe successfully
before the supplier. The addition of DL_FLAG_SYNC_STATE_ONLY links break
this assumption. This causes device_links_driver_bound() to throw a
warning when this happens.

Since DL_FLAG_SYNC_STATE_ONLY device links are mainly used for creating
proxy device links for child device dependencies and aren't useful once
the consumer device probes successfully, this patch just deletes
DL_FLAG_SYNC_STATE_ONLY device links once its consumer device probes.
This way, we avoid the warning, free up some memory and avoid
complicating the device links "status" state management code.

2. Creating a DL_FLAG_STATELESS device link between two devices that
already have a DL_FLAG_SYNC_STATE_ONLY device link will result in the
DL_FLAG_STATELESS flag not getting set correctly. This patch also fixes
this.

Lastly, this patch also fixes minor whitespace issues.

Cc: stable@vger.kernel.org
Fixes: 05ef983e0d65 ("driver core: Add device link support for SYNC_STATE_ONLY flag")
Signed-off-by: Saravana Kannan <saravanak@google.com>
---
v3:
- Added this changelog text
v2:
- Delete DL_FLAG_SYNC_STATE_ONLY device links on consumer probe
- Set DL_FLAG_STATELESS correct when added to an existing
  DL_FLAG_SYNC_STATE_ONLY device link.
v1:
- Add device link to list
- Minor whitespace fixes

 drivers/base/core.c | 61 +++++++++++++++++++++++++++++----------------
 1 file changed, 39 insertions(+), 22 deletions(-)

diff --git a/drivers/base/core.c b/drivers/base/core.c
index 84c569726d75..f804e561e0a2 100644
--- a/drivers/base/core.c
+++ b/drivers/base/core.c
@@ -363,13 +363,12 @@ struct device_link *device_link_add(struct device *consumer,
 
 		if (flags & DL_FLAG_STATELESS) {
 			kref_get(&link->kref);
+			link->flags |= DL_FLAG_STATELESS;
 			if (link->flags & DL_FLAG_SYNC_STATE_ONLY &&
-			    !(link->flags & DL_FLAG_STATELESS)) {
-				link->flags |= DL_FLAG_STATELESS;
+			    !(link->flags & DL_FLAG_STATELESS))
 				goto reorder;
-			} else {
+			else
 				goto out;
-			}
 		}
 
 		/*
@@ -436,12 +435,16 @@ struct device_link *device_link_add(struct device *consumer,
 	    flags & DL_FLAG_PM_RUNTIME)
 		pm_runtime_resume(supplier);
 
+	list_add_tail_rcu(&link->s_node, &supplier->links.consumers);
+	list_add_tail_rcu(&link->c_node, &consumer->links.suppliers);
+
 	if (flags & DL_FLAG_SYNC_STATE_ONLY) {
 		dev_dbg(consumer,
 			"Linked as a sync state only consumer to %s\n",
 			dev_name(supplier));
 		goto out;
 	}
+
 reorder:
 	/*
 	 * Move the consumer and all of the devices depending on it to the end
@@ -452,12 +455,9 @@ struct device_link *device_link_add(struct device *consumer,
 	 */
 	device_reorder_to_tail(consumer, NULL);
 
-	list_add_tail_rcu(&link->s_node, &supplier->links.consumers);
-	list_add_tail_rcu(&link->c_node, &consumer->links.suppliers);
-
 	dev_dbg(consumer, "Linked as a consumer to %s\n", dev_name(supplier));
 
- out:
+out:
 	device_pm_unlock();
 	device_links_write_unlock();
 
@@ -832,6 +832,13 @@ static void __device_links_supplier_defer_sync(struct device *sup)
 		list_add_tail(&sup->links.defer_sync, &deferred_sync);
 }
 
+static void device_link_drop_managed(struct device_link *link)
+{
+	link->flags &= ~DL_FLAG_MANAGED;
+	WRITE_ONCE(link->status, DL_STATE_NONE);
+	kref_put(&link->kref, __device_link_del);
+}
+
 /**
  * device_links_driver_bound - Update device links after probing its driver.
  * @dev: Device to update the links for.
@@ -845,7 +852,7 @@ static void __device_links_supplier_defer_sync(struct device *sup)
  */
 void device_links_driver_bound(struct device *dev)
 {
-	struct device_link *link;
+	struct device_link *link, *ln;
 	LIST_HEAD(sync_list);
 
 	/*
@@ -885,18 +892,35 @@ void device_links_driver_bound(struct device *dev)
 	else
 		__device_links_queue_sync_state(dev, &sync_list);
 
-	list_for_each_entry(link, &dev->links.suppliers, c_node) {
+	list_for_each_entry_safe(link, ln, &dev->links.suppliers, c_node) {
+		struct device *supplier;
+
 		if (!(link->flags & DL_FLAG_MANAGED))
 			continue;
 
-		WARN_ON(link->status != DL_STATE_CONSUMER_PROBE);
-		WRITE_ONCE(link->status, DL_STATE_ACTIVE);
+		supplier = link->supplier;
+		if (link->flags & DL_FLAG_SYNC_STATE_ONLY) {
+			/*
+			 * When DL_FLAG_SYNC_STATE_ONLY is set, it means no
+			 * other DL_MANAGED_LINK_FLAGS have been set. So, it's
+			 * save to drop the managed link completely.
+			 */
+			device_link_drop_managed(link);
+		} else {
+			WARN_ON(link->status != DL_STATE_CONSUMER_PROBE);
+			WRITE_ONCE(link->status, DL_STATE_ACTIVE);
+		}
 
+		/*
+		 * This needs to be done even for the deleted
+		 * DL_FLAG_SYNC_STATE_ONLY device link in case it was the last
+		 * device link that was preventing the supplier from getting a
+		 * sync_state() call.
+		 */
 		if (defer_sync_state_count)
-			__device_links_supplier_defer_sync(link->supplier);
+			__device_links_supplier_defer_sync(supplier);
 		else
-			__device_links_queue_sync_state(link->supplier,
-							&sync_list);
+			__device_links_queue_sync_state(supplier, &sync_list);
 	}
 
 	dev->links.status = DL_DEV_DRIVER_BOUND;
@@ -906,13 +930,6 @@ void device_links_driver_bound(struct device *dev)
 	device_links_flush_sync_list(&sync_list, dev);
 }
 
-static void device_link_drop_managed(struct device_link *link)
-{
-	link->flags &= ~DL_FLAG_MANAGED;
-	WRITE_ONCE(link->status, DL_STATE_NONE);
-	kref_put(&link->kref, __device_link_del);
-}
-
 /**
  * __device_links_no_driver - Update links of a device without a driver.
  * @dev: Device without a drvier.
-- 
2.26.2.761.g0e0b3e54be-goog


^ permalink raw reply	[flat|nested] 19+ messages in thread

* Re: [PATCH v3] driver core: Fix SYNC_STATE_ONLY device link implementation
  2020-05-19  6:30     ` [PATCH v3] " Saravana Kannan
@ 2020-05-19 10:47       ` Rafael J. Wysocki
  2020-05-22 18:41       ` Michael Walle
  1 sibling, 0 replies; 19+ messages in thread
From: Rafael J. Wysocki @ 2020-05-19 10:47 UTC (permalink / raw)
  To: Saravana Kannan
  Cc: Greg Kroah-Hartman, Rafael J. Wysocki, Stable,
	Cc: Android Kernel, Linux Kernel Mailing List

On Tue, May 19, 2020 at 8:30 AM Saravana Kannan <saravanak@google.com> wrote:
>
> When SYNC_STATE_ONLY support was added in commit 05ef983e0d65 ("driver
> core: Add device link support for SYNC_STATE_ONLY flag"),
> device_link_add() incorrectly skipped adding the new SYNC_STATE_ONLY
> device link to the supplier's and consumer's "device link" list.
>
> This causes multiple issues:
> - The device link is lost forever from driver core if the caller
>   didn't keep track of it (caller typically isn't expected to). This is
>   a memory leak.
> - The device link is also never visible to any other code path after
>   device_link_add() returns.
>
> If we fix the "device link" list handling, that exposes a bunch of
> issues.
>
> 1. The device link "status" state management code rightfully doesn't
> handle the case where a DL_FLAG_MANAGED device link exists between a
> supplier and consumer, but the consumer manages to probe successfully
> before the supplier. The addition of DL_FLAG_SYNC_STATE_ONLY links break
> this assumption. This causes device_links_driver_bound() to throw a
> warning when this happens.
>
> Since DL_FLAG_SYNC_STATE_ONLY device links are mainly used for creating
> proxy device links for child device dependencies and aren't useful once
> the consumer device probes successfully, this patch just deletes
> DL_FLAG_SYNC_STATE_ONLY device links once its consumer device probes.
> This way, we avoid the warning, free up some memory and avoid
> complicating the device links "status" state management code.
>
> 2. Creating a DL_FLAG_STATELESS device link between two devices that
> already have a DL_FLAG_SYNC_STATE_ONLY device link will result in the
> DL_FLAG_STATELESS flag not getting set correctly. This patch also fixes
> this.
>
> Lastly, this patch also fixes minor whitespace issues.
>
> Cc: stable@vger.kernel.org
> Fixes: 05ef983e0d65 ("driver core: Add device link support for SYNC_STATE_ONLY flag")
> Signed-off-by: Saravana Kannan <saravanak@google.com>

No issues found, so

Reviewed-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>

> ---
> v3:
> - Added this changelog text
> v2:
> - Delete DL_FLAG_SYNC_STATE_ONLY device links on consumer probe
> - Set DL_FLAG_STATELESS correct when added to an existing
>   DL_FLAG_SYNC_STATE_ONLY device link.
> v1:
> - Add device link to list
> - Minor whitespace fixes
>
>  drivers/base/core.c | 61 +++++++++++++++++++++++++++++----------------
>  1 file changed, 39 insertions(+), 22 deletions(-)
>
> diff --git a/drivers/base/core.c b/drivers/base/core.c
> index 84c569726d75..f804e561e0a2 100644
> --- a/drivers/base/core.c
> +++ b/drivers/base/core.c
> @@ -363,13 +363,12 @@ struct device_link *device_link_add(struct device *consumer,
>
>                 if (flags & DL_FLAG_STATELESS) {
>                         kref_get(&link->kref);
> +                       link->flags |= DL_FLAG_STATELESS;
>                         if (link->flags & DL_FLAG_SYNC_STATE_ONLY &&
> -                           !(link->flags & DL_FLAG_STATELESS)) {
> -                               link->flags |= DL_FLAG_STATELESS;
> +                           !(link->flags & DL_FLAG_STATELESS))
>                                 goto reorder;
> -                       } else {
> +                       else
>                                 goto out;
> -                       }
>                 }
>
>                 /*
> @@ -436,12 +435,16 @@ struct device_link *device_link_add(struct device *consumer,
>             flags & DL_FLAG_PM_RUNTIME)
>                 pm_runtime_resume(supplier);
>
> +       list_add_tail_rcu(&link->s_node, &supplier->links.consumers);
> +       list_add_tail_rcu(&link->c_node, &consumer->links.suppliers);
> +
>         if (flags & DL_FLAG_SYNC_STATE_ONLY) {
>                 dev_dbg(consumer,
>                         "Linked as a sync state only consumer to %s\n",
>                         dev_name(supplier));
>                 goto out;
>         }
> +
>  reorder:
>         /*
>          * Move the consumer and all of the devices depending on it to the end
> @@ -452,12 +455,9 @@ struct device_link *device_link_add(struct device *consumer,
>          */
>         device_reorder_to_tail(consumer, NULL);
>
> -       list_add_tail_rcu(&link->s_node, &supplier->links.consumers);
> -       list_add_tail_rcu(&link->c_node, &consumer->links.suppliers);
> -
>         dev_dbg(consumer, "Linked as a consumer to %s\n", dev_name(supplier));
>
> - out:
> +out:
>         device_pm_unlock();
>         device_links_write_unlock();
>
> @@ -832,6 +832,13 @@ static void __device_links_supplier_defer_sync(struct device *sup)
>                 list_add_tail(&sup->links.defer_sync, &deferred_sync);
>  }
>
> +static void device_link_drop_managed(struct device_link *link)
> +{
> +       link->flags &= ~DL_FLAG_MANAGED;
> +       WRITE_ONCE(link->status, DL_STATE_NONE);
> +       kref_put(&link->kref, __device_link_del);
> +}
> +
>  /**
>   * device_links_driver_bound - Update device links after probing its driver.
>   * @dev: Device to update the links for.
> @@ -845,7 +852,7 @@ static void __device_links_supplier_defer_sync(struct device *sup)
>   */
>  void device_links_driver_bound(struct device *dev)
>  {
> -       struct device_link *link;
> +       struct device_link *link, *ln;
>         LIST_HEAD(sync_list);
>
>         /*
> @@ -885,18 +892,35 @@ void device_links_driver_bound(struct device *dev)
>         else
>                 __device_links_queue_sync_state(dev, &sync_list);
>
> -       list_for_each_entry(link, &dev->links.suppliers, c_node) {
> +       list_for_each_entry_safe(link, ln, &dev->links.suppliers, c_node) {
> +               struct device *supplier;
> +
>                 if (!(link->flags & DL_FLAG_MANAGED))
>                         continue;
>
> -               WARN_ON(link->status != DL_STATE_CONSUMER_PROBE);
> -               WRITE_ONCE(link->status, DL_STATE_ACTIVE);
> +               supplier = link->supplier;
> +               if (link->flags & DL_FLAG_SYNC_STATE_ONLY) {
> +                       /*
> +                        * When DL_FLAG_SYNC_STATE_ONLY is set, it means no
> +                        * other DL_MANAGED_LINK_FLAGS have been set. So, it's
> +                        * save to drop the managed link completely.
> +                        */
> +                       device_link_drop_managed(link);
> +               } else {
> +                       WARN_ON(link->status != DL_STATE_CONSUMER_PROBE);
> +                       WRITE_ONCE(link->status, DL_STATE_ACTIVE);
> +               }
>
> +               /*
> +                * This needs to be done even for the deleted
> +                * DL_FLAG_SYNC_STATE_ONLY device link in case it was the last
> +                * device link that was preventing the supplier from getting a
> +                * sync_state() call.
> +                */
>                 if (defer_sync_state_count)
> -                       __device_links_supplier_defer_sync(link->supplier);
> +                       __device_links_supplier_defer_sync(supplier);
>                 else
> -                       __device_links_queue_sync_state(link->supplier,
> -                                                       &sync_list);
> +                       __device_links_queue_sync_state(supplier, &sync_list);
>         }
>
>         dev->links.status = DL_DEV_DRIVER_BOUND;
> @@ -906,13 +930,6 @@ void device_links_driver_bound(struct device *dev)
>         device_links_flush_sync_list(&sync_list, dev);
>  }
>
> -static void device_link_drop_managed(struct device_link *link)
> -{
> -       link->flags &= ~DL_FLAG_MANAGED;
> -       WRITE_ONCE(link->status, DL_STATE_NONE);
> -       kref_put(&link->kref, __device_link_del);
> -}
> -
>  /**
>   * __device_links_no_driver - Update links of a device without a driver.
>   * @dev: Device without a drvier.
> --
> 2.26.2.761.g0e0b3e54be-goog
>

^ permalink raw reply	[flat|nested] 19+ messages in thread

* Re: [PATCH v3] driver core: Fix SYNC_STATE_ONLY device link implementation
  2020-05-19  6:30     ` [PATCH v3] " Saravana Kannan
  2020-05-19 10:47       ` Rafael J. Wysocki
@ 2020-05-22 18:41       ` Michael Walle
  2020-05-22 22:21         ` Saravana Kannan
  1 sibling, 1 reply; 19+ messages in thread
From: Michael Walle @ 2020-05-22 18:41 UTC (permalink / raw)
  To: Saravana Kannan; +Cc: stable, kernel-team, linux-kernel

Am Mon, 18 May 2020 23:30:00 -0700
schrieb Saravana Kannan <saravanak@google.com>:

> When SYNC_STATE_ONLY support was added in commit 05ef983e0d65 ("driver
> core: Add device link support for SYNC_STATE_ONLY flag"),
> device_link_add() incorrectly skipped adding the new SYNC_STATE_ONLY
> device link to the supplier's and consumer's "device link" list.
> 
> This causes multiple issues:
> - The device link is lost forever from driver core if the caller
>   didn't keep track of it (caller typically isn't expected to). This
> is a memory leak.
> - The device link is also never visible to any other code path after
>   device_link_add() returns.
> 
> If we fix the "device link" list handling, that exposes a bunch of
> issues.
> 
> 1. The device link "status" state management code rightfully doesn't
> handle the case where a DL_FLAG_MANAGED device link exists between a
> supplier and consumer, but the consumer manages to probe successfully
> before the supplier. The addition of DL_FLAG_SYNC_STATE_ONLY links
> break this assumption. This causes device_links_driver_bound() to
> throw a warning when this happens.
> 
> Since DL_FLAG_SYNC_STATE_ONLY device links are mainly used for
> creating proxy device links for child device dependencies and aren't
> useful once the consumer device probes successfully, this patch just
> deletes DL_FLAG_SYNC_STATE_ONLY device links once its consumer device
> probes. This way, we avoid the warning, free up some memory and avoid
> complicating the device links "status" state management code.
> 
> 2. Creating a DL_FLAG_STATELESS device link between two devices that
> already have a DL_FLAG_SYNC_STATE_ONLY device link will result in the
> DL_FLAG_STATELESS flag not getting set correctly. This patch also
> fixes this.
> 
> Lastly, this patch also fixes minor whitespace issues.

My board triggers the
  WARN_ON(link->status != DL_STATE_CONSUMER_PROBE);

Full bootlog:

[    0.000000] Booting Linux on physical CPU 0x0000000000 [0x410fd083]
[    0.000000] Linux version 5.7.0-rc6-next-20200522-00040-g43dd7a434139 (mw@apollo) (aarch64-linux-gnu-gcc (Debian 8.3.0-2) 8.3.0, GNU ld (GNU Binutils for Debian) 2.31.1) #800 SMP PREEMPT Fri May 22 20:33:03 CEST 2020
[    0.000000] Machine model: Kontron SMARC-sAL28 (Single PHY) on SMARC Eval 2.0 carrier
[    0.000000] efi: UEFI not found.
[    0.000000] cma: Reserved 32 MiB at 0x00000000f9c00000
[    0.000000] NUMA: No NUMA configuration found
[    0.000000] NUMA: Faking a node at [mem 0x0000000080000000-0x00000020ffffffff]
[    0.000000] NUMA: NODE_DATA [mem 0x20ff7ff100-0x20ff800fff]
[    0.000000] Zone ranges:
[    0.000000]   DMA      [mem 0x0000000080000000-0x00000000bfffffff]
[    0.000000]   DMA32    [mem 0x00000000c0000000-0x00000000ffffffff]
[    0.000000]   Normal   [mem 0x0000000100000000-0x00000020ffffffff]
[    0.000000] Movable zone start for each node
[    0.000000] Early memory node ranges
[    0.000000]   node   0: [mem 0x0000000080000000-0x00000000fbdfffff]
[    0.000000]   node   0: [mem 0x0000002080000000-0x00000020ffffffff]
[    0.000000] Initmem setup node 0 [mem 0x0000000080000000-0x00000020ffffffff]
[    0.000000] On node 0 totalpages: 1031680
[    0.000000]   DMA zone: 4096 pages used for memmap
[    0.000000]   DMA zone: 0 pages reserved
[    0.000000]   DMA zone: 262144 pages, LIFO batch:63
[    0.000000]   DMA32 zone: 3832 pages used for memmap
[    0.000000]   DMA32 zone: 245248 pages, LIFO batch:63
[    0.000000]   Normal zone: 8192 pages used for memmap
[    0.000000]   Normal zone: 524288 pages, LIFO batch:63
[    0.000000] percpu: Embedded 30 pages/cpu s82776 r8192 d31912 u122880
[    0.000000] pcpu-alloc: s82776 r8192 d31912 u122880 alloc=30*4096
[    0.000000] pcpu-alloc: [0] 0 [0] 1 
[    0.000000] Detected PIPT I-cache on CPU0
[    0.000000] CPU features: detected: GIC system register CPU interface
[    0.000000] CPU features: detected: EL2 vector hardening
[    0.000000] ARM_SMCCC_ARCH_WORKAROUND_1 missing from firmware
[    0.000000] CPU features: detected: ARM errata 1165522, 1319367, or 1530923
[    0.000000] Built 1 zonelists, mobility grouping on.  Total pages: 1015560
[    0.000000] Policy zone: Normal
[    0.000000] Kernel command line: debug root=/dev/mmcblk1p2 rootwait
[    0.000000] Dentry cache hash table entries: 524288 (order: 10, 4194304 bytes, linear)
[    0.000000] Inode-cache hash table entries: 262144 (order: 9, 2097152 bytes, linear)
[    0.000000] mem auto-init: stack:off, heap alloc:off, heap free:off
[    0.000000] software IO TLB: mapped [mem 0xbbfff000-0xbffff000] (64MB)
[    0.000000] Memory: 3929888K/4126720K available (9532K kernel code, 1116K rwdata, 3556K rodata, 3264K init, 400K bss, 164064K reserved, 32768K cma-reserved)
[    0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=2, Nodes=1
[    0.000000] ftrace: allocating 32623 entries in 128 pages
[    0.000000] ftrace: allocated 128 pages with 1 groups
[    0.000000] rcu: Preemptible hierarchical RCU implementation.
[    0.000000] rcu:     RCU restricting CPUs from NR_CPUS=256 to nr_cpu_ids=2.
[    0.000000]  Trampoline variant of Tasks RCU enabled.
[    0.000000]  Rude variant of Tasks RCU enabled.
[    0.000000] rcu: RCU calculated value of scheduler-enlistment delay is 25 jiffies.
[    0.000000] rcu: Adjusting geometry for rcu_fanout_leaf=16, nr_cpu_ids=2
[    0.000000] NR_IRQS: 64, nr_irqs: 64, preallocated irqs: 0
[    0.000000] GICv3: GIC: Using split EOI/Deactivate mode
[    0.000000] GICv3: 256 SPIs implemented
[    0.000000] GICv3: 0 Extended SPIs implemented
[    0.000000] GICv3: Distributor has no Range Selector support
[    0.000000] GICv3: 16 PPIs implemented
[    0.000000] GICv3: CPU0: found redistributor 0 region 0:0x0000000006040000
[    0.000000] ITS [mem 0x06020000-0x0603ffff]
[    0.000000] ITS@0x0000000006020000: allocated 65536 Devices @20fad80000 (flat, esz 8, psz 64K, shr 0)
[    0.000000] ITS: using cache flushing for cmd queue
[    0.000000] GICv3: using LPI property table @0x00000020fad30000
[    0.000000] GIC: using cache flushing for LPI property table
[    0.000000] GICv3: CPU0: using allocated LPI pending table @0x00000020fad40000
[    0.000000] random: get_random_bytes called from start_kernel+0x604/0x7cc with crng_init=0
[    0.000000] arch_timer: cp15 timer(s) running at 25.00MHz (phys).
[    0.000000] clocksource: arch_sys_counter: mask: 0xffffffffffffff max_cycles: 0x5c40939b5, max_idle_ns: 440795202646 ns
[    0.000002] sched_clock: 56 bits at 25MHz, resolution 40ns, wraps every 4398046511100ns
[    0.000109] Console: colour dummy device 80x25
[    0.000393] printk: console [tty0] enabled
[    0.000439] Calibrating delay loop (skipped), value calculated using timer frequency.. 50.00 BogoMIPS (lpj=100000)
[    0.000452] pid_max: default: 32768 minimum: 301
[    0.000501] LSM: Security Framework initializing
[    0.000553] Mount-cache hash table entries: 8192 (order: 4, 65536 bytes, linear)
[    0.000585] Mountpoint-cache hash table entries: 8192 (order: 4, 65536 bytes, linear)
[    0.001429] rcu: Hierarchical SRCU implementation.
[    0.001574] Platform MSI: gic-its@6020000 domain created
[    0.001649] PCI/MSI: /interrupt-controller@6000000/gic-its@6020000 domain created
[    0.001853] EFI services will not be available.
[    0.001951] smp: Bringing up secondary CPUs ...
[    0.002231] Detected PIPT I-cache on CPU1
[    0.002250] GICv3: CPU1: found redistributor 1 region 0:0x0000000006060000
[    0.002256] GICv3: CPU1: using allocated LPI pending table @0x00000020fad50000
[    0.002278] CPU1: Booted secondary processor 0x0000000001 [0x410fd083]
[    0.002328] smp: Brought up 1 node, 2 CPUs
[    0.002354] SMP: Total of 2 processors activated.
[    0.002362] CPU features: detected: 32-bit EL0 Support
[    0.002369] CPU features: detected: CRC32 instructions
[    0.010381] CPU: All CPU(s) started at EL2
[    0.010401] alternatives: patching kernel code
[    0.010994] devtmpfs: initialized
[    0.012904] KASLR disabled due to lack of seed
[    0.013071] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 7645041785100000 ns
[    0.013088] futex hash table entries: 512 (order: 3, 32768 bytes, linear)
[    0.013867] thermal_sys: Registered thermal governor 'step_wise'
[    0.013995] DMI not present or invalid.
[    0.014177] NET: Registered protocol family 16
[    0.015070] DMA: preallocated 4096 KiB GFP_KERNEL pool for atomic allocations
[    0.015787] DMA: preallocated 4096 KiB GFP_KERNEL|GFP_DMA pool for atomic allocations
[    0.016519] DMA: preallocated 4096 KiB GFP_KERNEL|GFP_DMA32 pool for atomic allocations
[    0.016555] audit: initializing netlink subsys (disabled)
[    0.016679] audit: type=2000 audit(0.016:1): state=initialized audit_enabled=0 res=1
[    0.016973] cpuidle: using governor menu
[    0.017044] hw-breakpoint: found 6 breakpoint and 4 watchpoint registers.
[    0.017074] ASID allocator initialised with 65536 entries
[    0.017342] Serial: AMBA PL011 UART driver
[    0.023544] Machine: Kontron SMARC-sAL28 (Single PHY) on SMARC Eval 2.0 carrier
[    0.023558] SoC family: QorIQ LS1028A
[    0.023564] SoC ID: svr:0x870b0110, Revision: 1.0
[    0.026581] HugeTLB registered 1.00 GiB page size, pre-allocated 0 pages
[    0.026596] HugeTLB registered 32.0 MiB page size, pre-allocated 0 pages
[    0.026604] HugeTLB registered 2.00 MiB page size, pre-allocated 0 pages
[    0.026611] HugeTLB registered 64.0 KiB page size, pre-allocated 0 pages
[    0.027683] cryptd: max_cpu_qlen set to 1000
[    0.029104] iommu: Default domain type: Translated 
[    0.029174] vgaarb: loaded
[    0.029308] SCSI subsystem initialized
[    0.029404] usbcore: registered new interface driver usbfs
[    0.029431] usbcore: registered new interface driver hub
[    0.029462] usbcore: registered new device driver usb
[    0.029593] imx-i2c 2000000.i2c: can't get pinctrl, bus recovery not supported
[    0.029652] i2c i2c-0: supply bus not found, using dummy regulator
[    0.029829] i2c i2c-0: IMX I2C adapter registered
[    0.029908] imx-i2c 2030000.i2c: can't get pinctrl, bus recovery not supported
[    0.029944] i2c i2c-1: supply bus not found, using dummy regulator
[    0.030010] i2c i2c-1: IMX I2C adapter registered
[    0.030082] imx-i2c 2040000.i2c: can't get pinctrl, bus recovery not supported
[    0.030122] i2c i2c-2: supply bus not found, using dummy regulator
[    0.030227] i2c i2c-2: IMX I2C adapter registered
[    0.030303] pps_core: LinuxPPS API ver. 1 registered
[    0.030310] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it>
[    0.030324] PTP clock support registered
[    0.030552] Advanced Linux Sound Architecture Driver Initialized.
[    0.030904] clocksource: Switched to clocksource arch_sys_counter
[    0.066437] VFS: Disk quotas dquot_6.6.0
[    0.066483] VFS: Dquot-cache hash table entries: 512 (order 0, 4096 bytes)
[    0.069159] NET: Registered protocol family 2
[    0.069389] tcp_listen_portaddr_hash hash table entries: 2048 (order: 3, 32768 bytes, linear)
[    0.069414] TCP established hash table entries: 32768 (order: 6, 262144 bytes, linear)
[    0.069506] TCP bind hash table entries: 32768 (order: 7, 524288 bytes, linear)
[    0.069807] TCP: Hash tables configured (established 32768 bind 32768)
[    0.069904] UDP hash table entries: 2048 (order: 4, 65536 bytes, linear)
[    0.069931] UDP-Lite hash table entries: 2048 (order: 4, 65536 bytes, linear)
[    0.070016] NET: Registered protocol family 1
[    0.070036] PCI: CLS 0 bytes, default 64
[    0.070364] hw perfevents: enabled with armv8_cortex_a72 PMU driver, 7 counters available
[    0.070817] Initialise system trusted keyrings
[    0.070976] workingset: timestamp_bits=44 max_order=20 bucket_order=0
[    0.103862] Key type asymmetric registered
[    0.103879] Asymmetric key parser 'x509' registered
[    0.103906] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 248)
[    0.103915] io scheduler mq-deadline registered
[    0.103921] io scheduler kyber registered
[    0.104351] pci-host-generic 1f0000000.pcie: host bridge /soc/pcie@1f0000000 ranges:
[    0.104380] pci-host-generic 1f0000000.pcie:      MEM 0x01f8000000..0x01f815ffff -> 0x0000000000
[    0.104401] pci-host-generic 1f0000000.pcie:      MEM 0x01f8160000..0x01f81cffff -> 0x0000000000
[    0.104423] pci-host-generic 1f0000000.pcie:      MEM 0x01f81d0000..0x01f81effff -> 0x0000000000
[    0.104441] pci-host-generic 1f0000000.pcie:      MEM 0x01f81f0000..0x01f820ffff -> 0x0000000000
[    0.104460] pci-host-generic 1f0000000.pcie:      MEM 0x01f8210000..0x01f822ffff -> 0x0000000000
[    0.104478] pci-host-generic 1f0000000.pcie:      MEM 0x01f8230000..0x01f824ffff -> 0x0000000000
[    0.104492] pci-host-generic 1f0000000.pcie:      MEM 0x01fc000000..0x01fc3fffff -> 0x0000000000
[    0.104545] pci-host-generic 1f0000000.pcie: ECAM at [mem 0x1f0000000-0x1f00fffff] for [bus 00]
[    0.104605] pci-host-generic 1f0000000.pcie: PCI host bridge to bus 0000:00
[    0.104615] pci_bus 0000:00: root bus resource [bus 00]
[    0.104624] pci_bus 0000:00: root bus resource [mem 0x1f8000000-0x1f815ffff] (bus address [0x00000000-0x0015ffff])
[    0.104636] pci_bus 0000:00: root bus resource [mem 0x1f8160000-0x1f81cffff pref] (bus address [0x00000000-0x0006ffff])
[    0.104647] pci_bus 0000:00: root bus resource [mem 0x1f81d0000-0x1f81effff] (bus address [0x00000000-0x0001ffff])
[    0.104657] pci_bus 0000:00: root bus resource [mem 0x1f81f0000-0x1f820ffff pref] (bus address [0x00000000-0x0001ffff])
[    0.104668] pci_bus 0000:00: root bus resource [mem 0x1f8210000-0x1f822ffff] (bus address [0x00000000-0x0001ffff])
[    0.104678] pci_bus 0000:00: root bus resource [mem 0x1f8230000-0x1f824ffff pref] (bus address [0x00000000-0x0001ffff])
[    0.104689] pci_bus 0000:00: root bus resource [mem 0x1fc000000-0x1fc3fffff] (bus address [0x00000000-0x003fffff])
[    0.104710] pci 0000:00:00.0: [1957:e100] type 00 class 0x020001
[    0.104750] pci 0000:00:00.0: BAR 0: [mem 0x1f8000000-0x1f803ffff 64bit] (from Enhanced Allocation, properties 0x0)
[    0.104762] pci 0000:00:00.0: BAR 2: [mem 0x1f8160000-0x1f816ffff 64bit pref] (from Enhanced Allocation, properties 0x1)
[    0.104774] pci 0000:00:00.0: VF BAR 0: [mem 0x1f81d0000-0x1f81dffff 64bit] (from Enhanced Allocation, properties 0x4)
[    0.104786] pci 0000:00:00.0: VF BAR 2: [mem 0x1f81f0000-0x1f81fffff 64bit pref] (from Enhanced Allocation, properties 0x3)
[    0.104810] pci 0000:00:00.0: PME# supported from D0 D3hot
[    0.104824] pci 0000:00:00.0: VF(n) BAR0 space: [mem 0x1f81d0000-0x1f81effff 64bit] (contains BAR0 for 2 VFs)
[    0.104834] pci 0000:00:00.0: VF(n) BAR2 space: [mem 0x1f81f0000-0x1f820ffff 64bit pref] (contains BAR2 for 2 VFs)
[    0.104949] pci 0000:00:00.1: [1957:e100] type 00 class 0x020001
[    0.104978] pci 0000:00:00.1: BAR 0: [mem 0x1f8040000-0x1f807ffff 64bit] (from Enhanced Allocation, properties 0x0)
[    0.104990] pci 0000:00:00.1: BAR 2: [mem 0x1f8170000-0x1f817ffff 64bit pref] (from Enhanced Allocation, properties 0x1)
[    0.105002] pci 0000:00:00.1: VF BAR 0: [mem 0x1f8210000-0x1f821ffff 64bit] (from Enhanced Allocation, properties 0x4)
[    0.105013] pci 0000:00:00.1: VF BAR 2: [mem 0x1f8230000-0x1f823ffff 64bit pref] (from Enhanced Allocation, properties 0x3)
[    0.105036] pci 0000:00:00.1: PME# supported from D0 D3hot
[    0.105049] pci 0000:00:00.1: VF(n) BAR0 space: [mem 0x1f8210000-0x1f822ffff 64bit] (contains BAR0 for 2 VFs)
[    0.105060] pci 0000:00:00.1: VF(n) BAR2 space: [mem 0x1f8230000-0x1f824ffff 64bit pref] (contains BAR2 for 2 VFs)
[    0.105154] pci 0000:00:00.2: [1957:e100] type 00 class 0x020001
[    0.105183] pci 0000:00:00.2: BAR 0: [mem 0x1f8080000-0x1f80bffff 64bit] (from Enhanced Allocation, properties 0x0)
[    0.105195] pci 0000:00:00.2: BAR 2: [mem 0x1f8180000-0x1f818ffff 64bit pref] (from Enhanced Allocation, properties 0x1)
[    0.105216] pci 0000:00:00.2: PME# supported from D0 D3hot
[    0.105300] pci 0000:00:00.3: [1957:ee01] type 00 class 0x088001
[    0.105333] pci 0000:00:00.3: BAR 0: [mem 0x1f8100000-0x1f811ffff 64bit] (from Enhanced Allocation, properties 0x0)
[    0.105344] pci 0000:00:00.3: BAR 2: [mem 0x1f8190000-0x1f819ffff 64bit pref] (from Enhanced Allocation, properties 0x1)
[    0.105365] pci 0000:00:00.3: PME# supported from D0 D3hot
[    0.105448] pci 0000:00:00.4: [1957:ee02] type 00 class 0x088001
[    0.105477] pci 0000:00:00.4: BAR 0: [mem 0x1f8120000-0x1f813ffff 64bit] (from Enhanced Allocation, properties 0x0)
[    0.105489] pci 0000:00:00.4: BAR 2: [mem 0x1f81a0000-0x1f81affff 64bit pref] (from Enhanced Allocation, properties 0x1)
[    0.105521] pci 0000:00:00.4: PME# supported from D0 D3hot
[    0.105606] pci 0000:00:00.5: [1957:eef0] type 00 class 0x020801
[    0.105635] pci 0000:00:00.5: BAR 0: [mem 0x1f8140000-0x1f815ffff 64bit] (from Enhanced Allocation, properties 0x0)
[    0.105647] pci 0000:00:00.5: BAR 2: [mem 0x1f81b0000-0x1f81bffff 64bit pref] (from Enhanced Allocation, properties 0x1)
[    0.105659] pci 0000:00:00.5: BAR 4: [mem 0x1fc000000-0x1fc3fffff 64bit] (from Enhanced Allocation, properties 0x0)
[    0.105679] pci 0000:00:00.5: PME# supported from D0 D3hot
[    0.105765] pci 0000:00:00.6: [1957:e100] type 00 class 0x020001
[    0.105794] pci 0000:00:00.6: BAR 0: [mem 0x1f80c0000-0x1f80fffff 64bit] (from Enhanced Allocation, properties 0x0)
[    0.105806] pci 0000:00:00.6: BAR 2: [mem 0x1f81c0000-0x1f81cffff 64bit pref] (from Enhanced Allocation, properties 0x1)
[    0.105827] pci 0000:00:00.6: PME# supported from D0 D3hot
[    0.106579] pci 0000:00:1f.0: [1957:e001] type 00 class 0x080700
[    0.106625] OF: /soc/pcie@1f0000000: no msi-map translation for rid 0xf8 on (null)
[    0.106967] layerscape-pcie 3400000.pcie: host bridge /soc/pcie@3400000 ranges:
[    0.106993] layerscape-pcie 3400000.pcie:       IO 0x8000010000..0x800001ffff -> 0x0000000000
[    0.107013] layerscape-pcie 3400000.pcie:      MEM 0x8040000000..0x807fffffff -> 0x0040000000
[    0.107104] layerscape-pcie 3400000.pcie: PCI host bridge to bus 0001:00
[    0.107114] pci_bus 0001:00: root bus resource [bus 00-ff]
[    0.107121] pci_bus 0001:00: root bus resource [io  0x0000-0xffff]
[    0.107130] pci_bus 0001:00: root bus resource [mem 0x8040000000-0x807fffffff] (bus address [0x40000000-0x7fffffff])
[    0.107150] pci 0001:00:00.0: [1957:82c1] type 01 class 0x060400
[    0.107210] pci 0001:00:00.0: supports D1 D2
[    0.107217] pci 0001:00:00.0: PME# supported from D0 D1 D2 D3hot
[    0.108621] pci_bus 0001:01: busn_res: [bus 01-ff] end is updated to 01
[    0.108634] pci 0001:00:00.0: PCI bridge to [bus 01]
[    0.108723] layerscape-pcie 3500000.pcie: host bridge /soc/pcie@3500000 ranges:
[    0.108747] layerscape-pcie 3500000.pcie:       IO 0x8800010000..0x880001ffff -> 0x0000000000
[    0.108766] layerscape-pcie 3500000.pcie:      MEM 0x8840000000..0x887fffffff -> 0x0040000000
[    0.108840] layerscape-pcie 3500000.pcie: PCI host bridge to bus 0002:00
[    0.108849] pci_bus 0002:00: root bus resource [bus 00-ff]
[    0.108861] pci_bus 0002:00: root bus resource [io  0x10000-0x1ffff] (bus address [0x0000-0xffff])
[    0.108871] pci_bus 0002:00: root bus resource [mem 0x8840000000-0x887fffffff] (bus address [0x40000000-0x7fffffff])
[    0.108891] pci 0002:00:00.0: [1957:82c1] type 01 class 0x060400
[    0.108950] pci 0002:00:00.0: supports D1 D2
[    0.108957] pci 0002:00:00.0: PME# supported from D0 D1 D2 D3hot
[    0.110338] pci_bus 0002:01: busn_res: [bus 01-ff] end is updated to 01
[    0.110349] pci 0002:00:00.0: PCI bridge to [bus 01]
[    0.110615] IPMI message handler: version 39.2
[    0.110641] ipmi device interface
[    0.110669] ipmi_si: IPMI System Interface driver
[    0.110786] ipmi_si: Unable to find any System Interface(s)
[    0.112304] Serial: 8250/16550 driver, 4 ports, IRQ sharing enabled
[    0.113001] 21c0500.serial: ttyS0 at MMIO 0x21c0500 (irq = 16, base_baud = 12500000) is a 16550A
[    1.712116] printk: console [ttyS0] enabled
[    1.716565] 21c0600.serial: ttyS1 at MMIO 0x21c0600 (irq = 16, base_baud = 12500000) is a 16550A
[    1.725671] 2270000.serial: ttyLP2 at MMIO 0x2270000 (irq = 17, base_baud = 12500000) is a FSL_LPUART
[    1.735738] arm-smmu 5000000.iommu: probing hardware configuration...
[    1.742217] arm-smmu 5000000.iommu: SMMUv2 with:
[    1.746865] arm-smmu 5000000.iommu:  stage 1 translation
[    1.752214] arm-smmu 5000000.iommu:  stage 2 translation
[    1.757551] arm-smmu 5000000.iommu:  nested translation
[    1.762798] arm-smmu 5000000.iommu:  stream matching with 128 register groups
[    1.769965] arm-smmu 5000000.iommu:  64 context banks (0 stage-2 only)
[    1.776527] arm-smmu 5000000.iommu:  Supported page sizes: 0x61311000
[    1.782996] arm-smmu 5000000.iommu:  Stage-1: 48-bit VA -> 48-bit IPA
[    1.789464] arm-smmu 5000000.iommu:  Stage-2: 48-bit IPA -> 48-bit PA
[    1.796436] at24 0-0050: supply vcc not found, using dummy regulator
[    1.803621] at24 0-0050: 4096 byte 24c32 EEPROM, writable, 32 bytes/write
[    1.810495] at24 1-0057: supply vcc not found, using dummy regulator
[    1.817640] at24 1-0057: 8192 byte 24c64 EEPROM, writable, 32 bytes/write
[    1.824509] at24 2-0050: supply vcc not found, using dummy regulator
[    1.831649] at24 2-0050: 4096 byte 24c32 EEPROM, writable, 32 bytes/write
[    1.838597] mpt3sas version 34.100.00.00 loaded
[    1.843906] header.nph=2
[    1.846447] sfdp_size=288
[    1.849205] spi-nor spi1.0: mx25u3235f (4096 Kbytes)
[    1.859852] header.nph=0
[    1.862395] sfdp_size=192
[    1.865068] spi-nor spi0.0: w25q32dw (4096 Kbytes)
[    1.871401] 10 fixed-partitions partitions found on MTD device 20c0000.spi
[    1.878316] Creating 10 MTD partitions on "20c0000.spi":
[    1.883663] 0x000000000000-0x000000010000 : "rcw"
[    1.895213] 0x000000010000-0x000000100000 : "failsafe bootloader"
[    1.911211] 0x000000100000-0x000000140000 : "failsafe DP firmware"
[    1.919242] 0x000000140000-0x0000001e0000 : "failsafe trusted firmware"
[    1.927234] 0x0000001e0000-0x000000200000 : "reserved"
[    1.935232] 0x000000200000-0x000000210000 : "configuration store"
[    1.943244] 0x000000210000-0x000000300000 : "bootloader"
[    1.951230] 0x000000300000-0x000000340000 : "DP firmware"
[    1.959226] 0x000000340000-0x0000003e0000 : "trusted firmware"
[    1.967238] 0x0000003e0000-0x000000400000 : "bootloader environment"
[    1.975845] libphy: Fixed MDIO Bus: probed
[    1.980150] mscc_felix 0000:00:00.5: Adding to iommu group 0
[    1.985966] mscc_felix 0000:00:00.5: device is disabled, skipping
[    1.992148] fsl_enetc 0000:00:00.0: Adding to iommu group 1
[    2.102922] fsl_enetc 0000:00:00.0: enabling device (0400 -> 0402)
[    2.109167] fsl_enetc 0000:00:00.0: no MAC address specified for SI1, using d2:e9:d1:8e:4e:1c
[    2.117734] fsl_enetc 0000:00:00.0: no MAC address specified for SI2, using 2a:b8:1d:68:7f:ff
[    2.126646] libphy: Freescale ENETC MDIO Bus: probed
[    2.133222] fsl_enetc 0000:00:00.1: Adding to iommu group 2
[    2.138948] fsl_enetc 0000:00:00.1: device is disabled, skipping
[    2.145022] fsl_enetc 0000:00:00.2: Adding to iommu group 3
[    2.150696] fsl_enetc 0000:00:00.2: device is disabled, skipping
[    2.156768] fsl_enetc 0000:00:00.6: Adding to iommu group 4
[    2.162443] fsl_enetc 0000:00:00.6: device is disabled, skipping
[    2.168541] fsl_enetc_mdio 0000:00:00.3: Adding to iommu group 5
[    2.278915] fsl_enetc_mdio 0000:00:00.3: enabling device (0400 -> 0402)
[    2.285740] libphy: FSL PCIe IE Central MDIO Bus: probed
[    2.291111] igb: Intel(R) Gigabit Ethernet Network Driver - version 5.6.0-k
[    2.298104] igb: Copyright (c) 2007-2014 Intel Corporation.
[    2.303802] dwc3 3100000.usb: Adding to iommu group 6
[    2.309161] ------------[ cut here ]------------
[    2.313801] WARNING: CPU: 1 PID: 1 at drivers/base/core.c:912 device_links_driver_bound+0x1c0/0x1e8
[    2.322880] Modules linked in:
[    2.325944] CPU: 1 PID: 1 Comm: swapper/0 Not tainted 5.7.0-rc6-next-20200522-00040-g43dd7a434139 #800
[    2.335285] Hardware name: Kontron SMARC-sAL28 (Single PHY) on SMARC Eval 2.0 carrier (DT)
[    2.343582] pstate: 80000005 (Nzcv daif -PAN -UAO BTYPE=--)
[    2.349173] pc : device_links_driver_bound+0x1c0/0x1e8
[    2.354327] lr : device_links_driver_bound+0xf8/0x1e8
[    2.359393] sp : ffff8000111abb80
[    2.362713] x29: ffff8000111abb80 x28: 0000000000000000 
[    2.368043] x27: 0000000000000006 x26: ffff00207a421c10 
[    2.373371] x25: 0000000000000003 x24: ffff00207a420cb0 
[    2.378699] x23: ffff800011009948 x22: ffff8000111abbd8 
[    2.384027] x21: ffff00207a420c10 x20: ffff8000110a2ae8 
[    2.389355] x19: ffff00207a420c90 x18: 0000000000000000 
[    2.394684] x17: ffffffffffff3f00 x16: 0000000000007fff 
[    2.400013] x15: ffffffffffffffff x14: ffff800011009948 
[    2.405342] x13: ffff002079cf991c x12: 0000000000000000 
[    2.410671] x11: 0101010101010101 x10: 7f7f7f7f7f7f7f7f 
[    2.416000] x9 : ffff800010548e68 x8 : 7f7f7f7f7f7f7f7f 
[    2.421328] x7 : ffff8000111aba40 x6 : 0000000000000000 
[    2.426657] x5 : 0000000000000000 x4 : 0000000000000000 
[    2.431985] x3 : ffff8000110a3380 x2 : 0000000000000000 
[    2.437313] x1 : 0000000000000001 x0 : ffff00207a401200 
[    2.442643] Call trace:
[    2.445094]  device_links_driver_bound+0x1c0/0x1e8
[    2.449900]  driver_bound+0x70/0xc0
[    2.453396]  really_probe+0x110/0x318
[    2.457068]  driver_probe_device+0x40/0x90
[    2.461175]  device_driver_attach+0x7c/0x88
[    2.465369]  __driver_attach+0x60/0xe8
[    2.469128]  bus_for_each_dev+0x7c/0xd0
[    2.472974]  driver_attach+0x2c/0x38
[    2.476557]  bus_add_driver+0x194/0x1f8
[    2.480403]  driver_register+0x6c/0x128
[    2.484251]  __platform_driver_register+0x50/0x60
[    2.488971]  dwc3_driver_init+0x24/0x30
[    2.492818]  do_one_initcall+0x54/0x298
[    2.496665]  kernel_init_freeable+0x1ec/0x268
[    2.501036]  kernel_init+0x1c/0x118
[    2.504532]  ret_from_fork+0x10/0x1c
[    2.508117] ---[ end trace 119c2917ee509c34 ]---
[    2.512811] dwc3 3110000.usb: Adding to iommu group 7
[    2.518134] ------------[ cut here ]------------
[    2.522770] WARNING: CPU: 1 PID: 1 at drivers/base/core.c:912 device_links_driver_bound+0x1c0/0x1e8
[    2.531848] Modules linked in:
[    2.534910] CPU: 1 PID: 1 Comm: swapper/0 Tainted: G        W         5.7.0-rc6-next-20200522-00040-g43dd7a434139 #800
[    2.545647] Hardware name: Kontron SMARC-sAL28 (Single PHY) on SMARC Eval 2.0 carrier (DT)
[    2.553943] pstate: 80000005 (Nzcv daif -PAN -UAO BTYPE=--)
[    2.559533] pc : device_links_driver_bound+0x1c0/0x1e8
[    2.564688] lr : device_links_driver_bound+0xf8/0x1e8
[    2.569753] sp : ffff8000111abb80
[    2.573075] x29: ffff8000111abb80 x28: 0000000000000000 
[    2.578403] x27: 0000000000000006 x26: ffff00207a421c10 
[    2.583731] x25: 0000000000000003 x24: ffff00207a4210b0 
[    2.589059] x23: ffff800011009948 x22: ffff8000111abbd8 
[    2.594387] x21: ffff00207a421010 x20: ffff8000110a2ae8 
[    2.599715] x19: ffff00207a421090 x18: 0000000000000000 
[    2.605043] x17: ffffffffffff3f00 x16: 0000000000007fff 
[    2.610372] x15: ffffffffffffffff x14: ffff800011009948 
[    2.615700] x13: ffff002079cf991c x12: 0000000000000000 
[    2.621029] x11: 0101010101010101 x10: 7f7f7f7f7f7f7f7f 
[    2.626356] x9 : ffff800010548e68 x8 : 7f7f7f7f7f7f7f7f 
[    2.631685] x7 : ffff8000111aba40 x6 : 0000000000000000 
[    2.637014] x5 : 0000000000000000 x4 : 0000000000000000 
[    2.642342] x3 : ffff8000110a3380 x2 : 0000000000000000 
[    2.647670] x1 : 0000000000000001 x0 : ffff00207a401280 
[    2.652997] Call trace:
[    2.655448]  device_links_driver_bound+0x1c0/0x1e8
[    2.660253]  driver_bound+0x70/0xc0
[    2.663749]  really_probe+0x110/0x318
[    2.667421]  driver_probe_device+0x40/0x90
[    2.671528]  device_driver_attach+0x7c/0x88
[    2.675722]  __driver_attach+0x60/0xe8
[    2.679480]  bus_for_each_dev+0x7c/0xd0
[    2.683326]  driver_attach+0x2c/0x38
[    2.686910]  bus_add_driver+0x194/0x1f8
[    2.690756]  driver_register+0x6c/0x128
[    2.694603]  __platform_driver_register+0x50/0x60
[    2.699322]  dwc3_driver_init+0x24/0x30
[    2.703167]  do_one_initcall+0x54/0x298
[    2.707014]  kernel_init_freeable+0x1ec/0x268
[    2.711384]  kernel_init+0x1c/0x118
[    2.714880]  ret_from_fork+0x10/0x1c
[    2.718462] ---[ end trace 119c2917ee509c35 ]---
[    2.723246] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[    2.729804] ehci-pci: EHCI PCI platform driver
[    2.734429] xhci-hcd xhci-hcd.0.auto: xHCI Host Controller
[    2.739956] xhci-hcd xhci-hcd.0.auto: new USB bus registered, assigned bus number 1
[    2.747789] xhci-hcd xhci-hcd.0.auto: hcc params 0x0220f66d hci version 0x100 quirks 0x0000000002010010
[    2.757249] xhci-hcd xhci-hcd.0.auto: irq 21, io mem 0x03100000
[    2.763565] hub 1-0:1.0: USB hub found
[    2.767348] hub 1-0:1.0: 1 port detected
[    2.771395] xhci-hcd xhci-hcd.0.auto: xHCI Host Controller
[    2.776911] xhci-hcd xhci-hcd.0.auto: new USB bus registered, assigned bus number 2
[    2.784605] xhci-hcd xhci-hcd.0.auto: Host supports USB 3.0 SuperSpeed
[    2.791187] usb usb2: We don't know the algorithms for LPM for this host, disabling LPM.
[    2.799523] hub 2-0:1.0: USB hub found
[    2.803303] hub 2-0:1.0: 1 port detected
[    2.807381] xhci-hcd xhci-hcd.1.auto: xHCI Host Controller
[    2.812898] xhci-hcd xhci-hcd.1.auto: new USB bus registered, assigned bus number 3
[    2.820741] xhci-hcd xhci-hcd.1.auto: hcc params 0x0220f66d hci version 0x100 quirks 0x0000000002010010
[    2.830207] xhci-hcd xhci-hcd.1.auto: irq 22, io mem 0x03110000
[    2.836470] hub 3-0:1.0: USB hub found
[    2.840251] hub 3-0:1.0: 1 port detected
[    2.844289] xhci-hcd xhci-hcd.1.auto: xHCI Host Controller
[    2.849804] xhci-hcd xhci-hcd.1.auto: new USB bus registered, assigned bus number 4
[    2.857499] xhci-hcd xhci-hcd.1.auto: Host supports USB 3.0 SuperSpeed
[    2.864080] usb usb4: We don't know the algorithms for LPM for this host, disabling LPM.
[    2.872409] hub 4-0:1.0: USB hub found
[    2.876267] hub 4-0:1.0: 1 port detected
[    2.880393] usbcore: registered new interface driver usb-storage
[    2.887177] rtc-rv8803 0-0032: Voltage low, temperature compensation stopped.
[    2.894348] rtc-rv8803 0-0032: Voltage low, data loss detected.
[    2.901365] rtc-rv8803 0-0032: Voltage low, data is invalid.
[    2.907117] rtc-rv8803 0-0032: registered as rtc0
[    2.912514] rtc-rv8803 0-0032: Voltage low, data is invalid.
[    2.918202] rtc-rv8803 0-0032: hctosys: unable to read the hardware clock
[    2.925102] i2c /dev entries driver
[    2.934504] sp805-wdt c000000.watchdog: registration successful
[    2.940537] sp805-wdt c010000.watchdog: registration successful
[    2.947196] qoriq-cpufreq qoriq-cpufreq: Freescale QorIQ CPU frequency scaling driver
[    2.955659] sdhci: Secure Digital Host Controller Interface driver
[    2.961918] sdhci: Copyright(c) Pierre Ossman
[    2.966333] sdhci-pltfm: SDHCI platform and OF driver helper
[    2.972762] sdhci-esdhc 2140000.mmc: Adding to iommu group 8
[    3.005562] mmc0: SDHCI controller on 2140000.mmc [2140000.mmc] using ADMA
[    3.012632] ------------[ cut here ]------------
[    3.017310] WARNING: CPU: 0 PID: 1 at drivers/base/core.c:912 device_links_driver_bound+0x1c0/0x1e8
[    3.026418] Modules linked in:
[    3.029509] CPU: 0 PID: 1 Comm: swapper/0 Tainted: G        W         5.7.0-rc6-next-20200522-00040-g43dd7a434139 #800
[    3.040279] Hardware name: Kontron SMARC-sAL28 (Single PHY) on SMARC Eval 2.0 carrier (DT)
[    3.048609] pstate: 80000005 (Nzcv daif -PAN -UAO BTYPE=--)
[    3.054226] pc : device_links_driver_bound+0x1c0/0x1e8
[    3.059405] lr : device_links_driver_bound+0xf8/0x1e8
[    3.064491] sp : ffff8000111abb80
[    3.067831] x29: ffff8000111abb80 x28: 0000000000000000 
[    3.073189] x27: 0000000000000006 x26: ffff00207a421c10 
[    3.078544] x25: 0000000000000003 x24: ffff00207a41a4b0 
[    3.083898] x23: ffff800011009948 x22: ffff8000111abbd8 
[    3.089251] x21: ffff00207a41a410 x20: ffff8000110a2ae8 
[    3.094604] x19: ffff00207a41a490 x18: 0000000000000010 
[    3.099957] x17: 0000000000000000 x16: 0000000000000000 
[    3.105310] x15: ffffffffffffffff x14: 0720072007200741 
[    3.110664] x13: 074d074407410720 x12: 0767076e07690773 
[    3.116016] x11: 07750720075d0763 x10: 00000000000009f0 
[    3.121370] x9 : ffff800010548e68 x8 : ffff00207ae50a50 
[    3.126723] x7 : 0000000000000000 x6 : 0000000000000001 
[    3.132075] x5 : 0000000000008340 x4 : 0000000000000000 
[    3.137428] x3 : ffff8000110a3380 x2 : 0000000000000000 
[    3.142780] x1 : 0000000000000001 x0 : ffff00207a401000 
[    3.148133] Call trace:
[    3.150609]  device_links_driver_bound+0x1c0/0x1e8
[    3.155442]  driver_bound+0x70/0xc0
[    3.158963]  really_probe+0x110/0x318
[    3.162660]  driver_probe_device+0x40/0x90
[    3.166793]  device_driver_attach+0x7c/0x88
[    3.171013]  __driver_attach+0x60/0xe8
[    3.174794]  bus_for_each_dev+0x7c/0xd0
[    3.178663]  driver_attach+0x2c/0x38
[    3.182270]  bus_add_driver+0x194/0x1f8
[    3.186139]  driver_register+0x6c/0x128
[    3.190012]  __platform_driver_register+0x50/0x60
[    3.194755]  sdhci_esdhc_driver_init+0x24/0x30
[    3.199237]  do_one_initcall+0x54/0x298
[    3.203110]  kernel_init_freeable+0x1ec/0x268
[    3.207507]  kernel_init+0x1c/0x118
[    3.211025]  ret_from_fork+0x10/0x1c
[    3.214629] ---[ end trace 119c2917ee509c36 ]---
[    3.219842] sdhci-esdhc 2150000.mmc: Adding to iommu group 9
[    3.252837] mmc1: SDHCI controller on 2150000.mmc [2150000.mmc] using ADMA
[    3.259902] ------------[ cut here ]------------
[    3.264577] WARNING: CPU: 1 PID: 1 at drivers/base/core.c:912 device_links_driver_bound+0x1c0/0x1e8
[    3.273685] Modules linked in:
[    3.276775] CPU: 1 PID: 1 Comm: swapper/0 Tainted: G        W         5.7.0-rc6-next-20200522-00040-g43dd7a434139 #800
[    3.287544] Hardware name: Kontron SMARC-sAL28 (Single PHY) on SMARC Eval 2.0 carrier (DT)
[    3.295873] pstate: 80000005 (Nzcv daif -PAN -UAO BTYPE=--)
[    3.301490] pc : device_links_driver_bound+0x1c0/0x1e8
[    3.306669] lr : device_links_driver_bound+0xf8/0x1e8
[    3.311754] sp : ffff8000111abb80
[    3.315093] x29: ffff8000111abb80 x28: 0000000000000000 
[    3.320449] x27: 0000000000000006 x26: ffff00207a421c10 
[    3.325805] x25: 0000000000000003 x24: ffff00207a41a8b0 
[    3.331159] x23: ffff800011009948 x22: ffff8000111abbd8 
[    3.336511] x21: ffff00207a41a810 x20: ffff8000110a2ae8 
[    3.341864] x19: ffff00207a41a890 x18: 0000000000000010 
[    3.347217] x17: 00000000000003fb x16: 0000000000000001 
[    3.352569] x15: ffffffffffffffff x14: 0720072007200741 
[    3.357921] x13: 074d074407410720 x12: 0767076e07690773 
[    3.363273] x11: 07750720075d0763 x10: 00000000000009f0 
[    3.368627] x9 : ffff800010548e68 x8 : ffff00207ae50a50 
[    3.373980] x7 : 0000000000000001 x6 : 0000000000000001 
[    3.379333] x5 : 0000000000007670 x4 : 0000000000000000 
[    3.384686] x3 : ffff8000110a3380 x2 : 0000000000000000 
[    3.390036] x1 : 0000000000000001 x0 : ffff00207a401080 
[    3.395391] Call trace:
[    3.397863]  device_links_driver_bound+0x1c0/0x1e8
[    3.402694]  driver_bound+0x70/0xc0
[    3.406216]  really_probe+0x110/0x318
[    3.409911]  driver_probe_device+0x40/0x90
[    3.414044]  device_driver_attach+0x7c/0x88
[    3.418262]  __driver_attach+0x60/0xe8
[    3.422043]  bus_for_each_dev+0x7c/0xd0
[    3.425912]  driver_attach+0x2c/0x38
[    3.429518]  bus_add_driver+0x194/0x1f8
[    3.433387]  driver_register+0x6c/0x128
[    3.434954] mmc0: new ultra high speed SDR104 SDHC card at address 1234
[    3.437259]  __platform_driver_register+0x50/0x60
[    3.437277]  sdhci_esdhc_driver_init+0x24/0x30
[    3.453131]  do_one_initcall+0x54/0x298
[    3.457004]  kernel_init_freeable+0x1ec/0x268
[    3.461400]  kernel_init+0x1c/0x118
[    3.464920]  ret_from_fork+0x10/0x1c
[    3.468521] ---[ end trace 119c2917ee509c37 ]---
[    3.474335] mmcblk0: mmc0:1234 SA16G 14.4 GiB 
[    3.474995] usbcore: registered new interface driver usbhid
[    3.484513] usbhid: USB HID core driver
[    3.485993]  mmcblk0: p1
[    3.489639] wm8904 2-001a: supply DCVDD not found, using dummy regulator
[    3.497984] wm8904 2-001a: supply DBVDD not found, using dummy regulator
[    3.504924] wm8904 2-001a: supply AVDD not found, using dummy regulator
[    3.511751] wm8904 2-001a: supply CPVDD not found, using dummy regulator
[    3.518683] wm8904 2-001a: supply MICVDD not found, using dummy regulator
[    3.527720] wm8904 2-001a: revision A
[    3.531539] usb 3-1: new high-speed USB device number 2 using xhci-hcd
[    3.550758] NET: Registered protocol family 10
[    3.557190] Segment Routing with IPv6
[    3.561484] sit: IPv6, IPv4 and MPLS over IPv4 tunneling driver
[    3.568527] NET: Registered protocol family 17
[    3.573204] Bridge firewalling registered
[    3.577592] 8021q: 802.1Q VLAN Support v1.8
[    3.581987] Key type dns_resolver registered
[    3.586796] registered taskstats version 1
[    3.590979] Loading compiled-in X.509 certificates
[    3.601872] fsl-edma 22c0000.dma-controller: Adding to iommu group 10
[    3.611553] ------------[ cut here ]------------
[    3.616236] WARNING: CPU: 1 PID: 23 at drivers/base/core.c:912 device_links_driver_bound+0x1c0/0x1e8
[    3.625431] Modules linked in:
[    3.628522] CPU: 1 PID: 23 Comm: kworker/1:1 Tainted: G        W         5.7.0-rc6-next-20200522-00040-g43dd7a434139 #800
[    3.639553] Hardware name: Kontron SMARC-sAL28 (Single PHY) on SMARC Eval 2.0 carrier (DT)
[    3.647889] Workqueue: events deferred_probe_work_func
[    3.653073] pstate: 80000005 (Nzcv daif -PAN -UAO BTYPE=--)
[    3.658688] pc : device_links_driver_bound+0x1c0/0x1e8
[    3.663868] lr : device_links_driver_bound+0xf8/0x1e8
[    3.668955] sp : ffff8000112dbb80
[    3.672294] x29: ffff8000112dbb80 x28: 0000000000000000 
[    3.677650] x27: ffff00207af84848 x26: ffff00207a421c10 
[    3.683005] x25: 0000000000000003 x24: ffff00207a41bcb0 
[    3.688359] x23: ffff800011009948 x22: ffff8000112dbbd8 
[    3.693712] x21: ffff00207a41bc10 x20: ffff8000110a2ae8 
[    3.699065] x19: ffff00207a41bc90 x18: 0000000000000000 
[    3.704417] x17: 00000000040e1236 x16: 0000000065a74b1b 
[    3.709770] x15: ffffffffffffffff x14: ffff800011009948 
[    3.715123] x13: ffff002079fa291c x12: 0000000000000030 
[    3.720476] x11: 0101010101010101 x10: ffffffffffffffff 
[    3.725829] x9 : ffff800010548e68 x8 : ffff002079fb3f80 
[    3.731182] x7 : 0000000000000000 x6 : 000000000000003f 
[    3.736535] x5 : 0000000000000040 x4 : 0000000000000000 
[    3.741887] x3 : ffff8000110a3380 x2 : 0000000000000000 
[    3.747239] x1 : 0000000000000001 x0 : ffff00207a401180 
[    3.752593] Call trace:
[    3.755065]  device_links_driver_bound+0x1c0/0x1e8
[    3.759897]  driver_bound+0x70/0xc0
[    3.763417]  really_probe+0x110/0x318
[    3.767112]  driver_probe_device+0x40/0x90
[    3.771244]  __device_attach_driver+0x8c/0xd0
[    3.775637]  bus_for_each_drv+0x84/0xd8
[    3.779506]  __device_attach+0xd4/0x110
[    3.783375]  device_initial_probe+0x1c/0x28
[    3.787592]  bus_probe_device+0xa4/0xb0
[    3.791462]  deferred_probe_work_func+0x7c/0xb8
[    3.796034]  process_one_work+0x1f4/0x4b8
[    3.800080]  worker_thread+0x218/0x498
[    3.803862]  kthread+0x160/0x168
[    3.807121]  ret_from_fork+0x10/0x1c
[    3.810723] ---[ end trace 119c2917ee509c39 ]---
[    3.815842] pcieport 0001:00:00.0: Adding to iommu group 11
[    3.822335] pcieport 0001:00:00.0: AER: enabled with IRQ 24
[    3.828417] pcieport 0002:00:00.0: Adding to iommu group 12
[    3.834817] pcieport 0002:00:00.0: AER: enabled with IRQ 26
[    3.841914] fsl-qdma 8380000.dma-controller: Adding to iommu group 13
[    3.850471] ------------[ cut here ]------------
[    3.855153] WARNING: CPU: 1 PID: 23 at drivers/base/core.c:912 device_links_driver_bound+0x1c0/0x1e8
[    3.864348] Modules linked in:
[    3.867439] CPU: 1 PID: 23 Comm: kworker/1:1 Tainted: G        W         5.7.0-rc6-next-20200522-00040-g43dd7a434139 #800
[    3.878470] Hardware name: Kontron SMARC-sAL28 (Single PHY) on SMARC Eval 2.0 carrier (DT)
[    3.886807] Workqueue: events deferred_probe_work_func
[    3.891991] pstate: 80000005 (Nzcv daif -PAN -UAO BTYPE=--)
[    3.897607] pc : device_links_driver_bound+0x1c0/0x1e8
[    3.902785] lr : device_links_driver_bound+0xf8/0x1e8
[    3.907872] sp : ffff8000112dbb80
[    3.911211] x29: ffff8000112dbb80 x28: 0000000000000000 
[    3.916568] x27: ffff00207af84848 x26: ffff00207a421c10 
[    3.921921] x25: 0000000000000003 x24: ffff00207a4220b0 
[    3.927274] x23: ffff800011009948 x22: ffff8000112dbbd8 
[    3.932626] x21: ffff00207a422010 x20: ffff8000110a2ae8 
[    3.937979] x19: ffff00207a422090 x18: 0000000000000000 
[    3.943332] x17: 0000000000000028 x16: 0000000000000050 
[    3.948686] x15: ffffffffffffffff x14: ffff800011009948 
[    3.954038] x13: ffff002079fa391c x12: 0000000000000030 
[    3.959390] x11: 0101010101010101 x10: ffffffffffffffff 
[    3.964742] x9 : ffff800010548e68 x8 : 746e6f632d616d64 
[    3.970096] x7 : ffff8000112dba00 x6 : 0000000000000000 
[    3.975449] x5 : 0000000000000000 x4 : 0000000000000000 
[    3.980801] x3 : ffff8000110a3380 x2 : 0000000000000000 
[    3.986152] x1 : 0000000000000001 x0 : ffff00207a401400 
[    3.991505] Call trace:
[    3.993978]  device_links_driver_bound+0x1c0/0x1e8
[    3.998809]  driver_bound+0x70/0xc0
[    4.002329]  really_probe+0x110/0x318
[    4.006024]  driver_probe_device+0x40/0x90
[    4.010155]  __device_attach_driver+0x8c/0xd0
[    4.014547]  bus_for_each_drv+0x84/0xd8
[    4.018416]  __device_attach+0xd4/0x110
[    4.022285]  device_initial_probe+0x1c/0x28
[    4.026503]  bus_probe_device+0xa4/0xb0
[    4.030371]  deferred_probe_work_func+0x7c/0xb8
[    4.034944]  process_one_work+0x1f4/0x4b8
[    4.038989]  worker_thread+0x218/0x498
[    4.042772]  kthread+0x160/0x168
[    4.046031]  ret_from_fork+0x10/0x1c
[    4.049634] ---[ end trace 119c2917ee509c3a ]---
[    4.067995] asoc-simple-card sound: wm8904-hifi <-> f150000.audio-controller mapping ok
[    4.080340] hub 3-1:1.0: USB hub found
[    4.085394] hub 3-1:1.0: 7 ports detected
[    4.092223] asoc-simple-card sound: wm8904-hifi <-> f140000.audio-controller mapping ok
[    4.100866] asoc-simple-card sound: ASoC: no DMI vendor name!
[    4.106933] random: fast init done
[    4.110951] mmc1: new HS400 MMC card at address 0001
[    4.117316] mmcblk1: mmc1:0001 S0J58X 29.6 GiB 
[    4.122436] mmcblk1boot0: mmc1:0001 S0J58X partition 1 31.5 MiB
[    4.130037] mmcblk1boot1: mmc1:0001 S0J58X partition 2 31.5 MiB
[    4.130304] irq: no irq domain found for interrupt-controller@1c !
[    4.136289] mmcblk1rpmb: mmc1:0001 S0J58X partition 3 4.00 MiB, chardev (245:0)
[    4.142321] irq: no irq domain found for interrupt-controller@1c !
[    4.156366] gpio-keys buttons0: Found button without gpio or irq
[    4.162815] gpio-keys: probe of buttons0 failed with error -22
[    4.162821]  mmcblk1: p1 p2
[    4.172097] ALSA device list:
[    4.175148]   #0: f150000.audio-controller-wm8904-hifi
[    4.182701] EXT4-fs (mmcblk1p2): INFO: recovery required on readonly filesystem
[    4.190137] EXT4-fs (mmcblk1p2): write access will be enabled during recovery
[    4.263821] EXT4-fs (mmcblk1p2): recovery complete
[    4.270940] EXT4-fs (mmcblk1p2): mounted filesystem with ordered data mode. Opts: (null)
[    4.279327] VFS: Mounted root (ext4 filesystem) readonly on device 179:34.
[    4.287179] devtmpfs: mounted
[    4.301063] Freeing unused kernel memory: 3264K
[    4.305875] Run /sbin/init as init process
[    4.310036]   with arguments:
[    4.313051]     /sbin/init
[    4.315802]   with environment:
[    4.318991]     HOME=/
[    4.321370]     TERM=linux
[    4.371451] EXT4-fs (mmcblk1p2): re-mounted. Opts: (null)
[    4.471037] usb 3-1.6: new full-speed USB device number 3 using xhci-hcd
[    4.541101] udevd[127]: starting version 3.2.8
[    4.549864] random: udevd: uninitialized urandom read (16 bytes read)
[    4.557780] random: udevd: uninitialized urandom read (16 bytes read)
[    4.564612] random: udevd: uninitialized urandom read (16 bytes read)
[    4.576379] udevd[127]: specified group 'kvm' unknown
[    4.606090] udevd[129]: starting eudev-3.2.8
[    6.853488] fsl_enetc 0000:00:00.0 gbe0: renamed from eth0
[    9.585282] urandom_read: 3 callbacks suppressed
[    9.585295] random: dd: uninitialized urandom read (512 bytes read)
[    9.748164] Qualcomm Atheros AR8031/AR8033 0000:00:00.0:05: attached PHY driver [Qualcomm Atheros AR8031/AR8033] (mii_bus:phy_addr=0000:00:00.0:05, irq=POLL)
[    9.779903] fsl_enetc 0000:00:00.0 gbe0: Link is Down
[    9.836673] random: dropbear: uninitialized urandom read (32 bytes read)
[   11.843533] fsl_enetc 0000:00:00.0 gbe0: Link is Up - 10Mbps/Full - flow control off
[   11.851417] IPv6: ADDRCONF(NETDEV_CHANGE): gbe0: link becomes ready
[   12.871335] fsl_enetc 0000:00:00.0 gbe0: Link is Down
[   14.915541] fsl_enetc 0000:00:00.0 gbe0: Link is Up - 1Gbps/Full - flow control off

-michael

^ permalink raw reply	[flat|nested] 19+ messages in thread

* Re: [PATCH v3] driver core: Fix SYNC_STATE_ONLY device link implementation
  2020-05-22 18:41       ` Michael Walle
@ 2020-05-22 22:21         ` Saravana Kannan
  2020-05-22 22:47           ` Michael Walle
  0 siblings, 1 reply; 19+ messages in thread
From: Saravana Kannan @ 2020-05-22 22:21 UTC (permalink / raw)
  To: Michael Walle; +Cc: stable, Android Kernel Team, LKML

On Fri, May 22, 2020 at 11:41 AM Michael Walle <michael@walle.cc> wrote:
>
> Am Mon, 18 May 2020 23:30:00 -0700
> schrieb Saravana Kannan <saravanak@google.com>:
>
> > When SYNC_STATE_ONLY support was added in commit 05ef983e0d65 ("driver
> > core: Add device link support for SYNC_STATE_ONLY flag"),
> > device_link_add() incorrectly skipped adding the new SYNC_STATE_ONLY
> > device link to the supplier's and consumer's "device link" list.
> >
> > This causes multiple issues:
> > - The device link is lost forever from driver core if the caller
> >   didn't keep track of it (caller typically isn't expected to). This
> > is a memory leak.
> > - The device link is also never visible to any other code path after
> >   device_link_add() returns.
> >
> > If we fix the "device link" list handling, that exposes a bunch of
> > issues.
> >
> > 1. The device link "status" state management code rightfully doesn't
> > handle the case where a DL_FLAG_MANAGED device link exists between a
> > supplier and consumer, but the consumer manages to probe successfully
> > before the supplier. The addition of DL_FLAG_SYNC_STATE_ONLY links
> > break this assumption. This causes device_links_driver_bound() to
> > throw a warning when this happens.
> >
> > Since DL_FLAG_SYNC_STATE_ONLY device links are mainly used for
> > creating proxy device links for child device dependencies and aren't
> > useful once the consumer device probes successfully, this patch just
> > deletes DL_FLAG_SYNC_STATE_ONLY device links once its consumer device
> > probes. This way, we avoid the warning, free up some memory and avoid
> > complicating the device links "status" state management code.
> >
> > 2. Creating a DL_FLAG_STATELESS device link between two devices that
> > already have a DL_FLAG_SYNC_STATE_ONLY device link will result in the
> > DL_FLAG_STATELESS flag not getting set correctly. This patch also
> > fixes this.
> >
> > Lastly, this patch also fixes minor whitespace issues.
>
> My board triggers the
>   WARN_ON(link->status != DL_STATE_CONSUMER_PROBE);
>
> Full bootlog:
>
> [    0.000000] Booting Linux on physical CPU 0x0000000000 [0x410fd083]
> [    0.000000] Linux version 5.7.0-rc6-next-20200522-00040-g43dd7a434139 (mw@apollo) (aarch64-linux-gnu-gcc (Debian 8.3.0-2) 8.3.0, GNU ld (GNU Binutils for Debian) 2.31.1) #800 SMP PREEMPT Fri May 22 20:33:03 CEST 2020
> [    0.000000] Machine model: Kontron SMARC-sAL28 (Single PHY) on SMARC Eval 2.0 carrier
> [    0.000000] efi: UEFI not found.
> [    0.000000] cma: Reserved 32 MiB at 0x00000000f9c00000
> [    0.000000] NUMA: No NUMA configuration found
> [    0.000000] NUMA: Faking a node at [mem 0x0000000080000000-0x00000020ffffffff]
> [    0.000000] NUMA: NODE_DATA [mem 0x20ff7ff100-0x20ff800fff]
> [    0.000000] Zone ranges:
> [    0.000000]   DMA      [mem 0x0000000080000000-0x00000000bfffffff]
> [    0.000000]   DMA32    [mem 0x00000000c0000000-0x00000000ffffffff]
> [    0.000000]   Normal   [mem 0x0000000100000000-0x00000020ffffffff]
> [    0.000000] Movable zone start for each node
> [    0.000000] Early memory node ranges
> [    0.000000]   node   0: [mem 0x0000000080000000-0x00000000fbdfffff]
> [    0.000000]   node   0: [mem 0x0000002080000000-0x00000020ffffffff]
> [    0.000000] Initmem setup node 0 [mem 0x0000000080000000-0x00000020ffffffff]
> [    0.000000] On node 0 totalpages: 1031680
> [    0.000000]   DMA zone: 4096 pages used for memmap
> [    0.000000]   DMA zone: 0 pages reserved
> [    0.000000]   DMA zone: 262144 pages, LIFO batch:63
> [    0.000000]   DMA32 zone: 3832 pages used for memmap
> [    0.000000]   DMA32 zone: 245248 pages, LIFO batch:63
> [    0.000000]   Normal zone: 8192 pages used for memmap
> [    0.000000]   Normal zone: 524288 pages, LIFO batch:63
> [    0.000000] percpu: Embedded 30 pages/cpu s82776 r8192 d31912 u122880
> [    0.000000] pcpu-alloc: s82776 r8192 d31912 u122880 alloc=30*4096
> [    0.000000] pcpu-alloc: [0] 0 [0] 1
> [    0.000000] Detected PIPT I-cache on CPU0
> [    0.000000] CPU features: detected: GIC system register CPU interface
> [    0.000000] CPU features: detected: EL2 vector hardening
> [    0.000000] ARM_SMCCC_ARCH_WORKAROUND_1 missing from firmware
> [    0.000000] CPU features: detected: ARM errata 1165522, 1319367, or 1530923
> [    0.000000] Built 1 zonelists, mobility grouping on.  Total pages: 1015560
> [    0.000000] Policy zone: Normal
> [    0.000000] Kernel command line: debug root=/dev/mmcblk1p2 rootwait
> [    0.000000] Dentry cache hash table entries: 524288 (order: 10, 4194304 bytes, linear)
> [    0.000000] Inode-cache hash table entries: 262144 (order: 9, 2097152 bytes, linear)
> [    0.000000] mem auto-init: stack:off, heap alloc:off, heap free:off
> [    0.000000] software IO TLB: mapped [mem 0xbbfff000-0xbffff000] (64MB)
> [    0.000000] Memory: 3929888K/4126720K available (9532K kernel code, 1116K rwdata, 3556K rodata, 3264K init, 400K bss, 164064K reserved, 32768K cma-reserved)
> [    0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=2, Nodes=1
> [    0.000000] ftrace: allocating 32623 entries in 128 pages
> [    0.000000] ftrace: allocated 128 pages with 1 groups
> [    0.000000] rcu: Preemptible hierarchical RCU implementation.
> [    0.000000] rcu:     RCU restricting CPUs from NR_CPUS=256 to nr_cpu_ids=2.
> [    0.000000]  Trampoline variant of Tasks RCU enabled.
> [    0.000000]  Rude variant of Tasks RCU enabled.
> [    0.000000] rcu: RCU calculated value of scheduler-enlistment delay is 25 jiffies.
> [    0.000000] rcu: Adjusting geometry for rcu_fanout_leaf=16, nr_cpu_ids=2
> [    0.000000] NR_IRQS: 64, nr_irqs: 64, preallocated irqs: 0
> [    0.000000] GICv3: GIC: Using split EOI/Deactivate mode
> [    0.000000] GICv3: 256 SPIs implemented
> [    0.000000] GICv3: 0 Extended SPIs implemented
> [    0.000000] GICv3: Distributor has no Range Selector support
> [    0.000000] GICv3: 16 PPIs implemented
> [    0.000000] GICv3: CPU0: found redistributor 0 region 0:0x0000000006040000
> [    0.000000] ITS [mem 0x06020000-0x0603ffff]
> [    0.000000] ITS@0x0000000006020000: allocated 65536 Devices @20fad80000 (flat, esz 8, psz 64K, shr 0)
> [    0.000000] ITS: using cache flushing for cmd queue
> [    0.000000] GICv3: using LPI property table @0x00000020fad30000
> [    0.000000] GIC: using cache flushing for LPI property table
> [    0.000000] GICv3: CPU0: using allocated LPI pending table @0x00000020fad40000
> [    0.000000] random: get_random_bytes called from start_kernel+0x604/0x7cc with crng_init=0
> [    0.000000] arch_timer: cp15 timer(s) running at 25.00MHz (phys).
> [    0.000000] clocksource: arch_sys_counter: mask: 0xffffffffffffff max_cycles: 0x5c40939b5, max_idle_ns: 440795202646 ns
> [    0.000002] sched_clock: 56 bits at 25MHz, resolution 40ns, wraps every 4398046511100ns
> [    0.000109] Console: colour dummy device 80x25
> [    0.000393] printk: console [tty0] enabled
> [    0.000439] Calibrating delay loop (skipped), value calculated using timer frequency.. 50.00 BogoMIPS (lpj=100000)
> [    0.000452] pid_max: default: 32768 minimum: 301
> [    0.000501] LSM: Security Framework initializing
> [    0.000553] Mount-cache hash table entries: 8192 (order: 4, 65536 bytes, linear)
> [    0.000585] Mountpoint-cache hash table entries: 8192 (order: 4, 65536 bytes, linear)
> [    0.001429] rcu: Hierarchical SRCU implementation.
> [    0.001574] Platform MSI: gic-its@6020000 domain created
> [    0.001649] PCI/MSI: /interrupt-controller@6000000/gic-its@6020000 domain created
> [    0.001853] EFI services will not be available.
> [    0.001951] smp: Bringing up secondary CPUs ...
> [    0.002231] Detected PIPT I-cache on CPU1
> [    0.002250] GICv3: CPU1: found redistributor 1 region 0:0x0000000006060000
> [    0.002256] GICv3: CPU1: using allocated LPI pending table @0x00000020fad50000
> [    0.002278] CPU1: Booted secondary processor 0x0000000001 [0x410fd083]
> [    0.002328] smp: Brought up 1 node, 2 CPUs
> [    0.002354] SMP: Total of 2 processors activated.
> [    0.002362] CPU features: detected: 32-bit EL0 Support
> [    0.002369] CPU features: detected: CRC32 instructions
> [    0.010381] CPU: All CPU(s) started at EL2
> [    0.010401] alternatives: patching kernel code
> [    0.010994] devtmpfs: initialized
> [    0.012904] KASLR disabled due to lack of seed
> [    0.013071] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 7645041785100000 ns
> [    0.013088] futex hash table entries: 512 (order: 3, 32768 bytes, linear)
> [    0.013867] thermal_sys: Registered thermal governor 'step_wise'
> [    0.013995] DMI not present or invalid.
> [    0.014177] NET: Registered protocol family 16
> [    0.015070] DMA: preallocated 4096 KiB GFP_KERNEL pool for atomic allocations
> [    0.015787] DMA: preallocated 4096 KiB GFP_KERNEL|GFP_DMA pool for atomic allocations
> [    0.016519] DMA: preallocated 4096 KiB GFP_KERNEL|GFP_DMA32 pool for atomic allocations
> [    0.016555] audit: initializing netlink subsys (disabled)
> [    0.016679] audit: type=2000 audit(0.016:1): state=initialized audit_enabled=0 res=1
> [    0.016973] cpuidle: using governor menu
> [    0.017044] hw-breakpoint: found 6 breakpoint and 4 watchpoint registers.
> [    0.017074] ASID allocator initialised with 65536 entries
> [    0.017342] Serial: AMBA PL011 UART driver
> [    0.023544] Machine: Kontron SMARC-sAL28 (Single PHY) on SMARC Eval 2.0 carrier
> [    0.023558] SoC family: QorIQ LS1028A
> [    0.023564] SoC ID: svr:0x870b0110, Revision: 1.0
> [    0.026581] HugeTLB registered 1.00 GiB page size, pre-allocated 0 pages
> [    0.026596] HugeTLB registered 32.0 MiB page size, pre-allocated 0 pages
> [    0.026604] HugeTLB registered 2.00 MiB page size, pre-allocated 0 pages
> [    0.026611] HugeTLB registered 64.0 KiB page size, pre-allocated 0 pages
> [    0.027683] cryptd: max_cpu_qlen set to 1000
> [    0.029104] iommu: Default domain type: Translated
> [    0.029174] vgaarb: loaded
> [    0.029308] SCSI subsystem initialized
> [    0.029404] usbcore: registered new interface driver usbfs
> [    0.029431] usbcore: registered new interface driver hub
> [    0.029462] usbcore: registered new device driver usb
> [    0.029593] imx-i2c 2000000.i2c: can't get pinctrl, bus recovery not supported
> [    0.029652] i2c i2c-0: supply bus not found, using dummy regulator
> [    0.029829] i2c i2c-0: IMX I2C adapter registered
> [    0.029908] imx-i2c 2030000.i2c: can't get pinctrl, bus recovery not supported
> [    0.029944] i2c i2c-1: supply bus not found, using dummy regulator
> [    0.030010] i2c i2c-1: IMX I2C adapter registered
> [    0.030082] imx-i2c 2040000.i2c: can't get pinctrl, bus recovery not supported
> [    0.030122] i2c i2c-2: supply bus not found, using dummy regulator
> [    0.030227] i2c i2c-2: IMX I2C adapter registered
> [    0.030303] pps_core: LinuxPPS API ver. 1 registered
> [    0.030310] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it>
> [    0.030324] PTP clock support registered
> [    0.030552] Advanced Linux Sound Architecture Driver Initialized.
> [    0.030904] clocksource: Switched to clocksource arch_sys_counter
> [    0.066437] VFS: Disk quotas dquot_6.6.0
> [    0.066483] VFS: Dquot-cache hash table entries: 512 (order 0, 4096 bytes)
> [    0.069159] NET: Registered protocol family 2
> [    0.069389] tcp_listen_portaddr_hash hash table entries: 2048 (order: 3, 32768 bytes, linear)
> [    0.069414] TCP established hash table entries: 32768 (order: 6, 262144 bytes, linear)
> [    0.069506] TCP bind hash table entries: 32768 (order: 7, 524288 bytes, linear)
> [    0.069807] TCP: Hash tables configured (established 32768 bind 32768)
> [    0.069904] UDP hash table entries: 2048 (order: 4, 65536 bytes, linear)
> [    0.069931] UDP-Lite hash table entries: 2048 (order: 4, 65536 bytes, linear)
> [    0.070016] NET: Registered protocol family 1
> [    0.070036] PCI: CLS 0 bytes, default 64
> [    0.070364] hw perfevents: enabled with armv8_cortex_a72 PMU driver, 7 counters available
> [    0.070817] Initialise system trusted keyrings
> [    0.070976] workingset: timestamp_bits=44 max_order=20 bucket_order=0
> [    0.103862] Key type asymmetric registered
> [    0.103879] Asymmetric key parser 'x509' registered
> [    0.103906] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 248)
> [    0.103915] io scheduler mq-deadline registered
> [    0.103921] io scheduler kyber registered
> [    0.104351] pci-host-generic 1f0000000.pcie: host bridge /soc/pcie@1f0000000 ranges:
> [    0.104380] pci-host-generic 1f0000000.pcie:      MEM 0x01f8000000..0x01f815ffff -> 0x0000000000
> [    0.104401] pci-host-generic 1f0000000.pcie:      MEM 0x01f8160000..0x01f81cffff -> 0x0000000000
> [    0.104423] pci-host-generic 1f0000000.pcie:      MEM 0x01f81d0000..0x01f81effff -> 0x0000000000
> [    0.104441] pci-host-generic 1f0000000.pcie:      MEM 0x01f81f0000..0x01f820ffff -> 0x0000000000
> [    0.104460] pci-host-generic 1f0000000.pcie:      MEM 0x01f8210000..0x01f822ffff -> 0x0000000000
> [    0.104478] pci-host-generic 1f0000000.pcie:      MEM 0x01f8230000..0x01f824ffff -> 0x0000000000
> [    0.104492] pci-host-generic 1f0000000.pcie:      MEM 0x01fc000000..0x01fc3fffff -> 0x0000000000
> [    0.104545] pci-host-generic 1f0000000.pcie: ECAM at [mem 0x1f0000000-0x1f00fffff] for [bus 00]
> [    0.104605] pci-host-generic 1f0000000.pcie: PCI host bridge to bus 0000:00
> [    0.104615] pci_bus 0000:00: root bus resource [bus 00]
> [    0.104624] pci_bus 0000:00: root bus resource [mem 0x1f8000000-0x1f815ffff] (bus address [0x00000000-0x0015ffff])
> [    0.104636] pci_bus 0000:00: root bus resource [mem 0x1f8160000-0x1f81cffff pref] (bus address [0x00000000-0x0006ffff])
> [    0.104647] pci_bus 0000:00: root bus resource [mem 0x1f81d0000-0x1f81effff] (bus address [0x00000000-0x0001ffff])
> [    0.104657] pci_bus 0000:00: root bus resource [mem 0x1f81f0000-0x1f820ffff pref] (bus address [0x00000000-0x0001ffff])
> [    0.104668] pci_bus 0000:00: root bus resource [mem 0x1f8210000-0x1f822ffff] (bus address [0x00000000-0x0001ffff])
> [    0.104678] pci_bus 0000:00: root bus resource [mem 0x1f8230000-0x1f824ffff pref] (bus address [0x00000000-0x0001ffff])
> [    0.104689] pci_bus 0000:00: root bus resource [mem 0x1fc000000-0x1fc3fffff] (bus address [0x00000000-0x003fffff])
> [    0.104710] pci 0000:00:00.0: [1957:e100] type 00 class 0x020001
> [    0.104750] pci 0000:00:00.0: BAR 0: [mem 0x1f8000000-0x1f803ffff 64bit] (from Enhanced Allocation, properties 0x0)
> [    0.104762] pci 0000:00:00.0: BAR 2: [mem 0x1f8160000-0x1f816ffff 64bit pref] (from Enhanced Allocation, properties 0x1)
> [    0.104774] pci 0000:00:00.0: VF BAR 0: [mem 0x1f81d0000-0x1f81dffff 64bit] (from Enhanced Allocation, properties 0x4)
> [    0.104786] pci 0000:00:00.0: VF BAR 2: [mem 0x1f81f0000-0x1f81fffff 64bit pref] (from Enhanced Allocation, properties 0x3)
> [    0.104810] pci 0000:00:00.0: PME# supported from D0 D3hot
> [    0.104824] pci 0000:00:00.0: VF(n) BAR0 space: [mem 0x1f81d0000-0x1f81effff 64bit] (contains BAR0 for 2 VFs)
> [    0.104834] pci 0000:00:00.0: VF(n) BAR2 space: [mem 0x1f81f0000-0x1f820ffff 64bit pref] (contains BAR2 for 2 VFs)
> [    0.104949] pci 0000:00:00.1: [1957:e100] type 00 class 0x020001
> [    0.104978] pci 0000:00:00.1: BAR 0: [mem 0x1f8040000-0x1f807ffff 64bit] (from Enhanced Allocation, properties 0x0)
> [    0.104990] pci 0000:00:00.1: BAR 2: [mem 0x1f8170000-0x1f817ffff 64bit pref] (from Enhanced Allocation, properties 0x1)
> [    0.105002] pci 0000:00:00.1: VF BAR 0: [mem 0x1f8210000-0x1f821ffff 64bit] (from Enhanced Allocation, properties 0x4)
> [    0.105013] pci 0000:00:00.1: VF BAR 2: [mem 0x1f8230000-0x1f823ffff 64bit pref] (from Enhanced Allocation, properties 0x3)
> [    0.105036] pci 0000:00:00.1: PME# supported from D0 D3hot
> [    0.105049] pci 0000:00:00.1: VF(n) BAR0 space: [mem 0x1f8210000-0x1f822ffff 64bit] (contains BAR0 for 2 VFs)
> [    0.105060] pci 0000:00:00.1: VF(n) BAR2 space: [mem 0x1f8230000-0x1f824ffff 64bit pref] (contains BAR2 for 2 VFs)
> [    0.105154] pci 0000:00:00.2: [1957:e100] type 00 class 0x020001
> [    0.105183] pci 0000:00:00.2: BAR 0: [mem 0x1f8080000-0x1f80bffff 64bit] (from Enhanced Allocation, properties 0x0)
> [    0.105195] pci 0000:00:00.2: BAR 2: [mem 0x1f8180000-0x1f818ffff 64bit pref] (from Enhanced Allocation, properties 0x1)
> [    0.105216] pci 0000:00:00.2: PME# supported from D0 D3hot
> [    0.105300] pci 0000:00:00.3: [1957:ee01] type 00 class 0x088001
> [    0.105333] pci 0000:00:00.3: BAR 0: [mem 0x1f8100000-0x1f811ffff 64bit] (from Enhanced Allocation, properties 0x0)
> [    0.105344] pci 0000:00:00.3: BAR 2: [mem 0x1f8190000-0x1f819ffff 64bit pref] (from Enhanced Allocation, properties 0x1)
> [    0.105365] pci 0000:00:00.3: PME# supported from D0 D3hot
> [    0.105448] pci 0000:00:00.4: [1957:ee02] type 00 class 0x088001
> [    0.105477] pci 0000:00:00.4: BAR 0: [mem 0x1f8120000-0x1f813ffff 64bit] (from Enhanced Allocation, properties 0x0)
> [    0.105489] pci 0000:00:00.4: BAR 2: [mem 0x1f81a0000-0x1f81affff 64bit pref] (from Enhanced Allocation, properties 0x1)
> [    0.105521] pci 0000:00:00.4: PME# supported from D0 D3hot
> [    0.105606] pci 0000:00:00.5: [1957:eef0] type 00 class 0x020801
> [    0.105635] pci 0000:00:00.5: BAR 0: [mem 0x1f8140000-0x1f815ffff 64bit] (from Enhanced Allocation, properties 0x0)
> [    0.105647] pci 0000:00:00.5: BAR 2: [mem 0x1f81b0000-0x1f81bffff 64bit pref] (from Enhanced Allocation, properties 0x1)
> [    0.105659] pci 0000:00:00.5: BAR 4: [mem 0x1fc000000-0x1fc3fffff 64bit] (from Enhanced Allocation, properties 0x0)
> [    0.105679] pci 0000:00:00.5: PME# supported from D0 D3hot
> [    0.105765] pci 0000:00:00.6: [1957:e100] type 00 class 0x020001
> [    0.105794] pci 0000:00:00.6: BAR 0: [mem 0x1f80c0000-0x1f80fffff 64bit] (from Enhanced Allocation, properties 0x0)
> [    0.105806] pci 0000:00:00.6: BAR 2: [mem 0x1f81c0000-0x1f81cffff 64bit pref] (from Enhanced Allocation, properties 0x1)
> [    0.105827] pci 0000:00:00.6: PME# supported from D0 D3hot
> [    0.106579] pci 0000:00:1f.0: [1957:e001] type 00 class 0x080700
> [    0.106625] OF: /soc/pcie@1f0000000: no msi-map translation for rid 0xf8 on (null)
> [    0.106967] layerscape-pcie 3400000.pcie: host bridge /soc/pcie@3400000 ranges:
> [    0.106993] layerscape-pcie 3400000.pcie:       IO 0x8000010000..0x800001ffff -> 0x0000000000
> [    0.107013] layerscape-pcie 3400000.pcie:      MEM 0x8040000000..0x807fffffff -> 0x0040000000
> [    0.107104] layerscape-pcie 3400000.pcie: PCI host bridge to bus 0001:00
> [    0.107114] pci_bus 0001:00: root bus resource [bus 00-ff]
> [    0.107121] pci_bus 0001:00: root bus resource [io  0x0000-0xffff]
> [    0.107130] pci_bus 0001:00: root bus resource [mem 0x8040000000-0x807fffffff] (bus address [0x40000000-0x7fffffff])
> [    0.107150] pci 0001:00:00.0: [1957:82c1] type 01 class 0x060400
> [    0.107210] pci 0001:00:00.0: supports D1 D2
> [    0.107217] pci 0001:00:00.0: PME# supported from D0 D1 D2 D3hot
> [    0.108621] pci_bus 0001:01: busn_res: [bus 01-ff] end is updated to 01
> [    0.108634] pci 0001:00:00.0: PCI bridge to [bus 01]
> [    0.108723] layerscape-pcie 3500000.pcie: host bridge /soc/pcie@3500000 ranges:
> [    0.108747] layerscape-pcie 3500000.pcie:       IO 0x8800010000..0x880001ffff -> 0x0000000000
> [    0.108766] layerscape-pcie 3500000.pcie:      MEM 0x8840000000..0x887fffffff -> 0x0040000000
> [    0.108840] layerscape-pcie 3500000.pcie: PCI host bridge to bus 0002:00
> [    0.108849] pci_bus 0002:00: root bus resource [bus 00-ff]
> [    0.108861] pci_bus 0002:00: root bus resource [io  0x10000-0x1ffff] (bus address [0x0000-0xffff])
> [    0.108871] pci_bus 0002:00: root bus resource [mem 0x8840000000-0x887fffffff] (bus address [0x40000000-0x7fffffff])
> [    0.108891] pci 0002:00:00.0: [1957:82c1] type 01 class 0x060400
> [    0.108950] pci 0002:00:00.0: supports D1 D2
> [    0.108957] pci 0002:00:00.0: PME# supported from D0 D1 D2 D3hot
> [    0.110338] pci_bus 0002:01: busn_res: [bus 01-ff] end is updated to 01
> [    0.110349] pci 0002:00:00.0: PCI bridge to [bus 01]
> [    0.110615] IPMI message handler: version 39.2
> [    0.110641] ipmi device interface
> [    0.110669] ipmi_si: IPMI System Interface driver
> [    0.110786] ipmi_si: Unable to find any System Interface(s)
> [    0.112304] Serial: 8250/16550 driver, 4 ports, IRQ sharing enabled
> [    0.113001] 21c0500.serial: ttyS0 at MMIO 0x21c0500 (irq = 16, base_baud = 12500000) is a 16550A
> [    1.712116] printk: console [ttyS0] enabled
> [    1.716565] 21c0600.serial: ttyS1 at MMIO 0x21c0600 (irq = 16, base_baud = 12500000) is a 16550A
> [    1.725671] 2270000.serial: ttyLP2 at MMIO 0x2270000 (irq = 17, base_baud = 12500000) is a FSL_LPUART
> [    1.735738] arm-smmu 5000000.iommu: probing hardware configuration...
> [    1.742217] arm-smmu 5000000.iommu: SMMUv2 with:
> [    1.746865] arm-smmu 5000000.iommu:  stage 1 translation
> [    1.752214] arm-smmu 5000000.iommu:  stage 2 translation
> [    1.757551] arm-smmu 5000000.iommu:  nested translation
> [    1.762798] arm-smmu 5000000.iommu:  stream matching with 128 register groups
> [    1.769965] arm-smmu 5000000.iommu:  64 context banks (0 stage-2 only)
> [    1.776527] arm-smmu 5000000.iommu:  Supported page sizes: 0x61311000
> [    1.782996] arm-smmu 5000000.iommu:  Stage-1: 48-bit VA -> 48-bit IPA
> [    1.789464] arm-smmu 5000000.iommu:  Stage-2: 48-bit IPA -> 48-bit PA
> [    1.796436] at24 0-0050: supply vcc not found, using dummy regulator
> [    1.803621] at24 0-0050: 4096 byte 24c32 EEPROM, writable, 32 bytes/write
> [    1.810495] at24 1-0057: supply vcc not found, using dummy regulator
> [    1.817640] at24 1-0057: 8192 byte 24c64 EEPROM, writable, 32 bytes/write
> [    1.824509] at24 2-0050: supply vcc not found, using dummy regulator
> [    1.831649] at24 2-0050: 4096 byte 24c32 EEPROM, writable, 32 bytes/write
> [    1.838597] mpt3sas version 34.100.00.00 loaded
> [    1.843906] header.nph=2
> [    1.846447] sfdp_size=288
> [    1.849205] spi-nor spi1.0: mx25u3235f (4096 Kbytes)
> [    1.859852] header.nph=0
> [    1.862395] sfdp_size=192
> [    1.865068] spi-nor spi0.0: w25q32dw (4096 Kbytes)
> [    1.871401] 10 fixed-partitions partitions found on MTD device 20c0000.spi
> [    1.878316] Creating 10 MTD partitions on "20c0000.spi":
> [    1.883663] 0x000000000000-0x000000010000 : "rcw"
> [    1.895213] 0x000000010000-0x000000100000 : "failsafe bootloader"
> [    1.911211] 0x000000100000-0x000000140000 : "failsafe DP firmware"
> [    1.919242] 0x000000140000-0x0000001e0000 : "failsafe trusted firmware"
> [    1.927234] 0x0000001e0000-0x000000200000 : "reserved"
> [    1.935232] 0x000000200000-0x000000210000 : "configuration store"
> [    1.943244] 0x000000210000-0x000000300000 : "bootloader"
> [    1.951230] 0x000000300000-0x000000340000 : "DP firmware"
> [    1.959226] 0x000000340000-0x0000003e0000 : "trusted firmware"
> [    1.967238] 0x0000003e0000-0x000000400000 : "bootloader environment"
> [    1.975845] libphy: Fixed MDIO Bus: probed
> [    1.980150] mscc_felix 0000:00:00.5: Adding to iommu group 0
> [    1.985966] mscc_felix 0000:00:00.5: device is disabled, skipping
> [    1.992148] fsl_enetc 0000:00:00.0: Adding to iommu group 1
> [    2.102922] fsl_enetc 0000:00:00.0: enabling device (0400 -> 0402)
> [    2.109167] fsl_enetc 0000:00:00.0: no MAC address specified for SI1, using d2:e9:d1:8e:4e:1c
> [    2.117734] fsl_enetc 0000:00:00.0: no MAC address specified for SI2, using 2a:b8:1d:68:7f:ff
> [    2.126646] libphy: Freescale ENETC MDIO Bus: probed
> [    2.133222] fsl_enetc 0000:00:00.1: Adding to iommu group 2
> [    2.138948] fsl_enetc 0000:00:00.1: device is disabled, skipping
> [    2.145022] fsl_enetc 0000:00:00.2: Adding to iommu group 3
> [    2.150696] fsl_enetc 0000:00:00.2: device is disabled, skipping
> [    2.156768] fsl_enetc 0000:00:00.6: Adding to iommu group 4
> [    2.162443] fsl_enetc 0000:00:00.6: device is disabled, skipping
> [    2.168541] fsl_enetc_mdio 0000:00:00.3: Adding to iommu group 5
> [    2.278915] fsl_enetc_mdio 0000:00:00.3: enabling device (0400 -> 0402)
> [    2.285740] libphy: FSL PCIe IE Central MDIO Bus: probed
> [    2.291111] igb: Intel(R) Gigabit Ethernet Network Driver - version 5.6.0-k
> [    2.298104] igb: Copyright (c) 2007-2014 Intel Corporation.
> [    2.303802] dwc3 3100000.usb: Adding to iommu group 6
> [    2.309161] ------------[ cut here ]------------
> [    2.313801] WARNING: CPU: 1 PID: 1 at drivers/base/core.c:912 device_links_driver_bound+0x1c0/0x1e8
> [    2.322880] Modules linked in:
> [    2.325944] CPU: 1 PID: 1 Comm: swapper/0 Not tainted 5.7.0-rc6-next-20200522-00040-g43dd7a434139 #800
> [    2.335285] Hardware name: Kontron SMARC-sAL28 (Single PHY) on SMARC Eval 2.0 carrier (DT)
> [    2.343582] pstate: 80000005 (Nzcv daif -PAN -UAO BTYPE=--)
> [    2.349173] pc : device_links_driver_bound+0x1c0/0x1e8
> [    2.354327] lr : device_links_driver_bound+0xf8/0x1e8
> [    2.359393] sp : ffff8000111abb80
> [    2.362713] x29: ffff8000111abb80 x28: 0000000000000000
> [    2.368043] x27: 0000000000000006 x26: ffff00207a421c10
> [    2.373371] x25: 0000000000000003 x24: ffff00207a420cb0
> [    2.378699] x23: ffff800011009948 x22: ffff8000111abbd8
> [    2.384027] x21: ffff00207a420c10 x20: ffff8000110a2ae8
> [    2.389355] x19: ffff00207a420c90 x18: 0000000000000000
> [    2.394684] x17: ffffffffffff3f00 x16: 0000000000007fff
> [    2.400013] x15: ffffffffffffffff x14: ffff800011009948
> [    2.405342] x13: ffff002079cf991c x12: 0000000000000000
> [    2.410671] x11: 0101010101010101 x10: 7f7f7f7f7f7f7f7f
> [    2.416000] x9 : ffff800010548e68 x8 : 7f7f7f7f7f7f7f7f
> [    2.421328] x7 : ffff8000111aba40 x6 : 0000000000000000
> [    2.426657] x5 : 0000000000000000 x4 : 0000000000000000
> [    2.431985] x3 : ffff8000110a3380 x2 : 0000000000000000
> [    2.437313] x1 : 0000000000000001 x0 : ffff00207a401200
> [    2.442643] Call trace:
> [    2.445094]  device_links_driver_bound+0x1c0/0x1e8
> [    2.449900]  driver_bound+0x70/0xc0
> [    2.453396]  really_probe+0x110/0x318
> [    2.457068]  driver_probe_device+0x40/0x90
> [    2.461175]  device_driver_attach+0x7c/0x88
> [    2.465369]  __driver_attach+0x60/0xe8
> [    2.469128]  bus_for_each_dev+0x7c/0xd0
> [    2.472974]  driver_attach+0x2c/0x38
> [    2.476557]  bus_add_driver+0x194/0x1f8
> [    2.480403]  driver_register+0x6c/0x128
> [    2.484251]  __platform_driver_register+0x50/0x60
> [    2.488971]  dwc3_driver_init+0x24/0x30
> [    2.492818]  do_one_initcall+0x54/0x298
> [    2.496665]  kernel_init_freeable+0x1ec/0x268
> [    2.501036]  kernel_init+0x1c/0x118
> [    2.504532]  ret_from_fork+0x10/0x1c
> [    2.508117] ---[ end trace 119c2917ee509c34 ]---
> [    2.512811] dwc3 3110000.usb: Adding to iommu group 7
> [    2.518134] ------------[ cut here ]------------
> [    2.522770] WARNING: CPU: 1 PID: 1 at drivers/base/core.c:912 device_links_driver_bound+0x1c0/0x1e8
> [    2.531848] Modules linked in:
> [    2.534910] CPU: 1 PID: 1 Comm: swapper/0 Tainted: G        W         5.7.0-rc6-next-20200522-00040-g43dd7a434139 #800
> [    2.545647] Hardware name: Kontron SMARC-sAL28 (Single PHY) on SMARC Eval 2.0 carrier (DT)
> [    2.553943] pstate: 80000005 (Nzcv daif -PAN -UAO BTYPE=--)
> [    2.559533] pc : device_links_driver_bound+0x1c0/0x1e8
> [    2.564688] lr : device_links_driver_bound+0xf8/0x1e8
> [    2.569753] sp : ffff8000111abb80
> [    2.573075] x29: ffff8000111abb80 x28: 0000000000000000
> [    2.578403] x27: 0000000000000006 x26: ffff00207a421c10
> [    2.583731] x25: 0000000000000003 x24: ffff00207a4210b0
> [    2.589059] x23: ffff800011009948 x22: ffff8000111abbd8
> [    2.594387] x21: ffff00207a421010 x20: ffff8000110a2ae8
> [    2.599715] x19: ffff00207a421090 x18: 0000000000000000
> [    2.605043] x17: ffffffffffff3f00 x16: 0000000000007fff
> [    2.610372] x15: ffffffffffffffff x14: ffff800011009948
> [    2.615700] x13: ffff002079cf991c x12: 0000000000000000
> [    2.621029] x11: 0101010101010101 x10: 7f7f7f7f7f7f7f7f
> [    2.626356] x9 : ffff800010548e68 x8 : 7f7f7f7f7f7f7f7f
> [    2.631685] x7 : ffff8000111aba40 x6 : 0000000000000000
> [    2.637014] x5 : 0000000000000000 x4 : 0000000000000000
> [    2.642342] x3 : ffff8000110a3380 x2 : 0000000000000000
> [    2.647670] x1 : 0000000000000001 x0 : ffff00207a401280
> [    2.652997] Call trace:
> [    2.655448]  device_links_driver_bound+0x1c0/0x1e8
> [    2.660253]  driver_bound+0x70/0xc0
> [    2.663749]  really_probe+0x110/0x318
> [    2.667421]  driver_probe_device+0x40/0x90
> [    2.671528]  device_driver_attach+0x7c/0x88
> [    2.675722]  __driver_attach+0x60/0xe8
> [    2.679480]  bus_for_each_dev+0x7c/0xd0
> [    2.683326]  driver_attach+0x2c/0x38
> [    2.686910]  bus_add_driver+0x194/0x1f8
> [    2.690756]  driver_register+0x6c/0x128
> [    2.694603]  __platform_driver_register+0x50/0x60
> [    2.699322]  dwc3_driver_init+0x24/0x30
> [    2.703167]  do_one_initcall+0x54/0x298
> [    2.707014]  kernel_init_freeable+0x1ec/0x268
> [    2.711384]  kernel_init+0x1c/0x118
> [    2.714880]  ret_from_fork+0x10/0x1c
> [    2.718462] ---[ end trace 119c2917ee509c35 ]---
> [    2.723246] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
> [    2.729804] ehci-pci: EHCI PCI platform driver
> [    2.734429] xhci-hcd xhci-hcd.0.auto: xHCI Host Controller
> [    2.739956] xhci-hcd xhci-hcd.0.auto: new USB bus registered, assigned bus number 1
> [    2.747789] xhci-hcd xhci-hcd.0.auto: hcc params 0x0220f66d hci version 0x100 quirks 0x0000000002010010
> [    2.757249] xhci-hcd xhci-hcd.0.auto: irq 21, io mem 0x03100000
> [    2.763565] hub 1-0:1.0: USB hub found
> [    2.767348] hub 1-0:1.0: 1 port detected
> [    2.771395] xhci-hcd xhci-hcd.0.auto: xHCI Host Controller
> [    2.776911] xhci-hcd xhci-hcd.0.auto: new USB bus registered, assigned bus number 2
> [    2.784605] xhci-hcd xhci-hcd.0.auto: Host supports USB 3.0 SuperSpeed
> [    2.791187] usb usb2: We don't know the algorithms for LPM for this host, disabling LPM.
> [    2.799523] hub 2-0:1.0: USB hub found
> [    2.803303] hub 2-0:1.0: 1 port detected
> [    2.807381] xhci-hcd xhci-hcd.1.auto: xHCI Host Controller
> [    2.812898] xhci-hcd xhci-hcd.1.auto: new USB bus registered, assigned bus number 3
> [    2.820741] xhci-hcd xhci-hcd.1.auto: hcc params 0x0220f66d hci version 0x100 quirks 0x0000000002010010
> [    2.830207] xhci-hcd xhci-hcd.1.auto: irq 22, io mem 0x03110000
> [    2.836470] hub 3-0:1.0: USB hub found
> [    2.840251] hub 3-0:1.0: 1 port detected
> [    2.844289] xhci-hcd xhci-hcd.1.auto: xHCI Host Controller
> [    2.849804] xhci-hcd xhci-hcd.1.auto: new USB bus registered, assigned bus number 4
> [    2.857499] xhci-hcd xhci-hcd.1.auto: Host supports USB 3.0 SuperSpeed
> [    2.864080] usb usb4: We don't know the algorithms for LPM for this host, disabling LPM.
> [    2.872409] hub 4-0:1.0: USB hub found
> [    2.876267] hub 4-0:1.0: 1 port detected
> [    2.880393] usbcore: registered new interface driver usb-storage
> [    2.887177] rtc-rv8803 0-0032: Voltage low, temperature compensation stopped.
> [    2.894348] rtc-rv8803 0-0032: Voltage low, data loss detected.
> [    2.901365] rtc-rv8803 0-0032: Voltage low, data is invalid.
> [    2.907117] rtc-rv8803 0-0032: registered as rtc0
> [    2.912514] rtc-rv8803 0-0032: Voltage low, data is invalid.
> [    2.918202] rtc-rv8803 0-0032: hctosys: unable to read the hardware clock
> [    2.925102] i2c /dev entries driver
> [    2.934504] sp805-wdt c000000.watchdog: registration successful
> [    2.940537] sp805-wdt c010000.watchdog: registration successful
> [    2.947196] qoriq-cpufreq qoriq-cpufreq: Freescale QorIQ CPU frequency scaling driver
> [    2.955659] sdhci: Secure Digital Host Controller Interface driver
> [    2.961918] sdhci: Copyright(c) Pierre Ossman
> [    2.966333] sdhci-pltfm: SDHCI platform and OF driver helper
> [    2.972762] sdhci-esdhc 2140000.mmc: Adding to iommu group 8
> [    3.005562] mmc0: SDHCI controller on 2140000.mmc [2140000.mmc] using ADMA
> [    3.012632] ------------[ cut here ]------------
> [    3.017310] WARNING: CPU: 0 PID: 1 at drivers/base/core.c:912 device_links_driver_bound+0x1c0/0x1e8
> [    3.026418] Modules linked in:
> [    3.029509] CPU: 0 PID: 1 Comm: swapper/0 Tainted: G        W         5.7.0-rc6-next-20200522-00040-g43dd7a434139 #800
> [    3.040279] Hardware name: Kontron SMARC-sAL28 (Single PHY) on SMARC Eval 2.0 carrier (DT)
> [    3.048609] pstate: 80000005 (Nzcv daif -PAN -UAO BTYPE=--)
> [    3.054226] pc : device_links_driver_bound+0x1c0/0x1e8
> [    3.059405] lr : device_links_driver_bound+0xf8/0x1e8
> [    3.064491] sp : ffff8000111abb80
> [    3.067831] x29: ffff8000111abb80 x28: 0000000000000000
> [    3.073189] x27: 0000000000000006 x26: ffff00207a421c10
> [    3.078544] x25: 0000000000000003 x24: ffff00207a41a4b0
> [    3.083898] x23: ffff800011009948 x22: ffff8000111abbd8
> [    3.089251] x21: ffff00207a41a410 x20: ffff8000110a2ae8
> [    3.094604] x19: ffff00207a41a490 x18: 0000000000000010
> [    3.099957] x17: 0000000000000000 x16: 0000000000000000
> [    3.105310] x15: ffffffffffffffff x14: 0720072007200741
> [    3.110664] x13: 074d074407410720 x12: 0767076e07690773
> [    3.116016] x11: 07750720075d0763 x10: 00000000000009f0
> [    3.121370] x9 : ffff800010548e68 x8 : ffff00207ae50a50
> [    3.126723] x7 : 0000000000000000 x6 : 0000000000000001
> [    3.132075] x5 : 0000000000008340 x4 : 0000000000000000
> [    3.137428] x3 : ffff8000110a3380 x2 : 0000000000000000
> [    3.142780] x1 : 0000000000000001 x0 : ffff00207a401000
> [    3.148133] Call trace:
> [    3.150609]  device_links_driver_bound+0x1c0/0x1e8
> [    3.155442]  driver_bound+0x70/0xc0
> [    3.158963]  really_probe+0x110/0x318
> [    3.162660]  driver_probe_device+0x40/0x90
> [    3.166793]  device_driver_attach+0x7c/0x88
> [    3.171013]  __driver_attach+0x60/0xe8
> [    3.174794]  bus_for_each_dev+0x7c/0xd0
> [    3.178663]  driver_attach+0x2c/0x38
> [    3.182270]  bus_add_driver+0x194/0x1f8
> [    3.186139]  driver_register+0x6c/0x128
> [    3.190012]  __platform_driver_register+0x50/0x60
> [    3.194755]  sdhci_esdhc_driver_init+0x24/0x30
> [    3.199237]  do_one_initcall+0x54/0x298
> [    3.203110]  kernel_init_freeable+0x1ec/0x268
> [    3.207507]  kernel_init+0x1c/0x118
> [    3.211025]  ret_from_fork+0x10/0x1c
> [    3.214629] ---[ end trace 119c2917ee509c36 ]---
> [    3.219842] sdhci-esdhc 2150000.mmc: Adding to iommu group 9
> [    3.252837] mmc1: SDHCI controller on 2150000.mmc [2150000.mmc] using ADMA
> [    3.259902] ------------[ cut here ]------------
> [    3.264577] WARNING: CPU: 1 PID: 1 at drivers/base/core.c:912 device_links_driver_bound+0x1c0/0x1e8
> [    3.273685] Modules linked in:
> [    3.276775] CPU: 1 PID: 1 Comm: swapper/0 Tainted: G        W         5.7.0-rc6-next-20200522-00040-g43dd7a434139 #800
> [    3.287544] Hardware name: Kontron SMARC-sAL28 (Single PHY) on SMARC Eval 2.0 carrier (DT)
> [    3.295873] pstate: 80000005 (Nzcv daif -PAN -UAO BTYPE=--)
> [    3.301490] pc : device_links_driver_bound+0x1c0/0x1e8
> [    3.306669] lr : device_links_driver_bound+0xf8/0x1e8
> [    3.311754] sp : ffff8000111abb80
> [    3.315093] x29: ffff8000111abb80 x28: 0000000000000000
> [    3.320449] x27: 0000000000000006 x26: ffff00207a421c10
> [    3.325805] x25: 0000000000000003 x24: ffff00207a41a8b0
> [    3.331159] x23: ffff800011009948 x22: ffff8000111abbd8
> [    3.336511] x21: ffff00207a41a810 x20: ffff8000110a2ae8
> [    3.341864] x19: ffff00207a41a890 x18: 0000000000000010
> [    3.347217] x17: 00000000000003fb x16: 0000000000000001
> [    3.352569] x15: ffffffffffffffff x14: 0720072007200741
> [    3.357921] x13: 074d074407410720 x12: 0767076e07690773
> [    3.363273] x11: 07750720075d0763 x10: 00000000000009f0
> [    3.368627] x9 : ffff800010548e68 x8 : ffff00207ae50a50
> [    3.373980] x7 : 0000000000000001 x6 : 0000000000000001
> [    3.379333] x5 : 0000000000007670 x4 : 0000000000000000
> [    3.384686] x3 : ffff8000110a3380 x2 : 0000000000000000
> [    3.390036] x1 : 0000000000000001 x0 : ffff00207a401080
> [    3.395391] Call trace:
> [    3.397863]  device_links_driver_bound+0x1c0/0x1e8
> [    3.402694]  driver_bound+0x70/0xc0
> [    3.406216]  really_probe+0x110/0x318
> [    3.409911]  driver_probe_device+0x40/0x90
> [    3.414044]  device_driver_attach+0x7c/0x88
> [    3.418262]  __driver_attach+0x60/0xe8
> [    3.422043]  bus_for_each_dev+0x7c/0xd0
> [    3.425912]  driver_attach+0x2c/0x38
> [    3.429518]  bus_add_driver+0x194/0x1f8
> [    3.433387]  driver_register+0x6c/0x128
> [    3.434954] mmc0: new ultra high speed SDR104 SDHC card at address 1234
> [    3.437259]  __platform_driver_register+0x50/0x60
> [    3.437277]  sdhci_esdhc_driver_init+0x24/0x30
> [    3.453131]  do_one_initcall+0x54/0x298
> [    3.457004]  kernel_init_freeable+0x1ec/0x268
> [    3.461400]  kernel_init+0x1c/0x118
> [    3.464920]  ret_from_fork+0x10/0x1c
> [    3.468521] ---[ end trace 119c2917ee509c37 ]---
> [    3.474335] mmcblk0: mmc0:1234 SA16G 14.4 GiB
> [    3.474995] usbcore: registered new interface driver usbhid
> [    3.484513] usbhid: USB HID core driver
> [    3.485993]  mmcblk0: p1
> [    3.489639] wm8904 2-001a: supply DCVDD not found, using dummy regulator
> [    3.497984] wm8904 2-001a: supply DBVDD not found, using dummy regulator
> [    3.504924] wm8904 2-001a: supply AVDD not found, using dummy regulator
> [    3.511751] wm8904 2-001a: supply CPVDD not found, using dummy regulator
> [    3.518683] wm8904 2-001a: supply MICVDD not found, using dummy regulator
> [    3.527720] wm8904 2-001a: revision A
> [    3.531539] usb 3-1: new high-speed USB device number 2 using xhci-hcd
> [    3.550758] NET: Registered protocol family 10
> [    3.557190] Segment Routing with IPv6
> [    3.561484] sit: IPv6, IPv4 and MPLS over IPv4 tunneling driver
> [    3.568527] NET: Registered protocol family 17
> [    3.573204] Bridge firewalling registered
> [    3.577592] 8021q: 802.1Q VLAN Support v1.8
> [    3.581987] Key type dns_resolver registered
> [    3.586796] registered taskstats version 1
> [    3.590979] Loading compiled-in X.509 certificates
> [    3.601872] fsl-edma 22c0000.dma-controller: Adding to iommu group 10
> [    3.611553] ------------[ cut here ]------------
> [    3.616236] WARNING: CPU: 1 PID: 23 at drivers/base/core.c:912 device_links_driver_bound+0x1c0/0x1e8
> [    3.625431] Modules linked in:
> [    3.628522] CPU: 1 PID: 23 Comm: kworker/1:1 Tainted: G        W         5.7.0-rc6-next-20200522-00040-g43dd7a434139 #800
> [    3.639553] Hardware name: Kontron SMARC-sAL28 (Single PHY) on SMARC Eval 2.0 carrier (DT)
> [    3.647889] Workqueue: events deferred_probe_work_func
> [    3.653073] pstate: 80000005 (Nzcv daif -PAN -UAO BTYPE=--)
> [    3.658688] pc : device_links_driver_bound+0x1c0/0x1e8
> [    3.663868] lr : device_links_driver_bound+0xf8/0x1e8
> [    3.668955] sp : ffff8000112dbb80
> [    3.672294] x29: ffff8000112dbb80 x28: 0000000000000000
> [    3.677650] x27: ffff00207af84848 x26: ffff00207a421c10
> [    3.683005] x25: 0000000000000003 x24: ffff00207a41bcb0
> [    3.688359] x23: ffff800011009948 x22: ffff8000112dbbd8
> [    3.693712] x21: ffff00207a41bc10 x20: ffff8000110a2ae8
> [    3.699065] x19: ffff00207a41bc90 x18: 0000000000000000
> [    3.704417] x17: 00000000040e1236 x16: 0000000065a74b1b
> [    3.709770] x15: ffffffffffffffff x14: ffff800011009948
> [    3.715123] x13: ffff002079fa291c x12: 0000000000000030
> [    3.720476] x11: 0101010101010101 x10: ffffffffffffffff
> [    3.725829] x9 : ffff800010548e68 x8 : ffff002079fb3f80
> [    3.731182] x7 : 0000000000000000 x6 : 000000000000003f
> [    3.736535] x5 : 0000000000000040 x4 : 0000000000000000
> [    3.741887] x3 : ffff8000110a3380 x2 : 0000000000000000
> [    3.747239] x1 : 0000000000000001 x0 : ffff00207a401180
> [    3.752593] Call trace:
> [    3.755065]  device_links_driver_bound+0x1c0/0x1e8
> [    3.759897]  driver_bound+0x70/0xc0
> [    3.763417]  really_probe+0x110/0x318
> [    3.767112]  driver_probe_device+0x40/0x90
> [    3.771244]  __device_attach_driver+0x8c/0xd0
> [    3.775637]  bus_for_each_drv+0x84/0xd8
> [    3.779506]  __device_attach+0xd4/0x110
> [    3.783375]  device_initial_probe+0x1c/0x28
> [    3.787592]  bus_probe_device+0xa4/0xb0
> [    3.791462]  deferred_probe_work_func+0x7c/0xb8
> [    3.796034]  process_one_work+0x1f4/0x4b8
> [    3.800080]  worker_thread+0x218/0x498
> [    3.803862]  kthread+0x160/0x168
> [    3.807121]  ret_from_fork+0x10/0x1c
> [    3.810723] ---[ end trace 119c2917ee509c39 ]---
> [    3.815842] pcieport 0001:00:00.0: Adding to iommu group 11
> [    3.822335] pcieport 0001:00:00.0: AER: enabled with IRQ 24
> [    3.828417] pcieport 0002:00:00.0: Adding to iommu group 12
> [    3.834817] pcieport 0002:00:00.0: AER: enabled with IRQ 26
> [    3.841914] fsl-qdma 8380000.dma-controller: Adding to iommu group 13
> [    3.850471] ------------[ cut here ]------------
> [    3.855153] WARNING: CPU: 1 PID: 23 at drivers/base/core.c:912 device_links_driver_bound+0x1c0/0x1e8
> [    3.864348] Modules linked in:
> [    3.867439] CPU: 1 PID: 23 Comm: kworker/1:1 Tainted: G        W         5.7.0-rc6-next-20200522-00040-g43dd7a434139 #800
> [    3.878470] Hardware name: Kontron SMARC-sAL28 (Single PHY) on SMARC Eval 2.0 carrier (DT)
> [    3.886807] Workqueue: events deferred_probe_work_func
> [    3.891991] pstate: 80000005 (Nzcv daif -PAN -UAO BTYPE=--)
> [    3.897607] pc : device_links_driver_bound+0x1c0/0x1e8
> [    3.902785] lr : device_links_driver_bound+0xf8/0x1e8
> [    3.907872] sp : ffff8000112dbb80
> [    3.911211] x29: ffff8000112dbb80 x28: 0000000000000000
> [    3.916568] x27: ffff00207af84848 x26: ffff00207a421c10
> [    3.921921] x25: 0000000000000003 x24: ffff00207a4220b0
> [    3.927274] x23: ffff800011009948 x22: ffff8000112dbbd8
> [    3.932626] x21: ffff00207a422010 x20: ffff8000110a2ae8
> [    3.937979] x19: ffff00207a422090 x18: 0000000000000000
> [    3.943332] x17: 0000000000000028 x16: 0000000000000050
> [    3.948686] x15: ffffffffffffffff x14: ffff800011009948
> [    3.954038] x13: ffff002079fa391c x12: 0000000000000030
> [    3.959390] x11: 0101010101010101 x10: ffffffffffffffff
> [    3.964742] x9 : ffff800010548e68 x8 : 746e6f632d616d64
> [    3.970096] x7 : ffff8000112dba00 x6 : 0000000000000000
> [    3.975449] x5 : 0000000000000000 x4 : 0000000000000000
> [    3.980801] x3 : ffff8000110a3380 x2 : 0000000000000000
> [    3.986152] x1 : 0000000000000001 x0 : ffff00207a401400
> [    3.991505] Call trace:
> [    3.993978]  device_links_driver_bound+0x1c0/0x1e8
> [    3.998809]  driver_bound+0x70/0xc0
> [    4.002329]  really_probe+0x110/0x318
> [    4.006024]  driver_probe_device+0x40/0x90
> [    4.010155]  __device_attach_driver+0x8c/0xd0
> [    4.014547]  bus_for_each_drv+0x84/0xd8
> [    4.018416]  __device_attach+0xd4/0x110
> [    4.022285]  device_initial_probe+0x1c/0x28
> [    4.026503]  bus_probe_device+0xa4/0xb0
> [    4.030371]  deferred_probe_work_func+0x7c/0xb8
> [    4.034944]  process_one_work+0x1f4/0x4b8
> [    4.038989]  worker_thread+0x218/0x498
> [    4.042772]  kthread+0x160/0x168
> [    4.046031]  ret_from_fork+0x10/0x1c
> [    4.049634] ---[ end trace 119c2917ee509c3a ]---
> [    4.067995] asoc-simple-card sound: wm8904-hifi <-> f150000.audio-controller mapping ok
> [    4.080340] hub 3-1:1.0: USB hub found
> [    4.085394] hub 3-1:1.0: 7 ports detected
> [    4.092223] asoc-simple-card sound: wm8904-hifi <-> f140000.audio-controller mapping ok
> [    4.100866] asoc-simple-card sound: ASoC: no DMI vendor name!
> [    4.106933] random: fast init done
> [    4.110951] mmc1: new HS400 MMC card at address 0001
> [    4.117316] mmcblk1: mmc1:0001 S0J58X 29.6 GiB
> [    4.122436] mmcblk1boot0: mmc1:0001 S0J58X partition 1 31.5 MiB
> [    4.130037] mmcblk1boot1: mmc1:0001 S0J58X partition 2 31.5 MiB
> [    4.130304] irq: no irq domain found for interrupt-controller@1c !
> [    4.136289] mmcblk1rpmb: mmc1:0001 S0J58X partition 3 4.00 MiB, chardev (245:0)
> [    4.142321] irq: no irq domain found for interrupt-controller@1c !
> [    4.156366] gpio-keys buttons0: Found button without gpio or irq
> [    4.162815] gpio-keys: probe of buttons0 failed with error -22
> [    4.162821]  mmcblk1: p1 p2
> [    4.172097] ALSA device list:
> [    4.175148]   #0: f150000.audio-controller-wm8904-hifi
> [    4.182701] EXT4-fs (mmcblk1p2): INFO: recovery required on readonly filesystem
> [    4.190137] EXT4-fs (mmcblk1p2): write access will be enabled during recovery
> [    4.263821] EXT4-fs (mmcblk1p2): recovery complete
> [    4.270940] EXT4-fs (mmcblk1p2): mounted filesystem with ordered data mode. Opts: (null)
> [    4.279327] VFS: Mounted root (ext4 filesystem) readonly on device 179:34.
> [    4.287179] devtmpfs: mounted
> [    4.301063] Freeing unused kernel memory: 3264K
> [    4.305875] Run /sbin/init as init process
> [    4.310036]   with arguments:
> [    4.313051]     /sbin/init
> [    4.315802]   with environment:
> [    4.318991]     HOME=/
> [    4.321370]     TERM=linux
> [    4.371451] EXT4-fs (mmcblk1p2): re-mounted. Opts: (null)
> [    4.471037] usb 3-1.6: new full-speed USB device number 3 using xhci-hcd
> [    4.541101] udevd[127]: starting version 3.2.8
> [    4.549864] random: udevd: uninitialized urandom read (16 bytes read)
> [    4.557780] random: udevd: uninitialized urandom read (16 bytes read)
> [    4.564612] random: udevd: uninitialized urandom read (16 bytes read)
> [    4.576379] udevd[127]: specified group 'kvm' unknown
> [    4.606090] udevd[129]: starting eudev-3.2.8
> [    6.853488] fsl_enetc 0000:00:00.0 gbe0: renamed from eth0
> [    9.585282] urandom_read: 3 callbacks suppressed
> [    9.585295] random: dd: uninitialized urandom read (512 bytes read)
> [    9.748164] Qualcomm Atheros AR8031/AR8033 0000:00:00.0:05: attached PHY driver [Qualcomm Atheros AR8031/AR8033] (mii_bus:phy_addr=0000:00:00.0:05, irq=POLL)
> [    9.779903] fsl_enetc 0000:00:00.0 gbe0: Link is Down
> [    9.836673] random: dropbear: uninitialized urandom read (32 bytes read)
> [   11.843533] fsl_enetc 0000:00:00.0 gbe0: Link is Up - 10Mbps/Full - flow control off
> [   11.851417] IPv6: ADDRCONF(NETDEV_CHANGE): gbe0: link becomes ready
> [   12.871335] fsl_enetc 0000:00:00.0 gbe0: Link is Down
> [   14.915541] fsl_enetc 0000:00:00.0 gbe0: Link is Up - 1Gbps/Full - flow control off

Thanks for the log and report. I haven't spent too much time thinking
about this, but can you give this a shot?
https://lore.kernel.org/lkml/20200520043626.181820-1-saravanak@google.com/

-Saravana

^ permalink raw reply	[flat|nested] 19+ messages in thread

* Re: [PATCH v3] driver core: Fix SYNC_STATE_ONLY device link implementation
  2020-05-22 22:21         ` Saravana Kannan
@ 2020-05-22 22:47           ` Michael Walle
  2020-05-25 11:31             ` Michael Walle
  0 siblings, 1 reply; 19+ messages in thread
From: Michael Walle @ 2020-05-22 22:47 UTC (permalink / raw)
  To: Saravana Kannan; +Cc: stable, Android Kernel Team, LKML

Am 2020-05-23 00:21, schrieb Saravana Kannan:
> On Fri, May 22, 2020 at 11:41 AM Michael Walle <michael@walle.cc> 
> wrote:
>> 
>> Am Mon, 18 May 2020 23:30:00 -0700
>> schrieb Saravana Kannan <saravanak@google.com>:
>> 
>> > When SYNC_STATE_ONLY support was added in commit 05ef983e0d65 ("driver
>> > core: Add device link support for SYNC_STATE_ONLY flag"),
>> > device_link_add() incorrectly skipped adding the new SYNC_STATE_ONLY
>> > device link to the supplier's and consumer's "device link" list.
>> >
>> > This causes multiple issues:
>> > - The device link is lost forever from driver core if the caller
>> >   didn't keep track of it (caller typically isn't expected to). This
>> > is a memory leak.
>> > - The device link is also never visible to any other code path after
>> >   device_link_add() returns.
>> >
>> > If we fix the "device link" list handling, that exposes a bunch of
>> > issues.
>> >
>> > 1. The device link "status" state management code rightfully doesn't
>> > handle the case where a DL_FLAG_MANAGED device link exists between a
>> > supplier and consumer, but the consumer manages to probe successfully
>> > before the supplier. The addition of DL_FLAG_SYNC_STATE_ONLY links
>> > break this assumption. This causes device_links_driver_bound() to
>> > throw a warning when this happens.
>> >
>> > Since DL_FLAG_SYNC_STATE_ONLY device links are mainly used for
>> > creating proxy device links for child device dependencies and aren't
>> > useful once the consumer device probes successfully, this patch just
>> > deletes DL_FLAG_SYNC_STATE_ONLY device links once its consumer device
>> > probes. This way, we avoid the warning, free up some memory and avoid
>> > complicating the device links "status" state management code.
>> >
>> > 2. Creating a DL_FLAG_STATELESS device link between two devices that
>> > already have a DL_FLAG_SYNC_STATE_ONLY device link will result in the
>> > DL_FLAG_STATELESS flag not getting set correctly. This patch also
>> > fixes this.
>> >
>> > Lastly, this patch also fixes minor whitespace issues.
>> 
>> My board triggers the
>>   WARN_ON(link->status != DL_STATE_CONSUMER_PROBE);
>> 
>> Full bootlog:
[..]

> Thanks for the log and report. I haven't spent too much time thinking
> about this, but can you give this a shot?
> https://lore.kernel.org/lkml/20200520043626.181820-1-saravanak@google.com/

I've already tried that, as this is already in linux-next. Doesn't fix 
it,
though.

-michael

^ permalink raw reply	[flat|nested] 19+ messages in thread

* Re: [PATCH v3] driver core: Fix SYNC_STATE_ONLY device link implementation
  2020-05-22 22:47           ` Michael Walle
@ 2020-05-25 11:31             ` Michael Walle
  2020-05-25 18:39               ` Saravana Kannan
  0 siblings, 1 reply; 19+ messages in thread
From: Michael Walle @ 2020-05-25 11:31 UTC (permalink / raw)
  To: Saravana Kannan; +Cc: stable, Android Kernel Team, LKML

Am 2020-05-23 00:47, schrieb Michael Walle:
> Am 2020-05-23 00:21, schrieb Saravana Kannan:
>> On Fri, May 22, 2020 at 11:41 AM Michael Walle <michael@walle.cc> 
>> wrote:
>>> 
>>> Am Mon, 18 May 2020 23:30:00 -0700
>>> schrieb Saravana Kannan <saravanak@google.com>:
>>> 
>>> > When SYNC_STATE_ONLY support was added in commit 05ef983e0d65 ("driver
>>> > core: Add device link support for SYNC_STATE_ONLY flag"),
>>> > device_link_add() incorrectly skipped adding the new SYNC_STATE_ONLY
>>> > device link to the supplier's and consumer's "device link" list.
>>> >
>>> > This causes multiple issues:
>>> > - The device link is lost forever from driver core if the caller
>>> >   didn't keep track of it (caller typically isn't expected to). This
>>> > is a memory leak.
>>> > - The device link is also never visible to any other code path after
>>> >   device_link_add() returns.
>>> >
>>> > If we fix the "device link" list handling, that exposes a bunch of
>>> > issues.
>>> >
>>> > 1. The device link "status" state management code rightfully doesn't
>>> > handle the case where a DL_FLAG_MANAGED device link exists between a
>>> > supplier and consumer, but the consumer manages to probe successfully
>>> > before the supplier. The addition of DL_FLAG_SYNC_STATE_ONLY links
>>> > break this assumption. This causes device_links_driver_bound() to
>>> > throw a warning when this happens.
>>> >
>>> > Since DL_FLAG_SYNC_STATE_ONLY device links are mainly used for
>>> > creating proxy device links for child device dependencies and aren't
>>> > useful once the consumer device probes successfully, this patch just
>>> > deletes DL_FLAG_SYNC_STATE_ONLY device links once its consumer device
>>> > probes. This way, we avoid the warning, free up some memory and avoid
>>> > complicating the device links "status" state management code.
>>> >
>>> > 2. Creating a DL_FLAG_STATELESS device link between two devices that
>>> > already have a DL_FLAG_SYNC_STATE_ONLY device link will result in the
>>> > DL_FLAG_STATELESS flag not getting set correctly. This patch also
>>> > fixes this.
>>> >
>>> > Lastly, this patch also fixes minor whitespace issues.
>>> 
>>> My board triggers the
>>>   WARN_ON(link->status != DL_STATE_CONSUMER_PROBE);
>>> 
>>> Full bootlog:
> [..]
> 
>> Thanks for the log and report. I haven't spent too much time thinking
>> about this, but can you give this a shot?
>> https://lore.kernel.org/lkml/20200520043626.181820-1-saravanak@google.com/
> 
> I've already tried that, as this is already in linux-next. Doesn't fix 
> it,
> though.

btw. this only happens on linux-next (tested with next-20200522), not on
5.7-rc7 (which has the same two patches of yours)

-michael

^ permalink raw reply	[flat|nested] 19+ messages in thread

* Re: [PATCH v3] driver core: Fix SYNC_STATE_ONLY device link implementation
  2020-05-25 11:31             ` Michael Walle
@ 2020-05-25 18:39               ` Saravana Kannan
  2020-05-25 19:04                 ` Michael Walle
  0 siblings, 1 reply; 19+ messages in thread
From: Saravana Kannan @ 2020-05-25 18:39 UTC (permalink / raw)
  To: Michael Walle; +Cc: stable, Android Kernel Team, LKML

On Mon, May 25, 2020 at 4:31 AM Michael Walle <michael@walle.cc> wrote:
>
> Am 2020-05-23 00:47, schrieb Michael Walle:
> > Am 2020-05-23 00:21, schrieb Saravana Kannan:
> >> On Fri, May 22, 2020 at 11:41 AM Michael Walle <michael@walle.cc>
> >> wrote:
> >>>
> >>> Am Mon, 18 May 2020 23:30:00 -0700
> >>> schrieb Saravana Kannan <saravanak@google.com>:
> >>>
> >>> > When SYNC_STATE_ONLY support was added in commit 05ef983e0d65 ("driver
> >>> > core: Add device link support for SYNC_STATE_ONLY flag"),
> >>> > device_link_add() incorrectly skipped adding the new SYNC_STATE_ONLY
> >>> > device link to the supplier's and consumer's "device link" list.
> >>> >
> >>> > This causes multiple issues:
> >>> > - The device link is lost forever from driver core if the caller
> >>> >   didn't keep track of it (caller typically isn't expected to). This
> >>> > is a memory leak.
> >>> > - The device link is also never visible to any other code path after
> >>> >   device_link_add() returns.
> >>> >
> >>> > If we fix the "device link" list handling, that exposes a bunch of
> >>> > issues.
> >>> >
> >>> > 1. The device link "status" state management code rightfully doesn't
> >>> > handle the case where a DL_FLAG_MANAGED device link exists between a
> >>> > supplier and consumer, but the consumer manages to probe successfully
> >>> > before the supplier. The addition of DL_FLAG_SYNC_STATE_ONLY links
> >>> > break this assumption. This causes device_links_driver_bound() to
> >>> > throw a warning when this happens.
> >>> >
> >>> > Since DL_FLAG_SYNC_STATE_ONLY device links are mainly used for
> >>> > creating proxy device links for child device dependencies and aren't
> >>> > useful once the consumer device probes successfully, this patch just
> >>> > deletes DL_FLAG_SYNC_STATE_ONLY device links once its consumer device
> >>> > probes. This way, we avoid the warning, free up some memory and avoid
> >>> > complicating the device links "status" state management code.
> >>> >
> >>> > 2. Creating a DL_FLAG_STATELESS device link between two devices that
> >>> > already have a DL_FLAG_SYNC_STATE_ONLY device link will result in the
> >>> > DL_FLAG_STATELESS flag not getting set correctly. This patch also
> >>> > fixes this.
> >>> >
> >>> > Lastly, this patch also fixes minor whitespace issues.
> >>>
> >>> My board triggers the
> >>>   WARN_ON(link->status != DL_STATE_CONSUMER_PROBE);
> >>>
> >>> Full bootlog:
> > [..]
> >
> >> Thanks for the log and report. I haven't spent too much time thinking
> >> about this, but can you give this a shot?
> >> https://lore.kernel.org/lkml/20200520043626.181820-1-saravanak@google.com/
> >
> > I've already tried that, as this is already in linux-next. Doesn't fix
> > it,
> > though.
>
> btw. this only happens on linux-next (tested with next-20200522), not on
> 5.7-rc7 (which has the same two patches of yours)

I wouldn't be surprised if the difference is due to
fw_devlink_pause/resume() calls in driver/of/property.c. It chops off
~1s in boot time by changing the order in which device links are
created from DT. So, I think it's just masking the issue.

On linux-next where you see the issue, can you get the logs with this change:
+++ b/drivers/base/core.c
@@ -907,7 +907,10 @@ void device_links_driver_bound(struct device *dev)
                         */
                        device_link_drop_managed(link);
                } else {
-                       WARN_ON(link->status != DL_STATE_CONSUMER_PROBE);
+                       WARN(link->status != DL_STATE_CONSUMER_PROBE,
+                               "sup:%s - con:%s f:%d s:%d\n",
+                               dev_name(supplier), dev_name(link->consumer),
+                               link->flags, link->status);
                        WRITE_ONCE(link->status, DL_STATE_ACTIVE);
                }

My goal is to figure out the order in which the device links between
the supplier and consumers devices are created and how that's changing
the flag and status. Then I can come up with a fix.

Thanks,
Saravana

^ permalink raw reply	[flat|nested] 19+ messages in thread

* Re: [PATCH v3] driver core: Fix SYNC_STATE_ONLY device link implementation
  2020-05-25 18:39               ` Saravana Kannan
@ 2020-05-25 19:04                 ` Michael Walle
  2020-05-25 21:24                   ` Saravana Kannan
  0 siblings, 1 reply; 19+ messages in thread
From: Michael Walle @ 2020-05-25 19:04 UTC (permalink / raw)
  To: Saravana Kannan; +Cc: stable, Android Kernel Team, LKML

Am 2020-05-25 20:39, schrieb Saravana Kannan:
> On Mon, May 25, 2020 at 4:31 AM Michael Walle <michael@walle.cc> wrote:
>> 
>> Am 2020-05-23 00:47, schrieb Michael Walle:
>> > Am 2020-05-23 00:21, schrieb Saravana Kannan:
>> >> On Fri, May 22, 2020 at 11:41 AM Michael Walle <michael@walle.cc>
>> >> wrote:
>> >>>
>> >>> Am Mon, 18 May 2020 23:30:00 -0700
>> >>> schrieb Saravana Kannan <saravanak@google.com>:
>> >>>
>> >>> > When SYNC_STATE_ONLY support was added in commit 05ef983e0d65 ("driver
>> >>> > core: Add device link support for SYNC_STATE_ONLY flag"),
>> >>> > device_link_add() incorrectly skipped adding the new SYNC_STATE_ONLY
>> >>> > device link to the supplier's and consumer's "device link" list.
>> >>> >
>> >>> > This causes multiple issues:
>> >>> > - The device link is lost forever from driver core if the caller
>> >>> >   didn't keep track of it (caller typically isn't expected to). This
>> >>> > is a memory leak.
>> >>> > - The device link is also never visible to any other code path after
>> >>> >   device_link_add() returns.
>> >>> >
>> >>> > If we fix the "device link" list handling, that exposes a bunch of
>> >>> > issues.
>> >>> >
>> >>> > 1. The device link "status" state management code rightfully doesn't
>> >>> > handle the case where a DL_FLAG_MANAGED device link exists between a
>> >>> > supplier and consumer, but the consumer manages to probe successfully
>> >>> > before the supplier. The addition of DL_FLAG_SYNC_STATE_ONLY links
>> >>> > break this assumption. This causes device_links_driver_bound() to
>> >>> > throw a warning when this happens.
>> >>> >
>> >>> > Since DL_FLAG_SYNC_STATE_ONLY device links are mainly used for
>> >>> > creating proxy device links for child device dependencies and aren't
>> >>> > useful once the consumer device probes successfully, this patch just
>> >>> > deletes DL_FLAG_SYNC_STATE_ONLY device links once its consumer device
>> >>> > probes. This way, we avoid the warning, free up some memory and avoid
>> >>> > complicating the device links "status" state management code.
>> >>> >
>> >>> > 2. Creating a DL_FLAG_STATELESS device link between two devices that
>> >>> > already have a DL_FLAG_SYNC_STATE_ONLY device link will result in the
>> >>> > DL_FLAG_STATELESS flag not getting set correctly. This patch also
>> >>> > fixes this.
>> >>> >
>> >>> > Lastly, this patch also fixes minor whitespace issues.
>> >>>
>> >>> My board triggers the
>> >>>   WARN_ON(link->status != DL_STATE_CONSUMER_PROBE);
>> >>>
>> >>> Full bootlog:
>> > [..]
>> >
>> >> Thanks for the log and report. I haven't spent too much time thinking
>> >> about this, but can you give this a shot?
>> >> https://lore.kernel.org/lkml/20200520043626.181820-1-saravanak@google.com/
>> >
>> > I've already tried that, as this is already in linux-next. Doesn't fix
>> > it,
>> > though.
>> 
>> btw. this only happens on linux-next (tested with next-20200522), not 
>> on
>> 5.7-rc7 (which has the same two patches of yours)
> 
> I wouldn't be surprised if the difference is due to
> fw_devlink_pause/resume() calls in driver/of/property.c. It chops off
> ~1s in boot time by changing the order in which device links are
> created from DT. So, I think it's just masking the issue.
> 
> On linux-next where you see the issue, can you get the logs with this 
> change:
> +++ b/drivers/base/core.c
> @@ -907,7 +907,10 @@ void device_links_driver_bound(struct device *dev)
>                          */
>                         device_link_drop_managed(link);
>                 } else {
> -                       WARN_ON(link->status != 
> DL_STATE_CONSUMER_PROBE);
> +                       WARN(link->status != DL_STATE_CONSUMER_PROBE,
> +                               "sup:%s - con:%s f:%d s:%d\n",
> +                               dev_name(supplier), 
> dev_name(link->consumer),
> +                               link->flags, link->status);
>                         WRITE_ONCE(link->status, DL_STATE_ACTIVE);
>                 }
> 
> My goal is to figure out the order in which the device links between
> the supplier and consumers devices are created and how that's changing
> the flag and status. Then I can come up with a fix.

Here we go (hopefully, my mail client won't screw up the line wrapping):

[    0.000000] Booting Linux on physical CPU 0x0000000000 [0x410fd083]
[    0.000000] Linux version 
5.7.0-rc7-next-20200525-00039-gfb6df8136807-dirty (mw@apollo) 
(aarch64-linux-gnu-gcc (Debian 8.3.0-2) 8.3.0, GNU ld (GNU Binutils for 
Debian) 2.31.1) #815 SMP PREEMPT Mon May 25 20:58:11 CEST 2020
[    0.000000] Machine model: Kontron SMARC-sAL28 (Single PHY) on SMARC 
Eval 2.0 carrier
[    0.000000] efi: UEFI not found.
[    0.000000] cma: Reserved 32 MiB at 0x00000000f9c00000
[    0.000000] NUMA: No NUMA configuration found
[    0.000000] NUMA: Faking a node at [mem 
0x0000000080000000-0x00000020ffffffff]
[    0.000000] NUMA: NODE_DATA [mem 0x20ff7ff100-0x20ff800fff]
[    0.000000] Zone ranges:
[    0.000000]   DMA      [mem 0x0000000080000000-0x00000000bfffffff]
[    0.000000]   DMA32    [mem 0x00000000c0000000-0x00000000ffffffff]
[    0.000000]   Normal   [mem 0x0000000100000000-0x00000020ffffffff]
[    0.000000] Movable zone start for each node
[    0.000000] Early memory node ranges
[    0.000000]   node   0: [mem 0x0000000080000000-0x00000000fbdfffff]
[    0.000000]   node   0: [mem 0x0000002080000000-0x00000020ffffffff]
[    0.000000] Initmem setup node 0 [mem 
0x0000000080000000-0x00000020ffffffff]
[    0.000000] On node 0 totalpages: 1031680
[    0.000000]   DMA zone: 4096 pages used for memmap
[    0.000000]   DMA zone: 0 pages reserved
[    0.000000]   DMA zone: 262144 pages, LIFO batch:63
[    0.000000]   DMA32 zone: 3832 pages used for memmap
[    0.000000]   DMA32 zone: 245248 pages, LIFO batch:63
[    0.000000]   Normal zone: 8192 pages used for memmap
[    0.000000]   Normal zone: 524288 pages, LIFO batch:63
[    0.000000] percpu: Embedded 30 pages/cpu s82904 r8192 d31784 u122880
[    0.000000] pcpu-alloc: s82904 r8192 d31784 u122880 alloc=30*4096
[    0.000000] pcpu-alloc: [0] 0 [0] 1
[    0.000000] Detected PIPT I-cache on CPU0
[    0.000000] CPU features: detected: GIC system register CPU interface
[    0.000000] CPU features: detected: EL2 vector hardening
[    0.000000] ARM_SMCCC_ARCH_WORKAROUND_1 missing from firmware
[    0.000000] CPU features: detected: ARM errata 1165522, 1319367, or 
1530923
[    0.000000] Built 1 zonelists, mobility grouping on.  Total pages: 
1015560
[    0.000000] Policy zone: Normal
[    0.000000] Kernel command line: debug root=/dev/mmcblk1p2 rootwait
[    0.000000] Dentry cache hash table entries: 524288 (order: 10, 
4194304 bytes, linear)
[    0.000000] Inode-cache hash table entries: 262144 (order: 9, 2097152 
bytes, linear)
[    0.000000] mem auto-init: stack:off, heap alloc:off, heap free:off
[    0.000000] software IO TLB: mapped [mem 0xbbfff000-0xbffff000] 
(64MB)
[    0.000000] Memory: 3929700K/4126720K available (9596K kernel code, 
1116K rwdata, 3576K rodata, 3328K init, 400K bss, 164252K reserved, 
32768K cma-reserved)
[    0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=2, 
Nodes=1
[    0.000000] ftrace: allocating 32709 entries in 128 pages
[    0.000000] ftrace: allocated 128 pages with 1 groups
[    0.000000] rcu: Preemptible hierarchical RCU implementation.
[    0.000000] rcu:     RCU restricting CPUs from NR_CPUS=256 to 
nr_cpu_ids=2.
[    0.000000]  Trampoline variant of Tasks RCU enabled.
[    0.000000]  Rude variant of Tasks RCU enabled.
[    0.000000] rcu: RCU calculated value of scheduler-enlistment delay 
is 25 jiffies.
[    0.000000] rcu: Adjusting geometry for rcu_fanout_leaf=16, 
nr_cpu_ids=2
[    0.000000] NR_IRQS: 64, nr_irqs: 64, preallocated irqs: 0
[    0.000000] GICv3: GIC: Using split EOI/Deactivate mode
[    0.000000] GICv3: 256 SPIs implemented
[    0.000000] GICv3: 0 Extended SPIs implemented
[    0.000000] GICv3: Distributor has no Range Selector support
[    0.000000] GICv3: 16 PPIs implemented
[    0.000000] GICv3: CPU0: found redistributor 0 region 
0:0x0000000006040000
[    0.000000] ITS [mem 0x06020000-0x0603ffff]
[    0.000000] ITS@0x0000000006020000: allocated 65536 Devices 
@20fad80000 (flat, esz 8, psz 64K, shr 0)
[    0.000000] ITS: using cache flushing for cmd queue
[    0.000000] GICv3: using LPI property table @0x00000020fad30000
[    0.000000] GIC: using cache flushing for LPI property table
[    0.000000] GICv3: CPU0: using allocated LPI pending table 
@0x00000020fad40000
[    0.000000] random: get_random_bytes called from 
start_kernel+0x604/0x7cc with crng_init=0
[    0.000000] arch_timer: cp15 timer(s) running at 25.00MHz (phys).
[    0.000000] clocksource: arch_sys_counter: mask: 0xffffffffffffff 
max_cycles: 0x5c40939b5, max_idle_ns: 440795202646 ns
[    0.000002] sched_clock: 56 bits at 25MHz, resolution 40ns, wraps 
every 4398046511100ns
[    0.000109] Console: colour dummy device 80x25
[    0.000394] printk: console [tty0] enabled
[    0.000442] Calibrating delay loop (skipped), value calculated using 
timer frequency.. 50.00 BogoMIPS (lpj=100000)
[    0.000455] pid_max: default: 32768 minimum: 301
[    0.000503] LSM: Security Framework initializing
[    0.000556] Mount-cache hash table entries: 8192 (order: 4, 65536 
bytes, linear)
[    0.000587] Mountpoint-cache hash table entries: 8192 (order: 4, 
65536 bytes, linear)
[    0.001429] rcu: Hierarchical SRCU implementation.
[    0.001576] Platform MSI: gic-its@6020000 domain created
[    0.001649] PCI/MSI: /interrupt-controller@6000000/gic-its@6020000 
domain created
[    0.001853] EFI services will not be available.
[    0.001951] smp: Bringing up secondary CPUs ...
[    0.002233] Detected PIPT I-cache on CPU1
[    0.002254] GICv3: CPU1: found redistributor 1 region 
0:0x0000000006060000
[    0.002261] GICv3: CPU1: using allocated LPI pending table 
@0x00000020fad50000
[    0.002282] CPU1: Booted secondary processor 0x0000000001 
[0x410fd083]
[    0.002333] smp: Brought up 1 node, 2 CPUs
[    0.002360] SMP: Total of 2 processors activated.
[    0.002367] CPU features: detected: 32-bit EL0 Support
[    0.002374] CPU features: detected: CRC32 instructions
[    0.010409] CPU: All CPU(s) started at EL2
[    0.010429] alternatives: patching kernel code
[    0.011032] devtmpfs: initialized
[    0.012924] KASLR disabled due to lack of seed
[    0.013080] clocksource: jiffies: mask: 0xffffffff max_cycles: 
0xffffffff, max_idle_ns: 7645041785100000 ns
[    0.013097] futex hash table entries: 512 (order: 3, 32768 bytes, 
linear)
[    0.013866] thermal_sys: Registered thermal governor 'step_wise'
[    0.013992] DMI not present or invalid.
[    0.014177] NET: Registered protocol family 16
[    0.015070] DMA: preallocated 4096 KiB GFP_KERNEL pool for atomic 
allocations
[    0.015781] DMA: preallocated 4096 KiB GFP_KERNEL|GFP_DMA pool for 
atomic allocations
[    0.016510] DMA: preallocated 4096 KiB GFP_KERNEL|GFP_DMA32 pool for 
atomic allocations
[    0.016545] audit: initializing netlink subsys (disabled)
[    0.016668] audit: type=2000 audit(0.016:1): state=initialized 
audit_enabled=0 res=1
[    0.016968] cpuidle: using governor menu
[    0.017039] hw-breakpoint: found 6 breakpoint and 4 watchpoint 
registers.
[    0.017069] ASID allocator initialised with 65536 entries
[    0.017337] Serial: AMBA PL011 UART driver
[    0.023506] Machine: Kontron SMARC-sAL28 (Single PHY) on SMARC Eval 
2.0 carrier
[    0.023520] SoC family: QorIQ LS1028A
[    0.023526] SoC ID: svr:0x870b0110, Revision: 1.0
[    0.026552] HugeTLB registered 1.00 GiB page size, pre-allocated 0 
pages
[    0.026567] HugeTLB registered 32.0 MiB page size, pre-allocated 0 
pages
[    0.026576] HugeTLB registered 2.00 MiB page size, pre-allocated 0 
pages
[    0.026583] HugeTLB registered 64.0 KiB page size, pre-allocated 0 
pages
[    0.027645] cryptd: max_cpu_qlen set to 1000
[    0.029118] iommu: Default domain type: Translated
[    0.029186] vgaarb: loaded
[    0.029328] SCSI subsystem initialized
[    0.029417] usbcore: registered new interface driver usbfs
[    0.029442] usbcore: registered new interface driver hub
[    0.029474] usbcore: registered new device driver usb
[    0.029610] imx-i2c 2000000.i2c: can't get pinctrl, bus recovery not 
supported
[    0.029788] i2c i2c-0: IMX I2C adapter registered
[    0.029861] imx-i2c 2030000.i2c: can't get pinctrl, bus recovery not 
supported
[    0.029932] i2c i2c-1: IMX I2C adapter registered
[    0.030004] imx-i2c 2040000.i2c: can't get pinctrl, bus recovery not 
supported
[    0.030101] i2c i2c-2: IMX I2C adapter registered
[    0.030179] pps_core: LinuxPPS API ver. 1 registered
[    0.030186] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 
Rodolfo Giometti <giometti@linux.it>
[    0.030199] PTP clock support registered
[    0.030427] Advanced Linux Sound Architecture Driver Initialized.
[    0.030779] clocksource: Switched to clocksource arch_sys_counter
[    0.067056] VFS: Disk quotas dquot_6.6.0
[    0.067099] VFS: Dquot-cache hash table entries: 512 (order 0, 4096 
bytes)
[    0.069799] NET: Registered protocol family 2
[    0.070030] tcp_listen_portaddr_hash hash table entries: 2048 (order: 
3, 32768 bytes, linear)
[    0.070055] TCP established hash table entries: 32768 (order: 6, 
262144 bytes, linear)
[    0.070147] TCP bind hash table entries: 32768 (order: 7, 524288 
bytes, linear)
[    0.070444] TCP: Hash tables configured (established 32768 bind 
32768)
[    0.070542] UDP hash table entries: 2048 (order: 4, 65536 bytes, 
linear)
[    0.070569] UDP-Lite hash table entries: 2048 (order: 4, 65536 bytes, 
linear)
[    0.070654] NET: Registered protocol family 1
[    0.070674] PCI: CLS 0 bytes, default 64
[    0.071038] hw perfevents: enabled with armv8_cortex_a72 PMU driver, 
7 counters available
[    0.071494] Initialise system trusted keyrings
[    0.071617] workingset: timestamp_bits=44 max_order=20 bucket_order=0
[    0.105039] Key type asymmetric registered
[    0.105053] Asymmetric key parser 'x509' registered
[    0.105080] Block layer SCSI generic (bsg) driver version 0.4 loaded 
(major 248)
[    0.105090] io scheduler mq-deadline registered
[    0.105097] io scheduler kyber registered
[    0.105625] pci-host-generic 1f0000000.pcie: host bridge 
/soc/pcie@1f0000000 ranges:
[    0.105654] pci-host-generic 1f0000000.pcie:      MEM 
0x01f8000000..0x01f815ffff -> 0x0000000000
[    0.105675] pci-host-generic 1f0000000.pcie:      MEM 
0x01f8160000..0x01f81cffff -> 0x0000000000
[    0.105694] pci-host-generic 1f0000000.pcie:      MEM 
0x01f81d0000..0x01f81effff -> 0x0000000000
[    0.105713] pci-host-generic 1f0000000.pcie:      MEM 
0x01f81f0000..0x01f820ffff -> 0x0000000000
[    0.105731] pci-host-generic 1f0000000.pcie:      MEM 
0x01f8210000..0x01f822ffff -> 0x0000000000
[    0.105749] pci-host-generic 1f0000000.pcie:      MEM 
0x01f8230000..0x01f824ffff -> 0x0000000000
[    0.105763] pci-host-generic 1f0000000.pcie:      MEM 
0x01fc000000..0x01fc3fffff -> 0x0000000000
[    0.105816] pci-host-generic 1f0000000.pcie: ECAM at [mem 
0x1f0000000-0x1f00fffff] for [bus 00]
[    0.105871] pci-host-generic 1f0000000.pcie: PCI host bridge to bus 
0000:00
[    0.105880] pci_bus 0000:00: root bus resource [bus 00]
[    0.105889] pci_bus 0000:00: root bus resource [mem 
0x1f8000000-0x1f815ffff] (bus address [0x00000000-0x0015ffff])
[    0.105901] pci_bus 0000:00: root bus resource [mem 
0x1f8160000-0x1f81cffff pref] (bus address [0x00000000-0x0006ffff])
[    0.105912] pci_bus 0000:00: root bus resource [mem 
0x1f81d0000-0x1f81effff] (bus address [0x00000000-0x0001ffff])
[    0.105923] pci_bus 0000:00: root bus resource [mem 
0x1f81f0000-0x1f820ffff pref] (bus address [0x00000000-0x0001ffff])
[    0.105934] pci_bus 0000:00: root bus resource [mem 
0x1f8210000-0x1f822ffff] (bus address [0x00000000-0x0001ffff])
[    0.105944] pci_bus 0000:00: root bus resource [mem 
0x1f8230000-0x1f824ffff pref] (bus address [0x00000000-0x0001ffff])
[    0.105955] pci_bus 0000:00: root bus resource [mem 
0x1fc000000-0x1fc3fffff] (bus address [0x00000000-0x003fffff])
[    0.105977] pci 0000:00:00.0: [1957:e100] type 00 class 0x020001
[    0.106018] pci 0000:00:00.0: BAR 0: [mem 0x1f8000000-0x1f803ffff 
64bit] (from Enhanced Allocation, properties 0x0)
[    0.106031] pci 0000:00:00.0: BAR 2: [mem 0x1f8160000-0x1f816ffff 
64bit pref] (from Enhanced Allocation, properties 0x1)
[    0.106044] pci 0000:00:00.0: VF BAR 0: [mem 0x1f81d0000-0x1f81dffff 
64bit] (from Enhanced Allocation, properties 0x4)
[    0.106056] pci 0000:00:00.0: VF BAR 2: [mem 0x1f81f0000-0x1f81fffff 
64bit pref] (from Enhanced Allocation, properties 0x3)
[    0.106080] pci 0000:00:00.0: PME# supported from D0 D3hot
[    0.106095] pci 0000:00:00.0: VF(n) BAR0 space: [mem 
0x1f81d0000-0x1f81effff 64bit] (contains BAR0 for 2 VFs)
[    0.106106] pci 0000:00:00.0: VF(n) BAR2 space: [mem 
0x1f81f0000-0x1f820ffff 64bit pref] (contains BAR2 for 2 VFs)
[    0.106220] pci 0000:00:00.1: [1957:e100] type 00 class 0x020001
[    0.106250] pci 0000:00:00.1: BAR 0: [mem 0x1f8040000-0x1f807ffff 
64bit] (from Enhanced Allocation, properties 0x0)
[    0.106263] pci 0000:00:00.1: BAR 2: [mem 0x1f8170000-0x1f817ffff 
64bit pref] (from Enhanced Allocation, properties 0x1)
[    0.106275] pci 0000:00:00.1: VF BAR 0: [mem 0x1f8210000-0x1f821ffff 
64bit] (from Enhanced Allocation, properties 0x4)
[    0.106287] pci 0000:00:00.1: VF BAR 2: [mem 0x1f8230000-0x1f823ffff 
64bit pref] (from Enhanced Allocation, properties 0x3)
[    0.106309] pci 0000:00:00.1: PME# supported from D0 D3hot
[    0.106323] pci 0000:00:00.1: VF(n) BAR0 space: [mem 
0x1f8210000-0x1f822ffff 64bit] (contains BAR0 for 2 VFs)
[    0.106334] pci 0000:00:00.1: VF(n) BAR2 space: [mem 
0x1f8230000-0x1f824ffff 64bit pref] (contains BAR2 for 2 VFs)
[    0.106428] pci 0000:00:00.2: [1957:e100] type 00 class 0x020001
[    0.106458] pci 0000:00:00.2: BAR 0: [mem 0x1f8080000-0x1f80bffff 
64bit] (from Enhanced Allocation, properties 0x0)
[    0.106470] pci 0000:00:00.2: BAR 2: [mem 0x1f8180000-0x1f818ffff 
64bit pref] (from Enhanced Allocation, properties 0x1)
[    0.106491] pci 0000:00:00.2: PME# supported from D0 D3hot
[    0.106576] pci 0000:00:00.3: [1957:ee01] type 00 class 0x088001
[    0.106609] pci 0000:00:00.3: BAR 0: [mem 0x1f8100000-0x1f811ffff 
64bit] (from Enhanced Allocation, properties 0x0)
[    0.106621] pci 0000:00:00.3: BAR 2: [mem 0x1f8190000-0x1f819ffff 
64bit pref] (from Enhanced Allocation, properties 0x1)
[    0.106642] pci 0000:00:00.3: PME# supported from D0 D3hot
[    0.106727] pci 0000:00:00.4: [1957:ee02] type 00 class 0x088001
[    0.106756] pci 0000:00:00.4: BAR 0: [mem 0x1f8120000-0x1f813ffff 
64bit] (from Enhanced Allocation, properties 0x0)
[    0.106768] pci 0000:00:00.4: BAR 2: [mem 0x1f81a0000-0x1f81affff 
64bit pref] (from Enhanced Allocation, properties 0x1)
[    0.106805] pci 0000:00:00.4: PME# supported from D0 D3hot
[    0.106891] pci 0000:00:00.5: [1957:eef0] type 00 class 0x020801
[    0.106921] pci 0000:00:00.5: BAR 0: [mem 0x1f8140000-0x1f815ffff 
64bit] (from Enhanced Allocation, properties 0x0)
[    0.106933] pci 0000:00:00.5: BAR 2: [mem 0x1f81b0000-0x1f81bffff 
64bit pref] (from Enhanced Allocation, properties 0x1)
[    0.106944] pci 0000:00:00.5: BAR 4: [mem 0x1fc000000-0x1fc3fffff 
64bit] (from Enhanced Allocation, properties 0x0)
[    0.106965] pci 0000:00:00.5: PME# supported from D0 D3hot
[    0.107054] pci 0000:00:00.6: [1957:e100] type 00 class 0x020001
[    0.107083] pci 0000:00:00.6: BAR 0: [mem 0x1f80c0000-0x1f80fffff 
64bit] (from Enhanced Allocation, properties 0x0)
[    0.107095] pci 0000:00:00.6: BAR 2: [mem 0x1f81c0000-0x1f81cffff 
64bit pref] (from Enhanced Allocation, properties 0x1)
[    0.107116] pci 0000:00:00.6: PME# supported from D0 D3hot
[    0.107877] pci 0000:00:1f.0: [1957:e001] type 00 class 0x080700
[    0.107923] OF: /soc/pcie@1f0000000: no msi-map translation for rid 
0xf8 on (null)
[    0.108232] layerscape-pcie 3400000.pcie: host bridge 
/soc/pcie@3400000 ranges:
[    0.108257] layerscape-pcie 3400000.pcie:       IO 
0x8000010000..0x800001ffff -> 0x0000000000
[    0.108274] layerscape-pcie 3400000.pcie:      MEM 
0x8040000000..0x807fffffff -> 0x0040000000
[    0.108361] layerscape-pcie 3400000.pcie: PCI host bridge to bus 
0001:00
[    0.108370] pci_bus 0001:00: root bus resource [bus 00-ff]
[    0.108378] pci_bus 0001:00: root bus resource [io  0x0000-0xffff]
[    0.108387] pci_bus 0001:00: root bus resource [mem 
0x8040000000-0x807fffffff] (bus address [0x40000000-0x7fffffff])
[    0.108408] pci 0001:00:00.0: [1957:82c1] type 01 class 0x060400
[    0.108468] pci 0001:00:00.0: supports D1 D2
[    0.108475] pci 0001:00:00.0: PME# supported from D0 D1 D2 D3hot
[    0.109903] pci_bus 0001:01: busn_res: [bus 01-ff] end is updated to 
01
[    0.109917] pci 0001:00:00.0: PCI bridge to [bus 01]
[    0.110006] layerscape-pcie 3500000.pcie: host bridge 
/soc/pcie@3500000 ranges:
[    0.110029] layerscape-pcie 3500000.pcie:       IO 
0x8800010000..0x880001ffff -> 0x0000000000
[    0.110045] layerscape-pcie 3500000.pcie:      MEM 
0x8840000000..0x887fffffff -> 0x0040000000
[    0.110123] layerscape-pcie 3500000.pcie: PCI host bridge to bus 
0002:00
[    0.110132] pci_bus 0002:00: root bus resource [bus 00-ff]
[    0.110140] pci_bus 0002:00: root bus resource [io  0x10000-0x1ffff] 
(bus address [0x0000-0xffff])
[    0.110151] pci_bus 0002:00: root bus resource [mem 
0x8840000000-0x887fffffff] (bus address [0x40000000-0x7fffffff])
[    0.110171] pci 0002:00:00.0: [1957:82c1] type 01 class 0x060400
[    0.110230] pci 0002:00:00.0: supports D1 D2
[    0.110237] pci 0002:00:00.0: PME# supported from D0 D1 D2 D3hot
[    0.111677] pci_bus 0002:01: busn_res: [bus 01-ff] end is updated to 
01
[    0.111690] pci 0002:00:00.0: PCI bridge to [bus 01]
[    0.111962] IPMI message handler: version 39.2
[    0.111989] ipmi device interface
[    0.112014] ipmi_si: IPMI System Interface driver
[    0.112131] ipmi_si: Unable to find any System Interface(s)
[    0.113571] Serial: 8250/16550 driver, 4 ports, IRQ sharing enabled
[    0.114271] 21c0500.serial: ttyS0 at MMIO 0x21c0500 (irq = 16, 
base_baud = 12500000) is a 16550A
[    1.695285] printk: console [ttyS0] enabled
[    1.699735] 21c0600.serial: ttyS1 at MMIO 0x21c0600 (irq = 16, 
base_baud = 12500000) is a 16550A
[    1.708845] 2270000.serial: ttyLP2 at MMIO 0x2270000 (irq = 17, 
base_baud = 12500000) is a FSL_LPUART
[    1.718915] arm-smmu 5000000.iommu: probing hardware configuration...
[    1.725399] arm-smmu 5000000.iommu: SMMUv2 with:
[    1.730041] arm-smmu 5000000.iommu:  stage 1 translation
[    1.735387] arm-smmu 5000000.iommu:  stage 2 translation
[    1.740726] arm-smmu 5000000.iommu:  nested translation
[    1.745977] arm-smmu 5000000.iommu:  stream matching with 128 
register groups
[    1.753146] arm-smmu 5000000.iommu:  64 context banks (0 stage-2 
only)
[    1.759709] arm-smmu 5000000.iommu:  Supported page sizes: 0x61311000
[    1.766177] arm-smmu 5000000.iommu:  Stage-1: 48-bit VA -> 48-bit IPA
[    1.772644] arm-smmu 5000000.iommu:  Stage-2: 48-bit IPA -> 48-bit PA
[    1.779620] at24 0-0050: supply vcc not found, using dummy regulator
[    1.786797] at24 0-0050: 4096 byte 24c32 EEPROM, writable, 32 
bytes/write
[    1.793667] at24 1-0057: supply vcc not found, using dummy regulator
[    1.800812] at24 1-0057: 8192 byte 24c64 EEPROM, writable, 32 
bytes/write
[    1.807680] at24 2-0050: supply vcc not found, using dummy regulator
[    1.814812] at24 2-0050: 4096 byte 24c32 EEPROM, writable, 32 
bytes/write
[    1.822379] sl28cpld 0-004a: successfully probed. CPLD version 18
[    1.829631] gpio_sl28cpld sl28cpld-gpio: registered IRQ 108
[    1.840850] gpio_sl28cpld sl28cpld-gpio.0: registered IRQ 108
[    1.852473] irq_sl28cpld sl28cpld-intc: registered IRQ 108
[    1.858081] mpt3sas version 34.100.00.00 loaded
[    1.863428] header.nph=2
[    1.865969] sfdp_size=288
[    1.868743] spi-nor spi1.0: mx25u3235f (4096 Kbytes)
[    1.875737] header.nph=0
[    1.878280] sfdp_size=192
[    1.880953] spi-nor spi0.0: w25q32dw (4096 Kbytes)
[    1.887272] 10 fixed-partitions partitions found on MTD device 
20c0000.spi
[    1.894187] Creating 10 MTD partitions on "20c0000.spi":
[    1.899536] 0x000000000000-0x000000010000 : "rcw"
[    1.911091] 0x000000010000-0x000000100000 : "failsafe bootloader"
[    1.927079] 0x000000100000-0x000000140000 : "failsafe DP firmware"
[    1.935127] 0x000000140000-0x0000001e0000 : "failsafe trusted 
firmware"
[    1.943100] 0x0000001e0000-0x000000200000 : "reserved"
[    1.951111] 0x000000200000-0x000000210000 : "configuration store"
[    1.959097] 0x000000210000-0x000000300000 : "bootloader"
[    1.967111] 0x000000300000-0x000000340000 : "DP firmware"
[    1.975107] 0x000000340000-0x0000003e0000 : "trusted firmware"
[    1.983108] 0x0000003e0000-0x000000400000 : "bootloader environment"
[    1.991731] libphy: Fixed MDIO Bus: probed
[    1.996040] mscc_felix 0000:00:00.5: Adding to iommu group 0
[    2.001862] mscc_felix 0000:00:00.5: device is disabled, skipping
[    2.008040] fsl_enetc 0000:00:00.0: Adding to iommu group 1
[    2.118796] fsl_enetc 0000:00:00.0: enabling device (0400 -> 0402)
[    2.125042] fsl_enetc 0000:00:00.0: no MAC address specified for SI1, 
using ae:56:33:78:dd:46
[    2.133609] fsl_enetc 0000:00:00.0: no MAC address specified for SI2, 
using 56:54:55:fc:0f:b6
[    2.142520] libphy: Freescale ENETC MDIO Bus: probed
[    2.149117] fsl_enetc 0000:00:00.1: Adding to iommu group 2
[    2.154838] fsl_enetc 0000:00:00.1: device is disabled, skipping
[    2.160912] fsl_enetc 0000:00:00.2: Adding to iommu group 3
[    2.166586] fsl_enetc 0000:00:00.2: device is disabled, skipping
[    2.172656] fsl_enetc 0000:00:00.6: Adding to iommu group 4
[    2.178326] fsl_enetc 0000:00:00.6: device is disabled, skipping
[    2.184426] fsl_enetc_mdio 0000:00:00.3: Adding to iommu group 5
[    2.294790] fsl_enetc_mdio 0000:00:00.3: enabling device (0400 -> 
0402)
[    2.301615] libphy: FSL PCIe IE Central MDIO Bus: probed
[    2.306989] igb: Intel(R) Gigabit Ethernet Network Driver - version 
5.6.0-k
[    2.313983] igb: Copyright (c) 2007-2014 Intel Corporation.
[    2.319682] dwc3 3100000.usb: Adding to iommu group 6
[    2.325036] ------------[ cut here ]------------
[    2.329678] sup:5000000.iommu - con:3100000.usb f:68 s:1
[    2.335039] WARNING: CPU: 0 PID: 1 at drivers/base/core.c:915 
device_links_driver_bound+0x1ec/0x230
[    2.344119] Modules linked in:
[    2.347182] CPU: 0 PID: 1 Comm: swapper/0 Not tainted 
5.7.0-rc7-next-20200525-00039-gfb6df8136807-dirty #815
[    2.357048] Hardware name: Kontron SMARC-sAL28 (Single PHY) on SMARC 
Eval 2.0 carrier (DT)
[    2.365345] pstate: 60000005 (nZCv daif -PAN -UAO BTYPE=--)
[    2.370935] pc : device_links_driver_bound+0x1ec/0x230
[    2.376090] lr : device_links_driver_bound+0x1ec/0x230
[    2.381242] sp : ffff8000111dbb70
[    2.384564] x29: ffff8000111dbb70 x28: ffff00207a421c10
[    2.389893] x27: ffff00207a420c90 x26: ffff800010be8130
[    2.395223] x25: 0000000000000003 x24: ffff00207a420cb0
[    2.400552] x23: ffff800011039948 x22: ffff8000111dbbd8
[    2.405880] x21: ffff00207a420c10 x20: ffff8000110d2d80
[    2.411208] x19: ffff00207a401100 x18: 0000000000000010
[    2.416536] x17: ffffffffffff3f00 x16: 0000000000007fff
[    2.421864] x15: ffffffffffffffff x14: 0720072007200720
[    2.427192] x13: 0720072007200720 x12: 0720072007200720
[    2.432521] x11: 0720072007200720 x10: 0720072007200720
[    2.437849] x9 : ffff800010091f64 x8 : 072007380736073a
[    2.443177] x7 : 000000000000012c x6 : ffff00207ac21f00
[    2.448505] x5 : 0000000000000000 x4 : 0000000000000000
[    2.453833] x3 : 00000000ffffffff x2 : ffff80001105b6c8
[    2.459161] x1 : c4bf1185730d5000 x0 : 0000000000000000
[    2.464490] Call trace:
[    2.466941]  device_links_driver_bound+0x1ec/0x230
[    2.471748]  driver_bound+0x70/0xc0
[    2.475246]  really_probe+0x110/0x318
[    2.478917]  driver_probe_device+0x40/0x90
[    2.483025]  device_driver_attach+0x7c/0x88
[    2.487220]  __driver_attach+0x60/0xe8
[    2.490978]  bus_for_each_dev+0x7c/0xd0
[    2.494824]  driver_attach+0x2c/0x38
[    2.498408]  bus_add_driver+0x194/0x1f8
[    2.502254]  driver_register+0x6c/0x128
[    2.506100]  __platform_driver_register+0x50/0x60
[    2.510820]  dwc3_driver_init+0x24/0x30
[    2.514668]  do_one_initcall+0x54/0x298
[    2.518515]  kernel_init_freeable+0x1ec/0x268
[    2.522885]  kernel_init+0x1c/0x118
[    2.526382]  ret_from_fork+0x10/0x1c
[    2.529967] ---[ end trace 1dedfde488772a9f ]---
[    2.534662] dwc3 3110000.usb: Adding to iommu group 7
[    2.539966] ------------[ cut here ]------------
[    2.544606] sup:5000000.iommu - con:3110000.usb f:68 s:1
[    2.549954] WARNING: CPU: 0 PID: 1 at drivers/base/core.c:915 
device_links_driver_bound+0x1ec/0x230
[    2.559034] Modules linked in:
[    2.562096] CPU: 0 PID: 1 Comm: swapper/0 Tainted: G        W         
5.7.0-rc7-next-20200525-00039-gfb6df8136807-dirty #815
[    2.573356] Hardware name: Kontron SMARC-sAL28 (Single PHY) on SMARC 
Eval 2.0 carrier (DT)
[    2.581652] pstate: 60000005 (nZCv daif -PAN -UAO BTYPE=--)
[    2.587243] pc : device_links_driver_bound+0x1ec/0x230
[    2.592397] lr : device_links_driver_bound+0x1ec/0x230
[    2.597550] sp : ffff8000111dbb70
[    2.600870] x29: ffff8000111dbb70 x28: ffff00207a421c10
[    2.606199] x27: ffff00207a421090 x26: ffff800010be8130
[    2.611528] x25: 0000000000000003 x24: ffff00207a4210b0
[    2.616856] x23: ffff800011039948 x22: ffff8000111dbbd8
[    2.622184] x21: ffff00207a421010 x20: ffff8000110d2d80
[    2.627512] x19: ffff00207a401180 x18: 0000000000000010
[    2.632840] x17: ffffffffffff3f00 x16: 0000000000007fff
[    2.638168] x15: ffffffffffffffff x14: 0720072007200720
[    2.643496] x13: 0720072007200720 x12: 0720072007200720
[    2.648824] x11: 0720072007200720 x10: 0720072007200720
[    2.654153] x9 : ffff800010091f64 x8 : 072007380736073a
[    2.659481] x7 : 0000000000000158 x6 : ffff00207ac21f00
[    2.664809] x5 : 0000000000000000 x4 : 0000000000000000
[    2.670137] x3 : 00000000ffffffff x2 : ffff80001105b6c8
[    2.675466] x1 : c4bf1185730d5000 x0 : 0000000000000000
[    2.680794] Call trace:
[    2.683244]  device_links_driver_bound+0x1ec/0x230
[    2.688049]  driver_bound+0x70/0xc0
[    2.691545]  really_probe+0x110/0x318
[    2.695217]  driver_probe_device+0x40/0x90
[    2.699324]  device_driver_attach+0x7c/0x88
[    2.703519]  __driver_attach+0x60/0xe8
[    2.707277]  bus_for_each_dev+0x7c/0xd0
[    2.711123]  driver_attach+0x2c/0x38
[    2.714707]  bus_add_driver+0x194/0x1f8
[    2.718553]  driver_register+0x6c/0x128
[    2.722399]  __platform_driver_register+0x50/0x60
[    2.727117]  dwc3_driver_init+0x24/0x30
[    2.730963]  do_one_initcall+0x54/0x298
[    2.734810]  kernel_init_freeable+0x1ec/0x268
[    2.739179]  kernel_init+0x1c/0x118
[    2.742676]  ret_from_fork+0x10/0x1c
[    2.746259] ---[ end trace 1dedfde488772aa0 ]---
[    2.751063] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) 
Driver
[    2.757621] ehci-pci: EHCI PCI platform driver
[    2.762269] xhci-hcd xhci-hcd.0.auto: xHCI Host Controller
[    2.767791] xhci-hcd xhci-hcd.0.auto: new USB bus registered, 
assigned bus number 1
[    2.775619] xhci-hcd xhci-hcd.0.auto: hcc params 0x0220f66d hci 
version 0x100 quirks 0x0000000002010010
[    2.785077] xhci-hcd xhci-hcd.0.auto: irq 21, io mem 0x03100000
[    2.791398] hub 1-0:1.0: USB hub found
[    2.795180] hub 1-0:1.0: 1 port detected
[    2.799226] xhci-hcd xhci-hcd.0.auto: xHCI Host Controller
[    2.804742] xhci-hcd xhci-hcd.0.auto: new USB bus registered, 
assigned bus number 2
[    2.812437] xhci-hcd xhci-hcd.0.auto: Host supports USB 3.0 
SuperSpeed
[    2.819034] usb usb2: We don't know the algorithms for LPM for this 
host, disabling LPM.
[    2.827373] hub 2-0:1.0: USB hub found
[    2.831156] hub 2-0:1.0: 1 port detected
[    2.835232] xhci-hcd xhci-hcd.1.auto: xHCI Host Controller
[    2.840754] xhci-hcd xhci-hcd.1.auto: new USB bus registered, 
assigned bus number 3
[    2.848592] xhci-hcd xhci-hcd.1.auto: hcc params 0x0220f66d hci 
version 0x100 quirks 0x0000000002010010
[    2.858072] xhci-hcd xhci-hcd.1.auto: irq 22, io mem 0x03110000
[    2.864341] hub 3-0:1.0: USB hub found
[    2.868123] hub 3-0:1.0: 1 port detected
[    2.872161] xhci-hcd xhci-hcd.1.auto: xHCI Host Controller
[    2.877676] xhci-hcd xhci-hcd.1.auto: new USB bus registered, 
assigned bus number 4
[    2.885372] xhci-hcd xhci-hcd.1.auto: Host supports USB 3.0 
SuperSpeed
[    2.891965] usb usb4: We don't know the algorithms for LPM for this 
host, disabling LPM.
[    2.900305] hub 4-0:1.0: USB hub found
[    2.904166] hub 4-0:1.0: 1 port detected
[    2.908296] usbcore: registered new interface driver usb-storage
[    2.914499] input: buttons1 as 
/devices/platform/buttons1/input/input0
[    2.922390] rtc-rv8803 0-0032: Voltage low, temperature compensation 
stopped.
[    2.929561] rtc-rv8803 0-0032: Voltage low, data loss detected.
[    2.936566] rtc-rv8803 0-0032: Voltage low, data is invalid.
[    2.942408] rtc-rv8803 0-0032: registered as rtc0
[    2.947738] rtc-rv8803 0-0032: Voltage low, data is invalid.
[    2.953426] rtc-rv8803 0-0032: hctosys: unable to read the hardware 
clock
[    2.960324] i2c /dev entries driver
[    2.969874] sp805-wdt c000000.watchdog: registration successful
[    2.975903] sp805-wdt c010000.watchdog: registration successful
[    2.983636] sl28cpld_wdt sl28cpld-wdt: initial timeout 6 sec
[    2.989890] qoriq-cpufreq qoriq-cpufreq: Freescale QorIQ CPU 
frequency scaling driver
[    2.998408] sdhci: Secure Digital Host Controller Interface driver
[    3.004669] sdhci: Copyright(c) Pierre Ossman
[    3.009082] sdhci-pltfm: SDHCI platform and OF driver helper
[    3.015604] sdhci-esdhc 2140000.mmc: Adding to iommu group 8
[    3.048548] mmc0: SDHCI controller on 2140000.mmc [2140000.mmc] using 
ADMA
[    3.055568] ------------[ cut here ]------------
[    3.060295] sup:5000000.iommu - con:2140000.mmc f:68 s:1
[    3.065824] WARNING: CPU: 0 PID: 1 at drivers/base/core.c:915 
device_links_driver_bound+0x1ec/0x230
[    3.074940] Modules linked in:
[    3.078032] CPU: 0 PID: 1 Comm: swapper/0 Tainted: G        W         
5.7.0-rc7-next-20200525-00039-gfb6df8136807-dirty #815
[    3.089325] Hardware name: Kontron SMARC-sAL28 (Single PHY) on SMARC 
Eval 2.0 carrier (DT)
[    3.097654] pstate: 60000005 (nZCv daif -PAN -UAO BTYPE=--)
[    3.103272] pc : device_links_driver_bound+0x1ec/0x230
[    3.108451] lr : device_links_driver_bound+0x1ec/0x230
[    3.113624] sp : ffff8000111dbb70
[    3.116964] x29: ffff8000111dbb70 x28: ffff00207a421c10
[    3.122320] x27: ffff00207a41a490 x26: ffff800010be8130
[    3.127676] x25: 0000000000000003 x24: ffff00207a41a4b0
[    3.133030] x23: ffff800011039948 x22: ffff8000111dbbd8
[    3.138384] x21: ffff00207a41a410 x20: ffff8000110d2d80
[    3.143737] x19: ffff00207affdf00 x18: 0000000000000000
[    3.149090] x17: 0000000000000002 x16: 0000000000000001
[    3.154443] x15: 0000000000000000 x14: 00000000000004c4
[    3.159797] x13: 0000000000000003 x12: 0000000000000000
[    3.165150] x11: 00000000000003fe x10: 00000000000009f0
[    3.170503] x9 : ffff800010091f64 x8 : ffff00207ae50a50
[    3.175857] x7 : ffff80206e9df000 x6 : 0000000000000001
[    3.181209] x5 : 0000000000000000 x4 : 0000000000000000
[    3.186562] x3 : ffff80206e9df000 x2 : ffff80001105b6c8
[    3.191915] x1 : c4bf1185730d5000 x0 : 0000000000000000
[    3.197268] Call trace:
[    3.199742]  device_links_driver_bound+0x1ec/0x230
[    3.204574]  driver_bound+0x70/0xc0
[    3.208095]  really_probe+0x110/0x318
[    3.211791]  driver_probe_device+0x40/0x90
[    3.215925]  device_driver_attach+0x7c/0x88
[    3.220144]  __driver_attach+0x60/0xe8
[    3.223926]  bus_for_each_dev+0x7c/0xd0
[    3.227794]  driver_attach+0x2c/0x38
[    3.231402]  bus_add_driver+0x194/0x1f8
[    3.235272]  driver_register+0x6c/0x128
[    3.239140]  __platform_driver_register+0x50/0x60
[    3.243883]  sdhci_esdhc_driver_init+0x24/0x30
[    3.248364]  do_one_initcall+0x54/0x298
[    3.252237]  kernel_init_freeable+0x1ec/0x268
[    3.256630]  kernel_init+0x1c/0x118
[    3.260150]  ret_from_fork+0x10/0x1c
[    3.263753] ---[ end trace 1dedfde488772aa1 ]---
[    3.269383] sdhci-esdhc 2150000.mmc: Adding to iommu group 9
[    3.302631] mmc1: SDHCI controller on 2150000.mmc [2150000.mmc] using 
ADMA
[    3.309672] ------------[ cut here ]------------
[    3.314415] sup:5000000.iommu - con:2150000.mmc f:68 s:1
[    3.319907] WARNING: CPU: 1 PID: 1 at drivers/base/core.c:915 
device_links_driver_bound+0x1ec/0x230
[    3.329018] Modules linked in:
[    3.332109] CPU: 1 PID: 1 Comm: swapper/0 Tainted: G        W         
5.7.0-rc7-next-20200525-00039-gfb6df8136807-dirty #815
[    3.343403] Hardware name: Kontron SMARC-sAL28 (Single PHY) on SMARC 
Eval 2.0 carrier (DT)
[    3.351733] pstate: 60000005 (nZCv daif -PAN -UAO BTYPE=--)
[    3.357351] pc : device_links_driver_bound+0x1ec/0x230
[    3.362530] lr : device_links_driver_bound+0x1ec/0x230
[    3.367703] sp : ffff8000111dbb70
[    3.371043] x29: ffff8000111dbb70 x28: ffff00207a421c10
[    3.376402] x27: ffff00207a41a890 x26: ffff800010be8130
[    3.381759] x25: 0000000000000003 x24: ffff00207a41a8b0
[    3.387114] x23: ffff800011039948 x22: ffff8000111dbbd8
[    3.392468] x21: ffff00207a41a810 x20: ffff8000110d2d80
[    3.394852] usb 3-1: new high-speed USB device number 2 using 
xhci-hcd
[    3.397820] x19: ffff00207affdf80 x18: 0000000000000010
[    3.409742] x17: 0000000000000000 x16: 0000000000000003
[    3.415096] x15: ffffffffffffffff x14: 0720072007200720
[    3.420450] x13: 0720072007200720 x12: 0720072007200720
[    3.425804] x11: 0720072007200720 x10: 00000000000009f0
[    3.431158] x9 : ffff800010091f64 x8 : ffff00207ae50a50
[    3.436511] x7 : 00000000ffffffff x6 : 0000000000000001
[    3.441865] x5 : 0000000000007af8 x4 : 0000000000000000
[    3.447218] x3 : ffff80206e9fd000 x2 : ffff80001105b6c8
[    3.452571] x1 : c4bf1185730d5000 x0 : 0000000000000000
[    3.457925] Call trace:
[    3.460400]  device_links_driver_bound+0x1ec/0x230
[    3.465234]  driver_bound+0x70/0xc0
[    3.468755]  really_probe+0x110/0x318
[    3.472451]  driver_probe_device+0x40/0x90
[    3.476584]  device_driver_attach+0x7c/0x88
[    3.480805]  __driver_attach+0x60/0xe8
[    3.484586]  bus_for_each_dev+0x7c/0xd0
[    3.488455]  driver_attach+0x2c/0x38
[    3.492062]  bus_add_driver+0x194/0x1f8
[    3.495932]  driver_register+0x6c/0x128
[    3.499800]  __platform_driver_register+0x50/0x60
[    3.504543]  sdhci_esdhc_driver_init+0x24/0x30
[    3.509022]  do_one_initcall+0x54/0x298
[    3.512895]  kernel_init_freeable+0x1ec/0x268
[    3.517289]  kernel_init+0x1c/0x118
[    3.520808]  ret_from_fork+0x10/0x1c
[    3.524411] ---[ end trace 1dedfde488772aa2 ]---
[    3.531059] usbcore: registered new interface driver usbhid
[    3.536930] usbhid: USB HID core driver
[    3.542739] wm8904 2-001a: supply DCVDD not found, using dummy 
regulator
[    3.551906] wm8904 2-001a: supply DBVDD not found, using dummy 
regulator
[    3.558984] wm8904 2-001a: supply AVDD not found, using dummy 
regulator
[    3.568758] wm8904 2-001a: supply CPVDD not found, using dummy 
regulator
[    3.575809] wm8904 2-001a: supply MICVDD not found, using dummy 
regulator
[    3.585270] wm8904 2-001a: revision A
[    3.592667] random: fast init done
[    3.596550] hub 3-1:1.0: USB hub found
[    3.600618] hub 3-1:1.0: 7 ports detected
[    3.607057] mmc0: new ultra high speed SDR104 SDHC card at address 
1234
[    3.614693] NET: Registered protocol family 10
[    3.614811] mmcblk0: mmc0:1234 SA16G 14.4 GiB
[    3.620859] Segment Routing with IPv6
[    3.628371]  mmcblk0: p1
[    3.629054] sit: IPv6, IPv4 and MPLS over IPv4 tunneling driver
[    3.638317] NET: Registered protocol family 17
[    3.643004] Bridge firewalling registered
[    3.647331] 8021q: 802.1Q VLAN Support v1.8
[    3.651847] Key type dns_resolver registered
[    3.656831] registered taskstats version 1
[    3.662880] Loading compiled-in X.509 certificates
[    3.674933] fsl-edma 22c0000.dma-controller: Adding to iommu group 10
[    3.684717] ------------[ cut here ]------------
[    3.689545] sup:5000000.iommu - con:22c0000.dma-controller f:68 s:1
[    3.696078] WARNING: CPU: 0 PID: 82 at drivers/base/core.c:915 
device_links_driver_bound+0x1ec/0x230
[    3.705275] Modules linked in:
[    3.708368] CPU: 0 PID: 82 Comm: kworker/0:3 Tainted: G        W      
    5.7.0-rc7-next-20200525-00039-gfb6df8136807-dirty #815
[    3.719924] Hardware name: Kontron SMARC-sAL28 (Single PHY) on SMARC 
Eval 2.0 carrier (DT)
[    3.728262] Workqueue: events deferred_probe_work_func
[    3.733448] pstate: 60000005 (nZCv daif -PAN -UAO BTYPE=--)
[    3.739065] pc : device_links_driver_bound+0x1ec/0x230
[    3.744244] lr : device_links_driver_bound+0x1ec/0x230
[    3.749417] sp : ffff8000123d3b70
[    3.752757] x29: ffff8000123d3b70 x28: ffff00207a421c10
[    3.758116] x27: ffff00207a41bc90 x26: ffff800010be8130
[    3.763473] x25: 0000000000000003 x24: ffff00207a41bcb0
[    3.768827] x23: ffff800011039948 x22: ffff8000123d3bd8
[    3.774181] x21: ffff00207a41bc10 x20: ffff8000110d2d80
[    3.779535] x19: ffff00207a401080 x18: 0000000000000010
[    3.784890] x17: 000000000f459d73 x16: 00000000f67948ef
[    3.790244] x15: ffffffffffffffff x14: 0720072007200720
[    3.795598] x13: 0720072007200720 x12: 072007200731073a
[    3.800951] x11: 0773072007380736 x10: 073a076607200772
[    3.806305] x9 : ffff800010091f64 x8 : 07720774076e076f
[    3.811658] x7 : 0000000000000220 x6 : ffff00207ac21f00
[    3.817012] x5 : 0000000000000000 x4 : 0000000000000000
[    3.822365] x3 : 00000000ffffffff x2 : ffff80001105b6c8
[    3.827718] x1 : c4bf1185730d5000 x0 : 0000000000000000
[    3.833073] Call trace:
[    3.835548]  device_links_driver_bound+0x1ec/0x230
[    3.840381]  driver_bound+0x70/0xc0
[    3.843902]  really_probe+0x110/0x318
[    3.847599]  driver_probe_device+0x40/0x90
[    3.851732]  __device_attach_driver+0x8c/0xd0
[    3.856124]  bus_for_each_drv+0x84/0xd8
[    3.859994]  __device_attach+0xd4/0x110
[    3.863863]  device_initial_probe+0x1c/0x28
[    3.868082]  bus_probe_device+0xa4/0xb0
[    3.871952]  deferred_probe_work_func+0x7c/0xb8
[    3.876525]  process_one_work+0x1f4/0x4b8
[    3.880571]  worker_thread+0x218/0x498
[    3.884355]  kthread+0x160/0x168
[    3.887613]  ret_from_fork+0x10/0x1c
[    3.891218] ---[ end trace 1dedfde488772aa4 ]---
[    3.896564] pcieport 0001:00:00.0: Adding to iommu group 11
[    3.903497] mmc1: new HS400 MMC card at address 0001
[    3.908759] pcieport 0001:00:00.0: AER: enabled with IRQ 24
[    3.909534] mmcblk1: mmc1:0001 S0J58X 29.6 GiB
[    3.914825] pcieport 0002:00:00.0: Adding to iommu group 12
[    3.919508] mmcblk1boot0: mmc1:0001 S0J58X partition 1 31.5 MiB
[    3.930861] pcieport 0002:00:00.0: AER: enabled with IRQ 26
[    3.931274] mmcblk1boot1: mmc1:0001 S0J58X partition 2 31.5 MiB
[    3.936999] fsl-qdma 8380000.dma-controller: Adding to iommu group 13
[    3.942697] mmcblk1rpmb: mmc1:0001 S0J58X partition 3 4.00 MiB, 
chardev (245:0)
[    3.950312] ------------[ cut here ]------------
[    3.961397] sup:5000000.iommu - con:8380000.dma-controller f:68 s:1
[    3.961424]  mmcblk1: p1 p2
[    3.967817] WARNING: CPU: 0 PID: 82 at drivers/base/core.c:915 
device_links_driver_bound+0x1ec/0x230
[    3.979759] Modules linked in:
[    3.982851] CPU: 0 PID: 82 Comm: kworker/0:3 Tainted: G        W      
    5.7.0-rc7-next-20200525-00039-gfb6df8136807-dirty #815
[    3.994405] Hardware name: Kontron SMARC-sAL28 (Single PHY) on SMARC 
Eval 2.0 carrier (DT)
[    4.002743] Workqueue: events deferred_probe_work_func
[    4.007928] pstate: 60000005 (nZCv daif -PAN -UAO BTYPE=--)
[    4.013545] pc : device_links_driver_bound+0x1ec/0x230
[    4.018723] lr : device_links_driver_bound+0x1ec/0x230
[    4.023897] sp : ffff8000123d3b70
[    4.027236] x29: ffff8000123d3b70 x28: ffff00207a421c10
[    4.032592] x27: ffff00207a422090 x26: ffff800010be8130
[    4.037947] x25: 0000000000000003 x24: ffff00207a4220b0
[    4.043301] x23: ffff800011039948 x22: ffff8000123d3bd8
[    4.048655] x21: ffff00207a422010 x20: ffff8000110d2d80
[    4.054009] x19: ffff00207a401300 x18: 0000000000000010
[    4.059363] x17: 0000000000000002 x16: 0000000000000003
[    4.064717] x15: ffffffffffffffff x14: 0720072007200720
[    4.070070] x13: 0720072007200720 x12: 072007200731073a
[    4.075423] x11: 0773072007380736 x10: 073a076607200772
[    4.080776] x9 : ffff800010091f64 x8 : 07720774076e076f
[    4.086130] x7 : 0763072d0761076d x6 : ffff00207ac21f00
[    4.091483] x5 : 0000000000000000 x4 : 0000000000000000
[    4.096837] x3 : 00000000ffffffff x2 : ffff80001105b6c8
[    4.102191] x1 : c4bf1185730d5000 x0 : 0000000000000000
[    4.107545] Call trace:
[    4.110018]  device_links_driver_bound+0x1ec/0x230
[    4.114850]  driver_bound+0x70/0xc0
[    4.118371]  really_probe+0x110/0x318
[    4.122066]  driver_probe_device+0x40/0x90
[    4.126200]  __device_attach_driver+0x8c/0xd0
[    4.130593]  bus_for_each_drv+0x84/0xd8
[    4.134463]  __device_attach+0xd4/0x110
[    4.138333]  device_initial_probe+0x1c/0x28
[    4.142552]  bus_probe_device+0xa4/0xb0
[    4.146422]  deferred_probe_work_func+0x7c/0xb8
[    4.150994]  process_one_work+0x1f4/0x4b8
[    4.155040]  worker_thread+0x218/0x498
[    4.158824]  kthread+0x160/0x168
[    4.162083]  ret_from_fork+0x10/0x1c
[    4.165686] ---[ end trace 1dedfde488772aa5 ]---
[    4.177076] asoc-simple-card sound: wm8904-hifi <-> 
f150000.audio-controller mapping ok
[    4.187367] asoc-simple-card sound: wm8904-hifi <-> 
f140000.audio-controller mapping ok
[    4.195570] asoc-simple-card sound: ASoC: no DMI vendor name!
[    4.207494] input: buttons0 as 
/devices/platform/buttons0/input/input1
[    4.214771] ALSA device list:
[    4.217820]   #0: f150000.audio-controller-wm8904-hifi
[    4.227909] EXT4-fs (mmcblk1p2): INFO: recovery required on readonly 
filesystem
[    4.235322] EXT4-fs (mmcblk1p2): write access will be enabled during 
recovery
[    4.274456] EXT4-fs (mmcblk1p2): recovery complete
[    4.281568] EXT4-fs (mmcblk1p2): mounted filesystem with ordered data 
mode. Opts: (null)
[    4.282852] usb 3-1.6: new full-speed USB device number 3 using 
xhci-hcd
[    4.289831] VFS: Mounted root (ext4 filesystem) readonly on device 
179:34.
[    4.304060] devtmpfs: mounted
[    4.318148] Freeing unused kernel memory: 3328K
[    4.322986] Run /sbin/init as init process
[    4.327143]   with arguments:
[    4.330136]     /sbin/init
[    4.332884]   with environment:
[    4.336071]     HOME=/
[    4.338451]     TERM=linux
[    4.390182] EXT4-fs (mmcblk1p2): re-mounted. Opts: (null)
[    4.565675] udevd[130]: starting version 3.2.8
[    4.572326] random: udevd: uninitialized urandom read (16 bytes read)
[    4.580164] random: udevd: uninitialized urandom read (16 bytes read)
[    4.586913] random: udevd: uninitialized urandom read (16 bytes read)
[    4.598510] udevd[130]: specified group 'kvm' unknown
[    4.626307] udevd[131]: starting eudev-3.2.8
[    6.878045] fsl_enetc 0000:00:00.0 gbe0: renamed from eth0
[    9.740520] urandom_read: 3 callbacks suppressed
[    9.740534] random: dd: uninitialized urandom read (512 bytes read)
[    9.903952] Qualcomm Atheros AR8031/AR8033 0000:00:00.0:05: attached 
PHY driver [Qualcomm Atheros AR8031/AR8033] 
(mii_bus:phy_addr=0000:00:00.0:05, irq=POLL)
[    9.936327] fsl_enetc 0000:00:00.0 gbe0: Link is Down
[    9.992936] random: dropbear: uninitialized urandom read (32 bytes 
read)
[   11.971438] fsl_enetc 0000:00:00.0 gbe0: Link is Up - 10Mbps/Full - 
flow control off
[   11.979324] IPv6: ADDRCONF(NETDEV_CHANGE): gbe0: link becomes ready
[   12.995161] fsl_enetc 0000:00:00.0 gbe0: Link is Down
[   15.043470] fsl_enetc 0000:00:00.0 gbe0: Link is Up - 1Gbps/Full - 
flow control off

-michael

^ permalink raw reply	[flat|nested] 19+ messages in thread

* Re: [PATCH v3] driver core: Fix SYNC_STATE_ONLY device link implementation
  2020-05-25 19:04                 ` Michael Walle
@ 2020-05-25 21:24                   ` Saravana Kannan
  2020-05-25 21:38                     ` Michael Walle
  0 siblings, 1 reply; 19+ messages in thread
From: Saravana Kannan @ 2020-05-25 21:24 UTC (permalink / raw)
  To: Michael Walle; +Cc: stable, Android Kernel Team, LKML

On Mon, May 25, 2020 at 12:05 PM Michael Walle <michael@walle.cc> wrote:
>
> Am 2020-05-25 20:39, schrieb Saravana Kannan:
> > On Mon, May 25, 2020 at 4:31 AM Michael Walle <michael@walle.cc> wrote:
> >>
> >> Am 2020-05-23 00:47, schrieb Michael Walle:
> >> > Am 2020-05-23 00:21, schrieb Saravana Kannan:
> >> >> On Fri, May 22, 2020 at 11:41 AM Michael Walle <michael@walle.cc>
> >> >> wrote:
> >> >>>
> >> >>> Am Mon, 18 May 2020 23:30:00 -0700
> >> >>> schrieb Saravana Kannan <saravanak@google.com>:
> >> >>>
> >> >>> > When SYNC_STATE_ONLY support was added in commit 05ef983e0d65 ("driver
> >> >>> > core: Add device link support for SYNC_STATE_ONLY flag"),
> >> >>> > device_link_add() incorrectly skipped adding the new SYNC_STATE_ONLY
> >> >>> > device link to the supplier's and consumer's "device link" list.
> >> >>> >
> >> >>> > This causes multiple issues:
> >> >>> > - The device link is lost forever from driver core if the caller
> >> >>> >   didn't keep track of it (caller typically isn't expected to). This
> >> >>> > is a memory leak.
> >> >>> > - The device link is also never visible to any other code path after
> >> >>> >   device_link_add() returns.
> >> >>> >
> >> >>> > If we fix the "device link" list handling, that exposes a bunch of
> >> >>> > issues.
> >> >>> >
> >> >>> > 1. The device link "status" state management code rightfully doesn't
> >> >>> > handle the case where a DL_FLAG_MANAGED device link exists between a
> >> >>> > supplier and consumer, but the consumer manages to probe successfully
> >> >>> > before the supplier. The addition of DL_FLAG_SYNC_STATE_ONLY links
> >> >>> > break this assumption. This causes device_links_driver_bound() to
> >> >>> > throw a warning when this happens.
> >> >>> >
> >> >>> > Since DL_FLAG_SYNC_STATE_ONLY device links are mainly used for
> >> >>> > creating proxy device links for child device dependencies and aren't
> >> >>> > useful once the consumer device probes successfully, this patch just
> >> >>> > deletes DL_FLAG_SYNC_STATE_ONLY device links once its consumer device
> >> >>> > probes. This way, we avoid the warning, free up some memory and avoid
> >> >>> > complicating the device links "status" state management code.
> >> >>> >
> >> >>> > 2. Creating a DL_FLAG_STATELESS device link between two devices that
> >> >>> > already have a DL_FLAG_SYNC_STATE_ONLY device link will result in the
> >> >>> > DL_FLAG_STATELESS flag not getting set correctly. This patch also
> >> >>> > fixes this.
> >> >>> >
> >> >>> > Lastly, this patch also fixes minor whitespace issues.
> >> >>>
> >> >>> My board triggers the
> >> >>>   WARN_ON(link->status != DL_STATE_CONSUMER_PROBE);
> >> >>>
> >> >>> Full bootlog:
> >> > [..]
> >> >
> >> >> Thanks for the log and report. I haven't spent too much time thinking
> >> >> about this, but can you give this a shot?
> >> >> https://lore.kernel.org/lkml/20200520043626.181820-1-saravanak@google.com/
> >> >
> >> > I've already tried that, as this is already in linux-next. Doesn't fix
> >> > it,
> >> > though.
> >>
> >> btw. this only happens on linux-next (tested with next-20200522), not
> >> on
> >> 5.7-rc7 (which has the same two patches of yours)
> >
> > I wouldn't be surprised if the difference is due to
> > fw_devlink_pause/resume() calls in driver/of/property.c. It chops off
> > ~1s in boot time by changing the order in which device links are
> > created from DT. So, I think it's just masking the issue.
> >
> > On linux-next where you see the issue, can you get the logs with this
> > change:
> > +++ b/drivers/base/core.c
> > @@ -907,7 +907,10 @@ void device_links_driver_bound(struct device *dev)
> >                          */
> >                         device_link_drop_managed(link);
> >                 } else {
> > -                       WARN_ON(link->status !=
> > DL_STATE_CONSUMER_PROBE);
> > +                       WARN(link->status != DL_STATE_CONSUMER_PROBE,
> > +                               "sup:%s - con:%s f:%d s:%d\n",
> > +                               dev_name(supplier),
> > dev_name(link->consumer),
> > +                               link->flags, link->status);
> >                         WRITE_ONCE(link->status, DL_STATE_ACTIVE);
> >                 }
> >
> > My goal is to figure out the order in which the device links between
> > the supplier and consumers devices are created and how that's changing
> > the flag and status. Then I can come up with a fix.
>
> Here we go (hopefully, my mail client won't screw up the line wrapping):

Thanks for the logs!

Ok, that definitely gave me some more info.
1. It's happening only for this iommu which in some cases can create
device links before fw_devlink through the use of
BUS_NOTIFY_ADD_DEVICE.
2. The issue doesn't seem to be between STATELESS and SYNC_STATE_ONLY
flags (because STATELESS flag is not set).
3. There seems to be a MANAGED link created by arm-smmu.c before/after
the SYNC_STATE_ONLY link is created.

In which case, the SYNC_STATE_ONLY link is supposed to be a NOP, but
that doesn't seem to be the case for some reason.

Can you add these debug messages and give me the logs? Hopefully
this'll be my last log request. I tried reproducing this in hardware I
have, but I couldn't reproduce it.

--- a/drivers/base/core.c
+++ b/drivers/base/core.c
@@ -348,6 +348,10 @@ struct device_link *device_link_add(struct device
*consumer,
        if (flags & DL_FLAG_AUTOREMOVE_SUPPLIER)
                flags &= ~DL_FLAG_AUTOREMOVE_CONSUMER;

+       if (strstr(dev_name(supplier), "5000000.iommu")) {
+               dev_info(consumer, "Link attempted to %s 0x%x\n",
dev_name(supplier), flags);
+       }
+
        list_for_each_entry(link, &supplier->links.consumers, s_node) {
                if (link->consumer != consumer)
                        continue;
@@ -460,6 +464,10 @@ struct device_link *device_link_add(struct device
*consumer,
        dev_dbg(consumer, "Linked as a consumer to %s\n", dev_name(supplier));

 out:
+       if (strstr(dev_name(supplier), "5000000.iommu") && link) {
+               dev_info(consumer, "Link done to %s 0x%x %d\n",
dev_name(supplier), link->flags, link->status);
+       }
+
        device_pm_unlock();
        device_links_write_unlock();

Thanks,
Saravana

^ permalink raw reply	[flat|nested] 19+ messages in thread

* Re: [PATCH v3] driver core: Fix SYNC_STATE_ONLY device link implementation
  2020-05-25 21:24                   ` Saravana Kannan
@ 2020-05-25 21:38                     ` Michael Walle
       [not found]                       ` <20200526070518.107333-1-saravanak@google.com>
  0 siblings, 1 reply; 19+ messages in thread
From: Michael Walle @ 2020-05-25 21:38 UTC (permalink / raw)
  To: Saravana Kannan; +Cc: stable, Android Kernel Team, LKML

Am 2020-05-25 23:24, schrieb Saravana Kannan:
> On Mon, May 25, 2020 at 12:05 PM Michael Walle <michael@walle.cc> 
> wrote:
>> 
>> Am 2020-05-25 20:39, schrieb Saravana Kannan:
>> > On Mon, May 25, 2020 at 4:31 AM Michael Walle <michael@walle.cc> wrote:
>> >>
>> >> Am 2020-05-23 00:47, schrieb Michael Walle:
>> >> > Am 2020-05-23 00:21, schrieb Saravana Kannan:
>> >> >> On Fri, May 22, 2020 at 11:41 AM Michael Walle <michael@walle.cc>
>> >> >> wrote:
>> >> >>>
>> >> >>> Am Mon, 18 May 2020 23:30:00 -0700
>> >> >>> schrieb Saravana Kannan <saravanak@google.com>:
>> >> >>>
>> >> >>> > When SYNC_STATE_ONLY support was added in commit 05ef983e0d65 ("driver
>> >> >>> > core: Add device link support for SYNC_STATE_ONLY flag"),
>> >> >>> > device_link_add() incorrectly skipped adding the new SYNC_STATE_ONLY
>> >> >>> > device link to the supplier's and consumer's "device link" list.
>> >> >>> >
>> >> >>> > This causes multiple issues:
>> >> >>> > - The device link is lost forever from driver core if the caller
>> >> >>> >   didn't keep track of it (caller typically isn't expected to). This
>> >> >>> > is a memory leak.
>> >> >>> > - The device link is also never visible to any other code path after
>> >> >>> >   device_link_add() returns.
>> >> >>> >
>> >> >>> > If we fix the "device link" list handling, that exposes a bunch of
>> >> >>> > issues.
>> >> >>> >
>> >> >>> > 1. The device link "status" state management code rightfully doesn't
>> >> >>> > handle the case where a DL_FLAG_MANAGED device link exists between a
>> >> >>> > supplier and consumer, but the consumer manages to probe successfully
>> >> >>> > before the supplier. The addition of DL_FLAG_SYNC_STATE_ONLY links
>> >> >>> > break this assumption. This causes device_links_driver_bound() to
>> >> >>> > throw a warning when this happens.
>> >> >>> >
>> >> >>> > Since DL_FLAG_SYNC_STATE_ONLY device links are mainly used for
>> >> >>> > creating proxy device links for child device dependencies and aren't
>> >> >>> > useful once the consumer device probes successfully, this patch just
>> >> >>> > deletes DL_FLAG_SYNC_STATE_ONLY device links once its consumer device
>> >> >>> > probes. This way, we avoid the warning, free up some memory and avoid
>> >> >>> > complicating the device links "status" state management code.
>> >> >>> >
>> >> >>> > 2. Creating a DL_FLAG_STATELESS device link between two devices that
>> >> >>> > already have a DL_FLAG_SYNC_STATE_ONLY device link will result in the
>> >> >>> > DL_FLAG_STATELESS flag not getting set correctly. This patch also
>> >> >>> > fixes this.
>> >> >>> >
>> >> >>> > Lastly, this patch also fixes minor whitespace issues.
>> >> >>>
>> >> >>> My board triggers the
>> >> >>>   WARN_ON(link->status != DL_STATE_CONSUMER_PROBE);
>> >> >>>
>> >> >>> Full bootlog:
>> >> > [..]
>> >> >
>> >> >> Thanks for the log and report. I haven't spent too much time thinking
>> >> >> about this, but can you give this a shot?
>> >> >> https://lore.kernel.org/lkml/20200520043626.181820-1-saravanak@google.com/
>> >> >
>> >> > I've already tried that, as this is already in linux-next. Doesn't fix
>> >> > it,
>> >> > though.
>> >>
>> >> btw. this only happens on linux-next (tested with next-20200522), not
>> >> on
>> >> 5.7-rc7 (which has the same two patches of yours)
>> >
>> > I wouldn't be surprised if the difference is due to
>> > fw_devlink_pause/resume() calls in driver/of/property.c. It chops off
>> > ~1s in boot time by changing the order in which device links are
>> > created from DT. So, I think it's just masking the issue.
>> >
>> > On linux-next where you see the issue, can you get the logs with this
>> > change:
>> > +++ b/drivers/base/core.c
>> > @@ -907,7 +907,10 @@ void device_links_driver_bound(struct device *dev)
>> >                          */
>> >                         device_link_drop_managed(link);
>> >                 } else {
>> > -                       WARN_ON(link->status !=
>> > DL_STATE_CONSUMER_PROBE);
>> > +                       WARN(link->status != DL_STATE_CONSUMER_PROBE,
>> > +                               "sup:%s - con:%s f:%d s:%d\n",
>> > +                               dev_name(supplier),
>> > dev_name(link->consumer),
>> > +                               link->flags, link->status);
>> >                         WRITE_ONCE(link->status, DL_STATE_ACTIVE);
>> >                 }
>> >
>> > My goal is to figure out the order in which the device links between
>> > the supplier and consumers devices are created and how that's changing
>> > the flag and status. Then I can come up with a fix.
>> 
>> Here we go (hopefully, my mail client won't screw up the line 
>> wrapping):
> 
> Thanks for the logs!
> 
> Ok, that definitely gave me some more info.
> 1. It's happening only for this iommu which in some cases can create
> device links before fw_devlink through the use of
> BUS_NOTIFY_ADD_DEVICE.
> 2. The issue doesn't seem to be between STATELESS and SYNC_STATE_ONLY
> flags (because STATELESS flag is not set).
> 3. There seems to be a MANAGED link created by arm-smmu.c before/after
> the SYNC_STATE_ONLY link is created.
> 
> In which case, the SYNC_STATE_ONLY link is supposed to be a NOP, but
> that doesn't seem to be the case for some reason.
> 
> Can you add these debug messages and give me the logs? Hopefully
> this'll be my last log request. I tried reproducing this in hardware I
> have, but I couldn't reproduce it.

sure no problem:

[    0.000000] Booting Linux on physical CPU 0x0000000000 [0x410fd083]
[    0.000000] Linux version 
5.7.0-rc7-next-20200525-00039-gfb6df8136807-dirty (mw@apollo) 
(aarch64-linux-gnu-gcc (Debian 8.3.0-2) 8.3.0, GNU ld (GNU Binutils for 
Debian) 2.31.1) #816 SMP PREEMPT Mon May 25 23:34:22 CEST 2020
[    0.000000] Machine model: Kontron SMARC-sAL28 (Single PHY) on SMARC 
Eval 2.0 carrier
[    0.000000] efi: UEFI not found.
[    0.000000] cma: Reserved 32 MiB at 0x00000000f9c00000
[    0.000000] NUMA: No NUMA configuration found
[    0.000000] NUMA: Faking a node at [mem 
0x0000000080000000-0x00000020ffffffff]
[    0.000000] NUMA: NODE_DATA [mem 0x20ff7ff100-0x20ff800fff]
[    0.000000] Zone ranges:
[    0.000000]   DMA      [mem 0x0000000080000000-0x00000000bfffffff]
[    0.000000]   DMA32    [mem 0x00000000c0000000-0x00000000ffffffff]
[    0.000000]   Normal   [mem 0x0000000100000000-0x00000020ffffffff]
[    0.000000] Movable zone start for each node
[    0.000000] Early memory node ranges
[    0.000000]   node   0: [mem 0x0000000080000000-0x00000000fbdfffff]
[    0.000000]   node   0: [mem 0x0000002080000000-0x00000020ffffffff]
[    0.000000] Initmem setup node 0 [mem 
0x0000000080000000-0x00000020ffffffff]
[    0.000000] On node 0 totalpages: 1031680
[    0.000000]   DMA zone: 4096 pages used for memmap
[    0.000000]   DMA zone: 0 pages reserved
[    0.000000]   DMA zone: 262144 pages, LIFO batch:63
[    0.000000]   DMA32 zone: 3832 pages used for memmap
[    0.000000]   DMA32 zone: 245248 pages, LIFO batch:63
[    0.000000]   Normal zone: 8192 pages used for memmap
[    0.000000]   Normal zone: 524288 pages, LIFO batch:63
[    0.000000] percpu: Embedded 30 pages/cpu s82904 r8192 d31784 u122880
[    0.000000] pcpu-alloc: s82904 r8192 d31784 u122880 alloc=30*4096
[    0.000000] pcpu-alloc: [0] 0 [0] 1
[    0.000000] Detected PIPT I-cache on CPU0
[    0.000000] CPU features: detected: GIC system register CPU interface
[    0.000000] CPU features: detected: EL2 vector hardening
[    0.000000] ARM_SMCCC_ARCH_WORKAROUND_1 missing from firmware
[    0.000000] CPU features: detected: ARM errata 1165522, 1319367, or 
1530923
[    0.000000] Built 1 zonelists, mobility grouping on.  Total pages: 
1015560
[    0.000000] Policy zone: Normal
[    0.000000] Kernel command line: debug root=/dev/mmcblk1p2 rootwait
[    0.000000] Dentry cache hash table entries: 524288 (order: 10, 
4194304 bytes, linear)
[    0.000000] Inode-cache hash table entries: 262144 (order: 9, 2097152 
bytes, linear)
[    0.000000] mem auto-init: stack:off, heap alloc:off, heap free:off
[    0.000000] software IO TLB: mapped [mem 0xbbfff000-0xbffff000] 
(64MB)
[    0.000000] Memory: 3929700K/4126720K available (9596K kernel code, 
1116K rwdata, 3576K rodata, 3328K init, 400K bss, 164252K reserved, 
32768K cma-reserved)
[    0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=2, 
Nodes=1
[    0.000000] ftrace: allocating 32709 entries in 128 pages
[    0.000000] ftrace: allocated 128 pages with 1 groups
[    0.000000] rcu: Preemptible hierarchical RCU implementation.
[    0.000000] rcu:     RCU restricting CPUs from NR_CPUS=256 to 
nr_cpu_ids=2.
[    0.000000]  Trampoline variant of Tasks RCU enabled.
[    0.000000]  Rude variant of Tasks RCU enabled.
[    0.000000] rcu: RCU calculated value of scheduler-enlistment delay 
is 25 jiffies.
[    0.000000] rcu: Adjusting geometry for rcu_fanout_leaf=16, 
nr_cpu_ids=2
[    0.000000] NR_IRQS: 64, nr_irqs: 64, preallocated irqs: 0
[    0.000000] GICv3: GIC: Using split EOI/Deactivate mode
[    0.000000] GICv3: 256 SPIs implemented
[    0.000000] GICv3: 0 Extended SPIs implemented
[    0.000000] GICv3: Distributor has no Range Selector support
[    0.000000] GICv3: 16 PPIs implemented
[    0.000000] GICv3: CPU0: found redistributor 0 region 
0:0x0000000006040000
[    0.000000] ITS [mem 0x06020000-0x0603ffff]
[    0.000000] ITS@0x0000000006020000: allocated 65536 Devices 
@20fad80000 (flat, esz 8, psz 64K, shr 0)
[    0.000000] ITS: using cache flushing for cmd queue
[    0.000000] GICv3: using LPI property table @0x00000020fad30000
[    0.000000] GIC: using cache flushing for LPI property table
[    0.000000] GICv3: CPU0: using allocated LPI pending table 
@0x00000020fad40000
[    0.000000] random: get_random_bytes called from 
start_kernel+0x604/0x7cc with crng_init=0
[    0.000000] arch_timer: cp15 timer(s) running at 25.00MHz (phys).
[    0.000000] clocksource: arch_sys_counter: mask: 0xffffffffffffff 
max_cycles: 0x5c40939b5, max_idle_ns: 440795202646 ns
[    0.000002] sched_clock: 56 bits at 25MHz, resolution 40ns, wraps 
every 4398046511100ns
[    0.000106] Console: colour dummy device 80x25
[    0.000393] printk: console [tty0] enabled
[    0.000440] Calibrating delay loop (skipped), value calculated using 
timer frequency.. 50.00 BogoMIPS (lpj=100000)
[    0.000453] pid_max: default: 32768 minimum: 301
[    0.000500] LSM: Security Framework initializing
[    0.000554] Mount-cache hash table entries: 8192 (order: 4, 65536 
bytes, linear)
[    0.000585] Mountpoint-cache hash table entries: 8192 (order: 4, 
65536 bytes, linear)
[    0.001424] rcu: Hierarchical SRCU implementation.
[    0.001573] Platform MSI: gic-its@6020000 domain created
[    0.001642] PCI/MSI: /interrupt-controller@6000000/gic-its@6020000 
domain created
[    0.001844] EFI services will not be available.
[    0.001943] smp: Bringing up secondary CPUs ...
[    0.002216] Detected PIPT I-cache on CPU1
[    0.002236] GICv3: CPU1: found redistributor 1 region 
0:0x0000000006060000
[    0.002243] GICv3: CPU1: using allocated LPI pending table 
@0x00000020fad50000
[    0.002265] CPU1: Booted secondary processor 0x0000000001 
[0x410fd083]
[    0.002316] smp: Brought up 1 node, 2 CPUs
[    0.002342] SMP: Total of 2 processors activated.
[    0.002350] CPU features: detected: 32-bit EL0 Support
[    0.002356] CPU features: detected: CRC32 instructions
[    0.010374] CPU: All CPU(s) started at EL2
[    0.010394] alternatives: patching kernel code
[    0.010997] devtmpfs: initialized
[    0.012905] KASLR disabled due to lack of seed
[    0.013057] clocksource: jiffies: mask: 0xffffffff max_cycles: 
0xffffffff, max_idle_ns: 7645041785100000 ns
[    0.013073] futex hash table entries: 512 (order: 3, 32768 bytes, 
linear)
[    0.013842] thermal_sys: Registered thermal governor 'step_wise'
[    0.013967] DMI not present or invalid.
[    0.014149] NET: Registered protocol family 16
[    0.015044] DMA: preallocated 4096 KiB GFP_KERNEL pool for atomic 
allocations
[    0.015756] DMA: preallocated 4096 KiB GFP_KERNEL|GFP_DMA pool for 
atomic allocations
[    0.016483] DMA: preallocated 4096 KiB GFP_KERNEL|GFP_DMA32 pool for 
atomic allocations
[    0.016519] audit: initializing netlink subsys (disabled)
[    0.016641] audit: type=2000 audit(0.016:1): state=initialized 
audit_enabled=0 res=1
[    0.016942] cpuidle: using governor menu
[    0.017011] hw-breakpoint: found 6 breakpoint and 4 watchpoint 
registers.
[    0.017040] ASID allocator initialised with 65536 entries
[    0.017304] Serial: AMBA PL011 UART driver
[    0.022963] platform 2140000.mmc: Link attempted to 5000000.iommu 
0xc0
[    0.022977] platform 2140000.mmc: Link done to 5000000.iommu 0xc0 0
[    0.023000] platform 2150000.mmc: Link attempted to 5000000.iommu 
0xc0
[    0.023009] platform 2150000.mmc: Link done to 5000000.iommu 0xc0 0
[    0.023072] platform 22c0000.dma-controller: Link attempted to 
5000000.iommu 0xc0
[    0.023082] platform 22c0000.dma-controller: Link done to 
5000000.iommu 0xc0 0
[    0.023123] platform 3100000.usb: Link attempted to 5000000.iommu 
0xc0
[    0.023132] platform 3100000.usb: Link done to 5000000.iommu 0xc0 0
[    0.023148] platform 3110000.usb: Link attempted to 5000000.iommu 
0xc0
[    0.023156] platform 3110000.usb: Link done to 5000000.iommu 0xc0 0
[    0.023181] platform 3400000.pcie: Link attempted to 5000000.iommu 
0xc0
[    0.023190] platform 3400000.pcie: Link done to 5000000.iommu 0xc0 0
[    0.023212] platform 3500000.pcie: Link attempted to 5000000.iommu 
0xc0
[    0.023221] platform 3500000.pcie: Link done to 5000000.iommu 0xc0 0
[    0.023238] platform 8380000.dma-controller: Link attempted to 
5000000.iommu 0xc0
[    0.023248] platform 8380000.dma-controller: Link done to 
5000000.iommu 0xc0 0
[    0.023347] platform 1f0000000.pcie: Link attempted to 5000000.iommu 
0xc0
[    0.023355] platform 1f0000000.pcie: Link done to 5000000.iommu 0xc0 
0
[    0.023398] platform f080000.display: Link attempted to 5000000.iommu 
0xc0
[    0.023406] platform f080000.display: Link done to 5000000.iommu 0xc0 
0
[    0.023657] Machine: Kontron SMARC-sAL28 (Single PHY) on SMARC Eval 
2.0 carrier
[    0.023666] SoC family: QorIQ LS1028A
[    0.023672] SoC ID: svr:0x870b0110, Revision: 1.0
[    0.026698] HugeTLB registered 1.00 GiB page size, pre-allocated 0 
pages
[    0.026713] HugeTLB registered 32.0 MiB page size, pre-allocated 0 
pages
[    0.026721] HugeTLB registered 2.00 MiB page size, pre-allocated 0 
pages
[    0.026729] HugeTLB registered 64.0 KiB page size, pre-allocated 0 
pages
[    0.027791] cryptd: max_cpu_qlen set to 1000
[    0.029257] iommu: Default domain type: Translated
[    0.029325] vgaarb: loaded
[    0.029467] SCSI subsystem initialized
[    0.029554] usbcore: registered new interface driver usbfs
[    0.029580] usbcore: registered new interface driver hub
[    0.029612] usbcore: registered new device driver usb
[    0.029748] imx-i2c 2000000.i2c: can't get pinctrl, bus recovery not 
supported
[    0.029925] i2c i2c-0: IMX I2C adapter registered
[    0.029998] imx-i2c 2030000.i2c: can't get pinctrl, bus recovery not 
supported
[    0.030068] i2c i2c-1: IMX I2C adapter registered
[    0.030142] imx-i2c 2040000.i2c: can't get pinctrl, bus recovery not 
supported
[    0.030240] i2c i2c-2: IMX I2C adapter registered
[    0.030319] pps_core: LinuxPPS API ver. 1 registered
[    0.030327] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 
Rodolfo Giometti <giometti@linux.it>
[    0.030341] PTP clock support registered
[    0.030562] Advanced Linux Sound Architecture Driver Initialized.
[    0.030909] clocksource: Switched to clocksource arch_sys_counter
[    0.067146] VFS: Disk quotas dquot_6.6.0
[    0.067188] VFS: Dquot-cache hash table entries: 512 (order 0, 4096 
bytes)
[    0.069879] NET: Registered protocol family 2
[    0.070111] tcp_listen_portaddr_hash hash table entries: 2048 (order: 
3, 32768 bytes, linear)
[    0.070136] TCP established hash table entries: 32768 (order: 6, 
262144 bytes, linear)
[    0.070229] TCP bind hash table entries: 32768 (order: 7, 524288 
bytes, linear)
[    0.070529] TCP: Hash tables configured (established 32768 bind 
32768)
[    0.070628] UDP hash table entries: 2048 (order: 4, 65536 bytes, 
linear)
[    0.070655] UDP-Lite hash table entries: 2048 (order: 4, 65536 bytes, 
linear)
[    0.070740] NET: Registered protocol family 1
[    0.070760] PCI: CLS 0 bytes, default 64
[    0.071123] hw perfevents: enabled with armv8_cortex_a72 PMU driver, 
7 counters available
[    0.071580] Initialise system trusted keyrings
[    0.071703] workingset: timestamp_bits=44 max_order=20 bucket_order=0
[    0.105131] Key type asymmetric registered
[    0.105147] Asymmetric key parser 'x509' registered
[    0.105173] Block layer SCSI generic (bsg) driver version 0.4 loaded 
(major 248)
[    0.105182] io scheduler mq-deadline registered
[    0.105189] io scheduler kyber registered
[    0.105719] pci-host-generic 1f0000000.pcie: host bridge 
/soc/pcie@1f0000000 ranges:
[    0.105749] pci-host-generic 1f0000000.pcie:      MEM 
0x01f8000000..0x01f815ffff -> 0x0000000000
[    0.105769] pci-host-generic 1f0000000.pcie:      MEM 
0x01f8160000..0x01f81cffff -> 0x0000000000
[    0.105789] pci-host-generic 1f0000000.pcie:      MEM 
0x01f81d0000..0x01f81effff -> 0x0000000000
[    0.105808] pci-host-generic 1f0000000.pcie:      MEM 
0x01f81f0000..0x01f820ffff -> 0x0000000000
[    0.105826] pci-host-generic 1f0000000.pcie:      MEM 
0x01f8210000..0x01f822ffff -> 0x0000000000
[    0.105845] pci-host-generic 1f0000000.pcie:      MEM 
0x01f8230000..0x01f824ffff -> 0x0000000000
[    0.105859] pci-host-generic 1f0000000.pcie:      MEM 
0x01fc000000..0x01fc3fffff -> 0x0000000000
[    0.105910] pci-host-generic 1f0000000.pcie: ECAM at [mem 
0x1f0000000-0x1f00fffff] for [bus 00]
[    0.105965] pci-host-generic 1f0000000.pcie: PCI host bridge to bus 
0000:00
[    0.105975] pci_bus 0000:00: root bus resource [bus 00]
[    0.105985] pci_bus 0000:00: root bus resource [mem 
0x1f8000000-0x1f815ffff] (bus address [0x00000000-0x0015ffff])
[    0.105996] pci_bus 0000:00: root bus resource [mem 
0x1f8160000-0x1f81cffff pref] (bus address [0x00000000-0x0006ffff])
[    0.106007] pci_bus 0000:00: root bus resource [mem 
0x1f81d0000-0x1f81effff] (bus address [0x00000000-0x0001ffff])
[    0.106018] pci_bus 0000:00: root bus resource [mem 
0x1f81f0000-0x1f820ffff pref] (bus address [0x00000000-0x0001ffff])
[    0.106028] pci_bus 0000:00: root bus resource [mem 
0x1f8210000-0x1f822ffff] (bus address [0x00000000-0x0001ffff])
[    0.106039] pci_bus 0000:00: root bus resource [mem 
0x1f8230000-0x1f824ffff pref] (bus address [0x00000000-0x0001ffff])
[    0.106050] pci_bus 0000:00: root bus resource [mem 
0x1fc000000-0x1fc3fffff] (bus address [0x00000000-0x003fffff])
[    0.106072] pci 0000:00:00.0: [1957:e100] type 00 class 0x020001
[    0.106113] pci 0000:00:00.0: BAR 0: [mem 0x1f8000000-0x1f803ffff 
64bit] (from Enhanced Allocation, properties 0x0)
[    0.106125] pci 0000:00:00.0: BAR 2: [mem 0x1f8160000-0x1f816ffff 
64bit pref] (from Enhanced Allocation, properties 0x1)
[    0.106138] pci 0000:00:00.0: VF BAR 0: [mem 0x1f81d0000-0x1f81dffff 
64bit] (from Enhanced Allocation, properties 0x4)
[    0.106150] pci 0000:00:00.0: VF BAR 2: [mem 0x1f81f0000-0x1f81fffff 
64bit pref] (from Enhanced Allocation, properties 0x3)
[    0.106174] pci 0000:00:00.0: PME# supported from D0 D3hot
[    0.106189] pci 0000:00:00.0: VF(n) BAR0 space: [mem 
0x1f81d0000-0x1f81effff 64bit] (contains BAR0 for 2 VFs)
[    0.106200] pci 0000:00:00.0: VF(n) BAR2 space: [mem 
0x1f81f0000-0x1f820ffff 64bit pref] (contains BAR2 for 2 VFs)
[    0.106314] pci 0000:00:00.1: [1957:e100] type 00 class 0x020001
[    0.106345] pci 0000:00:00.1: BAR 0: [mem 0x1f8040000-0x1f807ffff 
64bit] (from Enhanced Allocation, properties 0x0)
[    0.106357] pci 0000:00:00.1: BAR 2: [mem 0x1f8170000-0x1f817ffff 
64bit pref] (from Enhanced Allocation, properties 0x1)
[    0.106369] pci 0000:00:00.1: VF BAR 0: [mem 0x1f8210000-0x1f821ffff 
64bit] (from Enhanced Allocation, properties 0x4)
[    0.106381] pci 0000:00:00.1: VF BAR 2: [mem 0x1f8230000-0x1f823ffff 
64bit pref] (from Enhanced Allocation, properties 0x3)
[    0.106404] pci 0000:00:00.1: PME# supported from D0 D3hot
[    0.106418] pci 0000:00:00.1: VF(n) BAR0 space: [mem 
0x1f8210000-0x1f822ffff 64bit] (contains BAR0 for 2 VFs)
[    0.106429] pci 0000:00:00.1: VF(n) BAR2 space: [mem 
0x1f8230000-0x1f824ffff 64bit pref] (contains BAR2 for 2 VFs)
[    0.106524] pci 0000:00:00.2: [1957:e100] type 00 class 0x020001
[    0.106554] pci 0000:00:00.2: BAR 0: [mem 0x1f8080000-0x1f80bffff 
64bit] (from Enhanced Allocation, properties 0x0)
[    0.106566] pci 0000:00:00.2: BAR 2: [mem 0x1f8180000-0x1f818ffff 
64bit pref] (from Enhanced Allocation, properties 0x1)
[    0.106587] pci 0000:00:00.2: PME# supported from D0 D3hot
[    0.106672] pci 0000:00:00.3: [1957:ee01] type 00 class 0x088001
[    0.106705] pci 0000:00:00.3: BAR 0: [mem 0x1f8100000-0x1f811ffff 
64bit] (from Enhanced Allocation, properties 0x0)
[    0.106717] pci 0000:00:00.3: BAR 2: [mem 0x1f8190000-0x1f819ffff 
64bit pref] (from Enhanced Allocation, properties 0x1)
[    0.106741] pci 0000:00:00.3: PME# supported from D0 D3hot
[    0.106826] pci 0000:00:00.4: [1957:ee02] type 00 class 0x088001
[    0.106856] pci 0000:00:00.4: BAR 0: [mem 0x1f8120000-0x1f813ffff 
64bit] (from Enhanced Allocation, properties 0x0)
[    0.106868] pci 0000:00:00.4: BAR 2: [mem 0x1f81a0000-0x1f81affff 
64bit pref] (from Enhanced Allocation, properties 0x1)
[    0.106889] pci 0000:00:00.4: PME# supported from D0 D3hot
[    0.107006] pci 0000:00:00.5: [1957:eef0] type 00 class 0x020801
[    0.107037] pci 0000:00:00.5: BAR 0: [mem 0x1f8140000-0x1f815ffff 
64bit] (from Enhanced Allocation, properties 0x0)
[    0.107049] pci 0000:00:00.5: BAR 2: [mem 0x1f81b0000-0x1f81bffff 
64bit pref] (from Enhanced Allocation, properties 0x1)
[    0.107061] pci 0000:00:00.5: BAR 4: [mem 0x1fc000000-0x1fc3fffff 
64bit] (from Enhanced Allocation, properties 0x0)
[    0.107082] pci 0000:00:00.5: PME# supported from D0 D3hot
[    0.107172] pci 0000:00:00.6: [1957:e100] type 00 class 0x020001
[    0.107202] pci 0000:00:00.6: BAR 0: [mem 0x1f80c0000-0x1f80fffff 
64bit] (from Enhanced Allocation, properties 0x0)
[    0.107214] pci 0000:00:00.6: BAR 2: [mem 0x1f81c0000-0x1f81cffff 
64bit pref] (from Enhanced Allocation, properties 0x1)
[    0.107235] pci 0000:00:00.6: PME# supported from D0 D3hot
[    0.107991] pci 0000:00:1f.0: [1957:e001] type 00 class 0x080700
[    0.108036] OF: /soc/pcie@1f0000000: no msi-map translation for rid 
0xf8 on (null)
[    0.108347] layerscape-pcie 3400000.pcie: host bridge 
/soc/pcie@3400000 ranges:
[    0.108373] layerscape-pcie 3400000.pcie:       IO 
0x8000010000..0x800001ffff -> 0x0000000000
[    0.108390] layerscape-pcie 3400000.pcie:      MEM 
0x8040000000..0x807fffffff -> 0x0040000000
[    0.108476] layerscape-pcie 3400000.pcie: PCI host bridge to bus 
0001:00
[    0.108485] pci_bus 0001:00: root bus resource [bus 00-ff]
[    0.108493] pci_bus 0001:00: root bus resource [io  0x0000-0xffff]
[    0.108502] pci_bus 0001:00: root bus resource [mem 
0x8040000000-0x807fffffff] (bus address [0x40000000-0x7fffffff])
[    0.108523] pci 0001:00:00.0: [1957:82c1] type 01 class 0x060400
[    0.108583] pci 0001:00:00.0: supports D1 D2
[    0.108590] pci 0001:00:00.0: PME# supported from D0 D1 D2 D3hot
[    0.110007] pci_bus 0001:01: busn_res: [bus 01-ff] end is updated to 
01
[    0.110020] pci 0001:00:00.0: PCI bridge to [bus 01]
[    0.110111] layerscape-pcie 3500000.pcie: host bridge 
/soc/pcie@3500000 ranges:
[    0.110135] layerscape-pcie 3500000.pcie:       IO 
0x8800010000..0x880001ffff -> 0x0000000000
[    0.110151] layerscape-pcie 3500000.pcie:      MEM 
0x8840000000..0x887fffffff -> 0x0040000000
[    0.110229] layerscape-pcie 3500000.pcie: PCI host bridge to bus 
0002:00
[    0.110239] pci_bus 0002:00: root bus resource [bus 00-ff]
[    0.110248] pci_bus 0002:00: root bus resource [io  0x10000-0x1ffff] 
(bus address [0x0000-0xffff])
[    0.110259] pci_bus 0002:00: root bus resource [mem 
0x8840000000-0x887fffffff] (bus address [0x40000000-0x7fffffff])
[    0.110279] pci 0002:00:00.0: [1957:82c1] type 01 class 0x060400
[    0.110337] pci 0002:00:00.0: supports D1 D2
[    0.110344] pci 0002:00:00.0: PME# supported from D0 D1 D2 D3hot
[    0.111771] pci_bus 0002:01: busn_res: [bus 01-ff] end is updated to 
01
[    0.111783] pci 0002:00:00.0: PCI bridge to [bus 01]
[    0.112057] IPMI message handler: version 39.2
[    0.112083] ipmi device interface
[    0.112109] ipmi_si: IPMI System Interface driver
[    0.112228] ipmi_si: Unable to find any System Interface(s)
[    0.113662] Serial: 8250/16550 driver, 4 ports, IRQ sharing enabled
[    0.114356] 21c0500.serial: ttyS0 at MMIO 0x21c0500 (irq = 16, 
base_baud = 12500000) is a 16550A
[    1.829114] printk: console [ttyS0] enabled
[    1.833561] 21c0600.serial: ttyS1 at MMIO 0x21c0600 (irq = 16, 
base_baud = 12500000) is a 16550A
[    1.842671] 2270000.serial: ttyLP2 at MMIO 0x2270000 (irq = 17, 
base_baud = 12500000) is a FSL_LPUART
[    1.852732] arm-smmu 5000000.iommu: probing hardware configuration...
[    1.859220] arm-smmu 5000000.iommu: SMMUv2 with:
[    1.863864] arm-smmu 5000000.iommu:  stage 1 translation
[    1.869208] arm-smmu 5000000.iommu:  stage 2 translation
[    1.874546] arm-smmu 5000000.iommu:  nested translation
[    1.879796] arm-smmu 5000000.iommu:  stream matching with 128 
register groups
[    1.886965] arm-smmu 5000000.iommu:  64 context banks (0 stage-2 
only)
[    1.893528] arm-smmu 5000000.iommu:  Supported page sizes: 0x61311000
[    1.899998] arm-smmu 5000000.iommu:  Stage-1: 48-bit VA -> 48-bit IPA
[    1.906465] arm-smmu 5000000.iommu:  Stage-2: 48-bit IPA -> 48-bit PA
[    1.913437] at24 0-0050: supply vcc not found, using dummy regulator
[    1.920610] at24 0-0050: 4096 byte 24c32 EEPROM, writable, 32 
bytes/write
[    1.927482] at24 1-0057: supply vcc not found, using dummy regulator
[    1.934628] at24 1-0057: 8192 byte 24c64 EEPROM, writable, 32 
bytes/write
[    1.941497] at24 2-0050: supply vcc not found, using dummy regulator
[    1.948627] at24 2-0050: 4096 byte 24c32 EEPROM, writable, 32 
bytes/write
[    1.956186] sl28cpld 0-004a: successfully probed. CPLD version 18
[    1.963442] gpio_sl28cpld sl28cpld-gpio: registered IRQ 108
[    1.974650] gpio_sl28cpld sl28cpld-gpio.0: registered IRQ 108
[    1.986259] irq_sl28cpld sl28cpld-intc: registered IRQ 108
[    1.991868] mpt3sas version 34.100.00.00 loaded
[    1.997205] header.nph=2
[    1.999759] sfdp_size=288
[    2.002520] spi-nor spi1.0: mx25u3235f (4096 Kbytes)
[    2.011867] header.nph=0
[    2.014411] sfdp_size=192
[    2.017084] spi-nor spi0.0: w25q32dw (4096 Kbytes)
[    2.023388] 10 fixed-partitions partitions found on MTD device 
20c0000.spi
[    2.030304] Creating 10 MTD partitions on "20c0000.spi":
[    2.035651] 0x000000000000-0x000000010000 : "rcw"
[    2.047220] 0x000000010000-0x000000100000 : "failsafe bootloader"
[    2.063208] 0x000000100000-0x000000140000 : "failsafe DP firmware"
[    2.071251] 0x000000140000-0x0000001e0000 : "failsafe trusted 
firmware"
[    2.079232] 0x0000001e0000-0x000000200000 : "reserved"
[    2.087241] 0x000000200000-0x000000210000 : "configuration store"
[    2.095230] 0x000000210000-0x000000300000 : "bootloader"
[    2.103241] 0x000000300000-0x000000340000 : "DP firmware"
[    2.111231] 0x000000340000-0x0000003e0000 : "trusted firmware"
[    2.119237] 0x0000003e0000-0x000000400000 : "bootloader environment"
[    2.127850] libphy: Fixed MDIO Bus: probed
[    2.132127] mscc_felix 0000:00:00.5: Link attempted to 5000000.iommu 
0x54
[    2.138951] mscc_felix 0000:00:00.5: Link done to 5000000.iommu 0x54 
2
[    2.145540] mscc_felix 0000:00:00.5: Adding to iommu group 0
[    2.151355] mscc_felix 0000:00:00.5: device is disabled, skipping
[    2.157513] fsl_enetc 0000:00:00.0: Link attempted to 5000000.iommu 
0x54
[    2.164251] fsl_enetc 0000:00:00.0: Link done to 5000000.iommu 0x54 2
[    2.170741] fsl_enetc 0000:00:00.0: Adding to iommu group 1
[    2.282925] fsl_enetc 0000:00:00.0: enabling device (0400 -> 0402)
[    2.289171] fsl_enetc 0000:00:00.0: no MAC address specified for SI1, 
using 66:04:52:2b:95:04
[    2.297738] fsl_enetc 0000:00:00.0: no MAC address specified for SI2, 
using ce:b6:68:6e:fe:21
[    2.306652] libphy: Freescale ENETC MDIO Bus: probed
[    2.313225] fsl_enetc 0000:00:00.1: Link attempted to 5000000.iommu 
0x54
[    2.319982] fsl_enetc 0000:00:00.1: Link done to 5000000.iommu 0x54 2
[    2.326486] fsl_enetc 0000:00:00.1: Adding to iommu group 2
[    2.332170] fsl_enetc 0000:00:00.1: device is disabled, skipping
[    2.338224] fsl_enetc 0000:00:00.2: Link attempted to 5000000.iommu 
0x54
[    2.344957] fsl_enetc 0000:00:00.2: Link done to 5000000.iommu 0x54 2
[    2.351448] fsl_enetc 0000:00:00.2: Adding to iommu group 3
[    2.357120] fsl_enetc 0000:00:00.2: device is disabled, skipping
[    2.363170] fsl_enetc 0000:00:00.6: Link attempted to 5000000.iommu 
0x54
[    2.369904] fsl_enetc 0000:00:00.6: Link done to 5000000.iommu 0x54 2
[    2.376394] fsl_enetc 0000:00:00.6: Adding to iommu group 4
[    2.382065] fsl_enetc 0000:00:00.6: device is disabled, skipping
[    2.388147] fsl_enetc_mdio 0000:00:00.3: Link attempted to 
5000000.iommu 0x54
[    2.395318] fsl_enetc_mdio 0000:00:00.3: Link done to 5000000.iommu 
0x54 2
[    2.402243] fsl_enetc_mdio 0000:00:00.3: Adding to iommu group 5
[    2.514920] fsl_enetc_mdio 0000:00:00.3: enabling device (0400 -> 
0402)
[    2.521748] libphy: FSL PCIe IE Central MDIO Bus: probed
[    2.527121] igb: Intel(R) Gigabit Ethernet Network Driver - version 
5.6.0-k
[    2.534115] igb: Copyright (c) 2007-2014 Intel Corporation.
[    2.539802] dwc3 3100000.usb: Link attempted to 5000000.iommu 0x54
[    2.546013] dwc3 3100000.usb: Link done to 5000000.iommu 0x44 1
[    2.551971] dwc3 3100000.usb: Adding to iommu group 6
[    2.557322] ------------[ cut here ]------------
[    2.561963] sup:5000000.iommu - con:3100000.usb f:68 s:1
[    2.567323] WARNING: CPU: 0 PID: 1 at drivers/base/core.c:923 
device_links_driver_bound+0x1ec/0x230
[    2.576404] Modules linked in:
[    2.579467] CPU: 0 PID: 1 Comm: swapper/0 Not tainted 
5.7.0-rc7-next-20200525-00039-gfb6df8136807-dirty #816
[    2.589332] Hardware name: Kontron SMARC-sAL28 (Single PHY) on SMARC 
Eval 2.0 carrier (DT)
[    2.597629] pstate: 60000005 (nZCv daif -PAN -UAO BTYPE=--)
[    2.603220] pc : device_links_driver_bound+0x1ec/0x230
[    2.608375] lr : device_links_driver_bound+0x1ec/0x230
[    2.613527] sp : ffff8000111dbb70
[    2.616847] x29: ffff8000111dbb70 x28: ffff00207a421c10
[    2.622177] x27: ffff00207a420c90 x26: ffff800010be8100
[    2.627506] x25: 0000000000000003 x24: ffff00207a420cb0
[    2.632834] x23: ffff800011039948 x22: ffff8000111dbbd8
[    2.638164] x21: ffff00207a420c10 x20: ffff8000110d2d80
[    2.643492] x19: ffff00207a401100 x18: 0000000000000010
[    2.648820] x17: ffffffffffff3f00 x16: 0000000000007fff
[    2.654148] x15: ffffffffffffffff x14: 0720072007200720
[    2.659476] x13: 0720072007200720 x12: 0720072007200720
[    2.664806] x11: 0720072007200720 x10: 0720072007200720
[    2.670134] x9 : ffff800010091f64 x8 : 072007380736073a
[    2.675463] x7 : 000000000000014e x6 : ffff00207ac21f00
[    2.680791] x5 : 0000000000000000 x4 : 0000000000000000
[    2.686119] x3 : 00000000ffffffff x2 : ffff80001105b6c8
[    2.691448] x1 : 1ab261fc7f167400 x0 : 0000000000000000
[    2.696777] Call trace:
[    2.699228]  device_links_driver_bound+0x1ec/0x230
[    2.704034]  driver_bound+0x70/0xc0
[    2.707530]  really_probe+0x110/0x318
[    2.711202]  driver_probe_device+0x40/0x90
[    2.715309]  device_driver_attach+0x7c/0x88
[    2.719504]  __driver_attach+0x60/0xe8
[    2.723262]  bus_for_each_dev+0x7c/0xd0
[    2.727108]  driver_attach+0x2c/0x38
[    2.730692]  bus_add_driver+0x194/0x1f8
[    2.734538]  driver_register+0x6c/0x128
[    2.738384]  __platform_driver_register+0x50/0x60
[    2.743104]  dwc3_driver_init+0x24/0x30
[    2.746951]  do_one_initcall+0x54/0x298
[    2.750798]  kernel_init_freeable+0x1ec/0x268
[    2.755169]  kernel_init+0x1c/0x118
[    2.758665]  ret_from_fork+0x10/0x1c
[    2.762251] ---[ end trace 66805623080b2741 ]---
[    2.766934] dwc3 3110000.usb: Link attempted to 5000000.iommu 0x54
[    2.773145] dwc3 3110000.usb: Link done to 5000000.iommu 0x44 1
[    2.779109] dwc3 3110000.usb: Adding to iommu group 7
[    2.784414] ------------[ cut here ]------------
[    2.789055] sup:5000000.iommu - con:3110000.usb f:68 s:1
[    2.794403] WARNING: CPU: 0 PID: 1 at drivers/base/core.c:923 
device_links_driver_bound+0x1ec/0x230
[    2.803483] Modules linked in:
[    2.806545] CPU: 0 PID: 1 Comm: swapper/0 Tainted: G        W         
5.7.0-rc7-next-20200525-00039-gfb6df8136807-dirty #816
[    2.817805] Hardware name: Kontron SMARC-sAL28 (Single PHY) on SMARC 
Eval 2.0 carrier (DT)
[    2.826101] pstate: 60000005 (nZCv daif -PAN -UAO BTYPE=--)
[    2.831691] pc : device_links_driver_bound+0x1ec/0x230
[    2.836845] lr : device_links_driver_bound+0x1ec/0x230
[    2.841999] sp : ffff8000111dbb70
[    2.845320] x29: ffff8000111dbb70 x28: ffff00207a421c10
[    2.850648] x27: ffff00207a421090 x26: ffff800010be8100
[    2.855977] x25: 0000000000000003 x24: ffff00207a4210b0
[    2.861306] x23: ffff800011039948 x22: ffff8000111dbbd8
[    2.866634] x21: ffff00207a421010 x20: ffff8000110d2d80
[    2.871962] x19: ffff00207a401180 x18: 0000000000000010
[    2.877291] x17: ffffffffffff3f00 x16: 0000000000007fff
[    2.882619] x15: ffffffffffffffff x14: 0720072007200720
[    2.887947] x13: 0720072007200720 x12: 0720072007200720
[    2.893275] x11: 0720072007200720 x10: 0720072007200720
[    2.898603] x9 : ffff800010091f64 x8 : 072007380736073a
[    2.903931] x7 : 000000000000017c x6 : ffff00207ac21f00
[    2.909260] x5 : 0000000000000000 x4 : 0000000000000000
[    2.914589] x3 : 00000000ffffffff x2 : ffff80001105b6c8
[    2.919918] x1 : 1ab261fc7f167400 x0 : 0000000000000000
[    2.925246] Call trace:
[    2.927696]  device_links_driver_bound+0x1ec/0x230
[    2.932501]  driver_bound+0x70/0xc0
[    2.935998]  really_probe+0x110/0x318
[    2.939669]  driver_probe_device+0x40/0x90
[    2.943777]  device_driver_attach+0x7c/0x88
[    2.947971]  __driver_attach+0x60/0xe8
[    2.951730]  bus_for_each_dev+0x7c/0xd0
[    2.955576]  driver_attach+0x2c/0x38
[    2.959160]  bus_add_driver+0x194/0x1f8
[    2.963006]  driver_register+0x6c/0x128
[    2.966852]  __platform_driver_register+0x50/0x60
[    2.971570]  dwc3_driver_init+0x24/0x30
[    2.975415]  do_one_initcall+0x54/0x298
[    2.979262]  kernel_init_freeable+0x1ec/0x268
[    2.983631]  kernel_init+0x1c/0x118
[    2.987128]  ret_from_fork+0x10/0x1c
[    2.990711] ---[ end trace 66805623080b2742 ]---
[    2.995547] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) 
Driver
[    3.002107] ehci-pci: EHCI PCI platform driver
[    3.006755] xhci-hcd xhci-hcd.0.auto: xHCI Host Controller
[    3.012277] xhci-hcd xhci-hcd.0.auto: new USB bus registered, 
assigned bus number 1
[    3.020107] xhci-hcd xhci-hcd.0.auto: hcc params 0x0220f66d hci 
version 0x100 quirks 0x0000000002010010
[    3.029566] xhci-hcd xhci-hcd.0.auto: irq 21, io mem 0x03100000
[    3.035880] hub 1-0:1.0: USB hub found
[    3.039664] hub 1-0:1.0: 1 port detected
[    3.043707] xhci-hcd xhci-hcd.0.auto: xHCI Host Controller
[    3.049223] xhci-hcd xhci-hcd.0.auto: new USB bus registered, 
assigned bus number 2
[    3.056919] xhci-hcd xhci-hcd.0.auto: Host supports USB 3.0 
SuperSpeed
[    3.063516] usb usb2: We don't know the algorithms for LPM for this 
host, disabling LPM.
[    3.071852] hub 2-0:1.0: USB hub found
[    3.075632] hub 2-0:1.0: 1 port detected
[    3.079706] xhci-hcd xhci-hcd.1.auto: xHCI Host Controller
[    3.085229] xhci-hcd xhci-hcd.1.auto: new USB bus registered, 
assigned bus number 3
[    3.093068] xhci-hcd xhci-hcd.1.auto: hcc params 0x0220f66d hci 
version 0x100 quirks 0x0000000002010010
[    3.102528] xhci-hcd xhci-hcd.1.auto: irq 22, io mem 0x03110000
[    3.108793] hub 3-0:1.0: USB hub found
[    3.112575] hub 3-0:1.0: 1 port detected
[    3.116614] xhci-hcd xhci-hcd.1.auto: xHCI Host Controller
[    3.122130] xhci-hcd xhci-hcd.1.auto: new USB bus registered, 
assigned bus number 4
[    3.129825] xhci-hcd xhci-hcd.1.auto: Host supports USB 3.0 
SuperSpeed
[    3.136418] usb usb4: We don't know the algorithms for LPM for this 
host, disabling LPM.
[    3.144757] hub 4-0:1.0: USB hub found
[    3.148618] hub 4-0:1.0: 1 port detected
[    3.152749] usbcore: registered new interface driver usb-storage
[    3.158957] input: buttons1 as 
/devices/platform/buttons1/input/input0
[    3.166848] rtc-rv8803 0-0032: Voltage low, temperature compensation 
stopped.
[    3.174018] rtc-rv8803 0-0032: Voltage low, data loss detected.
[    3.181022] rtc-rv8803 0-0032: Voltage low, data is invalid.
[    3.186864] rtc-rv8803 0-0032: registered as rtc0
[    3.192191] rtc-rv8803 0-0032: Voltage low, data is invalid.
[    3.197879] rtc-rv8803 0-0032: hctosys: unable to read the hardware 
clock
[    3.204782] i2c /dev entries driver
[    3.214327] sp805-wdt c000000.watchdog: registration successful
[    3.220407] sp805-wdt c010000.watchdog: registration successful
[    3.228138] sl28cpld_wdt sl28cpld-wdt: initial timeout 6 sec
[    3.234397] qoriq-cpufreq qoriq-cpufreq: Freescale QorIQ CPU 
frequency scaling driver
[    3.242965] sdhci: Secure Digital Host Controller Interface driver
[    3.249219] sdhci: Copyright(c) Pierre Ossman
[    3.253631] sdhci-pltfm: SDHCI platform and OF driver helper
[    3.260243] sdhci-esdhc 2140000.mmc: Link attempted to 5000000.iommu 
0x54
[    3.267129] sdhci-esdhc 2140000.mmc: Link done to 5000000.iommu 0x44 
1
[    3.273785] sdhci-esdhc 2140000.mmc: Adding to iommu group 8
[    3.306689] mmc0: SDHCI controller on 2140000.mmc [2140000.mmc] using 
ADMA
[    3.313896] ------------[ cut here ]------------
[    3.318800] sup:5000000.iommu - con:2140000.mmc f:68 s:1
[    3.324925] WARNING: CPU: 0 PID: 1 at drivers/base/core.c:923 
device_links_driver_bound+0x1ec/0x230
[    3.334038] Modules linked in:
[    3.337128] CPU: 0 PID: 1 Comm: swapper/0 Tainted: G        W         
5.7.0-rc7-next-20200525-00039-gfb6df8136807-dirty #816
[    3.348423] Hardware name: Kontron SMARC-sAL28 (Single PHY) on SMARC 
Eval 2.0 carrier (DT)
[    3.356753] pstate: 60000005 (nZCv daif -PAN -UAO BTYPE=--)
[    3.362371] pc : device_links_driver_bound+0x1ec/0x230
[    3.367551] lr : device_links_driver_bound+0x1ec/0x230
[    3.372725] sp : ffff8000111dbb70
[    3.376064] x29: ffff8000111dbb70 x28: ffff00207a421c10
[    3.381422] x27: ffff00207a41a490 x26: ffff800010be8100
[    3.386779] x25: 0000000000000003 x24: ffff00207a41a4b0
[    3.392133] x23: ffff800011039948 x22: ffff8000111dbbd8
[    3.397487] x21: ffff00207a41a410 x20: ffff8000110d2d80
[    3.402840] x19: ffff00207affdf00 x18: 0000000000000001
[    3.408194] x17: 0000000000000000 x16: 0000000000000003
[    3.413548] x15: ffffffffffffffff x14: ffff800011039948
[    3.418902] x13: ffff002079dd2084 x12: ffff002079dd2080
[    3.424255] x11: 0000000000000000 x10: 00000000000009f0
[    3.429609] x9 : ffff800010091f64 x8 : ffff00207ae50a50
[    3.434962] x7 : 00000000ffffffff x6 : 0000000000000001
[    3.440315] x5 : 0000000000099b88 x4 : 0000000000000000
[    3.445668] x3 : ffff80206e9df000 x2 : ffff80001105b6c8
[    3.451021] x1 : 1ab261fc7f167400 x0 : 0000000000000000
[    3.456375] Call trace:
[    3.458851]  device_links_driver_bound+0x1ec/0x230
[    3.463683]  driver_bound+0x70/0xc0
[    3.467203]  really_probe+0x110/0x318
[    3.470900]  driver_probe_device+0x40/0x90
[    3.475032]  device_driver_attach+0x7c/0x88
[    3.479252]  __driver_attach+0x60/0xe8
[    3.483034]  bus_for_each_dev+0x7c/0xd0
[    3.486903]  driver_attach+0x2c/0x38
[    3.490510]  bus_add_driver+0x194/0x1f8
[    3.494381]  driver_register+0x6c/0x128
[    3.498249]  __platform_driver_register+0x50/0x60
[    3.502992]  sdhci_esdhc_driver_init+0x24/0x30
[    3.507472]  do_one_initcall+0x54/0x298
[    3.511345]  kernel_init_freeable+0x1ec/0x268
[    3.515738]  kernel_init+0x1c/0x118
[    3.519259]  ret_from_fork+0x10/0x1c
[    3.522862] ---[ end trace 66805623080b2743 ]---
[    3.527989] sdhci-esdhc 2150000.mmc: Link attempted to 5000000.iommu 
0x54
[    3.534939] sdhci-esdhc 2150000.mmc: Link done to 5000000.iommu 0x44 
1
[    3.541787] sdhci-esdhc 2150000.mmc: Adding to iommu group 9
[    3.574704] mmc1: SDHCI controller on 2150000.mmc [2150000.mmc] using 
ADMA
[    3.581851] ------------[ cut here ]------------
[    3.586858] sup:5000000.iommu - con:2150000.mmc f:68 s:1
[    3.592435] usb 3-1: new high-speed USB device number 2 using 
xhci-hcd
[    3.599148] WARNING: CPU: 1 PID: 1 at drivers/base/core.c:923 
device_links_driver_bound+0x1ec/0x230
[    3.608262] Modules linked in:
[    3.611355] CPU: 1 PID: 1 Comm: swapper/0 Tainted: G        W         
5.7.0-rc7-next-20200525-00039-gfb6df8136807-dirty #816
[    3.622650] Hardware name: Kontron SMARC-sAL28 (Single PHY) on SMARC 
Eval 2.0 carrier (DT)
[    3.630981] pstate: 60000005 (nZCv daif -PAN -UAO BTYPE=--)
[    3.636600] pc : device_links_driver_bound+0x1ec/0x230
[    3.641779] lr : device_links_driver_bound+0x1ec/0x230
[    3.646953] sp : ffff8000111dbb70
[    3.650292] x29: ffff8000111dbb70 x28: ffff00207a421c10
[    3.655651] x27: ffff00207a41a890 x26: ffff800010be8100
[    3.661007] x25: 0000000000000003 x24: ffff00207a41a8b0
[    3.666362] x23: ffff800011039948 x22: ffff8000111dbbd8
[    3.671716] x21: ffff00207a41a810 x20: ffff8000110d2d80
[    3.677071] x19: ffff00207affdf80 x18: 0000000000000001
[    3.682426] x17: 0000000000000001 x16: 0000000000000003
[    3.687780] x15: 0000000000000000 x14: 0000000000000051
[    3.693133] x13: 0000000000000002 x12: 0000000000000038
[    3.697688] mmc1: new HS400 MMC card at address 0001
[    3.698486] x11: 0000000000000040 x10: 00000000000009f0
[    3.704340] random: fast init done
[    3.708834] x9 : ffff800010091f64 x8 : ffff00207ae50a50
[    3.717608] x7 : ffff80206e9fd000 x6 : 0000000000000001
[    3.722962] x5 : 0000000000000000 x4 : 0000000000000000
[    3.728317] x3 : ffff80206e9fd000 x2 : ffff80001105b6c8
[    3.733671] x1 : 1ab261fc7f167400 x0 : 0000000000000000
[    3.739024] Call trace:
[    3.741500]  device_links_driver_bound+0x1ec/0x230
[    3.746332]  driver_bound+0x70/0xc0
[    3.748938] mmc0: new ultra high speed SDR104 SDHC card at address 
1234
[    3.749852]  really_probe+0x110/0x318
[    3.749871]  driver_probe_device+0x40/0x90
[    3.764329]  device_driver_attach+0x7c/0x88
[    3.768549]  __driver_attach+0x60/0xe8
[    3.772330]  bus_for_each_dev+0x7c/0xd0
[    3.776199]  driver_attach+0x2c/0x38
[    3.779807]  bus_add_driver+0x194/0x1f8
[    3.783677]  driver_register+0x6c/0x128
[    3.787544]  __platform_driver_register+0x50/0x60
[    3.792287]  sdhci_esdhc_driver_init+0x24/0x30
[    3.796768]  do_one_initcall+0x54/0x298
[    3.800641]  kernel_init_freeable+0x1ec/0x268
[    3.805035]  kernel_init+0x1c/0x118
[    3.808553]  ret_from_fork+0x10/0x1c
[    3.812157] ---[ end trace 66805623080b2744 ]---
[    3.818250] mmcblk0: mmc0:1234 SA16G 14.4 GiB
[    3.818559] usbcore: registered new interface driver usbhid
[    3.828515] usbhid: USB HID core driver
[    3.829035] mmcblk1: mmc1:0001 S0J58X 29.6 GiB
[    3.833593] wm8904 2-001a: supply DCVDD not found, using dummy 
regulator
[    3.837947] mmcblk1boot0: mmc1:0001 S0J58X partition 1 31.5 MiB
[    3.843995] wm8904 2-001a: supply DBVDD not found, using dummy 
regulator
[    3.850718] mmcblk1boot1: mmc1:0001 S0J58X partition 2 31.5 MiB
[    3.856797] wm8904 2-001a: supply AVDD not found, using dummy 
regulator
[    3.862959]  mmcblk0: p1
[    3.869617] wm8904 2-001a: supply CPVDD not found, using dummy 
regulator
[    3.872910] hub 3-1:1.0: USB hub found
[    3.879123] wm8904 2-001a: supply MICVDD not found, using dummy 
regulator
[    3.883857] mmcblk1rpmb: mmc1:0001 S0J58X partition 3 4.00 MiB, 
chardev (245:0)
[    3.897058] hub 3-1:1.0: 7 ports detected
[    3.902234] wm8904 2-001a: revision A
[    3.907845]  mmcblk1: p1 p2
[    3.921676] NET: Registered protocol family 10
[    3.927906] Segment Routing with IPv6
[    3.932235] sit: IPv6, IPv4 and MPLS over IPv4 tunneling driver
[    3.939199] NET: Registered protocol family 17
[    3.943821] Bridge firewalling registered
[    3.948171] 8021q: 802.1Q VLAN Support v1.8
[    3.952510] Key type dns_resolver registered
[    3.957237] registered taskstats version 1
[    3.961422] Loading compiled-in X.509 certificates
[    3.972179] fsl-edma 22c0000.dma-controller: Link attempted to 
5000000.iommu 0x54
[    3.979821] fsl-edma 22c0000.dma-controller: Link done to 
5000000.iommu 0x44 1
[    3.987203] fsl-edma 22c0000.dma-controller: Adding to iommu group 10
[    3.996584] ------------[ cut here ]------------
[    4.001284] sup:5000000.iommu - con:22c0000.dma-controller f:68 s:1
[    4.007691] WARNING: CPU: 1 PID: 23 at drivers/base/core.c:923 
device_links_driver_bound+0x1ec/0x230
[    4.016888] Modules linked in:
[    4.019983] CPU: 1 PID: 23 Comm: kworker/1:1 Tainted: G        W      
    5.7.0-rc7-next-20200525-00039-gfb6df8136807-dirty #816
[    4.031540] Hardware name: Kontron SMARC-sAL28 (Single PHY) on SMARC 
Eval 2.0 carrier (DT)
[    4.039877] Workqueue: events deferred_probe_work_func
[    4.045062] pstate: 60000005 (nZCv daif -PAN -UAO BTYPE=--)
[    4.050680] pc : device_links_driver_bound+0x1ec/0x230
[    4.055860] lr : device_links_driver_bound+0x1ec/0x230
[    4.061033] sp : ffff800011fb3b70
[    4.064373] x29: ffff800011fb3b70 x28: ffff00207a421c10
[    4.069731] x27: ffff00207a41bc90 x26: ffff800010be8100
[    4.075087] x25: 0000000000000003 x24: ffff00207a41bcb0
[    4.080442] x23: ffff800011039948 x22: ffff800011fb3bd8
[    4.085797] x21: ffff00207a41bc10 x20: ffff8000110d2d80
[    4.091151] x19: ffff00207a401080 x18: 0000000000000010
[    4.096506] x17: 000000003b471451 x16: 00000000c282b760
[    4.101861] x15: ffffffffffffffff x14: 0720072007200720
[    4.107215] x13: 0720072007200720 x12: 072007200731073a
[    4.112570] x11: 0773072007380736 x10: 073a076607200772
[    4.117924] x9 : ffff800010091f64 x8 : 07720774076e076f
[    4.123279] x7 : 0000000000000250 x6 : ffff00207ac21f00
[    4.128633] x5 : 0000000000000000 x4 : 0000000000000000
[    4.133987] x3 : 00000000ffffffff x2 : ffff80001105b6c8
[    4.139340] x1 : 1ab261fc7f167400 x0 : 0000000000000000
[    4.144694] Call trace:
[    4.147170]  device_links_driver_bound+0x1ec/0x230
[    4.152003]  driver_bound+0x70/0xc0
[    4.155524]  really_probe+0x110/0x318
[    4.159221]  driver_probe_device+0x40/0x90
[    4.163355]  __device_attach_driver+0x8c/0xd0
[    4.167748]  bus_for_each_drv+0x84/0xd8
[    4.171617]  __device_attach+0xd4/0x110
[    4.175487]  device_initial_probe+0x1c/0x28
[    4.179706]  bus_probe_device+0xa4/0xb0
[    4.183576]  deferred_probe_work_func+0x7c/0xb8
[    4.188148]  process_one_work+0x1f4/0x4b8
[    4.192194]  worker_thread+0x218/0x498
[    4.195978]  kthread+0x160/0x168
[    4.199237]  ret_from_fork+0x10/0x1c
[    4.202841] ---[ end trace 66805623080b2746 ]---
[    4.207699] pcieport 0001:00:00.0: Link attempted to 5000000.iommu 
0x54
[    4.214416] pcieport 0001:00:00.0: Link done to 5000000.iommu 0x54 2
[    4.220935] pcieport 0001:00:00.0: Adding to iommu group 11
[    4.227403] pcieport 0001:00:00.0: AER: enabled with IRQ 24
[    4.233376] pcieport 0002:00:00.0: Link attempted to 5000000.iommu 
0x54
[    4.240093] pcieport 0002:00:00.0: Link done to 5000000.iommu 0x54 2
[    4.246616] pcieport 0002:00:00.0: Adding to iommu group 12
[    4.253011] pcieport 0002:00:00.0: AER: enabled with IRQ 26
[    4.259133] fsl-qdma 8380000.dma-controller: Link attempted to 
5000000.iommu 0x54
[    4.266717] fsl-qdma 8380000.dma-controller: Link done to 
5000000.iommu 0x44 1
[    4.266986] usb 3-1.6: new full-speed USB device number 3 using 
xhci-hcd
[    4.274077] fsl-qdma 8380000.dma-controller: Adding to iommu group 13
[    4.288640] ------------[ cut here ]------------
[    4.293339] sup:5000000.iommu - con:8380000.dma-controller f:68 s:1
[    4.299740] WARNING: CPU: 1 PID: 23 at drivers/base/core.c:923 
device_links_driver_bound+0x1ec/0x230
[    4.308937] Modules linked in:
[    4.312029] CPU: 1 PID: 23 Comm: kworker/1:1 Tainted: G        W      
    5.7.0-rc7-next-20200525-00039-gfb6df8136807-dirty #816
[    4.323583] Hardware name: Kontron SMARC-sAL28 (Single PHY) on SMARC 
Eval 2.0 carrier (DT)
[    4.331920] Workqueue: events deferred_probe_work_func
[    4.337105] pstate: 60000005 (nZCv daif -PAN -UAO BTYPE=--)
[    4.342722] pc : device_links_driver_bound+0x1ec/0x230
[    4.347900] lr : device_links_driver_bound+0x1ec/0x230
[    4.353074] sp : ffff800011fb3b70
[    4.356413] x29: ffff800011fb3b70 x28: ffff00207a421c10
[    4.361769] x27: ffff00207a422090 x26: ffff800010be8100
[    4.367123] x25: 0000000000000003 x24: ffff00207a4220b0
[    4.372477] x23: ffff800011039948 x22: ffff800011fb3bd8
[    4.377831] x21: ffff00207a422010 x20: ffff8000110d2d80
[    4.383185] x19: ffff00207a401300 x18: 0000000000000010
[    4.388540] x17: 000000003b471451 x16: 00000000c282b760
[    4.393893] x15: ffffffffffffffff x14: 0720072007200720
[    4.399247] x13: 0720072007200720 x12: 072007200731073a
[    4.404601] x11: 0773072007380736 x10: 073a076607200772
[    4.409953] x9 : ffff800010091f64 x8 : 07720774076e076f
[    4.415307] x7 : 0000000000000286 x6 : ffff00207ac21f00
[    4.420661] x5 : 0000000000000000 x4 : 0000000000000000
[    4.426014] x3 : 00000000ffffffff x2 : ffff80001105b6c8
[    4.431368] x1 : 1ab261fc7f167400 x0 : 0000000000000000
[    4.436720] Call trace:
[    4.439194]  device_links_driver_bound+0x1ec/0x230
[    4.444025]  driver_bound+0x70/0xc0
[    4.447546]  really_probe+0x110/0x318
[    4.451241]  driver_probe_device+0x40/0x90
[    4.455374]  __device_attach_driver+0x8c/0xd0
[    4.459767]  bus_for_each_drv+0x84/0xd8
[    4.463637]  __device_attach+0xd4/0x110
[    4.467508]  device_initial_probe+0x1c/0x28
[    4.471727]  bus_probe_device+0xa4/0xb0
[    4.475598]  deferred_probe_work_func+0x7c/0xb8
[    4.480171]  process_one_work+0x1f4/0x4b8
[    4.484217]  worker_thread+0x218/0x498
[    4.488000]  kthread+0x160/0x168
[    4.491258]  ret_from_fork+0x10/0x1c
[    4.494860] ---[ end trace 66805623080b2747 ]---
[    4.506099] asoc-simple-card sound: wm8904-hifi <-> 
f150000.audio-controller mapping ok
[    4.516423] asoc-simple-card sound: wm8904-hifi <-> 
f140000.audio-controller mapping ok
[    4.524640] asoc-simple-card sound: ASoC: no DMI vendor name!
[    4.536154] input: buttons0 as 
/devices/platform/buttons0/input/input1
[    4.543482] ALSA device list:
[    4.546485]   #0: f150000.audio-controller-wm8904-hifi
[    4.556559] EXT4-fs (mmcblk1p2): INFO: recovery required on readonly 
filesystem
[    4.563980] EXT4-fs (mmcblk1p2): write access will be enabled during 
recovery
[    4.593873] EXT4-fs (mmcblk1p2): recovery complete
[    4.600997] EXT4-fs (mmcblk1p2): mounted filesystem with ordered data 
mode. Opts: (null)
[    4.609274] VFS: Mounted root (ext4 filesystem) readonly on device 
179:34.
[    4.616849] devtmpfs: mounted
[    4.630806] Freeing unused kernel memory: 3328K
[    4.635633] Run /sbin/init as init process
[    4.639794]   with arguments:
[    4.642787]     /sbin/init
[    4.645540]   with environment:
[    4.648732]     HOME=/
[    4.651137]     TERM=linux
[    4.703603] EXT4-fs (mmcblk1p2): re-mounted. Opts: (null)
[    4.870886] udevd[131]: starting version 3.2.8
[    4.877666] random: udevd: uninitialized urandom read (16 bytes read)
[    4.885558] random: udevd: uninitialized urandom read (16 bytes read)
[    4.892231] random: udevd: uninitialized urandom read (16 bytes read)
[    4.903984] udevd[131]: specified group 'kvm' unknown
[    4.931812] udevd[132]: starting eudev-3.2.8
[    7.218596] fsl_enetc 0000:00:00.0 gbe0: renamed from eth0
[   10.127116] urandom_read: 3 callbacks suppressed
[   10.127128] random: dd: uninitialized urandom read (512 bytes read)
[   10.288166] Qualcomm Atheros AR8031/AR8033 0000:00:00.0:05: attached 
PHY driver [Qualcomm Atheros AR8031/AR8033] 
(mii_bus:phy_addr=0000:00:00.0:05, irq=POLL)
[   10.323322] fsl_enetc 0000:00:00.0 gbe0: Link is Down
[   10.384814] random: dropbear: uninitialized urandom read (32 bytes 
read)
[   16.451528] fsl_enetc 0000:00:00.0 gbe0: Link is Up - 1Gbps/Full - 
flow control off
[   16.459327] IPv6: ADDRCONF(NETDEV_CHANGE): gbe0: link becomes ready

-michael

^ permalink raw reply	[flat|nested] 19+ messages in thread

* Re: [PATCH v1] driver core: Update device link status correctly for SYNC_STATE_ONLY links
       [not found]                       ` <20200526070518.107333-1-saravanak@google.com>
@ 2020-05-26  7:07                         ` Saravana Kannan
  2020-05-26 11:04                           ` Michael Walle
  0 siblings, 1 reply; 19+ messages in thread
From: Saravana Kannan @ 2020-05-26  7:07 UTC (permalink / raw)
  To: Greg Kroah-Hartman, Rafael J. Wysocki, Saravana Kannan
  Cc: Michael Walle, Android Kernel Team, Rafael J. Wysocki, LKML, stable

On Tue, May 26, 2020 at 12:05 AM Saravana Kannan <saravanak@google.com> wrote:
>
> When SYNC_STATE_ONLY support was added in commit 05ef983e0d65 ("driver
> core: Add device link support for SYNC_STATE_ONLY flag"),
> SYNC_STATE_ONLY links were treated similar to STATELESS links in terms
> of not blocking consumer probe if the supplier hasn't probed yet.
>
> That caused a SYNC_STATE_ONLY device link's status to not get updated.
> Since SYNC_STATE_ONLY device link is no longer useful once the
> consumer probes, commit 21c27f06587d ("driver core: Fix
> SYNC_STATE_ONLY device link implementation") addresses the status
> update issue by deleting the SYNC_STATE_ONLY device link instead of
> complicating the status update code.
>
> However, there are still some cases where we need to update the status
> of a SYNC_STATE_ONLY device link.  A SYNC_STATE_ONLY device link can
> later get converted into a normal MANAGED device link when a normal
> MANAGED device link is created between a supplier and consumer that
> already have a SYNC_STATE_ONLY device link between them. If a
> SYNC_STATE_ONLY device link's status isn't maintained correctly till
> it's converted to a normal MANAGED device link, then the normal
> MANAGED device link will end up with a wrong link status. This can
> cause a warning stack trace[1] when the consumer device probes.
>
> This commit fixes the SYNC_STATE_ONLY device link status update issue
> where it wouldn't transition correctly from DL_STATE_AVAILABLE to
> DL_STATE_CONSUMER_PROBE.
>
> [1] - https://lore.kernel.org/lkml/20200522204120.3b3c9ed6@apollo/
> Fixes: 05ef983e0d65 ("driver core: Add device link support for SYNC_STATE_ONLY flag")
> Fixes: 21c27f06587d ("driver core: Fix SYNC_STATE_ONLY device link implementation")
> Reported-by: Michael Walle <michael@walle.cc>
> Signed-off-by: Saravana Kannan <saravanak@google.com>
> ---
> Greg,
>
> I think this is the issue Michael ran into. I'd like him to test the fix
> before it's pulled in.
>
> Michael,
>
> If you can test this on the branch you saw the issue in and give a
> Tested-by if it works, that'd be great.
>
> Thanks,
> Saravana
>
>  drivers/base/core.c | 6 +++---
>  1 file changed, 3 insertions(+), 3 deletions(-)
>
> diff --git a/drivers/base/core.c b/drivers/base/core.c
> index 791b7530599f..9511be3f9a32 100644
> --- a/drivers/base/core.c
> +++ b/drivers/base/core.c
> @@ -687,11 +687,11 @@ int device_links_check_suppliers(struct device *dev)
>         device_links_write_lock();
>
>         list_for_each_entry(link, &dev->links.suppliers, c_node) {
> -               if (!(link->flags & DL_FLAG_MANAGED) ||
> -                   link->flags & DL_FLAG_SYNC_STATE_ONLY)
> +               if (!(link->flags & DL_FLAG_MANAGED))
>                         continue;
>
> -               if (link->status != DL_STATE_AVAILABLE) {
> +               if (link->status != DL_STATE_AVAILABLE &&
> +                   !(link->flags & DL_FLAG_SYNC_STATE_ONLY)) {
>                         device_links_missing_supplier(dev);
>                         ret = -EPROBE_DEFER;
>                         break;
> --
> 2.27.0.rc0.183.gde8f92d652-goog
>

Adding stable@ that I forgot to add earlier.

-Saravana

^ permalink raw reply	[flat|nested] 19+ messages in thread

* Re: [PATCH v1] driver core: Update device link status correctly for SYNC_STATE_ONLY links
  2020-05-26  7:07                         ` [PATCH v1] driver core: Update device link status correctly for SYNC_STATE_ONLY links Saravana Kannan
@ 2020-05-26 11:04                           ` Michael Walle
  2020-05-26 18:08                             ` Saravana Kannan
  0 siblings, 1 reply; 19+ messages in thread
From: Michael Walle @ 2020-05-26 11:04 UTC (permalink / raw)
  To: Saravana Kannan
  Cc: Greg Kroah-Hartman, Rafael J. Wysocki, Android Kernel Team,
	Rafael J. Wysocki, LKML, stable

Hi Saravana,

Am 2020-05-26 09:07, schrieb Saravana Kannan:
>> Greg,
>> 
>> I think this is the issue Michael ran into. I'd like him to test the 
>> fix
>> before it's pulled in.
>> 
>> Michael,
>> 
>> If you can test this on the branch you saw the issue in and give a
>> Tested-by if it works, that'd be great.

Unfortunately, now I'm triggering another WARN_ON() in
device_links_driver_bound():
   WARN_ON(link->status != DL_STATE_DORMANT);

I've attached two bootlog one based on linux-next-20200525 with this
patch applied and another one where your previous debug printfs are
applied, too.

Let me know, if you need any other debug outputs.

original bootlog with this patch:

[    0.000000] Booting Linux on physical CPU 0x0000000000 [0x410fd083]
[    0.000000] Linux version 5.7.0-rc7-next-20200525-00001-g6f5a5abdbb5e 
(mw@apollo) (aarch64-linux-gnu-gcc (Debian 8.3.0-2) 8.3.0, GNU ld (GNU 
Binutils for Debian) 2.31.1) #822 SMP PREEMPT Tue May 26 12:55:57 CEST 
2020
[    0.000000] Machine model: Kontron SMARC-sAL28 (Single PHY) on SMARC 
Eval 2.0 carrier
[    0.000000] efi: UEFI not found.
[    0.000000] cma: Reserved 32 MiB at 0x00000000f9c00000
[    0.000000] NUMA: No NUMA configuration found
[    0.000000] NUMA: Faking a node at [mem 
0x0000000080000000-0x00000020ffffffff]
[    0.000000] NUMA: NODE_DATA [mem 0x20ff7fe100-0x20ff7fffff]
[    0.000000] Zone ranges:
[    0.000000]   DMA      [mem 0x0000000080000000-0x00000000bfffffff]
[    0.000000]   DMA32    [mem 0x00000000c0000000-0x00000000ffffffff]
[    0.000000]   Normal   [mem 0x0000000100000000-0x00000020ffffffff]
[    0.000000] Movable zone start for each node
[    0.000000] Early memory node ranges
[    0.000000]   node   0: [mem 0x0000000080000000-0x00000000fbdfffff]
[    0.000000]   node   0: [mem 0x0000002080000000-0x00000020ffffffff]
[    0.000000] Initmem setup node 0 [mem 
0x0000000080000000-0x00000020ffffffff]
[    0.000000] On node 0 totalpages: 1031680
[    0.000000]   DMA zone: 4096 pages used for memmap
[    0.000000]   DMA zone: 0 pages reserved
[    0.000000]   DMA zone: 262144 pages, LIFO batch:63
[    0.000000]   DMA32 zone: 3832 pages used for memmap
[    0.000000]   DMA32 zone: 245248 pages, LIFO batch:63
[    0.000000]   Normal zone: 8192 pages used for memmap
[    0.000000]   Normal zone: 524288 pages, LIFO batch:63
[    0.000000] percpu: Embedded 30 pages/cpu s82904 r8192 d31784 u122880
[    0.000000] pcpu-alloc: s82904 r8192 d31784 u122880 alloc=30*4096
[    0.000000] pcpu-alloc: [0] 0 [0] 1
[    0.000000] Detected PIPT I-cache on CPU0
[    0.000000] CPU features: detected: GIC system register CPU interface
[    0.000000] CPU features: detected: EL2 vector hardening
[    0.000000] ARM_SMCCC_ARCH_WORKAROUND_1 missing from firmware
[    0.000000] CPU features: detected: ARM errata 1165522, 1319367, or 
1530923
[    0.000000] Built 1 zonelists, mobility grouping on.  Total pages: 
1015560
[    0.000000] Policy zone: Normal
[    0.000000] Kernel command line: debug root=/dev/mmcblk1p2 rootwait
[    0.000000] Dentry cache hash table entries: 524288 (order: 10, 
4194304 bytes, linear)
[    0.000000] Inode-cache hash table entries: 262144 (order: 9, 2097152 
bytes, linear)
[    0.000000] mem auto-init: stack:off, heap alloc:off, heap free:off
[    0.000000] software IO TLB: mapped [mem 0xbbfff000-0xbffff000] 
(64MB)
[    0.000000] Memory: 3930016K/4126720K available (9532K kernel code, 
1114K rwdata, 3556K rodata, 3200K init, 398K bss, 163936K reserved, 
32768K cma-reserved)
[    0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=2, 
Nodes=1
[    0.000000] ftrace: allocating 32616 entries in 128 pages
[    0.000000] ftrace: allocated 128 pages with 1 groups
[    0.000000] rcu: Preemptible hierarchical RCU implementation.
[    0.000000] rcu:     RCU restricting CPUs from NR_CPUS=256 to 
nr_cpu_ids=2.
[    0.000000]  Trampoline variant of Tasks RCU enabled.
[    0.000000]  Rude variant of Tasks RCU enabled.
[    0.000000] rcu: RCU calculated value of scheduler-enlistment delay 
is 25 jiffies.
[    0.000000] rcu: Adjusting geometry for rcu_fanout_leaf=16, 
nr_cpu_ids=2
[    0.000000] NR_IRQS: 64, nr_irqs: 64, preallocated irqs: 0
[    0.000000] GICv3: GIC: Using split EOI/Deactivate mode
[    0.000000] GICv3: 256 SPIs implemented
[    0.000000] GICv3: 0 Extended SPIs implemented
[    0.000000] GICv3: Distributor has no Range Selector support
[    0.000000] GICv3: 16 PPIs implemented
[    0.000000] GICv3: CPU0: found redistributor 0 region 
0:0x0000000006040000
[    0.000000] ITS [mem 0x06020000-0x0603ffff]
[    0.000000] ITS@0x0000000006020000: allocated 65536 Devices 
@20fad80000 (flat, esz 8, psz 64K, shr 0)
[    0.000000] ITS: using cache flushing for cmd queue
[    0.000000] GICv3: using LPI property table @0x00000020fad30000
[    0.000000] GIC: using cache flushing for LPI property table
[    0.000000] GICv3: CPU0: using allocated LPI pending table 
@0x00000020fad40000
[    0.000000] random: get_random_bytes called from 
start_kernel+0x604/0x7cc with crng_init=0
[    0.000000] arch_timer: cp15 timer(s) running at 25.00MHz (phys).
[    0.000000] clocksource: arch_sys_counter: mask: 0xffffffffffffff 
max_cycles: 0x5c40939b5, max_idle_ns: 440795202646 ns
[    0.000002] sched_clock: 56 bits at 25MHz, resolution 40ns, wraps 
every 4398046511100ns
[    0.000107] Console: colour dummy device 80x25
[    0.000391] printk: console [tty0] enabled
[    0.000437] Calibrating delay loop (skipped), value calculated using 
timer frequency.. 50.00 BogoMIPS (lpj=100000)
[    0.000450] pid_max: default: 32768 minimum: 301
[    0.000497] LSM: Security Framework initializing
[    0.000550] Mount-cache hash table entries: 8192 (order: 4, 65536 
bytes, linear)
[    0.000581] Mountpoint-cache hash table entries: 8192 (order: 4, 
65536 bytes, linear)
[    0.001427] rcu: Hierarchical SRCU implementation.
[    0.001578] Platform MSI: gic-its@6020000 domain created
[    0.001652] PCI/MSI: /interrupt-controller@6000000/gic-its@6020000 
domain created
[    0.001853] EFI services will not be available.
[    0.001951] smp: Bringing up secondary CPUs ...
[    0.002231] Detected PIPT I-cache on CPU1
[    0.002251] GICv3: CPU1: found redistributor 1 region 
0:0x0000000006060000
[    0.002258] GICv3: CPU1: using allocated LPI pending table 
@0x00000020fad50000
[    0.002280] CPU1: Booted secondary processor 0x0000000001 
[0x410fd083]
[    0.002331] smp: Brought up 1 node, 2 CPUs
[    0.002357] SMP: Total of 2 processors activated.
[    0.002365] CPU features: detected: 32-bit EL0 Support
[    0.002372] CPU features: detected: CRC32 instructions
[    0.010392] CPU: All CPU(s) started at EL2
[    0.010411] alternatives: patching kernel code
[    0.011015] devtmpfs: initialized
[    0.012956] KASLR disabled due to lack of seed
[    0.013109] clocksource: jiffies: mask: 0xffffffff max_cycles: 
0xffffffff, max_idle_ns: 7645041785100000 ns
[    0.013126] futex hash table entries: 512 (order: 3, 32768 bytes, 
linear)
[    0.013897] thermal_sys: Registered thermal governor 'step_wise'
[    0.014024] DMI not present or invalid.
[    0.014208] NET: Registered protocol family 16
[    0.015117] DMA: preallocated 4096 KiB GFP_KERNEL pool for atomic 
allocations
[    0.015833] DMA: preallocated 4096 KiB GFP_KERNEL|GFP_DMA pool for 
atomic allocations
[    0.016544] DMA: preallocated 4096 KiB GFP_KERNEL|GFP_DMA32 pool for 
atomic allocations
[    0.016593] audit: initializing netlink subsys (disabled)
[    0.016721] audit: type=2000 audit(0.016:1): state=initialized 
audit_enabled=0 res=1
[    0.016991] cpuidle: using governor menu
[    0.017048] hw-breakpoint: found 6 breakpoint and 4 watchpoint 
registers.
[    0.017077] ASID allocator initialised with 65536 entries
[    0.017344] Serial: AMBA PL011 UART driver
[    0.023579] Machine: Kontron SMARC-sAL28 (Single PHY) on SMARC Eval 
2.0 carrier
[    0.023592] SoC family: QorIQ LS1028A
[    0.023598] SoC ID: svr:0x870b0110, Revision: 1.0
[    0.026605] HugeTLB registered 1.00 GiB page size, pre-allocated 0 
pages
[    0.026618] HugeTLB registered 32.0 MiB page size, pre-allocated 0 
pages
[    0.026626] HugeTLB registered 2.00 MiB page size, pre-allocated 0 
pages
[    0.026634] HugeTLB registered 64.0 KiB page size, pre-allocated 0 
pages
[    0.027719] cryptd: max_cpu_qlen set to 1000
[    0.029102] iommu: Default domain type: Translated
[    0.029188] vgaarb: loaded
[    0.029333] SCSI subsystem initialized
[    0.029416] usbcore: registered new interface driver usbfs
[    0.029438] usbcore: registered new interface driver hub
[    0.029471] usbcore: registered new device driver usb
[    0.029603] imx-i2c 2000000.i2c: can't get pinctrl, bus recovery not 
supported
[    0.029780] i2c i2c-0: IMX I2C adapter registered
[    0.029855] imx-i2c 2030000.i2c: can't get pinctrl, bus recovery not 
supported
[    0.029920] i2c i2c-1: IMX I2C adapter registered
[    0.029989] imx-i2c 2040000.i2c: can't get pinctrl, bus recovery not 
supported
[    0.030096] i2c i2c-2: IMX I2C adapter registered
[    0.030173] pps_core: LinuxPPS API ver. 1 registered
[    0.030180] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 
Rodolfo Giometti <giometti@linux.it>
[    0.030193] PTP clock support registered
[    0.030444] Advanced Linux Sound Architecture Driver Initialized.
[    0.030801] clocksource: Switched to clocksource arch_sys_counter
[    0.066711] VFS: Disk quotas dquot_6.6.0
[    0.066755] VFS: Dquot-cache hash table entries: 512 (order 0, 4096 
bytes)
[    0.069354] NET: Registered protocol family 2
[    0.069591] tcp_listen_portaddr_hash hash table entries: 2048 (order: 
3, 32768 bytes, linear)
[    0.069617] TCP established hash table entries: 32768 (order: 6, 
262144 bytes, linear)
[    0.069709] TCP bind hash table entries: 32768 (order: 7, 524288 
bytes, linear)
[    0.070011] TCP: Hash tables configured (established 32768 bind 
32768)
[    0.070107] UDP hash table entries: 2048 (order: 4, 65536 bytes, 
linear)
[    0.070134] UDP-Lite hash table entries: 2048 (order: 4, 65536 bytes, 
linear)
[    0.070223] NET: Registered protocol family 1
[    0.070243] PCI: CLS 0 bytes, default 64
[    0.070580] hw perfevents: enabled with armv8_cortex_a72 PMU driver, 
7 counters available
[    0.071067] Initialise system trusted keyrings
[    0.071197] workingset: timestamp_bits=44 max_order=20 bucket_order=0
[    0.104336] Key type asymmetric registered
[    0.104352] Asymmetric key parser 'x509' registered
[    0.104380] Block layer SCSI generic (bsg) driver version 0.4 loaded 
(major 248)
[    0.104389] io scheduler mq-deadline registered
[    0.104396] io scheduler kyber registered
[    0.104830] pci-host-generic 1f0000000.pcie: host bridge 
/soc/pcie@1f0000000 ranges:
[    0.104859] pci-host-generic 1f0000000.pcie:      MEM 
0x01f8000000..0x01f815ffff -> 0x0000000000
[    0.104880] pci-host-generic 1f0000000.pcie:      MEM 
0x01f8160000..0x01f81cffff -> 0x0000000000
[    0.104899] pci-host-generic 1f0000000.pcie:      MEM 
0x01f81d0000..0x01f81effff -> 0x0000000000
[    0.104918] pci-host-generic 1f0000000.pcie:      MEM 
0x01f81f0000..0x01f820ffff -> 0x0000000000
[    0.104936] pci-host-generic 1f0000000.pcie:      MEM 
0x01f8210000..0x01f822ffff -> 0x0000000000
[    0.104954] pci-host-generic 1f0000000.pcie:      MEM 
0x01f8230000..0x01f824ffff -> 0x0000000000
[    0.104971] pci-host-generic 1f0000000.pcie:      MEM 
0x01fc000000..0x01fc3fffff -> 0x0000000000
[    0.105024] pci-host-generic 1f0000000.pcie: ECAM at [mem 
0x1f0000000-0x1f00fffff] for [bus 00]
[    0.105080] pci-host-generic 1f0000000.pcie: PCI host bridge to bus 
0000:00
[    0.105090] pci_bus 0000:00: root bus resource [bus 00]
[    0.105099] pci_bus 0000:00: root bus resource [mem 
0x1f8000000-0x1f815ffff] (bus address [0x00000000-0x0015ffff])
[    0.105111] pci_bus 0000:00: root bus resource [mem 
0x1f8160000-0x1f81cffff pref] (bus address [0x00000000-0x0006ffff])
[    0.105122] pci_bus 0000:00: root bus resource [mem 
0x1f81d0000-0x1f81effff] (bus address [0x00000000-0x0001ffff])
[    0.105133] pci_bus 0000:00: root bus resource [mem 
0x1f81f0000-0x1f820ffff pref] (bus address [0x00000000-0x0001ffff])
[    0.105143] pci_bus 0000:00: root bus resource [mem 
0x1f8210000-0x1f822ffff] (bus address [0x00000000-0x0001ffff])
[    0.105154] pci_bus 0000:00: root bus resource [mem 
0x1f8230000-0x1f824ffff pref] (bus address [0x00000000-0x0001ffff])
[    0.105164] pci_bus 0000:00: root bus resource [mem 
0x1fc000000-0x1fc3fffff] (bus address [0x00000000-0x003fffff])
[    0.105186] pci 0000:00:00.0: [1957:e100] type 00 class 0x020001
[    0.105227] pci 0000:00:00.0: BAR 0: [mem 0x1f8000000-0x1f803ffff 
64bit] (from Enhanced Allocation, properties 0x0)
[    0.105240] pci 0000:00:00.0: BAR 2: [mem 0x1f8160000-0x1f816ffff 
64bit pref] (from Enhanced Allocation, properties 0x1)
[    0.105252] pci 0000:00:00.0: VF BAR 0: [mem 0x1f81d0000-0x1f81dffff 
64bit] (from Enhanced Allocation, properties 0x4)
[    0.105264] pci 0000:00:00.0: VF BAR 2: [mem 0x1f81f0000-0x1f81fffff 
64bit pref] (from Enhanced Allocation, properties 0x3)
[    0.105288] pci 0000:00:00.0: PME# supported from D0 D3hot
[    0.105303] pci 0000:00:00.0: VF(n) BAR0 space: [mem 
0x1f81d0000-0x1f81effff 64bit] (contains BAR0 for 2 VFs)
[    0.105314] pci 0000:00:00.0: VF(n) BAR2 space: [mem 
0x1f81f0000-0x1f820ffff 64bit pref] (contains BAR2 for 2 VFs)
[    0.105428] pci 0000:00:00.1: [1957:e100] type 00 class 0x020001
[    0.105459] pci 0000:00:00.1: BAR 0: [mem 0x1f8040000-0x1f807ffff 
64bit] (from Enhanced Allocation, properties 0x0)
[    0.105471] pci 0000:00:00.1: BAR 2: [mem 0x1f8170000-0x1f817ffff 
64bit pref] (from Enhanced Allocation, properties 0x1)
[    0.105482] pci 0000:00:00.1: VF BAR 0: [mem 0x1f8210000-0x1f821ffff 
64bit] (from Enhanced Allocation, properties 0x4)
[    0.105494] pci 0000:00:00.1: VF BAR 2: [mem 0x1f8230000-0x1f823ffff 
64bit pref] (from Enhanced Allocation, properties 0x3)
[    0.105516] pci 0000:00:00.1: PME# supported from D0 D3hot
[    0.105530] pci 0000:00:00.1: VF(n) BAR0 space: [mem 
0x1f8210000-0x1f822ffff 64bit] (contains BAR0 for 2 VFs)
[    0.105540] pci 0000:00:00.1: VF(n) BAR2 space: [mem 
0x1f8230000-0x1f824ffff 64bit pref] (contains BAR2 for 2 VFs)
[    0.105632] pci 0000:00:00.2: [1957:e100] type 00 class 0x020001
[    0.105662] pci 0000:00:00.2: BAR 0: [mem 0x1f8080000-0x1f80bffff 
64bit] (from Enhanced Allocation, properties 0x0)
[    0.105673] pci 0000:00:00.2: BAR 2: [mem 0x1f8180000-0x1f818ffff 
64bit pref] (from Enhanced Allocation, properties 0x1)
[    0.105695] pci 0000:00:00.2: PME# supported from D0 D3hot
[    0.105780] pci 0000:00:00.3: [1957:ee01] type 00 class 0x088001
[    0.105813] pci 0000:00:00.3: BAR 0: [mem 0x1f8100000-0x1f811ffff 
64bit] (from Enhanced Allocation, properties 0x0)
[    0.105825] pci 0000:00:00.3: BAR 2: [mem 0x1f8190000-0x1f819ffff 
64bit pref] (from Enhanced Allocation, properties 0x1)
[    0.105846] pci 0000:00:00.3: PME# supported from D0 D3hot
[    0.105934] pci 0000:00:00.4: [1957:ee02] type 00 class 0x088001
[    0.105965] pci 0000:00:00.4: BAR 0: [mem 0x1f8120000-0x1f813ffff 
64bit] (from Enhanced Allocation, properties 0x0)
[    0.105976] pci 0000:00:00.4: BAR 2: [mem 0x1f81a0000-0x1f81affff 
64bit pref] (from Enhanced Allocation, properties 0x1)
[    0.105998] pci 0000:00:00.4: PME# supported from D0 D3hot
[    0.106082] pci 0000:00:00.5: [1957:eef0] type 00 class 0x020801
[    0.106112] pci 0000:00:00.5: BAR 0: [mem 0x1f8140000-0x1f815ffff 
64bit] (from Enhanced Allocation, properties 0x0)
[    0.106123] pci 0000:00:00.5: BAR 2: [mem 0x1f81b0000-0x1f81bffff 
64bit pref] (from Enhanced Allocation, properties 0x1)
[    0.106135] pci 0000:00:00.5: BAR 4: [mem 0x1fc000000-0x1fc3fffff 
64bit] (from Enhanced Allocation, properties 0x0)
[    0.106156] pci 0000:00:00.5: PME# supported from D0 D3hot
[    0.106239] pci 0000:00:00.6: [1957:e100] type 00 class 0x020001
[    0.106269] pci 0000:00:00.6: BAR 0: [mem 0x1f80c0000-0x1f80fffff 
64bit] (from Enhanced Allocation, properties 0x0)
[    0.106280] pci 0000:00:00.6: BAR 2: [mem 0x1f81c0000-0x1f81cffff 
64bit pref] (from Enhanced Allocation, properties 0x1)
[    0.106301] pci 0000:00:00.6: PME# supported from D0 D3hot
[    0.107084] pci 0000:00:1f.0: [1957:e001] type 00 class 0x080700
[    0.107131] OF: /soc/pcie@1f0000000: no msi-map translation for rid 
0xf8 on (null)
[    0.107446] layerscape-pcie 3400000.pcie: host bridge 
/soc/pcie@3400000 ranges:
[    0.107470] layerscape-pcie 3400000.pcie:       IO 
0x8000010000..0x800001ffff -> 0x0000000000
[    0.107487] layerscape-pcie 3400000.pcie:      MEM 
0x8040000000..0x807fffffff -> 0x0040000000
[    0.107573] layerscape-pcie 3400000.pcie: PCI host bridge to bus 
0001:00
[    0.107582] pci_bus 0001:00: root bus resource [bus 00-ff]
[    0.107590] pci_bus 0001:00: root bus resource [io  0x0000-0xffff]
[    0.107599] pci_bus 0001:00: root bus resource [mem 
0x8040000000-0x807fffffff] (bus address [0x40000000-0x7fffffff])
[    0.107620] pci 0001:00:00.0: [1957:82c1] type 01 class 0x060400
[    0.107680] pci 0001:00:00.0: supports D1 D2
[    0.107687] pci 0001:00:00.0: PME# supported from D0 D1 D2 D3hot
[    0.109098] pci_bus 0001:01: busn_res: [bus 01-ff] end is updated to 
01
[    0.109112] pci 0001:00:00.0: PCI bridge to [bus 01]
[    0.109199] layerscape-pcie 3500000.pcie: host bridge 
/soc/pcie@3500000 ranges:
[    0.109222] layerscape-pcie 3500000.pcie:       IO 
0x8800010000..0x880001ffff -> 0x0000000000
[    0.109238] layerscape-pcie 3500000.pcie:      MEM 
0x8840000000..0x887fffffff -> 0x0040000000
[    0.109316] layerscape-pcie 3500000.pcie: PCI host bridge to bus 
0002:00
[    0.109325] pci_bus 0002:00: root bus resource [bus 00-ff]
[    0.109333] pci_bus 0002:00: root bus resource [io  0x10000-0x1ffff] 
(bus address [0x0000-0xffff])
[    0.109343] pci_bus 0002:00: root bus resource [mem 
0x8840000000-0x887fffffff] (bus address [0x40000000-0x7fffffff])
[    0.109364] pci 0002:00:00.0: [1957:82c1] type 01 class 0x060400
[    0.109422] pci 0002:00:00.0: supports D1 D2
[    0.109429] pci 0002:00:00.0: PME# supported from D0 D1 D2 D3hot
[    0.110852] pci_bus 0002:01: busn_res: [bus 01-ff] end is updated to 
01
[    0.110865] pci 0002:00:00.0: PCI bridge to [bus 01]
[    0.111131] IPMI message handler: version 39.2
[    0.111157] ipmi device interface
[    0.111183] ipmi_si: IPMI System Interface driver
[    0.111315] ipmi_si: Unable to find any System Interface(s)
[    0.112762] Serial: 8250/16550 driver, 4 ports, IRQ sharing enabled
[    0.113432] 21c0500.serial: ttyS0 at MMIO 0x21c0500 (irq = 16, 
base_baud = 12500000) is a 16550A
[    1.693863] printk: console [ttyS0] enabled
[    1.698318] 21c0600.serial: ttyS1 at MMIO 0x21c0600 (irq = 16, 
base_baud = 12500000) is a 16550A
[    1.707435] 2270000.serial: ttyLP2 at MMIO 0x2270000 (irq = 17, 
base_baud = 12500000) is a FSL_LPUART
[    1.717485] arm-smmu 5000000.iommu: probing hardware configuration...
[    1.723973] arm-smmu 5000000.iommu: SMMUv2 with:
[    1.728612] arm-smmu 5000000.iommu:  stage 1 translation
[    1.733957] arm-smmu 5000000.iommu:  stage 2 translation
[    1.739292] arm-smmu 5000000.iommu:  nested translation
[    1.744539] arm-smmu 5000000.iommu:  stream matching with 128 
register groups
[    1.751708] arm-smmu 5000000.iommu:  64 context banks (0 stage-2 
only)
[    1.758270] arm-smmu 5000000.iommu:  Supported page sizes: 0x61311000
[    1.764740] arm-smmu 5000000.iommu:  Stage-1: 48-bit VA -> 48-bit IPA
[    1.771209] arm-smmu 5000000.iommu:  Stage-2: 48-bit IPA -> 48-bit PA
[    1.777926] ------------[ cut here ]------------
[    1.782566] WARNING: CPU: 1 PID: 1 at drivers/base/core.c:885 
device_links_driver_bound+0x1d8/0x1e8
[    1.791644] Modules linked in:
[    1.794708] CPU: 1 PID: 1 Comm: swapper/0 Not tainted 
5.7.0-rc7-next-20200525-00001-g6f5a5abdbb5e #822
[    1.804049] Hardware name: Kontron SMARC-sAL28 (Single PHY) on SMARC 
Eval 2.0 carrier (DT)
[    1.812346] pstate: a0000005 (NzCv daif -PAN -UAO BTYPE=--)
[    1.817936] pc : device_links_driver_bound+0x1d8/0x1e8
[    1.823090] lr : device_links_driver_bound+0x80/0x1e8
[    1.828156] sp : ffff80001118bb80
[    1.831476] x29: ffff80001118bb80 x28: 0000000000000000
[    1.836805] x27: 0000000000000006 x26: ffff800010cd04e8
[    1.842134] x25: 0000000000000001 x24: ffff00207afe38c0
[    1.847462] x23: ffff800010ff9948 x22: ffff80001118bbd8
[    1.852790] x21: ffff00207afe3810 x20: ffff800011092ae8
[    1.858118] x19: ffff00207afc9080 x18: 0000000000000000
[    1.863446] x17: 0000000000000000 x16: 0000000000000001
[    1.868774] x15: ffffffffffffffff x14: ffff800010ff9948
[    1.874102] x13: ffff00207a7b191c x12: ffff00207a7b1188
[    1.879430] x11: 0101010101010101 x10: 7f7f7f7f7f7f7f7f
[    1.884757] x9 : ffff800010549900 x8 : 0000000040000000
[    1.890085] x7 : 0000000000210d00 x6 : 0000000000168d01
[    1.895414] x5 : ffff80001118bae8 x4 : 0000000000000000
[    1.900743] x3 : ffff800011093380 x2 : 00000000ffffffff
[    1.906072] x1 : 0000000000000001 x0 : 00000000000000c0
[    1.911401] Call trace:
[    1.913851]  device_links_driver_bound+0x1d8/0x1e8
[    1.918657]  driver_bound+0x70/0xc0
[    1.922154]  really_probe+0x110/0x318
[    1.925825]  driver_probe_device+0x40/0x90
[    1.929932]  device_driver_attach+0x7c/0x88
[    1.934126]  __driver_attach+0x60/0xe8
[    1.937884]  bus_for_each_dev+0x7c/0xd0
[    1.941730]  driver_attach+0x2c/0x38
[    1.945314]  bus_add_driver+0x194/0x1f8
[    1.949160]  driver_register+0x6c/0x128
[    1.953007]  __platform_driver_register+0x50/0x60
[    1.957727]  arm_smmu_driver_init+0x24/0x30
[    1.961922]  do_one_initcall+0x54/0x298
[    1.965770]  kernel_init_freeable+0x1ec/0x268
[    1.970141]  kernel_init+0x1c/0x118
[    1.973638]  ret_from_fork+0x10/0x1c
[    1.977223] ---[ end trace 631058e31a4c0a60 ]---
[    1.981876] ------------[ cut here ]------------
[    1.986508] WARNING: CPU: 1 PID: 1 at drivers/base/core.c:885 
device_links_driver_bound+0x1d8/0x1e8
[    1.995588] Modules linked in:
[    1.998649] CPU: 1 PID: 1 Comm: swapper/0 Tainted: G        W         
5.7.0-rc7-next-20200525-00001-g6f5a5abdbb5e #822
[    2.009385] Hardware name: Kontron SMARC-sAL28 (Single PHY) on SMARC 
Eval 2.0 carrier (DT)
[    2.017681] pstate: a0000005 (NzCv daif -PAN -UAO BTYPE=--)
[    2.023271] pc : device_links_driver_bound+0x1d8/0x1e8
[    2.028425] lr : device_links_driver_bound+0x80/0x1e8
[    2.033490] sp : ffff80001118bb80
[    2.036810] x29: ffff80001118bb80 x28: 0000000000000000
[    2.042139] x27: 0000000000000006 x26: ffff800010cd04e8
[    2.047467] x25: 0000000000000001 x24: ffff00207afe38c0
[    2.052795] x23: ffff800010ff9948 x22: ffff80001118bbd8
[    2.058123] x21: ffff00207afe3810 x20: ffff800011092ae8
[    2.063451] x19: ffff00207afc9300 x18: 0000000000000000
[    2.068779] x17: 0000000000000000 x16: 0000000000000001
[    2.074107] x15: ffffffffffffffff x14: ffff800010ff9948
[    2.079435] x13: ffff00207a7b191c x12: ffff00207a7b1188
[    2.084763] x11: 0101010101010101 x10: 7f7f7f7f7f7f7f7f
[    2.090091] x9 : ffff800010549900 x8 : 0000000040000000
[    2.095419] x7 : 0000000000210d00 x6 : 0000000000168d01
[    2.100747] x5 : ffff80001118bae8 x4 : 0000000000000000
[    2.106076] x3 : ffff800011093380 x2 : 00000000ffffffff
[    2.111404] x1 : 0000000000000001 x0 : 00000000000000c0
[    2.116732] Call trace:
[    2.119181]  device_links_driver_bound+0x1d8/0x1e8
[    2.123986]  driver_bound+0x70/0xc0
[    2.127483]  really_probe+0x110/0x318
[    2.131154]  driver_probe_device+0x40/0x90
[    2.135261]  device_driver_attach+0x7c/0x88
[    2.139455]  __driver_attach+0x60/0xe8
[    2.143213]  bus_for_each_dev+0x7c/0xd0
[    2.147059]  driver_attach+0x2c/0x38
[    2.150642]  bus_add_driver+0x194/0x1f8
[    2.154488]  driver_register+0x6c/0x128
[    2.158334]  __platform_driver_register+0x50/0x60
[    2.163052]  arm_smmu_driver_init+0x24/0x30
[    2.167246]  do_one_initcall+0x54/0x298
[    2.171092]  kernel_init_freeable+0x1ec/0x268
[    2.175461]  kernel_init+0x1c/0x118
[    2.178958]  ret_from_fork+0x10/0x1c
[    2.182540] ---[ end trace 631058e31a4c0a61 ]---
[    2.187466] at24 0-0050: supply vcc not found, using dummy regulator
[    2.194644] at24 0-0050: 4096 byte 24c32 EEPROM, writable, 32 
bytes/write
[    2.201512] at24 1-0057: supply vcc not found, using dummy regulator
[    2.208645] at24 1-0057: 8192 byte 24c64 EEPROM, writable, 32 
bytes/write
[    2.215515] at24 2-0050: supply vcc not found, using dummy regulator
[    2.222646] at24 2-0050: 4096 byte 24c32 EEPROM, writable, 32 
bytes/write
[    2.229594] mpt3sas version 34.100.00.00 loaded
[    2.235037] spi-nor spi1.0: mx25u3235f (4096 Kbytes)
[    2.243836] spi-nor spi0.0: w25q32dw (4096 Kbytes)
[    2.251312] 10 fixed-partitions partitions found on MTD device 
20c0000.spi
[    2.258233] Creating 10 MTD partitions on "20c0000.spi":
[    2.263584] 0x000000000000-0x000000010000 : "rcw"
[    2.275116] 0x000000010000-0x000000100000 : "failsafe bootloader"
[    2.291103] 0x000000100000-0x000000140000 : "failsafe DP firmware"
[    2.299141] 0x000000140000-0x0000001e0000 : "failsafe trusted 
firmware"
[    2.307132] 0x0000001e0000-0x000000200000 : "reserved"
[    2.315140] 0x000000200000-0x000000210000 : "configuration store"
[    2.323128] 0x000000210000-0x000000300000 : "bootloader"
[    2.331139] 0x000000300000-0x000000340000 : "DP firmware"
[    2.339137] 0x000000340000-0x0000003e0000 : "trusted firmware"
[    2.347128] 0x0000003e0000-0x000000400000 : "bootloader environment"
[    2.355741] libphy: Fixed MDIO Bus: probed
[    2.360044] mscc_felix 0000:00:00.5: Adding to iommu group 0
[    2.365867] mscc_felix 0000:00:00.5: device is disabled, skipping
[    2.372048] fsl_enetc 0000:00:00.0: Adding to iommu group 1
[    2.482818] fsl_enetc 0000:00:00.0: enabling device (0400 -> 0402)
[    2.489064] fsl_enetc 0000:00:00.0: no MAC address specified for SI1, 
using ea:5f:b0:65:71:f2
[    2.497631] fsl_enetc 0000:00:00.0: no MAC address specified for SI2, 
using c2:4f:33:31:4e:2e
[    2.506547] libphy: Freescale ENETC MDIO Bus: probed
[    2.513148] fsl_enetc 0000:00:00.1: Adding to iommu group 2
[    2.518873] fsl_enetc 0000:00:00.1: device is disabled, skipping
[    2.524951] fsl_enetc 0000:00:00.2: Adding to iommu group 3
[    2.530627] fsl_enetc 0000:00:00.2: device is disabled, skipping
[    2.536698] fsl_enetc 0000:00:00.6: Adding to iommu group 4
[    2.542369] fsl_enetc 0000:00:00.6: device is disabled, skipping
[    2.548475] fsl_enetc_mdio 0000:00:00.3: Adding to iommu group 5
[    2.658812] fsl_enetc_mdio 0000:00:00.3: enabling device (0400 -> 
0402)
[    2.665636] libphy: FSL PCIe IE Central MDIO Bus: probed
[    2.671008] igb: Intel(R) Gigabit Ethernet Network Driver - version 
5.6.0-k
[    2.678000] igb: Copyright (c) 2007-2014 Intel Corporation.
[    2.683703] dwc3 3100000.usb: Adding to iommu group 6
[    2.689099] dwc3 3110000.usb: Adding to iommu group 7
[    2.694547] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) 
Driver
[    2.701109] ehci-pci: EHCI PCI platform driver
[    2.705734] xhci-hcd xhci-hcd.0.auto: xHCI Host Controller
[    2.711255] xhci-hcd xhci-hcd.0.auto: new USB bus registered, 
assigned bus number 1
[    2.719089] xhci-hcd xhci-hcd.0.auto: hcc params 0x0220f66d hci 
version 0x100 quirks 0x0000000002010010
[    2.728545] xhci-hcd xhci-hcd.0.auto: irq 21, io mem 0x03100000
[    2.734875] hub 1-0:1.0: USB hub found
[    2.738653] hub 1-0:1.0: 1 port detected
[    2.742694] xhci-hcd xhci-hcd.0.auto: xHCI Host Controller
[    2.748213] xhci-hcd xhci-hcd.0.auto: new USB bus registered, 
assigned bus number 2
[    2.755912] xhci-hcd xhci-hcd.0.auto: Host supports USB 3.0 
SuperSpeed
[    2.762502] usb usb2: We don't know the algorithms for LPM for this 
host, disabling LPM.
[    2.770847] hub 2-0:1.0: USB hub found
[    2.774623] hub 2-0:1.0: 1 port detected
[    2.778698] xhci-hcd xhci-hcd.1.auto: xHCI Host Controller
[    2.784219] xhci-hcd xhci-hcd.1.auto: new USB bus registered, 
assigned bus number 3
[    2.792047] xhci-hcd xhci-hcd.1.auto: hcc params 0x0220f66d hci 
version 0x100 quirks 0x0000000002010010
[    2.801504] xhci-hcd xhci-hcd.1.auto: irq 22, io mem 0x03110000
[    2.807764] hub 3-0:1.0: USB hub found
[    2.811547] hub 3-0:1.0: 1 port detected
[    2.815588] xhci-hcd xhci-hcd.1.auto: xHCI Host Controller
[    2.821123] xhci-hcd xhci-hcd.1.auto: new USB bus registered, 
assigned bus number 4
[    2.828820] xhci-hcd xhci-hcd.1.auto: Host supports USB 3.0 
SuperSpeed
[    2.835406] usb usb4: We don't know the algorithms for LPM for this 
host, disabling LPM.
[    2.843845] hub 4-0:1.0: USB hub found
[    2.847630] hub 4-0:1.0: 1 port detected
[    2.851736] usbcore: registered new interface driver usb-storage
[    2.858516] rtc-rv8803 0-0032: Voltage low, temperature compensation 
stopped.
[    2.865693] rtc-rv8803 0-0032: Voltage low, data loss detected.
[    2.872709] rtc-rv8803 0-0032: Voltage low, data is invalid.
[    2.878466] rtc-rv8803 0-0032: registered as rtc0
[    2.883865] rtc-rv8803 0-0032: Voltage low, data is invalid.
[    2.889555] rtc-rv8803 0-0032: hctosys: unable to read the hardware 
clock
[    2.896451] i2c /dev entries driver
[    2.905867] sp805-wdt c000000.watchdog: registration successful
[    2.911899] sp805-wdt c010000.watchdog: registration successful
[    2.918436] qoriq-cpufreq qoriq-cpufreq: Freescale QorIQ CPU 
frequency scaling driver
[    2.927074] sdhci: Secure Digital Host Controller Interface driver
[    2.933332] sdhci: Copyright(c) Pierre Ossman
[    2.937744] sdhci-pltfm: SDHCI platform and OF driver helper
[    2.944188] sdhci-esdhc 2140000.mmc: Adding to iommu group 8
[    2.977094] mmc0: SDHCI controller on 2140000.mmc [2140000.mmc] using 
ADMA
[    2.984329] sdhci-esdhc 2150000.mmc: Adding to iommu group 9
[    3.017472] mmc1: SDHCI controller on 2150000.mmc [2150000.mmc] using 
ADMA
[    3.025871] usbcore: registered new interface driver usbhid
[    3.031671] usbhid: USB HID core driver
[    3.037081] wm8904 2-001a: supply DCVDD not found, using dummy 
regulator
[    3.044067] wm8904 2-001a: supply DBVDD not found, using dummy 
regulator
[    3.051013] wm8904 2-001a: supply AVDD not found, using dummy 
regulator
[    3.057867] wm8904 2-001a: supply CPVDD not found, using dummy 
regulator
[    3.064837] wm8904 2-001a: supply MICVDD not found, using dummy 
regulator
[    3.074372] wm8904 2-001a: revision A
[    3.091532] NET: Registered protocol family 10
[    3.098136] Segment Routing with IPv6
[    3.102449] sit: IPv6, IPv4 and MPLS over IPv4 tunneling driver
[    3.109971] NET: Registered protocol family 17
[    3.114747] Bridge firewalling registered
[    3.119249] 8021q: 802.1Q VLAN Support v1.8
[    3.123622] Key type dns_resolver registered
[    3.128676] registered taskstats version 1
[    3.132989] Loading compiled-in X.509 certificates
[    3.144145] fsl-edma 22c0000.dma-controller: Adding to iommu group 10
[    3.154732] ------------[ cut here ]------------
[    3.159415] WARNING: CPU: 0 PID: 87 at drivers/base/core.c:885 
device_links_driver_bound+0x1d8/0x1e8
[    3.166873] usb 3-1: new high-speed USB device number 2 using 
xhci-hcd
[    3.168616] Modules linked in:
[    3.178272] CPU: 0 PID: 87 Comm: kworker/0:2 Tainted: G        W      
    5.7.0-rc7-next-20200525-00001-g6f5a5abdbb5e #822
[    3.189305] Hardware name: Kontron SMARC-sAL28 (Single PHY) on SMARC 
Eval 2.0 carrier (DT)
[    3.197641] Workqueue: events deferred_probe_work_func
[    3.202826] pstate: a0000005 (NzCv daif -PAN -UAO BTYPE=--)
[    3.208442] pc : device_links_driver_bound+0x1d8/0x1e8
[    3.213621] lr : device_links_driver_bound+0x80/0x1e8
[    3.218708] sp : ffff80001239bb80
[    3.222048] x29: ffff80001239bb80 x28: 0000000000000000
[    3.227405] x27: ffff002079dc9cc8 x26: ffff80001110d960
[    3.232760] x25: 0000000000000001 x24: ffff00207afe18c0
[    3.238114] x23: ffff800010ff9948 x22: ffff80001239bbd8
[    3.243468] x21: ffff00207afe1810 x20: ffff800011092ae8
[    3.248822] x19: ffff00207afc9380 x18: 0000000000000000
[    3.254176] x17: 00000000ebdd5bc8 x16: 00000000931f5686
[    3.259530] x15: ffffffffffffffff x14: ffff800010ff9948
[    3.264883] x13: ffff002079eab91c x12: 0000000000000030
[    3.270237] x11: 0101010101010101 x10: ffffffffffffffff
[    3.275591] x9 : ffff800010549900 x8 : ffff002079ec7280
[    3.280945] x7 : 0000000000000000 x6 : 000000000000003f
[    3.286299] x5 : 0000000000000040 x4 : 0000000000000000
[    3.291652] x3 : ffff800011093380 x2 : 00000000ffffffff
[    3.297005] x1 : 0000000000000001 x0 : 00000000000000c0
[    3.302359] Call trace:
[    3.304834]  device_links_driver_bound+0x1d8/0x1e8
[    3.309665]  driver_bound+0x70/0xc0
[    3.313186]  really_probe+0x110/0x318
[    3.316881]  driver_probe_device+0x40/0x90
[    3.321014]  __device_attach_driver+0x8c/0xd0
[    3.325406]  bus_for_each_drv+0x84/0xd8
[    3.329274]  __device_attach+0xd4/0x110
[    3.333143]  device_initial_probe+0x1c/0x28
[    3.337360]  bus_probe_device+0xa4/0xb0
[    3.341228]  deferred_probe_work_func+0x7c/0xb8
[    3.345801]  process_one_work+0x1f4/0x4b8
[    3.349845]  worker_thread+0x218/0x498
[    3.353628]  kthread+0x160/0x168
[    3.356887]  ret_from_fork+0x10/0x1c
[    3.360490] ---[ end trace 631058e31a4c0a63 ]---
[    3.365550] ------------[ cut here ]------------
[    3.370222] WARNING: CPU: 0 PID: 87 at drivers/base/core.c:885 
device_links_driver_bound+0x1d8/0x1e8
[    3.379416] Modules linked in:
[    3.382504] CPU: 0 PID: 87 Comm: kworker/0:2 Tainted: G        W      
    5.7.0-rc7-next-20200525-00001-g6f5a5abdbb5e #822
[    3.393535] Hardware name: Kontron SMARC-sAL28 (Single PHY) on SMARC 
Eval 2.0 carrier (DT)
[    3.401868] Workqueue: events deferred_probe_work_func
[    3.407051] pstate: a0000005 (NzCv daif -PAN -UAO BTYPE=--)
[    3.412665] pc : device_links_driver_bound+0x1d8/0x1e8
[    3.417841] lr : device_links_driver_bound+0x80/0x1e8
[    3.422926] sp : ffff80001239bb80
[    3.426266] x29: ffff80001239bb80 x28: 0000000000000000
[    3.431620] x27: ffff002079dc9cc8 x26: ffff80001110d960
[    3.436974] x25: 0000000000000001 x24: ffff00207afe18c0
[    3.442328] x23: ffff800010ff9948 x22: ffff80001239bbd8
[    3.447681] x21: ffff00207afe1810 x20: ffff800011092ae8
[    3.453035] x19: ffff00207afc9400 x18: 0000000000000000
[    3.458388] x17: 00000000ebdd5bc8 x16: 00000000931f5686
[    3.463742] x15: ffffffffffffffff x14: ffff800010ff9948
[    3.469095] x13: ffff002079eab91c x12: 0000000000000030
[    3.474449] x11: 0101010101010101 x10: ffffffffffffffff
[    3.479802] x9 : ffff800010549900 x8 : ffff002079ec7280
[    3.485155] x7 : 0000000000000000 x6 : 000000000000003f
[    3.490509] x5 : 0000000000000040 x4 : 0000000000000000
[    3.495861] x3 : ffff800011093380 x2 : 00000000ffffffff
[    3.501214] x1 : 0000000000000001 x0 : 00000000000000c0
[    3.506568] Call trace:
[    3.509040]  device_links_driver_bound+0x1d8/0x1e8
[    3.513870]  driver_bound+0x70/0xc0
[    3.517392]  really_probe+0x110/0x318
[    3.521087]  driver_probe_device+0x40/0x90
[    3.525218]  __device_attach_driver+0x8c/0xd0
[    3.529609]  bus_for_each_drv+0x84/0xd8
[    3.533477]  __device_attach+0xd4/0x110
[    3.537345]  device_initial_probe+0x1c/0x28
[    3.541562]  bus_probe_device+0xa4/0xb0
[    3.545431]  deferred_probe_work_func+0x7c/0xb8
[    3.550003]  process_one_work+0x1f4/0x4b8
[    3.554047]  worker_thread+0x218/0x498
[    3.557828]  kthread+0x160/0x168
[    3.561085]  ret_from_fork+0x10/0x1c
[    3.564687] ---[ end trace 631058e31a4c0a64 ]---
[    3.570341] pcieport 0001:00:00.0: Adding to iommu group 11
[    3.578242] pcieport 0001:00:00.0: AER: enabled with IRQ 24
[    3.584664] pcieport 0002:00:00.0: Adding to iommu group 12
[    3.592136] pcieport 0002:00:00.0: AER: enabled with IRQ 26
[    3.598700] fsl-qdma 8380000.dma-controller: Adding to iommu group 13
[    3.616598] mmc1: new HS400 MMC card at address 0001
[    3.622652] mmcblk1: mmc1:0001 S0J58X 29.6 GiB
[    3.626089] asoc-simple-card sound: wm8904-hifi <-> 
f150000.audio-controller mapping ok
[    3.627823] mmcblk1boot0: mmc1:0001 S0J58X partition 1 31.5 MiB
[    3.638591] asoc-simple-card sound: wm8904-hifi <-> 
f140000.audio-controller mapping ok
[    3.641854] mmcblk1boot1: mmc1:0001 S0J58X partition 2 31.5 MiB
[    3.649580] asoc-simple-card sound: ASoC: no DMI vendor name!
[    3.655672] mmcblk1rpmb: mmc1:0001 S0J58X partition 3 4.00 MiB, 
chardev (245:0)
[    3.664543] irq: no irq domain found for sl28cpld@4a !
[    3.674045] irq: no irq domain found for sl28cpld@4a !
[    3.679595] gpio-keys buttons0: Found button without gpio or irq
[    3.685878]  mmcblk1: p1 p2
[    3.685914] gpio-keys: probe of buttons0 failed with error -22
[    3.694773] mmc0: tuning execution failed: -110
[    3.699465] random: fast init done
[    3.703320] ALSA device list:
[    3.706320]   #0: f150000.audio-controller-wm8904-hifi
[    3.711555] mmc0: error -110 whilst initialising SD card
[    3.731656] hub 3-1:1.0: USB hub found
[    3.735605] hub 3-1:1.0: 7 ports detected
[    3.799235] mmc0: Tuning failed, falling back to fixed sampling clock
[    3.806000] mmc0: tuning execution failed: -11
[    3.811608] EXT4-fs (mmcblk1p2): INFO: recovery required on readonly 
filesystem
[    3.819024] EXT4-fs (mmcblk1p2): write access will be enabled during 
recovery
[    3.853541] EXT4-fs (mmcblk1p2): recovery complete
[    3.861002] EXT4-fs (mmcblk1p2): mounted filesystem with ordered data 
mode. Opts: (null)
[    3.869426] VFS: Mounted root (ext4 filesystem) readonly on device 
179:2.
[    3.877194] devtmpfs: mounted
[    3.888933] mmc0: new high speed SDHC card at address 1234
[    3.895546] mmcblk0: mmc0:1234 SA16G 14.4 GiB
[    3.898566] Freeing unused kernel memory: 3200K
[    3.905237] Run /sbin/init as init process
[    3.906906]  mmcblk0: p1
[    3.909447]   with arguments:
[    3.915028]     /sbin/init
[    3.917786]   with environment:
[    3.920983]     HOME=/
[    3.923386]     TERM=linux
[    3.977243] EXT4-fs (mmcblk1p2): re-mounted. Opts: (null)
[    4.098910] usb 3-1.6: new full-speed USB device number 3 using 
xhci-hcd
[    4.156980] udevd[128]: starting version 3.2.8
[    4.163665] random: udevd: uninitialized urandom read (16 bytes read)
[    4.171580] random: udevd: uninitialized urandom read (16 bytes read)
[    4.178254] random: udevd: uninitialized urandom read (16 bytes read)
[    4.189909] udevd[128]: specified group 'kvm' unknown
[    4.218134] udevd[129]: starting eudev-3.2.8
[    6.462302] fsl_enetc 0000:00:00.0 gbe0: renamed from eth0
[    9.253013] urandom_read: 3 callbacks suppressed
[    9.253026] random: dd: uninitialized urandom read (512 bytes read)
[    9.415994] Qualcomm Atheros AR8031/AR8033 0000:00:00.0:05: attached 
PHY driver [Qualcomm Atheros AR8031/AR8033] 
(mii_bus:phy_addr=0000:00:00.0:05, irq=POLL)
[    9.449789] fsl_enetc 0000:00:00.0 gbe0: Link is Down
[    9.504810] random: dropbear: uninitialized urandom read (32 bytes 
read)
[   15.587487] fsl_enetc 0000:00:00.0 gbe0: Link is Up - 1Gbps/Full - 
flow control off
[   15.595290] IPv6: ADDRCONF(NETDEV_CHANGE): gbe0: link becomes ready


bootlog with this patch and your old debug prints:

[    0.000000] Booting Linux on physical CPU 0x0000000000 [0x410fd083]
[    0.000000] Linux version 
5.7.0-rc7-next-20200525-00001-g6f5a5abdbb5e-dirty (mw@apollo) 
(aarch64-linux-gnu-gcc (Debian 8.3.0-2) 8.3.0, GNU ld (GNU Binutils for 
Debian) 2.31.1) #821 SMP PREEMPT Tue May 26 12:44:31 CEST 2020
[    0.000000] Machine model: Kontron SMARC-sAL28 (Single PHY) on SMARC 
Eval 2.0 carrier
[    0.000000] efi: UEFI not found.
[    0.000000] cma: Reserved 32 MiB at 0x00000000f9c00000
[    0.000000] NUMA: No NUMA configuration found
[    0.000000] NUMA: Faking a node at [mem 
0x0000000080000000-0x00000020ffffffff]
[    0.000000] NUMA: NODE_DATA [mem 0x20ff7fe100-0x20ff7fffff]
[    0.000000] Zone ranges:
[    0.000000]   DMA      [mem 0x0000000080000000-0x00000000bfffffff]
[    0.000000]   DMA32    [mem 0x00000000c0000000-0x00000000ffffffff]
[    0.000000]   Normal   [mem 0x0000000100000000-0x00000020ffffffff]
[    0.000000] Movable zone start for each node
[    0.000000] Early memory node ranges
[    0.000000]   node   0: [mem 0x0000000080000000-0x00000000fbdfffff]
[    0.000000]   node   0: [mem 0x0000002080000000-0x00000020ffffffff]
[    0.000000] Initmem setup node 0 [mem 
0x0000000080000000-0x00000020ffffffff]
[    0.000000] On node 0 totalpages: 1031680
[    0.000000]   DMA zone: 4096 pages used for memmap
[    0.000000]   DMA zone: 0 pages reserved
[    0.000000]   DMA zone: 262144 pages, LIFO batch:63
[    0.000000]   DMA32 zone: 3832 pages used for memmap
[    0.000000]   DMA32 zone: 245248 pages, LIFO batch:63
[    0.000000]   Normal zone: 8192 pages used for memmap
[    0.000000]   Normal zone: 524288 pages, LIFO batch:63
[    0.000000] percpu: Embedded 30 pages/cpu s82904 r8192 d31784 u122880
[    0.000000] pcpu-alloc: s82904 r8192 d31784 u122880 alloc=30*4096
[    0.000000] pcpu-alloc: [0] 0 [0] 1
[    0.000000] Detected PIPT I-cache on CPU0
[    0.000000] CPU features: detected: GIC system register CPU interface
[    0.000000] CPU features: detected: EL2 vector hardening
[    0.000000] ARM_SMCCC_ARCH_WORKAROUND_1 missing from firmware
[    0.000000] CPU features: detected: ARM errata 1165522, 1319367, or 
1530923
[    0.000000] Built 1 zonelists, mobility grouping on.  Total pages: 
1015560
[    0.000000] Policy zone: Normal
[    0.000000] Kernel command line: debug root=/dev/mmcblk1p2 rootwait
[    0.000000] Dentry cache hash table entries: 524288 (order: 10, 
4194304 bytes, linear)
[    0.000000] Inode-cache hash table entries: 262144 (order: 9, 2097152 
bytes, linear)
[    0.000000] mem auto-init: stack:off, heap alloc:off, heap free:off
[    0.000000] software IO TLB: mapped [mem 0xbbfff000-0xbffff000] 
(64MB)
[    0.000000] Memory: 3930016K/4126720K available (9532K kernel code, 
1114K rwdata, 3556K rodata, 3200K init, 398K bss, 163936K reserved, 
32768K cma-reserved)
[    0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=2, 
Nodes=1
[    0.000000] ftrace: allocating 32616 entries in 128 pages
[    0.000000] ftrace: allocated 128 pages with 1 groups
[    0.000000] rcu: Preemptible hierarchical RCU implementation.
[    0.000000] rcu:     RCU restricting CPUs from NR_CPUS=256 to 
nr_cpu_ids=2.
[    0.000000]  Trampoline variant of Tasks RCU enabled.
[    0.000000]  Rude variant of Tasks RCU enabled.
[    0.000000] rcu: RCU calculated value of scheduler-enlistment delay 
is 25 jiffies.
[    0.000000] rcu: Adjusting geometry for rcu_fanout_leaf=16, 
nr_cpu_ids=2
[    0.000000] NR_IRQS: 64, nr_irqs: 64, preallocated irqs: 0
[    0.000000] GICv3: GIC: Using split EOI/Deactivate mode
[    0.000000] GICv3: 256 SPIs implemented
[    0.000000] GICv3: 0 Extended SPIs implemented
[    0.000000] GICv3: Distributor has no Range Selector support
[    0.000000] GICv3: 16 PPIs implemented
[    0.000000] GICv3: CPU0: found redistributor 0 region 
0:0x0000000006040000
[    0.000000] ITS [mem 0x06020000-0x0603ffff]
[    0.000000] ITS@0x0000000006020000: allocated 65536 Devices 
@20fad80000 (flat, esz 8, psz 64K, shr 0)
[    0.000000] ITS: using cache flushing for cmd queue
[    0.000000] GICv3: using LPI property table @0x00000020fad30000
[    0.000000] GIC: using cache flushing for LPI property table
[    0.000000] GICv3: CPU0: using allocated LPI pending table 
@0x00000020fad40000
[    0.000000] random: get_random_bytes called from 
start_kernel+0x604/0x7cc with crng_init=0
[    0.000000] arch_timer: cp15 timer(s) running at 25.00MHz (phys).
[    0.000000] clocksource: arch_sys_counter: mask: 0xffffffffffffff 
max_cycles: 0x5c40939b5, max_idle_ns: 440795202646 ns
[    0.000002] sched_clock: 56 bits at 25MHz, resolution 40ns, wraps 
every 4398046511100ns
[    0.000107] Console: colour dummy device 80x25
[    0.000391] printk: console [tty0] enabled
[    0.000438] Calibrating delay loop (skipped), value calculated using 
timer frequency.. 50.00 BogoMIPS (lpj=100000)
[    0.000451] pid_max: default: 32768 minimum: 301
[    0.000497] LSM: Security Framework initializing
[    0.000548] Mount-cache hash table entries: 8192 (order: 4, 65536 
bytes, linear)
[    0.000579] Mountpoint-cache hash table entries: 8192 (order: 4, 
65536 bytes, linear)
[    0.001422] rcu: Hierarchical SRCU implementation.
[    0.001569] Platform MSI: gic-its@6020000 domain created
[    0.001643] PCI/MSI: /interrupt-controller@6000000/gic-its@6020000 
domain created
[    0.001844] EFI services will not be available.
[    0.001942] smp: Bringing up secondary CPUs ...
[    0.002213] Detected PIPT I-cache on CPU1
[    0.002233] GICv3: CPU1: found redistributor 1 region 
0:0x0000000006060000
[    0.002240] GICv3: CPU1: using allocated LPI pending table 
@0x00000020fad50000
[    0.002262] CPU1: Booted secondary processor 0x0000000001 
[0x410fd083]
[    0.002312] smp: Brought up 1 node, 2 CPUs
[    0.002338] SMP: Total of 2 processors activated.
[    0.002346] CPU features: detected: 32-bit EL0 Support
[    0.002353] CPU features: detected: CRC32 instructions
[    0.010365] CPU: All CPU(s) started at EL2
[    0.010384] alternatives: patching kernel code
[    0.010980] devtmpfs: initialized
[    0.012914] KASLR disabled due to lack of seed
[    0.013066] clocksource: jiffies: mask: 0xffffffff max_cycles: 
0xffffffff, max_idle_ns: 7645041785100000 ns
[    0.013084] futex hash table entries: 512 (order: 3, 32768 bytes, 
linear)
[    0.013852] thermal_sys: Registered thermal governor 'step_wise'
[    0.013977] DMI not present or invalid.
[    0.014161] NET: Registered protocol family 16
[    0.015062] DMA: preallocated 4096 KiB GFP_KERNEL pool for atomic 
allocations
[    0.015775] DMA: preallocated 4096 KiB GFP_KERNEL|GFP_DMA pool for 
atomic allocations
[    0.016501] DMA: preallocated 4096 KiB GFP_KERNEL|GFP_DMA32 pool for 
atomic allocations
[    0.016538] audit: initializing netlink subsys (disabled)
[    0.016662] audit: type=2000 audit(0.016:1): state=initialized 
audit_enabled=0 res=1
[    0.016964] cpuidle: using governor menu
[    0.017031] hw-breakpoint: found 6 breakpoint and 4 watchpoint 
registers.
[    0.017061] ASID allocator initialised with 65536 entries
[    0.017328] Serial: AMBA PL011 UART driver
[    0.023052] platform 2140000.mmc: Link attempted to 5000000.iommu 
0xc0
[    0.023066] platform 2140000.mmc: Link done to 5000000.iommu 0xc0 0
[    0.023090] platform 2150000.mmc: Link attempted to 5000000.iommu 
0xc0
[    0.023099] platform 2150000.mmc: Link done to 5000000.iommu 0xc0 0
[    0.023162] platform 22c0000.dma-controller: Link attempted to 
5000000.iommu 0xc0
[    0.023172] platform 22c0000.dma-controller: Link done to 
5000000.iommu 0xc0 0
[    0.023216] platform 3100000.usb: Link attempted to 5000000.iommu 
0xc0
[    0.023224] platform 3100000.usb: Link done to 5000000.iommu 0xc0 0
[    0.023240] platform 3110000.usb: Link attempted to 5000000.iommu 
0xc0
[    0.023248] platform 3110000.usb: Link done to 5000000.iommu 0xc0 0
[    0.023274] platform 3400000.pcie: Link attempted to 5000000.iommu 
0xc0
[    0.023282] platform 3400000.pcie: Link done to 5000000.iommu 0xc0 0
[    0.023306] platform 3500000.pcie: Link attempted to 5000000.iommu 
0xc0
[    0.023314] platform 3500000.pcie: Link done to 5000000.iommu 0xc0 0
[    0.023332] platform 8380000.dma-controller: Link attempted to 
5000000.iommu 0xc0
[    0.023341] platform 8380000.dma-controller: Link done to 
5000000.iommu 0xc0 0
[    0.023442] platform 1f0000000.pcie: Link attempted to 5000000.iommu 
0xc0
[    0.023450] platform 1f0000000.pcie: Link done to 5000000.iommu 0xc0 
0
[    0.023493] platform f080000.display: Link attempted to 5000000.iommu 
0xc0
[    0.023501] platform f080000.display: Link done to 5000000.iommu 0xc0 
0
[    0.023760] Machine: Kontron SMARC-sAL28 (Single PHY) on SMARC Eval 
2.0 carrier
[    0.023770] SoC family: QorIQ LS1028A
[    0.023775] SoC ID: svr:0x870b0110, Revision: 1.0
[    0.026798] HugeTLB registered 1.00 GiB page size, pre-allocated 0 
pages
[    0.026812] HugeTLB registered 32.0 MiB page size, pre-allocated 0 
pages
[    0.026821] HugeTLB registered 2.00 MiB page size, pre-allocated 0 
pages
[    0.026828] HugeTLB registered 64.0 KiB page size, pre-allocated 0 
pages
[    0.027893] cryptd: max_cpu_qlen set to 1000
[    0.029366] iommu: Default domain type: Translated
[    0.029434] vgaarb: loaded
[    0.029572] SCSI subsystem initialized
[    0.029660] usbcore: registered new interface driver usbfs
[    0.029685] usbcore: registered new interface driver hub
[    0.029718] usbcore: registered new device driver usb
[    0.029851] imx-i2c 2000000.i2c: can't get pinctrl, bus recovery not 
supported
[    0.030028] i2c i2c-0: IMX I2C adapter registered
[    0.030102] imx-i2c 2030000.i2c: can't get pinctrl, bus recovery not 
supported
[    0.030177] i2c i2c-1: IMX I2C adapter registered
[    0.030249] imx-i2c 2040000.i2c: can't get pinctrl, bus recovery not 
supported
[    0.030347] i2c i2c-2: IMX I2C adapter registered
[    0.030427] pps_core: LinuxPPS API ver. 1 registered
[    0.030434] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 
Rodolfo Giometti <giometti@linux.it>
[    0.030448] PTP clock support registered
[    0.030674] Advanced Linux Sound Architecture Driver Initialized.
[    0.031031] clocksource: Switched to clocksource arch_sys_counter
[    0.066872] VFS: Disk quotas dquot_6.6.0
[    0.066915] VFS: Dquot-cache hash table entries: 512 (order 0, 4096 
bytes)
[    0.069623] NET: Registered protocol family 2
[    0.069858] tcp_listen_portaddr_hash hash table entries: 2048 (order: 
3, 32768 bytes, linear)
[    0.069883] TCP established hash table entries: 32768 (order: 6, 
262144 bytes, linear)
[    0.069975] TCP bind hash table entries: 32768 (order: 7, 524288 
bytes, linear)
[    0.070280] TCP: Hash tables configured (established 32768 bind 
32768)
[    0.070378] UDP hash table entries: 2048 (order: 4, 65536 bytes, 
linear)
[    0.070405] UDP-Lite hash table entries: 2048 (order: 4, 65536 bytes, 
linear)
[    0.070491] NET: Registered protocol family 1
[    0.070512] PCI: CLS 0 bytes, default 64
[    0.070842] hw perfevents: enabled with armv8_cortex_a72 PMU driver, 
7 counters available
[    0.071326] Initialise system trusted keyrings
[    0.071453] workingset: timestamp_bits=44 max_order=20 bucket_order=0
[    0.104530] Key type asymmetric registered
[    0.104546] Asymmetric key parser 'x509' registered
[    0.104572] Block layer SCSI generic (bsg) driver version 0.4 loaded 
(major 248)
[    0.104582] io scheduler mq-deadline registered
[    0.104588] io scheduler kyber registered
[    0.105023] pci-host-generic 1f0000000.pcie: host bridge 
/soc/pcie@1f0000000 ranges:
[    0.105053] pci-host-generic 1f0000000.pcie:      MEM 
0x01f8000000..0x01f815ffff -> 0x0000000000
[    0.105074] pci-host-generic 1f0000000.pcie:      MEM 
0x01f8160000..0x01f81cffff -> 0x0000000000
[    0.105093] pci-host-generic 1f0000000.pcie:      MEM 
0x01f81d0000..0x01f81effff -> 0x0000000000
[    0.105112] pci-host-generic 1f0000000.pcie:      MEM 
0x01f81f0000..0x01f820ffff -> 0x0000000000
[    0.105131] pci-host-generic 1f0000000.pcie:      MEM 
0x01f8210000..0x01f822ffff -> 0x0000000000
[    0.105149] pci-host-generic 1f0000000.pcie:      MEM 
0x01f8230000..0x01f824ffff -> 0x0000000000
[    0.105163] pci-host-generic 1f0000000.pcie:      MEM 
0x01fc000000..0x01fc3fffff -> 0x0000000000
[    0.105213] pci-host-generic 1f0000000.pcie: ECAM at [mem 
0x1f0000000-0x1f00fffff] for [bus 00]
[    0.105273] pci-host-generic 1f0000000.pcie: PCI host bridge to bus 
0000:00
[    0.105283] pci_bus 0000:00: root bus resource [bus 00]
[    0.105292] pci_bus 0000:00: root bus resource [mem 
0x1f8000000-0x1f815ffff] (bus address [0x00000000-0x0015ffff])
[    0.105304] pci_bus 0000:00: root bus resource [mem 
0x1f8160000-0x1f81cffff pref] (bus address [0x00000000-0x0006ffff])
[    0.105314] pci_bus 0000:00: root bus resource [mem 
0x1f81d0000-0x1f81effff] (bus address [0x00000000-0x0001ffff])
[    0.105325] pci_bus 0000:00: root bus resource [mem 
0x1f81f0000-0x1f820ffff pref] (bus address [0x00000000-0x0001ffff])
[    0.105335] pci_bus 0000:00: root bus resource [mem 
0x1f8210000-0x1f822ffff] (bus address [0x00000000-0x0001ffff])
[    0.105346] pci_bus 0000:00: root bus resource [mem 
0x1f8230000-0x1f824ffff pref] (bus address [0x00000000-0x0001ffff])
[    0.105356] pci_bus 0000:00: root bus resource [mem 
0x1fc000000-0x1fc3fffff] (bus address [0x00000000-0x003fffff])
[    0.105378] pci 0000:00:00.0: [1957:e100] type 00 class 0x020001
[    0.105420] pci 0000:00:00.0: BAR 0: [mem 0x1f8000000-0x1f803ffff 
64bit] (from Enhanced Allocation, properties 0x0)
[    0.105433] pci 0000:00:00.0: BAR 2: [mem 0x1f8160000-0x1f816ffff 
64bit pref] (from Enhanced Allocation, properties 0x1)
[    0.105445] pci 0000:00:00.0: VF BAR 0: [mem 0x1f81d0000-0x1f81dffff 
64bit] (from Enhanced Allocation, properties 0x4)
[    0.105457] pci 0000:00:00.0: VF BAR 2: [mem 0x1f81f0000-0x1f81fffff 
64bit pref] (from Enhanced Allocation, properties 0x3)
[    0.105482] pci 0000:00:00.0: PME# supported from D0 D3hot
[    0.105497] pci 0000:00:00.0: VF(n) BAR0 space: [mem 
0x1f81d0000-0x1f81effff 64bit] (contains BAR0 for 2 VFs)
[    0.105507] pci 0000:00:00.0: VF(n) BAR2 space: [mem 
0x1f81f0000-0x1f820ffff 64bit pref] (contains BAR2 for 2 VFs)
[    0.105622] pci 0000:00:00.1: [1957:e100] type 00 class 0x020001
[    0.105652] pci 0000:00:00.1: BAR 0: [mem 0x1f8040000-0x1f807ffff 
64bit] (from Enhanced Allocation, properties 0x0)
[    0.105664] pci 0000:00:00.1: BAR 2: [mem 0x1f8170000-0x1f817ffff 
64bit pref] (from Enhanced Allocation, properties 0x1)
[    0.105676] pci 0000:00:00.1: VF BAR 0: [mem 0x1f8210000-0x1f821ffff 
64bit] (from Enhanced Allocation, properties 0x4)
[    0.105687] pci 0000:00:00.1: VF BAR 2: [mem 0x1f8230000-0x1f823ffff 
64bit pref] (from Enhanced Allocation, properties 0x3)
[    0.105710] pci 0000:00:00.1: PME# supported from D0 D3hot
[    0.105723] pci 0000:00:00.1: VF(n) BAR0 space: [mem 
0x1f8210000-0x1f822ffff 64bit] (contains BAR0 for 2 VFs)
[    0.105734] pci 0000:00:00.1: VF(n) BAR2 space: [mem 
0x1f8230000-0x1f824ffff 64bit pref] (contains BAR2 for 2 VFs)
[    0.105825] pci 0000:00:00.2: [1957:e100] type 00 class 0x020001
[    0.105855] pci 0000:00:00.2: BAR 0: [mem 0x1f8080000-0x1f80bffff 
64bit] (from Enhanced Allocation, properties 0x0)
[    0.105867] pci 0000:00:00.2: BAR 2: [mem 0x1f8180000-0x1f818ffff 
64bit pref] (from Enhanced Allocation, properties 0x1)
[    0.105889] pci 0000:00:00.2: PME# supported from D0 D3hot
[    0.105971] pci 0000:00:00.3: [1957:ee01] type 00 class 0x088001
[    0.106004] pci 0000:00:00.3: BAR 0: [mem 0x1f8100000-0x1f811ffff 
64bit] (from Enhanced Allocation, properties 0x0)
[    0.106016] pci 0000:00:00.3: BAR 2: [mem 0x1f8190000-0x1f819ffff 
64bit pref] (from Enhanced Allocation, properties 0x1)
[    0.106037] pci 0000:00:00.3: PME# supported from D0 D3hot
[    0.106122] pci 0000:00:00.4: [1957:ee02] type 00 class 0x088001
[    0.106152] pci 0000:00:00.4: BAR 0: [mem 0x1f8120000-0x1f813ffff 
64bit] (from Enhanced Allocation, properties 0x0)
[    0.106164] pci 0000:00:00.4: BAR 2: [mem 0x1f81a0000-0x1f81affff 
64bit pref] (from Enhanced Allocation, properties 0x1)
[    0.106186] pci 0000:00:00.4: PME# supported from D0 D3hot
[    0.106275] pci 0000:00:00.5: [1957:eef0] type 00 class 0x020801
[    0.106304] pci 0000:00:00.5: BAR 0: [mem 0x1f8140000-0x1f815ffff 
64bit] (from Enhanced Allocation, properties 0x0)
[    0.106316] pci 0000:00:00.5: BAR 2: [mem 0x1f81b0000-0x1f81bffff 
64bit pref] (from Enhanced Allocation, properties 0x1)
[    0.106327] pci 0000:00:00.5: BAR 4: [mem 0x1fc000000-0x1fc3fffff 
64bit] (from Enhanced Allocation, properties 0x0)
[    0.106349] pci 0000:00:00.5: PME# supported from D0 D3hot
[    0.106436] pci 0000:00:00.6: [1957:e100] type 00 class 0x020001
[    0.106465] pci 0000:00:00.6: BAR 0: [mem 0x1f80c0000-0x1f80fffff 
64bit] (from Enhanced Allocation, properties 0x0)
[    0.106477] pci 0000:00:00.6: BAR 2: [mem 0x1f81c0000-0x1f81cffff 
64bit pref] (from Enhanced Allocation, properties 0x1)
[    0.106498] pci 0000:00:00.6: PME# supported from D0 D3hot
[    0.107281] pci 0000:00:1f.0: [1957:e001] type 00 class 0x080700
[    0.107327] OF: /soc/pcie@1f0000000: no msi-map translation for rid 
0xf8 on (null)
[    0.107636] layerscape-pcie 3400000.pcie: host bridge 
/soc/pcie@3400000 ranges:
[    0.107661] layerscape-pcie 3400000.pcie:       IO 
0x8000010000..0x800001ffff -> 0x0000000000
[    0.107677] layerscape-pcie 3400000.pcie:      MEM 
0x8040000000..0x807fffffff -> 0x0040000000
[    0.107761] layerscape-pcie 3400000.pcie: PCI host bridge to bus 
0001:00
[    0.107771] pci_bus 0001:00: root bus resource [bus 00-ff]
[    0.107779] pci_bus 0001:00: root bus resource [io  0x0000-0xffff]
[    0.107787] pci_bus 0001:00: root bus resource [mem 
0x8040000000-0x807fffffff] (bus address [0x40000000-0x7fffffff])
[    0.107808] pci 0001:00:00.0: [1957:82c1] type 01 class 0x060400
[    0.107869] pci 0001:00:00.0: supports D1 D2
[    0.107876] pci 0001:00:00.0: PME# supported from D0 D1 D2 D3hot
[    0.109286] pci_bus 0001:01: busn_res: [bus 01-ff] end is updated to 
01
[    0.109300] pci 0001:00:00.0: PCI bridge to [bus 01]
[    0.109389] layerscape-pcie 3500000.pcie: host bridge 
/soc/pcie@3500000 ranges:
[    0.109412] layerscape-pcie 3500000.pcie:       IO 
0x8800010000..0x880001ffff -> 0x0000000000
[    0.109428] layerscape-pcie 3500000.pcie:      MEM 
0x8840000000..0x887fffffff -> 0x0040000000
[    0.109504] layerscape-pcie 3500000.pcie: PCI host bridge to bus 
0002:00
[    0.109514] pci_bus 0002:00: root bus resource [bus 00-ff]
[    0.109523] pci_bus 0002:00: root bus resource [io  0x10000-0x1ffff] 
(bus address [0x0000-0xffff])
[    0.109533] pci_bus 0002:00: root bus resource [mem 
0x8840000000-0x887fffffff] (bus address [0x40000000-0x7fffffff])
[    0.109553] pci 0002:00:00.0: [1957:82c1] type 01 class 0x060400
[    0.109612] pci 0002:00:00.0: supports D1 D2
[    0.109619] pci 0002:00:00.0: PME# supported from D0 D1 D2 D3hot
[    0.111018] pci_bus 0002:01: busn_res: [bus 01-ff] end is updated to 
01
[    0.111042] pci 0002:00:00.0: PCI bridge to [bus 01]
[    0.111307] IPMI message handler: version 39.2
[    0.111334] ipmi device interface
[    0.111361] ipmi_si: IPMI System Interface driver
[    0.111483] ipmi_si: Unable to find any System Interface(s)
[    0.112924] Serial: 8250/16550 driver, 4 ports, IRQ sharing enabled
[    0.113617] 21c0500.serial: ttyS0 at MMIO 0x21c0500 (irq = 16, 
base_baud = 12500000) is a 16550A
[    1.828331] printk: console [ttyS0] enabled
[    1.832790] 21c0600.serial: ttyS1 at MMIO 0x21c0600 (irq = 16, 
base_baud = 12500000) is a 16550A
[    1.841898] 2270000.serial: ttyLP2 at MMIO 0x2270000 (irq = 17, 
base_baud = 12500000) is a FSL_LPUART
[    1.851954] arm-smmu 5000000.iommu: probing hardware configuration...
[    1.858430] arm-smmu 5000000.iommu: SMMUv2 with:
[    1.863080] arm-smmu 5000000.iommu:  stage 1 translation
[    1.868418] arm-smmu 5000000.iommu:  stage 2 translation
[    1.873761] arm-smmu 5000000.iommu:  nested translation
[    1.879012] arm-smmu 5000000.iommu:  stream matching with 128 
register groups
[    1.886182] arm-smmu 5000000.iommu:  64 context banks (0 stage-2 
only)
[    1.892743] arm-smmu 5000000.iommu:  Supported page sizes: 0x61311000
[    1.899213] arm-smmu 5000000.iommu:  Stage-1: 48-bit VA -> 48-bit IPA
[    1.905681] arm-smmu 5000000.iommu:  Stage-2: 48-bit IPA -> 48-bit PA
[    1.912398] ------------[ cut here ]------------
[    1.917037] WARNING: CPU: 1 PID: 1 at drivers/base/core.c:894 
device_links_driver_bound+0x204/0x230
[    1.926117] Modules linked in:
[    1.929181] CPU: 1 PID: 1 Comm: swapper/0 Not tainted 
5.7.0-rc7-next-20200525-00001-g6f5a5abdbb5e-dirty #821
[    1.939047] Hardware name: Kontron SMARC-sAL28 (Single PHY) on SMARC 
Eval 2.0 carrier (DT)
[    1.947344] pstate: a0000005 (NzCv daif -PAN -UAO BTYPE=--)
[    1.952934] pc : device_links_driver_bound+0x204/0x230
[    1.958088] lr : device_links_driver_bound+0x84/0x230
[    1.963153] sp : ffff80001118bb70
[    1.966474] x29: ffff80001118bb70 x28: 0000000000000000
[    1.971803] x27: 0000000000000006 x26: ffff800010cd04e8
[    1.977133] x25: 0000000000000001 x24: ffff00207a421cc0
[    1.982462] x23: ffff800010ff9948 x22: ffff80001118bbd8
[    1.987790] x21: ffff00207a421c10 x20: ffff800011092ae8
[    1.993119] x19: ffff00207a401080 x18: 0000000000000000
[    1.998448] x17: 0000000000000000 x16: 0000000000000001
[    2.003776] x15: ffffffffffffffff x14: ffff800010ff9948
[    2.009105] x13: ffff00207a7a191c x12: ffff00207a7a1188
[    2.014434] x11: 0101010101010101 x10: 7f7f7f7f7f7f7f7f
[    2.019762] x9 : ffff800010549904 x8 : 0000000040000000
[    2.025091] x7 : 0000000000210d00 x6 : 000000000011aa01
[    2.030420] x5 : ffff80001118bae8 x4 : 0000000000000000
[    2.035748] x3 : ffff800011093380 x2 : 00000000ffffffff
[    2.041076] x1 : 0000000000000001 x0 : 00000000000000c0
[    2.046406] Call trace:
[    2.048857]  device_links_driver_bound+0x204/0x230
[    2.053663]  driver_bound+0x70/0xc0
[    2.057159]  really_probe+0x110/0x318
[    2.060831]  driver_probe_device+0x40/0x90
[    2.064938]  device_driver_attach+0x7c/0x88
[    2.069132]  __driver_attach+0x60/0xe8
[    2.072890]  bus_for_each_dev+0x7c/0xd0
[    2.076736]  driver_attach+0x2c/0x38
[    2.080319]  bus_add_driver+0x194/0x1f8
[    2.084165]  driver_register+0x6c/0x128
[    2.088013]  __platform_driver_register+0x50/0x60
[    2.092732]  arm_smmu_driver_init+0x24/0x30
[    2.096928]  do_one_initcall+0x54/0x298
[    2.100775]  kernel_init_freeable+0x1ec/0x268
[    2.105147]  kernel_init+0x1c/0x118
[    2.108643]  ret_from_fork+0x10/0x1c
[    2.112229] ---[ end trace 5f1283b865df63a7 ]---
[    2.116881] ------------[ cut here ]------------
[    2.121514] WARNING: CPU: 1 PID: 1 at drivers/base/core.c:894 
device_links_driver_bound+0x204/0x230
[    2.130593] Modules linked in:
[    2.133655] CPU: 1 PID: 1 Comm: swapper/0 Tainted: G        W         
5.7.0-rc7-next-20200525-00001-g6f5a5abdbb5e-dirty #821
[    2.144914] Hardware name: Kontron SMARC-sAL28 (Single PHY) on SMARC 
Eval 2.0 carrier (DT)
[    2.153210] pstate: a0000005 (NzCv daif -PAN -UAO BTYPE=--)
[    2.158800] pc : device_links_driver_bound+0x204/0x230
[    2.163953] lr : device_links_driver_bound+0x84/0x230
[    2.169019] sp : ffff80001118bb70
[    2.172339] x29: ffff80001118bb70 x28: 0000000000000000
[    2.177667] x27: 0000000000000006 x26: ffff800010cd04e8
[    2.182995] x25: 0000000000000001 x24: ffff00207a421cc0
[    2.188323] x23: ffff800010ff9948 x22: ffff80001118bbd8
[    2.193651] x21: ffff00207a421c10 x20: ffff800011092ae8
[    2.198980] x19: ffff00207a401300 x18: 0000000000000000
[    2.204309] x17: 0000000000000000 x16: 0000000000000001
[    2.209638] x15: ffffffffffffffff x14: ffff800010ff9948
[    2.214966] x13: ffff00207a7a191c x12: ffff00207a7a1188
[    2.220295] x11: 0101010101010101 x10: 7f7f7f7f7f7f7f7f
[    2.225623] x9 : ffff800010549904 x8 : 0000000040000000
[    2.230952] x7 : 0000000000210d00 x6 : 000000000011aa01
[    2.236280] x5 : ffff80001118bae8 x4 : 0000000000000000
[    2.241607] x3 : ffff800011093380 x2 : 00000000ffffffff
[    2.246935] x1 : 0000000000000001 x0 : 00000000000000c0
[    2.252263] Call trace:
[    2.254713]  device_links_driver_bound+0x204/0x230
[    2.259517]  driver_bound+0x70/0xc0
[    2.263014]  really_probe+0x110/0x318
[    2.266685]  driver_probe_device+0x40/0x90
[    2.270792]  device_driver_attach+0x7c/0x88
[    2.274986]  __driver_attach+0x60/0xe8
[    2.278744]  bus_for_each_dev+0x7c/0xd0
[    2.282590]  driver_attach+0x2c/0x38
[    2.286173]  bus_add_driver+0x194/0x1f8
[    2.290019]  driver_register+0x6c/0x128
[    2.293865]  __platform_driver_register+0x50/0x60
[    2.298584]  arm_smmu_driver_init+0x24/0x30
[    2.302778]  do_one_initcall+0x54/0x298
[    2.306625]  kernel_init_freeable+0x1ec/0x268
[    2.310994]  kernel_init+0x1c/0x118
[    2.314490]  ret_from_fork+0x10/0x1c
[    2.318073] ---[ end trace 5f1283b865df63a8 ]---
[    2.322996] at24 0-0050: supply vcc not found, using dummy regulator
[    2.330166] at24 0-0050: 4096 byte 24c32 EEPROM, writable, 32 
bytes/write
[    2.337038] at24 1-0057: supply vcc not found, using dummy regulator
[    2.344179] at24 1-0057: 8192 byte 24c64 EEPROM, writable, 32 
bytes/write
[    2.351054] at24 2-0050: supply vcc not found, using dummy regulator
[    2.358190] at24 2-0050: 4096 byte 24c32 EEPROM, writable, 32 
bytes/write
[    2.365140] mpt3sas version 34.100.00.00 loaded
[    2.370564] spi-nor spi1.0: mx25u3235f (4096 Kbytes)
[    2.380064] spi-nor spi0.0: w25q32dw (4096 Kbytes)
[    2.387528] 10 fixed-partitions partitions found on MTD device 
20c0000.spi
[    2.394448] Creating 10 MTD partitions on "20c0000.spi":
[    2.399799] 0x000000000000-0x000000010000 : "rcw"
[    2.411340] 0x000000010000-0x000000100000 : "failsafe bootloader"
[    2.427336] 0x000000100000-0x000000140000 : "failsafe DP firmware"
[    2.435373] 0x000000140000-0x0000001e0000 : "failsafe trusted 
firmware"
[    2.443355] 0x0000001e0000-0x000000200000 : "reserved"
[    2.451351] 0x000000200000-0x000000210000 : "configuration store"
[    2.459357] 0x000000210000-0x000000300000 : "bootloader"
[    2.467370] 0x000000300000-0x000000340000 : "DP firmware"
[    2.475357] 0x000000340000-0x0000003e0000 : "trusted firmware"
[    2.483359] 0x0000003e0000-0x000000400000 : "bootloader environment"
[    2.491959] libphy: Fixed MDIO Bus: probed
[    2.496241] mscc_felix 0000:00:00.5: Link attempted to 5000000.iommu 
0x54
[    2.503065] mscc_felix 0000:00:00.5: Link done to 5000000.iommu 0x54 
2
[    2.509653] mscc_felix 0000:00:00.5: Adding to iommu group 0
[    2.515467] mscc_felix 0000:00:00.5: device is disabled, skipping
[    2.521625] fsl_enetc 0000:00:00.0: Link attempted to 5000000.iommu 
0x54
[    2.528361] fsl_enetc 0000:00:00.0: Link done to 5000000.iommu 0x54 2
[    2.534856] fsl_enetc 0000:00:00.0: Adding to iommu group 1
[    2.647047] fsl_enetc 0000:00:00.0: enabling device (0400 -> 0402)
[    2.653291] fsl_enetc 0000:00:00.0: no MAC address specified for SI1, 
using 4a:2a:40:9e:80:bf
[    2.661857] fsl_enetc 0000:00:00.0: no MAC address specified for SI2, 
using ce:dc:7b:f3:2e:53
[    2.670767] libphy: Freescale ENETC MDIO Bus: probed
[    2.677334] fsl_enetc 0000:00:00.1: Link attempted to 5000000.iommu 
0x54
[    2.684091] fsl_enetc 0000:00:00.1: Link done to 5000000.iommu 0x54 2
[    2.690595] fsl_enetc 0000:00:00.1: Adding to iommu group 2
[    2.696284] fsl_enetc 0000:00:00.1: device is disabled, skipping
[    2.702337] fsl_enetc 0000:00:00.2: Link attempted to 5000000.iommu 
0x54
[    2.709070] fsl_enetc 0000:00:00.2: Link done to 5000000.iommu 0x54 2
[    2.715562] fsl_enetc 0000:00:00.2: Adding to iommu group 3
[    2.721231] fsl_enetc 0000:00:00.2: device is disabled, skipping
[    2.727282] fsl_enetc 0000:00:00.6: Link attempted to 5000000.iommu 
0x54
[    2.734015] fsl_enetc 0000:00:00.6: Link done to 5000000.iommu 0x54 2
[    2.740504] fsl_enetc 0000:00:00.6: Adding to iommu group 4
[    2.746174] fsl_enetc 0000:00:00.6: device is disabled, skipping
[    2.752257] fsl_enetc_mdio 0000:00:00.3: Link attempted to 
5000000.iommu 0x54
[    2.759426] fsl_enetc_mdio 0000:00:00.3: Link done to 5000000.iommu 
0x54 2
[    2.766354] fsl_enetc_mdio 0000:00:00.3: Adding to iommu group 5
[    2.879055] fsl_enetc_mdio 0000:00:00.3: enabling device (0400 -> 
0402)
[    2.885876] libphy: FSL PCIe IE Central MDIO Bus: probed
[    2.891247] igb: Intel(R) Gigabit Ethernet Network Driver - version 
5.6.0-k
[    2.898240] igb: Copyright (c) 2007-2014 Intel Corporation.
[    2.903923] dwc3 3100000.usb: Link attempted to 5000000.iommu 0x54
[    2.910134] dwc3 3100000.usb: Link done to 5000000.iommu 0x44 2
[    2.916092] dwc3 3100000.usb: Adding to iommu group 6
[    2.921460] dwc3 3110000.usb: Link attempted to 5000000.iommu 0x54
[    2.927675] dwc3 3110000.usb: Link done to 5000000.iommu 0x44 2
[    2.933638] dwc3 3110000.usb: Adding to iommu group 7
[    2.939087] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) 
Driver
[    2.945645] ehci-pci: EHCI PCI platform driver
[    2.950271] xhci-hcd xhci-hcd.0.auto: xHCI Host Controller
[    2.955793] xhci-hcd xhci-hcd.0.auto: new USB bus registered, 
assigned bus number 1
[    2.963632] xhci-hcd xhci-hcd.0.auto: hcc params 0x0220f66d hci 
version 0x100 quirks 0x0000000002010010
[    2.973088] xhci-hcd xhci-hcd.0.auto: irq 21, io mem 0x03100000
[    2.979411] hub 1-0:1.0: USB hub found
[    2.983193] hub 1-0:1.0: 1 port detected
[    2.987240] xhci-hcd xhci-hcd.0.auto: xHCI Host Controller
[    2.992756] xhci-hcd xhci-hcd.0.auto: new USB bus registered, 
assigned bus number 2
[    3.000452] xhci-hcd xhci-hcd.0.auto: Host supports USB 3.0 
SuperSpeed
[    3.007048] usb usb2: We don't know the algorithms for LPM for this 
host, disabling LPM.
[    3.015383] hub 2-0:1.0: USB hub found
[    3.019162] hub 2-0:1.0: 1 port detected
[    3.023245] xhci-hcd xhci-hcd.1.auto: xHCI Host Controller
[    3.028763] xhci-hcd xhci-hcd.1.auto: new USB bus registered, 
assigned bus number 3
[    3.036593] xhci-hcd xhci-hcd.1.auto: hcc params 0x0220f66d hci 
version 0x100 quirks 0x0000000002010010
[    3.046054] xhci-hcd xhci-hcd.1.auto: irq 22, io mem 0x03110000
[    3.052317] hub 3-0:1.0: USB hub found
[    3.056097] hub 3-0:1.0: 1 port detected
[    3.060137] xhci-hcd xhci-hcd.1.auto: xHCI Host Controller
[    3.065654] xhci-hcd xhci-hcd.1.auto: new USB bus registered, 
assigned bus number 4
[    3.073349] xhci-hcd xhci-hcd.1.auto: Host supports USB 3.0 
SuperSpeed
[    3.079934] usb usb4: We don't know the algorithms for LPM for this 
host, disabling LPM.
[    3.088272] hub 4-0:1.0: USB hub found
[    3.092134] hub 4-0:1.0: 1 port detected
[    3.096265] usbcore: registered new interface driver usb-storage
[    3.103053] rtc-rv8803 0-0032: Voltage low, temperature compensation 
stopped.
[    3.110229] rtc-rv8803 0-0032: Voltage low, data loss detected.
[    3.117246] rtc-rv8803 0-0032: Voltage low, data is invalid.
[    3.122999] rtc-rv8803 0-0032: registered as rtc0
[    3.128404] rtc-rv8803 0-0032: Voltage low, data is invalid.
[    3.134094] rtc-rv8803 0-0032: hctosys: unable to read the hardware 
clock
[    3.140991] i2c /dev entries driver
[    3.150393] sp805-wdt c000000.watchdog: registration successful
[    3.156428] sp805-wdt c010000.watchdog: registration successful
[    3.162924] qoriq-cpufreq qoriq-cpufreq: Freescale QorIQ CPU 
frequency scaling driver
[    3.171556] sdhci: Secure Digital Host Controller Interface driver
[    3.177814] sdhci: Copyright(c) Pierre Ossman
[    3.182239] sdhci-pltfm: SDHCI platform and OF driver helper
[    3.188621] sdhci-esdhc 2140000.mmc: Link attempted to 5000000.iommu 
0x54
[    3.195501] sdhci-esdhc 2140000.mmc: Link done to 5000000.iommu 0x44 
2
[    3.202317] sdhci-esdhc 2140000.mmc: Adding to iommu group 8
[    3.235181] mmc0: SDHCI controller on 2140000.mmc [2140000.mmc] using 
ADMA
[    3.242331] sdhci-esdhc 2150000.mmc: Link attempted to 5000000.iommu 
0x54
[    3.249262] sdhci-esdhc 2150000.mmc: Link done to 5000000.iommu 0x44 
2
[    3.256077] sdhci-esdhc 2150000.mmc: Adding to iommu group 9
[    3.289644] mmc1: SDHCI controller on 2150000.mmc [2150000.mmc] using 
ADMA
[    3.298545] usbcore: registered new interface driver usbhid
[    3.304241] usbhid: USB HID core driver
[    3.309433] wm8904 2-001a: supply DCVDD not found, using dummy 
regulator
[    3.316591] wm8904 2-001a: supply DBVDD not found, using dummy 
regulator
[    3.323671] wm8904 2-001a: supply AVDD not found, using dummy 
regulator
[    3.330686] wm8904 2-001a: supply CPVDD not found, using dummy 
regulator
[    3.337903] wm8904 2-001a: supply MICVDD not found, using dummy 
regulator
[    3.347954] wm8904 2-001a: revision A
[    3.365119] NET: Registered protocol family 10
[    3.371599] Segment Routing with IPv6
[    3.376236] sit: IPv6, IPv4 and MPLS over IPv4 tunneling driver
[    3.383402] NET: Registered protocol family 17
[    3.388220] Bridge firewalling registered
[    3.392748] 8021q: 802.1Q VLAN Support v1.8
[    3.397224] Key type dns_resolver registered
[    3.401986] registered taskstats version 1
[    3.406344] Loading compiled-in X.509 certificates
[    3.415093] usb 3-1: new high-speed USB device number 2 using 
xhci-hcd
[    3.417319] fsl-edma 22c0000.dma-controller: Link attempted to 
5000000.iommu 0x54
[    3.429605] fsl-edma 22c0000.dma-controller: Link done to 
5000000.iommu 0x44 2
[    3.437265] fsl-edma 22c0000.dma-controller: Adding to iommu group 10
[    3.447834] ------------[ cut here ]------------
[    3.452517] WARNING: CPU: 0 PID: 87 at drivers/base/core.c:894 
device_links_driver_bound+0x204/0x230
[    3.461712] Modules linked in:
[    3.464803] CPU: 0 PID: 87 Comm: kworker/0:2 Tainted: G        W      
    5.7.0-rc7-next-20200525-00001-g6f5a5abdbb5e-dirty #821
[    3.476360] Hardware name: Kontron SMARC-sAL28 (Single PHY) on SMARC 
Eval 2.0 carrier (DT)
[    3.484697] Workqueue: events deferred_probe_work_func
[    3.489882] pstate: a0000005 (NzCv daif -PAN -UAO BTYPE=--)
[    3.495499] pc : device_links_driver_bound+0x204/0x230
[    3.500677] lr : device_links_driver_bound+0x84/0x230
[    3.505764] sp : ffff8000123ebb70
[    3.509103] x29: ffff8000123ebb70 x28: 0000000000000000
[    3.514460] x27: ffff002079d95bc8 x26: ffff80001110d960
[    3.519815] x25: 0000000000000001 x24: ffff00207a41bcc0
[    3.525168] x23: ffff800010ff9948 x22: ffff8000123ebbd8
[    3.530523] x21: ffff00207a41bc10 x20: ffff800011092ae8
[    3.535875] x19: ffff00207a401380 x18: 0000000000000000
[    3.541228] x17: 00000000d4fe143f x16: 00000000a97ea50e
[    3.546581] x15: ffffffffffffffff x14: ffff800010ff9948
[    3.551933] x13: ffff002079eeb91c x12: 0000000000000030
[    3.557286] x11: 0101010101010101 x10: ffffffffffffffff
[    3.562639] x9 : ffff800010549904 x8 : ffff002079ebc480
[    3.567992] x7 : 0000000000000000 x6 : 000000000000003f
[    3.573345] x5 : 0000000000000040 x4 : 0000000000000000
[    3.578697] x3 : ffff800011093380 x2 : 00000000ffffffff
[    3.584049] x1 : 0000000000000001 x0 : 00000000000000c0
[    3.589402] Call trace:
[    3.591876]  device_links_driver_bound+0x204/0x230
[    3.596707]  driver_bound+0x70/0xc0
[    3.600227]  really_probe+0x110/0x318
[    3.603922]  driver_probe_device+0x40/0x90
[    3.608053]  __device_attach_driver+0x8c/0xd0
[    3.612445]  bus_for_each_drv+0x84/0xd8
[    3.616313]  __device_attach+0xd4/0x110
[    3.620180]  device_initial_probe+0x1c/0x28
[    3.624397]  bus_probe_device+0xa4/0xb0
[    3.628265]  deferred_probe_work_func+0x7c/0xb8
[    3.632837]  process_one_work+0x1f4/0x4b8
[    3.636882]  worker_thread+0x218/0x498
[    3.640664]  kthread+0x160/0x168
[    3.643922]  ret_from_fork+0x10/0x1c
[    3.647525] ---[ end trace 5f1283b865df63aa ]---
[    3.652669] ------------[ cut here ]------------
[    3.657340] WARNING: CPU: 0 PID: 87 at drivers/base/core.c:894 
device_links_driver_bound+0x204/0x230
[    3.666533] Modules linked in:
[    3.669621] CPU: 0 PID: 87 Comm: kworker/0:2 Tainted: G        W      
    5.7.0-rc7-next-20200525-00001-g6f5a5abdbb5e-dirty #821
[    3.681175] Hardware name: Kontron SMARC-sAL28 (Single PHY) on SMARC 
Eval 2.0 carrier (DT)
[    3.689507] Workqueue: events deferred_probe_work_func
[    3.694690] pstate: a0000005 (NzCv daif -PAN -UAO BTYPE=--)
[    3.700306] pc : device_links_driver_bound+0x204/0x230
[    3.705481] lr : device_links_driver_bound+0x84/0x230
[    3.710566] sp : ffff8000123ebb70
[    3.713904] x29: ffff8000123ebb70 x28: 0000000000000000
[    3.719258] x27: ffff002079d95bc8 x26: ffff80001110d960
[    3.724610] x25: 0000000000000001 x24: ffff00207a41bcc0
[    3.729964] x23: ffff800010ff9948 x22: ffff8000123ebbd8
[    3.735317] x21: ffff00207a41bc10 x20: ffff800011092ae8
[    3.740669] x19: ffff00207a401400 x18: 0000000000000000
[    3.746022] x17: 00000000d4fe143f x16: 00000000a97ea50e
[    3.751376] x15: ffffffffffffffff x14: ffff800010ff9948
[    3.756728] x13: ffff002079eeb91c x12: 0000000000000030
[    3.762081] x11: 0101010101010101 x10: ffffffffffffffff
[    3.767434] x9 : ffff800010549904 x8 : ffff002079ebc480
[    3.772787] x7 : 0000000000000000 x6 : 000000000000003f
[    3.778139] x5 : 0000000000000040 x4 : 0000000000000000
[    3.783492] x3 : ffff800011093380 x2 : 00000000ffffffff
[    3.788844] x1 : 0000000000000001 x0 : 00000000000000c0
[    3.794197] Call trace:
[    3.796667]  device_links_driver_bound+0x204/0x230
[    3.801496]  driver_bound+0x70/0xc0
[    3.805015]  really_probe+0x110/0x318
[    3.808709]  driver_probe_device+0x40/0x90
[    3.812840]  __device_attach_driver+0x8c/0xd0
[    3.817231]  bus_for_each_drv+0x84/0xd8
[    3.821099]  __device_attach+0xd4/0x110
[    3.824968]  device_initial_probe+0x1c/0x28
[    3.829184]  bus_probe_device+0xa4/0xb0
[    3.833053]  deferred_probe_work_func+0x7c/0xb8
[    3.837623]  process_one_work+0x1f4/0x4b8
[    3.841668]  worker_thread+0x218/0x498
[    3.845449]  kthread+0x160/0x168
[    3.848707]  ret_from_fork+0x10/0x1c
[    3.852309] ---[ end trace 5f1283b865df63ab ]---
[    3.857863] pcieport 0001:00:00.0: Link attempted to 5000000.iommu 
0x54
[    3.864849] pcieport 0001:00:00.0: Link done to 5000000.iommu 0x54 2
[    3.872052] pcieport 0001:00:00.0: Adding to iommu group 11
[    3.879441] pcieport 0001:00:00.0: AER: enabled with IRQ 24
[    3.886088] pcieport 0002:00:00.0: Link attempted to 5000000.iommu 
0x54
[    3.893179] pcieport 0002:00:00.0: Link done to 5000000.iommu 0x54 2
[    3.906783] pcieport 0002:00:00.0: Adding to iommu group 12
[    3.912801] hub 3-1:1.0: USB hub found
[    3.916741] hub 3-1:1.0: 7 ports detected
[    3.919978] mmc1: new HS400 MMC card at address 0001
[    3.927272] pcieport 0002:00:00.0: AER: enabled with IRQ 26
[    3.933474] fsl-qdma 8380000.dma-controller: Link attempted to 
5000000.iommu 0x54
[    3.934112] mmc0: new ultra high speed SDR104 SDHC card at address 
1234
[    3.941585] mmcblk1: mmc1:0001 S0J58X 29.6 GiB
[    3.952953] mmcblk1boot0: mmc1:0001 S0J58X partition 1 31.5 MiB
[    3.959002] fsl-qdma 8380000.dma-controller: Link done to 
5000000.iommu 0x44 2
[    3.966795] mmcblk1boot1: mmc1:0001 S0J58X partition 2 31.5 MiB
[    3.972932] fsl-qdma 8380000.dma-controller: Adding to iommu group 13
[    3.973598] mmcblk0: mmc0:1234 SA16G 14.4 GiB
[    3.979481] random: fast init done
[    3.988099] mmcblk1rpmb: mmc1:0001 S0J58X partition 3 4.00 MiB, 
chardev (245:0)
[    3.988305]  mmcblk0: p1
[    4.004567] asoc-simple-card sound: wm8904-hifi <-> 
f150000.audio-controller mapping ok
[    4.014814] asoc-simple-card sound: wm8904-hifi <-> 
f140000.audio-controller mapping ok
[    4.023068] asoc-simple-card sound: ASoC: no DMI vendor name!
[    4.032087] irq: no irq domain found for sl28cpld@4a !
[    4.037338] irq: no irq domain found for sl28cpld@4a !
[    4.043211] gpio-keys buttons0: Found button without gpio or irq
[    4.046555]  mmcblk1: p1 p2
[    4.049385] gpio-keys: probe of buttons0 failed with error -22
[    4.058454] ALSA device list:
[    4.061488]   #0: f150000.audio-controller-wm8904-hifi
[    4.069127] EXT4-fs (mmcblk1p2): INFO: recovery required on readonly 
filesystem
[    4.076546] EXT4-fs (mmcblk1p2): write access will be enabled during 
recovery
[    4.102210] EXT4-fs (mmcblk1p2): recovery complete
[    4.109352] EXT4-fs (mmcblk1p2): mounted filesystem with ordered data 
mode. Opts: (null)
[    4.117633] VFS: Mounted root (ext4 filesystem) readonly on device 
179:2.
[    4.125103] devtmpfs: mounted
[    4.138944] Freeing unused kernel memory: 3200K
[    4.143799] Run /sbin/init as init process
[    4.147960]   with arguments:
[    4.150952]     /sbin/init
[    4.153704]   with environment:
[    4.156896]     HOME=/
[    4.159301]     TERM=linux
[    4.212348] EXT4-fs (mmcblk1p2): re-mounted. Opts: (null)
[    4.283183] usb 3-1.6: new full-speed USB device number 3 using 
xhci-hcd
[    4.384124] udevd[129]: starting version 3.2.8
[    4.390756] random: udevd: uninitialized urandom read (16 bytes read)
[    4.398980] random: udevd: uninitialized urandom read (16 bytes read)
[    4.405785] random: udevd: uninitialized urandom read (16 bytes read)
[    4.417352] udevd[129]: specified group 'kvm' unknown
[    4.445095] udevd[130]: starting eudev-3.2.8
[    6.703591] fsl_enetc 0000:00:00.0 gbe0: renamed from eth0
[    9.457917] urandom_read: 3 callbacks suppressed
[    9.457930] random: dd: uninitialized urandom read (512 bytes read)
[    9.620244] Qualcomm Atheros AR8031/AR8033 0000:00:00.0:05: attached 
PHY driver [Qualcomm Atheros AR8031/AR8033] 
(mii_bus:phy_addr=0000:00:00.0:05, irq=POLL)
[    9.652363] fsl_enetc 0000:00:00.0 gbe0: Link is Down
[    9.713371] random: dropbear: uninitialized urandom read (32 bytes 
read)
[   15.811646] fsl_enetc 0000:00:00.0 gbe0: Link is Up - 1Gbps/Full - 
flow control off
[   15.819447] IPv6: ADDRCONF(NETDEV_CHANGE): gbe0: link becomes ready
[  160.707260] random: crng init done

-michael

^ permalink raw reply	[flat|nested] 19+ messages in thread

* Re: [PATCH v1] driver core: Update device link status correctly for SYNC_STATE_ONLY links
  2020-05-26 11:04                           ` Michael Walle
@ 2020-05-26 18:08                             ` Saravana Kannan
  0 siblings, 0 replies; 19+ messages in thread
From: Saravana Kannan @ 2020-05-26 18:08 UTC (permalink / raw)
  To: Michael Walle
  Cc: Greg Kroah-Hartman, Rafael J. Wysocki, Android Kernel Team,
	Rafael J. Wysocki, LKML, stable

On Tue, May 26, 2020 at 4:04 AM Michael Walle <michael@walle.cc> wrote:
>
> Hi Saravana,
>
> Am 2020-05-26 09:07, schrieb Saravana Kannan:
> >> Greg,
> >>
> >> I think this is the issue Michael ran into. I'd like him to test the
> >> fix
> >> before it's pulled in.
> >>
> >> Michael,
> >>
> >> If you can test this on the branch you saw the issue in and give a
> >> Tested-by if it works, that'd be great.
>
> Unfortunately, now I'm triggering another WARN_ON() in
> device_links_driver_bound():
>    WARN_ON(link->status != DL_STATE_DORMANT);
>
> I've attached two bootlog one based on linux-next-20200525 with this
> patch applied and another one where your previous debug printfs are
> applied, too.
>
> Let me know, if you need any other debug outputs.

Can you make the same debug changes I did for the other WARN and get
me the logs?

Thanks,
Saravana

^ permalink raw reply	[flat|nested] 19+ messages in thread

end of thread, back to index

Thread overview: 19+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-05-16  8:07 [PATCH v1] driver core: Fix memory leak when adding SYNC_STATE_ONLY device links Saravana Kannan
2020-05-18  7:48 ` Saravana Kannan
2020-05-18  8:03   ` Greg Kroah-Hartman
2020-05-18 19:47     ` Saravana Kannan
2020-05-19  3:00     ` [PATCH v2] driver core: Fix SYNC_STATE_ONLY device link implementation Saravana Kannan
2020-05-19  5:48       ` Greg Kroah-Hartman
2020-05-19  6:30     ` [PATCH v3] " Saravana Kannan
2020-05-19 10:47       ` Rafael J. Wysocki
2020-05-22 18:41       ` Michael Walle
2020-05-22 22:21         ` Saravana Kannan
2020-05-22 22:47           ` Michael Walle
2020-05-25 11:31             ` Michael Walle
2020-05-25 18:39               ` Saravana Kannan
2020-05-25 19:04                 ` Michael Walle
2020-05-25 21:24                   ` Saravana Kannan
2020-05-25 21:38                     ` Michael Walle
     [not found]                       ` <20200526070518.107333-1-saravanak@google.com>
2020-05-26  7:07                         ` [PATCH v1] driver core: Update device link status correctly for SYNC_STATE_ONLY links Saravana Kannan
2020-05-26 11:04                           ` Michael Walle
2020-05-26 18:08                             ` Saravana Kannan

Stable Archive on lore.kernel.org

Archives are clonable:
	git clone --mirror https://lore.kernel.org/stable/0 stable/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 stable stable/ https://lore.kernel.org/stable \
		stable@vger.kernel.org
	public-inbox-index stable

Example config snippet for mirrors

Newsgroup available over NNTP:
	nntp://nntp.lore.kernel.org/org.kernel.vger.stable


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git