Received: by 2002:a05:6a10:6744:0:0:0:0 with SMTP id w4csp532212pxu; Wed, 14 Oct 2020 07:29:32 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwE5DBBN4+7Efsiiwj35c3oYCzbtJrTSLZwfundsyH1cEikf6TsQdz4tBHyOu9kzspe3U6d X-Received: by 2002:a17:906:e0c4:: with SMTP id gl4mr5580666ejb.172.1602685771989; Wed, 14 Oct 2020 07:29:31 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1602685771; cv=none; d=google.com; s=arc-20160816; b=XWztM8XLm+0ZpTsWWosJj7ePiXUIEMREZJxDncIXL207mZKuZnV538mngjRf6dB6JS pmcWB+oCNexwo52FmI0cUqiIu9j149VMDBO3fWEgSFw00EliA5PIjyhKb2CZ+qRRS32z IluevdzFwOxdhCKTctKwes4/np8G7jQvEp45FdD/zWGxe5SkS+2RNrFN65e344cBmy84 wFbnSJRiCrKkdXaA7RKZsscL3VBKsTnQCCdmNdZADVNOcIW4iqsbS/d6KyALzIqeSZT8 +tuknlBKuBGJ7AEGNcyYheyWspSAUKZjfDQ/pfvBaMOKE3q71qmzcncpP5JBH862L/ei /lhA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=rg0xSo5FhydTErKxas68rHq7YrKqqteB+Ff0Hk9ivdA=; b=uHzrEapbF2dk0UKL6yINeHj56uJbk5m4xNLuOfqE499O1H99CgIL98Yrf7OnJ3DXAN QoVxbuI9B08u8QF4fB7a7Z2cyBhEhzsxWqM7Hdm6qiU5LWAks8RP3J2w0+/sKjEBYMmx 7lJbKlbv1+H1edNJOuNBQXW14kZG7XAvVc2HzcnykWF/Q0+eqsXItm4PbomnIV95tcNU RAohY6ewypJL4DTUZn6sXacYVgcBEEU54KskE6ndhm/GdhfUep7JhoEsxu181a+cs/av /THFddo1ga4IflmxZP+GnaP4I/dK1+0kgd5OOIKfMiQXOj9Kd86jkX+ODc7YopFdaOl7 1DeA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@oracle.com header.s=corp-2020-01-29 header.b=kDnMN13V; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=oracle.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id j22si2309301edy.100.2020.10.14.07.29.07; Wed, 14 Oct 2020 07:29:31 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@oracle.com header.s=corp-2020-01-29 header.b=kDnMN13V; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=oracle.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727891AbgJNIfN (ORCPT + 99 others); Wed, 14 Oct 2020 04:35:13 -0400 Received: from aserp2120.oracle.com ([141.146.126.78]:38966 "EHLO aserp2120.oracle.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726119AbgJNIfM (ORCPT ); Wed, 14 Oct 2020 04:35:12 -0400 Received: from pps.filterd (aserp2120.oracle.com [127.0.0.1]) by aserp2120.oracle.com (8.16.0.42/8.16.0.42) with SMTP id 09E8YI7M186148; Wed, 14 Oct 2020 08:34:56 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=oracle.com; h=from : to : cc : subject : date : message-id : in-reply-to : references : mime-version : content-transfer-encoding; s=corp-2020-01-29; bh=rg0xSo5FhydTErKxas68rHq7YrKqqteB+Ff0Hk9ivdA=; b=kDnMN13Vj5stPAKXHNwEDiilSWkX29QeVB7JmQd4DssmSHjnD9naTnkqRJg0w/M2j709 ZJ2p8Pcx6mNGDadyWuAN38ICIrNYYbK85i/MEMiqkTMu9x6nW/4cORmqkc2WNp38Ya5E 0Ph7jMwFPplQ4M/pqDnpoTXLMmnoapvm2lEDfaXdICfYZhmFz+FPIvWpWGZNHieLEnbG QEY7CfFl8Yt8TgytJCEE8p4tnQvXFbjZlxLycoskaBgM0WPcNEE/WrehVnHn6uEYXeU3 xL3SbfLHBq41C7pPNkmjnTqX8ybSvgUWNFkOluHwVnj1tGYEeEnwWMegXDmlOzXyT/+U /g== Received: from userp3030.oracle.com (userp3030.oracle.com [156.151.31.80]) by aserp2120.oracle.com with ESMTP id 3434wkp6bh-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=FAIL); Wed, 14 Oct 2020 08:34:56 +0000 Received: from pps.filterd (userp3030.oracle.com [127.0.0.1]) by userp3030.oracle.com (8.16.0.42/8.16.0.42) with SMTP id 09E8UZR5111643; Wed, 14 Oct 2020 08:32:55 GMT Received: from aserv0122.oracle.com (aserv0122.oracle.com [141.146.126.236]) by userp3030.oracle.com with ESMTP id 343pvxfsma-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Wed, 14 Oct 2020 08:32:55 +0000 Received: from abhmp0014.oracle.com (abhmp0014.oracle.com [141.146.116.20]) by aserv0122.oracle.com (8.14.4/8.14.4) with ESMTP id 09E8WnHu021251; Wed, 14 Oct 2020 08:32:49 GMT Received: from monad.ca.oracle.com (/10.156.74.184) by default (Oracle Beehive Gateway v4.0) with ESMTP ; Wed, 14 Oct 2020 01:32:49 -0700 From: Ankur Arora To: linux-kernel@vger.kernel.org, linux-mm@kvack.org Cc: kirill@shutemov.name, mhocko@kernel.org, boris.ostrovsky@oracle.com, konrad.wilk@oracle.com, Ankur Arora , Thomas Gleixner , Ingo Molnar , Borislav Petkov , x86@kernel.org, "H. Peter Anvin" , Tony Luck , Pawan Gupta , Josh Poimboeuf , "Peter Zijlstra (Intel)" , Mark Gross , Kim Phillips , Vineela Tummalapalli , Wei Huang Subject: [PATCH 1/8] x86/cpuid: add X86_FEATURE_NT_GOOD Date: Wed, 14 Oct 2020 01:32:52 -0700 Message-Id: <20201014083300.19077-2-ankur.a.arora@oracle.com> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20201014083300.19077-1-ankur.a.arora@oracle.com> References: <20201014083300.19077-1-ankur.a.arora@oracle.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Proofpoint-Virus-Version: vendor=nai engine=6000 definitions=9773 signatures=668681 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 spamscore=0 mlxscore=0 adultscore=0 bulkscore=0 mlxlogscore=999 suspectscore=0 malwarescore=0 phishscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2009150000 definitions=main-2010140061 X-Proofpoint-Virus-Version: vendor=nai engine=6000 definitions=9773 signatures=668681 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 lowpriorityscore=0 mlxscore=0 malwarescore=0 phishscore=0 suspectscore=0 impostorscore=0 clxscore=1011 spamscore=0 priorityscore=1501 bulkscore=0 adultscore=0 mlxlogscore=999 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2009150000 definitions=main-2010140062 Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Enabled on microarchitectures with performant non-temporal MOV (MOVNTI) instruction. Signed-off-by: Ankur Arora --- arch/x86/include/asm/cpufeatures.h | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/x86/include/asm/cpufeatures.h b/arch/x86/include/asm/cpufeatures.h index 7b0afd5e6c57..8bae38240346 100644 --- a/arch/x86/include/asm/cpufeatures.h +++ b/arch/x86/include/asm/cpufeatures.h @@ -289,6 +289,7 @@ #define X86_FEATURE_FENCE_SWAPGS_KERNEL (11*32+ 5) /* "" LFENCE in kernel entry SWAPGS path */ #define X86_FEATURE_SPLIT_LOCK_DETECT (11*32+ 6) /* #AC for split lock */ #define X86_FEATURE_PER_THREAD_MBA (11*32+ 7) /* "" Per-thread Memory Bandwidth Allocation */ +#define X86_FEATURE_NT_GOOD (11*32+ 8) /* Non-temporal instructions perform well */ /* Intel-defined CPU features, CPUID level 0x00000007:1 (EAX), word 12 */ #define X86_FEATURE_AVX512_BF16 (12*32+ 5) /* AVX512 BFLOAT16 instructions */ -- 2.9.3