From owner-freebsd-current@freebsd.org Wed Jul 4 06:26:19 2018 Return-Path: Delivered-To: freebsd-current@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id E16271035C10 for ; Wed, 4 Jul 2018 06:26:18 +0000 (UTC) (envelope-from cy.schubert@cschubert.com) Received: from smtp-out-so.shaw.ca (smtp-out-so.shaw.ca [64.59.136.138]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "Client", Issuer "CA" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 60C6B8976F for ; Wed, 4 Jul 2018 06:26:18 +0000 (UTC) (envelope-from cy.schubert@cschubert.com) Received: from spqr.komquats.com ([70.67.125.17]) by shaw.ca with ESMTPA id abErfP9MabP3IabEsfNtnY; Wed, 04 Jul 2018 00:26:10 -0600 X-Authority-Analysis: v=2.3 cv=P64UeBIu c=1 sm=1 tr=0 a=VFtTW3WuZNDh6VkGe7fA3g==:117 a=VFtTW3WuZNDh6VkGe7fA3g==:17 a=kj9zAlcOel0A:10 a=R9QF1RCXAYgA:10 a=zxA2vyXaAAAA:8 a=6I5d2MoRAAAA:8 a=YxBL1-UpAAAA:8 a=1IthgT5CgVbSG7ZvvTcA:9 a=CjuIK1q_8ugA:10 a=nK2txNHJmq7TfjpuLlwI:22 a=IjZwj45LgO3ly-622nXo:22 a=Ia-lj3WSrqcvXOmTRaiG:22 Received: from slippy.cwsent.com (slippy [10.1.1.91]) by spqr.komquats.com (Postfix) with ESMTPS id 07BA2E0; Tue, 3 Jul 2018 23:26:05 -0700 (PDT) Received: from slippy.cwsent.com (localhost [127.0.0.1]) by slippy.cwsent.com (8.15.2/8.15.2) with ESMTP id w646PRhI076308; Tue, 3 Jul 2018 23:25:27 -0700 (PDT) (envelope-from Cy.Schubert@cschubert.com) Received: from slippy (cy@localhost) by slippy.cwsent.com (8.15.2/8.15.2/Submit) with ESMTP id w645tMAU021405; Tue, 3 Jul 2018 22:56:36 -0700 (PDT) (envelope-from Cy.Schubert@cschubert.com) Message-Id: <201807040556.w645tMAU021405@slippy.cwsent.com> X-Authentication-Warning: slippy.cwsent.com: cy owned process doing -bs X-Mailer: exmh version 2.8.0 04/21/2012 with nmh-1.7.1 Reply-to: Cy Schubert From: Cy Schubert X-os: FreeBSD X-Sender: cy@cwsent.com X-URL: http://www.cschubert.com/ To: Niclas Zeising cc: "O. Hartmann" , FreeBSD Current Subject: Re: atomic changes break drm-next-kmod? In-Reply-To: Message from Niclas Zeising of "Tue, 03 Jul 2018 20:28:23 +0200." Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Tue, 03 Jul 2018 22:55:22 -0700 X-CMAE-Envelope: MS4wfEgUg7kGpgaJWEbnR2tBRI6HT4OB/MxGHDj3VwJ9MFewp/LOX1ZcP19CYj8+G+7ZAjOHf/ag9s+wECd1gPF5qvcHfRIwoORfspYJ/F1Kr/F6vsXIeKj+ GBn5ijSrd+92woFJNTG2OAr0YZExQAZE8L+EjEYjtUCUI6PwheBY9UShGjaiNjd9RUPp1LT2kdkLD61Wug6ncugo5r5K7l++66tLeLLTKT+z3DzFoHFVYBzX BBESLDd6Dytslnfr8S8rcA== X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.27 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 04 Jul 2018 06:26:19 -0000 In message , Niclas Zeising w rites: > On 07/03/18 17:02, O. Hartmann wrote: > > -----BEGIN PGP SIGNED MESSAGE----- > > Hash: SHA512 > > > > Am Tue, 3 Jul 2018 10:19:57 -0400 > > Michael Butler schrieb: > > > >> It seems recent changes (SVN r335873?) may have broken drm-next-kmod .. > >> > >> --- i915_drv.o --- > >> In file included from i915_drv.c:30: > >> In file included from > >> /usr/ports/graphics/drm-next-kmod/work/kms-drm-a753215/linuxkpi/gplv2/incl > ude/linux/acpi.h:26: > >> In file included from > >> /usr/ports/graphics/drm-next-kmod/work/kms-drm-a753215/linuxkpi/gplv2/incl > ude/linux/device.h:4: > >> In file included from > >> /usr/src/sys/compat/linuxkpi/common/include/linux/device.h:35: > >> In file included from > >> /usr/src/sys/compat/linuxkpi/common/include/linux/types.h:37: > >> In file included from /usr/src/sys/sys/systm.h:44: > >> ./machine/atomic.h:450:29: error: invalid operand for instruction > >> ATOMIC_ASM(clear, long, "andq %1,%0", "ir", ~v); > >> ^ > >> :1:7: note: instantiated into assembly here > >> andq $9223372036854775807,40672(%r14) > >> ^~~~~~~~~~~~~~~~~~~~~ > >> 1 error generated. > >> *** [i915_drv.o] Error code 1 > >> > >> make[3]: stopped in > >> /usr/ports/graphics/drm-next-kmod/work/kms-drm-a753215/i915 > >> --- i915_gem.o --- > >> In file included from i915_gem.c:28: > >> In file included from > >> /usr/ports/graphics/drm-next-kmod/work/kms-drm-a753215/include/drm/drmP.h: > 38: > >> In file included from /usr/src/sys/sys/malloc.h:42: > >> In file included from /usr/src/sys/sys/systm.h:44: > >> ./machine/atomic.h:449:29: error: invalid operand for instruction > >> ATOMIC_ASM(set, long, "orq %1,%0", "ir", v); > >> ^ > >> :1:6: note: instantiated into assembly here > >> orq $-9223372036854775808,40672(%r14) > >> ^~~~~~~~~~~~~~~~~~~~~~ > >> 1 error generated. > >> *** [i915_gem.o] Error code 1 > >> > >> _______________________________________________ > >> freebsd-current@freebsd.org mailing list > >> https://lists.freebsd.org/mailman/listinfo/freebsd-current > >> To unsubscribe, send any mail to "freebsd-current-unsubscribe@freebsd.org" > > > > > > It breaks also graphics/drm-stable-kmod (see PR 229484, > > https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=229484, same error as you > described > > above) and also emulators/virtualbox-ose-kmod. As long as CURRENT revision > is < r335873, > > those kmod compile well. The vbox issue looks like namespace pollution. -- Cheers, Cy Schubert FreeBSD UNIX: Web: http://www.FreeBSD.org The need of the many outweighs the greed of the few.