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,648
12.02.2019 09:44:04
-28,800
66d9f913e5ecd653cbc665a5d2a2720b570145aa
add build option on the using_sbl_on_up2.rst
[ { "change_type": "MODIFY", "old_path": "doc/tutorials/using_sbl_on_up2.rst", "new_path": "doc/tutorials/using_sbl_on_up2.rst", "diff": "@@ -117,8 +117,8 @@ Build SOS and LaaG image:\nYou must have root privileges to run ``create-up2-images.sh``.\n.. note::\n- Please modify the ``--acrn-code-path`` a...
C
BSD 3-Clause New or Revised License
projectacrn/acrn-hypervisor
add build option on the using_sbl_on_up2.rst
528,747
10.02.2019 20:12:41
28,800
9a6d79883b0ab87d046bbe26f01a8776be8be6c5
doc: initial draft of 0.6 release notes Initial draft of release notes provided by Nanlin.
[ { "change_type": "ADD", "old_path": null, "new_path": "doc/release_notes_0.6.rst", "diff": "+.. _release_notes_0.6:\n+\n+ACRN v0.6 (Feb 2019)\n+####################\n+\n+We are pleased to announce the release of Project ACRN version 0.6.\n+\n+ACRN is a flexible, lightweight reference hypervisor, bui...
C
BSD 3-Clause New or Revised License
projectacrn/acrn-hypervisor
doc: initial draft of 0.6 release notes Initial draft of release notes provided by Nanlin. Signed-off-by: David B. Kinder <david.b.kinder@intel.com>
528,782
01.02.2019 11:47:24
-28,800
39df560a1cd0dd60c90c82f072d04c43d861a203
modify create up2 image for changing uos default bootargs
[ { "change_type": "MODIFY", "old_path": "doc/tutorials/create-up2-images.sh", "new_path": "doc/tutorials/create-up2-images.sh", "diff": "@@ -124,9 +124,9 @@ create_uos_images() {\necho mount laag_rootfs/boot >> .cleanup\nkernel_version=`readlink laag_rootfs/usr/lib/kernel/default-iot-lts2018 | awk -F...
C
BSD 3-Clause New or Revised License
projectacrn/acrn-hypervisor
modify create up2 image for changing uos default bootargs
528,788
12.02.2019 07:04:11
0
4b53ed677cd485424ad2cc5c3c7ca46f4621b600
script: remove enable_initial_modeset for UP2 platform For UP2 releases, we don't need enable_initial_modeset, just as the NUC platforms, so remove this parameter from the boot args.
[ { "change_type": "MODIFY", "old_path": "devicemodel/samples/up2/sos_bootargs_debug.txt", "new_path": "devicemodel/samples/up2/sos_bootargs_debug.txt", "diff": "@@ -6,7 +6,6 @@ loglevel=7\nconsoleblank=0\nroot=/dev/mmcblk0p1 rw rootwait\ni915.nuclear_pageflip=1\n-i915.enable_initial_modeset=1\ni915.a...
C
BSD 3-Clause New or Revised License
projectacrn/acrn-hypervisor
script: remove enable_initial_modeset for UP2 platform For UP2 releases, we don't need enable_initial_modeset, just as the NUC platforms, so remove this parameter from the boot args. Tracked-On: #2516 Signed-off-by: Min He <min.he@intel.com> Reviewed-by: Zhao Yakui <yakui.zhao@intel.com>
528,693
11.02.2019 14:35:20
28,800
f660d9cf80b69298af8e99aff52ecb49c70f6a2e
HV: Remove snoopy_mem from iommu Removed the remaining reference of acrn vm from inside of vtd.c. Removed usage of snoopy_mem, and added code to achieve the same using iommu_snoop. Initialize iommu_snoop to true in create deault iommu.
[ { "change_type": "MODIFY", "old_path": "hypervisor/arch/x86/guest/ept.c", "new_path": "hypervisor/arch/x86/guest/ept.c", "diff": "#include <hypervisor.h>\n#include <instr_emul.h>\n+#include <vtd.h>\n#define ACRN_DBG_EPT 6U\n@@ -106,7 +107,7 @@ void ept_mr_add(struct acrn_vm *vm, uint64_t *pml4_page,...
C
BSD 3-Clause New or Revised License
projectacrn/acrn-hypervisor
HV: Remove snoopy_mem from iommu Removed the remaining reference of acrn vm from inside of vtd.c. Removed usage of snoopy_mem, and added code to achieve the same using iommu_snoop. Initialize iommu_snoop to true in create deault iommu. Tracked-On: #2496 Signed-off-by: Arindam Roy <arindam.roy@intel.com>
528,648
14.02.2019 14:38:12
-28,800
ee35703750d7362dfcb57a687bbdeff7a162357e
use weston instead of ias by bundle add x11-server
[ { "change_type": "MODIFY", "old_path": "doc/tutorials/create-up2-images.sh", "new_path": "doc/tutorials/create-up2-images.sh", "diff": "@@ -148,7 +148,7 @@ cleanup() {\n}\n# Default values\n-SOS_BASE_BUNDLE_LIST=\"service-os os-core-update openssh-server software-defined-cockpit\"\n+SOS_BASE_BUNDLE_...
C
BSD 3-Clause New or Revised License
projectacrn/acrn-hypervisor
use weston instead of ias by bundle add x11-server
528,728
14.02.2019 11:54:36
-3,600
c85172c3427f8f9040af7b783a8a92efd9c582a9
Documentation: tweak GSG (and acrn.conf) * Update kernel versions to the latest (to reflect the new 'release' number used in the 'iot-lts2018' kernel * Add a one-line command to insert the PARTUUID into the acrn.conf file (without copying it all manually)
[ { "change_type": "MODIFY", "old_path": "doc/getting-started/apl-nuc.rst", "new_path": "doc/getting-started/apl-nuc.rst", "diff": "@@ -121,12 +121,12 @@ partition. Follow these steps:\n$ sudo ls -1 /boot/EFI/org.clearlinux\nbootloaderx64.efi\n- kernel-org.clearlinux.native.4.20.2-683\n- kernel-org.cl...
C
BSD 3-Clause New or Revised License
projectacrn/acrn-hypervisor
Documentation: tweak GSG (and acrn.conf) * Update kernel versions to the latest (to reflect the new 'release' number used in the 'iot-lts2018' kernel * Add a one-line command to insert the PARTUUID into the acrn.conf file (without copying it all manually) Signed-off-by: Geoffroy Van Cutsem <geoffroy.vancutsem@int...
528,648
18.02.2019 11:56:36
-28,800
a82b7fd4d15b603f13c6122241c4a9082b4e4c2e
add features list on release_note_0.6
[ { "change_type": "MODIFY", "old_path": "doc/release_notes_0.6.rst", "new_path": "doc/release_notes_0.6.rst", "diff": "@@ -55,6 +55,16 @@ for ACRN real time support will continue.\n* An `ACRN brochure update (English and Chinese)\n<https://projectacrn.org/#code-docs>`_\n+- :acrn-issue:`888` - Securit...
C
BSD 3-Clause New or Revised License
projectacrn/acrn-hypervisor
add features list on release_note_0.6
528,782
18.02.2019 16:51:09
-28,800
14263d7157df2d76cea610053d9cd60adbeec9de
add one more known issue
[ { "change_type": "MODIFY", "old_path": "doc/release_notes_0.6.rst", "new_path": "doc/release_notes_0.6.rst", "diff": "@@ -202,6 +202,13 @@ Known Issues\n**Workaround:** Modify SBL Memory setting file \"CfgData_Ext_Up2.dlt\", see details in issue comments.\n+:acrn-issue:`2516` - [UP2][SBL] System han...
C
BSD 3-Clause New or Revised License
projectacrn/acrn-hypervisor
add one more known issue
528,728
13.02.2019 16:51:26
-3,600
2638518349cc5b5935a97413db228e4894bb9448
acrn.conf: clean-up SOS kernel options (EFI platforms) Remove some i915 options that are obsolete and irrelevant for the Service OS kernel Update the various tutorials that also used these obsolete parameters
[ { "change_type": "MODIFY", "old_path": "doc/tutorials/agl-vms.rst", "new_path": "doc/tutorials/agl-vms.rst", "diff": "@@ -217,11 +217,10 @@ Service OS\nlinux\n/EFI/org.clearlinux/kernel-org.clearlinux.iot-lts2018-sos.4.19.0-19\n- options pci_devices_ignore=(0:18:1) console=tty0 console=ttyS0 i915.nu...
C
BSD 3-Clause New or Revised License
projectacrn/acrn-hypervisor
acrn.conf: clean-up SOS kernel options (EFI platforms) - Remove some i915 options that are obsolete and irrelevant for the Service OS kernel - Update the various tutorials that also used these obsolete parameters Tracked-On: #2518 Signed-off-by: Geoffroy Van Cutsem <geoffroy.vancutsem@intel.com>
528,804
20.02.2019 11:17:29
-28,800
07656a9cc6ed502bf3e694081f5bd56e6d0f855e
DM: modify acpi for IASL to support ACPI6.3 patch is from Alex Du for IASL tool updated to support ACPI 6.3 version.
[ { "change_type": "MODIFY", "old_path": "devicemodel/hw/platform/acpi/acpi.c", "new_path": "devicemodel/hw/platform/acpi/acpi.c", "diff": "@@ -276,6 +276,7 @@ basl_fwrite_madt(FILE *fp, struct vmctx *ctx)\nEFPRINTF(fp, \"[0001]\\t\\tLocal Apic ID : %02x\\n\", i);\nEFPRINTF(fp, \"[0004]\\t\\tFlags (de...
C
BSD 3-Clause New or Revised License
projectacrn/acrn-hypervisor
DM: modify acpi for IASL to support ACPI6.3 patch is from Alex Du for IASL tool updated to support ACPI 6.3 version. Tracked-On: #2568 Signed-off-by: Alek Du <alek.du@intel.com> Signed-off-by: Minggui Cao <minggui.cao@intel.com>
528,783
15.02.2019 09:28:24
-28,800
04c30fb380f644a8f73f29e90005a229dd89b1f8
hv:move 2 APIs from hypervisor.h to guest_memory.c move gva2hva() & hva2gpa() to guest_memory.c, we will remove hypervisor.h in the future.
[ { "change_type": "MODIFY", "old_path": "hypervisor/arch/x86/guest/guest_memory.c", "new_path": "hypervisor/arch/x86/guest/guest_memory.c", "diff": "@@ -424,3 +424,14 @@ int32_t copy_to_gva(struct acrn_vcpu *vcpu, void *h_ptr, uint64_t gva,\n{\nreturn copy_gva(vcpu, h_ptr, gva, size, err_code, fault_...
C
BSD 3-Clause New or Revised License
projectacrn/acrn-hypervisor
hv:move 2 APIs from hypervisor.h to guest_memory.c move gva2hva() & hva2gpa() to guest_memory.c, we will remove hypervisor.h in the future. Tracked-On: #1842 Signed-off-by: Mingqiang Chi <mingqiang.chi@intel.com> Reviewed-by: Jason Chen CJ <jason.cj.chen@intel.com>
528,783
15.02.2019 14:54:05
-28,800
c093638bf6f3688d2181bdaa54982142bc3ac5a5
hv:merge two header files to one with the same name merge include/arch/x86/irq.h and include/common/irq.h > include/arch/x86/irq.h
[ { "change_type": "MODIFY", "old_path": "doc/acrn.doxyfile", "new_path": "doc/acrn.doxyfile", "diff": "@@ -815,9 +815,7 @@ INPUT = custom-doxygen/mainpage.md \\\n../hypervisor/arch/x86/guest/trusty.c \\\n../devicemodel/include/virtio.h \\\n../hypervisor/include/arch/x86/ioapic.h \\\n- ../hypervisor/i...
C
BSD 3-Clause New or Revised License
projectacrn/acrn-hypervisor
hv:merge two header files to one with the same name merge include/arch/x86/irq.h and include/common/irq.h --> include/arch/x86/irq.h Tracked-On: #1842 Signed-off-by: Mingqiang Chi <mingqiang.chi@intel.com> Reviewed-by: Jason Chen CJ <jason.cj.chen@intel.com>
528,783
15.02.2019 14:45:09
-28,800
75f6cab554dbbe2c950c8b8f5330d3dbb69988bb
hv:cleanup header file for per_cpu.h remove hypervisor.h from per_cpu.h
[ { "change_type": "MODIFY", "old_path": "hypervisor/arch/x86/cpu_caps.c", "new_path": "hypervisor/arch/x86/cpu_caps.c", "diff": "#include <cpu_caps.h>\n#include <errno.h>\n#include <logmsg.h>\n+#include <vmcs.h>\n/* TODO: add more capability per requirement */\n/* APICv features */\n" }, { "c...
C
BSD 3-Clause New or Revised License
projectacrn/acrn-hypervisor
hv:cleanup header file for per_cpu.h remove hypervisor.h from per_cpu.h Tracked-On: #1842 Signed-off-by: Mingqiang Chi <mingqiang.chi@intel.com> Reviewed-by: Jason Chen CJ <jason.cj.chen@intel.com>
528,756
10.01.2019 09:51:48
-28,800
57029315d7f29528db4174ed6df31f5cb9aec232
DM: virtio-gpio: virtio framework implementation. virtio framework implementation for virtio-based gpio virtualization. virtio-based gpio uses one virtqueue to implement gpio operaions and frontend gpio chip base and number are provided by virtio config. Acked-by: Yu Wang
[ { "change_type": "MODIFY", "old_path": "devicemodel/Makefile", "new_path": "devicemodel/Makefile", "diff": "@@ -112,6 +112,7 @@ SRCS += hw/pci/virtio/virtio_mei.c\nSRCS += hw/pci/virtio/virtio_coreu.c\nSRCS += hw/pci/virtio/virtio_hdcp.c\nSRCS += hw/pci/virtio/virtio_rpmb.c\n+SRCS += hw/pci/virtio/v...
C
BSD 3-Clause New or Revised License
projectacrn/acrn-hypervisor
DM: virtio-gpio: virtio framework implementation. virtio framework implementation for virtio-based gpio virtualization. virtio-based gpio uses one virtqueue to implement gpio operaions and frontend gpio chip base and number are provided by virtio config. Tracked-On: #2512 Signed-off-by: Yuan Liu <yuan1.liu@intel.com>...
528,756
01.02.2019 11:27:36
-28,800
77e17b5dff3d8931fb54469bbbb4574ba5d20f4a
DM: virtio-gpio: gpio initialization. Add gpio initializaiton and gpio usage implementation gpio usage: s <slot>,virtio-gpio,<gpio resources> <gpio resources format> <@chip_name{offset|name[=vname]:offset|name[=vname]:...} [@chip_name{offset|name[=vname]:offset|name[=vname]:...}] [@chip_name{offset|name[=vname]:offset|...
[ { "change_type": "MODIFY", "old_path": "devicemodel/hw/pci/virtio/virtio_gpio.c", "new_path": "devicemodel/hw/pci/virtio/virtio_gpio.c", "diff": "@@ -107,13 +107,93 @@ struct virtio_gpio_config {\nuint16_t ngpio; /* number of gpios */\n} __attribute__((packed));\n+struct gpio_line {\n+ char name[32]...
C
BSD 3-Clause New or Revised License
projectacrn/acrn-hypervisor
DM: virtio-gpio: gpio initialization. Add gpio initializaiton and gpio usage implementation gpio usage: -s <slot>,virtio-gpio,<gpio resources> <gpio resources format> <@chip_name{offset|name[=vname]:offset|name[=vname]:...} [@chip_name{offset|name[=vname]:offset|name[=vname]:...}] [@chip_name{offset|name[=vname]:off...
528,756
01.02.2019 13:47:09
-28,800
6b0643b5350af08b2dcd2f6d93ac066531da55fa
DM: virtio-gpio: implementation of gpio opearations Implement gpio set/get value, direction input/output and set config operations. Acked-by: Yu Wang
[ { "change_type": "MODIFY", "old_path": "devicemodel/hw/pci/virtio/virtio_gpio.c", "new_path": "devicemodel/hw/pci/virtio/virtio_gpio.c", "diff": "@@ -102,6 +102,64 @@ static FILE *dbg_file;\n/* make virtio gpio mediator a singleton mode */\nstatic bool virtio_gpio_is_active;\n+/* Uses the same packe...
C
BSD 3-Clause New or Revised License
projectacrn/acrn-hypervisor
DM: virtio-gpio: implementation of gpio opearations Implement gpio set/get value, direction input/output and set config operations. Tracked-On: #2512 Signed-off-by: Yuan Liu <yuan1.liu@intel.com> Acked-by: Yu Wang <yu1.wang@intel.com>
528,756
01.02.2019 13:52:56
-28,800
21ae3e74518d773582c01e1859dfeca6e091f7f3
DM: virtio-gpio: add print log if the gpio debug is enabled, print gpio mapping information about virtual gpio and native gpio, also print virtio-gpio data, which shows the gpio operations flow. Acked-by: Yu Wang
[ { "change_type": "MODIFY", "old_path": "devicemodel/hw/pci/virtio/virtio_gpio.c", "new_path": "devicemodel/hw/pci/virtio/virtio_gpio.c", "diff": "@@ -196,6 +196,10 @@ struct virtio_gpio {\nstruct virtio_gpio_config config;\n};\n+static void print_gpio_info(struct virtio_gpio *gpio);\n+static void pr...
C
BSD 3-Clause New or Revised License
projectacrn/acrn-hypervisor
DM: virtio-gpio: add print log if the gpio debug is enabled, print gpio mapping information about virtual gpio and native gpio, also print virtio-gpio data, which shows the gpio operations flow. Tracked-On: #2512 Signed-off-by: Yuan Liu <yuan1.liu@intel.com> Acked-by: Yu Wang <yu1.wang@intel.com>
528,731
21.02.2019 16:39:35
-28,800
02ae775bfa6a516d9288f57a33ea4c73d7c898ee
hv: pae: fix a issue of loading pdptrs when handle cr4 PDPTE registers should be loaded in PAE paging mode. However, current code load PDPTE registers in long mode. Acked-by: Eddie Dong
[ { "change_type": "MODIFY", "old_path": "hypervisor/arch/x86/guest/virtual_cr.c", "new_path": "hypervisor/arch/x86/guest/virtual_cr.c", "diff": "@@ -276,7 +276,7 @@ static void vmx_write_cr4(struct acrn_vcpu *vcpu, uint64_t cr4)\nuint64_t old_cr4 = vcpu_get_cr4(vcpu);\nif (((cr4 ^ old_cr4) & (CR4_PGE...
C
BSD 3-Clause New or Revised License
projectacrn/acrn-hypervisor
hv: pae: fix a issue of loading pdptrs when handle cr4 PDPTE registers should be loaded in PAE paging mode. However, current code load PDPTE registers in long mode. Tracked-On: #2561 Signed-off-by: Binbin Wu <binbin.wu@intel.com> Acked-by: Eddie Dong <eddie.dong@intel.com>
528,794
03.02.2019 01:13:02
-28,800
4928be5f8b6ba5440f129a6f76644b7a03c683d8
doc: update partition mode config on up2 Update the using_partition_mode_on_up2.rst to accormodate the latest configuration method for up2 partition mode.
[ { "change_type": "MODIFY", "old_path": "doc/tutorials/using_partition_mode_on_up2.rst", "new_path": "doc/tutorials/using_partition_mode_on_up2.rst", "diff": "@@ -93,7 +93,7 @@ Enable partition mode in ACRN hypervisor\n****************************************\n#. Before building the ACRN hypervisor, ...
C
BSD 3-Clause New or Revised License
projectacrn/acrn-hypervisor
doc: update partition mode config on up2 Update the using_partition_mode_on_up2.rst to accormodate the latest configuration method for up2 partition mode. Signed-off-by: Victor Sun <victor.sun@intel.com>
528,747
21.02.2019 10:50:27
28,800
1d783d3d46eefda2235eafff21e20610ebab0cea
doc: add 0.6 to doc version menu Add the 0.6 version of documentation to the menu list (again)
[ { "change_type": "MODIFY", "old_path": "doc/conf.py", "new_path": "doc/conf.py", "diff": "@@ -189,6 +189,7 @@ else:\nhtml_context = {\n'current_version': current_version,\n'versions': ( (\"latest\", \"/latest/\"),\n+ (\"0.6\", \"/0.6/\"),\n(\"0.5\", \"/0.5/\"),\n(\"0.4\", \"/0.4/\"),\n(\"0.3\", \"/0...
C
BSD 3-Clause New or Revised License
projectacrn/acrn-hypervisor
doc: add 0.6 to doc version menu Add the 0.6 version of documentation to the menu list (again) Signed-off-by: David B. Kinder <david.b.kinder@intel.com>
528,747
21.02.2019 11:37:30
28,800
fb92d55bb5c4c074a3d0d9e1a9a47e7d781c427e
doc: fix formatting of up2 doc Update doc to remove trailing spaces on lines, wrap long lines, add formatting missed during regular review.
[ { "change_type": "MODIFY", "old_path": "doc/tutorials/using_partition_mode_on_up2.rst", "new_path": "doc/tutorials/using_partition_mode_on_up2.rst", "diff": "@@ -21,7 +21,8 @@ Prerequisites\nIn this tutorial two Linux privileged VMs are started by the ACRN hypervisor.\nTo set up the Linux root files...
C
BSD 3-Clause New or Revised License
projectacrn/acrn-hypervisor
doc: fix formatting of up2 doc Update doc to remove trailing spaces on lines, wrap long lines, add formatting missed during regular review. Signed-off-by: David B. Kinder <david.b.kinder@intel.com>
528,783
20.02.2019 21:14:06
-28,800
ac7a8a7249232d92913774c65e51bb0cfcff8deb
hv:merge MACROs E820_MAX_ENTRIES and NUM_E820_ENTRIES merge E820_MAX_ENTRIES and NUM_E820_ENTRIES to E820_MAX_ENTRIES.
[ { "change_type": "MODIFY", "old_path": "hypervisor/arch/x86/configs/apl-mrb/ve820.c", "new_path": "hypervisor/arch/x86/configs/apl-mrb/ve820.c", "diff": "#include <hypervisor.h>\n#include <e820.h>\n-const struct e820_entry ve820_entry[NUM_E820_ENTRIES] = {\n+const struct e820_entry ve820_entry[E820_...
C
BSD 3-Clause New or Revised License
projectacrn/acrn-hypervisor
hv:merge MACROs E820_MAX_ENTRIES and NUM_E820_ENTRIES merge E820_MAX_ENTRIES and NUM_E820_ENTRIES to E820_MAX_ENTRIES. Tracked-On: #1842 Signed-off-by: Mingqiang Chi <mingqiang.chi@intel.com> Reviewed-by: Eddie Dong <eddie.dong@intel.com>
528,734
21.02.2019 09:55:47
-28,800
eee7d8e70a6d9aafe908a0a48d3c4f6b5d265a4d
hv: debug: mark the mmio address for npk log as hv owned Otherwise, page fault will be triggered when writing npk log to these mmio addresses. Acked-by: Eddie Dong
[ { "change_type": "MODIFY", "old_path": "hypervisor/debug/npk_log.c", "new_path": "hypervisor/debug/npk_log.c", "diff": "@@ -95,6 +95,9 @@ void npk_log_setup(struct hv_npk_log_param *param)\nfor (i = 0U; i < pcpu_nums; i++) {\nper_cpu(npk_log_ref, i) = 0U;\n}\n+ hv_access_memory_region_update(base,\n...
C
BSD 3-Clause New or Revised License
projectacrn/acrn-hypervisor
hv: debug: mark the mmio address for npk log as hv owned Otherwise, page fault will be triggered when writing npk log to these mmio addresses. Tracked-On: #2589 Signed-off-by: Zhi Jin <zhi.jin@intel.com> Reviewed-by: Yonghua Huang <yonghua.huang@intel.com> Acked-by: Eddie Dong <eddie.dong@intel.com>
528,647
21.02.2019 11:41:35
-28,800
b43f5cba572923121e036ce8f43c232bc5c3aee9
tools: do not include unnecessary files in release build This commit removes the unnecessary tool files in release build, including: entire acrnlog module entire acrntrace module acrnctl binary in acrn-manager Acked-by: Yin Fengwei
[ { "change_type": "MODIFY", "old_path": "tools/Makefile", "new_path": "tools/Makefile", "diff": "T := $(CURDIR)\nOUT_DIR ?= $(shell mkdir -p $(T)/build;cd $(T)/build;pwd)\n+RELEASE ?= 0\n.PHONY: all acrn-crashlog acrnlog acrn-manager acrntrace acrnbridge\nifeq ($(RELEASE),0)\nall: acrn-crashlog acrnl...
C
BSD 3-Clause New or Revised License
projectacrn/acrn-hypervisor
tools: do not include unnecessary files in release build This commit removes the unnecessary tool files in release build, including: - entire acrnlog module - entire acrntrace module - acrnctl binary in acrn-manager Tracked-On: #2575 Signed-off-by: Yan, Like <like.yan@intel.com> Reviewed-by: Huang, Yonghua <yonghua.h...
528,799
08.02.2019 15:37:34
28,800
028663537aac203589951145c245c69f07ee5776
HV: fix comments issue Fix typo/formatting for comments Acked-by: Eddie Dong
[ { "change_type": "MODIFY", "old_path": "hypervisor/dm/vpci/sharing_mode.c", "new_path": "hypervisor/dm/vpci/sharing_mode.c", "diff": "@@ -38,7 +38,7 @@ struct pci_vdev *sharing_mode_find_vdev(union pci_bdf pbdf)\nstruct pci_vdev *vdev = NULL;\nuint32_t i;\n- /* in SOS_VM, it uses phys BDF */\n+ /* S...
C
BSD 3-Clause New or Revised License
projectacrn/acrn-hypervisor
HV: fix comments issue Fix typo/formatting for comments Tracked-On: #2534 Signed-off-by: dongshen <dongsheng.x.zhang@intel.com> Reviewed-by: Eddie Dong <eddie.dong@intel.com> Acked-by: Eddie Dong <eddie.dong@intel.com>
528,799
22.02.2019 15:25:04
28,800
4d119853664473f1a1ac013ed6bbf690e8af58e4
HV: define function bdf_is_equal() to compare bdf Use a function to compare bdf instead and some related code cleanup Acked-by: Eddie Dong
[ { "change_type": "MODIFY", "old_path": "hypervisor/dm/vpci/partition_mode.c", "new_path": "hypervisor/dm/vpci/partition_mode.c", "diff": "static struct pci_vdev *partition_mode_find_vdev(struct acrn_vpci *vpci, union pci_bdf vbdf)\n{\n- struct pci_vdev *vdev = NULL;\n+ struct pci_vdev *vdev, *tmp;\n...
C
BSD 3-Clause New or Revised License
projectacrn/acrn-hypervisor
HV: define function bdf_is_equal() to compare bdf Use a function to compare bdf instead and some related code cleanup Tracked-On: #2534 Signed-off-by: dongshen <dongsheng.x.zhang@intel.com> Reviewed-by: Eddie Dong <eddie.dong@intel.com> Acked-by: Eddie Dong <eddie.dong@intel.com>
528,799
15.02.2019 11:53:14
28,800
8bc0e128a9d29691dd289fd3b6b07a6e3e8e8785
HV: remove pbdf from struct pci_vdev pci_vdev contains a pointer to pdev, which stores pbdf, so there is no need to store a separate pbdf in vdev. Acked-by: Eddie Dong
[ { "change_type": "MODIFY", "old_path": "hypervisor/dm/vpci/partition_mode.c", "new_path": "hypervisor/dm/vpci/partition_mode.c", "diff": "@@ -67,13 +67,13 @@ static inline bool is_valid_bar(const struct pci_bar *bar)\nreturn (is_valid_bar_type(bar) && is_valid_bar_size(bar));\n}\n-static void partit...
C
BSD 3-Clause New or Revised License
projectacrn/acrn-hypervisor
HV: remove pbdf from struct pci_vdev pci_vdev contains a pointer to pdev, which stores pbdf, so there is no need to store a separate pbdf in vdev. Tracked-On: #2534 Signed-off-by: dongshen <dongsheng.x.zhang@intel.com> Reviewed-by: Eddie Dong <eddie.dong@intel.com> Acked-by: Eddie Dong <eddie.dong@intel.com>
528,756
21.02.2019 19:17:09
-28,800
780f520fc61f26744a10f5c02faaf65693dbfda6
DM: virtio-gpio: return a valid length for GPIO request When the backend completes a GPIO request, it returns a valid length to ensure that response correct. Acked-by: Yu Wang
[ { "change_type": "MODIFY", "old_path": "devicemodel/hw/pci/virtio/virtio_gpio.c", "new_path": "devicemodel/hw/pci/virtio/virtio_gpio.c", "diff": "@@ -481,14 +481,14 @@ static struct virtio_ops virtio_gpio_ops = {\n};\n-static void\n+static int\nvirtio_gpio_proc(struct virtio_gpio *gpio, struct iovec...
C
BSD 3-Clause New or Revised License
projectacrn/acrn-hypervisor
DM: virtio-gpio: return a valid length for GPIO request When the backend completes a GPIO request, it returns a valid length to ensure that response correct. Tracked-On: #2512 Signed-off-by: Yuan Liu <yuan1.liu@intel.com> Acked-by: Yu Wang <yu1.wang@intel.com>
528,654
19.02.2019 04:08:16
-28,800
e218efd57684458088fbe57d4eec0cbaf334ad52
hv: vm: move vm_active_cpus to vm.h Move vm_active_cpus from vlapic.c to vm.h since it's vm related not vlapic related. Acked-by: Anthony Xu Acked-by: Eddie Dong
[ { "change_type": "MODIFY", "old_path": "hypervisor/arch/x86/guest/vlapic.c", "new_path": "hypervisor/arch/x86/guest/vlapic.c", "diff": "@@ -134,23 +134,6 @@ static uint16_t vm_apicid2vcpu_id(struct acrn_vm *vm, uint32_t lapicid)\n}\n-/*\n- * @pre vlapic != NULL\n- */\n-static uint64_t\n-vm_active_cp...
C
BSD 3-Clause New or Revised License
projectacrn/acrn-hypervisor
hv: vm: move vm_active_cpus to vm.h Move vm_active_cpus from vlapic.c to vm.h since it's vm related not vlapic related. Tracked-On: #1842 Signed-off-by: Li, Fei1 <fei1.li@intel.com> Acked-by: Anthony Xu <anthony.xu@intel.com> Acked-by: Eddie Dong <eddie.dong@intel.com>
528,654
19.02.2019 06:54:14
-28,800
5dd6e79fe756c943bf38cbe454ac4063a49107ab
hv: vlapic: refine vlapic_enabled to internal function Since it's only used in vlaic.c Acked-by: Anthony Xu Acked-by: Eddie Dong
[ { "change_type": "MODIFY", "old_path": "hypervisor/arch/x86/guest/vlapic.c", "new_path": "hypervisor/arch/x86/guest/vlapic.c", "diff": "@@ -101,6 +101,14 @@ static void vlapic_timer_expired(void *data);\nstatic inline bool is_x2apic_enabled(const struct acrn_vlapic *vlapic);\n+static inline bool vla...
C
BSD 3-Clause New or Revised License
projectacrn/acrn-hypervisor
hv: vlapic: refine vlapic_enabled to internal function Since it's only used in vlaic.c Tracked-On: #1842 Signed-off-by: Li, Fei1 <fei1.li@intel.com> Acked-by: Anthony Xu <anthony.xu@intel.com> Acked-by: Eddie Dong <eddie.dong@intel.com>
528,654
23.02.2019 00:48:01
-28,800
987ddafa6bf09e143fa84f34b60a09161e5487f8
hv: vlapic: refine apicv_post_intr to internal function Rename vlapic_post_intr to apicv_post_intr and move it to internal function since it's only used in vlaic.c. Acked-by: Anthony Xu
[ { "change_type": "MODIFY", "old_path": "doc/developer-guides/hld/hv-virt-interrupt.rst", "new_path": "doc/developer-guides/hld/hv-virt-interrupt.rst", "diff": "@@ -106,9 +106,6 @@ These APIs will finish by making a request for *ACRN_REQUEST_EVENT.*\n.. doxygenfunction:: vlapic_intr_msi\n:project: Pr...
C
BSD 3-Clause New or Revised License
projectacrn/acrn-hypervisor
hv: vlapic: refine apicv_post_intr to internal function Rename vlapic_post_intr to apicv_post_intr and move it to internal function since it's only used in vlaic.c. Tracked-On: #1842 Signed-off-by: Li, Fei1 <fei1.li@intel.com> Acked-by: Anthony Xu <anthony.xu@intel.com>
528,716
21.02.2019 10:57:44
-28,800
2f7ed65f90cb1389e4f3879c021966ac29a0de2c
DM: Attestation Keybox support in SOS DM Retrieve the encrypted attestation Keybox from CSE and provision it to RPMB storage. Acked-by: Zhu Bing
[ { "change_type": "MODIFY", "old_path": "devicemodel/Makefile", "new_path": "devicemodel/Makefile", "diff": "@@ -87,6 +87,7 @@ SRCS += hw/platform/acpi/acpi.c\nSRCS += hw/platform/acpi/acpi_pm.c\nSRCS += hw/platform/rpmb/rpmb_sim.c\nSRCS += hw/platform/rpmb/rpmb_backend.c\n+SRCS += hw/platform/rpmb/a...
C
BSD 3-Clause New or Revised License
projectacrn/acrn-hypervisor
DM: Attestation Keybox support in SOS DM Retrieve the encrypted attestation Keybox from CSE and provision it to RPMB storage. Tracked-On: #2604 Signed-off-by: Huang Yang <yang.huang@intel.com> Signed-off-by: Wei Xinghai <xinghaix.wei@intel.com> Signed-off-by: Chen Gang <gang.g.chen@intel.com> Acked-by: Zhu Bing <bing...
528,710
14.02.2019 13:35:31
-28,800
5690b7626f7e88dc0ec602557c6a0e7a39b55c70
ACRN: dm: Change runC container's start arguments Change the default runC container start application to sh which will be modified by launch_uos.sh during UOS boot. And the replacement is the parameter set by "acrnctl add" command.
[ { "change_type": "MODIFY", "old_path": "devicemodel/samples/apl-mrb/runC.json", "new_path": "devicemodel/samples/apl-mrb/runC.json", "diff": "\"gid\": 0\n},\n\"args\": [\n- \"/usr/share/acrn/samples/apl-mrb/launch_uos.sh\",\n- \"-V\",\n- \"2\"\n+ \"sh\"\n],\n\"env\": [\n\"PATH=/usr/local/sbin:/usr/l...
C
BSD 3-Clause New or Revised License
projectacrn/acrn-hypervisor
ACRN: dm: Change runC container's start arguments Change the default runC container start application to sh which will be modified by launch_uos.sh during UOS boot. And the replacement is the parameter set by "acrnctl add" command. Tracked-On: #2020 Signed-off-by: Long Liu <long.liu@intel.com> Reviewed-by: Yu Wang <y...
528,794
25.02.2019 10:12:45
-28,800
f9b5e21bdc325a57a253001685d26174984d212c
HV: rename board name of up2 to apl-up2 The Kconfig file of UP2 board was named as up2.config, rename to apl-up2.config to make it consistent with naming of apl-mrb/kbl-nuc ... The name change is also applied in Makefile to make sure compile success. Acked-by: Eddie Dong
[ { "change_type": "MODIFY", "old_path": "Makefile", "new_path": "Makefile", "diff": "@@ -54,11 +54,11 @@ ifeq ($(FIRMWARE),uefi)\nendif\nsbl-hypervisor:\n- @mkdir -p $(HV_OUT)-sbl/apl-mrb $(HV_OUT)-sbl/up2\n+ @mkdir -p $(HV_OUT)-sbl/apl-mrb $(HV_OUT)-sbl/apl-up2\n$(MAKE) -C $(T)/hypervisor HV_OBJDIR=...
C
BSD 3-Clause New or Revised License
projectacrn/acrn-hypervisor
HV: rename board name of up2 to apl-up2 The Kconfig file of UP2 board was named as up2.config, rename to apl-up2.config to make it consistent with naming of apl-mrb/kbl-nuc ... The name change is also applied in Makefile to make sure compile success. Tracked-On: #2291 Signed-off-by: Victor Sun <victor.sun@intel.com...
528,794
25.02.2019 11:20:31
-28,800
a25f1a4060dcc687e5fc967e394a36b36ec6ec71
HV: remove default folder in configs Add sos_vm.h as a template in configs folder and is linked to configs/$(CONFIG_BOARD)/sos_vm.h. If customer need a board specific sos_vm.h, make a copy in configs/$(CONFIG_BOARD)/ and replace the symbol link. Acked-by: Eddie Dong
[ { "change_type": "MODIFY", "old_path": "Makefile", "new_path": "Makefile", "diff": "@@ -19,7 +19,7 @@ endif\nundefine PLATFORM\nifndef BOARD\n-$(error BOARD must be set (apl-mrb, apl-nuc, dnv-cb2, nuc6cayh)\n+$(error BOARD must be set (apl-mrb, apl-nuc, apl-up2, dnv-cb2, kbl-nuc-i7, nuc6cayh, nuc7i7...
C
BSD 3-Clause New or Revised License
projectacrn/acrn-hypervisor
HV: remove default folder in configs Add sos_vm.h as a template in configs folder and is linked to configs/$(CONFIG_BOARD)/sos_vm.h. If customer need a board specific sos_vm.h, make a copy in configs/$(CONFIG_BOARD)/ and replace the symbol link. Tracked-On: #2291 Signed-off-by: Victor Sun <victor.sun@intel.com> Ack...
528,786
25.02.2019 02:33:23
0
3f0ff2ec43af9aaf51f3a77e83e62061378babfd
hv: search additional argument when parsing seed from ABL Due to ABL design change, it will reword the "dev_sec_info.param_addr=" to "ABL.svnseed" in command line. Acked-by: Zhu Bing
[ { "change_type": "MODIFY", "old_path": "hypervisor/boot/sbl/abl_seed_parse.c", "new_path": "hypervisor/boot/sbl/abl_seed_parse.c", "diff": "@@ -22,7 +22,11 @@ struct dev_sec_info {\nstruct abl_seed_info seed_list[ABL_SEED_LIST_MAX];\n};\n-static const char *dev_sec_info_arg = \"dev_sec_info.param_ad...
C
BSD 3-Clause New or Revised License
projectacrn/acrn-hypervisor
hv: search additional argument when parsing seed from ABL Due to ABL design change, it will reword the "dev_sec_info.param_addr=" to "ABL.svnseed" in command line. Tracked-On: #2611 Signed-off-by: Qi Yadong <yadong.qi@intel.com> Acked-by: Zhu Bing <bing.zhu@intel.com>
528,747
27.02.2019 13:32:30
28,800
ae34fdd8433db19f3306889b1bc4ca9a8f2bf94d
doc: fix misspellings Fix misspellings missed during regular reviews.
[ { "change_type": "MODIFY", "old_path": "doc/developer-guides/GVT-g-kernel-options.rst", "new_path": "doc/developer-guides/GVT-g-kernel-options.rst", "diff": "@@ -88,7 +88,7 @@ In the current configuration, we will set\n``i915.enable_initial_modeset=1`` in SOS and\n``i915.enable_initial_modeset=0`` i...
C
BSD 3-Clause New or Revised License
projectacrn/acrn-hypervisor
doc: fix misspellings Fix misspellings missed during regular reviews. Signed-off-by: David B. Kinder <david.b.kinder@intel.com>
528,772
28.01.2019 19:48:22
-28,800
43ee5590a490bb9096eb49bcaf5bf706712ebfe3
HV: CAT: capability enumaration Enumarate capability of Cache Allocation Technology(CAT) on X86 platform, when HV init the primary cpu. If CAT is supported, store its info to global struct cat_hw_info. Acked-by: Eddie Dong
[ { "change_type": "MODIFY", "old_path": "hypervisor/Makefile", "new_path": "hypervisor/Makefile", "diff": "@@ -186,6 +186,7 @@ C_SRCS += arch/x86/guest/vmcs.c\nC_SRCS += arch/x86/guest/vmexit.c\nS_SRCS += arch/x86/guest/vmx_asm.S\nC_SRCS += arch/x86/guest/trusty.c\n+C_SRCS += arch/x86/cat.c\nC_SRCS +...
C
BSD 3-Clause New or Revised License
projectacrn/acrn-hypervisor
HV: CAT: capability enumaration Enumarate capability of Cache Allocation Technology(CAT) on X86 platform, when HV init the primary cpu. If CAT is supported, store its info to global struct cat_hw_info. Tracked-On: #2462 Signed-off-by: Tao Yuhong <yuhong.tao@intel.com> Acked-by: Eddie Dong <eddie.dong@intel.com>
528,783
28.02.2019 10:58:32
-28,800
e38ff18be30a23e757a2f2de0a0d5dc61906f538
hv:cleanup header files for release folder cleanup release folder, only include some necessary header files,doesn't include hypervisor.h modified: release/console.c modified: release/dump.c modified: release/hypercall.c modified: release/logmsg.c modified: release/npk_log.c modified: release/profiling.c mod...
[ { "change_type": "MODIFY", "old_path": "hypervisor/release/console.c", "new_path": "hypervisor/release/console.c", "diff": "* SPDX-License-Identifier: BSD-3-Clause\n*/\n-#include <hypervisor.h>\n+#include <types.h>\n+#include <pci.h>\nsize_t console_write(__unused const char *str, __unused size_t le...
C
BSD 3-Clause New or Revised License
projectacrn/acrn-hypervisor
hv:cleanup header files for release folder cleanup release folder, only include some necessary header files,doesn't include hypervisor.h Tracked-On: #1842 Signed-off-by: Mingqiang Chi <mingqiang.chi@intel.com> modified: release/console.c modified: release/dump.c modified: release/hypercall.c modified: re...
528,646
21.02.2019 10:21:19
-28,800
e299553896bfe62561e7bbb3b3a21d4894a2dd06
tools: acrn-crashlog: new file to count all events happened in system Since "history_event" file records limited events (5000 lines by default), a new file named "all events" to count all kind of events. Acked-by: Chen, Gang
[ { "change_type": "MODIFY", "old_path": "tools/acrn-crashlog/acrnprobe/history.c", "new_path": "tools/acrn-crashlog/acrnprobe/history.c", "diff": "@@ -51,6 +51,139 @@ struct history_entry {\nchar *history_file;\nstatic int current_lines;\n+#define EVENT_COUNT_FILE_NAME \"all_events\"\n+\n+static char...
C
BSD 3-Clause New or Revised License
projectacrn/acrn-hypervisor
tools: acrn-crashlog: new file to count all events happened in system Since "history_event" file records limited events (5000 lines by default), a new file named "all events" to count all kind of events. Tracked-On: #1024 Signed-off-by: Liu, Xinwu <xinwu.liu@intel.com> Reviewed-by: Zhi Jin <zhi.jin@intel.com> Acked-b...
528,804
25.02.2019 16:44:07
-28,800
3cb5542b0a8ad88cc4f1ba42dfcf5f22f2086902
HV: cleanup header files under hypervisor/dm it removes hypervisor.h and just includes needed header files. Acked-by: Eddie Dong
[ { "change_type": "MODIFY", "old_path": "hypervisor/dm/vioapic.c", "new_path": "hypervisor/dm/vioapic.c", "diff": "#define pr_prefix \"vioapic: \"\n-#include <hypervisor.h>\n+#include <vm.h>\n+#include <errno.h>\n+#include <irq.h>\n+#include <assign.h>\n+#include <mem_mgt.h>\n+#include <pci.h>\n+#inc...
C
BSD 3-Clause New or Revised License
projectacrn/acrn-hypervisor
HV: cleanup header files under hypervisor/dm it removes hypervisor.h and just includes needed header files. Tracked-On: #1842 Signed-off-by: Minggui Cao <minggui.cao@intel.com> Acked-by: Eddie Dong <eddie.dong@intel.com>
528,804
26.02.2019 15:42:56
-28,800
a89c41dd4cf9acd3b69b7909f644aa8d34307d8d
HV: cleanup header files under hypervisor/common it removes hypervisor.h and just includes needed header files. Acked-by: Eddie Dong
[ { "change_type": "MODIFY", "old_path": "hypervisor/common/hv_main.c", "new_path": "hypervisor/common/hv_main.c", "diff": "* SPDX-License-Identifier: BSD-3-Clause\n*/\n-#include <hypervisor.h>\n+#include <vm.h>\n+#include <vmcs.h>\n+#include <vmexit.h>\n+#include <irq.h>\n#include <schedule.h>\n#incl...
C
BSD 3-Clause New or Revised License
projectacrn/acrn-hypervisor
HV: cleanup header files under hypervisor/common it removes hypervisor.h and just includes needed header files. Tracked-On: #1842 Signed-off-by: Minggui Cao <minggui.cao@intel.com> Acked-by: Eddie Dong <eddie.dong@intel.com>
528,756
27.02.2019 14:03:51
-28,800
7628e790e7ac2f260427e1f16b3258088756cf3b
DM: virtio-gpio: use virtio_base as the first member of virtio_gpio For virtio-based device, it needs to use virtio_base as the first member otherwise, virtio_linkup will fail. Acked-by: Yu Wang
[ { "change_type": "MODIFY", "old_path": "devicemodel/hw/pci/virtio/virtio_gpio.c", "new_path": "devicemodel/hw/pci/virtio/virtio_gpio.c", "diff": "@@ -186,8 +186,8 @@ struct native_gpio_chip {\n};\nstruct virtio_gpio {\n- pthread_mutex_t mtx;\nstruct virtio_base base;\n+ pthread_mutex_t mtx;\nstruct ...
C
BSD 3-Clause New or Revised License
projectacrn/acrn-hypervisor
DM: virtio-gpio: use virtio_base as the first member of virtio_gpio For virtio-based device, it needs to use virtio_base as the first member otherwise, virtio_linkup will fail. Tracked-On: #2512 Signed-off-by: Yuan Liu <yuan1.liu@intel.com> Acked-by: Yu Wang <yu1.wang@intel.com>
528,667
29.01.2019 17:48:17
-28,800
aed75145c155481433d9b8b38d68ab3239d38ef4
dm: Limit 64 bits PCI BAR region address space Limit 64 bits PCI BAR space from 0x100000000UL ~ 0x140000000UL, as HV now only support 0x400000000UL+0x80000000 as top of guest memory address. EPT table size is static allocated. Acked-by: Yu Wang
[ { "change_type": "MODIFY", "old_path": "devicemodel/hw/pci/core.c", "new_path": "devicemodel/hw/pci/core.c", "diff": "@@ -97,8 +97,8 @@ SYSRES_MEM(PCI_EMUL_ECFG_BASE, PCI_EMUL_ECFG_SIZE);\n#define PCI_EMUL_MEMLIMIT32 PCI_EMUL_ECFG_BASE\n-#define PCI_EMUL_MEMBASE64 0x7000000000UL\n-#define PCI_EMUL_M...
C
BSD 3-Clause New or Revised License
projectacrn/acrn-hypervisor
dm: Limit 64 bits PCI BAR region address space Limit 64 bits PCI BAR space from 0x100000000UL ~ 0x140000000UL, as HV now only support 0x400000000UL+0x80000000 as top of guest memory address. EPT table size is static allocated. Tracked-On: #2577 Signed-off-by: Shuo A Liu <shuo.a.liu@intel.com> Signed-off-by: Jian Jun ...
528,794
28.02.2019 14:20:34
-28,800
1bb15c64a668a82c87b92aa5b5e3ceb88f264d2a
HV: modularization vm config code move sanitize_vm_config() from vm.c to vm_config.c; move get_vm_config() from vm.h to vm_config.h; Acked-by: Eddie Dong
[ { "change_type": "MODIFY", "old_path": "hypervisor/Makefile", "new_path": "hypervisor/Makefile", "diff": "@@ -132,6 +132,7 @@ C_SRCS += boot/reloc.c\nC_SRCS += arch/x86/init.c\n# configuration component\n+C_SRCS += arch/x86/configs/vm_config.c\nifeq ($(CONFIG_SHARING_MODE),y)\nC_SRCS += arch/x86/con...
C
BSD 3-Clause New or Revised License
projectacrn/acrn-hypervisor
HV: modularization vm config code - move sanitize_vm_config() from vm.c to vm_config.c; - move get_vm_config() from vm.h to vm_config.h; Tracked-On: #2291 Signed-off-by: Victor Sun <victor.sun@intel.com> Acked-by: Eddie Dong <eddie.dong@intel.com>
528,794
28.02.2019 16:23:15
-28,800
0d90515bf6ee678a7de21e86f60323932826f82a
HV: refine is_lapic_pt Do not refer vm_configs[] directly in vm module; Acked-by: Eddie Dong
[ { "change_type": "MODIFY", "old_path": "hypervisor/arch/x86/guest/vm.c", "new_path": "hypervisor/arch/x86/guest/vm.c", "diff": "@@ -60,6 +60,16 @@ bool is_sos_vm(const struct acrn_vm *vm)\nreturn (vm != NULL) && (vm == sos_vm_ptr);\n}\n+/**\n+ * @pre vm != NULL && vm_config != NULL && vm->vmid < CON...
C
BSD 3-Clause New or Revised License
projectacrn/acrn-hypervisor
HV: refine is_lapic_pt - Do not refer vm_configs[] directly in vm module; Tracked-On: #2291 Signed-off-by: Victor Sun <victor.sun@intel.com> Acked-by: Eddie Dong <eddie.dong@intel.com>
528,794
28.02.2019 15:06:43
-28,800
ff65a103917a4766d65174ae4ee7d4eac83d698a
HV: vm_configs array refinement merge sharing_config.c and partition_config.c to vm_config.c; make vm_configs[] static; Acked-by: Eddie Dong
[ { "change_type": "MODIFY", "old_path": "hypervisor/Makefile", "new_path": "hypervisor/Makefile", "diff": "@@ -133,10 +133,7 @@ C_SRCS += arch/x86/init.c\n# configuration component\nC_SRCS += arch/x86/configs/vm_config.c\n-ifeq ($(CONFIG_SHARING_MODE),y)\n-C_SRCS += arch/x86/configs/sharing_config.c\...
C
BSD 3-Clause New or Revised License
projectacrn/acrn-hypervisor
HV: vm_configs array refinement - merge sharing_config.c and partition_config.c to vm_config.c; - make vm_configs[] static; Tracked-On: #2291 Signed-off-by: Victor Sun <victor.sun@intel.com> Acked-by: Eddie Dong <eddie.dong@intel.com>
528,747
27.02.2019 11:51:15
28,800
8c3cfe62aaf501ad1b60c9914cbad1a59221e93d
doc: add VBSK overhead analysis doc Add a new developer guide describing VBSK overhead analysis.
[ { "change_type": "ADD", "old_path": null, "new_path": "doc/developer-guides/VBSK-analysis.rst", "diff": "+.. _vbsk-overhead:\n+\n+VBS-K Framework Virtualization Overhead Analysis\n+################################################\n+\n+Introduction\n+************\n+\n+The ACRN Hypervisor follows the ...
C
BSD 3-Clause New or Revised License
projectacrn/acrn-hypervisor
doc: add VBSK overhead analysis doc Add a new developer guide describing VBSK overhead analysis. Signed-off-by: David B. Kinder <david.b.kinder@intel.com>
528,799
25.02.2019 13:34:02
28,800
00f9b8507297909c35b28d9293460cc06d9b4412
HV: move pci_vdevs[] array from vm.h to vpci.h pci_vdevs is vpci stuff so it would be better to make it managed by vpci rather than by vm.h, both sharing mode and partition mode can use pci_vdevs[] to maintain its own per vm vdev list. Acked-by: Eddie Dong
[ { "change_type": "MODIFY", "old_path": "hypervisor/dm/vpci/partition_mode.c", "new_path": "hypervisor/dm/vpci/partition_mode.c", "diff": "#include <logmsg.h>\n#include \"pci_priv.h\"\n-static struct pci_vdev *partition_mode_find_vdev(struct acrn_vpci *vpci, union pci_bdf vbdf)\n+\n+/**\n+ * @pre tmp...
C
BSD 3-Clause New or Revised License
projectacrn/acrn-hypervisor
HV: move pci_vdevs[] array from vm.h to vpci.h pci_vdevs is vpci stuff so it would be better to make it managed by vpci rather than by vm.h, both sharing mode and partition mode can use pci_vdevs[] to maintain its own per vm vdev list. Tracked-On: #2534 Signed-off-by: dongshen <dongsheng.x.zhang@intel.com> Acked-by: ...
528,799
25.02.2019 16:22:31
28,800
731b0444b1794e7eb413f6faeb42129471ec8a3d
HV: rename core.c to vdev.c core.c contains functions all related to pci vdev management, so it makes sense to give it a more meaningful file name. Acked-by: Eddie Dong
[ { "change_type": "MODIFY", "old_path": "hypervisor/Makefile", "new_path": "hypervisor/Makefile", "diff": "@@ -212,7 +212,7 @@ C_SRCS += hw/pci.c\nC_SRCS += dm/vpic.c\nC_SRCS += dm/vioapic.c\n-C_SRCS += dm/vpci/core.c\n+C_SRCS += dm/vpci/vdev.c\nC_SRCS += dm/vpci/vpci.c\nifeq ($(CONFIG_PARTITION_MODE...
C
BSD 3-Clause New or Revised License
projectacrn/acrn-hypervisor
HV: rename core.c to vdev.c core.c contains functions all related to pci vdev management, so it makes sense to give it a more meaningful file name. Tracked-On: #2534 Signed-off-by: dongshen <dongsheng.x.zhang@intel.com> Acked-by: Eddie Dong <eddie.dong@intel.com>
528,799
15.02.2019 12:47:24
28,800
be3fbaa461d3f540a3769f7555e8c2a0addd4aeb
HV: add generic vdev functions to vdev.c Add vdev functions so they can be reused by both partition mode and sharing mode code: pci_find_vdev_by_vbdf: search for vdev by virtual bdf pci_find_vdev_by_pbdf: search for vdev by physical bdf Acked-by: Eddie Dong
[ { "change_type": "MODIFY", "old_path": "hypervisor/dm/vpci/pci_priv.h", "new_path": "hypervisor/dm/vpci/pci_priv.h", "diff": "@@ -81,4 +81,8 @@ void populate_msi_struct(struct pci_vdev *vdev);\nvoid add_vdev_handler(struct pci_vdev *vdev, const struct pci_vdev_ops *ops);\n+struct pci_vdev *pci_find_...
C
BSD 3-Clause New or Revised License
projectacrn/acrn-hypervisor
HV: add generic vdev functions to vdev.c Add vdev functions so they can be reused by both partition mode and sharing mode code: pci_find_vdev_by_vbdf: search for vdev by virtual bdf pci_find_vdev_by_pbdf: search for vdev by physical bdf Tracked-On: #2534 Signed-off-by: dongshen <dongsheng.x.zhang@intel.com> Acked-by:...
528,799
15.02.2019 12:58:26
28,800
6794660e4f1c5c66d3f6c2c9cb75e22b9ef22278
HV: use the common functions defined in vdev.c to reduce duplicate code Both sharing mode and parittioin mode code can use the pci_find_vdev_by_pbdf and pci_find_vdev_by_vbdf functions defined in vdev.c instead, and remove the corresponding functions in other files. Acked-by: Eddie Dong
[ { "change_type": "MODIFY", "old_path": "hypervisor/dm/vpci/partition_mode.c", "new_path": "hypervisor/dm/vpci/partition_mode.c", "diff": "#include \"pci_priv.h\"\n-/**\n- * @pre tmp != NULL\n- */\n-static struct pci_vdev *partition_mode_find_vdev(const struct acrn_vpci *vpci, union pci_bdf vbdf)\n-{...
C
BSD 3-Clause New or Revised License
projectacrn/acrn-hypervisor
HV: use the common functions defined in vdev.c to reduce duplicate code Both sharing mode and parittioin mode code can use the pci_find_vdev_by_pbdf and pci_find_vdev_by_vbdf functions defined in vdev.c instead, and remove the corresponding functions in other files. Tracked-On: #2534 Signed-off-by: dongshen <dongshen...
528,710
01.03.2019 16:14:04
-28,800
8a324060c110bbabccaed3b5b33d55c4fb3219e8
ACRN: dm: Fix luanch UOS script "-d" parameter fail issue Fix launch UOS script "-d" parameter fail issue
[ { "change_type": "MODIFY", "old_path": "devicemodel/samples/apl-mrb/launch_uos.sh", "new_path": "devicemodel/samples/apl-mrb/launch_uos.sh", "diff": "@@ -465,7 +465,7 @@ echo \"'#runc exec <vmname> bash' to login the container bash\"\nexit\n}\n-while getopts \"V:M:hd:C\" opt\n+while getopts \"V:M:hd...
C
BSD 3-Clause New or Revised License
projectacrn/acrn-hypervisor
ACRN: dm: Fix luanch UOS script "-d" parameter fail issue Fix launch UOS script "-d" parameter fail issue Tracked-On: #2659 Signed-off-by: Long Liu <long.liu@intel.com> Reviewed-by: Binbin Wu <binbin.wu@intel.com>
528,801
01.03.2019 13:21:41
-28,800
bc107105f859ebeb01df17ed227b6305331e1f3b
doc: fix the typo related to tab This patch fixes the typo related to tab.
[ { "change_type": "MODIFY", "old_path": "doc/developer-guides/coding_guidelines.rst", "new_path": "doc/developer-guides/coding_guidelines.rst", "diff": "@@ -125,14 +125,17 @@ Multiple return statements in a function are not allowed.\nCompliant example::\n- int32_t foo(char *ptr) {\n+ int32_t foo(char...
C
BSD 3-Clause New or Revised License
projectacrn/acrn-hypervisor
doc: fix the typo related to tab This patch fixes the typo related to tab. Tracked-On: #861 Signed-off-by: Shiqing Gao <shiqing.gao@intel.com>
528,783
01.03.2019 09:33:35
-28,800
308d4e8c4e03fc491a857ccf1dfcb975ec4697d8
hv:move forward the initialization for iommu & ptdev move 'init_iommu()' & 'ptdev_init()' before starting all secondary cores to avoid access uninitialized resource in partition mode. Acked-by: Eddie Dong
[ { "change_type": "MODIFY", "old_path": "hypervisor/arch/x86/cpu.c", "new_path": "hypervisor/arch/x86/cpu.c", "diff": "#include <page.h>\n#include <e820.h>\n#include <mmu.h>\n+#include <vtd.h>\n#include <lapic.h>\n#include <per_cpu.h>\n#include <cpufeatures.h>\n@@ -214,6 +215,12 @@ void init_cpu_post...
C
BSD 3-Clause New or Revised License
projectacrn/acrn-hypervisor
hv:move forward the initialization for iommu & ptdev move 'init_iommu()' & 'ptdev_init()' before starting all secondary cores to avoid access uninitialized resource in partition mode. Tracked-On: #1842 Signed-off-by: Mingqiang Chi <mingqiang.chi@intel.com> Acked-by: Eddie Dong <eddie.dong@intel.com>
528,711
28.02.2019 08:44:14
-28,800
0943a836bd7bcb57b22e79d3cc65b1d25940a4e1
[hv] set ECX.bit31 to indicate the presence of a hypervisor ECS.bit31 is not used and always return 0 in SDM Vol.2A 3-195. It's a standard way to indicate whether there is a hypervisor. Ref: Acked-by: Anthony Xu
[ { "change_type": "MODIFY", "old_path": "hypervisor/arch/x86/guest/vcpuid.c", "new_path": "hypervisor/arch/x86/guest/vcpuid.c", "diff": "@@ -345,6 +345,9 @@ void guest_cpuid(struct acrn_vcpu *vcpu, uint32_t *eax, uint32_t *ebx, uint32_t\n/*mask vmx to guest os */\n*ecx &= ~CPUID_ECX_VMX;\n+ /* set Hy...
C
BSD 3-Clause New or Revised License
projectacrn/acrn-hypervisor
[hv] set ECX.bit31 to indicate the presence of a hypervisor ECS.bit31 is not used and always return 0 in SDM Vol.2A 3-195. It's a standard way to indicate whether there is a hypervisor. Tracked-On: #2490 Ref: https://lwn.net/Articles/301888/ Signed-off-by: Xinyun Liu <xinyun.liu@intel.com> Acked-by: Anthony Xu <antho...
528,654
28.02.2019 23:28:33
-28,800
3d0d8609cc60f4acfebda0bf299d1cb68043445d
hv: vlapic: correct wrong use of vector Correct wrong use of vector where lvt_index should be used.
[ { "change_type": "MODIFY", "old_path": "hypervisor/arch/x86/guest/vlapic.c", "new_path": "hypervisor/arch/x86/guest/vlapic.c", "diff": "@@ -957,12 +957,12 @@ vlapic_set_error(struct acrn_vlapic *vlapic, uint32_t mask)\n}\n}\n/*\n- * @pre vector <= 255\n+ * @pre APIC_LVT_TIMER <= lvt_index <= APIC_LV...
C
BSD 3-Clause New or Revised License
projectacrn/acrn-hypervisor
hv: vlapic: correct wrong use of vector Correct wrong use of vector where lvt_index should be used. Tracked-On: #1842 Signed-off-by: Min He <min.he@intel.com> Signed-off-by: Li, Fei1 <fei1.li@intel.com>
528,801
04.03.2019 09:26:36
-28,800
da14c96135c1383b986a510986ef8d26041962c3
hv: simplify `get_primary_vcpu` and `vcpu_from_vid` This patch simplifies `get_primary_vcpu` and `vcpu_from_vid`. The target_vcpu could be get from the index directly. Acked-by: Eddie Dong
[ { "change_type": "MODIFY", "old_path": "hypervisor/arch/x86/guest/virq.c", "new_path": "hypervisor/arch/x86/guest/virq.c", "diff": "@@ -192,7 +192,7 @@ static int32_t vcpu_do_pending_extint(const struct acrn_vcpu *vcpu)\n/* check if there is valid interrupt from vPIC, if yes just inject it */\n/* PI...
C
BSD 3-Clause New or Revised License
projectacrn/acrn-hypervisor
hv: simplify `get_primary_vcpu` and `vcpu_from_vid` This patch simplifies `get_primary_vcpu` and `vcpu_from_vid`. The target_vcpu could be get from the index directly. Tracked-On: #1842 Signed-off-by: Shiqing Gao <shiqing.gao@intel.com> Acked-by: Eddie Dong <eddie.dong@intel.com>
528,654
01.03.2019 23:39:11
-28,800
e5d3a4989473c97f28b602a4c60829aeeb2a6325
hv: vlapic: call vlapic_accept_intr directly in vlapic_set_error LVT ERROR is an edge and fixed mode interrupt. We could call vlapic_accept_intr to fire it directly. Otherwise, if LVT ERR vector is invalid, an invalid interrupt will be accepted in IRR.
[ { "change_type": "MODIFY", "old_path": "hypervisor/arch/x86/guest/vlapic.c", "new_path": "hypervisor/arch/x86/guest/vlapic.c", "diff": "@@ -793,7 +793,7 @@ vlapic_fire_lvt(struct acrn_vlapic *vlapic, uint32_t lvt)\nswitch (mode) {\ncase APIC_LVT_DM_FIXED:\n- if (vlapic_accept_intr(vlapic, vec, false...
C
BSD 3-Clause New or Revised License
projectacrn/acrn-hypervisor
hv: vlapic: call vlapic_accept_intr directly in vlapic_set_error LVT ERROR is an edge and fixed mode interrupt. We could call vlapic_accept_intr to fire it directly. Otherwise, if LVT ERR vector is invalid, an invalid interrupt will be accepted in IRR. Tracked-On: #1842 Signed-off-by: Li, Fei1 <fei1.li@intel.com>
528,654
04.03.2019 23:54:14
-28,800
ca3d4fca55fe12310a6800fea81929984ccdfade
hv: vlapic: move LVT IRQ vector check to vlapic_fire_lvt We could simple the vector check for LVT IRQ by move this check to vlapic_fire_lvt when the IRQ is fixed mode.
[ { "change_type": "MODIFY", "old_path": "hypervisor/arch/x86/guest/vlapic.c", "new_path": "hypervisor/arch/x86/guest/vlapic.c", "diff": "@@ -793,9 +793,7 @@ vlapic_fire_lvt(struct acrn_vlapic *vlapic, uint32_t lvt)\nswitch (mode) {\ncase APIC_LVT_DM_FIXED:\n- if (vlapic_accept_intr(vlapic, vec, LAPIC...
C
BSD 3-Clause New or Revised License
projectacrn/acrn-hypervisor
hv: vlapic: move LVT IRQ vector check to vlapic_fire_lvt We could simple the vector check for LVT IRQ by move this check to vlapic_fire_lvt when the IRQ is fixed mode. Tracked-On: #1842 Signed-off-by: Li, Fei1 <fei1.li@intel.com>
528,647
01.03.2019 11:51:08
-28,800
741501c2e3e7fdc78f9492793afb346ed0936043
hv: refine vlapic_calc_dest() This commit extracts the common logic of vlapic_calc_dest() and vlapic_calc_dest_lapic_pt() to static inline functions, in order to make vlapic_calc_dest() clean and easy to read.
[ { "change_type": "MODIFY", "old_path": "hypervisor/arch/x86/guest/vlapic.c", "new_path": "hypervisor/arch/x86/guest/vlapic.c", "diff": "@@ -1031,167 +1031,152 @@ vlapic_trigger_lvt(struct acrn_vlapic *vlapic, uint32_t lvt_index)\nreturn ret;\n}\n-/*\n- * This function populates 'dmask' with the set ...
C
BSD 3-Clause New or Revised License
projectacrn/acrn-hypervisor
hv: refine vlapic_calc_dest() This commit extracts the common logic of vlapic_calc_dest() and vlapic_calc_dest_lapic_pt() to static inline functions, in order to make vlapic_calc_dest() clean and easy to read. Tracked-On: #1842 Signed-off-by: Yan, Like <like.yan@intel.com>
528,768
07.03.2019 19:57:35
-28,800
36f6a412b7cc6ceaf18639f56954ac44cd959dae
hv:validate ID and state of vCPU for related APIs to validate the ID and state of vCPU in below functions: - hcall_set_vcpu_regs() - hcall_notify_ioreq_finish() - shell_vcpu_dumpreq() Acked-by: Eddie Dong
[ { "change_type": "MODIFY", "old_path": "hypervisor/common/hypercall.c", "new_path": "hypervisor/common/hypercall.c", "diff": "@@ -320,22 +320,22 @@ int32_t hcall_set_vcpu_regs(struct acrn_vm *vm, uint16_t vmid, uint64_t param)\nstruct acrn_vm *target_vm = get_vm_from_vmid(vmid);\nstruct acrn_set_vcp...
C
BSD 3-Clause New or Revised License
projectacrn/acrn-hypervisor
hv:validate ID and state of vCPU for related APIs to validate the ID and state of vCPU in below functions: - hcall_set_vcpu_regs() - hcall_notify_ioreq_finish() - shell_vcpu_dumpreq() Tracked-On: #861 Signed-off-by: Yonghua Huang <yonghua.huang@intel.com> Acked-by: Eddie Dong <eddie.dong@intel.com>
528,783
07.03.2019 14:03:10
-28,800
55f52978dbd3f56248331bf8b0168e40eba044e1
hv:move several tsc APIs to timer.c change 'tsc_khz' to static move these APIs from rtl.h to timer.c us_to_ticks() ticks_to_us() ticks_to_ms() rdtsc() Acked-by: Eddie Dong
[ { "change_type": "MODIFY", "old_path": "doc/developer-guides/hld/hv-timer.rst", "new_path": "doc/developer-guides/hld/hv-timer.rst", "diff": "@@ -45,3 +45,17 @@ Interfaces Design\n.. doxygenfunction:: calibrate_tsc\n:project: Project ACRN\n+.. doxygenfunction:: us_to_ticks\n+ :project: Project ACRN\...
C
BSD 3-Clause New or Revised License
projectacrn/acrn-hypervisor
hv:move several tsc APIs to timer.c -- change 'tsc_khz' to static -- move these APIs from rtl.h to timer.c us_to_ticks() ticks_to_us() ticks_to_ms() rdtsc() Tracked-On: #1842 Signed-off-by: Mingqiang Chi <mingqiang.chi@intel.com> Acked-by: Eddie Dong <eddie.dong@intel.com>
528,756
07.03.2019 13:40:01
-28,800
f6a989b7be4480a1fd6450c55fa6fd5d1d060272
dm: use power button acpi device to find its input event check the power button acpi driver firstly, then find input event corresponding to the power button. Acked-by: Yu Wang
[ { "change_type": "MODIFY", "old_path": "devicemodel/arch/x86/pm.c", "new_path": "devicemodel/arch/x86/pm.c", "diff": "#include <unistd.h>\n#include <fcntl.h>\n#include <linux/input.h>\n+#include <dirent.h>\n+#include <string.h>\n+#include <stdlib.h>\n#include \"vmmapi.h\"\n#include \"acpi.h\"\n#incl...
C
BSD 3-Clause New or Revised License
projectacrn/acrn-hypervisor
dm: use power button acpi device to find its input event check the power button acpi driver firstly, then find input event corresponding to the power button. Tracked-On: #2695 Signed-off-by: Yuan Liu <yuan1.liu@intel.com> Acked-by: Yu Wang <yu1.wang@intel.com>
528,747
01.03.2019 13:18:24
28,800
ff9ef2a19d0d0ecb8a4ddbac25325e8753c08565
doc: fix broken external links Found some broken links to external sites in the documentation.
[ { "change_type": "MODIFY", "old_path": "doc/api/devicemodel_api.rst", "new_path": "doc/api/devicemodel_api.rst", "diff": "@@ -4,10 +4,11 @@ Device Model APIs\n#################\nThis section contains APIs for the SOS Device Model services. Sources\n-for the Device Model are found in the `ACRN Device...
C
BSD 3-Clause New or Revised License
projectacrn/acrn-hypervisor
doc: fix broken external links Found some broken links to external sites in the documentation. Signed-off-by: David B. Kinder <david.b.kinder@intel.com>
528,772
08.03.2019 00:57:32
-28,800
c0400b99fb7e8aad99a858da08eb311c2bce9a3f
HV: Fix modularization vm config code lost CAT code Previous change 'HV: modularization vm config code', commit id lost CAT code when move sanitize_vm_config() from vm.c to vm_config.c
[ { "change_type": "MODIFY", "old_path": "hypervisor/arch/x86/configs/vm_config.c", "new_path": "hypervisor/arch/x86/configs/vm_config.c", "diff": "#include <errno.h>\n#include <acrn_common.h>\n#include <page.h>\n+#include <logmsg.h>\n+#include <cat.h>\n#ifndef CONFIG_PARTITION_MODE\n#include <sos_vm....
C
BSD 3-Clause New or Revised License
projectacrn/acrn-hypervisor
HV: Fix modularization vm config code lost CAT code Previous change 'HV: modularization vm config code', commit id 1bb15c64a668a82c87b92aa5b5e3ceb88f264d2a, lost CAT code when move sanitize_vm_config() from vm.c to vm_config.c Tracked-On: #2291 Signed-off-by: Tao Yuhong <yuhong.tao@intel.com>
528,652
07.03.2019 15:42:22
28,800
bf1aa5c134645305bfd1c7a810c50675c2505ec5
hv: destroy IOMMU domain after vpci_cleanup() In partition mode, unassign_iommu_device() is called from vpci_cleanup(), so when shutdown_vm() is called, unassign_iommu_device() could fail because of "domain id mismatch" and DMAR is not cleared. Also move destroy_ept() after the call to destroy_iommu_domain(). Acked-by:...
[ { "change_type": "MODIFY", "old_path": "hypervisor/arch/x86/guest/vm.c", "new_path": "hypervisor/arch/x86/guest/vm.c", "diff": "@@ -449,18 +449,19 @@ int32_t shutdown_vm(struct acrn_vm *vm)\nptdev_release_all_entries(vm);\n- /* Free EPT allocated resources assigned to VM */\n- destroy_ept(vm);\n+ vp...
C
BSD 3-Clause New or Revised License
projectacrn/acrn-hypervisor
hv: destroy IOMMU domain after vpci_cleanup() In partition mode, unassign_iommu_device() is called from vpci_cleanup(), so when shutdown_vm() is called, unassign_iommu_device() could fail because of "domain id mismatch" and DMAR is not cleared. Also move destroy_ept() after the call to destroy_iommu_domain(). Tracke...
528,718
02.03.2019 19:05:11
-28,800
e779982c6f8f77e8af7fb7aefda025350e5b92f9
doc: use the new board name for UP2 in create-up2-images.sh script The board name for building images for UP2 has been changed from 'up2' to 'apl-up2' by the commit #f9b5e21.
[ { "change_type": "MODIFY", "old_path": "doc/tutorials/create-up2-images.sh", "new_path": "doc/tutorials/create-up2-images.sh", "diff": "@@ -50,7 +50,7 @@ create_sos_images() {\nif [[ ! ${ACRN_SBL} || ! -f ${ACRN_SBL} ]]\nthen\n- ACRN_SBL=sos_rootfs/usr/lib/acrn/acrn.up2.sbl\n+ ACRN_SBL=sos_rootfs/us...
C
BSD 3-Clause New or Revised License
projectacrn/acrn-hypervisor
doc: use the new board name for UP2 in create-up2-images.sh script The board name for building images for UP2 has been changed from 'up2' to 'apl-up2' by the commit #f9b5e21. Signed-off-by: Tonny Tzeng <tonny.tzeng@intel.com>
528,801
08.03.2019 09:37:49
-28,800
72fbc7e79f9e3a307a2df3898f52207f44537459
doc: add some comments for coding guidelines This patch adds some comments for coding guidelines.
[ { "change_type": "MODIFY", "old_path": "doc/developer-guides/coding_guidelines.rst", "new_path": "doc/developer-guides/coding_guidelines.rst", "diff": ".. _coding_guidelines:\n+.. This document is being generated with a python script.\n+.. If you would like to update this document, please contact Sh...
C
BSD 3-Clause New or Revised License
projectacrn/acrn-hypervisor
doc: add some comments for coding guidelines This patch adds some comments for coding guidelines. Tracked-On: #861 Signed-off-by: Shiqing Gao <shiqing.gao@intel.com>
528,801
07.03.2019 10:02:00
-28,800
18b619da4d7c48ba60cd5ce4eba7c042c7f93dac
doc: add the doc for 'Error Detection and Handling' This patch adds the doc for 'Error Detection and Handling'.
[ { "change_type": "ADD", "old_path": "doc/developer-guides/images/work_flow_of_error_detection_and_error_handling.png", "new_path": "doc/developer-guides/images/work_flow_of_error_detection_and_error_handling.png", "diff": "Binary files /dev/null and b/doc/developer-guides/images/work_flow_of_error_d...
C
BSD 3-Clause New or Revised License
projectacrn/acrn-hypervisor
doc: add the doc for 'Error Detection and Handling' This patch adds the doc for 'Error Detection and Handling'. Signed-off-by: Shiqing Gao <shiqing.gao@intel.com>
528,801
11.03.2019 08:38:17
-28,800
31f04e1a7b2f91fe81c1d3dde2e9ad89ca80ced2
doc: fix typos in coding guidelines This patch fixes typos in coding guidelines.
[ { "change_type": "MODIFY", "old_path": "doc/developer-guides/coding_guidelines.rst", "new_path": "doc/developer-guides/coding_guidelines.rst", "diff": "@@ -2812,8 +2812,8 @@ width.\n-CS-05: Trailing whitespaces shall not be allowed at the end of lines\n-==============================================...
C
BSD 3-Clause New or Revised License
projectacrn/acrn-hypervisor
doc: fix typos in coding guidelines This patch fixes typos in coding guidelines. Tracked-On: #2711 Signed-off-by: Shiqing Gao <shiqing.gao@intel.com>
528,751
11.03.2019 21:20:59
-28,800
18ba75248faa51c41fe1fdc09b08dc2b3f69de8d
dm: virtio-net: fix memory leak Dynamic memory stored in 'net' allocated through function 'calloc' should be freed correspondingly when return fail.
[ { "change_type": "MODIFY", "old_path": "devicemodel/hw/pci/virtio/virtio_net.c", "new_path": "devicemodel/hw/pci/virtio/virtio_net.c", "diff": "@@ -764,6 +764,7 @@ virtio_net_init(struct vmctx *ctx, struct pci_vdev *dev, char *opts)\ndevname = vtopts = strdup(opts);\nif (!devname) {\nWPRINTF((\"virt...
C
BSD 3-Clause New or Revised License
projectacrn/acrn-hypervisor
dm: virtio-net: fix memory leak Dynamic memory stored in 'net' allocated through function 'calloc' should be freed correspondingly when return fail. Tracked-On: #2704 Signed-off-by: Jie Deng <jie.deng@intel.com> Reviewed-by: Yonghua Huang <yonghua.huang@intel.com>
528,665
05.03.2019 13:30:58
0
2b74e1a91e2287125ec9b24f78b3ccad1dab9cf2
HV: PAE: Add stac()/clac() in local_gva2gpa_pae Accessing memory of guest will cause page fault when SMAP is enabled. This patch stac()/clac() correspondingly to get rid of this situation. Acked-by: Eddie Dong
[ { "change_type": "MODIFY", "old_path": "hypervisor/arch/x86/guest/guest_memory.c", "new_path": "hypervisor/arch/x86/guest/guest_memory.c", "diff": "@@ -215,7 +215,9 @@ static int32_t local_gva2gpa_pae(struct acrn_vcpu *vcpu, struct page_walk_info *\nbase = (uint64_t *)gpa2hva(vcpu->vm, addr);\nif (b...
C
BSD 3-Clause New or Revised License
projectacrn/acrn-hypervisor
HV: PAE: Add stac()/clac() in local_gva2gpa_pae Accessing memory of guest will cause page fault when SMAP is enabled. This patch stac()/clac() correspondingly to get rid of this situation. Tracked-On: #2713 Signed-off-by: Kaige Fu <kaige.fu@intel.com> Acked-by: Eddie Dong <eddie.dong@intel.com>
528,772
08.01.2019 14:41:59
0
48774f716ffb345d834a6ddc32ceb9dbe551b685
tools: acrn-manager: print more debug information Print more information at acrnd_add_work(), query_state() try_do_works() and handle_acrnd_resume() Acked-by: Yan, Like
[ { "change_type": "MODIFY", "old_path": "tools/acrn-manager/acrn_vm_ops.c", "new_path": "tools/acrn-manager/acrn_vm_ops.c", "diff": "@@ -75,11 +75,14 @@ static int query_state(const char *name)\nreq.timestamp = time(NULL);\nret = send_msg(name, &req, &ack);\n- if (ret)\n+ if (ret) {\n+ pdebug();\nret...
C
BSD 3-Clause New or Revised License
projectacrn/acrn-hypervisor
tools: acrn-manager: print more debug information Print more information at acrnd_add_work(), query_state() try_do_works() and handle_acrnd_resume() Tracked-On: #2716 Signed-off-by: Tao Yuhong <yuhong.tao@intel.com> Acked-by: Yan, Like <like.yan@intel.com>
528,665
17.01.2019 16:29:02
0
d5ec844f86864ff0d7c4348bd1562ccaa8b69c79
tools: acrn-manager: Replace pdebug with explicit err msg pdebug just provide information about function name and source code line number. From debug point of view, it is better to give developer more detailed err msg. Acked-by: Yan, Like
[ { "change_type": "MODIFY", "old_path": "tools/acrn-manager/acrn_mngr.c", "new_path": "tools/acrn-manager/acrn_mngr.c", "diff": "@@ -34,7 +34,6 @@ static int check_dir(const char *path)\nif (S_ISDIR(st.st_mode))\nreturn 0;\n- pdebug();\nreturn -1;\n}\n@@ -95,13 +94,13 @@ static struct mngr_client *mn...
C
BSD 3-Clause New or Revised License
projectacrn/acrn-hypervisor
tools: acrn-manager: Replace pdebug with explicit err msg pdebug just provide information about function name and source code line number. From debug point of view, it is better to give developer more detailed err msg. Tracked-On: #2716 Signed-off-by: Kaige Fu <kaige.fu@intel.com> Acked-by: Yan, Like <like.yan@intel....
528,772
08.01.2019 15:22:14
0
204f9750a8aad9fc8f6205e10d927a847bd13bfd
tools: acrnd: Fix launch UOS by timer list without fork() When acrnd_vm_timer_func() launch UOS, it need fork() and run, so that do not block the main process. Acked-by: Yan, Like
[ { "change_type": "MODIFY", "old_path": "tools/acrn-manager/acrnd.c", "new_path": "tools/acrn-manager/acrnd.c", "diff": "@@ -122,6 +122,7 @@ unsigned get_sos_wakeup_reason(void);\nvoid acrnd_vm_timer_func(struct work_arg *arg)\n{\nstruct vmmngr_struct *vm;\n+ pid_t pid;\nif (!arg) {\nprintf(\"%s: No ...
C
BSD 3-Clause New or Revised License
projectacrn/acrn-hypervisor
tools: acrnd: Fix launch UOS by timer list without fork() When acrnd_vm_timer_func() launch UOS, it need fork() and run, so that do not block the main process. Tracked-On: #2716 Signed-off-by: Tao Yuhong <yuhong.tao@intel.com> Acked-by: Yan, Like <like.yan@intel.com>
528,665
26.02.2019 14:36:27
0
694fca9c06b193def6a88d99ac57c1062c75179a
DM: Add sample script to launch zephyr as guest This patch add one sample script to launch zephyr as guest.
[ { "change_type": "ADD", "old_path": null, "new_path": "devicemodel/samples/nuc/launch_zephyr.sh", "diff": "+#!/bin/bash\n+\n+function launch_zephyr()\n+{\n+vm_name=zephyr_vm$1\n+\n+#check if the vm is running or not\n+vm_ps=$(pgrep -a -f acrn-dm)\n+result=$(echo $vm_ps | grep \"${vm_name}\")\n+if [[...
C
BSD 3-Clause New or Revised License
projectacrn/acrn-hypervisor
DM: Add sample script to launch zephyr as guest This patch add one sample script to launch zephyr as guest. Tracked-On: #2713 Signed-off-by: Kaige Fu <kaige.fu@intel.com> Reviewed-by: Binbin Wu <binbin.wu@intel.com> Reviewed-by: Yan, Like <like.yan@intel.com>
528,706
12.03.2019 07:17:32
-28,800
7ab6e7ea03e3607590eff6404fd478fe3f5d81a7
dm: usb: fix possible memory leak fix possible memory leak for usb.
[ { "change_type": "MODIFY", "old_path": "devicemodel/hw/pci/xhci.c", "new_path": "devicemodel/hw/pci/xhci.c", "diff": "@@ -4012,8 +4012,8 @@ errout:\nfor (i = 1; i <= XHCI_MAX_DEVS && xdev->devices[i]; i++)\nfree(xdev->devices[i]);\nxdev->ndevices = 0;\n- xdev->devices = NULL;\nfree(xdev->devices);\n...
C
BSD 3-Clause New or Revised License
projectacrn/acrn-hypervisor
dm: usb: fix possible memory leak fix possible memory leak for usb. Tracked-On: #2704 Signed-off-by: Conghui Chen <conghui.chen@intel.com> Reviewed-by: Yuan Liu <yuan1.liu@intel.com> Reviewed-by: Yonghua Huang <yonghua.huang@intel.com>
528,654
12.03.2019 21:38:00
-28,800
78890622b2f82b8c62d20a15e0cdca21c55d709f
hv: vlapic: minor fix about detect_apicv_cap detect_apicv_cap should used to detect all the APICv capabilities. Besides, "Virtualize x2APIC mode" doesn't depend on "APIC-register virtualization". We shouldn't check "Virtualize x2APIC mode" support only when physical platform supports "APIC-register virtualization"
[ { "change_type": "MODIFY", "old_path": "hypervisor/arch/x86/cpu_caps.c", "new_path": "hypervisor/arch/x86/cpu_caps.c", "diff": "@@ -141,37 +141,31 @@ static void detect_apicv_cap(void)\nuint64_t msr_val;\nmsr_val = msr_read(MSR_IA32_VMX_PROCBASED_CTLS);\n- /* must support TPR shadow */\nif (is_ctrl_...
C
BSD 3-Clause New or Revised License
projectacrn/acrn-hypervisor
hv: vlapic: minor fix about detect_apicv_cap detect_apicv_cap should used to detect all the APICv capabilities. Besides, "Virtualize x2APIC mode" doesn't depend on "APIC-register virtualization". We shouldn't check "Virtualize x2APIC mode" support only when physical platform supports "APIC-register virtualization" Tr...
528,671
28.02.2019 11:36:25
-28,800
23e85ff12a337b5d870064da37c0c9fc0df2c1c3
Makefile: remove deprecated PLATFORM PLATFORM is no longer used and is replaced with BOARD. Acked-by: Eddie Dong
[ { "change_type": "MODIFY", "old_path": "Makefile", "new_path": "Makefile", "diff": "# global helper variables\nT := $(CURDIR)\n-# PLATFORM is now deprecated, just reserve for compatability\n-ifdef PLATFORM\n-$(warning PLATFORM is deprecated, pls use BOARD instead)\n-endif\n-PLATFORM ?= uefi\n-\n-# B...
C
BSD 3-Clause New or Revised License
projectacrn/acrn-hypervisor
Makefile: remove deprecated PLATFORM PLATFORM is no longer used and is replaced with BOARD. Tracked-On: #2708 Signed-off-by: Tw <wei.tan@intel.com> Acked-by: Eddie Dong <eddie.dong@intel.com>
528,671
04.03.2019 13:51:41
-28,800
9b24620e16dd03da735b0a812f549b42bb649111
hv: merge SBL and UEFI related stuff under boot This patch mainly unifies init_vm_boot_info's implementation between SBL and UEFI. Acked-by: Eddie Dong
[ { "change_type": "MODIFY", "old_path": "hypervisor/Makefile", "new_path": "hypervisor/Makefile", "diff": "@@ -232,15 +232,10 @@ C_SRCS += bsp/firmware_uefi.c\nC_SRCS += bsp/cmdline.c\nC_SRCS += bsp/const_dmar.c\n-ifeq ($(CONFIG_PLATFORM_UEFI),y)\nC_SRCS += boot/uefi/uefi_boot.c\n-else\n-ifeq ($(CONF...
C
BSD 3-Clause New or Revised License
projectacrn/acrn-hypervisor
hv: merge SBL and UEFI related stuff under boot This patch mainly unifies init_vm_boot_info's implementation between SBL and UEFI. Tracked-On: #2708 Signed-off-by: Tw <wei.tan@intel.com> Acked-by: Eddie Dong <eddie.dong@intel.com>
528,671
11.03.2019 09:15:59
-28,800
334382f9ef1f0564598cd2f96ad22d1a7f8b4c1c
efi-stub: minor change for uefi refactor Include these changes: substitute efi_context with uefi_context remove EFI_STUB from Kconfig remove EFI_
[ { "change_type": "MODIFY", "old_path": "efi-stub/Makefile", "new_path": "efi-stub/Makefile", "diff": "@@ -60,9 +60,9 @@ LDSCRIPT := $(GNUEFI_DIR)/elf_$(ARCH)_efi.lds\nINCDIR := $(SYSROOT)/usr/include\nCFLAGS=-I. -I.. -I../hypervisor/include/arch/x86/guest -I$(INCDIR)/efi -I$(INCDIR)/efi/$(ARCH) \\\n...
C
BSD 3-Clause New or Revised License
projectacrn/acrn-hypervisor
efi-stub: minor change for uefi refactor Include these changes: - substitute efi_context with uefi_context - remove EFI_STUB from Kconfig - remove EFI_ Signed-off-by: Tw <wei.tan@intel.com>
528,671
01.03.2019 15:19:40
-28,800
ce387084ed75fa97c3df121a8d3529c2935f7bf3
hv: remove CONFIG_PLATFORM_[SBL|UEFI] and UEFI_STUB ACRN now has unified the way to handle SBL and UEFI. so just remove corresponding macros in Kconfig. BTW, default configuration in Kconfig is for UEFI boards. Acked-by: Eddie Dong
[ { "change_type": "MODIFY", "old_path": "hypervisor/Makefile", "new_path": "hypervisor/Makefile", "diff": "@@ -296,7 +296,7 @@ endif\n.PHONY: all\nall: lib $(HV_OBJDIR)/$(HV_FILE).32.out $(HV_OBJDIR)/$(HV_FILE).bin\n-ifeq ($(CONFIG_PLATFORM_SBL),y)\n+ifeq ($(FIRMWARE),sbl)\ninstall: lib $(HV_OBJDIR)/...
C
BSD 3-Clause New or Revised License
projectacrn/acrn-hypervisor
hv: remove CONFIG_PLATFORM_[SBL|UEFI] and UEFI_STUB ACRN now has unified the way to handle SBL and UEFI. so just remove corresponding macros in Kconfig. BTW, default configuration in Kconfig is for UEFI boards. Tracked-On: #2708 Signed-off-by: Tw <wei.tan@intel.com> Acked-by: Eddie Dong <eddie.dong@intel.com>
528,783
12.03.2019 11:08:47
-28,800
5331b395208bcadc99e08238ab8cea302b875146
hv:remove 'cpu_mode' from struct vm_guest_paging now the 'cpu_mode' is unused in struct vm_guest_paging, and there is the same variable in struct acrn_vcpu_arch Acked-by: Eddie Dong
[ { "change_type": "MODIFY", "old_path": "hypervisor/arch/x86/guest/instr_emul.c", "new_path": "hypervisor/arch/x86/guest/instr_emul.c", "diff": "@@ -486,7 +486,6 @@ static void get_guest_paging_info(struct acrn_vcpu *vcpu, struct instr_emul_ctxt\ncpl = (uint8_t)((csar >> 5U) & 3U);\nemul_ctxt->paging...
C
BSD 3-Clause New or Revised License
projectacrn/acrn-hypervisor
hv:remove 'cpu_mode' from struct vm_guest_paging now the 'cpu_mode' is unused in struct vm_guest_paging, and there is the same variable in struct acrn_vcpu_arch Tracked-On: #1842 Signed-off-by: Mingqiang Chi <mingqiang.chi@intel.com> Acked-by: Eddie Dong <eddie.dong@intel.com>
528,675
24.02.2019 20:19:33
-28,800
286731d9d1f99fe20ab190dea8b5c9bbd9b3a278
hv:move instr_emul_ctxt instance to struct vcpu move instr_emul_ctxt instance from struct per_cpu_region to struct vcpu, and rename it from g_inst_ctxt to inst_ctxt Acked-by: Eddie Dong
[ { "change_type": "MODIFY", "old_path": "hypervisor/arch/x86/guest/instr_emul.c", "new_path": "hypervisor/arch/x86/guest/instr_emul.c", "diff": "@@ -478,10 +478,10 @@ static void vm_get_seg_desc(enum cpu_reg_name seg, struct seg_desc *desc)\ndesc->access = exec_vmread32(tdesc.access_field);\n}\n-stat...
C
BSD 3-Clause New or Revised License
projectacrn/acrn-hypervisor
hv:move instr_emul_ctxt instance to struct vcpu move instr_emul_ctxt instance from struct per_cpu_region to struct vcpu, and rename it from g_inst_ctxt to inst_ctxt Tracked-On: #1842 Signed-off-by: Jason Chen CJ <jason.cj.chen@intel.com> Acked-by: Eddie Dong <eddie.dong@intel.com>
528,799
06.03.2019 14:21:36
28,800
caa291c094da40d37eb6458a9f57ec8f7c7e83c0
HV: some minor code cleanup for partition mode code Define is_hostbridge function Rename pdev_ref to pdev Acked-by: Eddie Dong
[ { "change_type": "MODIFY", "old_path": "hypervisor/dm/vpci/partition_mode.c", "new_path": "hypervisor/dm/vpci/partition_mode.c", "diff": "#include <logmsg.h>\n#include \"pci_priv.h\"\n+static inline bool is_hostbridge(const struct pci_vdev *vdev)\n+{\n+ return (vdev->vbdf.value == 0U);\n+}\nstatic i...
C
BSD 3-Clause New or Revised License
projectacrn/acrn-hypervisor
HV: some minor code cleanup for partition mode code Define is_hostbridge function Rename pdev_ref to pdev Tracked-On: #2534 Signed-off-by: dongshen <dongsheng.x.zhang@intel.com> Acked-by: Eddie Dong <eddie.dong@intel.com>
528,731
08.03.2019 10:30:07
-28,800
4d0419ed71ceae109e6cb64bbd9697342c7fe69b
dm: passthru: fix potentail mem leaks Fix potential memory leakage in some error case handling.
[ { "change_type": "MODIFY", "old_path": "devicemodel/hw/pci/passthrough.c", "new_path": "devicemodel/hw/pci/passthrough.c", "diff": "@@ -793,7 +793,8 @@ passthru_init(struct vmctx *ctx, struct pci_vdev *dev, char *opts)\nptdev = calloc(1, sizeof(struct passthru_dev));\nif (ptdev == NULL) {\nwarnx(\"%...
C
BSD 3-Clause New or Revised License
projectacrn/acrn-hypervisor
dm: passthru: fix potentail mem leaks Fix potential memory leakage in some error case handling. Tracked-On: #2704 Signed-off-by: Binbin Wu <binbin.wu@intel.com> Reviewed-by: Yonghua Huang <yonghua.huang@intel.com>
528,786
06.03.2019 13:24:55
-28,800
95d1e40283d72750cac72e9260b5ad5804514b95
hv: refactor seed management New component to maintain seed retrieval and derivation: seed. 1. Retrieve seed from bootloader in Hypervisor's boot stage. 2. Derive virtual seed for Guest/Trusty if need.
[ { "change_type": "MODIFY", "old_path": "hypervisor/Makefile", "new_path": "hypervisor/Makefile", "diff": "@@ -131,6 +131,10 @@ C_SRCS += boot/reloc.c\n# initilization component\nC_SRCS += arch/x86/init.c\n+C_SRCS += arch/x86/seed/seed.c\n+C_SRCS += arch/x86/seed/seed_abl.c\n+C_SRCS += arch/x86/seed/...
C
BSD 3-Clause New or Revised License
projectacrn/acrn-hypervisor
hv: refactor seed management New component to maintain seed retrieval and derivation: seed. 1. Retrieve seed from bootloader in Hypervisor's boot stage. 2. Derive virtual seed for Guest/Trusty if need. Tracked-On: #2724 Signed-off-by: Qi Yadong <yadong.qi@intel.com> Reviewed-by: Zhu Bing <bing.zhu@intel.com>
528,648
13.03.2019 09:38:59
-28,800
20249380d3948496e5cd2bc07d4b4608112b2d8c
audio-mediator: load updated audio kernel modules Audio kernel has updated name and add two new kernel modules from SOS 28100
[ { "change_type": "MODIFY", "old_path": "devicemodel/samples/apl-mrb/launch_uos.sh", "new_path": "devicemodel/samples/apl-mrb/launch_uos.sh", "diff": "@@ -7,8 +7,8 @@ if [ -e \"/dev/acrn_hsm\" ]; then\noffline_path=\"/sys/class/acrn/acrn_hsm\"\nfi\n-kernel_version=$(uname -r | awk -F. '{ printf(\"%d....
C
BSD 3-Clause New or Revised License
projectacrn/acrn-hypervisor
audio-mediator: load updated audio kernel modules Audio kernel has updated name and add two new kernel modules from SOS 28100 Tracked-On: #2744 Signed-off-by: wenlingz <wenling.zhang@intel.com>
528,671
13.03.2019 17:59:36
-28,800
065e16d32e658fbe7b12e077bcfd486ab0271552
Makefile: make UP2 sample directory name consistent with board name It makes more sense by aligning directory name with board name.
[ { "change_type": "MODIFY", "old_path": "devicemodel/Makefile", "new_path": "devicemodel/Makefile", "diff": "@@ -163,7 +163,7 @@ PROGRAM := acrn-dm\nSAMPLES_NUC := $(wildcard samples/nuc/*)\nSAMPLES_MRB := $(wildcard samples/apl-mrb/*)\n-SAMPLES_UP2 := $(wildcard samples/up2/*)\n+SAMPLES_UP2 := $(wil...
C
BSD 3-Clause New or Revised License
projectacrn/acrn-hypervisor
Makefile: make UP2 sample directory name consistent with board name It makes more sense by aligning directory name with board name. Tracked-On: #2760 Signed-off-by: Tw <wei.tan@intel.com> Reviewed-by: Binbin Wu <binbin.wu@intel.com>
528,780
13.03.2019 14:57:02
-28,800
31cb4721e1b33f8705cef6efc5c3424d03951e39
acrn/dm: Remove the memory leak in gvt mediator Otherwise it causes the memory leak. V1->V2: Fix the leak of pi->arg as gvt structure also needs to be released. Acked-by: Yin Fengwei
[ { "change_type": "MODIFY", "old_path": "devicemodel/hw/pci/gvt.c", "new_path": "devicemodel/hw/pci/gvt.c", "diff": "@@ -262,9 +262,18 @@ pci_gvt_deinit(struct vmctx *ctx, struct pci_vdev *pi, char *opts)\nint ret;\nstruct pci_gvt *gvt = pi->arg;\n+ if (gvt && gvt->host_config) {\n+ /* Free the alloc...
C
BSD 3-Clause New or Revised License
projectacrn/acrn-hypervisor
acrn/dm: Remove the memory leak in gvt mediator Otherwise it causes the memory leak. V1->V2: Fix the leak of pi->arg as gvt structure also needs to be released. Tracked-On: #2762 Signed-off-by: Zhao Yakui <yakui.zhao@intel.com> Reviewed-by: He, Min <min.he@intel.com> Acked-by: Yin Fengwei <fengwei.yin@intel.com>
528,731
13.03.2019 17:54:17
-28,800
74023a9a7592af6ee42752869d1db89314a60a21
hv: vtd: check bus number when assign/unassign device Input parameter "bus" of assign_iommu_device/unassign_iommu_device may be from hypercall. And the conext tables are static allocated according to CONFIG_IOMMU_BUS_NUM. Need to check the bus value to avoid access invalid memory address with invalid value. Acked-by: A...
[ { "change_type": "MODIFY", "old_path": "hypervisor/arch/x86/vtd.c", "new_path": "hypervisor/arch/x86/vtd.c", "diff": "@@ -1155,6 +1155,9 @@ static int32_t remove_iommu_device(const struct iommu_domain *domain, uint16_t s\nif (dmar_unit == NULL) {\npr_err(\"no dmar unit found for device: %x:%x.%x\", ...
C
BSD 3-Clause New or Revised License
projectacrn/acrn-hypervisor
hv: vtd: check bus number when assign/unassign device Input parameter "bus" of assign_iommu_device/unassign_iommu_device may be from hypercall. And the conext tables are static allocated according to CONFIG_IOMMU_BUS_NUM. Need to check the bus value to avoid access invalid memory address with invalid value. Tracked-O...
528,747
13.03.2019 12:06:24
25,200
436c30e4c571850d3e8239ccd3b85ff29c4b494a
doc: add 0.7 release notes Review draft of 0.7 release notes
[ { "change_type": "ADD", "old_path": null, "new_path": "doc/release_notes_0.7.rst", "diff": "+.. _release_notes_0.7:\n+\n+ACRN v0.7 (Mar 2019)\n+####################\n+\n+We are pleased to announce the release of Project ACRN version 0.7.\n+\n+ACRN is a flexible, lightweight reference hypervisor, bui...
C
BSD 3-Clause New or Revised License
projectacrn/acrn-hypervisor
doc: add 0.7 release notes Review draft of 0.7 release notes Signed-off-by: David B. Kinder <david.b.kinder@intel.com>
528,804
13.03.2019 10:23:38
-28,800
539720011870aec9dbe38315563323cab398d837
DM: fix memory leak 1. free memory allocated by strdup in blockif_open 2. free msix.table when its pci device deinit Acked-by: Yin Fengwei
[ { "change_type": "MODIFY", "old_path": "devicemodel/hw/block_if.c", "new_path": "devicemodel/hw/block_if.c", "diff": "@@ -759,8 +759,18 @@ blockif_open(const char *optstr, const char *ident)\npthread_setname_np(bc->btid[i], tname);\n}\n+ /* free strdup memory */\n+ if (nopt) {\n+ free(nopt);\n+ nopt...
C
BSD 3-Clause New or Revised License
projectacrn/acrn-hypervisor
DM: fix memory leak 1. free memory allocated by strdup in blockif_open 2. free msix.table when its pci device deinit Tracked-On: #2704 Signed-off-by: Minggui Cao <minggui.cao@intel.com> Acked-by: Yin Fengwei <fengwei.yin@intel.com>
528,648
14.03.2019 15:10:14
-28,800
9b1e2f4cb46daadd68947a835fc5d3b4110047e5
remove apl_sdc_stable branch story
[ { "change_type": "MODIFY", "old_path": "doc/release_notes_0.7.rst", "new_path": "doc/release_notes_0.7.rst", "diff": "@@ -83,8 +83,6 @@ New Features Details\n- :acrn-issue:`2448` - Adding support for socket as a backend for Virtio-Console\n- :acrn-issue:`2462` - Enable cache QOS with CAT\n- :acrn-is...
C
BSD 3-Clause New or Revised License
projectacrn/acrn-hypervisor
remove apl_sdc_stable branch story
528,665
14.03.2019 15:14:18
0
b147c5c649f50ccbc7db95903b2158f3789229d2
DM: Mark thre_int_pending as true when THR is empty This patch marks thre_int_pending as true when THR is empty.
[ { "change_type": "MODIFY", "old_path": "devicemodel/hw/uart_core.c", "new_path": "devicemodel/hw/uart_core.c", "diff": "@@ -368,19 +368,6 @@ uart_intr_reason(struct uart_vdev *uart)\nreturn IIR_NOPEND;\n}\n-static void\n-uart_reset(struct uart_vdev *uart)\n-{\n- uint16_t divisor;\n-\n- divisor = DEF...
C
BSD 3-Clause New or Revised License
projectacrn/acrn-hypervisor
DM: Mark thre_int_pending as true when THR is empty This patch marks thre_int_pending as true when THR is empty. Tracked-On: #2713 Signed-off-by: Eddie Dong <eddie.dong@intel.com> Signed-off-by: Kaige Fu <kaige.fu@intel.com>
528,747
14.03.2019 08:55:14
25,200
fb3e47fd1ec614cef7fae1bff69296d85a7903b7
doc: add v0.7 version to master branch (/latest) With the 0.7 release published, we can add the v0.7 doc menu choice.
[ { "change_type": "MODIFY", "old_path": "doc/conf.py", "new_path": "doc/conf.py", "diff": "@@ -189,6 +189,7 @@ else:\nhtml_context = {\n'current_version': current_version,\n'versions': ( (\"latest\", \"/latest/\"),\n+ (\"0.7\", \"/0.7/\"),\n(\"0.6\", \"/0.6/\"),\n(\"0.5\", \"/0.5/\"),\n(\"0.4\", \"/0...
C
BSD 3-Clause New or Revised License
projectacrn/acrn-hypervisor
doc: add v0.7 version to master branch (/latest) With the 0.7 release published, we can add the v0.7 doc menu choice. Signed-off-by: David B. Kinder <david.b.kinder@intel.com>
528,786
13.03.2019 08:53:45
-28,800
9e78ad52d9e473446699f1e35802543b455415db
doc: fix wrong desciption of trusty's memory mapping Original design is to map trusty's memory to 512G~513G, but GR-MRB platform does not support memory mapping bigger than 512G. So final implementation is mapping trusty's memory to 511G~512G. This patch update the documentation with latest implementation.
[ { "change_type": "MODIFY", "old_path": "doc/developer-guides/hld/hld-security.rst", "new_path": "doc/developer-guides/hld/hld-security.rst", "diff": "@@ -825,10 +825,10 @@ configuration.\nTo save page tables and share the mappings for non-secure world address\nspace, the hypervisor relocates the Sec...
C
BSD 3-Clause New or Revised License
projectacrn/acrn-hypervisor
doc: fix wrong desciption of trusty's memory mapping Original design is to map trusty's memory to 512G~513G, but GR-MRB platform does not support memory mapping bigger than 512G. So final implementation is mapping trusty's memory to 511G~512G. This patch update the documentation with latest implementation. Tracked-O...
528,801
14.03.2019 16:44:57
-28,800
4157b843e5ff8612bcf3152782a83fbcf83d61cd
doc: add some rules related to naming convention This patch adds some rules related to naming convention.
[ { "change_type": "MODIFY", "old_path": "doc/developer-guides/coding_guidelines.rst", "new_path": "doc/developer-guides/coding_guidelines.rst", "diff": "@@ -2776,8 +2776,6 @@ Compliant example::\nif (condition) { do_a();} else {do_b();}\n-\n-\nCS-03: Tabs shall be used for code indentation\n=========...
C
BSD 3-Clause New or Revised License
projectacrn/acrn-hypervisor
doc: add some rules related to naming convention This patch adds some rules related to naming convention. Tracked-On: #861 Signed-off-by: Shiqing Gao <shiqing.gao@intel.com>