lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <2551848.SakgYeHO72@aspire.rjw.lan>
Date:   Thu, 13 Sep 2018 16:13:08 +0200
From:   "Rafael J. Wysocki" <rjw@...ysocki.net>
To:     James Wang <jnwang@...e.com>, Takashi Iwai <tiwai@...e.de>
Cc:     Borislav Petkov <bp@...e.de>,
        Greg Kroah-Hartman <gregkh@...uxfoundation.org>,
        "Rafael J. Wysocki" <rafael.j.wysocki@...el.com>,
        linux-kernel@...r.kernel.org, Pingfan Liu <kernelfans@...il.com>
Subject: Re: [REGRESSION] Errors at reboot after 722e5f2b1eec

On Thursday, September 13, 2018 12:03:36 PM CEST James Wang wrote:
>  This is a multi-part message in MIME format.
> --------------F5519E624D0AD1E3F7DDA019
> Content-Type: text/plain; charset=utf-8
> Content-Transfer-Encoding: 8bit
> 
> 
> 
> On 09/11/2018 02:15 PM, Takashi Iwai wrote:
> > On Tue, 11 Sep 2018 14:11:30 +0200,
> > James Wang wrote:
> >> I did try it from kernel : head
> > OK, then the bug is present with 4.19-rc2, at least.
> > Please check my test kernel later (it's still being built).
> Hi folks,  I attach two log about 4.19-rc3 and 4.19-rc3+Rafeal suggestion.

OK, no difference AFAICS.

This means that the commit turned up by bisection simply uncovered an existing
ordering issue, apparently between an IOMMU and its client (ie. it appears that
the client is shut down after the IOMMU).

This isn't limited to shutdown and you'd see the same issue on system-wide
suspend/resume (in fact, the Pingfan Liu's patches make shutdown use the
same device list that is used for system-wide PM).

One way to mitigate such issues is to add a device link between the two
devices in question to enforce the correct suspend/resume/shutdown ordering
between them.

Thanks,
Rafael

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ