From mboxrd@z Thu Jan 1 00:00:00 1970 Return-path: Received: from userp2120.oracle.com ([156.151.31.85]) by Galois.linutronix.de with esmtps (TLS1.2:RSA_AES_256_CBC_SHA256:256) (Exim 4.80) (envelope-from ) id 1fCyQH-0006tv-AU for speck@linutronix.de; Mon, 30 Apr 2018 04:20:16 +0200 Received: from pps.filterd (userp2120.oracle.com [127.0.0.1]) by userp2120.oracle.com (8.16.0.22/8.16.0.22) with SMTP id w3U2GAV5190366 for ; Mon, 30 Apr 2018 02:20:06 GMT Received: from userv0021.oracle.com (userv0021.oracle.com [156.151.31.71]) by userp2120.oracle.com with ESMTP id 2hmhmfaanc-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK) for ; Mon, 30 Apr 2018 02:20:06 +0000 Received: from aserv0122.oracle.com (aserv0122.oracle.com [141.146.126.236]) by userv0021.oracle.com (8.14.4/8.14.4) with ESMTP id w3U2K5H7025433 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK) for ; Mon, 30 Apr 2018 02:20:05 GMT Received: from abhmp0013.oracle.com (abhmp0013.oracle.com [141.146.116.19]) by aserv0122.oracle.com (8.14.4/8.14.4) with ESMTP id w3U2K5J5014533 for ; Mon, 30 Apr 2018 02:20:05 GMT Date: Sun, 29 Apr 2018 22:20:04 -0400 From: Konrad Rzeszutek Wilk Subject: [MODERATED] Re: [patch V7 13/15] SBB 13 Message-ID: <20180430022004.GB30984@char.us.oracle.com> References: <20180429193045.711908246@linutronix.de> <20180429193938.557096663@linutronix.de> MIME-Version: 1.0 In-Reply-To: <20180429193938.557096663@linutronix.de> Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit To: speck@linutronix.de List-ID: ..snip.. > The common return values are: > > -EINVAL: prctl is not implemented by the architecture > -ENODEV: arg2 is selecting a not supported speculation misfeature > > PR_SET_SPECULATION_CTRL has these additional return values: > > -ERANGE: arg3 is incorrect, i.e. it's not either PR_SPEC_ENABLE or PR_SPEC_DISABLE > -ENXIO: prctl control of the selected speculation misfeature is disabled s/disabled/not available (perhaps due to boot time overrides)/ ?