Received: by 2002:ac0:a5a7:0:0:0:0:0 with SMTP id m36-v6csp302399imm; Tue, 24 Jul 2018 19:45:23 -0700 (PDT) X-Google-Smtp-Source: AAOMgpdMIXXikBMplh3Y9Wac4lKlMe/0VdBF2Qb1avnJU5oAZnugi1lAjE08jCfT3VqPBky0s3eS X-Received: by 2002:a63:4d47:: with SMTP id n7-v6mr18568681pgl.270.1532486723266; Tue, 24 Jul 2018 19:45:23 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1532486723; cv=none; d=google.com; s=arc-20160816; b=Cy1J/V7ktNDGxUEWxZy6zApV+kE37pjUaoXZ+3XWzM8l50JdfWCoiCC+tuXps6KtJb Gws0ZwTZw9WZcTMEuMEuD+x2sUOtHQFFJIjFAIi6jBlul9O6i8SZ296/bevmlwdwhlh1 QBPgjA/Ryyu4j2wORWr7miKp11liycoERrWNCiReQabqOg9AWAC8pPwHlonX8bInRCUg YQbWgHlZhLQagINzS/3HIYWKT3dwWvF+7xI8MlDPNah/V7wI7G8vT1qlY3EKlABfKvP2 Q917YMKGAzi3blnMmk9ZULsHwkOg4dOSCUDkR8/Admxw7DqAekv3+zlO8LROZgemZnEJ VNIw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:message-id:date:subject:cc:to:from :arc-authentication-results; bh=nF5lMS9HIgSCvw2M6Q6uCxge7RQKzOZsX57Pe9C5mig=; b=TgYJ58X/NB2xPQaPlIlIPQL2c5OTKgbKm/cE+i5fvUsoPyrTXNGzdec1gaNe/XsGb1 l1YYWJVc0yTf7VAo7ZJFzn0ViFsYhQamw3lrcGj9RBHgB5I+i4qh0t2MW9a4m7dkO+mh /DTNDFwz+XV2eUNUCHozwJh371rI9rd6nkTtbWqYOBk56U4Bn35DUPOco3DtDjTYu1q/ EKQ28dlFqKtUVtv5GXJpiEka28fk6vhiAFoL6vVzwP9ul6BxQo+VoF24v836KT4chgni 1TWtmDjYgm1lhRWAd9UeqMgy83X07p7NZL7IAV5wkJ6sUiQtSB/XPdg16S/zJi9un3Gc BMGw== 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 r21-v6si13102478pgu.55.2018.07.24.19.45.08; Tue, 24 Jul 2018 19:45:23 -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; 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 S2388510AbeGYDxr (ORCPT + 99 others); Tue, 24 Jul 2018 23:53:47 -0400 Received: from mx0a-001b2d01.pphosted.com ([148.163.156.1]:53392 "EHLO mx0a-001b2d01.pphosted.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728073AbeGYDxr (ORCPT ); Tue, 24 Jul 2018 23:53:47 -0400 Received: from pps.filterd (m0098410.ppops.net [127.0.0.1]) by mx0a-001b2d01.pphosted.com (8.16.0.22/8.16.0.22) with SMTP id w6P2hb1D038481 for ; Tue, 24 Jul 2018 22:44:18 -0400 Received: from e31.co.us.ibm.com (e31.co.us.ibm.com [32.97.110.149]) by mx0a-001b2d01.pphosted.com with ESMTP id 2kecp2etvm-1 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=NOT) for ; Tue, 24 Jul 2018 22:44:18 -0400 Received: from localhost by e31.co.us.ibm.com with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted for from ; Tue, 24 Jul 2018 20:44:18 -0600 Received: from b03cxnp08028.gho.boulder.ibm.com (9.17.130.20) by e31.co.us.ibm.com (192.168.1.131) with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted; (version=TLSv1/SSLv3 cipher=AES256-GCM-SHA384 bits=256/256) Tue, 24 Jul 2018 20:44:15 -0600 Received: from b03ledav004.gho.boulder.ibm.com (b03ledav004.gho.boulder.ibm.com [9.17.130.235]) by b03cxnp08028.gho.boulder.ibm.com (8.14.9/8.14.9/NCO v10.0) with ESMTP id w6P2iEiv8585560 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=FAIL); Tue, 24 Jul 2018 19:44:14 -0700 Received: from b03ledav004.gho.boulder.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id 2DE607805E; Tue, 24 Jul 2018 20:44:14 -0600 (MDT) Received: from b03ledav004.gho.boulder.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id 3B70F78060; Tue, 24 Jul 2018 20:44:12 -0600 (MDT) Received: from morokweng.localdomain.com (unknown [9.85.159.138]) by b03ledav004.gho.boulder.ibm.com (Postfix) with ESMTP; Tue, 24 Jul 2018 20:44:11 -0600 (MDT) From: Thiago Jung Bauermann To: linux-kselftest@vger.kernel.org Cc: linux-kernel@vger.kernel.org, Shuah Khan , Andrea Arcangeli , Mike Rapoport , Prakash Sangappa , Thiago Jung Bauermann Subject: [PATCH 0/3] userfaultfd: selftest: Improve behavior with older kernels Date: Tue, 24 Jul 2018 23:42:06 -0300 X-Mailer: git-send-email 2.14.4 X-TM-AS-GCONF: 00 x-cbid: 18072502-8235-0000-0000-00000DD7D9B5 X-IBM-SpamModules-Scores: X-IBM-SpamModules-Versions: BY=3.00009424; HX=3.00000241; KW=3.00000007; PH=3.00000004; SC=3.00000266; SDB=6.01065717; UDB=6.00547467; IPR=6.00843576; MB=3.00022308; MTD=3.00000008; XFM=3.00000015; UTC=2018-07-25 02:44:16 X-IBM-AV-DETECTION: SAVI=unused REMOTE=unused XFE=unused x-cbparentid: 18072502-8236-0000-0000-00004200FE02 Message-Id: <20180725024209.32586-1-bauerman@linux.ibm.com> X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10434:,, definitions=2018-07-24_07:,, signatures=0 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 priorityscore=1501 malwarescore=0 suspectscore=1 phishscore=0 bulkscore=0 spamscore=0 clxscore=1011 lowpriorityscore=0 mlxscore=0 impostorscore=0 mlxlogscore=909 adultscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.0.1-1806210000 definitions=main-1807250027 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hello, A tester ran the upstream selftest on a distro kernel and sounded the alarm when it reported failures for features which aren't included in that kernel. This patch set improves the test behavior in that scenario. Thiago Jung Bauermann (3): userfaultfd: selftest: Fix checking of userfaultfd_open() result userfaultfd: selftest: Skip test if a feature isn't supported userfaultfd: selftest: Report XFAIL if shmem doesn't support zeropage tools/testing/selftests/vm/userfaultfd.c | 49 ++++++++++++++++++++++++-------- 1 file changed, 37 insertions(+), 12 deletions(-)