Received: by 2002:a05:6a10:413:0:0:0:0 with SMTP id 19csp3570605pxp; Tue, 8 Mar 2022 17:44:37 -0800 (PST) X-Google-Smtp-Source: ABdhPJxn9nMSxWCksy6qfJIUKHisBwuqmW3LhIRdxb1+iOtd7Vq2k4RWFNg9frCk26qFXN/00As4 X-Received: by 2002:a17:902:e949:b0:14d:8ab1:919 with SMTP id b9-20020a170902e94900b0014d8ab10919mr20840729pll.122.1646790277415; Tue, 08 Mar 2022 17:44:37 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1646790277; cv=none; d=google.com; s=arc-20160816; b=MGZeNTmFGXMky1O/34zXi7tFXwzJMSKD/wafUp+vA/Or39P/Fl89lZO6Ew1q8DP2wM zt4hxTGscAe6ACzWCX314AWwOXMaJYXWop4Tdfy4GnQsxkWKnBbVvKSpUEmW1EDTiOlj eE7kk8NbWKputKKfcKYuEiG9LYbkrBkJyiNDQ3KRXbrrrA2BuoWYyk6XYOVy3f3bKsC5 afEmWyGWVnPDRdYRutTLW3hV4ya5pIMMxZ+QMCWUfng31H7HRdL24EjldArDCTdh1cm4 yPJC+ypsKzfC7YtfoGqqhlbRJeKFYUzCeC96886SBHSs5OleSNLnR4SWyU7QOIAawiMk Uj2Q== 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=mbj3xN0iDcD9/ITu0QYceYztDmj5HBmZeXlHsmQyrHw=; b=YYtiiPEriC3zZxakdCS1HOkUkLTut3TWWHKgAryyn6Un1oJI5s9RdKxdXwB7BNV6MF 2UFc/NccLEzWRFzU39OeHgJZtfLC866rvC7kaUUpadWr7xzJG5wZkD0BcxKqsmt17sq2 /O9aMbI/CX+yalGGD/ML+q/hU21TRNV4zVN/DLxLcBou6uwdTp5xIKjkRJjVtRzPmPhu YY2jKaPAlCSaww/8GaaFEkhvUOItxz5DuV4+hkvjAKFsVVb1Gz8bVpJ5IQ+9mcH5wdn0 +2dVHlar+ImLNwBeDzmvER3gw4KJ5EtEd34Gf4SZhtfIIFFEWYASvb5l5CKsp/fhDcH/ mRAQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b=B618Sz+X; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:18 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 lindbergh.monkeyblade.net (lindbergh.monkeyblade.net. [2620:137:e000::1:18]) by mx.google.com with ESMTPS id x12-20020a17090a294c00b001bd14e01f43si638671pjf.49.2022.03.08.17.44.36 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 08 Mar 2022 17:44:37 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:18 as permitted sender) client-ip=2620:137:e000::1:18; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b=B618Sz+X; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:18 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 vger.kernel.org (vger.kernel.org [23.128.96.18]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id 45C971066FB; Tue, 8 Mar 2022 16:23:21 -0800 (PST) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1349301AbiCHSyH (ORCPT + 99 others); Tue, 8 Mar 2022 13:54:07 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:56664 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1349636AbiCHSyA (ORCPT ); Tue, 8 Mar 2022 13:54:00 -0500 Received: from mail-ed1-x52b.google.com (mail-ed1-x52b.google.com [IPv6:2a00:1450:4864:20::52b]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id DEDBA31360; Tue, 8 Mar 2022 10:53:02 -0800 (PST) Received: by mail-ed1-x52b.google.com with SMTP id w4so23193446edc.7; Tue, 08 Mar 2022 10:53:02 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=mbj3xN0iDcD9/ITu0QYceYztDmj5HBmZeXlHsmQyrHw=; b=B618Sz+Xe0Jlwlh7LCH+brDIS/apTr66CGVdpWmDijL1AfVKPArkwxSnfq3nIRELa6 TUXfrPY1cssYxeKbeY+Ip/mOslS0mP/E1k6W0H2j2Y91NMPfkDtML8bJWVY8DCo1TyKk gTyIXNUYexF/C22ReOOhfIEDkTBOo8Fs8MLg5nnPeuPooL1PhgDOxoudzwiFWU5bUOo7 lmxV2L+z26Wi42uHoPFYo2khhsU9eEyzNz0hc7z+McfjGRvcR8cxNDpSgOy6CUuwPU75 pHcWFGSBqKOoOlM8Hg/NRfAPK7fnu9yWDoMzm+Yfdzk0jAf5WsyDy+XULVjTMg4K82m3 FBrw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=mbj3xN0iDcD9/ITu0QYceYztDmj5HBmZeXlHsmQyrHw=; b=BxIsxdJ1VAnXp8kQ33gclTa8F0MOQuNib7p969KPbMqu9yRjv8Mora5Pus3HjUvsnh WSvP24wInjbZXhVooZ7QbJWsMtArUUyAQpFPscSiCepsZAjryXaNlrQNyrmCemcVJUE9 hPJt3R68TAhCwukvmbM7MC9yWERfAL5KkpEemD2iosyYxP6dqrUbBwOtPxxYjVLPXdtx y/NsqaVd6dgUVQNP4LK3aqoTfdY8gLkrdQU+KT8yIOYNx0KJTU+aF4G9AdTNgstCCZqP 313zUYMhGuMzsJAtmHTT7oonlOL8bm7eMPbrPbAE8uG3WBA0ZahoyL1ZMuCLiS0IrEEP 7PGA== X-Gm-Message-State: AOAM532nt3P8V75ASOz2M5XNPFLbYAIPH6F5R35UScJ+ydcjTuGnlE5n zDibOVv+ElY0fVGZ0YKpfT99noxaoYJ4yAq5pwY= X-Received: by 2002:a05:6402:1e8b:b0:3da:58e6:9a09 with SMTP id f11-20020a0564021e8b00b003da58e69a09mr17146759edf.155.1646765581293; Tue, 08 Mar 2022 10:53:01 -0800 (PST) MIME-Version: 1.0 References: <20220308184844.1121029-1-robdclark@gmail.com> In-Reply-To: <20220308184844.1121029-1-robdclark@gmail.com> From: Fabio Estevam Date: Tue, 8 Mar 2022 15:52:49 -0300 Message-ID: Subject: Re: [PATCH] drm/msm/gpu: Fix crash on devices without devfreq support (v2) To: Rob Clark Cc: DRI mailing list , Rob Clark , Anders Roxell , David Airlie , linux-arm-msm , Abhinav Kumar , open list , Sean Paul , Linux Kernel Functional Testing , "open list:DRM DRIVER FOR MSM ADRENO GPU" Content-Type: text/plain; charset="UTF-8" X-Spam-Status: No, score=-1.7 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FORGED_FROMDOMAIN,FREEMAIL_FROM, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,RDNS_NONE, SPF_HELO_NONE,T_SCC_BODY_TEXT_LINE autolearn=no 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 Tue, Mar 8, 2022 at 3:48 PM Rob Clark wrote: > > From: Rob Clark > > Avoid going down devfreq paths on devices where devfreq is not > initialized. > > v2: Change has_devfreq() logic [Dmitry] > > Reported-by: Linux Kernel Functional Testing > Reported-by: Anders Roxell > Signed-off-by: Rob Clark Does this need a Fixes tag?