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=-5.8 required=3.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS autolearn=no 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 1978FC433E0 for ; Mon, 1 Feb 2021 15:21:33 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id E2C1C64DBD for ; Mon, 1 Feb 2021 15:21:32 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231630AbhBAPVD (ORCPT ); Mon, 1 Feb 2021 10:21:03 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:39712 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231665AbhBAPUw (ORCPT ); Mon, 1 Feb 2021 10:20:52 -0500 Received: from mail-wr1-x42f.google.com (mail-wr1-x42f.google.com [IPv6:2a00:1450:4864:20::42f]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 18F51C06174A for ; Mon, 1 Feb 2021 07:20:12 -0800 (PST) Received: by mail-wr1-x42f.google.com with SMTP id 6so16983361wri.3 for ; Mon, 01 Feb 2021 07:20:12 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to; bh=Cmku5S3IdYnPtrqwdeFlSVFh/nDWdiVLKGao8LWxXgA=; b=JqbVGM0UCNG3mit9/UZsdLhah1nWurom48htD5nfPqgCrIDKO88AnVFFjgeU8PHGAN BW8utbpUX3UzYrG5TduBBHDR0Bykf1U/mPNECk9CAeP2BJ5xU1/maQPp6TdmWvSxp7kY YaRWr2KxZf1lmghsWGCPIcwDMqfE9K6FbmmNMq6gHY0Jz8AKQFReCAkxEqamQ7k25E05 tww76nG6EjFgx1g6ImqskqU/4QT+Wut06Spo5/okwB798IwVUNUls7lmhj5a+eDAZLFh piOGzeHarIzIg/xyItedJcc03d6rBcyoHWFaeuijtP9yye49mw6dbw4S7T1r8qkcImZk PFDg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to; bh=Cmku5S3IdYnPtrqwdeFlSVFh/nDWdiVLKGao8LWxXgA=; b=lXHnKZc6n2tWBwtLKHbDXecvVwiO00w1uahWnL0qU/6OMsiI7mBHDbhYfxNOziSoIX Kq4jYGYX1fV69N8Uu3U7CfSWHY73PGSooj4P9bQ3mIe26ndyXdt49lGKkXSYZi03DEhZ x6SFZ417R6qpATHHxffh8Dit5DWtLU6NrOzSDEfJmUgreGkwNgYjvIGfWROW8jZHX3HS lmbAbU+ML5RZdC+8RNxVDKgliIBimX/aFkxjvEPW0vHWg7cidYMlYrYMSxO7QvyWIy1q jsJNqsBMfl9baZT7OXRxzbuZFRHuiMA2GIrVN/xICME9wviNgTKT5arpbUEXgML8oVZ1 fXHQ== X-Gm-Message-State: AOAM533kP/ZR40I45bwF71KkGcISt6rIPPqfMqF/yYtvGXQpyY4NdjWN 2LdficFaMYwVsUgQwMaOEZqes2QCf7zjUw== X-Google-Smtp-Source: ABdhPJxNabzA7H0H3DOfoTeFLSfKWAgMXTatTFFBoCico1yZQV+n2lKonsKcsD7PxZ66kwPkc5AE0w== X-Received: by 2002:a5d:4528:: with SMTP id j8mr19018125wra.352.1612192810877; Mon, 01 Feb 2021 07:20:10 -0800 (PST) Received: from myrica ([2001:1715:4e26:a7e0:116c:c27a:3e7f:5eaf]) by smtp.gmail.com with ESMTPSA id q6sm25951090wrw.43.2021.02.01.07.20.09 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 01 Feb 2021 07:20:09 -0800 (PST) Date: Mon, 1 Feb 2021 16:19:50 +0100 From: Jean-Philippe Brucker To: Auger Eric Cc: vivek.gautam@arm.com, guohanjun@huawei.com, will@kernel.org, lorenzo.pieralisi@arm.com, joro@8bytes.org, linux-acpi@vger.kernel.org, zhangfei.gao@linaro.org, lenb@kernel.org, devicetree@vger.kernel.org, kevin.tian@intel.com, jacob.jun.pan@linux.intel.com, robh+dt@kernel.org, Jonathan.Cameron@huawei.com, linux-arm-kernel@lists.infradead.org, rjw@rjwysocki.net, shameerali.kolothum.thodi@huawei.com, iommu@lists.linux-foundation.org, sudeep.holla@arm.com, robin.murphy@arm.com, linux-accelerators@lists.ozlabs.org, baolu.lu@linux.intel.com Subject: Re: [PATCH v12 10/10] iommu/arm-smmu-v3: Add stall support for platform devices Message-ID: References: <20210127154322.3959196-1-jean-philippe@linaro.org> <20210127154322.3959196-11-jean-philippe@linaro.org> <0c609eeb-00b0-7573-fed7-5bc1e6c0b0d1@redhat.com> <47a65f65-26cb-de27-049a-48f2d083964a@redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <47a65f65-26cb-de27-049a-48f2d083964a@redhat.com> Precedence: bulk List-ID: X-Mailing-List: linux-acpi@vger.kernel.org On Mon, Feb 01, 2021 at 02:16:16PM +0100, Auger Eric wrote: > >>> + flt->type = IOMMU_FAULT_DMA_UNRECOV; > >>> + flt->event = (struct iommu_fault_unrecoverable) { > >>> + .reason = reason, > >>> + .flags = IOMMU_FAULT_UNRECOV_ADDR_VALID | > >>> + IOMMU_FAULT_UNRECOV_FETCH_ADDR_VALID, > >> nit: shall IOMMU_FAULT_UNRECOV_FETCH_ADDR_VALID be set here? Supported > >> unrecoverable faults feature the IPA field which is UNKNOWN for S1 > >> translations. fetch_addr rather was > >> corresponding to WALK_EABT.Fetch_addr to me. > > > > Right I should drop the IPA part entirely, since we don't report S2 faults > > in this patch. > OK > > But as I mentioned this can be fixed separately if you don't have other > comments on this version. Thanks, I need to resend anyway to fix patch 7. Thanks, Jean 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=-3.5 required=3.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,SPF_HELO_NONE, SPF_PASS,URIBL_BLOCKED autolearn=no 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 03185C433E0 for ; Mon, 1 Feb 2021 15:20:16 +0000 (UTC) Received: from silver.osuosl.org (smtp3.osuosl.org [140.211.166.136]) (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 A0D5B64E9C for ; Mon, 1 Feb 2021 15:20:15 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org A0D5B64E9C 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 silver.osuosl.org (Postfix) with ESMTP id 6D6982046D; Mon, 1 Feb 2021 15:20:15 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from silver.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id YkDzbtJ2Ry+c; Mon, 1 Feb 2021 15:20:14 +0000 (UTC) Received: from lists.linuxfoundation.org (lf-lists.osuosl.org [140.211.9.56]) by silver.osuosl.org (Postfix) with ESMTP id B2E9620395; Mon, 1 Feb 2021 15:20:14 +0000 (UTC) Received: from lf-lists.osuosl.org (localhost [127.0.0.1]) by lists.linuxfoundation.org (Postfix) with ESMTP id 9B843C0FA7; Mon, 1 Feb 2021 15:20:14 +0000 (UTC) Received: from fraxinus.osuosl.org (smtp4.osuosl.org [140.211.166.137]) by lists.linuxfoundation.org (Postfix) with ESMTP id 0EA64C013A for ; Mon, 1 Feb 2021 15:20:13 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by fraxinus.osuosl.org (Postfix) with ESMTP id 0A25785168 for ; Mon, 1 Feb 2021 15:20:13 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from fraxinus.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id Ik4s1qcUc81I for ; Mon, 1 Feb 2021 15:20:12 +0000 (UTC) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.6 Received: from mail-wr1-f42.google.com (mail-wr1-f42.google.com [209.85.221.42]) by fraxinus.osuosl.org (Postfix) with ESMTPS id 52D478511F for ; Mon, 1 Feb 2021 15:20:12 +0000 (UTC) Received: by mail-wr1-f42.google.com with SMTP id c4so14276583wru.9 for ; Mon, 01 Feb 2021 07:20:12 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to; bh=Cmku5S3IdYnPtrqwdeFlSVFh/nDWdiVLKGao8LWxXgA=; b=JqbVGM0UCNG3mit9/UZsdLhah1nWurom48htD5nfPqgCrIDKO88AnVFFjgeU8PHGAN BW8utbpUX3UzYrG5TduBBHDR0Bykf1U/mPNECk9CAeP2BJ5xU1/maQPp6TdmWvSxp7kY YaRWr2KxZf1lmghsWGCPIcwDMqfE9K6FbmmNMq6gHY0Jz8AKQFReCAkxEqamQ7k25E05 tww76nG6EjFgx1g6ImqskqU/4QT+Wut06Spo5/okwB798IwVUNUls7lmhj5a+eDAZLFh piOGzeHarIzIg/xyItedJcc03d6rBcyoHWFaeuijtP9yye49mw6dbw4S7T1r8qkcImZk PFDg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to; bh=Cmku5S3IdYnPtrqwdeFlSVFh/nDWdiVLKGao8LWxXgA=; b=qheX8JJjgFMk1KhT9eGIGEhZWqFiXst8is3yW/ryv7N9/Whyp45Bk9Iv/htUpT3x0o 3R3mTIz4LP5P3Pn5M4evpuFHZ83t4bz9LZ0qwiaokh9y4QFNNy92lgU1u1PQ6IfScQau eX7HN0D/nDVR6tnaWbEjldNFyWwUgNfVdE934vEqH0H9RXR9Z2ooJthVN4fnwEhwNxeY +2eqJFsHqLaQl7agsoYAN6X9e+dWAyABYRzAzYThm742av5oepV4tTzy2y+y8Wys2egQ Bwzk8vx+6RtFWT5LvyR+/cR8ucwedq+RLwseokyzzm/UV6ftzGQkAtzAAqwm0hMuUQEO v5kA== X-Gm-Message-State: AOAM533P/FA0S5eDnjPwgGyYx953oxWpMGCJmJEckmbRoqRRxQ49I8SG q0TLl21gOuPDP95BXyrS+lk+PQ== X-Google-Smtp-Source: ABdhPJxNabzA7H0H3DOfoTeFLSfKWAgMXTatTFFBoCico1yZQV+n2lKonsKcsD7PxZ66kwPkc5AE0w== X-Received: by 2002:a5d:4528:: with SMTP id j8mr19018125wra.352.1612192810877; Mon, 01 Feb 2021 07:20:10 -0800 (PST) Received: from myrica ([2001:1715:4e26:a7e0:116c:c27a:3e7f:5eaf]) by smtp.gmail.com with ESMTPSA id q6sm25951090wrw.43.2021.02.01.07.20.09 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 01 Feb 2021 07:20:09 -0800 (PST) Date: Mon, 1 Feb 2021 16:19:50 +0100 From: Jean-Philippe Brucker To: Auger Eric Subject: Re: [PATCH v12 10/10] iommu/arm-smmu-v3: Add stall support for platform devices Message-ID: References: <20210127154322.3959196-1-jean-philippe@linaro.org> <20210127154322.3959196-11-jean-philippe@linaro.org> <0c609eeb-00b0-7573-fed7-5bc1e6c0b0d1@redhat.com> <47a65f65-26cb-de27-049a-48f2d083964a@redhat.com> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <47a65f65-26cb-de27-049a-48f2d083964a@redhat.com> Cc: devicetree@vger.kernel.org, kevin.tian@intel.com, linux-acpi@vger.kernel.org, robin.murphy@arm.com, rjw@rjwysocki.net, robh+dt@kernel.org, sudeep.holla@arm.com, vivek.gautam@arm.com, iommu@lists.linux-foundation.org, linux-accelerators@lists.ozlabs.org, guohanjun@huawei.com, zhangfei.gao@linaro.org, will@kernel.org, linux-arm-kernel@lists.infradead.org, lenb@kernel.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" On Mon, Feb 01, 2021 at 02:16:16PM +0100, Auger Eric wrote: > >>> + flt->type = IOMMU_FAULT_DMA_UNRECOV; > >>> + flt->event = (struct iommu_fault_unrecoverable) { > >>> + .reason = reason, > >>> + .flags = IOMMU_FAULT_UNRECOV_ADDR_VALID | > >>> + IOMMU_FAULT_UNRECOV_FETCH_ADDR_VALID, > >> nit: shall IOMMU_FAULT_UNRECOV_FETCH_ADDR_VALID be set here? Supported > >> unrecoverable faults feature the IPA field which is UNKNOWN for S1 > >> translations. fetch_addr rather was > >> corresponding to WALK_EABT.Fetch_addr to me. > > > > Right I should drop the IPA part entirely, since we don't report S2 faults > > in this patch. > OK > > But as I mentioned this can be fixed separately if you don't have other > comments on this version. Thanks, I need to resend anyway to fix patch 7. Thanks, Jean _______________________________________________ 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=-4.1 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED autolearn=no 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 CD872C433E0 for ; Mon, 1 Feb 2021 15:21:19 +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 75FAC64D9E for ; Mon, 1 Feb 2021 15:21:19 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 75FAC64D9E 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:In-Reply-To:MIME-Version:References:Message-ID: Subject:To:From:Date:Reply-To:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=K0ZEM1tT5akjmfX8S3dl6sSVVA9UTZyh+iKD2y6jTrI=; b=SzgiwjPTTZbEzOVDHM2UZyGv+ jhizXi5JSMCqE2RzuGCFSNnzmOUFr2VAA4FxhzevXziJePcI/CPNGGRbG1CmhrWQJ6yljBnHe5tSa /4sNg4HD/861ov1cR7QURSmG1N3iNEDDclz2u7h+iwErmjDKoWkRLSCLHHcs0elDdTnkPWj5zl31d L76mKkiSH99f6XpFqtnZH7Gx9F00b2sIHXf4BOLbJ237nBC5vnGc50dqsKXBA6RzjlP7pTqa9Op4i RvwRMlRxl0GgdQURdVEu8gNZYIw8/qc8MAPuKv7amAGJ56sOqs52T/zHrUcaN3Z2+M+u9K3VKFyZQ DeUiLD+oA==; Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1l6azu-0003cz-SS; Mon, 01 Feb 2021 15:20:14 +0000 Received: from mail-wr1-x42f.google.com ([2a00:1450:4864:20::42f]) by merlin.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux)) id 1l6azs-0003cT-Hi for linux-arm-kernel@lists.infradead.org; Mon, 01 Feb 2021 15:20:13 +0000 Received: by mail-wr1-x42f.google.com with SMTP id l12so17008066wry.2 for ; Mon, 01 Feb 2021 07:20:11 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to; bh=Cmku5S3IdYnPtrqwdeFlSVFh/nDWdiVLKGao8LWxXgA=; b=JqbVGM0UCNG3mit9/UZsdLhah1nWurom48htD5nfPqgCrIDKO88AnVFFjgeU8PHGAN BW8utbpUX3UzYrG5TduBBHDR0Bykf1U/mPNECk9CAeP2BJ5xU1/maQPp6TdmWvSxp7kY YaRWr2KxZf1lmghsWGCPIcwDMqfE9K6FbmmNMq6gHY0Jz8AKQFReCAkxEqamQ7k25E05 tww76nG6EjFgx1g6ImqskqU/4QT+Wut06Spo5/okwB798IwVUNUls7lmhj5a+eDAZLFh piOGzeHarIzIg/xyItedJcc03d6rBcyoHWFaeuijtP9yye49mw6dbw4S7T1r8qkcImZk PFDg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to; bh=Cmku5S3IdYnPtrqwdeFlSVFh/nDWdiVLKGao8LWxXgA=; b=l+QwGcwAgTZcs/YsMmPYT62Ku2wUtrrPGU1QNJC/X8vL0ZAqadAOXRZiNDrrwUYaO/ hXTCHHTyzYDzMmruc69caVsKiGJ7DLKxjH7MtFzgivg4Pd8hIEbs1G74wr1KFJiUNv2O YKiDJBDJgAbWgmYJJMK+tridSgWw0i1NBZ2Dyw58OaoFDcdP0kdF0hn0zYXLXuwRamNO UTd/AzC5A27MRBb7sgFp/GwIOIdfMUFWI8A9T3HAvyTZutSEnl/18R0n2LpJzldjVLol KjAb07u8B10ZshjyUtzJFeKEYYtbd31KUVfNOy4OCAroLVrUJOXdf9voshNsr2fyB3wW Z0Zg== X-Gm-Message-State: AOAM530iasO9T1jef+SCnxO1226SME+TOF3y99hcYTUThK/wzFDqPXqx HtQ94VoYBhNJC/9tZFVifKgPmg== X-Google-Smtp-Source: ABdhPJxNabzA7H0H3DOfoTeFLSfKWAgMXTatTFFBoCico1yZQV+n2lKonsKcsD7PxZ66kwPkc5AE0w== X-Received: by 2002:a5d:4528:: with SMTP id j8mr19018125wra.352.1612192810877; Mon, 01 Feb 2021 07:20:10 -0800 (PST) Received: from myrica ([2001:1715:4e26:a7e0:116c:c27a:3e7f:5eaf]) by smtp.gmail.com with ESMTPSA id q6sm25951090wrw.43.2021.02.01.07.20.09 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 01 Feb 2021 07:20:09 -0800 (PST) Date: Mon, 1 Feb 2021 16:19:50 +0100 From: Jean-Philippe Brucker To: Auger Eric Subject: Re: [PATCH v12 10/10] iommu/arm-smmu-v3: Add stall support for platform devices Message-ID: References: <20210127154322.3959196-1-jean-philippe@linaro.org> <20210127154322.3959196-11-jean-philippe@linaro.org> <0c609eeb-00b0-7573-fed7-5bc1e6c0b0d1@redhat.com> <47a65f65-26cb-de27-049a-48f2d083964a@redhat.com> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <47a65f65-26cb-de27-049a-48f2d083964a@redhat.com> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20210201_102012_615166_1720438F X-CRM114-Status: GOOD ( 14.71 ) 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: devicetree@vger.kernel.org, kevin.tian@intel.com, lorenzo.pieralisi@arm.com, linux-acpi@vger.kernel.org, robin.murphy@arm.com, joro@8bytes.org, Jonathan.Cameron@huawei.com, rjw@rjwysocki.net, robh+dt@kernel.org, sudeep.holla@arm.com, vivek.gautam@arm.com, iommu@lists.linux-foundation.org, jacob.jun.pan@linux.intel.com, shameerali.kolothum.thodi@huawei.com, linux-accelerators@lists.ozlabs.org, guohanjun@huawei.com, zhangfei.gao@linaro.org, baolu.lu@linux.intel.com, will@kernel.org, linux-arm-kernel@lists.infradead.org, lenb@kernel.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 On Mon, Feb 01, 2021 at 02:16:16PM +0100, Auger Eric wrote: > >>> + flt->type = IOMMU_FAULT_DMA_UNRECOV; > >>> + flt->event = (struct iommu_fault_unrecoverable) { > >>> + .reason = reason, > >>> + .flags = IOMMU_FAULT_UNRECOV_ADDR_VALID | > >>> + IOMMU_FAULT_UNRECOV_FETCH_ADDR_VALID, > >> nit: shall IOMMU_FAULT_UNRECOV_FETCH_ADDR_VALID be set here? Supported > >> unrecoverable faults feature the IPA field which is UNKNOWN for S1 > >> translations. fetch_addr rather was > >> corresponding to WALK_EABT.Fetch_addr to me. > > > > Right I should drop the IPA part entirely, since we don't report S2 faults > > in this patch. > OK > > But as I mentioned this can be fixed separately if you don't have other > comments on this version. Thanks, I need to resend anyway to fix patch 7. Thanks, Jean _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel