Received: by 2002:a25:ab43:0:0:0:0:0 with SMTP id u61csp5987796ybi; Wed, 12 Jun 2019 11:57:04 -0700 (PDT) X-Google-Smtp-Source: APXvYqzfPqpLcOScOTTWQPCoHo332eDQQNDWb83qUOnRHwgI6f9FSO+umEGB7Mt9Eszpib7A7weh X-Received: by 2002:a17:902:70c4:: with SMTP id l4mr66293184plt.185.1560365824470; Wed, 12 Jun 2019 11:57:04 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1560365824; cv=none; d=google.com; s=arc-20160816; b=wnrUszDv0pNha8+T2S4xhys/wlfYPHVVZ+4dpUPHRi/9om+CqAxvXY/9F5UAE0zj36 Ff6M0ydhkNtrRjN0PGz7jatU7r/A7+H2J3dnxdEfvoiJS3KOeS8A5P+YQeCq8oV3qNp1 QJZr21FO044RLqL/okyFQkI421Jr62cBbcubPiyjj91nQBTRojNPhbNQH4/42YCsfNF+ GOf8MzJzdGfmCH7xCb3WtZfoemI+SHvsi1hgUbCqJotU5X44UfljSZH0Zhbun8ZrGCzd xFFncbcehfL2rAbO0pMljczpvvM2ykPdiWB4dFjI2v3bIPddtC1EKLwMv9DH2uJIEwjL 8aqw== 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:mime-version :organization:references:in-reply-to:message-id:subject:cc:to:from :date; bh=qjP8tzLqUSgwgRS2KfiUzDIzDADY64Xa3CPOGegceDQ=; b=JUvGjV2umNEVF5bgbH/JjaQ0TuuxhQtXdrTKImYlTYg5KthSWYDIMDkIiV3KUJjrUH zqxke66Sa/kfYM45vcXfU5xikyhgSOhLlt9pQ+8poOEpbMZel8f+R7ZmxUXuq4baMs5M JjBgeD28OmZ5P5hbXS59WTBZoJWTJvSGEIzP9LYzImu6TCC4IEeJhn+H9oaiZw0/aDxq h1qJghEz40omklX33x/lBAyTsPV1hHE6VWyXFi8CgxLPhasgbC8AnyxLJLcZVVHSfR7W iJ69NDqiAThMhsFCr3bryh1oB1g+A5J9hqSXxHo2uwic4tyZidWuWl4QO0b1KPqLn1eG XWsA== 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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=intel.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id a6si380720pla.259.2019.06.12.11.56.48; Wed, 12 Jun 2019 11:57: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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=intel.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727104AbfFLSzu (ORCPT + 99 others); Wed, 12 Jun 2019 14:55:50 -0400 Received: from mga09.intel.com ([134.134.136.24]:22517 "EHLO mga09.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726454AbfFLSzu (ORCPT ); Wed, 12 Jun 2019 14:55:50 -0400 X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from fmsmga008.fm.intel.com ([10.253.24.58]) by orsmga102.jf.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 12 Jun 2019 11:55:50 -0700 X-ExtLoop1: 1 Received: from jacob-builder.jf.intel.com (HELO jacob-builder) ([10.7.199.155]) by fmsmga008.fm.intel.com with ESMTP; 12 Jun 2019 11:55:49 -0700 Date: Wed, 12 Jun 2019 11:58:58 -0700 From: Jacob Pan To: Joerg Roedel Cc: Jean-Philippe Brucker , "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 , jacob.jun.pan@linux.intel.com Subject: Re: [PATCH v2 0/4] iommu: Add device fault reporting API Message-ID: <20190612115858.733edacc@jacob-builder> In-Reply-To: <20190612131143.GF21613@8bytes.org> References: <20190603145749.46347-1-jean-philippe.brucker@arm.com> <20190612081944.GB17505@8bytes.org> <0f21e1b2-837f-87ba-6cf3-f6490d9e2a57@arm.com> <20190612131143.GF21613@8bytes.org> Organization: OTC X-Mailer: Claws Mail 3.13.2 (GTK+ 2.24.30; x86_64-pc-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, 12 Jun 2019 15:11:43 +0200 Joerg Roedel wrote: > On Wed, Jun 12, 2019 at 12:54:51PM +0100, Jean-Philippe Brucker wrote: > > Thanks! As discussed I think we need to add padding into the > > iommu_fault structure before this reaches mainline, to make the > > UAPI easier to extend in the future. It's already possible to > > extend but requires introducing a new ABI version number and > > support two structures. Adding some padding would only require > > introducing new flags. If there is no objection I'll send a > > one-line patch bumping the structure size to 64 bytes (currently > > 48) > > Sounds good, please submit the patch. > Could you also add padding to page response per our discussion here? https://lkml.org/lkml/2019/6/12/1131 > Regards, > > Joerg [Jacob Pan]