author int64 658 755k | date stringlengths 19 19 | timezone int64 -46,800 43.2k | hash stringlengths 40 40 | message stringlengths 5 490 | mods list | language stringclasses 20
values | license stringclasses 3
values | repo stringlengths 5 68 | original_message stringlengths 12 491 |
|---|---|---|---|---|---|---|---|---|---|
528,768 | 27.05.2021 13:36:26 | -28,800 | 1a6ead9af56ae94600ef6ceb152459d9dfa21bdc | hv: update RTCT ACPI table detecting
Signature of RTCT ACPI table maybe "PTCT"(v1) or "RTCT"(v2).
and the MAGIC number in CRL header is also changed from "PTCM"
to "RTCM".
This patch refine the code to detect RTCT table for both
v1 and v2. | [
{
"change_type": "MODIFY",
"old_path": "hypervisor/acpi_parser/acpi_ext.c",
"new_path": "hypervisor/acpi_parser/acpi_ext.c",
"diff": "@@ -170,6 +170,10 @@ int32_t acpi_fixup(void)\n}\nrtct_tbl_addr = (uint8_t *)get_acpi_tbl(ACPI_SIG_RTCT);\n+ if (rtct_tbl_addr == NULL) {\n+ rtct_tbl_addr = (uint8_t ... | C | BSD 3-Clause New or Revised License | projectacrn/acrn-hypervisor | hv: update RTCT ACPI table detecting
Signature of RTCT ACPI table maybe "PTCT"(v1) or "RTCT"(v2).
and the MAGIC number in CRL header is also changed from "PTCM"
to "RTCM".
This patch refine the code to detect RTCT table for both
v1 and v2.
Tracked-On: #6020
Signed-off-by: Yonghua Huang <yonghua.huang@intel.com> |
528,751 | 24.05.2021 13:57:49 | -28,800 | c08ceb25c5eabe422d063675080cc035407bede5 | dm: NULL check of vq->used in virtio_net_ping_rxq
Add a check on this place to avoid NULL access issue. | [
{
"change_type": "MODIFY",
"old_path": "devicemodel/hw/pci/virtio/virtio_net.c",
"new_path": "devicemodel/hw/pci/virtio/virtio_net.c",
"diff": "@@ -490,9 +490,11 @@ virtio_net_ping_rxq(void *vdev, struct virtio_vq_info *vq)\n*/\nif (net->rx_ready == 0) {\nnet->rx_ready = 1;\n+ if (vq->used != NULL) ... | C | BSD 3-Clause New or Revised License | projectacrn/acrn-hypervisor | dm: NULL check of vq->used in virtio_net_ping_rxq
Add a check on this place to avoid NULL access issue.
Tracked-On: #6100
Signed-off-by: Jie Deng <jie.deng@intel.com> |
528,730 | 27.05.2021 17:59:38 | 0 | 2247aeed696c5b9506f318bebfdf2d2122019ef3 | config_tools: add RTCT table support in pre-launched VMs
add RTCT table integrated with ACPI binary for pre-launched
VMs. | [
{
"change_type": "MODIFY",
"old_path": "misc/config_tools/acpi_gen/acpi_const.py",
"new_path": "misc/config_tools/acpi_gen/acpi_const.py",
"diff": "@@ -15,7 +15,7 @@ TEMPLATE_ACPI_PATH = os.path.join(VM_CONFIGS_PATH, 'acpi_template', 'template')\nACPI_TABLE_LIST = [('rsdp.asl', 'rsdp.aml'), ('xsdt.a... | C | BSD 3-Clause New or Revised License | projectacrn/acrn-hypervisor | config_tools: add RTCT table support in pre-launched VMs
add RTCT table integrated with ACPI binary for pre-launched
VMs.
Tracked-On: #6015
Signed-off-by: Shuang Zheng <shuang.zheng@intel.com> |
528,768 | 25.05.2021 09:46:58 | -28,800 | 69808297b19fbd0b6dabdcd84f352ef216e0cbda | dm: update vRTCT module to support new vLAPIC solution
Emulation of guest lapic ID has been enhanced to
indicate the topology of vCPU hierarchy.
This patch refine logic to build virtual RCTC_v1 table
of guest to adapt above lapic ID changes.
Acked-by: Yu Wang | [
{
"change_type": "MODIFY",
"old_path": "devicemodel/hw/platform/acpi/rtct.c",
"new_path": "devicemodel/hw/platform/acpi/rtct.c",
"diff": "((uint64_t)e - (uint64_t)rtct) < rtct->length; \\\ne = (struct rtct_entry *)((uint64_t)e + e->size))\n+static uint16_t guest_vcpu_num;\n+static uint32_t guest_lap... | C | BSD 3-Clause New or Revised License | projectacrn/acrn-hypervisor | dm: update vRTCT module to support new vLAPIC solution
Emulation of guest lapic ID has been enhanced to
indicate the topology of vCPU hierarchy.
This patch refine logic to build virtual RCTC_v1 table
of guest to adapt above lapic ID changes.
Tracked-On: #6020
Signed-off-by: Yonghua Huang <yonghua.huang@intel.com... |
528,768 | 27.05.2021 09:14:33 | -28,800 | d0426fd2494f051c7c98f91cde1a443f6ef134fb | dm: add RTCT v2 support for guest
The latest version of RTCT specification is version 2.
This patch is to add RTCT v2 support for virtual RTCT
of guest.
Acked-by: Yu Wang | [
{
"change_type": "MODIFY",
"old_path": "devicemodel/hw/platform/acpi/acpi.c",
"new_path": "devicemodel/hw/platform/acpi/acpi.c",
"diff": "@@ -1161,12 +1161,15 @@ static struct {\nint create_and_inject_vrtct(struct vmctx *ctx)\n{\n#define RTCT_NATIVE_FILE_PATH_IN_SOS \"/sys/firmware/acpi/tables/PTCT\... | C | BSD 3-Clause New or Revised License | projectacrn/acrn-hypervisor | dm: add RTCT v2 support for guest
The latest version of RTCT specification is version 2.
This patch is to add RTCT v2 support for virtual RTCT
of guest.
Tracked-On: #6020
Signed-off-by: Yonghua Huang <yonghua.huang@intel.com>
Acked-by: Yu Wang <yu1.wang@intel.com> |
528,721 | 31.05.2021 01:50:01 | 14,400 | ff2102a5c1e870c347965bf977ae744ab1718d15 | config_tools: replace illegal character with escaped character
For illegal characters, replace original characters with escaped characters in board.xml. | [
{
"change_type": "MODIFY",
"old_path": "misc/config_tools/board_inspector/legacy/parser_lib.py",
"new_path": "misc/config_tools/board_inspector/legacy/parser_lib.py",
"diff": "@@ -125,6 +125,8 @@ def dump_execute(cmd, desc, config):\nres = cmd_execute(cmd)\nwhile True:\nline = res.stdout.readline().... | C | BSD 3-Clause New or Revised License | projectacrn/acrn-hypervisor | config_tools: replace illegal character with escaped character
For illegal characters, replace original characters with escaped characters in board.xml.
Tracked-On: #6113
Signed-off-by: Kunhui Li <kunhuix.li@intel.com> |
528,680 | 02.06.2021 12:25:30 | 25,200 | ad48bf254d390ab0c4b9b2538e9e210581f5c13b | config-tools: update qemu.xml
Make up qemu.xml to compromise the static allocators which use the
new xpath based on board inspector. | [
{
"change_type": "MODIFY",
"old_path": "misc/config_tools/data/qemu/qemu.xml",
"new_path": "misc/config_tools/data/qemu/qemu.xml",
"diff": "<acrn-config board=\"qemu\">\n<BIOS_INFO>\n+ BIOS Information\n+ Vendor: SeaBIOS\n+ Version: 1.13.0-1ubuntu1.1\n+ Release Date: 04/01/2014\n+ BIOS Revision: 0.0... | C | BSD 3-Clause New or Revised License | projectacrn/acrn-hypervisor | config-tools: update qemu.xml
Make up qemu.xml to compromise the static allocators which use the
new xpath based on board inspector.
Tracked-On: #6102
Signed-off-by: Yang,Yu-chu <yu-chu.yang@intel.com> |
528,652 | 29.04.2021 22:58:53 | 25,200 | 4acc65eacc8cf51cac0999dfd8baea929655fb3c | hv: nested: support for INVEPT and INVVPID emulation
invvpid and invept instructions cause VM exits unconditionally.
For initial support, we pass all the instruction operands as is
to the pCPU.
Acked-by: Eddie Dong | [
{
"change_type": "MODIFY",
"old_path": "hypervisor/Makefile",
"new_path": "hypervisor/Makefile",
"diff": "@@ -281,6 +281,7 @@ VP_BASE_C_SRCS += arch/x86/guest/hyperv.c\nendif\nifeq ($(CONFIG_NVMX_ENABLED),y)\nVP_BASE_C_SRCS += arch/x86/guest/nested.c\n+VP_BASE_C_SRCS += arch/x86/guest/vept.c\nendif\... | C | BSD 3-Clause New or Revised License | projectacrn/acrn-hypervisor | hv: nested: support for INVEPT and INVVPID emulation
invvpid and invept instructions cause VM exits unconditionally.
For initial support, we pass all the instruction operands as is
to the pCPU.
Tracked-On: #5923
Signed-off-by: Sainath Grandhi <sainath.grandhi@intel.com>
Signed-off-by: Zide Chen <zide.chen@intel.com>
... |
528,652 | 27.05.2021 14:10:12 | 25,200 | 22d225663f75203e0a479ab2984a3a4b8e0df572 | hv: nested: update run_vcpu() function for nested case
Since L2 guest vCPU mode and VPID are managed by L1 hypervisor, so we
can skip these handling in run_vcpu().
And be careful that we can't cache L2 registers in struct acrn_vcpu.
Acked-by: Eddie Dong | [
{
"change_type": "MODIFY",
"old_path": "hypervisor/arch/x86/guest/vcpu.c",
"new_path": "hypervisor/arch/x86/guest/vcpu.c",
"diff": "@@ -633,7 +633,8 @@ int32_t run_vcpu(struct acrn_vcpu *vcpu)\npr_info(\"VM %d Starting VCPU %hu\",\nvcpu->vm->vm_id, vcpu->vcpu_id);\n- if (vcpu->arch.vpid != 0U) {\n+ ... | C | BSD 3-Clause New or Revised License | projectacrn/acrn-hypervisor | hv: nested: update run_vcpu() function for nested case
Since L2 guest vCPU mode and VPID are managed by L1 hypervisor, so we
can skip these handling in run_vcpu().
And be careful that we can't cache L2 registers in struct acrn_vcpu.
Tracked-On: #5923
Signed-off-by: Zide Chen <zide.chen@intel.com>
Acked-by: Eddie Don... |
528,721 | 01.06.2021 01:02:29 | 14,400 | f97c0d32caca843188d1cecdf00ea1c2a30a50bc | Config_tools: Update tgl-rvp scenario xml
Add CLOS_MASK elements into tgl scenario files as default configuration. | [
{
"change_type": "MODIFY",
"old_path": "misc/config_tools/data/tgl-rvp/hybrid.xml",
"new_path": "misc/config_tools/data/tgl-rvp/hybrid.xml",
"diff": "<RDT>\n<RDT_ENABLED>n</RDT_ENABLED>\n<CDP_ENABLED>n</CDP_ENABLED>\n+ <CLOS_MASK>0xfff</CLOS_MASK>\n+ <CLOS_MASK>0xfff</CLOS_MASK>\n+ <CLOS_MASK>0xfff<... | C | BSD 3-Clause New or Revised License | projectacrn/acrn-hypervisor | Config_tools: Update tgl-rvp scenario xml
Add CLOS_MASK elements into tgl scenario files as default configuration.
Tracked-On: #6120
Signed-off-by: Kunhui Li <kunhuix.li@intel.com> |
528,768 | 02.06.2021 14:45:22 | -28,800 | 4acaeb91bdfb0e90a0b3ef02735981db5ea92e44 | hv: remove unnecessary ASSERT in vlapic_write
vlapic_write handle 'offset' that is valid and ignore
all other invalid 'offset'. so ASSERT on this 'offset'
input is unnecessary.
This patch removes above ASSERT to avoid potential
hypervisor crash by guest malicious input when debug
build is used. | [
{
"change_type": "MODIFY",
"old_path": "hypervisor/arch/x86/guest/vlapic.c",
"new_path": "hypervisor/arch/x86/guest/vlapic.c",
"diff": "@@ -1469,9 +1469,6 @@ static int32_t vlapic_write(struct acrn_vlapic *vlapic, uint32_t offset, uint64_\nuint32_t data32 = (uint32_t)data;\nint32_t ret = 0;\n- ASSER... | C | BSD 3-Clause New or Revised License | projectacrn/acrn-hypervisor | hv: remove unnecessary ASSERT in vlapic_write
vlapic_write handle 'offset' that is valid and ignore
all other invalid 'offset'. so ASSERT on this 'offset'
input is unnecessary.
This patch removes above ASSERT to avoid potential
hypervisor crash by guest malicious input when debug
build is used.
Tracked-On: #61... |
528,768 | 02.06.2021 15:19:15 | -28,800 | 25c0e3817eb332660dd63d1d4522e63dcc94e79a | hv: validate input for dmar_free_irte function
Malicious input 'index' may trigger buffer
overflow on array 'irte_alloc_bitmap[]'.
This patch validate that 'index' shall be
less than 'CONFIG_MAX_IR_ENTRIES' and also
remove unnecessary check on 'index' in
'ptirq_free_irte()' function with this fix. | [
{
"change_type": "MODIFY",
"old_path": "hypervisor/arch/x86/guest/assign.c",
"new_path": "hypervisor/arch/x86/guest/assign.c",
"diff": "@@ -72,7 +72,6 @@ static void ptirq_free_irte(const struct ptirq_remapping_info *entry)\n{\nstruct intr_source intr_src;\n- if (entry->irte_idx < CONFIG_MAX_IR_ENTR... | C | BSD 3-Clause New or Revised License | projectacrn/acrn-hypervisor | hv: validate input for dmar_free_irte function
Malicious input 'index' may trigger buffer
overflow on array 'irte_alloc_bitmap[]'.
This patch validate that 'index' shall be
less than 'CONFIG_MAX_IR_ENTRIES' and also
remove unnecessary check on 'index' in
'ptirq_free_irte()' function with this fix.
Tracked-On: ... |
528,768 | 01.06.2021 10:25:27 | -28,800 | 154fe59531c12b82e26d1b24b5531f5066d224f5 | dm: validate inputs in vq_endchains
inputs shall be validated to avoid NULL pointer access. | [
{
"change_type": "MODIFY",
"old_path": "devicemodel/hw/pci/virtio/virtio.c",
"new_path": "devicemodel/hw/pci/virtio/virtio.c",
"diff": "@@ -647,6 +647,9 @@ vq_endchains(struct virtio_vq_info *vq, int used_all_avail)\nuint16_t event_idx, new_idx, old_idx;\nint intr;\n+ if (!vq || !vq->used)\n+ return... | C | BSD 3-Clause New or Revised License | projectacrn/acrn-hypervisor | dm: validate inputs in vq_endchains
inputs shall be validated to avoid NULL pointer access.
Tracked-On: #6129
Signed-off-by: Yonghua Huang <yonghua.huang@intel.com> |
528,768 | 07.06.2021 15:12:41 | -28,800 | 067cf8aa2c8aef24f8bc51b2500d660481371c71 | dm: fix memory leakage risk in create_and_inject_vrtct
Reading native RTCT failure induces leakage of
memory pointered by 'buf'. | [
{
"change_type": "MODIFY",
"old_path": "devicemodel/hw/platform/acpi/acpi.c",
"new_path": "devicemodel/hw/platform/acpi/acpi.c",
"diff": "@@ -1199,6 +1199,7 @@ int create_and_inject_vrtct(struct vmctx *ctx)\nrc = read(native_rtct_fd, buf, native_rtct_len);\nif (rc < native_rtct_len) {\npr_err(\"Nati... | C | BSD 3-Clause New or Revised License | projectacrn/acrn-hypervisor | dm: fix memory leakage risk in create_and_inject_vrtct
Reading native RTCT failure induces leakage of
memory pointered by 'buf'.
Tracked-On: #6157
Signed-off-by: Yonghua Huang <yonghua.huang@intel.com> |
528,667 | 04.06.2021 09:35:17 | -28,800 | 387ea239619d57d749d0392eea9602c06e46952f | hv: Rename get_ept_entry() to get_eptp()
get_ept_entry() actually returns the EPTP of a VM. So rename it to
get_eptp() for readability.
Acked-by: Eddie Dong | [
{
"change_type": "MODIFY",
"old_path": "doc/developer-guides/hld/hv-memmgt.rst",
"new_path": "doc/developer-guides/hld/hv-memmgt.rst",
"diff": "@@ -440,7 +440,7 @@ EPT\n.. doxygenfunction:: ept_flush_leaf_page\n:project: Project ACRN\n-.. doxygenfunction:: get_ept_entry\n+.. doxygenfunction:: get_ep... | C | BSD 3-Clause New or Revised License | projectacrn/acrn-hypervisor | hv: Rename get_ept_entry() to get_eptp()
get_ept_entry() actually returns the EPTP of a VM. So rename it to
get_eptp() for readability.
Tracked-On: #5923
Signed-off-by: Shuo A Liu <shuo.a.liu@intel.com>
Acked-by: Eddie Dong <eddie.dong@intel.com> |
528,680 | 08.06.2021 14:05:36 | 25,200 | e4ebdfe880f9f2fe31b39c92f2e4d7fc2d6b1869 | config-tools: refine get_pt_intx_table and check_pt_intx
Refine get_pt_intx_table. The method parse the <pt_inx> of scenario and
append the pair of phys_gsi and virt_gsi if there is any.
Refine check_pt_intx. Add a condition that the method returns if the
phys_gsi and virt_gsi are empty dictionary. | [
{
"change_type": "MODIFY",
"old_path": "misc/config_tools/library/common.py",
"new_path": "misc/config_tools/library/common.py",
"diff": "@@ -656,9 +656,6 @@ def get_pt_intx_table(config_file):\n#extract the phys_gsi and virt_gsi pairs between parenthesis to a list\ns = re.findall(r'\\(([^)]+)', s)\... | C | BSD 3-Clause New or Revised License | projectacrn/acrn-hypervisor | config-tools: refine get_pt_intx_table and check_pt_intx
Refine get_pt_intx_table. The method parse the <pt_inx> of scenario and
append the pair of phys_gsi and virt_gsi if there is any.
Refine check_pt_intx. Add a condition that the method returns if the
phys_gsi and virt_gsi are empty dictionary.
Tracked-On: #6178... |
528,728 | 15.04.2021 23:37:54 | -7,200 | 2ec0ee74e1b2e37b66f7f6a217d10a8c55d003ae | doc: update the ACRN on QEMU tutorial to v2.5
Update the "Running ACRN on QEMU" tutorial to be based on ACRN
v2.5 and Ubuntu 20.04. | [
{
"change_type": "MODIFY",
"old_path": "doc/tutorials/acrn_on_qemu.rst",
"new_path": "doc/tutorials/acrn_on_qemu.rst",
"diff": "@@ -11,38 +11,36 @@ with basic functionality such as running Service VM (SOS) and User VM (UOS) for\nThis setup was tested with the following configuration,\n-- ACRN Hyperv... | C | BSD 3-Clause New or Revised License | projectacrn/acrn-hypervisor | doc: update the ACRN on QEMU tutorial to v2.5
Update the "Running ACRN on QEMU" tutorial to be based on ACRN
v2.5 and Ubuntu 20.04.
Signed-off-by: Geoffroy Van Cutsem <geoffroy.vancutsem@intel.com>
Co-authored-by: David Kinder <david.b.kinder@intel.com> |
528,747 | 09.06.2021 11:21:20 | 25,200 | a061ce1aefd04bbc9bdaabb436db78d3959bea33 | doc: fix config option display
Seperate options with simple types with a heading so they don't get
hidden under the previous options that are part of a complex type. | [
{
"change_type": "MODIFY",
"old_path": "doc/scripts/configdoc.xsl",
"new_path": "doc/scripts/configdoc.xsl",
"diff": "</xsl:if>\n</xsl:when>\n<xsl:otherwise>\n+ <!-- Write a section header for elements with a simple type -->\n+ <xsl:if test=\"$level = 3\">\n+ <xsl:call-template name=\"section-header... | C | BSD 3-Clause New or Revised License | projectacrn/acrn-hypervisor | doc: fix config option display
Seperate options with simple types with a heading so they don't get
hidden under the previous options that are part of a complex type.
Signed-off-by: David B. Kinder <david.b.kinder@intel.com> |
528,747 | 28.05.2021 14:43:59 | 25,200 | 42dc49902b4b4be34a57384085ca0184d96cea43 | doc: add enabling PTM tutorial and PTM hld discussion | [
{
"change_type": "MODIFY",
"old_path": "doc/develop.rst",
"new_path": "doc/develop.rst",
"diff": "@@ -75,6 +75,7 @@ Enable ACRN Features\ntutorials/acrn-secure-boot-with-grub\ntutorials/pre-launched-rt\ntutorials/enable_ivshmem\n+ tutorials/enable_ptm\nDebug\n*****\n"
},
{
"change_type": "MO... | C | BSD 3-Clause New or Revised License | projectacrn/acrn-hypervisor | doc: add enabling PTM tutorial and PTM hld discussion
Tracked-On: #5915
Signed-off-by: David B. Kinder <david.b.kinder@intel.com> |
528,720 | 31.05.2021 11:10:02 | -28,800 | 400d31916a09af3558692131fb984e02cb8b3f5b | doc: update timer HLD doc after modularization
Replace rdstc() and get_tsc_khz() with their architectural agnostic
counterparts cpu_ticks() and cpu_tickrate(). | [
{
"change_type": "MODIFY",
"old_path": "doc/developer-guides/hld/hv-timer.rst",
"new_path": "doc/developer-guides/hld/hv-timer.rst",
"diff": "@@ -33,6 +33,9 @@ Interfaces Design\n.. doxygenfunction:: timer_expired\n:project: Project ACRN\n+.. doxygenfunction:: timer_is_started\n+ :project: Project A... | C | BSD 3-Clause New or Revised License | projectacrn/acrn-hypervisor | doc: update timer HLD doc after modularization
Replace rdstc() and get_tsc_khz() with their architectural agnostic
counterparts cpu_ticks() and cpu_tickrate().
Tracked-On: #5920
Signed-off-by: Yi Liang <yi.liang@intel.com> |
528,721 | 02.06.2021 05:43:29 | 14,400 | 2ce0b384863c034f712bf5984d0c0d0c943e1d51 | doc: update the content about generating board xml
Update the content about getting board xml from native
enviroment in acrn_configuration_tool.rst and README. | [
{
"change_type": "MODIFY",
"old_path": "doc/tutorials/acrn_configuration_tool.rst",
"new_path": "doc/tutorials/acrn_configuration_tool.rst",
"diff": "@@ -115,13 +115,13 @@ toolset.\n| **Native Linux requirement:**\n| **Release:** Ubuntu 18.04+\n- | **Tools:** cpuid, rdmsr, lspci, dmidecode (optional... | C | BSD 3-Clause New or Revised License | projectacrn/acrn-hypervisor | doc: update the content about generating board xml
Update the content about getting board xml from native
enviroment in acrn_configuration_tool.rst and README.
Tracked-On: #6134
Signed-off-by: Kunhui Li <kunhuix.li@intel.com> |
528,680 | 08.06.2021 15:13:55 | 25,200 | 5ec5d9f57887bcd8031fb9bbe3a63b66c5e7122f | doc: add missing parameters description of launch script xml
Add allow_trigger_s5, enable_ptm, console_vuart and communication_vuart
descriptions. | [
{
"change_type": "MODIFY",
"old_path": "doc/tutorials/acrn_configuration_tool.rst",
"new_path": "doc/tutorials/acrn_configuration_tool.rst",
"diff": "@@ -322,6 +322,13 @@ current scenario has:\nSpecify whether the User VM power off channel is through the IOC,\npower button, or vUART.\n+``allow_trigg... | C | BSD 3-Clause New or Revised License | projectacrn/acrn-hypervisor | doc: add missing parameters description of launch script xml
Add allow_trigger_s5, enable_ptm, console_vuart and communication_vuart
descriptions.
Tracked-On: #6138
Signed-off-by: Yang,Yu-chu <yu-chu.yang@intel.com> |
528,747 | 10.06.2021 14:45:12 | 25,200 | 4ea0d49a74cf5634a8bcd1bc7cd7cf929380827c | doc: update doc guidlines for ACRN config options
Explain how ACRN configuration options are documented and generated | [
{
"change_type": "MODIFY",
"old_path": "doc/developer-guides/doc_guidelines.rst",
"new_path": "doc/developer-guides/doc_guidelines.rst",
"diff": "@@ -653,6 +653,45 @@ This is the second instruction step.\nonly one set of numbered steps is intended per document and the steps\nmust be level 2 headings... | C | BSD 3-Clause New or Revised License | projectacrn/acrn-hypervisor | doc: update doc guidlines for ACRN config options
Explain how ACRN configuration options are documented and generated
Signed-off-by: David B. Kinder <david.b.kinder@intel.com>
Tracked-On: #5911 |
528,710 | 08.06.2021 13:46:03 | -28,800 | 211a961e18efeb61a084664ba4be24cc447d8606 | DM: xHCI: Check trb pointer before use it
The trb pointer may be NULL when get the address from user space, add
the pointer check before use the trb.
Acked-by: Yu Wang | [
{
"change_type": "MODIFY",
"old_path": "devicemodel/hw/pci/xhci.c",
"new_path": "devicemodel/hw/pci/xhci.c",
"diff": "@@ -2627,6 +2627,10 @@ pci_xhci_complete_commands(struct pci_xhci_vdev *xdev)\ntrb = xdev->opregs.cr_p;\nccs = xdev->opregs.crcr & XHCI_CRCR_LO_RCS;\ncrcr = xdev->opregs.crcr & ~0xF;... | C | BSD 3-Clause New or Revised License | projectacrn/acrn-hypervisor | DM: xHCI: Check trb pointer before use it
The trb pointer may be NULL when get the address from user space, add
the pointer check before use the trb.
Tracked-On: #6172
Signed-off-by: Liu Long <long.liu@intel.com>
Reviewed-by: Shuo A Liu <shuo.a.liu@intel.com>
Acked-by: Yu Wang <yu1.wang@intel.com> |
528,794 | 07.06.2021 09:15:09 | -28,800 | e8f726e3217e30085de58188b7a3593ba2d5c70b | HV: modularization: remove mi_flags from acrn boot info
The mi_flags is not needed any more so remove it from acrn_boot_info struct; | [
{
"change_type": "MODIFY",
"old_path": "hypervisor/arch/x86/seed/seed.c",
"new_path": "hypervisor/arch/x86/seed/seed.c",
"diff": "@@ -45,9 +45,7 @@ static uint32_t parse_seed_arg(void)\nuint32_t i = SEED_ARG_NUM - 1U;\nuint32_t len;\n- if ((abi->mi_flags & MULTIBOOT_INFO_HAS_CMDLINE) != 0U) {\ncmd_s... | C | BSD 3-Clause New or Revised License | projectacrn/acrn-hypervisor | HV: modularization: remove mi_flags from acrn boot info
The mi_flags is not needed any more so remove it from acrn_boot_info struct;
Tracked-On: #5661
Signed-off-by: Victor Sun <victor.sun@intel.com>
Reviewed-by: Jason Chen CJ <jason.cj.chen@intel.com> |
528,794 | 08.06.2021 10:21:01 | -28,800 | 28b7cee412c6a97b59ac7aa820a8b1daee21f80d | HV: modularization: rename multiboot.h to boot.h
Given the structure in multiboot.h could be used for any boot protocol,
use a more generic name "boot.h" instead; | [
{
"change_type": "MODIFY",
"old_path": "hypervisor/arch/x86/boot/cpu_primary.S",
"new_path": "hypervisor/arch/x86/boot/cpu_primary.S",
"diff": "*/\n#include <config.h>\n-#include <multiboot.h>\n+#include <multiboot_std.h>\n/* MULTIBOOT HEADER */\n#define MULTIBOOT_HEADER_FLAGS MULTIBOOT_HEADER_NEED_... | C | BSD 3-Clause New or Revised License | projectacrn/acrn-hypervisor | HV: modularization: rename multiboot.h to boot.h
Given the structure in multiboot.h could be used for any boot protocol,
use a more generic name "boot.h" instead;
Tracked-On: #5661
Signed-off-by: Victor Sun <victor.sun@intel.com>
Reviewed-by: Jason Chen CJ <jason.cj.chen@intel.com> |
528,794 | 08.06.2021 15:11:18 | -28,800 | b11dfb6f2096c8e004ef18592b34610c891f5448 | HV: modularization: add boot.c to wrap multiboot module
Add a wrapper API init_acrn_boot_info() so that it could be used to boot
ACRN with any boot protocol;
Another change is change term of multiboot1 to multiboot because there is
no such term officially; | [
{
"change_type": "MODIFY",
"old_path": "hypervisor/Makefile",
"new_path": "hypervisor/Makefile",
"diff": "@@ -194,6 +194,7 @@ endif\n# platform boot component\nBOOT_S_SRCS += arch/x86/boot/cpu_primary.S\nBOOT_S_SRCS += arch/x86/boot/trampoline.S\n+BOOT_C_SRCS += boot/boot.c\nBOOT_C_SRCS += boot/mult... | C | BSD 3-Clause New or Revised License | projectacrn/acrn-hypervisor | HV: modularization: add boot.c to wrap multiboot module
Add a wrapper API init_acrn_boot_info() so that it could be used to boot
ACRN with any boot protocol;
Another change is change term of multiboot1 to multiboot because there is
no such term officially;
Tracked-On: #5661
Signed-off-by: Victor Sun <victor.sun@int... |
528,794 | 08.06.2021 15:17:50 | -28,800 | c59ea6c250d11daecd581347037238cc77587105 | HV: modularization: use abi_module struct in acrn boot info
Use more generic abi_module struct to replace multiboot_module struct in
acrn_boot_info; | [
{
"change_type": "MODIFY",
"old_path": "hypervisor/boot/boot.c",
"new_path": "hypervisor/boot/boot.c",
"diff": "@@ -23,7 +23,7 @@ int32_t sanitize_acrn_boot_info(struct acrn_boot_info *abi)\n{\nint32_t abi_status = 0;\n- if (abi->mi_mods_count == 0U) {\n+ if (abi->mods_count == 0U) {\npr_err(\"no bo... | C | BSD 3-Clause New or Revised License | projectacrn/acrn-hypervisor | HV: modularization: use abi_module struct in acrn boot info
Use more generic abi_module struct to replace multiboot_module struct in
acrn_boot_info;
Tracked-On: #5661
Signed-off-by: Victor Sun <victor.sun@intel.com>
Reviewed-by: Jason Chen CJ <jason.cj.chen@intel.com> |
528,794 | 08.06.2021 15:22:46 | -28,800 | 82a1d4406c8cf5ffe93d7c73c7f483a455f879aa | HV: modularization: use abi_mmap struct in acrn boot info
Use more generic abi_mmap struct to replace multiboot_mmap struct in
acrn_boot_info; | [
{
"change_type": "MODIFY",
"old_path": "hypervisor/arch/x86/e820.c",
"new_path": "hypervisor/arch/x86/e820.c",
"diff": "@@ -104,12 +104,12 @@ void init_e820(void)\nuint64_t top_addr_space = CONFIG_PLATFORM_RAM_SIZE + PLATFORM_LO_MMIO_SIZE;\nstruct acrn_boot_info *abi = get_acrn_boot_info();\n- struc... | C | BSD 3-Clause New or Revised License | projectacrn/acrn-hypervisor | HV: modularization: use abi_mmap struct in acrn boot info
Use more generic abi_mmap struct to replace multiboot_mmap struct in
acrn_boot_info;
Tracked-On: #5661
Signed-off-by: Victor Sun <victor.sun@intel.com>
Reviewed-by: Jason Chen CJ <jason.cj.chen@intel.com> |
528,794 | 09.06.2021 10:02:40 | -28,800 | 82c28af4040359d6907ce5647112acfb556d5dff | HV: modularization: rename mi_acpi_rsdp_va to acpi_rsdp_va
The simply rename mi_acpi_rsdp_va in acrn_boot_info struct to acpi_rsdp_va; | [
{
"change_type": "MODIFY",
"old_path": "hypervisor/boot/acpi_base.c",
"new_path": "hypervisor/boot/acpi_base.c",
"diff": "@@ -71,7 +71,7 @@ void init_acpi(void)\n{\nstruct acpi_table_rsdp *rsdp = NULL;\n- rsdp = (struct acpi_table_rsdp *)(get_acrn_boot_info()->mi_acpi_rsdp_va);\n+ rsdp = (struct acp... | C | BSD 3-Clause New or Revised License | projectacrn/acrn-hypervisor | HV: modularization: rename mi_acpi_rsdp_va to acpi_rsdp_va
The simply rename mi_acpi_rsdp_va in acrn_boot_info struct to acpi_rsdp_va;
Tracked-On: #5661
Signed-off-by: Victor Sun <victor.sun@intel.com>
Reviewed-by: Jason Chen CJ <jason.cj.chen@intel.com> |
528,794 | 03.06.2021 20:41:42 | -28,800 | 4e1deab3d9fbb7ba80e9c6c4cb8e785df33888b1 | HV: init paging before init e820
With this patch, the hv_e820 will be initialized after enable paging. This
is because the hv_e820 will be initialized from efi mmap when system boot
from uefi, which the efi mmap could be above 4G space. | [
{
"change_type": "MODIFY",
"old_path": "hypervisor/arch/x86/cpu.c",
"new_path": "hypervisor/arch/x86/cpu.c",
"diff": "@@ -144,8 +144,8 @@ void init_pcpu_pre(bool is_bsp)\nload_pcpu_state_data();\n/* Initialize the hypervisor paging */\n- init_e820();\ninit_paging();\n+ init_e820();\n/*\n* Need updat... | C | BSD 3-Clause New or Revised License | projectacrn/acrn-hypervisor | HV: init paging before init e820
With this patch, the hv_e820 will be initialized after enable paging. This
is because the hv_e820 will be initialized from efi mmap when system boot
from uefi, which the efi mmap could be above 4G space.
Tracked-On: #5626
Signed-off-by: Victor Sun <victor.sun@intel.com>
Reviewed-by: ... |
528,794 | 14.05.2021 14:43:15 | -28,800 | ed97022646a9dd651b5921fd28b3287bccaf7569 | HV: add find_space_from_ve820() api
The API would search ve820 table and return a valid GPA when the requested
size of memory is available in the specified memory range, or return
INVALID_GPA if the requested memory slot is not available; | [
{
"change_type": "MODIFY",
"old_path": "hypervisor/arch/x86/guest/ve820.c",
"new_path": "hypervisor/arch/x86/guest/ve820.c",
"diff": "#include <asm/e820.h>\n#include <asm/mmu.h>\n#include <asm/guest/vm.h>\n+#include <asm/guest/ept.h>\n#include <reloc.h>\n#include <vacpi.h>\n#include <logmsg.h>\nstat... | C | BSD 3-Clause New or Revised License | projectacrn/acrn-hypervisor | HV: add find_space_from_ve820() api
The API would search ve820 table and return a valid GPA when the requested
size of memory is available in the specified memory range, or return
INVALID_GPA if the requested memory slot is not available;
Tracked-On: #5626
Signed-off-by: Victor Sun <victor.sun@intel.com>
Reviewed-by... |
528,652 | 10.06.2021 13:01:32 | 25,200 | cc45a94d8207233f47cddf9f01bf6658b6707022 | config_tools: add the missing GUEST_FLAG_NVMX_ENABLED to common.py
Without this, the GUEST_FLAG_NVMX_ENABLED doesn't show up in the
drop-down list of "guest_flags" in the ACRN config GUI. | [
{
"change_type": "MODIFY",
"old_path": "misc/config_tools/library/common.py",
"new_path": "misc/config_tools/library/common.py",
"diff": "@@ -22,7 +22,8 @@ DATACHECK_SCHEMA_FILE = SOURCE_ROOT_DIR + 'misc/config_tools/schema/datachecks.x\nPY_CACHES = [\"__pycache__\", \"../board_config/__pycache__\",... | C | BSD 3-Clause New or Revised License | projectacrn/acrn-hypervisor | config_tools: add the missing GUEST_FLAG_NVMX_ENABLED to common.py
Without this, the GUEST_FLAG_NVMX_ENABLED doesn't show up in the
drop-down list of "guest_flags" in the ACRN config GUI.
Tracked-On: #5923
Signed-off-by: Zide Chen <zide.chen@intel.com> |
528,680 | 10.06.2021 07:42:39 | 25,200 | 19f8bd7a0628b21bc7ce4eabe2d571695e0892bd | config-tools: allocate the first unused bar for vmsix
A vmsix supported passthrough device expects the first unused bar region
for vmsix. Pop the first unused_bar_index in gpa.py instead.
Reference code: init_vmsix_on_msi of hypervisor\dm\vpci\vmsix_on_msi.c | [
{
"change_type": "MODIFY",
"old_path": "misc/config_tools/static_allocators/gpa.py",
"new_path": "misc/config_tools/static_allocators/gpa.py",
"diff": "@@ -137,6 +137,12 @@ def insert_pt_devs_to_dev_dict(board_etree, vm_node_etree, devdict_32bits, devdi\ndevdict_64bits[(f\"{dev_name}\", f\"{bar_regi... | C | BSD 3-Clause New or Revised License | projectacrn/acrn-hypervisor | config-tools: allocate the first unused bar for vmsix
A vmsix supported passthrough device expects the first unused bar region
for vmsix. Pop the first unused_bar_index in gpa.py instead.
Reference code: init_vmsix_on_msi of hypervisor\dm\vpci\vmsix_on_msi.c
Tracked-On: #6192
Signed-off-by: Yang,Yu-chu <yu-chu.yang@... |
528,721 | 11.06.2021 10:15:52 | -28,800 | a3e05da14881c62e2bfed09f6797fce961a46013 | config_tools: update clang-format file
Remove the AlwaysBreakTemplateDeclarations setting in clang-format file
to fix the issue about "make defconfig". | [
{
"change_type": "MODIFY",
"old_path": ".clang-format",
"new_path": ".clang-format",
"diff": "@@ -17,7 +17,6 @@ AllowShortLoopsOnASingleLine: false\nAlwaysBreakAfterDefinitionReturnType: None\nAlwaysBreakAfterReturnType: None\nAlwaysBreakBeforeMultilineStrings: false\n-AlwaysBreakTemplateDeclaration... | C | BSD 3-Clause New or Revised License | projectacrn/acrn-hypervisor | config_tools: update clang-format file
Remove the AlwaysBreakTemplateDeclarations setting in clang-format file
to fix the issue about "make defconfig".
Tracked-On: #6199
Signed-off-by: Kunhui-Li <kunhuix.li@intel.com> |
528,721 | 10.06.2021 11:31:58 | -28,800 | da2663d70bb55b1e7d3d67544a91f0960b74932d | config_tools: update scenario xml
Update the value of the tag MAX_PT_IRQ_ENTRIES from 64 to 128
in TGL-RVP scenario xml. | [
{
"change_type": "MODIFY",
"old_path": "misc/config_tools/data/tgl-rvp/hybrid.xml",
"new_path": "misc/config_tools/data/tgl-rvp/hybrid.xml",
"diff": "<MAX_IOAPIC_NUM>1</MAX_IOAPIC_NUM>\n<MAX_PCI_DEV_NUM>96</MAX_PCI_DEV_NUM>\n<MAX_IOAPIC_LINES>120</MAX_IOAPIC_LINES>\n- <MAX_PT_IRQ_ENTRIES>64</MAX_PT_... | C | BSD 3-Clause New or Revised License | projectacrn/acrn-hypervisor | config_tools: update scenario xml
Update the value of the tag MAX_PT_IRQ_ENTRIES from 64 to 128
in TGL-RVP scenario xml.
Tracked-On: #6185
Signed-off-by: Kunhui-Li <kunhuix.li@intel.com> |
528,747 | 14.06.2021 14:13:42 | 25,200 | 48c5fc51246b0ceed7299f5932a4c5d0999b6946 | doc: update ivshmem user guide
Refine the guide to set up ivshmem for both hv-land and dm-land usage. | [
{
"change_type": "MODIFY",
"old_path": "doc/tutorials/enable_ivshmem.rst",
"new_path": "doc/tutorials/enable_ivshmem.rst",
"diff": "@@ -9,10 +9,41 @@ solution or hv-land solution, according to the usage scenario needs.\nWhile both solutions can be used at the same time, VMs using different\nsolution... | C | BSD 3-Clause New or Revised License | projectacrn/acrn-hypervisor | doc: update ivshmem user guide
Refine the guide to set up ivshmem for both hv-land and dm-land usage.
Signed-off-by: Yonghua Huang <yonghua.huang@intel.com>
Signed-off-by: David B. Kinder <david.b.kinder@intel.com> |
528,781 | 10.06.2021 06:34:31 | 0 | 6684bcdaa129370f88bf3b1e41159f3ef8f56d63 | dm: get native rootport's max payload
Get and save native root port's max payload in dev cap register in
vrp_config data structure which will be used to configure vrp's max
payload by hv. | [
{
"change_type": "MODIFY",
"old_path": "devicemodel/hw/pci/ptm.c",
"new_path": "devicemodel/hw/pci/ptm.c",
"diff": "@@ -66,6 +66,8 @@ static int\nadd_vroot_port(struct vmctx *ctx, struct passthru_dev *ptdev, struct pci_device *root_port, int ptm_cap_offset)\n{\nint error = 0;\n+ int offset = 0;\n+ u... | C | BSD 3-Clause New or Revised License | projectacrn/acrn-hypervisor | dm: get native rootport's max payload
Get and save native root port's max payload in dev cap register in
vrp_config data structure which will be used to configure vrp's max
payload by hv.
Tracked-On: #5915
Signed-off-by: Rong Liu <rong.l.liu@intel.com>
Reviewed-by: Jason Chen CJ <jason.cj.chen@intel.com> |
528,652 | 25.05.2021 14:47:24 | 25,200 | f41cc4ae357e47bb4668211c761b3bd939270aeb | doc: add nested virtualization user guide | [
{
"change_type": "MODIFY",
"old_path": "doc/develop.rst",
"new_path": "doc/develop.rst",
"diff": "@@ -59,6 +59,7 @@ Enable ACRN Features\n:maxdepth: 1\ntutorials/sgx_virtualization\n+ tutorials/nvmx_virtualization\ntutorials/vuart_configuration\ntutorials/rdt_configuration\ntutorials/waag-secure-boo... | C | BSD 3-Clause New or Revised License | projectacrn/acrn-hypervisor | doc: add nested virtualization user guide
Tracked-On: #5923
Signed-off-by: Zide Chen <zide.chen@intel.com>
Signed-off-by: David B. Kinder <david.b.kinder@intel.com> |
528,747 | 15.06.2021 17:25:12 | 25,200 | cb9ef6742937254f616b6b155f37f9af1f911b58 | doc: draft for 2.5 release notes contribution | [
{
"change_type": "ADD",
"old_path": null,
"new_path": "doc/release_notes/release_notes_2.5.rst",
"diff": "+.. _release_notes_2.5:\n+\n+ACRN v2.5 (Jun 2021) DRAFT\n+##########################\n+\n+We are pleased to announce the release of the Project ACRN hypervisor\n+version 2.5.\n+\n+ACRN is a flex... | C | BSD 3-Clause New or Revised License | projectacrn/acrn-hypervisor | doc: draft for 2.5 release notes contribution
Signed-off-by: David B. Kinder <david.b.kinder@intel.com> |
528,747 | 16.06.2021 10:07:21 | 25,200 | 3a3dbfa08c3090022f22606dfe5c6ed821982097 | doc: tweaks to nvmx virtualization doc
Additional clarity and formatting edits to | [
{
"change_type": "MODIFY",
"old_path": "doc/tutorials/nvmx_virtualization.rst",
"new_path": "doc/tutorials/nvmx_virtualization.rst",
"diff": "@@ -52,21 +52,21 @@ actually run the L2 guest.\nNested Virtualization in ACRN\n-- L0 hypervisor (ACRN) runs L1 guest with VMCS01\n+#. L0 hypervisor (ACRN) run... | C | BSD 3-Clause New or Revised License | projectacrn/acrn-hypervisor | doc: tweaks to nvmx virtualization doc
Additional clarity and formatting edits to #6198
Signed-off-by: David B. Kinder <david.b.kinder@intel.com> |
528,747 | 17.06.2021 16:02:57 | 25,200 | ac88793c3b619279a0273c82b52266c68d4e3df9 | doc: update TCC feature names in hld overview | [
{
"change_type": "MODIFY",
"old_path": "doc/developer-guides/hld/hld-overview.rst",
"new_path": "doc/developer-guides/hld/hld-overview.rst",
"diff": "@@ -57,16 +57,17 @@ A typical industry usage would include one Windows HMI + one RT VM:\n- RT VM that runs a specific RTOS on it to handle\nreal-time ... | C | BSD 3-Clause New or Revised License | projectacrn/acrn-hypervisor | doc: update TCC feature names in hld overview
Signed-off-by: David B. Kinder <david.b.kinder@intel.com> |
528,728 | 21.06.2021 11:40:36 | -7,200 | 6b6efed7eb0e601f152d1f9a551caec2e18fb5df | doc: updates to the Getting Started Guide
Updates to the Getting Started Guide:
* Update title to simply be "Getting Started Guide"
* Simplify and remove instructions that are redundant
* Add a note explaining the difference between 'nuc11tnbi5' and
'nuc11tnhi5' | [
{
"change_type": "RENAME",
"old_path": "doc/getting-started/rt_industry_ubuntu.rst",
"new_path": "doc/getting-started/getting-started.rst",
"diff": ".. _rt_industry_ubuntu_setup:\n-Getting Started Guide for ACRN Industry Scenario With Ubuntu Service VM\n-#############################################... | C | BSD 3-Clause New or Revised License | projectacrn/acrn-hypervisor | doc: updates to the Getting Started Guide
Updates to the Getting Started Guide:
* Update title to simply be "Getting Started Guide"
* Simplify and remove instructions that are redundant
* Add a note explaining the difference between 'nuc11tnbi5' and
'nuc11tnhi5'
Tracked-On: #6225
Signed-off-by: Geoffroy Van Cutsem ... |
528,747 | 21.06.2021 11:35:59 | 25,200 | f3dd19dea7a268747e1c4b382ea884e47ffa18fb | doc: fix renaming of getting started guide
Tweak references to account for renaming the getting started guide in
PR and create a redirect link from the previous filename. | [
{
"change_type": "MODIFY",
"old_path": "doc/conf.py",
"new_path": "doc/conf.py",
"diff": "@@ -389,22 +389,6 @@ html_redirect_pages = [\n('user-guides/index', 'develop'),\n('hardware', 'reference/hardware'),\n('release_notes', 'release_notes/index'),\n- ('getting-started/rt_industry', 'tutorials/cl_s... | C | BSD 3-Clause New or Revised License | projectacrn/acrn-hypervisor | doc: fix renaming of getting started guide
Tweak references to account for renaming the getting started guide in
PR #6226 and create a redirect link from the previous filename.
Signed-off-by: David B. Kinder <david.b.kinder@intel.com> |
528,747 | 21.06.2021 15:29:42 | 25,200 | ccb1bf18dc9d7c9a5c918a49f27e57c1bbe36bb2 | doc: update changed does in release notes | [
{
"change_type": "MODIFY",
"old_path": "doc/release_notes/release_notes_2.5.rst",
"new_path": "doc/release_notes/release_notes_2.5.rst",
"diff": "@@ -164,11 +164,14 @@ to the ACRN documentation around configuration and options, as listed here:\n* :ref:`sw_design_guidelines`\n* :ref:`trusty_tee`\n* :... | C | BSD 3-Clause New or Revised License | projectacrn/acrn-hypervisor | doc: update changed does in release notes
Signed-off-by: David B. Kinder <david.b.kinder@intel.com> |
528,747 | 21.06.2021 18:57:43 | 25,200 | bc20d0c423352f787bfe6696994d2769cb2aa76b | doc: fix broken links in redirect list | [
{
"change_type": "MODIFY",
"old_path": "doc/conf.py",
"new_path": "doc/conf.py",
"diff": "@@ -389,6 +389,6 @@ html_redirect_pages = [\n('user-guides/index', 'develop'),\n('hardware', 'reference/hardware'),\n('release_notes', 'release_notes/index'),\n- ('getting-started/rt_industry', 'getting_started... | C | BSD 3-Clause New or Revised License | projectacrn/acrn-hypervisor | doc: fix broken links in redirect list
Signed-off-by: David B. Kinder <david.b.kinder@intel.com> |
528,768 | 22.06.2021 10:27:14 | -28,800 | 5399602d5a6632c934679121d0f8b69c02c5e771 | doc: update security advisory for 2.5 release
update fixed security vulnerabilities for 2.5 release. | [
{
"change_type": "MODIFY",
"old_path": "doc/asa.rst",
"new_path": "doc/asa.rst",
"diff": "Security Advisory\n#################\n+Addressed in ACRN v2.5\n+************************\n+\n+We recommend that all developers upgrade to this v2.5 release (or later), which\n+addresses the following security i... | C | BSD 3-Clause New or Revised License | projectacrn/acrn-hypervisor | doc: update security advisory for 2.5 release
update fixed security vulnerabilities for 2.5 release.
Signed-off-by: Yonghua Huang <yonghua.huang@intel.com>
Signed-off-by: David B. Kinder <david.b.kinder@intel.com> |
528,725 | 21.06.2021 16:05:02 | -28,800 | a9af948993982f8e472dec550f0943ffbd501ae4 | doc: update release notes for v2.5 on configuration upgrades
This patch updates recommendations to upgrade from a prior ACRN version for
v2.5.
v2:
* Apply suggestions from review.
* Remove descriptions on the scenario XML upgrade tool. | [
{
"change_type": "MODIFY",
"old_path": "doc/release_notes/release_notes_2.4.rst",
"new_path": "doc/release_notes/release_notes_2.4.rst",
"diff": "@@ -76,6 +76,8 @@ Upgrading to v2.4 From Previous Releases\nWe highly recommended that you follow the instructions below to\nupgrade to v2.4 from previous... | C | BSD 3-Clause New or Revised License | projectacrn/acrn-hypervisor | doc: update release notes for v2.5 on configuration upgrades
This patch updates recommendations to upgrade from a prior ACRN version for
v2.5.
v2:
* Apply suggestions from review.
* Remove descriptions on the scenario XML upgrade tool.
Signed-off-by: Junjie Mao <junjie.mao@intel.com> |
528,747 | 22.06.2021 18:32:32 | 25,200 | 8e7f1dbac8afdf2629450e693e42a2f6e5cead2c | doc: release notes edits
Fix some minor formatting/layout issues and wording | [
{
"change_type": "MODIFY",
"old_path": "doc/release_notes/release_notes_2.5.rst",
"new_path": "doc/release_notes/release_notes_2.5.rst",
"diff": "@@ -73,24 +73,24 @@ installed by executing the following command:\n.. code-block:: bash\n- $ sudo pip3 install lxml\n+ sudo pip3 install lxml\n.. note::\n... | C | BSD 3-Clause New or Revised License | projectacrn/acrn-hypervisor | doc: release notes edits
Fix some minor formatting/layout issues and wording
Signed-off-by: David B. Kinder <david.b.kinder@intel.com> |
528,791 | 26.05.2021 17:55:31 | -32,400 | 5fffcdcbd90cf469cdf535e516c06e3be715d722 | doc: add acrn efi-stub user guide
Add user guide for ACRN EFI application for Secure Boot. | [
{
"change_type": "MODIFY",
"old_path": "doc/develop.rst",
"new_path": "doc/develop.rst",
"diff": "@@ -74,6 +74,7 @@ Enable ACRN Features\ntutorials/acrn_on_qemu\ntutorials/using_grub\ntutorials/acrn-secure-boot-with-grub\n+ tutorials/acrn-secure-boot-with-efi-stub\ntutorials/pre-launched-rt\ntutoria... | C | BSD 3-Clause New or Revised License | projectacrn/acrn-hypervisor | doc: add acrn efi-stub user guide
Add user guide for ACRN EFI application for Secure Boot.
Tracked-On: #6078
Signed-off-by: Toshiki Nishioka <toshiki.nishioka@intel.com> |
528,747 | 23.06.2021 08:50:20 | 25,200 | 6cd8bcafdc20377ce70ca1001a11bdc8f2f8e798 | doc: edit efi-stub tutorial | [
{
"change_type": "MODIFY",
"old_path": "doc/tutorials/acrn-secure-boot-with-efi-stub.rst",
"new_path": "doc/tutorials/acrn-secure-boot-with-efi-stub.rst",
"diff": "@@ -20,8 +20,8 @@ mode rather than the former deprivileged mode.\nIn order to boot ACRN HV with the new EFI-Stub, you need to create a c... | C | BSD 3-Clause New or Revised License | projectacrn/acrn-hypervisor | doc: edit efi-stub tutorial
Signed-off-by: David B. Kinder <david.b.kinder@intel.com> |
528,652 | 23.06.2021 10:22:11 | 25,200 | 9dc43de73306927da89674cadc8e6f0eb36ff2ae | doc: update nested virtualization user guide | [
{
"change_type": "DELETE",
"old_path": "doc/tutorials/images/nvmx_cfg_1.png",
"new_path": "doc/tutorials/images/nvmx_cfg_1.png",
"diff": "Binary files a/doc/tutorials/images/nvmx_cfg_1.png and /dev/null differ\n"
},
{
"change_type": "DELETE",
"old_path": "doc/tutorials/images/nvmx_cfg_2.... | C | BSD 3-Clause New or Revised License | projectacrn/acrn-hypervisor | doc: update nested virtualization user guide
Tracked-On: #5923
Signed-off-by: Zide Chen <zide.chen@intel.com> |
528,747 | 23.06.2021 17:56:19 | 25,200 | 00fbe949df0e0846f4266621f62b25987b783a0c | doc: update v2.5 release notes highlights | [
{
"change_type": "MODIFY",
"old_path": "doc/release_notes/release_notes_2.5.rst",
"new_path": "doc/release_notes/release_notes_2.5.rst",
"diff": "@@ -36,25 +36,37 @@ ACRN v2.5 requires Ubuntu 18.04. Follow the instructions in the\nWhat's New in v2.5\n******************\n+- A brand-new concept, neste... | C | BSD 3-Clause New or Revised License | projectacrn/acrn-hypervisor | doc: update v2.5 release notes highlights
Signed-off-by: David B. Kinder <david.b.kinder@intel.com> |
528,747 | 23.06.2021 19:46:36 | 25,200 | fd7f0e2c4505d57fe128e69fbee3e772753285aa | doc: update v2.5 release notes | [
{
"change_type": "MODIFY",
"old_path": "doc/release_notes/release_notes_2.5.rst",
"new_path": "doc/release_notes/release_notes_2.5.rst",
"diff": "@@ -41,9 +41,6 @@ What's New in v2.5\nwhile keeping ACRN's unique advantages in partition mode and hybrid mode. Read\nmore in the :ref:`nested_virt` advan... | C | BSD 3-Clause New or Revised License | projectacrn/acrn-hypervisor | doc: update v2.5 release notes
Signed-off-by: David B. Kinder <david.b.kinder@intel.com> |
528,666 | 22.06.2021 16:47:15 | -28,800 | 8c453591705af001cc9b6da5f053d3c69ff5d1a9 | misc: efi-stub: Prepare multiboot1 info for HV
This patch adds code to prepare multiboot1 info passed to hypervisor. | [
{
"change_type": "MODIFY",
"old_path": "misc/efi-stub/boot.c",
"new_path": "misc/efi-stub/boot.c",
"diff": "@@ -239,6 +239,51 @@ out:\nEFI_STATUS construct_mbi(HV_LOADER hvld, struct multiboot_info **mbinfo, struct efi_memmap_info *mmap_info)\n{\nEFI_STATUS err = EFI_SUCCESS;\n+ int32_t e820_count =... | C | BSD 3-Clause New or Revised License | projectacrn/acrn-hypervisor | misc: efi-stub: Prepare multiboot1 info for HV
This patch adds code to prepare multiboot1 info passed to hypervisor.
Tracked-On: #6241
Signed-off-by: Yifan Liu <yifan1.liu@intel.com>
Signed-off-by: Toshiki Nishioka <toshiki.nishioka@intel.com> |
528,666 | 22.06.2021 16:49:12 | -28,800 | 6cb667f1376c68340f97e00f74cd3cdf39bd28de | misc: efi-stub: Add helper functions to search/parse multiboot1/2 headers
This patch adds a file containing some helper functions to search or parse
multiboot headers. | [
{
"change_type": "MODIFY",
"old_path": "misc/efi-stub/Makefile",
"new_path": "misc/efi-stub/Makefile",
"diff": "HV_OBJDIR:=build\nHV_SRC:=../../hypervisor\n-C_SRCS = boot.c pe.c malloc.c\n+C_SRCS = boot.c pe.c malloc.c multiboot.c\nACRN_OBJS := $(patsubst %.c,$(EFI_OBJDIR)/%.o,$(C_SRCS))\nINCLUDE_PA... | C | BSD 3-Clause New or Revised License | projectacrn/acrn-hypervisor | misc: efi-stub: Add helper functions to search/parse multiboot1/2 headers
This patch adds a file containing some helper functions to search or parse
multiboot headers.
Tracked-On: #6241
Signed-off-by: Yifan Liu <yifan1.liu@intel.com>
Signed-off-by: Toshiki Nishioka <toshiki.nishioka@intel.com> |
528,666 | 22.06.2021 16:52:53 | -28,800 | e32640aab6dd04dcb56a66028e958ada91806dcb | misc: efi-stub: Add helper functions to parse/load ELF32 image
This patch adds a file containing some helper functions to load
or validate ELF32 images. | [
{
"change_type": "MODIFY",
"old_path": "misc/efi-stub/Makefile",
"new_path": "misc/efi-stub/Makefile",
"diff": "HV_OBJDIR:=build\nHV_SRC:=../../hypervisor\n-C_SRCS = boot.c pe.c malloc.c multiboot.c\n+C_SRCS = boot.c pe.c malloc.c multiboot.c elf32.c\nACRN_OBJS := $(patsubst %.c,$(EFI_OBJDIR)/%.o,$(... | C | BSD 3-Clause New or Revised License | projectacrn/acrn-hypervisor | misc: efi-stub: Add helper functions to parse/load ELF32 image
This patch adds a file containing some helper functions to load
or validate ELF32 images.
Tracked-On: #6241
Signed-off-by: Toshiki Nishioka <toshiki.nishioka@intel.com>
Signed-off-by: Yifan Liu <yifan1.liu@intel.com> |
528,666 | 22.06.2021 17:06:40 | -28,800 | e0f69399ff6de076a66d7b69b3b73b1df4012a4c | misc: efi-stub: Implement boot image loading in container
This patch implements the container_load_boot_image function.
This function loads boot image following multiboot protocol. | [
{
"change_type": "MODIFY",
"old_path": "misc/efi-stub/container.c",
"new_path": "misc/efi-stub/container.c",
"diff": "@@ -114,6 +114,117 @@ struct container {\nLOADER_COMPRESSED_HEADER *lzh_ptr[]; /* cache of each file header in container */\n};\n+/**\n+ * @brief Load acrn.32.out ELF file. If the hv... | C | BSD 3-Clause New or Revised License | projectacrn/acrn-hypervisor | misc: efi-stub: Implement boot image loading in container
This patch implements the container_load_boot_image function.
This function loads boot image following multiboot protocol.
Tracked-On: #6241
Signed-off-by: Toshiki Nishioka <toshiki.nishioka@intel.com>
Signed-off-by: Yifan Liu <yifan1.liu@intel.com> |
528,666 | 22.06.2021 17:09:15 | -28,800 | c2217aa5d490e6fdc400b8f84e950b308d744887 | misc: efi-stub: Implement modules loading in container
This patch implements the container_load_modules function.
This function loads multiboot modules following multiboot protocol. | [
{
"change_type": "MODIFY",
"old_path": "misc/efi-stub/container.c",
"new_path": "misc/efi-stub/container.c",
"diff": "@@ -327,6 +327,61 @@ out:\nstatic EFI_STATUS container_load_modules(HV_LOADER hvld)\n{\nEFI_STATUS err = EFI_SUCCESS;\n+ struct container *ctr = (struct container *)hvld;\n+\n+ UINTN... | C | BSD 3-Clause New or Revised License | projectacrn/acrn-hypervisor | misc: efi-stub: Implement modules loading in container
This patch implements the container_load_modules function.
This function loads multiboot modules following multiboot protocol.
Tracked-On: #6241
Signed-off-by: Toshiki Nishioka <toshiki.nishioka@intel.com>
Signed-off-by: Yifan Liu <yifan1.liu@intel.com> |
528,747 | 24.06.2021 11:54:29 | 25,200 | 55644741fb5384c818a9f77056369b3e9db32a3f | doc: fix link in hardware doc
Links to UP2 Shop were incorrect | [
{
"change_type": "MODIFY",
"old_path": "doc/reference/hardware.rst",
"new_path": "doc/reference/hardware.rst",
"diff": "@@ -66,6 +66,9 @@ release version and may not work as expected on later ACRN releases.\n.. _WHL-IPC-I7:\nhttp://www.maxtangpc.com/industrialmotherboards/142.html#parameters\n+.. _U... | C | BSD 3-Clause New or Revised License | projectacrn/acrn-hypervisor | doc: fix link in hardware doc
Links to UP2 Shop were incorrect
Signed-off-by: David B. Kinder <david.b.kinder@intel.com> |
528,747 | 24.06.2021 16:39:32 | 25,200 | 8d2f158d26efe366711fc5cfb4fea903f638c19f | release notes edits
fix titles for fixed issues list
edit what's new section to improve readability | [
{
"change_type": "MODIFY",
"old_path": "doc/release_notes/release_notes_2.5.rst",
"new_path": "doc/release_notes/release_notes_2.5.rst",
"diff": ".. _release_notes_2.5:\n-ACRN v2.5 (Jun 2021) DRAFT\n-##########################\n+ACRN v2.5 (Jun 2021)\n+####################\nWe are pleased to announce... | C | BSD 3-Clause New or Revised License | projectacrn/acrn-hypervisor | release notes edits (#6255)
- fix titles for fixed issues list
- edit what's new section to improve readability
Signed-off-by: David B. Kinder <david.b.kinder@intel.com> |
528,747 | 24.06.2021 18:35:58 | 25,200 | b82b8073a9036d193968c89af7bc74fecd0e26cf | doc: remove PTM tutorial for now
PTM feature postponed to v2.6 so remove documentation about enabling
this feature. | [
{
"change_type": "MODIFY",
"old_path": "doc/develop.rst",
"new_path": "doc/develop.rst",
"diff": "@@ -77,7 +77,6 @@ Enable ACRN Features\ntutorials/acrn-secure-boot-with-efi-stub\ntutorials/pre-launched-rt\ntutorials/enable_ivshmem\n- tutorials/enable_ptm\nDebug\n*****\n"
},
{
"change_type":... | C | BSD 3-Clause New or Revised License | projectacrn/acrn-hypervisor | doc: remove PTM tutorial for now
PTM feature postponed to v2.6 so remove documentation about enabling
this feature.
Signed-off-by: David B. Kinder <david.b.kinder@intel.com> |
528,747 | 24.06.2021 21:05:54 | 25,200 | 62bad63afa878d82b2abb85f207a9613138d08ee | doc: add 2.5 to version menu choice | [
{
"change_type": "MODIFY",
"old_path": "doc/conf.py",
"new_path": "doc/conf.py",
"diff": "@@ -199,6 +199,7 @@ html_context = {\n'docs_title': docs_title,\n'is_release': is_release,\n'versions': ( (\"latest\", \"/latest/\"),\n+ (\"2.5\", \"/2.5/\"),\n(\"2.4\", \"/2.4/\"),\n(\"2.3\", \"/2.3/\"),\n(\"2... | C | BSD 3-Clause New or Revised License | projectacrn/acrn-hypervisor | doc: add 2.5 to version menu choice
Signed-off-by: David B. Kinder <david.b.kinder@intel.com> |
528,747 | 28.06.2021 17:56:54 | 25,200 | 0c52b9601aca2a4353468607928a181eb1e0a5bc | doc: update known issues list in v2.5 release notes | [
{
"change_type": "MODIFY",
"old_path": "doc/release_notes/release_notes_2.5.rst",
"new_path": "doc/release_notes/release_notes_2.5.rst",
"diff": "@@ -205,5 +205,5 @@ Known Issues\n************\n- :acrn-issue:`6256` - [TGL][qemu] Cannot launch qemu on TGL\n-- :acrn-issue:`6256` - [S5]S5 fails on post... | C | BSD 3-Clause New or Revised License | projectacrn/acrn-hypervisor | doc: update known issues list in v2.5 release notes
Signed-off-by: David B. Kinder <david.b.kinder@intel.com> |
528,667 | 28.06.2021 16:02:05 | -28,800 | a431cff94ed1649ce4a3fa89b9679fb0b0eba96f | hv: Use 64 bits definition for 64 bits MSR_IA32_VMX_EPT_VPID_CAP operation
MSR_IA32_VMX_EPT_VPID_CAP is 64 bits. Using 32 bits MACROs with it may
cause the bit expression wrong.
Unify the MSR_IA32_VMX_EPT_VPID_CAP operation with 64 bits definition.
Acked-by: Eddie Dong | [
{
"change_type": "MODIFY",
"old_path": "hypervisor/arch/x86/cpu_caps.c",
"new_path": "hypervisor/arch/x86/cpu_caps.c",
"diff": "@@ -35,8 +35,7 @@ static struct cpu_capability {\nuint8_t apicv_features;\nuint8_t ept_features;\n- uint32_t vmx_ept;\n- uint32_t vmx_vpid;\n+ uint64_t vmx_ept_vpid;\nuint3... | C | BSD 3-Clause New or Revised License | projectacrn/acrn-hypervisor | hv: Use 64 bits definition for 64 bits MSR_IA32_VMX_EPT_VPID_CAP operation
MSR_IA32_VMX_EPT_VPID_CAP is 64 bits. Using 32 bits MACROs with it may
cause the bit expression wrong.
Unify the MSR_IA32_VMX_EPT_VPID_CAP operation with 64 bits definition.
Tracked-On: #5923
Signed-off-by: Shuo A Liu <shuo.a.liu@intel.com>
A... |
528,753 | 30.06.2021 13:14:40 | 0 | 28509b61c935f1b81b5de9b58e2b74c5df74dd64 | dm: Add PCI IDS for EHL/TGL/ADL in GPU passthrough
Add PCI IDS for ElkhartLake/TigerLake/AlderLake in GPU DSM and OpRegion
passthrough.
Acked-by: Wang, Yu1 | [
{
"change_type": "MODIFY",
"old_path": "devicemodel/hw/pci/passthrough.c",
"new_path": "devicemodel/hw/pci/passthrough.c",
"diff": "@@ -438,8 +438,34 @@ passthru_gpu_dsm_opregion(struct vmctx *ctx, struct passthru_dev *ptdev,\ngpu_opregion_hpa = opregion_phys & PCIM_ASLS_OPREGION_MASK;\nswitch (devi... | C | BSD 3-Clause New or Revised License | projectacrn/acrn-hypervisor | dm: Add PCI IDS for EHL/TGL/ADL in GPU passthrough
Add PCI IDS for ElkhartLake/TigerLake/AlderLake in GPU DSM and OpRegion
passthrough.
Tracked-On: #6270
Signed-off-by: Sun Peng <peng.p.sun@intel.com>
Acked-by: Wang, Yu1 <yu1.wang@intel.com> |
528,721 | 01.07.2021 11:03:46 | -28,800 | e6d447e462f46bcd64b0c8bf4b2896151b8dccf4 | config_tools: update board_inspector to copy RTCT file
1. Remove acpi_template/ehl-crb-b/PTCT and acpi_template/tgl-rvp/PTCT files.
2. Update board_inspector/legacy/acpi.py script to copy RTCT file. | [
{
"change_type": "DELETE",
"old_path": "misc/config_tools/acpi_template/ehl-crb-b/PTCT",
"new_path": "misc/config_tools/acpi_template/ehl-crb-b/PTCT",
"diff": "Binary files a/misc/config_tools/acpi_template/ehl-crb-b/PTCT and /dev/null differ\n"
},
{
"change_type": "DELETE",
"old_path": ... | C | BSD 3-Clause New or Revised License | projectacrn/acrn-hypervisor | config_tools: update board_inspector to copy RTCT file
1. Remove acpi_template/ehl-crb-b/PTCT and acpi_template/tgl-rvp/PTCT files.
2. Update board_inspector/legacy/acpi.py script to copy RTCT file.
Tracked-On: #6238
Signed-off-by: Kunhui-Li <kunhuix.li@intel.com> |
528,721 | 30.06.2021 11:22:55 | -28,800 | a8ef428b4b3b1b933b51f316ccbba8ff695bc104 | config_tools: fix cpu offline issue in launch script
In launch script, update cpu offline method to fix the issue
that it isn't offline cpu on ADL-S board. | [
{
"change_type": "MODIFY",
"old_path": "misc/config_tools/launch_config/com.py",
"new_path": "misc/config_tools/launch_config/com.py",
"diff": "@@ -98,21 +98,26 @@ def off_line_cpus(args, vmid, uos_type, config):\nprint('fi', file=config)\nprint(\"\", file=config)\nprint(\"# offline pinned vCPUs fro... | C | BSD 3-Clause New or Revised License | projectacrn/acrn-hypervisor | config_tools: fix cpu offline issue in launch script
In launch script, update cpu offline method to fix the issue
that it isn't offline cpu on ADL-S board.
Tracked-On: #6266
Signed-off-by: Kunhui-Li <kunhuix.li@intel.com> |
528,772 | 01.06.2021 17:29:42 | 14,400 | a82020839af2314afb08a2045022ffa7de8f98f5 | DM: TPM2: Fix remove hard code GPA base miss control register info
CRB_REGS_CTRL_REQ is offset of control register to TPM mmio base,
need use the address to generate TPM2 acpi table | [
{
"change_type": "MODIFY",
"old_path": "devicemodel/hw/platform/acpi/acpi.c",
"new_path": "devicemodel/hw/platform/acpi/acpi.c",
"diff": "@@ -803,7 +803,7 @@ basl_fwrite_tpm2(FILE *fp, struct vmctx *ctx)\nEFPRINTF(fp, \"[0002]\\t\\tPlatform Class : 0000\\n\");\nEFPRINTF(fp, \"[0002]\\t\\tReserved : ... | C | BSD 3-Clause New or Revised License | projectacrn/acrn-hypervisor | DM: TPM2: Fix remove hard code GPA base miss control register info
CRB_REGS_CTRL_REQ is offset of control register to TPM mmio base,
need use the address to generate TPM2 acpi table
Tracked-On: #6126
Signed-off-by: Tao Yuhong <yuhong.tao@intel.com> |
528,772 | 02.06.2021 06:57:46 | 14,400 | ad53894fdb9ad434a86996142c38605258fad3df | DM: TPM: tpm passthrough device must use fixed base GPA
The TPM driver will access some mmio registers using absolute address,
That means TPM base GPA must use same HPA value, when passthough it to VM | [
{
"change_type": "MODIFY",
"old_path": "devicemodel/hw/mmio/core.c",
"new_path": "devicemodel/hw/mmio/core.c",
"diff": "@@ -73,7 +73,12 @@ int parse_pt_acpidev(char *opt)\n/* TODO: support acpi dev framework, remove these TPM hard code */\nif (strncmp(opt, \"MSFT0101\", 8) == 0) {\nstrncpy(mmio_devs... | C | BSD 3-Clause New or Revised License | projectacrn/acrn-hypervisor | DM: TPM: tpm passthrough device must use fixed base GPA
The TPM driver will access some mmio registers using absolute address,
That means TPM base GPA must use same HPA value, when passthough it to VM
Tracked-On: #6126
Signed-off-by: Tao Yuhong <yuhong.tao@intel.com> |
528,768 | 30.06.2021 14:01:11 | -28,800 | c4cb95f3b4023a58b6ceeaa59b8677a2c5c54c24 | doc: Update address to report security vulnerability
shall be used. | [
{
"change_type": "MODIFY",
"old_path": "README.rst",
"new_path": "README.rst",
"diff": "@@ -70,8 +70,7 @@ ACRN support systems:\nYou can browse through the reported issues and submit issues of your own.\n* **Reporting a Potential Security Vulnerability**: If you have discovered potential\n- security... | C | BSD 3-Clause New or Revised License | projectacrn/acrn-hypervisor | doc: Update address to report security vulnerability
acrn-security@lists.projectacrn.org shall be used.
Signed-off-by: Yonghua Huang <yonghua.huang@intel.com> |
528,667 | 07.04.2021 11:04:54 | -28,800 | 6ae5f8388ee2db763fd0d8891ab0e3ad1e3963f9 | dm: Remove the API version check
Interface version is not recommended in Linux kernel community. Please
check Documentation/driver-api/ioctl.rst for reasons.
Remove the unused API version check from acrn-dm.
Acked-by: Wang, Yu1 | [
{
"change_type": "MODIFY",
"old_path": "devicemodel/core/vmmapi.c",
"new_path": "devicemodel/core/vmmapi.c",
"diff": "@@ -77,30 +77,6 @@ const char *vm_state_to_str(enum vm_suspend_how idx)\nreturn (idx < VM_SUSPEND_LAST) ? vm_state_str[idx] : \"UNKNOWN\";\n}\n-static int\n-check_api(int fd)\n-{\n- ... | C | BSD 3-Clause New or Revised License | projectacrn/acrn-hypervisor | dm: Remove the API version check
Interface version is not recommended in Linux kernel community. Please
check Documentation/driver-api/ioctl.rst for reasons.
Remove the unused API version check from acrn-dm.
Tracked-On: #6282
Signed-off-by: Shuo A Liu <shuo.a.liu@intel.com>
Acked-by: Wang, Yu1 <yu1.wang@intel.com> |
528,667 | 07.04.2021 11:16:13 | -28,800 | 21e095dda05dd32335c8d4673cb62195bb4bea57 | dm: Remove unused vm_create_vcpu() interface
The hypervisor creates vCPUs for a User VM in VM creation interface. The
vm_create_vcpu() interface is not needed anymore.
Remove vm_create_vcpu() from acrn-dm.
Acked-by: Wang, Yu1 | [
{
"change_type": "MODIFY",
"old_path": "devicemodel/core/main.c",
"new_path": "devicemodel/core/main.c",
"diff": "@@ -261,11 +261,6 @@ add_cpu(struct vmctx *ctx, int vcpu_num)\nint error;\nfor (i = 0; i < vcpu_num; i++) {\n- error = vm_create_vcpu(ctx, (uint16_t)i);\n- if (error != 0) {\n- pr_err(\"... | C | BSD 3-Clause New or Revised License | projectacrn/acrn-hypervisor | dm: Remove unused vm_create_vcpu() interface
The hypervisor creates vCPUs for a User VM in VM creation interface. The
vm_create_vcpu() interface is not needed anymore.
Remove vm_create_vcpu() from acrn-dm.
Tracked-On: #6282
Signed-off-by: Shuo A Liu <shuo.a.liu@intel.com>
Acked-by: Wang, Yu1 <yu1.wang@intel.com> |
528,667 | 07.04.2021 18:20:09 | -28,800 | 42989f753e630a587b8e994b3ef175a986a30b37 | dm: Remove header vmm.h
vmm.h has some unused definitions.
Keep the useful definitions and delete vmm.h
Acked-by: Wang, Yu1 | [
{
"change_type": "MODIFY",
"old_path": "devicemodel/core/main.c",
"new_path": "devicemodel/core/main.c",
"diff": "#include \"log.h\"\n#include \"pci_util.h\"\n+#define VM_MAXCPU 16 /* maximum virtual cpus */\n+\n#define GUEST_NIO_PORT 0x488 /* guest upcalls via i/o port */\n/* Values returned for re... | C | BSD 3-Clause New or Revised License | projectacrn/acrn-hypervisor | dm: Remove header vmm.h
vmm.h has some unused definitions.
Keep the useful definitions and delete vmm.h
Tracked-On: #6282
Signed-off-by: Shuo A Liu <shuo.a.liu@intel.com>
Acked-by: Wang, Yu1 <yu1.wang@intel.com> |
528,667 | 07.04.2020 11:51:51 | -28,800 | 5a8bfff7a485f9933981c54ab1e8867b095ef84f | dm: return value 0 of vm_create_ioreq_client is valid
Negative return value of vm_create_ioreq_client is invalid. 0 is valid.
Acked-by: Wang, Yu1 | [
{
"change_type": "MODIFY",
"old_path": "devicemodel/core/main.c",
"new_path": "devicemodel/core/main.c",
"diff": "@@ -686,7 +686,7 @@ vm_loop(struct vmctx *ctx)\nint error;\nctx->ioreq_client = vm_create_ioreq_client(ctx);\n- if (ctx->ioreq_client <= 0) {\n+ if (ctx->ioreq_client < 0) {\npr_err(\"%s... | C | BSD 3-Clause New or Revised License | projectacrn/acrn-hypervisor | dm: return value 0 of vm_create_ioreq_client is valid
Negative return value of vm_create_ioreq_client is invalid. 0 is valid.
Tracked-On: #6282
Signed-off-by: Shuo A Liu <shuo.a.liu@intel.com>
Acked-by: Wang, Yu1 <yu1.wang@intel.com> |
528,667 | 07.07.2021 10:15:07 | -28,800 | 82fa2d6355878ba99319ad3d255943c8109d7485 | dm: Rename vhm_ioctl_defs.h to hsm_ioctl_defs.h | [
{
"change_type": "MODIFY",
"old_path": "devicemodel/include/acpi.h",
"new_path": "devicemodel/include/acpi.h",
"diff": "#ifndef _ACPI_H_\n#define _ACPI_H_\n-#include \"vhm_ioctl_defs.h\"\n+#include \"hsm_ioctl_defs.h\"\n#define SCI_INT 9\n"
},
{
"change_type": "MODIFY",
"old_path": "devi... | C | BSD 3-Clause New or Revised License | projectacrn/acrn-hypervisor | dm: Rename vhm_ioctl_defs.h to hsm_ioctl_defs.h
Tracked-On: #6282
Signed-off-by: Shuo A Liu <shuo.a.liu@intel.com> |
528,667 | 07.07.2021 11:10:04 | -28,800 | 3deb973b7af315f852d5adf700d9cb2dcacffe41 | dm: Use new ioctl ACRN_IOCTL_GET_PLATFORM_INFO
IC_GET_PLATFORM_INFO -> ACRN_IOCTL_GET_PLATFORM_INFO
struct acrn_vm_config -> struct acrn_vm_config_header(DM only)
struct platform_info -> struct acrn_platform_info | [
{
"change_type": "MODIFY",
"old_path": "devicemodel/core/vmmapi.c",
"new_path": "devicemodel/core/vmmapi.c",
"diff": "@@ -672,13 +672,13 @@ vm_irqfd(struct vmctx *ctx, struct acrn_irqfd *args)\n}\nint\n-vm_get_config(struct vmctx *ctx, struct acrn_vm_config *vm_cfg, struct platform_info *plat_info)\... | C | BSD 3-Clause New or Revised License | projectacrn/acrn-hypervisor | dm: Use new ioctl ACRN_IOCTL_GET_PLATFORM_INFO
IC_GET_PLATFORM_INFO -> ACRN_IOCTL_GET_PLATFORM_INFO
struct acrn_vm_config -> struct acrn_vm_config_header(DM only)
struct platform_info -> struct acrn_platform_info
Tracked-On: #6282
Signed-off-by: Shuo A Liu <shuo.a.liu@intel.com> |
528,667 | 07.07.2021 13:13:17 | -28,800 | f476ca55ab2389ec4e6b1dd10c5cf72f96640bf9 | hv: dm: Use new VM management ioctls
IC_CREATE_VM -> ACRN_IOCTL_CREATE_VM
IC_DESTROY_VM -> ACRN_IOCTL_DESTROY_VM
IC_START_VM -> ACRN_IOCTL_START_VM
IC_PAUSE_VM -> ACRN_IOCTL_PAUSE_VM
IC_RESET_VM -> ACRN_IOCTL_RESET_VM
struct acrn_create_vm -> struct acrn_vm_creation | [
{
"change_type": "MODIFY",
"old_path": "devicemodel/core/vmmapi.c",
"new_path": "devicemodel/core/vmmapi.c",
"diff": "@@ -165,12 +165,12 @@ struct vmctx *\nvm_create(const char *name, uint64_t req_buf, int *vcpu_num)\n{\nstruct vmctx *ctx;\n- struct acrn_create_vm create_vm;\n+ struct acrn_vm_creati... | C | BSD 3-Clause New or Revised License | projectacrn/acrn-hypervisor | hv: dm: Use new VM management ioctls
IC_CREATE_VM -> ACRN_IOCTL_CREATE_VM
IC_DESTROY_VM -> ACRN_IOCTL_DESTROY_VM
IC_START_VM -> ACRN_IOCTL_START_VM
IC_PAUSE_VM -> ACRN_IOCTL_PAUSE_VM
IC_RESET_VM -> ACRN_IOCTL_RESET_VM
struct acrn_create_vm -> struct acrn_vm_creation
Tracked-On: #6282
Signed-off-by: Shuo A Liu <... |
528,667 | 07.07.2021 14:02:31 | -28,800 | 107cae316a9c2a899df80871487d4d016ce11a51 | hv: dm: Use new ioctl ACRN_IOCTL_SET_VCPU_REGS
struct acrn_set_vcpu_regs -> struct acrn_vcpu_regs
struct acrn_vcpu_regs -> struct acrn_regs
IC_SET_VCPU_REGS -> ACRN_IOCTL_SET_VCPU_REGS | [
{
"change_type": "MODIFY",
"old_path": "devicemodel/core/sw_load_bzimage.c",
"new_path": "devicemodel/core/sw_load_bzimage.c",
"diff": "@@ -310,7 +310,7 @@ acrn_sw_load_bzimage(struct vmctx *ctx)\n{\nint ret, setup_size;\n- memset(&ctx->bsp_regs, 0, sizeof(struct acrn_set_vcpu_regs));\n+ memset(&ctx... | C | BSD 3-Clause New or Revised License | projectacrn/acrn-hypervisor | hv: dm: Use new ioctl ACRN_IOCTL_SET_VCPU_REGS
struct acrn_set_vcpu_regs -> struct acrn_vcpu_regs
struct acrn_vcpu_regs -> struct acrn_regs
IC_SET_VCPU_REGS -> ACRN_IOCTL_SET_VCPU_REGS
Tracked-On: #6282
Signed-off-by: Shuo A Liu <shuo.a.liu@intel.com> |
528,667 | 07.07.2021 14:14:04 | -28,800 | 3c66ba7ef51f612af00158600ef7dd7d51ee61df | dm: Use new interrupt management ioctls
IC_INJECT_MSI -> ACRN_IOCTL_INJECT_MSI
IC_SET_IRQLINE -> ACRN_IOCTL_SET_IRQLINE
IC_VM_INTR_MONITOR -> ACRN_IOCTL_VM_INTR_MONITOR | [
{
"change_type": "MODIFY",
"old_path": "devicemodel/core/vmmapi.c",
"new_path": "devicemodel/core/vmmapi.c",
"diff": "@@ -525,7 +525,7 @@ vm_lapic_msi(struct vmctx *ctx, uint64_t addr, uint64_t msg)\nmsi.msi_addr = addr;\nmsi.msi_data = msg;\n- return ioctl(ctx->fd, IC_INJECT_MSI, &msi);\n+ return i... | C | BSD 3-Clause New or Revised License | projectacrn/acrn-hypervisor | dm: Use new interrupt management ioctls
IC_INJECT_MSI -> ACRN_IOCTL_INJECT_MSI
IC_SET_IRQLINE -> ACRN_IOCTL_SET_IRQLINE
IC_VM_INTR_MONITOR -> ACRN_IOCTL_VM_INTR_MONITOR
Tracked-On: #6282
Signed-off-by: Shuo A Liu <shuo.a.liu@intel.com> |
528,667 | 07.07.2021 16:06:42 | -28,800 | 7e01d90b87438018e13c4ab2ce61187897bf7d8e | dm: Use new memory management ioctls
struct vm_memmap -> struct acrn_vm_memmap
VM_MEMMAP_SYSMEM -> ACRN_MEMMAP_RAM
VM_MMIO -> ACRN_MEMMAP_MMIO
PROT_ALL -> ACRN_MEM_ACCESS_RWX | [
{
"change_type": "MODIFY",
"old_path": "devicemodel/core/vmmapi.c",
"new_path": "devicemodel/core/vmmapi.c",
"diff": "@@ -362,16 +362,15 @@ int\nvm_map_memseg_vma(struct vmctx *ctx, size_t len, vm_paddr_t gpa,\nuint64_t vma, int prot)\n{\n- struct vm_memmap memmap;\n+ struct acrn_vm_memmap memmap;\n... | C | BSD 3-Clause New or Revised License | projectacrn/acrn-hypervisor | dm: Use new memory management ioctls
struct vm_memmap -> struct acrn_vm_memmap
VM_MEMMAP_SYSMEM -> ACRN_MEMMAP_RAM
VM_MMIO -> ACRN_MEMMAP_MMIO
PROT_ALL -> ACRN_MEM_ACCESS_RWX
Tracked-On: #6282
Signed-off-by: Shuo A Liu <shuo.a.liu@intel.com> |
528,667 | 07.07.2021 16:23:23 | -28,800 | 9d6774503777a6f4dd7b4d9b6de606698c6bca57 | dm: Use new ptdev interrupt management ioctls
IC_SET_PTDEV_INTR_INFO -> ACRN_IOCTL_SET_PTDEV_INTR
IC_RESET_PTDEV_INTR_INFO -> ACRN_IOCTL_RESET_PTDEV_INTR
struct ic_ptdev_irq -> struct acrn_ptdev_irq
IRQ_INTX -> ACRN_PTDEV_IRQ_INTX
IRQ_MSI -> ACRN_PTDEV_IRQ_MSI | [
{
"change_type": "MODIFY",
"old_path": "devicemodel/core/vmmapi.c",
"new_path": "devicemodel/core/vmmapi.c",
"diff": "@@ -611,33 +611,33 @@ int\nvm_set_ptdev_intx_info(struct vmctx *ctx, uint16_t virt_bdf, uint16_t phys_bdf,\nint virt_pin, int phys_pin, bool pic_pin)\n{\n- struct ic_ptdev_irq ptirq;... | C | BSD 3-Clause New or Revised License | projectacrn/acrn-hypervisor | dm: Use new ptdev interrupt management ioctls
IC_SET_PTDEV_INTR_INFO -> ACRN_IOCTL_SET_PTDEV_INTR
IC_RESET_PTDEV_INTR_INFO -> ACRN_IOCTL_RESET_PTDEV_INTR
struct ic_ptdev_irq -> struct acrn_ptdev_irq
IRQ_INTX -> ACRN_PTDEV_IRQ_INTX
IRQ_MSI -> ACRN_PTDEV_IRQ_MSI
Tracked-On: #6282
Signed-off-by: Shuo A Liu <shuo.... |
528,667 | 07.07.2021 16:34:22 | -28,800 | 3625eb7a9901b780ced01f20b9c37c44b274b9eb | hv: dm: Use new pci device passthrough management ioctls
IC_ASSIGN_PCIDEV -> ACRN_IOCTL_ASSIGN_PCIDEV
IC_DEASSIGN_PCIDEV -> ACRN_IOCTL_DEASSIGN_PCIDEV
QUIRK_PTDEV -> ACRN_PTDEV_QUIRK_ASSIGN
struct acrn_assign_pcidev -> struct acrn_pcidev
Move struct acrn_pcidev into acrn_common.h because it is used by both
DM and H... | [
{
"change_type": "MODIFY",
"old_path": "devicemodel/core/vmmapi.c",
"new_path": "devicemodel/core/vmmapi.c",
"diff": "@@ -540,15 +540,15 @@ vm_set_gsi_irq(struct vmctx *ctx, int gsi, uint32_t operation)\n}\nint\n-vm_assign_pcidev(struct vmctx *ctx, struct acrn_assign_pcidev *pcidev)\n+vm_assign_pcid... | C | BSD 3-Clause New or Revised License | projectacrn/acrn-hypervisor | hv: dm: Use new pci device passthrough management ioctls
IC_ASSIGN_PCIDEV -> ACRN_IOCTL_ASSIGN_PCIDEV
IC_DEASSIGN_PCIDEV -> ACRN_IOCTL_DEASSIGN_PCIDEV
QUIRK_PTDEV -> ACRN_PTDEV_QUIRK_ASSIGN
struct acrn_assign_pcidev -> struct acrn_pcidev
Move struct acrn_pcidev into acrn_common.h because it is used by both
DM and... |
528,667 | 07.07.2021 16:54:26 | -28,800 | 9e7abbb38c8bcba726317c3de93ee955e086c706 | dm: Use new MMIO device passthrough management ioctls
IC_ASSIGN_MMIODEV -> ACRN_IOCTL_ASSIGN_MMIODEV
IC_DEASSIGN_MMIODEV -> ACRN_IOCTL_DEASSIGN_MMIODEV
struct acrn_mmiodev has slight change. Move struct acrn_mmiodev into
acrn_common.h because it is used by both DM and HV. | [
{
"change_type": "MODIFY",
"old_path": "devicemodel/core/vmmapi.c",
"new_path": "devicemodel/core/vmmapi.c",
"diff": "@@ -554,13 +554,13 @@ vm_deassign_pcidev(struct vmctx *ctx, struct acrn_pcidev *pcidev)\nint\nvm_assign_mmiodev(struct vmctx *ctx, struct acrn_mmiodev *mmiodev)\n{\n- return ioctl(ct... | C | BSD 3-Clause New or Revised License | projectacrn/acrn-hypervisor | dm: Use new MMIO device passthrough management ioctls
IC_ASSIGN_MMIODEV -> ACRN_IOCTL_ASSIGN_MMIODEV
IC_DEASSIGN_MMIODEV -> ACRN_IOCTL_DEASSIGN_MMIODEV
struct acrn_mmiodev has slight change. Move struct acrn_mmiodev into
acrn_common.h because it is used by both DM and HV.
Tracked-On: #6282
Signed-off-by: Shuo A Liu ... |
528,667 | 07.07.2021 17:23:40 | -28,800 | 98c80d75b81fdd770a23b0e6e9e5c3fff1b9cfc5 | hv: dm: Use new virtual device management ioctls
IC_ADD_HV_VDEV -> ACRN_IOCTL_CREATE_VDEV
IC_REMOVE_HV_VDEV -> ACRN_IOCTL_DESTROY_VDEV
struct acrn_emul_dev -> struct acrn_vdev
Also, move struct acrn_vdev to acrn_common.h as this structure is used
by both DM and HV. | [
{
"change_type": "MODIFY",
"old_path": "devicemodel/core/vmmapi.c",
"new_path": "devicemodel/core/vmmapi.c",
"diff": "@@ -596,15 +596,15 @@ vm_unmap_ptdev_mmio(struct vmctx *ctx, int bus, int slot, int func,\n}\nint\n-vm_add_hv_vdev(struct vmctx *ctx, struct acrn_emul_dev *dev)\n+vm_add_hv_vdev(stru... | C | BSD 3-Clause New or Revised License | projectacrn/acrn-hypervisor | hv: dm: Use new virtual device management ioctls
IC_ADD_HV_VDEV -> ACRN_IOCTL_CREATE_VDEV
IC_REMOVE_HV_VDEV -> ACRN_IOCTL_DESTROY_VDEV
struct acrn_emul_dev -> struct acrn_vdev
Also, move struct acrn_vdev to acrn_common.h as this structure is used
by both DM and HV.
Tracked-On: #6282
Signed-off-by: Shuo A Liu <shuo.... |
528,667 | 07.07.2021 21:16:49 | -28,800 | 07381888d39b835c82b3f799de07e864bcea443e | dm: Use the new HSM eventfd ioctls
IC_EVENT_IOEVENTFD -> ACRN_IOCTL_IOEVENTFD
IC_EVENT_IRQFD -> ACRN_IOCTL_IRQFD | [
{
"change_type": "MODIFY",
"old_path": "devicemodel/core/vmmapi.c",
"new_path": "devicemodel/core/vmmapi.c",
"diff": "@@ -661,13 +661,13 @@ vm_intr_monitor(struct vmctx *ctx, void *intr_buf)\nint\nvm_ioeventfd(struct vmctx *ctx, struct acrn_ioeventfd *args)\n{\n- return ioctl(ctx->fd, IC_EVENT_IOEVE... | C | BSD 3-Clause New or Revised License | projectacrn/acrn-hypervisor | dm: Use the new HSM eventfd ioctls
IC_EVENT_IOEVENTFD -> ACRN_IOCTL_IOEVENTFD
IC_EVENT_IRQFD -> ACRN_IOCTL_IRQFD
Tracked-On: #6282
Signed-off-by: Shuo A Liu <shuo.a.liu@intel.com> |
528,667 | 07.07.2021 21:31:23 | -28,800 | d170336e906d72b216eb7de7d0094e9417e22228 | hv: Remove unused definition
Below data structures definition are deprecated, remove them.
struct acrn_create_vcpu
struct acrn_nmi_entry
struct acrn_vm_pci_msix_remap | [
{
"change_type": "MODIFY",
"old_path": "hypervisor/include/public/acrn_common.h",
"new_path": "hypervisor/include/public/acrn_common.h",
"diff": "@@ -367,19 +367,6 @@ struct acrn_vm_creation {\nuint64_t cpu_affinity;\n} __aligned(8);\n-/**\n- * @brief Info to create a VCPU (deprecated)\n- *\n- * the... | C | BSD 3-Clause New or Revised License | projectacrn/acrn-hypervisor | hv: Remove unused definition
Below data structures definition are deprecated, remove them.
struct acrn_create_vcpu
struct acrn_nmi_entry
struct acrn_vm_pci_msix_remap
Tracked-On: #6282
Signed-off-by: Shuo A Liu <shuo.a.liu@intel.com> |
528,667 | 23.04.2021 17:30:44 | -28,800 | b218544872b27c54c70df993f6175bf1c89bc25f | dm: Remove hardcode vm_config size from vm_get_config()
vm_config size can be calced by platform_info.sw.max_vms *
platform_info.sw.vm_config_size.
Change vm_get_config() to call IOCTL ACRN_IOCTL_GET_PLATFORM_INFO
twice, first to get platform_info, second to get the vm_configs
content. | [
{
"change_type": "MODIFY",
"old_path": "devicemodel/core/vmmapi.c",
"new_path": "devicemodel/core/vmmapi.c",
"diff": "@@ -673,29 +673,36 @@ vm_irqfd(struct vmctx *ctx, struct acrn_irqfd *args)\nint\nvm_get_config(struct vmctx *ctx, struct acrn_vm_config_header *vm_cfg, struct acrn_platform_info *pla... | C | BSD 3-Clause New or Revised License | projectacrn/acrn-hypervisor | dm: Remove hardcode vm_config size from vm_get_config()
vm_config size can be calced by platform_info.sw.max_vms *
platform_info.sw.vm_config_size.
Change vm_get_config() to call IOCTL ACRN_IOCTL_GET_PLATFORM_INFO
twice, first to get platform_info, second to get the vm_configs
content.
Tracked-On: #6282
Signed-off-b... |
528,667 | 02.07.2021 12:03:11 | -28,800 | 1bccfab3b69fc813bb37d7fd8efd8d6f0227e28c | config_tools: Use new HSM driver device node | [
{
"change_type": "MODIFY",
"old_path": "misc/config_tools/data/sample_launch_scripts/apl-mrb/acrn_guest.service",
"new_path": "misc/config_tools/data/sample_launch_scripts/apl-mrb/acrn_guest.service",
"diff": "@@ -5,7 +5,7 @@ After=weston.service\nAfter=systemd-resolved.service\nConditionPathExists=... | C | BSD 3-Clause New or Revised License | projectacrn/acrn-hypervisor | config_tools: Use new HSM driver device node
Tracked-On: #6282
Signed-off-by: Shuo A Liu <shuo.a.liu@intel.com> |
528,667 | 09.07.2021 15:24:38 | -28,800 | 4896faaebb8b8f5c7670657618d7edf85e3f6d92 | hv: dm: Remove aligned attribute of common structures
Common structures are used by DM, kernel, HV. Aligned attribute might
caused structures size mismatch between DM/HV and kernel, as kernel uses
default GCC alignment.
So, make DM/HV also use the default GCC alignment. | [
{
"change_type": "MODIFY",
"old_path": "hypervisor/include/public/acrn_common.h",
"new_path": "hypervisor/include/public/acrn_common.h",
"diff": "@@ -102,7 +102,7 @@ struct acrn_mmio_request {\n* @brief The value read for I/O reads or to be written for I/O writes\n*/\nuint64_t value;\n-} __aligned(8... | C | BSD 3-Clause New or Revised License | projectacrn/acrn-hypervisor | hv: dm: Remove aligned attribute of common structures
Common structures are used by DM, kernel, HV. Aligned attribute might
caused structures size mismatch between DM/HV and kernel, as kernel uses
default GCC alignment.
So, make DM/HV also use the default GCC alignment.
Tracked-On: #6282
Signed-off-by: Shuo A Liu <s... |
528,667 | 07.07.2021 09:42:17 | -28,800 | 7947b4dae8acc80e4b8674ef054184ad4c1dd492 | doc: Adapt documents to new HSM driver | [
{
"change_type": "MODIFY",
"old_path": "devicemodel/include/public/hsm_ioctl_defs.h",
"new_path": "devicemodel/include/public/hsm_ioctl_defs.h",
"diff": "@@ -224,20 +224,7 @@ struct acrn_ioreq_notify {\n#define ACRN_PLATFORM_LAPIC_IDS_MAX 64\n/**\n- * struct acrn_platform_info - Information of a pla... | C | BSD 3-Clause New or Revised License | projectacrn/acrn-hypervisor | doc: Adapt documents to new HSM driver
Tracked-On: #6282
Signed-off-by: Shuo A Liu <shuo.a.liu@intel.com> |
528,768 | 08.07.2021 14:57:42 | -28,800 | 48908d522f0f68d942b1441e876e82986fe023e9 | hv: minor coding style fix in list.h
To add brakets for '(char *)(ptr)' in MACRO
container_of(), which may be used recursively. | [
{
"change_type": "MODIFY",
"old_path": "hypervisor/include/lib/list.h",
"new_path": "hypervisor/include/lib/list.h",
"diff": "@@ -119,7 +119,7 @@ static inline void list_splice_init(struct list_head *list,\n}\n#define container_of(ptr, type, member) \\\n- ((type *)((char *)(ptr)-offsetof(type, membe... | C | BSD 3-Clause New or Revised License | projectacrn/acrn-hypervisor | hv: minor coding style fix in list.h
To add brakets for '(char *)(ptr)' in MACRO
container_of(), which may be used recursively.
Tracked-On: #6284
Signed-off-by: Yonghua Huang <yonghua.huang@intel.com> |
528,747 | 15.07.2021 09:54:21 | 25,200 | 86f9cda177fc2498d1812047a8ae92dddbe3aa99 | doc: add enable PTM tutorial
Restore PTM tutorial removed for the 2.5 release (it's tested as
working now) | [
{
"change_type": "MODIFY",
"old_path": "doc/develop.rst",
"new_path": "doc/develop.rst",
"diff": "@@ -77,6 +77,7 @@ Enable ACRN Features\ntutorials/acrn-secure-boot-with-efi-stub\ntutorials/pre-launched-rt\ntutorials/enable_ivshmem\n+ tutorials/enable_ptm\nDebug\n*****\n"
},
{
"change_type":... | C | BSD 3-Clause New or Revised License | projectacrn/acrn-hypervisor | doc: add enable PTM tutorial
Restore PTM tutorial removed for the 2.5 release (it's tested as
working now)
Signed-off-by: David B. Kinder <david.b.kinder@intel.com> |
528,680 | 15.06.2021 15:43:00 | 25,200 | 987216fef0e3e50870ee58970daa5f7290ce04f4 | config-tools: add MSI-X capability
Add the MSI-X capability structure nodes under <capability
id="MSI-X"> in board.xml.
Example:
<capability id="MSI-X">
<table_size>16</table_size>
<table_bir>1</table_bir>
<table_offset>0x1000000</table_offset>
<pba_bir>1</pba_bir>
<pba_offset>0x0</pba_offset>
</capability>
Fix the MSI... | [
{
"change_type": "MODIFY",
"old_path": "misc/config_tools/board_inspector/extractors/60-pci.py",
"new_path": "misc/config_tools/board_inspector/extractors/60-pci.py",
"diff": "@@ -24,9 +24,9 @@ def collect_hostbridge_resources(bus_node):\nadd_child(bus_node, \"resource\", type=\"memory\", min=hex(be... | C | BSD 3-Clause New or Revised License | projectacrn/acrn-hypervisor | config-tools: add MSI-X capability
Add the MSI-X capability structure nodes under <capability
id="MSI-X"> in board.xml.
Example:
<capability id="MSI-X">
<table_size>16</table_size>
<table_bir>1</table_bir>
<table_offset>0x1000000</table_offset>
<pba_bir>1</pba_bir>
<pba_offset>0x0</pba_offset>
... |
528,680 | 07.07.2021 15:17:50 | 25,200 | 73547471c7f8dc020623fb6b4c93f48e107c9042 | config-tools: refine the MAX_MSIX_TABLE_NUM in config.h
Find the maximum of counts MSI and table_size of MSI-X based on
board.xml. | [
{
"change_type": "MODIFY",
"old_path": "misc/config_tools/xforms/config_common.xsl",
"new_path": "misc/config_tools/xforms/config_common.xsl",
"diff": "<xsl:with-param name=\"key\" select=\"'BOARD'\" />\n<xsl:with-param name=\"value\" select=\"@board\" />\n</xsl:call-template>\n+ <xsl:call-template ... | C | BSD 3-Clause New or Revised License | projectacrn/acrn-hypervisor | config-tools: refine the MAX_MSIX_TABLE_NUM in config.h
Find the maximum of counts MSI and table_size of MSI-X based on
board.xml.
Tracked-On: #6235
Signed-off-by: Yang,Yu-chu <yu-chu.yang@intel.com> |
528,721 | 16.07.2021 11:22:51 | -28,800 | 005dacbbae1f25b3853b67bf4465c8377fc3f873 | config_tools: enlarge max size to store RTCT table
Enlarge the max size to store the PTCT/RTCT table to 1k bytes
because the size of RTCT table exceeded the original max size
0x1100 - 0xF00 which makes RTCT table overlap other ACPI tables. | [
{
"change_type": "MODIFY",
"old_path": "misc/config_tools/acpi_gen/acpi_const.py",
"new_path": "misc/config_tools/acpi_gen/acpi_const.py",
"diff": "@@ -26,7 +26,7 @@ ACPI_DSDT_ADDR_OFFSET = 0x240 # (variable)\nACPI_MCFG_ADDR_OFFSET = 0x440 # (60 bytes)\nACPI_MADT_ADDR_OFFSET = 0x480 # (depends on #C... | C | BSD 3-Clause New or Revised License | projectacrn/acrn-hypervisor | config_tools: enlarge max size to store RTCT table
Enlarge the max size to store the PTCT/RTCT table to 1k bytes
because the size of RTCT table exceeded the original max size
0x1100 - 0xF00 which makes RTCT table overlap other ACPI tables.
Tracked-On: #6303
Signed-off-by: Kunhui-Li <kunhuix.li@intel.com> |
528,680 | 14.06.2021 13:52:30 | 25,200 | fec1f87adc57ba14d9608fe06ca9da112b8ccc44 | config-tools: do not exit when the board inspector runs in hypervisor
While running in a nested environment, such as qemu, parse the board
information should be allowed even it is not in a native environment.
Replace the error with warning message and does not exit the program. | [
{
"change_type": "MODIFY",
"old_path": "misc/config_tools/board_inspector/cli.py",
"new_path": "misc/config_tools/board_inspector/cli.py",
"diff": "@@ -11,11 +11,23 @@ import subprocess\nimport lxml.etree\nimport argparse\nfrom importlib import import_module\n+from cpuparser import parse_cpuid, get_... | C | BSD 3-Clause New or Revised License | projectacrn/acrn-hypervisor | config-tools: do not exit when the board inspector runs in hypervisor
While running in a nested environment, such as qemu, parse the board
information should be allowed even it is not in a native environment.
Replace the error with warning message and does not exit the program.
Tracked-On: #6208
Signed-off-by: Yang,... |
528,747 | 19.07.2021 14:16:05 | 25,200 | 1129fe17367e32ff75adf2d3ddbaf2f0105643e8 | doc: update nested virtualization tutorial notation
Add notation description for VMCSxx introducted in the nested
virtualization tutorial. | [
{
"change_type": "MODIFY",
"old_path": "doc/tutorials/nvmx_virtualization.rst",
"new_path": "doc/tutorials/nvmx_virtualization.rst",
"diff": "@@ -39,11 +39,14 @@ The high-level design of nested virtualization in ACRN is shown in :numref:`nest\nNested VMX is enabled by allowing a guest VM to use VMX ... | C | BSD 3-Clause New or Revised License | projectacrn/acrn-hypervisor | doc: update nested virtualization tutorial notation
Add notation description for VMCSxx introducted in the nested
virtualization tutorial.
Signed-off-by: David B. Kinder <david.b.kinder@intel.com> |
528,747 | 19.07.2021 18:51:12 | 25,200 | 5817cf82563b7bf35ef0f4d361c6c688082bc83c | doc: fix acrn shell command
Update keys to return to ACRN shell console | [
{
"change_type": "MODIFY",
"old_path": "doc/user-guides/acrn-shell.rst",
"new_path": "doc/user-guides/acrn-shell.rst",
"diff": "@@ -28,7 +28,7 @@ The ACRN hypervisor shell supports the following commands:\n- Dump a User VM (guest) memory region based on the VM ID (``vm_id``, in decimal),\nthe start ... | C | BSD 3-Clause New or Revised License | projectacrn/acrn-hypervisor | doc: fix acrn shell command
Update keys to return to ACRN shell console
Signed-off-by: David B. Kinder <david.b.kinder@intel.com> |
528,772 | 12.07.2021 09:36:39 | 14,400 | 7926504011dc69643af06391edb637bdd25d2edd | HV: rename split-lock emulation APIs
Because the emulation code is for both split-lock and uc-lock, Changed
these API names:
vcpu_kick_splitlock_emulation() -> vcpu_kick_lock_instr_emulation()
vcpu_complete_splitlock_emulation() -> vcpu_complete_lock_instr_emulation()
emulate_splitlock() -> emulate_lock_instr()
Acked-b... | [
{
"change_type": "MODIFY",
"old_path": "hypervisor/arch/x86/guest/splitlock.c",
"new_path": "hypervisor/arch/x86/guest/splitlock.c",
"diff": "@@ -36,7 +36,7 @@ static bool is_guest_gp_enabled(struct acrn_vcpu *vcpu)\nreturn ret;\n}\n-void vcpu_kick_splitlock_emulation(struct acrn_vcpu *cur_vcpu)\n+v... | C | BSD 3-Clause New or Revised License | projectacrn/acrn-hypervisor | HV: rename split-lock emulation APIs
Because the emulation code is for both split-lock and uc-lock, Changed
these API names:
vcpu_kick_splitlock_emulation() -> vcpu_kick_lock_instr_emulation()
vcpu_complete_splitlock_emulation() -> vcpu_complete_lock_instr_emulation()
emulate_splitlock() -> emulate_lock_instr()
Track... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.