Received: by 10.192.165.148 with SMTP id m20csp424053imm; Wed, 2 May 2018 02:42:21 -0700 (PDT) X-Google-Smtp-Source: AB8JxZq1alB+x5fhB0ckaMYYYtBk4q704SNCzZSZw2VHDjAvVjSz5gw6Bb04bpxvzEXe3fZUU3CL X-Received: by 2002:a63:62c6:: with SMTP id w189-v6mr15803564pgb.263.1525254141372; Wed, 02 May 2018 02:42:21 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1525254141; cv=none; d=google.com; s=arc-20160816; b=J8VloAiL2hwz5DM/BTJdMLbmAA/aM50tHsGcUw1Y+0aiSZSnHXgD7lOXtZl432fU0+ SVXLHXXhS2vm7QiqYuRkQ9EeUDiNG/8HlxPdGb01Oxi1gy53EDRGPFUR4LtGk6q6WC/J Pt1WifPzIV9HXFtgiShkwr3SXaXvjer3+oi80goSLtg0AYHC89wdw82zt+dYu2aumBFB WXADokV58hj9WmrZ6VaiMpTBdjpws5wCTHUfUPtDPkPtqaCWo4URAwelwer4BAW7crPt lfyNBgij2MrEeHMtlBKJ+aqAY0wx/XtR3yoXXQjGwp5jGYpFCGg8lfnqz2FNS72jf/tT hyZA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:subject:message-id:date:from :references:in-reply-to:mime-version:dkim-signature :arc-authentication-results; bh=IIE7r9aQ4frdtkv3vx8NNyP/ETuepU5W0ExkM7ywPy0=; b=U8723necqjqPVf/PU3ATF5RMkttNwxtpIkKsjUQkAfNHaRR6I2eD9CrGiRGkgFqJ06 1oArsjcrESP6HixXAHdPf4Vkl2HJrNT5h5CkHwGk9RNCyK17umTDnGRd3Zk65oa3nhQV zpBJ9WR50QT+2/bxuu9o7y3YmedeGRvzrkNEXMPGisB/60M1Qxe0LwMHFEBvSMAQ4xTL Rop9GZQdjLlE2hvDunDIgVowKnc07Axj8yHa2s7kZQCl5/eMeCMleKc49P4U5gY/85ma +Ppb/T1mGlnkifBixCx4ffp9uvdrsKTpem51AcFDd299Ino1emUOzbbvGclL2xrCpLvo /XXQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=EiksASiA; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id y8-v6si9395697pgo.441.2018.05.02.02.42.06; Wed, 02 May 2018 02:42:21 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=EiksASiA; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751121AbeEBJlp (ORCPT + 99 others); Wed, 2 May 2018 05:41:45 -0400 Received: from mail-io0-f180.google.com ([209.85.223.180]:41429 "EHLO mail-io0-f180.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750930AbeEBJln (ORCPT ); Wed, 2 May 2018 05:41:43 -0400 Received: by mail-io0-f180.google.com with SMTP id e12-v6so16721360iob.8 for ; Wed, 02 May 2018 02:41:43 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=IIE7r9aQ4frdtkv3vx8NNyP/ETuepU5W0ExkM7ywPy0=; b=EiksASiAiNhXH5nEiLf8aE9Y7289G8huGY38NLc3G/4Ot4XC6Q0x1KjBpeiBHM1IWj QILGV3hXl0ZdWwOxQhuo2R+fDt7QmA7Lg+EU3t2zv3eE8u46u5GQwrgxwYTvWN6o9lXz osmdS/ZmHowx/itJRAvDHm0LmqzD0ZvfKlqFo= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=IIE7r9aQ4frdtkv3vx8NNyP/ETuepU5W0ExkM7ywPy0=; b=tzpjRyF4pr/9PYdI89YIekqbPqBh6MK7mbJdQut8g3p/I2+Rb3VQmP8wiVUuZ4rqqr qgoymT+sq/2uiJ7Y8FZrFI2jVgYG5Fn2vL/+I6S66sOWBvxTn8XpitJBwrzrMFr/DrpN nlo8ZLE7jTWJeDeLqqyyga/cL2OUKguxKFzRrVo4Eh3Aloz+c7sULmPtSDxBzR0Xuv52 7cSUctdbA8wsrgM6pZaEeSklbg6RiPD319xcqDW0lN8l/E0uqBNeywcZCRlWIN0kJkRy pnKDsLE9c57NsHFI+50MfbNUWdR6LbEI7KGRh/rc/1/+kI1mnZFIvxUByKZdaCwmPFE1 uHGA== X-Gm-Message-State: ALQs6tACa0HEyXgSWpbkJCNCr5cV7Oz4cz68TFhzT4km1opkMXCJeZJm K3QqVUkM9h+XmCxKPYKXBuKQYSCiwesuAQrEaj59PA== X-Received: by 2002:a6b:ed0:: with SMTP id 199-v6mr19331861ioo.170.1525254102884; Wed, 02 May 2018 02:41:42 -0700 (PDT) MIME-Version: 1.0 Received: by 10.107.187.134 with HTTP; Wed, 2 May 2018 02:41:41 -0700 (PDT) In-Reply-To: <20180502091851.vr64q7atvd2tovpy@localhost> References: <20180502080631.sriwquzcky6t24c2@localhost> <20180502091851.vr64q7atvd2tovpy@localhost> From: Ard Biesheuvel Date: Wed, 2 May 2018 11:41:41 +0200 Message-ID: Subject: Re: Regression due to "Workaround for uPD72020x USB3 chips" To: Domenico Andreoli Cc: Mathias Nyman , Bjorn Helgaas , Marc Zyngier , Bockholdt Arne , Greg Kroah-Hartman , linux-usb , Linux Kernel Mailing List Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 2 May 2018 at 11:18, Domenico Andreoli wrote: > On Wed, May 02, 2018 at 10:22:05AM +0200, Ard Biesheuvel wrote: >> On 2 May 2018 at 10:06, Domenico Andreoli wrote: >> > Dear all, >> > >> > my home machine stopped to boot starting from kernel version 4.12.7. >> > >> > The last message I read is about resetting some USB3 bus. It's 100% >> > reproducible also with any recent kernel up to 4.17.0-rc3. >> > >> > I bisected down to the following commit: >> > >> > commit 0e1f0eaed6c20db41ff61e024b361ee3ec9d686c (tag: my_broken_xhci) >> > Author: Marc Zyngier >> > Date: Tue Aug 1 20:11:08 2017 -0500 >> > >> > xhci: Reset Renesas uPD72020x USB controller for 32-bit DMA issue >> > >> >> Hello Domenico, > > Sir.. > >> >> Long time no see :-) > > Instead I see you pretty much everywhere :P > >> >> Please refer to the following thread >> >> https://marc.info/?l=linux-usb&m=151872295419486 >> >> for some discussion on this topic, and a possible workaround. > > Interesting, thanks for the pointer! > > I'm happy to learn I've this nice piece of HW in my machine. It might > have at least some other issue while trying to hibernate (there is a > fair chance for it to abort the process because of some "business"). > > I tried the usb/uPD720202-reset branch from Marc (with some massaging > due to quirks now being >32) and my system boots again. I think it's > more because of the PCI reset is removed, I am not affected by the > original issue it was meant to fix. > Indeed. The majority of x86 machines never perform DMA above 4 GB in UEFI, so the issue does not occur, although it could still affect a kernel with IOMMU on kexec'ed from a kernel with IOMMU off.