3.6-rc7 boot crash + bisection

From: Florian Dazinger
Date: Mon Sep 24 2012 - 15:25:53 EST


Hi,
I think I've found a regression, which causes an early boot crash, I
appended the kernel output via jpg file, since I do not have a serial
console or sth.

after bisection, it boils down to this commit:

9dcd61303af862c279df86aa97fde7ce371be774 is the first bad commit
commit 9dcd61303af862c279df86aa97fde7ce371be774
Author: Alex Williamson <alex.williamson@xxxxxxxxxx>
Date: Wed May 30 14:19:07 2012 -0600

amd_iommu: Support IOMMU groups

Add IOMMU group support to AMD-Vi device init and uninit code.
Existing notifiers make sure this gets called for each device.

Signed-off-by: Alex Williamson <alex.williamson@xxxxxxxxxx>
Signed-off-by: Joerg Roedel <joerg.roedel@xxxxxxx>

:040000 040000 2f6b1b8e104d6dfec0abaa9646750f9b5a4f4060
837ae95e84f6d3553457c4df595a9caa56843c03 M drivers


bisect log:
git bisect start
# bad: [0d7614f09c1ebdbaa1599a5aba7593f147bf96ee] Linux 3.6-rc1
git bisect bad 0d7614f09c1ebdbaa1599a5aba7593f147bf96ee
# good: [28a33cbc24e4256c143dce96c7d93bf423229f92] Linux 3.5
git bisect good 28a33cbc24e4256c143dce96c7d93bf423229f92
# bad: [614a6d4341b3760ca98a1c2c09141b71db5d1e90] Merge branch 'for-3.6' of git://git.kernel.org/pub/scm/linux/kernel/git/tj/cgroup
git bisect bad 614a6d4341b3760ca98a1c2c09141b71db5d1e90
# good: [320f5ea0cedc08ef65d67e056bcb9d181386ef2c] genetlink: define lockdep_genl_is_held() when CONFIG_LOCKDEP
git bisect good 320f5ea0cedc08ef65d67e056bcb9d181386ef2c
# good: [a17f29a5e98c0a32a900a773083c719e27f4bc0e] Merge tag 'defconfig' of git://git.kernel.org/pub/scm/linux/kernel/git/arm/arm-soc
git bisect good a17f29a5e98c0a32a900a773083c719e27f4bc0e
# good: [e8ff13b0bf88b5e696323a1eec877783d965b3c6] Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/jikos/hid
git bisect good e8ff13b0bf88b5e696323a1eec877783d965b3c6
# good: [914311c9fb9bc01a215de9d848b72b5449c0e342] Merge tag 'pinctrl-for-v3.6' of git://git.kernel.org/pub/scm/linux/kernel/git/linusw/linux-pinctrl
git bisect good 914311c9fb9bc01a215de9d848b72b5449c0e342
# good: [6dd53aa4563a2c69e80a24d2cc68d484b5ea2891] Merge tag 'for-3.6' of git://git.kernel.org/pub/scm/linux/kernel/git/helgaas/pci
git bisect good 6dd53aa4563a2c69e80a24d2cc68d484b5ea2891
# bad: [9161c3b796a2841a9a7be3d9c9dd121269ce90e8] Merge tag 'clk-for-linus' of git://git.linaro.org/people/mturquette/linux
git bisect bad 9161c3b796a2841a9a7be3d9c9dd121269ce90e8
# bad: [395e51f18d3b26619c1c462b7a1c0226846ac0a9] Merge branches 'iommu/fixes', 'x86/amd', 'groups', 'arm/tegra' and 'api/domain-attr' into next
git bisect bad 395e51f18d3b26619c1c462b7a1c0226846ac0a9
# good: [8ce44a2174c3b07950d7a8d44774e23e60518205] Merge tag 'v3.5-rc7' into arm/tegra
git bisect good 8ce44a2174c3b07950d7a8d44774e23e60518205
# good: [2c0ae1720c09c6f8fc8c6bcece29dc80b08ca1af] iommu/amd: Convert iommu initialization to state machine
git bisect good 2c0ae1720c09c6f8fc8c6bcece29dc80b08ca1af
# bad: [7d43c2e42cb1e436f97c1763150e4e1122ae0d57] iommu: Remove group_mf
git bisect bad 7d43c2e42cb1e436f97c1763150e4e1122ae0d57
# bad: [9dcd61303af862c279df86aa97fde7ce371be774] amd_iommu: Support IOMMU groups
git bisect bad 9dcd61303af862c279df86aa97fde7ce371be774
# good: [74416e1e07660798379ce10a210bf4fd35b84f9f] driver core: Add iommu_group tracking to struct device
git bisect good 74416e1e07660798379ce10a210bf4fd35b84f9f
# good: [d72e31c9374627068df29da8085ca18c92ae35d3] iommu: IOMMU Groups
git bisect good d72e31c9374627068df29da8085ca18c92ae35d3


some system info:
Linux brain 3.5.0-rc3-00008-gd72e31c #14 SMP PREEMPT Mon Sep 24
20:23:45 CEST 2012 x86_64 AMD Phenom(tm) II X4 955 Processor
AuthenticAMD GNU/Linux

lspci:
00:00.0 Host bridge: Advanced Micro Devices [AMD] nee ATI RD890 PCI to PCI bridge (external gfx0 port B) (rev 02)
00:00.2 IOMMU: Advanced Micro Devices [AMD] nee ATI RD990 I/O Memory Management Unit (IOMMU)
00:02.0 PCI bridge: Advanced Micro Devices [AMD] nee ATI RD890 PCI to PCI bridge (PCI express gpp port B)
00:04.0 PCI bridge: Advanced Micro Devices [AMD] nee ATI RD890 PCI to PCI bridge (PCI express gpp port D)
00:05.0 PCI bridge: Advanced Micro Devices [AMD] nee ATI RD890 PCI to PCI bridge (PCI express gpp port E)
00:06.0 PCI bridge: Advanced Micro Devices [AMD] nee ATI RD890 PCI to PCI bridge (PCI express gpp port F)
00:07.0 PCI bridge: Advanced Micro Devices [AMD] nee ATI RD890 PCI to PCI bridge (PCI express gpp port G)
00:09.0 PCI bridge: Advanced Micro Devices [AMD] nee ATI RD890 PCI to PCI bridge (PCI express gpp port H)
00:0b.0 PCI bridge: Advanced Micro Devices [AMD] nee ATI RD890 PCI to PCI bridge (NB-SB link)
00:11.0 SATA controller: Advanced Micro Devices [AMD] nee ATI SB7x0/SB8x0/SB9x0 SATA Controller [AHCI mode] (rev 40)
00:12.0 USB controller: Advanced Micro Devices [AMD] nee ATI SB7x0/SB8x0/SB9x0 USB OHCI0 Controller
00:12.2 USB controller: Advanced Micro Devices [AMD] nee ATI SB7x0/SB8x0/SB9x0 USB EHCI Controller
00:13.0 USB controller: Advanced Micro Devices [AMD] nee ATI SB7x0/SB8x0/SB9x0 USB OHCI0 Controller
00:13.2 USB controller: Advanced Micro Devices [AMD] nee ATI SB7x0/SB8x0/SB9x0 USB EHCI Controller
00:14.0 SMBus: Advanced Micro Devices [AMD] nee ATI SBx00 SMBus Controller (rev 42)
00:14.3 ISA bridge: Advanced Micro Devices [AMD] nee ATI SB7x0/SB8x0/SB9x0 LPC host controller (rev 40)
00:14.4 PCI bridge: Advanced Micro Devices [AMD] nee ATI SBx00 PCI to PCI Bridge (rev 40)
00:14.5 USB controller: Advanced Micro Devices [AMD] nee ATI SB7x0/SB8x0/SB9x0 USB OHCI2 Controller
00:16.0 USB controller: Advanced Micro Devices [AMD] nee ATI SB7x0/SB8x0/SB9x0 USB OHCI0 Controller
00:16.2 USB controller: Advanced Micro Devices [AMD] nee ATI SB7x0/SB8x0/SB9x0 USB EHCI Controller
00:18.0 Host bridge: Advanced Micro Devices [AMD] Family 10h Processor HyperTransport Configuration
00:18.1 Host bridge: Advanced Micro Devices [AMD] Family 10h Processor Address Map
00:18.2 Host bridge: Advanced Micro Devices [AMD] Family 10h Processor DRAM Controller
00:18.3 Host bridge: Advanced Micro Devices [AMD] Family 10h Processor Miscellaneous Control
00:18.4 Host bridge: Advanced Micro Devices [AMD] Family 10h Processor Link Control
01:00.0 VGA compatible controller: Advanced Micro Devices [AMD] nee ATI RV730XT [Radeon HD 4670]
01:00.1 Audio device: Advanced Micro Devices [AMD] nee ATI RV710/730 HDMI Audio [Radeon HD 4000 series]
02:00.0 SATA controller: ASMedia Technology Inc. ASM1062 Serial ATA Controller (rev 01)
03:00.0 Ethernet controller: Intel Corporation 82583V Gigabit Network Connection
04:00.0 USB controller: ASMedia Technology Inc. ASM1042 SuperSpeed USB Host Controller
05:00.0 USB controller: ASMedia Technology Inc. ASM1042 SuperSpeed USB Host Controller
06:00.0 USB controller: ASMedia Technology Inc. ASM1042 SuperSpeed USB Host Controller
07:00.0 PCI bridge: PLX Technology, Inc. PEX8112 x1 Lane PCI Express-to-PCI Bridge (rev aa)
08:04.0 Multimedia audio controller: C-Media Electronics Inc CMI8788
[Oxygen HD Audio]

if you've any questions, pls. CC me, as I am not subscribed!
cheers, f.

Attachment: boot_msg.jpg
Description: JPEG image

Bisecting: 4579 revisions left to test after this (roughly 12 steps)
[614a6d4341b3760ca98a1c2c09141b71db5d1e90] Merge branch 'for-3.6' of git://git.kernel.org/pub/scm/linux/kernel/git/tj/cgroup
Bisecting: 2627 revisions left to test after this (roughly 11 steps)
[320f5ea0cedc08ef65d67e056bcb9d181386ef2c] genetlink: define lockdep_genl_is_held() when CONFIG_LOCKDEP
Bisecting: 1330 revisions left to test after this (roughly 10 steps)
[a17f29a5e98c0a32a900a773083c719e27f4bc0e] Merge tag 'defconfig' of git://git.kernel.org/pub/scm/linux/kernel/git/arm/arm-soc
Bisecting: 648 revisions left to test after this (roughly 9 steps)
[e8ff13b0bf88b5e696323a1eec877783d965b3c6] Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/jikos/hid
Bisecting: 320 revisions left to test after this (roughly 8 steps)
[914311c9fb9bc01a215de9d848b72b5449c0e342] Merge tag 'pinctrl-for-v3.6' of git://git.kernel.org/pub/scm/linux/kernel/git/linusw/linux-pinctrl
Bisecting: 167 revisions left to test after this (roughly 7 steps)
[6dd53aa4563a2c69e80a24d2cc68d484b5ea2891] Merge tag 'for-3.6' of git://git.kernel.org/pub/scm/linux/kernel/git/helgaas/pci
Bisecting: 106 revisions left to test after this (roughly 6 steps)
[9161c3b796a2841a9a7be3d9c9dd121269ce90e8] Merge tag 'clk-for-linus' of git://git.linaro.org/people/mturquette/linux
Bisecting: 24 revisions left to test after this (roughly 5 steps)
[395e51f18d3b26619c1c462b7a1c0226846ac0a9] Merge branches 'iommu/fixes', 'x86/amd', 'groups', 'arm/tegra' and 'api/domain-attr' into next
Bisecting: 26 revisions left to test after this (roughly 4 steps)
[8ce44a2174c3b07950d7a8d44774e23e60518205] Merge tag 'v3.5-rc7' into arm/tegra
Bisecting: 17 revisions left to test after this (roughly 4 steps)
[2c0ae1720c09c6f8fc8c6bcece29dc80b08ca1af] iommu/amd: Convert iommu initialization to state machine
Bisecting: 9 revisions left to test after this (roughly 3 steps)
[7d43c2e42cb1e436f97c1763150e4e1122ae0d57] iommu: Remove group_mf
Bisecting: 3 revisions left to test after this (roughly 2 steps)
[9dcd61303af862c279df86aa97fde7ce371be774] amd_iommu: Support IOMMU groups
Bisecting: 1 revision left to test after this (roughly 1 step)
[74416e1e07660798379ce10a210bf4fd35b84f9f] driver core: Add iommu_group tracking to struct device
Bisecting: 0 revisions left to test after this (roughly 0 steps)
[d72e31c9374627068df29da8085ca18c92ae35d3] iommu: IOMMU Groups
9dcd61303af862c279df86aa97fde7ce371be774 is the first bad commit
commit 9dcd61303af862c279df86aa97fde7ce371be774
Author: Alex Williamson <alex.williamson@xxxxxxxxxx>
Date: Wed May 30 14:19:07 2012 -0600

amd_iommu: Support IOMMU groups

Add IOMMU group support to AMD-Vi device init and uninit code.
Existing notifiers make sure this gets called for each device.

Signed-off-by: Alex Williamson <alex.williamson@xxxxxxxxxx>
Signed-off-by: Joerg Roedel <joerg.roedel@xxxxxxx>

:040000 040000 2f6b1b8e104d6dfec0abaa9646750f9b5a4f4060 837ae95e84f6d3553457c4df595a9caa56843c03 M drivers