Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp870946rwd; Thu, 1 Jun 2023 07:36:03 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ5lmB6jutvfCkjiQD/3OImGKu76X5vyEKXgoinu6nwcQMqwXeuxU1KdBTaF6k4nKcqVtFXh X-Received: by 2002:a05:6a00:2184:b0:640:f313:efba with SMTP id h4-20020a056a00218400b00640f313efbamr9219254pfi.19.1685630162962; Thu, 01 Jun 2023 07:36:02 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1685630162; cv=none; d=google.com; s=arc-20160816; b=rNpbSnnbnJTgi9Qh+h/n8A27luCPow4l1YAifvKxH7mgVw829XsmpzgtiR1lc0mzZo 9nUWg53V3n+zVJH43cCpL2QIfwkxJ02ENnnHOQsTTi1MwW15HafwAKoQdmriWh2PSHB3 VOpdIwtKpfeJPuaBpceLKCaV3ku8dSGhd8EbwQhrIrHsN9lhe5Gp+A0CDuZRpjPoju2n 2pLIe534eFXNqtoOQ5WDEDrsx4r1ZPcNoLdhW2Z3YFuJP8GkCUqDoZer3DfSrHXD5QFf EaYWEXPIRHhw+AXTieV+0y3uIQ44ZrhM0ZqN90QLe8EE+gcat57fsF7kLYWu1hpQejiZ RIBw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:cc:to:subject :message-id:date:from:in-reply-to:references:mime-version :dkim-signature; bh=DeEt3ZtY/qgPpIG3Juy6jxgig7CNozbybAWZDbKu/2U=; b=BgJ/SfczLK0fQ99maVlri1Jpyqh4PrE2rGMbLHwjckB8u9L2lldRWbdR++q7JTR/NA 6HCIIeSDqhT4IfeFTHWsNa1S0vcfRev9sfsvUPXbU0whTxdoYtH8uSwSRc92Rj/Rj+CO GCWzifZr14yjoFfZ8RuUxWUgmZTheS3sSD4cEHyrA2Fkfj/PUy4izQyKciq/npjNOp8c AqRRv1lYVXH6W11/4qYVWOS4hteBfdugShRBh7aF8sH85V1zvalqCFpC6xY4mDNgVUsK x9nY78JKDAXpxA3DNJneB47/FYgJpt3KJ71+OFLTClcVFkAusRaA9Ax59hsVHn/58GWS 73qQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20221208 header.b=EA6QMh0S; 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=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id a21-20020a637055000000b0053476becd25si177934pgn.285.2023.06.01.07.35.49; Thu, 01 Jun 2023 07:36:02 -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=@gmail.com header.s=20221208 header.b=EA6QMh0S; 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=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234008AbjFAOPC (ORCPT + 99 others); Thu, 1 Jun 2023 10:15:02 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:36264 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234294AbjFAOOz (ORCPT ); Thu, 1 Jun 2023 10:14:55 -0400 Received: from mail-lf1-x12e.google.com (mail-lf1-x12e.google.com [IPv6:2a00:1450:4864:20::12e]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 578CBFC; Thu, 1 Jun 2023 07:14:54 -0700 (PDT) Received: by mail-lf1-x12e.google.com with SMTP id 2adb3069b0e04-4f50470d77cso1170216e87.0; Thu, 01 Jun 2023 07:14:54 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1685628892; x=1688220892; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:from:to:cc:subject:date :message-id:reply-to; bh=DeEt3ZtY/qgPpIG3Juy6jxgig7CNozbybAWZDbKu/2U=; b=EA6QMh0SF1z/MTpMCRKX9Wem4Jbt9wiCcnjreK854AVtiORKI2PsSN79zxKO/ZRuvH he7xl4p/EgXNjbb0tGcGODweznwFnioHPqiX1EZuVwCn8HNL+2VENunXXh0TUIRIgtoO SNWIsXG1pOToRqQL8NGZ5TVMAwYkgYUkjnecI1TL2VCAy99EVn5bWCW+fJILMGZfWEYP SK2W9Irhygls/2htBENC8xH8KNvPZ4SV11mlGK86spve9XhKwz6YVDsvkPbc3Aaan//D RilNeQcQojDJ1HsnPi2lZSFpdQoO6QjsfaZeSqevXWkx8yZAWqTKJM6VQPqC5BmSMLE6 khNg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1685628892; x=1688220892; h=content-transfer-encoding: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=DeEt3ZtY/qgPpIG3Juy6jxgig7CNozbybAWZDbKu/2U=; b=gzDGDOM8sHpEbLTuDsQyvKVQGhfhYHosEKAyBnJXe6OLBhOTQ25NHgBtNlszSiQnGt KyVdYJZ08RNw/ahBHeC/Yp8+RABSAcJZ/bcWW8Z7QRydCTohhx+9VEayzXoLtRm64Ct5 J/qrZSovYhhzV93zllwxDyiY3XOCuqNd81aTriaF+0LSV1fdmhMqh0DQ5Q/8ld3EF+kd 1CarRccA3nyVU0pk/c1GHBUbAIUou7EfvavZNCqcqfAn9PZ9W4/EPHyjpBVURHTet59i DdONXBSgBLscBmFkZmM0WsNT2+M0MO5ew0ozrx10UrwFb4NGczDEkG/gIYJ1q+7spKnx ytEg== X-Gm-Message-State: AC+VfDxEyoQuQPNKIJH+d9AsbrYsGjqD5HDWC5IU0dlHcU39Klg0Ijr2 XiaK+WMqHKyl5PgfEe3Y6jKOMROpuOmA+kCYAQQ= X-Received: by 2002:ac2:4c2b:0:b0:4f4:b41c:a8c1 with SMTP id u11-20020ac24c2b000000b004f4b41ca8c1mr171lfq.69.1685628892019; Thu, 01 Jun 2023 07:14:52 -0700 (PDT) MIME-Version: 1.0 References: <20230531-topic-8998_mmssclk-v1-0-2b5a8fc90991@linaro.org> <20230531-topic-8998_mmssclk-v1-4-2b5a8fc90991@linaro.org> In-Reply-To: <20230531-topic-8998_mmssclk-v1-4-2b5a8fc90991@linaro.org> From: Jeffrey Hugo Date: Thu, 1 Jun 2023 08:14:41 -0600 Message-ID: Subject: Re: [PATCH 4/4] clk: qcom: mmcc-msm8998: Fix the SMMU GDSC To: Konrad Dybcio Cc: Andy Gross , Bjorn Andersson , Rob Herring , Krzysztof Kozlowski , Conor Dooley , AngeloGioacchino Del Regno , Michael Turquette , Stephen Boyd , Imran Khan , Rajendra Nayak , Joonwoo Park , Jeffrey Hugo , Marijn Suijten , Dmitry Baryshkov , Jami Kettunen , 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" Content-Transfer-Encoding: quoted-printable X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_FROM, RCVD_IN_DNSWL_NONE,SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE 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 On Wed, May 31, 2023 at 3:01=E2=80=AFAM Konrad Dybcio wrote: > > The SMMU GDSC doesn't have to be ALWAYS-ON and shouldn't feature the > HW_CTRL flag (it's separate from hw_ctrl_addr). In addition to that, > it should feature a cxc entry for bimc_smmu_axi_clk and be marked as > votable. > > Fix all of these issues. > > Fixes: d14b15b5931c ("clk: qcom: Add MSM8998 Multimedia Clock Controller = (MMCC) driver") > Signed-off-by: Konrad Dybcio Was this tested on a system where the bootloader has enabled the display and it is active during Linux boot? I seem to recall that in that scenario, Linux would boot up, see that the GDSC is on, not see any clients for it (still initializing), turn it off, and kill the display which then results in either a mess of errors or a bus lockup. -Jeff