[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH] x86/cet: Support cet=<bool> on the command line
- To: Roger Pau Monne <roger.pau@xxxxxxxxxx>
- From: Andrew Cooper <Andrew.Cooper3@xxxxxxxxxx>
- Date: Fri, 29 Apr 2022 09:24:19 +0000
- Accept-language: en-GB, en-US
- Arc-authentication-results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=citrix.com; dmarc=pass action=none header.from=citrix.com; dkim=pass header.d=citrix.com; arc=none
- Arc-message-signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=HdFr8Kc9VqJtpgK/0qyp9Qiw85M3ULywxuFXxlSrkPo=; b=fOmap+Q+JxCyPPOgY7RguqyG5EV1UEMmDV1gYo1iahxJyePEf7jI9JzysIJvxKoCsyIRiydFEuUUlRGbQ28U82tXxpcHQPftDHg1Sj/uSwoeGHL4BiTYAB/TsNmSdpR/ebj2bbAbC4WE/glt0ZPDYDm4FwIYPCyg8RhabryIRfDbxRAljBO3MZnRXj2mpbSUXmmAmkLCUrtYWUTnp3nkx7WU5P+RPSPPSgQ1OkqaLcH/r+5s6TAuvgvVY0rD9mdHZl+GeIyiK7RGdeNk1PZM4WgndwGyccJw9Px3RBnt0ZQaIx/3mXN3RXjM19yBF25mYNisdjtL+k8JLOztp4cR3A==
- Arc-seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=LhePOq1uKf5GQFTAkPcjlS21E8dKpLUBQpkJZqxScpsTm1KjJx5kFLYCcLoCSki/BUcmVHaO1b50of7L7KN9RWHJnhGeZ5aiq5QykcIKDl1JAp0AJx1DBmh7PwA+hBlknl+cUOr8nNSqUu1G6nA10fmyzVsOwKawjfuMazeVg3Wg4xkS+dg+H4GFkiohqghbEpWA+VTgTccY1HLSaH4kneA0SL82oALHS28HuectDa7ce0zigBzG4o3DY0XZ6jE4hutxdkX5J2qwHC75leGLg51BXLwykNyhsxtFBQGICSq/6Hu+bgHDp8Y4P/pbMmRL/h86WAVJktEaL4Ltwqpi3g==
- Authentication-results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=citrix.com;
- Cc: Xen-devel <xen-devel@xxxxxxxxxxxxxxxxxxxx>, Jan Beulich <JBeulich@xxxxxxxx>, Wei Liu <wl@xxxxxxx>
- Delivery-date: Fri, 29 Apr 2022 09:24:41 +0000
- Ironport-data: A9a23:YJGmP6DFJauuVhVW/1viw5YqxClBgxIJ4kV8jS/XYbTApD8n0GEBm GQYCG6DP63eYDTxf4x2OY22/E0BsJXcz99hQQY4rX1jcSlH+JHPbTi7wuYcHM8wwunrFh8PA xA2M4GYRCwMZiaA4E/raNANlFEkvU2ybuOU5NXsZ2YgHGeIdA970Ug5w7Jj09Yx6TSEK1jlV e3a8pW31GCNg1aYAkpMg05UgEoy1BhakGpwUm0WPZinjneH/5UmJMt3yZWKB2n5WuFp8tuSH I4v+l0bElTxpH/BAvv9+lryn9ZjrrT6ZWBigVIOM0Sub4QrSoXfHc/XOdJFAXq7hQllkPhQ8 dl/vq2/TT0bHfeXmOE2eUkbMiVHaPguFL/veRBTsOS15mifKT7G5aUrC0s7e4oF5uxwHGdCs +QCLywAZQyCgOTwx6+nTu5rhYIoK8yD0IE34yk8i22GS6t7B8mcGM0m5vcBtNs0rulIEezTe Iwybj13YQ6bSxZOJk0WGNQ1m+LAanzXLGUC8QzM9fRfD2774gpQzr/tDufpZuOVHZhZjAHGu WbMxjGsav0dHJnFodafyVq8i+mKkS7lVYY6ELyj6uUskFCV3nYUChAdSR28u/bRomyUVs9bK kcU0jEztqV0/0uuJvHiWzWorXjCuQQTM+e8CMU/4QCJj6DSswCQAzFeSiYbMYN98sgrWTYty 1mF2cvzAiBiu6GUTnTb8aqIqTS1Om4eKmpqiTI4cDbpKuLL+Okb5i8jhP46TMZZUvWd9enM/ g23
- Ironport-hdrordr: A9a23:l0vuA6B7olVY6FrlHej8sseALOsnbusQ8zAXPh9KJCC9I/bzqy nxpp8mPEfP+U0ssHFJo6HiBEEZKUmsuqKdkrNhR4tKOzOW9ldATbsSobcKpgeNJ8SQzJ876U 4NSclD4ZjLfCBHZKXBkUiF+rQbsb+6GcmT7I+woUuFDzsaEp2IhD0JaDpzZ3cGIDWucqBJca Z0iPAmmxOQPVAsKuirDHgMWObO4/fRkoj9XBIADxk7rCGTkDKB8tfBYlul9yZbdwkK7aYp8G DDnQC8zL6kqeuHxhjV0HKWx4hKmeHm1sBICKW3+4oow3TX+0OVjbZaKvq/VQMO0aeSAZER4Y DxSiIbToBOArXqDzmISFXWqlLdOX0VmgLfIBej8AfeSIrCNXIH4oN69PxkmlGy0TtegPhslK 1MxG6XrJxREFfJmzn8/cHBU1VwmlOzumdKq59Zs5Vza/pWVFZql/1WwKqVKuZ0IAvqrIQ8VO V+BsDV4/hbNVuccnDCp2FqhNihRG46EBuKSlUL/pX96UkaoFlpi08DgMAPlHYJ85wwD5FC+u TfK6xt0LVDVNUfY65xDPoIBcG3FmvOSxTRN3/6GyWsKIgXf3bW75Ln6rQ84++nPJQO0ZspgZ zEFEhVsGYjEnief/FnkPZwg2LwqaWGLEPQI+1lluhEU+fHNcvW2AW4OSMTutrlpekDCcvGXP v2MI5KApbYXB/TJbo=
- List-id: Xen developer discussion <xen-devel.lists.xenproject.org>
- Thread-index: AQHYWt1N9h0ywB7VLke90Ph7I2J/jK0FDHAAgAGTo4A=
- Thread-topic: [PATCH] x86/cet: Support cet=<bool> on the command line
On 28/04/2022 10:19, Roger Pau Monné wrote:
> On Thu, Apr 28, 2022 at 09:52:09AM +0100, Andrew Cooper wrote:
>> ... as a shorthand for setting both suboptions at once.
>>
>> Signed-off-by: Andrew Cooper <andrew.cooper3@xxxxxxxxxx>
> Reviewed-by: Roger Pau Monné <roger.pau@xxxxxxxxxx>
Thanks.
>
> From the implementation below we would support settings like:
>
> cet=true,shstk=false
>
> Which I think it's indented? Have a global default for all options,
> set some to a different value.
That's how all list options work, and it's also equivalent to
cet=true cet=shstk=false
Options can be given multiple time, and are parsed left to right with
the latest setting taking precedence.
~Andrew
|