Received: by 2002:a25:86ce:0:0:0:0:0 with SMTP id y14csp1341622ybm; Wed, 22 May 2019 22:43:22 -0700 (PDT) X-Google-Smtp-Source: APXvYqwpG79NBU7uSW6Z9Rvdad7++NNDbq0aLnToHuu7VOuQp3tQJXomd4/z+s4V9I+uEc80wip+ X-Received: by 2002:a17:902:b202:: with SMTP id t2mr93629098plr.69.1558590202017; Wed, 22 May 2019 22:43:22 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1558590202; cv=none; d=google.com; s=arc-20160816; b=OLggmRQPAtETloqHOYIvOpoxHW/rxEVgv9Ne5+cfV1tGIrGHQHhnP+e3xkhIOGytJY jffMwyc+dqjC5Pv13mc3Y8KJcVXTFeH7nMP5uaeQGCDt8EqDAHKQFxkOweP6Vm/sjWZi yu/eA+FdehuJbyLJPiT/XA14YCkLKqqeFhfnsXdc1wljy+MeLi2pgNvng5HMri+mZGaJ uPaeDflvhuH6UQWSQq990nuqIdD2fy6ZNiQosr4FgVaUwwm4jOpGilCesst8gdPNRclq vq6VwM0wPcgjluljif9oYmmlioUXPwU5nX3kX1GBBzGYdwvVyfwG3fhEKxuWZa5SywU3 pygw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:dkim-signature; bh=LOXI6llix8+Pqyf44U8JvRVpwcrHO70kpzMP8ylxY9k=; b=RIySyLuBxT8feyJy7zMPIfKP9pPxr4UvfH6rr7LlDmvzPOex9vcF9myl4wetCMJ33C DogR73RadYIkrIDWWRABicoE0FAzXm2Mhs7lOLGhoz0drLU+oFBq55m/zNkcfOKkctFr GgT2XGggdUTJfvuxQKzdQNOrjVJLrhY/h55XYD41WvrhMbEpA2ewSGTsclL3L8D9brMe wC99nlYNwbhmFn86sd4EzgBEEZnzyZOxE4ZPsLOrbQq/jBQHdGsD7TYXbjH6QZbGfaep wCh0g+e/AL5+RzAGbWqyqkSmv19KQ3vxLVg+DQfWeMsKPD1uetsVn8KqpOaNglSdWbZX 5vRA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=2C2YpKVT; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id y12si18378579pgc.97.2019.05.22.22.43.05; Wed, 22 May 2019 22:43:22 -0700 (PDT) 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=@kernel.org header.s=default header.b=2C2YpKVT; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727032AbfEWFl3 (ORCPT + 99 others); Thu, 23 May 2019 01:41:29 -0400 Received: from mail.kernel.org ([198.145.29.99]:41286 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725806AbfEWFl2 (ORCPT ); Thu, 23 May 2019 01:41:28 -0400 Received: from localhost (83-86-89-107.cable.dynamic.v4.ziggo.nl [83.86.89.107]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id 7F7F821019; Thu, 23 May 2019 05:41:27 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1558590088; bh=rTm2QtayXzOcfjOZGDcaeMQ6Xk5vWjYR34rnIomr6hQ=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=2C2YpKVT+7vclYNs9eGQ+yTBkPooawhkUsGQ9g8TxIwc43XcRJX1idnfMXNvD3im3 jLg6fzuA5eQ0OpYvfWbUWXdUxaiDJYDTLg2iXURniZA+ZuPUoZjmpKw7T42RJSNQ/k dipRY2xmKM43FAG7LusZe2RuZXIzvm5cfsl3q6u8= Date: Thu, 23 May 2019 07:41:25 +0200 From: Greg Kroah-Hartman To: Justin Forbes Cc: LKML , stable@vger.kernel.org, Martin Schwidefsky Subject: Re: [PATCH 5.0 119/123] s390/mm: convert to the generic get_user_pages_fast code Message-ID: <20190523054125.GB16130@kroah.com> References: <20190520115245.439864225@linuxfoundation.org> <20190520115253.074303494@linuxfoundation.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.11.4 (2019-03-13) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, May 22, 2019 at 04:46:16PM -0500, Justin Forbes wrote: > On Mon, May 20, 2019 at 7:30 AM Greg Kroah-Hartman > wrote: > > > > From: Martin Schwidefsky > > > > commit 1a42010cdc26bb7e5912984f3c91b8c6d55f089a upstream. > > > > Define the gup_fast_permitted to check against the asce_limit of the > > mm attached to the current task, then replace the s390 specific gup > > code with the generic implementation in mm/gup.c. > > > > Signed-off-by: Martin Schwidefsky > > Signed-off-by: Greg Kroah-Hartman > > While this code seems to work fine upstream, when backported to 5.0 it > fails to build: > > BUILDSTDERR: In file included from ./include/linux/mm.h:98, > BUILDSTDERR: from mm/gup.c:6: > BUILDSTDERR: mm/gup.c: In function '__get_user_pages_fast': > BUILDSTDERR: ./arch/s390/include/asm/pgtable.h:1277:28: error: too > many arguments to function 'gup_fast_permitted' > BUILDSTDERR: #define gup_fast_permitted gup_fast_permitted > BUILDSTDERR: ^~~~~~~~~~~~~~~~~~ > BUILDSTDERR: mm/gup.c:1856:6: note: in expansion of macro 'gup_fast_permitted' > BUILDSTDERR: if (gup_fast_permitted(start, nr_pages, write)) { > > It is missing upstream commit ad8cfb9c42ef83ecf4079bc7d77e6557648e952b > mm/gup: Remove the 'write' parameter from gup_fast_permitted() Oops, thanks for catching this. I'll go queue this patch up now. greg k-h