Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 19 May 2019 22:44:13 +0200
From:      Niclas Zeising <zeising@freebsd.org>
To:        Dmitry Chagin <dchagin@freebsd.org>, Konstantin Belousov <kostikbel@gmail.com>
Cc:        svn-src-head@freebsd.org, svn-src-all@freebsd.org, src-committers <src-committers@freebsd.org>
Subject:   Re: svn commit: r347695 - in head/sys: amd64/amd64 amd64/include kern
Message-ID:  <342813b3-e7a9-4654-3945-b0105e582ab6@freebsd.org>
In-Reply-To: <CAC0jpUBXsxQxKqW%2BcUKF-BWyXrTrscCqo3L1oAVbPdTWtnXBNg@mail.gmail.com>
References:  <201905161328.x4GDSmMd072071@repo.freebsd.org> <CAC0jpUD8kkK01fmagYBS9Tb%2Bfz0VqjCpdv-zZqi=mGR2XT-Eiw@mail.gmail.com> <20190518084406.GX2748@kib.kiev.ua> <CAC0jpUBXsxQxKqW%2BcUKF-BWyXrTrscCqo3L1oAVbPdTWtnXBNg@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
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 <kostikbel@gmail.com>:
>=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 <kib@freebsd.org>:
>>>
>>>> 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: <drmn> 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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?342813b3-e7a9-4654-3945-b0105e582ab6>