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,654 | 09.03.2021 11:02:30 | -28,800 | ea701c63c7530e433bdbbece1996d9077e85100a | hv: pgtable: add pgtable_create_trusty_root
Add pgtable_create_trusty_root to allocate a page for trusty PML4 page table page.
This function also copy PDPT entries from Normal world to Secure world. | [
{
"change_type": "MODIFY",
"old_path": "hypervisor/arch/x86/guest/trusty.c",
"new_path": "hypervisor/arch/x86/guest/trusty.c",
"diff": "@@ -55,55 +55,16 @@ struct trusty_mem {\nstatic void create_secure_world_ept(struct acrn_vm *vm, uint64_t gpa_orig,\nuint64_t size, uint64_t gpa_rebased)\n{\n- uint... | C | BSD 3-Clause New or Revised License | projectacrn/acrn-hypervisor | hv: pgtable: add pgtable_create_trusty_root
Add pgtable_create_trusty_root to allocate a page for trusty PML4 page table page.
This function also copy PDPT entries from Normal world to Secure world.
Tracked-On: #5830
Signed-off-by: Li Fei1 <fei1.li@intel.com>
Reviewed-by: Jason Chen CJ <jason.cj.chen@intel.com> |
528,654 | 09.03.2021 11:11:07 | -28,800 | ef90bb6db38a3c6abea733023ed16e33e6388c03 | hv:pgtable: rename lookup_address to pgtable_lookup_entry
lookup_address is used to lookup a pagetable entry by an address. So rename it
to pgtable_lookup_entry to indicate this clearly. | [
{
"change_type": "MODIFY",
"old_path": "hypervisor/arch/x86/guest/ept.c",
"new_path": "hypervisor/arch/x86/guest/ept.c",
"diff": "@@ -222,7 +222,7 @@ uint64_t local_gpa2hpa(struct acrn_vm *vm, uint64_t gpa, uint32_t *size)\nvoid *eptp;\neptp = get_ept_entry(vm);\n- pgentry = lookup_address((uint64_t... | C | BSD 3-Clause New or Revised License | projectacrn/acrn-hypervisor | hv:pgtable: rename lookup_address to pgtable_lookup_entry
lookup_address is used to lookup a pagetable entry by an address. So rename it
to pgtable_lookup_entry to indicate this clearly.
Tracked-On: #5830
Signed-off-by: Li Fei1 <fei1.li@intel.com>
Reviewed-by: Jason Chen CJ <jason.cj.chen@intel.com> |
528,654 | 22.03.2021 13:59:29 | -28,800 | d1ae797742e37ed25b09b5fd701d9dbb9f5535bf | hv: pgtable: move sanitize_pte into pagetable.c
sanitize_pte is used to set page table entry to map to an sanitized page to
mitigate l1tf. It should belongs to pgtable module. So move it to pagetable.c | [
{
"change_type": "MODIFY",
"old_path": "hypervisor/arch/x86/guest/trusty.c",
"new_path": "hypervisor/arch/x86/guest/trusty.c",
"diff": "@@ -90,8 +90,6 @@ void destroy_secure_world(struct acrn_vm *vm, bool need_clr_mem)\n}\nept_del_mr(vm, vm->arch_vm.sworld_eptp, gpa_uos, size);\n- /* sanitize trusty... | C | BSD 3-Clause New or Revised License | projectacrn/acrn-hypervisor | hv: pgtable: move sanitize_pte into pagetable.c
sanitize_pte is used to set page table entry to map to an sanitized page to
mitigate l1tf. It should belongs to pgtable module. So move it to pagetable.c
Tracked-On: #5830
Signed-off-by: Li Fei1 <fei1.li@intel.com> |
528,728 | 03.03.2021 15:07:34 | -3,600 | 52d2b0954af95230d6535517820b5cc141e7f3d1 | Makefile: create top-level target for the ACRN life_mngr
The ACRN life_mngr is not built by default as it is a component
that will run in the User VM. Instead we create a 'life_mngr'
(and 'life_mngr-install') targets to build it individually from
the top-level folder. | [
{
"change_type": "MODIFY",
"old_path": "Makefile",
"new_path": "Makefile",
"diff": "@@ -75,7 +75,7 @@ HV_CFG_LOG = $(HV_OUT)/cfg.log\nVM_CONFIGS_DIR = $(T)/misc/config_tools\nASL_COMPILER ?= $(shell which iasl)\n-.PHONY: all hypervisor devicemodel tools doc\n+.PHONY: all hypervisor devicemodel tools... | C | BSD 3-Clause New or Revised License | projectacrn/acrn-hypervisor | Makefile: create top-level target for the ACRN life_mngr
The ACRN life_mngr is not built by default as it is a component
that will run in the User VM. Instead we create a 'life_mngr'
(and 'life_mngr-install') targets to build it individually from
the top-level folder.
Tracked-On: #5660
Signed-off-by: Geoffroy Van Cut... |
528,725 | 25.03.2021 15:33:18 | -28,800 | 7fed0b839fb4a98595e67b0ec21b0c0e48b771ff | doc: add summary of config changes and upgrading guides
v2:
* Add the complete instructions to upgrade Python
* Add libxml2-utils as another additional tool required for building v2.4
* Random typo fixes | [
{
"change_type": "MODIFY",
"old_path": "doc/tutorials/acrn_configuration_tool.rst",
"new_path": "doc/tutorials/acrn_configuration_tool.rst",
"diff": "@@ -152,6 +152,8 @@ toolset.\nConfiguration Workflow\n+.. _acrn_makefile_targets:\n+\nMakefile Targets for Configuration\n============================... | C | BSD 3-Clause New or Revised License | projectacrn/acrn-hypervisor | doc: add summary of config changes and upgrading guides
v2:
* Add the complete instructions to upgrade Python
* Add libxml2-utils as another additional tool required for building v2.4
* Random typo fixes
Signed-off-by: Junjie Mao <junjie.mao@intel.com>
Signed-off-by: Benjamin Fitch <benjamin.fitch@intel.com> |
528,728 | 18.03.2021 12:26:45 | -3,600 | 83c82f01c3c9f217ddac9fa6742e0491dcb4a4fd | doc: update acpica-unix version to latest (20210105)
Update the ACPI Component Architecture package (acpica-unix) to
the latest version available as of today: | [
{
"change_type": "MODIFY",
"old_path": "doc/getting-started/building-from-source.rst",
"new_path": "doc/getting-started/building-from-source.rst",
"diff": "@@ -80,9 +80,9 @@ ACRN.\nxsltproc\n$ sudo pip3 install lxml xmlschema\n- $ wget https://acpica.org/sites/acpica/files/acpica-unix-20191018.tar.g... | C | BSD 3-Clause New or Revised License | projectacrn/acrn-hypervisor | doc: update acpica-unix version to latest (20210105)
Update the ACPI Component Architecture package (acpica-unix) to
the latest version available as of today: 20210105
Tracked-On: #5553
Signed-off-by: Geoffroy Van Cutsem <geoffroy.vancutsem@intel.com> |
528,808 | 23.03.2021 15:53:33 | -28,800 | 682ffb5234bd9f9df2fcc054f41a15c0020aca0b | doc: update doc for hybrid and logical_partition mode:
using_hybrid_mode_on_nuc.rst
using_partition_mode_on_nuc.rst | [
{
"change_type": "MODIFY",
"old_path": "doc/getting-started/building-from-source.rst",
"new_path": "doc/getting-started/building-from-source.rst",
"diff": "@@ -182,7 +182,7 @@ You can also build ACRN with your customized scenario:\n.. code-block:: none\n- $ make BOARD=nuc6cayh SCENARIO=/path/to/scen... | C | BSD 3-Clause New or Revised License | projectacrn/acrn-hypervisor | doc: update doc for hybrid and logical_partition mode:
using_hybrid_mode_on_nuc.rst
using_partition_mode_on_nuc.rst
Signed-off-by: guoqingxz <guoqingx.q.zhang@intel.com> |
528,808 | 24.03.2021 16:55:50 | -28,800 | cce2874ff1e503317827a8115b0e04bc4adb786a | Update doc/getting-started/building-from-source.rst | [
{
"change_type": "MODIFY",
"old_path": "doc/getting-started/building-from-source.rst",
"new_path": "doc/getting-started/building-from-source.rst",
"diff": "@@ -182,7 +182,7 @@ You can also build ACRN with your customized scenario:\n.. code-block:: none\n- $ make BOARD=$PWD/misc/config_tools/data/nuc... | C | BSD 3-Clause New or Revised License | projectacrn/acrn-hypervisor | Update doc/getting-started/building-from-source.rst
Co-authored-by: Geoffroy Van Cutsem <geoffroy.vancutsem@intel.com> |
528,808 | 24.03.2021 16:58:03 | -28,800 | 725f525f9fb9a5de451c054383a7ffc782330468 | Update doc/tutorials/using_partition_mode_on_nuc.rst | [
{
"change_type": "MODIFY",
"old_path": "doc/tutorials/using_partition_mode_on_nuc.rst",
"new_path": "doc/tutorials/using_partition_mode_on_nuc.rst",
"diff": "@@ -161,7 +161,7 @@ Update ACRN Hypervisor Image\n.. code-block:: none\n- $ make hypervisor BOARD_FILE=whl-ipc-i7 SCENARIO_FILE=logical_partit... | C | BSD 3-Clause New or Revised License | projectacrn/acrn-hypervisor | Update doc/tutorials/using_partition_mode_on_nuc.rst
Co-authored-by: Geoffroy Van Cutsem <geoffroy.vancutsem@intel.com> |
528,728 | 24.03.2021 14:26:01 | -3,600 | 4e8ccd166f591f7b894aa917eb4ed52b02154ac5 | doc: create a copy of the scenario file before making modifications
Instruct the user to create a copy of the scenario XML file if modifications
are needed. That modified copy should subsequently be used for building ACRN. | [
{
"change_type": "MODIFY",
"old_path": "doc/tutorials/using_partition_mode_on_nuc.rst",
"new_path": "doc/tutorials/using_partition_mode_on_nuc.rst",
"diff": "@@ -139,11 +139,6 @@ Update ACRN Hypervisor Image\n04:00.0 Ethernet controller: Intel Corporation I210 Gigabit Network Connection (rev 03)\nSu... | C | BSD 3-Clause New or Revised License | projectacrn/acrn-hypervisor | doc: create a copy of the scenario file before making modifications
Instruct the user to create a copy of the scenario XML file if modifications
are needed. That modified copy should subsequently be used for building ACRN.
Signed-off-by: Geoffroy Van Cutsem <geoffroy.vancutsem@intel.com> |
528,735 | 26.03.2021 11:16:14 | -28,800 | be487c23a209dd9e0b2eee748f1b65bdcc695989 | config-tools: modify sample launch scripts
delete pm para in sample launch scripts and update the comments | [
{
"change_type": "MODIFY",
"old_path": "misc/config_tools/data/sample_launch_scripts/nuc/launch_hard_rt_vm.sh",
"new_path": "misc/config_tools/data/sample_launch_scripts/nuc/launch_hard_rt_vm.sh",
"diff": "#!/bin/bash\n# Copyright (C) 2019 Intel Corporation.\n# SPDX-License-Identifier: BSD-3-Clause\... | C | BSD 3-Clause New or Revised License | projectacrn/acrn-hypervisor | config-tools: modify sample launch scripts
delete pm para in sample launch scripts and update the comments
Tracked-On: #5736
Signed-off-by: li shuang <shuangx.li@intel.com> |
528,747 | 29.03.2021 15:11:50 | 25,200 | 1e175b31463b6b2113410db832673ea3c506374a | doc: update v2.4 release notes
Update draft release notes with more information about documentation.
Remove code-block extra indenting.
Add label to roscube gsg so we can link to it (in the releaes notes).
Fix style for :option: references to make them look more links links. | [
{
"change_type": "MODIFY",
"old_path": "doc/getting-started/roscube/roscube-gsg.rst",
"new_path": "doc/getting-started/roscube/roscube-gsg.rst",
"diff": "+.. _roscube-gsg:\n+\nGetting Started Guide for ACRN Industry Scenario With ROScube-I\n###########################################################... | C | BSD 3-Clause New or Revised License | projectacrn/acrn-hypervisor | doc: update v2.4 release notes
Update draft release notes with more information about documentation.
Remove code-block extra indenting.
Add label to roscube gsg so we can link to it (in the releaes notes).
Fix style for :option: references to make them look more links links.
Signed-off-by: David B. Kinder <david.b.ki... |
528,747 | 29.03.2021 19:30:36 | 25,200 | d70c11985eb1ef98b4fd83f2eb0203d4df857d48 | doc: additional release notes edits
More clarity on doc changes | [
{
"change_type": "MODIFY",
"old_path": "doc/release_notes/release_notes_2.4.rst",
"new_path": "doc/release_notes/release_notes_2.4.rst",
"diff": ".. _release_notes_2.4:\n-ACRN v2.4 (Mar 2021) - DRAFT\n-############################\n+ACRN v2.4 (Mar 2021)\n+####################\nWe are pleased to anno... | C | BSD 3-Clause New or Revised License | projectacrn/acrn-hypervisor | doc: additional release notes edits
More clarity on doc changes
Signed-off-by: David B. Kinder <david.b.kinder@intel.com> |
528,708 | 30.03.2021 11:45:16 | -28,800 | 49bcfae5e1e5514fa0081e3e44d56018ad6973cf | Doc: update v2.4 release notes
Adding fixed issue and known issue information in release note. | [
{
"change_type": "MODIFY",
"old_path": "doc/release_notes/release_notes_2.4.rst",
"new_path": "doc/release_notes/release_notes_2.4.rst",
"diff": "@@ -262,7 +262,25 @@ available in the `version-specific v2.1 documentation\nFixed Issues Details\n********************\n-.. example - :acrn-issue:`4958` -... | C | BSD 3-Clause New or Revised License | projectacrn/acrn-hypervisor | Doc: update v2.4 release notes
Adding fixed issue and known issue information in release note.
Signed-off-by: fuzhongl <fuzhong.liu@intel.com> |
528,768 | 30.03.2021 11:15:29 | -28,800 | ebeb064d495034c854a1b349594429e3dfbac821 | doc: update 'enable secure boot in windows'
- use one command to generate x509 cert file,
remove the intermediate file.
- remove the "Keycontainer" field in INF file,
which is not mandatory. | [
{
"change_type": "DELETE",
"old_path": "doc/tutorials/images/waag_secure_boot_image1.png",
"new_path": "doc/tutorials/images/waag_secure_boot_image1.png",
"diff": "Binary files a/doc/tutorials/images/waag_secure_boot_image1.png and /dev/null differ\n"
},
{
"change_type": "DELETE",
"old_p... | C | BSD 3-Clause New or Revised License | projectacrn/acrn-hypervisor | doc: update 'enable secure boot in windows'
- use one command to generate x509 cert file,
remove the intermediate file.
- remove the "Keycontainer" field in INF file,
which is not mandatory.
Signed-off-by: Yonghua Huang <yonghua.huang@intel.com> |
528,708 | 31.03.2021 07:34:05 | -28,800 | 377694682d9aecdb12570deaa6314bfbbdb12628 | Doc: Update Launch Windows as the Guest VM
To keep align with script, change Windows10.iso and winvirtio.iso image relative paths to full paths. | [
{
"change_type": "MODIFY",
"old_path": "doc/tutorials/using_windows_as_uos.rst",
"new_path": "doc/tutorials/using_windows_as_uos.rst",
"diff": "@@ -223,8 +223,8 @@ Boot Windows on ACRN With a Default Configuration\n.. code-block:: bash\n- -s 5,ahci,cd:./Windows10.iso \\\n- -s 6,ahci,cd:./winvirtio.i... | C | BSD 3-Clause New or Revised License | projectacrn/acrn-hypervisor | Doc: Update Launch Windows as the Guest VM
To keep align with script, change Windows10.iso and winvirtio.iso image relative paths to full paths.
Signed-off-by: fuzhongl <fuzhong.liu@intel.com> |
528,747 | 07.04.2021 13:17:13 | 25,200 | 8f7a97c630cacc0b7fb720df541948e69968cabe | doc: add 2.4 to doc version menu | [
{
"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.4\", \"/2.4/\"),\n(\"2.3\", \"/2.3/\"),\n(\"2.2\", \"/2.2/\"),\n(\"2... | C | BSD 3-Clause New or Revised License | projectacrn/acrn-hypervisor | doc: add 2.4 to doc version menu
Signed-off-by: David B. Kinder <david.b.kinder@intel.com> |
528,747 | 08.04.2021 08:00:45 | 25,200 | 6d801d17405604bc56449d891c4da922220fae35 | doc: remove obsolete .txt file
The ACRN configuration option details are no longer maintained in a
checked-in document. Instead they are generated during the
``make html`` from information in the schema .xsd files. | [
{
"change_type": "DELETE",
"old_path": "doc/tutorials/acrn-config-details.txt",
"new_path": null,
"diff": "-``hv``:\n- Specify the global attributes for all VMs.\n-\n-``RELEASE`` (a child node of ``DEBUG_OPTIONS``):\n- Specify the final build is for Release or Debug.\n-\n-``SERIAL_CONSOLE`` (a child... | C | BSD 3-Clause New or Revised License | projectacrn/acrn-hypervisor | doc: remove obsolete .txt file
The ACRN configuration option details are no longer maintained in a
checked-in document. Instead they are generated during the
``make html`` from information in the schema .xsd files.
Signed-off-by: David B. Kinder <david.b.kinder@intel.com> |
528,730 | 12.04.2021 15:51:53 | 0 | fee0025db86f149bf1f6166148f48b5f1af19f8e | config_tools: update HV_RAM_SIZE calculation algorithm
update HV_RAM_SIZE calculation algorithm to 20MB + VM number*
16MB, which consists of text segment rodata(2MB), bss data(about
1MB), bss.ppt_pages(2.4MB), bss.ctx_tables(6MB), bss.vm_array(
3.2MB), bss.ivshmem_base(2MB+1.8MB for alignment) and
bss.post_uos_sworld_m... | [
{
"change_type": "MODIFY",
"old_path": "misc/config_tools/hv_config/board_defconfig.py",
"new_path": "misc/config_tools/hv_config/board_defconfig.py",
"diff": "import sys\nimport subprocess\n-import board_cfg_lib\n+import board_cfg_lib, scenario_cfg_lib\nimport hv_cfg_lib\nimport common\n@@ -13,23 +... | C | BSD 3-Clause New or Revised License | projectacrn/acrn-hypervisor | config_tools: update HV_RAM_SIZE calculation algorithm
update HV_RAM_SIZE calculation algorithm to 20MB + VM number*
16MB, which consists of text segment rodata(2MB), bss data(about
1MB), bss.ppt_pages(2.4MB), bss.ctx_tables(6MB), bss.vm_array(
3.2MB), bss.ivshmem_base(2MB+1.8MB for alignment) and
bss.post_uos_sworld_... |
528,730 | 12.04.2021 13:36:22 | 0 | 4f4fd65a64ee796d16f1cdd0094a4ab490650111 | config_tools: remove audio passthru in launch xmls on ehl-crb-b
There is no audio device in the default ehl-crb-b.xml, so remove
passthru audio devices from launch xmls on ehl-crb-b. | [
{
"change_type": "MODIFY",
"old_path": "misc/config_tools/data/ehl-crb-b/hybrid_rt_launch_1uos_waag.xml",
"new_path": "misc/config_tools/data/ehl-crb-b/hybrid_rt_launch_1uos_waag.xml",
"diff": "</communication_vuarts>\n<passthrough_devices>\n<usb_xdci desc=\"vm usb_xdci device\"></usb_xdci>\n- <audi... | C | BSD 3-Clause New or Revised License | projectacrn/acrn-hypervisor | config_tools: remove audio passthru in launch xmls on ehl-crb-b
There is no audio device in the default ehl-crb-b.xml, so remove
passthru audio devices from launch xmls on ehl-crb-b.
Tracked-On: #5925
Signed-off-by: Shuang Zheng <shuang.zheng@intel.com>
Reviewed-by: Victor Sun <victor.sun@intel.com> |
528,654 | 09.04.2021 16:32:45 | -28,800 | 31f48d12a2d75f0cfae135d8000bb389b054ef24 | hv: memory order: use mfence to strengthen the fast string operations order
Use MFENCE to strengthen the fast string operations execute order to ensure
all trampoline code was updated before flush it into the memory. | [
{
"change_type": "MODIFY",
"old_path": "hypervisor/arch/x86/trampoline.c",
"new_path": "hypervisor/arch/x86/trampoline.c",
"diff": "@@ -119,6 +119,7 @@ uint64_t prepare_trampoline(void)\n(size_t)size);\nupdate_trampoline_code_refs(dest_pa);\n+ cpu_memory_barrier();\nfor (i = 0UL; i < size; i = i + C... | C | BSD 3-Clause New or Revised License | projectacrn/acrn-hypervisor | hv: memory order: use mfence to strengthen the fast string operations order
Use MFENCE to strengthen the fast string operations execute order to ensure
all trampoline code was updated before flush it into the memory.
Tracked-On: #5929
Signed-off-by: Li Fei1 <fei1.li@intel.com> |
528,654 | 09.04.2021 16:40:37 | -28,800 | e049abb542fbb09020303513d6cdbf2f490bac90 | hv: vcpuid: hide new cpuid 0x1b/0x1f
Hide CPUID 0x1b (PCONFIG) and 0x1f (Extended Topology Enumeration Leaf) | [
{
"change_type": "MODIFY",
"old_path": "hypervisor/arch/x86/guest/vcpuid.c",
"new_path": "hypervisor/arch/x86/guest/vcpuid.c",
"diff": "@@ -402,6 +402,10 @@ int32_t set_vcpuid_entries(struct acrn_vm *vm)\ncase 0x10U:\n/* Intel Processor Trace */\ncase 0x14U:\n+ /* PCONFIG */\n+ case 0x1bU:\n+ /* V2 ... | C | BSD 3-Clause New or Revised License | projectacrn/acrn-hypervisor | hv: vcpuid: hide new cpuid 0x1b/0x1f
Hide CPUID 0x1b (PCONFIG) and 0x1f (Extended Topology Enumeration Leaf)
Tracked-On: #5929
Signed-off-by: Li Fei1 <fei1.li@intel.com> |
528,654 | 19.04.2021 11:02:11 | -28,800 | 5f281df548b85304c6bf043d904f056fdcc1f391 | hv: serializng: use mfence to ensure trampoline code was updated
Using the MFENCE to make sure trampoline code
has been updated (clflush) into memory beforing start APs. | [
{
"change_type": "MODIFY",
"old_path": "hypervisor/arch/x86/cpu.c",
"new_path": "hypervisor/arch/x86/cpu.c",
"diff": "@@ -322,6 +322,10 @@ static void start_pcpu(uint16_t pcpu_id)\nwrite_trampoline_stack_sym(pcpu_id);\nclac();\n+ /* Using the MFENCE to make sure trampoline code\n+ * has been updated... | C | BSD 3-Clause New or Revised License | projectacrn/acrn-hypervisor | hv: serializng: use mfence to ensure trampoline code was updated
Using the MFENCE to make sure trampoline code
has been updated (clflush) into memory beforing start APs.
Tracked-On: #5929
Signed-off-by: Li Fei1 <fei1.li@intel.com> |
528,654 | 05.03.2021 14:08:23 | -28,800 | 901e8c869ee2effdf70bceb883668949da16d36b | hv: vE820: calculate SOS memory size by vE820 tables
SOS's memory size could be calculated by its vE820 Tables easily.
Acked-by: eddie Dong | [
{
"change_type": "MODIFY",
"old_path": "hypervisor/arch/x86/guest/ve820.c",
"new_path": "hypervisor/arch/x86/guest/ve820.c",
"diff": "@@ -86,11 +86,10 @@ static void filter_mem_from_sos_e820(struct acrn_vm *vm, uint64_t start_pa, uint\n*/\nvoid create_sos_vm_e820(struct acrn_vm *vm)\n{\n- uint16_t v... | C | BSD 3-Clause New or Revised License | projectacrn/acrn-hypervisor | hv: vE820: calculate SOS memory size by vE820 tables
SOS's memory size could be calculated by its vE820 Tables easily.
Tracked-On: #5830
Signed-off-by: Li Fei1 <fei1.li@intel.com>
Acked-by: eddie Dong <eddie.dong@intel.com> |
528,654 | 05.03.2021 14:16:48 | -28,800 | 41e2d40d1f2f5a00099117c641068a0a105cff34 | hv: e820: remove get_mem_range_info
No one uses get_mem_range_info to get the top/bottom/size of the physical memory.
We could get these informations by e820 table easily.
Acked-by: eddie Dong | [
{
"change_type": "MODIFY",
"old_path": "hypervisor/arch/x86/e820.c",
"new_path": "hypervisor/arch/x86/e820.c",
"diff": "static uint32_t hv_e820_entries_nr;\n/* Describe the memory layout the hypervisor uses */\nstatic struct e820_entry hv_e820[E820_MAX_ENTRIES];\n-/* Describe the top/bottom/size of ... | C | BSD 3-Clause New or Revised License | projectacrn/acrn-hypervisor | hv: e820: remove get_mem_range_info
No one uses get_mem_range_info to get the top/bottom/size of the physical memory.
We could get these informations by e820 table easily.
Tracked-On: #5830
Signed-off-by: Li Fei1 <fei1.li@intel.com>
Acked-by: eddie Dong <eddie.dong@intel.com> |
528,654 | 20.04.2021 14:25:23 | -28,800 | 053c09e76476237b4a401e3cd0695130a6a36414 | hv: cpu_cap: PAW over 39 bits must support 1GB large page
The platform which physical-address width over 39 bits must support
1GB large page (Both MMU and VMX sides ). This could save lots of
page table pages for EPT MMIO mapping. | [
{
"change_type": "MODIFY",
"old_path": "hypervisor/arch/x86/cpu_caps.c",
"new_path": "hypervisor/arch/x86/cpu_caps.c",
"diff": "@@ -462,6 +462,11 @@ int32_t detect_hardware_support(void)\nprintf(\"%s, physical-address width (%d) over maximum physical-address width (%d)\\n\",\n__func__, boot_cpu_data... | C | BSD 3-Clause New or Revised License | projectacrn/acrn-hypervisor | hv: cpu_cap: PAW over 39 bits must support 1GB large page
The platform which physical-address width over 39 bits must support
1GB large page (Both MMU and VMX sides ). This could save lots of
page table pages for EPT MMIO mapping.
Tracked-On: #5929
Signed-off-by: Li Fei1 <fei1.li@intel.com> |
528,747 | 21.04.2021 14:00:59 | 25,200 | f596b6df13223ecf1d8519a6fbec231d6f80fa78 | doc: tweaks for latexpdf build
Update missing captions on figures to remove remaining broken references
during latexpdf building. Also, require doing a "make html" before
doing a "make latexpdf" to build all the artifacts needed for running
the latexpdf build. (We might change that later if needed.) | [
{
"change_type": "MODIFY",
"old_path": "doc/Makefile",
"new_path": "doc/Makefile",
"diff": "@@ -90,5 +90,5 @@ endif\n# Catch-all target: route all unknown targets to Sphinx using the new\n# \"make mode\" option. $(OPTS) is meant as a shortcut for $(SPHINXOPTS).\n-%: Makefile doxy\n+%: Makefile\n@$(S... | C | BSD 3-Clause New or Revised License | projectacrn/acrn-hypervisor | doc: tweaks for latexpdf build
Update missing captions on figures to remove remaining broken references
during latexpdf building. Also, require doing a "make html" before
doing a "make latexpdf" to build all the artifacts needed for running
the latexpdf build. (We might change that later if needed.)
Signed-off-by: ... |
528,807 | 22.04.2021 18:05:31 | -28,800 | afd0b7e8db7754b6960dc1aa2570cb661d65a10b | acrn-config: add adl-rvp xml
Add board xml and industry config xml for ADL-P. | [
{
"change_type": "ADD",
"old_path": null,
"new_path": "misc/config_tools/data/adl-rvp/adl-rvp.xml",
"diff": "+<acrn-config board=\"adl-rvp\">\n+ <BIOS_INFO>\n+ BIOS Information\n+ Vendor: Intel Corporation\n+ Version: ADLPFWI1.R00.2144.B00.2104011314\n+ Release Date: 04/01/2021\n+ </BIOS_INFO>\n+\n+... | C | BSD 3-Clause New or Revised License | projectacrn/acrn-hypervisor | acrn-config: add adl-rvp xml
Add board xml and industry config xml for ADL-P.
Tracked-On: #5941
Signed-off-by: Jiang, Yanting <yanting.jiang@intel.com> |
528,768 | 22.04.2021 14:47:54 | -28,800 | 6d5759a2600b2cb96f122441e5fd0dddaf739f43 | hv: bugfix in min() and max() MACROs
These two MACROs shall be wrapped as a single
value respectively, hence brackets should be used. | [
{
"change_type": "MODIFY",
"old_path": "hypervisor/include/lib/util.h",
"new_path": "hypervisor/include/lib/util.h",
"diff": "/** Roundup (x) to (y) aligned **/\n#define roundup(x, y) (((x) + ((y) - 1UL)) & (~((y) - 1UL)))\n-#define min(x, y) ((x) < (y)) ? (x) : (y)\n+#define min(x, y) (((x) < (y)) ... | C | BSD 3-Clause New or Revised License | projectacrn/acrn-hypervisor | hv: bugfix in min() and max() MACROs
These two MACROs shall be wrapped as a single
value respectively, hence brackets should be used.
Tracked-On: #5951
Signed-off-by: Yonghua Huang <yonghua.huang@intel.com> |
528,730 | 22.04.2021 16:38:32 | 0 | b96d23a68f156e1539a5872f778bd698747e3e3f | config_tools: update IVSHMEM_SHM_SIZE part for HV_RAM_SIZE calculation
add 2 * max (IVSHMEM_SHM_SIZE, 2M) in HV_RAM_SIZE calculation to
avoid ram overflow caused by additional memory usage for shared
memory alignment. | [
{
"change_type": "MODIFY",
"old_path": "misc/config_tools/hv_config/board_defconfig.py",
"new_path": "misc/config_tools/hv_config/board_defconfig.py",
"diff": "@@ -81,7 +81,7 @@ def get_memory(hv_info, config):\nexcept Exception as e:\nprint(e)\n- hv_ram_size += total_shm_size\n+ hv_ram_size += 2 * ... | C | BSD 3-Clause New or Revised License | projectacrn/acrn-hypervisor | config_tools: update IVSHMEM_SHM_SIZE part for HV_RAM_SIZE calculation
add 2 * max (IVSHMEM_SHM_SIZE, 2M) in HV_RAM_SIZE calculation to
avoid ram overflow caused by additional memory usage for shared
memory alignment.
Tracked-On: #5955
Signed-off-by: Shuang Zheng <shuang.zheng@intel.com>
Reviewed-by: Victor Sun <vic... |
528,747 | 27.04.2021 14:32:19 | 25,200 | a284123b7228abe178e233bf1be36b7f88355ce6 | doc: tweak known-issues for PDF processing
Update known-issues pattern for PDF processing to also work with updated
xelatex tools from Ubuntu 20.04 | [
{
"change_type": "MODIFY",
"old_path": "doc/.known-issues/doc/pdf.conf",
"new_path": "doc/.known-issues/doc/pdf.conf",
"diff": "#\n#\n^WARNING: Not copying tabs assets! Not compatible with latex builder\n-^Latexmk: Run number 1 of rule 'pdflatex'\n-^This is XeTeX, Version .* \\(preloaded format=xela... | C | BSD 3-Clause New or Revised License | projectacrn/acrn-hypervisor | doc: tweak known-issues for PDF processing
Update known-issues pattern for PDF processing to also work with updated
xelatex tools from Ubuntu 20.04
Signed-off-by: David B. Kinder <david.b.kinder@intel.com> |
528,768 | 27.04.2021 16:06:46 | -28,800 | 8ec150e31440406813e4b7ae069d8506ceb29885 | dm: bugfix in create_and_inject_vrtct
GPA of software SRAM is available only after
build_vrtct() function is called and the return
value of it is valid(Not NULL).
This patch fix bug in create_and_inject_vrtct()
function which violates above pre-condition when
calling get_software_sram_base_gpa(). | [
{
"change_type": "MODIFY",
"old_path": "devicemodel/hw/platform/acpi/acpi.c",
"new_path": "devicemodel/hw/platform/acpi/acpi.c",
"diff": "@@ -1101,7 +1101,6 @@ int create_and_inject_vrtct(struct vmctx *ctx)\n.prot = PROT_ALL\n};\n- memmap.gpa = get_software_sram_base_gpa();\nnative_rtct_fd = open(RT... | C | BSD 3-Clause New or Revised License | projectacrn/acrn-hypervisor | dm: bugfix in create_and_inject_vrtct
GPA of software SRAM is available only after
build_vrtct() function is called and the return
value of it is valid(Not NULL).
This patch fix bug in create_and_inject_vrtct()
function which violates above pre-condition when
calling get_software_sram_base_gpa().
Tracked-On: #... |
528,747 | 27.04.2021 19:19:56 | 25,200 | 82e3d8341c3e554db694ea74c9ef32e8f80537cd | doc: fix malformed code block in acrn config docs
Fix incorrect code-block notation and code-block language | [
{
"change_type": "MODIFY",
"old_path": "doc/tutorials/acrn_configuration_tool.rst",
"new_path": "doc/tutorials/acrn_configuration_tool.rst",
"diff": "@@ -382,15 +382,15 @@ Prerequisites\n.. _get acrn repo guide:\nhttps://projectacrn.github.io/latest/getting-started/building-from-source.html#get-the-... | C | BSD 3-Clause New or Revised License | projectacrn/acrn-hypervisor | doc: fix malformed code block in acrn config docs
Fix incorrect code-block notation and code-block language
Signed-off-by: David B. Kinder <david.b.kinder@intel.com> |
528,728 | 24.04.2021 01:13:15 | -7,200 | 9e838248c3ce4d6b68e1c5b068d10d566a06db10 | hv: enable uart=bdf@ for PCI serial ports which bar0 is not MMIO
This patch fixes the 'uart=bdf@XXX' mechanism for the PCI serial
port devices which bar0 is not MMIO. | [
{
"change_type": "MODIFY",
"old_path": "hypervisor/debug/uart16550.c",
"new_path": "hypervisor/debug/uart16550.c",
"diff": "@@ -18,16 +18,9 @@ struct console_uart {\nbool enabled;\nenum serial_dev_type type;\n- union {\nuint16_t port_address;\n- union {\n- struct {\n- union pci_bdf bdf;\n- void *cac... | C | BSD 3-Clause New or Revised License | projectacrn/acrn-hypervisor | hv: enable uart=bdf@ for PCI serial ports which bar0 is not MMIO
This patch fixes the 'uart=bdf@XXX' mechanism for the PCI serial
port devices which bar0 is not MMIO.
Tracked-On: #5968
Signed-off-by: Geoffroy Van Cutsem <geoffroy.vancutsem@intel.com>
Signed-off-by: Li Fei <fei1.li@intel.com> |
528,654 | 27.04.2021 13:41:50 | -28,800 | f3327364c315a9c5f3989599bcf9b22e946e44c4 | hv: mmu: fix a minor bug
We should only map [low32_max_ram, 4G) MMIO region as UC attribute,
not map [low32_max_ram, low32_max_ram + 4G) region as UC attribute.
Otherwise, the HV will complain [4G, low32_max_ram + 4G) region has
already mapped. | [
{
"change_type": "MODIFY",
"old_path": "hypervisor/arch/x86/mmu.c",
"new_path": "hypervisor/arch/x86/mmu.c",
"diff": "@@ -307,8 +307,8 @@ void init_paging(void)\nhigh64_max_ram - MEM_4G, PAGE_ATTR_USER | PAGE_CACHE_WB, &ppt_pgtable);\n/* Map [low32_max_ram, 4G) and [HI_MMIO_START, HI_MMIO_END) MMIO ... | C | BSD 3-Clause New or Revised License | projectacrn/acrn-hypervisor | hv: mmu: fix a minor bug
We should only map [low32_max_ram, 4G) MMIO region as UC attribute,
not map [low32_max_ram, low32_max_ram + 4G) region as UC attribute.
Otherwise, the HV will complain [4G, low32_max_ram + 4G) region has
already mapped.
Tracked-On: #5830
Signed-off-by: Li Fei1 <fei1.li@intel.com> |
528,747 | 30.04.2021 14:50:45 | 25,200 | 4c676acb9bc0854bb5a8fe2bb0f113cf9b990af9 | doc: fix missing codeblock directive | [
{
"change_type": "MODIFY",
"old_path": "doc/tutorials/using_windows_as_uos.rst",
"new_path": "doc/tutorials/using_windows_as_uos.rst",
"diff": "@@ -215,7 +215,7 @@ When you see the UEFI shell, input **exit**.\nBoot Windows on ACRN With a Default Configuration\n=======================================... | C | BSD 3-Clause New or Revised License | projectacrn/acrn-hypervisor | doc: fix missing codeblock directive
Signed-off-by: David B. Kinder <david.b.kinder@intel.com> |
528,728 | 04.05.2021 22:49:59 | -7,200 | 7c92ac425fe966607964c6368f30c31f6342be31 | doc: add note to emphasize the need to use --windows for WaaG
Add a note to the "Device Model Parameters" document to emphasize
the need to use the '--windows' parameter to use Windows-as-a-Guest
(WaaG), else Windows will not recognize the virtual disk it has
been assigned. | [
{
"change_type": "MODIFY",
"old_path": "doc/user-guides/acrn-dm-parameters.rst",
"new_path": "doc/user-guides/acrn-dm-parameters.rst",
"diff": "@@ -456,6 +456,10 @@ Here are descriptions for each of these ``acrn-dm`` command line parameters:\n--windows\n+ .. note::\n+ This option is mandatory for ru... | C | BSD 3-Clause New or Revised License | projectacrn/acrn-hypervisor | doc: add note to emphasize the need to use --windows for WaaG
Add a note to the "Device Model Parameters" document to emphasize
the need to use the '--windows' parameter to use Windows-as-a-Guest
(WaaG), else Windows will not recognize the virtual disk it has
been assigned.
Tracked-On: #5962
Signed-off-by: Geoffroy V... |
528,747 | 06.05.2021 15:48:18 | 25,200 | 50c1292365da2a56a17150abbafa35577dcd46a0 | doc: add clang-format to setup package list
clang-format is now used as part of the config tools creating c files
based on the XML configuration | [
{
"change_type": "MODIFY",
"old_path": "doc/getting-started/building-from-source.rst",
"new_path": "doc/getting-started/building-from-source.rst",
"diff": "@@ -57,7 +57,7 @@ ACRN.\n.. code-block:: none\n- $ sudo apt install gcc \\\n+ sudo apt install gcc \\\ngit \\\nmake \\\nlibssl-dev \\\n@@ -77,14... | C | BSD 3-Clause New or Revised License | projectacrn/acrn-hypervisor | doc: add clang-format to setup package list
clang-format is now used as part of the config tools creating c files
based on the XML configuration
Signed-off-by: David B. Kinder <david.b.kinder@intel.com> |
528,680 | 26.03.2021 18:31:05 | 25,200 | 4d0880ebecbecf841a93659ac4e91bcc070927b1 | config-tools: replace <guest_flag/> with <guest_flag>
<guest_flag/> may be treated as either empty string or null in xslt
transformation and xsd schema validation. Replace it with:
<guest_flag></guest_flag>
to avoid the undefined behavior.
The duplicate guest_flag are removed. | [
{
"change_type": "MODIFY",
"old_path": "misc/config_tools/data/apl-mrb/logical_partition.xml",
"new_path": "misc/config_tools/data/apl-mrb/logical_partition.xml",
"diff": "<vm_type>PRE_STD_VM</vm_type>\n<name>ACRN PRE-LAUNCHED VM0</name>\n<guest_flags>\n- <guest_flag/>\n+ <guest_flag></guest_flag>\n... | C | BSD 3-Clause New or Revised License | projectacrn/acrn-hypervisor | config-tools: replace <guest_flag/> with <guest_flag>
<guest_flag/> may be treated as either empty string or null in xslt
transformation and xsd schema validation. Replace it with:
<guest_flag></guest_flag>
to avoid the undefined behavior.
The duplicate guest_flag are removed.
Tracked-On: #5980
Signed-off-by: Yang... |
528,680 | 13.04.2021 22:03:10 | 25,200 | 160431096f982863e03e2991a05c98983afe9f9b | config-tools: add user-defined errors
Create a file which contains user-defined errors for config-tools. | [
{
"change_type": "ADD",
"old_path": null,
"new_path": "misc/config_tools/static_allocators/lib/error.py",
"diff": "+#!/usr/bin/env python3\n+#\n+# Copyright (C) 2021 Intel Corporation. All rights reserved.\n+#\n+# SPDX-License-Identifier: BSD-3-Clause\n+#\n+\n+class ResourceError(Exception):\n+ \"\"... | C | BSD 3-Clause New or Revised License | projectacrn/acrn-hypervisor | config-tools: add user-defined errors
Create a file which contains user-defined errors for config-tools.
Tracked-On: #5980
Signed-off-by: Yang,Yu-chu <yu-chu.yang@intel.com>
Reviewed-by: Junjie Mao <junjie.mao@intel.com> |
528,680 | 20.04.2021 12:07:48 | 25,200 | 3b9426e1e62c2c6366d7faf70f1e9bf2ddb90c9f | config-tools: add lib.py to static_allocators/lib
Create lib.py which contains the common methods that are shared by static
allocators under misc/config_tools/static_allocators. | [
{
"change_type": "ADD",
"old_path": null,
"new_path": "misc/config_tools/static_allocators/lib/lib.py",
"diff": "+#!/usr/bin/env python3\n+#\n+# Copyright (C) 2021 Intel Corporation. All rights reserved.\n+#\n+# SPDX-License-Identifier: BSD-3-Clause\n+#\n+\n+\n+import sys, os\n+sys.path.append(os.pa... | C | BSD 3-Clause New or Revised License | projectacrn/acrn-hypervisor | config-tools: add lib.py to static_allocators/lib
Create lib.py which contains the common methods that are shared by static
allocators under misc/config_tools/static_allocators.
Tracked-On: #5980
Signed-off-by: Yang,Yu-chu <yu-chu.yang@intel.com>
Reviewed-by: Junjie Mao <junjie.mao@intel.com> |
528,680 | 08.03.2021 11:55:17 | 28,800 | 81a867bc576edd2ee1a120c8f54ba897a469cf22 | config-tools: add lib.xsl to config_tools/xforms
Add lib.xsl under config_tools/xforms.
This lib.xsl contains the variables and customized functions for
xslt transformation. | [
{
"change_type": "ADD",
"old_path": null,
"new_path": "misc/config_tools/xforms/lib.xsl",
"diff": "+<?xml version='1.0' encoding='utf-8'?>\n+<xsl:stylesheet\n+ version=\"1.0\"\n+ xmlns:xsl=\"http://www.w3.org/1999/XSL/Transform\"\n+ xmlns:dyn=\"http://exslt.org/dynamic\"\n+ xmlns:math=\"http://exslt... | C | BSD 3-Clause New or Revised License | projectacrn/acrn-hypervisor | config-tools: add lib.xsl to config_tools/xforms
Add lib.xsl under config_tools/xforms.
This lib.xsl contains the variables and customized functions for
xslt transformation.
Tracked-On: #5980
Signed-off-by: Yang,Yu-chu <yu-chu.yang@intel.com>
Reviewed-by: Junjie Mao <junjie.mao@intel.com> |
528,680 | 06.04.2021 15:51:32 | 25,200 | 9c85d70057187f5e0854676d241d72c82f96995b | config-tools: add cpu affinity static allocator
If a cpu_affinity node of SOS is not present in the scenario.xml,
assign the native cpus which are not assigned to pre-launched vm to
SOS vm. | [
{
"change_type": "ADD",
"old_path": null,
"new_path": "misc/config_tools/static_allocators/cpu_affinity.py",
"diff": "+#!/usr/bin/env python3\n+#\n+# Copyright (C) 2021 Intel Corporation. All rights reserved.\n+#\n+# SPDX-License-Identifier: BSD-3-Clause\n+#\n+\n+import sys, os\n+sys.path.append(os.... | C | BSD 3-Clause New or Revised License | projectacrn/acrn-hypervisor | config-tools: add cpu affinity static allocator
If a cpu_affinity node of SOS is not present in the scenario.xml,
assign the native cpus which are not assigned to pre-launched vm to
SOS vm.
Tracked-On: #5980
Signed-off-by: Yang,Yu-chu <yu-chu.yang@intel.com>
Reviewed-by: Junjie Mao <junjie.mao@intel.com> |
528,680 | 13.04.2021 22:04:39 | 25,200 | 26a2aed19df7876677c8c63b172048168ebc2423 | config-tools: add intx static allocator
Create an intx.py which is a static allocator to allocate the irq
resources. The available irq list is based on the native irqs which
are in range [0, 15] and are not used by native os. | [
{
"change_type": "ADD",
"old_path": null,
"new_path": "misc/config_tools/static_allocators/intx.py",
"diff": "+#!/usr/bin/env python3\n+#\n+# Copyright (C) 2021 Intel Corporation. All rights reserved.\n+#\n+# SPDX-License-Identifier: BSD-3-Clause\n+#\n+\n+import sys, os\n+sys.path.append(os.path.joi... | C | BSD 3-Clause New or Revised License | projectacrn/acrn-hypervisor | config-tools: add intx static allocator
Create an intx.py which is a static allocator to allocate the irq
resources. The available irq list is based on the native irqs which
are in range [0, 15] and are not used by native os.
Tracked-On: #5980
Signed-off-by: Yang,Yu-chu <yu-chu.yang@intel.com>
Reviewed-by: Junjie Mao... |
528,680 | 08.03.2021 11:57:45 | 28,800 | 615552fadfc1bc0aaed0f61d7f73ede9454fac95 | config-tools: add the vm_configurations.c.xsl
Add a xslt file "vm_configurations.c.xsl". This file is used to
generate vm_configurations.c which is used by hypervisor. | [
{
"change_type": "ADD",
"old_path": null,
"new_path": "misc/config_tools/xforms/vm_configurations.c.xsl",
"diff": "+<?xml version='1.0' encoding='utf-8'?>\n+<xsl:stylesheet\n+ version=\"1.0\"\n+ xmlns:xi=\"http://www.w3.org/2003/XInclude\"\n+ xmlns:xsl=\"http://www.w3.org/1999/XSL/Transform\"\n+ xml... | C | BSD 3-Clause New or Revised License | projectacrn/acrn-hypervisor | config-tools: add the vm_configurations.c.xsl
Add a xslt file "vm_configurations.c.xsl". This file is used to
generate vm_configurations.c which is used by hypervisor.
Tracked-On: #5980
Signed-off-by: Yang,Yu-chu <yu-chu.yang@intel.com>
Reviewed-by: Junjie Mao <junjie.mao@intel.com> |
528,680 | 08.03.2021 11:59:26 | 28,800 | f8e1b1cd942fb4701e28a9724fe083c372b78020 | config-tools: add the vm_configurations.h.xsl
Add a xslt file "vm_configurations.h.xsl". This file is used to
generate vm_configurations.h which is used by hypervisor. | [
{
"change_type": "ADD",
"old_path": null,
"new_path": "misc/config_tools/xforms/vm_configurations.h.xsl",
"diff": "+<?xml version=\"1.0\" encoding=\"utf-8\"?>\n+\n+<!-- Copyright (C) 2021 Intel Corporation. All rights reserved. -->\n+<!-- SPDX-License-Identifier: BSD-3-Clause -->\n+\n+<xsl:styleshee... | C | BSD 3-Clause New or Revised License | projectacrn/acrn-hypervisor | config-tools: add the vm_configurations.h.xsl
Add a xslt file "vm_configurations.h.xsl". This file is used to
generate vm_configurations.h which is used by hypervisor.
Tracked-On: #5980
Signed-off-by: Yang,Yu-chu <yu-chu.yang@intel.com>
Reviewed-by: Junjie Mao <junjie.mao@intel.com> |
528,680 | 08.03.2021 12:00:49 | 28,800 | ec11789894f7efe0fdcd4c81b13ba281ac02b175 | config-tools: add the pt_intx.c.xsl
Add a xslt file "pt_intx.c.xsl". This file is used to
generate pt_intx.c which is used by hypervisor. | [
{
"change_type": "ADD",
"old_path": null,
"new_path": "misc/config_tools/xforms/pt_intx.c.xsl",
"diff": "+<?xml version=\"1.0\" encoding=\"utf-8\"?>\n+\n+<!-- Copyright (C) 2021 Intel Corporation. All rights reserved. -->\n+<!-- SPDX-License-Identifier: BSD-3-Clause -->\n+\n+<xsl:stylesheet\n+ versi... | C | BSD 3-Clause New or Revised License | projectacrn/acrn-hypervisor | config-tools: add the pt_intx.c.xsl
Add a xslt file "pt_intx.c.xsl". This file is used to
generate pt_intx.c which is used by hypervisor.
Tracked-On: #5980
Signed-off-by: Yang,Yu-chu <yu-chu.yang@intel.com>
Reviewed-by: Junjie Mao <junjie.mao@intel.com> |
528,680 | 08.03.2021 12:00:05 | 28,800 | 4111ebb46a4b8f4c14199d2fa3fa9dc2e0915ea8 | config-tools: add the ivshmem_cfg.h.xsl
Add a xslt file "ivshemem_cfg.h.xsl". This file is used to
generate ivshemem_cfg.h which is used by hypervisor. | [
{
"change_type": "ADD",
"old_path": null,
"new_path": "misc/config_tools/xforms/ivshmem_cfg.h.xsl",
"diff": "+<?xml version=\"1.0\" encoding=\"utf-8\"?>\n+\n+<!-- Copyright (C) 2021 Intel Corporation. All rights reserved. -->\n+<!-- SPDX-License-Identifier: BSD-3-Clause -->\n+\n+<xsl:stylesheet\n+ v... | C | BSD 3-Clause New or Revised License | projectacrn/acrn-hypervisor | config-tools: add the ivshmem_cfg.h.xsl
Add a xslt file "ivshemem_cfg.h.xsl". This file is used to
generate ivshemem_cfg.h which is used by hypervisor.
Tracked-On: #5980
Signed-off-by: Yang,Yu-chu <yu-chu.yang@intel.com>
Reviewed-by: Junjie Mao <junjie.mao@intel.com> |
528,680 | 08.03.2021 12:01:32 | 28,800 | 982b4c1e0e9e6a748472a27bd0c8127f57224954 | config-tools: add the misc_cfg.h.xsl
Add a xslt file "misc_cfg.h.xsl". This file is used to
generate misc_cfg.h which is used by hypervisor. | [
{
"change_type": "ADD",
"old_path": null,
"new_path": "misc/config_tools/xforms/misc_cfg.h.xsl",
"diff": "+<?xml version=\"1.0\" encoding=\"utf-8\"?>\n+\n+<!-- Copyright (C) 2021 Intel Corporation. All rights reserved. -->\n+<!-- SPDX-License-Identifier: BSD-3-Clause -->\n+\n+<xsl:stylesheet\n+ vers... | C | BSD 3-Clause New or Revised License | projectacrn/acrn-hypervisor | config-tools: add the misc_cfg.h.xsl
Add a xslt file "misc_cfg.h.xsl". This file is used to
generate misc_cfg.h which is used by hypervisor.
Tracked-On: #5980
Signed-off-by: Yang,Yu-chu <yu-chu.yang@intel.com>
Reviewed-by: Junjie Mao <junjie.mao@intel.com> |
528,680 | 27.04.2021 12:28:05 | 25,200 | 6d811124289de5732441f1bb0042e0b3944e47b3 | config-tools: refine ivshmem devices in pci_dev_c.py
Add comma to the last member of ivshmem pci devices.
If the last element ends without comma, the clang-format would attach
the brackets to the first and last lines. | [
{
"change_type": "MODIFY",
"old_path": "misc/config_tools/scenario_config/pci_dev_c.py",
"new_path": "misc/config_tools/scenario_config/pci_dev_c.py",
"diff": "@@ -262,12 +262,12 @@ def generate_file(vm_info, config):\nif shm_name == shm_splited[0].strip():\nif scenario_cfg_lib.VM_DB[vm_type]['load_... | C | BSD 3-Clause New or Revised License | projectacrn/acrn-hypervisor | config-tools: refine ivshmem devices in pci_dev_c.py
Add comma to the last member of ivshmem pci devices.
If the last element ends without comma, the clang-format would attach
the brackets to the first and last lines.
Tracked-On: #5980
Signed-off-by: Yang,Yu-chu <yu-chu.yang@intel.com>
Reviewed-by: Junjie Mao <junji... |
528,728 | 07.05.2021 15:20:22 | -7,200 | 86176a30a0861d357552adb41d787818795e9b8e | config-tools: fix a couple of typos in helper script
Fix a couple of typos in text displayed by a helper script
used when building ACRN. No functional change made to the
script itself. | [
{
"change_type": "MODIFY",
"old_path": "hypervisor/scripts/genconf.sh",
"new_path": "hypervisor/scripts/genconf.sh",
"diff": "@@ -42,7 +42,7 @@ transform() {\nexit 1\nfi\nsed -i -e \"s/YEAR/$year/\" ${out}/scenarios/${scenario}/${1}\n- echo \"${1} was generated using xsltproc succesfully.\"\n+ echo ... | C | BSD 3-Clause New or Revised License | projectacrn/acrn-hypervisor | config-tools: fix a couple of typos in helper script
Fix a couple of typos in text displayed by a helper script
used when building ACRN. No functional change made to the
script itself.
Signed-off-by: Geoffroy Van Cutsem <geoffroy.vancutsem@intel.com> |
528,721 | 07.05.2021 04:46:56 | 14,400 | 15a9b854a613693494dbf875fd9e6d3977ff9703 | doc: update ACRN qemu HV tag to v2.0
1. Add whitespace in the string "ubuntu18.04";
2. Update the Kernel version;
3. Update ACRN qemu HV tag format and add a note. | [
{
"change_type": "MODIFY",
"old_path": "doc/tutorials/acrn_on_qemu.rst",
"new_path": "doc/tutorials/acrn_on_qemu.rst",
"diff": "@@ -11,12 +11,16 @@ 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 ACRN qemu HV tag to v2.0
1. Add whitespace in the string "ubuntu18.04";
2. Update the Kernel version;
3. Update ACRN qemu HV tag format and add a note.
Tracked-On: #5928
Signed-off-by: Kunhui Li <kunhuix.li@intel.com> |
528,730 | 06.05.2021 15:45:16 | 0 | 8fcd868a50d0278f03f7c69ecc071eae1f64b815 | config_tools: enable features for default config on tgl-rvp and
ehl-crb-b
enable CDP_ENABLED for RT in scenarios, enable ivshmem for industry
scenario, disable vuart0 in launch settings, passthru SATA for RTVM,
set virtio-net and virtio-blk for post-launched WaaG and YaaGs. | [
{
"change_type": "MODIFY",
"old_path": "misc/config_tools/data/ehl-crb-b/hybrid_rt.xml",
"new_path": "misc/config_tools/data/ehl-crb-b/hybrid_rt.xml",
"diff": "<ENFORCE_TURNOFF_AC>y</ENFORCE_TURNOFF_AC>\n<RDT>\n<RDT_ENABLED>n</RDT_ENABLED>\n- <CDP_ENABLED>n</CDP_ENABLED>\n+ <CDP_ENABLED>y</CDP_ENABL... | C | BSD 3-Clause New or Revised License | projectacrn/acrn-hypervisor | config_tools: enable features for default config on tgl-rvp and
ehl-crb-b
enable CDP_ENABLED for RT in scenarios, enable ivshmem for industry
scenario, disable vuart0 in launch settings, passthru SATA for RTVM,
set virtio-net and virtio-blk for post-launched WaaG and YaaGs.
Tracked-On: #5955
Signed-off-by: Shuang Zhe... |
528,680 | 10.05.2021 12:00:58 | 25,200 | 39a7143119d019e82f681b741ba4f7eb15989983 | config-tools: add white space between arguments
The macro definition SOS_VM_BOOTARGS in vm_configurations.h calls
macros SOS_ROOTFS, SOS_CONSOLE and SOS_BOOTARGS_DIFF which is defined in
misc_cfg.h and parsed from scenario.xmls.
Add a whitespace in the end of the argument macros to prevent arguments
are concatenated in... | [
{
"change_type": "MODIFY",
"old_path": "misc/config_tools/xforms/misc_cfg.h.xsl",
"new_path": "misc/config_tools/xforms/misc_cfg.h.xsl",
"diff": "</xsl:template>\n<xsl:template name=\"sos_rootfs\">\n- <xsl:value-of select=\"acrn:define('SOS_ROOTFS', concat($quot, 'root=', vm/board_private/rootfs[tex... | C | BSD 3-Clause New or Revised License | projectacrn/acrn-hypervisor | config-tools: add white space between arguments
The macro definition SOS_VM_BOOTARGS in vm_configurations.h calls
macros SOS_ROOTFS, SOS_CONSOLE and SOS_BOOTARGS_DIFF which is defined in
misc_cfg.h and parsed from scenario.xmls.
Add a whitespace in the end of the argument macros to prevent arguments
are concatenated ... |
528,799 | 06.05.2021 14:14:39 | 25,200 | ebadf00de8ea0ff22f370b195af2201cd8e1251c | hv: some coding style fixes
Fix issues reported by checkpatch.pl | [
{
"change_type": "MODIFY",
"old_path": "hypervisor/arch/x86/guest/vcpuid.c",
"new_path": "hypervisor/arch/x86/guest/vcpuid.c",
"diff": "@@ -61,8 +61,7 @@ static inline const struct vcpuid_entry *find_vcpuid_entry(const struct acrn_vcp\nif ((leaf & 0x80000000U) != 0U) {\nlimit = vm->vcpuid_xlevel;\n-... | C | BSD 3-Clause New or Revised License | projectacrn/acrn-hypervisor | hv: some coding style fixes
Fix issues reported by checkpatch.pl
Tracked-On: #5917
Signed-off-by: dongshen <dongsheng.x.zhang@intel.com> |
528,652 | 25.03.2021 12:46:25 | 25,200 | 7e1ac8a74e4037273ec83651244d9b89241657fe | config-tools: add NVMX_ENABLED feature and GUEST_FLAG_NVMX_ENABLED flag
NVMX_ENABLED: ACRN is built to support nested virtualization if set.
GUEST_FLAG_NVMX_ENABLED: indicates that the VMX capability can be present
in this guest to run nested VMs.
Acked-by: Eddie Dong | [
{
"change_type": "MODIFY",
"old_path": "hypervisor/include/public/acrn_common.h",
"new_path": "hypervisor/include/public/acrn_common.h",
"diff": "#define GUEST_FLAG_IO_COMPLETION_POLLING (1UL << 2U) /* Whether need hypervisor poll IO completion */\n#define GUEST_FLAG_HIDE_MTRR (1UL << 3U) /* Whether... | C | BSD 3-Clause New or Revised License | projectacrn/acrn-hypervisor | config-tools: add NVMX_ENABLED feature and GUEST_FLAG_NVMX_ENABLED flag
NVMX_ENABLED: ACRN is built to support nested virtualization if set.
GUEST_FLAG_NVMX_ENABLED: indicates that the VMX capability can be present
in this guest to run nested VMs.
Tracked-On: #5923
Signed-off-by: Zide Chen <zide.chen@intel.com>
Acke... |
528,652 | 23.04.2021 10:04:23 | 25,200 | dd90eccc25fcc750b2645364b9d227d3b70f1364 | hv: move invvpid and invept helper code from mmu.c to mmu.h
moving invvpid and invept helper code from mmu.c to mmu.h, so that they
can be accessed by the nested virtualization code.
No logical changes.
Acked-by: Eddie Dong | [
{
"change_type": "MODIFY",
"old_path": "hypervisor/arch/x86/mmu.c",
"new_path": "hypervisor/arch/x86/mmu.c",
"diff": "@@ -102,41 +102,6 @@ static const struct pgtable ppt_pgtable = {\n.recover_exe_right = ppt_nop_recover_exe_right,\n};\n-#define INVEPT_TYPE_SINGLE_CONTEXT 1UL\n-#define INVEPT_TYPE_A... | C | BSD 3-Clause New or Revised License | projectacrn/acrn-hypervisor | hv: move invvpid and invept helper code from mmu.c to mmu.h
moving invvpid and invept helper code from mmu.c to mmu.h, so that they
can be accessed by the nested virtualization code.
No logical changes.
Tracked-On: #5923
Signed-off-by: Zide Chen <zide.chen@intel.com>
Signed-off-by: Sainath Grandhi <sainath.grandhi@i... |
528,654 | 23.04.2021 14:21:15 | -28,800 | d6362b6e0ad3c94447db443438180cba1e4657e9 | hv: paging: rename ppt_set/clear_ATTR to set_paging_ATTR
Rename ppt_set/clear_(attribute) to set_paging_(attribute) | [
{
"change_type": "MODIFY",
"old_path": "hypervisor/arch/x86/guest/ept.c",
"new_path": "hypervisor/arch/x86/guest/ept.c",
"diff": "@@ -84,7 +84,7 @@ void reserve_buffer_for_ept_pages(void)\nuint32_t offset = 0U;\npage_base = e820_alloc_memory(TOTAL_EPT_4K_PAGES_SIZE, ~0UL);\n- ppt_clear_user_bit(page... | C | BSD 3-Clause New or Revised License | projectacrn/acrn-hypervisor | hv: paging: rename ppt_set/clear_ATTR to set_paging_ATTR
Rename ppt_set/clear_(attribute) to set_paging_(attribute)
Tracked-On: #5830
Signed-off-by: Li Fei1 <fei1.li@intel.com> |
528,654 | 23.04.2021 14:50:14 | -28,800 | d94582389e71071df8df133e8bd29a7b143b7a08 | hv: mmu: move arch specific parts into cpu.h
Move Cache/TLB arch specific parts into cpu.h
After this change, we should not expose arch specific parts out from mmu.h | [
{
"change_type": "MODIFY",
"old_path": "hypervisor/arch/x86/vtd.c",
"new_path": "hypervisor/arch/x86/vtd.c",
"diff": "#include <errno.h>\n#include <asm/lib/bits.h>\n#include <asm/lib/spinlock.h>\n-#include <asm/page.h>\n-#include <asm/pgtable.h>\n+#include <asm/cpu_caps.h>\n#include <irq.h>\n#includ... | C | BSD 3-Clause New or Revised License | projectacrn/acrn-hypervisor | hv: mmu: move arch specific parts into cpu.h
Move Cache/TLB arch specific parts into cpu.h
After this change, we should not expose arch specific parts out from mmu.h
Tracked-On: #5830
Signed-off-by: Li Fei1 <fei1.li@intel.com> |
528,654 | 23.04.2021 15:24:50 | -28,800 | 77e64f609266eed1b231068ddd8cba64e1868ed8 | hv: tlb: wrap common APIs
Wrap two common TLB APIs: flush_tlb and flush_tlb_range. | [
{
"change_type": "MODIFY",
"old_path": "hypervisor/arch/x86/mmu.c",
"new_path": "hypervisor/arch/x86/mmu.c",
"diff": "@@ -313,3 +313,17 @@ void flush_address_space(void *addr, uint64_t size)\nn += CACHE_LINE_SIZE;\n}\n}\n+\n+void flush_tlb(uint64_t addr)\n+{\n+ invlpg(addr);\n+}\n+\n+void flush_tlb_... | C | BSD 3-Clause New or Revised License | projectacrn/acrn-hypervisor | hv: tlb: wrap common APIs
Wrap two common TLB APIs: flush_tlb and flush_tlb_range.
Tracked-On: #5830
Signed-off-by: Li Fei1 <fei1.li@intel.com> |
528,654 | 23.04.2021 15:49:53 | -28,800 | 30febed0e1a6c61434736b97d7c4ca61e99cfec5 | hv: cache: wrap common APIs
Wrap three common Cache APIs:
flush_invalidate_all_cache
flush_cacheline
flush_cache_range | [
{
"change_type": "MODIFY",
"old_path": "hypervisor/arch/x86/cpu.c",
"new_path": "hypervisor/arch/x86/cpu.c",
"diff": "#include <vpci.h>\n#include <ivshmem.h>\n#include <asm/rtcm.h>\n+#include <reloc.h>\n#define CPU_UP_TIMEOUT 100U /* millisecond */\n#define CPU_DOWN_TIMEOUT 100U /* millisecond */\n@... | C | BSD 3-Clause New or Revised License | projectacrn/acrn-hypervisor | hv: cache: wrap common APIs
Wrap three common Cache APIs:
- flush_invalidate_all_cache
- flush_cacheline
- flush_cache_range
Tracked-On: #5830
Signed-off-by: Li Fei1 <fei1.li@intel.com> |
528,680 | 12.05.2021 12:27:31 | 25,200 | 1bdaca86e19023c8b6c772501127bbed0f1fc620 | config-tools: fix the regular expression of ivshmem region name
The ivshmem region name format is not ristricted to start with "hv".
Loosen the schema validation so that the region name can start with "hv" or "dm". | [
{
"change_type": "MODIFY",
"old_path": "misc/config_tools/schema/types.xsd",
"new_path": "misc/config_tools/schema/types.xsd",
"diff": "@@ -129,7 +129,7 @@ its size, and the VM IDs that can access it, such as ``hv:/shm_region_0, 2, 0:2`\nSee :ref:`ivshmem-hv` for more information.</xs:documentation>... | C | BSD 3-Clause New or Revised License | projectacrn/acrn-hypervisor | config-tools: fix the regular expression of ivshmem region name
The ivshmem region name format is not ristricted to start with "hv".
Loosen the schema validation so that the region name can start with "hv" or "dm".
Tracked-On: #6009
Signed-off-by: Yang,Yu-chu <yu-chu.yang@intel.com> |
528,768 | 12.05.2021 10:34:46 | -28,800 | e9870893a3e500d0c9e829cb97f8c42606acb419 | hv: rename some software SRAM local names
For simplification purpose, use 'ssram' instead of
'software sram' for local names inside rtcm module.
Acked-by: Eddie Dong | [
{
"change_type": "MODIFY",
"old_path": "hypervisor/arch/x86/rtcm.c",
"new_path": "hypervisor/arch/x86/rtcm.c",
"diff": "#include <logmsg.h>\n#include <misc_cfg.h>\n#include <asm/mmu.h>\n+#include <asm/cpu_caps.h>\n#include <asm/rtcm.h>\n-static uint64_t software_sram_bottom_hpa;\n-static uint64_t so... | C | BSD 3-Clause New or Revised License | projectacrn/acrn-hypervisor | hv: rename some software SRAM local names
For simplification purpose, use 'ssram' instead of
'software sram' for local names inside rtcm module.
Tracked-On: #6015
Signed-off-by: Yonghua Huang <yonghua.huang@intel.com>
Acked-by: Eddie Dong <eddie.dong@intel.com> |
528,768 | 14.05.2021 13:01:22 | -28,800 | 9c79e2ebdc1cd804736aeba27cfc88cf6bf7f339 | dm: clean legacy software SRAM names
Remove below legacy SSRAM names:
psram -> ssram
ptct -> rtct | [
{
"change_type": "MODIFY",
"old_path": "devicemodel/core/main.c",
"new_path": "devicemodel/core/main.c",
"diff": "@@ -91,7 +91,7 @@ bool stdio_in_use;\nbool lapic_pt;\nbool is_rtvm;\nbool pt_tpm2;\n-bool pt_ptct;\n+bool pt_rtct;\nbool is_winvm;\nbool skip_pci_mem64bar_workaround = false;\n@@ -148,7 ... | C | BSD 3-Clause New or Revised License | projectacrn/acrn-hypervisor | dm: clean legacy software SRAM names
Remove below legacy SSRAM names:
psram -> ssram
ptct -> rtct
Tracked-On: #6015
Signed-off-by: Yonghua Huang <yonghua.huang@intel.com> |
528,725 | 12.05.2021 09:14:34 | -28,800 | e6e61a4979e9ae00bc31cc5dab57936c972175f3 | board_inspector/legacy: fix a copy destination error | [
{
"change_type": "MODIFY",
"old_path": "misc/config_tools/board_inspector/legacy/acpi.py",
"new_path": "misc/config_tools/board_inspector/legacy/acpi.py",
"diff": "@@ -657,5 +657,5 @@ def generate_info(board_file):\n# get the PTCT table from native environment\nout_dir = os.path.dirname(board_file)\... | C | BSD 3-Clause New or Revised License | projectacrn/acrn-hypervisor | board_inspector/legacy: fix a copy destination error
Tracked-On: #5922
Signed-off-by: Junjie Mao <junjie.mao@intel.com> |
528,725 | 30.04.2021 14:39:06 | -28,800 | 6276e5759a8545977bdfec6925c9a26b92a448a2 | board_inspector/memmapparser: add parser of e820 memory maps
This patch adds a parser of the physical E820 memory maps fetched from
/sys/firmware/memmap. | [
{
"change_type": "ADD",
"old_path": null,
"new_path": "misc/config_tools/board_inspector/memmapparser/__init__.py",
"diff": "+# Copyright (C) 2021 Intel Corporation. All rights reserved.\n+#\n+# SPDX-License-Identifier: BSD-3-Clause\n+#\n+\n+from memmapparser.e820 import parse_e820\n"
},
{
"... | C | BSD 3-Clause New or Revised License | projectacrn/acrn-hypervisor | board_inspector/memmapparser: add parser of e820 memory maps
This patch adds a parser of the physical E820 memory maps fetched from
/sys/firmware/memmap.
Tracked-On: #5922
Signed-off-by: Junjie Mao <junjie.mao@intel.com> |
528,652 | 08.05.2021 11:37:32 | 25,200 | 97df220f491a9794134ef245b564ee9fb6ad7353 | hv: vmsr: emulate IA32_FEATURE_CONTORL MSR for nested virtualization
In order to support nested virtualization, need to expose the "Enable VMX
outside SMX operation" bit to L1 hypervisor.
Acked-by: Eddie Dong | [
{
"change_type": "MODIFY",
"old_path": "hypervisor/arch/x86/guest/vmsr.c",
"new_path": "hypervisor/arch/x86/guest/vmsr.c",
"diff": "@@ -316,7 +316,7 @@ static void intercept_x2apic_msrs(uint8_t *msr_bitmap_arg, uint32_t mode)\n/**\n* @pre vcpu != NULL\n*/\n-static void init_msr_area(struct acrn_vcpu... | C | BSD 3-Clause New or Revised License | projectacrn/acrn-hypervisor | hv: vmsr: emulate IA32_FEATURE_CONTORL MSR for nested virtualization
In order to support nested virtualization, need to expose the "Enable VMX
outside SMX operation" bit to L1 hypervisor.
Tracked-On: #5923
Signed-off-by: Zide Chen <zide.chen@intel.com>
Acked-by: Eddie Dong <eddie.dong@intel.com> |
528,768 | 14.05.2021 13:09:28 | -28,800 | 32d6a72ea2336897f1f83cb3235d08a746ad722e | doc: clean legacy software SRAM names
psram is legacy name of SSRAM, rename it to ssram | [
{
"change_type": "MODIFY",
"old_path": "doc/developer-guides/hld/hld-devicemodel.rst",
"new_path": "doc/developer-guides/hld/hld-devicemodel.rst",
"diff": "@@ -60,7 +60,7 @@ options:\n[--vtpm2 sock_path] [--virtio_poll interval] [--mac_seed seed_string]\n[--cpu_affinity pCPUs] [--lapic_pt] [--rtvm] ... | C | BSD 3-Clause New or Revised License | projectacrn/acrn-hypervisor | doc: clean legacy software SRAM names
psram is legacy name of SSRAM, rename it to ssram
Signed-off-by: Yonghua Huang <yonghua.huang@intel.com> |
528,768 | 17.05.2021 10:29:03 | -28,800 | daccad241faf0bf20341beb49c4ae9390956845b | dm: fix minor comment in acrn_create_e820_table
'pSRAM' is legacy name and replaced with 'SSRAM' | [
{
"change_type": "MODIFY",
"old_path": "devicemodel/core/sw_load_common.c",
"new_path": "devicemodel/core/sw_load_common.c",
"diff": "@@ -224,7 +224,7 @@ acrn_create_e820_table(struct vmctx *ctx, struct e820_entry *e820)\nmemcpy(e820, e820_default_entries, sizeof(e820_default_entries));\n- /* FIXME:... | C | BSD 3-Clause New or Revised License | projectacrn/acrn-hypervisor | dm: fix minor comment in acrn_create_e820_table
'pSRAM' is legacy name and replaced with 'SSRAM'
Tracked-On: #6015
Signed-off-by: Yonghua Huang <yonghua.huang@intel.com> |
528,768 | 17.05.2021 11:45:44 | -28,800 | 00b3a28d5da1ed3f3e05063f3836ebdad063d4a2 | hv: update RTCT parser to support RTCT version 2
RTCT has been updated to version 2,
this patch updates hypervisor RTCT parser to support
both version 1 and version 2 of RTCT. | [
{
"change_type": "MODIFY",
"old_path": "hypervisor/arch/x86/rtcm.c",
"new_path": "hypervisor/arch/x86/rtcm.c",
"diff": "#include <types.h>\n#include <asm/lib/bits.h>\n#include <rtl.h>\n+#include <util.h>\n#include <logmsg.h>\n#include <misc_cfg.h>\n#include <asm/mmu.h>\n@@ -21,6 +22,15 @@ static vol... | C | BSD 3-Clause New or Revised License | projectacrn/acrn-hypervisor | hv: update RTCT parser to support RTCT version 2
RTCT has been updated to version 2,
this patch updates hypervisor RTCT parser to support
both version 1 and version 2 of RTCT.
Tracked-On: #6020
Signed-off-by: Yonghua Huang <yonghua.huang@intel.com>
Reviewed-by: Jason CJ Chen <jason.cj.chen@intel.com> |
528,652 | 17.05.2021 13:32:10 | 25,200 | 440ee23878211d9e479a68f2f36660bc2b2114ed | config-tools: guest_flag must be assigned with a valid value
commit ("misc: sanity check VM config for nested virtualization")
requires that the guest_flag tag can't be empty, or it will fail to build.
This patch changes all instances of "<guest_flag></guest_flag>"
to "<guest_flag>0</guest_flag>". | [
{
"change_type": "MODIFY",
"old_path": "misc/config_tools/data/apl-mrb/logical_partition.xml",
"new_path": "misc/config_tools/data/apl-mrb/logical_partition.xml",
"diff": "<vm_type>PRE_STD_VM</vm_type>\n<name>ACRN PRE-LAUNCHED VM0</name>\n<guest_flags>\n- <guest_flag></guest_flag>\n+ <guest_flag>0</... | C | BSD 3-Clause New or Revised License | projectacrn/acrn-hypervisor | config-tools: guest_flag must be assigned with a valid value
commit 873ed752d ("misc: sanity check VM config for nested virtualization")
requires that the guest_flag tag can't be empty, or it will fail to build.
This patch changes all instances of "<guest_flag></guest_flag>"
to "<guest_flag>0</guest_flag>".
Tracked-... |
528,772 | 17.05.2021 09:16:47 | 14,400 | 606704eff6626a4e2fd7a03bf8f6ba03f5ac3ff9 | DM: Fix deinit_mmio_devs() conflicting type
There is "void deinit_mmio_devs()" in ./devicemodel/hw/mmio/core.c,
but "int deinit_mmio_devs()" in ./devicemodel/include/mmio_dev.h
Acked-by: Wang, Yu1 | [
{
"change_type": "MODIFY",
"old_path": "devicemodel/include/mmio_dev.h",
"new_path": "devicemodel/include/mmio_dev.h",
"diff": "@@ -12,6 +12,6 @@ int parse_pt_acpidev(char *arg);\nint parse_pt_mmiodev(char *arg);\nint init_mmio_devs(struct vmctx *ctx);\n-int deinit_mmio_devs(struct vmctx *ctx);\n+vo... | C | BSD 3-Clause New or Revised License | projectacrn/acrn-hypervisor | DM: Fix deinit_mmio_devs() conflicting type
There is "void deinit_mmio_devs()" in ./devicemodel/hw/mmio/core.c,
but "int deinit_mmio_devs()" in ./devicemodel/include/mmio_dev.h
Tracked-On: #5913
Signed-off-by: Tao Yuhong <yuhong.tao@intel.com>
Acked-by: Wang, Yu1 <yu1.wang@intel.com> |
528,772 | 19.04.2021 07:37:16 | 14,400 | f1c2eca1dc397bd5be90fc9c1e66aae986b9864d | DM: support mmio dev gpa resource allocation
The ACPI MMIO devices, like TPM, has a fixed base GPA. Sould support
GPA resource allocating for MMIO devices. GPA region
0xF0000000~0xFE000000 is not used, can allocate GPA from it.
Acked-by: Wang, Yu1 | [
{
"change_type": "MODIFY",
"old_path": "devicemodel/hw/mmio/core.c",
"new_path": "devicemodel/hw/mmio/core.c",
"diff": "#include <strings.h>\n#include <assert.h>\n#include <stdbool.h>\n+#include <sys/user.h>\n#include \"dm.h\"\n#include \"vmmapi.h\"\n#include \"inout.h\"\n#include \"mem.h\"\n#includ... | C | BSD 3-Clause New or Revised License | projectacrn/acrn-hypervisor | DM: support mmio dev gpa resource allocation
The ACPI MMIO devices, like TPM, has a fixed base GPA. Sould support
GPA resource allocating for MMIO devices. GPA region
0xF0000000~0xFE000000 is not used, can allocate GPA from it.
Tracked-On: #5913
Signed-off-by: Tao Yuhong <yuhong.tao@intel.com>
Acked-by: Wang, Yu1 <yu... |
528,772 | 19.04.2021 09:38:40 | 14,400 | cb8a6a7514c4cacf385ce0a556dcefb24d078c31 | DM: tpm: remove fixed value TPM_CRB_MMIO_ADDR
The GPA of TPM device has fixed value TPM_CRB_MMIO_ADDR, remove
TPM_CRB_MMIO_ADDR and allocate GPA base for TPM device
Acked-by: Wang, Yu1 | [
{
"change_type": "MODIFY",
"old_path": "devicemodel/hw/mmio/core.c",
"new_path": "devicemodel/hw/mmio/core.c",
"diff": "@@ -192,6 +192,11 @@ struct mmio_dev_ops tpm2 = {\n};\nDEFINE_MMIO_DEV(tpm2);\n+uint64_t get_mmio_dev_tpm2_base_gpa(void)\n+{\n+ return tpm2.base_gpa;\n+}\n+\nstruct mmio_dev_ops p... | C | BSD 3-Clause New or Revised License | projectacrn/acrn-hypervisor | DM: tpm: remove fixed value TPM_CRB_MMIO_ADDR
The GPA of TPM device has fixed value TPM_CRB_MMIO_ADDR, remove
TPM_CRB_MMIO_ADDR and allocate GPA base for TPM device
Tracked-On: #5913
Signed-off-by: Tao Yuhong <yuhong.tao@intel.com>
Acked-by: Wang, Yu1 <yu1.wang@intel.com> |
528,772 | 20.04.2021 07:15:29 | 14,400 | 63dd23bc9e19ae52d4e55f0609872afcfd78a302 | DM: TPM: Do not set VTPM and passthough TPM simultaneously
The TPM information in ACPI table is for both VPTM and passthough TPM,
so only one TPM device is allowed.
Acked-by: Wang, Yu1 | [
{
"change_type": "MODIFY",
"old_path": "devicemodel/core/main.c",
"new_path": "devicemodel/core/main.c",
"diff": "@@ -92,6 +92,7 @@ bool lapic_pt;\nbool is_rtvm;\nbool pt_tpm2;\nbool pt_rtct;\n+bool vtpm2;\nbool is_winvm;\nbool skip_pci_mem64bar_workaround = false;\n@@ -945,7 +946,8 @@ main(int argc... | C | BSD 3-Clause New or Revised License | projectacrn/acrn-hypervisor | DM: TPM: Do not set VTPM and passthough TPM simultaneously
The TPM information in ACPI table is for both VPTM and passthough TPM,
so only one TPM device is allowed.
Tracked-On: #5913
Signed-off-by: Tao Yuhong <yuhong.tao@intel.com>
Acked-by: Wang, Yu1 <yu1.wang@intel.com> |
528,772 | 19.04.2021 09:56:20 | 14,400 | 12f5a788003648bb756e4f0de363b54e42967112 | DM: mmio dev: allocate GPA resource for mmio device
The mmio devices use hard code GPA base, allocating GPA base resource
for them instead.
Acked-by: Wang, Yu1 | [
{
"change_type": "MODIFY",
"old_path": "devicemodel/hw/mmio/core.c",
"new_path": "devicemodel/hw/mmio/core.c",
"diff": "@@ -110,12 +110,19 @@ static struct mmio_dev_ops *mmio_dev_finddev(char *name)\nint init_mmio_dev(struct vmctx *ctx, struct mmio_dev_ops *ops)\n{\n+ int ret;\n+ uint32_t base;\n+\n... | C | BSD 3-Clause New or Revised License | projectacrn/acrn-hypervisor | DM: mmio dev: allocate GPA resource for mmio device
The mmio devices use hard code GPA base, allocating GPA base resource
for them instead.
Tracked-On: #5913
Signed-off-by: Tao Yuhong <yuhong.tao@intel.com>
Acked-by: Wang, Yu1 <yu1.wang@intel.com> |
528,720 | 12.04.2021 12:07:59 | -28,800 | 51204a8d1152231f2e7a84b8199f2b4c1d89b766 | hv/mod_timer: separate delay functions from the timer module
Modules that use udelay() should include "delay.h" explicitly. | [
{
"change_type": "MODIFY",
"old_path": "doc/acrn.doxyfile",
"new_path": "doc/acrn.doxyfile",
"diff": "@@ -819,6 +819,7 @@ INPUT = custom-doxygen/mainpage.md \\\n../hypervisor/include/common/hypercall.h \\\n../hypervisor/include/common/irq.h \\\n../hypervisor/include/common/ticks.h \\\n+ ../hyperviso... | C | BSD 3-Clause New or Revised License | projectacrn/acrn-hypervisor | hv/mod_timer: separate delay functions from the timer module
Modules that use udelay() should include "delay.h" explicitly.
Tracked-On: #5920
Signed-off-by: Rong Liu <rong2.liu@intel.com>
Reviewed-by: Jason Chen CJ <jason.cj.chen@intel.com> |
528,708 | 17.05.2021 13:32:43 | -28,800 | d8443bedb065f1a856bbeca1f81fa831bfa9a5d9 | Doc: update using serial port
Add PCIe serial port enabling part on NUC; which doesn't
have the internal serial console header. | [
{
"change_type": "RENAME",
"old_path": "doc/tutorials/images/NUC-serial-port.jpg",
"new_path": "doc/tutorials/images/NUC-serial-port.png",
"diff": ""
},
{
"change_type": "ADD",
"old_path": "doc/tutorials/images/NUC11TNH-serial-port-header-to-RS232-cable.png",
"new_path": "doc/tutoria... | C | BSD 3-Clause New or Revised License | projectacrn/acrn-hypervisor | Doc: update using serial port
Add PCIe serial port enabling part on NUC; which doesn't
have the internal serial console header.
Signed-off-by: fuzhongl <fuzhong.liu@intel.com> |
528,714 | 05.04.2020 09:56:29 | -7,200 | 596f27bad3f5aa7a8b1e0c049b3d8c956325d2d4 | Makefile: Make builds reproducible
Make builds reproducible by honoring SOURCE_DATE_EPOCH and USER
environment variables in the respective Makefiles. Just follow the
recommendations at
Build tools (e.g. Debian packaging, Yocto) use this to ensure reproducibility
of packages. | [
{
"change_type": "MODIFY",
"old_path": "devicemodel/Makefile",
"new_path": "devicemodel/Makefile",
"diff": "@@ -224,8 +224,8 @@ $(VERSION_H):\nPATCH=$(DM_BUILD_VERSION);\\\nDAILY_TAG=$(DM_BUILD_TAG);\\\nfi;\\\n- TIME=`date \"+%Y-%m-%d %H:%M:%S\"`;\\\n- USER=`id -u -n`; \\\n+ TIME=$$(date -u -d \"@$$... | C | BSD 3-Clause New or Revised License | projectacrn/acrn-hypervisor | Makefile: Make builds reproducible
Make builds reproducible by honoring SOURCE_DATE_EPOCH and USER
environment variables in the respective Makefiles. Just follow the
recommendations at https://reproducible-builds.org/
Build tools (e.g. Debian packaging, Yocto) use this to ensure reproducibility
of packages.
Tracked-... |
528,714 | 27.04.2020 12:51:27 | -7,200 | b673bc36b1728bc446d35e98e5727566c27ffd47 | Makefile: honor BUILD_VERSION and BUILD_TAG
Use BUILD_VERSION an BUILD_TAG variable also for hypervisor,
acrnprobe and crashlog. This eases build from an archive without
git available. | [
{
"change_type": "MODIFY",
"old_path": "hypervisor/Makefile",
"new_path": "hypervisor/Makefile",
"diff": "@@ -472,10 +472,15 @@ distclean:\nPHONY: (VERSION)\n$(VERSION): $(HV_CONFIG_H)\ntouch $(VERSION)\n- @COMMIT=`git rev-parse --verify --short HEAD 2>/dev/null`;\\\n+ @if [ \"$(BUILD_VERSION)\"x = ... | C | BSD 3-Clause New or Revised License | projectacrn/acrn-hypervisor | Makefile: honor BUILD_VERSION and BUILD_TAG
Use BUILD_VERSION an BUILD_TAG variable also for hypervisor,
acrnprobe and crashlog. This eases build from an archive without
git available.
Tracked-On: #6035
Signed-off-by: Helmut Buchsbaum <helmut.buchsbaum@opensource.tttech-industrial.com> |
528,794 | 19.03.2021 23:05:51 | -28,800 | 5df3455e8dcca8cc00fc5a3acdf14c84f55e1fc5 | HV: remove SOS kernel hugepage related bootargs
Hypervisor does not need to care about hugepage settings in SOS kernel, user
could enable these settings in the scenario config file or GRUB menu. | [
{
"change_type": "MODIFY",
"old_path": "hypervisor/common/vm_load.c",
"new_path": "hypervisor/common/vm_load.c",
"diff": "#include <asm/mmu.h>\n#include <multiboot.h>\n#include <errno.h>\n-#include <sprintf.h>\n#include <logmsg.h>\n-#define NUM_REMAIN_1G_PAGES 3UL\n-\n/*\n* We put the guest init gdt... | C | BSD 3-Clause New or Revised License | projectacrn/acrn-hypervisor | HV: remove SOS kernel hugepage related bootargs
Hypervisor does not need to care about hugepage settings in SOS kernel, user
could enable these settings in the scenario config file or GRUB menu.
Tracked-On: #5815
Signed-off-by: Victor Sun <victor.sun@intel.com> |
528,747 | 20.05.2021 13:23:35 | 25,200 | b8ef1a87be24c2a31e7be2da8c7ca8333dd5fb02 | doc: fix indenting issues in tutorial | [
{
"change_type": "MODIFY",
"old_path": "doc/tutorials/running_deb_as_serv_vm.rst",
"new_path": "doc/tutorials/running_deb_as_serv_vm.rst",
"diff": "@@ -86,7 +86,7 @@ Install ACRN on the Debian VM\n$ sudo make modules_install\n$ sudo cp arch/x86/boot/bzImage /boot/bzImage\n-#. Update Grub for the Deb... | C | BSD 3-Clause New or Revised License | projectacrn/acrn-hypervisor | doc: fix indenting issues in tutorial
Signed-off-by: David B. Kinder <david.b.kinder@intel.com> |
528,721 | 20.05.2021 01:39:56 | 14,400 | a1f12d29319945ee05c8b54bfa912465dd5e68f4 | Config_tools: Update ramdisk logic
Update the ramdisk config logic. | [
{
"change_type": "MODIFY",
"old_path": "misc/config_tools/xforms/vm_configurations.c.xsl",
"new_path": "misc/config_tools/xforms/vm_configurations.c.xsl",
"diff": "<xsl:value-of select=\"acrn:initializer('name', concat($quot, name, $quot))\" />\n<xsl:value-of select=\"acrn:initializer('kernel_type',... | C | BSD 3-Clause New or Revised License | projectacrn/acrn-hypervisor | Config_tools: Update ramdisk logic
Update the ramdisk config logic.
Tracked-On: #6038
Signed-off-by: Kunhui Li <kunhuix.li@intel.com>
Reviewed-by: Victor Sun <victor.sun@intel.com> |
528,766 | 20.05.2021 03:02:55 | 25,200 | b068656e719a0809a0341f51cb24cc18fe9f4f7e | doc: add documentation for allow_trigger_s5 in pm_notify_channel | [
{
"change_type": "MODIFY",
"old_path": "doc/developer-guides/hld/hld-devicemodel.rst",
"new_path": "doc/developer-guides/hld/hld-devicemodel.rst",
"diff": "@@ -59,7 +59,7 @@ options:\n[--acpidev_pt HID] [--mmiodev_pt MMIO_regions]\n[--vtpm2 sock_path] [--virtio_poll interval] [--mac_seed seed_string... | C | BSD 3-Clause New or Revised License | projectacrn/acrn-hypervisor | doc: add documentation for allow_trigger_s5 in pm_notify_channel
Tracked-On: #6034
Signed-off-by: Peter Fang <peter.fang@intel.com> |
528,654 | 20.05.2021 10:31:24 | -28,800 | a69e67b58bf9ccc4e7d06d3e4683c0f3d13ee50e | hv: vlapic: wrap a function to calculate destination vcpu mask by shorthand
1. Rename vlapic_calc_dest to vlapic_calc_dest_noshort
2. Remove vlapic_calc_dest_lapic_pt, use vlapic_calc_dest_noshort instead
3. Wrap vlapic_calc_dest to calculate destination vcpu mask according shorthand
Acked-by: Eddie Dong | [
{
"change_type": "MODIFY",
"old_path": "hypervisor/arch/x86/guest/assign.c",
"new_path": "hypervisor/arch/x86/guest/assign.c",
"diff": "@@ -32,7 +32,7 @@ static struct acrn_vcpu *is_single_destination(struct acrn_vm *vm, const struct\nuint16_t vid;\nstruct acrn_vcpu *vcpu = NULL;\n- vlapic_calc_dest... | C | BSD 3-Clause New or Revised License | projectacrn/acrn-hypervisor | hv: vlapic: wrap a function to calculate destination vcpu mask by shorthand
1. Rename vlapic_calc_dest to vlapic_calc_dest_noshort
2. Remove vlapic_calc_dest_lapic_pt, use vlapic_calc_dest_noshort instead
3. Wrap vlapic_calc_dest to calculate destination vcpu mask according shorthand
Tracked-On: #5923
Signed-off-by: ... |
528,772 | 21.05.2021 07:49:08 | 14,400 | b93d6b2ef073cb2c1d2a1b259a64cc742ef17789 | HV: Fix mistake use stac() & clac()
The commit
HV: cache: Fix page fault by flushing cache for VM trusty RAM in HV
It is wrong in using stac()/clac() | [
{
"change_type": "MODIFY",
"old_path": "hypervisor/arch/x86/cpu.c",
"new_path": "hypervisor/arch/x86/cpu.c",
"diff": "@@ -450,9 +450,9 @@ void cpu_dead(void)\n/* clean up native stuff */\nvmx_off();\n- clac();\n- flush_cache_range((void *)get_hv_image_base(), CONFIG_HV_RAM_SIZE);\nstac();\n+ flush_c... | C | BSD 3-Clause New or Revised License | projectacrn/acrn-hypervisor | HV: Fix mistake use stac() & clac()
The commit 2ab70f43e5ff682382d2f30fcb0d582a9f4e501d
HV: cache: Fix page fault by flushing cache for VM trusty RAM in HV
It is wrong in using stac()/clac()
Tracked-On: #6020
Signed-off-by: Tao Yuhong <yuhong.tao@intel.com> |
528,652 | 29.04.2021 12:23:42 | 25,200 | fc8f07e740612e5c02708c5807e81c4821a8ab2a | hv: nested: support for VMXON emulation
This patch emulates VMXON instruction. Basically checks some
prerequisites to enable VMX operation on L1 guest (next patch), and
prepares some virtual hardware environment in L0.
Acked-by: Eddie Dong | [
{
"change_type": "MODIFY",
"old_path": "hypervisor/arch/x86/guest/nested.c",
"new_path": "hypervisor/arch/x86/guest/nested.c",
"diff": "#include <types.h>\n#include <logmsg.h>\n+#include <asm/guest/virq.h>\n#include <asm/guest/vcpu.h>\n#include <asm/guest/vm.h>\n#include <asm/guest/nested.h>\n@@ -22... | C | BSD 3-Clause New or Revised License | projectacrn/acrn-hypervisor | hv: nested: support for VMXON emulation
This patch emulates VMXON instruction. Basically checks some
prerequisites to enable VMX operation on L1 guest (next patch), and
prepares some virtual hardware environment in L0.
Tracked-On: #5923
Signed-off-by: Sainath Grandhi <sainath.grandhi@intel.com>
Signed-off-by: Zide Ch... |
528,654 | 10.05.2021 16:51:14 | -28,800 | 5939c1afbac5429f81ddbc8b618858b92e209cdc | dm: rb: only free rb_entry when we remove this entry from the rb tree
Only free rb_entry when we remove this entry from the rb tree, otherwise, a
page fault would trigger when next rb itreation would access the freed rb_entry. | [
{
"change_type": "MODIFY",
"old_path": "devicemodel/core/mem.c",
"new_path": "devicemodel/core/mem.c",
"diff": "@@ -248,12 +248,12 @@ unregister_mem_int(struct mmio_rb_tree *rbt, struct mem_range *memp)\n/* flush Per-VM cache */\nif (mmio_hint == entry)\nmmio_hint = NULL;\n- }\n- }\n- pthread_rwlock... | C | BSD 3-Clause New or Revised License | projectacrn/acrn-hypervisor | dm: rb: only free rb_entry when we remove this entry from the rb tree
Only free rb_entry when we remove this entry from the rb tree, otherwise, a
page fault would trigger when next rb itreation would access the freed rb_entry.
Tracked-On: #6056
Signed-off-by: Li Fei1 <fei1.li@intel.com> |
528,680 | 10.05.2021 19:39:12 | 25,200 | a1a399c3605afe3f2e7649d96970dbe194481925 | config-tools: add pci_dev.c.xsl
Add an xslt file "pci_dev.c.xsl". This file is used to
generate pci_dev.c which is used by hypervisor. | [
{
"change_type": "ADD",
"old_path": null,
"new_path": "misc/config_tools/xforms/pci_dev.c.xsl",
"diff": "+<?xml version='1.0' encoding='utf-8'?>\n+\n+<!-- Copyright (C) 2021 Intel Corporation. -->\n+<!-- SPDX-License-Identifier: BSD-3-Clause -->\n+\n+<xsl:stylesheet\n+ version=\"1.0\"\n+ xmlns:xi=\"... | C | BSD 3-Clause New or Revised License | projectacrn/acrn-hypervisor | config-tools: add pci_dev.c.xsl
Add an xslt file "pci_dev.c.xsl". This file is used to
generate pci_dev.c which is used by hypervisor.
Tracked-On: #6024
Signed-off-by: Yang,Yu-chu <yu-chu.yang@intel.com>
Reviewed-by: Junjie Mao <junjie.mao@intel.com> |
528,680 | 11.05.2021 16:03:32 | 25,200 | 1b7a2c98f51125dfbb6ad7e4edeab5d44b59be3a | config-tools: add board_info.h.xsl
Add an xslt file "board_info.h.xsl". This file is used to
generate board_info.h which is used by hypervisor. | [
{
"change_type": "ADD",
"old_path": null,
"new_path": "misc/config_tools/xforms/board_info.h.xsl",
"diff": "+<?xml version=\"1.0\" encoding=\"utf-8\"?>\n+\n+<!-- Copyright (C) 2021 Intel Corporation. -->\n+<!-- SPDX-License-Identifier: BSD-3-Clause -->\n+\n+<xsl:stylesheet\n+ version=\"1.0\"\n+ xmln... | C | BSD 3-Clause New or Revised License | projectacrn/acrn-hypervisor | config-tools: add board_info.h.xsl
Add an xslt file "board_info.h.xsl". This file is used to
generate board_info.h which is used by hypervisor.
Tracked-On: #6024
Signed-off-by: Yang,Yu-chu <yu-chu.yang@intel.com>
Reviewed-by: Junjie Mao <junjie.mao@intel.com> |
528,680 | 11.05.2021 16:31:48 | 25,200 | 1de47b0433fb56abc12772063067d307b9d931cc | config-tools: build acrn with xslt generated pci_dev.c and board_info.h
Build acrn using xslt transformed pci_dev.c and board_info.h. | [
{
"change_type": "MODIFY",
"old_path": "hypervisor/scripts/genconf.sh",
"new_path": "hypervisor/scripts/genconf.sh",
"diff": "@@ -45,11 +45,24 @@ transform() {\necho \"${1} was generated using xsltproc successfully.\"\n}\n+transform_board() {\n+ echo \"Generating ${1}:\"\n+ xsltproc -o ${out}/boards... | C | BSD 3-Clause New or Revised License | projectacrn/acrn-hypervisor | config-tools: build acrn with xslt generated pci_dev.c and board_info.h
Build acrn using xslt transformed pci_dev.c and board_info.h.
Tracked-On: #6024
Signed-off-by: Yang,Yu-chu <yu-chu.yang@intel.com>
Reviewed-by: Junjie Mao <junjie.mao@intel.com> |
528,807 | 25.05.2021 21:21:42 | -28,800 | e9d1fa1f986741ba867a9b8ce44b64a60b0937dc | config-tools: fix guest_flag issue in config xml for adl
commit ("misc: sanity check VM config for nested virtualization")
requires that the guest_flag tag can't be empty, or it will fail to build.
This patch changes adl instances of "<guest_flag></guest_flag>" to
"<guest_flag>0</guest_flag>". | [
{
"change_type": "MODIFY",
"old_path": "misc/config_tools/data/adl-rvp/industry.xml",
"new_path": "misc/config_tools/data/adl-rvp/industry.xml",
"diff": "<vm_type>SOS_VM</vm_type>\n<name>ACRN SOS VM</name>\n<guest_flags>\n- <guest_flag/>\n+ <guest_flag>0</guest_flag>\n</guest_flags>\n<clos>\n<vcpu_c... | C | BSD 3-Clause New or Revised License | projectacrn/acrn-hypervisor | config-tools: fix guest_flag issue in config xml for adl
commit 873ed75 ("misc: sanity check VM config for nested virtualization")
requires that the guest_flag tag can't be empty, or it will fail to build.
This patch changes adl instances of "<guest_flag></guest_flag>" to
"<guest_flag>0</guest_flag>".
Tracked-On: #59... |
528,652 | 20.05.2021 16:10:12 | 25,200 | 6428ca8f5be736ae25f26f4834252feeebc02759 | hv: VMPTRLD and VMCLEAR VMCS with the common APIs
Remove the direct calls to exec_vmptrld() or exec_vmclear(), and replace
with the wrapper APIs load_va_vmcs() and clear_va_vmcs(). | [
{
"change_type": "MODIFY",
"old_path": "hypervisor/arch/x86/guest/vmcs.c",
"new_path": "hypervisor/arch/x86/guest/vmcs.c",
"diff": "@@ -545,7 +545,6 @@ static void init_exit_ctrl(const struct acrn_vcpu *vcpu)\nvoid init_vmcs(struct acrn_vcpu *vcpu)\n{\nuint64_t vmx_rev_id;\n- uint64_t vmcs_pa;\nvoid... | C | BSD 3-Clause New or Revised License | projectacrn/acrn-hypervisor | hv: VMPTRLD and VMCLEAR VMCS with the common APIs
Remove the direct calls to exec_vmptrld() or exec_vmclear(), and replace
with the wrapper APIs load_va_vmcs() and clear_va_vmcs().
Tracked-On: #5923
Signed-off-by: Zide Chen <zide.chen@intel.com> |
528,799 | 19.05.2021 17:33:03 | 25,200 | 6680208ed926bd2d5bec306da86698f0f6da6412 | dm: vmmapi: augment the vm_get_config() vmmapi to include a struct platform_info* parameter
This allows users to retrieve and use the requested platform_info information from hypervisor | [
{
"change_type": "MODIFY",
"old_path": "devicemodel/core/vmmapi.c",
"new_path": "devicemodel/core/vmmapi.c",
"diff": "@@ -712,7 +712,7 @@ vm_irqfd(struct vmctx *ctx, struct acrn_irqfd *args)\n}\nint\n-vm_get_config(struct vmctx *ctx, struct acrn_vm_config *vm_cfg)\n+vm_get_config(struct vmctx *ctx, ... | C | BSD 3-Clause New or Revised License | projectacrn/acrn-hypervisor | dm: vmmapi: augment the vm_get_config() vmmapi to include a struct platform_info* parameter
This allows users to retrieve and use the requested platform_info information from hypervisor
Tracked-On: #6020
Reviewed-by: Wang, Yu1 <yu1.wang@intel.com>
Signed-off-by: dongshen <dongsheng.x.zhang@intel.com> |
528,799 | 19.05.2021 17:41:16 | 25,200 | 818c821d044fb179bfcc7e6f017e66acb046c368 | dm: acpi: retrieve physical APIC IDs and use them to fill in the ACPI MADT table
Two utility functions are copied and adapted from hyerpervisor:
ffs64
bitmap_clear_nolock
Two public functions are provided for future use (such as for RTCTv2)
pcpuid_from_vcpuid
lapicid_from_pcpuid | [
{
"change_type": "MODIFY",
"old_path": "devicemodel/core/vmmapi.c",
"new_path": "devicemodel/core/vmmapi.c",
"diff": "@@ -753,6 +753,8 @@ vm_get_config(struct vmctx *ctx, struct acrn_vm_config *vm_cfg, struct platform_\nmemcpy((void *)vm_cfg, (void *)pcfg, sizeof(struct acrn_vm_config));\nif (plat_i... | C | BSD 3-Clause New or Revised License | projectacrn/acrn-hypervisor | dm: acpi: retrieve physical APIC IDs and use them to fill in the ACPI MADT table
Two utility functions are copied and adapted from hyerpervisor:
ffs64
bitmap_clear_nolock
Two public functions are provided for future use (such as for RTCTv2)
pcpuid_from_vcpuid
lapicid_from_pcpuid
Tracked-On: #6020
Reviewed-by: Wang, ... |
528,772 | 25.05.2021 06:44:46 | 14,400 | c8ae79b332fe74de909112b96eaa60a6a0dbd927 | DM: change 32-bit mmio limit to 3.5G
the VM 32-bit mmio window is 2G~3.5G | [
{
"change_type": "MODIFY",
"old_path": "devicemodel/include/pci_core.h",
"new_path": "devicemodel/include/pci_core.h",
"diff": "#define PCI_BDF(b, d, f) (((b & 0xFF) << 8) | ((d & 0x1F) << 3) | ((f & 0x7)))\n#define PCI_EMUL_MEMBASE32 0x80000000UL /* 2GB */\n-#define PCI_EMUL_MEMLIMIT32 0xC0000000UL... | C | BSD 3-Clause New or Revised License | projectacrn/acrn-hypervisor | DM: change 32-bit mmio limit to 3.5G
the VM 32-bit mmio window is 2G~3.5G
Tracked-On: #6011
Signed-off-by: Tao Yuhong <yuhong.tao@intel.com> |
528,730 | 25.05.2021 14:45:52 | 0 | 90420123e2c691a0707bcaba72e811130d3436cc | config_tools: fix the guest_flag error when saving scenario xml
fix the guest_flag error when saving scenario xml from config
tool UI. | [
{
"change_type": "MODIFY",
"old_path": "misc/config_tools/library/common.py",
"new_path": "misc/config_tools/library/common.py",
"diff": "@@ -21,7 +21,7 @@ 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: fix the guest_flag error when saving scenario xml
fix the guest_flag error when saving scenario xml from config
tool UI.
Tracked-On: #6075
Signed-off-by: Shuang Zheng <shuang.zheng@intel.com> |
528,728 | 28.05.2021 12:04:32 | -7,200 | db2e986673a2921e9535f2c52e16148acc31549b | doc: update ACRN version QEMU tutorial
We missed a section during our last update to the QEMU tutorial
that references which version (tag) of ACRN to use. | [
{
"change_type": "MODIFY",
"old_path": "doc/tutorials/acrn_on_qemu.rst",
"new_path": "doc/tutorials/acrn_on_qemu.rst",
"diff": "@@ -117,15 +117,13 @@ This concludes setting up of Service VM and preparing it to boot ACRN hypervisor\nInstall ACRN Hypervisor\n***********************\n-1. Clone ACRN rep... | C | BSD 3-Clause New or Revised License | projectacrn/acrn-hypervisor | doc: update ACRN version QEMU tutorial
We missed a section during our last update to the QEMU tutorial
that references which version (tag) of ACRN to use.
Tracked-On: #5928
Signed-off-by: Geoffroy Van Cutsem <geoffroy.vancutsem@intel.com> |
528,721 | 26.05.2021 05:05:27 | 14,400 | 6466edd0574398e7a5ff7ca6fddc5268d7c338aa | Config_tools: Update Hybrid Cores
Update the severity from "warning" to "error" for hybrid cores check. | [
{
"change_type": "MODIFY",
"old_path": "misc/config_tools/schema/checks/pre_launched_vm_support.xsd",
"new_path": "misc/config_tools/schema/checks/pre_launched_vm_support.xsd",
"diff": "@@ -25,7 +25,7 @@ To fix this error, you can\n<xs:assert test=\"every $vm in vm satisfies\nevery $cpu in $vm/cpu_a... | C | BSD 3-Clause New or Revised License | projectacrn/acrn-hypervisor | Config_tools: Update Hybrid Cores
Update the severity from "warning" to "error" for hybrid cores check.
Tracked-On: #5918
Reviewed-by: Junjie Mao <junjie.mao@intel.com>
Signed-off-by: Kunhui Li <kunhuix.li@intel.com> |
528,721 | 24.05.2021 22:57:33 | 14,400 | 80a9b3bf1ec947d1857dbd2997284903c4bb83af | Config_tools: Update get slot logic
Modify the initial value of PT_SLOT variable and
update the get slot logic that all device call the virtual_dev_slot function to get slot number directly.
Copy the launch_uos_id1.sh to launch_win.sh. | [
{
"change_type": "MODIFY",
"old_path": "misc/config_tools/data/sample_launch_scripts/nuc/launch_win.sh",
"new_path": "misc/config_tools/data/sample_launch_scripts/nuc/launch_win.sh",
"diff": "#!/bin/bash\n-# Copyright (C) 2019 Intel Corporation.\n-# SPDX-License-Identifier: BSD-3-Clause\n+# board: W... | C | BSD 3-Clause New or Revised License | projectacrn/acrn-hypervisor | Config_tools: Update get slot logic
Modify the initial value of PT_SLOT variable and
update the get slot logic that all device call the virtual_dev_slot function to get slot number directly.
Copy the launch_uos_id1.sh to launch_win.sh.
Tracked-On: #6072
Signed-off-by: Kunhui Li <kunhuix.li@intel.com> |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.