Received: by 2002:a05:6a10:22f:0:0:0:0 with SMTP id 15csp3685679pxk; Mon, 7 Sep 2020 22:40:26 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzsx7YDJCvcHvKC3+546Pddlm0VS9hPZsrta3Z6iD1ROneAswMDMRcHvukAOKHSw7Mlhmd+ X-Received: by 2002:a05:6402:1612:: with SMTP id f18mr6914389edv.166.1599543626014; Mon, 07 Sep 2020 22:40:26 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1599543626; cv=none; d=google.com; s=arc-20160816; b=XE8fojy2u48JLW9WGi5Dcv0anpfuAE9KyAxgtpGPmhdbOJ8ul0UICbtcR1u+uVIpzm zHXSs9hRNvjnuMjB/PW3Cer7/I6QFTvVZ0Qjj6uLBGwP1sQ2PPbnGbJGJMJLrd53XWsT Xc0n/jkBeT0pRZQMlYqDRgguwn8CoUAQHzaiZxPf7cQSxkVngJG4JHAnq1v74YtZiBUJ nn6S/Mcu2jniPDKdCJ7GBM8l41ssS7BUnOhBrno6uYBC5S+1l5uAo7BOt3iU46piRMFK 3XewSr3LhXOCK/nWIppXUQP601MbA+bM9HEDjX3rB2Bgqrm+MM3y5fr51hBTKEZhJ7jj 1CxA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:in-reply-to:content-disposition :mime-version:references:message-id:subject:cc:to:from:date :dkim-signature; bh=tnIhBm/D9q30OCjl0Uvk6IczrpKqywtr99E3Z7cDOcY=; b=ZULUwyB89WCg3LCN7TTVcuQ8Cwsu4XPhCtj9zalQTVfaBkR4d9fviZ7VGgNY9OF04D mn33Alo7GbwWCGgfRf8o6Pz6/wFnmyxs1PVcugZG9o8jBBPsAmzpCLSSweY+agwrV5+6 3By2PaipzARxT22OfE561JlhdijwleDg1JhwTfBBT/DxJwu4s8kYvN5ywf8RZfCdHwej 9t5MEOmbBLr1CbLSyXyS7R6jtItD7W5k/X/j7JD2T5svkHVoykClN3ygLJLRbterVH8K RxUpopGvzNsZbkDmux8hxQGD2OU/7nxyqTwflo3fy3KEaxu5N7e74j2F0u2vsnRXRFW4 2GCg== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@infradead.org header.s=casper.20170209 header.b=A7cOmnVX; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id c10si10879987edr.320.2020.09.07.22.40.04; Mon, 07 Sep 2020 22:40:26 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=fail header.i=@infradead.org header.s=casper.20170209 header.b=A7cOmnVX; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728658AbgIHFg3 (ORCPT + 99 others); Tue, 8 Sep 2020 01:36:29 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:42946 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726773AbgIHFg2 (ORCPT ); Tue, 8 Sep 2020 01:36:28 -0400 Received: from casper.infradead.org (casper.infradead.org [IPv6:2001:8b0:10b:1236::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id DEBC5C061573 for ; Mon, 7 Sep 2020 22:36:27 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=casper.20170209; h=In-Reply-To:Content-Type:MIME-Version: References:Message-ID:Subject:Cc:To:From:Date:Sender:Reply-To: Content-Transfer-Encoding:Content-ID:Content-Description; bh=tnIhBm/D9q30OCjl0Uvk6IczrpKqywtr99E3Z7cDOcY=; b=A7cOmnVXCZtWAnsWTe66XL2mO2 EfgFVttWjeSLSSOW7M36RucpwOpruW5Go8mkpQ5cD7T0J+07ypNo8hiB1Xuxa62/LM3ciqjLddxHv xRrWNTfI9+FCCIHBqmRat5fAniV5XoT3gd4rkXV0XBIex7sniDbxfzTpR9WqhPmTk0d8tJXk7y1oZ jwShC3NettOOKABfpiYOFXx730naA1c5vdvjOVfcLXmzLB70bqh/LkhPpc6V6jKL77EIL+9N/T6Fi lxgKjyEDm7kq9V2R/eQojzNIjMHQCRKlWOLKzMxzwKo6SZzs1YMFkDgc6hzdfs7ZnDpdIS3qBRgdJ WWIrZI2g==; Received: from hch by casper.infradead.org with local (Exim 4.92.3 #3 (Red Hat Linux)) id 1kFWIl-00044r-4s; Tue, 08 Sep 2020 05:36:19 +0000 Date: Tue, 8 Sep 2020 06:36:19 +0100 From: Christoph Hellwig To: Tom Murphy Cc: Christoph Hellwig , iommu@lists.linux-foundation.org, David Woodhouse , Linux Kernel Mailing List , Jani Nikula , Joonas Lahtinen , Rodrigo Vivi , intel-gfx@lists.freedesktop.org Subject: Re: [PATCH V2 5/5] DO NOT MERGE: iommu: disable list appending in dma-iommu Message-ID: <20200908053619.GA15418@infradead.org> References: <20200903201839.7327-1-murphyt7@tcd.ie> <20200903201839.7327-6-murphyt7@tcd.ie> <20200907070035.GA25114@infradead.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: X-SRS-Rewrite: SMTP reverse-path rewritten from by casper.infradead.org. See http://www.infradead.org/rpr.html Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, Sep 07, 2020 at 09:18:50PM +0100, Tom Murphy wrote: > Yeah we talked about passing an attr to map_sg to disable merging at > the following microconfernce: > https://linuxplumbersconf.org/event/7/contributions/846/ > As far as I can remember everyone seemed happy with that solution. I > won't be working on this though as I don't have any more time to > dedicate to this. It seems Lu Baolu will take over this. I'm absolutely again passing a flag. Tha just invites further abuse. We need a PCI ID based quirk or something else that can't be as easily abused.