From patchwork Thu Jul 9 11:58:27 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Stanimir Varbanov X-Patchwork-Id: 235140 Delivered-To: patch@linaro.org Received: by 2002:a92:d244:0:0:0:0:0 with SMTP id v4csp1335327ilg; Thu, 9 Jul 2020 04:59:12 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzGj4xhfgoR3xTYTeKaJ+P6zhs15HGqopoXccJ7rLsD1IzIEFAEdqGpLP6l0d9gs835RRMI X-Received: by 2002:a17:906:1ec3:: with SMTP id m3mr11658129ejj.197.1594295951888; Thu, 09 Jul 2020 04:59:11 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1594295951; cv=none; d=google.com; s=arc-20160816; b=Zd0Y5np+JB3mSPogZnFSzb4xdv+/P+eZu/ifBOE0j0pjnjEIG57drakPOtwRNIcD9b dTFxEphU6fioSvfbtuxSg8tKG7S5nRqamJxzEan2E/lo3BI8Wz9fh2jB63TOtdpeFUiv NA9+YXlK4CIPXnP7IKrDvsxQkxutNW/5Zp/tpCmv/kwqYnbMrZjYVVrSSY4bEH+5lE/q 70o4UMipqf/ys5q+rQ73a2T+/Lcr7AFGvVIC5xXNCllNf116nn+tz7DhOpuigykuEzAv uBsJIN6p50eTrPYmObjgNMPiL99VKoQRqBrPzwD7eVMoE9ZgChNThcrlXNG8gra6JvWT DWIg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:message-id:date:subject:cc:to:from :dkim-signature; bh=gHgWXTMGTgSJ9NzYNTwxkcCv5i1cvCfL1OrkN27Xvho=; b=dLspSr7YBiXb/l1vgviLzGUDsf5hS0smIWZ2qDeIDI/2scZ5VpuT1Nb1Y3CqWVSB6W BloEaIDLn6dZZSu63H8uXlJH/FJxqe88SgsvF3WHXwWyGO9tAiHsIOkDYQ5GwwjOlijJ WEATDqdlraUPR+0PIlmnwlE+iHXyLNw3+Pdmik9zsIhZMUROYoSuz88ypnl5JsnKcA0K LC1DQtF2pyF7AlXyQp9D465JQ/SK4/iAv31+irIFXj5qaMdB2RQo5kdihz5p+jIHVRC2 pldpNDj+Fi6pa3ssNFVDdZB5NkXWFbEkcQQrLaSssQeG27Ja6nwNXpl/2t2w6rl3Eopd JHiA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=tnHPMiKo; spf=pass (google.com: domain of linux-arm-msm-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-arm-msm-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. [23.128.96.18]) by mx.google.com with ESMTP id o10si1952032edr.168.2020.07.09.04.59.11; Thu, 09 Jul 2020 04:59:11 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-arm-msm-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=tnHPMiKo; spf=pass (google.com: domain of linux-arm-msm-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-arm-msm-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 S1726387AbgGIL67 (ORCPT + 15 others); Thu, 9 Jul 2020 07:58:59 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:51540 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727123AbgGIL66 (ORCPT ); Thu, 9 Jul 2020 07:58:58 -0400 Received: from mail-wr1-x443.google.com (mail-wr1-x443.google.com [IPv6:2a00:1450:4864:20::443]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 9595DC08C5DC for ; Thu, 9 Jul 2020 04:58:58 -0700 (PDT) Received: by mail-wr1-x443.google.com with SMTP id f18so2078021wrs.0 for ; Thu, 09 Jul 2020 04:58:58 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id; bh=gHgWXTMGTgSJ9NzYNTwxkcCv5i1cvCfL1OrkN27Xvho=; b=tnHPMiKoFwJCftAE8SCg0kw8XH99fwSKXcvrjclQk5KumZPLQx8iVZbjVHV01m5o31 b7Ajh+U/4PD7rAc6ZOhSWoQaHUp9f97KeTfDZIwK2Ty9dTc+62IYRmUPf22orpGpxm0a eXacwtRdXeteEBT6ljePIFJsgtXHM8COLkEXPVSwQxguBgqaK0rQBlEouxg7ow+ob0rW /zD4eYoi+YVEJOsQrJXLKPGMUYpSxrZqEHXbEMBeX7FoGShcixB86bnOVYpMQoX9jFXt AjayRUt9ET3KIFz1nMOa8WLOMcCuILTPfTiS/uAMBAumBNj243HdfpxuGlSL0OTT6MQF okEQ== 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; bh=gHgWXTMGTgSJ9NzYNTwxkcCv5i1cvCfL1OrkN27Xvho=; b=cYfqQmQ+U+iylik+qr1Io+9WXpHeH86x7hILJlal0XmdUVTCeszgoWK6vMehUMloPu 1fcubvt2Joer3CBHU5Als1sZysgVsiyDRkoXmrh3mKLHQBtcuJwpi4j5NMqP3VuUdted twMUPEnOwqS9XzDuvBmeSkEknkaXwE+HFkJSMW80KK91UBPWn4TZwS09h1i8TE114ZpE 0A5Ptu7A1vyBMPMjCx8AEM2MFh7+LvAKnZeLf7vNdODVL39M0rLvQHPxbyF7pGU+BNpT 3nuXg6lhY/DzJDCqMXhpeiJ7d18t+CGwpCkZdGNQX3RFnevPoEbHkZIt2Pb35s74eu1F F3ow== X-Gm-Message-State: AOAM532r8rh+iMQ2XTUTvh+p41PwerDmfFmhLGodL4ijlOKjnPDOFq1Q ewa4/ieMMJAbi37SuXjqNT88SnOFKtzF8Q== X-Received: by 2002:adf:e68d:: with SMTP id r13mr59987094wrm.141.1594295937009; Thu, 09 Jul 2020 04:58:57 -0700 (PDT) Received: from localhost.localdomain (212-5-158-112.ip.btc-net.bg. [212.5.158.112]) by smtp.gmail.com with ESMTPSA id v7sm5140737wrp.45.2020.07.09.04.58.55 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 09 Jul 2020 04:58:56 -0700 (PDT) From: Stanimir Varbanov To: linux-arm-msm@vger.kernel.org, linux-kernel@vger.kernel.org, linux-media@vger.kernel.org Cc: Andy Gross , Bjorn Andersson , Elliot Berman , Stanimir Varbanov Subject: [PATCH 0/2] Venus - fix firmware load failure Date: Thu, 9 Jul 2020 14:58:27 +0300 Message-Id: <20200709115829.8194-1-stanimir.varbanov@linaro.org> X-Mailer: git-send-email 2.17.1 Sender: linux-arm-msm-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-arm-msm@vger.kernel.org Hi, These two patches fixed the problem with "failed to reset venus core" seen with various firmware versions (including the one from linux-firmware) on sdm845 and sdm850. regards, Stan Stanimir Varbanov (2): firmware: qcom_scm: Add memory protect virtual address ranges venus: firmware: Set virtual address ranges drivers/firmware/qcom_scm.c | 24 ++++++++++++++++++++ drivers/firmware/qcom_scm.h | 1 + drivers/media/platform/qcom/venus/core.c | 4 ++++ drivers/media/platform/qcom/venus/core.h | 4 ++++ drivers/media/platform/qcom/venus/firmware.c | 18 ++++++++++++++- include/linux/qcom_scm.h | 8 ++++++- 6 files changed, 57 insertions(+), 2 deletions(-) -- 2.17.1