Received: by 2002:ac0:a594:0:0:0:0:0 with SMTP id m20-v6csp1957699imm; Thu, 24 May 2018 03:35:50 -0700 (PDT) X-Google-Smtp-Source: AB8JxZph7m7tMYK51qdbreIsELe57cdMpsJgqTGqhU/b2vop7GGmRW50bO6wFZUY4P9nPuBvl5YZ X-Received: by 2002:a17:902:a60d:: with SMTP id u13-v6mr6831850plq.40.1527158149958; Thu, 24 May 2018 03:35:49 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1527158149; cv=none; d=google.com; s=arc-20160816; b=LFMa2rItxh/D7PIlXDHXk6g0OpCz9NSq0hn8SYls7KjeG2FmjvoNtIZdND7RJOgaX/ 3raU38GTc8NI+XtcGZanDt+jn2mSzZ1IWRuvoTGuGcoKR9Ubj5QibthcvPn2uS+F8zMh vJwEHEEZPmGvWp0L/riFmmH83+V19y2jsAmAMrrfCoynLj3I2Ln8T3CMBGjzq1WXjv3R pLni8ux6QIWfXJAq0hXr7vPBi+HTUQHzWvz/HBfXMNIAmCy34z62mNB2cWd5EqabmZZw Qxzxtp+HSsJ+YWP4BmkIVuMeeOpdE6thVh0OqY8kt17x7WB8+WFpTTm+E9g0EsdkVw0H aZAg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:user-agent:references :in-reply-to:message-id:date:subject:cc:to:from:dkim-signature :arc-authentication-results; bh=HmGvQFbIMYIbcWkEys+ZfQ/hQMx/ihJZlfZqzTs+Tbs=; b=gOYbWrawm/plTwFct1WAy0OExZcnjZAe5zmsG8DZymS7KLQMeD652u74ccHl40tdnI cOBL4JNLbLbA7iYGFPaXmcZX3MQwsldqCyZjmdtV/Zve66NYFD6bhPuugN9/i18MsHbD /s+CwbhrUk3Nymt5smVUVgMKSWOutQUfDIlZgCKI/3hIZNxOFKO543S/jrHi/Zag4sd0 jILPi8qzdrOaiOmQ0KHayXDZPqwEPY4b3GtsS0PYNrFWsCYxt9An8qnQazjGjgTdVCYI Z3rKBVTBmtYTiu2jf23YVLjEbKtZBs9a3Z6c+ROj7K5PROwzZCfTW7ct4aedvFuQpFCS MsHg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=KN0sxxzN; 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 h12-v6si21215637pfd.253.2018.05.24.03.35.35; Thu, 24 May 2018 03:35:49 -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=KN0sxxzN; 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 S968531AbeEXKet (ORCPT + 99 others); Thu, 24 May 2018 06:34:49 -0400 Received: from mail.kernel.org ([198.145.29.99]:42656 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S968314AbeEXKA0 (ORCPT ); Thu, 24 May 2018 06:00:26 -0400 Received: from localhost (LFbn-1-12247-202.w90-92.abo.wanadoo.fr [90.92.61.202]) (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 EB03220890; Thu, 24 May 2018 10:00:23 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1527156024; bh=o8Mm9o8gziNKiHtFXYvPNx5DH+YT9eqj2lEav7w7/u0=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=KN0sxxzNHoFhB3AXf22Zxpa4OsxdxOOjwu1g0xT7zEDqfEf64QuDjyzutndOHgCOP 4xqaNbREqH30I8Vbgwc+6BIfToiv2OgFK3XNyX+OO8jv0L61M7CpZd3g+xkg6fTtbo 3X4JWv75HE7xAXcii1AC2W5sZGQFNsLUoseeX9j0= From: Greg Kroah-Hartman To: linux-kernel@vger.kernel.org, greg@kroah.com Cc: Greg Kroah-Hartman , stable@vger.kernel.org, Michael Ellerman Subject: [PATCH 4.16 037/161] powerpc/pseries: Add new H_GET_CPU_CHARACTERISTICS flags Date: Thu, 24 May 2018 11:37:42 +0200 Message-Id: <20180524093022.815286667@linuxfoundation.org> X-Mailer: git-send-email 2.17.0 In-Reply-To: <20180524093018.331893860@linuxfoundation.org> References: <20180524093018.331893860@linuxfoundation.org> User-Agent: quilt/0.65 X-stable: review MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 4.16-stable review patch. If anyone has any objections, please let me know. ------------------ From: Michael Ellerman commit c4bc36628d7f8b664657d8bd6ad1c44c177880b7 upstream. Add some additional values which have been defined for the H_GET_CPU_CHARACTERISTICS hypercall. Signed-off-by: Michael Ellerman Signed-off-by: Greg Kroah-Hartman --- arch/powerpc/include/asm/hvcall.h | 3 +++ 1 file changed, 3 insertions(+) --- a/arch/powerpc/include/asm/hvcall.h +++ b/arch/powerpc/include/asm/hvcall.h @@ -337,6 +337,9 @@ #define H_CPU_CHAR_L1D_FLUSH_ORI30 (1ull << 61) // IBM bit 2 #define H_CPU_CHAR_L1D_FLUSH_TRIG2 (1ull << 60) // IBM bit 3 #define H_CPU_CHAR_L1D_THREAD_PRIV (1ull << 59) // IBM bit 4 +#define H_CPU_CHAR_BRANCH_HINTS_HONORED (1ull << 58) // IBM bit 5 +#define H_CPU_CHAR_THREAD_RECONFIG_CTRL (1ull << 57) // IBM bit 6 +#define H_CPU_CHAR_COUNT_CACHE_DISABLED (1ull << 56) // IBM bit 7 #define H_CPU_BEHAV_FAVOUR_SECURITY (1ull << 63) // IBM bit 0 #define H_CPU_BEHAV_L1D_FLUSH_PR (1ull << 62) // IBM bit 1