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.8 required=3.0 tests=DKIM_INVALID,DKIM_SIGNED, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,SIGNED_OFF_BY,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 173D7C433DF for ; Fri, 3 Jul 2020 16:52:05 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id E9AA82186A for ; Fri, 3 Jul 2020 16:52:04 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=fail reason="signature verification failed" (1024-bit key) header.d=mg.codeaurora.org header.i=@mg.codeaurora.org header.b="T98eJq6M" Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726575AbgGCQwD (ORCPT ); Fri, 3 Jul 2020 12:52:03 -0400 Received: from m43-7.mailgun.net ([69.72.43.7]:40254 "EHLO m43-7.mailgun.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726479AbgGCQwD (ORCPT ); Fri, 3 Jul 2020 12:52:03 -0400 DKIM-Signature: a=rsa-sha256; v=1; c=relaxed/relaxed; d=mg.codeaurora.org; q=dns/txt; s=smtp; t=1593795122; h=Message-ID: References: In-Reply-To: Subject: Cc: To: From: Date: Content-Transfer-Encoding: Content-Type: MIME-Version: Sender; bh=bs2X7o2ChfprwqSiXjt12ikg0daLURrNcQQ/2tEqmJI=; b=T98eJq6MWYNqxmiNtlzYjYlXC5iVgLGEoltCteyBkU53Ceqabc03o8neI7fCLsmj2Qzy8NPp dz40shBiwIB159GG3KV1DmXuPLI5PVDuxLyTJWN+N7ktlNg4T78I9s3kKZt5jbXS5xLLueeS YGNETiK0mvknGPUTKvWrounLHnc= X-Mailgun-Sending-Ip: 69.72.43.7 X-Mailgun-Sid: WyI0MWYwYSIsICJsaW51eC1rZXJuZWxAdmdlci5rZXJuZWwub3JnIiwgImJlOWU0YSJd Received: from smtp.codeaurora.org (ec2-35-166-182-171.us-west-2.compute.amazonaws.com [35.166.182.171]) by smtp-out-n18.prod.us-west-2.postgun.com with SMTP id 5eff62296f2ee827da97e1fc (version=TLS1.2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256); Fri, 03 Jul 2020 16:51:53 GMT Received: by smtp.codeaurora.org (Postfix, from userid 1001) id 4CCE9C433A0; Fri, 3 Jul 2020 16:51:53 +0000 (UTC) Received: from mail.codeaurora.org (localhost.localdomain [127.0.0.1]) (using TLSv1 with cipher ECDHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) (Authenticated sender: saiprakash.ranjan) by smtp.codeaurora.org (Postfix) with ESMTPSA id 5CB1EC433C8; Fri, 3 Jul 2020 16:51:52 +0000 (UTC) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII; format=flowed Content-Transfer-Encoding: 7bit Date: Fri, 03 Jul 2020 22:21:52 +0530 From: Sai Prakash Ranjan To: Will Deacon Cc: iommu@lists.linux-foundation.org, linux-kernel@vger.kernel.org, kernel-team@android.com, Robin Murphy , "Isaac J. Manjarres" , Joerg Roedel , Christoph Hellwig , Rob Clark Subject: Re: [PATCH] iommu: Remove unused IOMMU_SYS_CACHE_ONLY flag In-Reply-To: <20200703162548.19953-1-will@kernel.org> References: <20200703162548.19953-1-will@kernel.org> Message-ID: <88f8a3021ae29534ad0d6a9269a1af40@codeaurora.org> X-Sender: saiprakash.ranjan@codeaurora.org User-Agent: Roundcube Webmail/1.3.9 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 2020-07-03 21:55, Will Deacon wrote: > The IOMMU_SYS_CACHE_ONLY flag was never exposed via the DMA API and > has no in-tree users. Remove it. > > Cc: Robin Murphy > Cc: "Isaac J. Manjarres" > Cc: Joerg Roedel > Cc: Christoph Hellwig > Cc: Sai Prakash Ranjan > Cc: Rob Clark > Signed-off-by: Will Deacon > --- > > As discussed in [1], sounds like this should be a domain attribute > anyway > when it's needed by the GPU. > > [1] > https://lore.kernel.org/r/CAF6AEGsCROVTsi2R7_aUkmH9Luoc_guMR0w0KUJc2cEgpfj79w@mail.gmail.com > Reviewed-by: Sai Prakash Ranjan