From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-0.8 required=3.0 tests=HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,SPF_PASS autolearn=unavailable autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 5BAF9C6786F for ; Thu, 1 Nov 2018 13:58:06 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 2D4D02081B for ; Thu, 1 Nov 2018 13:58:06 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 2D4D02081B Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=redhat.com Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-clk-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728846AbeKAXA7 (ORCPT ); Thu, 1 Nov 2018 19:00:59 -0400 Received: from mail-ed1-f68.google.com ([209.85.208.68]:39802 "EHLO mail-ed1-f68.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728563AbeKAXA7 (ORCPT ); Thu, 1 Nov 2018 19:00:59 -0400 Received: by mail-ed1-f68.google.com with SMTP id e5-v6so16612733eds.6 for ; Thu, 01 Nov 2018 06:57:53 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:to:cc:references:from:message-id:date :user-agent:mime-version:in-reply-to:content-language :content-transfer-encoding; bh=AbmvnSevefuGWbvOSlgWrhQZiW3LEijmOU4xV1hJo2Y=; b=doE6MbPMGbsmk4UevYlWvYd6Zu/xJCBEG1TOPp8neRwiTVW8LR9eXZSD9g8HoLhz4i sxFk2CKQKE2PWaWO0nHk+o+y0VvZEWVtBzRlm1/ciG/zfU1FK/c7RKvjYTj3EoJ8JvxE DxYLwh1NLfBu8+UMoDvj7bnj7vHgw8NiG049iOMtAZHJnVJCcX6cKdGxaSxg+rE+d+9n gp57mXMl5QAd0PB8YdwAL9Gdja/XnwpPiC+y6paxJFugsiP0+ueIRUnJ0qxX0Cw+05pI cbxbjQBQxO0bGdKqwvGI5194MRBcF6lxf3Z/1BGKXOINiKGCXBystndgEFz/SzX/GvCZ LIRA== X-Gm-Message-State: AGRZ1gLMXkSnOe0Hz2yeTQxuWN1jWBEyBGh0hpHu/lmZIwRL9xuWxYCR CriiAfptKhKiWPToOQXVH7A/RA== X-Google-Smtp-Source: AJdET5fAM1g1wZlH9SioJtH3tB97gmiW/qZ+7DxEmZr6KQVB/Vgfxb1RkLTwjgUthxhLHNak5VrIAw== X-Received: by 2002:a50:ca47:: with SMTP id e7-v6mr5274431edi.56.1541080672660; Thu, 01 Nov 2018 06:57:52 -0700 (PDT) Received: from shalem.localdomain (546A5441.cm-12-3b.dynamic.ziggo.nl. [84.106.84.65]) by smtp.gmail.com with ESMTPSA id u7-v6sm4113154edo.40.2018.11.01.06.57.51 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 01 Nov 2018 06:57:51 -0700 (PDT) Subject: Re: Regression found (Stop-marking-clocks-as-CLK_IS_CRITICAL) To: Dean Wallace , Pierre-Louis Bossart Cc: Andy Shevchenko , Stephen Boyd , Michael Turquette , linux-clk , Stable , Johannes Stezenbach , Andy Shevchenko , Linux Kernel Mailing List , Mogens Jensen References: <20181030143836.feo7zcxiestylxoo@picard> <2d429c87-24c5-4075-683e-b0d12c3eb1c2@linux.intel.com> <20181030161534.wk5cf7nxbwhp2far@picard> <307c2074-d268-a87a-6040-1240a2091a4d@redhat.com> <20181031200709.xrmu6wsdel7dtcjq@picard> <20181101103705.ay36te4qr5pxtgop@picard> From: Hans de Goede Message-ID: <37e44480-44d3-9355-6119-ae46bb38678a@redhat.com> Date: Thu, 1 Nov 2018 14:57:51 +0100 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.8.0 MIME-Version: 1.0 In-Reply-To: <20181101103705.ay36te4qr5pxtgop@picard> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit Sender: linux-clk-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-clk@vger.kernel.org Hi, On 01-11-18 11:37, Dean Wallace wrote: > On 31-10-18, Pierre-Louis Bossart wrote: >> >>> Just thought it worth mentioning, this new patch that fixes sound >>> again, seems to have ressurected an old issue with PLL unlock. I'm >>> seeing journal entries after fresh boot ...... >>> >>> ``` >>> picard kernel: max98090 i2c-193C9890:00: PLL unlocked >>> picard systemd[462]: Started Sound Service. >>> picard kernel: max98090 i2c-193C9890:00: PLL unlocked >>> picard kernel: max98090 i2c-193C9890:00: PLL unlocked >>> picard kernel: max98090 i2c-193C9890:00: PLL unlocked >>> picard kernel: max98090 i2c-193C9890:00: PLL unlocked >>> picard kernel: max98090 i2c-193C9890:00: PLL unlocked >>> picard kernel: max98090 i2c-193C9890:00: PLL unlocked >>> picard kernel: max98090 i2c-193C9890:00: PLL unlocked >>> picard kernel: max98090 i2c-193C9890:00: PLL unlocked >>> picard kernel: max98090_pll_work: 141 callbacks suppressed >>> picard kernel: max98090 i2c-193C9890:00: PLL unlocked >>> ``` >>> >>> sound is ok, but sometimes plugging in headphones spams journal with >>> those PLL messages, and sound turns into "daleks", and I have to >>> remove/insert headphones few times or stop/start audio to fix it. >>> It's a very old issue, maybe you'd know more about it. >> >> I noticed this error on my Orco device used for tests many moons ago, but I >> could never find out what led to this error case, it wasn't deterministic >> and didn't impact the audio quality. All I could do is rate_limit it... If >> we have an A vs. B situation it'd be really helpful to diagnose further. >> >> Is there really a causality between the changes from Hans and this PLL >> unlock error? Are you 100% sure this was not present in the previous install >> you used (4.18.14 as mentioned earlier in the thread)? >> >> Thanks >> >> -Pierre >> > Well, numerous boots, kernels, headphone inserting - no PLL or > 'Daleks'. My laptop must have been haunted that day (halloween). > I'll put it to bed. So you can no longer reproduce. Bummer. Note this might be caused by the temperature of the laptop when you were running the tests... Anyways if you hit this again and you can reproduce it, please give adding a msleep(10) after code mucking with the clk a try. Regards, Hans