[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH v5 04/12] libx86: introduce helper to fetch msr entry


  • To: Roger Pau Monne <roger.pau@xxxxxxxxxx>
  • From: Jan Beulich <jbeulich@xxxxxxxx>
  • Date: Mon, 6 Dec 2021 15:34:18 +0100
  • Arc-authentication-results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=suse.com; dmarc=pass action=none header.from=suse.com; dkim=pass header.d=suse.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=DDU6h2HZbLdF/32bzQjhs6Ad2vWnmia5jq3SOr8EQGw=; b=hckkX4bAmAzgv1kBjH1OvN0AIa0YwZ1o8L1wFpBYjV1Xsq/DRmIcvsc8ZOoD4iEoKMpyT/7fIkK/xvV77VCftOH0CvIrISqnokqnE9fDE73+6yajU+YEwU5zx8FsjRGOH6A23A+qwiruymLfSvO+RYRwSBecDjXhohjpKyCa6QQuTjPh9H0yq5qYF2aqq4ai13XLMMrOKGQ2VoxxYv7NusxjrNssUrYMC7tOBPRLgSEeyGc0Cw9Lddw0FdSe9P/A6L2s5dxn5i9pDvtcAX2bb8lrzsSg2HhXw9Dwlc0McIU4Sgtk+UhpYPSLQDIKV7dHXOQcxZ4Iwj7QUDLGl05mwQ==
  • Arc-seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=Q4AZKy15E+JiLI6bjJBPEyIeipuVUsbRS8zKZsylDOI8iZoJ2GlN5GR38hhF/yDFTca0K0/B4I4CIiElPWrou24BD+R+xPmKeMwgX12MyBYQnw5bCJbKne8YYntBgtFfL50UPmUBXPjHn32Y5jDQPFrlLpOz1RweJzQnDlS6tXW5B5I+L5hLuCwA3foi/XSoVbdFARTUoF+2mtpwKQglgDlzE+CN+cFrFK7jdgPlQhpejVs2B+soS600axhqaXJqIXpjsgLC4M/f4K+Vdsn+yJtNSYNgmlMYzNwb6aLcYo5jFjNVupi/Fl13q3lNFGK9Mz4z0n7GjYxLvLDDqX8lHQ==
  • Authentication-results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=suse.com;
  • Cc: Andrew Cooper <andrew.cooper3@xxxxxxxxxx>, Wei Liu <wl@xxxxxxx>, Ian Jackson <iwj@xxxxxxxxxxxxxx>, xen-devel@xxxxxxxxxxxxxxxxxxxx
  • Delivery-date: Mon, 06 Dec 2021 14:34:35 +0000
  • List-id: Xen developer discussion <xen-devel.lists.xenproject.org>

On 29.11.2021 16:33, Roger Pau Monne wrote:
> --- a/tools/tests/cpu-policy/test-cpu-policy.c
> +++ b/tools/tests/cpu-policy/test-cpu-policy.c
> @@ -386,16 +386,6 @@ static void test_msr_deserialise_failure(void)
>              .msr = { .idx = 0xce, .flags = 1 },
>              .rc = -EINVAL,
>          },
> -        {
> -            .name = "truncated val",
> -            .msr = { .idx = 0xce, .val = ~0ull },
> -            .rc = -EOVERFLOW,
> -        },
> -        {
> -            .name = "truncated val",
> -            .msr = { .idx = 0x10a, .val = ~0ull },
> -            .rc = -EOVERFLOW,
> -        },
>      };

Why is this removal necessary? I don't think any of the additions further
down actually replaces these.

Jan




 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.