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,723
06.12.2019 19:17:16
28,800
9729fe07fda26a976cdc28058aa3678fa1a85f6f
acrn-config: support non-contiguous HPA for hybrid scenario The patch adds acrn-config tool support for adding non-continguous HPA allocations for pre-launched VMs in hybrid scenario. Acked-by: Victor Sun
[ { "change_type": "MODIFY", "old_path": "misc/acrn-config/board_config/ve820_c.py", "new_path": "misc/acrn-config/board_config/ve820_c.py", "diff": "@@ -20,6 +20,7 @@ def ve820_per_launch(config, hpa_size, hpa2_size):\nreturn err_dic\nboard_name = board_cfg_lib.undline_name(board_name)\n+ pre_vm_cnt ...
C
BSD 3-Clause New or Revised License
projectacrn/acrn-hypervisor
acrn-config: support non-contiguous HPA for hybrid scenario The patch adds acrn-config tool support for adding non-continguous HPA allocations for pre-launched VMs in hybrid scenario. Tracked-On: #4217 Signed-off-by: Vijay Dhanraj <vijay.dhanraj@intel.com> Acked-by: Victor Sun <victor.sun@intel.com>
528,665
10.12.2019 16:58:01
0
413f098b1103eb49f50ea2cf397320b8a5a0e3cb
Doc: Add libnuma dependency for acrntrace "9e9e1f61 acrntrace: Add opt to specify the cpus where we should capture the data" uses APIs of libnuma. So this patch adds dependency of libnuma in building-from-source.rst. libnuma functions have been included in os-core-dev bundle of clearlinux.
[ { "change_type": "MODIFY", "old_path": "doc/getting-started/building-from-source.rst", "new_path": "doc/getting-started/building-from-source.rst", "diff": "@@ -90,7 +90,8 @@ Install the necessary tools for the following systems:\nlibblkid-dev \\\ne2fslibs-dev \\\npkg-config \\\n- zlib1g-dev\n+ zlib1...
C
BSD 3-Clause New or Revised License
projectacrn/acrn-hypervisor
Doc: Add libnuma dependency for acrntrace "9e9e1f61 acrntrace: Add opt to specify the cpus where we should capture the data" uses APIs of libnuma. So this patch adds dependency of libnuma in building-from-source.rst. libnuma functions have been included in os-core-dev bundle of clearlinux. Tracked-On: #4175 Signed-o...
528,783
27.11.2019 11:24:16
-28,800
acb5affd0b2cd7466705dce392544307f4f53867
doc:update acrn-shell.rst update this doc related with dump host & guest memory.
[ { "change_type": "MODIFY", "old_path": "doc/user-guides/acrn-shell.rst", "new_path": "doc/user-guides/acrn-shell.rst", "diff": "@@ -21,9 +21,12 @@ The ACRN hypervisor shell supports the following commands:\n- List all vCPUs in all VMs\n* - vcpu_dumpreg <vm_id> <vcpu_id>\n- Dump registers for a speci...
C
BSD 3-Clause New or Revised License
projectacrn/acrn-hypervisor
doc:update acrn-shell.rst update this doc related with dump host & guest memory. Signed-off-by: Mingqiang Chi <mingqiang.chi@intel.com>
528,723
10.12.2019 16:54:07
28,800
68ea2cc62ef9a6519966fa833aa441b45e5be7b0
acrn-config: Fix ve820 table generation when guest memory size is >512MB This patch fixes an issue with generation of guest ve820 when the size of the memory is >512MB. The issue is primarily with respect to converting between hex and int. Acked-by: Victor Sun
[ { "change_type": "MODIFY", "old_path": "misc/acrn-config/board_config/ve820_c.py", "new_path": "misc/acrn-config/board_config/ve820_c.py", "diff": "@@ -48,9 +48,9 @@ def ve820_per_launch(config, hpa_size, hpa2_size):\n#HPA2 is always allocated in >4G space.\nhigh_mem_hpa2_len.append(int(hpa2_size[i]...
C
BSD 3-Clause New or Revised License
projectacrn/acrn-hypervisor
acrn-config: Fix ve820 table generation when guest memory size is >512MB This patch fixes an issue with generation of guest ve820 when the size of the memory is >512MB. The issue is primarily with respect to converting between hex and int. Tracked-On: #4219 Signed-off-by: Vijay Dhanraj <vijay.dhanraj@intel.com> Acked...
528,783
10.12.2019 10:01:38
-28,800
b6bffd01ff2d5bfde023fc917d83c0a305a80f4b
hv:remove 2 unused variables in vm_arch structure remove 'guest_init_pml4' and 'tmp_pg_array' in vm_arch since they are not used.
[ { "change_type": "MODIFY", "old_path": "hypervisor/include/arch/x86/guest/vm.h", "new_path": "hypervisor/include/arch/x86/guest/vm.h", "diff": "@@ -90,7 +90,6 @@ struct vm_arch {\n/* I/O bitmaps A and B for this VM, MUST be 4-Kbyte aligned */\nuint8_t io_bitmap[PAGE_SIZE*2];\n- uint64_t guest_init_p...
C
BSD 3-Clause New or Revised License
projectacrn/acrn-hypervisor
hv:remove 2 unused variables in vm_arch structure remove 'guest_init_pml4' and 'tmp_pg_array' in vm_arch since they are not used. Tracked-On: #1842 Signed-off-by: Mingqiang Chi <mingqiang.chi@intel.com>
528,709
06.12.2019 10:00:49
-28,800
bad3c53c1e867a1498edd3468fa2dc311f9d8d4d
acrn-config: add 'virtio-console' mediator support for launch config Add virtio-console mediator support to parse and get 'virtio-console' 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": "@@ -465,6 +465,12 @@ def virtio_args_set(dm, virt_io, vmid, config):\nnet_name = net.split(',')[0]\nprint(\" -s {},virtio-net,{} \\\\\".format(launch_cfg_lib....
C
BSD 3-Clause New or Revised License
projectacrn/acrn-hypervisor
acrn-config: add 'virtio-console' mediator support for launch config Add virtio-console mediator support to parse and get 'virtio-console' item value from launch config files, these values are editable by user. Tracked-On: #4186 Signed-off-by: Wei Liu <weix.w.liu@intel.com> Acked-by: Victor Sun <victor.sun@intel.com>
528,709
09.12.2019 09:46:46
-28,800
212d030b9a76ce07182aa94b9e9ff6cbd10e4a4c
acrn-config: add 'poweroff_channel' support for launch config Add pm_channel support to parse and get 'poweroff_channel' item value from launch config files, these values are selectable 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": "@@ -501,15 +501,6 @@ def dm_arg_set(names, sel, virt_io, dm, vmid, config):\nif uos_type in (\"CLEARLINUX\", \"ANDROID\", \"ALIOS\"):\nif uos_type in (\"ANDRO...
C
BSD 3-Clause New or Revised License
projectacrn/acrn-hypervisor
acrn-config: add 'poweroff_channel' support for launch config Add pm_channel support to parse and get 'poweroff_channel' item value from launch config files, these values are selectable by user. Tracked-On: #4212 Signed-off-by: Wei Liu <weix.w.liu@intel.com> Acked-by: Victor Sun <victor.sun@intel.com>
528,709
09.12.2019 14:33:49
-28,800
deb5ed1f76c4579a3da48a5f8eccfd71c222cfe1
acrn-config: unify get_vuart_info_id api in config tool 1. unify get_vuart_info_id/get_vuart_id api in board/scenario/launch config tool. 2. if vm use 'vuart1(tty)' method to power off, make sure this vm have select the vuart1 'SOS_COM2_BASE'. 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": "@@ -14,17 +14,11 @@ MISC_CFG_END = \"\"\"#endif /* MISC_CFG_H */\"\"\"\nclass Vuart:\n- t_vm_id = []\n- t_vuart_id = []\n- v_type = []\n- v_base =...
C
BSD 3-Clause New or Revised License
projectacrn/acrn-hypervisor
acrn-config: unify get_vuart_info_id api in config tool 1. unify get_vuart_info_id/get_vuart_id api in board/scenario/launch config tool. 2. if vm use 'vuart1(tty)' method to power off, make sure this vm have select the vuart1 'SOS_COM2_BASE'. Tracked-On: #3854 Signed-off-by: Wei Liu <weix.w.liu@intel.com> Acked-by: ...
528,709
10.12.2019 20:01:27
-28,800
67b416d52359b1cda61d9d706662857f137fad66
acrn-config: hide non-legacy serial port as SOS console SOS vm only support legacy serial port emulation, so we need to hide non-legacy serial ports from webUI when user want to select serial port as SOS console. 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": "@@ -92,10 +92,10 @@ def generate_file(config):\nif vuart0_dic:\n# parse to get poart/base of vuart0/vuart1\n- vuart0_port_base = board_cfg_lib.TTY...
C
BSD 3-Clause New or Revised License
projectacrn/acrn-hypervisor
acrn-config: hide non-legacy serial port as SOS console SOS vm only support legacy serial port emulation, so we need to hide non-legacy serial ports from webUI when user want to select serial port as SOS console. Tracked-On: #3854 Signed-off-by: Wei Liu <weix.w.liu@intel.com> Acked-by: Victor Sun <victor.sun@intel.co...
528,794
11.12.2019 12:40:00
-28,800
0ba84348381cb4adf395c54732cb914b66700881
acrn-config: rename CONFIG_MAX_PCPU_NUM to MAX_PCPU_NUM The macro definition is changed in hypervisor code, so modify acrn-config side accordingly.
[ { "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": "@@ -115,7 +115,7 @@ def generate_file(config):\nprint(\"{}\".format(MISC_CFG_HEADER), file=config)\n# define CONFIG_MAX_PCPCU_NUM\n- print(\"#defi...
C
BSD 3-Clause New or Revised License
projectacrn/acrn-hypervisor
acrn-config: rename CONFIG_MAX_PCPU_NUM to MAX_PCPU_NUM The macro definition is changed in hypervisor code, so modify acrn-config side accordingly. Tracked-On: #4230 Signed-off-by: Victor Sun <victor.sun@intel.com>
528,783
11.12.2019 15:34:40
-28,800
7f96465407bccca3cf9f6e92bc67cf2a6b794901
hv:remove need_cleanup flag in create_vm remove this redundancy flag. Acked-by: Eddie Dong
[ { "change_type": "MODIFY", "old_path": "hypervisor/arch/x86/guest/vm.c", "new_path": "hypervisor/arch/x86/guest/vm.c", "diff": "@@ -460,7 +460,6 @@ int32_t create_vm(uint16_t vm_id, struct acrn_vm_config *vm_config, struct acrn_\n{\nstruct acrn_vm *vm = NULL;\nint32_t status = 0;\n- bool need_cleanu...
C
BSD 3-Clause New or Revised License
projectacrn/acrn-hypervisor
hv:remove need_cleanup flag in create_vm remove this redundancy flag. Tracked-On: #1842 Signed-off-by: Mingqiang Chi <mingqiang.chi@intel.com> Acked-by: Eddie Dong <eddie.dong@intel.com>
528,665
11.12.2019 14:44:01
0
fb346a6c117ae8181ad7cd140ccf7e0c3f556660
HV: refine excp/external_interrupt_save_frame and excp_rsvd There are lines of repeated codes in excp/external_interrupt_save_frame and excp_rsvd. So, this patch defines two .macro, save_frame and restore_frame, to reduce the repeated codes. No functional change. Acked-by: Eddie Dong
[ { "change_type": "MODIFY", "old_path": "hypervisor/arch/x86/idt.S", "new_path": "hypervisor/arch/x86/idt.S", "diff": "@@ -257,13 +257,7 @@ vector =0x20\nvector = vector + 1\n.endr\n-\n-\n-/*\n- * Common entry point for defined exceptions\n- */\n-.align 8\n-excp_save_frame:\n+.macro save_frame\npushq...
C
BSD 3-Clause New or Revised License
projectacrn/acrn-hypervisor
HV: refine excp/external_interrupt_save_frame and excp_rsvd There are lines of repeated codes in excp/external_interrupt_save_frame and excp_rsvd. So, this patch defines two .macro, save_frame and restore_frame, to reduce the repeated codes. No functional change. Tracked-On: #3886 Acked-by: Eddie Dong <eddie.dong@in...
528,665
11.12.2019 15:16:35
0
525d4d3cd0d5893735c5d93891fe122b0076d00d
HV: Install a NMI handler in acrn IDT This patch installs a NMI handler in acrn IDT to handle NMIs out of dispatch_exception. Acked-by: Eddie Dong
[ { "change_type": "MODIFY", "old_path": "hypervisor/arch/x86/idt.S", "new_path": "hypervisor/arch/x86/idt.S", "diff": "@@ -110,9 +110,9 @@ excp_debug:\n.align 8\nexcp_nmi:\n-\n-\n-\n+ pushq $0x0 /* pseudo error code */\n+ pushq $0x2\n+ jmp nmi_save_frame\n.align 8\nexcp_breakpoint:\n@@ -330,6 +330,19...
C
BSD 3-Clause New or Revised License
projectacrn/acrn-hypervisor
HV: Install a NMI handler in acrn IDT This patch installs a NMI handler in acrn IDT to handle NMIs out of dispatch_exception. Tracked-On: #3886 Acked-by: Eddie Dong <eddie.dong@intel.com> Signed-off-by: Kaige Fu <kaige.fu@intel.com>
528,665
05.12.2019 16:27:37
0
2777f230757636d191d7b822b056bb8a74d8e58b
HV: Add helper function send_single_nmi This patch adds a helper function send_single_nmi. The fisrt caller will soon come with the following patch. Acked-by: Eddie Dong
[ { "change_type": "MODIFY", "old_path": "hypervisor/arch/x86/lapic.c", "new_path": "hypervisor/arch/x86/lapic.c", "diff": "@@ -288,3 +288,18 @@ void send_single_init(uint16_t pcpu_id)\nmsr_write(MSR_IA32_EXT_APIC_ICR, icr.value);\n}\n+\n+/**\n+ * @pre pcpu_id < CONFIG_MAX_PCPU_NUM\n+ *\n+ * @return N...
C
BSD 3-Clause New or Revised License
projectacrn/acrn-hypervisor
HV: Add helper function send_single_nmi This patch adds a helper function send_single_nmi. The fisrt caller will soon come with the following patch. Tracked-On: #3886 Acked-by: Eddie Dong <eddie.dong@intel.com> Signed-off-by: Kaige Fu <kaige.fu@intel.com>
528,709
11.12.2019 19:16:55
-28,800
12a9bc29df9669fa0f7bc3b19bf2c9aa129dd450
acrn-config: add CONFIG_SERIAL_x for new board Add CONFIG_SERIAL_x in $(borad).config, this will help to output console log and help new board debug. Acked-by: Victor Sun
[ { "change_type": "MODIFY", "old_path": "misc/acrn-config/board_config/new_board_kconfig.py", "new_path": "misc/acrn-config/board_config/new_board_kconfig.py", "diff": "@@ -67,6 +67,7 @@ def get_ram_range():\ndef get_serial_type():\n\"\"\" Get the serial type of consle which set by user \"\"\"\nttys_...
C
BSD 3-Clause New or Revised License
projectacrn/acrn-hypervisor
acrn-config: add CONFIG_SERIAL_x for new board Add CONFIG_SERIAL_x in $(borad).config, this will help to output console log and help new board debug. Tracked-On: #3854 Signed-off-by: Wei Liu <weix.w.liu@intel.com> Acked-by: Victor Sun <victor.sun@intel.com>
528,709
12.12.2019 08:46:01
-28,800
13d6b69d6555314bf959c023c1f52182040c35fa
acrn-config: set DRHDx_IGNORE while no DEV_SCOPE in DRHD Set the DRHDx_IGNORE to false even there is no DEV_SCOPE under this DRHD. 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,7 +63,6 @@ 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: set DRHDx_IGNORE while no DEV_SCOPE in DRHD Set the DRHDx_IGNORE to false even there is no DEV_SCOPE under this DRHD. Tracked-On: #3854 Signed-off-by: Wei Liu <weix.w.liu@intel.com> Acked-by: Victor Sun <victor.sun@intel.com>
528,709
12.12.2019 16:54:02
-28,800
464639e8d31c825414b5e4b77c2d4612dfe2b1f6
acrn-config: add 'ramdisk_mod' item tag for tgl-rvp Add missing 'ramdisk_mod' item tag of industry config xml for tgl-rvp. Acked-by: Victor Sun
[ { "change_type": "MODIFY", "old_path": "misc/acrn-config/xmls/config-xmls/tgl-rvp/industry.xml", "new_path": "misc/acrn-config/xmls/config-xmls/tgl-rvp/industry.xml", "diff": "<name desc=\"Specify the OS name of VM, currently it is not referenced by hypervisor code.\">ACRN Service OS</name>\n<kern_t...
C
BSD 3-Clause New or Revised License
projectacrn/acrn-hypervisor
acrn-config: add 'ramdisk_mod' item tag for tgl-rvp Add missing 'ramdisk_mod' item tag of industry config xml for tgl-rvp. Tracked-On: #3854 Signed-off-by: Wei Liu <weix.w.liu@intel.com> Acked-by: Victor Sun <victor.sun@intel.com>
528,768
13.12.2019 13:33:05
-28,800
d4677a891769a907f29116a936bb6f5656e38d2a
hv:fix crash issue when handling HC_NOTIFY_REQUEST_FINISH Input 'vcpu_id' and the state of target vCPU should be validated properly: - 'vcpu_id' shall be less than 'vm->hw.created_vcpus' instead of 'MAX_VCPUS_PER_VM'. - The state of target vCPU should be "VCPU_PAUSED", and reject all other states. Acked-by: Eddie Dong
[ { "change_type": "MODIFY", "old_path": "hypervisor/common/hypercall.c", "new_path": "hypervisor/common/hypercall.c", "diff": "@@ -548,12 +548,12 @@ int32_t hcall_notify_ioreq_finish(uint16_t vmid, uint16_t vcpu_id)\ndev_dbg(ACRN_DBG_HYCALL, \"[%d] NOTIFY_FINISH for vcpu %d\",\nvmid, vcpu_id);\n- if ...
C
BSD 3-Clause New or Revised License
projectacrn/acrn-hypervisor
hv:fix crash issue when handling HC_NOTIFY_REQUEST_FINISH Input 'vcpu_id' and the state of target vCPU should be validated properly: - 'vcpu_id' shall be less than 'vm->hw.created_vcpus' instead of 'MAX_VCPUS_PER_VM'. - The state of target vCPU should be "VCPU_PAUSED", and reject all other states. Track...
528,801
16.12.2019 08:47:14
-28,800
3cee2595837383e07b812b698039b6d048df2188
hv: msr: remove redundant check in write_pat_msr Reserved bits in a 8-bit PAT field has been checked in pat_mem_type_invalid. Remove this redundant check "(PAT_FIELD_RSV_BITS & field) != 0UL" in write_pat_msr.
[ { "change_type": "MODIFY", "old_path": "hypervisor/arch/x86/guest/vmsr.c", "new_path": "hypervisor/arch/x86/guest/vmsr.c", "diff": "@@ -361,7 +361,7 @@ static int32_t write_pat_msr(struct acrn_vcpu *vcpu, uint64_t value)\nfor (i = 0U; i < 8U; i++) {\nfield = (value >> (i * 8U)) & 0xffUL;\n- if (pat_...
C
BSD 3-Clause New or Revised License
projectacrn/acrn-hypervisor
hv: msr: remove redundant check in write_pat_msr Reserved bits in a 8-bit PAT field has been checked in pat_mem_type_invalid. Remove this redundant check "(PAT_FIELD_RSV_BITS & field) != 0UL" in write_pat_msr. Tracked-On: #1842 Signed-off-by: Shiqing Gao <shiqing.gao@intel.com>
528,768
11.12.2019 13:49:00
-28,800
ee8a3e38264e573e437db717dbabca335007b04d
doc:debug feature is disabled by default Update guidance to build ACRN from source, as debug feature is disabled by default in Makefile. 'RELEASE' shall be 0 if debug feature is required.
[ { "change_type": "MODIFY", "old_path": "doc/getting-started/building-from-source.rst", "new_path": "doc/getting-started/building-from-source.rst", "diff": "@@ -212,18 +212,20 @@ HYBRID:\nStandard VM.\nAssuming that you are at the top level of the acrn-hypervisor directory:\n+ .. note::\n+ Release ve...
C
BSD 3-Clause New or Revised License
projectacrn/acrn-hypervisor
doc:debug feature is disabled by default Update guidance to build ACRN from source, as debug feature is disabled by default in Makefile. 'RELEASE' shall be 0 if debug feature is required. Tracked-On: #4222 Signed-off-by: Yonghua Huang <yonghua.huang@intel.com>
528,728
03.10.2019 11:03:54
-7,200
e0b323f5efbec235450bc6c3008252abcedf99e0
doc: add a little info on how to configure the boot options Add a little information (at least pointers) as to how one can change the VM (Pre-launched, Service or User) boot options.
[ { "change_type": "MODIFY", "old_path": "doc/introduction/index.rst", "new_path": "doc/introduction/index.rst", "diff": "@@ -378,6 +378,9 @@ and many other features.\nBoot Sequence\n*************\n+.. _systemd-boot: https://www.freedesktop.org/software/systemd/man/systemd-boot.html\n+.. _grub: https:...
C
BSD 3-Clause New or Revised License
projectacrn/acrn-hypervisor
doc: add a little info on how to configure the boot options Add a little information (at least pointers) as to how one can change the VM (Pre-launched, Service or User) boot options. Tracked-On: #3758 Signed-off-by: Geoffroy Van Cutsem <geoffroy.vancutsem@intel.com>
528,802
16.12.2019 12:49:30
-28,800
42b8b6eb6eef45ff79556e3b8ea3216d1c05916f
doc: Update WaaG GSG to use ACRNGT GOP to install Windows
[ { "change_type": "MODIFY", "old_path": "doc/tutorials/images/windows_install_1.png", "new_path": "doc/tutorials/images/windows_install_1.png", "diff": "Binary files a/doc/tutorials/images/windows_install_1.png and b/doc/tutorials/images/windows_install_1.png differ\n" }, { "change_type": "MO...
C
BSD 3-Clause New or Revised License
projectacrn/acrn-hypervisor
doc: Update WaaG GSG to use ACRNGT GOP to install Windows Signed-off-by: Jian Jun Chen <jian.jun.chen@intel.com>
528,756
29.11.2019 11:44:27
-28,800
6289124e7c894323e2a5342bf201856d76512a60
doc: add windows 10 activation
[ { "change_type": "MODIFY", "old_path": "doc/tutorials/using_windows_as_uos.rst", "new_path": "doc/tutorials/using_windows_as_uos.rst", "diff": "@@ -489,6 +489,14 @@ Secure boot enabling\nYou may refer to the steps in :ref:`How-to-enable-secure-boot-for-windows` for\nsecure boot enabling.\n+Activate ...
C
BSD 3-Clause New or Revised License
projectacrn/acrn-hypervisor
doc: add windows 10 activation Signed-off-by: Yuan Liu <yuan1.liu@intel.com>
528,665
06.12.2019 09:43:37
0
6d1f63aef0f0b9df3506f7066ae2e75e601aca18
HV: Use NMI to replace INIT signal for lapic-pt VMs S5 We have implemented a new notification method using NMI. So replace the INIT notification method with the NMI one. Then we can remove INIT notification related code later.
[ { "change_type": "MODIFY", "old_path": "hypervisor/arch/x86/guest/vmcs.c", "new_path": "hypervisor/arch/x86/guest/vmcs.c", "diff": "@@ -606,10 +606,11 @@ void switch_apicv_mode_x2apic(struct acrn_vcpu *vcpu)\nupdate_msr_bitmap_x2apic_passthru(vcpu);\n/*\n- * After passthroughing lapic to guest, we s...
C
BSD 3-Clause New or Revised License
projectacrn/acrn-hypervisor
HV: Use NMI to replace INIT signal for lapic-pt VMs S5 We have implemented a new notification method using NMI. So replace the INIT notification method with the NMI one. Then we can remove INIT notification related code later. Tracked-On: #3886 Signed-off-by: Kaige Fu <kaige.fu@intel.com>
528,665
06.12.2019 09:52:11
0
5f9d1379bc04163c5b090082ccfd1ce3286e7376
HV: Remove INIT signal notification related code We don't use INIT signal notification method now. This patch removes them. Acked-by: Eddie Dong
[ { "change_type": "MODIFY", "old_path": "hypervisor/arch/x86/guest/vmexit.c", "new_path": "hypervisor/arch/x86/guest/vmexit.c", "diff": "@@ -30,7 +30,6 @@ static int32_t unhandled_vmexit_handler(struct acrn_vcpu *vcpu);\nstatic int32_t xsetbv_vmexit_handler(struct acrn_vcpu *vcpu);\nstatic int32_t wb...
C
BSD 3-Clause New or Revised License
projectacrn/acrn-hypervisor
HV: Remove INIT signal notification related code We don't use INIT signal notification method now. This patch removes them. Tracked-On: #3886 Acked-by: Eddie Dong <eddie.dong@intel.com> Signed-off-by: Kaige Fu <kaige.fu@intel.com>
528,706
17.12.2019 11:25:34
0
7edf8ed798cbf0b9226b2b75abe5e33a8eb396f8
doc: add document for cpu sharing Add document and usage for cpu sharing.
[ { "change_type": "MODIFY", "old_path": "doc/develop.rst", "new_path": "doc/develop.rst", "diff": "@@ -75,3 +75,4 @@ Enable ACRN Features\ntutorials/trustyACRN\ntutorials/waag-secure-boot\ntutorials/enable_s5\n+ tutorials/cpu_sharing\n" }, { "change_type": "ADD", "old_path": "doc/tutorial...
C
BSD 3-Clause New or Revised License
projectacrn/acrn-hypervisor
doc: add document for cpu sharing Add document and usage for cpu sharing. Signed-off-by: Conghui Chen <conghui.chen@intel.com>
528,727
17.12.2019 01:23:47
-28,800
2ceff27069ff784647b3b62c0c29d97d54e9e99d
doc: modify Configuration Tools
[ { "change_type": "MODIFY", "old_path": "doc/getting-started/rt_industry.rst", "new_path": "doc/getting-started/rt_industry.rst", "diff": "@@ -63,6 +63,7 @@ for the RTVM.\n#. Select :kbd:`Select additional bundles` and add bundles for\n**network-basic**, and **user-basic**.\n#. Select :kbd:`Automatic...
C
BSD 3-Clause New or Revised License
projectacrn/acrn-hypervisor
doc: modify Configuration Tools Signed-off-by: fenglin.hu <fenglin.hu@intel.com>
528,662
29.11.2019 02:33:46
0
17f6344ce2332762ac14f37ec4f84c38a5222f99
doc: Add tutorial about how to launch kata vm.
[ { "change_type": "MODIFY", "old_path": "doc/develop.rst", "new_path": "doc/develop.rst", "diff": "@@ -32,6 +32,7 @@ Configuration Tutorials\ntutorials/enable_laag_secure_boot\ntutorials/building_acrn_in_docker\ntutorials/acrn_ootb\n+ tutorials/run_kata_containers\nUser VM Tutorials\n****************...
C
BSD 3-Clause New or Revised License
projectacrn/acrn-hypervisor
doc: Add tutorial about how to launch kata vm. Signed-off-by: lirui34 <ruix.li@intel.com>
528,709
19.12.2019 14:16:13
-28,800
197e4a0620a7e8a7475ce90bbbe38840efec30e8
acrn-config: add support to parse 'severity' item tag Add support to parse 'severity' item tag from webUI and set them into scenario configurations. Acked-by: Victor Sun
[ { "change_type": "MODIFY", "old_path": "misc/acrn-config/library/common.py", "new_path": "misc/acrn-config/library/common.py", "diff": "@@ -17,7 +17,7 @@ HV_LICENSE_FILE = SOURCE_PATH + 'misc/acrn-config/library/hypervisor_license'\nPY_CACHES = [\"__pycache__\", \"../board_config/__pycache__\", \".....
C
BSD 3-Clause New or Revised License
projectacrn/acrn-hypervisor
acrn-config: add support to parse 'severity' item tag Add support to parse 'severity' item tag from webUI and set them into scenario configurations. Tracked-On: #3854 Signed-off-by: Wei Liu <weix.w.liu@intel.com> Acked-by: Victor Sun <victor.sun@intel.com>
528,733
16.12.2019 13:31:01
-28,800
e5117bf19ab0d579b516eea3af1f9863aef8c401
vm: add severity for vm_config Add severity definitions for different scenarios. The static guest severity is defined according to guest configurations. Also add sanity check to make sure the severity for all guests are correct.
[ { "change_type": "MODIFY", "old_path": "hypervisor/arch/x86/configs/vm_config.c", "new_path": "hypervisor/arch/x86/configs/vm_config.c", "diff": "#include <cat.h>\n#include <pgtable.h>\n+static uint8_t rtvm_uuid1[16] = RTVM_UUID1;\n+static uint8_t safety_vm_uuid1[16] = SAFETY_VM_UUID1;\n+\n/*\n* @pr...
C
BSD 3-Clause New or Revised License
projectacrn/acrn-hypervisor
vm: add severity for vm_config Add severity definitions for different scenarios. The static guest severity is defined according to guest configurations. Also add sanity check to make sure the severity for all guests are correct. Tracked-On: #4270 Signed-off-by: Yin Fengwei <fengwei.yin@intel.com>
528,709
23.12.2019 10:43:13
-28,800
051f277cba56e2301ea95726a3aba12141b1ab67
acrn-config: modify hpa start size value for logical_partition scenario Modify the hpa start size value for logical_partition scenario to avoid build issue, and make the memory size of pre-launched VM configurable. Acked-by: Victor Sun
[ { "change_type": "MODIFY", "old_path": "misc/acrn-config/library/common.py", "new_path": "misc/acrn-config/library/common.py", "diff": "@@ -20,7 +20,7 @@ GUEST_FLAG = [\"0UL\", \"GUEST_FLAG_SECURE_WORLD_ENABLED\", \"GUEST_FLAG_LAPIC_PASSTH\n\"GUEST_FLAG_HIDE_MTRR\", \"GUEST_FLAG_RT\"]\n# Support 512...
C
BSD 3-Clause New or Revised License
projectacrn/acrn-hypervisor
acrn-config: modify hpa start size value for logical_partition scenario Modify the hpa start size value for logical_partition scenario to avoid build issue, and make the memory size of pre-launched VM configurable. Tracked-On: #3854 Signed-off-by: Wei Liu <weix.w.liu@intel.com> Acked-by: Victor Sun <victor.sun@intel....
528,652
20.12.2019 15:15:24
28,800
d80a0dcea066c84165264f88084f198073f2e72b
acrn-config: fix a few formatting issues scenario_cfg_lib.py: - removed extra white space before ',' pci_dev_c.py: - follow style in other files, added two empty lines - removed extra line at the end of the .c file vm_configurations_c.py - alignment vm_configurations_h.py - alignment Acked-by: Victor Sun
[ { "change_type": "MODIFY", "old_path": "misc/acrn-config/scenario_config/pci_dev_c.py", "new_path": "misc/acrn-config/scenario_config/pci_dev_c.py", "diff": "@@ -14,6 +14,7 @@ def generate_file(config):\n:return: None\n\"\"\"\nprint(\"{}\".format(scenario_cfg_lib.HEADER_LICENSE), file=config)\n+ pri...
C
BSD 3-Clause New or Revised License
projectacrn/acrn-hypervisor
acrn-config: fix a few formatting issues scenario_cfg_lib.py: - removed extra white space before ',' pci_dev_c.py: - follow style in other files, added two empty lines - removed extra line at the end of the .c file vm_configurations_c.py - alignment vm_configurations_h.py - alignment Tracked-On: #3602 Si...
528,709
13.12.2019 14:30:18
-28,800
bb6e28e18385db6b1a19eeb7693d30e2729b482d
acrn-config: check pass-thruogh device for audio/audio_codec Add this check while validating audio/audio_codec for pass-through device setting. Acked-by: Victor Sun
[ { "change_type": "MODIFY", "old_path": "misc/acrn-config/launch_config/launch_item.py", "new_path": "misc/acrn-config/launch_config/launch_item.py", "diff": "@@ -141,6 +141,9 @@ class PthruSelected():\nlaunch_cfg_lib.pt_devs_check(self.bdf[\"wifi\"], self.vpid[\"wifi\"], \"wifi\")\nlaunch_cfg_lib.pt...
C
BSD 3-Clause New or Revised License
projectacrn/acrn-hypervisor
acrn-config: check pass-thruogh device for audio/audio_codec Add this check while validating audio/audio_codec for pass-through device setting. Tracked-On: #4249 Signed-off-by: Wei Liu <weix.w.liu@intel.com> Acked-by: Victor Sun <victor.sun@intel.com>
528,709
16.12.2019 13:23:52
-28,800
5b6a33bb347ed9259f0bc51bedfc90f18110a3aa
acrn-config: enable log_setting in all VMs enable log_setting for all VMs. 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": "@@ -497,9 +497,6 @@ def dm_arg_set(names, sel, virt_io, dm, vmid, config):\nelse:\nprint('{} $npk_virt \\\\'.format(dm_str), file=config)\n- if board_name == ...
C
BSD 3-Clause New or Revised License
projectacrn/acrn-hypervisor
acrn-config: enable log_setting in all VMs enable log_setting for all VMs. Tracked-On: #3854 Signed-off-by: Wei Liu <weix.w.liu@intel.com> Acked-by: Victor Sun <victor.sun@intel.com>
528,709
16.12.2019 14:03:34
-28,800
fc357a7782c681713d79831eeaa21a9fc504f07e
acrn-config: add 'tap_' perfix for virtio-net UOS would be failed to get ip address, add 'tap_' perfix for virtio-net name setting. 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": "@@ -60,7 +60,7 @@ def tap_uos_net(names, virt_io, vmid, config):\nnet_name = net\nif ',' in net:\nnet_name = net.split(',')[0]\n- print(\"tap_net {}\".format(...
C
BSD 3-Clause New or Revised License
projectacrn/acrn-hypervisor
acrn-config: add 'tap_' perfix for virtio-net UOS would be failed to get ip address, add 'tap_' perfix for virtio-net name setting. Tracked-On: #4255 Signed-off-by: Wei Liu <weix.w.liu@intel.com> Acked-by: Victor Sun <victor.sun@intel.com>
528,709
18.12.2019 16:54:53
-28,800
651510a8d1f3d041fb3a61de51a014a817a171c3
acrn-config: add 'logger_setting' into launch script Add missed definition of 'logger_setting' into launch 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": "@@ -236,8 +236,6 @@ def gvt_arg_set(dm, vmid, uos_type, config):\ndef log_level_set(uos_type, config):\n- if uos_type not in ('CLEARLINUX', 'ANDROID', 'ALIOS'...
C
BSD 3-Clause New or Revised License
projectacrn/acrn-hypervisor
acrn-config: add 'logger_setting' into launch script Add missed definition of 'logger_setting' into launch script. Tracked-On: #3854 Signed-off-by: Wei Liu <weix.w.liu@intel.com> Acked-by: Victor Sun <victor.sun@intel.com>
528,706
24.12.2019 10:59:47
0
8f9cda183e4b558616f7c8a6e7bf4ad47a33523e
DOC: Content edits to CPU Sharing doc
[ { "change_type": "MODIFY", "old_path": "doc/tutorials/cpu_sharing.rst", "new_path": "doc/tutorials/cpu_sharing.rst", "diff": "@@ -6,17 +6,17 @@ ACRN CPU Sharing\nIntroduction\n************\n-The goal of CPU Sharing is to fully utilize the physical CPU resource to support more virtual machines. Curre...
C
BSD 3-Clause New or Revised License
projectacrn/acrn-hypervisor
DOC: Content edits to CPU Sharing doc Signed-off-by: Conghui Chen <conghui.chen@intel.com>
528,709
25.12.2019 11:02:23
-28,800
ce35a00518b02fafe2e57ca600c11c93c8453bd2
acrn-config: add 'cpu_sharing' support for launch config Add support to parse and get 'cpu_sharing' 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": "@@ -382,6 +382,7 @@ def launch_end(names, args, virt_io, vmid, config):\nprint(\"\", file=config)\ni += 1\n+ if args['cpu_sharing'][vmid] == \"Disabled\":\nof...
C
BSD 3-Clause New or Revised License
projectacrn/acrn-hypervisor
acrn-config: add 'cpu_sharing' support for launch config Add support to parse and get 'cpu_sharing' item value from launch config files, these values are editable by user. Tracked-On: #3854 Signed-off-by: Wei Liu <weix.w.liu@intel.com> Acked-by: Victor Sun <victor.sun@intel.com>
528,709
24.12.2019 16:32:14
-28,800
77c3ce06e1a49367fbf1d64a0ca23e01f4e8e202
acrn-config: remove uncessary split for 'virtio-net' Split the input message for 'virtio-net' would discard extra message from user input, this is not expected for 'virtio-net' setting. 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": "@@ -483,10 +483,7 @@ def virtio_args_set(dm, virt_io, vmid, config):\n# virtio-net set, the value type is a list\nfor net in virt_io['network'][vmid]:\nif net...
C
BSD 3-Clause New or Revised License
projectacrn/acrn-hypervisor
acrn-config: remove uncessary split for 'virtio-net' Split the input message for 'virtio-net' would discard extra message from user input, this is not expected for 'virtio-net' setting. Tracked-On: #4298 Signed-off-by: Wei Liu <weix.w.liu@intel.com> Acked-by: Victor Sun <victor.sun@intel.com>
528,654
23.12.2019 21:57:07
-28,800
d2089889d81a784e444a7a32407d1afb2450e5c3
hv: pci: minor fix of coding style about pci_read_cap There's no need to check which capability we care at the very beginning. We could do it later step by step. Acked-by: Eddie Dong
[ { "change_type": "MODIFY", "old_path": "hypervisor/hw/pci.c", "new_path": "hypervisor/hw/pci.c", "diff": "@@ -414,24 +414,21 @@ static inline uint32_t pci_pdev_get_nr_bars(uint8_t hdr_type)\n*/\nstatic void pci_read_cap(struct pci_pdev *pdev)\n{\n- uint8_t ptr, cap;\n+ uint8_t pos, cap;\nuint32_t ms...
C
BSD 3-Clause New or Revised License
projectacrn/acrn-hypervisor
hv: pci: minor fix of coding style about pci_read_cap There's no need to check which capability we care at the very beginning. We could do it later step by step. Tracked-On: #3475 Signed-off-by: Li Fei1 <fei1.li@intel.com> Acked-by: Eddie Dong <eddie.dong@intel.com>
528,654
23.12.2019 22:52:02
-28,800
58b3a05863a64df9b642b85cac25059e93a1305e
hv: vpci: rename pci_bar to pci_vbar Structure pci_vbar is used to define the virtual BAR rather than physical BAR. It's better to name as pci_vbar. Acked-by: Eddie Dong
[ { "change_type": "MODIFY", "old_path": "hypervisor/dm/vpci/pci_pt.c", "new_path": "hypervisor/dm/vpci/pci_pt.c", "diff": "static void vdev_pt_unmap_mem_vbar(struct pci_vdev *vdev, uint32_t idx)\n{\nbool is_msix_table_bar;\n- struct pci_bar *vbar;\n+ struct pci_vbar *vbar;\nstruct acrn_vm *vm = vdev-...
C
BSD 3-Clause New or Revised License
projectacrn/acrn-hypervisor
hv: vpci: rename pci_bar to pci_vbar Structure pci_vbar is used to define the virtual BAR rather than physical BAR. It's better to name as pci_vbar. Tracked-On: #3475 Signed-off-by: Li Fei1 <fei1.li@intel.com> Acked-by: Eddie Dong <eddie.dong@intel.com>
528,648
25.12.2019 14:39:37
-28,800
8a8438dffa553a4fe9bfe9c487725c821a56d52d
remove no support OS parts and add whl build
[ { "change_type": "MODIFY", "old_path": "doc/getting-started/building-from-source.rst", "new_path": "doc/getting-started/building-from-source.rst", "diff": "@@ -70,7 +70,7 @@ Install the necessary tools for the following systems:\n$ sudo swupd bundle-add os-clr-on-clr os-core-dev python3-basic\n$ pip...
C
BSD 3-Clause New or Revised License
projectacrn/acrn-hypervisor
remove no support OS parts and add whl build Signed-off-by: wenlingz <wenling.zhang@intel.com>
528,794
16.12.2019 22:16:05
-28,800
9ecac8629a65db69a195be6a2a0001c22e2a8c1f
HV: clean up redundant macro in lapic.h Some MACROs in lapic.h are duplicated with apicreg.h, and some MACROs are never referenced, remove them. Acked-by: Eddie Dong
[ { "change_type": "MODIFY", "old_path": "hypervisor/arch/x86/lapic.c", "new_path": "hypervisor/arch/x86/lapic.c", "diff": "@@ -76,17 +76,17 @@ void init_lapic(uint16_t pcpu_id)\n{\nper_cpu(lapic_ldr, pcpu_id) = (uint32_t) msr_read(MSR_IA32_EXT_APIC_LDR);\n/* Mask all LAPIC LVT entries before enabling...
C
BSD 3-Clause New or Revised License
projectacrn/acrn-hypervisor
HV: clean up redundant macro in lapic.h Some MACROs in lapic.h are duplicated with apicreg.h, and some MACROs are never referenced, remove them. Tracked-On: #4268 Signed-off-by: Victor Sun <victor.sun@intel.com> Acked-by: Eddie Dong <eddie.dong@intel.com>
528,794
18.12.2019 14:00:58
-28,800
d1a46b8289fb71d2770bcabd7b7e46bfa846762d
HV: rename function of vlapic_xxx_write_handler Rename vlapic_xxx_write_handler() to vlapic_write_xxx() to make code more readable; Acked-by: Eddie Dong
[ { "change_type": "MODIFY", "old_path": "hypervisor/arch/x86/guest/vlapic.c", "new_path": "hypervisor/arch/x86/guest/vlapic.c", "diff": "@@ -224,7 +224,7 @@ static inline uint32_t vlapic_find_isrv(const struct acrn_vlapic *vlapic)\n}\nstatic void\n-vlapic_dfr_write_handler(struct acrn_vlapic *vlapic)...
C
BSD 3-Clause New or Revised License
projectacrn/acrn-hypervisor
HV: rename function of vlapic_xxx_write_handler Rename vlapic_xxx_write_handler() to vlapic_write_xxx() to make code more readable; Tracked-On: #4268 Signed-off-by: Victor Sun <victor.sun@intel.com> Acked-by: Eddie Dong <eddie.dong@intel.com>
528,794
25.12.2019 16:26:11
-28,800
c6f7803f060fdfc8bc66ce5b18b875f0012c8154
HV: restore lapic state and apic id upon INIT Per SDM 10.12.5.1 vol.3, local APIC should keep LAPIC state after receiving INIT. The local APIC ID register should also be preserved. Acked-by: Eddie Dong
[ { "change_type": "MODIFY", "old_path": "hypervisor/arch/x86/guest/vcpu.c", "new_path": "hypervisor/arch/x86/guest/vcpu.c", "diff": "@@ -194,7 +194,7 @@ void vcpu_reset_eoi_exit_bitmaps(struct acrn_vcpu *vcpu)\n}\n/* As a vcpu reset internal API, DO NOT touch any vcpu state transition in this functio...
C
BSD 3-Clause New or Revised License
projectacrn/acrn-hypervisor
HV: restore lapic state and apic id upon INIT Per SDM 10.12.5.1 vol.3, local APIC should keep LAPIC state after receiving INIT. The local APIC ID register should also be preserved. Tracked-On: #4267 Signed-off-by: Victor Sun <victor.sun@intel.com> Reviewed-by: Jason Chen CJ <jason.cj.chen@intel.com> Acked-by: Eddie ...
528,652
24.12.2019 10:49:13
28,800
742abaf2e6e2e05083725a47c01da4988978d4f4
hv: add sanity check for vuart configuration target vm_id of vuart can't be un-defined VM, nor the VM itself. fix potential NULL pointer dereference in find_active_target_vuart() Acked-by: Eddie Dong
[ { "change_type": "MODIFY", "old_path": "hypervisor/arch/x86/configs/vm_config.c", "new_path": "hypervisor/arch/x86/configs/vm_config.c", "diff": "#include <logmsg.h>\n#include <cat.h>\n#include <pgtable.h>\n+#include <vuart.h>\nstatic uint8_t rtvm_uuid1[16] = RTVM_UUID1;\nstatic uint8_t safety_vm_uu...
C
BSD 3-Clause New or Revised License
projectacrn/acrn-hypervisor
hv: add sanity check for vuart configuration - target vm_id of vuart can't be un-defined VM, nor the VM itself. - fix potential NULL pointer dereference in find_active_target_vuart() Tracked-On: #3854 Signed-off-by: Zide Chen <zide.chen@intel.com> Acked-by: Eddie Dong <eddie.dong@intel.com>
528,654
26.12.2019 23:32:39
-28,800
26670d7ab3fac5b27796c2bdee792aabb49dcc1c
hv: vpci: revert do FLR and BAR restore Since we restore BAR values when writing Command Register if necessary. We don't need to trap FLR and do the BAR restore then.
[ { "change_type": "MODIFY", "old_path": "hypervisor/arch/x86/timer.c", "new_path": "hypervisor/arch/x86/timer.c", "diff": "@@ -338,22 +338,3 @@ void udelay(uint32_t us)\nwhile (rdtsc() < dest_tsc) {\n}\n}\n-\n-/*\n- * @pre ms <= MAX_UINT32 / 1000U\n- */\n-void msleep(uint32_t ms)\n-{\n- uint64_t dest...
C
BSD 3-Clause New or Revised License
projectacrn/acrn-hypervisor
hv: vpci: revert do FLR and BAR restore Since we restore BAR values when writing Command Register if necessary. We don't need to trap FLR and do the BAR restore then. Tracked-On: #3475 Signed-off-by: Li Fei1 <fei1.li@intel.com>
528,654
26.12.2019 23:38:11
-28,800
e74a9f397dea9b0e62fe15e475e4a804f8c6259b
hv: pci: add PCIe PM reset check Add PCIe PM reset capability check.
[ { "change_type": "MODIFY", "old_path": "hypervisor/hw/pci.c", "new_path": "hypervisor/hw/pci.c", "diff": "@@ -481,6 +481,9 @@ static void pci_read_cap(struct pci_pdev *pdev)\nfor (idx = 0U; idx < len; idx++) {\npdev->msix.cap[idx] = (uint8_t)pci_pdev_read_cfg(pdev->bdf, (uint32_t)pos + idx, 1U);\n}\...
C
BSD 3-Clause New or Revised License
projectacrn/acrn-hypervisor
hv: pci: add PCIe PM reset check Add PCIe PM reset capability check. Tracked-On: #3465 Signed-off-by: Li Fei1 <fei1.li@intel.com>
528,662
30.12.2019 14:56:24
-28,800
9071349a19b50c227cf4e14636fa792f820e129d
doc: Update some of the wrong path in acrn configuration tool doc.
[ { "change_type": "MODIFY", "old_path": "doc/tutorials/acrn_configuration_tool.rst", "new_path": "doc/tutorials/acrn_configuration_tool.rst", "diff": "@@ -68,7 +68,7 @@ board. The scenario-relevant board and scenario-based VM configurations\nare stored in the ``scenario`` XML. The launch script-based...
C
BSD 3-Clause New or Revised License
projectacrn/acrn-hypervisor
doc: Update some of the wrong path in acrn configuration tool doc. Signed-off-by: lirui34 <ruix.li@intel.com>
528,731
23.12.2019 13:35:39
-28,800
d330879ce5483a8066b7d59ffd187f839697a5bc
hv: cpuid: expose PCID related capabilities to VMs Pass-through PCID related capabilities to VMs: The support of PCID (CPUID.01H.ECX[17]) The support of instruction INVPCID (CPUID.07H.EBX[10]) Acked-by: Eddie Dong
[ { "change_type": "MODIFY", "old_path": "hypervisor/arch/x86/guest/vcpuid.c", "new_path": "hypervisor/arch/x86/guest/vcpuid.c", "diff": "@@ -116,8 +116,8 @@ static void init_vcpuid_entry(uint32_t leaf, uint32_t subleaf,\ncase 0x07U:\nif (subleaf == 0U) {\ncpuid_subleaf(leaf, subleaf, &entry->eax, &en...
C
BSD 3-Clause New or Revised License
projectacrn/acrn-hypervisor
hv: cpuid: expose PCID related capabilities to VMs Pass-through PCID related capabilities to VMs: - The support of PCID (CPUID.01H.ECX[17]) - The support of instruction INVPCID (CPUID.07H.EBX[10]) Tracked-On: #4296 Signed-off-by: Binbin Wu <binbin.wu@intel.com> Acked-by: Eddie Dong <eddie.dong@intel.com>
528,728
03.01.2020 15:27:09
-3,600
c59f12da9159d80124917bd40c9097363e3683af
doc: fix wrong Docker container image in tutorial Fix the name of the Docker Container image that is used to build the kernel for an RTVM (Preempt-RT kernel) when that image was built by the user him/herself.
[ { "change_type": "MODIFY", "old_path": "doc/tutorials/building_acrn_in_docker.rst", "new_path": "doc/tutorials/building_acrn_in_docker.rst", "diff": "@@ -140,7 +140,7 @@ Build the ACRN User VM PREEMPT_RT Kernel in Docker\n$ cp x86-64_defconfig .config\n$ docker run -u`id -u`:`id -g` --rm -v $PWD:/wo...
C
BSD 3-Clause New or Revised License
projectacrn/acrn-hypervisor
doc: fix wrong Docker container image in tutorial Fix the name of the Docker Container image that is used to build the kernel for an RTVM (Preempt-RT kernel) when that image was built by the user him/herself. Tracked-On: #4322 Signed-off-by: Geoffroy Van Cutsem <geoffroy.vancutsem@intel.com>
528,667
13.12.2019 16:25:56
-28,800
a8f6bdd479fa1e2149299ff99c67bb7b9aa5c5de
hv: Add vlapic_has_pending_intr of apicv to check pending interrupts Sometimes HV wants to know if there are pending interrupts of one vcpu. Add .has_pending_intr interface in acrn_apicv_ops and return the pending interrupts status by check IRRs of apicv. Acked-by: Eddie Dong
[ { "change_type": "MODIFY", "old_path": "hypervisor/arch/x86/guest/vlapic.c", "new_path": "hypervisor/arch/x86/guest/vlapic.c", "diff": "@@ -1755,6 +1755,11 @@ static bool ptapic_has_pending_delivery_intr(__unused struct acrn_vcpu *vcpu)\nreturn false;\n}\n+static bool ptapic_has_pending_intr(__unuse...
C
BSD 3-Clause New or Revised License
projectacrn/acrn-hypervisor
hv: Add vlapic_has_pending_intr of apicv to check pending interrupts Sometimes HV wants to know if there are pending interrupts of one vcpu. Add .has_pending_intr interface in acrn_apicv_ops and return the pending interrupts status by check IRRs of apicv. Tracked-On: #4329 Signed-off-by: Shuo A Liu <shuo.a.liu@intel....
528,667
26.12.2019 15:41:29
-28,800
3239cb0e1ca84be4a3e1bd56c2e2a2a4c130bea5
hv: Use HLT as the default idle action of service OS This patch overwrites the idle driver of service OS for industry, sdc, sdc2 scenarios. HLT will be used as the default idle action. Acked-by: Eddie Dong
[ { "change_type": "MODIFY", "old_path": "hypervisor/scenarios/industry/vm_configurations.h", "new_path": "hypervisor/scenarios/industry/vm_configurations.h", "diff": "\"i915.nuclear_pageflip=1 \" \\\n\"i915.avail_planes_per_pipe=0x01010F \" \\\n\"i915.domain_plane_owners=0x011111110000 \" \\\n- \"i91...
C
BSD 3-Clause New or Revised License
projectacrn/acrn-hypervisor
hv: Use HLT as the default idle action of service OS This patch overwrites the idle driver of service OS for industry, sdc, sdc2 scenarios. HLT will be used as the default idle action. Tracked-On: #4329 Signed-off-by: Shuo A Liu <shuo.a.liu@intel.com> Acked-by: Eddie Dong <eddie.dong@intel.com>
528,654
03.01.2020 23:17:58
-28,800
65f3751ea3c88071e67e4cc47a656d1a51a5b648
hv: pci: add hide pci devices configuration for apl-up2 Other Platforms are not added for now.
[ { "change_type": "MODIFY", "old_path": "hypervisor/arch/x86/configs/apl-mrb/board.c", "new_path": "hypervisor/arch/x86/configs/apl-mrb/board.c", "diff": "#include <board.h>\n#include <vtd.h>\n+#include <pci.h>\n#ifndef CONFIG_ACPI_PARSE_ENABLED\n#error \"DMAR info is not available, please set ACPI_P...
C
BSD 3-Clause New or Revised License
projectacrn/acrn-hypervisor
hv: pci: add hide pci devices configuration for apl-up2 Other Platforms are not added for now. Tracked-On: #3465 Signed-off-by: Li Fei1 <fei1.li@intel.com>
528,709
06.01.2020 13:39:22
-28,800
57a362061f33102d26c4c7df9b6d5df5008765d7
acrn-config: set up whitelist for board containing hide pci device Currently, config tool will maintain a whitelist for the board which need to hide some pci devices. For the board out of whitelist, we set MAX_HIDE_PDEVS_NUM to 0. 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": "@@ -10,7 +10,8 @@ import board_cfg_lib\nINCLUDE_HEADER = \"\"\"\n#include <board.h>\n#include <vtd.h>\n-#include <msr.h>\"\"\"\n+#include <msr.h>\n+#inc...
C
BSD 3-Clause New or Revised License
projectacrn/acrn-hypervisor
acrn-config: set up whitelist for board containing hide pci device Currently, config tool will maintain a whitelist for the board which need to hide some pci devices. For the board out of whitelist, we set MAX_HIDE_PDEVS_NUM to 0. Tracked-On: #3475 Signed-off-by: Wei Liu <weix.w.liu@intel.com> Acked-by: Victor Sun <v...
528,654
05.12.2019 19:35:23
-28,800
1e50ec88994021b40a4032a7ba48926aa2f6a8bc
hv: pci: use ECAM to access PCIe Configuration Space Use Enhanced Configuration Access Mechanism (MMIO) instead of PCI-compatible Configuration Mechanism (IO port) to access PCIe Configuration Space PCI-compatible Configuration Mechanism (IO port) access is used for UART in debug version.
[ { "change_type": "MODIFY", "old_path": "hypervisor/arch/x86/cpu.c", "new_path": "hypervisor/arch/x86/cpu.c", "diff": "@@ -165,6 +165,8 @@ void init_pcpu_pre(bool is_bsp)\npanic(\"Platform CAT info is incorrect!\");\n}\n+ /* NOTE: this must call after MMCONFIG is parsed in init_vboot and before APs a...
C
BSD 3-Clause New or Revised License
projectacrn/acrn-hypervisor
hv: pci: use ECAM to access PCIe Configuration Space Use Enhanced Configuration Access Mechanism (MMIO) instead of PCI-compatible Configuration Mechanism (IO port) to access PCIe Configuration Space PCI-compatible Configuration Mechanism (IO port) access is used for UART in debug version. Tracked-On: #3475 Signed-of...
528,768
06.01.2020 16:07:04
-28,800
ddebefb9b423eabcfcce4d14622285779790a0de
hv: remove depreciated code for hc_assign/deassign_ptdev 'param' is BDF value instead of GPA when VHM driver issues below 2 hypercalls: - HC_ASSIGN_PTEDEV - HC_DEASSIGN_PTDEV This patch is to remove related code in hc_assign/deassign() functions.
[ { "change_type": "MODIFY", "old_path": "hypervisor/common/hypercall.c", "new_path": "hypervisor/common/hypercall.c", "diff": "@@ -820,8 +820,6 @@ int32_t hcall_gpa_to_hpa(struct acrn_vm *vm, uint16_t vmid, uint64_t param)\n* @param vm Pointer to VM data structure\n* @param vmid ID of the VM\n* @para...
C
BSD 3-Clause New or Revised License
projectacrn/acrn-hypervisor
hv: remove depreciated code for hc_assign/deassign_ptdev 'param' is BDF value instead of GPA when VHM driver issues below 2 hypercalls: - HC_ASSIGN_PTEDEV - HC_DEASSIGN_PTDEV This patch is to remove related code in hc_assign/deassign() functions. Tracked-On: #4334 Signed-off-by: Yonghua Huang <yonghua.huan...
528,768
06.01.2020 16:16:30
-28,800
0e47f0a8f9d306b58ba744c266f64e8e84186b4f
hv: fix potential NULL pointer reference in hc_assgin_ptdev this patch validates input 'vdev->pdev' before reference to avoid potenial hypervisor crash. [v2] update: Combine condition check for 'vdev' and 'vdev->pdev'
[ { "change_type": "MODIFY", "old_path": "hypervisor/common/hypercall.c", "new_path": "hypervisor/common/hypercall.c", "diff": "@@ -836,7 +836,7 @@ int32_t hcall_assign_ptdev(struct acrn_vm *vm, uint16_t vmid, uint64_t param)\nspinlock_obtain(&vm->vpci.lock);\nvdev = pci_find_vdev(&vm->vpci, bdf);\n- ...
C
BSD 3-Clause New or Revised License
projectacrn/acrn-hypervisor
hv: fix potential NULL pointer reference in hc_assgin_ptdev this patch validates input 'vdev->pdev' before reference to avoid potenial hypervisor crash. [v2] update: Combine condition check for 'vdev' and 'vdev->pdev' Tracked-On: #4334 Signed-off-by: Yonghua Huang <yonghua.huang@intel.com> Reviewed-by: Fei Li <fe...
528,783
06.01.2020 16:08:46
-28,800
5267a9775c5a5445a012ed9a95413a156d75ca46
dm:replace perror with pr_err use acrn-dm logger function instread of perror, this helps the stability testing log capture.
[ { "change_type": "MODIFY", "old_path": "devicemodel/core/hugetlb.c", "new_path": "devicemodel/core/hugetlb.c", "diff": "@@ -175,7 +175,7 @@ static int open_hugetlbfs(struct vmctx *ctx, int level)\nstruct statfs fs;\nif (level >= HUGETLB_LV_MAX) {\n- perror(\"exceed max hugetlb level\");\n+ pr_err(\"...
C
BSD 3-Clause New or Revised License
projectacrn/acrn-hypervisor
dm:replace perror with pr_err use acrn-dm logger function instread of perror, this helps the stability testing log capture. Tracked-On: #4098 Signed-off-by: Mingqiang Chi <mingqiang.chi@intel.com>
528,708
08.01.2020 16:33:21
-28,800
88644ab708a475af153a5fcf16c5c54a5e6ca257
Doc: document update base on release_v1.5
[ { "change_type": "MODIFY", "old_path": "doc/getting-started/rt_industry.rst", "new_path": "doc/getting-started/rt_industry.rst", "diff": "@@ -6,8 +6,8 @@ Getting Started Guide for ACRN Industry Scenario\nVerified version\n****************\n-- Clear Linux version: **31670**\n-- ACRN-hypervisor tag: *...
C
BSD 3-Clause New or Revised License
projectacrn/acrn-hypervisor
Doc: document update base on release_v1.5 Signed-off-by: fuzhongl <fuzhong.liu@intel.com>
528,768
07.01.2020 11:44:17
-28,800
82b89fd04c7b3b15d6977e2bbb023a2cd8a108b5
hv: check the validity of 'pdev' in 'set_ptdev_intr_info' This patch checks the validity of 'vdev->pdev' to ensure physical device is linked to 'vdev'. this check is to avoid some potential hypervisor crash when destroying VM with crafted input.
[ { "change_type": "MODIFY", "old_path": "hypervisor/dm/vpci/vpci.c", "new_path": "hypervisor/dm/vpci/vpci.c", "diff": "@@ -581,7 +581,7 @@ void vpci_set_ptdev_intr_info(struct acrn_vm *target_vm, uint16_t vbdf, uint16_t\nsos_vm = get_sos_vm();\nspinlock_obtain(&sos_vm->vpci.lock);\nvdev = pci_find_vd...
C
BSD 3-Clause New or Revised License
projectacrn/acrn-hypervisor
hv: check the validity of 'pdev' in 'set_ptdev_intr_info' This patch checks the validity of 'vdev->pdev' to ensure physical device is linked to 'vdev'. this check is to avoid some potential hypervisor crash when destroying VM with crafted input. Tracked-On: #4336 Signed-off-by: Yonghua Huang <yonghua.huang@intel....
528,769
09.01.2020 06:27:39
0
5f1fa3cf1b182823c2e41668a314b64f986cd168
doc: change version info
[ { "change_type": "MODIFY", "old_path": "doc/tutorials/using_windows_as_uos.rst", "new_path": "doc/tutorials/using_windows_as_uos.rst", "diff": "@@ -5,6 +5,20 @@ Using Windows as Guest VM on ACRN\n#################################\nThis tutorial describes how to launch Windows as a Guest (WaaG) VM on...
C
BSD 3-Clause New or Revised License
projectacrn/acrn-hypervisor
doc: change version info Signed-off-by: fangfang.shen <fangfang.shen@intel.com>
528,730
09.01.2020 23:15:52
-28,800
9e244b1bb2ccf9806c4e10eb15c8e74a6f8c5ef1
doc: update getting start guide about clear linux version and ootb commands
[ { "change_type": "MODIFY", "old_path": "doc/getting-started/rt_industry.rst", "new_path": "doc/getting-started/rt_industry.rst", "diff": "@@ -21,10 +21,12 @@ for the RTVM.\n(refer to :ref:`the tables <hardware_setup>` for detailed information).\n- If you need to enable the serial port on KBL NUC, na...
C
BSD 3-Clause New or Revised License
projectacrn/acrn-hypervisor
doc: update getting start guide about clear linux version and ootb commands Signed-off-by: Shuang Zheng <shuang.zheng@intel.com>
528,794
07.01.2020 14:41:25
-28,800
545117731a5f7b1621f727e18e533823ecace7bf
doc: update some xml elements description
[ { "change_type": "MODIFY", "old_path": "doc/tutorials/acrn_configuration_tool.rst", "new_path": "doc/tutorials/acrn_configuration_tool.rst", "diff": "@@ -104,9 +104,9 @@ Additional scenario XML elements:\nSpecify the VM with VMID by its \"id\" attribute.\n``load_order``:\n- Specify the VM by its loa...
C
BSD 3-Clause New or Revised License
projectacrn/acrn-hypervisor
doc: update some xml elements description Signed-off-by: Victor Sun <victor.sun@intel.com>
528,667
07.01.2020 14:30:00
-28,800
db708fc3e856bf26c98f16580715ee4fdc0b11cd
hv: rename is_completion_polling to is_polling_ioreq is_polling_ioreq is more straightforward. Rename it. Acked-by: Eddie Dong
[ { "change_type": "MODIFY", "old_path": "hypervisor/arch/x86/guest/vm.c", "new_path": "hypervisor/arch/x86/guest/vm.c", "diff": "@@ -575,7 +575,7 @@ int32_t create_vm(uint16_t vm_id, struct acrn_vm_config *vm_config, struct acrn_\nvm->sw.io_shared_page = NULL;\nif ((vm_config->load_order == POST_LAUN...
C
BSD 3-Clause New or Revised License
projectacrn/acrn-hypervisor
hv: rename is_completion_polling to is_polling_ioreq is_polling_ioreq is more straightforward. Rename it. Tracked-On: #4329 Signed-off-by: Shuo A Liu <shuo.a.liu@intel.com> Acked-by: Eddie Dong <eddie.dong@intel.com>
528,667
08.01.2020 09:20:18
-28,800
3edde2608cac6d7571ac772349239eda10470ea3
hv: debug: show vcpu thread status in vcpu_list debug command Due to vcpu and its thread are two different perspective modules, each of them has its own status. Dump both states for better understanding of system status. Acked-by: Eddie Dong
[ { "change_type": "MODIFY", "old_path": "hypervisor/debug/shell.c", "new_path": "hypervisor/debug/shell.c", "diff": "@@ -637,12 +637,12 @@ static int32_t shell_list_vcpu(__unused int32_t argc, __unused char **argv)\nchar temp_str[MAX_STR_SIZE];\nstruct acrn_vm *vm;\nstruct acrn_vcpu *vcpu;\n- char st...
C
BSD 3-Clause New or Revised License
projectacrn/acrn-hypervisor
hv: debug: show vcpu thread status in vcpu_list debug command Due to vcpu and its thread are two different perspective modules, each of them has its own status. Dump both states for better understanding of system status. Tracked-On: #4329 Signed-off-by: Shuo A Liu <shuo.a.liu@intel.com> Acked-by: Eddie Dong <eddie.do...
528,667
10.01.2020 13:57:13
-28,800
b59e5a870ab4dfdcd3989a60b913c24f1d7e49bf
hv: Disable HLT and PAUSE-loop exiting emulation in lapic passthrough In lapic passthrough mode, it should passthrough HLT/PAUSE execution too. This patch disable their emulation when switch to lapic passthrough mode. Tested-by: Dongsheng Zhang Acked-by: Eddie Dong
[ { "change_type": "MODIFY", "old_path": "hypervisor/arch/x86/guest/vmcs.c", "new_path": "hypervisor/arch/x86/guest/vmcs.c", "diff": "@@ -599,11 +599,13 @@ void switch_apicv_mode_x2apic(struct acrn_vcpu *vcpu)\nvalue32 = exec_vmread32(VMX_PROC_VM_EXEC_CONTROLS);\nvalue32 &= ~VMX_PROCBASED_CTLS_TPR_SHA...
C
BSD 3-Clause New or Revised License
projectacrn/acrn-hypervisor
hv: Disable HLT and PAUSE-loop exiting emulation in lapic passthrough In lapic passthrough mode, it should passthrough HLT/PAUSE execution too. This patch disable their emulation when switch to lapic passthrough mode. Tracked-On: #4329 Tested-by: Dongsheng Zhang <dongsheng.x.zhang@intel.com> Signed-off-by: Shuo A Liu...
528,768
09.01.2020 20:48:43
-28,800
fd4775d0446097d6ebd1b820b2239c2e8cc39a2f
hv: rename VECTOR_XXX and XXX_IRQ Macros 1. Align the coding style for these MACROs 2. Align the values of fixed VECTORs
[ { "change_type": "MODIFY", "old_path": "hypervisor/arch/x86/cpu.c", "new_path": "hypervisor/arch/x86/cpu.c", "diff": "@@ -360,7 +360,7 @@ void make_pcpu_offline(uint16_t pcpu_id)\n{\nbitmap_set_lock(NEED_OFFLINE, &per_cpu(pcpu_flag, pcpu_id));\nif (get_pcpu_id() != pcpu_id) {\n- send_single_ipi(pcpu...
C
BSD 3-Clause New or Revised License
projectacrn/acrn-hypervisor
hv: rename VECTOR_XXX and XXX_IRQ Macros 1. Align the coding style for these MACROs 2. Align the values of fixed VECTORs Tracked-On: #4348 Signed-off-by: Yonghua Huang <yonghua.huang@intel.com>
528,730
16.01.2020 19:41:36
-28,800
a631c94c10aca1ad339b43ed090767a7a04ec994
doc: reset clear linux version and ootb command in getting start guide
[ { "change_type": "MODIFY", "old_path": "doc/getting-started/rt_industry.rst", "new_path": "doc/getting-started/rt_industry.rst", "diff": "@@ -21,10 +21,12 @@ for the RTVM.\n(refer to :ref:`the tables <hardware_setup>` for detailed information).\n- If you need to enable the serial port on KBL NUC, na...
C
BSD 3-Clause New or Revised License
projectacrn/acrn-hypervisor
doc: reset clear linux version and ootb command in getting start guide Signed-off-by: Shuang Zheng <shuang.zheng@intel.com>
528,652
09.01.2020 15:17:02
28,800
086e0f19d8dd439209618c01bf36c0152be26a7f
hv: fix pcpu_id mask issue in smp_call_function() INVALID_BIT_INDEX has 16 bits only, which removes all pcpu_id that is >= 16 from the destination mask.
[ { "change_type": "MODIFY", "old_path": "hypervisor/arch/x86/notify.c", "new_path": "hypervisor/arch/x86/notify.c", "diff": "@@ -43,7 +43,7 @@ void smp_call_function(uint64_t mask, smp_call_func_t func, void *data)\nstruct smp_call_info_data *smp_call;\n/* wait for previous smp call complete, which m...
C
BSD 3-Clause New or Revised License
projectacrn/acrn-hypervisor
hv: fix pcpu_id mask issue in smp_call_function() INVALID_BIT_INDEX has 16 bits only, which removes all pcpu_id that is >= 16 from the destination mask. Tracked-On: #4354 Signed-off-by: Zide Chen <zide.chen@intel.com>
528,804
05.12.2019 15:22:03
-28,800
10c407cc853120c4487dd747ff6bb034cfc1f185
HV: init local variable before it is used. it is better to init bdfs_from_drhds.pci_bdf_map_count before it is passed to other function to do: bdfs_from_drhds->pci_bdf_map_count++
[ { "change_type": "MODIFY", "old_path": "hypervisor/hw/pci.c", "new_path": "hypervisor/hw/pci.c", "diff": "@@ -440,7 +440,7 @@ static void pci_parse_iommu_devscopes(struct pci_bdf_set *const bdfs_from_drhds,\nvoid init_pci_pdev_list(void)\n{\nuint64_t buses_visited[BUSES_BITMAP_LEN] = {0UL};\n- struc...
C
BSD 3-Clause New or Revised License
projectacrn/acrn-hypervisor
HV: init local variable before it is used. it is better to init bdfs_from_drhds.pci_bdf_map_count before it is passed to other function to do: bdfs_from_drhds->pci_bdf_map_count++ Tracked-On: #3875 Signed-off-by: Minggui Cao <minggui.cao@intel.com> Reviewed-by: Fei Li <fei1.li@intel.com>
528,702
21.01.2020 00:37:20
-28,800
54e9b562b4a994e37ddaa8cd9947368d08379f10
doc: Modify CL version from 32030 to 31670
[ { "change_type": "MODIFY", "old_path": "doc/getting-started/rt_industry.rst", "new_path": "doc/getting-started/rt_industry.rst", "diff": "@@ -48,7 +48,7 @@ for the RTVM.\n#. Unmount all the ``/dev/sdc`` partitions and burn the image onto the USB drive::\n$ umount /dev/sdc* 2>/dev/null\n- $ sudo dd i...
C
BSD 3-Clause New or Revised License
projectacrn/acrn-hypervisor
doc: Modify CL version from 32030 to 31670 Signed-off-by: Xie, nanlin <nanlin.xie@intel.com>
528,728
20.01.2020 15:05:03
-3,600
1f6c0cd439ef1818a8821b743c17d16714701c96
doc: update project's target max LOC Project ACRN is targetting to keep the hypervisor's total number of lines of code (LOC) below 40K. Update the "Build ACRN from Source" document to accurately reflect that.
[ { "change_type": "MODIFY", "old_path": "doc/getting-started/building-from-source.rst", "new_path": "doc/getting-started/building-from-source.rst", "diff": "@@ -36,7 +36,8 @@ the ACRN hypervisor for the following reasons:\n- **Keep small footprint.** Implementing dynamic parsing introduces\nhundreds ...
C
BSD 3-Clause New or Revised License
projectacrn/acrn-hypervisor
doc: update project's target max LOC Project ACRN is targetting to keep the hypervisor's total number of lines of code (LOC) below 40K. Update the "Build ACRN from Source" document to accurately reflect that. Signed-off-by: Geoffroy Van Cutsem <geoffroy.vancutsem@intel.com>
528,724
24.01.2020 11:04:54
28,800
ef1c92e841775f6da991774061fe801bb0e173c5
fix typos in script
[ { "change_type": "MODIFY", "old_path": "misc/acrn-config/board_config/new_board_kconfig.py", "new_path": "misc/acrn-config/board_config/new_board_kconfig.py", "diff": "@@ -72,7 +72,7 @@ def get_ram_range():\ndef get_serial_type():\n- \"\"\" Get the serial type of consle which set by user \"\"\"\n+ \...
C
BSD 3-Clause New or Revised License
projectacrn/acrn-hypervisor
fix typos in script Tracked-On: #4388 Signed-off-by: Alexander Merritt <alex.merritt@intel.com>
528,724
24.01.2020 13:17:56
28,800
2e10930d128dd2260d2211bb454047e4331229f6
Python scripts discovering CPU IDs are off by 1
[ { "change_type": "MODIFY", "old_path": "misc/acrn-config/target/misc.py", "new_path": "misc/acrn-config/target/misc.py", "diff": "@@ -201,7 +201,7 @@ def dump_cpu_core_info(config):\nprint(\"\\t{}\".format(processor_id), end=\"\", file=config)\nprocessor_id += 1\n- while (processor_id < int(line.spl...
C
BSD 3-Clause New or Revised License
projectacrn/acrn-hypervisor
Python scripts discovering CPU IDs are off by 1 Tracked-On: #4387 Signed-off-by: Alexander Merritt <alex.merritt@intel.com>
528,724
29.01.2020 11:53:05
28,800
920f02706ac5ffdafb735933a2ce073c4c5f0551
acrn: rename param in uart16550_init
[ { "change_type": "MODIFY", "old_path": "hypervisor/debug/uart16550.c", "new_path": "hypervisor/debug/uart16550.c", "diff": "@@ -193,13 +193,13 @@ static void uart16550_set_baud_rate(uint32_t baud_rate)\nuart16550_write_reg(uart, temp_reg, UART16550_LCR);\n}\n-void uart16550_init(bool eraly_boot)\n+v...
C
BSD 3-Clause New or Revised License
projectacrn/acrn-hypervisor
acrn: rename param in uart16550_init Tracked-On: #4390 Signed-off-by: Alexander Merritt <alex.merritt@intel.com>
528,724
24.01.2020 10:45:13
28,800
8ddbfc268ccac71add7c40137b79562e3bc230ba
acrn: add pxelinux as known bootloader
[ { "change_type": "MODIFY", "old_path": "hypervisor/boot/guest/vboot_wrapper.c", "new_path": "hypervisor/boot/guest/vboot_wrapper.c", "diff": "#include <deprivilege_boot.h>\n#include <logmsg.h>\n-#define BOOTLOADER_NUM 4U\n+#define BOOTLOADER_NUM 5U\n#define BOOTLOADER_NAME_SIZE 20U\nstruct vboot_boo...
C
BSD 3-Clause New or Revised License
projectacrn/acrn-hypervisor
acrn: add pxelinux as known bootloader Tracked-On: #4389 Signed-off-by: Alexander Merritt <alex.merritt@intel.com>
528,708
13.02.2020 16:44:30
-28,800
cf3544b4ec22934aad57461541af01c0d7797c15
Doc: VM2 vCPU affinity info update Update VM2 vCPU affinity info to match with the picture of cpu_sharing
[ { "change_type": "MODIFY", "old_path": "doc/tutorials/cpu_sharing.rst", "new_path": "doc/tutorials/cpu_sharing.rst", "diff": "@@ -33,7 +33,7 @@ Here is an example for affinity:\n- VM0: 2 vCPUs, pinned to pCPU0 and pCPU1\n- VM1: 2 vCPUs, pinned to pCPU2 and pCPU3\n-- VM2: 2 vCPUs, pinned to pCPU2 and...
C
BSD 3-Clause New or Revised License
projectacrn/acrn-hypervisor
Doc: VM2 vCPU affinity info update Update VM2 vCPU affinity info to match with the picture of cpu_sharing Signed-off-by: fuzhongl <fuzhong.liu@intel.com>
528,653
15.02.2020 16:33:07
0
1303861d26dcd5f3a3073b564a7c25e037d93b93
hv:enable gpu iommu except APL platforms To enable gvt-d,need to allow the GPU IOMMU. While gvt-d hasn't been enabled on APL yet, so let APL disable GPU IOMMU. v2 -> v3: * let APL platforms disable GPU IOMMU.
[ { "change_type": "MODIFY", "old_path": "hypervisor/arch/x86/cpu_caps.c", "new_path": "hypervisor/arch/x86/cpu_caps.c", "diff": "@@ -113,6 +113,17 @@ static bool is_ctrl_setting_allowed(uint64_t msr_val, uint32_t ctrl)\nreturn ((((uint32_t)(msr_val >> 32UL)) & ctrl) == ctrl);\n}\n+bool is_apl_platfor...
C
BSD 3-Clause New or Revised License
projectacrn/acrn-hypervisor
hv:enable gpu iommu except APL platforms To enable gvt-d,need to allow the GPU IOMMU. While gvt-d hasn't been enabled on APL yet, so let APL disable GPU IOMMU. v2 -> v3: * let APL platforms disable GPU IOMMU. Tracked-On: #4405 Signed-off-by: Junming Liu <junming.liu@intel.com> Reviewed-by: Wu Binbin <binbin...
528,709
20.02.2020 14:13:54
-28,800
170aa935bd0415ddeb91147750c4a3cdffa45bd1
acrn-config: add P2SB device to whitelist for apl-mrb apl-mrb need to access P2SB device, so add 00:0d.0 P2SB device to whitelist for platform pci hidden device. 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": "@@ -35,6 +35,7 @@ HEADER_LICENSE = common.open_license() + \"\\n\"\n# The data base contains hide pci device\nKNOWN_HIDDEN_PDEVS_BOARD_DB = {\n+ 'apl-...
C
BSD 3-Clause New or Revised License
projectacrn/acrn-hypervisor
acrn-config: add P2SB device to whitelist for apl-mrb apl-mrb need to access P2SB device, so add 00:0d.0 P2SB device to whitelist for platform pci hidden device. Tracked-On: #3475 Signed-off-by: Wei Liu <weix.w.liu@intel.com> Reviewed-by: Binbin Wu <binbin.wu@intel.com> Acked-by: Victor Sun <victor.sun@intel.com>
528,709
20.02.2020 14:34:08
-28,800
f3a4b2325f713a3d5886b7c8c3a42343f14e35b6
hv: add P2SB device to whitelist for apl-mrb apl-mrb need to access P2SB device, so add 00:0d.0 P2SB device to whitelist for platform pci hidden device. Acked-by: Victor Sun
[ { "change_type": "MODIFY", "old_path": "hypervisor/arch/x86/configs/apl-mrb/board.c", "new_path": "hypervisor/arch/x86/configs/apl-mrb/board.c", "diff": "struct dmar_info plat_dmar_info;\nstruct platform_clos_info platform_clos_array[MAX_PLATFORM_CLOS_NUM];\nconst struct cpu_state_table board_cpu_st...
C
BSD 3-Clause New or Revised License
projectacrn/acrn-hypervisor
hv: add P2SB device to whitelist for apl-mrb apl-mrb need to access P2SB device, so add 00:0d.0 P2SB device to whitelist for platform pci hidden device. Tracked-On: #3475 Signed-off-by: Wei Liu <weix.w.liu@intel.com> Reviewed-by: Binbin Wu <binbin.wu@intel.com> Acked-by: Victor Sun <victor.sun@intel.com>
528,733
21.02.2020 08:45:33
-28,800
2ca01206f3529449b24c077497d0ea2794a8ca26
Makefile: fix build issue on old gcc The previous fcf-protection fix broke the old gcc (older than gcc 8 which is common on Ubuntu 18.04 and older distributions). We only add fcf-protection=none for gcc8 and newer.
[ { "change_type": "MODIFY", "old_path": "hypervisor/Makefile", "new_path": "hypervisor/Makefile", "diff": "@@ -102,7 +102,9 @@ endif\n# https://bugs.launchpad.net/ubuntu/+source/gcc-9/+bug/1830961\n#\n# We disable the -fcf-protection in ACRN build.\n+ifeq (true, $(shell [ $(GCC_MAJOR) -gt 8 ] && echo...
C
BSD 3-Clause New or Revised License
projectacrn/acrn-hypervisor
Makefile: fix build issue on old gcc The previous fcf-protection fix broke the old gcc (older than gcc 8 which is common on Ubuntu 18.04 and older distributions). We only add fcf-protection=none for gcc8 and newer. Tracked-On: #4358 Signed-off-by: Yin Fengwei <fengwei.yin@intel.com>
528,654
17.01.2020 18:16:47
-28,800
9fa6eff3c5281a01b8c4398bbdb409fd3fe1bfe0
dm: vPCI: remove passthrough PCI device unused code Now we split passthrough PCI device from DM to HV, we could remove all the passthrough PCI device unused code. Acked-by: Eddie Dong
[ { "change_type": "MODIFY", "old_path": "devicemodel/core/vmmapi.c", "new_path": "devicemodel/core/vmmapi.c", "diff": "@@ -457,28 +457,6 @@ vm_set_gsi_irq(struct vmctx *ctx, int gsi, uint32_t operation)\nreturn ioctl(ctx->fd, IC_SET_IRQLINE, *req);\n}\n-int\n-vm_assign_ptdev(struct vmctx *ctx, int bu...
C
BSD 3-Clause New or Revised License
projectacrn/acrn-hypervisor
dm: vPCI: remove passthrough PCI device unused code Now we split passthrough PCI device from DM to HV, we could remove all the passthrough PCI device unused code. Tracked-On: #4371 Signed-off-by: Li Fei1 <fei1.li@intel.com> Acked-by: Eddie Dong <eddie.dong@intel.com>
528,654
17.01.2020 18:31:18
-28,800
e8479f84cd422280eab42cec10697eb6ec937aec
hv: vPCI: remove passthrough PCI device unuse code Now we split passthrough PCI device from DM to HV, we could remove all the passthrough PCI device unused code. Acked-by: Eddie Dong
[ { "change_type": "MODIFY", "old_path": "doc/developer-guides/hld/hv-dev-passthrough.rst", "new_path": "doc/developer-guides/hld/hv-dev-passthrough.rst", "diff": "@@ -251,9 +251,6 @@ for UOS.\n.. doxygenfunction:: ptirq_remove_intx_remapping\n:project: Project ACRN\n-.. doxygenfunction:: ptirq_add_ms...
C
BSD 3-Clause New or Revised License
projectacrn/acrn-hypervisor
hv: vPCI: remove passthrough PCI device unuse code Now we split passthrough PCI device from DM to HV, we could remove all the passthrough PCI device unused code. Tracked-On: #4371 Signed-off-by: Li Fei1 <fei1.li@intel.com> Acked-by: Eddie Dong <eddie.dong@intel.com>
528,654
17.01.2020 18:39:07
-28,800
9d3d9c3d1e3bf13529a43dd17d0dad97db340010
dm: vpci: restrict SOS access assigned PCI device SOS should not access the physical PCI device which is assigned to other guest. Acked-by: Eddie Dong
[ { "change_type": "MODIFY", "old_path": "devicemodel/hw/pci/passthrough.c", "new_path": "devicemodel/hw/pci/passthrough.c", "diff": "@@ -395,6 +395,7 @@ passthru_init(struct vmctx *ctx, struct pci_vdev *dev, char *opts)\nbool keep_gsi = false;\nbool need_reset = true;\nstruct acrn_assign_pcidev pcide...
C
BSD 3-Clause New or Revised License
projectacrn/acrn-hypervisor
dm: vpci: restrict SOS access assigned PCI device SOS should not access the physical PCI device which is assigned to other guest. Tracked-On: #4371 Signed-off-by: Li Fei1 <fei1.li@intel.com> Acked-by: Eddie Dong <eddie.dong@intel.com>
528,654
17.01.2020 18:47:55
-28,800
fbe57d9f0bf42f8eedb247325fedba237c6eeeb5
hv: vpci: restrict SOS access assigned PCI device SOS should not access the physical PCI device which is assigned to other guest.
[ { "change_type": "MODIFY", "old_path": "hypervisor/dm/vpci/vmsix.c", "new_path": "hypervisor/dm/vpci/vmsix.c", "diff": "@@ -194,10 +194,8 @@ int32_t vmsix_handle_table_mmio_access(struct io_request *io_req, void *handler_\nvoid *hva;\nvdev = (struct pci_vdev *)handler_private_data;\n- /* This device...
C
BSD 3-Clause New or Revised License
projectacrn/acrn-hypervisor
hv: vpci: restrict SOS access assigned PCI device SOS should not access the physical PCI device which is assigned to other guest. Tracked-On: #4371 Signed-off-by: Li Fei1 <fei1.li@intel.com>
528,706
06.02.2020 16:02:10
0
e05eb42c1ed53b7c01fa4428eb07d49fdcb32582
hv: sched_bvt: add init and deinit function Add init function for bvt scheduler, creating a runqueue and a period timer, the timer interval is default as 1ms. The interval is the minimum charging unit. Acked-by: Eddie Dong
[ { "change_type": "MODIFY", "old_path": "hypervisor/common/sched_bvt.c", "new_path": "hypervisor/common/sched_bvt.c", "diff": "@@ -30,17 +30,52 @@ struct sched_bvt_data {\nuint64_t start_tsc;\n};\n-static int sched_bvt_init(__unused struct sched_control *ctl)\n+static void sched_tick_handler(__unused...
C
BSD 3-Clause New or Revised License
projectacrn/acrn-hypervisor
hv: sched_bvt: add init and deinit function Add init function for bvt scheduler, creating a runqueue and a period timer, the timer interval is default as 1ms. The interval is the minimum charging unit. Tracked-On: #4410 Signed-off-by: Conghui Chen <conghui.chen@intel.com> Signed-off-by: Shuo A Liu <shuo.a.liu@intel....
528,706
10.02.2020 16:36:44
0
ad606102d2c16702cf3e908a6028d752e53f9fd5
hv: sched_bvt: add tick hanlder Count down number will be decreased at each tick, when it comes to zero, it will trigger reschedule. Acked-by: Eddie Dong
[ { "change_type": "MODIFY", "old_path": "hypervisor/common/sched_bvt.c", "new_path": "hypervisor/common/sched_bvt.c", "diff": "@@ -113,8 +113,33 @@ static int64_t get_svt(struct thread_object *obj)\nreturn svt;\n}\n-static void sched_tick_handler(__unused void *param)\n+static void sched_tick_handler...
C
BSD 3-Clause New or Revised License
projectacrn/acrn-hypervisor
hv: sched_bvt: add tick hanlder Count down number will be decreased at each tick, when it comes to zero, it will trigger reschedule. Tracked-On: #4410 Signed-off-by: Conghui Chen <conghui.chen@intel.com> Signed-off-by: Shuo A Liu <shuo.a.liu@intel.com> Acked-by: Eddie Dong <eddie.dong@intel.com>
528,794
17.02.2020 10:30:38
-28,800
d008b72fdd1243b0d0a279f68b040c53b17266ae
HV: add multiboot2 header info Add multiboot2 header info in HV image so that bootloader could recognize it. Acked-by: Eddie Dong
[ { "change_type": "MODIFY", "old_path": "hypervisor/Makefile", "new_path": "hypervisor/Makefile", "diff": "@@ -107,6 +107,9 @@ CFLAGS += -fcf-protection=none\nendif\nASFLAGS += -m64 -nostdinc -nostdlib\n+ifeq (y, $(CONFIG_MULTIBOOT2))\n+ASFLAGS += -DCONFIG_MULTIBOOT2\n+endif\nLDFLAGS += -Wl,--gc-sect...
C
BSD 3-Clause New or Revised License
projectacrn/acrn-hypervisor
HV: add multiboot2 header info Add multiboot2 header info in HV image so that bootloader could recognize it. Tracked-On: #4419 Signed-off-by: Victor Sun <victor.sun@intel.com> Acked-by: Eddie Dong <eddie.dong@intel.com>
528,794
17.02.2020 10:36:08
-28,800
b669a719319cdf391ecc05140ef825bde5fc0e78
HV: init mmap info with multiboot2 Initialize mmap info of acrn mbi when boot from multiboot2 protocol, with this patch acrn hv could boot from multiboot2; Acked-by: Eddie Dong
[ { "change_type": "MODIFY", "old_path": "hypervisor/Makefile", "new_path": "hypervisor/Makefile", "diff": "@@ -197,6 +197,9 @@ BOOT_S_SRCS += arch/x86/boot/cpu_primary.S\nBOOT_S_SRCS += arch/x86/boot/cpu_save_boot_ctx.S\nBOOT_S_SRCS += arch/x86/boot/trampoline.S\nBOOT_C_SRCS += boot/multiboot.c\n+ife...
C
BSD 3-Clause New or Revised License
projectacrn/acrn-hypervisor
HV: init mmap info with multiboot2 Initialize mmap info of acrn mbi when boot from multiboot2 protocol, with this patch acrn hv could boot from multiboot2; Tracked-On: #4419 Signed-off-by: Victor Sun <victor.sun@intel.com> Acked-by: Eddie Dong <eddie.dong@intel.com>
528,794
17.02.2020 10:48:16
-28,800
69da0243f5dad7a5df562a4be0588da97cb0baef
HV: init module and rsdp info with multiboot2 Initialize module info and ACPI rsdp info of acrn mbi when boot from multiboot2 protocol, with this patch SOS VM could be loaded sucessfully with correct ACPI RSDP; Acked-by: Eddie Dong
[ { "change_type": "MODIFY", "old_path": "hypervisor/arch/x86/boot/cpu_primary.S", "new_path": "hypervisor/arch/x86/boot/cpu_primary.S", "diff": "@@ -61,6 +61,8 @@ info_req_tag_start:\n.short 0\n.long info_req_tag_end - info_req_tag_start\n.long MULTIBOOT2_TAG_TYPE_MMAP\n+ .long MULTIBOOT2_TAG_TYPE_MO...
C
BSD 3-Clause New or Revised License
projectacrn/acrn-hypervisor
HV: init module and rsdp info with multiboot2 Initialize module info and ACPI rsdp info of acrn mbi when boot from multiboot2 protocol, with this patch SOS VM could be loaded sucessfully with correct ACPI RSDP; Tracked-On: #4419 Signed-off-by: Victor Sun <victor.sun@intel.com> Acked-by: Eddie Dong <eddie.dong@intel....
528,794
19.02.2020 16:12:55
-28,800
da3d181f6223b1d611d7457f75e9ec88c9b41753
HV: init efi info with multiboot2 Initialize efi info of acrn mbi when boot from multiboot2 protocol, with this patch hypervisor could get host efi info and pass it to Linux zeropage, then make guest Linux possible to boot with efi environment; Acked-by: Eddie Dong
[ { "change_type": "MODIFY", "old_path": "hypervisor/arch/x86/boot/cpu_primary.S", "new_path": "hypervisor/arch/x86/boot/cpu_primary.S", "diff": "@@ -63,6 +63,8 @@ info_req_tag_start:\n.long MULTIBOOT2_TAG_TYPE_MMAP\n.long MULTIBOOT2_TAG_TYPE_MODULE\n.long MULTIBOOT2_TAG_TYPE_ACPI_NEW\n+ .long MULTIBO...
C
BSD 3-Clause New or Revised License
projectacrn/acrn-hypervisor
HV: init efi info with multiboot2 Initialize efi info of acrn mbi when boot from multiboot2 protocol, with this patch hypervisor could get host efi info and pass it to Linux zeropage, then make guest Linux possible to boot with efi environment; Tracked-On: #4419 Signed-off-by: Victor Sun <victor.sun@intel.com> Acked...
528,723
17.02.2020 07:13:56
28,800
2597429903b541f7578dd32854c7d1a5a6fa949a
HV: Rename cat.c/.h files to rdt.c/.h As part of rdt cat refactoring, goal is to combine all rdt specific features such as CAT under one module. So renaming rdt resouce specific files such as cat.c/.h to generic rdt.c/.h files. Acked-by: Eddie Dong
[ { "change_type": "MODIFY", "old_path": "hypervisor/Makefile", "new_path": "hypervisor/Makefile", "diff": "@@ -224,7 +224,7 @@ HW_C_SRCS += arch/x86/pm.c\nHW_S_SRCS += arch/x86/wakeup.S\nHW_C_SRCS += arch/x86/trampoline.c\nHW_S_SRCS += arch/x86/sched.S\n-HW_C_SRCS += arch/x86/cat.c\n+HW_C_SRCS += arc...
C
BSD 3-Clause New or Revised License
projectacrn/acrn-hypervisor
HV: Rename cat.c/.h files to rdt.c/.h As part of rdt cat refactoring, goal is to combine all rdt specific features such as CAT under one module. So renaming rdt resouce specific files such as cat.c/.h to generic rdt.c/.h files. Tracked-On: #3715 Signed-off-by: Vijay Dhanraj <vijay.dhanraj@intel.com> Acked-by: Eddie D...
528,723
19.02.2020 23:46:54
28,800
cef3322da872deccbb48ef410ae2e509f6a13510
HV: Add WhiskeyLake board configuration files This patch adds offline tool generated WhiskeyLake board configurations files. Acked-by: Eddie Dong
[ { "change_type": "ADD", "old_path": null, "new_path": "hypervisor/arch/x86/configs/whl-ipc-i5.config", "diff": "+\n+# New board kconfig generated by vm config tool\n+# Modified by Kconfiglib (https://github.com/ulfalizer/Kconfiglib)\n+\n+CONFIG_BOARD=\"whl-ipc-i5\"\n+CONFIG_SERIAL_LEGACY=y\n+CONFIG_...
C
BSD 3-Clause New or Revised License
projectacrn/acrn-hypervisor
HV: Add WhiskeyLake board configuration files This patch adds offline tool generated WhiskeyLake board configurations files. Tracked-On: #3715 Signed-off-by: Vijay Dhanraj <vijay.dhanraj@intel.com> Acked-by: Eddie Dong <eddie.dong@intel.com>
528,709
27.12.2019 16:35:26
-28,800
0427de5ec405f75c6ec694cc02504436169ef21c
acrn-config: Kata VM is not supported on dual-core systems KATA VM is not supported on dual-core systems override the MAX_KATA_VM_NUM to 0. Acked-by: Victor Sun
[ { "change_type": "MODIFY", "old_path": "misc/acrn-config/board_config/new_board_kconfig.py", "new_path": "misc/acrn-config/board_config/new_board_kconfig.py", "diff": "@@ -145,4 +145,9 @@ def generate_file(config):\nprint(\"CONFIG_HV_RAM_START={}\".format(hex(hv_start_addr)), file=config)\nprint(\"C...
C
BSD 3-Clause New or Revised License
projectacrn/acrn-hypervisor
acrn-config: Kata VM is not supported on dual-core systems KATA VM is not supported on dual-core systems override the MAX_KATA_VM_NUM to 0. Tracked-On: #4319 Signed-off-by: Wei Liu <weix.w.liu@intel.com> Acked-by: Victor Sun <victor.sun@intel.com>
528,653
26.02.2020 09:55:51
0
96f92373cd4187921eb05b1a0c1ff46ef28de2a1
hv:refine comment about intel integrated gpu dmar The dedicated DMAR unit for Intel integrated GPU shall be available on the physical platform. So remove the assert and add application constraint in handle_one_drhd func.
[ { "change_type": "MODIFY", "old_path": "hypervisor/acpi_parser/dmar_parse.c", "new_path": "hypervisor/acpi_parser/dmar_parse.c", "diff": "@@ -176,6 +176,10 @@ get_drhd_dev_scope_cnt(struct acpi_dmar_hardware_unit *drhd)\nreturn count;\n}\n+/**\n+ * @Application constraint: The dedicated DMAR unit fo...
C
BSD 3-Clause New or Revised License
projectacrn/acrn-hypervisor
hv:refine comment about intel integrated gpu dmar The dedicated DMAR unit for Intel integrated GPU shall be available on the physical platform. So remove the assert and add application constraint in handle_one_drhd func. Tracked-On: #4405 Signed-off-by: Junming Liu <junming.liu@intel.com> Reviewed-by: Wu Binbin <bin...
528,756
17.02.2020 15:02:22
-28,800
ac1477956c4bd416651d242c05fb17637aced5f5
hv: implement SRIOV-Capable device detection. if the device has PCIe capability, walks all PCIe extended capabilities for SRIOV discovery. v2: avoid type casting and refine naming. Acked-by: Eddie Dong
[ { "change_type": "MODIFY", "old_path": "hypervisor/hw/pci.c", "new_path": "hypervisor/hw/pci.c", "diff": "@@ -477,6 +477,31 @@ static inline uint32_t pci_pdev_get_nr_bars(uint8_t hdr_type)\nreturn nr_bars;\n}\n+/**\n+ * @pre pdev != NULL\n+ */\n+static void pci_read_ext_cap(struct pci_pdev *pdev) {\...
C
BSD 3-Clause New or Revised License
projectacrn/acrn-hypervisor
hv: implement SRIOV-Capable device detection. if the device has PCIe capability, walks all PCIe extended capabilities for SRIOV discovery. v2: avoid type casting and refine naming. Tracked-On: #4433 Signed-off-by: Yuan Liu <yuan1.liu@intel.com> Acked-by: Eddie Dong <eddie.dong@intel.com>
528,756
20.02.2020 09:05:17
-28,800
14931d11e07349ab15daeb45610fdb7c8f52ebf8
hv: add SRIOV capability read/write entries Introduce SRIOV capability field for pci_vdev and add SRIOV capability interception entries. Acked-by: Eddie Dong
[ { "change_type": "MODIFY", "old_path": "hypervisor/Makefile", "new_path": "hypervisor/Makefile", "diff": "@@ -294,6 +294,7 @@ VP_DM_C_SRCS += dm/vpci/vpci_bridge.c\nVP_DM_C_SRCS += dm/vpci/pci_pt.c\nVP_DM_C_SRCS += dm/vpci/vmsi.c\nVP_DM_C_SRCS += dm/vpci/vmsix.c\n+VP_DM_C_SRCS += dm/vpci/vsriov.c\nV...
C
BSD 3-Clause New or Revised License
projectacrn/acrn-hypervisor
hv: add SRIOV capability read/write entries Introduce SRIOV capability field for pci_vdev and add SRIOV capability interception entries. Tracked-On: #4433 Signed-off-by: Yuan Liu <yuan1.liu@intel.com> Acked-by: Eddie Dong <eddie.dong@intel.com>
528,706
13.01.2020 10:03:58
0
595cefe3f2647e1a02e842cdc2780c6297978b18
hv: xsave: move assembler to individual function Current code avoid the rule 88 S in MISRA-C, so move xsaves and xrstors assembler to individual functions. Acked-by: Eddie Dong
[ { "change_type": "MODIFY", "old_path": "hypervisor/arch/x86/guest/vcpu.c", "new_path": "hypervisor/arch/x86/guest/vcpu.c", "diff": "@@ -729,22 +729,14 @@ void save_xsave_area(struct ext_context *ectx)\n{\nectx->xcr0 = read_xcr(0);\nectx->xss = msr_read(MSR_IA32_XSS);\n- asm volatile(\"xsaves %0\"\n-...
C
BSD 3-Clause New or Revised License
projectacrn/acrn-hypervisor
hv: xsave: move assembler to individual function Current code avoid the rule 88 S in MISRA-C, so move xsaves and xrstors assembler to individual functions. Tracked-On: #4436 Signed-off-by: Conghui Chen <conghui.chen@intel.com> Acked-by: Eddie Dong <eddie.dong@intel.com>
528,654
25.02.2020 16:13:50
-28,800
be1e3acb015bdb7d6c4c04e604872cb75abc6648
dm: remove vdev_update_bar_map callback for PCIe device Since this callback is only useful for pass through PCIe device and now pass through PCIe device emulation has splited from DM to HV. we could remove this callback now.
[ { "change_type": "MODIFY", "old_path": "devicemodel/hw/pci/core.c", "new_path": "devicemodel/hw/pci/core.c", "diff": "@@ -689,7 +689,6 @@ update_bar_address(struct vmctx *ctx, struct pci_vdev *dev, uint64_t addr,\nint idx, int type, bool ignore_reg_unreg)\n{\nbool decode = false;\n- uint64_t orig_ad...
C
BSD 3-Clause New or Revised License
projectacrn/acrn-hypervisor
dm: remove vdev_update_bar_map callback for PCIe device Since this callback is only useful for pass through PCIe device and now pass through PCIe device emulation has splited from DM to HV. we could remove this callback now. Tracked-On: #4371 Signed-off-by: Li Fei1 <fei1.li@intel.com>