Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp1452651imu; Mon, 5 Nov 2018 21:47:12 -0800 (PST) X-Google-Smtp-Source: AJdET5cD1/2u1HbjnESexamfc19CP3PjGtLsrnjYO1tV97JoQq+GFe8LY7ak2ZocLkg0As4o6SQJ X-Received: by 2002:a63:c141:: with SMTP id p1mr19118450pgi.424.1541483232211; Mon, 05 Nov 2018 21:47:12 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1541483232; cv=none; d=google.com; s=arc-20160816; b=Pi3qxVOlOdvoiqujCO29/PA2eM+TfpXds6NhQ3iE3PSyrHLI+GeQMwRv6FaEjx0hSO 7YxIhlNa+6gTKEa4cl8Y3Z6Mtjh2AT+6gI3J9Uz6wRIxirdefK2qmkHhaDwqSNbfoZKe yVUUTSEAhJK5/aNeAV7vjAvm/RGc8JbXL/YvI50403vVDwIYs89Y1JPBTiCWBVuJey13 gslwy9kW6VhZm22C6JMCjmSb5MUjXgx75Pt+8nbzpLO1j+DlnYmsRRhsEJ4gYSJGNkUK +qEk/2emL0zWm8oJmcR93uMJpVYsFoxFkCd2YVHIkwQxJP2rQvZmOfsFdGsYCvcAJ2Ym 6qsQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:references:in-reply-to:message-id:date :subject:cc:to:from:dkim-signature; bh=+ZeF+kAyK15pjP+Yr+/pWxXTXoG5eNAVYz+WyoJvFGk=; b=XwCrWvFUVlOn550qFYceJjA9xI9vyXaao4PZs2Tbljkee0u0sbaY1154mBIR5HrvZo U+UdFGHZDwfZAb9fBd+eMqrXLkIEjnpBxiTyb8pIqyUch+sgJcqw2Ps6mjoQGrIa/BTH sOeUBNwpOWFGnf2pQUnEceLaIo6vOBldRFwRkCVezpRiUC0wpUBiZjN+WjsY0ZvTT6ZZ EFTsAqQwqzERFZ/Az483L8+RsPRhulfgkLPfA/F6gJ8/GGE5Nd4tMxtHecM9FdYU9ONN cdE8K3FhR0Vq4FudqXeYKN7BwTrEhGN6OxjBORvc9dOJFeMzqGDGXqq+/PYOIT6o+hwo KQ+g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=iGHG9927; 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 e38-v6si24615662pgm.281.2018.11.05.21.46.56; Mon, 05 Nov 2018 21:47:12 -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=iGHG9927; 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 S1729712AbeKFPKE (ORCPT + 99 others); Tue, 6 Nov 2018 10:10:04 -0500 Received: from mail-pg1-f196.google.com ([209.85.215.196]:36255 "EHLO mail-pg1-f196.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1729430AbeKFPKE (ORCPT ); Tue, 6 Nov 2018 10:10:04 -0500 Received: by mail-pg1-f196.google.com with SMTP id z17-v6so5315528pgv.3 for ; Mon, 05 Nov 2018 21:46:34 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=+ZeF+kAyK15pjP+Yr+/pWxXTXoG5eNAVYz+WyoJvFGk=; b=iGHG9927YgmW+7xGwZbKb/g1NQiwEzQ5JD/u4JzLGlAK0moVMX/ngtxZaqeMcTL4Wh ryGDj2xdIaEQ2EsmHyRUBBmHcxJMy8WKep9N+N/SANCJ+Az31SIzbI2BA/eAreoUCR/0 l/d55jENqV8lGgYfmN6uwzHiBWglQwFfaTKW4= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=+ZeF+kAyK15pjP+Yr+/pWxXTXoG5eNAVYz+WyoJvFGk=; b=oE2Xp/CRv8iX3hrf6XQJJfYoJM6gecd+AoKtUYJNCXskbGZBPBf2KXWvxDp4uhTA3L 9jIsqL9VpNJUNbgGwhliH7HlPgny6QOaQX+iLOfQXpm5AKsTel6v1N0RpdgSJJPrqGvX /bWLAaM/6dzJDt5Gnh4Uo+WTO1R6vS4ePYRbNtRCWGMNr4yGIWd9B9L6EhKhN/oszf50 O0d+RSBh4E+HwpZU0GfYP709G5OBQogA2yDN4wCBgmkB1OHQ320eG4neX4DSQu+JrXPj xcRVb29q5lf7sxhrB0j8ys1rFXSudjoo80c4icY0GTDu28L06W4DEdRzCiN0w8ArCcnV 7s6g== X-Gm-Message-State: AGRZ1gI+gFRKllQf/43rcFT8Z9BPwhfy5v03BPFuJNyve390Jbk99gZR jUF+eJiCS9QsXUu3m7/RvQtN0Q== X-Received: by 2002:a63:3287:: with SMTP id y129mr22829950pgy.337.1541483193746; Mon, 05 Nov 2018 21:46:33 -0800 (PST) Received: from localhost.localdomain (104-188-17-28.lightspeed.sndgca.sbcglobal.net. [104.188.17.28]) by smtp.gmail.com with ESMTPSA id d196-v6sm7855817pfd.58.2018.11.05.21.46.32 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 05 Nov 2018 21:46:33 -0800 (PST) From: Bjorn Andersson To: Andy Gross , David Brown , Rob Herring , Mark Rutland , Stephen Boyd Cc: linux-arm-msm@vger.kernel.org, linux-soc@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH] arm64: dts: qcom: sdm845-mtp: Mark protected gcc clocks Date: Mon, 5 Nov 2018 21:50:13 -0800 Message-Id: <20181106055013.11271-1-bjorn.andersson@linaro.org> X-Mailer: git-send-email 2.18.0 In-Reply-To: <20181105194011.43770-1-swboyd@chromium.org> References: Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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/ arch/arm64/boot/dts/qcom/sdm845-mtp.dts | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/arch/arm64/boot/dts/qcom/sdm845-mtp.dts b/arch/arm64/boot/dts/qcom/sdm845-mtp.dts index d667eee4e6d0..b3def0358177 100644 --- a/arch/arm64/boot/dts/qcom/sdm845-mtp.dts +++ b/arch/arm64/boot/dts/qcom/sdm845-mtp.dts @@ -343,6 +343,12 @@ }; }; +&gcc { + protected-clocks = , + , + ; +}; + &i2c10 { status = "okay"; clock-frequency = <400000>; -- 2.18.0