Received: by 2002:ac0:98c7:0:0:0:0:0 with SMTP id g7-v6csp5818736imd; Wed, 31 Oct 2018 02:30:22 -0700 (PDT) X-Google-Smtp-Source: AJdET5fRvgTYNGk3M4PwPkYzmo6/l6O8b6hIKqL4EZqmxa2GcTPUc21IVxcjSoM8+Df0AI7ynvdC X-Received: by 2002:a17:902:f83:: with SMTP id 3-v6mr2587961plz.254.1540978222358; Wed, 31 Oct 2018 02:30:22 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1540978222; cv=none; d=google.com; s=arc-20160816; b=SMQmrVecYCGgJe7R7B9K8A7k2jAmIxdagOetCM2ej3lwpkS5rgIuUFchGrialY41Uf 6ejgbXldd00AQSmmyPEXLoF+3q4mp8FFe55bSuGjWdlLX5OSBbLXo+/TTMhvIocO0m1I 3Nl4chGR4c9iYVqaLmuTsFgM4a3hA/j781WmX/J7tHUJo+FtGUdCDLezqw4udjsNN8EO AMpHKMnquy6IaB82WH/OjqvKrEoIF3wE6FN6Rm/Z1Trr+sEpGRJPW5JwMLH9Dk0fde4l Ogw2NaJtiDTf0FWWjlUTeKM/IBq8gup1MvztoShcQ4yBlPkYp34t/UWM6D0i9PjeBVpn c7iA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding :content-language:in-reply-to:mime-version:user-agent:date :message-id:from:references:cc:to:subject; bh=LSDLSqkZwnwfLo7WPhPqkqH6UiOLAwoxdtNxltf3vrc=; b=B7n5j6YaJ/6g/5vZvA8FWtKIpwC5i57KBHDeHABB4QqCxp4iesKZ0S5LNWLF4a02cp IIPrdhWZeDdKfxQKXPRMm7LTTv/8FWYXc+kQJKt96V7kXCH1EIB8VdyjmgOOLrWZfaoE p8OR+s/JLZEfN0IgPuQr0M3SFFKCnIcolEwNHpIEH1WJiAzRu2ej8X1T6iF1EnCQd5f2 vmF7Q6dtAal7W+trvK1A795VS6prfif/1en7WnjNdPHXNTAdBLt6RH54y9OXS0EhBAmG jdiTsY2eihryl55iilmgT4T1+Lez5xJgYy+Hk9ten4dBt8EYYgKQAMm7UF0e31jiOUmG EayA== 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=redhat.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id s144-v6si15897182pfc.149.2018.10.31.02.30.06; Wed, 31 Oct 2018 02:30:22 -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=redhat.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728046AbeJaS0z (ORCPT + 99 others); Wed, 31 Oct 2018 14:26:55 -0400 Received: from mail-ed1-f67.google.com ([209.85.208.67]:43800 "EHLO mail-ed1-f67.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727757AbeJaS0z (ORCPT ); Wed, 31 Oct 2018 14:26:55 -0400 Received: by mail-ed1-f67.google.com with SMTP id y20-v6so12985781eds.10 for ; Wed, 31 Oct 2018 02:29:35 -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=LSDLSqkZwnwfLo7WPhPqkqH6UiOLAwoxdtNxltf3vrc=; b=XUWqE6QbyBExFV0K7ReVGkZ/xZ9Wx+rxyX/zUS53tFXOiLUnNH6dB0GV/uKzCTE66I 08qJUAAsOAO7m1WAnW6vb3QervWC+8vYjlXm6cKW76ULJcK61GLCGRzuD9yiPZhuAh4D mC9Y9UCpPP+ygAxA4N0mJdthf7ubpZfB9/4VVNGst7sq8qrwWxuEr0GPYUDPqYk6BO6P z3i0MQOxkLLA4wqfYqy0l4mPgOj7aaCgrM/VWt4DZf3JKEBDo0SndtrVG5Ik0JKx5CiZ ZQZhd7lG5GduBzz7krvS85IxZ2kFZpaEZQ3Rs2qsZnfOc5izZWBWZx/amLkcwCBBeDWG Uklg== X-Gm-Message-State: AGRZ1gKw1QG0TUGIBnFrAN22mTkUHyIH7EAWlVRG+wMqgeGdYTZZxhTs IEv9c7/lt224Xx21RAgFnGLuhdVhS6M= X-Received: by 2002:a17:906:f285:: with SMTP id gu5-v6mr1023889ejb.64.1540978173735; Wed, 31 Oct 2018 02:29:33 -0700 (PDT) Received: from shalem.localdomain (546A5441.cm-12-3b.dynamic.ziggo.nl. [84.106.84.65]) by smtp.gmail.com with ESMTPSA id d23-v6sm50968ejk.21.2018.10.31.02.29.32 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 31 Oct 2018 02:29:33 -0700 (PDT) Subject: Re: Regression found (Stop-marking-clocks-as-CLK_IS_CRITICAL) To: Mogens Jensen Cc: Pierre-Louis Bossart , Dean Wallace , Andy Shevchenko , Stephen Boyd , Michael Turquette , linux-clk , Stable , Johannes Stezenbach , Carlo Caione , Andy Shevchenko , Linux Kernel Mailing List References: <20181025232517.ywnw54qibemosjws@picard> <20181030143836.feo7zcxiestylxoo@picard> <2d429c87-24c5-4075-683e-b0d12c3eb1c2@linux.intel.com> From: Hans de Goede Message-ID: Date: Wed, 31 Oct 2018 10:29:32 +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: Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi, On 31-10-18 07:02, Mogens Jensen wrote: > ‐‐‐‐‐‐‐ Original Message ‐‐‐‐‐‐‐ > On Tuesday, October 30, 2018 7:10 PM, Hans de Goede wrote: > >> Hi, >> >> On 30-10-18 19:56, Mogens Jensen wrote: >> >>> ‐‐‐‐‐‐‐ Original Message ‐‐‐‐‐‐‐ >>> On Tuesday, October 30, 2018 4:04 PM, Hans de Goede hdegoede@redhat.com wrote: >>> >>>> Hi, >>>> On 30-10-18 16:46, Hans de Goede wrote: >>>> >>>>> Hi, >>>>> On 30-10-18 16:04, Pierre-Louis Bossart wrote: >>>>> >>>>>> In addition I am not aware of any baytrail device using plt_clk_0, so moving a common machine driver such a cht_bsw_max98090_ti to use plt_clk0 only would break other devices (e.g. Rambi/Orco). Asking for both clocks to be on might work though, >>>>> >>>>> Ok, so we need to have a DMI based quirk for the Swanky and maybe also >>>>> the clapper to use plt_clk_0 there. Asking for 2 clks if we only need >>>>> one does not seem like a good plan. >>>> >>>> Dean, Mogens, >>>> To write a proper patch for this I'm going to need DMI strings >>>> from your devices. >>>> Can you please run (as normal user): >>>> grep . /sys/class/dmi/id/* 2> /dev/null >>>> And reply with the output of this command? >>>> I have attached the output from a coreboot seabios based clapper. >> >> Thank you. >> >>> Should I still test 0001-ASoC-intel-cht_bsw_max98090_ti-Use-pmc_plt_clk_0-ins.patch with SND_SOC_INTEL_CHT_BSW_MAX98090_TI_MACH and asoundrc from Dean? There seems to have been some development in the case since that request was made. >> >> Yes please test that, I expect that to also fix things for the >> Clapper, but I need to have that confirmed before submitting a >> patch upstream adding a quirk for the Clapper to use pmc_plt_clk_0 >> instead of pmc_plt_clk_3. >> >> Regards, >> >> Hans >> > Unfortunately I only have access to longterm kernel 4.14 for building/running on this system, and 0001-ASoC-intel-cht_bsw_max98090_ti-Use-pmc_plt_clk_0-ins.patch does not patch against 4.14.78. Can a test patch for 4.14 be created? Can you run (as root): for i in /sys/kernel/debug/clk/pmc_plt_clk_?; do echo -n "$i: "; cat $i/clk_flags; echo; done When running a kernel with working audio? Then I can confirm that the Clapper is also using pmc_plt_clk_0, so that I can fix this for the clapper for 4.18+ I've just checked the 4.14 sources and in 4.14 the SND_SOC_INTEL_CHT_BSW_MAX98090_TI_MACH driver does not support mclk control yet, so for the 4.14 kernel the only way to fix this is to revert the 648e921888ad ("clk: x86: Stop marking clocks as CLK_IS_CRITICAL") commit. Regards, Hans