From owner-svn-src-all@freebsd.org Sun May 19 20:44:19 2019 Return-Path: Delivered-To: svn-src-all@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 D58D61590F4F; Sun, 19 May 2019 20:44:18 +0000 (UTC) (envelope-from zeising@freebsd.org) Received: from mail.daemonic.se (mail.daemonic.se [IPv6:2607:f740:d:20::25]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 53985738E4; Sun, 19 May 2019 20:44:18 +0000 (UTC) (envelope-from zeising@freebsd.org) Received: from cid.daemonic.se (localhost [IPv6:::1]) by mail.daemonic.se (Postfix) with ESMTP id 456Ysr3KC1zDkM8; Sun, 19 May 2019 20:44:16 +0000 (UTC) X-Virus-Scanned: amavisd-new at daemonic.se Received: from mail.daemonic.se ([IPv6:::1]) (using TLS with cipher ECDHE-RSA-AES128-GCM-SHA256) by cid.daemonic.se (mailscanner.daemonic.se [IPv6:::1]) (amavisd-new, port 10587) with ESMTPS id 6A0NQpWjEEzE; Sun, 19 May 2019 20:44:16 +0000 (UTC) Received: from garnet.daemonic.se (unknown [IPv6:2001:470:dca9:201:ad0d:f3a0:ed24:3d3d]) by mail.daemonic.se (Postfix) with ESMTPSA id 456Ysq5HSzzDjp8; Sun, 19 May 2019 20:44:15 +0000 (UTC) Subject: Re: svn commit: r347695 - in head/sys: amd64/amd64 amd64/include kern To: Dmitry Chagin , Konstantin Belousov Cc: svn-src-head@freebsd.org, svn-src-all@freebsd.org, src-committers References: <201905161328.x4GDSmMd072071@repo.freebsd.org> <20190518084406.GX2748@kib.kiev.ua> From: Niclas Zeising Message-ID: <342813b3-e7a9-4654-3945-b0105e582ab6@freebsd.org> Date: Sun, 19 May 2019 22:44:13 +0200 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:60.0) Gecko/20100101 Thunderbird/60.6.1 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: quoted-printable X-Rspamd-Queue-Id: 53985738E4 X-Spamd-Bar: ------ Authentication-Results: mx1.freebsd.org X-Spamd-Result: default: False [-6.99 / 15.00]; NEURAL_HAM_MEDIUM(-1.00)[-1.000,0]; NEURAL_HAM_SHORT(-0.99)[-0.995,0]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; REPLY(-4.00)[] X-BeenThere: svn-src-all@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "SVN commit messages for the entire src tree \(except for " user" and " projects" \)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 19 May 2019 20:44:19 -0000 On 2019-05-19 10:11, Dmitry Chagin wrote: > =D1=81=D0=B1, 18 =D0=BC=D0=B0=D1=8F 2019 =D0=B3. =D0=B2 11:44, Konstant= in Belousov : >=20 >> On Sat, May 18, 2019 at 11:35:29AM +0300, Dmitry Chagin wrote: >>> =D1=87=D1=82, 16 =D0=BC=D0=B0=D1=8F 2019 =D0=B3. =D0=B2 16:29, Konsta= ntin Belousov : >>> >>>> Author: kib >>>> Date: Thu May 16 13:28:48 2019 >>>> New Revision: 347695 >>>> URL: https://svnweb.freebsd.org/changeset/base/347695 >>>> >>>> Log: >>>> amd64 pmap: rework delayed invalidation, removing global mutex. >>>> >>>> For machines having cmpxcgh16b instruction, i.e. everything but v= ery >>>> early Athlons, provide lockless implementation of delayed >>>> invalidation. >>>> >>>> The implementation maintains lock-less single-linked list with th= e >>>> trick from the T.L. Harris article about volatile mark of the >> elements >>>> being removed. Double-CAS is used to atomically update both link = and >>>> generation. New thread starting DI appends itself to the end of = the >>>> queue, setting the generation to the generation of the last eleme= nt >>>> +1. On DI finish, thread donates its generation to the previous >>>> element. The generation of the fake head of the list is the last >>>> passed DI generation. Basically, the implementation is a queued >>>> spinlock but without spinlock. >>>> >>>> >>> >>> Hi, Kostik! First of all thanks for the previous help. >>> Second, this commit broke i915kms module. Unfortunatelly, >>> I can't give you a lot of information becouse I see only black screen= , >>> but I can help with testing >> Did you recompiled the module ? >> >=20 >=20 > I use pkg, but after your mail, yes, compiled drm-current-kmod >=20 > root@mordor:~ # kldstat > Id Refs Address Size Name > 1 4 0xffffffff80200000 1d536e0 kernel > 2 1 0xffffffff81f54000 11e8 acpi_call.ko > root@mordor:~ # kldload i915kms > sysctl_warn_reuse: can't re-use a leaf (compat.linuxkpi.debug)! > drmn1: on vgapci1 > device_attach: drmn1 attach returned 19 > root@mordor:~ >=20 > so, I'll ping freebsd-x11 Hi! drm-current-kmod was updated to the 20190519 snapshot, can you try that?=20 If it still fails, please send a message to x11@freebsd.org . Thanks! Regards --=20 Niclas Zeising