Received: by 2002:a25:31c3:0:0:0:0:0 with SMTP id x186csp37912ybx; Thu, 31 Oct 2019 15:31:13 -0700 (PDT) X-Google-Smtp-Source: APXvYqwe4CA3CkAt4c3M7F2OaOkHJ/NmHF4AQD2pB41lPjRiS8c2fa2RJvrkI4KGgfJHKM8JktUF X-Received: by 2002:a05:6402:204c:: with SMTP id bc12mr1610588edb.166.1572561073101; Thu, 31 Oct 2019 15:31:13 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1572561073; cv=none; d=google.com; s=arc-20160816; b=SVq1944+HyWpdfKI62KuTlhoy0OIcBDqR+fkfqkcYGxcBsoYGQlRgmLlmzzQemHX9Q bFQ84JI0HW5ddMhUhbEeJAoKpdUpOL6Sxkbw+77foCsLj6WwKhaJY9jqoLCNDlsicEGI AQiROKgXibzwFuWb7nmTCG0Qw+HyE2o7KLH8l/NOxccwlJSkRK793daOrcWDljArSqoy 4gKy3bfzQS30ervchfMpJeWnJY8VnMX/EYLNdMBu8Zc26RZ85U0B84c5qQGAcCApDW5I FLOpxKr1N5QZcWeHEpUJsK3HNmsn5e5R2FEPFDnafnqDBJ93ZvBxMK0cz1Z33pZ7EiT9 eyFw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:dkim-signature; bh=8hKiZ0BGQD5nx5BySHMaCs45A5ymyfaXhrQ8avV6SgE=; b=RqIe21MjhqzI2Cywol9FVkOyI5dSzmd6HvYlx0kRHryTuBMGPudVfl6Bjb9FX9Qr0o uzLjMoDxUwqDNzrcUDSNqn/u0+uwd2XFiHQL/wTe/vIB9cjO1daRv2w5X9KSn0uJG9JJ 4zD9cLrpMa7fZFdp0769lneiegEIB/q68ayBFVGR0OXwF4EsGKm6V6XbFkzVgWs7Nomg /TjtqEZfFH8Spdns4GmJgOQe0PaQ3KSUBULIkbiNTm2+GH4kOS9IsvvHYE7eJRon8l3q K/wqSfC9xeBZ1JJ3Dndwp8wUa483TNdMkPqQANCzp59A1W9IvLlfHWk0fKHVVwF0zxdf V8pg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=QASbPTpQ; 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=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id d14si902473ejc.72.2019.10.31.15.30.48; Thu, 31 Oct 2019 15:31:13 -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=@gmail.com header.s=20161025 header.b=QASbPTpQ; 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=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727615AbfJaTg5 (ORCPT + 99 others); Thu, 31 Oct 2019 15:36:57 -0400 Received: from mail-il1-f194.google.com ([209.85.166.194]:42664 "EHLO mail-il1-f194.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726728AbfJaTg5 (ORCPT ); Thu, 31 Oct 2019 15:36:57 -0400 Received: by mail-il1-f194.google.com with SMTP id o16so6466975ilq.9; Thu, 31 Oct 2019 12:36:57 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=8hKiZ0BGQD5nx5BySHMaCs45A5ymyfaXhrQ8avV6SgE=; b=QASbPTpQ1UN0fSYhWrwvLsDfPcrd17dZWg6iePOP0jlDVLqseQmO3Vi60YBpfBHMgZ /gYrtXo4l0wYUwWQA8A20rqPAyyXKQ9SoKwgCcYcCzyARJgY/L1E/DYPFGzhCdyuwDtG tGkGXP5ejLlBJua0Kt1W+FqaBaMgW2nKmOkyTHSjIO5e6MHnTI3SwAY3kRJ5VUVaGjhU LLGqPxxJFY+vZU8BtHlAq5zum1HCeloe40L0iMcMyplMJwLHnZbBHcCfyyWLaIQ6jY9T HZj4mm1xBgCnyRVnHcbEVCNYmF9RkbRRUEThrJbDnhfPm9Bnm29E+f5u1Dqsl7IRKZyc 8VDg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=8hKiZ0BGQD5nx5BySHMaCs45A5ymyfaXhrQ8avV6SgE=; b=o0LqQ7g4aPuCWY3Yv6dtwjfznQ/hj4LUjtgElk13+hB1CseLQAiEhmfjALJAh6v2n3 b/z+Ivj5iaXdwVG0FrRnicknUkbzamH5guV+LNoQ+rPNAer6oa4gslGl6u+cP+lmzj+1 3RlhVGo652MKkXp1qOafAp71QK+Ma7rjDGJBdIXfpVyL4ORAfJAN2R4JfAHbu5UEoPU8 6dUKTLlrU8EC+oDY1MiWxwm+RMwnxNdcFWs0hCPiN9qj9xBoT0wYtgroWylLnLxsYhiz mzt+XhaxCVkAddXvTa1cnxQvtzIjAfUEGaHYC/9b/tgKqk1DNVpkwifmQBq9LRtBXnQu tbhA== X-Gm-Message-State: APjAAAXpHHAdNL0k/PfWGF7YF+tBHO5pnEKze0pZalEbwsNcB73awdjx lhXu70gSH6fNZZn8y4meVu+o/bmLavjBe/1BBdI= X-Received: by 2002:a92:1d51:: with SMTP id d78mr8479316ild.166.1572550616674; Thu, 31 Oct 2019 12:36:56 -0700 (PDT) MIME-Version: 1.0 References: <20191031184632.2938295-1-bjorn.andersson@linaro.org> <20191031184632.2938295-2-bjorn.andersson@linaro.org> In-Reply-To: <20191031184632.2938295-2-bjorn.andersson@linaro.org> From: Jeffrey Hugo Date: Thu, 31 Oct 2019 13:36:45 -0600 Message-ID: Subject: Re: [PATCH 1/2] remoteproc: qcom_q6v5_mss: Don't reassign mpss region on shutdown To: Bjorn Andersson Cc: Ohad Ben-Cohen , Avaneesh Kumar Dwivedi , MSM , linux-remoteproc@vger.kernel.org, lkml , Jeffrey Hugo , Sibi Sankar , stable@vger.kernel.org Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, Oct 31, 2019 at 12:48 PM Bjorn Andersson wrote: > > Trying to reclaim mpss memory while the mba is not running causes the > system to crash on devices with security fuses blown, so leave it > assigned to the remote on shutdown and recover it on a subsequent boot. > > Fixes: 6c5a9dc2481b ("remoteproc: qcom: Make secure world call for mem ownership switch") > Cc: stable@vger.kernel.org > Signed-off-by: Bjorn Andersson > --- Excellent. This addresses the issue I was seeing with the Lenovo Miix 630 Reviewed-by: Jeffrey Hugo Tested-by: Jeffrey Hugo