Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp935116imu; Wed, 9 Jan 2019 08:46:12 -0800 (PST) X-Google-Smtp-Source: ALg8bN5cnqESZiPEIjGiG+xKGucMboQb3sYrY/cf64x9A5cnie6t95HPUH+pwJh9YhRMxKexcB2j X-Received: by 2002:a65:5c4b:: with SMTP id v11mr6000529pgr.333.1547052371960; Wed, 09 Jan 2019 08:46:11 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1547052371; cv=none; d=google.com; s=arc-20160816; b=N3sqqQdi6QHvTu8zaUQZuahFaVi6X+Hh7Y9K9cF5i0Cfuuldw0h+vv1SBD9WcLBlyi wBmXSsMJNMO5feLmR7bTYO0rwSe8XB7fOh98+mhxtku4QeIhEzAe/zRTHsYGuPOnMs2I wrLYTbXQwJ+WQEVEGGhq9xcRfc6nklJXi7B8nLWy4Phms3N3HxScEyXmvdh7LcpL8ed7 BpHP1IyX23BzSliWNITCnMNnXJyYk8tQGVgbyB06JdCkS9+aXq/UotpknPtJgRiXegL5 5bDiNmInMG2hY+vXrhQuz9IFOgznirGvNSogws/E7VOCeS1n02v7GICMrrzzmw7Gh5mr drTA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:dkim-signature; bh=hpOd4KOhVWXZ0ZdlLnkpFIAFTQUwdhkSA+jWkyxu/bA=; b=kL0L3ttFsV1ahtT9XsswbOjCHVYKgp9q0tU3Svrjwl9cpsmQVh9/p7jYrgxZZMIM2P 4G0Er9q1pqI9n92q6G2SWWX44nO0K38m7iVrQlEURpHRQTz3uqgLbRjY6iowrfPd+XlB rDQrMgs7Tyum6BZvtk27WoQVJIqO5ukqioRN9DcVMAJsDv8o/MxICGMClokx8/+OQSod 7l0muZt4HsgykZDa7G/y3q4Dl8BHidk3eqaLmSKywYtWMPQcdZZnQ15IFc3viGJ5M0so 0WO+Rh3PkS4DNlS7ct01AohGeYVR05lAAQKT8Ljrkuk5xjFykxkPSz+DrBVvmnu7VkH9 o3nw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=NfJyBJNP; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id h85si20558261pfd.27.2019.01.09.08.45.56; Wed, 09 Jan 2019 08:46:11 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=NfJyBJNP; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726531AbfAIQh5 (ORCPT + 99 others); Wed, 9 Jan 2019 11:37:57 -0500 Received: from mail-lf1-f66.google.com ([209.85.167.66]:34068 "EHLO mail-lf1-f66.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726521AbfAIQh5 (ORCPT ); Wed, 9 Jan 2019 11:37:57 -0500 Received: by mail-lf1-f66.google.com with SMTP id p6so6142449lfc.1 for ; Wed, 09 Jan 2019 08:37:56 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=hpOd4KOhVWXZ0ZdlLnkpFIAFTQUwdhkSA+jWkyxu/bA=; b=NfJyBJNP+A2pxkF+NsTb0axj1JVmsIGePDLjWasCKbvY5Oeo0W/6duHA2+9VddhYlW 8bP8ubvLP90Vd2INGZACF6/6xTGGxLbW9gk6uTzoCrnEQv83HfuR2hzwoPYd2VA3BVcH yaijCSepdsAun5H/62Z9sg/AIE2NEfT4xpGIKQuAk2TN/CCRgx5zJ8NmaeGe2BxP1OOg UTZ8z0MiecvrSiMijqhYWg3qYudIctW+LbS6YGn3qLpwVKWn/wC9kUf8WHj0wBf2BoVI ajpecRIoc11UA+gqFAEo+eJLNhmRJuLz3LlnEEXgULyF9Tk/k32e1KELSsNI/8OC6VKp Trtg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=hpOd4KOhVWXZ0ZdlLnkpFIAFTQUwdhkSA+jWkyxu/bA=; b=AyDxZ/ecSpnSHCRa4bCU0lRlTeoJOXzMhcEa8PC7bl7OqjP3oWz6nWMwpPUnWvKX6L CKGP5R16bhXPPznIjWtZNlBOVTa+NfRnDRw7FCoSDYOnDK2ysgbsn0AcEe/OFky1gcFk 1l2H5Ks5//pz8oqfo7DN3RepHtvZOjCcLVfjRmmIdLfjHjMIg9MDu4SiLOZAToYHwTMo +1gHVM6eQjw0q/0VAiz0P2l+GelN/plrOAO92t5pxgKsm9NS7+Rm7rZwdqlkk5nzbbDM z6ePGOgJ0MJ2+uqFQD1LgEoWX0S+aeOoYXbBkRm0kWkLFbcGHEbx24g8ZyR+RZysXFMx 87SA== X-Gm-Message-State: AJcUukcffXS7ge3utb3WPNqQ9wif5MHtgzliRiGV+VikQAmDp6YYN8r2 1V//ScE1zH66e83cJUWmzHSvydNbOHKiGovFPH4= X-Received: by 2002:a19:2906:: with SMTP id p6mr3756886lfp.17.1547051875267; Wed, 09 Jan 2019 08:37:55 -0800 (PST) MIME-Version: 1.0 References: <20190109161916.GA23410@jordon-HP-15-Notebook-PC> <20190109162332.GL6310@bombadil.infradead.org> In-Reply-To: <20190109162332.GL6310@bombadil.infradead.org> From: Souptick Joarder Date: Wed, 9 Jan 2019 22:11:46 +0530 Message-ID: Subject: Re: [PATCH] include/linux/hmm.h: Convert to use vm_fault_t To: Matthew Wilcox Cc: Andrew Morton , jglisse@redhat.com, Linux-MM , linux-kernel@vger.kernel.org, Dan Williams Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, Jan 9, 2019 at 9:53 PM Matthew Wilcox wrote: > > On Wed, Jan 09, 2019 at 09:49:17PM +0530, Souptick Joarder wrote: > > convert to use vm_fault_t type as return type for > > fault handler. > > I think you'll also need to convert hmm_devmem_fault(). And that's > going to lead to some more spots. I will add it in v2. > > (It's important to note that this is the patch working as designed. It's > throwing up warnings where code *hasn't* been converted to vm_fault_t yet > but should have been). Ok.