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=-2.3 required=3.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,SPF_HELO_NONE, SPF_PASS,URIBL_BLOCKED,USER_AGENT_SANE_1 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 8FE55C76190 for ; Mon, 22 Jul 2019 14:28:51 +0000 (UTC) Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (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 59F8E2171F for ; Mon, 22 Jul 2019 14:28:51 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="W+PXAwKS" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 59F8E2171F Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=8bytes.org Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-arm-kernel-bounces+infradead-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=bombadil.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=Kf7/LwxXdOwOZU1WM2ZMmnD78Mbgkgz9LXzLLQxq0QM=; b=W+PXAwKSi4hLq/ lK5vhCOcRKgLM0PS0nLZMUIrhkTAX2/gBsnJj5ExRK7evO2k4im2SQ9QjXlgqWc8PrE8KK9wjQfAS xPCof8quJdt/8GbDVehQ1Eri3kN5COUKX9yCfEZHqpqLc1Me3kcPLCJCCmOgOfdImkI8G33AV9ZHN LQwfzzO1yOpew6HivTBsVHCxAQPBDjkxrsgc6ZgrswRuo7wBBEW7299IkQqgA/IlWOCQ8Hv7/MRWz tJGs+4VJalk+pFIvC6VFfOBTAjNuzQQE5qqI2GOGcliidszYZ32RA4Ly1C0o9IVo8oL7Sowk55HMD lm3DG5vFk+oDgrSIAIOg==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.92 #3 (Red Hat Linux)) id 1hpZJ2-0008OI-Ve; Mon, 22 Jul 2019 14:28:48 +0000 Received: from 8bytes.org ([2a01:238:4383:600:38bc:a715:4b6d:a889] helo=theia.8bytes.org) by bombadil.infradead.org with esmtps (Exim 4.92 #3 (Red Hat Linux)) id 1hpZIy-0008LB-Lt for linux-arm-kernel@lists.infradead.org; Mon, 22 Jul 2019 14:28:46 +0000 Received: by theia.8bytes.org (Postfix, from userid 1000) id E226C1F2; Mon, 22 Jul 2019 16:28:34 +0200 (CEST) Date: Mon, 22 Jul 2019 16:28:33 +0200 From: Joerg Roedel To: Rob Clark Subject: Re: [PATCH v2] iommu: add support for drivers that manage iommu explicitly Message-ID: <20190722142833.GB12009@8bytes.org> References: <20190702202631.32148-2-robdclark@gmail.com> <20190710182844.25032-1-robdclark@gmail.com> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <20190710182844.25032-1-robdclark@gmail.com> User-Agent: Mutt/1.10.1 (2018-07-13) X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20190722_072844_866916_64CEA535 X-CRM114-Status: UNSURE ( 9.23 ) X-CRM114-Notice: Please train this message. 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: Rob Clark , aarch64-laptops@lists.linaro.org, Andy Shevchenko , Heikki Krogerus , linux-kernel@vger.kernel.org, linux-arm-msm@vger.kernel.org, Bartosz Golaszewski , "Rafael J. Wysocki" , Rasmus Villemoes , Robin Murphy , Sudeep Holla , iommu@lists.linux-foundation.org, Greg Kroah-Hartman , Joe Perches , Andrew Morton , Will Deacon , linux-arm-kernel@lists.infradead.org Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+infradead-linux-arm-kernel=archiver.kernel.org@lists.infradead.org On Wed, Jul 10, 2019 at 11:28:30AM -0700, Rob Clark wrote: > --- a/include/linux/device.h > +++ b/include/linux/device.h > @@ -282,7 +282,8 @@ struct device_driver { > struct module *owner; > const char *mod_name; /* used for built-in modules */ > > - bool suppress_bind_attrs; /* disables bind/unbind via sysfs */ > + bool suppress_bind_attrs:1; /* disables bind/unbind via sysfs */ > + bool driver_manages_iommu:1; /* driver manages IOMMU explicitly */ Who will set this bit? Regards, Joerg _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel