Received: by 2002:a25:6193:0:0:0:0:0 with SMTP id v141csp2282506ybb; Mon, 30 Mar 2020 03:14:37 -0700 (PDT) X-Google-Smtp-Source: ADFU+vsma9EgmB67o5Xqrpp6yqbF5IZTgw3vPt4i1JRoI8KcFVRsFQCqcnXJWY5l4fTvcrhkGzTQ X-Received: by 2002:a4a:874f:: with SMTP id a15mr8946198ooi.8.1585563277187; Mon, 30 Mar 2020 03:14:37 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1585563277; cv=none; d=google.com; s=arc-20160816; b=ATL3YpXSclRvpRCKxLZ4ldt0cplR/XsCZKf9xNU/6gjVYJOGMCUCS6YxMJ8E3Kj6yK mY22AUNXu3rXYOPsGb5VXRegYtwGOf3rW/kd7uH+k662X3CDm+JVkLWRBweHcJU2HVJX ITGJmvvhWqILxyZO72/fdZOs6IsdRmya6NQi7gOUe0f299GoCJ7AtBj+QC5v3tCGk+xe 4IeCaPqPM0qDv6qrId3n3UKBb+XWStimoZpBsjH2lc7OKNKx1S+dUxS3wD0Qts8dnTkX WE3PSuHWAov98J8NTnJZfdRfS/vUnCfn8/w4AqkUsDFTAEFINmpdp0G9H/AzGTJGBMGp 8xBw== 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; bh=vK5/tjydj9abQqb3PQPvKKTFEU4DE9NFJT5ZSkUSo3Y=; b=0z53/kWRttmrEfbir6Az//klNNWRF7x6e9V0wMSvtxggy3Xvd4prN7gClUmOMXvZum A69NTDR70y6IepcDsAs55y/+WZT64yFKg75M6GgtAu+B3sd2r0CmS/dftPON28Hc/vyX tpGGInf2YPxe4Wi2SZla9Zf90kN6Nrocnp1y/ohrQRPuQKRNezk++gOjkO83ixB4/nBP erR4zZ7indyuq4IF/6LZay/JrO9Kuf9+vP5XhXC3fHUvGhTsNf3tyTDvnvFPT0zTiwg/ 0MJhRgFRO3t6HMXXkTnT1KNRKIIt/t+O59fbHD3ie9lNf6OM4p1SLz5lHfBjNEWs/Kd7 EEPA== 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id k194si3817253oib.251.2020.03.30.03.14.24; Mon, 30 Mar 2020 03:14:37 -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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728846AbgC3KNd (ORCPT + 99 others); Mon, 30 Mar 2020 06:13:33 -0400 Received: from foss.arm.com ([217.140.110.172]:49108 "EHLO foss.arm.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728257AbgC3KNd (ORCPT ); Mon, 30 Mar 2020 06:13:33 -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 3AAAC31B; Mon, 30 Mar 2020 03:13:32 -0700 (PDT) Received: from bogus (unknown [10.37.12.97]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPSA id CA8EF3F52E; Mon, 30 Mar 2020 03:13:28 -0700 (PDT) Date: Mon, 30 Mar 2020 11:13:21 +0100 From: Sudeep Holla To: Andy Shevchenko Cc: Naresh Kamboju , "Rafael J. Wysocki" , Robin Murphy , Andy Shevchenko , 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 , Sudeep Holla , Anders Roxell Subject: Re: Re: [PATCH v2 3/3] driver core: Replace open-coded list_last_entry() Message-ID: <20200330095707.GA10432@bogus> References: <20200324122023.9649-1-andriy.shevchenko@linux.intel.com> <20200324122023.9649-3-andriy.shevchenko@linux.intel.com> <028b636f-6e0f-c36a-aa4e-6a16d936fc6a@arm.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <028b636f-6e0f-c36a-aa4e-6a16d936fc6a@arm.com> User-Agent: Mutt/1.9.4 (2018-02-28) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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. -- Regards, Sudeep