Received: by 2002:a05:6a10:5bc5:0:0:0:0 with SMTP id os5csp2123936pxb; Mon, 11 Oct 2021 22:53:33 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzY8Jh4Wm/NmBob2SxEB2GNGG1VhoveREj8zJGqqR0hmFr43KLskJNG6NdcBcbACGvZnDao X-Received: by 2002:a63:5b09:: with SMTP id p9mr21259837pgb.321.1634018012971; Mon, 11 Oct 2021 22:53:32 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1634018012; cv=none; d=google.com; s=arc-20160816; b=VmwgHpYOEM/n1wwIFG4XGAq8XP8xEhTZ8xACtr1eazb6BjcrqYjuDnLjlLdAKkmp78 8kl0wn7MnPAmIFOHSvk8slB/WFWSSHZ74aU9jnEnfX73PSliiNGYicH2pQeJT0U41gZV +5DLlhT9vGptHbsOixtC6D4SN0emi3YmHV0OmV56/JRCvoIaAOxxOTrVNDPI/ESlX+hU M6kF6lurGFX2dBcxn/RJ2F37c6Rwq/IcTSigz7aciXVqnz7jjRjDMxlwgPHwp1WzXgcj qR7KOhYp25uDxBJ6zGwLBEEVB5Xfm6FiHaxQYEY3VtFJE28cOxdXclaoVtLg6cK6HnA4 kInQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:user-agent:in-reply-to:content-disposition :mime-version:references:message-id:subject:cc:to:from:date :dkim-signature; bh=kBtpCZbIOWtvahLXRDKKDjKecXESKAiO4U+qtM3fqF4=; b=Avay4V6uOxHAMQ4NsN6Au16O3J7FWLdBXwZX1f4VD4JoMJnl/E3IXKgDyqnf+2SZbM 27wnKeX2mgXCTKW5DS42cjNGvjuHXo0KbF0wp4i2vTOAvWbWEFPDL+QpJG7e1jwKUpa5 7FrZtK5T3aihWSxZSQZFbts0Xa4bksM1gGjtprhgWSlPvHmvTYpQhp/HwBBSmtiSSH6w g9A6N6xyyn080YhO1B3sfQJRdFxzradf8j+I8819pUWDBq4WisI5e8m1FFHxnAcaewlb RJulMdzB5KGGIlU1RFtUwQgyUQ01njivBgklbvpK7jlk3f0R4y8y9ti2fjRs0ys8bP1z Ck1g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=TnaMy710; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id r187si13410608pgr.602.2021.10.11.22.53.20; Mon, 11 Oct 2021 22:53:32 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=TnaMy710; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232716AbhJLFxr (ORCPT + 99 others); Tue, 12 Oct 2021 01:53:47 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:53734 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232650AbhJLFxr (ORCPT ); Tue, 12 Oct 2021 01:53:47 -0400 Received: from mail-pf1-x430.google.com (mail-pf1-x430.google.com [IPv6:2607:f8b0:4864:20::430]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 3F2DCC061570 for ; Mon, 11 Oct 2021 22:51:46 -0700 (PDT) Received: by mail-pf1-x430.google.com with SMTP id h125so6711051pfe.0 for ; Mon, 11 Oct 2021 22:51:46 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to:user-agent; bh=kBtpCZbIOWtvahLXRDKKDjKecXESKAiO4U+qtM3fqF4=; b=TnaMy710dXLuP2UJpvYYEci0HGuzrNFBasfSx2IKwcweLvhm7Ijn2ywSfxqmyqB+pP 1QN5V1L+gMujcMAp8UkixsGDdqUFYk/ECuh4XIEV25SpY7BcW2YSUxOtLgd5ZBTsf3uY hRmDbHVciUR81IbQvUPR9YFNx5LNWWAoQr41EirdPU2Us/c8VbuBU7Xof9R+ZOMlP/3l tjjZ1mW36NloFY/ns5OkKXzyfaWG0wXP4ClZ3Neg3bYRZBvsULE1WZbaZVDflXXhQvFc ZF/6VxzdRLWUhHgZxgkuDn634tLGA6Ek7AiEFNJ+w1Aemy0Y9wNI4aCjlhgow47qNwoN 9UgQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to:user-agent; bh=kBtpCZbIOWtvahLXRDKKDjKecXESKAiO4U+qtM3fqF4=; b=B77QyPOUu+8wM2f2E3ePkwbR1ceh9tseCG10UbPk/pMXmpyiWzWko6m2vtGk50jpji rEDUPEzztqQ7fjZjcPA1piFUc3OLkgsERr3zNmzhkdJ8VjCxdY+dC5DbEPpff+vwMNVR rcpPa6rKitiIwLQoN8slfDjgaI/vuxZajZ65HXPxctGwJhKUUDOaFn7HoD4XgGxOupeX wdd7DoGsgxYSEStCvmWxCqZ74r9OzbmQIni7YqyNCScIVVq/XpHJZAnTptXqoADE/3Jw ZgEuqDD/+UeZAAYMLtfRydg8fO5GGF3wui1PkEflbVSs8nr3dqFBcmpi22XHk1t/FsEb 3IMw== X-Gm-Message-State: AOAM532hFZnmy/29ega8qSNWLOltZIyXrtw8UjkZovnkB53FFihXsi+G y7SjNyv4OGG7sOOoLE5rbdVcnw== X-Received: by 2002:aa7:870b:0:b0:44b:bcef:32b4 with SMTP id b11-20020aa7870b000000b0044bbcef32b4mr29407229pfo.41.1634017905739; Mon, 11 Oct 2021 22:51:45 -0700 (PDT) Received: from localhost ([106.201.113.61]) by smtp.gmail.com with ESMTPSA id y142sm9477261pfc.169.2021.10.11.22.51.44 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 11 Oct 2021 22:51:45 -0700 (PDT) Date: Tue, 12 Oct 2021 11:21:43 +0530 From: Viresh Kumar To: Hector Martin , Sibi Sankar , Saravana Kannan Cc: linux-arm-kernel@lists.infradead.org, Alyssa Rosenzweig , Sven Peter , Marc Zyngier , Mark Kettenis , Michael Turquette , Stephen Boyd , Rob Herring , Krzysztof Kozlowski , Viresh Kumar , Nishanth Menon , Catalin Marinas , "Rafael J. Wysocki" , Kevin Hilman , Ulf Hansson , linux-clk@vger.kernel.org, devicetree@vger.kernel.org, linux-pm@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [RFC PATCH 4/9] opp: core: Don't warn if required OPP device does not exist Message-ID: <20211012055143.xmkbvhbnolspgjin@vireshk-i7> References: <20211011165707.138157-1-marcan@marcan.st> <20211011165707.138157-5-marcan@marcan.st> <20211012032144.2ltlpat7orrsyr6k@vireshk-i7> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: NeoMutt/20180716-391-311a52 Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 12-10-21, 14:34, Hector Martin wrote: > The table *is* assigned to a genpd (the memory controller), it's just that > that genpd isn't actually a parent of the CPU device. Without the patch you > end up with: > > [ 3.040060] cpu cpu4: Failed to set performance rate of cpu4: 0 (-19) > [ 3.042881] cpu cpu4: Failed to set required opps: -19 > [ 3.045508] cpufreq: __target_index: Failed to change cpu frequency: -19 Hmm, Saravana and Sibi were working on a similar problem earlier and decided to solve this using devfreq instead. Don't remember the exact series which got merged for this, Sibi ? If this part fails, how do you actually set the performance state of the memory controller's genpd ? -- viresh