Received: by 2002:a05:6a10:22f:0:0:0:0 with SMTP id 15csp439420pxk; Thu, 24 Sep 2020 09:11:23 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxPXhuJZ4W7G2P5kUPdpe5U8e2dSwLWY9coCmpGgmtXt1qW2Dmh1cGOCvPFfasik7A6d/cU X-Received: by 2002:a05:600c:2906:: with SMTP id i6mr77524wmd.48.1600963883301; Thu, 24 Sep 2020 09:11:23 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1600963883; cv=none; d=google.com; s=arc-20160816; b=KlkUio9F4owNA7W1/3V0Kg4+UPC9ZLyanrPIWtigoAMCIXW8N/21ScYTXqocQAGYmK 5ub/G54aUp0qUGzyaDKh7GLVS8roEeAr2HMvHBxujFsUH80ZKcJQ0qv7hwIS6EGRbHUg DsO8MgYrsh+pO2kyLX/+pMMb3GIAUmDTB+AXzn4gWGB4Tlr4Zhg0rPhjeKr9ZMn2V71X Jk6IaYtT8nE8HztvMp+2SeUIuoV77W4/9tG249x2SEbXFDLIFvRlbtpdS1Xaq9kSrOlm skS4uoN+daKJ368tKJdN7RTGvXXIkpZWuPuaLC1lGobv0k6eO59Mrzju+2CmBwrzeY5r X9+Q== 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; bh=CaY4FgtB180R9YcXbQAHvphE0p570mn6zM2MokuMyLE=; b=Od7TSKSuuMDF7MRk8UslEgKRPeTQI2Hf6+kAlMuBBsYpqjSX4mmcZsnUTgL42WkhLT UEdwGRBOGdqnjG/ujjX9FaArX9+c93r0nld9MMs49vhwzZthfikjdfUtDKy0XSbZ/qsP BtK7Pv9g1fciVmwrk7B2I87QTLkzKYq/aSvImnqPx2PyxYorsm6HzB45ipQooTrM/PYu CBb1f6JCBtWMwtX4IHg+/XxBHLd0YHRrHZy+eFgwIQ12kfebTxxFL+sfe90iKi2Ovrt/ 3u7CXkE8PMMWA252EuvVVPKXKWOTAXaHoAjClRxsil2eJmub0DYC4883TAWCpsE7MBS1 IJAQ== ARC-Authentication-Results: i=1; mx.google.com; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id f7si2522668edc.112.2020.09.24.09.10.59; Thu, 24 Sep 2020 09:11:23 -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; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728549AbgIXQKE (ORCPT + 99 others); Thu, 24 Sep 2020 12:10:04 -0400 Received: from foss.arm.com ([217.140.110.172]:50056 "EHLO foss.arm.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728448AbgIXQKE (ORCPT ); Thu, 24 Sep 2020 12:10:04 -0400 Received: from usa-sjc-imap-foss1.foss.arm.com (unknown [10.121.207.14]) by usa-sjc-mx-foss1.foss.arm.com (Postfix) with ESMTP id F01961396; Thu, 24 Sep 2020 09:10:03 -0700 (PDT) Received: from localhost (unknown [10.1.199.49]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPSA id 91EFB3F718; Thu, 24 Sep 2020 09:10:03 -0700 (PDT) Date: Thu, 24 Sep 2020 17:10:02 +0100 From: Ionela Voinescu To: Quentin Perret Cc: mingo@redhat.com, peterz@infradead.org, vincent.guittot@linaro.org, catalin.marinas@arm.com, will@kernel.org, rjw@rjwysocki.net, viresh.kumar@linaro.org, dietmar.eggemann@arm.com, valentin.schneider@arm.com, linux-pm@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH 3/3] arm64: rebuild sched domains on invariance status changes Message-ID: <20200924161002.GC17927@arm.com> References: <20200924123937.20938-1-ionela.voinescu@arm.com> <20200924123937.20938-4-ionela.voinescu@arm.com> <20200924133925.GC3920949@google.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20200924133925.GC3920949@google.com> User-Agent: Mutt/1.9.4 (2018-02-28) Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thursday 24 Sep 2020 at 14:39:25 (+0100), Quentin Perret wrote: > On Thursday 24 Sep 2020 at 13:39:37 (+0100), Ionela Voinescu wrote: > > For arm64 this affects the task scheduler behavior which builds its > > scheduling domain hierarchy well before the late counter-based FI init. > > During that process it will disable EAS due to its dependency on FI. > > Does it mean we get a warn on every boot, even though this is a > perfectly normal scenario? > Yes, we will get a few "Disabling EAS: frequency-invariant load tracking not supported" warnings until the final rebuild of the sched domains finds FI supported and enables EAS (silently this time, which possibly makes things worse). We have the same behavior for removing and adding the schedutil governor. I'm not sure what is a good way of fixing this.. I could add more info to the warning to suggest it might be temporary ("Disabling EAS: frequency-invariant load tracking currently not supported"). For further debugging there are the additional prints guarded by sched_debug(). I'll look over the code some more to see if other ideas pop out. Any suggestions are appreciated. Many thanks for the review, Ionela. > Thanks, > Quentin