Received: by 2002:ac0:a594:0:0:0:0:0 with SMTP id m20-v6csp731933imm; Wed, 23 May 2018 04:48:56 -0700 (PDT) X-Google-Smtp-Source: AB8JxZoIL2tTFtFR7Ob3K/SZ8xW7ow2NPLuK401XWEcMCtOIZTOVrXBeStKxzCgyI1Qf0KZFMB22 X-Received: by 2002:a63:ba1c:: with SMTP id k28-v6mr309494pgf.179.1527076136873; Wed, 23 May 2018 04:48:56 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1527076136; cv=none; d=google.com; s=arc-20160816; b=wrOWXnb9EibThr6UDPadIASlEiRCNNtEdi4ymHaDT2LN0sAFg7y7r3cpc8L+kXJ2Rg 4tlNpj5Yi+Rh/rNq/oaJIjCqSO00DWRhnqbLzzClniw82YvfBEyHDdm/ypHYmD6HJZZU 3laC3CQ5YvV2nBgwth7uBQk3Ntaqs97axq4eo3xUcKbghYMD8YV+7pZM1Xetpq9ebgfC xk/IyZWCEao7Wlw0tvDvncX4yX1RR36TmEbPMlEAPxZwoOBTwf82FSeJ4Ma/z8Wr9iw7 AbOju4Ai3YEWvm3BMrzBt3+mUFE0bQ3hIY03AsEJLLswEUjwk3tc7iY1X0E1pllvBFfE SYyQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-language:thread-index :content-transfer-encoding:mime-version:message-id:date:subject :in-reply-to:references:cc:to:from:dmarc-filter:dkim-signature :dkim-signature:arc-authentication-results; bh=7SWMAU7a62hHh2kpzwzBvfrlZV3hiebIfqlSYej2Q9Q=; b=UiVkGlfAyll4x+AN/tFrfohiK9LrW86aZyX6UMnnobq5by4vs2tFLfPFeh9Xvg+veT vp7qW4gfmF+d9O1FB//auEb/MjZ3gBN6jAxZEkGfUlzODqAP4Sx7fJR13fNqYEEBJ7yq Mqk+iuRa6tEh2TIZuS0D7GmIOb6NrRnti580l5Sexn2DF9YoF+2P2dihyAvBGzuMWItG XjXYL6m4ZIis8ogsO3VVlc4H7Yna+6Q1cRLtEfOkunwDzabEgmEg9mguUROYeWl0vVRb I7ZhFwFImrv8ke6Wjklr1ESfjbUdsLUzrPjtS/m7quKKw8p6wPB+FEs3gaqzs6AYU0WL eTsg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@codeaurora.org header.s=default header.b=DAE1bf98; dkim=pass header.i=@codeaurora.org header.s=default header.b=CzwCthAh; 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 n59-v6si18451069plb.198.2018.05.23.04.48.42; Wed, 23 May 2018 04:48:56 -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; dkim=pass header.i=@codeaurora.org header.s=default header.b=DAE1bf98; dkim=pass header.i=@codeaurora.org header.s=default header.b=CzwCthAh; 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 S932780AbeEWLrn (ORCPT + 99 others); Wed, 23 May 2018 07:47:43 -0400 Received: from smtp.codeaurora.org ([198.145.29.96]:46536 "EHLO smtp.codeaurora.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932627AbeEWLrj (ORCPT ); Wed, 23 May 2018 07:47:39 -0400 Received: by smtp.codeaurora.org (Postfix, from userid 1000) id 9E7C960392; Wed, 23 May 2018 11:47:38 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=codeaurora.org; s=default; t=1527076058; bh=cD6qm5Fu1jQFNLOahsZhNhxCdRcrIm1UrJuRxLKDeIk=; h=From:To:Cc:References:In-Reply-To:Subject:Date:From; b=DAE1bf98U5iJ5zUXWfr8XmhCB/nP6eJ10sGlnQApJ8MMdiJwhFVVQAwTz5phqgxu4 OKH1ljTz7yps3at+Uhc1E5aEgfl46oI554PBCjfCmMrRILn0bPJNezcZQmL4TCs5ee Z35sJL7NQOmjBpNNnmb/WMGBYoLwo72YTwn13M1E= X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on pdx-caf-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-2.8 required=2.0 tests=ALL_TRUSTED,BAYES_00, DKIM_SIGNED,T_DKIM_INVALID autolearn=no autolearn_force=no version=3.4.0 Received: from ilial (unknown [185.23.60.4]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) (Authenticated sender: ilialin@codeaurora.org) by smtp.codeaurora.org (Postfix) with ESMTPSA id E0D94602BC; Wed, 23 May 2018 11:47:26 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=codeaurora.org; s=default; t=1527076049; bh=cD6qm5Fu1jQFNLOahsZhNhxCdRcrIm1UrJuRxLKDeIk=; h=From:To:Cc:References:In-Reply-To:Subject:Date:From; b=CzwCthAhPJGVXcIs/SJFbFJgtfF1rUzSHy0ymRwQ3gdFAYhKjKx4/27Bgfnoz/bBe X+pjhakr99+0RMww1EtNvSBGqXHD6+hooAifEmIOVPaFBpvif4w7tYa1KEP9PRJykC kFBvnOu0APNfCsSJqZOnjizCMY9Ocbt/pKqzGJ20= DMARC-Filter: OpenDMARC Filter v1.3.2 smtp.codeaurora.org E0D94602BC Authentication-Results: pdx-caf-mail.web.codeaurora.org; dmarc=none (p=none dis=none) header.from=codeaurora.org Authentication-Results: pdx-caf-mail.web.codeaurora.org; spf=none smtp.mailfrom=ilialin@codeaurora.org From: To: "'Viresh Kumar'" Cc: "'Sudeep Holla'" , "'Viresh Kumar'" , "'Nishanth Menon'" , "'Stephen Boyd'" , "'Rob Herring'" , "'Mark Rutland'" , "'Rafael J. Wysocki'" , , , "'Linux Kernel Mailing List'" References: <1527068454-28921-1-git-send-email-ilialin@codeaurora.org> <1527068454-28921-2-git-send-email-ilialin@codeaurora.org> <3f1ca60e-7aa8-fccc-ab1c-4b7c37731cce@arm.com> <002901d3f286$198878b0$4c996a10$@codeaurora.org> <002b01d3f28a$0d033900$2709ab00$@codeaurora.org> In-Reply-To: Subject: RE: [PATCH v10 1/2] cpufreq: Add Kryo CPU scaling driver Date: Wed, 23 May 2018 14:47:24 +0300 Message-ID: <002d01d3f28b$d3ce3980$7b6aac80$@codeaurora.org> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable X-Mailer: Microsoft Outlook 16.0 Thread-Index: AQHGHkKLWrrdHode7ZinDUAwaNCKTQIQamVJAy14mKwB0DCraALLdumlAZEqbIIB7UALhqPuG0cQ Content-Language: en-us Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org The nvmem will return EPROBE_DEFER, and so will my driver's init. But = then no one will call the init again. > -----Original Message----- > From: Viresh Kumar > Sent: Wednesday, May 23, 2018 14:46 > To: Ilia Lin > Cc: Sudeep Holla ; Viresh Kumar > ; Nishanth Menon ; Stephen Boyd > ; Rob Herring ; Mark Rutland > ; Rafael J. Wysocki ; linux- > pm@vger.kernel.org; devicetree@vger.kernel.org; Linux Kernel Mailing = List > > Subject: Re: [PATCH v10 1/2] cpufreq: Add Kryo CPU scaling driver >=20 > On 23 May 2018 at 17:04, wrote: > > You are right. I already checked that in the code... > > However, with module_init() the driver fails on reading the nvmem. >=20 > And why is it failing ?