Received: by 2002:a05:7412:a9a2:b0:e2:908c:2ebd with SMTP id o34csp1007164rdh; Fri, 27 Oct 2023 01:48:54 -0700 (PDT) X-Google-Smtp-Source: AGHT+IGRn9MpziRQKRAiQZA2NarZomhJUdGJiV5frfGqojblAMTa+i5QQffddiIMT61GUsgK1PrO X-Received: by 2002:a81:c40d:0:b0:59f:4dcd:227e with SMTP id j13-20020a81c40d000000b0059f4dcd227emr1878243ywi.37.1698396534217; Fri, 27 Oct 2023 01:48:54 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1698396534; cv=none; d=google.com; s=arc-20160816; b=ylTzF4kcgokn43hv9Ff0SRbbYfjz9eeyDS+1dt+Mj6AGDIGPPTtjq0x2L/N1I53ZGg 7SJ8mUxk+ZKbjwZZg9fI/XwHDLDVQ4rEon4TA767pWwT1JN+u4nR26/MBv7s0vf9LUol ULBrkrf6+5kbgFjH+TfHwkie64TplSiyOJHZgrZCk4z7aYlccuID7RwcpE7y00VgA986 qYwZKwllCnhBKZjdDaBAvKWQzaCbOn9/imYZHwId5Ej0TlyU46mwmD4aJYKoOkHkDsd/ 4QQK2VbALwE+QoqOR6Itd8HV5bNDTzwPzclKf0Gyu4f/o1KxjR34AmbCxnJIk+SsZ+oO W+0Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:subject:message-id:date:from:in-reply-to :references:mime-version:dkim-signature; bh=nvOPHwGJQebkrMEWHUin3lPRoZdTkotFVHLS8/2H+/s=; fh=NN9bnV7a0j73Jb1O0gYOs8BbR/3RjaR3yAvmnueqvxk=; b=S2GV+4eYwZ3czQP+b//qjufee88bNxeM23yOKNDHb5w9SdMsOVV+ThWQ+S04J3Liut B1FyDG4WuQXolaTysrmgGlMPlF2ODn5VKfkxDCIhZzicV6FjIk2sCENzOwSSyrdb+p9p v0kI3Mnyjf9TmlA7shY3pAjrtXRJqJipdauWr6cfrr2gQidaKSA/N9P00uya6RnuYbJG HllA8vAKfNyIDUnF8CxMavW4QpTcKBcVlO/n4mSgy/72Id960bPg95UaK8+lRUB9g3hX 1hVyfJ6Itd3aJhJeBC8Pg2UoprmGpFBpA3+P4xEg79wGWjsCqwSog5QsiyGpMJaRItbJ Xjvg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b=fuvom1zT; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:8 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from fry.vger.email (fry.vger.email. [2620:137:e000::3:8]) by mx.google.com with ESMTPS id m7-20020a817107000000b005772709637esi1662000ywc.179.2023.10.27.01.48.53 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 27 Oct 2023 01:48:54 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:8 as permitted sender) client-ip=2620:137:e000::3:8; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b=fuvom1zT; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:8 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by fry.vger.email (Postfix) with ESMTP id 6263582DDAEF; Fri, 27 Oct 2023 01:48:50 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at fry.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1345518AbjJ0Isi (ORCPT + 99 others); Fri, 27 Oct 2023 04:48:38 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:44916 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234963AbjJ0Ish (ORCPT ); Fri, 27 Oct 2023 04:48:37 -0400 Received: from mail-pf1-x42d.google.com (mail-pf1-x42d.google.com [IPv6:2607:f8b0:4864:20::42d]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 39F3DC4; Fri, 27 Oct 2023 01:48:35 -0700 (PDT) Received: by mail-pf1-x42d.google.com with SMTP id d2e1a72fcca58-6bee11456baso1732929b3a.1; Fri, 27 Oct 2023 01:48:35 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1698396514; x=1699001314; darn=vger.kernel.org; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=nvOPHwGJQebkrMEWHUin3lPRoZdTkotFVHLS8/2H+/s=; b=fuvom1zTlz+Rvjuo3K0pg83kKLjTEwICewWV0nchTcM8gliC2IvFzEbMLlgdz981iC eOWFqctq+7iHYHFtBZ9A9WeVtaHQ/Fz+y73SpXgK8yiT3SFUI33aZvcILiSQsBlO/A8X 3QSyYApjLR7QIH5xIG+VizDFhR5vnKXMY4BrOwqMEvVFt8YxeXSskq2jDLyrShSs7CGp 0VsGD5OkAufcGc5Q/du0mKAGUMdZmUH8QzL2z2dTtLwUJeRQnTfcHI5263qR7rQY5KBd /7/bYguXMHeJKlPggge8pmIUO/rCCKrvIjLCmEhv3qsEreZ3vjounfF3ulcVgpvu/mnI RxcQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1698396514; x=1699001314; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=nvOPHwGJQebkrMEWHUin3lPRoZdTkotFVHLS8/2H+/s=; b=g1K7wzHh4yrPKxPeNZVXpUnn+S2D4f0dGZ6sXzriyhOYGR5IQZiy8VeilelA4vWSnf UUza/cOI8GT0RZx/yHeJcRn07kMVP+o9M+DPFsSM21afgwOGQxVOTivMaY4XZlteN5c1 rWQMfexhXr4QYm3BBAj5sV3TffLIM8KWEYLjRYq8hmMMomQvprUzPqVRtwU+z4uIDhL3 mmIjCkDzdu1vtrr5CPkdnRcvXWoxVoC4xJqXbBOeEmVu4TmMEIXDOBcwmCPHl1VrAVig 5eXR1I9C0bg7LLdXS4jqVrptzZ0vzDynaNvKK3I6GFVq4aAUx1c7oyz331uEjqIL6PCZ f+/g== X-Gm-Message-State: AOJu0YynXrtFN8488NuH83mHfJ/Mr00jtWNRLQzXTX1SkT7jl++3T83l DZXosmi1ZPHxFOa0ndkJ9zcJFgowhZPTEdARiTA= X-Received: by 2002:a05:6a20:7489:b0:174:2286:81f4 with SMTP id p9-20020a056a20748900b00174228681f4mr2266082pzd.14.1698396514550; Fri, 27 Oct 2023 01:48:34 -0700 (PDT) MIME-Version: 1.0 References: <20231025104457.628109-1-robimarko@gmail.com> <20231025104457.628109-2-robimarko@gmail.com> <77314fe2-2936-4f89-a347-4eb288507c47@linaro.org> <1b99abed-6572-4550-98cc-56667a507883@linaro.org> In-Reply-To: <1b99abed-6572-4550-98cc-56667a507883@linaro.org> From: Robert Marko Date: Fri, 27 Oct 2023 10:48:22 +0200 Message-ID: Subject: Re: [PATCH 2/3] clk: qcom: ipq6018: add USB GDSCs To: Konrad Dybcio Cc: agross@kernel.org, andersson@kernel.org, robh+dt@kernel.org, krzysztof.kozlowski+dt@linaro.org, conor+dt@kernel.org, mturquette@baylibre.com, sboyd@kernel.org, linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-clk@vger.kernel.org Content-Type: text/plain; charset="UTF-8" X-Spam-Status: No, score=-0.6 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,FREEMAIL_FORGED_FROMDOMAIN,FREEMAIL_FROM, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,SPF_HELO_NONE, SPF_PASS autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on fry.vger.email Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (fry.vger.email [0.0.0.0]); Fri, 27 Oct 2023 01:48:50 -0700 (PDT) On Thu, 26 Oct 2023 at 20:45, Konrad Dybcio wrote: > > > > On 10/26/23 20:42, Konrad Dybcio wrote: > > > > > > On 10/25/23 12:44, Robert Marko wrote: > >> IPQ6018 has GDSC-s for each of the USB ports, so lets define them as such > >> and drop the curent code that is de-asserting the USB GDSC-s as part of > >> the GCC probe. > >> > >> Signed-off-by: Robert Marko > >> --- > > Applying patches 1 and 3 without this one breaks usb, no? > Sorry, my hands don't keep up with my brain - that's almost another > speculative execution vulnerability! > > What I meant to say is: > > applying patches 1 and 2 breaks USB > > but > > the solution here would be to apply patch 1 and patch 3, followed > by patch 2 (unless it will make the USB defer, IDK, it's probably > easier to just test than to dive deep into the code) > > with Bjorn taking both subsystems, we can make that work I think Hi, Applying patches 1 and 3 without patch 2 will make USB fail with: # [ 11.351681] dwc3-qcom 8af8800.usb: deferred probe timeout, ignoring dependency [ 11.351729] dwc3-qcom: probe of 8af8800.usb failed with error -110 And yes, applying patches 1 and 2 without patch 3 will also break USB. That is why I sent this as a series. Regards, Robert > > Konrad