Skip to contentSkip to conversation

Linus, please revert 7dc8f11437: regression in 5.7-rc0, hangs while attempting to run X

DISCUSSION Pavel Machek 3 participants 5 messages Apr 7, 2020 – Apr 11, 2020

lore
Share & tools
lore
#0 lore raw
Quoted 12 lines · Pavel Machek

Hi!

7dc8f1143778a35b190f9413f228b3cf28f67f8d

drm/i915/gem: Drop relocation slowpath

Since the relocations are no longer performed under a global struct_mutex, or any other lock, that is also held by pagefault handlers, we can relax and allow our fast path to take a fault. As we no longer need to abort the fast path for lock avoidance, we no longer need the slow path handling at all.

Quoted 4 lines

causes regression on thinkpad x220: instead of starting X, I'm looking at blinking cursor.

Reverting the patch on too of 919dce24701f7b3 fixes things for me.

I have received no feedback from patch authors, and I believe we don't want to break boot in -rc1 on Intel hardware... so the commit should be simply reverted.

Best regards,
Pavel

Signature · 2 lines
(english) http://www.livejournal.com/~pavelmachek
(cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blog.html
#1 lore raw

Quoting Pavel Machek (2020-04-07 08:20:47)

Quoted 14 lines · Pavel Machek
Quoted 12 lines

Hi!

7dc8f1143778a35b190f9413f228b3cf28f67f8d

drm/i915/gem: Drop relocation slowpath

Since the relocations are no longer performed under a global struct_mutex, or any other lock, that is also held by pagefault handlers, we can relax and allow our fast path to take a fault. As we no longer need to abort the fast path for lock avoidance, we no longer need the slow path handling at all.

Quoted 8 lines
Quoted 4 lines

causes regression on thinkpad x220: instead of starting X, I'm looking at blinking cursor.

Reverting the patch on too of 919dce24701f7b3 fixes things for me.

I have received no feedback from patch authors, and I believe we don't want to break boot in -rc1 on Intel hardware... so the commit should be simply reverted.

Beyond the fix already submitted?
-Chris

#2 lore raw

Hi!

Quoted 13 lines
Quoted 13 lines
Quoted 13 lines

7dc8f1143778a35b190f9413f228b3cf28f67f8d

drm/i915/gem: Drop relocation slowpath

Since the relocations are no longer performed under a global struct_mutex, or any other lock, that is also held by pagefault handlers, we can relax and allow our fast path to take a fault. As we no longer need to abort the fast path for lock avoidance, we no longer need the slow path handling at all.

causes regression on thinkpad x220: instead of starting X, I'm looking at blinking cursor.

Quoted 7 lines
Quoted 5 lines
Quoted 1 line

Reverting the patch on too of 919dce24701f7b3 fixes things for me.

I have received no feedback from patch authors, and I believe we don't want to break boot in -rc1 on Intel hardware... so the commit should be simply reverted.

Beyond the fix already submitted?

I did not get that one, can I have a pointer?

Pavel

Signature · 2 lines
(english) http://www.livejournal.com/~pavelmachek
(cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blog.html

_______________________________________________
Intel-gfx mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/intel-gfx

#3 lore raw
Quoted 5 lines · Pavel Machek
Quoted 3 lines

Beyond the fix already submitted?

I did not get that one, can I have a pointer?

What's the status of this one?

I'm assuming the fix is commit 721017cf4bd8 ("drm/i915/gem: Ignore readonly failures when updating relics"), but didn't see a reply to the query or a confirmation of things working..

Btw, Chris, that __put_user() not testing the error should at least have a comment. We don't have a working "__must_check" for those things (because they are subtle macros, not functions), but if we did, we'd get a compiler warning for not checking the error value.

Linus
_______________________________________________
Intel-gfx mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/intel-gfx

#4 lore raw

Hi!

Quoted 5 lines
Quoted 3 lines
Quoted 1 line

Beyond the fix already submitted?

I did not get that one, can I have a pointer?

What's the status of this one?

I tried updating my kernel on April 3, that one did not work, but it did not include 721017cf4bd8.

Quoted 3 lines

I'm assuming the fix is commit 721017cf4bd8 ("drm/i915/gem: Ignore readonly failures when updating relics"), but didn't see a reply to the query or a confirmation of things working..

I pulled latest tree from Linus, and this one has 721017cf4bd8. Let my try to revert my revert, and test... yes, this one seems okay.

Something changed in the X, now it seems that only one monitor is used for login, not both... but it now works.

Best regards,
Pavel

PS: Hmm. This is not helpful. I guess this is "N".

*
* VDPA drivers
*
VDPA drivers (VDPA_MENU) [N/y/?] (NEW) ?

There is no help available for this option.
Symbol: VDPA_MENU [=n]
Type : bool
Defined at drivers/vdpa/Kconfig:9
Prompt: VDPA drivers
Location:

    -> Device Drivers

*
* VHOST drivers
*
VHOST drivers (VHOST_MENU) [Y/n/?] (NEW) ?

There is no help available for this option.
Symbol: VHOST_MENU [=y]
Type : bool
Defined at drivers/vhost/Kconfig:21
Prompt: VHOST drivers
Location:

    -> Device Drivers
Quoted 4 lines

Btw, Chris, that __put_user() not testing the error should at least have a comment. We don't have a working "__must_check" for those things (because they are subtle macros, not functions), but if we did, we'd get a compiler warning for not checking the error value.

Best regards,
Pavel

Signature · 2 lines
(english) http://www.livejournal.com/~pavelmachek
(cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blog.html