Received: by 2002:a25:7ec1:0:0:0:0:0 with SMTP id z184csp1757800ybc; Wed, 20 Nov 2019 03:41:58 -0800 (PST) X-Google-Smtp-Source: APXvYqx2hEnibinCzib4XbWTP5D6W2CWTmLt7z1qT4kI5d/eDOdv1V2Hi/EDkrLzyc3LlYa59hq9 X-Received: by 2002:a7b:c3ce:: with SMTP id t14mr2583763wmj.22.1574250118272; Wed, 20 Nov 2019 03:41:58 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1574250118; cv=none; d=google.com; s=arc-20160816; b=GOZ8rg4bNJnDX1I8sJ38G5N0PTjomm8lgRq/qkLDpA8nRGE5UY/brOv9FTTWJLunfR 1VrXmP1waSiom6lrmaMmWtDasKU2+b7kE1ycli2IOXk2iUxHHuAdVgPFWQMv2KUTIXMO fA9OWl1x2B92Ih2DG/JU8mWhQBh4GJ92XYr55/Tji3W9v71xtrQkNl4ewieTVIuWMc2L ybFKtII1UN+V8J6tTHeEWEOeQOman8mcYId1XkbNjReEgnQgTfee/h/9l/C+/NU0P6hJ yAT89V03AsVj0xEiKBfsMvp3mf+SB34hcwwXqQWgemQqx0kVTpoasjBgrmibnWH8NHiY TpNQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding :content-language:in-reply-to:mime-version:user-agent:date :message-id:from:references:cc:to:subject:dkim-signature; bh=xWcoDmmt3hOnbNOgoE5dQlhwSeBPgNfYdupdAnlBkc8=; b=GsmIsSOuGfT+zL9pJHahUW0COgAe1vg18GvKM/RF6mLX/0w2Qhy4rRhRgrOl+LojXu jzECEX//XwzYr35WzSBgLImMenlLZ2eN44SZiQdrtOyvIKxrkQLS/Wt6yYcjy+T9bdsd F543snjsURID7ES7hV67M26iSfd8RdTVvuIW90k1sIzumag50QMoBak95TZHedncISVQ ekbMye7W6rBFUXKPE2jKe2/LlBm3VZtdooHOp2LIN/+6nW7rvRhZqIP5Bv0knUQcWMou gaSjK1COB0a0lGmAtfYkPBJ7x2PrwDz7njdiQ+V086qfSWqpaZ1qEG1ifmidSZHjsKpX pvFA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=IZR6PatP; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=redhat.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id i19si4650548edt.189.2019.11.20.03.41.34; Wed, 20 Nov 2019 03:41:58 -0800 (PST) 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=@redhat.com header.s=mimecast20190719 header.b=IZR6PatP; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=redhat.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728601AbfKTKSa (ORCPT + 99 others); Wed, 20 Nov 2019 05:18:30 -0500 Received: from us-smtp-2.mimecast.com ([207.211.31.81]:57972 "EHLO us-smtp-delivery-1.mimecast.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1728513AbfKTKS3 (ORCPT ); Wed, 20 Nov 2019 05:18:29 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1574245108; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=xWcoDmmt3hOnbNOgoE5dQlhwSeBPgNfYdupdAnlBkc8=; b=IZR6PatPkFleYIgXw9JCWzyGL3dpl3FVKNScKIxV80feWYoY8PH2Z4KDt6VF88JBQ8rGGz V2+/b5zZbhpBlHtF2UlBjUYUT6bvAjzG2yr/dCrixwiLugev29SzisH+lHEo/M1TJWi6xq Cbs1I4H6MqdKAQYH3jybe4v0W2BdySU= Received: from mimecast-mx01.redhat.com (mimecast-mx01.redhat.com [209.132.183.4]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-41-5HWBhLnLMeGUl4cuPBFxxQ-1; Wed, 20 Nov 2019 05:18:25 -0500 Received: from smtp.corp.redhat.com (int-mx02.intmail.prod.int.phx2.redhat.com [10.5.11.12]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx01.redhat.com (Postfix) with ESMTPS id 9BA40801E6A; Wed, 20 Nov 2019 10:18:21 +0000 (UTC) Received: from [10.36.116.37] (ovpn-116-37.ams2.redhat.com [10.36.116.37]) by smtp.corp.redhat.com (Postfix) with ESMTPS id 694F71968D; Wed, 20 Nov 2019 10:18:14 +0000 (UTC) Subject: Re: [PATCH v9 00/11] SMMUv3 Nested Stage Setup (VFIO part) To: Tomasz Nowicki , "eric.auger.pro@gmail.com" , "iommu@lists.linux-foundation.org" , "linux-kernel@vger.kernel.org" , "kvm@vger.kernel.org" , "kvmarm@lists.cs.columbia.edu" , "joro@8bytes.org" , "alex.williamson@redhat.com" , "jacob.jun.pan@linux.intel.com" , "yi.l.liu@intel.com" , "jean-philippe.brucker@arm.com" , "will.deacon@arm.com" , "robin.murphy@arm.com" Cc: "kevin.tian@intel.com" , "ashok.raj@intel.com" , "marc.zyngier@arm.com" , "peter.maydell@linaro.org" , "vincent.stehle@arm.com" , "zhangfei.gao@gmail.com" , "tina.zhang@intel.com" References: <20190711135625.20684-1-eric.auger@redhat.com> From: Auger Eric Message-ID: <3741c034-08f1-9dbb-ab06-434f3a8bd782@redhat.com> Date: Wed, 20 Nov 2019 11:18:12 +0100 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.4.0 MIME-Version: 1.0 In-Reply-To: Content-Language: en-US X-Scanned-By: MIMEDefang 2.79 on 10.5.11.12 X-MC-Unique: 5HWBhLnLMeGUl4cuPBFxxQ-1 X-Mimecast-Spam-Score: 0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Tomasz, On 11/20/19 9:15 AM, Tomasz Nowicki wrote: > Hi Eric, >=20 > On 11.07.2019 15:56, Eric Auger wrote: >> This series brings the VFIO part of HW nested paging support >> in the SMMUv3. >> >> The series depends on: >> [PATCH v9 00/14] SMMUv3 Nested Stage Setup (IOMMU part) >> (https://www.spinics.net/lists/kernel/msg3187714.html) >> >> 3 new IOCTLs are introduced that allow the userspace to >> 1) pass the guest stage 1 configuration >> 2) pass stage 1 MSI bindings >> 3) invalidate stage 1 related caches >> >> They map onto the related new IOMMU API functions. >> >> We introduce the capability to register specific interrupt >> indexes (see [1]). A new DMA_FAULT interrupt index allows to register >> an eventfd to be signaled whenever a stage 1 related fault >> is detected at physical level. Also a specific region allows >> to expose the fault records to the user space. >> >> Best Regards >> >> Eric >> >> This series can be found at: >> https://github.com/eauger/linux/tree/v5.3.0-rc0-2stage-v9 >=20 > I think you have already tested on ThunderX2, but as a formality, for=20 > the whole series: >=20 > Tested-by: Tomasz Nowicki > qemu: https://github.com/eauger/qemu/tree/v4.1.0-rc0-2stage-rfcv5 > kernel: https://github.com/eauger/linux/tree/v5.3.0-rc0-2stage-v9 +=20 > Shameer's fix patch >=20 > In my test I assigned Intel 82574L NIC and perform iperf tests. Thank you for your testing efforts. >=20 > Other folks from Marvell claimed this to be important feature so I asked= =20 > them to review and speak up on mailing list. That's nice to read that! So it is time for me to rebase both the iommu and vfio parts. I will submit something quickly. Then I would encourage the review efforts to focus first on the iommu part. Thanks Eric >=20 > Thanks, > Tomasz >=20