[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Xen-devel] [PATCH v1] x86/altp2m: Add hypercall to create a new view and set sve bits
- To: Alexandru Stefan ISAILA <aisaila@xxxxxxxxxxxxxxx>, "xen-devel@xxxxxxxxxxxxxxxxxxxx" <xen-devel@xxxxxxxxxxxxxxxxxxxx>
- From: Julien Grall <Julien.Grall@xxxxxxx>
- Date: Thu, 5 Sep 2019 08:02:56 +0000
- Accept-language: en-US
- Arc-authentication-results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=arm.com; dmarc=pass action=none header.from=arm.com; dkim=pass header.d=arm.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-SenderADCheck; bh=/XzLZizWe5rjebi7OjUDa++SzmwHsm1OGPs51xJv8js=; b=LQZegjWYohwfvas74HCdikgbgKIdIDFt8itRKLSI5/TPlwdn4FNWsPR/di9NhjV0RNY/Qm8sUo42JRm40MQgr2+9ElYYdIP1mTVVtGx1D1uMOTdsaJ+hJi2vaVgBKalN7ytgnO8toZBIFN7WL3PX+s3iuN3mbCnNdBK7pc+WfhFgG3w5p3Tz/dY4vpNiLTP0e7AIQ3xzzBrSCTpnD754zkwlA5x7s/uq777Ni7uE/70v9HTTf6ZumzH+iI5syt42QM0WzX/jw6C/gTbhlbfKEE9JlgHQ9cEDXA0SARvLZIuz5malEUWTZnAMa8e4pZPotK3yxQEObiyu2Qfsnur4Ow==
- Arc-seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=dvtOmCyYrjlZUsU1yAzuXz7zZz1J9XPr4NZ25QOOG8giihbmDyBIZH1yVoqSXHH+/G7SL71AzwRUIhW4m9cFuFWyjaoQCWz0arPS/E8/WXnvjk+QxQPAg7Q7Esuq/cvUa1bpIM/UjLncXVgDfihPbQjhnfJWrYxd8t/z7OpbLwod13X9+YYTHNbeZZiwTM8B5bQWEX3VC2S6gEjac8OBmaPoXBCFz7AU0SHQNUxjoDRLU6n4OCfZ4NYMekq2BPFdqbHQpKpGyL2Nj5RqB9MD0p7Tx9/E2s350sMXB3eTzSePTZTx4D2il1fGN0ujqBUCLkcgRO3jV0gBlUxwH9SApA==
- Authentication-results: spf=temperror (sender IP is 63.35.35.123) smtp.mailfrom=arm.com; lists.xenproject.org; dkim=pass (signature was verified) header.d=armh.onmicrosoft.com; lists.xenproject.org; dmarc=temperror action=none header.from=arm.com;
- Authentication-results-original: spf=none (sender IP is ) smtp.mailfrom=Julien.Grall@xxxxxxx;
- Cc: "kevin.tian@xxxxxxxxx" <kevin.tian@xxxxxxxxx>, "sstabellini@xxxxxxxxxx" <sstabellini@xxxxxxxxxx>, "jun.nakajima@xxxxxxxxx" <jun.nakajima@xxxxxxxxx>, "wl@xxxxxxx" <wl@xxxxxxx>, "konrad.wilk@xxxxxxxxxx" <konrad.wilk@xxxxxxxxxx>, "George.Dunlap@xxxxxxxxxxxxx" <George.Dunlap@xxxxxxxxxxxxx>, "andrew.cooper3@xxxxxxxxxx" <andrew.cooper3@xxxxxxxxxx>, "ian.jackson@xxxxxxxxxxxxx" <ian.jackson@xxxxxxxxxxxxx>, "tim@xxxxxxx" <tim@xxxxxxx>, "jbeulich@xxxxxxxx" <jbeulich@xxxxxxxx>, nd <nd@xxxxxxx>, "roger.pau@xxxxxxxxxx" <roger.pau@xxxxxxxxxx>
- Delivery-date: Thu, 05 Sep 2019 08:03:31 +0000
- List-id: Xen developer discussion <xen-devel.lists.xenproject.org>
- Nodisclaimer: True
- Original-authentication-results: spf=none (sender IP is ) smtp.mailfrom=Julien.Grall@xxxxxxx;
- Thread-index: AQHVYWYIdb/r2yKq9kGUPnrK2APIqqccvdUA
- Thread-topic: [PATCH v1] x86/altp2m: Add hypercall to create a new view and set sve bits
Hi,
On 02/09/2019 09:11, Alexandru Stefan ISAILA wrote:
> By default the sve bits are not set.
While altp2m is currently only supported for x86 (though I am aware of
some port for Arm), this patch extends an interface that is meant to be
arch-agnostic. So what does "sve" stands for?
> diff --git a/xen/include/public/hvm/hvm_op.h b/xen/include/public/hvm/hvm_op.h
> index c6cd12f596..924d947e78 100644
> --- a/xen/include/public/hvm/hvm_op.h
> +++ b/xen/include/public/hvm/hvm_op.h
> @@ -244,6 +244,7 @@ struct xen_hvm_altp2m_view {
> /* Create view only: default access type
> * NOTE: currently ignored */
> uint16_t hvmmem_default_access; /* xenmem_access_t */
> + uint8_t set_sve; /* bool value */
Do we expect more "default" to be override? It might be worth
considering to introduce flags rather than waste 8-bits per new default
that can be encoded in 1-bit.
Cheers
--
Julien Grall
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxxx
https://lists.xenproject.org/mailman/listinfo/xen-devel
|