Received: by 2002:a25:ab43:0:0:0:0:0 with SMTP id u61csp6652590ybi; Wed, 5 Jun 2019 04:28:04 -0700 (PDT) X-Google-Smtp-Source: APXvYqzXbwaGAZ6+NUvs4h3W3tGeKkQvN1g6t3xabvXaKqDc0gDd371wSNhCmy9EjF6RHSrsB08A X-Received: by 2002:a63:1106:: with SMTP id g6mr3407282pgl.83.1559734084577; Wed, 05 Jun 2019 04:28:04 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1559734084; cv=none; d=google.com; s=arc-20160816; b=FXwnC0XHZoSXr3oH6xiXVO1mI2InnZXYixByjk5MDIsbNp+//jj0Mc4NishCmkErpK Cec4fxT5F38s4Q+3iwt6bi6pREu3iILWxqFr99mq5n0z2XSMf9YyLKQx7crboZhEoJHt +T7r8X0Jde8t4FsZM5Wxy72CczE9cW9Etzrke/cAlfdDAA6DZv3SCZ61GTXMOnDhNS/I p5OQvZbKVB+ulJxtYdInoEMFLJ4dtKLk5jovq69FyMvfJ60nLd5lMbQyFmaE6oEr4FOh AGZtHtvYYhNYUC1lES07OflRt+FeVTr4Iofimy0q7UHR0FRLXyH0KwBiwFI1jHWUeKRH bNQg== 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:references:cc:to:subject:from; bh=oTo92dj8lJrIgGl9pIvNsVkBq2fJCxSNPsxhm1xb0sA=; b=WkKKekJCOb1S+nROM0P/zBa5W5y+vd4ksmIhmXgdeZoq+0yU3sgII0ZbD2KT4VzDFa LbgfA1GMIEMTcoy+STNc4whMN52xLFuYOmgQbMG1jZflZqQg+HaZ3ZDLQouezFX1NEc1 l7mxxEFqH0b0eA76SPg0GqM+nUgj3pn6Uaayt1FOEOM89wwo/UEq3/qkUnnj58aEFCHE VItmqtZWWrcGZYOxatCgJVi6DoeRM5nThOPpWXKmeJdd9Yjlfb7NFhn52GAG4xuqu+h1 Cxnn24kzkmcd4pC2bz/836djOZxSAbjcxZDQik3p/KptveP85rGrzNjQ4Qv/KAY+SLtB xflQ== ARC-Authentication-Results: i=1; mx.google.com; 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 c103si24228541pje.10.2019.06.05.04.27.47; Wed, 05 Jun 2019 04:28:04 -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; 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 S1727330AbfFEL0j (ORCPT + 99 others); Wed, 5 Jun 2019 07:26:39 -0400 Received: from foss.arm.com ([217.140.101.70]:57890 "EHLO foss.arm.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726280AbfFEL0i (ORCPT ); Wed, 5 Jun 2019 07:26:38 -0400 Received: from usa-sjc-imap-foss1.foss.arm.com (unknown [10.72.51.249]) by usa-sjc-mx-foss1.foss.arm.com (Postfix) with ESMTP id 2BE41374; Wed, 5 Jun 2019 04:26:38 -0700 (PDT) Received: from [10.1.196.129] (ostrya.cambridge.arm.com [10.1.196.129]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPSA id 7D9553F5AF; Wed, 5 Jun 2019 04:26:36 -0700 (PDT) From: Jean-Philippe Brucker Subject: Re: [PATCH v2 0/4] iommu: Add device fault reporting API To: Jacob Pan Cc: "joro@8bytes.org" , "alex.williamson@redhat.com" , "eric.auger@redhat.com" , "ashok.raj@intel.com" , "yi.l.liu@intel.com" , "robdclark@gmail.com" , "linux-kernel@vger.kernel.org" , "iommu@lists.linux-foundation.org" , Robin Murphy References: <20190603145749.46347-1-jean-philippe.brucker@arm.com> <20190603145951.729600e6@jacob-builder> Message-ID: <3d3bc50f-beb3-dda8-dfaa-ecb4dcffd560@arm.com> Date: Wed, 5 Jun 2019 12:26:12 +0100 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.7.0 MIME-Version: 1.0 In-Reply-To: <20190603145951.729600e6@jacob-builder> Content-Type: text/plain; charset=windows-1252 Content-Language: en-US Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 03/06/2019 22:59, Jacob Pan wrote: > On Mon, 3 Jun 2019 15:57:45 +0100 > Jean-Philippe Brucker wrote: > >> Allow device drivers and VFIO to get notified on IOMMU translation >> fault, and handle recoverable faults (PCI PRI). Several series require >> this API (Intel VT-d and Arm SMMUv3 nested support, as well as the >> generic host SVA implementation). >> >> Changes since v1 [1]: >> * Allocate iommu_param earlier, in iommu_probe_device(). >> * Pass struct iommu_fault to fault handlers, instead of the >> iommu_fault_event wrapper. >> * Removed unused iommu_fault_event::iommu_private. >> * Removed unnecessary iommu_page_response::addr. >> * Added iommu_page_response::version, which would allow to introduce a >> new incompatible iommu_page_response structure (as opposed to just >> adding a flag + field). >> >> [1] [PATCH 0/4] iommu: Add device fault reporting API >> https://lore.kernel.org/lkml/20190523180613.55049-1-jean-philippe.brucker@arm.com/ >> >> Jacob Pan (3): >> driver core: Add per device iommu param >> iommu: Introduce device fault data >> iommu: Introduce device fault report API >> >> Jean-Philippe Brucker (1): >> iommu: Add recoverable fault reporting >> > This interface meet the need for vt-d, just one more comment on 2/4. Do > you want to add Co-developed-by you for the three patches from me? I'm fine without it, I don't think it adds much to the Signed-off-by, which is required Thanks, Jean