Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 17 Oct 2019 23:29:35 +0200
From:      =?UTF-8?Q?Eirik_=c3=98verby?= <ltning@anduin.net>
To:        freebsd-current@freebsd.org
Subject:   Re: DRM-current-kmod is still a problem at r353339
Message-ID:  <f0f64057-2d8a-9ec2-9d01-91e2265f8a91@anduin.net>
In-Reply-To: <53ff1ac5-c7e8-1b6c-bd43-481eaef61120@daemonic.se>
References:  <CAGudoHG_aAcqOfSi0GCW5-yw=6RcEXB0dz72mkgdJoz0guJMHA@mail.gmail.com> <7ca3b30a-81f6-f79d-1486-7fd29765646f@acm.org> <CAGudoHE755ig7KGuzq8uNY01K2Jcf-MKBjCp8kbpJAoiHdbQMA@mail.gmail.com> <99c89ca0-462c-f4c7-fa07-6f61e9d39d66@acm.org> <f2e7c4b4c236ee694f277d78479cb6ee@neelc.org> <CAGudoHGwmp=vNwOy2W22rjx_mQj1nkbdYzuLfayM7O0vn4keeA@mail.gmail.com> <bb951f83-6a50-48ce-8efa-b8fa92a9840e@yggdrasil.evilham.com> <CAGudoHGoikyZudFSxYjypF8EL24BPxBTPQjAnCKTe%2Bvg3DJiWQ@mail.gmail.com> <bb4f31fcb7f06059f1d9fe391b119661@neelc.org> <3bb2e410-51dd-bc3f-7660-41a4683551b3@daemonic.se> <20191017195347.GB6447@raichu> <53ff1ac5-c7e8-1b6c-bd43-481eaef61120@daemonic.se>

next in thread | previous in thread | raw e-mail | index | archive | help
On 10/17/19 10:31 PM, Niclas Zeising wrote:
> On 2019-10-17 21:53, markj@freebsd.org wrote:
>> On Thu, Oct 17, 2019 at 03:03:51PM +0200, Niclas Zeising wrote:
>>> On 2019-10-16 18:57, Neel Chauhan wrote:
>>>> While drm-current-kmod worked for a little while, it broke with r353645.
>>>>
>>>> https://i.imgur.com/Q5nYZf2.jpg
>>>>
>>>> I'm using the same HP Spectre that I used earlier (where it worked and
>>>> where it panicked).
>>>>
>>>
>>> That commit looks unrelated, it touches the wbwd and superio drivers,
>>> nothing else.  Any chance you can bisect exactly which revision that
>>> caused the new issues?
>>
>> I believe it was the recent work on the vm page busy state, r353539
>> specifically.  This patch should fix it; we don't yet have a
>> __FreeBSD_version number bump on which to gate the patch.
>>
>> diff --git a/linuxkpi/gplv2/src/linux_page.c b/linuxkpi/gplv2/src/linux_page.c
>> index e2b85c45c..060ae85ed 100644
>> --- a/linuxkpi/gplv2/src/linux_page.c
>> +++ b/linuxkpi/gplv2/src/linux_page.c
>> @@ -239,7 +239,7 @@ retry:
>>               page = vm_page_lookup(devobj, i);
>>               if (page == NULL)
>>                   continue;
>> -            if (vm_page_sleep_if_busy(page, "linuxkpi"))
>> +            if (!vm_page_busy_acquire(page, VM_ALLOC_WAITFAIL))
>>                   goto retry;
>>               cdev_pager_free_page(devobj, page);
>>           }
> 
> Hi!
> Hopefully someone can confirm that this patch to drm-current-kmod or drm-devel-kmod fixes the issue.  I won't be able to work on this before the weekend at the earliest, I'm afraid.
> Mark, is it possible to get a belated version bump for this fix, and what changed to require it?

Built, rebooting ... Will hopefully check back in soon.

/Eirik



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?f0f64057-2d8a-9ec2-9d01-91e2265f8a91>