Received: by 2002:ac0:a5a6:0:0:0:0:0 with SMTP id m35-v6csp2515909imm; Mon, 24 Sep 2018 05:47:01 -0700 (PDT) X-Google-Smtp-Source: ACcGV62NeNFz7djZJsajmaatidNRxn2u0V7oJ/+moI3eOutBaYyv7DItmYs7cEMATRLELv7wHRQr X-Received: by 2002:a63:6d83:: with SMTP id i125-v6mr9333798pgc.215.1537793221283; Mon, 24 Sep 2018 05:47:01 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1537793221; cv=none; d=google.com; s=arc-20160816; b=quznGXrl9TglhRdvcym5uh4OCxMnoYiOSU6rfDc7Uaxdoag2ZjE02X+hIYi/OMXDb5 uyAdaMxoSFhDGZLhLAy1xtSxfoDndUuzufZhae2L0rjcJSIwJ4O9Koypb7nSQbdbGpb0 9Z6Xx9YVO6xZUusA7Op5bhMD2B02YNAf2kKFebXT4P8f6EpMGaoByFZLSrjkRdKMuBXd uj6rRVkG5/nPB8/2VpwnAephRUvxHb7729FPdQUmsBZNvfs/W1pZytM0iwcdFGsKTe7i gftjLbjAiGFqsu5znqIGyjDUZGkX85jylzYI8+nnZzQ0mboVtHsKq54EwGsOXdaKl6os nYxQ== 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:mime-version :user-agent:references:in-reply-to:message-id:date:subject:cc:to :from; bh=y7dMmAUogogo4J+qbilC0ab8wglvHePv6VGV+jAUoMw=; b=y6XZEZ75Ibu7HxVJ/jV8W26KtKCU9EN0oX4/UcXuKAOhvRoKhI2jQkTTQ12Bs+554g D3hZzsFzqAh440qH62sDr8+w4766gd7794Skwi4g1gjplo7TLJ/4adsluCe0eQL1hOfn amaeKaPc2s4/TF3KwO4FPImVbqQCLuNDxRcupMdMdDgLetyUZ0PdRJP6bgA3F7v4tGQe uyg692QrganJoGG7qOcNUXZ4o5cTj/95X0mJZkFxWIPkCZs25fQCla4rPM1TNht+KRYG WA5K6DtMy97N6s1xwjcnhUh2+ACPUxJmrwVaeja68cdcE8rHbP3NDpJDJqC1z25JLbfc pb2Q== 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id l21-v6si4587004pgu.271.2018.09.24.05.46.46; Mon, 24 Sep 2018 05:47:01 -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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2389152AbeIXSq0 (ORCPT + 99 others); Mon, 24 Sep 2018 14:46:26 -0400 Received: from mail.linuxfoundation.org ([140.211.169.12]:59606 "EHLO mail.linuxfoundation.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2388911AbeIXSq0 (ORCPT ); Mon, 24 Sep 2018 14:46:26 -0400 Received: from localhost (ip-213-127-77-73.ip.prioritytelecom.net [213.127.77.73]) by mail.linuxfoundation.org (Postfix) with ESMTPSA id 45C1B1099; Mon, 24 Sep 2018 12:44:27 +0000 (UTC) From: Greg Kroah-Hartman To: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman , stable@vger.kernel.org, Bjorn Andersson , Sibi Sankar , Sasha Levin Subject: [PATCH 4.18 217/235] remoteproc: qcom: q6v5-pil: fix modem hang on SDM845 after axis2 clk unvote Date: Mon, 24 Sep 2018 13:53:23 +0200 Message-Id: <20180924113125.212385752@linuxfoundation.org> X-Mailer: git-send-email 2.19.0 In-Reply-To: <20180924113103.999624566@linuxfoundation.org> References: <20180924113103.999624566@linuxfoundation.org> User-Agent: quilt/0.65 X-stable: review MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 4.18-stable review patch. If anyone has any objections, please let me know. ------------------ From: Sibi Sankar [ Upstream commit 7cbb540a3a68e4d4a8bef2d9451afb1635b5d2d3 ] GCC_MSS_AXIS2 clock is used for disabling boot IMEM (a part of AP boot up). With Boot IMEM disable now a part TZ/ATF, AXIS2 clock is no longer required post AP boot up and expected to remain untouched. However if the clock is turned ON after Q6 is brought out of reset and later turned off, it results in modem hang. When Q6 attempts a power collapse the internal handshaking to check if AXIS2 is idle never goes through since it is turned off preventing the RSC from getting triggered, leaving modem in a funky state. Hence removing AXIS2 clk enable/disable from the driver. Reported-by: Bjorn Andersson Signed-off-by: Sibi Sankar Signed-off-by: Bjorn Andersson Signed-off-by: Sasha Levin Signed-off-by: Greg Kroah-Hartman --- drivers/remoteproc/qcom_q6v5_pil.c | 1 - 1 file changed, 1 deletion(-) --- a/drivers/remoteproc/qcom_q6v5_pil.c +++ b/drivers/remoteproc/qcom_q6v5_pil.c @@ -1370,7 +1370,6 @@ static const struct rproc_hexagon_res sd .hexagon_mba_image = "mba.mbn", .proxy_clk_names = (char*[]){ "xo", - "axis2", "prng", NULL },