From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-11.6 required=3.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_PATCH,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED,USER_AGENT_GIT autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id D404EC433DB for ; Fri, 22 Jan 2021 15:15:17 +0000 (UTC) Received: from hemlock.osuosl.org (smtp2.osuosl.org [140.211.166.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 8268223AAC for ; Fri, 22 Jan 2021 15:15:17 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 8268223AAC Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=linaro.org Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=iommu-bounces@lists.linux-foundation.org Received: from localhost (localhost [127.0.0.1]) by hemlock.osuosl.org (Postfix) with ESMTP id 12F348738A; Fri, 22 Jan 2021 15:15:17 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from hemlock.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 5xAZwyW3x6Kj; Fri, 22 Jan 2021 15:15:16 +0000 (UTC) Received: from lists.linuxfoundation.org (lf-lists.osuosl.org [140.211.9.56]) by hemlock.osuosl.org (Postfix) with ESMTP id 82045872E4; Fri, 22 Jan 2021 15:15:16 +0000 (UTC) Received: from lf-lists.osuosl.org (localhost [127.0.0.1]) by lists.linuxfoundation.org (Postfix) with ESMTP id 715A3C08A1; Fri, 22 Jan 2021 15:15:16 +0000 (UTC) Received: from hemlock.osuosl.org (smtp2.osuosl.org [140.211.166.133]) by lists.linuxfoundation.org (Postfix) with ESMTP id 53CC3C013A for ; Fri, 22 Jan 2021 15:15:14 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by hemlock.osuosl.org (Postfix) with ESMTP id 42081872F2 for ; Fri, 22 Jan 2021 15:15:14 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from hemlock.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id Vq+Rwy6X9qKz for ; Fri, 22 Jan 2021 15:15:11 +0000 (UTC) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.6 Received: from mail-wr1-f51.google.com (mail-wr1-f51.google.com [209.85.221.51]) by hemlock.osuosl.org (Postfix) with ESMTPS id 52AC3872E4 for ; Fri, 22 Jan 2021 15:15:11 +0000 (UTC) Received: by mail-wr1-f51.google.com with SMTP id c12so5422390wrc.7 for ; Fri, 22 Jan 2021 07:15:11 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=69jBLNDQCDih7BbYaZQUyDgS1+kzJvyef3wrHErr4Jo=; b=zyIFN2OmMm+dEmbCYUY1wq7s6Zy/8eC9VnEqnPUz+6uGZZu7NM/axQ7coBt5inaDy7 dSHnUmoqK2Aqp1tNsEc003zvLiCjNRpXYPeNB9lvB6ZPxsYta545PQIUHLxFjTulB3jQ o8ExiyiQ/rqnjmNzfEe1XLpq/eb2OaGnEYxld55zGVigINDXERH6fSNLYdDcgWjzZTzn JP7mPKli961WTJhX/s5NpfvadZOx78BOhVljnyU9TiD8J0VXt4P4cy7tj72gcG2DIMhf bPwuuezkPDOnqHc9ToBcd8y/cTYJlvrrAayVzoff2H6j3hEAMPt69kWQ+bZkddJ+LzbS v7AA== 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:mime-version :content-transfer-encoding; bh=69jBLNDQCDih7BbYaZQUyDgS1+kzJvyef3wrHErr4Jo=; b=K4zDNILE2vbHMNMUoKmZvxSnNP4LPTMgAmkn/66atrQFxhwGamgk+l1seE6d0AddV4 zrq6oXaCjMLbP2tWuslXIWwD9m1iMduPdqMbnE817sTTWPSSEwR62D9mtcN19DXGScTc kXpdttBBbHTkkG6ggP0aRw/mW2unDmFzAIrkal2uPkaPFfBnx7GefQPZSopMTawwNiVL Vwr2BJn02LvYm1V1vPQ6F8nKGp+OmwT2yA6UZWgzhsFW6ipxJ9hvPFIJlrbtiZhSMP37 +iFHV9nFeVmsaV34lHfIz28hHpK7SxH9kjy7ZaZJuil5DXwjryitEQaSg7n2aKc8eDTG lJuw== X-Gm-Message-State: AOAM531cKElwPOFlWkwx73ng5rUDyTE/5n/i9iCv9WAOp4zJfA2SPrLH VdXO16sw3Z8IxvDF7+CkumJxvw== X-Google-Smtp-Source: ABdhPJwESn3gG+jfg7U/Om8rYxxXFwuePy1Y1K0jVZLgP2kh/U4ERKodFo7adoXxRPaMyBD8jtgwcw== X-Received: by 2002:adf:fa02:: with SMTP id m2mr4883994wrr.130.1611328509895; Fri, 22 Jan 2021 07:15:09 -0800 (PST) Received: from localhost.localdomain ([2001:1715:4e26:a7e0:116c:c27a:3e7f:5eaf]) by smtp.gmail.com with ESMTPSA id h1sm9001945wrr.73.2021.01.22.07.15.08 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 22 Jan 2021 07:15:09 -0800 (PST) From: Jean-Philippe Brucker To: will@kernel.org, robin.murphy@arm.com, joro@8bytes.org Subject: [PATCH v2 0/3] iommu/arm-smmu-v3: TLB invalidation for SVA Date: Fri, 22 Jan 2021 16:10:53 +0100 Message-Id: <20210122151054.2833521-1-jean-philippe@linaro.org> X-Mailer: git-send-email 2.30.0 MIME-Version: 1.0 Cc: Jean-Philippe Brucker , vivek.gautam@arm.com, iommu@lists.linux-foundation.org, zhangfei.gao@linaro.org, linux-arm-kernel@lists.infradead.org X-BeenThere: iommu@lists.linux-foundation.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: Development issues for Linux IOMMU support List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Errors-To: iommu-bounces@lists.linux-foundation.org Sender: "iommu" Since v1 [1] * Renamed arm_smmu_tlb_inv_range() * Removed unnecessary tlb_inv_command variable * Rebased onto for-joerg/arm-smmu/updates (oddly I didn't get any conflict, I hope it will apply this time) [1] https://lore.kernel.org/linux-iommu/20210122115257.2502526-1-jean-philippe@linaro.org/ Jean-Philippe Brucker (3): iommu/arm-smmu-v3: Split arm_smmu_tlb_inv_range() iommu/arm-smmu-v3: Make BTM optional for SVA iommu/arm-smmu-v3: Add support for VHE drivers/iommu/arm/arm-smmu-v3/arm-smmu-v3.h | 6 + .../iommu/arm/arm-smmu-v3/arm-smmu-v3-sva.c | 10 +- drivers/iommu/arm/arm-smmu-v3/arm-smmu-v3.c | 106 ++++++++++++------ 3 files changed, 87 insertions(+), 35 deletions(-) -- 2.30.0 _______________________________________________ iommu mailing list iommu@lists.linux-foundation.org https://lists.linuxfoundation.org/mailman/listinfo/iommu From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-9.1 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_PATCH, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,UNWANTED_LANGUAGE_BODY, URIBL_BLOCKED,USER_AGENT_GIT autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 9D974C433E0 for ; Fri, 22 Jan 2021 15:16:53 +0000 (UTC) Received: from merlin.infradead.org (merlin.infradead.org [205.233.59.134]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 4563D235DD for ; Fri, 22 Jan 2021 15:16:53 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 4563D235DD Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=linaro.org Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=merlin.20170209; h=Sender:Content-Transfer-Encoding: Content-Type:Cc:List-Subscribe:List-Help:List-Post:List-Archive: List-Unsubscribe:List-Id:MIME-Version:Message-Id:Date:Subject:To:From: Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender :Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References:List-Owner; bh=tiDqD1wYIx5wKB6d8PtyoGbt9jH/b7vbdQvpoWLM+qI=; b=DQyrktZQ+IkowJ4Pt1VYhH0zox cbQddo60J1l5o2x/iATX07e/G8J8bPGCxlS+OuiEXWLNnLExsW4WUb2otD2bjU3NCLr3mg+YFbAbN tPZmrCDHQjfLHHyoBTO7UjdrTe/ZEFXJJSaAeqyMEVjl+jan1ZyhM8im6JMZf3OR3K8z8SLwFIbPH rzbL3gyT2pewPjd0dPwLkMTFzmyPUcShizIwxI7eCqFHD1zSLnVg5E19O5NEU5E5DCzvs+qnNE7vz voCzj1r5/NuDzyWj0qvcjUxQ0jrMrHo2cYhZsKgZvhHCTpW22bundtvSyjtJoVboe5Mt011kL0tqy wivLnCNw==; Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1l2y9c-0006da-8B; Fri, 22 Jan 2021 15:15:16 +0000 Received: from mail-wr1-x433.google.com ([2a00:1450:4864:20::433]) by merlin.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux)) id 1l2y9Z-0006cD-LX for linux-arm-kernel@lists.infradead.org; Fri, 22 Jan 2021 15:15:14 +0000 Received: by mail-wr1-x433.google.com with SMTP id v15so5419632wrx.4 for ; Fri, 22 Jan 2021 07:15:10 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=69jBLNDQCDih7BbYaZQUyDgS1+kzJvyef3wrHErr4Jo=; b=zyIFN2OmMm+dEmbCYUY1wq7s6Zy/8eC9VnEqnPUz+6uGZZu7NM/axQ7coBt5inaDy7 dSHnUmoqK2Aqp1tNsEc003zvLiCjNRpXYPeNB9lvB6ZPxsYta545PQIUHLxFjTulB3jQ o8ExiyiQ/rqnjmNzfEe1XLpq/eb2OaGnEYxld55zGVigINDXERH6fSNLYdDcgWjzZTzn JP7mPKli961WTJhX/s5NpfvadZOx78BOhVljnyU9TiD8J0VXt4P4cy7tj72gcG2DIMhf bPwuuezkPDOnqHc9ToBcd8y/cTYJlvrrAayVzoff2H6j3hEAMPt69kWQ+bZkddJ+LzbS v7AA== 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:mime-version :content-transfer-encoding; bh=69jBLNDQCDih7BbYaZQUyDgS1+kzJvyef3wrHErr4Jo=; b=Jw2MyTG74iRqUHvwScS33d2eyR16uhi4chf21SxYQ5K8C8QedLJuhT8yz8sDGglZhf pQC2nl7lVmt4nitVrOQ5qeZ5UgNNNunUt81IId2fattTlKZv05mBuSDPXbCkcaILJuDE h995fzrRqCFFBbfY+qizSeeZrp2ChTYPtzGgcXXEMIrCvlj9GOI91W0/Vn/557vSdWO+ sHL4ZUmO8DRSxAOFyhNFruxiiYmNjRP/k/MMXk/AnUEPNoZc7DWmLhWyg12RjMhlnv1d nROmqL+AM9wULcDEeqcpvq8887gwrEfraudfGC0N4v7tS8wLTJLupqiFVmoQ58x/umlN cqiA== X-Gm-Message-State: AOAM531jNySiEbEWnivGKLCpvAW2eIM2DS6EMeA/vg6l2nYyFRZSaxtF ssdxkT2rocVH1/KMO/+96CCi8w== X-Google-Smtp-Source: ABdhPJwESn3gG+jfg7U/Om8rYxxXFwuePy1Y1K0jVZLgP2kh/U4ERKodFo7adoXxRPaMyBD8jtgwcw== X-Received: by 2002:adf:fa02:: with SMTP id m2mr4883994wrr.130.1611328509895; Fri, 22 Jan 2021 07:15:09 -0800 (PST) Received: from localhost.localdomain ([2001:1715:4e26:a7e0:116c:c27a:3e7f:5eaf]) by smtp.gmail.com with ESMTPSA id h1sm9001945wrr.73.2021.01.22.07.15.08 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 22 Jan 2021 07:15:09 -0800 (PST) From: Jean-Philippe Brucker To: will@kernel.org, robin.murphy@arm.com, joro@8bytes.org Subject: [PATCH v2 0/3] iommu/arm-smmu-v3: TLB invalidation for SVA Date: Fri, 22 Jan 2021 16:10:53 +0100 Message-Id: <20210122151054.2833521-1-jean-philippe@linaro.org> X-Mailer: git-send-email 2.30.0 MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20210122_101513_732668_3F822663 X-CRM114-Status: UNSURE ( 8.73 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Jean-Philippe Brucker , vivek.gautam@arm.com, eric.auger@redhat.com, iommu@lists.linux-foundation.org, Jonathan.Cameron@huawei.com, zhangfei.gao@linaro.org, linux-arm-kernel@lists.infradead.org Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org Since v1 [1] * Renamed arm_smmu_tlb_inv_range() * Removed unnecessary tlb_inv_command variable * Rebased onto for-joerg/arm-smmu/updates (oddly I didn't get any conflict, I hope it will apply this time) [1] https://lore.kernel.org/linux-iommu/20210122115257.2502526-1-jean-philippe@linaro.org/ Jean-Philippe Brucker (3): iommu/arm-smmu-v3: Split arm_smmu_tlb_inv_range() iommu/arm-smmu-v3: Make BTM optional for SVA iommu/arm-smmu-v3: Add support for VHE drivers/iommu/arm/arm-smmu-v3/arm-smmu-v3.h | 6 + .../iommu/arm/arm-smmu-v3/arm-smmu-v3-sva.c | 10 +- drivers/iommu/arm/arm-smmu-v3/arm-smmu-v3.c | 106 ++++++++++++------ 3 files changed, 87 insertions(+), 35 deletions(-) -- 2.30.0 _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel