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.4 required=3.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,SPF_HELO_NONE, SPF_PASS,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 A1404C432C0 for ; Tue, 19 Nov 2019 18:49:34 +0000 (UTC) Received: from kanga.kvack.org (kanga.kvack.org [205.233.56.17]) by mail.kernel.org (Postfix) with ESMTP id 4250322316 for ; Tue, 19 Nov 2019 18:49:34 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=ziepe.ca header.i=@ziepe.ca header.b="LWkZy3XB" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 4250322316 Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=ziepe.ca Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=owner-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix) id 8C99C6B0007; Tue, 19 Nov 2019 13:49:33 -0500 (EST) Received: by kanga.kvack.org (Postfix, from userid 40) id 852A96B0008; Tue, 19 Nov 2019 13:49:33 -0500 (EST) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id 6F3926B000A; Tue, 19 Nov 2019 13:49:33 -0500 (EST) X-Delivered-To: linux-mm@kvack.org Received: from forelay.hostedemail.com (smtprelay0026.hostedemail.com [216.40.44.26]) by kanga.kvack.org (Postfix) with ESMTP id 57CF76B0007 for ; Tue, 19 Nov 2019 13:49:33 -0500 (EST) Received: from smtpin24.hostedemail.com (10.5.19.251.rfc1918.com [10.5.19.251]) by forelay04.hostedemail.com (Postfix) with SMTP id 1267A2466 for ; Tue, 19 Nov 2019 18:49:33 +0000 (UTC) X-FDA: 76173915426.24.limit72_363c556669c60 X-HE-Tag: limit72_363c556669c60 X-Filterd-Recvd-Size: 3781 Received: from mail-qt1-f195.google.com (mail-qt1-f195.google.com [209.85.160.195]) by imf10.hostedemail.com (Postfix) with ESMTP for ; Tue, 19 Nov 2019 18:49:32 +0000 (UTC) Received: by mail-qt1-f195.google.com with SMTP id p20so25811296qtq.5 for ; Tue, 19 Nov 2019 10:49:32 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ziepe.ca; s=google; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to:user-agent; bh=BJFjHdyYM1vthkxjAoIbMlTbG4D7GBxFdcFj8PnQrWU=; b=LWkZy3XBK+6fGHfABcaDNWAQdmYW0o01piJuPCdyzNiafR4t07GJfwj6NHL05dXF9U FXWYX2PH725IYUJa0tVNtMVie9x7mgqL09kVIr11c/0byg0MZMW2XJohLeQeoTvKBn44 aVMBPUgeTHsVuZj8qk1CSdiDe5b65iQ8CKrFIhoIVjFU1tbijp4dztUugaNxljdz0KpG ufVho8Y+VpFtgBdLC3pC1LhcKaOCHvGCtctlP/fxfHCrGsz1N/0XspeaUTxCk3mdQRAa BDCehThqrGIZ7uWAhtTcoOU4+wWrmyEv7R6XYFPuJtz5/EaPhYCMatC/0VvDlWFKLBZt 1K+g== 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:user-agent; bh=BJFjHdyYM1vthkxjAoIbMlTbG4D7GBxFdcFj8PnQrWU=; b=X38FgkaIUXyOGSPMRRd1HV5Bn0dd9E4H/bnVhsIZLvOiqptd8HAXCWXyNe6Y5B6X7/ 8a8pOEQJDTyxJc+rRpX0KRnL7FvdUcrYU6K7JinEo2StN3QFyJJsm5Alf1XC5qlXbSvo cbree/99twLJkwC6jvCjXN7iT9xYbZjJqLHBb3EiuCYzTnbANi9Y0Nq6DYsDJoe5edxe kHd5uYesJJ+8BicpxD/WNJd55iPjWxQoORrkJvHkH2QtWcuGV7bsvF0EUioDlT3I5YQw N4J4Lu2+EzY5FPaRMKNB38wf2G6mC3E8KM5v7MCEIXvIq3NHfknxvwIXKzbi0jbHbDne qNmw== X-Gm-Message-State: APjAAAUT+Kz2XAOx9zAewg7OARbQ2xw2ubNG8RjjpeaSie++gNBq+FDN p+ddGiXuj/TQkxMy18THQfvH+Q== X-Google-Smtp-Source: APXvYqzh35+Ds32uBQz9Hp5oJ/hmQ+f4/zOs04uAR5OrQyFAqc0W+LMwbdKO3lqExiqyacnIDVWJuQ== X-Received: by 2002:ac8:458c:: with SMTP id l12mr34922827qtn.300.1574189371993; Tue, 19 Nov 2019 10:49:31 -0800 (PST) Received: from ziepe.ca (hlfxns017vw-142-162-113-180.dhcp-dynamic.fibreop.ns.bellaliant.net. [142.162.113.180]) by smtp.gmail.com with ESMTPSA id b185sm10622433qkg.45.2019.11.19.10.49.31 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Tue, 19 Nov 2019 10:49:31 -0800 (PST) Received: from jgg by mlx.ziepe.ca with local (Exim 4.90_1) (envelope-from ) id 1iX8Z9-0002Oe-53; Tue, 19 Nov 2019 14:49:31 -0400 Date: Tue, 19 Nov 2019 14:49:31 -0400 From: Jason Gunthorpe To: Jerome Glisse Cc: Christoph Hellwig , linux-mm@kvack.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH] mm/hmm: remove hmm_range_dma_map and hmm_range_dma_unmap Message-ID: <20191119184931.GJ4991@ziepe.ca> References: <20191113134528.21187-1-hch@lst.de> <20191113184943.GA4319@redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20191113184943.GA4319@redhat.com> User-Agent: Mutt/1.9.4 (2018-02-28) X-Bogosity: Ham, tests=bogofilter, spamicity=0.000037, version=1.2.4 Sender: owner-linux-mm@kvack.org Precedence: bulk X-Loop: owner-majordomo@kvack.org List-ID: On Wed, Nov 13, 2019 at 01:49:43PM -0500, Jerome Glisse wrote: > On Wed, Nov 13, 2019 at 02:45:28PM +0100, Christoph Hellwig wrote: > > These two functions have never been used since they were added. > > The mlx5 convertion (which has been posted few times now) uses them > dunno what Jason plans is on that front. IMHO if ODP is going to be the only user then we should just keep the existing ODP code. Lets drop them until someone can come up with a series to migrate several drivers.. It is small so it would not be hard to bring them back if needed. So applied to hmm.git Thanks, Jason