Received: by 2002:a25:e74b:0:0:0:0:0 with SMTP id e72csp1560589ybh; Mon, 20 Jul 2020 01:06:51 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwhBTpuS883MNaJbUXBaACEwaQRz3JUziKecyucsPaNtY8GxoW8ls6jsUljG9oH0ZQWyB26 X-Received: by 2002:a17:906:48d3:: with SMTP id d19mr19275937ejt.180.1595232410953; Mon, 20 Jul 2020 01:06:50 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1595232410; cv=none; d=google.com; s=arc-20160816; b=joUxSMlmCezw+NBoi40e5YcS5r2d01RsxWzfbJdok7s2ktnMD0gIAqAUYyEvWH25IJ AHc39SuPQzPH4WOLbEyFMTZDbADeEjPUsgMZS+9eJZEnbe/e+p007nNNG7yWHa6hgf1S pSh2NO0moNKL9Bqqy5OJeSXxHxhUmcLlYrAMyTPzgBseSQzZwqUVX5+/JO71LtOfMfWt 3MegeTM7AEJtFBNPhqN23RgOpNbQ+4Hnk8P/ncDOQf8KY87Qr2PRcd3A8yfJXLYcjFB5 IB6ezHM/qADHxd7+Vjvp4cNc9E7B6dyvo2aOr0cOR1pPV/P4mQRC9WSvTPOYJ0gjYxa8 nWWg== 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=vg09xK5q93RhjkSo+BtXD7JwKBjiF9ZCt45w+OmMMVY=; b=KzJp2MxQLXrCue3NhsUDKnb66e+Yam6w3wbqUQkP4AQX4BF2juUIPaICFlEjluMoLZ on8Om4HjjcP7U3xt1uFbfthes1krgcnpnpK85K5CodDjXdmFe8Bogsa8F9igGXbzD7uO jmZRurxaGzv7ufA88qE1dDB9d5QEOjle7ceXGPJYFLEi8JJhdQN50Oe0ktyWs3uarCRQ FFpngqy9VCmmk9uN5iY4mtXnVQothk6mLE6zaP5Q3pjv2ZyT4s6npHT6l2H8UPNlPHo4 68b7tsEnOeD+rrvM6HtkELQYn8pwClbouth2x+1Fw2uw/iLd9jsxW4vMZcR6y2eap+du PvQw== ARC-Authentication-Results: i=1; mx.google.com; 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 zn5si10886822ejb.583.2020.07.20.01.06.27; Mon, 20 Jul 2020 01:06:50 -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; 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 S1726736AbgGTIGG (ORCPT + 99 others); Mon, 20 Jul 2020 04:06:06 -0400 Received: from mail-wm1-f66.google.com ([209.85.128.66]:37069 "EHLO mail-wm1-f66.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725815AbgGTIGG (ORCPT ); Mon, 20 Jul 2020 04:06:06 -0400 Received: by mail-wm1-f66.google.com with SMTP id o2so24236749wmh.2; Mon, 20 Jul 2020 01:06:04 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to:user-agent; bh=vg09xK5q93RhjkSo+BtXD7JwKBjiF9ZCt45w+OmMMVY=; b=fUTMldOGfkrptj+n6jUNqqziKMMf/cgU3ebuM7YHLJZ0XgOOJqWml/zNAXU9MZAt1a mGZvgYzT/+3kYDfQLwSwmS+97D3X71N0LmiMg3B5PnXTfT/0q4jEw+ErAXYjQu39erMv PbSgzLHrqupo1/SbayKs7x3vx2lM2nE46s3LgQ2TmVm+ZkJXuxqz7NI3BWncEoacBi4W 3tC4eBog3hxZ4MDad6D6MPar6pq5JdCYA3wpVYVNh5IRU/TZf7xK3PDgIHBjkIQX+I5R 8xh6BibHYZ5Pd+acRH32bmKIZlUob72pbi5dVB2V9g6pE1J188m3hqVTBDOtLLNTNlyR jLsw== X-Gm-Message-State: AOAM531qDr6XfPxZ57hpenTGrvUIwQWgLD3OZ9TpTfXB+rzzmUYaao2z dP8m+sbw2MRjojiVe49Jaz++uIB7z3g= X-Received: by 2002:a7b:c3d0:: with SMTP id t16mr21900753wmj.117.1595232364225; Mon, 20 Jul 2020 01:06:04 -0700 (PDT) Received: from kozik-lap ([194.230.155.200]) by smtp.googlemail.com with ESMTPSA id l67sm34178337wml.13.2020.07.20.01.06.02 (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Mon, 20 Jul 2020 01:06:03 -0700 (PDT) Date: Mon, 20 Jul 2020 10:06:01 +0200 From: Krzysztof Kozlowski To: Marek Szyprowski Cc: linux-samsung-soc@vger.kernel.org, linux-kernel@vger.kernel.org, linux-pm@vger.kernel.org, Bartlomiej Zolnierkiewicz , Willy Wolff , Marian Mihailescu , Chanwoo Choi Subject: Re: [PATCH] ARM: dts: exynos: Disable frequency scaling for FSYS bus Message-ID: <20200720080601.GA3845@kozik-lap> References: <20200714064759.31772-1-m.szyprowski@samsung.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: <20200714064759.31772-1-m.szyprowski@samsung.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 Tue, Jul 14, 2020 at 08:47:59AM +0200, Marek Szyprowski wrote: > Commit 1019fe2c7280 ("ARM: dts: exynos: Adjust bus related OPPs to the > values correct for Exynos5422 Odroids") changed the parameters of the > OPPs for the FSYS bus. Besides the frequency adjustments, it also removed > the 'shared-opp' property from the OPP table used for FSYS_APB and FSYS > busses. > > This revealed that in fact the FSYS bus frequency scaling never worked. > When one OPP table is marked as 'opp-shared', only the first bus which > selects the OPP sets the rate of its clock. Then OPP core assumes that > the other busses have been changed to that OPP and no change to their > clock rates are needed. Thus when FSYS_APB bus, which was registered > first, set the rate for its clock, the OPP core did not change the FSYS > bus clock later. > > The mentioned commit removed that behavior, what introduced a regression > on some OdroidXU3 boards. Frequency scaling of the FSYS bus causes > instability of the USB host operation, what can be observed as network > hangs. To restore old behavior, simply disable frequency scaling for the > FSYS bus. > > Reported-by: Willy Wolff > Fixes: 1019fe2c7280 ("ARM: dts: exynos: Adjust bus related OPPs to the values correct for Exynos5422 Odroids") > Signed-off-by: Marek Szyprowski > --- > arch/arm/boot/dts/exynos5422-odroid-core.dtsi | 6 ------ > 1 file changed, 6 deletions(-) Thanks Willy and Marek for digging into this, applied. A follow up question would be if other boards (Exynos4412) require the same? Best regards, Krzysztof