Skip to contentSkip to conversation

New: OF: unittest fails some tests on ppc and ppc64 (### dt-test ### end of unittest - 266 passed, 6 failed)

Bug 216407 [email protected] 1 participant 7 messages Aug 24, 2022 – Nov 20, 2022

lore
Share & tools
lore
#0 lore raw

https://bugzilla.kernel.org/show_bug.cgi?id=216407

Bug ID: 216407
Summary: OF: unittest fails some tests on ppc and ppc64 (###
dt-test ### end of unittest - 266 passed, 6 failed)
Product: Platform Specific/Hardware
Version: 2.5
Kernel Version: 6.0-rc2
Hardware: PPC-64
OS: Linux
Tree: Mainline
Status: NEW
Severity: normal
Priority: P1
Component: PPC-64
Assignee: [email protected]
Reporter: [email protected]
CC: [email protected]
Regression: No

Created attachment 301645
--> https://bugzilla.kernel.org/attachment.cgi?id=301645&action=edit
dmesg (kernel 6.0-rc2, Talos II

[...]
### dt-test ### end of unittest - 266 passed, 6 failed

Failing tests on my Talos II are:
### dt-test ### FAIL of_unittest_dma_ranges_one():927 of_dma_get_range: wrong phys addr 0x0000000000000000 (expecting 20000000) on node /testcase-data/address-tests/device@70000000
### dt-test ### FAIL of_unittest_dma_ranges_one():930 of_dma_get_range: wrong DMA addr 0x0000000020000000 (expecting 0) on node /testcase-data/address-tests/device@70000000
### dt-test ### FAIL of_unittest_dma_ranges_one():927 of_dma_get_range: wrong phys addr 0x0000000100000000 (expecting 20000000) on node /testcase-data/address-tests/bus@80000000/device@1000
### dt-test ### FAIL of_unittest_dma_ranges_one():930 of_dma_get_range: wrong DMA addr 0x0000000020000000 (expecting 100000000) on node /testcase-data/address-tests/bus@80000000/device@1000
### dt-test ### FAIL of_unittest_dma_ranges_one():927 of_dma_get_range: wrong phys addr 0x0000000080000000 (expecting 20000000) on node /testcase-data/address-tests/pci@90000000
### dt-test ### FAIL of_unittest_dma_ranges_one():930 of_dma_get_range: wrong DMA addr 0x0000000020000000 (expecting 80000000) on node /testcase-data/address-tests/pci@90000000

Failing tests on my PowerMac G4 MDD are:
### dt-test ### FAIL of_unittest_dma_ranges_one():927 of_dma_get_range: wrong phys addr 0x00000000 (expecting 20000000) on node /testcase-data/address-tests/device@70000000
### dt-test ### FAIL of_unittest_dma_ranges_one():930 of_dma_get_range: wrong DMA addr 0x20000000 (expecting 0) on node /testcase-data/address-tests/device@70000000
### dt-test ### FAIL of_unittest_dma_ranges_one():927 of_dma_get_range: wrong phys addr 0x80000000 (expecting 20000000) on node /testcase-data/address-tests/pci@90000000
### dt-test ### FAIL of_unittest_dma_ranges_one():930 of_dma_get_range: wrong DMA addr 0x20000000 (expecting 80000000) on node /testcase-data/address-tests/pci@90000000

Devices on my Talos II:

 # lspci 
0000:00:00.0 PCI bridge: IBM POWER9 Host Bridge (PHB4)
0000:01:00.0 VGA compatible controller: Advanced Micro Devices, Inc. [AMD/ATI]
Turks XT [Radeon HD 6670/7670]
0000:01:00.1 Audio device: Advanced Micro Devices, Inc. [AMD/ATI] Turks HDMI
Audio [Radeon HD 6500/6600 / 6700M Series]
0001:00:00.0 PCI bridge: IBM POWER9 Host Bridge (PHB4)
0001:01:00.0 Non-Volatile memory controller: Phison Electronics Corporation
Device 5008 (rev 01)
0002:00:00.0 PCI bridge: IBM POWER9 Host Bridge (PHB4)
0003:00:00.0 PCI bridge: IBM POWER9 Host Bridge (PHB4)
0003:01:00.0 USB controller: Texas Instruments TUSB73x0 SuperSpeed USB 3.0 xHCI
Host Controller (rev 02)
0004:00:00.0 PCI bridge: IBM POWER9 Host Bridge (PHB4)
0004:01:00.0 Ethernet controller: Broadcom Inc. and subsidiaries NetXtreme
BCM5719 Gigabit Ethernet PCIe (rev 01)
0004:01:00.1 Ethernet controller: Broadcom Inc. and subsidiaries NetXtreme
BCM5719 Gigabit Ethernet PCIe (rev 01)
0005:00:00.0 PCI bridge: IBM POWER9 Host Bridge (PHB4)
0005:01:00.0 PCI bridge: ASPEED Technology, Inc. AST1150 PCI-to-PCI Bridge (rev
04)
0005:02:00.0 VGA compatible controller: ASPEED Technology, Inc. ASPEED Graphics
Family (rev 41)
0030:00:00.0 PCI bridge: IBM POWER9 Host Bridge (PHB4)
0031:00:00.0 PCI bridge: IBM POWER9 Host Bridge (PHB4)
0032:00:00.0 PCI bridge: IBM POWER9 Host Bridge (PHB4)
0033:00:00.0 PCI bridge: IBM POWER9 Host Bridge (PHB4)
Signature · 4 lines
You may reply to this email to add a comment.

You are receiving this mail because:
You are watching the assignee of the bug.
#1 lore raw

[Bug 216407] OF: unittest fails some tests on ppc and ppc64 (### dt-test ### end of unittest - 266 passed, 6 failed)

https://bugzilla.kernel.org/show_bug.cgi?id=216407

--- Comment #1 from Erhard F. ([email protected]) --- Created attachment 301646
--> https://bugzilla.kernel.org/attachment.cgi?id=301646&action=edit
dmesg (kernel 6.0-rc2, PowerMac G4 DP)

Signature · 4 lines
You may reply to this email to add a comment.

You are receiving this mail because:
You are watching the assignee of the bug.
#2 lore raw

[Bug 216407] OF: unittest fails some tests on ppc and ppc64 (### dt-test ### end of unittest - 266 passed, 6 failed)

In reply to [email protected]

https://bugzilla.kernel.org/show_bug.cgi?id=216407

--- Comment #2 from Erhard F. ([email protected]) --- Created attachment 301647
--> https://bugzilla.kernel.org/attachment.cgi?id=301647&action=edit
kernel .config (kernel 6.0-rc2, Talos II)

Signature · 4 lines
You may reply to this email to add a comment.

You are receiving this mail because:
You are watching the assignee of the bug.
#3 lore raw

[Bug 216407] OF: unittest fails some tests on ppc and ppc64 (### dt-test ### end of unittest - 266 passed, 6 failed)

In reply to [email protected]

https://bugzilla.kernel.org/show_bug.cgi?id=216407

--- Comment #3 from Erhard F. ([email protected]) --- Created attachment 301648
--> https://bugzilla.kernel.org/attachment.cgi?id=301648&action=edit
kernel .config (kernel 6.0-rc2, PowerMac G4 DP)

Signature · 4 lines
You may reply to this email to add a comment.

You are receiving this mail because:
You are watching the assignee of the bug.
#4 lore raw

[Bug 216407] OF: unittest fails some tests on ppc and ppc64 (### dt-test ### end of unittest - 266 passed, 6 failed)

In reply to [email protected]

https://bugzilla.kernel.org/show_bug.cgi?id=216407

--- Comment #4 from Erhard F. ([email protected]) --- Created attachment 303129
--> https://bugzilla.kernel.org/attachment.cgi?id=303129&action=edit
dmesg (kernel 6.1-rc3, Talos II)

No change on 6.1-rc3.

 # dmesg | grep FAIL
[   51.237023] ### dt-test ### FAIL of_unittest_dma_ranges_one():927
of_dma_get_range: wrong phys addr 0x0000000000000000 (expecting 20000000) on
node /testcase-data/address-tests/device@70000000
[   51.237036] ### dt-test ### FAIL of_unittest_dma_ranges_one():930
of_dma_get_range: wrong DMA addr 0x0000000020000000 (expecting 0) on node
/testcase-data/address-tests/device@70000000
[   51.237064] ### dt-test ### FAIL of_unittest_dma_ranges_one():927
of_dma_get_range: wrong phys addr 0x0000000100000000 (expecting 20000000) on
node /testcase-data/address-tests/bus@80000000/device@1000
[   51.237078] ### dt-test ### FAIL of_unittest_dma_ranges_one():930
of_dma_get_range: wrong DMA addr 0x0000000020000000 (expecting 100000000) on
node /testcase-data/address-tests/bus@80000000/device@1000
[   51.237117] ### dt-test ### FAIL of_unittest_dma_ranges_one():927
of_dma_get_range: wrong phys addr 0x0000000080000000 (expecting 20000000) on
node /testcase-data/address-tests/pci@90000000
[   51.237128] ### dt-test ### FAIL of_unittest_dma_ranges_one():930
of_dma_get_range: wrong DMA addr 0x0000000020000000 (expecting 80000000) on
node /testcase-data/address-tests/pci@90000000
Signature · 4 lines
You may reply to this email to add a comment.

You are receiving this mail because:
You are watching the assignee of the bug.
#5 lore raw

[Bug 216407] OF: unittest fails some tests on ppc and ppc64 (### dt-test ### end of unittest - 266 passed, 6 failed)

In reply to [email protected]

https://bugzilla.kernel.org/show_bug.cgi?id=216407

--- Comment #5 from Erhard F. ([email protected]) --- Created attachment 303130
--> https://bugzilla.kernel.org/attachment.cgi?id=303130&action=edit
kernel .config (kernel 6.1-rc3, Talos II)

Signature · 4 lines
You may reply to this email to add a comment.

You are receiving this mail because:
You are watching the assignee of the bug.
#6 lore raw

[Bug 216407] OF: unittest fails some tests on ppc and ppc64 (### dt-test ### end of unittest - 266 passed, 6 failed)

In reply to [email protected]

https://bugzilla.kernel.org/show_bug.cgi?id=216407

Erhard F. ([email protected]) changed:

What |Removed |Added
----------------------------------------------------------------------------

 Attachment #301646|0                           |1

is obsolete| |

--- Comment #6 from Erhard F. ([email protected]) --- Created attachment 303242
--> https://bugzilla.kernel.org/attachment.cgi?id=303242&action=edit
kernel dmesg (6.1-rc5, PowerMac G4 DP)

On a PowerMac G4 DP:

[...]
### dt-test ### pass of_unittest_overlay_high_level():3443 ### dt-test ### pass of_unittest_overlay_high_level():3446 ### dt-test ### end of unittest - 265 passed, 4 failed

Signature · 4 lines
You may reply to this email to add a comment.

You are receiving this mail because:
You are watching the assignee of the bug.