Received: by 2002:a05:6902:102b:0:0:0:0 with SMTP id x11csp1407369ybt; Thu, 2 Jul 2020 04:47:53 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwWJ2dsIpK/Jw6aXODSlujVfPx6uAkauNsVDJWCZ+P1LK5qSO4jjCquWCwJH9QV5hRlbTwE X-Received: by 2002:a17:907:2058:: with SMTP id pg24mr28683181ejb.79.1593690473570; Thu, 02 Jul 2020 04:47:53 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1593690473; cv=none; d=google.com; s=arc-20160816; b=XaVeT0f58OXMvFHrpxmbTDihzwVWecw9wlTrrvF0m2kklPiGpH6TIUVSFnq3qg2K3p hu1TtoDPlDmpqQVEv1OTv2tUyQOCyu3TSLoJYXd2rKo4PxHl3p53+mUK9aHGNpcckpKE BSJmnmlivjuQs8OydRYV057rROqsRjxbghhTAG2BTExT3Zlh4v84VpOcuM5rkQ6dcsET 3w89rC1g+fMf623BiDmsO+z1m2qFaCCoIrJyuvtoQ+kyGmHtQkxOerBC8ND9TieOhz2W nC/hOE5msTvAlWyaNyRoXTfjaPsl2XrTNuHbW6LEswrJLVsAeXaW5EIv25Y794jywlkX tU0g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:dkim-signature; bh=Y66BdGLXe7ElT19YUw05TZ+XtmB7S3su8JlgwqLpqn4=; b=HlUMHGUr83AyhX1gaTI0AldT7BEC5m+wuzUKhVBn0FbRL+pcBbiHmXrfbxN8Yia9hW wyafhqAwd2YICzPHLXXhEmREFiC4C6L4avbDBVMCMOt7HIctZTgOlfBfikr2YyPRLV0v jRaEiu2vHnoOoL/LqjHdFjlqKiPA9sYxilXOt2DEZO3Urtoff0cAaAAaB8D10KPxijz+ Wcd2HzEnrl/tIr4QiofI7W3cULAGJTRRYjgVUnpagFRIGEVGqA2nr5Ec7Hn5eP8viYeU eGHrVINf1ISY8tjbY9OY3mE8IQLgdg9OuHkZo8oxcGboH3iUqS9LUxQ6QOkMyaUmzpCN PhTA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=eJ7T25fE; 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 d4si5678692edv.535.2020.07.02.04.47.31; Thu, 02 Jul 2020 04:47:53 -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=eJ7T25fE; 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 S1728807AbgGBLqU (ORCPT + 99 others); Thu, 2 Jul 2020 07:46:20 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:50092 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727016AbgGBLqU (ORCPT ); Thu, 2 Jul 2020 07:46:20 -0400 Received: from mail-pj1-x1041.google.com (mail-pj1-x1041.google.com [IPv6:2607:f8b0:4864:20::1041]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 396AFC08C5C1 for ; Thu, 2 Jul 2020 04:46:20 -0700 (PDT) Received: by mail-pj1-x1041.google.com with SMTP id k5so2856921pjg.3 for ; Thu, 02 Jul 2020 04:46:20 -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=Y66BdGLXe7ElT19YUw05TZ+XtmB7S3su8JlgwqLpqn4=; b=eJ7T25fEPgZk9QNXnChTO+a5BkV6i/A6p7o+VidSoCqAklisjQtAD4HFTkojx2NsHs zH/yhGxuzpbyJGcybXmCB6c07VoM05DdC9mHPSGi4pNm9vl0ncRktw3uRz9TxcToUtsJ rleBxoLp40KRUt0qmAT6+uKVkjX2V5cJx4Maxle/92nZhajSJaBWaFgjw0qnjFd1f1tY QC0uTfknbnIcruC6M1Z+GSVa7fYFkl7y+sbBC6KGIbDCQASt8yE93zURNFOmo6xgzqK+ loRrMu95ccMw4zU3CYgsrVXy01UIiOrOkr+xt1ObNcvg7kJL2/vaNAoiuap5VOUPb2dA n8dw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to:user-agent; bh=Y66BdGLXe7ElT19YUw05TZ+XtmB7S3su8JlgwqLpqn4=; b=TMahpXsm/tfWRZRkq16p0RxoRE6Z+l8o/LJDZPm3RopZRQq08IRrBkzGsbvfnmKNL+ j/TpZxSmbDe20OZRkq7bMVr8hfso4YrX+IwWu3aDf5Ynt/N051kWcRPI4AS0G8KP0U/D 18nx8qN7Qw0xfDASIPAZ7r6cCGRKfIRJlPeETNNdO/CXFQRuvOyyyWTAOYRTc0w1L+wR YLpeBY0rrr6gRVQdqFoRzvs/EPKW5kKAJSe1rnu3sST8Thf6e3Vhdl4poX7BCr+diWOA 6oypyO9rNtxFIIoGfxHJN8zBBRNqYKCDPho9CeIjLFyFfIdHVwV+ZFrigZPXBO5I9Jss 9aww== X-Gm-Message-State: AOAM532jbsRCXJ6PLm75t6LXywfmTHg+SEz7D60vSGl2gFHuBofthhoA sduKqhHOeTgqexP+It4FGG67Rw== X-Received: by 2002:a17:90a:8c01:: with SMTP id a1mr4912838pjo.97.1593690378893; Thu, 02 Jul 2020 04:46:18 -0700 (PDT) Received: from localhost ([122.172.40.201]) by smtp.gmail.com with ESMTPSA id c207sm8856436pfb.159.2020.07.02.04.46.17 (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Thu, 02 Jul 2020 04:46:18 -0700 (PDT) Date: Thu, 2 Jul 2020 17:16:16 +0530 From: Viresh Kumar To: Ionela Voinescu Cc: rjw@rjwysocki.net, catalin.marinas@arm.com, sudeep.holla@arm.com, will@kernel.org, linux@armlinux.org.uk, valentin.schneider@arm.com, mingo@redhat.com, peterz@infradead.org, dietmar.eggemann@arm.com, linux-pm@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, Liviu Dudau Subject: Re: [PATCH 4/8] cpufreq,vexpress-spc: fix Frequency Invariance (FI) for bL switching Message-ID: <20200702114616.kgzxj4ffzgdn2g24@vireshk-i7> References: <20200701090751.7543-1-ionela.voinescu@arm.com> <20200701090751.7543-5-ionela.voinescu@arm.com> <20200701095414.2wjcnyhndgcedk2q@vireshk-i7> <20200701140735.GB32736@arm.com> <20200702030551.p4cevaahgfvpum4o@vireshk-i7> <20200702114123.GA28120@arm.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20200702114123.GA28120@arm.com> User-Agent: NeoMutt/20180716-391-311a52 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 02-07-20, 12:41, Ionela Voinescu wrote: > It was enabled until now, but it was partially broken. If you look over > the driver you'll see arch_set_freq_scale() being called for both > is_bL_switching_enabled() and for when it's not [1]. I missed that completely, it was indeed added here: commit 518accf20629 ("cpufreq: arm_big_little: invoke frequency-invariance setter function") and so this patch or a version of it is required here. > If we just don't want frequency invariance for > is_bL_switching_enabled(), I can just guard the setting of the flag > suggested by Rafael at 1/8 by !CONFIG_BL_SWITCHER. > > I'll proceed to do that and remove the fix at 4/8. I think it would be better to do that and avoid any complicate code unnecessarily here. -- viresh