mbox series

[0/2] fix lock debugging corruptions

Message ID 20180930034821.13788-1-npiggin@gmail.com
Headers show
Series fix lock debugging corruptions | expand

Message

Nicholas Piggin Sept. 30, 2018, 3:48 a.m. UTC
A misbehaving KVM guest test that causes a lot of machine checks
and processor recovery HMIs ends up crashing skiboot.

The first patch is a fix for the crash, the second might have made
debugging it a bit easier.

[ Also pdbg is great, I can't say that enough. Make sure to grab the
  big endian stack unwinding patch if you're trying to debug skiboot
  with it. ]

Nicholas Piggin (2):
  core/lock: fix timeout warning causing a deadlock false positive
  core/lock: don't set bust_locks on lock error

 core/lock.c | 23 +++++++++++++++--------
 1 file changed, 15 insertions(+), 8 deletions(-)

Comments

Stewart Smith Oct. 16, 2018, 7:56 a.m. UTC | #1
Nicholas Piggin <npiggin@gmail.com> writes:
> A misbehaving KVM guest test that causes a lot of machine checks
> and processor recovery HMIs ends up crashing skiboot.
>
> The first patch is a fix for the crash, the second might have made
> debugging it a bit easier.
>
> [ Also pdbg is great, I can't say that enough. Make sure to grab the
>   big endian stack unwinding patch if you're trying to debug skiboot
>   with it. ]
>
> Nicholas Piggin (2):
>   core/lock: fix timeout warning causing a deadlock false positive
>   core/lock: don't set bust_locks on lock error

Thanks! Series merged to master as of 527286706ab1861774742402c4e69e1b3b6f6cde