Received: by 2002:a05:6a10:206:0:0:0:0 with SMTP id 6csp2641559pxj; Mon, 14 Jun 2021 03:49:02 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxVGMXQbA0W7Bngexp9FM5BzXoGrJryEcG7Ei8pEXZ8mZlMpZJKYfqq2lWDlHS/VVkvSj7+ X-Received: by 2002:a17:906:7012:: with SMTP id n18mr4520412ejj.236.1623667742424; Mon, 14 Jun 2021 03:49:02 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1623667742; cv=none; d=google.com; s=arc-20160816; b=c7X7bCGtQEU6uGGlYzGjh5PuDc9E3RIOrw+huYZD8plBzQzXAX5JXGVgtdqPguXaYR T1z7Djsb0iVcNvok6yWjZyo0YGdjg1t+sN1KeAwE60aJb/jGdI7xOLt35ynlC+OkPqy9 JOeAHfFQZ/f+TmuI2eN186Kgdz3OWUBzkJjQJZls3aYBi4T+bSYb87s2SFMvAFn1z5mb eg+oZf6oL+btpg5l8YZaC/8n8sARqr9lGkdwkjXyi9EEsoy4zKJyvYICSOcSTWpq8hhD o5kU96q+ykCbd6wMf88lEKsTKOGPTM+E43MyVKZDDyCxhLxV5x9ZFtzSWbS0E/l2CTVR 07PA== 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 :dkim-signature; bh=uTj9ZV+d2V/PcL7XwUYoNGWKWT2MZ88T15Bia66lGx8=; b=z9UdGd/iakLgYYhOpDeasV9tsSkLjRZqC8HkWAOepxeTvqQLLOzyGRXvdMo5EeRxPs t3ZQv2Sj2b9J3n/VbIweex0QzQq3dMEl0wU9PjahrVs8qz7BoughGiz/YuTXBUrKwpiV nAVxsI6cbqD+rrZkLhfMg/Fx0uYBdrR3gIEqT8UyJ7BV7j6Vy0Ss6PJxioe0NfOenlmo cW3wgdvBIgOp2sNkxu+iM5Y6hYS4vb5YQ+i2hrYhtVrEeuzdbOdyTBFHFrXzDJcI+AhG tMDh1q2vEPiI4Rw0sQ3OhXhqAfWSLWar/cPrhw8+mYBpYJ3vBEBetNgEJdHmf1iIiGRS EI0A== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=O3Hfj5KI; 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=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id cb22si11661545edb.401.2021.06.14.03.48.36; Mon, 14 Jun 2021 03:49:02 -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=@kernel.org header.s=k20201202 header.b=O3Hfj5KI; 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=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233761AbhFNKsU (ORCPT + 99 others); Mon, 14 Jun 2021 06:48:20 -0400 Received: from mail.kernel.org ([198.145.29.99]:46962 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233077AbhFNKlX (ORCPT ); Mon, 14 Jun 2021 06:41:23 -0400 Received: by mail.kernel.org (Postfix) with ESMTPSA id E061061426; Mon, 14 Jun 2021 10:35:04 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1623666905; bh=IujGyGFkUh6c095wpaUHFnrO0iE38+6f/5PehxIR33I=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=O3Hfj5KIOzRs7RfSvIXqZ4p5SPswqlDHwwGhTBQLZLdUUbskwUkncAJ4YgSAnXvz7 H1I0ZDylPWbKJLGG9wDhF3oJEdgj7bgNuZAemWnpduBSUFYTSt7Dnyb6nsaBQ19LnA 9hvOFNEatx122zL3A6h6eLs9duGyEI8yqMtpylDRWYNQbMOGcSYtYzf6L/0FhYYh1Q iOMZ3qcZvcjONMEBB9qEHIPDw6dEMb/fDCNvl7rLaKfWIn/wFmuuT3XoXntsRMnQns AleFF3hoOtQfQ+4TQUmlDKcoUwcIk5gN6G00A9YBSvZjGv5RVtaV9ehoLtg9mrqxjk oYEyMbTs3YASA== Date: Mon, 14 Jun 2021 11:34:46 +0100 From: Mark Brown To: Alexander Sverdlin Cc: Geert Uytterhoeven , Nikita Shubin , linux-spi@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH 2/7] spi: spi-ep93xx: Prepare clock before using it Message-ID: <20210614103446.GC5646@sirena.org.uk> References: <20210613233041.128961-1-alexander.sverdlin@gmail.com> <20210613233041.128961-3-alexander.sverdlin@gmail.com> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="Y5rl02BVI9TCfPar" Content-Disposition: inline In-Reply-To: <20210613233041.128961-3-alexander.sverdlin@gmail.com> X-Cookie: Some restrictions may apply. User-Agent: Mutt/1.10.1 (2018-07-13) Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org --Y5rl02BVI9TCfPar Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Mon, Jun 14, 2021 at 01:30:36AM +0200, Alexander Sverdlin wrote: > Use clk_prepare_enable()/clk_disable_unprepare() in preparation for switch > to Common Clock Framework, otherwise the following is visible: >=20 > WARNING: CPU: 0 PID: 1 at drivers/clk/clk.c:1011 clk_core_enable+0x9c/0xbc > Enabling unprepared ep93xx-spi.0 > CPU: 0 PID: 1 Comm: swapper Tainted: G W 5.13.0-rc5-... #1 > Hardware name: Cirrus Logic EDB9302 Evaluation Board > [] (unwind_backtrace) from [] (show_stack+0x10/0x18) > [] (show_stack) from [] (dump_stack+0x20/0x2c) > [] (dump_stack) from [] (__warn+0x98/0xc0) > [] (__warn) from [] (warn_slowpath_fmt+0x90/0xc0) > [] (warn_slowpath_fmt) from [] (clk_core_enable+0x9c/= 0xbc) > [] (clk_core_enable) from [] (clk_core_enable_lock+0x= 18/0x30) > [] (clk_core_enable_lock) from [] (ep93xx_spi_prepare= _hardware+0x10/0x30) Please think hard before including complete backtraces in upstream reports, they are very large and contain almost no useful information relative to their size so often obscure the relevant content in your message. If part of the backtrace is usefully illustrative (it often is for search engines if nothing else) then it's usually better to pull out the relevant sections. --Y5rl02BVI9TCfPar Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQEzBAABCgAdFiEEreZoqmdXGLWf4p/qJNaLcl1Uh9AFAmDHMMUACgkQJNaLcl1U h9DaVgf/WRx61EZX++GV5SmP8RyZsQsu8RLHH/fRsJLP77/QncSMK6AjFAx3Arjm TKayaB2d06wkAPDXaXVPGu/ltYZRDcHo+vdBwG586kQgdzfagMSq/y4f4Q8V9r8w NuVoVRvxjXAOPUUxsLJqhtlczeheW4fCIGRmbQyBnryipf/NgCRU0MSoAsTk5O8C ILihHzbynhk3CZ9OZt8awIAIeq+/FesV7W+RcosHFeKNIPzWgTgrDcdelR/E4f06 7qbqZ3G4EXNyggvdusfKVTGINSOBKa5qk5HPuJu0766LiJi6o7wqA4Ay3bstjGmV +PONN4/TXKsZEPDoc1644OZ6JeP82Q== =IFes -----END PGP SIGNATURE----- --Y5rl02BVI9TCfPar--