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,718 | 02.11.2019 05:29:51 | -28,800 | bd23e506420a29de99145c55a929ace9b07158a3 | doc: remove the guest cpu number option '-c' from the document
This commit updates the DM parameters reference document to reflect
the removal of the guest cpu number option '-c' implementation. | [
{
"change_type": "MODIFY",
"old_path": "doc/user-guides/acrn-dm-parameters.rst",
"new_path": "doc/user-guides/acrn-dm-parameters.rst",
"diff": "@@ -33,11 +33,6 @@ Here are descriptions for each of these ``acrn-dm`` command line parameters:\nspecifies the kernel log level at 7\n- * - :kbd:`-c, --ncpu... | C | BSD 3-Clause New or Revised License | projectacrn/acrn-hypervisor | doc: remove the guest cpu number option '-c' from the document
This commit updates the DM parameters reference document to reflect
the removal of the guest cpu number option '-c' implementation.
Tracked-On: #3989
Signed-off-by: Tonny Tzeng <tonny.tzeng@intel.com> |
528,718 | 30.10.2019 23:21:13 | -28,800 | fd8b9c58eefaa07c59cf7ff9b12873273baf9ad1 | doc: remove redundant copy of ovmf.fd firmware
Remove redundant copy of ovmf.fd firmware as the lunach script now
instructs the DM to user the OVMF.fd firmware directly from the rootfs. | [
{
"change_type": "MODIFY",
"old_path": "doc/tutorials/running_deb_as_user_vm.rst",
"new_path": "doc/tutorials/running_deb_as_user_vm.rst",
"diff": "@@ -146,14 +146,13 @@ Re-use and modify the `launch_win.sh` script in order to launch the new Debian 1\n# scp ~/debian10/debian10.img user_name@ip_addre... | C | BSD 3-Clause New or Revised License | projectacrn/acrn-hypervisor | doc: remove redundant copy of ovmf.fd firmware
Remove redundant copy of ovmf.fd firmware as the lunach script now
instructs the DM to user the OVMF.fd firmware directly from the rootfs.
Tracked-On: #3972
Signed-off-by: Tonny Tzeng <tonny.tzeng@intel.com> |
528,768 | 02.11.2019 20:32:35 | -28,800 | 8227804b0981cf05b48983fcf2301c77fefc90d6 | hv:Unmap AP trampoline region from service VM's EPT
AP trampoline code should be accessible
to hypervisor only, this patch is to unmap
this region from service VM's EPT for security
reason.
Acked-by: Eddie Dong | [
{
"change_type": "MODIFY",
"old_path": "hypervisor/arch/x86/guest/vm.c",
"new_path": "hypervisor/arch/x86/guest/vm.c",
"diff": "#include <mmu.h>\n#include <logmsg.h>\n#include <vboot_info.h>\n+#include <vboot.h>\n#include <board.h>\n#include <sgx.h>\n#include <sbuf.h>\n@@ -380,6 +381,14 @@ static vo... | C | BSD 3-Clause New or Revised License | projectacrn/acrn-hypervisor | hv:Unmap AP trampoline region from service VM's EPT
AP trampoline code should be accessible
to hypervisor only, this patch is to unmap
this region from service VM's EPT for security
reason.
Tracked-On: #3992
Signed-off-by: Yonghua Huang <yonghua.huang@intel.com>
Reviewed-by: Fei Li <fei1.li@intel.com>
Acked-by: E... |
528,787 | 30.10.2019 23:02:53 | 0 | 90cf27aa5f870545e3736cb8e02213fa28519055 | dm: remove cfc/cf8 pio handler
The acrn vhm driver will convert all PCI configure space access to
PCI_CFG type, so the pci_emul_cfgaddr and pci_emul_cfgdata will nerver
be invoked. Remove these useless functions.
Acked-by: Yu Wang | [
{
"change_type": "MODIFY",
"old_path": "devicemodel/hw/pci/core.c",
"new_path": "devicemodel/hw/pci/core.c",
"diff": "@@ -2253,64 +2253,6 @@ pci_cfgrw(struct vmctx *ctx, int vcpu, int in, int bus, int slot, int func,\n}\n}\n-static int cfgenable, cfgbus, cfgslot, cfgfunc, cfgoff;\n-\n-static int\n-p... | C | BSD 3-Clause New or Revised License | projectacrn/acrn-hypervisor | dm: remove cfc/cf8 pio handler
The acrn vhm driver will convert all PCI configure space access to
PCI_CFG type, so the pci_emul_cfgaddr and pci_emul_cfgdata will nerver
be invoked. Remove these useless functions.
Tracked-On: #3999
Signed-off-by: Gao Junhao <junhao.gao@intel.com>
Reviewed-by: Zhao Yakui <yakui.zhao@in... |
528,675 | 05.11.2019 18:24:49 | -28,800 | 33eea943a1dd1bef87fcd60b66c3f5cab7f01058 | doc: schedule_vcpu was removed
schedule_vcpu should be replaced by launch_vcpu | [
{
"change_type": "MODIFY",
"old_path": "doc/developer-guides/hld/hv-cpu-virt.rst",
"new_path": "doc/developer-guides/hld/hv-cpu-virt.rst",
"diff": "@@ -216,8 +216,8 @@ Some example scenario flows are shown here:\nACRN vCPU scheduling scenarios\n-- **During starting a VM**: after create a vCPU, BSP c... | C | BSD 3-Clause New or Revised License | projectacrn/acrn-hypervisor | doc: schedule_vcpu was removed
schedule_vcpu should be replaced by launch_vcpu
Tracked-On: #3963
Signed-off-by: Jason Chen CJ <jason.cj.chen@intel.com> |
528,654 | 06.11.2019 17:51:30 | -28,800 | 620a1c521559650f3d74c14e6f729740cbf44ede | hv: mmu: rename e820 to hv_e820
Now the e820 structure store ACRN HV memory layout, not the physical memory layout.
Rename e820 to hv_hv_e820 to show this explicitly. | [
{
"change_type": "MODIFY",
"old_path": "hypervisor/arch/x86/e820.c",
"new_path": "hypervisor/arch/x86/e820.c",
"diff": "* and hide HV memory from SOS_VM...\n*/\n-static uint32_t e820_entries_count;\n-static struct e820_entry e820[E820_MAX_ENTRIES];\n-static struct e820_mem_params e820_mem;\n+static ... | C | BSD 3-Clause New or Revised License | projectacrn/acrn-hypervisor | hv: mmu: rename e820 to hv_e820
Now the e820 structure store ACRN HV memory layout, not the physical memory layout.
Rename e820 to hv_hv_e820 to show this explicitly.
Tracked-On: #4007
Signed-off-by: Li Fei1 <fei1.li@intel.com> |
528,756 | 22.10.2019 15:08:50 | -28,800 | 434a746ccb172710a726c3b55fa57c5a6301329c | doc: add waag secure boot enabling | [
{
"change_type": "ADD",
"old_path": "doc/tutorials/images/waag_secure_boot_image1.png",
"new_path": "doc/tutorials/images/waag_secure_boot_image1.png",
"diff": "Binary files /dev/null and b/doc/tutorials/images/waag_secure_boot_image1.png differ\n"
},
{
"change_type": "ADD",
"old_path": ... | C | BSD 3-Clause New or Revised License | projectacrn/acrn-hypervisor | doc: add waag secure boot enabling
Signed-off-by: Yuan Liu <yuan1.liu@intel.com> |
528,741 | 05.11.2019 15:01:24 | 0 | 95f485db515ddb8729715ac7773f5361020d26f6 | doc:update acrn_configuration_tool | [
{
"change_type": "MODIFY",
"old_path": "doc/tutorials/acrn_configuration_tool.rst",
"new_path": "doc/tutorials/acrn_configuration_tool.rst",
"diff": "@@ -24,11 +24,11 @@ setting up the log and the serial port.\nThe hypervisor configuration uses the ``Kconfig`` ``make\nmenuconfig`` mechanism. The con... | C | BSD 3-Clause New or Revised License | projectacrn/acrn-hypervisor | doc:update acrn_configuration_tool
Signed-off-by: lkanx <lix.kan@intel.com> |
528,654 | 18.10.2019 17:28:32 | -28,800 | c3b451835725df8c79cbc1481369545721dfdcca | doc: update timer hld
Add two new APIs interfaces design | [
{
"change_type": "MODIFY",
"old_path": "doc/developer-guides/hld/hv-timer.rst",
"new_path": "doc/developer-guides/hld/hv-timer.rst",
"diff": "@@ -59,3 +59,9 @@ Interfaces Design\n.. doxygenfunction:: get_tsc_khz\n:project: Project ACRN\n+\n+.. doxygenfunction:: timer_is_started\n+ :project: Project ... | C | BSD 3-Clause New or Revised License | projectacrn/acrn-hypervisor | doc: update timer hld
Add two new APIs interfaces design
Signed-off-by: Li, Fei1 <fei1.li@intel.com> |
528,706 | 07.11.2019 11:45:18 | 0 | 75f512ce8c9ede34ca1b9e760ee922070f81b6a1 | hv: rename vuart operations
fifo_reset -> reset_fifo
vuart_fifo_init -> init_fifo
vuart_setup - > setup_vuart
vuart_init -> init_vuart
vuart_deinit -> deinit_vuart
vuart_lock_init -> init_vuart_lock
vuart_lock -> obtain_vuart_lock
vuart_unlock -> release_vuart_lock
vuart_deinit_connect -> vuart_deinit_connection
Acked-... | [
{
"change_type": "MODIFY",
"old_path": "hypervisor/arch/x86/guest/vm.c",
"new_path": "hypervisor/arch/x86/guest/vm.c",
"diff": "@@ -510,7 +510,7 @@ int32_t create_vm(uint16_t vm_id, struct acrn_vm_config *vm_config, struct acrn_\n}\n/* Create virtual uart;*/\n- vuart_init(vm, vm_config->vuart);\n+ i... | C | BSD 3-Clause New or Revised License | projectacrn/acrn-hypervisor | hv: rename vuart operations
fifo_reset -> reset_fifo
vuart_fifo_init -> init_fifo
vuart_setup - > setup_vuart
vuart_init -> init_vuart
vuart_deinit -> deinit_vuart
vuart_lock_init -> init_vuart_lock
vuart_lock -> obtain_vuart_lock
vuart_unlock -> release_vuart_lock
vuart_deinit_connect -> vuart_deinit_connection
Trac... |
528,794 | 29.10.2019 17:13:58 | -28,800 | 589be88cf677c8407012af8780bdb148b12147fe | HV: link CONFIG_MAX_IOMMU_NUM and MAX_DRHDS to DRHD_COUNT
The value of CONFIG_MAX_IOMMU and MAX_DRHDS are identical to DRHD_COUNT
which defined in platform ACPI table, so remove CONFIG_MAX_IOMMU_NUM
from Kconfig and link these three MACROs together.
Acked-by: Eddie Dong | [
{
"change_type": "MODIFY",
"old_path": "hypervisor/acpi_parser/dmar_parse.c",
"new_path": "hypervisor/acpi_parser/dmar_parse.c",
"diff": "struct find_iter_args {\n- int32_t i;\n+ uint32_t i;\nstruct acpi_dmar_hardware_unit *res;\n};\ntypedef int32_t (*dmar_iter_t)(struct acpi_dmar_header*, void*);\n... | C | BSD 3-Clause New or Revised License | projectacrn/acrn-hypervisor | HV: link CONFIG_MAX_IOMMU_NUM and MAX_DRHDS to DRHD_COUNT
The value of CONFIG_MAX_IOMMU and MAX_DRHDS are identical to DRHD_COUNT
which defined in platform ACPI table, so remove CONFIG_MAX_IOMMU_NUM
from Kconfig and link these three MACROs together.
Tracked-On: #3977
Signed-off-by: Victor Sun <victor.sun@intel.com>
... |
528,731 | 08.11.2019 09:33:15 | -28,800 | dea2e25f4198361a08c851a1e4d529af5e22545a | dm: hw: fix the license of cmos_io.c
Fix the license of cmos_io.c to BSD-3-Clause | [
{
"change_type": "MODIFY",
"old_path": "devicemodel/hw/platform/cmos_io.c",
"new_path": "devicemodel/hw/platform/cmos_io.c",
"diff": "-/*************************************************************************\n- * INTEL CONFIDENTIAL\n- * Copyright 2018 Intel Corporation\n+/*\n+ * Copyright (C) 2019... | C | BSD 3-Clause New or Revised License | projectacrn/acrn-hypervisor | dm: hw: fix the license of cmos_io.c
Fix the license of cmos_io.c to BSD-3-Clause
Tracked-On: #4032
Signed-off-by: Binbin Wu <binbin.wu@intel.com> |
528,709 | 05.11.2019 09:33:39 | -28,800 | f10c937b40dee1ff42da2cb35172ca0e0b5c22a9 | acrn-config: correct value of DRHDx_IGNORE macro
The DRHDx_IGNORE should be defined to true when DRHD device BDF equal to
the given CONFIG_GPU_SBDF.
Acked-by: Victor Sun | [
{
"change_type": "MODIFY",
"old_path": "misc/acrn-config/target/dmar.py",
"new_path": "misc/acrn-config/target/dmar.py",
"diff": "@@ -186,6 +186,11 @@ class DmarTbl:\nself.path_offset = 0\n+# TODO: Get board information is independent part of acrn-config tools, it does not get the GPU_SBDF default\n... | C | BSD 3-Clause New or Revised License | projectacrn/acrn-hypervisor | acrn-config: correct value of DRHDx_IGNORE macro
The DRHDx_IGNORE should be defined to true when DRHD device BDF equal to
the given CONFIG_GPU_SBDF.
Tracked-On: #3854
Signed-off-by: Wei Liu <weix.w.liu@intel.com>
Acked-by: Victor Sun <victor.sun@intel.com> |
528,709 | 04.11.2019 19:41:48 | -28,800 | 8fcfea1386ae214d2416e0538407190886772670 | acrn-config: refinement for parsing DMAR table
Previous DRHD and device scope number are hard coded to 4, this patch removes
the limitation and parse the real drhd count/devscope count dynamically.
Acked-by: Victor Sun | [
{
"change_type": "MODIFY",
"old_path": "misc/acrn-config/target/dmar.py",
"new_path": "misc/acrn-config/target/dmar.py",
"diff": "@@ -333,33 +333,10 @@ def write_dmar_data(sysnode, config):\n(dmar_tbl, dmar_hw_list, dmar_dev_list, drhd_cnt) = walk_dmar_table(\ndmar_tbl, dmar_hw_list, dmar_dev_list, ... | C | BSD 3-Clause New or Revised License | projectacrn/acrn-hypervisor | acrn-config: refinement for parsing DMAR table
Previous DRHD and device scope number are hard coded to 4, this patch removes
the limitation and parse the real drhd count/devscope count dynamically.
Tracked-On: #3854
Signed-off-by: Wei Liu <weix.w.liu@intel.com>
Acked-by: Victor Sun <victor.sun@intel.com> |
528,709 | 06.11.2019 11:00:21 | -28,800 | 4658259be7f6928b2b291f96627d3b7f78c3524a | acrn-config: refine DRHD structure initialization
1. Initialize DRHDn_DEVSCOPEn_TYPE/DRHDn_DEVSCOPEn_ID for each devscope;
2. Remove DRHDn_IOAPIC_ID macro;
2. Refine the value format from base 10 to 16.
Acked-by: Victor Sun | [
{
"change_type": "MODIFY",
"old_path": "misc/acrn-config/target/dmar.py",
"new_path": "misc/acrn-config/target/dmar.py",
"diff": "@@ -156,7 +156,8 @@ class DmarDevList:\nself.dev_scope_cnt_list = []\nself.dev_bus_list = []\nself.dev_path_list = []\n- self.dev_ioapic = {}\n+ self.dev_scope_id_list = ... | C | BSD 3-Clause New or Revised License | projectacrn/acrn-hypervisor | acrn-config: refine DRHD structure initialization
1. Initialize DRHDn_DEVSCOPEn_TYPE/DRHDn_DEVSCOPEn_ID for each devscope;
2. Remove DRHDn_IOAPIC_ID macro;
2. Refine the value format from base 10 to 16.
Tracked-On: #3854
Signed-off-by: Wei Liu <weix.w.liu@intel.com>
Acked-by: Victor Sun <victor.sun@intel.com> |
528,709 | 05.11.2019 10:57:23 | -28,800 | 6d9ff40183d94cee4ccb7ceca0e13db7c00b4c1c | acrn-config: update DRHD_INFO section for board xml
The DRHD_INFO section should be updated with the refinement patches for
parsing DMAR table.
Acked-by: Victor Sun | [
{
"change_type": "MODIFY",
"old_path": "misc/acrn-config/xmls/board-xmls/apl-mrb.xml",
"new_path": "misc/acrn-config/xmls/board-xmls/apl-mrb.xml",
"diff": "<DRHD_INFO>\n#define DRHD_COUNT 2U\n- #define DRHD0_DEV_CNT 1U\n- #define DRHD0_SEGMENT 0U\n- #define DRHD0_FLAGS 0U\n+\n+ #define DRHD0_DEV_CNT... | C | BSD 3-Clause New or Revised License | projectacrn/acrn-hypervisor | acrn-config: update DRHD_INFO section for board xml
The DRHD_INFO section should be updated with the refinement patches for
parsing DMAR table.
Tracked-On: #3854
Signed-off-by: Wei Liu <weix.w.liu@intel.com>
Acked-by: Victor Sun <victor.sun@intel.com> |
528,709 | 05.11.2019 16:51:43 | -28,800 | 7b0cafa84f74c4d923182ad08cbf32f3828242ff | acrn-config: generate dmar info for board.c
1. Parse DRHD_INFO section from board config xml, and generate dmar
structure information to board.c
2. Copy macro of DRHD_INFO from board config xml to $(board)_acpi_platform.h
Acked-by: Victor Sun | [
{
"change_type": "MODIFY",
"old_path": "misc/acrn-config/board_config/acpi_platform_h.py",
"new_path": "misc/acrn-config/board_config/acpi_platform_h.py",
"diff": "@@ -12,7 +12,7 @@ PLATFORM_HEADER = r\"\"\"/* DO NOT MODIFY THIS FILE UNLESS YOU KNOW WHAT YOU ARE DO\n#define PLATFORM_ACPI_INFO_H\n\"\... | C | BSD 3-Clause New or Revised License | projectacrn/acrn-hypervisor | acrn-config: generate dmar info for board.c
1. Parse DRHD_INFO section from board config xml, and generate dmar
structure information to board.c
2. Copy macro of DRHD_INFO from board config xml to $(board)_acpi_platform.h
Tracked-On: #3854
Signed-off-by: Wei Liu <weix.w.liu@intel.com>
Acked-by: Victor Sun <victor.sun... |
528,662 | 08.11.2019 18:55:03 | -28,800 | 958ea0f11b5fe34c7633bdbc10733951c38144e4 | doc: Stop using kconfig to make a customized efi.
Also fix some quick setup script issues. | [
{
"change_type": "MODIFY",
"old_path": "doc/faq.rst",
"new_path": "doc/faq.rst",
"diff": "@@ -49,46 +49,32 @@ For example, if the NUC's physical memory size is 32G, you may follow these step\nto make the new uefi ACRN hypervisor, and then deploy it onto the NUC board to boot\nACRN Service VM with th... | C | BSD 3-Clause New or Revised License | projectacrn/acrn-hypervisor | doc: Stop using kconfig to make a customized efi.
Also fix some quick setup script issues.
Signed-off-by: lirui34 <ruix.li@intel.com> |
528,648 | 08.11.2019 23:01:20 | -28,800 | f4d6af02b208384e5c4e309ed121e169743d3079 | doc:modfiy ubuntu build on 18.04 | [
{
"change_type": "MODIFY",
"old_path": "doc/getting-started/building-from-source.rst",
"new_path": "doc/getting-started/building-from-source.rst",
"diff": "@@ -95,7 +95,7 @@ Install the necessary tools for the following systems:\n.. note::\nUse ``gcc`` version 7.3.* or higher to avoid running into\n... | C | BSD 3-Clause New or Revised License | projectacrn/acrn-hypervisor | doc:modfiy ubuntu build on 18.04
Signed-off-by: wenlingz <wenling.zhang@intel.com> |
528,798 | 08.11.2019 13:13:35 | -28,800 | cc7bf1a5063302f94c980b5da7c12365df586d1e | doc: Update Using Windows as Guest VM on ACRN | [
{
"change_type": "MODIFY",
"old_path": "doc/tutorials/using_windows_as_uos.rst",
"new_path": "doc/tutorials/using_windows_as_uos.rst",
"diff": "@@ -105,7 +105,7 @@ Preparations\n<https://fedorapeople.org/groups/virt/virtio-win/direct-downloads/archive-virtio/virtio-win-0.1.141-1/virtio-win-0.1.141.i... | C | BSD 3-Clause New or Revised License | projectacrn/acrn-hypervisor | doc: Update Using Windows as Guest VM on ACRN
Signed-off-by: huyuan3x <yuanx1.hu@intel.com> |
528,662 | 07.11.2019 17:55:10 | -28,800 | 705ba86da25a6f7750659093a5fcbe18af6376ac | doc: clean up the docs in try using acrn table.
Move acrn_ootb / building_acrn_in_docker / up2 gsg to the
develop using acrn guide; | [
{
"change_type": "MODIFY",
"old_path": "doc/develop.rst",
"new_path": "doc/develop.rst",
"diff": "@@ -18,6 +18,7 @@ Configuration Tutorials\n.. toctree::\n:maxdepth: 1\n+ tutorials/up2\ntutorials/increase-uos-disk-size\ntutorials/sign_clear_linux_image\ntutorials/static-ip\n@@ -29,6 +30,8 @@ Configu... | C | BSD 3-Clause New or Revised License | projectacrn/acrn-hypervisor | doc: clean up the docs in try using acrn table.
Move acrn_ootb / building_acrn_in_docker / up2 gsg to the
develop using acrn guide;
Signed-off-by: lirui34 <ruix.li@intel.com> |
528,747 | 08.11.2019 08:51:20 | 28,800 | 9c515aafedbba6bd5e74ffb47809c29750afc6aa | doc: fix error in building_from_source doc | [
{
"change_type": "MODIFY",
"old_path": "doc/getting-started/building-from-source.rst",
"new_path": "doc/getting-started/building-from-source.rst",
"diff": "@@ -107,8 +107,7 @@ Install the necessary tools for the following systems:\nACRN development requires ``binutils`` version 2.27 (or higher).\n- ... | C | BSD 3-Clause New or Revised License | projectacrn/acrn-hypervisor | doc: fix error in building_from_source doc
Signed-off-by: David B. Kinder <david.b.kinder@intel.com> |
528,747 | 08.11.2019 10:52:56 | 28,800 | 2d810ea456f885c883a978c12b905285a394b44f | doc: review edit for enable_laag_secure_boot
Review update to PR | [
{
"change_type": "MODIFY",
"old_path": "doc/tutorials/enable_laag_secure_boot.rst",
"new_path": "doc/tutorials/enable_laag_secure_boot.rst",
"diff": "@@ -36,7 +36,7 @@ Generate keys\nFor formal case, key generation and management can be referenced by:\n`Ubuntu-KeyGeneration`_ or `Windows-secure-boot... | C | BSD 3-Clause New or Revised License | projectacrn/acrn-hypervisor | doc: review edit for enable_laag_secure_boot
Review update to PR #3938
Signed-off-by: David B. Kinder <david.b.kinder@intel.com> |
528,747 | 08.11.2019 14:03:39 | 28,800 | 8ccb21533e8101bc4630ba3998c109eb74867ceb | doc: review edits for rt_industry doc | [
{
"change_type": "MODIFY",
"old_path": "doc/getting-started/rt_industry.rst",
"new_path": "doc/getting-started/rt_industry.rst",
"diff": "@@ -20,7 +20,8 @@ for the RTVM.\n- Intel Kaby Lake (aka KBL) NUC platform with two disks inside\n(refer to :ref:`the tables <hardware_setup>` for detailed informa... | C | BSD 3-Clause New or Revised License | projectacrn/acrn-hypervisor | doc: review edits for rt_industry doc
Signed-off-by: David B. Kinder <david.b.kinder@intel.com> |
528,768 | 07.11.2019 15:21:33 | -28,800 | fb29d1f99ff8f39974374e8056cdb54add88a1c8 | hv: refine 'uint64_t' string print format in debug moudle
Use "0x%lx" string to format 'uint64_t' type value,
instead of "0x%llx". | [
{
"change_type": "MODIFY",
"old_path": "hypervisor/debug/dump.c",
"new_path": "hypervisor/debug/dump.c",
"diff": "@@ -76,38 +76,31 @@ static void dump_guest_reg(struct acrn_vcpu *vcpu)\n\"world %d =============\\r\\n\",\nvcpu->vm->vm_id, vcpu->vcpu_id, pcpu_id,\nvcpu->arch.cur_context);\n- pr_acrnlo... | C | BSD 3-Clause New or Revised License | projectacrn/acrn-hypervisor | hv: refine 'uint64_t' string print format in debug moudle
Use "0x%lx" string to format 'uint64_t' type value,
instead of "0x%llx".
Tracked-On: #4020
Signed-off-by: Yonghua Huang <yonghua.huang@intel.com> |
528,768 | 07.11.2019 16:55:14 | -28,800 | 0eb427f122d2ec6e43ea25d6c49a2b210f31c416 | hv:refine 'uint64_t' string print format in comm moudle
Use "0x%lx" string to format 'uint64_t' type value,
instead of "0x%llx". | [
{
"change_type": "MODIFY",
"old_path": "hypervisor/arch/x86/cpu.c",
"new_path": "hypervisor/arch/x86/cpu.c",
"diff": "@@ -195,7 +195,7 @@ void init_pcpu_post(uint16_t pcpu_id)\n/* Calibrate TSC Frequency */\ncalibrate_tsc();\n- pr_acrnlog(\"HV version %s-%s-%s %s (daily tag:%s) build by %s%s, start ... | C | BSD 3-Clause New or Revised License | projectacrn/acrn-hypervisor | hv:refine 'uint64_t' string print format in comm moudle
Use "0x%lx" string to format 'uint64_t' type value,
instead of "0x%llx".
Tracked-On: #4020
Signed-off-by: Yonghua Huang <yonghua.huang@intel.com> |
528,783 | 08.11.2019 09:41:55 | -28,800 | 8666ba6c01c76c6cec18bb7b7aa099e739046611 | hv:remove unnecessary wrapper for emulate_instruction
remove unnecessary wrapper for this api(emulate_instruction) | [
{
"change_type": "MODIFY",
"old_path": "hypervisor/arch/x86/guest/instr_emul.c",
"new_path": "hypervisor/arch/x86/guest/instr_emul.c",
"diff": "@@ -1641,58 +1641,6 @@ static int32_t emulate_bittest(struct acrn_vcpu *vcpu, const struct instr_emul_v\nreturn ret;\n}\n-static int32_t vmm_emulate_instruc... | C | BSD 3-Clause New or Revised License | projectacrn/acrn-hypervisor | hv:remove unnecessary wrapper for emulate_instruction
remove unnecessary wrapper for this api(emulate_instruction)
Tracked-On: #1842
Signed-off-by: Mingqiang Chi <mingqiang.chi@intel.com> |
528,709 | 29.10.2019 13:00:47 | -28,800 | b9c77e008d1203f4c68e0a204d7f108c8b0cb671 | acrn-config: 'keep_gsi' flag set for Android vm
keep_gsi is needed as a workaround for the device that support both
MSI and legacy interrupt, so keep the flag for Android only because
it is not sure for some wifi/audio device on other Linux guest.
Acked-by: Victor Sun | [
{
"change_type": "MODIFY",
"old_path": "misc/acrn-config/launch_config/com.py",
"new_path": "misc/acrn-config/launch_config/com.py",
"diff": "@@ -383,8 +383,12 @@ def set_dm_pt(names, sel, vmid, config):\nsel.bdf[\"bluetooth\"][vmid][3:5], sel.bdf[\"bluetooth\"][vmid][6:7]), file=config)\nif sel.bdf... | C | BSD 3-Clause New or Revised License | projectacrn/acrn-hypervisor | acrn-config: 'keep_gsi' flag set for Android vm
keep_gsi is needed as a workaround for the device that support both
MSI and legacy interrupt, so keep the flag for Android only because
it is not sure for some wifi/audio device on other Linux guest.
Tracked-On: #3956
Signed-off-by: Wei Liu <weix.w.liu@intel.com>
Acked-... |
528,709 | 31.10.2019 12:43:22 | -28,800 | 9c8059499a049f3fb6a2710eef5d06761d59d044 | acrn-config: remove runC script from unnecessary launch script
1. run_cotainer is linux type uos, remove related runC script from
unnercessary luanch script.
Acked-by: Victor Sun | [
{
"change_type": "MODIFY",
"old_path": "misc/acrn-config/launch_config/com.py",
"new_path": "misc/acrn-config/launch_config/com.py",
"diff": "@@ -247,7 +247,6 @@ def wa_usage(uos_type, config):\ndef mem_size_set(names, args, vmid, config):\nuos_type = names['uos_types'][vmid]\n- #board_name = names[... | C | BSD 3-Clause New or Revised License | projectacrn/acrn-hypervisor | acrn-config: remove runC script from unnecessary launch script
1. run_cotainer is linux type uos, remove related runC script from
unnercessary luanch script.
Tracked-On: #3930
Signed-off-by: Wei Liu <weix.w.liu@intel.com>
Acked-by: Victor Sun <victor.sun@intel.com> |
528,709 | 31.10.2019 12:56:12 | -28,800 | 83797610da74541ef8c3865c6ce834431aa65ff1 | acrn-config: add support to generate launch script
Add support to generate launch script for whl-ipc-i5/whl-ipc-i7.
Acked-by: Victor Sun | [
{
"change_type": "MODIFY",
"old_path": "misc/acrn-config/launch_config/com.py",
"new_path": "misc/acrn-config/launch_config/com.py",
"diff": "@@ -7,11 +7,19 @@ import launch_cfg_lib\nimport pt\n-def is_nuc_clr(names, vmid):\n+def is_nuc_whl_clr(names, vmid):\nuos_type = names['uos_types'][vmid]\nboa... | C | BSD 3-Clause New or Revised License | projectacrn/acrn-hypervisor | acrn-config: add support to generate launch script
Add support to generate launch script for whl-ipc-i5/whl-ipc-i7.
Tracked-On: #3854
Signed-off-by: Wei Liu <weix.w.liu@intel.com>
Acked-by: Victor Sun <victor.sun@intel.com> |
528,709 | 31.10.2019 10:47:22 | -28,800 | 61926d2b115541746219f8adcecdda6c53497f5c | acrn-config: refine interrupt_storm function
interrupt_storm should be enabled while passthrough device was set.
Acked-by: Victor Sun | [
{
"change_type": "MODIFY",
"old_path": "misc/acrn-config/launch_config/com.py",
"new_path": "misc/acrn-config/launch_config/com.py",
"diff": "@@ -211,12 +211,11 @@ def boot_image_type(args, vmid, config):\nprint(\"\", file=config)\n-def interrupt_storm(names, vmid, config):\n- uos_type = names['uos_... | C | BSD 3-Clause New or Revised License | projectacrn/acrn-hypervisor | acrn-config: refine interrupt_storm function
interrupt_storm should be enabled while passthrough device was set.
Tracked-On: #3854
Signed-off-by: Wei Liu <weix.w.liu@intel.com>
Acked-by: Victor Sun <victor.sun@intel.com> |
528,709 | 31.10.2019 10:54:19 | -28,800 | c3495c68390f9fd8fb101c81eb18c68088a11f4a | acrn-config: refine mem_size_set function
mem_size should be set from xml, it should not be overrided dynamically.
Acked-by: Victor Sun | [
{
"change_type": "MODIFY",
"old_path": "misc/acrn-config/launch_config/com.py",
"new_path": "misc/acrn-config/launch_config/com.py",
"diff": "@@ -251,29 +251,10 @@ def wa_usage(uos_type, config):\nprint(\"echo on > /sys/devices/pci0000:00/0000:00:15.0/power/control\", file=config)\nprint(\"\", file=... | C | BSD 3-Clause New or Revised License | projectacrn/acrn-hypervisor | acrn-config: refine mem_size_set function
mem_size should be set from xml, it should not be overrided dynamically.
Tracked-On: #3854
Signed-off-by: Wei Liu <weix.w.liu@intel.com>
Acked-by: Victor Sun <victor.sun@intel.com> |
528,709 | 31.10.2019 18:44:44 | -28,800 | 572abc70d7e57506af4d2bd208ab146f2c0bf9e4 | acrn-config: add serial config in new $(board).config
Enhance the $(board).config for new board.
Serial config should be set in $(board).config for new board.
Acked-by: Victor Sun | [
{
"change_type": "MODIFY",
"old_path": "misc/acrn-config/board_config/board_cfg_gen.py",
"new_path": "misc/acrn-config/board_config/board_cfg_gen.py",
"diff": "@@ -22,6 +22,16 @@ ACRN_DEFAULT_PLATFORM = ACRN_PATH + \"hypervisor/include/arch/x86/default_acpi_in\nGEN_FILE = [\"pci_devices.h\", \"board... | C | BSD 3-Clause New or Revised License | projectacrn/acrn-hypervisor | acrn-config: add serial config in new $(board).config
Enhance the $(board).config for new board.
Serial config should be set in $(board).config for new board.
Tracked-On: #3854
Signed-off-by: Wei Liu <weix.w.liu@intel.com>
Acked-by: Victor Sun <victor.sun@intel.com> |
528,709 | 01.11.2019 13:48:58 | -28,800 | 485529415eded75eb2885a0bec9eec7158613363 | acrn-config: add 'xhci' usb mediator for laag and waag
Enable xhci usb mediator for whl-ipc-i5/whl-ipc-7 and KBL NUC for LaaG
and WaaG.
Acked-by: Victor Sun | [
{
"change_type": "MODIFY",
"old_path": "misc/acrn-config/launch_config/com.py",
"new_path": "misc/acrn-config/launch_config/com.py",
"diff": "@@ -401,6 +401,26 @@ def vboot_arg_set(dm, vmid, config):\nprint(\" $boot_image_option \\\\\",file=config)\n+def xhci_args_set(names, vmid, config):\n+ board_... | C | BSD 3-Clause New or Revised License | projectacrn/acrn-hypervisor | acrn-config: add 'xhci' usb mediator for laag and waag
Enable xhci usb mediator for whl-ipc-i5/whl-ipc-7 and KBL NUC for LaaG
and WaaG.
Tracked-On: #3854
Signed-off-by: Wei Liu <weix.w.liu@intel.com>
Acked-by: Victor Sun <victor.sun@intel.com> |
528,766 | 21.10.2019 04:15:50 | 25,200 | b7329f10a5feef26444fc4594436566ed238439c | hv: instr_emul: use cs segment when fetching instructions
In non-64-bit mode, CS segment base address should be considered when
determining the linear address of the vcpu's instruction pointer. Use
vie_calculate_gla() for instruction address translation which also takes
care of 64-bit mode. | [
{
"change_type": "MODIFY",
"old_path": "hypervisor/arch/x86/guest/instr_emul.c",
"new_path": "hypervisor/arch/x86/guest/instr_emul.c",
"diff": "@@ -560,10 +560,9 @@ static bool is_desc_valid(const struct seg_desc *desc, uint32_t prot)\n*@pre prot must be PROT_READ or PROT_WRITE\n*/\nstatic void vie_... | C | BSD 3-Clause New or Revised License | projectacrn/acrn-hypervisor | hv: instr_emul: use cs segment when fetching instructions
In non-64-bit mode, CS segment base address should be considered when
determining the linear address of the vcpu's instruction pointer. Use
vie_calculate_gla() for instruction address translation which also takes
care of 64-bit mode.
Tracked-On: #4064
Signed-o... |
528,662 | 11.11.2019 10:56:51 | -28,800 | 70312bfb7e78bc376515777b361e40b1532c26fc | dm: Add licenses to the scripts.
Add licenses to the scripts:
```
devicemodel/samples/apl-mrb/launch_uos.sh
devicemodel/samples/apl-up2/launch_uos.sh
devicemodel/samples/nuc/launch_hard_rt_vm.sh
devicemodel/samples/nuc/launch_uos.sh
devicemodel/samples/nuc/launch_vxworks.sh
devicemodel/samples/nuc/launch_win.sh
devicem... | [
{
"change_type": "MODIFY",
"old_path": "devicemodel/samples/apl-mrb/launch_uos.sh",
"new_path": "devicemodel/samples/apl-mrb/launch_uos.sh",
"diff": "#!/bin/bash\n+# Copyright (C) 2019 Intel Corporation.\n+# SPDX-License-Identifier: BSD-3-Clause\noffline_path=\"/sys/class/vhm/acrn_vhm\"\n"
},
{
... | C | BSD 3-Clause New or Revised License | projectacrn/acrn-hypervisor | dm: Add licenses to the scripts.
Add licenses to the scripts:
```
devicemodel/samples/apl-mrb/launch_uos.sh
devicemodel/samples/apl-up2/launch_uos.sh
devicemodel/samples/nuc/launch_hard_rt_vm.sh
devicemodel/samples/nuc/launch_uos.sh
devicemodel/samples/nuc/launch_vxworks.sh
devicemodel/samples/nuc/launch_win.sh
device... |
528,662 | 04.11.2019 17:53:09 | -28,800 | cb207b43834cbece5714752f3b342cf53433345c | doc: enable s5 guide
Add instruction of enabling s5. | [
{
"change_type": "MODIFY",
"old_path": "doc/develop.rst",
"new_path": "doc/develop.rst",
"diff": "@@ -74,3 +74,4 @@ Enable ACRN Features\ntutorials/using_sbl_on_up2\ntutorials/trustyACRN\ntutorials/waag-secure-boot\n+ tutorials/enable_s5\n"
},
{
"change_type": "ADD",
"old_path": "doc/tut... | C | BSD 3-Clause New or Revised License | projectacrn/acrn-hypervisor | doc: enable s5 guide
Add instruction of enabling s5.
Signed-off-by: lirui34 <ruix.li@intel.com> |
528,662 | 06.11.2019 16:48:17 | -28,800 | 95d26da4728baad83d6b9d240a499af41c84bb00 | doc: Add Advisory notes | [
{
"change_type": "MODIFY",
"old_path": "doc/index.rst",
"new_path": "doc/index.rst",
"diff": "@@ -80,6 +80,7 @@ license.\ncontribute\nreference/index\nrelease_notes/index\n+ asa\nfaq\n.. _BSD 3-clause license:\n"
}
] | C | BSD 3-Clause New or Revised License | projectacrn/acrn-hypervisor | doc: Add Advisory notes
Signed-off-by: lirui34 <ruix.li@intel.com> |
528,794 | 24.10.2019 16:42:42 | -28,800 | 0011607a161515b804017e73bdc3592b4cc1f647 | Makefile: refine include path for efi_stub
Move hypervisor related include path from CFLAGS to INCLUDE_PATH to make
structure more clean. | [
{
"change_type": "MODIFY",
"old_path": "misc/efi-stub/Makefile",
"new_path": "misc/efi-stub/Makefile",
"diff": "HV_OBJDIR:=build\nHV_FILE:=acrn\n+HV_SRC:=../../hypervisor\nC_SRCS = boot.c pe.c malloc.c\nACRN_OBJS := $(patsubst %.c,$(EFI_OBJDIR)/%.o,$(C_SRCS))\nINCLUDE_PATH += $(HV_OBJDIR)/include\n+... | C | BSD 3-Clause New or Revised License | projectacrn/acrn-hypervisor | Makefile: refine include path for efi_stub
Move hypervisor related include path from CFLAGS to INCLUDE_PATH to make
structure more clean.
Tracked-On: #3779
Signed-off-by: Victor Sun <victor.sun@intel.com> |
528,794 | 11.11.2019 23:46:29 | -28,800 | 5dd1c5350cebb99f7ac4692bb0a9663e65e13fe4 | Makefile: pass BOARD/SCENARIO FILE to make hv
If we don't enforce passing BOARD_FILE/SCENARIO_FILE param to
hypervisor/Makefile, the BOARD_FILE/SCENARIO_FILE value would
not be overridden to its realpath in hypervisor/Makefile when
make hypervisor. | [
{
"change_type": "MODIFY",
"old_path": "Makefile",
"new_path": "Makefile",
"diff": "@@ -113,8 +113,8 @@ hypervisor:\n$(MAKE) -C $(T)/hypervisor HV_OBJDIR=$(HV_OUT) clean; \\\nmkdir -p $(HV_OUT) && cp $(DEFAULT_MENU_CONFIG_FILE) $(HV_OUT)/.config; \\\nelse \\\n- $(MAKE) -C $(T)/hypervisor HV_OBJDIR=$... | C | BSD 3-Clause New or Revised License | projectacrn/acrn-hypervisor | Makefile: pass BOARD/SCENARIO FILE to make hv
If we don't enforce passing BOARD_FILE/SCENARIO_FILE param to
hypervisor/Makefile, the BOARD_FILE/SCENARIO_FILE value would
not be overridden to its realpath in hypervisor/Makefile when
make hypervisor.
Tracked-On: #4067
Signed-off-by: Victor Sun <victor.sun@intel.com> |
528,709 | 11.11.2019 14:58:15 | -28,800 | d9cb750ed9dc640a390909489341d465182429fd | acrn-config: alloc vuart1 irq when pttyS1 not exist only
If pttyS1 do not exist, we can alloc irq for vuart1, but if pttyS1
exist, we should reuse the irq of pttyS1 to keep compliance.
Acked-by: Victor Sun | [
{
"change_type": "MODIFY",
"old_path": "misc/acrn-config/library/board_cfg_lib.py",
"new_path": "misc/acrn-config/library/board_cfg_lib.py",
"diff": "@@ -375,10 +375,9 @@ def get_board_private_vuart(branch_tag, tag_console):\nvuart0_console_dic[ttys_n] = NATIVE_CONSOLE_DIC[ttys_n]\n# VUART1\n- if le... | C | BSD 3-Clause New or Revised License | projectacrn/acrn-hypervisor | acrn-config: alloc vuart1 irq when pttyS1 not exist only
If pttyS1 do not exist, we can alloc irq for vuart1, but if pttyS1
exist, we should reuse the irq of pttyS1 to keep compliance.
Tracked-On: #4073
Signed-off-by: Wei Liu <weix.w.liu@intel.com>
Acked-by: Victor Sun <victor.sun@intel.com> |
528,709 | 08.11.2019 19:30:59 | -28,800 | 631c461314a1afde4a75d7a4dc88bf160a45bfb9 | acrn-config: Cx desc parsing enhancement
Previous code parse the Cx value by hardcoded position in sysfs desc
node, but this might be changed in different kernel.
This patch will parse the Cx value position by index key word like
MWAIT/IOPORT.
Acked-by: Victor Sun | [
{
"change_type": "MODIFY",
"old_path": "misc/acrn-config/target/acpi.py",
"new_path": "misc/acrn-config/target/acpi.py",
"diff": "@@ -409,6 +409,18 @@ def read_pm_sdata(sysnode, sx_name, config):\nhex(int.from_bytes(S5_PKG.reserved, 'little')))+'U', file=config)\n+def get_value_after_str(cstate_str,... | C | BSD 3-Clause New or Revised License | projectacrn/acrn-hypervisor | acrn-config: Cx desc parsing enhancement
Previous code parse the Cx value by hardcoded position in sysfs desc
node, but this might be changed in different kernel.
This patch will parse the Cx value position by index key word like
MWAIT/IOPORT.
Tracked-On: #4074
Signed-off-by: Wei Liu <weix.w.liu@intel.com>
Acked-by:... |
528,709 | 12.11.2019 09:18:20 | -28,800 | cdd086a81d5997d52ace5a541c9b1e99ce35c24c | acrn-config: by-pass acpi_idle/acpi_cpufreq for parsing target board
Current board parse logic would be broken if acpi_idle/acpi-cpufreq
driver is not loaded by native kernel.
This patch would just leave a warning to user and continue to parse
other information in this case.
Acked-by: Victor Sun | [
{
"change_type": "MODIFY",
"old_path": "misc/acrn-config/board_config/board_c.py",
"new_path": "misc/acrn-config/board_config/board_c.py",
"diff": "@@ -112,6 +112,26 @@ def gen_cat(config):\nreturn err_dic\n+def gen_single_data(data_lines, domain_str, config):\n+ line_i = 0\n+ data_statues = True\n+... | C | BSD 3-Clause New or Revised License | projectacrn/acrn-hypervisor | acrn-config: by-pass acpi_idle/acpi_cpufreq for parsing target board
Current board parse logic would be broken if acpi_idle/acpi-cpufreq
driver is not loaded by native kernel.
This patch would just leave a warning to user and continue to parse
other information in this case.
Tracked-On: #4082
Signed-off-by: Wei Liu <... |
528,665 | 12.11.2019 14:13:38 | 0 | e9b035bab64e10c921b72642c265ff2f4785413a | DM: samples: Correct parameter of intel_pstate
The parameter of intel_pstate should be 'disable' instead of 'disabled'.
This patch fixes it. | [
{
"change_type": "MODIFY",
"old_path": "devicemodel/samples/nuc/launch_hard_rt_vm.sh",
"new_path": "devicemodel/samples/nuc/launch_hard_rt_vm.sh",
"diff": "@@ -65,7 +65,7 @@ pm_by_vuart=\"--pm_by_vuart tty,/dev/ttyS1\"\n#root=/dev/nvme0n1p3 rw rootwait nohpet console=hvc0 console=ttyS0 \\\n#no_timer... | C | BSD 3-Clause New or Revised License | projectacrn/acrn-hypervisor | DM: samples: Correct parameter of intel_pstate
The parameter of intel_pstate should be 'disable' instead of 'disabled'.
This patch fixes it.
Tracked-On: #4094
Signed-off-by: Kaige Fu <kaige.fu@intel.com> |
528,748 | 12.11.2019 11:27:45 | -28,800 | bab0118b518213d247f55a7c225ea236e57c7972 | CODEOWNERS: add acrn-hypervisor Makefile owner | [
{
"change_type": "MODIFY",
"old_path": "CODEOWNERS",
"new_path": "CODEOWNERS",
"diff": "# Default/global reviewers (if not overridden later)\n* @anthonyzxu @dongyaozu\n+Makefile @binbinwu1\n/hypervisor/ @anthonyzxu @dongyaozu\n/devicemodel/ @anthonyzxu @ywan170\n/doc/ @dbkinder @deb-intel @NanlinXie... | C | BSD 3-Clause New or Revised License | projectacrn/acrn-hypervisor | CODEOWNERS: add acrn-hypervisor Makefile owner
Tracked-On: #3419
Signed-off-by: Lei, Lu <leix.lu@intel.com> |
528,794 | 12.11.2019 14:11:58 | -28,800 | 0d52f933da5efe7a02f04973ec6d7ed9b8796724 | Makefile: move .mk file to hv scripts folder
The *.mk files under misc/acrn-config/library are all rules for hypervisor
makefiles only, so move these files to hypervisor/scripts/makefile/ folder.
The folder of acrn-config/library/ will be used to store python script lib only. | [
{
"change_type": "MODIFY",
"old_path": "Makefile",
"new_path": "Makefile",
"diff": "@@ -54,7 +54,7 @@ endif\n# default value defined in this make file will be used\n#\n-include $(T)/misc/acrn-config/library/cfg_update.mk\n+include $(T)/hypervisor/scripts/makefile/cfg_update.mk\nifeq ($(DEFAULT_MENU_... | C | BSD 3-Clause New or Revised License | projectacrn/acrn-hypervisor | Makefile: move .mk file to hv scripts folder
The *.mk files under misc/acrn-config/library are all rules for hypervisor
makefiles only, so move these files to hypervisor/scripts/makefile/ folder.
The folder of acrn-config/library/ will be used to store python script lib only.
Tracked-On: #3779
Signed-off-by: Victor... |
528,654 | 13.11.2019 19:33:50 | -28,800 | f53baadd5a3efdd3ef1432a6970c0567753b7097 | hv: vpci: refine PCI IO BAR map
The current do PCI IO BAR remap in vdev_pt_allow_io_vbar. This patch split this
function into vdev_pt_deny_io_vbar and vdev_pt_allow_io_vbar. vdev_pt_deny_io_vbar
removes the old IO port mapping, vdev_pt_allow_io_vbar add the new IO port mapping. | [
{
"change_type": "MODIFY",
"old_path": "hypervisor/dm/vpci/pci_pt.c",
"new_path": "hypervisor/dm/vpci/pci_pt.c",
"diff": "@@ -217,22 +217,35 @@ static void vdev_pt_map_mem_vbar(struct pci_vdev *vdev, uint32_t idx)\n*/\nstatic void vdev_pt_allow_io_vbar(struct pci_vdev *vdev, uint32_t idx)\n{\n- stru... | C | BSD 3-Clause New or Revised License | projectacrn/acrn-hypervisor | hv: vpci: refine PCI IO BAR map
The current do PCI IO BAR remap in vdev_pt_allow_io_vbar. This patch split this
function into vdev_pt_deny_io_vbar and vdev_pt_allow_io_vbar. vdev_pt_deny_io_vbar
removes the old IO port mapping, vdev_pt_allow_io_vbar add the new IO port mapping.
Tracked-On: #3475
Signed-off-by: Li Fei... |
528,654 | 14.11.2019 17:58:13 | -28,800 | 5aa92b85ea8a791349a29a0393beb4e6cd293dd4 | hv: vpci: move vBAR base setting into pci_vdev_write_bar
Updating vBAR base when setting vBAR configuration sapce. | [
{
"change_type": "MODIFY",
"old_path": "hypervisor/dm/vpci/pci_pt.c",
"new_path": "hypervisor/dm/vpci/pci_pt.c",
"diff": "@@ -49,7 +49,6 @@ static void vdev_pt_unmap_mem_vbar(struct pci_vdev *vdev, uint32_t idx)\nept_del_mr(vm, (uint64_t *)(vm->arch_vm.nworld_eptp),\nvbar->base, /* GPA (old vbar) */... | C | BSD 3-Clause New or Revised License | projectacrn/acrn-hypervisor | hv: vpci: move vBAR base setting into pci_vdev_write_bar
Updating vBAR base when setting vBAR configuration sapce.
Tracked-On: #3475
Signed-off-by: Li Fei1 <fei1.li@intel.com> |
528,768 | 18.11.2019 10:37:04 | -28,800 | da469d9e3eff807a60096339bb2c366ea429e4ac | doc: add mitigation description for CVE-2018-12207 in advisory
Mitigation for this vulnerability is applied in 1.4 release, update
related notes in adviosry. | [
{
"change_type": "MODIFY",
"old_path": "doc/asa.rst",
"new_path": "doc/asa.rst",
"diff": "@@ -6,6 +6,12 @@ Advisory\nWe recommend that all developers upgrade to this v1.4 release, which addresses the following security\nissues that were discovered in previous releases:\n+Mitigation for Machine Check... | C | BSD 3-Clause New or Revised License | projectacrn/acrn-hypervisor | doc: add mitigation description for CVE-2018-12207 in advisory
Mitigation for this vulnerability is applied in 1.4 release, update
related notes in adviosry.
Tracked-On: #4101
Signed-off-by: Yonghua Huang <yonghua.huang@intel.com> |
528,778 | 11.11.2019 13:41:24 | -28,800 | 1d8f16a2e93178a39d19dabbd8aded95e8061a48 | doc: edit agl-vms.rst adjust to v1.3 | [
{
"change_type": "MODIFY",
"old_path": "doc/tutorials/agl-vms.rst",
"new_path": "doc/tutorials/agl-vms.rst",
"diff": "@@ -24,9 +24,9 @@ meter, the In-Vehicle Infotainment (IVI) system, and the rear seat\nentertainment (RSE). For the software, there are three VMs running on\ntop of ACRN:\n-* Clear Li... | C | BSD 3-Clause New or Revised License | projectacrn/acrn-hypervisor | doc: edit agl-vms.rst adjust to v1.3 |
528,737 | 11.11.2019 17:12:21 | -28,800 | 26c45a0c701308b016f464d09acc5cbfaf15e758 | hv: modify printf "not support the vuart index parameter" in vuart_register_io_handler
call vuart_register_io_handler function, when the parameter vuart_idx is greater
than or equal to 2, print the vuart index value which will not register the vuart. | [
{
"change_type": "MODIFY",
"old_path": "hypervisor/dm/vuart.c",
"new_path": "hypervisor/dm/vuart.c",
"diff": "@@ -534,7 +534,7 @@ static bool vuart_register_io_handler(struct acrn_vm *vm, uint16_t port_base, ui\npio_idx = UART_PIO_IDX1;\nbreak;\ndefault:\n- printf(\"Not support vuart index %d, will ... | C | BSD 3-Clause New or Revised License | projectacrn/acrn-hypervisor | hv: modify printf "not support the vuart index parameter" in vuart_register_io_handler
call vuart_register_io_handler function, when the parameter vuart_idx is greater
than or equal to 2, print the vuart index value which will not register the vuart.
Tracked-On: #4072
Signed-off-by: Jidong Xia <xiajidong@cmss.chinamo... |
528,709 | 18.11.2019 20:08:22 | -28,800 | 037e7a4a2ce966314d9b67854e760f00aa7f5552 | acrn-config: modify the key of vuart base
Return correct key of vuart base to webUI for parsing.
Acked-by: Victor Sun | [
{
"change_type": "MODIFY",
"old_path": "misc/acrn-config/library/scenario_cfg_lib.py",
"new_path": "misc/acrn-config/library/scenario_cfg_lib.py",
"diff": "@@ -718,14 +718,14 @@ def avl_vuart_ui_select(scenario_info):\nvm_type = get_order_type_by_vmid(vm_i)\nif vm_type == \"SOS_VM\":\n- key = \"vm={... | C | BSD 3-Clause New or Revised License | projectacrn/acrn-hypervisor | acrn-config: modify the key of vuart base
Return correct key of vuart base to webUI for parsing.
Tracked-On: #4128
Signed-off-by: Wei Liu <weix.w.liu@intel.com>
Acked-by: Victor Sun <victor.sun@intel.com> |
528,709 | 18.11.2019 20:32:18 | -28,800 | 658dccfbe3d3269f610571f563ba0dfd9d060cb1 | acrn-config: set S3/S5 to default value while BIOS not support them
If S3/S5 are not support by BIOS in some platform, will set them to 0
as default.
Acked-by: Victor Sun | [
{
"change_type": "MODIFY",
"old_path": "misc/acrn-config/board_config/acpi_platform_h.py",
"new_path": "misc/acrn-config/board_config/acpi_platform_h.py",
"diff": "@@ -90,6 +90,12 @@ def multi_info_parser(config, default_platform, msg_s, msg_e):\npm_ac_sz = OverridAccessSize()\nmulti_lines = board_c... | C | BSD 3-Clause New or Revised License | projectacrn/acrn-hypervisor | acrn-config: set S3/S5 to default value while BIOS not support them
If S3/S5 are not support by BIOS in some platform, will set them to 0
as default.
Tracked-On: #3854
Signed-off-by: Wei Liu <weix.w.liu@intel.com>
Acked-by: Victor Sun <victor.sun@intel.com> |
528,709 | 18.11.2019 21:43:17 | -28,800 | b332bf84b8dfd5d6e50195490a244853f4014581 | acrn-config: enhance the board config that has no serial port
There may be no physical serial port in the target board, and it will
stop generating board file, the patch add support to handle such case.
Acked-by: Victor Sun | [
{
"change_type": "MODIFY",
"old_path": "misc/acrn-config/board_config/misc_cfg_h.py",
"new_path": "misc/acrn-config/board_config/misc_cfg_h.py",
"diff": "@@ -68,9 +68,6 @@ def parse_boot_info():\nsos_rootfs = board_cfg_lib.get_sub_leaf_tag(board_cfg_lib.SCENARIO_INFO_FILE, \"os_config\", \"rootfs\")... | C | BSD 3-Clause New or Revised License | projectacrn/acrn-hypervisor | acrn-config: enhance the board config that has no serial port
There may be no physical serial port in the target board, and it will
stop generating board file, the patch add support to handle such case.
Tracked-On: #3854
Signed-off-by: Wei Liu <weix.w.liu@intel.com>
Acked-by: Victor Sun <victor.sun@intel.com> |
528,648 | 20.11.2019 15:12:09 | -28,800 | 2400f073d19f4efd51cc1a17274656a3a34b1ab5 | releasenote for release_1.0.2 | [
{
"change_type": "ADD",
"old_path": null,
"new_path": "doc/release_notes/release_notes_1.0.2.rst",
"diff": "+.. _release_notes_1.0.2:\n+\n+ACRN v1.0.2 (November 2019)\n+#######################\n+\n+We are pleased to announce the release of ACRN version 1.0.2. This is a\n+maintenance release based of... | C | BSD 3-Clause New or Revised License | projectacrn/acrn-hypervisor | releasenote for release_1.0.2
Signed-off-by: wenlingz <wenling.zhang@intel.com> |
528,662 | 12.11.2019 15:21:25 | -28,800 | ec6777ab0963bec90d16ddfe7572629b28d532ab | doc: Update 1.4 versions and some words | [
{
"change_type": "MODIFY",
"old_path": "doc/asa.rst",
"new_path": "doc/asa.rst",
"diff": ".. _asa:\n-Advisory\n-********\n+Security Advisory\n+*****************\nWe recommend that all developers upgrade to this v1.4 release, which addresses the following security\nissues that were discovered in prev... | C | BSD 3-Clause New or Revised License | projectacrn/acrn-hypervisor | doc: Update 1.4 versions and some words
Signed-off-by: lirui34 <ruix.li@intel.com> |
528,748 | 12.11.2019 09:33:14 | -28,800 | 2d5fdecf4104186e92090c577614778ddc80c552 | doc: update acrn ootb doc
1. Update acrn.efi name in acrn ootb scripts
2. Add licenses to acrn ootb scripts
3. Add format U disk step
4. Add execute permission to ootb script
5. Fix wrong img name
6. update clearlinux version to 31600 | [
{
"change_type": "MODIFY",
"old_path": "doc/tutorials/acrn_ootb.rst",
"new_path": "doc/tutorials/acrn_ootb.rst",
"diff": "@@ -88,7 +88,7 @@ Step 1: Create a Service VM YAML file and script\n{cmd: \"${yamlDir}/service-os-post.sh ${chrootDir}\"},\n]\n- version: 30970\n+ version: 31670\n.. note:: Updat... | C | BSD 3-Clause New or Revised License | projectacrn/acrn-hypervisor | doc: update acrn ootb doc
1. Update acrn.efi name in acrn ootb scripts
2. Add licenses to acrn ootb scripts
3. Add format U disk step
4. Add execute permission to ootb script
5. Fix wrong img name
6. update clearlinux version to 31600
Signed-off-by: Lei, Lu <leix.lu@intel.com> |
528,662 | 22.11.2019 11:01:31 | 0 | c2f9de95fb9aff0a252d78486ccefdcde0a842e1 | doc: remove rt gsg kernel info
No need rt kernel info in gsg doc. | [
{
"change_type": "MODIFY",
"old_path": "doc/getting-started/rt_industry.rst",
"new_path": "doc/getting-started/rt_industry.rst",
"diff": "@@ -9,7 +9,6 @@ Verified version\n- Clear Linux version: **31670**\n- ACRN-hypervisor tag: **v1.4**\n- ACRN-Kernel(Service VM kernel): **4.19.78-98.iot-lts2018-so... | C | BSD 3-Clause New or Revised License | projectacrn/acrn-hypervisor | doc: remove rt gsg kernel info
No need rt kernel info in gsg doc.
Signed-off-by: lirui34 <ruix.li@intel.com> |
528,783 | 13.11.2019 15:45:38 | -28,800 | 4c8dde1b9c03fea1edab261575fd201deae4a5cf | hv:remove show_guest_call_trace
now this api assumes the guest OS is 64 bits,
this patch remove this api and will replace it
with dumping guest memory.
Acked-by: Eddie Dong | [
{
"change_type": "MODIFY",
"old_path": "hypervisor/debug/dump.c",
"new_path": "hypervisor/debug/dump.c",
"diff": "@@ -131,48 +131,6 @@ static void dump_guest_stack(struct acrn_vcpu *vcpu)\npr_acrnlog(\"\\r\\n\");\n}\n-static void show_guest_call_trace(struct acrn_vcpu *vcpu)\n-{\n- uint64_t bp;\n- u... | C | BSD 3-Clause New or Revised License | projectacrn/acrn-hypervisor | hv:remove show_guest_call_trace
now this api assumes the guest OS is 64 bits,
this patch remove this api and will replace it
with dumping guest memory.
Tracked-On: #4144
Signed-off-by: Mingqiang Chi <mingqiang.chi@intel.com>
Acked-by: Eddie Dong <eddie.dong@intel.com> |
528,783 | 19.11.2019 17:18:31 | -28,800 | 215bb6ca6c351e34c6bcd872cd74f4babf75c5e7 | hv:refine dump_host_mem
rename shell_dumpmem to shell_dump_host_mem
and refine this api.
Acked-by: Eddie Dong | [
{
"change_type": "MODIFY",
"old_path": "hypervisor/debug/shell.c",
"new_path": "hypervisor/debug/shell.c",
"diff": "@@ -38,7 +38,7 @@ static int32_t shell_version(__unused int32_t argc, __unused char **argv);\nstatic int32_t shell_list_vm(__unused int32_t argc, __unused char **argv);\nstatic int32_t... | C | BSD 3-Clause New or Revised License | projectacrn/acrn-hypervisor | hv:refine dump_host_mem
rename shell_dumpmem to shell_dump_host_mem
and refine this api.
Tracked-On: #4144
Signed-off-by: Mingqiang Chi <mingqiang.chi@intel.com>
Acked-by: Eddie Dong <eddie.dong@intel.com> |
528,783 | 19.11.2019 17:25:04 | -28,800 | bd0dbd274d48c95738b770e951406063eb56e4c6 | hv:add dump_guest_mem
add shell command to support dump dump guest memory
e.g.
dump_guest_mem vm_id, gva, length
Acked-by: Eddie Dong | [
{
"change_type": "MODIFY",
"old_path": "hypervisor/debug/shell.c",
"new_path": "hypervisor/debug/shell.c",
"diff": "@@ -39,6 +39,7 @@ static int32_t shell_list_vm(__unused int32_t argc, __unused char **argv);\nstatic int32_t shell_list_vcpu(__unused int32_t argc, __unused char **argv);\nstatic int32... | C | BSD 3-Clause New or Revised License | projectacrn/acrn-hypervisor | hv:add dump_guest_mem
add shell command to support dump dump guest memory
e.g.
dump_guest_mem vm_id, gva, length
Tracked-On: #4144
Signed-off-by: Mingqiang Chi <mingqiang.chi@intel.com>
Acked-by: Eddie Dong <eddie.dong@intel.com> |
528,783 | 26.11.2019 13:57:55 | -28,800 | 32b8d99f483cf182f39212f5a11226d596838b0d | hv:panic if there is no memory map in multiboot info
add panic if there is no memory map info during booting. | [
{
"change_type": "MODIFY",
"old_path": "hypervisor/arch/x86/e820.c",
"new_path": "hypervisor/arch/x86/e820.c",
"diff": "@@ -154,6 +154,8 @@ void init_e820(void)\ndev_dbg(ACRN_DBG_E820, \"Base: 0x%016lx length: 0x%016lx\",\nmmap[i].baseaddr, mmap[i].length);\n}\n+ } else {\n+ panic(\"no memory map fo... | C | BSD 3-Clause New or Revised License | projectacrn/acrn-hypervisor | hv:panic if there is no memory map in multiboot info
add panic if there is no memory map info during booting.
Tracked-On: #1842
Signed-off-by: Mingqiang Chi <mingqiang.chi@intel.com> |
528,778 | 25.11.2019 11:14:50 | -28,800 | 9af4a62482f6b69cef4f717f48c369225b1adfc1 | doc: edit using_ubuntu_as_sos.rst adjust to v1.4 | [
{
"change_type": "MODIFY",
"old_path": "doc/tutorials/using_ubuntu_as_sos.rst",
"new_path": "doc/tutorials/using_ubuntu_as_sos.rst",
"diff": "@@ -35,6 +35,12 @@ Ubuntu 18.04.1 LTS was used throughout this document, other older versions such\nsudo service ssh status\nsudo service ssh start\n+* If you... | C | BSD 3-Clause New or Revised License | projectacrn/acrn-hypervisor | doc: edit using_ubuntu_as_sos.rst adjust to v1.4
Signed-off-by: hongliang <hongliangx.ye@intel.com> |
528,724 | 01.11.2019 00:06:10 | 25,200 | 810169ad20a19c6cb557dd42e8aa23dfba42a4f9 | HV: initialize IOMMU before PCI device discovery
In later patches we use information from DMAR tables to guide discovery
and initialization of PCI devices. | [
{
"change_type": "MODIFY",
"old_path": "hypervisor/arch/x86/cpu.c",
"new_path": "hypervisor/arch/x86/cpu.c",
"diff": "@@ -224,12 +224,12 @@ void init_pcpu_post(uint16_t pcpu_id)\ntimer_init();\nsetup_notification();\nsetup_posted_intr_notification();\n- init_pci_pdev_list();\nif (init_iommu() != 0) ... | C | BSD 3-Clause New or Revised License | projectacrn/acrn-hypervisor | HV: initialize IOMMU before PCI device discovery
In later patches we use information from DMAR tables to guide discovery
and initialization of PCI devices.
Tracked-On: #4134
Signed-off-by: Alexander Merritt <alex.merritt@intel.com>
Reviewed-by: Eddie Dong <eddie.dong@intel.com> |
528,787 | 08.11.2019 00:00:32 | 0 | 058b03c3a7f3a075d25d7c0f71f90ca624bf18a1 | dm: fix memory free issue for xhci
remove uninitialized variable "dir", then make sure
"xfer->data","xfer->data[i].hcb","xfer->reqs" free correctly.
Acked-by: Yu Wang | [
{
"change_type": "MODIFY",
"old_path": "devicemodel/hw/pci/xhci.c",
"new_path": "devicemodel/hw/pci/xhci.c",
"diff": "@@ -1555,7 +1555,7 @@ pci_xhci_alloc_usb_xfer(struct pci_xhci_dev_emu *dev, int epid)\nstruct usb_xfer *xfer;\nstruct xhci_dev_ctx *dev_ctx;\nstruct xhci_endp_ctx *ep_ctx;\n- int dir... | C | BSD 3-Clause New or Revised License | projectacrn/acrn-hypervisor | dm: fix memory free issue for xhci
remove uninitialized variable "dir", then make sure
"xfer->data","xfer->data[i].hcb","xfer->reqs" free correctly.
Tracked-On: #4154
Signed-off-by: Junhao Gao <junhao.gao@intel.com>
Reviewed-by: Yonghua Huang <yonghua.huang@intel.com>
Acked-by: Yu Wang <yu1.wang@intel.com> |
528,654 | 26.11.2019 22:26:15 | -28,800 | 6ee076f7df09e79a7d1beb3d10b48f465116cede | hv: assign: rename ptirq_msix_remap to ptirq_prepare_msix_remap
ptirq_msix_remap doesn't do the real remap, that's the vmsi_remap and vmsix_remap_entry
does. ptirq_msix_remap only did the preparation. | [
{
"change_type": "MODIFY",
"old_path": "doc/developer-guides/hld/hv-dev-passthrough.rst",
"new_path": "doc/developer-guides/hld/hv-dev-passthrough.rst",
"diff": "@@ -239,7 +239,7 @@ SOS:\n.. doxygenfunction:: ptirq_intx_pin_remap\n:project: Project ACRN\n-.. doxygenfunction:: ptirq_msix_remap\n+.. d... | C | BSD 3-Clause New or Revised License | projectacrn/acrn-hypervisor | hv: assign: rename ptirq_msix_remap to ptirq_prepare_msix_remap
ptirq_msix_remap doesn't do the real remap, that's the vmsi_remap and vmsix_remap_entry
does. ptirq_msix_remap only did the preparation.
Tracked-On: #3475
Signed-off-by: Li Fei1 <fei1.li@intel.com> |
528,654 | 28.11.2019 16:55:13 | -28,800 | 2c4ebdc6957497be12a58965456a31084c3149ca | hv: vmsi: name vmsi with verb-object style
Name vmsi and vmsix function with verb-object style:
For external APIs, using MODULE_NAME_verb-object style;
For internal APIs, using verb-object style. | [
{
"change_type": "MODIFY",
"old_path": "hypervisor/dm/vpci/pci_pt.c",
"new_path": "hypervisor/dm/vpci/pci_pt.c",
"diff": "@@ -111,7 +111,7 @@ static void vdev_pt_map_mem_vbar(struct pci_vdev *vdev, uint32_t idx)\naddr_lo = round_page_down(addr_lo);\naddr_hi = round_page_up(addr_hi);\n- register_mmio... | C | BSD 3-Clause New or Revised License | projectacrn/acrn-hypervisor | hv: vmsi: name vmsi with verb-object style
Name vmsi and vmsix function with verb-object style:
For external APIs, using MODULE_NAME_verb-object style;
For internal APIs, using verb-object style.
Tracked-On: #3475
Signed-off-by: Li Fei1 <fei1.li@intel.com> |
528,709 | 21.11.2019 10:30:46 | -28,800 | dc2d6b665658ff9dbf499f4e99f62cfd40e44d00 | acrn-config: modify the git commit message for gen_patch
Minor changes on git commit message of config patch:
For board config patch, specify with "config patch for board xxx";
For scenario config patch, specify with "config patch for scenario yyy".
Acked-by: Victor Sun | [
{
"change_type": "MODIFY",
"old_path": "misc/acrn-config/board_config/board_cfg_gen.py",
"new_path": "misc/acrn-config/board_config/board_cfg_gen.py",
"diff": "@@ -123,7 +123,7 @@ def main(args):\ngen_str = 'generated'\n# move changes to patch, and apply to the source code\nif enable_commit:\n- err_... | C | BSD 3-Clause New or Revised License | projectacrn/acrn-hypervisor | acrn-config: modify the git commit message for gen_patch
Minor changes on git commit message of config patch:
For board config patch, specify with "config patch for board xxx";
For scenario config patch, specify with "config patch for scenario yyy".
Tracked-On: #3854
Signed-off-by: Wei Liu <weix.w.liu@intel.com>
Acke... |
528,709 | 21.11.2019 15:27:46 | -28,800 | d44440f734ecb7fc80fd7af9bfb6646d87f40c29 | acrn-config: print warning if MMIO BAR size above 4G
Currently MMIO BAR size not support size above 4G,
print warning to user to set the MMIO size in 4G region from BIOS.
Target-On:
Acked-by: Victor Sun | [
{
"change_type": "MODIFY",
"old_path": "misc/acrn-config/board_config/pci_devices_h.py",
"new_path": "misc/acrn-config/board_config/pci_devices_h.py",
"diff": "@@ -14,6 +14,18 @@ PCI_END_HEADER = r\"\"\"\n#endif /* PCI_DEVICES_H_ */\"\"\"\n+def get_value_after_str(line, key):\n+ \"\"\" Get the value... | C | BSD 3-Clause New or Revised License | projectacrn/acrn-hypervisor | acrn-config: print warning if MMIO BAR size above 4G
Currently MMIO BAR size not support size above 4G,
print warning to user to set the MMIO size in 4G region from BIOS.
Target-On: #3854
Signed-off-by: Wei Liu <weix.w.liu@intel.com>
Acked-by: Victor Sun <victor.sun@intel.com> |
528,730 | 25.11.2019 16:09:46 | -28,800 | bb2218effc32b33fcb766a8afab0e3b49c12fdd7 | acrn-config: add UI to add or remove Kata VM for sdc scenario
add UI to add or remove Kata VM for sdc scenario, the added Kata VM
is based on the generic config xml. | [
{
"change_type": "MODIFY",
"old_path": "misc/acrn-config/config_app/controller.py",
"new_path": "misc/acrn-config/config_app/controller.py",
"diff": "@@ -202,6 +202,19 @@ class XmlConfig:\nnew_node = ElementTree.SubElement(dest_node, key, attrib={'desc': desc})\nnew_node.text = value\n+ def clone_cu... | C | BSD 3-Clause New or Revised License | projectacrn/acrn-hypervisor | acrn-config: add UI to add or remove Kata VM for sdc scenario
add UI to add or remove Kata VM for sdc scenario, the added Kata VM
is based on the generic config xml.
Tracked-On: 4145
Signed-off-by: Shuang Zheng <shuang.zheng@intel.com>
Reviewed-by: Victor Sun <victor.sun@intel.com> |
528,709 | 25.11.2019 18:32:36 | -28,800 | f6e6ec4ca282a646170736fe8c67f886342f4c29 | acrn-config: modify SDC config xml to support kata vm config in webUI
Support to config kata vm in webUI, this need to modify 'configurable' attribute
to '1' in vm item.
Acked-by: Victor Sun | [
{
"change_type": "MODIFY",
"old_path": "misc/acrn-config/xmls/config-xmls/apl-mrb/sdc.xml",
"new_path": "misc/acrn-config/xmls/config-xmls/apl-mrb/sdc.xml",
"diff": "<target_uart_id configurable=\"0\" desc=\"target vUART ID that vCOM2 connect to\">1</target_uart_id>\n</vuart>\n</vm>\n- <vm id=\"2\" ... | C | BSD 3-Clause New or Revised License | projectacrn/acrn-hypervisor | acrn-config: modify SDC config xml to support kata vm config in webUI
Support to config kata vm in webUI, this need to modify 'configurable' attribute
to '1' in vm item.
Tracked-On: 4145
Signed-off-by: Wei Liu <weix.w.liu@intel.com>
Acked-by: Victor Sun <victor.sun@intel.com> |
528,709 | 20.11.2019 13:50:49 | -28,800 | 5e9234203a0dcdef91e2d9c112f3f06746e74c0b | acrn-config: refinement for DmarDevScope struct
Refine the DmarDevScope struct and some class names.
Acked-by: Victor Sun | [
{
"change_type": "MODIFY",
"old_path": "misc/acrn-config/target/dmar.py",
"new_path": "misc/acrn-config/target/dmar.py",
"diff": "@@ -51,23 +51,6 @@ class DmarHeader(ctypes.Structure):\nself._pack_ = 0\n-class DmarSubtblHeader(ctypes.Structure):\n- \"\"\"DMAR Sub Table Header\"\"\"\n- _pack_ = 1\n- ... | C | BSD 3-Clause New or Revised License | projectacrn/acrn-hypervisor | acrn-config: refinement for DmarDevScope struct
Refine the DmarDevScope struct and some class names.
Tracked-On: #3854
Signed-off-by: Wei Liu <weix.w.liu@intel.com>
Acked-by: Victor Sun <victor.sun@intel.com> |
528,709 | 20.11.2019 19:04:34 | -28,800 | 1e2333647edac27a0d015c8ec47ae748e2cd111b | acrn-config: skip the DRHDn_IGNORE when no device scope
Skip to generate DRHDn_IGNORE to board.c, when there is no device scope
type on target platform DRHD definition.
Acked-by: Victor Sun | [
{
"change_type": "MODIFY",
"old_path": "misc/acrn-config/board_config/board_c.py",
"new_path": "misc/acrn-config/board_config/board_c.py",
"diff": "@@ -63,6 +63,7 @@ def gen_dmar_structure(config):\nprint(\"\\t\\t.segment = DRHD{}_SEGMENT,\".format(i_drhd_cnt), file=config)\nprint(\"\\t\\t.flags = D... | C | BSD 3-Clause New or Revised License | projectacrn/acrn-hypervisor | acrn-config: skip the DRHDn_IGNORE when no device scope
Skip to generate DRHDn_IGNORE to board.c, when there is no device scope
type on target platform DRHD definition.
Tracked-On: #3854
Signed-off-by: Wei Liu <weix.w.liu@intel.com>
Acked-by: Victor Sun <victor.sun@intel.com> |
528,709 | 26.11.2019 09:43:12 | -28,800 | 71c51a8f6f066e5ee40b5764175ca6baf6494ee1 | acrn-config: refinement for library config
Some API calls have the same function in library config,
the patch refines the API calls.
Acked-by: Victor Sun | [
{
"change_type": "MODIFY",
"old_path": "misc/acrn-config/launch_config/com.py",
"new_path": "misc/acrn-config/launch_config/com.py",
"diff": "@@ -438,6 +438,10 @@ def dm_arg_set(names, sel, dm, vmid, config):\n# uuid get\nscenario_uuid = launch_cfg_lib.get_scenario_uuid()\nsos_vmid = launch_cfg_lib.... | C | BSD 3-Clause New or Revised License | projectacrn/acrn-hypervisor | acrn-config: refinement for library config
Some API calls have the same function in library config,
the patch refines the API calls.
Tracked-On: #3854
Signed-off-by: Wei Liu <weix.w.liu@intel.com>
Acked-by: Victor Sun <victor.sun@intel.com> |
528,709 | 26.11.2019 19:28:35 | -28,800 | bc9b6d1b0cb1564ada9b7e87f086c292852297ef | acrn-config: add virtio-input support for launch
config
Add support to parse and get 'virtio-input' item value from launch config
files, these values are editable by user.
Acked-by: Victor Sun | [
{
"change_type": "MODIFY",
"old_path": "misc/acrn-config/config_app/views.py",
"new_path": "misc/acrn-config/config_app/views.py",
"diff": "@@ -290,11 +290,11 @@ def save_launch():\n# call validate function\nrename = False\ntry:\n- (error_list, pthru_sel, dm_value) = validate_launch_setting(\n+ (err... | C | BSD 3-Clause New or Revised License | projectacrn/acrn-hypervisor | acrn-config: add virtio-input support for launch
config
Add support to parse and get 'virtio-input' item value from launch config
files, these values are editable by user.
Tracked-On: #4163
Signed-off-by: Wei Liu <weix.w.liu@intel.com>
Acked-by: Victor Sun <victor.sun@intel.com> |
528,709 | 26.11.2019 19:50:04 | -28,800 | 91330eaa727328fa6c0fc1bba8c642d14566f182 | acrn-config: add usb xhci mediator support for
launch config
Add USB xHCI mediator support to parse and get 'usb_xhci' item value
from launch config files, these values are editable by user.
Acked-by: Victor Sun | [
{
"change_type": "MODIFY",
"old_path": "misc/acrn-config/launch_config/com.py",
"new_path": "misc/acrn-config/launch_config/com.py",
"diff": "@@ -406,24 +406,11 @@ def vboot_arg_set(dm, vmid, config):\nprint(\" $boot_image_option \\\\\",file=config)\n-def xhci_args_set(names, vmid, config):\n- board... | C | BSD 3-Clause New or Revised License | projectacrn/acrn-hypervisor | acrn-config: add usb xhci mediator support for
launch config
Add USB xHCI mediator support to parse and get 'usb_xhci' item value
from launch config files, these values are editable by user.
Tracked-On: #4164
Signed-off-by: Wei Liu <weix.w.liu@intel.com>
Acked-by: Victor Sun <victor.sun@intel.com> |
528,709 | 28.11.2019 18:38:01 | -28,800 | 38a647c8a56f72a1130d1c06a3a7544a0a172712 | acrn-config: correct epc_section base/size value
Current epc_section base/size vaule missed vm id so the configure item is not
working, the patch will fix this issue.
Acked-by: Victor Sun | [
{
"change_type": "MODIFY",
"old_path": "misc/acrn-config/scenario_config/vm_configurations_c.py",
"new_path": "misc/acrn-config/scenario_config/vm_configurations_c.py",
"diff": "@@ -150,8 +150,8 @@ def is_need_epc(epc_section, i, config):\nreturn\nelse:\nprint(\"\\t\\t.epc= {\", file=config)\n- prin... | C | BSD 3-Clause New or Revised License | projectacrn/acrn-hypervisor | acrn-config: correct epc_section base/size value
Current epc_section base/size vaule missed vm id so the configure item is not
working, the patch will fix this issue.
Tracked-On: #4165
Signed-off-by: Wei Liu <weix.w.liu@intel.com>
Acked-by: Victor Sun <victor.sun@intel.com> |
528,709 | 29.11.2019 12:02:48 | -28,800 | 2c2ccfc52c69383d8f21f0f6e689be6064956948 | acrn-config: support OVMF vbootloader only
In current implementation, we only support OVMF as vbootloader, so
set vbootloader attributes to readonly in related XMLs to avoid issues.
Acked-by: Victor Sun | [
{
"change_type": "MODIFY",
"old_path": "misc/acrn-config/xmls/config-xmls/generic/hybrid_launch_1uos.xml",
"new_path": "misc/acrn-config/xmls/config-xmls/generic/hybrid_launch_1uos.xml",
"diff": "<rtos_type desc=\"UOS Realtime capability\"></rtos_type>\n<mem_size desc=\"UOS memory size in MByte\"></... | C | BSD 3-Clause New or Revised License | projectacrn/acrn-hypervisor | acrn-config: support OVMF vbootloader only
In current implementation, we only support OVMF as vbootloader, so
set vbootloader attributes to readonly in related XMLs to avoid issues.
Tracked-On: #3854
Signed-off-by: Wei Liu <weix.w.liu@intel.com>
Acked-by: Victor Sun <victor.sun@intel.com> |
528,709 | 29.11.2019 14:58:15 | -28,800 | 12a3ec8aa146c7a614b67e70370a8572464cccc5 | acrn-config: remove redundant get_leaf_tag_map in launch config lib
The function of get_leaf_tag_map(info_file, prime_item, item='') in
launch_config_lib.py is redundant and it will be called incorrectly
when generating the launch script. This patch remove the function. | [
{
"change_type": "MODIFY",
"old_path": "misc/acrn-config/library/launch_cfg_lib.py",
"new_path": "misc/acrn-config/library/launch_cfg_lib.py",
"diff": "@@ -366,17 +366,6 @@ def get_vpid_from_bdf(bdf_vpid_map, bdf_list):\nreturn vpid_list\n-def get_leaf_tag_map(info_file, prime_item, item):\n- \"\"\"... | C | BSD 3-Clause New or Revised License | projectacrn/acrn-hypervisor | acrn-config: remove redundant get_leaf_tag_map in launch config lib
The function of get_leaf_tag_map(info_file, prime_item, item='') in
launch_config_lib.py is redundant and it will be called incorrectly
when generating the launch script. This patch remove the function.
Tracked-On: #3854
Signed-off-by: Wei Liu <weix.... |
528,706 | 27.11.2019 15:08:01 | 0 | 8ba203a16594b1c150d7b1d2b00d427c8b9222ce | hv: change xsave init function name
change pcpu_xsave_init to init_pcpu_xsave.
Acked-by: Eddie Dong | [
{
"change_type": "MODIFY",
"old_path": "hypervisor/arch/x86/cpu.c",
"new_path": "hypervisor/arch/x86/cpu.c",
"diff": "@@ -40,7 +40,7 @@ static uint64_t startup_paddr = 0UL;\n/* physical cpu active bitmap, support up to 64 cpus */\nstatic volatile uint64_t pcpu_active_bitmap = 0UL;\n-static void pcpu... | C | BSD 3-Clause New or Revised License | projectacrn/acrn-hypervisor | hv: change xsave init function name
change pcpu_xsave_init to init_pcpu_xsave.
Tracked-On: #4166
Signed-off-by: Conghui Chen <conghui.chen@intel.com>
Acked-by: Eddie Dong <eddie.dong@intel.com> |
528,709 | 02.12.2019 09:50:33 | -28,800 | 0e273e996c938da586e5660cb7b3fe04e1e4de9a | acrn-config: get default pci mmcfg base address
parse default pci mmcfg base address from target board.
Acked-by: Victor Sun | [
{
"change_type": "MODIFY",
"old_path": "misc/acrn-config/board_config/acpi_platform_h.py",
"new_path": "misc/acrn-config/board_config/acpi_platform_h.py",
"diff": "@@ -168,6 +168,7 @@ def platform_info_parser(config, default_platform):\nwrite_direct_info_parser(config, \"<WAKE_VECTOR_INFO>\", \"</WA... | C | BSD 3-Clause New or Revised License | projectacrn/acrn-hypervisor | acrn-config: get default pci mmcfg base address
parse default pci mmcfg base address from target board.
Tracked-On: #4173
Signed-off-by: Wei Liu <weix.w.liu@intel.com>
Acked-by: Victor Sun <victor.sun@intel.com> |
528,709 | 02.12.2019 10:04:37 | -28,800 | 80a7281f1ef02a6b403fb427ce74b80a86f34044 | acrn-config: add MMCFG_BASE_INFO item in board config
Parse MMCFG base address value and store it to board config xml
as DEFAULT_PCI_MMCFG_BASE macro.
Acked-by: Victor Sun | [
{
"change_type": "MODIFY",
"old_path": "misc/acrn-config/xmls/board-xmls/apl-mrb.xml",
"new_path": "misc/acrn-config/xmls/board-xmls/apl-mrb.xml",
"diff": "{0x320UL, 0x00UL, 0x0AUL, 0x0AUL, 0x000800UL, 0x000800UL}, /* P16 */\n</PX_INFO>\n+ <MMCFG_BASE_INFO>\n+ /* PCI mmcfg base of MCFG */\n+ #define... | C | BSD 3-Clause New or Revised License | projectacrn/acrn-hypervisor | acrn-config: add MMCFG_BASE_INFO item in board config
Parse MMCFG base address value and store it to board config xml
as DEFAULT_PCI_MMCFG_BASE macro.
Tracked-On: #4173
Signed-off-by: Wei Liu <weix.w.liu@intel.com>
Acked-by: Victor Sun <victor.sun@intel.com> |
528,731 | 13.11.2019 10:09:44 | -28,800 | 0570993b40ca97d84027e90930d8e006da154251 | hv: config: add an option to disable mce on psc workaround
Add a option MCE_ON_PSC_WORKAROUND_DISABLED to disable the software
workaround for the issue Machine Check Error on Page Size Change.
Acked-by: Eddie Dong | [
{
"change_type": "MODIFY",
"old_path": "hypervisor/arch/x86/Kconfig",
"new_path": "hypervisor/arch/x86/Kconfig",
"diff": "@@ -304,3 +304,12 @@ config UEFI_OS_LOADER_NAME\nName of the UEFI bootloader that starts the Service VM. This is\ntypically the systemd-boot or Grub bootloader but could be any o... | C | BSD 3-Clause New or Revised License | projectacrn/acrn-hypervisor | hv: config: add an option to disable mce on psc workaround
Add a option MCE_ON_PSC_WORKAROUND_DISABLED to disable the software
workaround for the issue Machine Check Error on Page Size Change.
Tracked-On: #4101
Signed-off-by: Binbin Wu <binbin.wu@intel.com>
Acked-by: Eddie Dong <eddie.dong@intel.com> |
528,768 | 02.12.2019 19:59:46 | -28,800 | 450d2cf2e95c88c546f244d8445c4e9a8752fae0 | hv: trap RDPMC instruction execution from any guest
PMU is hidden from any guest, UD is expected when guest
try to execute 'rdpmc' instruction.
this patch sets 'RDPMC exiting' in Processorbased
VM-execution control.
Acked-by: Eddie Dong | [
{
"change_type": "MODIFY",
"old_path": "hypervisor/arch/x86/guest/vmcs.c",
"new_path": "hypervisor/arch/x86/guest/vmcs.c",
"diff": "@@ -283,6 +283,11 @@ static void init_exec_ctrl(struct acrn_vcpu *vcpu)\n*/\nvalue32 &= ~VMX_PROCBASED_CTLS_INVLPG;\n+ /*\n+ * Enable VM_EXIT for rdpmc execution.\n+ */... | C | BSD 3-Clause New or Revised License | projectacrn/acrn-hypervisor | hv: trap RDPMC instruction execution from any guest
PMU is hidden from any guest, UD is expected when guest
try to execute 'rdpmc' instruction.
this patch sets 'RDPMC exiting' in Processorbased
VM-execution control.
Tracked-On: #3453
Signed-off-by: Yonghua Huang <yonghua.huang@intel.com>
Acked-by: Eddie Dong <eddie.... |
528,665 | 03.12.2019 10:59:27 | 0 | aae974b47305c4da36196bd39136b44832419bbd | HV: trace leaf and subleaf of cpuid
We care more about leaf and subleaf of cpuid than vcpu_id.
So, this patch changes the cpuid trace-entry to trace the leaf
and subleaf of this cpuid vmexit. | [
{
"change_type": "MODIFY",
"old_path": "hypervisor/arch/x86/guest/vmexit.c",
"new_path": "hypervisor/arch/x86/guest/vmexit.c",
"diff": "@@ -274,6 +274,7 @@ int32_t cpuid_vmexit_handler(struct acrn_vcpu *vcpu)\nrbx = vcpu_get_gpreg(vcpu, CPU_REG_RBX);\nrcx = vcpu_get_gpreg(vcpu, CPU_REG_RCX);\nrdx = ... | C | BSD 3-Clause New or Revised License | projectacrn/acrn-hypervisor | HV: trace leaf and subleaf of cpuid
We care more about leaf and subleaf of cpuid than vcpu_id.
So, this patch changes the cpuid trace-entry to trace the leaf
and subleaf of this cpuid vmexit.
Tracked-On: #4175
Signed-off-by: Kaige Fu <kaige.fu@intel.com> |
528,665 | 03.12.2019 11:12:18 | 0 | aedd2c70e758e1ca3e9709c5801a5cc827a5952b | acrntrace: parse leaf and subleaf of cpuid
We have changed the cpuid trace-entry in HV to trace
the leaf and subleaf of cpuid. This patch modifies the
format accordingly. | [
{
"change_type": "MODIFY",
"old_path": "misc/tools/acrntrace/scripts/formats",
"new_path": "misc/tools/acrntrace/scripts/formats",
"diff": "0x00000011 CPU%(cpu)d 0x%(event)016x %(tsc)d vmenter\n0x00010001 CPU%(cpu)d 0x%(event)016x %(tsc)d external intr [vector = 0x%(1)08x]\n0x00010002 CPU%(cpu)d 0x%... | C | BSD 3-Clause New or Revised License | projectacrn/acrn-hypervisor | acrntrace: parse leaf and subleaf of cpuid
We have changed the cpuid trace-entry in HV to trace
the leaf and subleaf of cpuid. This patch modifies the
format accordingly.
Tracked-On: #4175
Signed-off-by: Kaige Fu <kaige.fu@intel.com> |
528,709 | 29.11.2019 18:55:33 | -28,800 | 8464419af39bdb61e1e14c64f15887c4dedc4a1b | acrn-config: add virtio-block support for launch config
Add virtio-block support to parse and get 'block' item value
from launch config files, these values are editable by user.
Acked-by: Victor Sun | [
{
"change_type": "MODIFY",
"old_path": "misc/acrn-config/launch_config/com.py",
"new_path": "misc/acrn-config/launch_config/com.py",
"diff": "@@ -17,9 +17,17 @@ def is_nuc_whl_clr(names, vmid):\nreturn False\n-def is_mount_needed(names, vmid):\n- uos_type = names['uos_types'][vmid]\n- if uos_type in... | C | BSD 3-Clause New or Revised License | projectacrn/acrn-hypervisor | acrn-config: add virtio-block support for launch config
Add virtio-block support to parse and get 'block' item value
from launch config files, these values are editable by user.
Tracked-On: #4172
Signed-off-by: Wei Liu <weix.w.liu@intel.com>
Acked-by: Victor Sun <victor.sun@intel.com> |
528,709 | 03.12.2019 09:47:23 | -28,800 | 7838b53763b4e0f866ec40da05445122a863ff26 | acrn-config: add virtio-net mediator support for launch config
Add virtio-net mediator support to parse and get 'virtio-network' item value
from launch config files, these values are editable by user.
Acked-by: Victor Sun | [
{
"change_type": "MODIFY",
"old_path": "misc/acrn-config/launch_config/com.py",
"new_path": "misc/acrn-config/launch_config/com.py",
"diff": "@@ -33,11 +33,12 @@ def is_mount_needed(virt_io, vmid):\nreturn False\n-def tap_uos_net(names, vmid, config):\n+def tap_uos_net(names, virt_io, vmid, config):... | C | BSD 3-Clause New or Revised License | projectacrn/acrn-hypervisor | acrn-config: add virtio-net mediator support for launch config
Add virtio-net mediator support to parse and get 'virtio-network' item value
from launch config files, these values are editable by user.
Tracked-On: #4185
Signed-off-by: Wei Liu <weix.w.liu@intel.com>
Acked-by: Victor Sun <victor.sun@intel.com> |
528,730 | 03.12.2019 16:38:28 | -28,800 | 5eb804028413809889988919285b460622c395ae | acrn-config: update UI to support virtio devices
Add multi device editing UI for Virtio-net and virtio-blk devices. | [
{
"change_type": "MODIFY",
"old_path": "misc/acrn-config/config_app/controller.py",
"new_path": "misc/acrn-config/config_app/controller.py",
"diff": "@@ -163,11 +163,17 @@ class XmlConfig:\ntag = args[-1]\nargs = args[:-1]\ndest_node = self._get_dest_node(*args)\n+ new_node_desc = None\nfor node in ... | C | BSD 3-Clause New or Revised License | projectacrn/acrn-hypervisor | acrn-config: update UI to support virtio devices
Add multi device editing UI for Virtio-net and virtio-blk devices.
Tracked-On: #4185
Signed-off-by: Shuang Zheng <shuang.zheng@intel.com> |
528,667 | 21.06.2019 16:04:54 | -28,800 | 47139bd78c3b32811ee42e64ba838d029b83e85a | hv: print current sched_object in acrn logmsg
Add a header field in acrnlog message to indicate the current
running thread.
Acked-by: Eddie Dong | [
{
"change_type": "MODIFY",
"old_path": "hypervisor/debug/logmsg.c",
"new_path": "hypervisor/debug/logmsg.c",
"diff": "@@ -40,6 +40,7 @@ void do_logmsg(uint32_t severity, const char *fmt, ...)\nbool do_mem_log;\nbool do_npk_log;\nchar *buffer;\n+ struct thread_object *current;\ndo_console_log = (((lo... | C | BSD 3-Clause New or Revised License | projectacrn/acrn-hypervisor | hv: print current sched_object in acrn logmsg
Add a header field in acrnlog message to indicate the current
running thread.
Tracked-On: #4178
Signed-off-by: Shuo A Liu <shuo.a.liu@intel.com>
Acked-by: Eddie Dong <eddie.dong@intel.com> |
528,667 | 02.12.2019 19:32:30 | -28,800 | 72644ac2b24ea3d6459cdcaab61af92c8795fa96 | hv: do not sleep a non-RUNNING vcpu
It's meaningless to sleep a non-running vcpu. Add a state check before
sleep the thread object of the 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": "@@ -702,7 +702,9 @@ void pause_vcpu(struct acrn_vcpu *vcpu, enum vcpu_state new_state)\nvcpu->prev_state = vcpu->state;\nvcpu->state = new_state;\n+ if (vcpu->prev_stat... | C | BSD 3-Clause New or Revised License | projectacrn/acrn-hypervisor | hv: do not sleep a non-RUNNING vcpu
It's meaningless to sleep a non-running vcpu. Add a state check before
sleep the thread object of the vcpu.
Tracked-On: #4178
Signed-off-by: Shuo A Liu <shuo.a.liu@intel.com>
Acked-by: Eddie Dong <eddie.dong@intel.com> |
528,653 | 18.11.2019 23:13:18 | 0 | 2f642002fcb2e5d81a06866ae55278b4f8181861 | dm:gvt:enable gvt bar registration
Need to enable gvt bar registration, so remove the previous workaround patch.
Acked-by: Yu Wang | [
{
"change_type": "MODIFY",
"old_path": "devicemodel/hw/pci/core.c",
"new_path": "devicemodel/hw/pci/core.c",
"diff": "@@ -602,20 +602,6 @@ modify_bar_registration(struct pci_vdev *dev, int idx, int registration)\nstruct inout_port iop;\nstruct mem_range mr;\n- if (is_pci_gvt(dev)) {\n- /* GVT device... | C | BSD 3-Clause New or Revised License | projectacrn/acrn-hypervisor | dm:gvt:enable gvt bar registration
Need to enable gvt bar registration, so remove the previous workaround patch.
Tracked-On: projectacrn#4005
Signed-off-by: Junming Liu <junming.liu@intel.com>
Reviewed-by: Zhao Yakui <yakui.zhao@intel.com>
Reviewed-by: Liu XinYun <xinyun.liu@intel.com>
Reviewed-by: Shuo A Liu <shuo.... |
528,652 | 05.12.2019 10:40:58 | 28,800 | 03a1b2a7172ce9804f88c9e12a83dd3efbe3dde1 | hypervisor: handle reboot from non-privileged pre-launched guests
To handle reboot requests from pre-launched VMs that don't have
GUEST_FLAG_HIGHEST_SEVERITY, we shutdown the target VM explicitly
other than ignoring them.
Acked-by: Anthony Xu | [
{
"change_type": "MODIFY",
"old_path": "hypervisor/arch/x86/guest/vm_reset.c",
"new_path": "hypervisor/arch/x86/guest/vm_reset.c",
"diff": "@@ -94,9 +94,16 @@ static bool handle_common_reset_reg_write(struct acrn_vm *vm, bool reset)\nif (reset && is_rt_vm(vm)) {\nvm->state = VM_POWERING_OFF;\n}\n+ }... | C | BSD 3-Clause New or Revised License | projectacrn/acrn-hypervisor | hypervisor: handle reboot from non-privileged pre-launched guests
To handle reboot requests from pre-launched VMs that don't have
GUEST_FLAG_HIGHEST_SEVERITY, we shutdown the target VM explicitly
other than ignoring them.
Tracked-On: #2700
Signed-off-by: Zide Chen <zide.chen@intel.com>
Acked-by: Anthony Xu <anthony.x... |
528,723 | 05.12.2019 11:03:17 | 28,800 | ed65ae61c65e98546f4710298c93a1eb5200dd8f | HV: Kconfig changes to support server platform.
This patch updates kconfig to support server platforms
for increased number of VCPUs per VM and PT IRQ number. | [
{
"change_type": "MODIFY",
"old_path": "hypervisor/arch/x86/Kconfig",
"new_path": "hypervisor/arch/x86/Kconfig",
"diff": "@@ -57,7 +57,7 @@ config RELEASE\nconfig MAX_VCPUS_PER_VM\nint \"Maximum number of VCPUs per VM\"\n- range 1 8\n+ range 1 48\ndefault 8\nhelp\nThe maximum number of virtual CPUs ... | C | BSD 3-Clause New or Revised License | projectacrn/acrn-hypervisor | HV: Kconfig changes to support server platform.
This patch updates kconfig to support server platforms
for increased number of VCPUs per VM and PT IRQ number.
Signed-off-by: Vijay Dhanraj <vijay.dhanraj@intel.com>
Tracked-On: #4196 |
528,730 | 09.12.2019 17:03:43 | -28,800 | 1115c0c6afa861c125917bdba6e884928786196a | acrn-config: UI supports to edit multiple virtio input devices.
This is to make acrn config UI supports to edit more than one virtio
input devices in multi-lines. | [
{
"change_type": "MODIFY",
"old_path": "misc/acrn-config/config_app/static/main.js",
"new_path": "misc/acrn-config/config_app/static/main.js",
"diff": "@@ -511,7 +511,8 @@ function save_launch(generator=null) {\nvar id = $(this).attr('id');\nvar value = $(this).val();\n- if(id.indexOf('virtio_device... | C | BSD 3-Clause New or Revised License | projectacrn/acrn-hypervisor | acrn-config: UI supports to edit multiple virtio input devices.
This is to make acrn config UI supports to edit more than one virtio
input devices in multi-lines.
Tracked-On: #4163
Signed-off-by: Shuang Zheng <shuang.zheng@intel.com>
Reviewed-by: Victor Sun <victor.sun@intel.com> |
528,665 | 29.11.2019 00:39:19 | -28,800 | 1e192f05d7a4899e79347a510b1d65ef6024433d | acrntrace: break when finding the matching key
The key in the list is unique. So, it is better to break the loop
when find the matching key instead of traversing the whole list.
Acked-by: Yan, Like | [
{
"change_type": "MODIFY",
"old_path": "misc/tools/acrntrace/scripts/vmexit_analyze.py",
"new_path": "misc/tools/acrntrace/scripts/vmexit_analyze.py",
"diff": "@@ -137,6 +137,7 @@ def parse_trace_data(ifile):\nif event == LIST_EVENTS.get(key):\nNR_EXITS[key] += 1\nlast_ev_id = key\n+ break\nelse:\n#... | C | BSD 3-Clause New or Revised License | projectacrn/acrn-hypervisor | acrntrace: break when finding the matching key
The key in the list is unique. So, it is better to break the loop
when find the matching key instead of traversing the whole list.
Tracked-On: #4175
Acked-by: Yan, Like <like.yan@intel.com>
Signed-off-by: Kaige Fu <kaige.fu@intel.com> |
528,665 | 29.11.2019 00:43:10 | -28,800 | 366f4be454ff5ea912ca95ad1ad76708c3dc9f84 | acrntrace: Use correct format for total run time
It is better to output it using float instead of int. Otherwise, we will
get '0 sec' for total run time if it is less than one second.
Acked-by: Yan, Like | [
{
"change_type": "MODIFY",
"old_path": "misc/tools/acrntrace/scripts/vmexit_analyze.py",
"new_path": "misc/tools/acrntrace/scripts/vmexit_analyze.py",
"diff": "@@ -174,7 +174,7 @@ def generate_report(ofile, freq):\nprint (\"Total run time: %d cycles\" % (rt_cycle))\nprint (\"TSC Freq: %s MHz\" % (fr... | C | BSD 3-Clause New or Revised License | projectacrn/acrn-hypervisor | acrntrace: Use correct format for total run time
It is better to output it using float instead of int. Otherwise, we will
get '0 sec' for total run time if it is less than one second.
Tracked-On: #4175
Acked-by: Yan, Like <like.yan@intel.com>
Signed-off-by: Kaige Fu <kaige.fu@intel.com> |
528,667 | 18.06.2019 18:15:12 | -28,800 | 6a144e6e3e635759ea22885198620402c0b2d66b | hv: sched: add yield support
Add yield support for schedule, which can give up pcpu proactively.
Acked-by: Eddie Dong | [
{
"change_type": "MODIFY",
"old_path": "hypervisor/common/schedule.c",
"new_path": "hypervisor/common/schedule.c",
"diff": "@@ -240,6 +240,11 @@ void kick_thread(const struct thread_object *obj)\nrelease_schedule_lock(pcpu_id, rflag);\n}\n+void yield_current(void)\n+{\n+ make_reschedule_request(get_... | C | BSD 3-Clause New or Revised License | projectacrn/acrn-hypervisor | hv: sched: add yield support
Add yield support for schedule, which can give up pcpu proactively.
Tracked-On: #4178
Signed-off-by: Jason Chen CJ <jason.cj.chen@intel.com>
Signed-off-by: Yu Wang <yu1.wang@intel.com>
Signed-off-by: Shuo A Liu <shuo.a.liu@intel.com>
Acked-by: Eddie Dong <eddie.dong@intel.com> |
528,667 | 30.10.2019 11:51:16 | -28,800 | b32ae229fbf2291313f6dc58e0985c506499fa4c | hv: sched: use hypervisor configuration to choose scheduler
For now, we set NOOP scheduler as default. User can choose IORR scheduler as needed.
Acked-by: Eddie Dong | [
{
"change_type": "MODIFY",
"old_path": "hypervisor/Makefile",
"new_path": "hypervisor/Makefile",
"diff": "@@ -211,8 +211,12 @@ HW_C_SRCS += arch/x86/cat.c\nHW_C_SRCS += arch/x86/sgx.c\nHW_C_SRCS += common/softirq.c\nHW_C_SRCS += common/schedule.c\n+ifeq ($(CONFIG_SCHED_NOOP),y)\nHW_C_SRCS += common/... | C | BSD 3-Clause New or Revised License | projectacrn/acrn-hypervisor | hv: sched: use hypervisor configuration to choose scheduler
For now, we set NOOP scheduler as default. User can choose IORR scheduler as needed.
Tracked-On: #4178
Signed-off-by: Shuo A Liu <shuo.a.liu@intel.com>
Acked-by: Eddie Dong <eddie.dong@intel.com> |
528,723 | 06.12.2019 19:14:25 | 28,800 | c8a4ca6c7868324c63797db66ec974621c2f835e | HV: Extend non-contiguous HPA for hybrid scenario
This patch extends non-contiguous HPA allocations for
pre-launched VMs in hybrid scenario.
Acked-by: Eddie Dong | [
{
"change_type": "MODIFY",
"old_path": "hypervisor/arch/x86/guest/vm.c",
"new_path": "hypervisor/arch/x86/guest/vm.c",
"diff": "@@ -321,6 +321,13 @@ static void create_sos_vm_e820(struct acrn_vm *vm)\nfilter_mem_from_sos_e820(vm, vm_config->memory.start_hpa,\nvm_config->memory.start_hpa + vm_config-... | C | BSD 3-Clause New or Revised License | projectacrn/acrn-hypervisor | HV: Extend non-contiguous HPA for hybrid scenario
This patch extends non-contiguous HPA allocations for
pre-launched VMs in hybrid scenario.
Tracked-On: #4217
Signed-off-by: Vijay Dhanraj <vijay.dhanraj@intel.com>
Acked-by: Eddie Dong <eddie.dong@intel.com> |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.