Received: by 2002:a05:6a10:1287:0:0:0:0 with SMTP id d7csp2416290pxv; Sat, 17 Jul 2021 12:49:40 -0700 (PDT) X-Google-Smtp-Source: ABdhPJy9U10Ug2I15vi39/G/0LOEc12jQphsn1uHZD+zmGF7fPVeU9a0ghLdO70ncm6mVgZwrd9L X-Received: by 2002:a6b:f704:: with SMTP id k4mr12369859iog.191.1626551379979; Sat, 17 Jul 2021 12:49:39 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1626551379; cv=none; d=google.com; s=arc-20160816; b=0OQvAIrDa3EwyuoWD4OLSko/NeVNJeXwDqvsx18i3q1HCjrhWADy9tBkNQV0q6wDqB nsDp1/3mPYA3dwLZEQ1oxaa2ywL4u8MdvuWV8I+rtaZEyQ6Sfo6nFHLSPn4LJWfXSaAZ AKWoSVkHxIf62E5R7V0Utu8iNmj0zxDf//w/iJN90+1Q1ipREKSFF4ljNbmfvmiKDkcF m5AzrIWxXvYxTwgbe842l4/EUoPxH8mx8fYD0Y16211VPkwN8D42X3Ip6FdnyJIyJWwm 0Nzp2rDx36119z0Z+4YkACs516dS2QLbJ9zlelOwvOyX+eLaxKLDTKIMurOATS92r30Q WYTQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date; bh=XzqBX+hros9NGU/wG4gITs49J7cStdDidaUInx9C9QA=; b=00J/8fQHKnuPXvxK37OSk/n18BPkK4CuWWus7V4S9oDy42Z8cxsBoi2A+K2tUjq2Xl CscpgGgLurXFDan4SlzuXMjvxfKqaJRlLCblo4Si82OfRn6VGWWKH54JAJk3quYzCEHL XqkAZ9BfGzFxLELCqkxTl/qTa5CspyyjrZO01r3fQDc45bp1lxs47viRs9BGd/KkAu3T cOtxG3J85RjeM6+MlISrnkpWXQN7z1PxdiJBQh/qHHBmJomCRGALUigcSWAgVo6FLxHe 1dBs0rOnuL8ceTBXGr6+A/rPVqQ+24n1uBfYVZFKxuRjxmbwVUHxo8A9Lv7a1n/PKMbC /yJg== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id m4si14672620ioy.95.2021.07.17.12.49.27; Sat, 17 Jul 2021 12:49:39 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S235163AbhGQTvv (ORCPT + 99 others); Sat, 17 Jul 2021 15:51:51 -0400 Received: from mail-pf1-f175.google.com ([209.85.210.175]:34669 "EHLO mail-pf1-f175.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234296AbhGQTvu (ORCPT ); Sat, 17 Jul 2021 15:51:50 -0400 Received: by mail-pf1-f175.google.com with SMTP id o201so12354698pfd.1; Sat, 17 Jul 2021 12:48:53 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to; bh=XzqBX+hros9NGU/wG4gITs49J7cStdDidaUInx9C9QA=; b=X+GjG4y468SyHYR1GU39g3wCulnk7J2SFTZNiosDGWcxWOTO0MYwpCobrc8VCTn11/ JcImSOVoBLmJOzsatnf44vB2ZtrpNab/njzWHopgkqoLRN+0tPfHv/30CNYjFL+SQ8gN uA16kJwYxJ3bnGB1cio7sifkqaY/qImJxsMX0skKRmJsgIaw//kK+MqvzHhVrAV4xL33 8jwWY5aOpFpXPs6CohGWhwRzSgfspM5Wa4r9ciBabSGKNUXRIH64Jp2MXJxwdnZ8UYw3 k5n1YFBq+jiTFEuwHuNh2ualPfWgFNbuGSED/B80kNa4+WGDvwtMAVWXzfUeCyM98ssO z/7A== X-Gm-Message-State: AOAM531CwBT8i6U/7qSn72AueWYb6k0OLMCI9/Ajix0RnhRQGsqz1/XG 6FlkuZQYPxfwMeumNUWXDvY= X-Received: by 2002:a63:4f62:: with SMTP id p34mr16507883pgl.283.1626551332853; Sat, 17 Jul 2021 12:48:52 -0700 (PDT) Received: from localhost ([24.4.24.239]) by smtp.gmail.com with ESMTPSA id w123sm14290136pfb.109.2021.07.17.12.48.50 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 17 Jul 2021 12:48:51 -0700 (PDT) Date: Sat, 17 Jul 2021 12:48:48 -0700 From: Moritz Fischer To: Greg Kroah-Hartman Cc: Justin Forbes , LKML , Stable , Mathias Nyman , Vinod Koul , Moritz Fischer Subject: Re: [PATCH 5.13 024/800] usb: renesas-xhci: Fix handling of unknown ROM state Message-ID: References: <20210712060912.995381202@linuxfoundation.org> <20210712060916.499546891@linuxfoundation.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Sat, Jul 17, 2021 at 07:34:51PM +0200, Greg Kroah-Hartman wrote: > On Sat, Jul 17, 2021 at 08:39:19AM -0500, Justin Forbes wrote: > > On Mon, Jul 12, 2021 at 2:31 AM Greg Kroah-Hartman > > wrote: > > > > > > From: Moritz Fischer > > > > > > commit d143825baf15f204dac60acdf95e428182aa3374 upstream. > > > > > > The ROM load sometimes seems to return an unknown status > > > (RENESAS_ROM_STATUS_NO_RESULT) instead of success / fail. > > > > > > If the ROM load indeed failed this leads to failures when trying to > > > communicate with the controller later on. > > > > > > Attempt to load firmware using RAM load in those cases. > > > > > > Fixes: 2478be82de44 ("usb: renesas-xhci: Add ROM loader for uPD720201") > > > Cc: stable@vger.kernel.org > > > Cc: Mathias Nyman > > > Cc: Greg Kroah-Hartman > > > Cc: Vinod Koul > > > Tested-by: Vinod Koul > > > Reviewed-by: Vinod Koul > > > Signed-off-by: Moritz Fischer > > > Link: https://lore.kernel.org/r/20210615153758.253572-1-mdf@kernel.org > > > Signed-off-by: Greg Kroah-Hartman > > > > > > > After sending out 5.12.17 for testing, we had a user complain that all > > of their USB devices disappeared with the error: > > > > Jul 15 23:18:53 kernel: xhci_hcd 0000:04:00.0: Direct firmware load > > for renesas_usb_fw.mem failed with error -2 > > Jul 15 23:18:53 kernel: xhci_hcd 0000:04:00.0: request_firmware failed: -2 > > Jul 15 23:18:53 kernel: xhci_hcd: probe of 0000:04:00.0 failed with error -2 > > > > After first assuming that something was missing in the backport to > > 5.12, I had the user try 5.13.2, and then 5.14-rc1. Both of those > > failed in the same way, so it is not working in the current Linus tree > > either. Reverting this patch fixed the issue. > > Can you send a revert for this so I can get that into Linus's tree and > then all stable releases as well? > > thanks, > > greg k-h Me or Justin? I can do it. This is annoying my system doesn't work without this :-( Back to the drawing board I guess ... Justin, any idea if your customer had the eeprom populated and programmed or not, just as additional datapoint. - Moritz