Received: by 2002:a25:6193:0:0:0:0:0 with SMTP id v141csp2303894ybb; Mon, 30 Mar 2020 03:44:38 -0700 (PDT) X-Google-Smtp-Source: ADFU+vtl3ngGd9WRgL3dDbUX2G0sZCOeRDoKCh0SzezmTteZJRBY6IUjwsX7eKWJhhhFZpRXu961 X-Received: by 2002:aca:56c2:: with SMTP id k185mr6701775oib.141.1585565078424; Mon, 30 Mar 2020 03:44:38 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1585565078; cv=none; d=google.com; s=arc-20160816; b=fqvI5DZsH9H/I255IRmjrLDJJUPt1v4ja4s5X2jnS3FxSLdXJNX2SEWW7m8K8tXR5K eJSwX9vtY6I+RBcrqHA3YnMZKpFNOnu5xKs2/kz4kEoH7/lCL5xJ63AJ/EsksMiQhZfu WXhwAVJaVBTUyca0HJsj9Jvm7kNMZ7rDdYett8uwcESvhugHiL79dLk3gbxqODzVjxES SryhwcWZZc3YiywazXkWmrDlk9ZOPIrtV1qRPttXsKsiR7BPUqFeDDbGvsLQTWs2nK9S U1XkLD+Agc87axhd1QYv1VGCAcLLTUZmXSmhQRdXVxQKjkN7Lld45sadIT0kin4C6HLi GhDg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:organization:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:ironport-sdr:ironport-sdr; bh=r8u1uNNaCoZgifndiXDix/u1TgwRa+cKNrxG8BH6sM0=; b=Q/IUJf5ilvpHVu7/gjujh2847+o94JSTo4HkYUaLE8/JRm80GpE2HLko3ZlZyYnHWR mso92RhnowegAoSzz/9Bk4TelOL3hRH3bXqcyYcQlMN4G/BGDa5HIR9y/mxE25thbcyZ h1XThKSHY7BVrb2iqXr32IwiLzZF064/gCQzd4lcR1RCih9V8yavZqjoPb6EsLvGyINM YPS9KONhGs8j+7EzT3khvSnRjOx2eHMLawRqrJwi0nAxiW5dNftuMqNZ9Y/YSNS17vf+ +FGruHD4ltPhzt/So6Xa8+xyFn2vYPnvmFqcrxSL/jDPYWAfbnUOUSmmCisxW8NtNvv4 7Lmg== ARC-Authentication-Results: i=1; mx.google.com; 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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=intel.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id d18si6298573otf.22.2020.03.30.03.44.26; Mon, 30 Mar 2020 03:44:38 -0700 (PDT) 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; 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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=intel.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1729276AbgC3Knm (ORCPT + 99 others); Mon, 30 Mar 2020 06:43:42 -0400 Received: from mga09.intel.com ([134.134.136.24]:26454 "EHLO mga09.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728912AbgC3Knm (ORCPT ); Mon, 30 Mar 2020 06:43:42 -0400 IronPort-SDR: 9vD//3wRp0uiwiAWTFBn2VEfbc04iqkKNRVwgobCD24G/KasMYrH4tHI5ZZjIqPs6cELvTcNtD lcd3MON3X/hw== X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from fmsmga003.fm.intel.com ([10.253.24.29]) by orsmga102.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 30 Mar 2020 03:43:41 -0700 IronPort-SDR: wwUk+Jwnmz7vf91weyeKOqaGAh9J/oT3rFSilVdm0crTq+p/bvI0oy+69NMMUJGR3TGHDRKVQt zBxK7pVfY7Sw== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.72,324,1580803200"; d="scan'208";a="294549884" Received: from smile.fi.intel.com (HELO smile) ([10.237.68.40]) by FMSMGA003.fm.intel.com with ESMTP; 30 Mar 2020 03:43:38 -0700 Received: from andy by smile with local (Exim 4.93) (envelope-from ) id 1jIrtM-00EAdz-DH; Mon, 30 Mar 2020 13:43:40 +0300 Date: Mon, 30 Mar 2020 13:43:40 +0300 From: Andy Shevchenko To: Sudeep Holla Cc: Naresh Kamboju , "Rafael J. Wysocki" , Robin Murphy , Greg Kroah-Hartman , Linux Kernel Mailing List , Linux PM , Basil Eljuse , lkft-triage@lists.linaro.org, Linux-Next Mailing List , fntoth@gmail.com, Arnd Bergmann , Anders Roxell Subject: Re: Re: [PATCH v2 3/3] driver core: Replace open-coded list_last_entry() Message-ID: <20200330104340.GO1922688@smile.fi.intel.com> References: <20200324122023.9649-1-andriy.shevchenko@linux.intel.com> <20200324122023.9649-3-andriy.shevchenko@linux.intel.com> <028b636f-6e0f-c36a-aa4e-6a16d936fc6a@arm.com> <20200330095707.GA10432@bogus> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20200330095707.GA10432@bogus> Organization: Intel Finland Oy - BIC 0357606-4 - Westendinkatu 7, 02160 Espoo Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, Mar 30, 2020 at 11:13:21AM +0100, Sudeep Holla wrote: > On Fri, Mar 27, 2020 at 07:40:25PM +0000, Robin Murphy wrote: > > On 2020-03-27 5:56 pm, Naresh Kamboju wrote: > > > The kernel warning noticed on arm64 juno-r2 device running linux > > > next-20200326 and next-20200327 > > > > I suspect this is the correct expected behaviour manifesting. If you're > > using the upstream juno-r2.dts, the power domain being waited for here is > > provided by SCPI, however unless you're using an SCP firmware from at least > > 3 years ago you won't actually have SCPI since they switched it to the newer > > SCMI protocol, which is not yet supported upstream for Juno. See what > > happened earlier in the log: > > > > [ 2.741206] scpi_protocol scpi: incorrect or no SCP firmware found > > [ 2.747586] scpi_protocol: probe of scpi failed with error -110 > > > > Thus this is the "waiting for a dependency which will never appear" case, > > for which I assume the warning is intentional, > > Is that the case ? > > Previously we used to get the warning: > "amba xx: ignoring dependency for device, assuming no driver" > > Now we have the kernel warning in addition to the above. > > > since the system is essentially broken (i.e. the hardware/firmware doesn't > > actually match what the DT describes). > > > > Not sure if we can term it as "essentially broken". Definitely not 100% > functional but not broken if the situation like on Juno where SCP firmware > is fundamental for all OSPM but not essential for boot and other minimum > set of functionality. > > Either way I am not against the warning, just wanted to get certain things > clarified myself. How this warning related to the patch in the subject? Does revert of the patch gives you no warning? (I will be very surprised). -- With Best Regards, Andy Shevchenko