From patchwork Tue Mar 24 12:47:21 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Rakesh Pillai X-Patchwork-Id: 11455341 Return-Path: Received: from mail.kernel.org (pdx-korg-mail-1.web.codeaurora.org [172.30.200.123]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 8ADEC913 for ; Tue, 24 Mar 2020 12:47:35 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 6B509207FF for ; Tue, 24 Mar 2020 12:47:35 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=fail reason="signature verification failed" (1024-bit key) header.d=mg.codeaurora.org header.i=@mg.codeaurora.org header.b="k/UC8dDX" Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727318AbgCXMre (ORCPT ); Tue, 24 Mar 2020 08:47:34 -0400 Received: from mail27.static.mailgun.info ([104.130.122.27]:52960 "EHLO mail27.static.mailgun.info" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727502AbgCXMre (ORCPT ); Tue, 24 Mar 2020 08:47:34 -0400 DKIM-Signature: a=rsa-sha256; v=1; c=relaxed/relaxed; d=mg.codeaurora.org; q=dns/txt; s=smtp; t=1585054053; h=Message-Id: Date: Subject: Cc: To: From: Sender; bh=+KQN9xMVdPONR0ZqJSh7cXvXgPgruBMXlHRgc5SZ7Eo=; b=k/UC8dDXxoHp2I6rgW6qXCTY91LS2tMRAq6Ce11bdFgUhbLwhX9SM0PPqCjmE0tCoer1MnqN tGbTFSkOC/vWGeZhAmHLAg+dEaI2+suCiIxEiW74u4BTUozrLSxF4V88XvxKUzIUrzHQnmAb Py270sj3jgK4jB4I8mv20hTclsg= X-Mailgun-Sending-Ip: 104.130.122.27 X-Mailgun-Sid: WyI3YTAwOSIsICJsaW51eC13aXJlbGVzc0B2Z2VyLmtlcm5lbC5vcmciLCAiYmU5ZTRhIl0= Received: from smtp.codeaurora.org (ec2-35-166-182-171.us-west-2.compute.amazonaws.com [35.166.182.171]) by mxa.mailgun.org with ESMTP id 5e7a0164.7f14b33602d0-smtp-out-n04; Tue, 24 Mar 2020 12:47:32 -0000 (UTC) Received: by smtp.codeaurora.org (Postfix, from userid 1001) id 60997C432C2; Tue, 24 Mar 2020 12:47:31 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-caf-mail-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-1.0 required=2.0 tests=ALL_TRUSTED,SPF_NONE autolearn=unavailable autolearn_force=no version=3.4.0 Received: from pillair-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: pillair) by smtp.codeaurora.org (Postfix) with ESMTPSA id 1FD1FC433CB; Tue, 24 Mar 2020 12:47:28 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 smtp.codeaurora.org 1FD1FC433CB Authentication-Results: aws-us-west-2-caf-mail-1.web.codeaurora.org; dmarc=none (p=none dis=none) header.from=codeaurora.org Authentication-Results: aws-us-west-2-caf-mail-1.web.codeaurora.org; spf=none smtp.mailfrom=pillair@codeaurora.org From: Rakesh Pillai To: ath10k@lists.infradead.org Cc: linux-wireless@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Rakesh Pillai Subject: [PATCH 0/3] Add support to handle targets without TrustZone Date: Tue, 24 Mar 2020 18:17:21 +0530 Message-Id: <1585054044-18667-1-git-send-email-pillair@codeaurora.org> X-Mailer: git-send-email 2.7.4 Sender: linux-wireless-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-wireless@vger.kernel.org The iommu mapping for S2 SIDs are taken care by TrustZone. For the targets which does not have the support of TrustZone, these mappings need to be created in the driver using an iommu domain. Leaving these SIDs unconfigured will result in a global smmu fault. Hence configuring them for Non-TrustZone targets is mandatory. Rakesh Pillai (3): dt-bindings: ath10k: Add wifi-firmware subnode for wifi node ath10k: Setup the msa resources before qmi init ath10k: Add support for targets without trustzone .../bindings/net/wireless/qcom,ath10k.txt | 14 ++ drivers/net/wireless/ath/ath10k/core.h | 5 + drivers/net/wireless/ath/ath10k/qmi.c | 55 +------ drivers/net/wireless/ath/ath10k/qmi.h | 3 - drivers/net/wireless/ath/ath10k/snoc.c | 170 ++++++++++++++++++++- drivers/net/wireless/ath/ath10k/snoc.h | 7 + 6 files changed, 200 insertions(+), 54 deletions(-)