From patchwork Wed Oct 5 08:37:27 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Stanimir Varbanov X-Patchwork-Id: 12999047 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 1647BC4332F for ; Wed, 5 Oct 2022 08:38:02 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230074AbiJEIiB (ORCPT ); Wed, 5 Oct 2022 04:38:01 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:39732 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230037AbiJEIh6 (ORCPT ); Wed, 5 Oct 2022 04:37:58 -0400 Received: from mail-wm1-x32d.google.com (mail-wm1-x32d.google.com [IPv6:2a00:1450:4864:20::32d]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 780FB733E0 for ; Wed, 5 Oct 2022 01:37:57 -0700 (PDT) Received: by mail-wm1-x32d.google.com with SMTP id e18so10327366wmq.3 for ; Wed, 05 Oct 2022 01:37:57 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date; bh=rclrG9kvjyiwEqNQMIJctVN4MQ1mov4Pr4W0bFer3vY=; b=moKmb7HPK9Qk+BTdZ4nrzbQl2dwrdGWJaP1j3hMfIMSCbjAHLlt/HoHM2bnbbLjGqG VOoupnOdLjkVoyyby+M9HpCRyr3T+0iY5wX7llxGQJuZjj04WjtwBAzM9nVaAYsafW6t MXhf+h+t4J6ZEzzsnYm7xgPzTfh9WOU1dxnqVAZtZ20oBNGRN+50UGMkwRXHPf+QQGT1 1KtAqIHWDpgSSiFkiqKYyHNirOigyDvvowrpjPpjUfMUy9AcLQeKkLWSP8NN1U72KD/a mHwRh9ojh70faKuONfFXZ9ADhlla58k2153WD5+i+XSFcakpHP/QV7W8IzY9ayev5Wfk 1+AA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:x-gm-message-state:from:to:cc:subject:date; bh=rclrG9kvjyiwEqNQMIJctVN4MQ1mov4Pr4W0bFer3vY=; b=TCRLmiYW8WpkBBRAWkCbhhPwLNxWNDu6KHuqOo4Pnl7rTl/NbAijnU3ZEOaibz6GP5 +7jka/CdW7g+C6KxK7Yv0eUWY0vqMHI/KLm47sgkvgMBM9Rzmi7ZZAHrPTO7c5y85aRm xY5HwqIsdFbjJIq/Rr14cp5jW5IyOahvDPLGcZbllVYoCQarmRMNvcogWPBDyeoJcQVP Vbp3WjU0Ys94Adro0a4sksJDex+kx0qp0xPmFQjdb7slySGa4QDULdiR/YTn3qi+dhnl aeJr8XRuSs+Zkzj4G5CE888v1fJ6nFD6gbbp6vZmu82yIqFbNQYsq7bq6XdrjTv0vvl0 0QMQ== X-Gm-Message-State: ACrzQf2Y3ltrWVCz+ojU1E4IVA08PrtJW2bUuxO1A/09IhZdRyhzC+ut fvIIIxaE8mPcVQsN4HhQc2+nSWjdRjNvrg== X-Google-Smtp-Source: AMsMyM73/1tTQofHlN4/cBMxLKa9fwOmXuOj38gXnRo8qFjlUlvp8DBYmGOC37YD5HrgRm9GRCDmtw== X-Received: by 2002:a05:600c:1e08:b0:3b4:8fef:d63c with SMTP id ay8-20020a05600c1e0800b003b48fefd63cmr2465706wmb.158.1664959075772; Wed, 05 Oct 2022 01:37:55 -0700 (PDT) Received: from localhost.localdomain (hst-221-6.medicom.bg. [84.238.221.6]) by smtp.gmail.com with ESMTPSA id g6-20020a05600c310600b003b47e75b401sm1318171wmo.37.2022.10.05.01.37.54 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 05 Oct 2022 01:37:55 -0700 (PDT) From: Stanimir Varbanov To: linux-media@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-msm@vger.kernel.org Cc: Stanimir Varbanov Subject: [PATCH 0/3] Few corrections in non-tz firmware boot Date: Wed, 5 Oct 2022 11:37:27 +0300 Message-Id: <20221005083730.963322-1-stanimir.varbanov@linaro.org> X-Mailer: git-send-email 2.25.1 MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: linux-media@vger.kernel.org Here are 3 patches which corrects reset bits, non-pix memory region and use writel/readl with memory barriers included. Those patches in fact fixes iommu context faults seen on Chromebook (sc7180) during testing suspend/resume. Stanimir Varbanov (3): venus: firmware: Correct reset bit venus: firmware: Correct non-pix start and end addresses venus: firmware: Correct assertion of reset bit on remote processor drivers/media/platform/qcom/venus/firmware.c | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-)