Received: by 2002:a05:6a10:22f:0:0:0:0 with SMTP id 15csp1127008pxk; Fri, 25 Sep 2020 07:00:26 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwEYQHRXpNtrz85jU0gBFKlmO3nPWzQ6pmi6/cDA1Llds5JXKdX6db7YByW9m4iBtSgSIui X-Received: by 2002:a50:fe0a:: with SMTP id f10mr1492972edt.133.1601042426700; Fri, 25 Sep 2020 07:00:26 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1601042426; cv=none; d=google.com; s=arc-20160816; b=h+sZODKzWopLupfoHG6NAnKXM+qQdMC0BqkTHrGibN5KJA5MEw2bguUP3UEXI5WfFZ v77u3puqw7Wt3JH50JAZXVH7VS5UkZ11StsRMFFMMHQNZmvnDg2bN7Xkp3Pistrzsfyy ok5D8QScXpvJVsfkbk0+QZjp7nl/4fYvxzbQrlCMSs2Q5oaNpUgB2eiaR3dsK48isWrj 9fpwixlX/HDzDoH91HTnMunC0Od8pkuavvNT0mkL108M3DyF0SD7lUcOw5zZnlL1ZYcW 8QgQUj41Kk7wYxYluIEax4OpEVVo7tsmME272s66Fw2sIPvN7CrqHtgWEXe9vlcerDwg P7Hg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=mlSpbnI9f91cxfpqsFRezlZGD6ngDghBIQQyjrFOHMY=; b=tXyyfgR6mG5nDb9nhRO37TrBW9Q3Fd+EeQ6vlDoQaX70EdbhIO5bmLs3IMZKTKxGTy j6Ppl6Q/0aOMsPNErMKhsdK8YYgS/J5A2ftFiwu/J+69xn0kmUUow1Z/BisZGewoncB6 sxIutQUasXqjEN1ntciPSi2dgw27/8a+ADOs3840qySwkxGSE22cbEHbPCS/gm4/gXyu fCTsXHioJaOW2SzQden/pLgLjpk2fskhqga5VvAzgtaOxJvY09Z2v91e81lkCJHq/U9B vtdQEoa3wxPdZBMJ45rO/2T9QxWczqoYNur3D7wQyqLqI+FYapPBgI97Y19eV5bdv1rL zL7g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@google.com header.s=20161025 header.b=u8161EQl; 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=REJECT sp=REJECT dis=NONE) header.from=google.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id w7si1847919ejf.3.2020.09.25.07.00.03; Fri, 25 Sep 2020 07:00:26 -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=@google.com header.s=20161025 header.b=u8161EQl; 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=REJECT sp=REJECT dis=NONE) header.from=google.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728797AbgIYN7G (ORCPT + 99 others); Fri, 25 Sep 2020 09:59:06 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:48986 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728451AbgIYN7G (ORCPT ); Fri, 25 Sep 2020 09:59:06 -0400 Received: from mail-wr1-x442.google.com (mail-wr1-x442.google.com [IPv6:2a00:1450:4864:20::442]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id CC4EDC0613CE for ; Fri, 25 Sep 2020 06:59:05 -0700 (PDT) Received: by mail-wr1-x442.google.com with SMTP id t10so3763393wrv.1 for ; Fri, 25 Sep 2020 06:59:05 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20161025; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to; bh=mlSpbnI9f91cxfpqsFRezlZGD6ngDghBIQQyjrFOHMY=; b=u8161EQlqviptebdc4sX9yDB4kT7ymxUhWkQcFpEHwyZT6vrFqFy8yaU3NouV/ZI6u kwGEMGNAtiOeIrIUjRzcZgYv0SV9wqorMIDtTbmQ+Ur7A0Uv5KbrTVSZa07Of4UQagqF bT337pyYRI1ftEOCTLXLh/Lf1l0cIZFj09KTdTZ+5/3/fSptrdnIjNYweW1q8eOrnXM7 sSHa4seYHBxhWKmV1i/U35X9dvHuC5k+Wpu50EI/ii3W/yjC0dbAsMINsgSlcGGfPRXx IUMktXSjeQqM5ly8OPPSW4RonTJO1/1+JoBsyLhhUmEjo8Y+USZqMojlVxrhqksWuE/m OCwA== 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; bh=mlSpbnI9f91cxfpqsFRezlZGD6ngDghBIQQyjrFOHMY=; b=jWS1nLDffg8aTB2/LCdPFILA9Q8VSDZSS7XuTnVVTXTiBGn6vozaYiDtf/+I2jILu6 TYXsSBsXZAcjru/kBWuy2+YRslDR4fbWYvAmqO4raxXlRChGv3CFHnrUSPSWv80zI5BL 0HeHw0ozptai8KwbStYXN8uUrqZLYOnx0XjHiiCNzVLObtGORMxKn93pYW59l6Oy4mzS Iv1NYP5ElFU3UfMzsYOJJTpN7RkaW79Bs2YLSire7qbn132t07RA5AFXhpS4QUYr2eTb ym3GoboRn1UvJNuLCEZExaSlZIvnHykp835lmhAwOPT+Da60PowTD28Jtynys+VjGIjw 8HaA== X-Gm-Message-State: AOAM531z3uZnFpRdg0sUmL4e43G316BfgPCgZ/MK82GPBZhyAoltHqDF bxMOuY4QWnc1JbYthBn7wt7ipw== X-Received: by 2002:adf:e74d:: with SMTP id c13mr4514766wrn.45.1601042344244; Fri, 25 Sep 2020 06:59:04 -0700 (PDT) Received: from google.com ([2a00:79e0:d:110:f693:9fff:fef4:a7ef]) by smtp.gmail.com with ESMTPSA id k4sm2918748wrx.51.2020.09.25.06.59.03 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 25 Sep 2020 06:59:03 -0700 (PDT) Date: Fri, 25 Sep 2020 14:59:00 +0100 From: Quentin Perret To: Ionela Voinescu 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: <20200925135900.GA11648@google.com> References: <20200924123937.20938-1-ionela.voinescu@arm.com> <20200924123937.20938-4-ionela.voinescu@arm.com> <20200924133925.GC3920949@google.com> <20200924161002.GC17927@arm.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20200924161002.GC17927@arm.com> Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hey Ionela, On Thursday 24 Sep 2020 at 17:10:02 (+0100), Ionela Voinescu wrote: > 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. Right, I'm not seeing anything perfect here, but I think I'd be personally happy with this message being entirely guarded by sched_debug(), like we do for asym CPU capacities for instance. It's not easy to see if EAS has started at all w/o sched debug anyway, so I expect folks who need it to enable the debug stuff during bring-up. With a descriptive enough warn message, that should be just fine. But that's my 2p, so I'm happy to hear if others disagree. Thanks, Quentin