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=-8.9 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_CR_TRAILER, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED 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 8B28CC433E0 for ; Wed, 20 Jan 2021 17:50:35 +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 3C062223DB for ; Wed, 20 Jan 2021 17:50:35 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 3C062223DB 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=ylRbn2oTJcYWf2ePjRA+Juam850p9RA1IB74GlLfq/0=; b=YTXPU9rdvWKzZnateqNGxJr67 Z4TpwH1YLkji7PwbeD5YUyVOaXAHzr5MxdIkja/Rs2IxFbOEs/cnEneCegLesObMZ/WcF0jrBEI/G Hb7XSPlESaFXyooBxQpaivvAu5xMvFokAIOokMTqgl/cbjY8x6cKk7x0biv70DMVkeh19OmcPkEsT t7LSlA3z7izp4GEdk0Vc+yYAwM1l/qo99lWfYoOP/sq7MZ6eqbNHcOArwvTU3238n/HiCAeEYd9jP 98zixxtq7UTodrEAtXP10ugBtuqHLuCm+b0g/J8qY/zjGB1lHSwil9lN+j5qNfbwSjFRp18saHrA9 eUoc5d24w==; Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1l2Hax-0008K4-5d; Wed, 20 Jan 2021 17:48:39 +0000 Received: from mail-wr1-x42d.google.com ([2a00:1450:4864:20::42d]) by merlin.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux)) id 1l2HVh-0005Mr-NZ for linux-arm-kernel@lists.infradead.org; Wed, 20 Jan 2021 17:43:15 +0000 Received: by mail-wr1-x42d.google.com with SMTP id 7so16657608wrz.0 for ; Wed, 20 Jan 2021 09:43: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=R7aUUsfcYcxGvSNOE9xOymWakTzVUOFowM4WuU+q4Pg=; b=szM7sxtOZH9OiVHN21YHTUe8HZnkap3Ywb7gLquh94qffDgX1HUDgtDLdIT2UNAAB/ eGVghpwYfIgYXpIRdlxgBKZnl/GUvG12CahWdRXPAu8cbafSWkHfRraIK8cA60s2s6HC qipvpOKXiaIgTiTIl7asNU7C0HCb57vaJUx4czGiOpLJmJYZ7g/2/nI7Q7eVFSaEtYiM qsFSBfRJ5LYpfvEk7Xn5eKa6w/j9L1fGvGSr30ZmpAqB01ds6MzM62SLmwjmT+D4tSaV Gjfr0iEpHI7h3F4C19eRcjONtPk2QloKq6hgMPYDpqeTsH43a/ITxJzC+XutKf9ybAxL aHqw== 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=R7aUUsfcYcxGvSNOE9xOymWakTzVUOFowM4WuU+q4Pg=; b=dotQrcK8HWg7RJlhZnMpNtsseh5JWcYWPfF2L2OR/yGypuP5MzLdo7dclkCEF6IrmE OIcdj+1tC2ZA86JLto1LJ3RB8Lt7MFCE28MZGrK0hTpXxjoLBhujSDcIL5xKyEBTEYbr nT9sODkUEHLMveRK7Bh9S0P5uu9Vd2ah8CGVRUUGNdaC+HnQMKbU6YfW9yh4eMRHwOum WzkBJr7+tPEom90dZT5Kkp6kzaz3Z2gPgCsbLSFWjwbrNkzTwqEeZlkqJ1dL0/2YksWm xl0VEzhVnSvU+A6rjSCzD0njYAmZXGKqVF03TgxslSA1joVPkNPa5vwkIBZL3o+7lLXb +3VQ== X-Gm-Message-State: AOAM533ORw9VUuJbZzF8URznpvQTZJJXcrvEWSs+T2pmpa8gT6tRJseH 1FttwaZg/HnJy7bgCM8lxMCpHg== X-Google-Smtp-Source: ABdhPJzpLHHpsQ2g2E4WmLP34m6i58NPSVmOpjvgaXI5blCKQKW8/fkrv6QK9zAcq3kydE0WVN37Ng== X-Received: by 2002:adf:f58f:: with SMTP id f15mr10486618wro.388.1611164589594; Wed, 20 Jan 2021 09:43:09 -0800 (PST) Received: from myrica ([2001:1715:4e26:a7e0:116c:c27a:3e7f:5eaf]) by smtp.gmail.com with ESMTPSA id j13sm5073106wmi.24.2021.01.20.09.43.08 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 20 Jan 2021 09:43:08 -0800 (PST) Date: Wed, 20 Jan 2021 18:42:48 +0100 From: Jean-Philippe Brucker To: Jonathan Cameron Subject: Re: [PATCH v9 05/10] uacce: Enable IOMMU_DEV_FEAT_IOPF Message-ID: References: <20210108145217.2254447-1-jean-philippe@linaro.org> <20210108145217.2254447-6-jean-philippe@linaro.org> <20210119122759.000048f9@Huawei.com> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <20210119122759.000048f9@Huawei.com> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20210120_124314_201330_E92C5E07 X-CRM114-Status: GOOD ( 16.10 ) 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: vivek.gautam@arm.com, guohanjun@huawei.com, will@kernel.org, lorenzo.pieralisi@arm.com, joro@8bytes.org, Zhou Wang , linux-acpi@vger.kernel.org, zhangfei.gao@linaro.org, lenb@kernel.org, devicetree@vger.kernel.org, Arnd Bergmann , eric.auger@redhat.com, robh+dt@kernel.org, linux-arm-kernel@lists.infradead.org, Greg Kroah-Hartman , 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 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 Tue, Jan 19, 2021 at 12:27:59PM +0000, Jonathan Cameron wrote: > On Fri, 8 Jan 2021 15:52:13 +0100 > Jean-Philippe Brucker wrote: > > > The IOPF (I/O Page Fault) feature is now enabled independently from the > > SVA feature, because some IOPF implementations are device-specific and > > do not require IOMMU support for PCIe PRI or Arm SMMU stall. > > > > Enable IOPF unconditionally when enabling SVA for now. In the future, if > > a device driver implementing a uacce interface doesn't need IOPF > > support, it will need to tell the uacce module, for example with a new > > flag. > > > > Signed-off-by: Jean-Philippe Brucker > Hi Jean-Philippe, > > A minor suggestion inline but I'm not that bothered so either way > looks good to me. No problem, I'll add the disable function Thanks, Jean _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel