Received: by 2002:ac0:a594:0:0:0:0:0 with SMTP id m20-v6csp3162827imm; Thu, 17 May 2018 04:33:05 -0700 (PDT) X-Google-Smtp-Source: AB8JxZpcrqVFot1YaDW4MRuPa3USxDEGMOVx0EubsbBTKAN/21wpIud8Z4jYVSutZnw0yxrDOQ5W X-Received: by 2002:a62:990f:: with SMTP id d15-v6mr4838732pfe.115.1526556785526; Thu, 17 May 2018 04:33:05 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1526556785; cv=none; d=google.com; s=arc-20160816; b=OvGPSmYtysVDuEKvAN3hCCHWxDGiJxUwSvczyKI/IsJn3hDHHcV+4NWXn+x/XydjFN bBXsSpph/E6MN6aieLV8A0oUwwILkCHCTLbQVEO/cEnv/JMU5OcV+9ucOLt0x6rJz0v5 sVcB3zD/WTl/sdwGH27j+CFmdLtm2iHjTWW3HwP62MQ7T1xrZqjnOJkp0obq3l5IKV8N sYP3SAViJawVLFRcu8YcK9Cbhsb6kESKEiZAKEtbE2tF+6WP5QhjVm9f/WNbMJHXXLIl +dWlTwzlyuQNrNncOxiMxC1SD5u+HJ8bQjT9eAP5O3jEvRt5ZEig+5LoZSN/lrwn+vlu at5g== 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 :dmarc-filter:dkim-signature:dkim-signature :arc-authentication-results; bh=ByV25ndrD5CZO5fE6qFMg5WOOM9+eDcHv15LPqyT0+Q=; b=QVGNleVkplqmtWmK6wbhUQr3BhrQYMt6lALHdxBIK+SSO95/KUhPcDx/mtS5TlfJdV uPKiOfCAAcIAAVs/rxS2Q9s0M0u5crd8WiT+Gk1h6+Drzdx3JrCRoNPqPFFHR2D+R6Tu lY4vlhUdzbJ7gjErSBe6uZVV/cSoa0mA82qGq3ZEOr0u1/eTaJdJTmjVJ8dj1/VXvtMx i7MLFiCBXHfBevcSlSUK7lnlW1qd+5rcom087wstq5XlYAI39wG9VQrywfwvPhsRxIU4 a/H58Tyf1xR415cm64fgAfqr95vFIRNBnFZ07v6gsJ/rDJoYEWY5WsjZXClDr6UuPBSC SnJA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@codeaurora.org header.s=default header.b=MFtM1Ftf; dkim=pass header.i=@codeaurora.org header.s=default header.b=D3KkAgZ9; 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 h13-v6si3808638pgq.138.2018.05.17.04.32.51; Thu, 17 May 2018 04:33:05 -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=@codeaurora.org header.s=default header.b=MFtM1Ftf; dkim=pass header.i=@codeaurora.org header.s=default header.b=D3KkAgZ9; 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 S1751665AbeEQLcj (ORCPT + 99 others); Thu, 17 May 2018 07:32:39 -0400 Received: from smtp.codeaurora.org ([198.145.29.96]:59126 "EHLO smtp.codeaurora.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751274AbeEQLci (ORCPT ); Thu, 17 May 2018 07:32:38 -0400 Received: by smtp.codeaurora.org (Postfix, from userid 1000) id 77D1860F71; Thu, 17 May 2018 11:32:37 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=codeaurora.org; s=default; t=1526556757; bh=SkhpemrZJtuAmlo9T9m3ZQ1iDlEPOhYTmqkD1kN69YI=; h=From:To:Cc:Subject:Date:From; b=MFtM1Ftf2K873zZqRxTsa7DfB3nwp/2V51sP0oRIQxNuOmz6wTbBNifq2vdTyHIzo 85y+Y5R/nkeml1lQDLESTVEP6L2Z8650uZ5ykmSj32tD5LTAR70mY/vDOCr7v9O2m+ TmMidptZS6Ar+E400/Pt6k23+QeTi6aVARWTvN1w= X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on pdx-caf-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-2.8 required=2.0 tests=ALL_TRUSTED,BAYES_00, DKIM_SIGNED,T_DKIM_INVALID autolearn=no autolearn_force=no version=3.4.0 Received: from vgarodia-linux.qualcomm.com (blr-c-bdr-fw-01_globalnat_allzones-outside.qualcomm.com [103.229.19.19]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-SHA256 (128/128 bits)) (No client certificate requested) (Authenticated sender: vgarodia@smtp.codeaurora.org) by smtp.codeaurora.org (Postfix) with ESMTPSA id C9AF160881; Thu, 17 May 2018 11:32:30 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=codeaurora.org; s=default; t=1526556756; bh=SkhpemrZJtuAmlo9T9m3ZQ1iDlEPOhYTmqkD1kN69YI=; h=From:To:Cc:Subject:Date:From; b=D3KkAgZ9TSsrjGBGLc56UGRNeNJylNrVfLLrMnmWPWHGJzSq741KUqCeAUoQFX7Ru Ek9slkwX5EAy57Dpxu2bUUeJ7IbqvmNVf+Tf8m5omGpN9RaYoA+cu6EsXBvXlaActD HQoQDF2cLhRiUR352QwYW3WVS6WpwLcFC2LUzfbw= DMARC-Filter: OpenDMARC Filter v1.3.2 smtp.codeaurora.org C9AF160881 Authentication-Results: pdx-caf-mail.web.codeaurora.org; dmarc=none (p=none dis=none) header.from=codeaurora.org Authentication-Results: pdx-caf-mail.web.codeaurora.org; spf=none smtp.mailfrom=vgarodia@codeaurora.org From: Vikash Garodia To: hverkuil@xs4all.nl, mchehab@kernel.org, andy.gross@linaro.org, bjorn.andersson@linaro.org, stanimir.varbanov@linaro.org Cc: linux-media@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-msm@vger.kernel.org, linux-soc@vger.kernel.org, acourbot@google.com, Vikash Garodia Subject: [PATCH 0/4] Venus updates - PIL Date: Thu, 17 May 2018 17:02:16 +0530 Message-Id: <1526556740-25494-1-git-send-email-vgarodia@codeaurora.org> X-Mailer: git-send-email 1.9.1 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hello, The patch set mainly adds PIL functionality in video driver. There are boards with qcom video hardware but does not have trustzone. For such boards, the PIL added now will load the video firmware and reset the ARM9. The patch set is based on top of recent venus updates v2 patches posted by Stanimir Varbanov. Comments are welcome! regards, Vikash Vikash Garodia (4): soc: qcom: mdt_loader: Add check to make scm calls media: venus: add a routine to reset ARM9 venus: add check to make scm calls media: venus: add PIL support .../devicetree/bindings/media/qcom,venus.txt | 8 +- drivers/media/platform/qcom/venus/core.c | 67 +++++++- drivers/media/platform/qcom/venus/core.h | 6 + drivers/media/platform/qcom/venus/firmware.c | 189 ++++++++++++++++++--- drivers/media/platform/qcom/venus/firmware.h | 11 +- drivers/media/platform/qcom/venus/hfi_venus.c | 26 ++- drivers/media/platform/qcom/venus/hfi_venus_io.h | 5 + drivers/soc/qcom/mdt_loader.c | 21 ++- 8 files changed, 281 insertions(+), 52 deletions(-) -- The Qualcomm Innovation Center, Inc. is a member of the Code Aurora Forum, a Linux Foundation Collaborative Project