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,783
24.10.2018 13:32:13
-28,800
3eb45b9bf675b1398b343fcd98a4322a8579e2d8
hv:Check pcpu number to avoid overflow check pcpu number in several functions to avoid overflow rename pcpu_id to pcpu_num in local_parse_madt Acked-by: Eddie Dong
[ { "change_type": "MODIFY", "old_path": "hypervisor/arch/x86/cpu.c", "new_path": "hypervisor/arch/x86/cpu.c", "diff": "@@ -308,7 +308,7 @@ static void init_percpu_data_area(void)\nalloc_phy_cpu_data(pcpu_num);\n- for (i = 0U; i < pcpu_num; i++) {\n+ for (i = 0U; (i < pcpu_num) && (i < CONFIG_MAX_PCPU...
C
BSD 3-Clause New or Revised License
projectacrn/acrn-hypervisor
hv:Check pcpu number to avoid overflow -- check pcpu number in several functions to avoid overflow -- rename pcpu_id to pcpu_num in local_parse_madt Tracked-On: #861 Signed-off-by: Mingqiang Chi <mingqiang.chi@intel.com> Reviewed-by: Li, Fei1 <fei1.li@intel.com> Acked-by: Eddie Dong <eddie.dong@intel.com>
528,783
24.10.2018 12:03:57
-28,800
4afb6666b9d13e7142b209ea604b19e7cf8e7bd5
hv:cleanup vcpu_id compare with phys_cpu_num Currently we compare vcpu_id with phys_cpu_num, vcpu_id is not related with phys_cpu_num, this patch cleanup them. Acked-by: Eddie Dong
[ { "change_type": "MODIFY", "old_path": "hypervisor/arch/x86/guest/vlapic.c", "new_path": "hypervisor/arch/x86/guest/vlapic.c", "diff": "@@ -987,7 +987,7 @@ vlapic_calcdest(struct vm *vm, uint64_t *dmask, uint32_t dest,\n*/\n*dmask = 0UL;\nvcpu_id = vm_apicid2vcpu_id(vm, (uint8_t)dest);\n- if (vcpu_i...
C
BSD 3-Clause New or Revised License
projectacrn/acrn-hypervisor
hv:cleanup vcpu_id compare with phys_cpu_num Currently we compare vcpu_id with phys_cpu_num, vcpu_id is not related with phys_cpu_num, this patch cleanup them. Tracked-On: #861 Signed-off-by: Mingqiang Chi <mingqiang.chi@intel.com> Reviewed-by: Li, Fei1 <fei1.li@intel.com> Acked-by: Eddie Dong <eddie.dong@intel.com>
528,783
24.10.2018 13:36:02
-28,800
dff441a0d5f321f10ddeebafb373357bd090ef90
hv:Replace dynamic memory with static for pcpu remove 'calloc' for pcpu, change it to static array rename 'init_percpu_data_area' to 'init_percpu_lapic_id' Acked-by: Eddie Dong
[ { "change_type": "MODIFY", "old_path": "hypervisor/arch/x86/cpu.c", "new_path": "hypervisor/arch/x86/cpu.c", "diff": "@@ -19,7 +19,7 @@ static spinlock_t up_count_spinlock = {\n.tail = 0U\n};\n-struct per_cpu_region *per_cpu_data_base_ptr;\n+struct per_cpu_region per_cpu_data[CONFIG_MAX_PCPU_NUM] __...
C
BSD 3-Clause New or Revised License
projectacrn/acrn-hypervisor
hv:Replace dynamic memory with static for pcpu --remove 'calloc' for pcpu, change it to static array --rename 'init_percpu_data_area' to 'init_percpu_lapic_id' Tracked-On: #861 Signed-off-by: Mingqiang Chi <mingqiang.chi@intel.com> Reviewed-by: Li, Fei1 <fei1.li@intel.com> Acked-by: Eddie Dong <eddie.dong@intel.com>
528,786
23.08.2018 10:24:44
-28,800
f4f139bf8b666740fbf72d32bba083e333da16e9
DM: generate random virtual RPMB key The virtual rpmb key transfer path is ready now, so replace previous temporary fixed key solution with random key solution. Acked-by: Zhu Bing
[ { "change_type": "MODIFY", "old_path": "devicemodel/core/vrpmb.c", "new_path": "devicemodel/core/vrpmb.c", "diff": "#include <stdio.h>\n#include <string.h>\n#include <assert.h>\n+#include <openssl/rand.h>\n#include \"types.h\"\n#include \"vrpmb.h\"\n+#define DRNG_MAX_RETRIES 5U\n+\nstruct key_materi...
C
BSD 3-Clause New or Revised License
projectacrn/acrn-hypervisor
DM: generate random virtual RPMB key The virtual rpmb key transfer path is ready now, so replace previous temporary fixed key solution with random key solution. Tracked-On: #1636 Signed-off-by: Qi Yadong <yadong.qi@intel.com> Acked-by: Zhu Bing <bing.zhu@intel.com>
528,676
29.10.2018 10:22:26
-28,800
e24899d9c9938e93298fbc91ec4def098b07d9b9
fix "Recursion in procedure calls found" Functions shall not call themselves, either directly or indirectly. V1->V2: add pre-assumption. V2->V3: when vector < 16,call vlapic_set_error Acked-by: Eddie Dong
[ { "change_type": "MODIFY", "old_path": "hypervisor/arch/x86/guest/vlapic.c", "new_path": "hypervisor/arch/x86/guest/vlapic.c", "diff": "@@ -442,6 +442,7 @@ vlapic_esr_write_handler(struct acrn_vlapic *vlapic)\n/*\n* Returns 1 if the vcpu needs to be notified of the interrupt and 0 otherwise.\n+ * @p...
C
BSD 3-Clause New or Revised License
projectacrn/acrn-hypervisor
fix "Recursion in procedure calls found" Functions shall not call themselves, either directly or indirectly. V1->V2: add pre-assumption. V2->V3: when vector < 16,call vlapic_set_error Tracked-On: #861 Signed-off-by: Huihuang Shi <huihuang.shi@intel.com> Acked-by: Eddie Dong <eddie.dong@intel.com>
528,652
23.10.2018 10:05:06
25,200
bc4f82d1d17ec86c2197bd25509ec40056f89ebe
hv: more cleanup for pci.h Don't have any logical changes. add more common PCI macros remove redundant definitions in dmar_parse.c move all the common mascos from vpci.h to pci.h Acked-by: Anthony Xu
[ { "change_type": "MODIFY", "old_path": "hypervisor/Makefile", "new_path": "hypervisor/Makefile", "diff": "@@ -99,9 +99,7 @@ INCLUDE_PATH += include/arch/x86\nINCLUDE_PATH += include/arch/x86/guest\nINCLUDE_PATH += include/debug\nINCLUDE_PATH += include/public\n-ifeq ($(CONFIG_PARTITION_MODE),y)\nINC...
C
BSD 3-Clause New or Revised License
projectacrn/acrn-hypervisor
hv: more cleanup for pci.h Don't have any logical changes. - add more common PCI macros - remove redundant definitions in dmar_parse.c - move all the common mascos from vpci.h to pci.h Tracked-On: #1568 Signed-off-by: dongshen <dongsheng.x.zhang@intel.com> Signed-off-by: Zide Chen <zide.chen@intel.com> Acked-by: Anth...
528,652
24.10.2018 15:54:41
25,200
7b4b78c3236a857460d4bcd5bc8986d21300765c
hv: minor cleanup for dm/vpci code It makes more sense to return bool from pci_bar_access() other minor changes for cleanup Acked-by: Anthony Xu
[ { "change_type": "MODIFY", "old_path": "hypervisor/dm/hw/pci.c", "new_path": "hypervisor/dm/hw/pci.c", "diff": "#include <pci.h>\nstatic spinlock_t pci_device_lock = {\n- .head = 0,\n- .tail = 0\n+ .head = 0U,\n+ .tail = 0U\n};\nstatic uint32_t pci_pdev_calc_address(union pci_bdf bdf, uint32_t offse...
C
BSD 3-Clause New or Revised License
projectacrn/acrn-hypervisor
hv: minor cleanup for dm/vpci code - It makes more sense to return bool from pci_bar_access() - other minor changes for cleanup Tracked-On: #1568 Signed-off-by: dongshen <dongsheng.x.zhang@intel.com> Signed-off-by: Zide Chen <zide.chen@intel.com> Reviewed-by: Li, Fei1 <fei1.li@intel.com> Acked-by: Anthony Xu <anthony...
528,652
15.10.2018 22:26:14
25,200
19e1b9675f905f040d65d90d53749c46d4df67cf
hv: MSI Message Address should be 64 bits
[ { "change_type": "MODIFY", "old_path": "hypervisor/arch/x86/assign.c", "new_path": "hypervisor/arch/x86/assign.c", "diff": "@@ -76,7 +76,7 @@ static void ptdev_build_physical_msi(struct vm *vm, struct ptdev_msi_info *info,\nbool phys;\n/* get physical destination cpu mask */\n- dest = (info->vmsi_ad...
C
BSD 3-Clause New or Revised License
projectacrn/acrn-hypervisor
hv: MSI Message Address should be 64 bits Tracked-On: #1568 Signed-off-by: dongshen <dongsheng.x.zhang@intel.com> Signed-off-by: Zide Chen <zide.chen@intel.com> Reviewed-by: Li, Fei1 <fei1.li@intel.com>
528,652
09.10.2018 10:24:05
25,200
83dbfe4fd3c05f64c408c48b4d16cf23bf8d02ef
hv: implement sharing_mode.c for PCI emulation in sharing mode Compared with partition_mode.c, the major difference between them is the list of PCI devices is statically defined or dynamically enumerated and allocated. Acked-by: Anthony Xu
[ { "change_type": "MODIFY", "old_path": "hypervisor/arch/x86/Kconfig", "new_path": "hypervisor/arch/x86/Kconfig", "diff": "@@ -201,6 +201,11 @@ config IOMMU_INIT_BUS_LIMIT\ndefault 0xf if PLATFORM_SBL\ndefault 0xff if PLATFORM_UEFI\n+config MAX_PCI_DEV_NUM\n+ int \"Maximum number of PCI dev\"\n+ rang...
C
BSD 3-Clause New or Revised License
projectacrn/acrn-hypervisor
hv: implement sharing_mode.c for PCI emulation in sharing mode Compared with partition_mode.c, the major difference between them is the list of PCI devices is statically defined or dynamically enumerated and allocated. Tracked-On: #1568 Signed-off-by: dongshen <dongsheng.x.zhang@intel.com> Signed-off-by: Zide Chen <z...
528,747
29.10.2018 12:31:41
25,200
7c192db1ba9af632bb42c784fa5ed875eff9f5c8
doc: update HLD VT-d transcode, edit, and upload HLD 0.7 section 3.8 (VT-d)
[ { "change_type": "MODIFY", "old_path": "doc/developer-guides/hld/hld-hypervisor.rst", "new_path": "doc/developer-guides/hld/hld-hypervisor.rst", "diff": "@@ -13,4 +13,5 @@ Hypervisor high-level design\nI/O Emulation <hv-io-emulation>\nPhysical Interrupt <hv-interrupt>\nTimer <hv-timer>\n- Virtual In...
C
BSD 3-Clause New or Revised License
projectacrn/acrn-hypervisor
doc: update HLD VT-d transcode, edit, and upload HLD 0.7 section 3.8 (VT-d) Tracked-on: #1643 Signed-off-by: David B. Kinder <david.b.kinder@intel.com>
528,747
29.10.2018 16:27:31
25,200
bf7b1cf744bb4a38a45d9f35c037aaa5dc89de16
doc: update HLD Device passthrough transcode, edit, and upload HLD 0.7 section 3.9 (Device passthrough)
[ { "change_type": "MODIFY", "old_path": "doc/developer-guides/hld/hld-hypervisor.rst", "new_path": "doc/developer-guides/hld/hld-hypervisor.rst", "diff": "@@ -15,3 +15,4 @@ Hypervisor high-level design\nTimer <hv-timer>\nVirtual Interrupt <hv-virt-interrupt>\nVT-d <hv-vt-d>\n+ Device Passthrough <hv-...
C
BSD 3-Clause New or Revised License
projectacrn/acrn-hypervisor
doc: update HLD Device passthrough transcode, edit, and upload HLD 0.7 section 3.9 (Device passthrough) Tracked-on: #1645 Signed-off-by: David B. Kinder <david.b.kinder@intel.com>
528,768
27.10.2018 02:01:19
-28,800
05bb7aa21299c811508d7d207c80bd09678f9a5f
hv: remove deprecated hypercalls below hypercalls are wrapped to HC_SET_IRQLINE: HC_ASSERT_IRQLINE HC_DEASSERT_IRQLINE HC_PULSE_IRQLINE Acked-by: Anthony Xu
[ { "change_type": "MODIFY", "old_path": "hypervisor/arch/x86/guest/vmcall.c", "new_path": "hypervisor/arch/x86/guest/vmcall.c", "diff": "@@ -83,21 +83,6 @@ int vmcall_vmexit_handler(struct vcpu *vcpu)\nret = hcall_set_vcpu_regs(vm, (uint16_t)param1, param2);\nbreak;\n- case HC_ASSERT_IRQLINE:\n- /* p...
C
BSD 3-Clause New or Revised License
projectacrn/acrn-hypervisor
hv: remove deprecated hypercalls below hypercalls are wrapped to HC_SET_IRQLINE: - HC_ASSERT_IRQLINE - HC_DEASSERT_IRQLINE - HC_PULSE_IRQLINE Tracked-On: #861 Signed-off-by: Yonghua Huang <yonghua.huang@intel.com> Acked-by: Anthony Xu <anthony.xu@intel.com>
528,761
29.10.2018 10:53:20
-28,800
fdf1a33086537e6a862e7a88f679720530d2ce36
sos_bootargs_debug.txt: enable guc firmware loading Change kernel boot cmdline to load GuC firmware for SOS. We want to enable GuC and HuC in Service OS and this is an effort to enable use cases across all boards. Proposed-by: Charles, Daniel
[ { "change_type": "MODIFY", "old_path": "devicemodel/samples/apl-mrb/sos_bootargs_debug.txt", "new_path": "devicemodel/samples/apl-mrb/sos_bootargs_debug.txt", "diff": "-pci_devices_ignore=(0:18:2) module_blacklist=dwc3_pci console=tty0 console=ttyS0 i915.nuclear_pageflip=1 root=/dev/mmcblk1p1 rw roo...
C
BSD 3-Clause New or Revised License
projectacrn/acrn-hypervisor
sos_bootargs_debug.txt: enable guc firmware loading Change kernel boot cmdline to load GuC firmware for SOS. We want to enable GuC and HuC in Service OS and this is an effort to enable use cases across all boards. Tracked-On: #1638 Proposed-by: Charles, Daniel <daniel.charles@intel.com> Signed-off-by: Chang Re...
528,761
22.10.2018 10:45:39
-28,800
7169248bf07fb5c598a1350e09efb07203185f7c
sos_bootargs_release.txt: enable guc firmware loading Change kernel boot cmdline to load GuC firmware for SOS. We want to enable GuC and HuC in Service OS and this is an effort to enable use cases across all boards. Proposed-by: Charles, Daniel
[ { "change_type": "MODIFY", "old_path": "devicemodel/samples/apl-mrb/sos_bootargs_release.txt", "new_path": "devicemodel/samples/apl-mrb/sos_bootargs_release.txt", "diff": "-console=tty0 module_blacklist=dwc3_pci i915.nuclear_pageflip=1 root=/dev/mmcblk1p1 rw rootwait quiet loglevel=3 no_timer_check ...
C
BSD 3-Clause New or Revised License
projectacrn/acrn-hypervisor
sos_bootargs_release.txt: enable guc firmware loading Change kernel boot cmdline to load GuC firmware for SOS. We want to enable GuC and HuC in Service OS and this is an effort to enable use cases across all boards. Tracked-on: #1638 Proposed-by: Charles, Daniel <daniel.charles@intel.com> Signed-off-by: Chang, Rebec...
528,747
30.10.2018 08:53:09
25,200
97c8c16f6aa831b24b920f1c307ceb3cd7d8a02f
doc: fix misspellings in hld docs can and fix misspellings missed during normal review
[ { "change_type": "MODIFY", "old_path": "doc/developer-guides/hld/hld-overview.rst", "new_path": "doc/developer-guides/hld/hld-overview.rst", "diff": "@@ -356,7 +356,7 @@ from different huge pages in Service OS as shown in\nAs Service OS has full knowledge of these huge pages size,\nGPA\\ :sup:`SOS` ...
C
BSD 3-Clause New or Revised License
projectacrn/acrn-hypervisor
doc: fix misspellings in hld docs can and fix misspellings missed during normal review Tracked-on: #1648 Signed-off-by: David B. Kinder <david.b.kinder@intel.com>
528,747
30.10.2018 11:02:29
25,200
ac5b46eba59a25a0526e034d4bab2eca9ad8ffbf
doc: update rest of hypervisor HLD sections Transcode, edit, and upload HLD 0.7 section 3.10 (PM in hypervisor), 3.11 (Console, shell, vUART), 3.12 (Hypercall/VHM upcall), and 3.13 (Compile-time config) Also scan/replace punctuation missed in previous PRs. Add anchor targets in referenced docs.
[ { "change_type": "MODIFY", "old_path": "doc/developer-guides/hld/hld-hypervisor.rst", "new_path": "doc/developer-guides/hld/hld-hypervisor.rst", "diff": "@@ -16,3 +16,7 @@ Hypervisor high-level design\nVirtual Interrupt <hv-virt-interrupt>\nVT-d <hv-vt-d>\nDevice Passthrough <hv-dev-passthrough>\n+ ...
C
BSD 3-Clause New or Revised License
projectacrn/acrn-hypervisor
doc: update rest of hypervisor HLD sections Transcode, edit, and upload HLD 0.7 section 3.10 (PM in hypervisor), 3.11 (Console, shell, vUART), 3.12 (Hypercall/VHM upcall), and 3.13 (Compile-time config) Also scan/replace UTF-8 punctuation missed in previous PRs. Add anchor targets in referenced docs. Tracked-on: #1...
528,804
30.10.2018 16:07:49
-28,800
6266dd014aa75e6e2f66f23eb8f62522f2a9273d
DM: correct memory allocation size for UOS on 8GB MRB: cat /proc/meminfo|head -n 1|awk '{print $2}' it is: it is not so set it compare with then it can allocate 6GB to UOS.
[ { "change_type": "MODIFY", "old_path": "devicemodel/samples/apl-mrb/launch_uos.sh", "new_path": "devicemodel/samples/apl-mrb/launch_uos.sh", "diff": "@@ -101,12 +101,12 @@ echo \"8086 5aca\" > /sys/bus/pci/drivers/pci-stub/new_id\necho \"0000:00:1b.0\" > /sys/bus/pci/devices/0000:00:1b.0/driver/unbi...
C
BSD 3-Clause New or Revised License
projectacrn/acrn-hypervisor
DM: correct memory allocation size for UOS on 8GB MRB: cat /proc/meminfo|head -n 1|awk '{print $2}' it is: 7993388, it is not 8000000, so set it compare with 7500000, then it can allocate 6GB to UOS. Tracked-On: #1657 Signed-off-by: Minggui Cao <minggui.cao@intel.com> Reviewed-by: Binbin Wu <binbin.wu@intel.com>
528,768
30.10.2018 19:26:32
-28,800
6bb3d0484c33e2e911263a9b629cbae4bf8a2868
hv: remove deprecated functions declartion Below functions are deprecated, remove them from hypercall.h hc_assert_irqline()/hc_deassert_irqline()/hc_pulse_irqline() Acked-by: Eddie Dong
[ { "change_type": "MODIFY", "old_path": "hypervisor/include/common/hypercall.h", "new_path": "hypervisor/include/common/hypercall.h", "diff": "@@ -152,55 +152,6 @@ int32_t hcall_create_vcpu(struct vm *vm, uint16_t vmid, uint64_t param);\n*/\nint32_t hcall_set_vcpu_regs(struct vm *vm, uint16_t vmid, u...
C
BSD 3-Clause New or Revised License
projectacrn/acrn-hypervisor
hv: remove deprecated functions declartion Below functions are deprecated, remove them from hypercall.h hc_assert_irqline()/hc_deassert_irqline()/hc_pulse_irqline() Tracked-On: #861 Signed-off-by: Yonghua Huang <yonghua.huang@intel.com> Acked-by: Eddie Dong <eddie.dong@intel.com>
528,797
23.10.2018 21:42:15
-10,800
8abc931791e9b8dd7b3cc34bc06f105c6947fd66
dm: mei: set addresses in the hbm disconnect reply MEI HBM the disconnect replay doesn't have the address set, breaking the protocol, fix the issue. Acked-by: Wang, Yu1
[ { "change_type": "MODIFY", "old_path": "devicemodel/hw/pci/virtio/virtio_mei.c", "new_path": "devicemodel/hw/pci/virtio/virtio_mei.c", "diff": "@@ -1257,6 +1257,8 @@ vmei_hbm_handler(struct virtio_mei *vmei, const void *data)\nmemset(&disconnect_res, 0, sizeof(disconnect_res));\ndisconnect_res.hbm_c...
C
BSD 3-Clause New or Revised License
projectacrn/acrn-hypervisor
dm: mei: set addresses in the hbm disconnect reply MEI HBM the disconnect replay doesn't have the address set, breaking the protocol, fix the issue. Tracked-On: #1570 Signed-off-by: Alexander Usyskin <alexander.usyskin@intel.com> Signed-off-by: Tomas Winkler <tomas.winkler@intel.com> Acked-by: Wang, Yu1 <yu1.wang@int...
528,775
29.10.2018 00:38:14
-7,200
b4fbef4659ed52bac59ad2cda5dccdef1c981692
dm: mei: destroy mutex attribute on error path Simplify the flow by adding mutex_type variable and call pthread_mutexattr_destroy() on the error path.
[ { "change_type": "MODIFY", "old_path": "devicemodel/hw/pci/virtio/virtio_mei.c", "new_path": "devicemodel/hw/pci/virtio/virtio_mei.c", "diff": "@@ -2123,6 +2123,7 @@ vmei_init(struct vmctx *ctx, struct pci_vdev *dev, char *opts)\nstruct virtio_mei *vmei;\nchar tname[MAXCOMLEN + 1];\npthread_mutexatt...
C
BSD 3-Clause New or Revised License
projectacrn/acrn-hypervisor
dm: mei: destroy mutex attribute on error path Simplify the flow by adding mutex_type variable and call pthread_mutexattr_destroy() on the error path. Tracked-On: #1630 Signed-off-by: Tomas Winkler <tomas.winkler@intel.com> Signed-off-by: Alexander Usyskin <alexander.usyskin@intel.com>
528,797
29.10.2018 00:39:45
-7,200
5f41d4a8d3367ccd8c8a3a92002e500e7d4f3838
dm: mei: check return value of vmei_host_client_to_vmei() vmei_host_client_to_vmei() may return NULL we need to check for the return value.
[ { "change_type": "MODIFY", "old_path": "devicemodel/hw/pci/virtio/virtio_mei.c", "new_path": "devicemodel/hw/pci/virtio/virtio_mei.c", "diff": "@@ -962,6 +962,9 @@ vmei_host_client_native_connect(struct vmei_host_client *hclient)\nstruct vmei_me_client *mclient;\nstruct mei_connect_client_data_vtag ...
C
BSD 3-Clause New or Revised License
projectacrn/acrn-hypervisor
dm: mei: check return value of vmei_host_client_to_vmei() vmei_host_client_to_vmei() may return NULL we need to check for the return value. Tracked-On: #1630 Signed-off-by: Alexander Usyskin <alexander.usyskin@intel.com> Signed-off-by: Tomas Winkler <tomas.winkler@intel.com>
528,717
29.10.2018 21:43:04
25,200
8c7d471c3863b4f599cf44f3ca447bf1c8b4e564
HV: bug fix:possible access to NULL pointer Return from the function if the NULL pointer is encountered.
[ { "change_type": "MODIFY", "old_path": "hypervisor/debug/profiling.c", "new_path": "hypervisor/debug/profiling.c", "diff": "@@ -475,6 +475,7 @@ static void profiling_handle_msrops(void)\n(my_msr_node->msr_op_state != (int32_t)MSR_OP_REQUESTED)) {\ndev_dbg(ACRN_DBG_PROFILING, \"%s: invalid my_msr_nod...
C
BSD 3-Clause New or Revised License
projectacrn/acrn-hypervisor
HV: bug fix:possible access to NULL pointer Return from the function if the NULL pointer is encountered. Tracked-On : #1409 Signed-off-by: Manisha Chinthapally <manisha.chinthapally@intel.com>
528,731
30.10.2018 11:06:57
-28,800
6150c0611fa57b8e160f4c5bbe68ffacc766a58e
dm: bios: update to version 1.0.1 Bug fix: Fix AaaG user build boot failure with memory size > 2GB and flash unlocked.
[ { "change_type": "MODIFY", "old_path": "devicemodel/bios/MD5SUM", "new_path": "devicemodel/bios/MD5SUM", "diff": "-3af0a432599e073f654c24246b8dbaa8 VSBL.bin\n-553a3130c886d195ab013c5966af2a32 VSBL_debug.bin\n+a3968d6c91e8d93f7d5f3541665ce145 VSBL.bin\n+9cdf1ad1caeffafff52ea79eaded7700 VSBL_debug.bin...
C
BSD 3-Clause New or Revised License
projectacrn/acrn-hypervisor
dm: bios: update to version 1.0.1 Bug fix: - Fix AaaG user build boot failure with memory size > 2GB and flash unlocked. Tracked-On: #1659 Signed-off-by: Binbin Wu <binbin.wu@intel.com>
528,733
30.10.2018 16:03:57
-28,800
1b1338bc044c221dd52c2a97aa1807e9d801b55f
snprintf: Remove the %o and %p support %x could be used to replace the %o print option. %x could be used to replace the %p print option also. Acked-by: Eddie Dong
[ { "change_type": "MODIFY", "old_path": "hypervisor/lib/sprintf.c", "new_path": "hypervisor/lib/sprintf.c", "diff": "@@ -508,19 +508,6 @@ void do_print(const char *fmt_arg, struct print_param *param,\nuint32_t));\n}\n}\n- /* octal number */\n- else if (ch == 'o') {\n- if ((param->vars.flags &\n- PRIN...
C
BSD 3-Clause New or Revised License
projectacrn/acrn-hypervisor
snprintf: Remove the %o and %p support %x could be used to replace the %o print option. %x could be used to replace the %p print option also. Tracked-On: #1656 Signed-off-by: Yin Fengwei <fengwei.yin@intel.com> Acked-by: Eddie Dong <eddie.dong@intel.com>
528,671
24.10.2018 13:31:45
-28,800
f05bfeb961726f3de6ef89f484d29fb867c6ab26
hv: vtd: remove dynamic page allocation for root&ctx table Preserve pages for each vtd root table and ctx table Acked-by: Eddie Dong
[ { "change_type": "MODIFY", "old_path": "hypervisor/arch/x86/vtd.c", "new_path": "hypervisor/arch/x86/vtd.c", "diff": "@@ -94,6 +94,7 @@ enum dmar_iirg_type {\n/* dmar unit runtime data */\nstruct dmar_drhd_rt {\n+ uint32_t index;\nstruct list_head list;\nspinlock_t lock;\n@@ -137,6 +138,25 @@ struct...
C
BSD 3-Clause New or Revised License
projectacrn/acrn-hypervisor
hv: vtd: remove dynamic page allocation for root&ctx table Preserve pages for each vtd root table and ctx table Tracked-On: #861 Signed-off-by: Tw <wei.tan@intel.com> Reviewed-by: Binbin Wu <binbin.wu@intel.com> Acked-by: Eddie Dong <eddie.dong@intel.com>
528,671
24.10.2018 13:55:46
-28,800
dda08957d798a1950381c3dbada2706c3482c934
hv: vtd: remove dynamic allocation for dmar_drhd_rt Predefine a dmar_drhd_rt table for all possible dmar unit Acked-by: Eddie Dong
[ { "change_type": "MODIFY", "old_path": "hypervisor/arch/x86/cpu.c", "new_path": "hypervisor/arch/x86/cpu.c", "diff": "@@ -479,7 +479,9 @@ static void bsp_boot_post(void)\n/* Initialize interrupts */\ninterrupt_init(BOOT_CPU_ID);\n- init_iommu();\n+ if (init_iommu() != 0) {\n+ panic(\"failed to initi...
C
BSD 3-Clause New or Revised License
projectacrn/acrn-hypervisor
hv: vtd: remove dynamic allocation for dmar_drhd_rt Predefine a dmar_drhd_rt table for all possible dmar unit Tracked-On: #861 Signed-off-by: Tw <wei.tan@intel.com> Reviewed-by: Binbin Wu <binbin.wu@intel.com> Acked-by: Eddie Dong <eddie.dong@intel.com>
528,671
25.10.2018 08:53:20
-28,800
4d01e60edaf6582a1329549d3525e3f3636be90b
hv: vtd: remove dynamic allocation for iommu_domain Replace list of iommu_domains with static array Acked-by: Eddie Dong
[ { "change_type": "MODIFY", "old_path": "hypervisor/arch/x86/vtd.c", "new_path": "hypervisor/arch/x86/vtd.c", "diff": "@@ -107,8 +107,6 @@ struct dmar_drhd_rt {\nuint32_t dmar_irq;\n- uint32_t max_domain_id;\n-\nbool cap_pw_coherency; /* page-walk coherency */\nuint8_t cap_msagaw;\nuint16_t cap_num_f...
C
BSD 3-Clause New or Revised License
projectacrn/acrn-hypervisor
hv: vtd: remove dynamic allocation for iommu_domain Replace list of iommu_domains with static array Tracked-On: #861 Signed-off-by: Tw <wei.tan@intel.com> Reviewed-by: Binbin Wu <binbin.wu@intel.com> Acked-by: Eddie Dong <eddie.dong@intel.com>
528,801
31.10.2018 10:43:12
-28,800
60d0a75243c7b9421debaa67e2356bc2e2cffa61
hv: fix integer violations The operands to shift operations (<<, >>) shall be unsigned integers. v1 -> v2: * replace 12U with CPU_PAGE_SHIFT when it is address shift case. * replace 6UL with 0x6UL Acked-by: Eddie Dong
[ { "change_type": "MODIFY", "old_path": "hypervisor/arch/x86/assign.c", "new_path": "hypervisor/arch/x86/assign.c", "diff": "@@ -76,7 +76,7 @@ static void ptdev_build_physical_msi(struct vm *vm, struct ptdev_msi_info *info,\nbool phys;\n/* get physical destination cpu mask */\n- dest = (uint32_t)(inf...
C
BSD 3-Clause New or Revised License
projectacrn/acrn-hypervisor
hv: fix integer violations The operands to shift operations (<<, >>) shall be unsigned integers. v1 -> v2: * replace 12U with CPU_PAGE_SHIFT when it is address shift case. * replace 6UL with 0x6UL Tracked-On: #861 Signed-off-by: Shiqing Gao <shiqing.gao@intel.com> Acked-by: Eddie Dong <eddie.dong@intel.com>
528,747
31.10.2018 09:08:04
25,200
390cc6780482a01d323849d5b31eb372588ed22e
doc: tweak doxygen/known-issues handling PR requires slight tweaking of doxygen/known-issues handling to successfully generate documentation
[ { "change_type": "MODIFY", "old_path": "doc/.known-issues/doc/hypercall.conf", "new_path": "doc/.known-issues/doc/hypercall.conf", "diff": "^[- \\t]*\\^\n#\n^(?P<filename>[-._/\\w]+/api/hypercall_api.rst):(?P<lineno>[0-9]+): WARNING: Invalid definition: Expected identifier in nested name. \\[error a...
C
BSD 3-Clause New or Revised License
projectacrn/acrn-hypervisor
doc: tweak doxygen/known-issues handling PR #1678 requires slight tweaking of doxygen/known-issues handling to successfully generate documentation Tracked-on: #1595 Signed-off-by: David B. Kinder <david.b.kinder@intel.com>
528,747
31.10.2018 13:51:36
25,200
9ae79496be303ed6283c4f76c536caec4d163033
doc: fix section heading in device model hld Fix incorrect section heading level.
[ { "change_type": "MODIFY", "old_path": "doc/developer-guides/hld/hld-devicemodel.rst", "new_path": "doc/developer-guides/hld/hld-devicemodel.rst", "diff": "@@ -781,7 +781,7 @@ ACPI Virtualization\n*******************\nIntroduction\n-************\n+============\nAdvanced Configuration and Power Inter...
C
BSD 3-Clause New or Revised License
projectacrn/acrn-hypervisor
doc: fix section heading in device model hld Fix incorrect section heading level. Tracked-on: #1668 Signed-off-by: David B. Kinder <david.b.kinder@intel.com>
528,731
26.10.2018 18:34:34
-28,800
43f6bdb726dd732406c4da1363909c7db6ea404f
hv: vtd: fix device assign failure for partition mode For partition mode, there is no vm0_domain created for iommu. In current code, it will return error when try to remove a device from vm0_domain, which casue failure of device assignment in partition mode. Acked-by: Eddie Dong
[ { "change_type": "MODIFY", "old_path": "hypervisor/arch/x86/vtd.c", "new_path": "hypervisor/arch/x86/vtd.c", "diff": "@@ -1109,9 +1109,10 @@ int assign_iommu_device(const struct iommu_domain *domain, uint8_t bus,\n{\n/* TODO: check if the device assigned */\n- if (remove_iommu_device(vm0_domain, 0U,...
C
BSD 3-Clause New or Revised License
projectacrn/acrn-hypervisor
hv: vtd: fix device assign failure for partition mode For partition mode, there is no vm0_domain created for iommu. In current code, it will return error when try to remove a device from vm0_domain, which casue failure of device assignment in partition mode. Tracked-On: #1680 Signed-off-by: Binbin Wu <binbin.wu@intel...
528,692
30.10.2018 13:41:12
0
b0cac0e67cfe98de47f8769c69b1ad62fe67e669
Samples:Added the Kernel console parameter in boot. For GP-MRB ACRN using ttyS0 as console, since this is release bootargs file so ttyS0 will be skipped in booting but needed kernel console ttyS2 in bootargs to get the Kernel console.
[ { "change_type": "MODIFY", "old_path": "devicemodel/samples/apl-mrb/sos_bootargs_release.txt", "new_path": "devicemodel/samples/apl-mrb/sos_bootargs_release.txt", "diff": "-console=tty0 module_blacklist=dwc3_pci i915.nuclear_pageflip=1 root=/dev/mmcblk1p1 rw rootwait quiet loglevel=3 no_timer_check ...
C
BSD 3-Clause New or Revised License
projectacrn/acrn-hypervisor
Samples:Added the Kernel console parameter in boot. For GP-MRB ACRN using ttyS0 as console, since this is release bootargs file so ttyS0 will be skipped in booting but needed kernel console ttyS2 in bootargs to get the Kernel console. Tracked-On: #1655 Signed-off-by: santoshkumar <santoshkumar.laxminarayan.rai@intel...
528,675
01.09.2018 21:51:39
-28,800
25c2d4d781cf8673e32dc0c332b2fa97570873ea
doc: add l1tf document Add ACRN L1TF readme document
[ { "change_type": "MODIFY", "old_path": "doc/developer-guides/index.rst", "new_path": "doc/developer-guides/index.rst", "diff": "@@ -10,6 +10,7 @@ Developer Guides\nprimer\nGVT-g-porting\ntrusty\n+ l1tf\n../api/index\n../reference/kconfig/index\n" }, { "change_type": "ADD", "old_path": nu...
C
BSD 3-Clause New or Revised License
projectacrn/acrn-hypervisor
doc: add l1tf document Add ACRN L1TF readme document Tracked-On: #1672 Signed-off-by: Jason Chen CJ <jason.cj.chen@intel.com> Signed-off-by: Tian, Kevin <kevin.tian@intel.com>
528,768
06.09.2018 23:01:17
-28,800
2731628e2747b89916199720de7ef17fe1d7433f
HV: wrap security related CPU capabilities checking add a function to detect CPU capabilities for security related features, it will print warning messages if current ucode can't support the latest security features.
[ { "change_type": "MODIFY", "old_path": "hypervisor/arch/x86/cpu.c", "new_path": "hypervisor/arch/x86/cpu.c", "diff": "@@ -416,6 +416,16 @@ void bsp_boot_init(void)\nSWITCH_TO(rsp, bsp_boot_post);\n}\n+static bool check_cpu_security_config(void)\n+{\n+ if (!cpu_has_cap(X86_FEATURE_IBRS_IBPB) &&\n+ !c...
C
BSD 3-Clause New or Revised License
projectacrn/acrn-hypervisor
HV: wrap security related CPU capabilities checking - add a function to detect CPU capabilities for security related features, it will print warning messages if current ucode can't support the latest security features. Tracked-On: #1672 Signed-off-by: Yonghua Huang <yonghua.huang@intel.com> Reviewed-by: Kevin T...
528,768
05.09.2018 01:52:49
-28,800
d43d2c9295d52f4acdeac89975816bc9e1d162b6
HV: add CPU capabilities detection for L1TF mitigation - detect if current processor is affected by L1TF - detect the presence of of "IA32_FLUSH_CMD(MSR 0x10B) if processor is affected by L1TF.
[ { "change_type": "MODIFY", "old_path": "hypervisor/arch/x86/cpu.c", "new_path": "hypervisor/arch/x86/cpu.c", "diff": "@@ -30,6 +30,8 @@ uint64_t pcpu_active_bitmap = 0UL;\n/* X2APIC mode is disabled by default. */\nbool x2apic_enabled = false;\n+static bool skip_l1dfl_vmentry;\n+static uint64_t x86_...
C
BSD 3-Clause New or Revised License
projectacrn/acrn-hypervisor
HV: add CPU capabilities detection for L1TF mitigation - detect if current processor is affected by L1TF - detect the presence of of "IA32_FLUSH_CMD(MSR 0x10B) if processor is affected by L1TF. Tracked-On: #1672 Signed-off-by: Yonghua Huang <yonghua.huang@intel.com> Reviewed-by: Kevin Tian <kevin.tian@intel.c...
528,768
12.09.2018 00:48:00
-28,800
34a6336525b6c9d29cdb108eb7b471536ea309b3
HV: enable L1 cache flush when VM entry - flush L1 cache before VM entry only on platform affected by L1TF - flush operation is configurable by below MACRO: --CONFIG_L1D_FLUSH_VMENTRY_ENABLED
[ { "change_type": "MODIFY", "old_path": "hypervisor/arch/x86/Kconfig", "new_path": "hypervisor/arch/x86/Kconfig", "diff": "@@ -300,3 +300,7 @@ config ENFORCE_VALIDATED_ACPI_INFO\ntools to generate such data is required. Otherwise a warning will be\nprinted when validated ACPI info is unavailable, but...
C
BSD 3-Clause New or Revised License
projectacrn/acrn-hypervisor
HV: enable L1 cache flush when VM entry - flush L1 cache before VM entry only on platform affected by L1TF - flush operation is configurable by below MACRO: --CONFIG_L1D_FLUSH_VMENTRY_ENABLED Tracked-On: #1672 Signed-off-by: Yonghua Huang <yonghua.huang@intel.com> Reviewed-by: Kevin Tian <kevin.tian@intel.co...
528,768
12.09.2018 00:58:45
-28,800
fb68468cfd27526cc45d5fd261a6b2521bd1af0c
HV: flush L1 cache when switching to normal world -to avoid information leaking from secure world to normal world on platform affected by L1TF.
[ { "change_type": "MODIFY", "old_path": "hypervisor/arch/x86/trusty.c", "new_path": "hypervisor/arch/x86/trusty.c", "diff": "@@ -306,11 +306,15 @@ void switch_world(struct vcpu *vcpu, int next_world)\ncopy_smc_param(&arch_vcpu->contexts[!next_world].run_ctx,\n&arch_vcpu->contexts[next_world].run_ctx)...
C
BSD 3-Clause New or Revised License
projectacrn/acrn-hypervisor
HV: flush L1 cache when switching to normal world -to avoid information leaking from secure world to normal world on platform affected by L1TF. Tracked-On: #1672 Signed-off-by: Yonghua Huang <yonghua.huang@intel.com> Reviewed-by: Kevin Tian <kevin.tian@intel.com>
528,654
11.10.2018 18:32:31
-28,800
9e397322598083e185f2732e31512c435bb184bd
hv: l1tf: sanitize mapping for idle EPT sanitize mapping for idel EPT
[ { "change_type": "MODIFY", "old_path": "hypervisor/arch/x86/guest/vm.c", "new_path": "hypervisor/arch/x86/guest/vm.c", "diff": "@@ -93,6 +93,7 @@ int create_vm(struct vm_description *vm_desc, struct vm **rtn_vm)\nstatus = -ENOMEM;\ngoto err;\n}\n+ sanitize_pte((uint64_t *)vm->arch_vm.nworld_eptp);\n...
C
BSD 3-Clause New or Revised License
projectacrn/acrn-hypervisor
hv: l1tf: sanitize mapping for idle EPT sanitize mapping for idel EPT Tracked-On: #1672 Signed-off-by: Li, Fei1 <fei1.li@intel.com> Reviewed-by: Kevin Tian <kevin.tian@intel.com>
528,755
26.10.2018 13:54:28
-28,800
a2383b06bf604d9608387ed11368435a3c534451
tools: acrntrace: remove unsafe api and return value check for snprintf 1, Return value check for snprintf function 2, Replace 'atoi' with 'strtol' Acked-by: Yan, Like
[ { "change_type": "MODIFY", "old_path": "tools/acrntrace/acrntrace.c", "new_path": "tools/acrntrace/acrntrace.c", "diff": "@@ -96,7 +96,7 @@ static int parse_opt(int argc, char *argv[])\nwhile ((opt = getopt(argc, argv, optString)) != -1) {\nswitch (opt) {\ncase 'i':\n- ret = atoi(optarg);\n+ ret = s...
C
BSD 3-Clause New or Revised License
projectacrn/acrn-hypervisor
tools: acrntrace: remove unsafe api and return value check for snprintf 1, Return value check for snprintf function 2, Replace 'atoi' with 'strtol' Tracked-On: #1254 Signed-off-by: Tianhua Sun <tianhuax.s.sun@intel.com> Acked-by: Yan, Like <like.yan@intel.com> Reviewed-by: Yonghua Huang <yonghua.huang@intel.com> Revi...
528,755
26.10.2018 17:51:34
-28,800
5493804cab6fe2d21b7cd9eef854474c3dede9f4
tools: acrnlog: refine the usage of api 'snprintf' Return value check for snprintf function Acked-by: Yan, Like
[ { "change_type": "MODIFY", "old_path": "tools/acrnlog/acrnlog.c", "new_path": "tools/acrnlog/acrnlog.c", "diff": "@@ -301,8 +301,10 @@ static int new_log_file(struct hvlog_file *log)\nlog->fd = -1;\n}\n- snprintf(file_name, sizeof(file_name), \"%s.%hu\", log->path,\n- log->index + 1);\n+ if (snprint...
C
BSD 3-Clause New or Revised License
projectacrn/acrn-hypervisor
tools: acrnlog: refine the usage of api 'snprintf' Return value check for snprintf function Tracked-On: #1254 Signed-off-by: Tianhua Sun <tianhuax.s.sun@intel.com> Acked-by: Yan, Like <like.yan@intel.com> Reviewed-by: Yonghua Huang <yonghua.huang@intel.com> Reviewed-by: Kaige Fu <kaige.fu@intel.com>
528,755
26.10.2018 18:10:35
-28,800
af760f8dceaad6296cde4dfef98fa03b36c41732
tools: acrn-manager: refine the usage of api 'snprintf' Return value check for snprintf function Acked-by: Yan, Like
[ { "change_type": "MODIFY", "old_path": "tools/acrn-manager/acrn_mngr.c", "new_path": "tools/acrn-manager/acrn_mngr.c", "diff": "@@ -300,7 +300,10 @@ static int create_new_server(const char *name)\nint ret;\nchar path[128] = { };\n- snprintf(path, sizeof(path), MNGR_SOCK_FMT, name, getpid());\n+ if (...
C
BSD 3-Clause New or Revised License
projectacrn/acrn-hypervisor
tools: acrn-manager: refine the usage of api 'snprintf' Return value check for snprintf function Tracked-On: #1254 Signed-off-by: Tianhua Sun <tianhuax.s.sun@intel.com> Acked-by: Yan, Like <like.yan@intel.com> Reviewed-by: Yonghua Huang <yonghua.huang@intel.com> Reviewed-by: Kaige Fu <kaige.fu@intel.com>
528,755
30.10.2018 16:06:47
-28,800
b12c7b741b864ebfdabf0308939a9b5e8120f973
tools: acrn-manager: remove usage of banned APIs 1, replace strlen with strnlen 2, Return value check for strncpy function Acked-by: Yan, Like
[ { "change_type": "MODIFY", "old_path": "tools/acrn-manager/acrnctl.c", "new_path": "tools/acrn-manager/acrnctl.c", "diff": "@@ -92,6 +92,7 @@ static int check_name(const char *name)\nstatic const char *acrnctl_bin_path;\nstatic int find_acrn_dm;\n+#define MAX_WORD 64\nstatic int write_tmp_file(int f...
C
BSD 3-Clause New or Revised License
projectacrn/acrn-hypervisor
tools: acrn-manager: remove usage of banned APIs 1, replace strlen with strnlen 2, Return value check for strncpy function Tracked-On: #1254 Signed-off-by: Tianhua Sun <tianhuax.s.sun@intel.com> Acked-by: Yan, Like <like.yan@intel.com> Reviewed-by: Yonghua Huang <yonghua.huang@intel.com> Reviewed-by: Kaige Fu <kaige....
528,733
29.10.2018 16:09:17
-28,800
6993fdb3e93201baae18048251715b46f7cef02e
DM: set cs_limit from DM side for UOS For CS of UOS, we would like to pass all related info (cs attribute, limit, base) from DM. Acked-by: Eddie Dong
[ { "change_type": "MODIFY", "old_path": "devicemodel/core/sw_load_bzimage.c", "new_path": "devicemodel/core/sw_load_bzimage.c", "diff": "@@ -344,6 +344,7 @@ acrn_sw_load_bzimage(struct vmctx *ctx)\nctx->bsp_regs.vcpu_regs.cs_sel = 0x10U;\nctx->bsp_regs.vcpu_regs.cs_ar = 0xC09BU;\n+ ctx->bsp_regs.vcpu...
C
BSD 3-Clause New or Revised License
projectacrn/acrn-hypervisor
DM: set cs_limit from DM side for UOS For CS of UOS, we would like to pass all related info (cs attribute, limit, base) from DM. Tracked-On: #1231 Signed-off-by: Yin Fengwei <fengwei.yin@intel.com> Acked-by: Eddie Dong <Eddie.dong@intel.com>
528,733
29.10.2018 16:50:57
-28,800
0cd85749fe5be273f918f6be5fc4eb86d7d0478e
HV: save the cs limit field for SOS Save the native cs limit and reuse it for SOS cs limit. To remove the hardcode of cs limit for guest in hypervisor. Acked-by: Eddie Dong
[ { "change_type": "MODIFY", "old_path": "hypervisor/arch/x86/cpu_save_boot_ctx.S", "new_path": "hypervisor/arch/x86/cpu_save_boot_ctx.S", "diff": "@@ -32,6 +32,13 @@ cpu_primary_save_32:\n/* Clear Limit field, bit 8-11 */\nandl $0x0000f0ff, %ecx\nmov %ecx, BOOT_CTX_CS_AR_OFFSET(%eax)\n+\n+ /* Save CS...
C
BSD 3-Clause New or Revised License
projectacrn/acrn-hypervisor
HV: save the cs limit field for SOS Save the native cs limit and reuse it for SOS cs limit. To remove the hardcode of cs limit for guest in hypervisor. Tracked-On: #1231 Signed-off-by: Yin Fengwei <fengwei.yin@intel.com> Acked-by: Eddie Dong <Eddie.dong@intel.com>
528,733
29.10.2018 17:23:12
-28,800
e32bc9e36d5cfa4fb9f0acc12318b971b407bcc7
hv: avoid hardcode cs.limit in set_vcpu_regs() For SOS BSP, we reuse native saved cs.limit For UOS BSP, we set cs.limit in DM For AP, we use initialized data from realmode_init_regs. Acked-by: Eddie Dong
[ { "change_type": "MODIFY", "old_path": "hypervisor/arch/x86/guest/vcpu.c", "new_path": "hypervisor/arch/x86/guest/vcpu.c", "diff": "@@ -189,16 +189,17 @@ void set_vcpu_regs(struct vcpu *vcpu, struct acrn_vcpu_regs *vcpu_regs)\nectx = &(vcpu->arch_vcpu.contexts[vcpu->arch_vcpu.cur_context].ext_ctx);\...
C
BSD 3-Clause New or Revised License
projectacrn/acrn-hypervisor
hv: avoid hardcode cs.limit in set_vcpu_regs() For SOS BSP, we reuse native saved cs.limit For UOS BSP, we set cs.limit in DM For AP, we use initialized data from realmode_init_regs. Tracked-On: #1231 Signed-off-by: Yin Fengwei <fengwei.yin@intel.com> Acked-by: Eddie Dong <Eddie.dong@intel.com>
528,652
29.10.2018 08:38:02
25,200
5555a2f85d897ee285e91ff895609df0b977cb24
hv: fix bug in sizing MSI-X Table Base Address Register To sizing a 64-bit BAR, need to form the two 32-bit registers as a 64-bit words, before doing the calculation: inverting all bits and incrementing by 1. Acked-by: Anthony Xu
[ { "change_type": "MODIFY", "old_path": "hypervisor/dm/vpci/msix.c", "new_path": "hypervisor/dm/vpci/msix.c", "diff": "@@ -261,7 +261,7 @@ static void decode_msix_table_bar(struct pci_vdev *vdev)\nuint32_t bir = vdev->msix.table_bar;\nunion pci_bdf pbdf = vdev->pdev.bdf;\nuint64_t base, size;\n- uint...
C
BSD 3-Clause New or Revised License
projectacrn/acrn-hypervisor
hv: fix bug in sizing MSI-X Table Base Address Register To sizing a 64-bit BAR, need to form the two 32-bit registers as a 64-bit words, before doing the calculation: inverting all bits and incrementing by 1. Tracked-On: #1568 Signed-off-by: dongshen <dongsheng.x.zhang@intel.com> Signed-off-by: Zide Chen <zide.chen@i...
528,652
29.10.2018 16:38:41
25,200
dbe156e9f68267987e9293d9bbd1c40a5bb13939
hv: fix misrac violations in vcpi code Fixed the following violations: Widening cast on complex integer expression Casting operation to a pointer Static procedure is not explicitly called in code analysed Acked-by: Anthony Xu
[ { "change_type": "MODIFY", "old_path": "hypervisor/dm/vpci/msix.c", "new_path": "hypervisor/dm/vpci/msix.c", "diff": "@@ -55,7 +55,7 @@ static int vmsix_remap_entry(struct pci_vdev *vdev, uint32_t index, bool enable)\ninfo.vmsi_addr = vdev->msix.tables[index].addr;\ninfo.vmsi_data = (enable) ? vdev-...
C
BSD 3-Clause New or Revised License
projectacrn/acrn-hypervisor
hv: fix misrac violations in vcpi code Fixed the following violations: - Widening cast on complex integer expression - Casting operation to a pointer - Static procedure is not explicitly called in code analysed Tracked-On: #1568 Signed-off-by: Zide Chen <zide.chen@intel.com> Acked-by: Anthony Xu <anthony.xu@intel.com...
528,652
08.10.2018 17:38:14
25,200
c1d2499e5c8b62af9de1bd0c469048b7fcb0dd4e
hv: enable MSI remapping on vm0 When enabled, hypervisor will handle MSI/MSI-X remapping for SOS. Acked-by: Anthony Xu
[ { "change_type": "MODIFY", "old_path": "hypervisor/Makefile", "new_path": "hypervisor/Makefile", "diff": "@@ -176,15 +176,19 @@ endif\nC_SRCS += dm/vpic.c\nC_SRCS += dm/vioapic.c\n-ifeq ($(CONFIG_PARTITION_MODE),y)\n-C_SRCS += $(wildcard partition/*.c)\nC_SRCS += dm/hw/pci.c\nC_SRCS += dm/vpci/core....
C
BSD 3-Clause New or Revised License
projectacrn/acrn-hypervisor
hv: enable MSI remapping on vm0 When enabled, hypervisor will handle MSI/MSI-X remapping for SOS. Tracked-On: #1568 Signed-off-by: dongshen <dongsheng.x.zhang@intel.com> Signed-off-by: Zide Chen <zide.chen@intel.com> Reviewed-by: Li, Fei1 <fei1.li@intel.com> Acked-by: Anthony Xu <anthony.xu@intel.com>
528,804
01.11.2018 11:53:52
-28,800
b74720636b6bc1a475e46e55daf60ef5617914cf
HV: add size check for shell log buffer usage add size check for other hypervisor console command; they could be overflow for shell log buffer output. Acked-by: Eddie Dong
[ { "change_type": "MODIFY", "old_path": "hypervisor/arch/x86/assign.c", "new_path": "hypervisor/arch/x86/assign.c", "diff": "@@ -855,8 +855,10 @@ void get_ptdev_info(char *str_arg, size_t str_max)\nuint32_t bdf, vbdf;\nstruct list_head *pos;\n- len = snprintf(str, size,\n- \"\\r\\nVM\\tTYPE\\tIRQ\\tV...
C
BSD 3-Clause New or Revised License
projectacrn/acrn-hypervisor
HV: add size check for shell log buffer usage add size check for other hypervisor console command; they could be overflow for shell log buffer output. Tracked-On: #1587 Signed-off-by: Minggui Cao <minggui.cao@intel.com> Reviewed-by: Yin Fengwei <fengwei.yin@intel.com> Acked-by: Eddie Dong <eddie.dong@intel.com>
528,801
02.11.2018 09:05:17
-28,800
111f9726d04b2a8afb15ca1ab60e028545d816df
hv: fix integer violations The operands to shift operations (<<, >>) shall be unsigned integers. Acked-by: Eddie Dong
[ { "change_type": "MODIFY", "old_path": "hypervisor/arch/x86/cpu.c", "new_path": "hypervisor/arch/x86/cpu.c", "diff": "@@ -30,12 +30,12 @@ static uint64_t x86_arch_capabilities;\n/* TODO: add more capability per requirement */\n/* APICv features */\n-#define VAPIC_FEATURE_VIRT_ACCESS (1U << 0)\n-#def...
C
BSD 3-Clause New or Revised License
projectacrn/acrn-hypervisor
hv: fix integer violations The operands to shift operations (<<, >>) shall be unsigned integers. Tracked-On: #861 Signed-off-by: Shiqing Gao <shiqing.gao@intel.com> Acked-by: Eddie Dong <eddie.dong@intel.com>
528,646
30.10.2018 17:26:44
-28,800
3ffa9686cac3455199f4b360a1042357a5549722
tools: acrn-crashlog: fix potential issues Changes include: 1. check the parameter of snprintf 2. remove atoi 3. remove sscanf 4. fix one memleak Acked-by: Chen, Gang
[ { "change_type": "MODIFY", "old_path": "tools/acrn-crashlog/acrnprobe/android_events.c", "new_path": "tools/acrn-crashlog/acrnprobe/android_events.c", "diff": "@@ -437,22 +437,24 @@ static void get_last_line_synced(const struct sender_t *sender)\nif (vm->last_synced_line_key[sid][0])\ncontinue;\n- s...
C
BSD 3-Clause New or Revised License
projectacrn/acrn-hypervisor
tools: acrn-crashlog: fix potential issues Changes include: 1. check the parameter of snprintf 2. remove atoi 3. remove sscanf 4. fix one memleak Tracked-On: #1024 Signed-off-by: Liu, Xinwu <xinwu.liu@intel.com> Reviewed-by: Huang, Yonghua <yonghua.huang@intel.com> Acked-by: Chen, Gang <gang.c.chen@intel.com>
528,747
01.11.2018 20:49:31
25,200
a86248ecd26ab99c472b960a76af97357f2cb8f9
doc: hide doxygen duplicate definition warnings Sphinx/Breathe have a known problem with processing unnamed nested structs and unions that cause a "Duplicate definition" warning. Use our .known-issues filter to hide these in the HLD content.
[ { "change_type": "MODIFY", "old_path": "doc/.known-issues/doc/dupdecl.conf", "new_path": "doc/.known-issues/doc/dupdecl.conf", "diff": "#\n-# Emulated devices\n+# HLD warnings\n#\n-#\n-^(?P<filename>[-._/\\w]+/hld/hv-io-emulation.rst):(?P<lineno>[0-9]+): WARNING: Duplicate declaration.\n+#^(?P<filen...
C
BSD 3-Clause New or Revised License
projectacrn/acrn-hypervisor
doc: hide doxygen duplicate definition warnings Sphinx/Breathe have a known problem with processing unnamed nested structs and unions that cause a "Duplicate definition" warning. Use our .known-issues filter to hide these in the HLD content. Tracked-on: #1706 Signed-off-by: David B. Kinder <david.b.kinder@intel.com>
528,747
01.11.2018 21:12:40
25,200
9029ac4bd5609c2550e553797460bdec32f35d29
doc: update All PRs must have a
[ { "change_type": "MODIFY", "old_path": "doc/developer-guides/contribute_guidelines.rst", "new_path": "doc/developer-guides/contribute_guidelines.rst", "diff": "@@ -176,6 +176,14 @@ is set up correctly by using:\ngit config --global user.name \"David Developer\"\ngit config --global user.email \"davi...
C
BSD 3-Clause New or Revised License
projectacrn/acrn-hypervisor
doc: update Tracked-on in contribute guide All PRs must have a Tracked-on: tag Tracked-on: #1420 Signed-off-by: David B. Kinder <david.b.kinder@intel.com>
528,804
31.10.2018 11:58:23
-28,800
74a5eec3a74c4e36644d82e4f6742c0ddf9f3a24
DM: change SOS bootargs console ttyS0 to ttyS2 change it to match with release version.
[ { "change_type": "MODIFY", "old_path": "devicemodel/samples/apl-mrb/sos_bootargs_debug.txt", "new_path": "devicemodel/samples/apl-mrb/sos_bootargs_debug.txt", "diff": "-pci_devices_ignore=(0:18:2) module_blacklist=dwc3_pci console=tty0 console=ttyS0 i915.nuclear_pageflip=1 root=/dev/mmcblk1p1 rw roo...
C
BSD 3-Clause New or Revised License
projectacrn/acrn-hypervisor
DM: change SOS bootargs console ttyS0 to ttyS2 change it to match with release version. Tracked-On: #1690 Signed-off-by: Minggui Cao <minggui.cao@intel.com> Reviewed-by: Jason Chen CJ <jason.cj.chen@intel.com>
528,654
29.10.2018 23:28:32
-28,800
dc9d18a86882d23917216ebf8d296c2d33df75ac
hv: mmu: add static paging table allocation for hypervisor Add static paging table allocation API for hypervisor. Note: must configure PLATFORM_RAM_SIZE and PLATFORM_MMIO_SIZE exactly as the platform. Rename RAM_START/RAM_SIZE to HV_RAM_START/HV_RAM_SIZE for HV.
[ { "change_type": "MODIFY", "old_path": "hypervisor/Makefile", "new_path": "hypervisor/Makefile", "diff": "@@ -121,6 +121,7 @@ C_SRCS += arch/x86/cpu.c\nC_SRCS += arch/x86/cpuid.c\nC_SRCS += arch/x86/mmu.c\nC_SRCS += arch/x86/pagetable.c\n+C_SRCS += arch/x86/page.c\nC_SRCS += arch/x86/notify.c\nC_SRC...
C
BSD 3-Clause New or Revised License
projectacrn/acrn-hypervisor
hv: mmu: add static paging table allocation for hypervisor Add static paging table allocation API for hypervisor. Note: must configure PLATFORM_RAM_SIZE and PLATFORM_MMIO_SIZE exactly as the platform. Rename RAM_START/RAM_SIZE to HV_RAM_START/HV_RAM_SIZE for HV. Tracked-On: #861 Signed-off-by: Li, Fei1 <fei1.li@inte...
528,654
02.11.2018 02:25:15
-28,800
9c7c0de08f5c3b7207c7c629de70f155a8e95d65
hv: mmu: add static paging table allocation for EPT Add static paging table allocation API for EPT. Note: must configure SOS/UOS_REAM_SIZE exactly as the platform.
[ { "change_type": "MODIFY", "old_path": "hypervisor/arch/x86/Kconfig", "new_path": "hypervisor/arch/x86/Kconfig", "diff": "@@ -235,6 +235,21 @@ config PLATFORM_RAM_SIZE\nA 64-bit integer indicating the size of the physical platform RAM\n(not included the MMIO).\n+config SOS_RAM_SIZE\n+ hex \"Size of ...
C
BSD 3-Clause New or Revised License
projectacrn/acrn-hypervisor
hv: mmu: add static paging table allocation for EPT Add static paging table allocation API for EPT. Note: must configure SOS/UOS_REAM_SIZE exactly as the platform. Tracked-On: #861 Signed-off-by: Li, Fei1 <fei1.li@intel.com>
528,654
31.10.2018 07:41:59
-28,800
f1ed6c503cf79d12f820bc7769656285262dcb1b
hv: mmu: remove alloc_page() API No one would call this API for now. So remove it.
[ { "change_type": "MODIFY", "old_path": "hypervisor/arch/x86/Kconfig", "new_path": "hypervisor/arch/x86/Kconfig", "diff": "@@ -164,10 +164,6 @@ config MALLOC_ALIGN\nrange 8 32\ndefault 16\n-config NUM_ALLOC_PAGES\n- hex \"Capacity in pages of the heap for page_alloc()\"\n- default 0x1000\n-\nconfig H...
C
BSD 3-Clause New or Revised License
projectacrn/acrn-hypervisor
hv: mmu: remove alloc_page() API No one would call this API for now. So remove it. Tracked-On: #861 Signed-off-by: Li, Fei1 <fei1.li@intel.com>
528,654
02.11.2018 18:38:55
-28,800
ed113f570ff4347604d4238d9a177228a86a255e
hv: mmu: remove "##" for MISRA C In the C99 standard, the order of evaluation associated with multiple #, multiple ## or a mix of # and ## preprocessor operator is unspecifie. So it is unsafe to use multiple # or ## in a macro.
[ { "change_type": "MODIFY", "old_path": "hypervisor/arch/x86/page.c", "new_path": "hypervisor/arch/x86/page.c", "diff": "*/\n#include <hypervisor.h>\n-#define DEFINE_PGTABLE_PAGE(prefix, lvl, LVL, size) \\\n- static struct page prefix ## lvl ## _pages[LVL ## _PAGE_NUM(size)]\n-\n-DEFINE_PGTABLE_PAGE(...
C
BSD 3-Clause New or Revised License
projectacrn/acrn-hypervisor
hv: mmu: remove "##" for MISRA C In the C99 standard, the order of evaluation associated with multiple #, multiple ## or a mix of # and ## preprocessor operator is unspecifie. So it is unsafe to use multiple # or ## in a macro. Tracked-On: #861 Signed-off-by: Li, Fei1 <fei1.li@intel.com>
528,768
03.11.2018 02:12:00
-28,800
c36f4d278944af18944a746eaeae01c187ac5fba
doc: hotfix build issue blocked by l1tf.rst fix indent and Title alignmeng.
[ { "change_type": "MODIFY", "old_path": "doc/developer-guides/l1tf.rst", "new_path": "doc/developer-guides/l1tf.rst", "diff": "@@ -113,7 +113,7 @@ same pCPU thus next VM may steal information in L1D which comes\nfrom activity of previous VM on the same pCPU.\nNormal_world->Secure_world Attack\n-*****...
C
BSD 3-Clause New or Revised License
projectacrn/acrn-hypervisor
doc: hotfix build issue blocked by l1tf.rst fix indent and Title alignmeng. Tracked-On: #1672 Signed-off-by: Yonghua Huang <yonghua.huang@intel.com>
528,654
03.11.2018 01:29:54
-28,800
eefb06b303b2544436d9b585603bd89c54c7d46c
hv: mmu: add 16GB RAM support for uefi platform And fix a bug when the start address of the e820 not align to 2MB.
[ { "change_type": "MODIFY", "old_path": "hypervisor/arch/x86/Kconfig", "new_path": "hypervisor/arch/x86/Kconfig", "diff": "@@ -75,7 +75,8 @@ config MAX_VM_NUM\nconfig MAX_VCPUS_PER_VM\nint \"Maximum number of VCPUS per VM\"\nrange 1 8\n- default 4\n+ default 4 if PLATFORM_SBL\n+ default 8 if PLATFORM...
C
BSD 3-Clause New or Revised License
projectacrn/acrn-hypervisor
hv: mmu: add 16GB RAM support for uefi platform And fix a bug when the start address of the e820 not align to 2MB. Tracked-On: #861 Signed-off-by: Li, Fei1 <fei1.li@intel.com>
528,747
02.11.2018 15:10:47
25,200
277c9330a2201aa44f493310a8c4add79f9c7f86
doc: fix formatting error in l1tf doc PR had one error that this PR is fixing.
[ { "change_type": "MODIFY", "old_path": "doc/developer-guides/l1tf.rst", "new_path": "doc/developer-guides/l1tf.rst", "diff": "@@ -261,6 +261,7 @@ requirements:\n5) Put hypervisor security data in UC memory if possible\n6) Enable L1D_FLUSH_VMENTRY option, if\n+\n- Doing 5) is not feasible, or\n- CPU ...
C
BSD 3-Clause New or Revised License
projectacrn/acrn-hypervisor
doc: fix formatting error in l1tf doc PR #1714 had one error that this PR is fixing. Tracked-on: #1672 Signed-off-by: David B. Kinder <david.b.kinder@intel.com>
528,804
31.10.2018 10:13:33
-28,800
c885011457827f4d9e9bc64f939a000dcb3b5650
HV: add main vcpu API comments for document This patch adds comments to the main public functions of vCPU in the hypervisor. The comments are in doxygen-style for document generation.
[ { "change_type": "MODIFY", "old_path": "hypervisor/include/arch/x86/guest/vcpu.h", "new_path": "hypervisor/include/arch/x86/guest/vcpu.h", "diff": "* SPDX-License-Identifier: BSD-3-Clause\n*/\n+/**\n+ * @file vcpu.h\n+ *\n+ * @brief public APIs for vcpu operations\n+ */\n+\n#ifndef VCPU_H\n#define V...
C
BSD 3-Clause New or Revised License
projectacrn/acrn-hypervisor
HV: add main vcpu API comments for document This patch adds comments to the main public functions of vCPU in the hypervisor. The comments are in doxygen-style for document generation. Tracked-On: #1595 Signed-off-by: Minggui Cao <minggui.cao@intel.com>
528,804
31.10.2018 14:19:00
-28,800
bf88e241685154e54db129b93d7504276b309db2
DOC: add main vcpu API & data structure into HLD. add main vcpu API and data structure for doc auto-generated info into HLD.
[ { "change_type": "MODIFY", "old_path": "doc/acrn.doxyfile", "new_path": "doc/acrn.doxyfile", "diff": "@@ -798,10 +798,10 @@ INPUT = custom-doxygen/mainpage.md \\\n../hypervisor/include/common/hypercall.h \\\n../hypervisor/include/public/acrn_common.h \\\n../hypervisor/include/public/acrn_hv_defs.h \...
C
BSD 3-Clause New or Revised License
projectacrn/acrn-hypervisor
DOC: add main vcpu API & data structure into HLD. add main vcpu API and data structure for doc auto-generated info into HLD. Tracked-On: #1595 Signed-off-by: Minggui Cao <minggui.cao@intel.com>
528,715
31.10.2018 11:24:31
-28,800
7c3c6ea442566ea5d5b0ac394a2d60b55fb232c8
HV:MM:add API docs This patch adds more comment to describe functions that are interfaces to the other modules in the hypervisor. The comments are in doxygen-style for document generation. V1-->V2: Rebase
[ { "change_type": "MODIFY", "old_path": "hypervisor/include/arch/x86/guest/guest.h", "new_path": "hypervisor/include/arch/x86/guest/guest.h", "diff": "*\n* SPDX-License-Identifier: BSD-3-Clause\n*/\n-\n+/**\n+ * @file guest.h\n+ *\n+ * @brief Data transferring between hypervisor and VM\n+ */\n#ifndef...
C
BSD 3-Clause New or Revised License
projectacrn/acrn-hypervisor
HV:MM:add API docs This patch adds more comment to describe functions that are interfaces to the other modules in the hypervisor. The comments are in doxygen-style for document generation. V1-->V2: Rebase Tracked-On: #1595 Signed-off-by: Xiangyang Wu <xiangyang.wu@linux.intel.com>
528,715
31.10.2018 11:27:28
-28,800
f69dd1c6ea92306e9a53408633286c8facc72afd
HV:doc:use doxygen-generated API docs in HLD The patch adds related head files to the input of doxygen and replaces hard-code API docs with doxygen-generated ones. v1-->v2: Put the 'kerneldoc' back. V2-->V3: Rebase
[ { "change_type": "MODIFY", "old_path": "doc/developer-guides/hld/hv-memmgt.rst", "new_path": "doc/developer-guides/hld/hv-memmgt.rst", "diff": "@@ -186,53 +186,23 @@ Interfaces Design\nMMU Initialization\n------------------\n-.. list-table::\n- :widths: 50 50\n- :header-rows: 1\n+.. doxygenfunction:...
C
BSD 3-Clause New or Revised License
projectacrn/acrn-hypervisor
HV:doc:use doxygen-generated API docs in HLD The patch adds related head files to the input of doxygen and replaces hard-code API docs with doxygen-generated ones. v1-->v2: Put the 'kerneldoc' back. V2-->V3: Rebase Tracked-On: #1595 Signed-off-by: Xiangyang Wu <xiangyang.wu@linux.intel.com>
528,647
31.10.2018 15:12:33
-28,800
7dc3e609be0dc4ba5a363442a3b6658bae455785
doc: hv: add comments to irq APIs for documentation
[ { "change_type": "MODIFY", "old_path": "doc/acrn.doxyfile", "new_path": "doc/acrn.doxyfile", "diff": "@@ -800,7 +800,11 @@ INPUT = custom-doxygen/mainpage.md \\\n../hypervisor/include/public/acrn_hv_defs.h \\\n../hypervisor/include/arch/x86/guest/vcpu.h \\\n../hypervisor/arch/x86/trusty.c \\\n- ../d...
C
BSD 3-Clause New or Revised License
projectacrn/acrn-hypervisor
doc: hv: add comments to irq APIs for documentation Tracked-On: #1595 Signed-off-by: Yan, Like <like.yan@intel.com>
528,731
31.10.2018 13:23:04
-28,800
1776d7e7fc49f08f9db78b7766b872e68f33914f
hv: vtd: add structure and API docs This patch adds more comments to describe the structures and functions of vtd that are public to the other components in the hypervisor. The comments are in doxygen-style for document generation.
[ { "change_type": "MODIFY", "old_path": "hypervisor/include/arch/x86/vtd.h", "new_path": "hypervisor/include/arch/x86/vtd.h", "diff": "@@ -465,37 +465,155 @@ struct dmar_info {\nextern struct dmar_info *get_dmar_info(void);\n+/**\n+ * @file vtd.h\n+ *\n+ * @brief public APIs for VT-d\n+ */\n+\n+/**\n...
C
BSD 3-Clause New or Revised License
projectacrn/acrn-hypervisor
hv: vtd: add structure and API docs This patch adds more comments to describe the structures and functions of vtd that are public to the other components in the hypervisor. The comments are in doxygen-style for document generation. Tracked-On: #1595 Signed-off-by: Binbin Wu <binbin.wu@intel.com>
528,731
31.10.2018 13:24:49
-28,800
4b3b11552d582ae93ccbad3912a5ee7b8dde8856
hv: doc: use doxygen-generated API docs in HLD for vtd This patch adds vtd.h to the input of doxygen and replaces hard-coded API docs with doxygen-generated ones.
[ { "change_type": "MODIFY", "old_path": "doc/acrn.doxyfile", "new_path": "doc/acrn.doxyfile", "diff": "@@ -795,6 +795,7 @@ INPUT = custom-doxygen/mainpage.md \\\n../hypervisor/include/arch/x86/mmu.h \\\n../hypervisor/include/arch/x86/mtrr.h \\\n../hypervisor/include/arch/x86/pgtable.h \\\n+ ../hyperv...
C
BSD 3-Clause New or Revised License
projectacrn/acrn-hypervisor
hv: doc: use doxygen-generated API docs in HLD for vtd This patch adds vtd.h to the input of doxygen and replaces hard-coded API docs with doxygen-generated ones. Tracked-On: #1595 Signed-off-by: Binbin Wu <binbin.wu@intel.com>
528,768
31.10.2018 00:09:57
-28,800
c41f286085d4762efceb11617fbcf63c319836f3
hv: revise interfaces description in vlapic Add comments for APIs: - vlapic_pending_intr(); - vlapic_pending_accepted(); - vlapic_post_intr(); - lapicv_get_pir_desc_paddr(); - vlapic_intr_level(); - vlapic_intr_edge(); - vlapic_set_local_intr(); - vlapic_intr_msi();
[ { "change_type": "MODIFY", "old_path": "hypervisor/arch/x86/guest/vlapic.c", "new_path": "hypervisor/arch/x86/guest/vlapic.c", "diff": "@@ -531,12 +531,35 @@ vlapic_set_intr_ready(struct acrn_vlapic *vlapic, uint32_t vector, bool level)\nreturn 1;\n}\n-/* Post an interrupt to the vcpu running on 'ho...
C
BSD 3-Clause New or Revised License
projectacrn/acrn-hypervisor
hv: revise interfaces description in vlapic Add comments for APIs: - vlapic_pending_intr(); - vlapic_pending_accepted(); - vlapic_post_intr(); - lapicv_get_pir_desc_paddr(); - vlapic_intr_level(); - vlapic_intr_edge(); - vlapic_set_local_intr(); - vlapic_intr_msi(); Tracked-On: #1595 Signed-off-by: Yonghua H...
528,768
31.10.2018 00:57:18
-28,800
7c20cb0cbebf1247bdc33fac24a0f8794b40cc7f
hv: revise interfaces description in vpic Add comments for APIs: - vpic_set_irq() - vpic_pending_intr() - vpic_intr_accepted()
[ { "change_type": "MODIFY", "old_path": "hypervisor/dm/vpic.c", "new_path": "hypervisor/dm/vpic.c", "diff": "@@ -439,12 +439,14 @@ static void vpic_set_pinstate(struct acrn_vpic *vpic, uint8_t pin,\n}\n/**\n- * @pre irq < NR_VPIC_PINS_TOTAL\n- * @pre operation value shall be one of the folllowing val...
C
BSD 3-Clause New or Revised License
projectacrn/acrn-hypervisor
hv: revise interfaces description in vpic Add comments for APIs: - vpic_set_irq() - vpic_pending_intr() - vpic_intr_accepted() Tracked-On: #1595 Signed-off-by: Yonghua Huang <yonghua.huang@intel.com>
528,768
31.10.2018 02:13:07
-28,800
f23606a4c38daafb02d86a70b8a7fd47d45fb297
hv: revise interfaces description in vioapic Add comments for APIs: - vioapic_set_irq(); - vioapic_set_irq_nolock();
[ { "change_type": "MODIFY", "old_path": "hypervisor/dm/vioapic.c", "new_path": "hypervisor/dm/vioapic.c", "diff": "@@ -112,13 +112,18 @@ vioapic_set_pinstate(struct acrn_vioapic *vioapic, uint16_t pin, uint32_t level)\n}\n/**\n+ * @brief Set vIOAPIC IRQ line status.\n+ *\n+ * Similar with vioapic_set...
C
BSD 3-Clause New or Revised License
projectacrn/acrn-hypervisor
hv: revise interfaces description in vioapic Add comments for APIs: - vioapic_set_irq(); - vioapic_set_irq_nolock(); Tracked-On: #1595 Signed-off-by: Yonghua Huang <yonghua.huang@intel.com>
528,768
02.11.2018 01:47:28
-28,800
cbe03135883443073d4bb43f191cd57ec1e1c56c
hv: revise interfaces description in virq Add comments for APIs: - vcpu_queue_exeception() - vcpu_inject_extint() - vcpu_inject_nmi() - vcpu_inject_gp() - vcpu_inject_pf() - vcpu_inject_ud() - vcpu_inject_ac() - vcpu_inject_ss()
[ { "change_type": "MODIFY", "old_path": "hypervisor/include/arch/x86/irq.h", "new_path": "hypervisor/include/arch/x86/irq.h", "diff": "#ifndef ARCH_IRQ_H\n#define ARCH_IRQ_H\n+/**\n+ * @file arch/x86/irq.h\n+ *\n+ * @brief public APIs for virtual IRQ\n+ */\n+\n+\n#include <common/irq.h>\n/* vectors r...
C
BSD 3-Clause New or Revised License
projectacrn/acrn-hypervisor
hv: revise interfaces description in virq Add comments for APIs: - vcpu_queue_exeception() - vcpu_inject_extint() - vcpu_inject_nmi() - vcpu_inject_gp() - vcpu_inject_pf() - vcpu_inject_ud() - vcpu_inject_ac() - vcpu_inject_ss() Tracked-On: #1595 Signed-off-by: Yonghua Huang <yonghua.huang@intel.com>
528,768
01.11.2018 22:30:47
-28,800
d2d0cbc661b4899bc6ebe683985fdcff56237854
hv:doc:use doxyen-generated API docs in HDL for vIRQ Adds below header files to the input of doxygen and replaces hard-coded API docs with doxyen-generated ones: - vlapic.h - vioapic.h - vpic.h - irq.h
[ { "change_type": "MODIFY", "old_path": "doc/acrn.doxyfile", "new_path": "doc/acrn.doxyfile", "diff": "@@ -796,6 +796,10 @@ INPUT = custom-doxygen/mainpage.md \\\n../hypervisor/include/arch/x86/mtrr.h \\\n../hypervisor/include/arch/x86/pgtable.h \\\n../hypervisor/include/arch/x86/vtd.h \\\n+ ../hyper...
C
BSD 3-Clause New or Revised License
projectacrn/acrn-hypervisor
hv:doc:use doxyen-generated API docs in HDL for vIRQ Adds below header files to the input of doxygen and replaces hard-coded API docs with doxyen-generated ones: - vlapic.h - vioapic.h - vpic.h - irq.h Tracked-On: #1595 Signed-off-by: Yonghua Huang <yonghua.huang@intel.com>
528,747
03.11.2018 10:40:08
25,200
1d96ce5fb7839aa1881d7e1f6c523f9c245a3281
doc: add doyxgen alias for easy reST inclusion
[ { "change_type": "MODIFY", "old_path": "doc/acrn.doxyfile", "new_path": "doc/acrn.doxyfile", "diff": "@@ -238,7 +238,9 @@ TAB_SIZE = 4\n# \"Side Effects:\". You can put \\n's in the value part of an alias to insert\n# newlines.\n-ALIASES =\n+# Allow for rst directives and advanced functions e.g. gri...
C
BSD 3-Clause New or Revised License
projectacrn/acrn-hypervisor
doc: add doyxgen alias for easy reST inclusion Tracked-on: #1595 Signed-off-by: David B. Kinder <david.b.kinder@intel.com>
528,755
26.10.2018 17:55:00
-28,800
e24464a039cd552cf7cefcebac99d99928703335
tools: acrnlog: remove usage of banned APIs 1, remove unsafe function sscanf 2, replace strlen with strnlen 3, replace atoll with strtoll and replace aoti with strtol Acked-by: Yan, Like
[ { "change_type": "MODIFY", "old_path": "tools/acrnlog/acrnlog.c", "new_path": "tools/acrnlog/acrnlog.c", "diff": "#include <fcntl.h>\n#include <unistd.h>\n#include <string.h>\n+#include <limits.h>\n#include <dirent.h>\n#include <errno.h>\n#include <pthread.h>\nstatic unsigned int pcpu_num = PCPU_NUM...
C
BSD 3-Clause New or Revised License
projectacrn/acrn-hypervisor
tools: acrnlog: remove usage of banned APIs 1, remove unsafe function sscanf 2, replace strlen with strnlen 3, replace atoll with strtoll and replace aoti with strtol Tracked-On: #1254 Signed-off-by: Tianhua Sun <tianhuax.s.sun@intel.com> Acked-by: Yan, Like <like.yan@intel.com> Reviewed-by: Tao, Yuhong <yuhong.tao@i...
528,755
30.10.2018 15:54:06
-28,800
313941e853ac5c3e49e95d3b3e61c1f0ec041695
tools: acrn-manager: remove unsafe api sscanf function sscanf is banned according to the security requirements. So remove sscanf api.
[ { "change_type": "MODIFY", "old_path": "tools/acrn-manager/acrn_mngr.c", "new_path": "tools/acrn-manager/acrn_mngr.c", "diff": "@@ -408,8 +408,7 @@ static int connect_to_server(const char *name)\nstruct mngr_fd *mfd;\nint ret;\nDIR *dir;\n- char buf[128] = { };\n- char *s_name = NULL;\n+ char *s_nam...
C
BSD 3-Clause New or Revised License
projectacrn/acrn-hypervisor
tools: acrn-manager: remove unsafe api sscanf function sscanf is banned according to the security requirements. So remove sscanf api. Tracked-On: #1254 Signed-off-by: Tianhua Sun <tianhuax.s.sun@intel.com> Reviewed-by: Yan, Like <like.yan@intel.com> Reviewed-by: Tao, Yuhong <yuhong.tao@intel.com>
528,725
30.10.2018 19:46:36
-28,800
4e540e54948f422b13e9fa305ae8854a813a64ba
HV: doc: use doxygen-generated API docs in HLD This patch adds ioreq.h to the input of doxygen and replaces hard-coded API docs with doxygen-generated ones.
[ { "change_type": "MODIFY", "old_path": "doc/acrn.doxyfile", "new_path": "doc/acrn.doxyfile", "diff": "@@ -802,6 +802,7 @@ INPUT = custom-doxygen/mainpage.md \\\n../hypervisor/include/arch/x86/guest/vlapic.h \\\n../hypervisor/include/arch/x86/guest/vioapic.h \\\n../hypervisor/include/arch/x86/guest/v...
C
BSD 3-Clause New or Revised License
projectacrn/acrn-hypervisor
HV: doc: use doxygen-generated API docs in HLD This patch adds ioreq.h to the input of doxygen and replaces hard-coded API docs with doxygen-generated ones. Tracked-On: #1595 Signed-off-by: Junjie Mao <junjie.mao@intel.com>
528,667
29.10.2018 12:58:44
-28,800
ea801a1672453afc381d544a7d1eb197f46a7808
dm: Remove unused duplicated API dm_gpa2hva paddr_guest2host has same function with dm_gpa2hva. And There is no usage of dm_gpa2hva. Remove it. Acked-by: Fengwei Yin Acked-by: Yu Wang
[ { "change_type": "MODIFY", "old_path": "devicemodel/core/main.c", "new_path": "devicemodel/core/main.c", "diff": "@@ -215,12 +215,6 @@ paddr_guest2host(struct vmctx *ctx, uintptr_t gaddr, size_t len)\nreturn vm_map_gpa(ctx, gaddr, len);\n}\n-void *\n-dm_gpa2hva(uint64_t gpa, size_t size)\n-{\n- retu...
C
BSD 3-Clause New or Revised License
projectacrn/acrn-hypervisor
dm: Remove unused duplicated API dm_gpa2hva paddr_guest2host has same function with dm_gpa2hva. And There is no usage of dm_gpa2hva. Remove it. Tracked-On: #1595 Signed-off-by: Shuo Liu <shuo.a.liu@intel.com> Acked-by: Fengwei Yin <fengwei.yin@intel.com> Acked-by: Yu Wang <yu1.wang@intel.com>
528,733
30.10.2018 11:19:44
-28,800
7f57a74fe7a0164ac6d3f3908cba69f2be1d5359
hypercall doc: Sync the comments for each hypercall from .h to .c For all the hypercalls, we sync the comments from .h to .c as comments in .h file are used in architectural design and the comments in .c are used in module design.
[ { "change_type": "MODIFY", "old_path": "hypervisor/common/hypercall.c", "new_path": "hypervisor/common/hypercall.c", "diff": "@@ -26,7 +26,15 @@ bool is_hypercall_from_ring0(void)\n}\n/**\n+ * @brief offline vcpu from SOS\n+ *\n+ * The function offline specific vcpu from SOS.\n+ *\n+ * @param vm Poi...
C
BSD 3-Clause New or Revised License
projectacrn/acrn-hypervisor
hypercall doc: Sync the comments for each hypercall from .h to .c For all the hypercalls, we sync the comments from .h to .c as comments in .h file are used in architectural design and the comments in .c are used in module design. Tracked-On: #1595 Signed-off-by: Yin Fengwei <fengwei.yin@intel.com>
528,717
01.11.2018 09:51:32
25,200
ee918f85339ff214d2effdd14f4f956fe37b7bee
HV:debug:profiling Fixed inappropriate condition check Fixed the condition to be able to collect MSR sample data Also populating addition information to help identifity appropriate data
[ { "change_type": "MODIFY", "old_path": "hypervisor/debug/profiling.c", "new_path": "hypervisor/debug/profiling.c", "diff": "@@ -336,6 +336,7 @@ static int profiling_generate_data(int32_t collector, uint32_t type)\npkt_header.collector_id = collector;\npkt_header.cpu_id = get_cpu_id();\npkt_header.da...
C
BSD 3-Clause New or Revised License
projectacrn/acrn-hypervisor
HV:debug:profiling Fixed inappropriate condition check Fixed the condition to be able to collect MSR sample data Also populating addition information to help identifity appropriate data Tracked-On: #1693 Signed-off-by: Manisha Chinthapally <manisha.chinthapally@intel.com>
528,711
02.11.2018 11:02:40
-28,800
ad1e2ab678ab82e7603b86b58b0157976d2bbc23
DM/sos_bootargs: remove unused parameters for graphics remove these options from legacy release: i915.tsd_init=7 i915.tsd_delay=2000 i915.enable_preemption=1 i915.context_priority_mode=2 Acked-by: Anthony Xu
[ { "change_type": "MODIFY", "old_path": "devicemodel/samples/apl-mrb/sos_bootargs_debug.txt", "new_path": "devicemodel/samples/apl-mrb/sos_bootargs_debug.txt", "diff": "-pci_devices_ignore=(0:18:2) module_blacklist=dwc3_pci console=tty0 console=ttyS2 i915.nuclear_pageflip=1 root=/dev/mmcblk1p1 rw roo...
C
BSD 3-Clause New or Revised License
projectacrn/acrn-hypervisor
DM/sos_bootargs: remove unused parameters for graphics remove these options from legacy release: i915.tsd_init=7 i915.tsd_delay=2000 i915.enable_preemption=1 i915.context_priority_mode=2 Tracked-On: #1697 Signed-off-by: Xinyun Liu <xinyun.liu@intel.com> Reviewed-by: He, Min <min.he@intel.com> Acked-by: Anthony Xu <a...
528,756
06.11.2018 09:48:11
-28,800
65a2613ab63410ab3e533d9798d26e9749349f0f
IOC mediator: fix wakeup reason issue when UOS resuming IOC mediator should keep sending acnrd boot reason until received UOS heartbeat init message, then turn to send SOS wakeup reason through read native cbc lifecycle cdev. Acked-by: Yu Wang
[ { "change_type": "MODIFY", "old_path": "devicemodel/hw/platform/ioc_cbc.c", "new_path": "devicemodel/hw/platform/ioc_cbc.c", "diff": "@@ -652,14 +652,14 @@ cbc_process_wakeup_reason(struct cbc_pkt *pkt)\n/* Unset RTC bit if UOS sends active heartbeat */\nreason &= ~CBC_WK_RSN_RTC;\n} else {\n- reaso...
C
BSD 3-Clause New or Revised License
projectacrn/acrn-hypervisor
IOC mediator: fix wakeup reason issue when UOS resuming IOC mediator should keep sending acnrd boot reason until received UOS heartbeat init message, then turn to send SOS wakeup reason through read native cbc lifecycle cdev. Tracked-On: #1727 Signed-off-by: Yuan Liu <yuan1.liu@intel.com> Acked-by: Yu Wang <yu1.wang@...
528,747
06.11.2018 11:33:24
28,800
dfcc06df30cb3059603905f9b7d47547c26707c4
doc: update HLD Virtio Devices Transcode, edit, and upload HLD 0.7 section 6.5 (Supported Virtio Devices), merging with existing reviewed content.
[ { "change_type": "MODIFY", "old_path": "doc/developer-guides/hld/images/virtio-hld-image3.png", "new_path": "doc/developer-guides/hld/images/virtio-hld-image3.png", "diff": "Binary files a/doc/developer-guides/hld/images/virtio-hld-image3.png and b/doc/developer-guides/hld/images/virtio-hld-image3.p...
C
BSD 3-Clause New or Revised License
projectacrn/acrn-hypervisor
doc: update HLD Virtio Devices Transcode, edit, and upload HLD 0.7 section 6.5 (Supported Virtio Devices), merging with existing reviewed content. Tracked-on: #1732 Signed-off-by: David B. Kinder <david.b.kinder@intel.com>
528,747
06.11.2018 12:18:25
28,800
b3d21683de147a1ca0cc0a54d3978c2b93319130
doc: update HLD VM Management Transcode, edit, and upload HLD 0.7 section 7 (VM Management)
[ { "change_type": "MODIFY", "old_path": "doc/developer-guides/hld/hld-vm-management.rst", "new_path": "doc/developer-guides/hld/hld-vm-management.rst", "diff": "VM Management high-level design\n###############################\n+\n+Management of a Virtual Machine (VM) means to switch a VM to the right...
C
BSD 3-Clause New or Revised License
projectacrn/acrn-hypervisor
doc: update HLD VM Management Transcode, edit, and upload HLD 0.7 section 7 (VM Management) Tracked-on: #1734 Signed-off-by: David B. Kinder <david.b.kinder@intel.com>
528,747
06.11.2018 13:42:48
28,800
27fffb96b97219da459cffe0af06f1fe1a0ff6e0
doc: update HLD Power Management Transcode, edit, and upload HLD 0.7 section 8 (Power Management)
[ { "change_type": "MODIFY", "old_path": "doc/developer-guides/hld/hld-power-management.rst", "new_path": "doc/developer-guides/hld/hld-power-management.rst", "diff": "Power Management high-level design\n##################################\n+\n+P-state/C-state management\n+**************************\n+...
C
BSD 3-Clause New or Revised License
projectacrn/acrn-hypervisor
doc: update HLD Power Management Transcode, edit, and upload HLD 0.7 section 8 (Power Management) Tracked-on: #1736 Signed-off-by: David B. Kinder <david.b.kinder@intel.com>
528,747
06.11.2018 16:11:06
28,800
44ce3a664f4127b7dd18a23c57ac081711ca58fe
doc: update HLD Trace/Log Transcode, edit, and upload HLD 0.7 section 9 (Trace/Log)
[ { "change_type": "MODIFY", "old_path": "doc/developer-guides/hld/hld-trace-log.rst", "new_path": "doc/developer-guides/hld/hld-trace-log.rst", "diff": "Tracing and Logging high-level design\n#####################################\n+\n+Both Trace and Log are built on top of a mechanism named shared\n+...
C
BSD 3-Clause New or Revised License
projectacrn/acrn-hypervisor
doc: update HLD Trace/Log Transcode, edit, and upload HLD 0.7 section 9 (Trace/Log) Tracked-on: #1738 Signed-off-by: David B. Kinder <david.b.kinder@intel.com>
528,731
05.11.2018 10:43:16
-28,800
78dd92e4ed6f7534fe7e089924fae44a5dd88b8e
DM: sos_bootargs: split sos_bootargs into multiple lines Difficult to review the changes of sos_bootargs when the args is a single line. Split sos boot args into multiple lines.
[ { "change_type": "MODIFY", "old_path": "devicemodel/samples/apl-mrb/sos_bootargs_debug.txt", "new_path": "devicemodel/samples/apl-mrb/sos_bootargs_debug.txt", "diff": "-pci_devices_ignore=(0:18:2) module_blacklist=dwc3_pci console=tty0 console=ttyS2 i915.nuclear_pageflip=1 root=/dev/mmcblk1p1 rw roo...
C
BSD 3-Clause New or Revised License
projectacrn/acrn-hypervisor
DM: sos_bootargs: split sos_bootargs into multiple lines Difficult to review the changes of sos_bootargs when the args is a single line. Split sos boot args into multiple lines. Tracked-On: #1730 Signed-off-by: Binbin Wu <binbin.wu@intel.com> Reviewed-by: Jason Chen CJ <jason.cj.chen@intel.com> Reviewed-by: Eddie Don...
528,671
07.11.2018 09:59:43
-28,800
a8a1e229816576e2e82953d8c5053b37aec4e912
hv:vtd: fix minor bug in domain count domain count should be CONFIG_MAX_VM_NUM+1 instead of CONFIG_MAX_IOMMU_NUM+1 Acked-by: Eddie Dong
[ { "change_type": "MODIFY", "old_path": "hypervisor/arch/x86/vtd.c", "new_path": "hypervisor/arch/x86/vtd.c", "diff": "@@ -157,7 +157,7 @@ static struct dmar_drhd_rt dmar_drhd_units[CONFIG_MAX_IOMMU_NUM];\nstatic struct iommu_domain *vm0_domain;\n/* Domain id 0 is reserved in some cases per VT-d */\n...
C
BSD 3-Clause New or Revised License
projectacrn/acrn-hypervisor
hv:vtd: fix minor bug in domain count domain count should be CONFIG_MAX_VM_NUM+1 instead of CONFIG_MAX_IOMMU_NUM+1 Tracked-On: #861 Signed-off-by: Tw <wei.tan@intel.com> Reviewed-by: Binbin Wu <binbin.wu@intel.com> Acked-by: Eddie Dong <eddie.dong@intel.com>
528,733
07.11.2018 14:32:51
-28,800
0fc47b5a7c742bc853e522860bde0bc07d2d5862
hv: fix release build issue The old doc update commit changed the code by accident and broke release version build. This patch fix the release build issue. Acked-by: Eddie Dong
[ { "change_type": "MODIFY", "old_path": "hypervisor/common/hypercall.c", "new_path": "hypervisor/common/hypercall.c", "diff": "@@ -981,18 +981,6 @@ int32_t hcall_setup_sbuf(struct acrn_vm *vm, uint64_t param)\nreturn sbuf_share_setup(ssp.pcpu_id, ssp.sbuf_id, hva);\n}\n-#else\n-/**\n- * @brief Setup ...
C
BSD 3-Clause New or Revised License
projectacrn/acrn-hypervisor
hv: fix release build issue The old doc update commit changed the code by accident and broke release version build. This patch fix the release build issue. Tracked-On: #1595 Signed-off-by: Yin Fengwei <fengwei.yin@intel.com> Acked-by: Eddie Dong <eddie.dong@intel.com>
528,783
06.11.2018 11:18:43
-28,800
ef974d1adf4da1789a7af314643f45ec623427ab
hv:Remove atomic operation to set initial value for 'created_vcpu' It is not necessary to use atomic operation to set the initial value for 'created_vcpu' in vm structure.
[ { "change_type": "MODIFY", "old_path": "hypervisor/arch/x86/guest/vm.c", "new_path": "hypervisor/arch/x86/guest/vm.c", "diff": "@@ -82,7 +82,7 @@ int create_vm(struct vm_description *vm_desc, struct acrn_vm **rtn_vm)\n#endif\n/* Init mmio list */\nINIT_LIST_HEAD(&vm->mmio_list);\n- atomic_store16(&v...
C
BSD 3-Clause New or Revised License
projectacrn/acrn-hypervisor
hv:Remove atomic operation to set initial value for 'created_vcpu' It is not necessary to use atomic operation to set the initial value for 'created_vcpu' in vm structure. Tracked-On: #861 Signed-off-by: Mingqiang Chi <mingqiang.chi@intel.com>
528,734
07.11.2018 14:57:11
-28,800
36aaaa1cfd8c84d436a75b66af89375818b30ec8
DM NPK: unmap the MMIO in pci_npk_deinit Otherwise, after UOS crashes, the PTE for the MMIO may be added again.
[ { "change_type": "MODIFY", "old_path": "devicemodel/hw/pci/npk.c", "new_path": "devicemodel/hw/pci/npk.c", "diff": "@@ -140,6 +140,7 @@ static struct npk_reg_default_val regs_default_val[] = {\nsizeof(struct npk_reg_default_val))\nstatic int npk_in_use;\n+static uint64_t sw_bar_base;\n/* get the poi...
C
BSD 3-Clause New or Revised License
projectacrn/acrn-hypervisor
DM NPK: unmap the MMIO in pci_npk_deinit Otherwise, after UOS crashes, the PTE for the MMIO may be added again. Tracked-On: #1745 Signed-off-by: Zhi Jin <zhi.jin@intel.com>
528,731
06.11.2018 16:06:36
-28,800
039a1c0f2ede70d1535ee2028697df25f1172ba3
hv: pci: replace fucntion like macro with inline func Replace fucntion like macro with inline function. Acked-by: Eddie Dong
[ { "change_type": "MODIFY", "old_path": "hypervisor/arch/x86/assign.c", "new_path": "hypervisor/arch/x86/assign.c", "diff": "@@ -579,7 +579,7 @@ int ptdev_msix_remap(struct acrn_vm *vm, uint16_t virt_bdf,\nentry->msi = *info;\ndev_dbg(ACRN_DBG_IRQ, \"PCI %x:%x.%x MSI VR[%d] 0x%x->0x%x assigned to vm%...
C
BSD 3-Clause New or Revised License
projectacrn/acrn-hypervisor
hv: pci: replace fucntion like macro with inline func Replace fucntion like macro with inline function. Tracked-on: #1747 Signed-off-by: Binbin Wu <binbin.wu@intel.com> Acked-by: Eddie Dong <eddie.dong@intel.com>
528,731
06.11.2018 16:09:01
-28,800
0800624fe532225e93e9453913f44fbacd52c842
hv: vtd: use pre-defined function for bdf calculation Use pre-defined inline function for pci bus/slot/function calculation. Acked-by: Eddie Dong
[ { "change_type": "MODIFY", "old_path": "hypervisor/arch/x86/vtd.c", "new_path": "hypervisor/arch/x86/vtd.c", "diff": "@@ -748,9 +748,9 @@ static void fault_record_analysis(__unused uint64_t low, uint64_t high)\npr_info(\"%s, Reason: 0x%x, SID: %x.%x.%x @0x%llx\",\n(dma_frcd_up_t(high) != 0U) ? \"Rea...
C
BSD 3-Clause New or Revised License
projectacrn/acrn-hypervisor
hv: vtd: use pre-defined function for bdf calculation Use pre-defined inline function for pci bus/slot/function calculation. Tracked-on: #1747 Signed-off-by: Binbin Wu <binbin.wu@intel.com> Acked-by: Eddie Dong <eddie.dong@intel.com>
528,654
08.11.2018 18:00:59
-28,800
605738fc0c6bc81f46262c2882ce63ecfd22e610
hv: hypercall: remove hcall_set_vm_memory_region Since it's discarded. Acked-by: Eddie Dong
[ { "change_type": "MODIFY", "old_path": "hypervisor/arch/x86/guest/vmcall.c", "new_path": "hypervisor/arch/x86/guest/vmcall.c", "diff": "@@ -106,11 +106,6 @@ int vmcall_vmexit_handler(struct acrn_vcpu *vcpu)\n(uint16_t)param2);\nbreak;\n- case HC_VM_SET_MEMORY_REGION:\n- /* param1: vmid */\n- ret = h...
C
BSD 3-Clause New or Revised License
projectacrn/acrn-hypervisor
hv: hypercall: remove hcall_set_vm_memory_region Since it's discarded. Tracked-On: #1124 Signed-off-by: Li, Fei1 <fei1.li@intel.com> Acked-by: Eddie Dong <eddie.dong@intel.com>
528,733
08.11.2018 13:20:57
-28,800
1902d725a09d83285865e63d23d3919556630d0b
hv: fix partition mode no console issue. Fix the issue that kernel console doesn't work with partition mode. Acked-by: Anthony Xu
[ { "change_type": "MODIFY", "old_path": "hypervisor/partition/vm_description.c", "new_path": "hypervisor/partition/vm_description.c", "diff": "@@ -163,8 +163,8 @@ struct vm_description_array vm_desc_partition = {\n.start_hpa = 0x100000000UL,\n.mem_size = 0x20000000UL, /* uses contiguous memory from h...
C
BSD 3-Clause New or Revised License
projectacrn/acrn-hypervisor
hv: fix partition mode no console issue. Fix the issue that kernel console doesn't work with partition mode. Tracked-On: #1756 Signed-off-by: Yin Fengwei <fengwei.yin@intel.com> Acked-by: Anthony Xu <anthony.xu@intel.com>
528,804
02.11.2018 11:32:30
-28,800
b58817273d46e44cd383aa5edbb48c00691d86f2
DM: add interrupt storm monitor params in cmdline To support expose "interrupt storm monitor" params setting to user; it is easy to adjust the params in launch UOS script.
[ { "change_type": "MODIFY", "old_path": "devicemodel/samples/apl-mrb/launch_uos.sh", "new_path": "devicemodel/samples/apl-mrb/launch_uos.sh", "diff": "@@ -122,6 +122,9 @@ else\nboot_image_option=\"--vsbl /usr/share/acrn/bios/VSBL.bin\"\nfi\n+#interrupt storm monitor for pass-through devices, params o...
C
BSD 3-Clause New or Revised License
projectacrn/acrn-hypervisor
DM: add interrupt storm monitor params in cmdline To support expose "interrupt storm monitor" params setting to user; it is easy to adjust the params in launch UOS script. Tracked-On: #1724 Signed-off-by: Minggui Cao <minggui.cao@intel.com> Reviewed-by: Yin Fengwei <fengwei.yin@intel.com>
528,647
26.10.2018 23:57:00
-28,800
d49a6f6fca3c645dbb7980c3532741186e3a8665
capture acrnd AaaG booting messages to journald It's for AaaG boot time measurement only.
[ { "change_type": "MODIFY", "old_path": "tools/acrn-manager/acrnd.c", "new_path": "tools/acrn-manager/acrnd.c", "diff": "@@ -215,20 +215,16 @@ static int load_timer_list(void)\nreturn ret;\n}\n-#define ACRND_LOG_FMT \"/opt/acrn/%s.log\"\n+static int logfile = 1;\nstatic void acrnd_run_vm(char *name)\...
C
BSD 3-Clause New or Revised License
projectacrn/acrn-hypervisor
capture acrnd AaaG booting messages to journald It's for AaaG boot time measurement only. Tracked-On: #1759 Signed-off-by: Yan, Like <like.yan@intel.com> Signed-off-by: Tao Yuhong <yuhong.tao@intel.com>
528,801
08.11.2018 13:49:00
-28,800
f65e05c5fcb8f9af7a1d0440bf5ed87a6cd95698
hv: fix 'Start of variable is upper case' variable names shall be lower-case letters. Acked-by: Eddie Dong
[ { "change_type": "MODIFY", "old_path": "hypervisor/arch/x86/trampoline.S", "new_path": "hypervisor/arch/x86/trampoline.S", "diff": "@@ -100,7 +100,7 @@ trampoline_fixup_target:\n/* Set CR3 to PML4 table address */\n- movl $CPU_Boot_Page_Tables_ptr, %ebx\n+ movl $cpu_boot_page_tables_ptr, %ebx\nmov (...
C
BSD 3-Clause New or Revised License
projectacrn/acrn-hypervisor
hv: fix 'Start of variable is upper case' variable names shall be lower-case letters. Tracked-On: #861 Signed-off-by: Shiqing Gao <shiqing.gao@intel.com> Acked-by: Eddie Dong <eddie.dong@intel.com>
528,804
08.11.2018 16:37:52
-28,800
ab5572bdb6fcfb65c3f5595007923caf6883da84
doc: explain intr storm monitor params in acrn-dm add the introduction of interrupt storm monitor params in acrn-dm commond lines.
[ { "change_type": "MODIFY", "old_path": "doc/developer-guides/hld/hld-devicemodel.rst", "new_path": "doc/developer-guides/hld/hld-devicemodel.rst", "diff": "@@ -54,7 +54,7 @@ options:\nacrn-dm [-abehuwxACHPSTWY] [-c vcpus] [-g <gdb port>] [-l <lpc>]\n[-m mem] [-p vcpu:hostcpu] [-s <pci>] [-U uuid]\n[...
C
BSD 3-Clause New or Revised License
projectacrn/acrn-hypervisor
doc: explain intr storm monitor params in acrn-dm add the introduction of interrupt storm monitor params in acrn-dm commond lines. Signed-off-by: Minggui Cao <minggui.cao@intel.com>
528,794
08.11.2018 16:26:26
-28,800
053608a54ee67f32e09230700135e519ae70c134
HV: add px cx data of bxt n3350 SOC The cpu model name of "Intel(R) Celeron(R) CPU N3350 @ 1.10GHz" is used in APL UP2 board, which is in Acrn official support list. Acked-by: Eddie Dong
[ { "change_type": "MODIFY", "old_path": "hypervisor/arch/x86/cpu_state_tbl.c", "new_path": "hypervisor/arch/x86/cpu_state_tbl.c", "diff": "@@ -64,6 +64,15 @@ static const struct cpu_px_data px_j3455[] = {\n{0x320UL, 0UL, 0xAUL, 0xAUL, 0x0800UL, 0x0800UL} /* P8 */\n};\n+/* The table includes cpu px in...
C
BSD 3-Clause New or Revised License
projectacrn/acrn-hypervisor
HV: add px cx data of bxt n3350 SOC The cpu model name of "Intel(R) Celeron(R) CPU N3350 @ 1.10GHz" is used in APL UP2 board, which is in Acrn official support list. Tracked-On: #1767 Signed-off-by: Victor Sun <victor.sun@intel.com> Acked-by: Eddie Dong <eddie.dong@intel.com>