From mboxrd@z Thu Jan 1 00:00:00 1970 Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.remote-ip=100.103.45.18 ARC-Seal: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=none; t=1796276778; b=2SgFc9Lllf5Hon+Xnh+Gb4tXIuiYEIu/v6JlF31Lxbe3hivtEKqtUGgpLoccGQCEs9D9 wSnHmRZCvNmqT8MegFvzNmp/6uyZAJXDSImvzU2OC3siMndMw83nvDyiwyGZOnUF8xWJu QsWAP1IaLwhMFs2t5DE2UkHrT7LKo0EbJaJw4zwhKDyUWWM/as2jDjFLBlTxrJzzAIWz7 uv0VqHnvQ6TcvQcRp14O4hVjUufkLQX/GCPKok9bnyfBtmAdFjPcDDAG7chrNW9K6FcLM v9sqm6Pr+x0/umQRdfLsYqQ7cV+Q/rbVyZgI+4GMe1fqNWsHTSyd7o1DCwnXm9XFU9g== ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1796276778; h=Received:DKIM-Signature:Message-ID:From:Subject:Reply-To:To: In-Reply-To:References:Content-Type:Content-Transfer-Encoding:Date; bh=MDi6p3cK90NliQm9hiHntLXbM/WfhPl75rWAW98c6FY=; b=JfZdPhu15Az3+rlyOSfPKJHfNFngpMyY73DtrhQ7zA6L5jJAsOdOz2a7kCpqhYzOfb0v CbgVqjTsXJhepVk0kMbfSs8qKiB1/7495O5Wnbw6f+CafKVNceJ1X9/6QBed8BeSimXhQ +oVp7JPF9ZgnNQlsJnPBHDnis2bJLdfp1jyD1kqixqP6hvs6zTpm81xqaOeFr3/4JJ7J8 3y57w0ly1t++GvlNn7r3NmvSoGEeCi10b4k9ld97W+DTFA3NW/IIC0oNrkPswlXOsc3ZC MviqKujts6IsLDiQSeHTENUfo0BZEHX3bAag35W+Fjm2AfU2a7n/JzCgoAbBaKvJa4Q== ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dkim=pass header.d=kernel.org header.i=@kernel.org header.a=rsa-sha256 header.s=k20260515 header.b=gX8YAerM; arc=none smtp.remote-ip=100.103.45.18 Received: from smtp.kernel.org (quasi.space.kernel.org [100.103.45.18]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (prime256v1)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id E9DC9606A322 for ; Thu, 3 Dec 2026 05:46:17 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.a=rsa-sha256 header.s=k20260515 header.b=gX8YAerM Received: by smtp.kernel.org (Postfix) with ESMTPSA id A134C1F000C1; Thu, 3 Dec 2026 05:46:17 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kernel.org; s=k20260515; t=1796276777; bh=MDi6p3cK90NliQm9hiHntLXbM/WfhPl75rWAW98c6FY=; h=From:Subject:Reply-To:To:In-Reply-To:References:Date; b=gX8YAerMRJxL8Sg3Br4M80891YB8quXeM9be6xEGIOu5wPJRSNNl7qP6ihifwqdnk tH2KIw85Qt7yiB+eSgc91NYOJOnQ/6NqVKyp1zQJg3GCZbfE9SyWAnA/EkCtWiPzh0 qrd4L2OkX+AuAX02YPJ6oG38EfhEFcpXFiUjRLwohha/ircKCnQQduOKi81nRqCQZ8 BVshQAeA+Yb/bdmNS78CpZWfG7gpIbw6O6Ya3G3MneVLtM7QbuftjjbM4f05s64ioy 47sZnL6abMaXPehoHuzCehpaT83k+uKfVE3LAWoFRF+tZYX4LJPdRhVKCTFb0XoHB3 j3OpZkvjMVgIA== Message-ID: From: sashiko-bot@kernel.org Subject: Re: [PATCH] usb: xhci-plat: mvebu: restore MBus windows on resume Reply-To: sashiko-reviews@lists.linux.dev To: "Rosen Penev" , linux-usb@vger.kernel.org In-Reply-To: <20261203053651.928611-1-rosenp@gmail.com> References: <20261203053651.928611-1-rosenp@gmail.com> Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Date: Thu, 03 Dec 2026 05:46:17 +0000 X-Mailing-List: linux-usb@vger.kernel.org List-Id: List-Post: List-Help: List-Subscribe: List-Unsubscribe: List-Owner: Precedence: list > The Armada 375/38x xHCI reaches DRAM through MBus decoding windows in > its second register block. They are only programmed from ->init_quirk() > at probe time. On boards that lose SoC power in suspend-to-RAM, the > windows read back as zero on resume, so the controller has no path to > memory and its DMA fails. >=20 > The AHCI and mvneta drivers on the same SoCs already reprogram their > windows on resume. Do the same here by using the existing MBus setup > as ->resume_quirk(), which xhci_plat_resume_common() calls before > xhci_resume(). Reprogramming is idempotent, so it is also safe when > power was kept. >=20 > Fixes: 973747928514 ("usb: host: xhci-plat: add support for the Armada 37= 5/38x XHCI controllers") > Signed-off-by: Rosen Penev Sashiko has reviewed this patch and found no issues. --=20 Sashiko AI review =C2=B7 https://sashiko.dev/#/patchset/20261203053651.9286= 11-1-rosenp@gmail.com?part=3D1