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=-8.8 required=3.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_CR_TRAILER, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS autolearn=ham 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 14AE7C48BDF for ; Sun, 13 Jun 2021 08:55:13 +0000 (UTC) Received: from kanga.kvack.org (kanga.kvack.org [205.233.56.17]) by mail.kernel.org (Postfix) with ESMTP id 84F986109F for ; Sun, 13 Jun 2021 08:55:12 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 84F986109F Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=linux.ibm.com Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=owner-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix) id BDB806B006C; Sun, 13 Jun 2021 04:55:11 -0400 (EDT) Received: by kanga.kvack.org (Postfix, from userid 40) id B8BCE6B006E; Sun, 13 Jun 2021 04:55:11 -0400 (EDT) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id 9E0146B0070; Sun, 13 Jun 2021 04:55:11 -0400 (EDT) X-Delivered-To: linux-mm@kvack.org Received: from forelay.hostedemail.com (smtprelay0212.hostedemail.com [216.40.44.212]) by kanga.kvack.org (Postfix) with ESMTP id 69EAE6B006C for ; Sun, 13 Jun 2021 04:55:11 -0400 (EDT) Received: from smtpin09.hostedemail.com (10.5.19.251.rfc1918.com [10.5.19.251]) by forelay03.hostedemail.com (Postfix) with ESMTP id E6EEA8249980 for ; Sun, 13 Jun 2021 08:55:10 +0000 (UTC) X-FDA: 78248091180.09.CC8929B Received: from mx0a-001b2d01.pphosted.com (mx0b-001b2d01.pphosted.com [148.163.158.5]) by imf12.hostedemail.com (Postfix) with ESMTP id 090A137A for ; Sun, 13 Jun 2021 08:54:59 +0000 (UTC) Received: from pps.filterd (m0098416.ppops.net [127.0.0.1]) by mx0b-001b2d01.pphosted.com (8.16.0.43/8.16.0.43) with SMTP id 15D8nLgV193761; Sun, 13 Jun 2021 04:55:02 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ibm.com; h=from : to : cc : subject : in-reply-to : references : date : message-id : mime-version : content-type; s=pp1; bh=esj5tPQeJcpVec3YFOVQCWEg/G/ACHW+fjAwIVzKyGE=; b=E+aLP59bKP9foOqTDO8Dvr2hHt/84XVZGP4VheKc6ECvV9tSZglRf2KpGTSZYObZiHJO Qk18MzyqoLpgiBzenb2KoYrMMxRE226ByUkuqANldtlYTV8yWLKNznA6nn8tk0P/d0/+ dWHwsrKThkgjYE5DYShT+Z4yyEviMABkjJdVqoFz1U+fnhwTBvu5uK1SiNfBeh40ZYHS lPQluVLf2raiYgSsfn+uS2zp6A7DB8qRO4yJwhLFCsSBkeuOEt1krT1yOfIvE9YUGHgc AsCHn1RzCgp8HQ9FKDnidcMYxcu7MRuStDELrgk3+sWsCops4AkJwGHAHaoFmctnZFHh Rw== Received: from pps.reinject (localhost [127.0.0.1]) by mx0b-001b2d01.pphosted.com with ESMTP id 395euk8218-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Sun, 13 Jun 2021 04:55:02 -0400 Received: from m0098416.ppops.net (m0098416.ppops.net [127.0.0.1]) by pps.reinject (8.16.0.43/8.16.0.43) with SMTP id 15D8o6mj195548; Sun, 13 Jun 2021 04:55:02 -0400 Received: from ppma04wdc.us.ibm.com (1a.90.2fa9.ip4.static.sl-reverse.com [169.47.144.26]) by mx0b-001b2d01.pphosted.com with ESMTP id 395euk820w-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Sun, 13 Jun 2021 04:55:02 -0400 Received: from pps.filterd (ppma04wdc.us.ibm.com [127.0.0.1]) by ppma04wdc.us.ibm.com (8.16.1.2/8.16.1.2) with SMTP id 15D8qHDt017996; Sun, 13 Jun 2021 08:55:01 GMT Received: from b03cxnp08025.gho.boulder.ibm.com (b03cxnp08025.gho.boulder.ibm.com [9.17.130.17]) by ppma04wdc.us.ibm.com with ESMTP id 394mj8ypj0-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Sun, 13 Jun 2021 08:55:01 +0000 Received: from b03ledav006.gho.boulder.ibm.com (b03ledav006.gho.boulder.ibm.com [9.17.130.237]) by b03cxnp08025.gho.boulder.ibm.com (8.14.9/8.14.9/NCO v10.0) with ESMTP id 15D8t0eW22741264 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Sun, 13 Jun 2021 08:55:00 GMT Received: from b03ledav006.gho.boulder.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id F1C1DC6057; Sun, 13 Jun 2021 08:54:59 +0000 (GMT) Received: from b03ledav006.gho.boulder.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id 78886C6059; Sun, 13 Jun 2021 08:54:54 +0000 (GMT) Received: from skywalker.linux.ibm.com (unknown [9.85.68.237]) by b03ledav006.gho.boulder.ibm.com (Postfix) with ESMTP; Sun, 13 Jun 2021 08:54:54 +0000 (GMT) X-Mailer: emacs 28.0.50 (via feedmail 11-beta-1 I) From: "Aneesh Kumar K.V" To: Dave Hansen , linux-mm@kvack.org Cc: linux-kernel@vger.kernel.org, Dave Hansen , tglx@linutronix.de, linuxram@us.ibm.com, sandipan@linux.ibm.com, akpm@linux-foundation.org, fweimer@redhat.com, desnesn@linux.vnet.ibm.com, mingo@kernel.org, bauerman@linux.ibm.com, mpe@ellerman.id.au, mhocko@kernel.org, msuchanek@suse.de, shuah@kernel.org, x86@kernel.org Subject: Re: [PATCH 0/4] selftests/vm/pkeys: Bug fixes and a new test In-Reply-To: <20210611164153.91B76FB8@viggo.jf.intel.com> References: <20210611164153.91B76FB8@viggo.jf.intel.com> Date: Sun, 13 Jun 2021 14:24:50 +0530 Message-ID: <871r96b0v9.fsf@linux.ibm.com> MIME-Version: 1.0 Content-Type: text/plain X-TM-AS-GCONF: 00 X-Proofpoint-ORIG-GUID: 4PGnVxs3JmjNcpMh8tEmaxzCWjgdiESr X-Proofpoint-GUID: aHKAA9II48l7VeEN5pIxoKV2fFUPT7EP X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10434:6.0.391,18.0.761 definitions=2021-06-13_02:2021-06-11,2021-06-13 signatures=0 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 bulkscore=0 adultscore=0 priorityscore=1501 suspectscore=0 mlxscore=0 mlxlogscore=999 phishscore=0 impostorscore=0 lowpriorityscore=0 clxscore=1011 spamscore=0 malwarescore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2104190000 definitions=main-2106130063 Authentication-Results: imf12.hostedemail.com; dkim=pass header.d=ibm.com header.s=pp1 header.b=E+aLP59b; spf=pass (imf12.hostedemail.com: domain of aneesh.kumar@linux.ibm.com designates 148.163.158.5 as permitted sender) smtp.mailfrom=aneesh.kumar@linux.ibm.com; dmarc=pass (policy=none) header.from=ibm.com X-Rspamd-Server: rspam03 X-Rspamd-Queue-Id: 090A137A X-Stat-Signature: n4mgnhubbzcpfhn6ouzhktdg6383wsup X-HE-Tag: 1623574499-927616 X-Bogosity: Ham, tests=bogofilter, spamicity=0.000000, version=1.2.4 Sender: owner-linux-mm@kvack.org Precedence: bulk X-Loop: owner-majordomo@kvack.org List-ID: Dave Hansen writes: > There has been a lot of activity on the x86 front around the XSAVE > architecture which is used to context-switch processor state (among > other things). In addition, AMD has recently joined the protection > keys club by adding processor support for PKU. > > The AMD implementation helped uncover a kernel bug around the PKRU > "init state", which actually applied to Intel's implementation but > was just harder to hit. This series adds a test which is expected > to help find this class of bug both on AMD and Intel. All the work > around pkeys on x86 also uncovered a few bugs in the selftest. > > Any testing of this new code (especially from my powerpc friends) > would be appreciated. I tested this on ppc64. Tested-by: Aneesh Kumar K.V > > Cc: Thomas Gleixner > Cc: Ram Pai > Cc: Sandipan Das > Cc: Andrew Morton > Cc: Florian Weimer > Cc: "Desnes A. Nunes do Rosario" > Cc: Ingo Molnar > Cc: Thiago Jung Bauermann > Cc: "Aneesh Kumar K.V" > Cc: Michael Ellerman > Cc: Michal Hocko > Cc: Michal Suchanek > Cc: Shuah Khan > Cc: x86@kernel.org