Received: by 2002:a25:1506:0:0:0:0:0 with SMTP id 6csp6299208ybv; Tue, 18 Feb 2020 14:04:51 -0800 (PST) X-Google-Smtp-Source: APXvYqyyUzqVEElQBBWhbUewC470eM9DrkcLYZ8q7OQ5xAkznsOt6D1Fe6l+mP1yXs8fex0Jzij1 X-Received: by 2002:a05:6808:289:: with SMTP id z9mr2569923oic.48.1582063491437; Tue, 18 Feb 2020 14:04:51 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1582063491; cv=none; d=google.com; s=arc-20160816; b=0x7alTqudPUxUZa4dN8EQiYPDTuC85kkMVB5f2F0OiBbMoQNTLUmwKPE3WKS6tR/wX 5IW62Df+A1As/R5f8duEXH5h+JmXLPMYDmrC9CFE1OY2uqn7FDcsh8ceSbeMID7HBoYc cMEoOVioBsokQUc6k5m67puJD5Ha43k0e+OdGTHYAIAdZT8fWRVzP71pK++wcu+ndd6Z Flrf7CbdgfFbovU05vup1fB9viX2V+8KObGYQWVqdlcKlPk48iqyjZM3iR+PzdLUS29c 03Oa0itoxKR6+ZY3tR6timJxmQ+Q0FSJM0DlWOZ6XXmtIvOmQa4om8l6G3cLRJ+NcDKS OxAg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:dkim-signature; bh=ahpk/GappiCcM5wW00z5eRTm7XSNbwAT9p1AedeyQaE=; b=sRXNDNNe2/QGJfC+2PlGqW4GDI/rITg3xqBVTv7WCJMskqHld2BLuKyuW3wxXV1i1M K5NwFAu4Uw2uJq9k9+XPp0WGLqalBp0yE64LiMWs5Nv1sg+q6rSZHy1cWCc33U/uNES/ MgdSlWyf8tDxIRGnLqlnvmMt8VCP6FoGX/uz2/ZIGtnSeeQguekvnY4ilIRxMUgs+02+ Vqff8uGE/lhp/L4t95f5tupA+0PWT308q4sfS8tXJVZOhIY0xVjoXt97pbfiF8f2Z33/ nw749Oj6YA1NfWPkLNNY4Ym/tq/5PIusBPhMQ+FhUGW6ElXtefecI2KlcYd5VBb4Q6LJ k8zA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@anholt-net.20150623.gappssmtp.com header.s=20150623 header.b=kdpjP80s; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id d10si47356oti.226.2020.02.18.14.04.39; Tue, 18 Feb 2020 14:04:51 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@anholt-net.20150623.gappssmtp.com header.s=20150623 header.b=kdpjP80s; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728113AbgBRV6y (ORCPT + 99 others); Tue, 18 Feb 2020 16:58:54 -0500 Received: from mail-lf1-f68.google.com ([209.85.167.68]:35360 "EHLO mail-lf1-f68.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726655AbgBRV6x (ORCPT ); Tue, 18 Feb 2020 16:58:53 -0500 Received: by mail-lf1-f68.google.com with SMTP id n20so600803lfa.2 for ; Tue, 18 Feb 2020 13:58:51 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=anholt-net.20150623.gappssmtp.com; s=20150623; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=ahpk/GappiCcM5wW00z5eRTm7XSNbwAT9p1AedeyQaE=; b=kdpjP80seFPRBqxhxIpalWncJhJycuWAQPQT0uf/BhAioMxpA/HQSrB4FFdQP+vo/L KzZMVoRXpw4PUTQavb0o6cZHHaGKHSVcOUgix+7f/NfUfAl9aCz7L0/IbtVECP3Hmx5k uQFJiRqinUNrrBdMEj/yIhEp3RBT2Uxd72BlqR4nMUwzHAyMKM7YPchqExAMmNWGqoBi Ph19zMTGlFHeCAUda62180ibnNyy2wl7eOxbVuLhU6Jsy9cLpevU3SYjCp9Zrk7UP43A VMce/XyzyXhUBuaWX2tdTaeUxZdF5O1Zs8APWnkdHzTNx1e2XTvdK45WjNKQLPXeMS0F 1T4A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=ahpk/GappiCcM5wW00z5eRTm7XSNbwAT9p1AedeyQaE=; b=bRlaPXLfvd9pT7KZE37SD+QvqOPQtIjtBnpgCSAyxf/aIMwYc4OzH3B+QQEZwav+hs 8qYLXwIK4wpj1aaX75038A+lNy9tnDYPuiMLU6DynKoXUyMZRvXhhDpM44QmvjiydIPR IcD+HNzDLcofIRplq93mtbkGyq8jvY8mbsKsWhM4CHQ9zudO+kBwe9NS8SnAKdArO7DD dTsq07CpnVJnxcL31WWDKCffqz/dWIsPROxnJwX6BSU0uDmUNn84XHT+H4jSerbUj2zr J2zBI3AWv1HlLpckpqF0m+AWiRZ6SeLCvWBr6+Q9NmcS4KUpuV2lm/ELW/o3mMwhLScC uWdA== X-Gm-Message-State: APjAAAXB1FBgDrdT2Nl35tKEsCJlxwT6RRnKtDYVvQcxYXD97VslfJ7G BvwsBFuDR/ONPGu7rYLJCOsqJKZ8vO4GHRKKDc6VGg== X-Received: by 2002:ac2:4214:: with SMTP id y20mr11460778lfh.212.1582063131075; Tue, 18 Feb 2020 13:58:51 -0800 (PST) MIME-Version: 1.0 References: <1581705404-5124-1-git-send-email-jcrouse@codeaurora.org> In-Reply-To: <1581705404-5124-1-git-send-email-jcrouse@codeaurora.org> From: Eric Anholt Date: Tue, 18 Feb 2020 13:58:39 -0800 Message-ID: Subject: Re: [PATCH] drm/msm/a5xx: Always set an OPP supported hardware value To: Jordan Crouse Cc: linux-arm-msm@vger.kernel.org, David Airlie , Sean Paul , Wen Yang , AngeloGioacchino Del Regno , linux-kernel@vger.kernel.org, DRI Development , Rob Clark , Thomas Gleixner , freedreno@lists.freedesktop.org, Jeffrey Hugo , Ben Dooks , Daniel Vetter Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, Feb 14, 2020 at 10:36 AM Jordan Crouse wrote: > > If the opp table specifies opp-supported-hw as a property but the driver > has not set a supported hardware value the OPP subsystem will reject > all the table entries. > > Set a "default" value that will match the default table entries but not > conflict with any possible real bin values. Also fix a small memory leak > and free the buffer allocated by nvmem_cell_read(). > > Signed-off-by: Jordan Crouse This does fix my warn at boot on db820c. Reviewed-by: Eric Anholt