Received: by 2002:a05:6358:1087:b0:cb:c9d3:cd90 with SMTP id j7csp2483924rwi; Fri, 28 Oct 2022 07:36:21 -0700 (PDT) X-Google-Smtp-Source: AMsMyM4yG4hKDG7OHV6oax73GJoAJl5Segczq1NYOtFl6g4qg6ITliZmT7aaTy178NECJYLZOGOl X-Received: by 2002:a05:6402:5202:b0:461:b7e3:e6b7 with SMTP id s2-20020a056402520200b00461b7e3e6b7mr26588001edd.282.1666967781497; Fri, 28 Oct 2022 07:36:21 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1666967781; cv=none; d=google.com; s=arc-20160816; b=kfd+Aswv/9OnzKDQGEpPoAQhAxT3gpfm0p+p1+vFWskmIBQcE2/FhTeTDU8EKVakJ+ vX4/zkxcZ25p66nwSD8pVe2SVTFZuqdFYNRAZmpIce2Rl/wojQDZrIgkrvuuWLw5hg5t se+ubl1EqzoVy56VHYwT0C3QyfbF2n/g1WG5Wwh0CqiMBd+XaFd98oOoMs3oV4fHz0XT O3RwLfFOr/1pg/nP1vi+cr+is9MiZ2nD9NabvvSH+1uPMdBc6RtLiHn8GintGdHXuO3x vlM5ecmVa0iG9fVNGYQpkihhC5IiYbWZZrLYxGEPpHaxLs8nMBlzR2Er597BRasXEAXN hr7Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:references:cms-type:content-transfer-encoding :in-reply-to:from:content-language:cc:to:subject:user-agent :mime-version:date:message-id:dkim-signature:dkim-filter; bh=RMlwSajiI9aOhuFaMtICTVZnXT/QmMki7tEP8CkRFGc=; b=QMnhUYEadR3txA7FlASdqibTyRrbHs1Ft4qb/+JPVMuHpP+CDsFC9dg+HKg9Y9Gjkz HiuTOeJYn+Hkl8yZ9BOLesI7bUfc4pZ5oQ5SaWzLGOY2FV4xkn8NZzQkRFhfZ8ChNSHn 4Ryg3k69wYSonylQqtY9lBkbCuRTcbn14Q3+sLPO/fHTg/kpkKzX0cEdvNLJzhonOFMn 7kzt5gU6xR98RuzMQbES7zqmhjkRUMJNIXoNRnE8JnQXDvZ6yQtK/JTDrivkKshkhW5o RfQA63PBfmvxnTyEk6FRpHp+aFnJ3VnxQMWz4323mCJz7hqG7v/vN2OYEx4sQa57hOqK hXOg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@samsung.com header.s=mail20170921 header.b=AnkxQBCr; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=samsung.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id cr20-20020a170906d55400b007701a050273si5951259ejc.942.2022.10.28.07.35.56; Fri, 28 Oct 2022 07:36:21 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@samsung.com header.s=mail20170921 header.b=AnkxQBCr; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=samsung.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229549AbiJ1NsS (ORCPT + 99 others); Fri, 28 Oct 2022 09:48:18 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:40996 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231401AbiJ1Nr4 (ORCPT ); Fri, 28 Oct 2022 09:47:56 -0400 Received: from mailout1.w1.samsung.com (mailout1.w1.samsung.com [210.118.77.11]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 6AC4E1DCCFF for ; Fri, 28 Oct 2022 06:46:06 -0700 (PDT) Received: from eucas1p2.samsung.com (unknown [182.198.249.207]) by mailout1.w1.samsung.com (KnoxPortal) with ESMTP id 20221028134603euoutp012d9d7738d1b19572ed82ccc53a89e8ee~iP57SlYnq2081120811euoutp01D for ; Fri, 28 Oct 2022 13:46:03 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 mailout1.w1.samsung.com 20221028134603euoutp012d9d7738d1b19572ed82ccc53a89e8ee~iP57SlYnq2081120811euoutp01D DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=samsung.com; s=mail20170921; t=1666964763; bh=RMlwSajiI9aOhuFaMtICTVZnXT/QmMki7tEP8CkRFGc=; h=Date:Subject:To:Cc:From:In-Reply-To:References:From; b=AnkxQBCr7f+guwtjo5lGn5YpjPqaLw4lCe90Y08bOUi12kSyTk3YEjbRm73x98KjL Z4IZryk4vjizbBXYejzFOoM97bPPeZf/aNk4NpMKY3qKCSickQ3ELGB0fvsJ0drs7W Z2PlgZzyXI4sgNa//HgcApH0kcx/F2ReE/aiZR1Q= Received: from eusmges3new.samsung.com (unknown [203.254.199.245]) by eucas1p1.samsung.com (KnoxPortal) with ESMTP id 20221028134602eucas1p162a9231f7bc64982ca3653ba7b55ac4b~iP561ityV0609506095eucas1p1V; Fri, 28 Oct 2022 13:46:02 +0000 (GMT) Received: from eucas1p1.samsung.com ( [182.198.249.206]) by eusmges3new.samsung.com (EUCPMTA) with SMTP id 0F.BE.19378.A1DDB536; Fri, 28 Oct 2022 14:46:02 +0100 (BST) Received: from eusmtrp1.samsung.com (unknown [182.198.249.138]) by eucas1p2.samsung.com (KnoxPortal) with ESMTPA id 20221028134602eucas1p263f5b1972295650ae2708a44f9e9cae7~iP56IptEZ1545415454eucas1p24; Fri, 28 Oct 2022 13:46:02 +0000 (GMT) Received: from eusmgms1.samsung.com (unknown [182.198.249.179]) by eusmtrp1.samsung.com (KnoxPortal) with ESMTP id 20221028134602eusmtrp1ed3e3f82e21a46c84fcb1a7d6bf21e7d~iP56GmWbY3233032330eusmtrp1B; Fri, 28 Oct 2022 13:46:02 +0000 (GMT) X-AuditID: cbfec7f5-a4dff70000014bb2-a3-635bdd1ac55b Received: from eusmtip2.samsung.com ( [203.254.199.222]) by eusmgms1.samsung.com (EUCPMTA) with SMTP id 40.DE.07473.A1DDB536; Fri, 28 Oct 2022 14:46:02 +0100 (BST) Received: from [106.210.134.192] (unknown [106.210.134.192]) by eusmtip2.samsung.com (KnoxPortal) with ESMTPA id 20221028134601eusmtip2ac4c0c2f9a0cd60b885db2c3fc6cb10d~iP55ZGlg01295712957eusmtip2L; Fri, 28 Oct 2022 13:46:01 +0000 (GMT) Message-ID: Date: Fri, 28 Oct 2022 15:46:01 +0200 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:102.0) Gecko/20100101 Thunderbird/102.4.1 Subject: Re: [PATCH stable-5.15 3/3] usb: dwc3: disable USB core PHY management To: Stefan Agner , Johan Hovold Cc: Greg Kroah-Hartman , stable@vger.kernel.org, linux-kernel@vger.kernel.org, Johan Hovold , Matthias Kaehlcke , stable , regressions@lists.linux.dev, krzk@kernel.org Content-Language: en-US From: Marek Szyprowski In-Reply-To: <808bdba846bb60456adf10a3016911ee@agner.ch> Content-Transfer-Encoding: 7bit X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFlrPKsWRmVeSWpSXmKPExsWy7djPc7pSd6OTDT7fM7ZoXryezWJFpUXT jR5Wi/PnN7BbXN41h83i84bHjBYb33awW3w6f4HNYsHGR4wWm9e1sztweSz+fo/ZY3bDRRaP Tas62Tz2z13D7vFi80xGj8+b5ALYorhsUlJzMstSi/TtErgy7tzfyVpwjLviVN8DpgbGlZxd jBwcEgImEg0rUroYuTiEBFYwSsw+dY0ZwvnCKLH8xCUo5zOjxOK1E5i6GDnBOk69WMgOkVjO KLFzxyZWCOcjo8Sq5wvYQap4Bewk7j6eyQayg0VAVeLILiaIsKDEyZlPWEBsUYEUid3d28Bs YYFAiUn7X4HViAg4S1y/u40N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Q2sELawxJ9rXWwgtpDAe0aJ3pfVIDavgJ3E3cczgeIcHCwCqhJHdjFB hAUlTs58wgISFhVIkfh2rg4kLCwQKDFp/yuwEhEBZ4nrd7exgaxlFmhnknj8bAULxA2PGSXm f5wNdgOzgLjErSfzwTrYBAwlut5C3MApYCHx/9hzNogaM4murV2MELa8xPa3c5gnMArNQnLH LCSjZiFpmYWkZQEjyypGkdTS4tz03GJDveLE3OLSvHS95PzcTYzAuNx27OfmHYzzXn3UO8TI xMF4iFGCg1lJhLf+bHSyEG9KYmVValF+fFFpTmrxIUZTYFhMZJYSTc4HJoa8knhDMwNTQxMz SwNTSzNjJXFez4KORCGB9MSS1OzU1ILUIpg+Jg5OqQamna6CPbw3Z7Ybs7M95bt/4trpfsml CSm9+2+Yxmqt5HiYq8Dr3flmxdnSyedePlN80GrWa/elrE1a8zTbQ6H3c7ONmZ8rMnsKvop/ ya27epuLcrNyyYqHk1OleRrL3py8wBKx/KOSHov5t1Ovzh+u2XuK7U7srfmHDha4Bxu5Lrkb 0n6QX+/KHD6db68XME60eKrXL35kweNdHXNizXL/7eruFmEW0T6z5I+vgWJW4/5VTYVS7zzX 7jD73XZOvzj6GeOCqNXzFt737Vmem+My/2tq60rtwvCyQwfjfO9vXfhTdb+Gc1lO/3ZGH/GN Txn2XF1idNXny02VrSsDOubWBryUy6q53K9Y+NK02zVciaU4I9FQi7moOBEA+R/syFQDAAA= X-CMS-MailID: 20221028134602eucas1p263f5b1972295650ae2708a44f9e9cae7 X-Msg-Generator: CA Content-Type: text/plain; charset="utf-8" X-RootMTR: 20221018152853eucas1p2bd3531388625cf11f8b514bb9cc35e76 X-EPHeader: CA CMS-TYPE: 201P X-CMS-RootMailID: 20221018152853eucas1p2bd3531388625cf11f8b514bb9cc35e76 References: <20220906120702.19219-1-johan@kernel.org> <20220906120702.19219-4-johan@kernel.org> <808bdba846bb60456adf10a3016911ee@agner.ch> X-Spam-Status: No, score=-7.6 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,NICE_REPLY_A, RCVD_IN_DNSWL_HI,RCVD_IN_MSPIKE_H3,RCVD_IN_MSPIKE_WL,SPF_HELO_PASS, SPF_PASS autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Dear All, On 18.10.2022 17:27, Stefan Agner wrote: > Hi Johan, > > On 2022-09-06 14:07, Johan Hovold wrote: >> From: Johan Hovold >> >> commit 6000b8d900cd5f52fbcd0776d0cc396e88c8c2ea upstream. >> >> The dwc3 driver manages its PHYs itself so the USB core PHY management >> needs to be disabled. >> >> Use the struct xhci_plat_priv hack added by commits 46034a999c07 ("usb: >> host: xhci-plat: add platform data support") and f768e718911e ("usb: >> host: xhci-plat: add priv quirk for skip PHY initialization") to >> propagate the setting for now. > [adding also Samsung/ODROID device tree authors Krzysztof and Marek] > > For some reason, this commit seems to break detection of the USB to > S-ATA controller on ODROID-HC1 devices (Exynos 5422). > > We have a known to work OS release of v5.15.60, and known to not be > working of v5.15.67. By reverting suspicious commits, I was able to > pinpoint the problem to this particular commit. > > >From what I understand, on that particular hardware the S-ATA controller > power is controlled via the V-BUS signal VBUSCTRL_U2 (Schematic [1]). > Presumably this signal is no longer controlled with this change. > > This came up in our HAOS issue #2153 [2]. I confirm this issue and I've managed to reproduce it locally. The mainline is also affected. I will try to prepare a proper patch soon. Best regards -- Marek Szyprowski, PhD Samsung R&D Institute Poland