Received: by 2002:a25:c205:0:0:0:0:0 with SMTP id s5csp792820ybf; Fri, 28 Feb 2020 07:44:52 -0800 (PST) X-Google-Smtp-Source: APXvYqxDqLo4n7smQv/7zg1NVkelSSgTbTXW1slJJIMX07nRbaTkCbViXIvV7w4RwGZfN3Jf63is X-Received: by 2002:a9d:7083:: with SMTP id l3mr3634860otj.193.1582904691879; Fri, 28 Feb 2020 07:44:51 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1582904691; cv=none; d=google.com; s=arc-20160816; b=KyHmxvpRI1VOGh55C2mGpXMEZPA6/AQ1Jv+XXRoows4mB2dcb481kIFSmq12xZ3db0 lkKz4VNViZLyorX1018bHvx/dCG2W2p/9SeIqK7bco6l/mmbYTUcoFEFl5SC0paF+0A/ oZAD6WEqUjA/kRIXAgdDSFA6VqJJG5dVgcoGg1aX1oZTrFAh3VvTHHR3HlRPsTGyJpb8 xTcSnuIU9V9H9p9pFxntIdzS6j3K6LRNTJRTfmMC4VxF1EGJQTGh44BfY8tYRVI0QwcU Rfzgh1fcujUimcMQJyeDejuWXXjFr/rfQRY650k7uaKTNouoEsJF3ur1L/yA4lCYvHhp rBjQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:message-id:content-transfer-encoding :mime-version:date:subject:cc:to:from; bh=Su5wQRYXBUV4cC46nJGb5g5MQE8Q+BlFztcAi7D029U=; b=St5avQz6lfAvvLrpk7IwXsZMoTuaPBGCR2AhTesPMdGxq1IjeZPBD2xIdb3bArvX52 +F3mfYk57AEvC9oa6NRHgco5a2mMrrbLO+JeJjdZYVvbxS+ghgSjKY14lRZlgyjTnIEZ vwwqNdtvKV4RZf8YsKWOWuyAJVG6en+rFBL9zJitO8j7dH9Z6/akeGb/zrmVBc6y1dVw UK5RWT1R2q9h+ofo/HnyMQu7I4hTj/uCN8W3EV4EhpEap+XJZneRFBBCIJ8p0THbd5Nm QQ4wGTmxjlvPHmDKCM9HT6iw+r4Jn/xxSe5AGfNr3AKxaRRR9orkRyzUnAy5ZElIc5+V hT5w== ARC-Authentication-Results: i=1; mx.google.com; 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=fail (p=NONE sp=NONE dis=NONE) header.from=ibm.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id j11si2064705oie.254.2020.02.28.07.44.39; Fri, 28 Feb 2020 07:44:51 -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; 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=fail (p=NONE sp=NONE dis=NONE) header.from=ibm.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727206AbgB1Pnd (ORCPT + 99 others); Fri, 28 Feb 2020 10:43:33 -0500 Received: from mx0b-001b2d01.pphosted.com ([148.163.158.5]:62694 "EHLO mx0a-001b2d01.pphosted.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1726974AbgB1Pnc (ORCPT ); Fri, 28 Feb 2020 10:43:32 -0500 Received: from pps.filterd (m0098413.ppops.net [127.0.0.1]) by mx0b-001b2d01.pphosted.com (8.16.0.42/8.16.0.42) with SMTP id 01SFYaci044575 for ; Fri, 28 Feb 2020 10:43:31 -0500 Received: from e06smtp03.uk.ibm.com (e06smtp03.uk.ibm.com [195.75.94.99]) by mx0b-001b2d01.pphosted.com with ESMTP id 2yepxpju7j-1 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=NOT) for ; Fri, 28 Feb 2020 10:43:31 -0500 Received: from localhost by e06smtp03.uk.ibm.com with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted for from ; Fri, 28 Feb 2020 15:43:29 -0000 Received: from b06avi18626390.portsmouth.uk.ibm.com (9.149.26.192) by e06smtp03.uk.ibm.com (192.168.101.133) with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted; (version=TLSv1/SSLv3 cipher=AES256-GCM-SHA384 bits=256/256) Fri, 28 Feb 2020 15:43:25 -0000 Received: from d06av26.portsmouth.uk.ibm.com (d06av26.portsmouth.uk.ibm.com [9.149.105.62]) by b06avi18626390.portsmouth.uk.ibm.com (8.14.9/8.14.9/NCO v10.0) with ESMTP id 01SFgQ3b48365950 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Fri, 28 Feb 2020 15:42:26 GMT Received: from d06av26.portsmouth.uk.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id 3A054AE045; Fri, 28 Feb 2020 15:43:24 +0000 (GMT) Received: from d06av26.portsmouth.uk.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id 6CD88AE04D; Fri, 28 Feb 2020 15:43:23 +0000 (GMT) Received: from p-imbrenda.emea.ibm.com (unknown [9.145.11.131]) by d06av26.portsmouth.uk.ibm.com (Postfix) with ESMTP; Fri, 28 Feb 2020 15:43:23 +0000 (GMT) From: Claudio Imbrenda To: linux-next@vger.kernel.org, akpm@linux-foundation.org Cc: borntraeger@de.ibm.com, david@redhat.com, aarcange@redhat.com, linux-mm@kvack.org, frankja@linux.ibm.com, sfr@canb.auug.org.au, jhubbard@nvidia.com, linux-kernel@vger.kernel.org, linux-s390@vger.kernel.org Subject: [RFC v1 0/2] add callbacks for inaccessible pages Date: Fri, 28 Feb 2020 16:43:19 +0100 X-Mailer: git-send-email 2.24.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-TM-AS-GCONF: 00 x-cbid: 20022815-0012-0000-0000-0000038B3506 X-IBM-AV-DETECTION: SAVI=unused REMOTE=unused XFE=unused x-cbparentid: 20022815-0013-0000-0000-000021C7E259 Message-Id: <20200228154322.329228-1-imbrenda@linux.ibm.com> X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10434:6.0.138,18.0.572 definitions=2020-02-28_04:2020-02-28,2020-02-28 signatures=0 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 lowpriorityscore=0 impostorscore=0 phishscore=0 spamscore=0 suspectscore=0 clxscore=1011 bulkscore=0 mlxlogscore=424 priorityscore=1501 mlxscore=0 adultscore=0 malwarescore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2001150001 definitions=main-2002280124 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org This patchset has a fixup for gup/mm, and provides the necessary arch hooks to enable protected virtualization. Claudio Imbrenda (2): mm/gup: fixup for 9947ea2c1e608e32 "mm/gup: track FOLL_PIN pages" mm/gup/writeback: add callbacks for inaccessible pages include/linux/gfp.h | 6 ++++++ mm/gup.c | 24 ++++++++++++++++++++---- mm/page-writeback.c | 5 +++++ 3 files changed, 31 insertions(+), 4 deletions(-) -- 2.24.1