2016-03-14 06:40:53

by Stephen Rothwell

[permalink] [raw]
Subject: linux-next: Tree for Mar 14

Hi all,

Changes since 20160311:

The vfs tree gained a conflict against Linus' tree. I also applied a
patch for a known runtime bug.

The tip tree gained a conflict against the mips tree.

The aio tree still had a build failure so I removed several commits
from it. It also gained a conflict against the vfs tree.

Non-merge commits (relative to Linus' tree): 11202
8646 files changed, 426680 insertions(+), 211740 deletions(-)

----------------------------------------------------------------------------

I have created today's linux-next tree at
git://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git
(patches at http://www.kernel.org/pub/linux/kernel/next/ ). If you
are tracking the linux-next tree using git, you should not use "git pull"
to do so as that will try to merge the new linux-next release with the
old one. You should use "git fetch" and checkout or reset to the new
master.

You can see which trees have been included by looking in the Next/Trees
file in the source. There are also quilt-import.log and merge.log
files in the Next directory. Between each merge, the tree was built
with a ppc64_defconfig for powerpc and an allmodconfig (with
CONFIG_BUILD_DOCSRC=n) for x86_64, a multi_v7_defconfig for arm and a
native build of tools/perf. After the final fixups (if any), I do an
x86_64 modules_install followed by builds for x86_64 allnoconfig,
powerpc allnoconfig (32 and 64 bit), ppc44x_defconfig, allyesconfig
(this fails its final link) and pseries_le_defconfig and i386, sparc
and sparc64 defconfig.

Below is a summary of the state of the merge.

I am currently merging 231 trees (counting Linus' and 35 trees of patches
pending for Linus' tree).

Stats about the size of the tree over time can be seen at
http://neuling.org/linux-next-size.html .

Status of my local build tests will be at
http://kisskb.ellerman.id.au/linux-next . If maintainers want to give
advice about cross compilers/configs that work, we are always open to add
more builds.

Thanks to Randy Dunlap for doing many randconfig builds. And to Paul
Gortmaker for triage and bug fixes.

--
Cheers,
Stephen Rothwell

$ git checkout master
$ git reset --hard stable
Merging origin/master (f414ca64be4b Merge branch 'for-linus' of git://git.kernel.dk/linux-block)
Merging fixes/master (36f90b0a2ddd Linux 4.5-rc2)
Merging kbuild-current/rc-fixes (3d1450d54a4f Makefile: Force gzip and xz on module install)
Merging arc-current/for-curr (f778cc657176 ARC: [BE] readl()/writel() to work in Big Endian CPU configuration)
Merging arm-current/fixes (f474c8c857d9 ARM: 8544/1: set_memory_xx fixes)
Merging m68k-current/for-linus (daf670bc9d36 m68k/defconfig: Update defconfigs for v4.5-rc1)
Merging metag-fixes/fixes (0164a711c97b metag: Fix ioremap_wc/ioremap_cached build errors)
Merging powerpc-fixes/fixes (37c5e942bb2e powerpc/fsl-book3e: Avoid lbarx on e5500)
Merging powerpc-merge-mpe/fixes (bc0195aad0da Linux 4.2-rc2)
Merging sparc/master (f983cd32cd5d Merge branch 'parisc-4.5-2' of git://git.kernel.org/pub/scm/linux/kernel/git/deller/parisc-linux)
Merging net/master (133800d1f028 sctp: fix copying more bytes than expected in sctp_add_bind_addr)
Merging ipsec/master (52717aa43094 vti: Fix recource leeks on pmtu discovery)
Merging ipvs/master (7617a24f83b5 ipvs: correct initial offset of Call-ID header search in SIP persistence engine)
Merging wireless-drivers/master (10da848f67a7 ssb: host_soc depends on sprom)
Merging mac80211/master (2af8c4dc2e9c mac80211_hwsim: treat as part of mac80211 for MAINTAINERS)
Merging sound-current/for-linus (6ef2f68fa38b ALSA: hda - fix the mic mute button and led problem for a Lenovo AIO)
Merging pci-current/for-linus (54c6e2dd00c3 PCI: Allow a NULL "parent" pointer in pci_bus_assign_domain_nr())
Merging driver-core.current/driver-core-linus (18558cae0272 Linux 4.5-rc4)
Merging tty.current/tty-linus (18558cae0272 Linux 4.5-rc4)
Merging usb.current/usb-linus (861c3849222b Merge tag 'usb-serial-4.5-rc7' of git://git.kernel.org/pub/scm/linux/kernel/git/johan/usb-serial into usb-linus)
Merging usb-gadget-fixes/fixes (3b2435192fe9 MAINTAINERS: drop OMAP USB and MUSB maintainership)
Merging usb-serial-fixes/usb-linus (f6cede5b49e8 Linux 4.5-rc7)
Merging usb-chipidea-fixes/ci-for-usb-stable (d144dfea8af7 usb: chipidea: otg: change workqueue ci_otg as freezable)
Merging staging.current/staging-linus (fc77dbd34c5c Linux 4.5-rc6)
Merging char-misc.current/char-misc-linus (fc77dbd34c5c Linux 4.5-rc6)
Merging input-current/for-linus (ff84dabe3c6e Input: colibri-vf50-ts - add missing #include <linux/of.h>)
Merging crypto-current/master (8a3978ad55fb crypto: marvell/cesa - fix test in mv_cesa_dev_dma_init())
Merging ide/master (e04a2bd6d8c9 drivers/ide: make ide-scan-pci.c driver explicitly non-modular)
Merging devicetree-current/devicetree/merge (f76502aa9140 of/dynamic: Fix test for PPC_PSERIES)
Merging rr-fixes/fixes (8244062ef1e5 modules: fix longstanding /proc/kallsyms vs module insertion race.)
Merging vfio-fixes/for-linus (8160c4e45582 vfio: fix ioctl error handling)
Merging kselftest-fixes/fixes (92e963f50fc7 Linux 4.5-rc1)
Merging backlight-fixes/for-backlight-fixes (68feaca0b13e backlight: pwm: Handle EPROBE_DEFER while requesting the PWM)
Merging ftrace-fixes/for-next-urgent (6224beb12e19 tracing: Have branch tracer use recursive field of task struct)
Merging mfd-fixes/for-mfd-fixes (1b52e50f2a40 mfd: max77843: Fix max77843_chg_init() return on error)
Merging drm-intel-fixes/for-linux-next-fixes (0bbca274a31c drm/i915: Actually retry with bit-banging after GMBUS timeout)
Merging asm-generic/master (a1cbaad75a8f asm-generic: remove old nonatomic-io wrapper files)
Merging arc/for-next (1d28d704a1bd ARC: [intc-*] switch to linear domain)
Merging arm/for-next (1b3bf847977c Merge branches 'amba', 'fixes', 'misc' and 'tauros2' into for-next)
Merging arm-perf/for-next/perf (fe638401a091 arm64: perf: Extend ARMV8_EVTYPE_MASK to include PMCR.LC)
Merging arm-soc/for-next (6dae7e7ff600 ARM: SoC: Document merges)
Merging at91/at91-next (c40abde4b32e Merge branch 'at91-4.6-dt' into at91-next)
Merging bcm2835-dt/bcm2835-dt-next (1305141d1a72 ARM: bcm2835: add bcm2835-aux-uart support to DT)
Merging bcm2835-soc/bcm2835-soc-next (92e963f50fc7 Linux 4.5-rc1)
Merging bcm2835-drivers/bcm2835-drivers-next (92e963f50fc7 Linux 4.5-rc1)
Merging bcm2835-defconfig/bcm2835-defconfig-next (0a05d3b71ada ARM: multi_v7_defconfig: Enable BCM283x)
Merging berlin/berlin/for-next (9a7e06833249 Merge branch 'berlin/fixes' into berlin/for-next)
Merging cortex-m/for-next (f719a0d6a854 ARM: efm32: switch to vendor,device compatible strings)
Merging imx-mxs/for-next (9e26d5f485d7 Merge branch 'imx/defconfig' into for-next)
Merging keystone/next (8fdbbde4a16c Merge branch 'for_4.6/keystone_dts' into next)
CONFLICT (content): Merge conflict in arch/arm/boot/dts/Makefile
Merging mvebu/for-next (5be603bdf1a7 Merge branch 'mvebu/dt64' into mvebu/for-next)
Merging omap/for-next (aec24f100558 Merge branch 'omap-for-v4.6/fixes-not-urgent' into for-next)
CONFLICT (content): Merge conflict in drivers/clk/Kconfig
CONFLICT (content): Merge conflict in arch/arm/boot/dts/logicpd-torpedo-som.dtsi
Merging omap-pending/for-next (8fe097a3d99e ARM: DRA7: hwmod: Add reset data for PCIe)
Merging qcom/for-next (f17d0d578214 ARM: dts: msm8974: Add SCM firmware node)
CONFLICT (content): Merge conflict in MAINTAINERS
Merging renesas/next (f094c5346231 Merge branch 'heads/sh-drivers-for-v4.6' into next)
Merging rockchip/for-next (545d1b355f3a Merge branch 'v4.6-armsoc/dts64' into for-next)
Merging rpi/for-rpi-next (bc0195aad0da Linux 4.2-rc2)
Merging samsung/for-next (92e963f50fc7 Linux 4.5-rc1)
Merging samsung-krzk/for-next (466369e4e14b Merge branch 'next/defconfig' into for-next)
Merging sunxi/sunxi/for-next (73e5379b0442 Merge branches 'sunxi/clocks-for-4.6', 'sunxi/config64-for-4.6' and 'sunxi/dt-for-4.6' into sunxi/for-next)
Merging tegra/for-next (755f165105b1 Merge branch for-4.6/arm64 into for-next)
Merging arm64/for-next/core (2776e0e8ef68 arm64: kasan: Fix zero shadow mapping overriding kernel image shadow)
CONFLICT (content): Merge conflict in arch/arm64/mm/init.c
CONFLICT (content): Merge conflict in arch/arm64/include/asm/cputype.h
Merging blackfin/for-linus (d91e14b3b9e1 eth: bf609 eth clock: add pclk clock for stmmac driver probe)
Merging c6x/for-linux-next (ca3060d39ae7 c6x: Use generic clkdev.h header)
Merging cris/for-next (f9f3f864b5e8 cris: Fix section mismatches in architecture startup code)
Merging h8300/h8300-next (11943fdd17d2 h8300: dts: Rename the serial port clock to fck)
Merging hexagon/linux-next (02cc2ccfe771 Revert "Hexagon: fix signal.c compile error")
Merging ia64/next (7e26e9ff0a93 pstore: Fix return type of pstore_is_mounted())
Merging m68k/for-next (a9c9d9aca4e7 zorro: Use kobj_to_dev())
Merging m68knommu/for-next (a3595962d824 m68knommu: remove obsolete 68360 support)
Merging metag/for-next (c8b6ad8b3f87 metag: ftrace: remove the misleading comment for ftrace_dyn_arch_init)
Merging microblaze/next (c937adb7ec91 microblaze: Wire up userfaultfd, membarrier, mlock2 syscalls)
Merging mips/mips-for-linux-next (a6cab95ec1ae Merge branch '4.5-fixes' into mips-for-linux-next)
Merging nios2/for-next (8e3d7c834ba0 nios2: fix cache coherency)
Merging parisc-hd/for-next (afd2ff9b7e1b Linux 4.4)
Merging powerpc/next (58bffb5bbb23 powerpc/perf: Fix misleading comment in pmao_restore_workaround())
Merging powerpc-mpe/next (bc0195aad0da Linux 4.2-rc2)
Merging fsl/next (fba4e9f9898a powerpc/fsl/dts: Add "jedec,spi-nor" flash compatible)
Merging mpc5xxx/next (39e69f55f857 powerpc: Introduce the use of the managed version of kzalloc)
Merging s390/features (e370e4769463 s390: fix floating pointer register corruption (again))
Merging sparc-next/master (9f935675d41a Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/dtor/input)
Merging tile/master (35b90a2939a5 tile: Fix misspellings in comments.)
Merging uml/linux-next (ad32a1f3c36b um: use %lx format specifiers for unsigned longs)
Merging unicore32/unicore32 (d670878e2c9a unicore32: Remove ARCH_HAS_CPUFREQ config option)
Merging xtensa/for_next (c91e02bd9702 xtensa: support hardware breakpoints/watchpoints)
Merging btrfs/next (5e33a2bd7ca7 Btrfs: do not collect ordered extents when logging that inode exists)
Merging btrfs-kdave/for-next (d0a35a162ff9 Merge branch 'for-next-4.6-20160311' into for-next-20160311)
Merging ceph/master (cd8140c673d9 libceph: don't spam dmesg with stray reply warnings)
Merging cifs/for-next (2a4fb270daa9 Merge tag 'armsoc-fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/arm/arm-soc)
Merging configfs/for-next (1ae1602de028 configfs: switch ->default groups to a linked list)
Merging ecryptfs/next (933c32fe0e42 ecryptfs: drop null test before destroy functions)
Merging ext3/for_next (ab73ef46398e quota: Fix possible GPF due to uninitialised pointers)
Merging ext4/dev (600be30a8bc1 ext4: remove i_ioend_count)
Merging f2fs/dev (7442eea805f9 f2fs: fix to avoid unneeded unlock_new_inode)
Merging fscache/fscache (b00c2ae2ed3c FS-Cache: Don't override netfs's primary_index if registering failed)
Merging fuse/for-next (0b5da8db145b fuse: add support for SEEK_HOLE and SEEK_DATA in lseek)
Merging gfs2/for-next (a63be4e6d0e9 GFS2: Eliminate parameter non_block on gfs2_inode_lookup)
Merging jfs/jfs-next (26456955719b jfs: clean up jfs_rename and fix out of order unlock)
Merging nfs/linux-next (ecf782868399 Merge branch 'multipath')
Merging nfsd/nfsd-next (05a162ddfb10 nfsd: block and scsi layout drivers need to depend on CONFIG_BLOCK)
Merging orangefs/for-next (acfcbaf1925f orangefs: make fs_mount_pending static)
Applying: orangfs: update for follow_link to get_link change
Merging overlayfs/overlayfs-next (b81de061fa59 ovl: copy new uid/gid into overlayfs runtime inode)
Merging v9fs/for-next (a333e4bf2556 fs/9p: use fscache mutex rather than spinlock)
Merging ubifs/linux-next (e4f6daac2033 ubi: Fix out of bounds write in volume update code)
Merging xfs/for-next (ab9d1e4f7b02 Merge branch 'xfs-misc-fixes-4.6-3' into for-next)
CONFLICT (content): Merge conflict in fs/xfs/xfs_aops.c
CONFLICT (content): Merge conflict in fs/ext4/inode.c
CONFLICT (content): Merge conflict in fs/ext4/ext4.h
Merging file-locks/linux-next (5af9c2e19da6 Merge branch 'akpm' (patches from Andrew))
Merging vfs/for-next (2cdb420634ba Merge branches 'work.lookups', 'work.misc' and 'work.preadv2' into for-next)
CONFLICT (content): Merge conflict in fs/nfs/nfs4proc.c
Merging pci/next (204a68bf1d55 Merge branch 'pci/resource' into next)
Merging hid/for-next (eebcda9ddebf Merge branch 'for-4.5/upstream-fixes' into for-next)
Merging i2c/i2c/for-next (34b57f40a6a2 i2c: i801: sort IDs alphabetically)
Merging jdelvare-hwmon/master (f02de116250d Documentation/hwmon: Update links in max34440)
Merging dmi/master (c3db05ecf8ac firmware: dmi_scan: Save SMBIOS Type 9 System Slots)
Merging hwmon-staging/hwmon-next (630300d5fcb6 hwmon: Create an NSA320 hardware monitoring driver)
Merging v4l-dvb/master (1752d448bb5e Merge branch 'v4l_for_linus' into to_next)
Merging kbuild/for-next (a4f54c25dec6 Merge branch 'kbuild/misc' into kbuild/for-next)
Merging kconfig/for-next (c0ddc8c745b7 localmodconfig: Use Kbuild files too)
Merging libata/for-next (4b3ec0279397 Merge branch 'for-4.6' into for-next)
Merging pm/linux-next (e6a4261e5a9e Merge branch 'acpi-apei' into linux-next)
Merging idle/next (31ade3b83e18 Linux 4.4-rc3)
Merging thermal/next (33cae63614e6 Merge branches 'thermal-core' and 'thermal-intel' into next)
Merging thermal-soc/next (44fa372da981 Merge branch 'work-linus' into work-next)
Merging ieee1394/for-next (e38e5ce81c3e firewire: ABI documentation: libhinawa uses firewire-cdev)
Merging dlm/next (b81171cb6869 DLM: Save and restore socket callbacks properly)
Merging swiotlb/linux-next (386744425e35 swiotlb: Make linux/swiotlb.h standalone includible)
Merging slave-dma/next (f1de6238f7ed Merge branch 'topic/ioatdma' into next)
Merging net-next/master (dad8aff75424 rxrpc: Replace all unsigned with unsigned int)
Merging ipsec-next/master (cb866e3298cd xfrm: Increment statistic counter on inner mode error)
Merging ipvs-next/master (f6ca9f46f661 netfilter: ipvs: avoid unused variable warnings)
Merging wireless-drivers-next/master (ccfe1e853220 rtl8xxxu: Temporarily disable 8192eu device init)
Merging bluetooth/master (6a0e78072c2a Bluetooth: Fix potential buffer overflow with Add Advertising)
Merging mac80211-next/master (0a87cadbb54e nl80211: add feature for BSS selection support)
Merging rdma/for-next (18558cae0272 Linux 4.5-rc4)
Merging mtd/master (9df4f913eb39 MAINTAINERS: add a maintainer for the NAND subsystem)
Merging l2-mtd/master (6871c1b96de8 mtd: nand: remove kerneldoc for removed function parameter)
Merging crypto/master (34074205bb9f crypto: qat - remove redundant arbiter configuration)
CONFLICT (content): Merge conflict in net/rxrpc/rxkad.c
CONFLICT (content): Merge conflict in net/ipv4/tcp.c
CONFLICT (modify/delete): fs/f2fs/f2fs_crypto.h deleted in HEAD and modified in crypto/master. Version crypto/master of fs/f2fs/f2fs_crypto.h left in tree.
CONFLICT (modify/delete): fs/f2fs/crypto_key.c deleted in HEAD and modified in crypto/master. Version crypto/master of fs/f2fs/crypto_key.c left in tree.
CONFLICT (modify/delete): fs/f2fs/crypto.c deleted in HEAD and modified in crypto/master. Version crypto/master of fs/f2fs/crypto.c left in tree.
CONFLICT (content): Merge conflict in fs/crypto/fname.c
$ git rm -f fs/f2fs/f2fs_crypto.h fs/f2fs/crypto_key.c fs/f2fs/crypto.c
Merging drm/drm-next (550e3b23a53c Merge branch 'drm-next-4.6' of git://people.freedesktop.org/~agd5f/linux into drm-next)
CONFLICT (content): Merge conflict in drivers/gpu/drm/i915/intel_ddi.c
CONFLICT (content): Merge conflict in drivers/gpu/drm/i915/intel_csr.c
CONFLICT (content): Merge conflict in drivers/gpu/drm/exynos/exynos_drm_gem.c
CONFLICT (content): Merge conflict in drivers/gpu/drm/exynos/exynos_drm_fbdev.c
CONFLICT (content): Merge conflict in drivers/gpu/drm/amd/amdgpu/amdgpu_display.c
CONFLICT (content): Merge conflict in drivers/gpu/drm/amd/amdgpu/amdgpu.h
Applying: drm: fix bad merge of drivers/gpu/drm/amd/amdgpu/amdgpu_ttm.c
Merging drm-panel/drm/panel/for-next (c8a3b2ae0713 drm/bridge: Make (pre/post) enable/disable callbacks optional)
Merging drm-intel/for-linux-next (842e03076ffb drm/i915: Update state before setting watermarks, v2.)
Merging drm-tegra/drm/tegra/for-next (5dff6a2179a0 gpu: host1x: Use a signed return type for do_relocs())
Merging drm-misc/topic/drm-misc (c1f415c9acb5 drm: atomic helper: do not unreference error pointer)
Merging drm-exynos/exynos-drm/for-next (25364a9e54fb Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/jikos/hid)
Merging drm-msm/msm-next (fcda50c8f484 drm/msm: rename hdmi symbols)
Merging hdlcd/for-upstream/hdlcd (8bb912e606b7 arm64: Juno: Add HDLCD support to the Juno boards.)
CONFLICT (content): Merge conflict in arch/arm64/boot/dts/arm/juno-base.dtsi
Merging drm-vc4/drm-vc4-next (fc04023fafec drm/vc4: Add support for YUV planes.)
Merging regmap/for-next (d25263d917ca Merge remote-tracking branch 'regmap/topic/update-bits' into regmap-next)
Merging sound/for-next (0ab1ace85620 ALSA: pcm: Avoid "BUG:" string for warnings again)
Merging sound-asoc/for-next (d4a6360f19c1 Merge remote-tracking branches 'asoc/topic/sunxi', 'asoc/topic/topology' and 'asoc/topic/wm8974' into asoc-next)
Merging modules/modules-next (b37a05c083c8 Merge branch 'akpm' (patches from Andrew))
Merging input/next (9979c1c70724 Input: snvs_pwrkey - fix returned value check of syscon_regmap_lookup_by_phandle())
Merging block/for-next (ee0ec1c315af Merge branch 'for-4.6/drivers' into for-next)
CONFLICT (content): Merge conflict in drivers/nvme/host/pci.c
CONFLICT (content): Merge conflict in drivers/nvme/host/core.c
Applying: nvme: fix up for "split pci module out of core module"
Merging device-mapper/for-next (c3667cc61904 dm thin: consistently return -ENOSPC if pool has run out of data space)
Merging pcmcia/master (e8e68fd86d22 pcmcia: do not break rsrc_nonstatic when handling anonymous cards)
Merging mmc-uh/next (67b3fcff2da9 mmc: mediatek: Use mmc_regulator_set_vqmmc in start_signal_voltage_switch)
Merging md/for-next (fb3229d5cd4c md/raid5: output stripe state for debug)
Merging mfd/for-mfd-next (acb61da505d5 mfd: intel-lpss: Pass I2C configuration via properties on BXT)
Merging backlight/for-backlight-next (60d613d6aef4 backlight: pwm_bl: Free PWM requested by legacy API on error path)
Merging battery/master (0df6e32b0e36 power: pm2301-charger: use __maybe_unused to hide pm functions)
Merging omap_dss2/for-next (32ad61951574 video: fbdev: sis: remove unused variable)
Merging regulator/for-next (768e66686cfe Merge remote-tracking branches 'regulator/topic/s5m8767' and 'regulator/topic/vexpress' into regulator-next)
Merging security/next (88a1b564a20e Merge tag 'keys-next-20160303' of git://git.kernel.org/pub/scm/linux/kernel/git/dhowells/linux-fs into next)
Merging integrity/next (95ee08fa373b ima: require signed IMA policy)
Merging keys/keys-next (88a1b564a20e Merge tag 'keys-next-20160303' of git://git.kernel.org/pub/scm/linux/kernel/git/dhowells/linux-fs into next)
Merging selinux/next (9090a2d5e3e6 selinux: use absolute path to include directory)
Merging tpmdd/next (2c4934e534eb Merge branch 'master' into next)
Merging watchdog/master (c0732e8a5bb1 watchdog: Ensure that wdd is not dereferenced if NULL)
CONFLICT (content): Merge conflict in arch/arm64/boot/dts/arm/foundation-v8.dts
Merging iommu/next (d459a0941140 Merge branches 'iommu/fixes', 'arm/rockchip', 'arm/exynos', 'arm/smmu', 'arm/mediatek', 'arm/io-pgtable', 'arm/renesas' and 'core' into next)
CONFLICT (content): Merge conflict in arch/arm64/boot/dts/mediatek/mt8173.dtsi
Merging dwmw2-iommu/master (46924008273e iommu/vt-d: Clear PPR bit to ensure we get more page request interrupts)
Merging vfio/next (c4aec3101319 vfio/pci: return -EFAULT if copy_to_user fails)
Merging jc_docs/docs-next (abfa6cd8cda7 modsign: Fix documentation on module signing enforcement parameter.)
Merging trivial/for-next (d00cd819d7df drivers/rtc: broken link fix)
Merging audit/next (fd97646b0595 audit: Fix typo in comment)
Merging devicetree/devicetree/next (48a9b733e644 of/irq: Rename "intc_desc" to "of_intc_desc" to fix OF on sh)
Merging dt-rh/for-next (fa38a82096a1 scripts/dtc: Update to upstream version 53bf130b1cdd)
Merging mailbox/mailbox-for-next (f70ed3b5dc8b mailbox: rockchip: Add Rockchip mailbox driver)
Merging spi/for-next (c508709bcffb Merge remote-tracking branches 'spi/topic/res', 'spi/topic/rockchip', 'spi/topic/sh', 'spi/topic/ti-qspi' and 'spi/topic/xilinx' into spi-next)
Merging tip/auto-latest (42357f7330db Merge branch 'x86/urgent')
CONFLICT (content): Merge conflict in kernel/sched/sched.h
CONFLICT (content): Merge conflict in drivers/gpu/drm/omapdrm/omap_gem.c
CONFLICT (content): Merge conflict in drivers/firmware/efi/libstub/efistub.h
CONFLICT (content): Merge conflict in drivers/firmware/efi/libstub/arm64-stub.c
CONFLICT (content): Merge conflict in drivers/cpufreq/intel_pstate.c
CONFLICT (content): Merge conflict in arch/mips/Kconfig
Merging clockevents/clockevents/next (23cb25d0f407 clocksource/drivers/arm_global_timer: Register delay timer)
CONFLICT (content): Merge conflict in drivers/clocksource/Kconfig
Merging edac/linux_next (12f0721c5a70 sb_edac: correctly fetch DIMM width on Ivy Bridge and Haswell)
Merging edac-amd/for-next (7cc5a5d3cd4c ARM: socfpga: Enable OCRAM ECC on startup)
Merging irqchip/irqchip/for-next (a66ce4b7d9d2 Merge branch 'irqchip/mvebu' into irqchip/for-next)
Merging ftrace/for-next (1cf8067b5418 tracing: Fix typoes in code comment and printk in trace_nop.c)
Merging rcu/rcu/next (38abb2abb9de locktorture: Fix nil pointer dereferencing for cleanup paths)
Merging kvm/linux-next (f958ee745f70 Merge tag 'kvm-s390-next-4.6-2' of git://git.kernel.org/pub/scm/linux/kernel/git/kvms390/linux into HEAD)
CONFLICT (content): Merge conflict in arch/powerpc/kvm/book3s_64_vio_hv.c
CONFLICT (content): Merge conflict in arch/arm64/kvm/hyp.S
CONFLICT (content): Merge conflict in arch/arm64/kernel/cpufeature.c
CONFLICT (content): Merge conflict in arch/arm64/include/asm/cpufeature.h
CONFLICT (content): Merge conflict in arch/arm/kvm/arm.c
Merging kvm-arm/next (b40c4892d175 arm64: KVM: vgic-v3: Only wipe LRs on vcpu exit)
Merging kvm-ppc/kvm-ppc-next (c63517c2e381 KVM: PPC: Book3S: correct width in XER handling)
Merging kvm-ppc-paulus/kvm-ppc-next (58ded4201ff0 KVM: PPC: Add support for 64bit TCE windows)
Merging kvms390/next (c54f0d6ae057 KVM: s390: allocate only one DMA page per VM)
Merging xen-tip/linux-next (4478c407ea38 xen/x86: Drop mode-selecting ifdefs in startup_xen())
Merging percpu/for-next (18fc93fd6412 percpu: remove PERCPU_ENOUGH_ROOM which is stale definition)
Merging workqueues/for-next (22aceb317678 workqueue: Fix comment for work_on_cpu())
Merging drivers-x86/for-next (5b4466b8f63b hp-wmi: Remove GPS rfkill support via pre-2009 interface)
Merging chrome-platform/for-next (1dc318166a9a platform/chrome: use to_platform_device())
Merging hsi/for-next (87d99063be01 HSI: ssi-protocol: Use handshake logic from n950)
Merging leds/for-next (9e91f6598479 leds: triggers: simplify led_trigger_store)
Merging ipmi/for-next (42a018c63aee ipmi: do not probe ACPI devices if si_tryacpi is unset)
Merging driver-core/driver-core-next (112d125a8947 Revert "driver-core: platform: probe of-devices only using list of compatibles")
Merging tty/tty-next (a95fc9c8e576 serial: 8250: describe CONFIG_SERIAL_8250_RSA)
Merging usb/usb-next (ce53bfc4374c Merge tag 'usb-serial-4.6-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/johan/usb-serial into usb-next)
CONFLICT (content): Merge conflict in Documentation/kernel-parameters.txt
Merging usb-gadget/next (0561f77e2db9 usb: gadget: f_acm: Fix configfs attr name)
Merging usb-serial/usb-next (7084fa868b50 USB: serial: cp210x: add new access functions for large registers)
Merging usb-chipidea-next/ci-for-usb-next (01b8479400ab usb: chipidea: imx: avoid EPROBE_DEFER printed as error)
Merging staging/staging-next (2df122bdebab staging: lustre: fix aligments in lnet selftest)
CONFLICT (content): Merge conflict in include/linux/irqdomain.h
CONFLICT (content): Merge conflict in drivers/watchdog/Makefile
CONFLICT (content): Merge conflict in drivers/watchdog/Kconfig
CONFLICT (content): Merge conflict in drivers/staging/media/davinci_vpfe/davinci_vpfe_user.h
CONFLICT (content): Merge conflict in drivers/staging/lustre/lnet/libcfs/linux/linux-crypto.c
CONFLICT (modify/delete): drivers/staging/dgap/dgap.c deleted in staging/staging-next and modified in HEAD. Version HEAD of drivers/staging/dgap/dgap.c left in tree.
CONFLICT (content): Merge conflict in drivers/media/dvb-frontends/mn88473.c
CONFLICT (content): Merge conflict in drivers/base/firmware_class.c
$ git rm -f drivers/staging/dgap/dgap.c
Applying: staging: mark CONFIG_FSL_MC_BUS as broken for now
Merging char-misc/char-misc-next (16617535684f goldfish: Fix build error of missing ioremap on UM)
Merging extcon/extcon-next (ae64e42cc2b3 extcon: palmas: Drop IRQF_EARLY_RESUME flag)
Merging cgroup/for-next (10c2c49ff21e Merge branch 'for-4.6' into for-next)
Merging scsi/for-next (d6ea0c65b523 Merge branch 'fixes' into for-next)
Merging target-updates/for-next (59bde5aad901 target/iblock: Use -EAGAIN/-ENOMEM to propigate SAM BUSY/TASK_SET_FULL)
Merging target-merge/for-next-merge (4d0a0090695c cxgb4: update Kconfig and Makefile)
CONFLICT (content): Merge conflict in drivers/net/ethernet/chelsio/cxgb4/t4fw_api.h
Merging pinctrl/for-next (3c177a166253 pinctrl: single: Use a separate lockdep class)
Merging vhost/linux-next (030881372460 vhost_net: basic polling support)
Merging remoteproc/for-next (7a6271a80cae remoteproc/wkup_m3: Use MODULE_DEVICE_TABLE to export alias)
Merging rpmsg/for-next (69ae9895d3fe MAINTAINERS: Add co-maintainer for remoteproc subsystems)
Merging gpio/for-next (ec57bde1a1f2 Merge branch 'devel' into for-next)
CONFLICT (content): Merge conflict in tools/Makefile
CONFLICT (content): Merge conflict in drivers/pinctrl/sunxi/pinctrl-sunxi.c
CONFLICT (content): Merge conflict in drivers/gpio/Makefile
CONFLICT (content): Merge conflict in drivers/gpio/Kconfig
CONFLICT (content): Merge conflict in MAINTAINERS
Merging dma-mapping/dma-mapping-next (d770e558e219 Linux 4.2-rc1)
Merging pwm/for-next (116e5575805d pwm: brcmstb: Fix check of devm_ioremap_resource() return code)
Merging dma-buf/for-next (8f496d3fcc9d dma-buf/fence: fix fence_is_later v2)
Merging userns/for-next (f2ca379642d7 namei: permit linking with CAP_FOWNER in userns)
Merging ktest/for-next (b953c0d234bc Linux 4.1)
Merging clk/clk-next (d3781a74bcc9 clk: fixed-rate: Remove CLK_IS_ROOT)
CONFLICT (content): Merge conflict in drivers/clk/at91/clk-master.c
CONFLICT (content): Merge conflict in drivers/clk/at91/clk-main.c
Merging aio/master (ccca061cffd4 aio: revert addition of io_send_sig() in generic_write_checks)
CONFLICT (content): Merge conflict in fs/read_write.c
Applying: vfs: do_loop_readv_writev() API change merge fix
Applying: vfs: do_loop_readv_writev API merge fix up part 2
Applying: vfs: do_loop_readv_writev API merge fix part 3
Merging kselftest/next (6accd8e9bf22 selftests: media_dcevice_test fix usage information)
Merging y2038/y2038 (477b8541b31f qla2xxx: Remove use of 'struct timeval')
Merging luto-misc/next (afd2ff9b7e1b Linux 4.4)
Merging borntraeger/linux-next (36f90b0a2ddd Linux 4.5-rc2)
Merging livepatching/for-next (d6566346e17b Merge branch 'for-4.6/upstream' into for-next)
Merging coresight/next (f1e2c1b13dfa drivers/hwtracing: make coresight-etm-perf.c explicitly non-modular)
CONFLICT (content): Merge conflict in drivers/hwtracing/coresight/coresight-etm3x.c
Merging rtc/rtc-next (4baecb6d9a04 rtc: ds3232: use rtc->ops_lock to protect alarm operations)
Merging hwspinlock/for-next (bd5717a4632c hwspinlock: qcom: Correct msb in regmap_field)
Merging nvdimm/libnvdimm-for-next (489011652a2d Merge branch 'for-4.6/pfn' into libnvdimm-for-next)
Applying: vfs: regression fix
Merging akpm-current/current (7d1ac13b79b1 ipc/msg.c: use freezable blocking call)
CONFLICT (content): Merge conflict in mm/mempool.c
CONFLICT (content): Merge conflict in mm/huge_memory.c
CONFLICT (content): Merge conflict in include/linux/huge_mm.h
CONFLICT (content): Merge conflict in fs/ocfs2/aops.c
CONFLICT (content): Merge conflict in drivers/firmware/efi/libstub/Makefile
CONFLICT (content): Merge conflict in arch/x86/realmode/rm/Makefile
CONFLICT (content): Merge conflict in arch/x86/kernel/Makefile
CONFLICT (content): Merge conflict in arch/x86/entry/vdso/Makefile
CONFLICT (content): Merge conflict in arch/x86/boot/compressed/Makefile
CONFLICT (content): Merge conflict in arch/x86/boot/Makefile
CONFLICT (content): Merge conflict in arch/mips/Kconfig
$ git checkout -b akpm remotes/origin/akpm/master
Applying: drivers/net/wireless/intel/iwlwifi/dvm/calib.c: simplfy min() expression
Applying: staging/goldfish: use 6-arg get_user_pages()
Applying: mm/mprotect.c: don't imply PROT_EXEC on non-exec fs
Applying: kernel/signal.c: add compile-time check for __ARCH_SI_PREAMBLE_SIZE
Applying: memremap: don't modify flags
Applying: memremap: add MEMREMAP_WC flag
Applying: drivers: dma-coherent: use MEMREMAP_WC for DMA_MEMORY_MAP
Applying: drivers: dma-coherent: use memset_io for DMA_MEMORY_IO mappings
Applying: kernel/...: convert pr_warning to pr_warn
Applying: dma-rename-dma__writecombine-to-dma__wc-checkpatch-fixes
Applying: alpha/extable: use generic search and sort routines
Applying: s390/extable: use generic search and sort routines
Applying: x86/extable: use generic search and sort routines
Applying: ia64/extable: use generic search and sort routines
Merging akpm/master (b80a97cf74b9 ia64/extable: use generic search and sort routines)


2016-03-14 14:37:47

by Guenter Roeck

[permalink] [raw]
Subject: Re: linux-next: Tree for Mar 14

On Mon, Mar 14, 2016 at 05:40:37PM +1100, Stephen Rothwell wrote:
> Hi all,
>
> Changes since 20160311:
>
> The vfs tree gained a conflict against Linus' tree. I also applied a
> patch for a known runtime bug.
>
> The tip tree gained a conflict against the mips tree.
>
> The aio tree still had a build failure so I removed several commits
> from it. It also gained a conflict against the vfs tree.
>
> Non-merge commits (relative to Linus' tree): 11202
> 8646 files changed, 426680 insertions(+), 211740 deletions(-)
>

To give people an idea what to expect in the merge window, here are my current
build and runtime test results. Some of the runtime failures are due to the
newly introduced i2c bug, but many (including the arm64 boot failures) have
been around for a while.

Build results:
total: 145 pass: 131 fail: 14
Failed builds:
arc:defconfig
arc:allnoconfig
arc:tb10x_defconfig
arc:axs103_defconfig
arc:nsim_hs_smp_defconfig
arc:vdk_hs38_smp_defconfig
avr32:defconfig
avr32:merisc_defconfig
avr32:atngw100mkii_evklcd101_defconfig
nios2:3c120_defconfig
unicore32:defconfig
unicore32:allnoconfig
x86_64:allyesconfig
x86_64:allmodconfig

Qemu test results:
total: 96 pass: 69 fail: 27
Failed tests:
arm:imx25-pdk:imx_v4_v5_defconfig:imx25-pdk
arm:kzm:imx_v6_v7_defconfig
arm:beagle:multi_v7_defconfig:omap3-beagle
arm:beaglexm:multi_v7_defconfig:omap3-beagle-xm
arm:overo:multi_v7_defconfig:omap3-overo-tobi
arm:vexpress-a9:multi_v7_defconfig:vexpress-v2p-ca9
arm:vexpress-a15:multi_v7_defconfig:vexpress-v2p-ca15-tc1
arm:xilinx-zynq-a9:multi_v7_defconfig:zynq-zc702
arm:xilinx-zynq-a9:multi_v7_defconfig:zynq-zc706
arm:xilinx-zynq-a9:multi_v7_defconfig:zynq-zed
arm:smdkc210:multi_v7_defconfig:exynos4210-smdkv310
arm:smdkc210:exynos_defconfig:exynos4210-smdkv310
arm:beagle:omap2plus_defconfig:omap3-beagle
arm:beaglexm:omap2plus_defconfig:omap3-beagle-xm
arm:overo:omap2plus_defconfig:omap3-overo-tobi
arm:realview-pb-a8:realview_defconfig
arm:realview-eb-mpcore:realview-smp_defconfig
arm64:smp:defconfig
arm64:nosmp:defconfig
mips:mips_malta_smp_defconfig
mips64:smp:mips_malta64_defconfig
mips:mipsel_malta_smp_defconfig
mips:mipsel_malta64_smp_defconfig
powerpc:mpc8544ds:mpc85xx_defconfig
powerpc:mpc8544ds:mpc85xx_smp_defconfig
powerpc:nosmp:ppc64_e5500_defconfig
powerpc:smp:ppc64_e5500_defconfig

Details are available at http://kerneltests.org/builders.

Guenter

2016-03-14 16:53:21

by James Morse

[permalink] [raw]
Subject: Re: linux-next: Tree for Mar 14

Hi Guenter,

On 14/03/16 14:37, Guenter Roeck wrote:
> To give people an idea what to expect in the merge window, here are my current
> build and runtime test results. Some of the runtime failures are due to the
> newly introduced i2c bug, but many (including the arm64 boot failures) have
> been around for a while.

> Qemu test results:
> total: 96 pass: 69 fail: 27
> Failed tests:

> arm64:smp:defconfig

This may be due to this qemu bug: http://patchwork.ozlabs.org/patch/585237/


> arm64:nosmp:defconfig

Since 4b3dc9679cf7 ("arm64: force CONFIG_SMP=y and remove redundant #ifdefs"),
this may just be testing the smp case again - unless your qemu config is
different too.


> Details are available at http://kerneltests.org/builders.

Thanks - this looks like a mine of information!


James

2016-03-14 19:18:14

by Guenter Roeck

[permalink] [raw]
Subject: Re: linux-next: Tree for Mar 14

On Mon, Mar 14, 2016 at 04:51:51PM +0000, James Morse wrote:
> Hi Guenter,
>
> On 14/03/16 14:37, Guenter Roeck wrote:
> > To give people an idea what to expect in the merge window, here are my current
> > build and runtime test results. Some of the runtime failures are due to the
> > newly introduced i2c bug, but many (including the arm64 boot failures) have
> > been around for a while.
>
> > Qemu test results:
> > total: 96 pass: 69 fail: 27
> > Failed tests:
>
> > arm64:smp:defconfig
>
> This may be due to this qemu bug: http://patchwork.ozlabs.org/patch/585237/
>
You are right, with that patch applied to qemu it looks better, meaning
the image now crashes due to the failing i2c initialization.

>
> > arm64:nosmp:defconfig
>
> Since 4b3dc9679cf7 ("arm64: force CONFIG_SMP=y and remove redundant #ifdefs"),
> this may just be testing the smp case again - unless your qemu config is
> different too.
>
Only difference is that it disables SMP, or at least tries to. I'll want to
keep it around for earlier kernels, though.

Thanks,
Guenter

2016-03-14 23:55:16

by Michael Ellerman

[permalink] [raw]
Subject: Re: linux-next: Tree for Mar 14

On Mon, 2016-03-14 at 07:37 -0700, Guenter Roeck wrote:
> On Mon, Mar 14, 2016 at 05:40:37PM +1100, Stephen Rothwell wrote:
>
> To give people an idea what to expect in the merge window, here are my current
> build and runtime test results. Some of the runtime failures are due to the
> newly introduced i2c bug, but many (including the arm64 boot failures) have
> been around for a while.
>
> Qemu test results:
> total: 96 pass: 69 fail: 27
> Failed tests:
...
> powerpc:mpc8544ds:mpc85xx_smp_defconfig
> powerpc:mpc8544ds:mpc85xx_defconfig
> powerpc:smp:ppc64_e5500_defconfig

These are all an i2c crash, which I assume is the one you mention above.

> powerpc:nosmp:ppc64_e5500_defconfig

This seems to be caused by:

arch/powerpc/sysdev/fsl_rcpm.c:32:2: error: implicit declaration of function 'get_hard_smp_processor_id' [-Werror=implicit-function-declaration]

ie. that driver doesn't build for SMP=n.

cheers

2016-03-15 00:29:10

by Sergey Senozhatsky

[permalink] [raw]
Subject: Re: linux-next: Tree for Mar 14

On (03/14/16 17:40), Stephen Rothwell wrote:
> Hi all,
>
> Changes since 20160311:
>
> The vfs tree gained a conflict against Linus' tree. I also applied a
> patch for a known runtime bug.
>
> The tip tree gained a conflict against the mips tree.
>
> The aio tree still had a build failure so I removed several commits
> from it. It also gained a conflict against the vfs tree.
>
> Non-merge commits (relative to Linus' tree): 11202
> 8646 files changed, 426680 insertions(+), 211740 deletions(-)


Hello,

I'm seeing a bunch of warnings and errors

[ 0.697413] ------------[ cut here ]------------
[ 0.697484] WARNING: CPU: 0 PID: 1 at drivers/i2c/i2c-core.c:1533 i2c_register_adapter+0x37/0x367
[ 0.697560] Modules linked in:
[ 0.697654] CPU: 0 PID: 1 Comm: swapper/0 Tainted: G W 4.5.0-rc7-next-20160314-dbg-00015-gd1f304e-dirty #271
[ 0.697817] 0000000000000000 ffff8801330cf9e8 ffffffff8124795a 0000000000000000
[ 0.698029] 0000000000000000 ffff8801330cfa28 ffffffff810444e4 000005fd330cf8d8
[ 0.698239] ffff8800bf4b50a8 0000000000000000 00000000fffffff5 ffffffff81426c47
[ 0.698449] Call Trace:
[ 0.698505] [<ffffffff8124795a>] dump_stack+0x67/0x90
[ 0.698565] [<ffffffff810444e4>] __warn+0xc2/0xdd
[ 0.698623] [<ffffffff81426c47>] ? i2c_register_adapter+0x367/0x367
[ 0.698683] [<ffffffff810445bb>] warn_slowpath_null+0x1d/0x1f
[ 0.698743] [<ffffffff81426917>] i2c_register_adapter+0x37/0x367
[ 0.698803] [<ffffffff81426c47>] ? i2c_register_adapter+0x367/0x367
[ 0.698863] [<ffffffff81426ca7>] i2c_add_adapter+0x60/0x65
[ 0.698922] [<ffffffff814279e2>] __i2c_bit_add_bus+0x294/0x2f3
[ 0.698981] [<ffffffff81427a56>] i2c_bit_add_bus+0x15/0x17
[ 0.699041] [<ffffffff8136e5c3>] nvkm_i2c_bus_ctor+0x1bb/0x1dd
[ 0.699100] [<ffffffff8136eb1b>] nv50_i2c_bus_new+0xa6/0xd0
[ 0.699160] [<ffffffff8136d0c7>] nvkm_i2c_new_+0x220/0x57c
[ 0.699219] [<ffffffff8136bee1>] ? nvkm_gpio_new_+0x7b/0x86
[ 0.699278] [<ffffffff8136d639>] g94_i2c_new+0x1d/0x1f
[ 0.699337] [<ffffffff81382e24>] nvkm_device_ctor+0x100e/0x2211
[ 0.699397] [<ffffffff813846d4>] nvkm_device_pci_new+0x18c/0x19f
[ 0.699457] [<ffffffff813be1b6>] nouveau_drm_probe+0x194/0x1d7
[ 0.699517] [<ffffffff81271da3>] pci_device_probe+0x85/0xee
[ 0.699578] [<ffffffff813ed1c8>] driver_probe_device+0x118/0x261
[ 0.699638] [<ffffffff813ed384>] __driver_attach+0x73/0x95
[ 0.699697] [<ffffffff813ed311>] ? driver_probe_device+0x261/0x261
[ 0.699757] [<ffffffff813eb769>] bus_for_each_dev+0x6f/0x87
[ 0.699815] [<ffffffff813ecc69>] driver_attach+0x1e/0x20
[ 0.699874] [<ffffffff813ec839>] bus_add_driver+0xf2/0x1e4
[ 0.699932] [<ffffffff813edfaa>] driver_register+0x8a/0xc6
[ 0.699991] [<ffffffff81270e8d>] __pci_register_driver+0x60/0x63
[ 0.700052] [<ffffffff81316e58>] drm_pci_init+0x50/0xd1
[ 0.700110] [<ffffffff81b3c83d>] ? ttm_init+0x60/0x60
[ 0.700168] [<ffffffff81b3ca31>] nouveau_drm_init+0x1f4/0x1f6
[ 0.700229] [<ffffffff81000402>] do_one_initcall+0xe7/0x16c
[ 0.700290] [<ffffffff81b07fc1>] kernel_init_freeable+0x118/0x19e
[ 0.700351] [<ffffffff8151f56d>] kernel_init+0xe/0xf0
[ 0.700409] [<ffffffff81525942>] ret_from_fork+0x22/0x40
[ 0.700513] [<ffffffff8151f55f>] ? rest_init+0x136/0x136
[ 0.700581] ---[ end trace e54473700ba2f16a ]---
[ 0.700643] ------------[ cut here ]------------
[ 0.700701] WARNING: CPU: 0 PID: 1 at drivers/i2c/i2c-core.c:1533 i2c_register_adapter+0x37/0x367
[ 0.700777] Modules linked in:
[ 0.700869] CPU: 0 PID: 1 Comm: swapper/0 Tainted: G W 4.5.0-rc7-next-20160314-dbg-00015-gd1f304e-dirty #271
[ 0.701031] 0000000000000000 ffff8801330cf9e8 ffffffff8124795a 0000000000000000
[ 0.701243] 0000000000000000 ffff8801330cfa28 ffffffff810444e4 000005fd330cfa78
[ 0.701455] ffff8800bf4b58a8 0000000000000000 00000000fffffff5 ffffffff81426c47
[ 0.701667] Call Trace:
[ 0.701721] [<ffffffff8124795a>] dump_stack+0x67/0x90
[ 0.701779] [<ffffffff810444e4>] __warn+0xc2/0xdd
[ 0.701837] [<ffffffff81426c47>] ? i2c_register_adapter+0x367/0x367
[ 0.701897] [<ffffffff810445bb>] warn_slowpath_null+0x1d/0x1f
[ 0.701956] [<ffffffff81426917>] i2c_register_adapter+0x37/0x367
[ 0.705165] [<ffffffff81426c47>] ? i2c_register_adapter+0x367/0x367
[ 0.705225] [<ffffffff81426ca7>] i2c_add_adapter+0x60/0x65
[ 0.705284] [<ffffffff814279e2>] __i2c_bit_add_bus+0x294/0x2f3
[ 0.705343] [<ffffffff81427a56>] i2c_bit_add_bus+0x15/0x17
[ 0.705402] [<ffffffff8136e5c3>] nvkm_i2c_bus_ctor+0x1bb/0x1dd
[ 0.705461] [<ffffffff8136eb1b>] nv50_i2c_bus_new+0xa6/0xd0
[ 0.705520] [<ffffffff8136d0c7>] nvkm_i2c_new_+0x220/0x57c
[ 0.705580] [<ffffffff8136bee1>] ? nvkm_gpio_new_+0x7b/0x86
[ 0.705639] [<ffffffff8136d639>] g94_i2c_new+0x1d/0x1f
[ 0.705698] [<ffffffff81382e24>] nvkm_device_ctor+0x100e/0x2211
[ 0.705757] [<ffffffff813846d4>] nvkm_device_pci_new+0x18c/0x19f
[ 0.705817] [<ffffffff813be1b6>] nouveau_drm_probe+0x194/0x1d7
[ 0.705876] [<ffffffff81271da3>] pci_device_probe+0x85/0xee
[ 0.705935] [<ffffffff813ed1c8>] driver_probe_device+0x118/0x261
[ 0.705995] [<ffffffff813ed384>] __driver_attach+0x73/0x95
[ 0.706053] [<ffffffff813ed311>] ? driver_probe_device+0x261/0x261
[ 0.706113] [<ffffffff813eb769>] bus_for_each_dev+0x6f/0x87
[ 0.706172] [<ffffffff813ecc69>] driver_attach+0x1e/0x20
[ 0.706230] [<ffffffff813ec839>] bus_add_driver+0xf2/0x1e4
[ 0.706289] [<ffffffff813edfaa>] driver_register+0x8a/0xc6
[ 0.706347] [<ffffffff81270e8d>] __pci_register_driver+0x60/0x63
[ 0.706407] [<ffffffff81316e58>] drm_pci_init+0x50/0xd1
[ 0.706486] [<ffffffff81b3c83d>] ? ttm_init+0x60/0x60
[ 0.706544] [<ffffffff81b3ca31>] nouveau_drm_init+0x1f4/0x1f6
[ 0.706603] [<ffffffff81000402>] do_one_initcall+0xe7/0x16c
[ 0.706663] [<ffffffff81b07fc1>] kernel_init_freeable+0x118/0x19e
[ 0.706722] [<ffffffff8151f56d>] kernel_init+0xe/0xf0
[ 0.706780] [<ffffffff81525942>] ret_from_fork+0x22/0x40
[ 0.706838] [<ffffffff8151f55f>] ? rest_init+0x136/0x136
[ 0.706906] ---[ end trace e54473700ba2f16b ]---


...

[ 10.123423] ------------[ cut here ]------------
[ 10.123443] Modules linked in: snd_hda_core(+) i2c_i801(+) r8169 coretemp hwmon crc32c_intel mii snd_pcm snd_timer snd lpc_ich soundcore acpi_cpufreq mfd_core processor sch_fq_codel hid_generic usbhid hid sd_mod ahci libahci ehci_pci libata ehci_hcd scsi_mod usbcore usb_common
[ 10.123445] CPU: 3 PID: 189 Comm: systemd-udevd Tainted: G W 4.5.0-rc7-next-20160314-dbg-00015-gd1f304e-dirty #271
[ 10.123446] Hardware name: SAMSUNG ELECTRONICS CO.,LTD Samsung DeskTop System/Samsung DeskTop System, BIOS 05CC 04/09/2010
[ 10.123449] 0000000000000000 ffff8801325afa40 ffffffff8124795a 0000000000000000
[ 10.123451] 0000000000000000 ffff8801325afa80 ffffffff810444e4 000005fd325afad0
[ 10.123453] ffff8800be5e4818 0000000000000000 00000000fffffff5 0000000000000000
[ 10.123454] Call Trace:
[ 10.123458] [<ffffffff8124795a>] dump_stack+0x67/0x90
[ 10.123461] [<ffffffff810444e4>] __warn+0xc2/0xdd
[ 10.123463] [<ffffffff810445bb>] warn_slowpath_null+0x1d/0x1f
[ 10.123464] [<ffffffff81426917>] i2c_register_adapter+0x37/0x367
[ 10.123466] [<ffffffff81426ca7>] i2c_add_adapter+0x60/0x65
[ 10.123468] [<ffffffffa01ab77a>] i801_probe+0x406/0x4b5 [i2c_i801]
[ 10.123471] [<ffffffff81083a02>] ? trace_hardirqs_on+0xd/0xf
[ 10.123475] [<ffffffff813f71cf>] ? __pm_runtime_resume+0x76/0x83
[ 10.123477] [<ffffffff81271da3>] pci_device_probe+0x85/0xee
[ 10.123480] [<ffffffff813ed1c8>] driver_probe_device+0x118/0x261
[ 10.123481] [<ffffffff813ed384>] __driver_attach+0x73/0x95
[ 10.123483] [<ffffffff813ed311>] ? driver_probe_device+0x261/0x261
[ 10.123485] [<ffffffff813eb769>] bus_for_each_dev+0x6f/0x87
[ 10.123486] [<ffffffff813ecc69>] driver_attach+0x1e/0x20
[ 10.123488] [<ffffffff813ec839>] bus_add_driver+0xf2/0x1e4
[ 10.123489] [<ffffffffa0115000>] ? 0xffffffffa0115000
[ 10.123491] [<ffffffff813edfaa>] driver_register+0x8a/0xc6
[ 10.123492] [<ffffffffa0115000>] ? 0xffffffffa0115000
[ 10.123493] [<ffffffff81270e8d>] __pci_register_driver+0x60/0x63
[ 10.123495] [<ffffffffa01150a0>] i2c_i801_init+0xa0/0x1000 [i2c_i801]
[ 10.123496] [<ffffffffa0115000>] ? 0xffffffffa0115000
[ 10.123497] [<ffffffffa0115000>] ? 0xffffffffa0115000
[ 10.123500] [<ffffffff81000402>] do_one_initcall+0xe7/0x16c
[ 10.123503] [<ffffffff810f573e>] ? do_init_module+0x27/0x1d9
[ 10.123506] [<ffffffff81096465>] ? rcu_read_lock_sched_held+0x61/0x69
[ 10.123508] [<ffffffff8113decb>] ? kmem_cache_alloc_trace+0x158/0x1f8
[ 10.123510] [<ffffffff810f573e>] ? do_init_module+0x27/0x1d9
[ 10.123512] [<ffffffff810f5776>] do_init_module+0x5f/0x1d9
[ 10.123514] [<ffffffff810b6192>] load_module+0x19ff/0x1edd
[ 10.123517] [<ffffffff8112f1fe>] ? __vmalloc_node_range+0xda/0x1d4
[ 10.123519] [<ffffffff81085d59>] ? lock_acquire+0x12a/0x1be
[ 10.123521] [<ffffffff810b676f>] SyS_init_module+0xff/0x125
[ 10.123522] [<ffffffff810b676f>] ? SyS_init_module+0xff/0x125
[ 10.123525] [<ffffffff81525725>] entry_SYSCALL_64_fastpath+0x18/0xa8
[ 10.123540] ---[ end trace e54473700ba2f177 ]---
[ 10.123542] i801_smbus 0000:00:1f.3: Failed to add SMBus adapter


-ss

2016-03-15 02:31:58

by Guenter Roeck

[permalink] [raw]
Subject: Re: linux-next: Tree for Mar 14

On 03/14/2016 04:55 PM, Michael Ellerman wrote:
> On Mon, 2016-03-14 at 07:37 -0700, Guenter Roeck wrote:
>> On Mon, Mar 14, 2016 at 05:40:37PM +1100, Stephen Rothwell wrote:
>>
>> To give people an idea what to expect in the merge window, here are my current
>> build and runtime test results. Some of the runtime failures are due to the
>> newly introduced i2c bug, but many (including the arm64 boot failures) have
>> been around for a while.
>>
>> Qemu test results:
>> total: 96 pass: 69 fail: 27
>> Failed tests:
> ...
>> powerpc:mpc8544ds:mpc85xx_smp_defconfig
>> powerpc:mpc8544ds:mpc85xx_defconfig
>> powerpc:smp:ppc64_e5500_defconfig
>
> These are all an i2c crash, which I assume is the one you mention above.
>
>> powerpc:nosmp:ppc64_e5500_defconfig
>
> This seems to be caused by:
>
> arch/powerpc/sysdev/fsl_rcpm.c:32:2: error: implicit declaration of function 'get_hard_smp_processor_id' [-Werror=implicit-function-declaration]
>
> ie. that driver doesn't build for SMP=n.
>

Maybe it should include <asm/smp.h> to get the UP definition.

Guenter

2016-03-15 05:27:12

by Guenter Roeck

[permalink] [raw]
Subject: Re: linux-next: Tree for Mar 14 (mips qemu failure bisected)

On Mon, Mar 14, 2016 at 07:37:29AM -0700, Guenter Roeck wrote:
> On Mon, Mar 14, 2016 at 05:40:37PM +1100, Stephen Rothwell wrote:
> > Hi all,
> >
> > Changes since 20160311:
> >
> > The vfs tree gained a conflict against Linus' tree. I also applied a
> > patch for a known runtime bug.
> >
> > The tip tree gained a conflict against the mips tree.
> >
> > The aio tree still had a build failure so I removed several commits
> > from it. It also gained a conflict against the vfs tree.
> >
> > Non-merge commits (relative to Linus' tree): 11202
> > 8646 files changed, 426680 insertions(+), 211740 deletions(-)
> >
>
> To give people an idea what to expect in the merge window, here are my current
> build and runtime test results. Some of the runtime failures are due to the
> newly introduced i2c bug, but many (including the arm64 boot failures) have
> been around for a while.
>
[ ... ]

> Qemu test results:
> total: 96 pass: 69 fail: 27
> Failed tests:
[ ... ]
> mips:mips_malta_smp_defconfig

I bisected this failure to commit bb11cff327e54 ("MIPS: Make smp CMP, CPS and MT
use the new generic IPI functions". Bisect log is attached.

> mips64:smp:mips_malta64_defconfig
> mips:mipsel_malta_smp_defconfig
> mips:mipsel_malta64_smp_defconfig

If necessary I can repeat the bisect for those. Please let me know.

Thanks,
Guenter

---
Bisect log:

# bad: [4342eec3c5a2402ca5de3d6e56f541fe1c5171e2] Add linux-next specific files for 20160314
# good: [f6cede5b49e822ebc41a099fe41ab4989f64e2cb] Linux 4.5-rc7
git bisect start 'HEAD' 'v4.5-rc7'
# good: [0525c3e26ec2c43cd509433be3be25210a0154ef] Merge remote-tracking branch 'drm-tegra/drm/tegra/for-next'
git bisect good 0525c3e26ec2c43cd509433be3be25210a0154ef
# bad: [385128a1b49762c1b9515c9f6294aeebbc55b956] Merge remote-tracking branch 'usb-chipidea-next/ci-for-usb-next'
git bisect bad 385128a1b49762c1b9515c9f6294aeebbc55b956
# good: [dfdb27baab4fc45c9399a991270413d0fb1c694a] Merge remote-tracking branch 'spi/for-next'
git bisect good dfdb27baab4fc45c9399a991270413d0fb1c694a
# bad: [e368d7d2a0dce6d6795ead1fc8a09bcca8a4a565] Merge branch 'timers/nohz'
git bisect bad e368d7d2a0dce6d6795ead1fc8a09bcca8a4a565
# good: [ced30bc9129777d715057d06fc8dbdfd3b81e94d] Merge tag 'perf-core-for-mingo-20160310' of git://git.kernel.org/pub/scm/linux/kernel/git/acme/linux into perf/core
git bisect good ced30bc9129777d715057d06fc8dbdfd3b81e94d
# bad: [656a61d4d9cbb8dfc2d007281190b2eccebad522] manual merge of mm/pkeys
git bisect bad 656a61d4d9cbb8dfc2d007281190b2eccebad522
# good: [16f7379f2da43f29d9faa2f474745e2705a3f510] Merge branch 'efi/core'
git bisect good 16f7379f2da43f29d9faa2f474745e2705a3f510
# bad: [a7fb9a8169be9a55e0cfb98346aece1b51c016fa] Merge branch 'locking/core'
git bisect bad a7fb9a8169be9a55e0cfb98346aece1b51c016fa
# good: [2a07870511829977d02609dac6450017b0419ea9] irqchip/mips-gic: Use gic_vpes instead of NR_CPUS
git bisect good 2a07870511829977d02609dac6450017b0419ea9
# good: [eaff0e7003cca6c2748b67ead2d4b1a8ad858fc7] locking/pvqspinlock: Move lock stealing count tracking code into pv_queued_spin_steal_lock()
git bisect good eaff0e7003cca6c2748b67ead2d4b1a8ad858fc7
# good: [013e379a3094ff2898f8d33cfbff1573d471ee14] tools/lib/lockdep: Fix link creation warning
git bisect good 013e379a3094ff2898f8d33cfbff1573d471ee14
# bad: [7eb8c99db26cc6499bfb1eba72dffc4730570752] MIPS: Delete smp-gic.c
git bisect bad 7eb8c99db26cc6499bfb1eba72dffc4730570752
# good: [fbde2d7d8290d8c642d591a471356abda2446874] MIPS: Add generic SMP IPI support
git bisect good fbde2d7d8290d8c642d591a471356abda2446874
# bad: [bb11cff327e54179c13446c4022ed4ed7d4871c7] MIPS: Make smp CMP, CPS and MT use the new generic IPI functions
git bisect bad bb11cff327e54179c13446c4022ed4ed7d4871c7
# first bad commit: [bb11cff327e54179c13446c4022ed4ed7d4871c7] MIPS: Make smp CMP, CPS and MT use the new generic IPI functions

2016-03-15 06:43:40

by Wolfram Sang

[permalink] [raw]
Subject: Re: linux-next: Tree for Mar 14

On Tue, Mar 15, 2016 at 09:30:29AM +0900, Sergey Senozhatsky wrote:
> On (03/14/16 17:40), Stephen Rothwell wrote:
> > Hi all,
> >
> > Changes since 20160311:
> >
> > The vfs tree gained a conflict against Linus' tree. I also applied a
> > patch for a known runtime bug.
> >
> > The tip tree gained a conflict against the mips tree.
> >
> > The aio tree still had a build failure so I removed several commits
> > from it. It also gained a conflict against the vfs tree.
> >
> > Non-merge commits (relative to Linus' tree): 11202
> > 8646 files changed, 426680 insertions(+), 211740 deletions(-)
>
>
> Hello,
>
> I'm seeing a bunch of warnings and errors

I pushed the fix to my for-next branch yesterday. Sorry for the fuzz!


Attachments:
(No filename) (736.00 B)
signature.asc (819.00 B)
Download all attachments

2016-03-15 06:50:57

by Sergey Senozhatsky

[permalink] [raw]
Subject: Re: linux-next: Tree for Mar 14

On (03/15/16 07:43), Wolfram Sang wrote:
> > Hello,
> >
> > I'm seeing a bunch of warnings and errors
>
> I pushed the fix to my for-next branch yesterday. Sorry for the fuzz!

no prob, thanks!

-ss

2016-03-15 21:55:15

by Qais Yousef

[permalink] [raw]
Subject: Re: linux-next: Tree for Mar 14 (mips qemu failure bisected)

Hi Guenter,

On 15/03/2016 05:26, Guenter Roeck wrote:
> On Mon, Mar 14, 2016 at 07:37:29AM -0700, Guenter Roeck wrote:
>> On Mon, Mar 14, 2016 at 05:40:37PM +1100, Stephen Rothwell wrote:
>>> Hi all,
>>>
>>> Changes since 20160311:
>>>
>>> The vfs tree gained a conflict against Linus' tree. I also applied a
>>> patch for a known runtime bug.
>>>
>>> The tip tree gained a conflict against the mips tree.
>>>
>>> The aio tree still had a build failure so I removed several commits
>>> from it. It also gained a conflict against the vfs tree.
>>>
>>> Non-merge commits (relative to Linus' tree): 11202
>>> 8646 files changed, 426680 insertions(+), 211740 deletions(-)
>>>
>> To give people an idea what to expect in the merge window, here are my current
>> build and runtime test results. Some of the runtime failures are due to the
>> newly introduced i2c bug, but many (including the arm64 boot failures) have
>> been around for a while.
>>
> [ ... ]
>
>> Qemu test results:
>> total: 96 pass: 69 fail: 27
>> Failed tests:
> [ ... ]
>> mips:mips_malta_smp_defconfig
> I bisected this failure to commit bb11cff327e54 ("MIPS: Make smp CMP, CPS and MT
> use the new generic IPI functions". Bisect log is attached.

Thanks for bisecting this. I tested this on a real Malta system but not
qemu. I'll try to reproduce.

Can I get qemu run script and the instructions to use it from somewhere?

Thanks,
Qais

>
>> mips64:smp:mips_malta64_defconfig
>> mips:mipsel_malta_smp_defconfig
>> mips:mipsel_malta64_smp_defconfig
> If necessary I can repeat the bisect for those. Please let me know.
>
> Thanks,
> Guenter
>
> ---
> Bisect log:
>
> # bad: [4342eec3c5a2402ca5de3d6e56f541fe1c5171e2] Add linux-next specific files for 20160314
> # good: [f6cede5b49e822ebc41a099fe41ab4989f64e2cb] Linux 4.5-rc7
> git bisect start 'HEAD' 'v4.5-rc7'
> # good: [0525c3e26ec2c43cd509433be3be25210a0154ef] Merge remote-tracking branch 'drm-tegra/drm/tegra/for-next'
> git bisect good 0525c3e26ec2c43cd509433be3be25210a0154ef
> # bad: [385128a1b49762c1b9515c9f6294aeebbc55b956] Merge remote-tracking branch 'usb-chipidea-next/ci-for-usb-next'
> git bisect bad 385128a1b49762c1b9515c9f6294aeebbc55b956
> # good: [dfdb27baab4fc45c9399a991270413d0fb1c694a] Merge remote-tracking branch 'spi/for-next'
> git bisect good dfdb27baab4fc45c9399a991270413d0fb1c694a
> # bad: [e368d7d2a0dce6d6795ead1fc8a09bcca8a4a565] Merge branch 'timers/nohz'
> git bisect bad e368d7d2a0dce6d6795ead1fc8a09bcca8a4a565
> # good: [ced30bc9129777d715057d06fc8dbdfd3b81e94d] Merge tag 'perf-core-for-mingo-20160310' of git://git.kernel.org/pub/scm/linux/kernel/git/acme/linux into perf/core
> git bisect good ced30bc9129777d715057d06fc8dbdfd3b81e94d
> # bad: [656a61d4d9cbb8dfc2d007281190b2eccebad522] manual merge of mm/pkeys
> git bisect bad 656a61d4d9cbb8dfc2d007281190b2eccebad522
> # good: [16f7379f2da43f29d9faa2f474745e2705a3f510] Merge branch 'efi/core'
> git bisect good 16f7379f2da43f29d9faa2f474745e2705a3f510
> # bad: [a7fb9a8169be9a55e0cfb98346aece1b51c016fa] Merge branch 'locking/core'
> git bisect bad a7fb9a8169be9a55e0cfb98346aece1b51c016fa
> # good: [2a07870511829977d02609dac6450017b0419ea9] irqchip/mips-gic: Use gic_vpes instead of NR_CPUS
> git bisect good 2a07870511829977d02609dac6450017b0419ea9
> # good: [eaff0e7003cca6c2748b67ead2d4b1a8ad858fc7] locking/pvqspinlock: Move lock stealing count tracking code into pv_queued_spin_steal_lock()
> git bisect good eaff0e7003cca6c2748b67ead2d4b1a8ad858fc7
> # good: [013e379a3094ff2898f8d33cfbff1573d471ee14] tools/lib/lockdep: Fix link creation warning
> git bisect good 013e379a3094ff2898f8d33cfbff1573d471ee14
> # bad: [7eb8c99db26cc6499bfb1eba72dffc4730570752] MIPS: Delete smp-gic.c
> git bisect bad 7eb8c99db26cc6499bfb1eba72dffc4730570752
> # good: [fbde2d7d8290d8c642d591a471356abda2446874] MIPS: Add generic SMP IPI support
> git bisect good fbde2d7d8290d8c642d591a471356abda2446874
> # bad: [bb11cff327e54179c13446c4022ed4ed7d4871c7] MIPS: Make smp CMP, CPS and MT use the new generic IPI functions
> git bisect bad bb11cff327e54179c13446c4022ed4ed7d4871c7
> # first bad commit: [bb11cff327e54179c13446c4022ed4ed7d4871c7] MIPS: Make smp CMP, CPS and MT use the new generic IPI functions

2016-03-16 00:17:22

by Guenter Roeck

[permalink] [raw]
Subject: Re: linux-next: Tree for Mar 14 (mips qemu failure bisected)

On Tue, Mar 15, 2016 at 09:55:06PM +0000, Qais Yousef wrote:
> Hi Guenter,
>
> On 15/03/2016 05:26, Guenter Roeck wrote:
> >On Mon, Mar 14, 2016 at 07:37:29AM -0700, Guenter Roeck wrote:
> >>On Mon, Mar 14, 2016 at 05:40:37PM +1100, Stephen Rothwell wrote:
> >>>Hi all,
> >>>
> >>>Changes since 20160311:
> >>>
> >>>The vfs tree gained a conflict against Linus' tree. I also applied a
> >>>patch for a known runtime bug.
> >>>
> >>>The tip tree gained a conflict against the mips tree.
> >>>
> >>>The aio tree still had a build failure so I removed several commits
> >>>from it. It also gained a conflict against the vfs tree.
> >>>
> >>>Non-merge commits (relative to Linus' tree): 11202
> >>> 8646 files changed, 426680 insertions(+), 211740 deletions(-)
> >>>
> >>To give people an idea what to expect in the merge window, here are my current
> >>build and runtime test results. Some of the runtime failures are due to the
> >>newly introduced i2c bug, but many (including the arm64 boot failures) have
> >>been around for a while.
> >>
> >[ ... ]
> >
> >>Qemu test results:
> >> total: 96 pass: 69 fail: 27
> >>Failed tests:
> >[ ... ]
> >> mips:mips_malta_smp_defconfig
> >I bisected this failure to commit bb11cff327e54 ("MIPS: Make smp CMP, CPS and MT
> >use the new generic IPI functions". Bisect log is attached.
>
> Thanks for bisecting this. I tested this on a real Malta system but not
> qemu. I'll try to reproduce.
>
I run the tests with only a single CPU core enabled. Maybe that causes
problems with your code ?

> Can I get qemu run script and the instructions to use it from somewhere?
>
Clone https://github.com/groeck/linux-build-test.git.
Look in rootfs/*mips* for qemu scripts and root file systems.
The SMP tests all fail, so it should not matter which one you pick.
I use my own version of qemu, but for mips standard qemu 2.5.0 should
work fine (I don't have any mips specific changes in my version).

Hope this helps,
Guenter

> Thanks,
> Qais
>
> >
> >> mips64:smp:mips_malta64_defconfig
> >> mips:mipsel_malta_smp_defconfig
> >> mips:mipsel_malta64_smp_defconfig
> >If necessary I can repeat the bisect for those. Please let me know.
> >
> >Thanks,
> >Guenter
> >
> >---
> >Bisect log:
> >
> ># bad: [4342eec3c5a2402ca5de3d6e56f541fe1c5171e2] Add linux-next specific files for 20160314
> ># good: [f6cede5b49e822ebc41a099fe41ab4989f64e2cb] Linux 4.5-rc7
> >git bisect start 'HEAD' 'v4.5-rc7'
> ># good: [0525c3e26ec2c43cd509433be3be25210a0154ef] Merge remote-tracking branch 'drm-tegra/drm/tegra/for-next'
> >git bisect good 0525c3e26ec2c43cd509433be3be25210a0154ef
> ># bad: [385128a1b49762c1b9515c9f6294aeebbc55b956] Merge remote-tracking branch 'usb-chipidea-next/ci-for-usb-next'
> >git bisect bad 385128a1b49762c1b9515c9f6294aeebbc55b956
> ># good: [dfdb27baab4fc45c9399a991270413d0fb1c694a] Merge remote-tracking branch 'spi/for-next'
> >git bisect good dfdb27baab4fc45c9399a991270413d0fb1c694a
> ># bad: [e368d7d2a0dce6d6795ead1fc8a09bcca8a4a565] Merge branch 'timers/nohz'
> >git bisect bad e368d7d2a0dce6d6795ead1fc8a09bcca8a4a565
> ># good: [ced30bc9129777d715057d06fc8dbdfd3b81e94d] Merge tag 'perf-core-for-mingo-20160310' of git://git.kernel.org/pub/scm/linux/kernel/git/acme/linux into perf/core
> >git bisect good ced30bc9129777d715057d06fc8dbdfd3b81e94d
> ># bad: [656a61d4d9cbb8dfc2d007281190b2eccebad522] manual merge of mm/pkeys
> >git bisect bad 656a61d4d9cbb8dfc2d007281190b2eccebad522
> ># good: [16f7379f2da43f29d9faa2f474745e2705a3f510] Merge branch 'efi/core'
> >git bisect good 16f7379f2da43f29d9faa2f474745e2705a3f510
> ># bad: [a7fb9a8169be9a55e0cfb98346aece1b51c016fa] Merge branch 'locking/core'
> >git bisect bad a7fb9a8169be9a55e0cfb98346aece1b51c016fa
> ># good: [2a07870511829977d02609dac6450017b0419ea9] irqchip/mips-gic: Use gic_vpes instead of NR_CPUS
> >git bisect good 2a07870511829977d02609dac6450017b0419ea9
> ># good: [eaff0e7003cca6c2748b67ead2d4b1a8ad858fc7] locking/pvqspinlock: Move lock stealing count tracking code into pv_queued_spin_steal_lock()
> >git bisect good eaff0e7003cca6c2748b67ead2d4b1a8ad858fc7
> ># good: [013e379a3094ff2898f8d33cfbff1573d471ee14] tools/lib/lockdep: Fix link creation warning
> >git bisect good 013e379a3094ff2898f8d33cfbff1573d471ee14
> ># bad: [7eb8c99db26cc6499bfb1eba72dffc4730570752] MIPS: Delete smp-gic.c
> >git bisect bad 7eb8c99db26cc6499bfb1eba72dffc4730570752
> ># good: [fbde2d7d8290d8c642d591a471356abda2446874] MIPS: Add generic SMP IPI support
> >git bisect good fbde2d7d8290d8c642d591a471356abda2446874
> ># bad: [bb11cff327e54179c13446c4022ed4ed7d4871c7] MIPS: Make smp CMP, CPS and MT use the new generic IPI functions
> >git bisect bad bb11cff327e54179c13446c4022ed4ed7d4871c7
> ># first bad commit: [bb11cff327e54179c13446c4022ed4ed7d4871c7] MIPS: Make smp CMP, CPS and MT use the new generic IPI functions
>

2016-03-16 13:22:18

by Guenter Roeck

[permalink] [raw]
Subject: Re: linux-next: Tree for Mar 14 (mips qemu failure bisected)

On Tue, Mar 15, 2016 at 05:17:13PM -0700, Guenter Roeck wrote:
> On Tue, Mar 15, 2016 at 09:55:06PM +0000, Qais Yousef wrote:
> > Hi Guenter,
> >
[ ... ]
> > >
> > >>Qemu test results:
> > >> total: 96 pass: 69 fail: 27
> > >>Failed tests:
> > >[ ... ]
> > >> mips:mips_malta_smp_defconfig
> > >I bisected this failure to commit bb11cff327e54 ("MIPS: Make smp CMP, CPS and MT
> > >use the new generic IPI functions". Bisect log is attached.
> >
> > Thanks for bisecting this. I tested this on a real Malta system but not
> > qemu. I'll try to reproduce.
> >
> I run the tests with only a single CPU core enabled. Maybe that causes
> problems with your code ?
>
I ran another qemu test (this time on mainline) with "-smp 2", but the only
difference is that the image now gets stuck even earlier.

Also, I ran another set of bisects, this time with both mips and mips64
on mainline (after your patch landed), with the same results.

Guenter

> > Can I get qemu run script and the instructions to use it from somewhere?
> >
> Clone https://github.com/groeck/linux-build-test.git.
> Look in rootfs/*mips* for qemu scripts and root file systems.
> The SMP tests all fail, so it should not matter which one you pick.
> I use my own version of qemu, but for mips standard qemu 2.5.0 should
> work fine (I don't have any mips specific changes in my version).
>
> Hope this helps,
> Guenter
>
> > Thanks,
> > Qais
> >
> > >
> > >> mips64:smp:mips_malta64_defconfig
> > >> mips:mipsel_malta_smp_defconfig
> > >> mips:mipsel_malta64_smp_defconfig
> > >If necessary I can repeat the bisect for those. Please let me know.
> > >
> > >Thanks,
> > >Guenter
> > >
> > >---
> > >Bisect log:
> > >
> > ># bad: [4342eec3c5a2402ca5de3d6e56f541fe1c5171e2] Add linux-next specific files for 20160314
> > ># good: [f6cede5b49e822ebc41a099fe41ab4989f64e2cb] Linux 4.5-rc7
> > >git bisect start 'HEAD' 'v4.5-rc7'
> > ># good: [0525c3e26ec2c43cd509433be3be25210a0154ef] Merge remote-tracking branch 'drm-tegra/drm/tegra/for-next'
> > >git bisect good 0525c3e26ec2c43cd509433be3be25210a0154ef
> > ># bad: [385128a1b49762c1b9515c9f6294aeebbc55b956] Merge remote-tracking branch 'usb-chipidea-next/ci-for-usb-next'
> > >git bisect bad 385128a1b49762c1b9515c9f6294aeebbc55b956
> > ># good: [dfdb27baab4fc45c9399a991270413d0fb1c694a] Merge remote-tracking branch 'spi/for-next'
> > >git bisect good dfdb27baab4fc45c9399a991270413d0fb1c694a
> > ># bad: [e368d7d2a0dce6d6795ead1fc8a09bcca8a4a565] Merge branch 'timers/nohz'
> > >git bisect bad e368d7d2a0dce6d6795ead1fc8a09bcca8a4a565
> > ># good: [ced30bc9129777d715057d06fc8dbdfd3b81e94d] Merge tag 'perf-core-for-mingo-20160310' of git://git.kernel.org/pub/scm/linux/kernel/git/acme/linux into perf/core
> > >git bisect good ced30bc9129777d715057d06fc8dbdfd3b81e94d
> > ># bad: [656a61d4d9cbb8dfc2d007281190b2eccebad522] manual merge of mm/pkeys
> > >git bisect bad 656a61d4d9cbb8dfc2d007281190b2eccebad522
> > ># good: [16f7379f2da43f29d9faa2f474745e2705a3f510] Merge branch 'efi/core'
> > >git bisect good 16f7379f2da43f29d9faa2f474745e2705a3f510
> > ># bad: [a7fb9a8169be9a55e0cfb98346aece1b51c016fa] Merge branch 'locking/core'
> > >git bisect bad a7fb9a8169be9a55e0cfb98346aece1b51c016fa
> > ># good: [2a07870511829977d02609dac6450017b0419ea9] irqchip/mips-gic: Use gic_vpes instead of NR_CPUS
> > >git bisect good 2a07870511829977d02609dac6450017b0419ea9
> > ># good: [eaff0e7003cca6c2748b67ead2d4b1a8ad858fc7] locking/pvqspinlock: Move lock stealing count tracking code into pv_queued_spin_steal_lock()
> > >git bisect good eaff0e7003cca6c2748b67ead2d4b1a8ad858fc7
> > ># good: [013e379a3094ff2898f8d33cfbff1573d471ee14] tools/lib/lockdep: Fix link creation warning
> > >git bisect good 013e379a3094ff2898f8d33cfbff1573d471ee14
> > ># bad: [7eb8c99db26cc6499bfb1eba72dffc4730570752] MIPS: Delete smp-gic.c
> > >git bisect bad 7eb8c99db26cc6499bfb1eba72dffc4730570752
> > ># good: [fbde2d7d8290d8c642d591a471356abda2446874] MIPS: Add generic SMP IPI support
> > >git bisect good fbde2d7d8290d8c642d591a471356abda2446874
> > ># bad: [bb11cff327e54179c13446c4022ed4ed7d4871c7] MIPS: Make smp CMP, CPS and MT use the new generic IPI functions
> > >git bisect bad bb11cff327e54179c13446c4022ed4ed7d4871c7
> > ># first bad commit: [bb11cff327e54179c13446c4022ed4ed7d4871c7] MIPS: Make smp CMP, CPS and MT use the new generic IPI functions
> >

2016-03-16 20:28:03

by Qais Yousef

[permalink] [raw]
Subject: Re: linux-next: Tree for Mar 14 (mips qemu failure bisected)



On 16/03/2016 13:22, Guenter Roeck wrote:
> On Tue, Mar 15, 2016 at 05:17:13PM -0700, Guenter Roeck wrote:
>> On Tue, Mar 15, 2016 at 09:55:06PM +0000, Qais Yousef wrote:
>>> Hi Guenter,
>>>
> [ ... ]
>>>>> Qemu test results:
>>>>> total: 96 pass: 69 fail: 27
>>>>> Failed tests:
>>>> [ ... ]
>>>>> mips:mips_malta_smp_defconfig
>>>> I bisected this failure to commit bb11cff327e54 ("MIPS: Make smp CMP, CPS and MT
>>>> use the new generic IPI functions". Bisect log is attached.
>>> Thanks for bisecting this. I tested this on a real Malta system but not
>>> qemu. I'll try to reproduce.
>>>
>> I run the tests with only a single CPU core enabled. Maybe that causes
>> problems with your code ?
>>
> I ran another qemu test (this time on mainline) with "-smp 2", but the only
> difference is that the image now gets stuck even earlier.
>
> Also, I ran another set of bisects, this time with both mips and mips64
> on mainline (after your patch landed), with the same results.
>
> Guenter
>

OK thanks for the info. The offending commit just enables using quite a
few of the newly added code before that. So the problem could be in any
of the newly added code.

Unfortunately I can only look at this during my limited time in the
evening and I have to setup my system to compile and run this, so I
won't be able to get to the bottom of this as fast as I'd like to.

Qais

2016-03-16 22:17:48

by Qais Yousef

[permalink] [raw]
Subject: Re: linux-next: Tree for Mar 14 (mips qemu failure bisected)

On 16/03/2016 20:27, Qais Yousef wrote:
>
>
> On 16/03/2016 13:22, Guenter Roeck wrote:
>> On Tue, Mar 15, 2016 at 05:17:13PM -0700, Guenter Roeck wrote:
>>> On Tue, Mar 15, 2016 at 09:55:06PM +0000, Qais Yousef wrote:
>>>> Hi Guenter,
>>>>
>> [ ... ]
>>>>>> Qemu test results:
>>>>>> total: 96 pass: 69 fail: 27
>>>>>> Failed tests:
>>>>> [ ... ]
>>>>>> mips:mips_malta_smp_defconfig
>>>>> I bisected this failure to commit bb11cff327e54 ("MIPS: Make smp
>>>>> CMP, CPS and MT
>>>>> use the new generic IPI functions". Bisect log is attached.
>>>> Thanks for bisecting this. I tested this on a real Malta system but
>>>> not
>>>> qemu. I'll try to reproduce.
>>>>
>>> I run the tests with only a single CPU core enabled. Maybe that causes
>>> problems with your code ?
>>>
>> I ran another qemu test (this time on mainline) with "-smp 2", but
>> the only
>> difference is that the image now gets stuck even earlier.
>>
>> Also, I ran another set of bisects, this time with both mips and mips64
>> on mainline (after your patch landed), with the same results.
>>
>> Guenter
>>
>
> OK thanks for the info. The offending commit just enables using quite
> a few of the newly added code before that. So the problem could be in
> any of the newly added code.
>
> Unfortunately I can only look at this during my limited time in the
> evening and I have to setup my system to compile and run this, so I
> won't be able to get to the bottom of this as fast as I'd like to.
>
> Qais

OK I was up and running faster than I thought I would be. Can you
confirm that you're hitting a BUG_ON() in mips_smp_ipi_init()?

What I see is that BUG_ON() is hit because we couldn't find an ipidomain
to allocate the ipis from. The reason of whih is that the qemu malta
machine doesn't have a GIC though the config is compiled with GIC on.
Also if I remember correctly qemu malta doesn't really support SMP. I
think that was the reason I never ran this on qemu.

I'm not sure what's the best way forward here. I can add a check to
verify gic_present inside this function and return early. Patch attached.

Ralf, thoughts?

Thanks,
Qais


Attachments:
0001-MIPS-Fix-broken-malta-qemu.patch (1.38 kB)

2016-03-17 02:10:15

by Guenter Roeck

[permalink] [raw]
Subject: Re: linux-next: Tree for Mar 14 (mips qemu failure bisected)

On 03/16/2016 03:17 PM, Qais Yousef wrote:
> On 16/03/2016 20:27, Qais Yousef wrote:
>>
>>
>> On 16/03/2016 13:22, Guenter Roeck wrote:
>>> On Tue, Mar 15, 2016 at 05:17:13PM -0700, Guenter Roeck wrote:
>>>> On Tue, Mar 15, 2016 at 09:55:06PM +0000, Qais Yousef wrote:
>>>>> Hi Guenter,
>>>>>
>>> [ ... ]
>>>>>>> Qemu test results:
>>>>>>> total: 96 pass: 69 fail: 27
>>>>>>> Failed tests:
>>>>>> [ ... ]
>>>>>>> mips:mips_malta_smp_defconfig
>>>>>> I bisected this failure to commit bb11cff327e54 ("MIPS: Make smp CMP, CPS and MT
>>>>>> use the new generic IPI functions". Bisect log is attached.
>>>>> Thanks for bisecting this. I tested this on a real Malta system but not
>>>>> qemu. I'll try to reproduce.
>>>>>
>>>> I run the tests with only a single CPU core enabled. Maybe that causes
>>>> problems with your code ?
>>>>
>>> I ran another qemu test (this time on mainline) with "-smp 2", but the only
>>> difference is that the image now gets stuck even earlier.
>>>
>>> Also, I ran another set of bisects, this time with both mips and mips64
>>> on mainline (after your patch landed), with the same results.
>>>
>>> Guenter
>>>
>>
>> OK thanks for the info. The offending commit just enables using quite a few of the newly added code before that. So the problem could be in any of the newly added code.
>>
>> Unfortunately I can only look at this during my limited time in the evening and I have to setup my system to compile and run this, so I won't be able to get to the bottom of this as fast as I'd like to.
>>
>> Qais
>
> OK I was up and running faster than I thought I would be. Can you confirm that you're hitting a BUG_ON() in mips_smp_ipi_init()?
>

Most likely, but mips is one of the qemu emulations which simply hang if there is a crash,
without a log message, and I have not been able to figure out a command line that gives me
the actual crash log.

> What I see is that BUG_ON() is hit because we couldn't find an ipidomain to allocate the ipis from. The reason of whih is that the qemu malta machine doesn't have a GIC though the config is compiled with GIC on. Also if I remember correctly qemu malta doesn't really support SMP. I think that was the reason I never ran this on qemu.
>
Idea is to run the SMP build, not really a multi-core machine.

> I'm not sure what's the best way forward here. I can add a check to verify gic_present inside this function and return early. Patch attached.
>

With your patch I get

WARNING: CPU: 0 PID: 1 at arch/mips/kernel/smp.c:251 mips_smp_ipi_init+0x3c/0x1b0()

and the boot continues.

If Ralf accepts it, feel free to add

Tested-by: Guenter Roeck <[email protected]>

though I'll probably adjust my configuration to drop GIC from it (if that is possible).

Thanks a lot for looking into this!

Guenter

2016-03-17 02:36:48

by Guenter Roeck

[permalink] [raw]
Subject: Re: linux-next: Tree for Mar 14 (mips qemu failure bisected)

On 03/16/2016 03:17 PM, Qais Yousef wrote:
> On 16/03/2016 20:27, Qais Yousef wrote:
>>
>>
>> On 16/03/2016 13:22, Guenter Roeck wrote:
>>> On Tue, Mar 15, 2016 at 05:17:13PM -0700, Guenter Roeck wrote:
>>>> On Tue, Mar 15, 2016 at 09:55:06PM +0000, Qais Yousef wrote:
>>>>> Hi Guenter,
>>>>>
>>> [ ... ]
>>>>>>> Qemu test results:
>>>>>>> total: 96 pass: 69 fail: 27
>>>>>>> Failed tests:
>>>>>> [ ... ]
>>>>>>> mips:mips_malta_smp_defconfig
>>>>>> I bisected this failure to commit bb11cff327e54 ("MIPS: Make smp CMP, CPS and MT
>>>>>> use the new generic IPI functions". Bisect log is attached.
>>>>> Thanks for bisecting this. I tested this on a real Malta system but not
>>>>> qemu. I'll try to reproduce.
>>>>>
>>>> I run the tests with only a single CPU core enabled. Maybe that causes
>>>> problems with your code ?
>>>>
>>> I ran another qemu test (this time on mainline) with "-smp 2", but the only
>>> difference is that the image now gets stuck even earlier.
>>>
>>> Also, I ran another set of bisects, this time with both mips and mips64
>>> on mainline (after your patch landed), with the same results.
>>>
>>> Guenter
>>>
>>
>> OK thanks for the info. The offending commit just enables using quite a few of the newly added code before that. So the problem could be in any of the newly added code.
>>
>> Unfortunately I can only look at this during my limited time in the evening and I have to setup my system to compile and run this, so I won't be able to get to the bottom of this as fast as I'd like to.
>>
>> Qais
>
> OK I was up and running faster than I thought I would be. Can you confirm that you're hitting a BUG_ON() in mips_smp_ipi_init()?
>
> What I see is that BUG_ON() is hit because we couldn't find an ipidomain to allocate the ipis from. The reason of whih is that the qemu malta machine doesn't have a GIC though the config is compiled with GIC on. Also if I remember correctly qemu malta doesn't really support SMP. I think that was the reason I never ran this on qemu.

Turns out MIPS_GIC is auto-selected by MIPS_MALTA, so I can not just unconfigure it.
Too bad. That means if your patch isn't accepted, I'll have to drop the mips
SMP build runtime tests, unless you have a better idea.

Thanks,
Guenter