Received: by 10.213.65.68 with SMTP id h4csp46074imn; Mon, 19 Mar 2018 19:03:53 -0700 (PDT) X-Google-Smtp-Source: AG47ELvuCnsJPCw3TZeVh7xvZ4REOjZAJ+cgHyUjjwdIeuyZrwDHS+Y0/QFhXxiFZeV8g4wgZMgU X-Received: by 2002:a17:902:ab85:: with SMTP id f5-v6mr10877289plr.380.1521511433814; Mon, 19 Mar 2018 19:03:53 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1521511433; cv=none; d=google.com; s=arc-20160816; b=sI1S7ybk+Do8yfK5+oRuz5HoWVjtTVxZGWqQ4tBfYHEBGcyTFmJ4uSDabHGY/wfKoA xgKUHRMutcJ27ovTPNYcHyQK3bvFIHZ83ZxFUm8+muveUJns3UBYfLqSFV2jwHDI3NjH TTigm5+u9BZbVdsB3I4IfIF5/TfPRq67T7ZjU8W7ZrflBg3RcvHEFiJjFJIVYdEOVAR7 DOmD4BeLBo2UYv1+ZmNItQIRfeQFYE8YF+1fVc5UaBUEnde2Dr+kBDywAu1G7LWwaZkg +GMvpCNaytMTBvGK05tUem14aCbCI/EksBONCFOa7bis6hj/Vb8WGurEsK1QwnpL7MBy eegg== 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:mail-followup-to :message-id:subject:cc:to:from:date:dkim-signature :arc-authentication-results; bh=iER4cX5ttbEI+rJ6fQKb7lrkCvOep2VuZbHOh51x0uc=; b=aFv5yl0BXEVyc0N92poIxTvGSP0O6YJev+0Cn/F47ZHwgQCPlczCwXlqUV9dBcl1Zz xQtSGYXFedFQjWWjEYorl8swxsmYSgitSHp0MaeduMwrIKivD0oraLEH/5RsYpF0I0sE KR7jg4uRJefY0lzSN8xZDWZbSJ1bhtSWO5oyCoo4pqbBXMvXgKLCkOeLbOh1s+79pZOk AX6Qjen2um6vuopb4MzZDkNVMGeUagSpZNu68oagDgnpHB1geuUf5way++Pxcqqdr26L 4AGYpsmC0b/Fk7B7IP40Ev9VyR//563dx3YgBFBJpj5iPaLSYgb4dYNnO9YCYc14hdH+ wZ5g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=LZ6nvWxy; 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=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id g64si468270pfj.229.2018.03.19.19.03.39; Mon, 19 Mar 2018 19:03:53 -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=@linaro.org header.s=google header.b=LZ6nvWxy; 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=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1756026AbeCSXw4 (ORCPT + 99 others); Mon, 19 Mar 2018 19:52:56 -0400 Received: from mail-pl0-f66.google.com ([209.85.160.66]:45359 "EHLO mail-pl0-f66.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755941AbeCSXwy (ORCPT ); Mon, 19 Mar 2018 19:52:54 -0400 Received: by mail-pl0-f66.google.com with SMTP id n15-v6so3528838plp.12 for ; Mon, 19 Mar 2018 16:52:53 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=date:from:to:cc:subject:message-id:mail-followup-to:references :mime-version:content-disposition:in-reply-to:user-agent; bh=iER4cX5ttbEI+rJ6fQKb7lrkCvOep2VuZbHOh51x0uc=; b=LZ6nvWxy3eQJWzE+zmzOu2s9CgySfO7gxlTIfeP2tySyLy+COiQDKTX1EGbGEUHBcl AuaFlE3V7RF1gJNUMW98+OAntmol87DhloJcyd5wBZiWunsIY9sbwC4HU9qLQpI8Sktj +zsIqEVqbn0UI/EmDz/naWYk3DKQ0cOw/HVPc= 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 :mail-followup-to:references:mime-version:content-disposition :in-reply-to:user-agent; bh=iER4cX5ttbEI+rJ6fQKb7lrkCvOep2VuZbHOh51x0uc=; b=kPAvR6Cdm0HSg9bcj9qN3RpMuOKv9VZFVETSuZsDFLJsRqn97mlFmRveULBdJlOUtF LmQqCnvhheFBEatSQgbWYgPlqc+MKPeT6F1kzJSxy/MAbtngG+F5v6ndUf/P1l5gSmjW PMLYY6ZJj2SE4J5dZiBgKGR1nHoeDMCYibAId71mnYRL0LhP9WT663yOGshp356m7+gX oyL7zwK0d/+W9oGXC3YKruyW1BgZrczJpg9/+srociWVpoZzeausHOE/DggrC/wFCzof eJR0lkWFbRISxVR485NsLK7yukXlzXWI3N98fsGu+4H3bTpWPykTl3l7dUY8zYPTIpSI LIUQ== X-Gm-Message-State: AElRT7FvQ/VUHvrJcubcEs7ipC+qkNqCDA4W09hk71DRVqGbfxP+blbm OYkgA74NIdwSRFoPIosyeI54ow== X-Received: by 2002:a17:902:a607:: with SMTP id u7-v6mr14168251plq.367.1521503573498; Mon, 19 Mar 2018 16:52:53 -0700 (PDT) Received: from localhost (165084180235.ctinets.com. [165.84.180.235]) by smtp.gmail.com with ESMTPSA id y18sm378669pfe.67.2018.03.19.16.52.52 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Mon, 19 Mar 2018 16:52:52 -0700 (PDT) Date: Tue, 20 Mar 2018 07:52:51 +0800 From: Dan Rue To: Greg Kroah-Hartman Cc: linux-kernel@vger.kernel.org, stable@vger.kernel.org, Tero Kristo , Roger Quadros , Tony Lindgren , Sasha Levin Subject: Re: [PATCH 4.4 038/134] ARM: DRA7: hwmod_data: Prevent wait_target_disable error for usb_otg_ss Message-ID: <20180319235251.ui2gf3nlg2icbbdx@xps> Mail-Followup-To: Greg Kroah-Hartman , linux-kernel@vger.kernel.org, stable@vger.kernel.org, Tero Kristo , Roger Quadros , Tony Lindgren , Sasha Levin References: <20180319171849.024066323@linuxfoundation.org> <20180319171854.858515505@linuxfoundation.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20180319171854.858515505@linuxfoundation.org> User-Agent: NeoMutt/20180223 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, Mar 19, 2018 at 07:05:21PM +0100, Greg Kroah-Hartman wrote: > 4.4-stable review patch. If anyone has any objections, please let me know. > > ------------------ > > From: Roger Quadros > > > [ Upstream commit e2d54fe76997301b49311bde7ba8ef52b47896f9 ] > > It seems that if L3_INIT clkdomain is kept in HW_AUTO while usb_otg_ss > is in use then there are random chances that the usb_otg_ss module > will fail to completely idle. i.e. IDLEST = 0x2 instead of 0x3. > > Preventing L3_INIT from HW_AUTO while usb_otg_ss module is in use > fixes this issue. > > We don't know yet if usb_otg_ss instances 3 and 4 are affected by this > issue or not so don't add this flag for those instances. > > Cc: Tero Kristo > Signed-off-by: Roger Quadros > Signed-off-by: Tony Lindgren > Signed-off-by: Sasha Levin > Signed-off-by: Greg Kroah-Hartman This fails to build for me on arm32 with default config. # # make -j10 -k -s ARCH=arm CROSS_COMPILE=arm-linux-gnueabihf- O=build-arm multi_v7_defconfig # # # make -j10 -k -s ARCH=arm CROSS_COMPILE=arm-linux-gnueabihf- O=build-arm # ../arch/arm/mach-omap2/omap_hwmod_7xx_data.c:2243:12: error: 'HWMOD_CLKDM_NOAUTO' undeclared here (not in a function) .flags = HWMOD_CLKDM_NOAUTO, ^ ../scripts/Makefile.build:269: recipe for target 'arch/arm/mach-omap2/omap_hwmod_7xx_data.o' failed make[2]: *** [arch/arm/mach-omap2/omap_hwmod_7xx_data.o] Error 1 make[2]: Target '__build' not remade because of errors. /home/buildslave/workspace/kernel-single-defconfig-builder/defconfig/multi_v7_defconfig/label/builder/Makefile:969: recipe for target 'arch/arm/mach-omap2' failed make[1]: *** [arch/arm/mach-omap2] Error 2 make[1]: Target '_all' not remade because of errors. Makefile:152: recipe for target 'sub-make' failed make: *** [sub-make] Error 2 make: Target '_all' not remade because of errors. Dan > --- > arch/arm/mach-omap2/omap_hwmod_7xx_data.c | 2 ++ > 1 file changed, 2 insertions(+) > > --- a/arch/arm/mach-omap2/omap_hwmod_7xx_data.c > +++ b/arch/arm/mach-omap2/omap_hwmod_7xx_data.c > @@ -2240,6 +2240,7 @@ static struct omap_hwmod dra7xx_usb_otg_ > .class = &dra7xx_usb_otg_ss_hwmod_class, > .clkdm_name = "l3init_clkdm", > .main_clk = "dpll_core_h13x2_ck", > + .flags = HWMOD_CLKDM_NOAUTO, > .prcm = { > .omap4 = { > .clkctrl_offs = DRA7XX_CM_L3INIT_USB_OTG_SS1_CLKCTRL_OFFSET, > @@ -2261,6 +2262,7 @@ static struct omap_hwmod dra7xx_usb_otg_ > .class = &dra7xx_usb_otg_ss_hwmod_class, > .clkdm_name = "l3init_clkdm", > .main_clk = "dpll_core_h13x2_ck", > + .flags = HWMOD_CLKDM_NOAUTO, > .prcm = { > .omap4 = { > .clkctrl_offs = DRA7XX_CM_L3INIT_USB_OTG_SS2_CLKCTRL_OFFSET, > >