Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp1333012imu; Thu, 22 Nov 2018 14:26:46 -0800 (PST) X-Google-Smtp-Source: AFSGD/WzHcL2s9lGu2MawpNuDKfGQIypF0MUS5Y/TL58G50Zcn5mhgAnW9T1e7PDErKSQlDUfN2P X-Received: by 2002:a63:ab08:: with SMTP id p8mr11524430pgf.87.1542925606542; Thu, 22 Nov 2018 14:26:46 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1542925606; cv=none; d=google.com; s=arc-20160816; b=RquWGBtwSIjQRbf2+rHK1yv5hgIfivvNk7Ytk/toAJAnNgUNiD32yqnG2is8AAkW/p GxqQ+BnkyvJTqsil4A6HWYTIjpAQ8EG62fxQWcAgTYC0d4YYiKIYkg1NJl4bJjggbqdq epQTTftHuIPGng2UNWP7dt1uFhSVJSjNVtx7CuUAX/b2yfhTilYoDdwO2NnHkLCiow1p /2cBFUDGcMUv0SqK2MJ0fUpqw/56g2cD59Zy4QuDod5kQrKHmsaR943ipZh6vZzaMM44 YGMbc2BFR+c98LVWOZQAjAqyvu/7zuGFGyQppOPzTIkHZ28FxWpt1Z+/25H7+hRZMdoz BdxA== 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:dkim-signature; bh=jy8/H7P+CzbH2lthHSGT0pJzwCSE4ehdyZ5BAVj91yU=; b=BXLX1M7fsfrxiVnSQ1ec4Fd+g16NDozJUJ513kvDhKO8mIX36kHkvKXsAkQJ+s1OAl 6sTpnsn7NZn10AGmX10EN4NDvxCkVYePsG8vEh4QERBXkCgdYjWrwgZPPIK+y6PLuSsK 28S3/MPmgBXke8itQeVqjW+tsEO0q2k/zAuRt+kcp1TEUqOY+Zn7vPih9/E8M7l9ht5J sAA9BLdEo9btiZlSLF+qUts2N4/vjoEljuwOAsLQRV5K1h/otoDR6oLmQr1QITCgGtHg hc47j0MrHzh0lcdjnujOaWCeSmtsKbq9EPSHRJhqD01RvhXHuuYfDniLUIWgifdwKq+e yGxg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=SE59Qf8G; 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 f11si6919057plt.133.2018.11.22.14.26.31; Thu, 22 Nov 2018 14:26:46 -0800 (PST) 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=SE59Qf8G; 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 S2392594AbeKVSI5 (ORCPT + 99 others); Thu, 22 Nov 2018 13:08:57 -0500 Received: from mail-pf1-f193.google.com ([209.85.210.193]:34319 "EHLO mail-pf1-f193.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1729282AbeKVSI5 (ORCPT ); Thu, 22 Nov 2018 13:08:57 -0500 Received: by mail-pf1-f193.google.com with SMTP id h3so1522639pfg.1 for ; Wed, 21 Nov 2018 23:30:46 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to:user-agent; bh=jy8/H7P+CzbH2lthHSGT0pJzwCSE4ehdyZ5BAVj91yU=; b=SE59Qf8G8ZPCFSneReVIYD6aHxrxstiSZxHl3ST6MLxHI/MsWjbg/d8Pig7Ei0/sIF /aDWkG9lbrxwiRyopz3QQgyyLhlclM5CzsRHknm0YNkVtCSCav3RBR1Q1FxICWukJQ14 Tbz3VzebtCdspRCqyrCyf4CLJ2Yc84zCTJRSw= 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=jy8/H7P+CzbH2lthHSGT0pJzwCSE4ehdyZ5BAVj91yU=; b=IChDQKyjAGSbtEBfgP5WpbTYmZRDZtBD2HkTHRTF9uYSvku9pq9vZVfpg/vonzLbBq L60PmB9Tf3mN93aZCwOPXBF0lXu+39coJhZVT7zcOSBHRBG2lpk1R0WWCfRZxo1KPmyb mEXjuzefA+dyGp3T3NqljKivFiqhXjM3ulC9LwL3mHsQpdfL7eUvKClIxnMDk34nHP5Y EgYqrcKTovPUSJLvrcdnqjazGZfK1N8JOvUEG+Rwu4VVx55MPhXTgrXXAzP++HKvNJWD OyMRqYr+37cwDLCwxbZeAh3JsvVmo4eSeP29tevbrEMhMao96LKLEzQt97CD6uE0zJMK Y2kQ== X-Gm-Message-State: AGRZ1gKxfl1E87C4pIzKXIQeEYXNxE8OdVIRrnaCvjKj+wwvjvVaJw0x YipCP5agKAAMf2SJx3Gs2MJmhA== X-Received: by 2002:a62:2b17:: with SMTP id r23-v6mr10535587pfr.251.1542871846262; Wed, 21 Nov 2018 23:30:46 -0800 (PST) Received: from minitux (104-188-17-28.lightspeed.sndgca.sbcglobal.net. [104.188.17.28]) by smtp.gmail.com with ESMTPSA id n13-v6sm73272145pfk.19.2018.11.21.23.30.45 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Wed, 21 Nov 2018 23:30:45 -0800 (PST) Date: Wed, 21 Nov 2018 23:30:43 -0800 From: Bjorn Andersson To: Stephen Boyd Cc: Andy Gross , David Brown , Mark Rutland , Rob Herring , linux-arm-msm@vger.kernel.org, linux-soc@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH] arm64: dts: qcom: sdm845-mtp: Mark protected gcc clocks Message-ID: <20181122073043.GN2225@minitux> References: <20181106055013.11271-1-bjorn.andersson@linaro.org> <154279089454.88331.1059903104788594574@swboyd.mtv.corp.google.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <154279089454.88331.1059903104788594574@swboyd.mtv.corp.google.com> User-Agent: Mutt/1.10.1 (2018-07-13) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed 21 Nov 01:01 PST 2018, Stephen Boyd wrote: > Quoting Bjorn Andersson (2018-11-05 21:50:13) > > As of v4.20-rc1 probing the GCC driver on a SDM845 device with the > > standard security implementation causes an access violation and an > > immediate system restart. Use the protected-clocks property to mark the > > offending clocks protected for the MTP, in order to allow it to boot. > > > > Cc: Stephen Boyd > > Signed-off-by: Bjorn Andersson > > --- > > > > This depends on the acceptance of > > https://lore.kernel.org/lkml/20181105194011.43770-1-swboyd@chromium.org/ > > Do you need me to merge this into clk-fixes so that Andy can send this > up for v4.20 final? I thought you may have other boot blocking issues so > this wouldn't be a critical fix. > We resolved the gpio-related issues, so iirc this is the only other item preventing the MTP from booting. So yes please. Unless you enable USB support, because configuring the first USB controller in host currently crashes the device - I've not yet found the cause for this though. Regards, Bjorn