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,651
28.11.2018 11:18:34
-28,800
b1db77eb815151c61fb661e618c2b089e52971cf
doc: Update the grub part and add code for NVMe
[ { "change_type": "MODIFY", "old_path": "doc/tutorials/using_ubuntu_as_sos.rst", "new_path": "doc/tutorials/using_ubuntu_as_sos.rst", "diff": "@@ -117,7 +117,12 @@ the source code, build it, and install it on your device.\nsudo umount /boot/efi\nsudo lsblk\n+\n+ # For SATA\nsudo mount /dev/sda1 /mnt\...
C
BSD 3-Clause New or Revised License
projectacrn/acrn-hypervisor
doc: Update the grub part and add code for NVMe
528,651
29.11.2018 09:38:54
-28,800
099c605edad3930058b1308fc7c2c974d6c1d4d0
doc: Modify to "/boot/efi" 1. No more mount needed, use the directory "/boot/efi" 2. The kernel of UOS stored in "~/uos-kernel-build" 3. (Pending) the image of UOS stored in "~/" or "/root"
[ { "change_type": "MODIFY", "old_path": "doc/tutorials/using_ubuntu_as_sos.rst", "new_path": "doc/tutorials/using_ubuntu_as_sos.rst", "diff": "@@ -86,7 +86,7 @@ the source code, build it, and install it on your device.\ngit checkout <known-good-tag/release>\n.. note::\n- We clone the git repository b...
C
BSD 3-Clause New or Revised License
projectacrn/acrn-hypervisor
doc: Modify to "/boot/efi" 1. No more mount needed, use the directory "/boot/efi" 2. The kernel of UOS stored in "~/uos-kernel-build" 3. (Pending) the image of UOS stored in "~/" or "/root"
528,651
29.11.2018 10:07:48
-28,800
10522423192b60fea0aa574715e6977727e39db4
doc: add note for the directory of UOS image
[ { "change_type": "MODIFY", "old_path": "doc/tutorials/using_ubuntu_as_sos.rst", "new_path": "doc/tutorials/using_ubuntu_as_sos.rst", "diff": "@@ -63,8 +63,6 @@ Install development tools for ARCN development:\nsudo update-alternatives --install /usr/bin/gcc gcc /usr/bin/gcc-7 60 \\\n--slave /usr/bin/...
C
BSD 3-Clause New or Revised License
projectacrn/acrn-hypervisor
doc: add note for the directory of UOS image
528,651
29.11.2018 10:13:19
-28,800
1a959d0f54970db4a933678e01a910fcda053f72
doc: Update note for the directory of UOS image
[ { "change_type": "MODIFY", "old_path": "doc/tutorials/using_ubuntu_as_sos.rst", "new_path": "doc/tutorials/using_ubuntu_as_sos.rst", "diff": "@@ -312,8 +312,8 @@ For the User OS, we are using the same `Clear Linux`_ release version as the Ser\n-k /lib/modules/kernel/default-iot-lts2018\n.. note::\n-...
C
BSD 3-Clause New or Revised License
projectacrn/acrn-hypervisor
doc: Update note for the directory of UOS image
528,651
29.11.2018 16:47:12
-28,800
0ff74b1367c932a2fcd29db52509ece5b22c3a5d
doc: delete "install build tool" about
[ { "change_type": "MODIFY", "old_path": "doc/tutorials/using_ubuntu_as_sos.rst", "new_path": "doc/tutorials/using_ubuntu_as_sos.rst", "diff": "@@ -35,34 +35,6 @@ Ubuntu 18.04.1 LTS was used throughout this document, other older versions such\nsudo service ssh status\nsudo service ssh start\n-Install ...
C
BSD 3-Clause New or Revised License
projectacrn/acrn-hypervisor
doc: delete "install build tool" about
528,651
04.12.2018 08:43:07
-28,800
945fdd8a4a80ae8c96ea4668102b1ca92ff4655d
doc: update the directory to "~/"
[ { "change_type": "MODIFY", "old_path": "doc/tutorials/using_ubuntu_as_sos.rst", "new_path": "doc/tutorials/using_ubuntu_as_sos.rst", "diff": "@@ -236,7 +236,7 @@ For the User OS, we are using the same `Clear Linux`_ release version as the Ser\n.. code-block:: none\n- cd /root/\n+ cd ~\nwget https://...
C
BSD 3-Clause New or Revised License
projectacrn/acrn-hypervisor
doc: update the directory to "~/"
528,651
04.12.2018 09:20:18
-28,800
3b54dd2abd53797329c13165b29b0edba1d35812
doc: add some "sudo" for code
[ { "change_type": "MODIFY", "old_path": "doc/tutorials/using_ubuntu_as_sos.rst", "new_path": "doc/tutorials/using_ubuntu_as_sos.rst", "diff": "@@ -146,7 +146,7 @@ You can download latest Service OS kernel from\n.. code-block:: none\n- mkdir ~/sos-kernel-build\n+ sudo mkdir ~/sos-kernel-build\ncd ~/so...
C
BSD 3-Clause New or Revised License
projectacrn/acrn-hypervisor
doc: add some "sudo" for code
528,747
03.12.2018 20:59:02
28,800
2dbb0cbafc3eb8987ea3ca7e56144e85e180456c
doc: fix citation references in modularity doc Modularity Design doc had replicated references to citatation docs.
[ { "change_type": "MODIFY", "old_path": "doc/developer-guides/modularity.rst", "new_path": "doc/developer-guides/modularity.rst", "diff": "@@ -22,8 +22,8 @@ include:\nsafety standards.\n* **Meet functional safety requirements** Functional safety standards explicitly\nrequire a hierarchical structure ...
C
BSD 3-Clause New or Revised License
projectacrn/acrn-hypervisor
doc: fix citation references in modularity doc Modularity Design doc had replicated references to citatation docs. Signed-off-by: David B. Kinder <david.b.kinder@intel.com>
528,654
15.11.2018 19:07:22
-28,800
5fd6021dee7f6194014ed04c243bd5c8d4097e31
doc: hv: add comments to timer APIs for documentation 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.
[ { "change_type": "MODIFY", "old_path": "doc/acrn.doxyfile", "new_path": "doc/acrn.doxyfile", "diff": "@@ -808,6 +808,7 @@ INPUT = custom-doxygen/mainpage.md \\\n../hypervisor/include/public/acrn_common.h \\\n../hypervisor/include/public/acrn_hv_defs.h \\\n../hypervisor/include/arch/x86/guest/vcpu.h ...
C
BSD 3-Clause New or Revised License
projectacrn/acrn-hypervisor
doc: hv: add comments to timer APIs for documentation 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. Tracked-On: #1595 Signed-off-by: Li, Fei1 <fei1.li@intel.com>
528,654
04.12.2018 19:26:48
-28,800
d7232ebb57b9f263fcd7534ca6c7c5b0615de411
hv: trusty: refine struct trusty_mem Since "uint8_t page[CPU_PAGE_SIZE]" wants to ensure the first_page only took PAGE_SIZE memory space and aligned to PAGE_SIZE. However, it couldn't. So just make it simpler.
[ { "change_type": "MODIFY", "old_path": "hypervisor/arch/x86/trusty.c", "new_path": "hypervisor/arch/x86/trusty.c", "diff": "#define TRUSTY_VERSION_2 2U\nstruct trusty_mem {\n- /* The first page of trusty memory is reserved for key_info and\n- * trusty_startup_param.\n- */\n- union {\n+ /* The first ...
C
BSD 3-Clause New or Revised License
projectacrn/acrn-hypervisor
hv: trusty: refine struct trusty_mem Since "uint8_t page[CPU_PAGE_SIZE]" wants to ensure the first_page only took PAGE_SIZE memory space and aligned to PAGE_SIZE. However, it couldn't. So just make it simpler. Tracked-On: #861 Signed-off-by: Li, Fei1 <fei1.li@intel.com> Reviewed-by: Qi, Yadong <yadong.qi@intel.com>
528,795
04.12.2018 10:55:11
-28,800
f0d3f1c9841c8c96320f1cd045dfdc1e1d8b3963
HV: Remove some comments for crypto library The code in comments was removed from md_wrap.c, so modify comments to avoid confusion Acked-by: Eddie Dong
[ { "change_type": "MODIFY", "old_path": "hypervisor/lib/crypto/mbedtls/md.h", "new_path": "hypervisor/lib/crypto/mbedtls/md.h", "diff": "@@ -61,17 +61,12 @@ typedef struct {\n/** Information about the associated message digest. */\nconst mbedtls_md_info_t *md_info;\n- /** The digest-specific context....
C
BSD 3-Clause New or Revised License
projectacrn/acrn-hypervisor
HV: Remove some comments for crypto library The code in comments was removed from md_wrap.c, so modify comments to avoid confusion Tracked-On: #1966 Signed-off-by: Chen Gang G <gang.g.chen@intel.com> Acked-by: Eddie Dong <eddie.dong@intel.com>
528,801
04.12.2018 09:18:43
-28,800
7cc8566d3793916e28e4b63689c745a888545a7d
hv: fixes related to unused API and uninitialized variable This patch does: remove the unused API declaration fix use of uninitialized variable in instr_emul.c 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": "@@ -1335,7 +1335,7 @@ static int emulate_or(struct acrn_vcpu *vcpu, const struct instr_emul_vie *vie)\nstatic int emulate_cmp(struct acrn_vcpu *vcpu, const ...
C
BSD 3-Clause New or Revised License
projectacrn/acrn-hypervisor
hv: fixes related to unused API and uninitialized variable This patch does: - remove the unused API declaration - fix use of uninitialized variable in instr_emul.c Tracked-On: #861 Signed-off-by: Shiqing Gao <shiqing.gao@intel.com> Acked-by: Eddie Dong <eddie.dong@intel.com>
528,801
04.12.2018 11:42:01
-28,800
f73cf2118777aa7020d1c6c659bbfb341b6c609b
hv: fix 'Unused procedure parameter' remove the unused procedure parameter Acked-by: Eddie Dong
[ { "change_type": "MODIFY", "old_path": "hypervisor/arch/x86/guest/vm.c", "new_path": "hypervisor/arch/x86/guest/vm.c", "diff": "@@ -91,7 +91,7 @@ int create_vm(struct vm_description *vm_desc, struct acrn_vm **rtn_vm)\nvm->hw.gpa_lowtop = 0UL;\ninit_ept_mem_ops(vm);\n- vm->arch_vm.nworld_eptp = vm->a...
C
BSD 3-Clause New or Revised License
projectacrn/acrn-hypervisor
hv: fix 'Unused procedure parameter' remove the unused procedure parameter Tracked-On: #861 Signed-off-by: Shiqing Gao <shiqing.gao@intel.com> Acked-by: Eddie Dong <eddie.dong@intel.com>
528,659
11.11.2018 15:47:06
-28,800
9e471d725895e630b801f00ba225ac0bc069ecd0
DM USB: xHCI: refine the PLC bit emulation logic during S3 According to xHCI 5.4.8, the Port Link State Change (PLC) bit should not be set to 1 during suspend process. This patch is used to fix it. Acked-by: Yu Wang
[ { "change_type": "MODIFY", "old_path": "devicemodel/hw/pci/xhci.c", "new_path": "devicemodel/hw/pci/xhci.c", "diff": "@@ -1262,8 +1262,15 @@ pci_xhci_portregs_write(struct pci_xhci_vdev *xdev,\ncase 3: /* U3 */\nif (oldpls != newpls) {\np->portsc &= ~XHCI_PS_PLS_MASK;\n- p->portsc |= XHCI_PS_PLS_SET...
C
BSD 3-Clause New or Revised License
projectacrn/acrn-hypervisor
DM USB: xHCI: refine the PLC bit emulation logic during S3 According to xHCI 5.4.8, the Port Link State Change (PLC) bit should not be set to 1 during suspend process. This patch is used to fix it. Tracked-On: #1893 Signed-off-by: Xiaoguang Wu <xiaoguang.wu@intel.com> Reviewed-by: Liang Yang <liang3.yang@intel.com> A...
528,659
20.11.2018 16:14:17
-28,800
966c587260fc46319330385581cab763efe3f5af
DM USB: xHCI: fix potential NULL pointer issue. During S3 process, the dev in the function pci_xhci_device_doorbell may be set to NULL when disconnection is detected by DM. This patch is used to remove this risk. Acked-by: Yu Wang
[ { "change_type": "MODIFY", "old_path": "devicemodel/hw/pci/xhci.c", "new_path": "devicemodel/hw/pci/xhci.c", "diff": "@@ -2937,6 +2937,9 @@ pci_xhci_device_doorbell(struct pci_xhci_vdev *xdev,\n}\ndev = XHCI_SLOTDEV_PTR(xdev, slot);\n+ if (!dev)\n+ return;\n+\ndevep = &dev->eps[epid];\ndev_ctx = pci...
C
BSD 3-Clause New or Revised License
projectacrn/acrn-hypervisor
DM USB: xHCI: fix potential NULL pointer issue. During S3 process, the dev in the function pci_xhci_device_doorbell may be set to NULL when disconnection is detected by DM. This patch is used to remove this risk. Tracked-On: #1893 Signed-off-by: Xiaoguang Wu <xiaoguang.wu@intel.com> Reviewed-by: Liang Yang <liang3.ya...
528,755
04.12.2018 15:05:40
-28,800
5d19962d733624c0c17f199b804736d2be92ba35
security: remove cflag _FORTIFY_SOURCE in hypervisor _FORTIFY_SOURCE is a Glibc feature which adds memory and string function protection, this flag is only for Glibc. The _FORTIFY_SOURCE is not used by hypervisor because hypervisor is not include Glibc. Acked-by: Anthony Xu
[ { "change_type": "MODIFY", "old_path": "hypervisor/Makefile", "new_path": "hypervisor/Makefile", "diff": "@@ -51,7 +51,6 @@ CFLAGS += -fsigned-char\nCFLAGS += -m64 -mno-mmx -mno-sse -mno-sse2 -mno-80387 -mno-fp-ret-in-387\nCFLAGS += -mno-red-zone\nCFLAGS += -nostdinc -nostdlib -fno-common\n-CFLAGS +...
C
BSD 3-Clause New or Revised License
projectacrn/acrn-hypervisor
security: remove cflag _FORTIFY_SOURCE in hypervisor _FORTIFY_SOURCE is a Glibc feature which adds memory and string function protection, this flag is only for Glibc. The _FORTIFY_SOURCE is not used by hypervisor because hypervisor is not include Glibc. Tracked-On: #1122 Signed-off-by: Tianhua Sun <tianhuax.s.sun@int...
528,654
30.11.2018 16:31:16
-28,800
7a62154e36a32aebd2b32f6abd574c8176474fec
hv: remove the theoretic infinite loop There may the theoretic infinite loop with some code. But actually it doesn't. This patch make these code more obvious it's not a potentially infinite loop.
[ { "change_type": "MODIFY", "old_path": "hypervisor/arch/x86/guest/instr_emul.c", "new_path": "hypervisor/arch/x86/guest/instr_emul.c", "diff": "@@ -1669,9 +1669,9 @@ static bool segment_override(uint8_t x, enum cpu_reg_name *seg)\nstatic int decode_prefixes(struct instr_emul_vie *vie,\nenum vm_cpu_m...
C
BSD 3-Clause New or Revised License
projectacrn/acrn-hypervisor
hv: remove the theoretic infinite loop There may the theoretic infinite loop with some code. But actually it doesn't. This patch make these code more obvious it's not a potentially infinite loop. Tracked-On: #861 Signed-off-by: Li, Fei1 <fei1.li@intel.com>
528,654
04.12.2018 22:00:58
-28,800
9c133c7bbcca2e37db72ba42cbc2d868c9e505ef
hv: lib: refine print_decimal Align the calculate logic to make it simpler.
[ { "change_type": "MODIFY", "old_path": "hypervisor/lib/sprintf.c", "new_path": "hypervisor/lib/sprintf.c", "diff": "@@ -348,17 +348,17 @@ static void print_decimal(struct print_param *param, int64_t value)\nv.qword = v.qword / 10UL;\n}\n+ nv.dwords.low = v.dwords.low;\n/* process 32 bit (or reduced ...
C
BSD 3-Clause New or Revised License
projectacrn/acrn-hypervisor
hv: lib: refine print_decimal Align the calculate logic to make it simpler. Tracked-On: #861 Signed-off-by: Li, Fei1 <fei1.li@intel.com>
528,654
30.11.2018 22:24:44
-28,800
79463fd5ce353ef9cdbe89cc99c68d236436dc36
hv: avoid using of mixed mode arithmetic Avoid using of mixed mode arithmetic by using explicit casts
[ { "change_type": "MODIFY", "old_path": "hypervisor/arch/x86/cpu.c", "new_path": "hypervisor/arch/x86/cpu.c", "diff": "@@ -636,7 +636,7 @@ void start_cpus(void)\n/* Wait until global count is equal to expected CPU up count or\n* configured time-out has expired\n*/\n- timeout = CONFIG_CPU_UP_TIMEOUT *...
C
BSD 3-Clause New or Revised License
projectacrn/acrn-hypervisor
hv: avoid using of mixed mode arithmetic Avoid using of mixed mode arithmetic by using explicit casts Tracked-On: #861 Signed-off-by: Li, Fei1 <fei1.li@intel.com>
528,654
03.12.2018 21:20:48
-28,800
9bb16bce774ddf2fc1d36aee432124aadee74475
hv: fix type conversion without cast with explicit conversion Implicit conversion may result in loss of information or undefined behaviour. So make it with explicit conversion.
[ { "change_type": "MODIFY", "old_path": "hypervisor/arch/x86/guest/guest.c", "new_path": "hypervisor/arch/x86/guest/guest.c", "diff": "@@ -229,7 +229,7 @@ static int local_gva2gpa_pae(struct acrn_vcpu *vcpu, struct page_walk_info *pw_i\nint ret;\naddr = pw_info->top_entry & 0xFFFFFFF0U;\n- base = gpa...
C
BSD 3-Clause New or Revised License
projectacrn/acrn-hypervisor
hv: fix type conversion without cast with explicit conversion Implicit conversion may result in loss of information or undefined behaviour. So make it with explicit conversion. Tracked-On: #861 Signed-off-by: Li, Fei1 <fei1.li@intel.com>
528,783
05.12.2018 12:55:22
-28,800
908acb5000b2d2e3a2d6801097b2a8c949406443
hv: add 'no-omit-frame-pointer' in debug version Hypervisor uses '-O2' compiler option, it will omit frame pointer by default for '-O2', This patch add 'no-omit-frame-pointer' in debug version.
[ { "change_type": "MODIFY", "old_path": "hypervisor/Makefile", "new_path": "hypervisor/Makefile", "diff": "@@ -236,7 +236,7 @@ endif\nC_OBJS := $(patsubst %.c,$(HV_OBJDIR)/%.o,$(C_SRCS))\nifneq ($(CONFIG_RELEASE),y)\n-CFLAGS += -DHV_DEBUG -DPROFILING_ON\n+CFLAGS += -DHV_DEBUG -DPROFILING_ON -fno-omit...
C
BSD 3-Clause New or Revised License
projectacrn/acrn-hypervisor
hv: add 'no-omit-frame-pointer' in debug version Hypervisor uses '-O2' compiler option, it will omit frame pointer by default for '-O2', This patch add 'no-omit-frame-pointer' in debug version. Tracked-On: #1979 Signed-off-by: Mingqiang Chi <mingqiang.chi@intel.com>
528,733
05.12.2018 11:37:25
-28,800
3ca64c5b0219077d664642feefd0ab0f2a4bf3aa
dm: add "break" removed by mistake. The tpm patch delete the "break" for CMD_OPT_DEBUGEXIT branch. Acked-by: Eddie Dong
[ { "change_type": "MODIFY", "old_path": "devicemodel/core/main.c", "new_path": "devicemodel/core/main.c", "diff": "@@ -881,6 +881,7 @@ dm_run(int argc, char *argv[])\nbreak;\ncase CMD_OPT_DEBUGEXIT:\ndebugexit_enabled = true;\n+ break;\ncase CMD_OPT_VTPM2:\nif (acrn_parse_vtpm2(optarg) != 0) {\nerrx(...
C
BSD 3-Clause New or Revised License
projectacrn/acrn-hypervisor
dm: add "break" removed by mistake. The tpm patch delete the "break" for CMD_OPT_DEBUGEXIT branch. Tracked-On: #1978 Signed-off-by: Yin Fengwei <fengwei.yin@intel.com> Acked-by: Eddie Dong <eddie.dong@intel.com>
528,747
05.12.2018 11:38:14
28,800
e24039a7ef69b082cf1a3c8e254d56dbf419b92e
doc: tweak CSS for doxygen API usability Change background colors of API elements to improve readability and match configuration documentation look.
[ { "change_type": "MODIFY", "old_path": "doc/static/acrn-custom.css", "new_path": "doc/static/acrn-custom.css", "diff": "@@ -134,6 +134,13 @@ th,td {\npadding-left: 0 !important;\n}\n+/* doxygenXX item color tweaks, light blue background with dark blue top border */\n+.rst-content dl:not(.docutils) d...
C
BSD 3-Clause New or Revised License
projectacrn/acrn-hypervisor
doc: tweak CSS for doxygen API usability Change background colors of API elements to improve readability and match configuration documentation look. Signed-off-by: David B. Kinder <david.b.kinder@intel.com>
528,728
05.12.2018 16:57:21
-28,800
fa99dba380bfcac281b5b7f3ddd1d6508117cedf
Update doc/getting-started/apl-nuc.rst accepted
[ { "change_type": "MODIFY", "old_path": "doc/getting-started/apl-nuc.rst", "new_path": "doc/getting-started/apl-nuc.rst", "diff": "@@ -336,7 +336,7 @@ Set up Reference UOS\nIn case you have downloaded a different Clear Linux image than the one above\n(``clear-26200-kvm.img.xz``), you will need to mod...
C
BSD 3-Clause New or Revised License
projectacrn/acrn-hypervisor
Update doc/getting-started/apl-nuc.rst accepted Co-Authored-By: ailun258 <ailin.yang@intel.com>
528,747
05.12.2018 16:54:36
28,800
fe1ace4f56f4f497d5f421b4d9ce11cea8b3521b
doc: fix doc misspellings Fix documentation misspellings missed during the regular review.
[ { "change_type": "MODIFY", "old_path": "doc/developer-guides/hld/hld-power-management.rst", "new_path": "doc/developer-guides/hld/hld-power-management.rst", "diff": "@@ -86,7 +86,7 @@ Intercept Policy\n================\nHypervisor should be able to restrict guest's\n-P/C-state request, with a user-c...
C
BSD 3-Clause New or Revised License
projectacrn/acrn-hypervisor
doc: fix doc misspellings Fix documentation misspellings missed during the regular review. Signed-off-by: David B. Kinder <david.b.kinder@intel.com>
528,652
05.12.2018 08:40:02
28,800
01cb6ba84760aa2b4200b78aa5184122f78cf68a
hv: fix one MISRA-C violation in mtrr.c 52 S Unsigned expression negated. Negating unsigned integer leads to confusion. Acked-by: Anthony Xu
[ { "change_type": "MODIFY", "old_path": "hypervisor/arch/x86/mtrr.c", "new_path": "hypervisor/arch/x86/mtrr.c", "diff": "@@ -23,7 +23,7 @@ struct fixed_range_mtrr_maps {\n};\n#define MAX_FIXED_RANGE_ADDR 0x100000UL\n-#define FIXED_MTRR_INVALID_INDEX -1U\n+#define FIXED_MTRR_INVALID_INDEX ~0U\nstatic ...
C
BSD 3-Clause New or Revised License
projectacrn/acrn-hypervisor
hv: fix one MISRA-C violation in mtrr.c 52 S Unsigned expression negated. Negating unsigned integer leads to confusion. Tracked-On: #861 Signed-off-by: Zide Chen <zide.chen@intel.com> Acked-by: Anthony Xu <anthony.xu@intel.com>
528,652
05.12.2018 09:50:22
28,800
c3c932027dd4e58c84da93ff055af803ba06a415
hv: fix "Array has no bounds specified" in vmsr.c MISRAC requires that the array size should be declared explicitly. Acked-by: Anthony Xu
[ { "change_type": "MODIFY", "old_path": "hypervisor/arch/x86/guest/vmsr.c", "new_path": "hypervisor/arch/x86/guest/vmsr.c", "diff": "@@ -145,7 +145,8 @@ static const uint32_t emulated_msrs[NUM_EMULATED_MSR] = {\n/* MSR 0xC90 ... 0xD8F, not in this array */\n};\n-static const uint32_t x2apic_msrs[] = ...
C
BSD 3-Clause New or Revised License
projectacrn/acrn-hypervisor
hv: fix "Array has no bounds specified" in vmsr.c MISRAC requires that the array size should be declared explicitly. Tracked-On: #861 Signed-off-by: Zide Chen <zide.chen@intel.com> Acked-by: Anthony Xu <anthony.xu@intel.com>
528,661
05.12.2018 14:58:25
-28,800
c3799146849cb12ab50293495be856a902a4b890
hv: remove "i915.enable_initial_modeset" removed "i915.enable_initial_modeset" sos kernel cmdline option from acrn.conf
[ { "change_type": "MODIFY", "old_path": "hypervisor/bsp/uefi/clearlinux/acrn.conf", "new_path": "hypervisor/bsp/uefi/clearlinux/acrn.conf", "diff": "title The ACRN Service OS\nlinux /EFI/org.clearlinux/kernel-org.clearlinux.iot-lts2018-sos.4.19.0-16\n-options console=tty0 console=ttyS0 i915.nuclear_p...
C
BSD 3-Clause New or Revised License
projectacrn/acrn-hypervisor
hv: remove "i915.enable_initial_modeset" removed "i915.enable_initial_modeset" sos kernel cmdline option from acrn.conf Tracked-On: #1982 Signed-off-by: ailun258 <ailin.yang@intel.com>
528,654
06.12.2018 19:10:44
-28,800
c616a42251da3dfd4a0ca0c73ac132225db8d774
hv: fix string assigned to non const object String should assigned to const object
[ { "change_type": "MODIFY", "old_path": "hypervisor/arch/x86/guest/vlapic.c", "new_path": "hypervisor/arch/x86/guest/vlapic.c", "diff": "@@ -55,32 +55,27 @@ static inline uint32_t prio(uint32_t x)\n#define ACRN_DBG_LAPIC 6U\n#if VLAPIC_VERBOS\n-static inline void vlapic_dump_irr(struct acrn_vlapic *v...
C
BSD 3-Clause New or Revised License
projectacrn/acrn-hypervisor
hv: fix string assigned to non const object String should assigned to const object Tracked-On: #861 Signed-off-by: Li, Fei1 <fei1.li@intel.com>
528,654
06.12.2018 00:03:02
-28,800
3afc5113c4584ebfbf2c7a8d34d3c3f60259dba5
hv: acpi: remove weak parse_madt Since it's discarded.
[ { "change_type": "MODIFY", "old_path": "hypervisor/arch/x86/cpu.c", "new_path": "hypervisor/arch/x86/cpu.c", "diff": "*/\n#include <hypervisor.h>\n+#include <acpi.h>\n#include <schedule.h>\n#include <version.h>\n#include <trampoline.h>\n@@ -271,18 +272,6 @@ static int hardware_detect_support(void)\n...
C
BSD 3-Clause New or Revised License
projectacrn/acrn-hypervisor
hv: acpi: remove weak parse_madt Since it's discarded. Tracked-On: #861 Signed-off-by: Li, Fei1 <fei1.li@intel.com>
528,654
05.12.2018 21:33:05
-28,800
ae9d4361fd39a524a2cd45f4a4410a63cca10fb8
hv: minimize the case of "identifier reuse" Identifier reuse may arise confusion. So should minimize the case of it as much as possible. This patch is try to do this except the PCI related module.
[ { "change_type": "MODIFY", "old_path": "hypervisor/arch/x86/page.c", "new_path": "hypervisor/arch/x86/page.c", "diff": "@@ -30,23 +30,23 @@ static inline uint64_t ppt_pgentry_present(uint64_t pte)\nstatic inline struct page *ppt_get_pml4_page(const union pgtable_pages_info *info)\n{\n- struct page *...
C
BSD 3-Clause New or Revised License
projectacrn/acrn-hypervisor
hv: minimize the case of "identifier reuse" Identifier reuse may arise confusion. So should minimize the case of it as much as possible. This patch is try to do this except the PCI related module. Tracked-On: #861 Signed-off-by: Li, Fei1 <fei1.li@intel.com>
528,654
06.12.2018 20:12:59
-28,800
36be890ee66ab8c18c44a50619d5fcf14ed2599e
hv: fix included file not protected with #define
[ { "change_type": "MODIFY", "old_path": "hypervisor/Makefile", "new_path": "hypervisor/Makefile", "diff": "@@ -347,6 +347,8 @@ $(VERSION):\nsed 's/^/ * /' ../LICENSE >> $(VERSION); \\\necho \" */\" >> $(VERSION); \\\necho \"\" >> $(VERSION); \\\n+ echo \"#ifndef VERSION_H\" >> $(VERSION); \\\n+ echo ...
C
BSD 3-Clause New or Revised License
projectacrn/acrn-hypervisor
hv: fix included file not protected with #define Tracked-On: #861 Signed-off-by: Li, Fei1 <fei1.li@intel.com>
528,654
06.12.2018 22:16:23
-28,800
f33edc67febd09daba8382886ebb2e6c048d8e6b
hv: fix reference parameter to procedure is reassigned Reassign reference parameter may lead to possibly serious errors and unmaintainability. This patch wants to fix this by avoiding do this.
[ { "change_type": "MODIFY", "old_path": "hypervisor/lib/string.c", "new_path": "hypervisor/lib/string.c", "diff": "@@ -427,6 +427,7 @@ char *strstr_s(const char *str1, size_t maxlen1, const char *str2, size_t maxlen\n{\nsize_t len1, len2;\nsize_t i;\n+ const char *pstr;\nif ((str1 == NULL) || (str2 =...
C
BSD 3-Clause New or Revised License
projectacrn/acrn-hypervisor
hv: fix reference parameter to procedure is reassigned Reassign reference parameter may lead to possibly serious errors and unmaintainability. This patch wants to fix this by avoiding do this. Tracked-On: #861 Signed-off-by: Li, Fei1 <fei1.li@intel.com>
528,654
06.12.2018 23:05:14
-28,800
d36b44f23dcb54544ea0132b202d7ec17453801b
hv: avoid to use "++" or "--" operators in an expression Use these operators in an expression is considered dangerous. So avoid to use it in an expression which is not in stand-alone expressions and the 3rd expression of a for loop.
[ { "change_type": "MODIFY", "old_path": "hypervisor/dm/vpci/sharing_mode.c", "new_path": "hypervisor/dm/vpci/sharing_mode.c", "diff": "@@ -106,7 +106,8 @@ static struct pci_vdev *alloc_pci_vdev(struct acrn_vm *vm, union pci_bdf bdf)\nstruct pci_vdev *vdev;\nif (num_pci_vdev < CONFIG_MAX_PCI_DEV_NUM) ...
C
BSD 3-Clause New or Revised License
projectacrn/acrn-hypervisor
hv: avoid to use "++" or "--" operators in an expression Use these operators in an expression is considered dangerous. So avoid to use it in an expression which is not in stand-alone expressions and the 3rd expression of a for loop. Tracked-On: #861 Signed-off-by: Li, Fei1 <fei1.li@intel.com>
528,654
06.12.2018 23:24:14
-28,800
9e0562f4dce11fc7649f63466bd09b02445c83aa
hv: add obvious comment for empty else clause following else if Add obvious do nothing comment for empty else clause following else if.
[ { "change_type": "MODIFY", "old_path": "hypervisor/arch/x86/vmx.c", "new_path": "hypervisor/arch/x86/vmx.c", "diff": "@@ -395,6 +395,7 @@ void vmx_write_cr0(struct acrn_vcpu *vcpu, uint64_t cr0)\n/* enabled PAE from paging disabled */\nload_pdptrs(vcpu);\n} else {\n+ /* do nothing */\n}\n} else if (...
C
BSD 3-Clause New or Revised License
projectacrn/acrn-hypervisor
hv: add obvious comment for empty else clause following else if Add obvious do nothing comment for empty else clause following else if. Tracked-On: #861 Signed-off-by: Li, Fei1 <fei1.li@intel.com>
528,661
07.12.2018 10:21:50
-28,800
87e7bdb90c0925fc9210d5e7a19b2090c99ccc12
DM: updating launch_uos.sh this patch is for updating path of the UOS image in launch_uos.sh script to adapt latest getting started guide,
[ { "change_type": "MODIFY", "old_path": "devicemodel/samples/nuc/launch_uos.sh", "new_path": "devicemodel/samples/nuc/launch_uos.sh", "diff": "@@ -20,7 +20,7 @@ acrn-dm -A -m $mem_size -c $2 -s 0:0,hostbridge -s 1:0,lpc -l com1,stdio \\\n-s 2,pci-gvt -G \"$3\" \\\n-s 5,virtio-console,@pty:pty_port \\...
C
BSD 3-Clause New or Revised License
projectacrn/acrn-hypervisor
DM: updating launch_uos.sh this patch is for updating path of the UOS image in launch_uos.sh script to adapt latest getting started guide, Tracked-On: #2003 Signed-off-by: Ailun258 <ailin.yang@intel.com>
528,733
26.11.2018 16:12:13
-28,800
7fce2462a0df5e3ab767103026cc0139e606facf
dm: apply new mevent API to avoid race issue in mei Pass teardown callback when add mevent in mei mediator code. Which could avoid run_callback calling after the related data structure is freed. Acked-by: Yu Wang
[ { "change_type": "MODIFY", "old_path": "devicemodel/core/mevent.c", "new_path": "devicemodel/core/mevent.c", "diff": "@@ -254,8 +254,6 @@ mevent_add(int tfd, enum ev_type type,\nreturn mevp;\n} else {\n- if (mevp->teardown)\n- mevp->teardown(mevp->teardown_param);\nfree(mevp);\nreturn NULL;\n}\n@@ -...
C
BSD 3-Clause New or Revised License
projectacrn/acrn-hypervisor
dm: apply new mevent API to avoid race issue in mei Pass teardown callback when add mevent in mei mediator code. Which could avoid run_callback calling after the related data structure is freed. Tracked-On: #1877 Signed-off-by: Yin Fengwei <fengwei.yin@intel.com> Acked-by: Yu Wang <yu1.wang@intel.com>
528,702
12.12.2018 06:47:52
-28,800
7d391c21602e3a7c3a28a1106f4106e8fcc61294
Add known issues found in pre-release test.
[ { "change_type": "MODIFY", "old_path": "doc/release_notes_0.4.rst", "new_path": "doc/release_notes_0.4.rst", "diff": "@@ -165,6 +165,19 @@ Known Issues\n**Workaround:** None.\n+:acrn-issue:`2030` - UP2 fails to boot with uart=disabled for hypervisor\n+ SOS boots up fail following GSG document guide....
C
BSD 3-Clause New or Revised License
projectacrn/acrn-hypervisor
Add known issues found in pre-release test. Signed-off-by: Xie, nanlin <nanlin.xie@intel.com>
528,675
06.12.2018 10:46:17
-28,800
6b42b347d5319f0064e0b3ad451b1057366ad7ea
init fs and gs with 0x10 we are not using ldt, so just init fs & gs with 0x10 which lead to data segement descriptor in gdt. Acked-by: Eddie Dong
[ { "change_type": "MODIFY", "old_path": "hypervisor/arch/x86/boot/cpu_primary.S", "new_path": "hypervisor/arch/x86/boot/cpu_primary.S", "diff": "@@ -155,21 +155,19 @@ jmpbuf: .quad 0\n.word 0x0008\n.text\nafter:\n- // load all selector registers with appropriate values\n- xor %edx, %edx\n- lldt %dx\n...
C
BSD 3-Clause New or Revised License
projectacrn/acrn-hypervisor
init fs and gs with 0x10 we are not using ldt, so just init fs & gs with 0x10 which lead to data segement descriptor in gdt. Tracked-On: #1842 Signed-off-by: Jason Chen CJ <jason.cj.chen@intel.com> Acked-by: Eddie Dong <eddie.dong@intel.com>
528,675
06.12.2018 13:49:05
-28,800
27938c3300676bfda451823b0bb155c2faa910d7
move idt fixup out of cpu_primary.S we will not enable interrupt until interrupt_init, so we can defer idt fixup and lidt to interrupt_init. Acked-by: Eddie Dong
[ { "change_type": "MODIFY", "old_path": "hypervisor/arch/x86/boot/cpu_primary.S", "new_path": "hypervisor/arch/x86/boot/cpu_primary.S", "diff": "@@ -163,31 +163,6 @@ after:\nmov %eax,%fs // Was 32bit POC Data\nmov %eax,%gs // Was 32bit POC CLS\n- /*\n- * Fix up the IDT desciptors\n- * The relocation ...
C
BSD 3-Clause New or Revised License
projectacrn/acrn-hypervisor
move idt fixup out of cpu_primary.S we will not enable interrupt until interrupt_init, so we can defer idt fixup and lidt to interrupt_init. Tracked-On: #1842 Signed-off-by: Jason Chen CJ <jason.cj.chen@intel.com> Acked-by: Eddie Dong <eddie.dong@intel.com>
528,675
06.12.2018 13:55:14
-28,800
c2be20d2a05df6e30bcdfcd36c265c3dda6cdec6
move idt.S and idt.h out of boot component based on previous patch, we can move idt.S and idt.h out of boot component Acked-by: Eddie Dong
[ { "change_type": "MODIFY", "old_path": "hypervisor/Makefile", "new_path": "hypervisor/Makefile", "diff": "@@ -126,11 +126,11 @@ export LIB_DEBUG LIB_RELEASE\nS_SRCS += arch/x86/boot/cpu_primary.S\nS_SRCS += arch/x86/boot/cpu_save_boot_ctx.S\nS_SRCS += arch/x86/boot/trampoline.S\n-S_SRCS += arch/x86/...
C
BSD 3-Clause New or Revised License
projectacrn/acrn-hypervisor
move idt.S and idt.h out of boot component based on previous patch, we can move idt.S and idt.h out of boot component Tracked-On: #1842 Signed-off-by: Jason Chen CJ <jason.cj.chen@intel.com> Acked-by: Eddie Dong <eddie.dong@intel.com>
528,804
07.12.2018 14:41:02
-28,800
b69d24b1d49c537202482dbc58b9d1e5bfb797fc
HV: separate e820 related code as e820.c/h 1. e820 is modulized as separated files. 2. move boot_regs into multiboot.h as it's related with multiboot info header Acked-by: Anthony Xu
[ { "change_type": "MODIFY", "old_path": "hypervisor/Makefile", "new_path": "hypervisor/Makefile", "diff": "@@ -136,6 +136,7 @@ C_SRCS += arch/x86/lapic.c\nC_SRCS += arch/x86/cpu.c\nC_SRCS += arch/x86/cpuid.c\nC_SRCS += arch/x86/mmu.c\n+C_SRCS += arch/x86/e820.c\nC_SRCS += arch/x86/pagetable.c\nC_SRCS...
C
BSD 3-Clause New or Revised License
projectacrn/acrn-hypervisor
HV: separate e820 related code as e820.c/h 1. e820 is modulized as separated files. 2. move boot_regs into multiboot.h as it's related with multiboot info header Tracked-On: #1842 Signed-off-by: Minggui Cao <minggui.cao@intel.com> Acked-by: Anthony Xu <anthony.xu@intel.com>
528,804
07.12.2018 16:49:05
-28,800
9b58b9d11df9e215281bf3d8c67c0a16e1453004
HV: improve e820 interfaces and their usages 1. change its APIs as more indepentent, and modify the callers' code 2. limit its global variables as static, and return const to the callers 3. remove unused code in "CONFIG_CMA" Acked-by: Anthony Xu
[ { "change_type": "MODIFY", "old_path": "hypervisor/arch/x86/cpu.c", "new_path": "hypervisor/arch/x86/cpu.c", "diff": "@@ -382,6 +382,7 @@ void bsp_boot_init(void)\nload_cpu_state_data();\n/* Initialize the hypervisor paging */\n+ init_e820();\ninit_paging();\nif (!cpu_has_cap(X86_FEATURE_X2APIC)) {\...
C
BSD 3-Clause New or Revised License
projectacrn/acrn-hypervisor
HV: improve e820 interfaces and their usages 1. change its APIs as more indepentent, and modify the callers' code 2. limit its global variables as static, and return const to the callers 3. remove unused code in "CONFIG_CMA" Tracked-On: #1842 Signed-off-by: Minggui Cao <minggui.cao@intel.com> Acked-by: Anthony Xu <an...
528,804
07.12.2018 17:02:24
-28,800
bff592d99856d728479820411f369a98d73ce7c2
HV: rename e820_entries to e820_entries_count to make its meaning more matched. Acked-by: Anthony Xu
[ { "change_type": "MODIFY", "old_path": "hypervisor/arch/x86/e820.c", "new_path": "hypervisor/arch/x86/e820.c", "diff": "* and hide HV memory from VM0...\n*/\n-static uint32_t e820_entries;\n+static uint32_t e820_entries_count;\nstatic struct e820_entry e820[E820_MAX_ENTRIES];\nstatic struct e820_mem...
C
BSD 3-Clause New or Revised License
projectacrn/acrn-hypervisor
HV: rename e820_entries to e820_entries_count to make its meaning more matched. Tracked-On: #1842 Signed-off-by: Minggui Cao <minggui.cao@intel.com> Acked-by: Anthony Xu <anthony.xu@intel.com>
528,747
11.12.2018 20:38:13
28,800
405d1335c618217ea35d8370770b11bd5ac249c3
doc: add 0.4 to doc version menu With the 0.4 release, we can now add the 0.4 doc version menu option
[ { "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.4\", \"/0.4/\"),\n(\"0.3\", \"/0.3/\"),\n(\"0.2\", \"/0.2/\"),\n(\"0.1\", \"/0...
C
BSD 3-Clause New or Revised License
projectacrn/acrn-hypervisor
doc: add 0.4 to doc version menu With the 0.4 release, we can now add the 0.4 doc version menu option Signed-off-by: David B. Kinder <david.b.kinder@intel.com>
528,731
11.12.2018 17:33:47
-28,800
a1435f332b05ffc14eaad0d203e9ef4e2bc2e174
dm: bios: update vSBL to V1.1 vSBL Version 1.1 Change: Update vFastboot to v1.1 Pass vrpmb key to vFastboot.
[ { "change_type": "MODIFY", "old_path": "devicemodel/bios/MD5SUM", "new_path": "devicemodel/bios/MD5SUM", "diff": "-a3968d6c91e8d93f7d5f3541665ce145 VSBL.bin\n-9cdf1ad1caeffafff52ea79eaded7700 VSBL_debug.bin\n+3cb56894053bf75010ba5287db455fd0 VSBL.bin\n+443662e23bfc60b5dd0a181db7838fd4 VSBL_debug.bin...
C
BSD 3-Clause New or Revised License
projectacrn/acrn-hypervisor
dm: bios: update vSBL to V1.1 vSBL Version 1.1 - Change: Update vFastboot to v1.1 Pass vrpmb key to vFastboot. Tracked-On: #2028 Signed-off-by: Binbin Wu <binbin.wu@intel.com>
528,654
08.12.2018 00:01:04
-28,800
8bafde994223da25be680de04eaa584251945888
hv: use uint8_t replace "unsigned char" Since it's typedef in "include/lib/types.h"
[ { "change_type": "MODIFY", "old_path": "hypervisor/bsp/uefi/efi/boot.c", "new_path": "hypervisor/bsp/uefi/efi/boot.c", "diff": "@@ -280,7 +280,7 @@ out:\nstatic inline EFI_STATUS isspace(CHAR8 ch)\n{\n- return ((unsigned char)ch <= ' ');\n+ return ((uint8_t)ch <= ' ');\n}\n/**\n" }, { "chang...
C
BSD 3-Clause New or Revised License
projectacrn/acrn-hypervisor
hv: use uint8_t replace "unsigned char" Since it's typedef in "include/lib/types.h" Tracked-On: #861 Signed-off-by: Li, Fei1 <fei1.li@intel.com>
528,654
08.12.2018 00:06:59
-28,800
473d87139708fcad842b645f68b228d4c2b0e5a9
hv: use uint32_t replace "unsigned int" Since it's typedef in "include/lib/types.h"
[ { "change_type": "MODIFY", "old_path": "hypervisor/bsp/uefi/efi/boot.c", "new_path": "hypervisor/bsp/uefi/efi/boot.c", "diff": "@@ -124,7 +124,7 @@ again:\n*/\nfor (i = 0, j = 0; i < map_size / desc_size; i++) {\nEFI_MEMORY_DESCRIPTOR *d;\n- unsigned int e820_type = 0;\n+ uint32_t e820_type = 0;\nd ...
C
BSD 3-Clause New or Revised License
projectacrn/acrn-hypervisor
hv: use uint32_t replace "unsigned int" Since it's typedef in "include/lib/types.h" Tracked-On: #861 Signed-off-by: Li, Fei1 <fei1.li@intel.com>
528,654
08.12.2018 00:13:56
-28,800
e8f3a2d42c60d12a2cf38cf7beadd1c39eb5f485
hv: use uint64_t replace "unsigned long" Since it's typedef in "include/lib/types.h"
[ { "change_type": "MODIFY", "old_path": "hypervisor/bsp/uefi/efi/boot.c", "new_path": "hypervisor/bsp/uefi/efi/boot.c", "diff": "@@ -126,7 +126,7 @@ again:\nEFI_MEMORY_DESCRIPTOR *d;\nuint32_t e820_type = 0;\n- d = (EFI_MEMORY_DESCRIPTOR *)((unsigned long)map_buf + (i * desc_size));\n+ d = (EFI_MEMOR...
C
BSD 3-Clause New or Revised License
projectacrn/acrn-hypervisor
hv: use uint64_t replace "unsigned long" Since it's typedef in "include/lib/types.h" Tracked-On: #861 Signed-off-by: Li, Fei1 <fei1.li@intel.com>
528,751
07.12.2018 22:30:02
-28,800
ed1c576d08b27ac02a97a110f41e79bb1125e8a2
dm: pass mac seed not to use vm name Physical NIC mac address is used for generate UOS mac address. This patch uses a new parameters to pass this information instead of vm name. Acked-by: Yan, Like Acked-by: Anthony Xu
[ { "change_type": "MODIFY", "old_path": "devicemodel/core/main.c", "new_path": "devicemodel/core/main.c", "diff": "@@ -86,10 +86,12 @@ char *vsbl_file_name;\nchar *kernel_file_name;\nchar *elf_file_name;\nuint8_t trusty_enabled;\n+char *mac_seed;\nbool stdio_in_use;\nstatic int virtio_msix = 1;\nstat...
C
BSD 3-Clause New or Revised License
projectacrn/acrn-hypervisor
dm: pass mac seed not to use vm name Physical NIC mac address is used for generate UOS mac address. This patch uses a new parameters to pass this information instead of vm name. Tracked-On: #1987 Signed-off-by: Jie Deng <jie.deng@intel.com> Acked-by: Yan, Like <like.yan@intel.com> Acked-by: Anthony Xu <anthony.xu@in...
528,671
11.12.2018 16:00:56
-28,800
59c2b33a909fc6f20cf51b0e1b9a52c3d7058d00
Makefile: separate PLATFORM into BOARD+FIRMWARE Combination of BOARD and FIRMWARE is a more precious definition. And we decide PLATFORM_XXX based on FIRMWARE, remove relative one in board config. We reserve PLATFORM for backward compatibility.
[ { "change_type": "MODIFY", "old_path": "Makefile", "new_path": "Makefile", "diff": "# global helper variables\nT := $(CURDIR)\n+\n+# PLATFORM is now deprecated, just reserve for compatability\n+ifdef PLATFORM\n+$(warning PLATFORM is deprecated, pls use BOARD instead)\n+endif\nPLATFORM ?= uefi\n+\n+#...
C
BSD 3-Clause New or Revised License
projectacrn/acrn-hypervisor
Makefile: separate PLATFORM into BOARD+FIRMWARE Combination of BOARD and FIRMWARE is a more precious definition. And we decide PLATFORM_XXX based on FIRMWARE, remove relative one in board config. We reserve PLATFORM for backward compatibility. Tracked-On: #1995 Signed-off-by: Tw <wei.tan@intel.com> Reviewed-by: Yin ...
528,671
08.11.2018 15:45:21
-28,800
bb768904ab12b46be7b58934a483348812947c16
config: add up2-sbl board related configs Add up2-sbl's stuff including (launch_uos script, sos_bootargs and hv config).
[ { "change_type": "ADD", "old_path": null, "new_path": "devicemodel/samples/up2/launch_uos.sh", "diff": "+#!/bin/bash\n+\n+\n+kernel_version=$(uname -r | awk -F. '{ printf(\"%d.%d\", $1,$2) }')\n+\n+ipu_passthrough=0\n+\n+# Check the device file of /dev/vbs_ipu to determine the IPU mode\n+if [ ! -e \...
C
BSD 3-Clause New or Revised License
projectacrn/acrn-hypervisor
config: add up2-sbl board related configs Add up2-sbl's stuff including (launch_uos script, sos_bootargs and hv config). Tracked-On: #1995 Signed-off-by: Tw <wei.tan@intel.com> Reviewed-by: Binbin Wu <binbin.wu@intel.com> Reviewed-by: Yin Fengwei <fengwei.yin@intel.com>
528,651
05.12.2018 21:14:03
-28,800
71bf586e7aa447fa54a362045fe8c1ac3b220d4a
doc: upload tutorial of 'Build UOS from Clear Linux'
[ { "change_type": "ADD", "old_path": null, "new_path": "doc/tutorials/building_uos_from_clearlinux.rst", "diff": "+.. _build UOS from Clearlinux:\n+\n+Building UOS from Clear Linux\n+##############################\n+\n+This document builds on the :ref:`getting_started`,\n+and explains how to build UO...
C
BSD 3-Clause New or Revised License
projectacrn/acrn-hypervisor
doc: upload tutorial of 'Build UOS from Clear Linux'
528,651
05.12.2018 23:19:39
-28,800
8b83caddb6a597b58be9b3da53cb5df31162f15f
doc: update the layout of the doc
[ { "change_type": "MODIFY", "old_path": "doc/tutorials/building_uos_from_clearlinux.rst", "new_path": "doc/tutorials/building_uos_from_clearlinux.rst", "diff": ".. _build UOS from Clearlinux:\nBuilding UOS from Clear Linux\n-##############################\n+#############################\nThis documen...
C
BSD 3-Clause New or Revised License
projectacrn/acrn-hypervisor
doc: update the layout of the doc
528,651
06.12.2018 10:12:53
-28,800
33b8706452558e26ddaf102707da2f86d379d4eb
Doc: Update the doc of "Build UOS from ClearLinux"
[ { "change_type": "MODIFY", "old_path": "doc/tutorials/building_uos_from_clearlinux.rst", "new_path": "doc/tutorials/building_uos_from_clearlinux.rst", "diff": "@@ -12,15 +12,15 @@ Build UOS image in Clear Linux native\nIn order to build out the image of UOS,\nplease follow these steps in Clear Linux...
C
BSD 3-Clause New or Revised License
projectacrn/acrn-hypervisor
Doc: Update the doc of "Build UOS from ClearLinux"
528,651
06.12.2018 16:51:16
-28,800
fae136c259acc22b21e4e6697eef91983294da4b
doc: remove "software-defined-cockpit"
[ { "change_type": "MODIFY", "old_path": "doc/tutorials/building_uos_from_clearlinux.rst", "new_path": "doc/tutorials/building_uos_from_clearlinux.rst", "diff": "@@ -73,7 +73,6 @@ please follow these steps in Clear Linux native:\n\"os-core-update\",\n\"os-core\",\n\"openssh-server\",\n- \"software-def...
C
BSD 3-Clause New or Revised License
projectacrn/acrn-hypervisor
doc: remove "software-defined-cockpit"
528,651
08.12.2018 21:15:22
-28,800
85b30685694ff92096ee88fd76719f53d90ae1d1
Doc: define swap partition with 1G
[ { "change_type": "MODIFY", "old_path": "doc/tutorials/building_uos_from_clearlinux.rst", "new_path": "doc/tutorials/building_uos_from_clearlinux.rst", "diff": "@@ -44,7 +44,7 @@ please follow these steps in Clear Linux native:\n\"type\" : \"EFI\" },\n{ \"disk\" : \"uos.img\",\n\"partition\" : 2,\n- ...
C
BSD 3-Clause New or Revised License
projectacrn/acrn-hypervisor
Doc: define swap partition with 1G
528,651
12.12.2018 09:11:51
-28,800
97c956977bc2614e6fd0b5d6430d503e94cd147f
doc: update code to "losetup -r"
[ { "change_type": "MODIFY", "old_path": "doc/tutorials/building_uos_from_clearlinux.rst", "new_path": "doc/tutorials/building_uos_from_clearlinux.rst", "diff": "@@ -126,7 +126,7 @@ Start the User OS (UOS)\n.. code-block:: none\n- # losetup -f -P --show ~/uos.img\n+ # losetup -r -f -P --show ~/uos.img...
C
BSD 3-Clause New or Revised License
projectacrn/acrn-hypervisor
doc: update code to "losetup -r"
528,747
10.12.2018 16:05:07
28,800
7bcd7054e54b391529062fe23982b8d928e508c1
doc: additional DM parameter documentation Update the device model HLD with additional parameter documentation
[ { "change_type": "MODIFY", "old_path": "doc/developer-guides/hld/hld-devicemodel.rst", "new_path": "doc/developer-guides/hld/hld-devicemodel.rst", "diff": "@@ -46,7 +46,7 @@ ISA, and PCI emulation.\nConfiguration\n*************\n-The acrn-dm should run according to below command line configuration\n...
C
BSD 3-Clause New or Revised License
projectacrn/acrn-hypervisor
doc: additional DM parameter documentation Update the device model HLD with additional parameter documentation Tracked-On: #2021 Signed-off-by: David B. Kinder <david.b.kinder@intel.com>
528,728
11.12.2018 09:21:23
28,800
21a5b308656e0db1e1c658c829db696b7d075796
Update add acrn-dm parameter descriptions
[ { "change_type": "MODIFY", "old_path": "doc/developer-guides/hld/hld-devicemodel.rst", "new_path": "doc/developer-guides/hld/hld-devicemodel.rst", "diff": "@@ -90,228 +90,8 @@ options:\n--intr_monitor: enable interrupt storm monitor, params:\nthreshold/s,probe-period(s),delay_time(ms),delay_duration...
C
BSD 3-Clause New or Revised License
projectacrn/acrn-hypervisor
Update add acrn-dm parameter descriptions Co-Authored-By: dbkinder <david.b.kinder@intel.com>
528,747
12.12.2018 10:57:10
28,800
6dec1667796e499481cd083067456d361db83d17
doc: improve acrn-dm param layout Use a table instead of a dictionary list to make the parameter description layout more readable.
[ { "change_type": "MODIFY", "old_path": "doc/user-guides/acrn-dm-parameters.rst", "new_path": "doc/user-guides/acrn-dm-parameters.rst", "diff": "@@ -10,16 +10,20 @@ emulation based on command line configurations, as introduced in\nHere are descriptions for each of these ``acrn-dm`` command line param...
C
BSD 3-Clause New or Revised License
projectacrn/acrn-hypervisor
doc: improve acrn-dm param layout Use a table instead of a dictionary list to make the parameter description layout more readable. Signed-off-by: David B. Kinder <david.b.kinder@intel.com>
528,747
12.12.2018 15:20:48
28,800
90d7bddd2f57f2df64b8c028729276ef5c74fe9a
doc: vertical align table content to top Default vertical alignment of "middle" doesn't look good on large tables, so override to be "top" of the cell.
[ { "change_type": "MODIFY", "old_path": "doc/static/acrn-custom.css", "new_path": "doc/static/acrn-custom.css", "diff": "@@ -109,9 +109,12 @@ table.hlist {\nwidth: 95% !important;\n}\n-/* override rtd theme white-space no-wrap in table heading and content */\n+/* override rtd theme white-space no-wra...
C
BSD 3-Clause New or Revised License
projectacrn/acrn-hypervisor
doc: vertical align table content to top Default vertical alignment of "middle" doesn't look good on large tables, so override to be "top" of the cell. Signed-off-by: David B. Kinder <david.b.kinder@intel.com>
528,675
10.12.2018 13:15:38
-28,800
07427b4ca9ea25fdfb1a422901d2d7dd1dda3b04
modulization: move virtual cpuid stuff into guest dir functions like set_vcpuid_entries & guest_cpuid should only server for virtual cpuid, so move such kind of functions to guest/vcpuid.c. and all native cpuid APIs will keep in cpuid.h Acked-by: Eddie Dong
[ { "change_type": "MODIFY", "old_path": "hypervisor/Makefile", "new_path": "hypervisor/Makefile", "diff": "@@ -133,7 +133,6 @@ S_SRCS += arch/x86/idt.S\nC_SRCS += arch/x86/ioapic.c\nC_SRCS += arch/x86/lapic.c\nC_SRCS += arch/x86/cpu.c\n-C_SRCS += arch/x86/cpuid.c\nC_SRCS += arch/x86/mmu.c\nC_SRCS += ...
C
BSD 3-Clause New or Revised License
projectacrn/acrn-hypervisor
modulization: move virtual cpuid stuff into guest dir functions like set_vcpuid_entries & guest_cpuid should only server for virtual cpuid, so move such kind of functions to guest/vcpuid.c. and all native cpuid APIs will keep in cpuid.h Tracked-On: #1842 Signed-off-by: Jason Chen CJ <jason.cj.chen@intel.com> Acked-b...
528,654
12.12.2018 20:13:11
-28,800
29c8494fd040085d0e84cfa2f5c8ddedba9eabe8
hv: replace strcpy_s with strncpy_s They're some duplicated and strcpy_s is not safety as strncpy_s. Acked-by: Eddie Dong
[ { "change_type": "MODIFY", "old_path": "hypervisor/boot/sbl/multiboot.c", "new_path": "hypervisor/boot/sbl/multiboot.c", "diff": "@@ -114,13 +114,12 @@ static void parse_other_modules(struct acrn_vm *vm,\n/*copy boot args to load addr, set src=load addr*/\nif (copy_once != 0) {\ncopy_once = 0;\n- (v...
C
BSD 3-Clause New or Revised License
projectacrn/acrn-hypervisor
hv: replace strcpy_s with strncpy_s They're some duplicated and strcpy_s is not safety as strncpy_s. Tracked-On: #861 Signed-off-by: Li, Fei1 <fei1.li@intel.com> Acked-by: Eddie Dong <eddie.dong@intel.com> Reviewed-by: Huang, Yonghua <yonghua.huang@intel.com>
528,654
12.12.2018 20:18:43
-28,800
b8ca17c6daa7f8e4cf9e25d63976d5e8f4987cf4
hv: remove strcpy_s Since it's discarded. Acked-by: Eddie Dong
[ { "change_type": "MODIFY", "old_path": "hypervisor/include/lib/rtl.h", "new_path": "hypervisor/include/lib/rtl.h", "diff": "@@ -24,7 +24,6 @@ void udelay(uint32_t us);\nvoid *memchr(const void *void_s, int32_t c, size_t n);\nint32_t strcmp(const char *s1_arg, const char *s2_arg);\nint32_t strncmp(co...
C
BSD 3-Clause New or Revised License
projectacrn/acrn-hypervisor
hv: remove strcpy_s Since it's discarded. Tracked-On: #861 Signed-off-by: Li, Fei1 <fei1.li@intel.com> Acked-by: Eddie Dong <eddie.dong@intel.com> Reviewed-by: Huang, Yonghua <yonghua.huang@intel.com>
528,654
12.12.2018 21:22:42
-28,800
2f30dcdb376d36ac7a4d625bf1d587b7778913f1
hv: refine strncpy_s to only one exit point Fix procedure has more than one exit point Acked-by: Eddie Dong
[ { "change_type": "MODIFY", "old_path": "hypervisor/lib/string.c", "new_path": "hypervisor/lib/string.c", "diff": "@@ -203,28 +203,28 @@ char *strncpy_s(char *d_arg, size_t dmax, const char *s_arg, size_t slen_arg)\n{\nconst char *s = s_arg;\nchar *d = d_arg;\n- char *dest_base;\n+ char *pret;\nsize_...
C
BSD 3-Clause New or Revised License
projectacrn/acrn-hypervisor
hv: refine strncpy_s to only one exit point Fix procedure has more than one exit point Tracked-On: #861 Signed-off-by: Li, Fei1 <fei1.li@intel.com> Acked-by: Eddie Dong <eddie.dong@intel.com> Reviewed-by: Huang, Yonghua <yonghua.huang@intel.com>
528,647
12.12.2018 15:25:05
-28,800
04fef4f363261bd778463bf18d65a409df82e3fb
tools: acrn-manager: change path of vm conf files The path of vm conf files changed from "/opt/acrn/conf" to "/usr/share/acrn/conf", since "/opt" is not generally used on clearlinux. Acked-by: Yin Fengwei
[ { "change_type": "MODIFY", "old_path": "tools/acrn-manager/README.rst", "new_path": "tools/acrn-manager/README.rst", "diff": "@@ -102,7 +102,7 @@ The ``acrnd`` daemon process provides a way for launching or resuming a UOS\nshould the UOS shut down, either planned or unexpected. A UOS can ask ``acrnd...
C
BSD 3-Clause New or Revised License
projectacrn/acrn-hypervisor
tools: acrn-manager: change path of vm conf files The path of vm conf files changed from "/opt/acrn/conf" to "/usr/share/acrn/conf", since "/opt" is not generally used on clearlinux. Tracked-On: #2040 Signed-off-by: Yan, Like <like.yan@intel.com> Acked-by: Yin Fengwei <fengwei.yin@intel.com>
528,766
12.12.2018 01:34:30
28,800
653a57958bb4073b955dcae22e42b6a51c601578
dm: query and save image size during initial checking This is preparation for the upcoming High BIOS work. Acked-by: Anthony Xu
[ { "change_type": "MODIFY", "old_path": "devicemodel/core/sw_load_bzimage.c", "new_path": "devicemodel/core/sw_load_bzimage.c", "diff": "@@ -97,8 +97,8 @@ static char ramdisk_path[STR_LEN];\nstatic char kernel_path[STR_LEN];\nstatic int with_ramdisk;\nstatic int with_kernel;\n-static int ramdisk_size...
C
BSD 3-Clause New or Revised License
projectacrn/acrn-hypervisor
dm: query and save image size during initial checking This is preparation for the upcoming High BIOS work. Tracked-On: #1832 Signed-off-by: Peter Fang <peter.fang@intel.com> Acked-by: Anthony Xu <anthony.xu@intel.com>
528,766
12.12.2018 01:46:16
28,800
d8c4e7d3675c4eaf16ed6c566b53ae9a91dbacc4
dm: add option to boot OVMF from acrn-dm Use '--ovmf <OVMF image location>' when launching acrn-dm. Acked-by: Anthony Xu
[ { "change_type": "MODIFY", "old_path": "devicemodel/Makefile", "new_path": "devicemodel/Makefile", "diff": "@@ -118,6 +118,7 @@ SRCS += core/monitor.c\nSRCS += core/sw_load_common.c\nSRCS += core/sw_load_bzimage.c\nSRCS += core/sw_load_vsbl.c\n+SRCS += core/sw_load_ovmf.c\nSRCS += core/sw_load_elf.c...
C
BSD 3-Clause New or Revised License
projectacrn/acrn-hypervisor
dm: add option to boot OVMF from acrn-dm Use '--ovmf <OVMF image location>' when launching acrn-dm. Tracked-On: #1832 Signed-off-by: Peter Fang <peter.fang@intel.com> Acked-by: Anthony Xu <anthony.xu@intel.com>
528,766
12.12.2018 16:22:02
28,800
f5a66e8e2032b70a930f0543e325afb9708a2aae
doc: update OVMF usage for acrn-dm
[ { "change_type": "MODIFY", "old_path": "doc/developer-guides/hld/hld-devicemodel.rst", "new_path": "doc/developer-guides/hld/hld-devicemodel.rst", "diff": "@@ -53,7 +53,8 @@ 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: update OVMF usage for acrn-dm Tracked-On: #1832 Signed-off-by: Peter Fang <peter.fang@intel.com>
528,679
11.12.2018 17:16:58
-28,800
fbaecde6bb325cdfaaa2fed99fe177f26eb7d505
DM USB: xHCI: Fix banned API issue. In USB mediator, sscanf, strtok and atoi API is banned, so replace them with permitted API function. Acked-by: Yu Wang
[ { "change_type": "MODIFY", "old_path": "devicemodel/hw/pci/xhci.c", "new_path": "devicemodel/hw/pci/xhci.c", "diff": "#include \"xhci.h\"\n#include \"usb_pmapper.h\"\n#include \"vmmapi.h\"\n+#include \"dm_string.h\"\n#undef LOG_TAG\n#define LOG_TAG \"xHCI: \"\n@@ -3704,18 +3705,24 @@ errout:\nstatic...
C
BSD 3-Clause New or Revised License
projectacrn/acrn-hypervisor
DM USB: xHCI: Fix banned API issue. In USB mediator, sscanf, strtok and atoi API is banned, so replace them with permitted API function. Tracked-On: #1254 Signed-off-by: Yang Liang <liang3.yang@intel.com> Reviewed-by: Xiaoguang Wu <xiaoguang.wu@intel.com> Reviewed-by: Shuo Liu <shuo.a.liu@intel.com> Reviewed-by: Yong...
528,651
04.12.2018 15:50:05
-28,800
e574879501d8e4e761c80a377b585e9ac12b99c5
doc: update the doc of using AGL as UOS
[ { "change_type": "ADD", "old_path": "doc/tutorials/images/The-GUI-of-weston.png", "new_path": "doc/tutorials/images/The-GUI-of-weston.png", "diff": "Binary files /dev/null and b/doc/tutorials/images/The-GUI-of-weston.png differ\n" }, { "change_type": "ADD", "old_path": "doc/tutorials/ima...
C
BSD 3-Clause New or Revised License
projectacrn/acrn-hypervisor
doc: update the doc of using AGL as UOS
528,651
06.12.2018 19:29:32
-28,800
c3a4a5d44d07a0617c1f9a4b6d2c434c5c9fc108
Doc: add "$" for code
[ { "change_type": "MODIFY", "old_path": "doc/tutorials/using_agl_as_uos.rst", "new_path": "doc/tutorials/using_agl_as_uos.rst", "diff": "@@ -107,7 +107,7 @@ To enable weston in AGL, We need to modify ``weston.ini``, which is the configur\n.. code-block:: none\n- vim /etc/xdg/weston/weston.ini\n+ $ vi...
C
BSD 3-Clause New or Revised License
projectacrn/acrn-hypervisor
Doc: add "$" for code
528,651
08.12.2018 22:50:03
-28,800
40f375b421a3e2f63fbab1cebe02af9c0606c744
Doc: modify the note of UOS kernel modules
[ { "change_type": "MODIFY", "old_path": "doc/tutorials/using_agl_as_uos.rst", "new_path": "doc/tutorials/using_agl_as_uos.rst", "diff": "@@ -55,7 +55,7 @@ Steps for using AGL as the UOS\nFollow the instructions in :ref:`getting-started-apl-nuc`,\nthe ``linux-iot-lts2018`` kernels and modules will be ...
C
BSD 3-Clause New or Revised License
projectacrn/acrn-hypervisor
Doc: modify the note of UOS kernel modules
528,675
10.12.2018 10:11:31
-28,800
9a7d32f02401eb8f2600d616885aeef4d03643bf
modularization: reorg the bsp_boot_init & cpu_secondary_init reorg both init functions, separate the initilization of different components. v2: separate into 2 patches, 1 for reorg, 1 for pure move. Acked-by: Xu, Anthony
[ { "change_type": "MODIFY", "old_path": "hypervisor/arch/x86/cpu.c", "new_path": "hypervisor/arch/x86/cpu.c", "diff": "@@ -357,21 +357,94 @@ static void get_cpu_name(void)\nboot_cpu_data.model_name[48] = '\\0';\n}\n-/* NOTE: this function is using temp stack, and after SWITCH_TO(runtime_sp, to)\n- * ...
C
BSD 3-Clause New or Revised License
projectacrn/acrn-hypervisor
modularization: reorg the bsp_boot_init & cpu_secondary_init reorg both init functions, separate the initilization of different components. v2: - separate into 2 patches, 1 for reorg, 1 for pure move. Tracked-On: #1842 Signed-off-by: Jason Chen CJ <jason.cj.chen@intel.com> Acked-by: Xu, Anthony <anthony.xu@intel.com...
528,767
12.12.2018 15:30:23
-28,800
6b998580d6984dd1fea024bdd4fffed993d04bc5
Fix KW issues for tpm_emulator There are several KW issues which uninitialized variables are used. This patch will fix those KW issues.
[ { "change_type": "MODIFY", "old_path": "devicemodel/hw/platform/tpm/tpm_emulator.c", "new_path": "devicemodel/hw/platform/tpm/tpm_emulator.c", "diff": "@@ -531,7 +531,7 @@ static int swtpm_ctrlchan_create(const char *arg_path)\n*/\nstatic int swtpm_cmdchan_create(void)\n{\n- ptm_res res;\n+ ptm_res ...
C
BSD 3-Clause New or Revised License
projectacrn/acrn-hypervisor
Fix KW issues for tpm_emulator There are several KW issues which uninitialized variables are used. This patch will fix those KW issues. Signed-off-by: weideng <wei.a.deng@intel.com> Signed-off-by: yingbinx <yingbinx.zeng@intel.com>
528,654
12.12.2018 23:26:32
-28,800
4131d46f84294cd4d00cb256310f6a762cc94121
hv: remove goto in ept_violation_vmexit_handler Using goto leads the code to be difficult to read and maintain
[ { "change_type": "MODIFY", "old_path": "hypervisor/arch/x86/ept.c", "new_path": "hypervisor/arch/x86/ept.c", "diff": "@@ -115,15 +115,6 @@ int32_t ept_violation_vmexit_handler(struct acrn_vcpu *vcpu)\nret = decode_instruction(vcpu);\nif (ret > 0) {\nmmio_req->size = (uint64_t)ret;\n- } else if (ret ...
C
BSD 3-Clause New or Revised License
projectacrn/acrn-hypervisor
hv: remove goto in ept_violation_vmexit_handler Using goto leads the code to be difficult to read and maintain Tracked-On: #861 Signed-off-by: Li, Fei1 <fei1.li@intel.com>
528,654
12.12.2018 22:57:48
-28,800
e114ea7e5da44f4a54be3176714dfd23a63094c7
hv: timer: fix procedure has more than one exit point Refine add_timer/timer_init to only one exit point
[ { "change_type": "MODIFY", "old_path": "hypervisor/arch/x86/timer.c", "new_path": "hypervisor/arch/x86/timer.c", "diff": "@@ -43,9 +43,11 @@ static inline void update_physical_timer(struct per_cpu_timers *cpu_timer)\n}\n}\n-static void local_add_timer(struct per_cpu_timers *cpu_timer,\n- struct hv_t...
C
BSD 3-Clause New or Revised License
projectacrn/acrn-hypervisor
hv: timer: fix procedure has more than one exit point Refine add_timer/timer_init to only one exit point Tracked-On: #861 Signed-off-by: Li, Fei1 <fei1.li@intel.com>
528,654
12.12.2018 22:28:45
-28,800
e066774a1c8add6d43bfd8441698337d48e6ca56
hv: refine strnlen_s/strstr_s to only one exit point Fix procedure has more than one exit point
[ { "change_type": "MODIFY", "old_path": "hypervisor/lib/string.c", "new_path": "hypervisor/lib/string.c", "diff": "@@ -288,14 +288,10 @@ char *strncpy_s(char *d_arg, size_t dmax, const char *s_arg, size_t slen_arg)\nsize_t strnlen_s(const char *str_arg, size_t maxlen_arg)\n{\nconst char *str = str_ar...
C
BSD 3-Clause New or Revised License
projectacrn/acrn-hypervisor
hv: refine strnlen_s/strstr_s to only one exit point Fix procedure has more than one exit point Tracked-On: #861 Signed-off-by: Li, Fei1 <fei1.li@intel.com>
528,652
10.12.2018 13:04:55
28,800
6bbd0129c37e9b9144c15086ec12d52ea03336b0
modularization: move vMTRR code to guest directory MTRR emulation belongs to virtual CPU component. rename mtrr.c to vmtrr.c and move it to arch/x86/guest rename mtrr.h to vmtrr.h and move it to include/arch/x86/guest Acked-by: Eddie Dong
[ { "change_type": "MODIFY", "old_path": "doc/acrn.doxyfile", "new_path": "doc/acrn.doxyfile", "diff": "@@ -795,10 +795,10 @@ WARN_LOGFILE =\nINPUT = custom-doxygen/mainpage.md \\\n../hypervisor/include/arch/x86/guest/guest.h \\\n../hypervisor/include/arch/x86/mmu.h \\\n- ../hypervisor/include/arch/x8...
C
BSD 3-Clause New or Revised License
projectacrn/acrn-hypervisor
modularization: move vMTRR code to guest directory MTRR emulation belongs to virtual CPU component. - rename mtrr.c to vmtrr.c and move it to arch/x86/guest - rename mtrr.h to vmtrr.h and move it to include/arch/x86/guest Tracked-On: #1842 Signed-off-by: Zide Chen <zide.chen@intel.com> Acked-by: Eddie Dong <eddie.do...
528,768
13.12.2018 02:01:50
-28,800
57dfc7de05ebc1ca70d746b4f27f8f2e78ca9cda
hv: refine IOREQ state operation functions in hypervisor 1) add functions to set/get VHM request state. 2) modify 'complete_ioreq()' in io.c 3) update the caller code Acked-by: Anthony Xu
[ { "change_type": "MODIFY", "old_path": "hypervisor/arch/x86/io.c", "new_path": "hypervisor/arch/x86/io.c", "diff": "#include \"guest/instr_emul.h\"\n-static void complete_ioreq(struct vhm_request *vhm_req)\n+static void complete_ioreq(struct acrn_vcpu *vcpu, struct io_request *io_req)\n{\n+ union vh...
C
BSD 3-Clause New or Revised License
projectacrn/acrn-hypervisor
hv: refine IOREQ state operation functions in hypervisor 1) add functions to set/get VHM request state. 2) modify 'complete_ioreq()' in io.c 3) update the caller code Tracked-On: #2056 Signed-off-by: Yonghua Huang <yonghua.huang@intel.com> Acked-by: Anthony Xu <anthony.xu@intel.com>
528,659
12.12.2018 11:43:34
-28,800
6c1ca13767c8c54b2f4215346dee5cff51d872af
DM USB: xHCI: remove the waiting 5 seconds wa for s3 This workaround will delay the UOS resuming for 5 seconds, this behavior is not right and should be replaced by dynamic style. Acked-by: Yu Wang
[ { "change_type": "MODIFY", "old_path": "devicemodel/core/main.c", "new_path": "devicemodel/core/main.c", "diff": "#include \"vmcfg.h\"\n#include \"tpm.h\"\n#include \"virtio.h\"\n-#include \"usb.h\"\n-#include \"xhci.h\"\n#define GUEST_NIO_PORT 0x488 /* guest upcalls via i/o port */\n@@ -648,7 +646,...
C
BSD 3-Clause New or Revised License
projectacrn/acrn-hypervisor
DM USB: xHCI: remove the waiting 5 seconds wa for s3 This workaround will delay the UOS resuming for 5 seconds, this behavior is not right and should be replaced by dynamic style. Tracked-On: #1893 Signed-off-by: Xiaoguang Wu <xiaoguang.wu@intel.com> Reviewed-by: Liang Yang <liang3.yang@intel.com> Acked-by: Yu Wang <...
528,659
12.12.2018 11:50:51
-28,800
e5c98e6d9ab3a2d27c2d0b266be954e78663f482
DM USB: add usb_dev_path_cmp function for convenience Comparing two USB devices' path is frequently used operation, abstract it as an seperated function for convenience. Acked-by: Yu Wang
[ { "change_type": "MODIFY", "old_path": "devicemodel/hw/pci/xhci.c", "new_path": "devicemodel/hw/pci/xhci.c", "diff": "@@ -542,23 +542,13 @@ pci_xhci_get_native_port_index_by_path(struct pci_xhci_vdev *xdev,\nstruct usb_devpath *path)\n{\nint i;\n- struct usb_devpath *p;\nassert(xdev);\nassert(path);...
C
BSD 3-Clause New or Revised License
projectacrn/acrn-hypervisor
DM USB: add usb_dev_path_cmp function for convenience Comparing two USB devices' path is frequently used operation, abstract it as an seperated function for convenience. Tracked-On: #1893 Signed-off-by: Xiaoguang Wu <xiaoguang.wu@intel.com> Reviewed-by: Liang Yang <liang3.yang@intel.com> Acked-by: Yu Wang <yu1.wang@i...
528,802
12.12.2018 14:14:53
-28,800
baf8f8bdbf1fd7ed2206dbd5aec9fac1c1e2ef3e
dm: virtio-input: apply new mevent API to avoid race issue Teardown callback is provided when mevent_add is called and it is used to free the virtio-input resources. Acked-by: Yin Fengwei
[ { "change_type": "MODIFY", "old_path": "devicemodel/hw/pci/virtio/virtio_input.c", "new_path": "devicemodel/hw/pci/virtio/virtio_input.c", "diff": "@@ -543,12 +543,32 @@ virtio_input_get_config(struct virtio_input *vi, uint8_t select,\nreturn found;\n}\n+static void\n+virtio_input_teardown(void *par...
C
BSD 3-Clause New or Revised License
projectacrn/acrn-hypervisor
dm: virtio-input: apply new mevent API to avoid race issue Teardown callback is provided when mevent_add is called and it is used to free the virtio-input resources. Tracked-On: #1877 Signed-off-by: Jian Jun Chen <jian.jun.chen@intel.com> Acked-by: Yin Fengwei <fengwei.yin@intel.com>
528,802
12.12.2018 14:41:01
-28,800
b29fc619af16d8f6559114e9f0fd66ef9360b446
dm: virtio-net: apply new mevent API to avoid race issue Teardown callback is provided when mevent_add is called and it is used to free the virtio-net resources. Acked-by: Yin Fengwei
[ { "change_type": "MODIFY", "old_path": "devicemodel/hw/pci/virtio/virtio_net.c", "new_path": "devicemodel/hw/pci/virtio/virtio_net.c", "diff": "@@ -180,6 +180,7 @@ static int virtio_net_cfgwrite(void *vdev, int offset, int size,\nuint32_t value);\nstatic void virtio_net_neg_features(void *vdev, uint...
C
BSD 3-Clause New or Revised License
projectacrn/acrn-hypervisor
dm: virtio-net: apply new mevent API to avoid race issue Teardown callback is provided when mevent_add is called and it is used to free the virtio-net resources. Tracked-On: #1877 Signed-off-by: Jian Jun Chen <jian.jun.chen@intel.com> Acked-by: Yin Fengwei <fengwei.yin@intel.com>
528,733
11.12.2018 14:29:31
-28,800
73ab727434128996be2d2c984632720f56105aad
dm: set correct thread name When issue happen, we could identify which thread is impacted. This could help stability issue debugging. Acked-by: Yu Wang
[ { "change_type": "MODIFY", "old_path": "devicemodel/core/monitor.c", "new_path": "devicemodel/core/monitor.c", "diff": "@@ -175,6 +175,7 @@ static void start_intr_storm_monitor(struct vmctx *ctx)\nprintf(\"failed %s %d\\n\", __func__, __LINE__);\nintr_storm_monitor_pid = 0;\n}\n+ pthread_setname_np(...
C
BSD 3-Clause New or Revised License
projectacrn/acrn-hypervisor
dm: set correct thread name When issue happen, we could identify which thread is impacted. This could help stability issue debugging. Tracked-On: #2037 Signed-off-by: Yin Fengwei <fengwei.yin@intel.com> Acked-by: Yu Wang <yu1.wang@intel.com>
528,768
14.12.2018 00:03:52
-28,800
57bf26dc17d903787c444f8cfa5cbda0943c56a2
hv: fix possible buffer overflow issues - cpu_secondary_init() - ptirq_intx_pin_remap() @ assign.c etc. Acked-by: Eddie Dong
[ { "change_type": "MODIFY", "old_path": "hypervisor/arch/x86/assign.c", "new_path": "hypervisor/arch/x86/assign.c", "diff": "@@ -628,7 +628,8 @@ static void activate_physical_ioapic(struct acrn_vm *vm,\nint32_t ptirq_intx_pin_remap(struct acrn_vm *vm, uint8_t virt_pin,\nenum ptirq_vpin_source vpin_sr...
C
BSD 3-Clause New or Revised License
projectacrn/acrn-hypervisor
hv: fix possible buffer overflow issues - cpu_secondary_init() @cpu.c - ptirq_intx_pin_remap() @ assign.c etc. Tracked-On: #1252 Signed-off-by: Yonghua Huang <yonghua.huang@intel.com> Acked-by: Eddie Dong <eddie.dong@intel.com>
528,702
15.12.2018 00:07:15
-28,800
ed5e210d91881e8f5b8cf66e41c865c3b3c43159
Doc: Update GSG for v0.4 version and launch and acrn.conf sample script
[ { "change_type": "MODIFY", "old_path": "devicemodel/samples/nuc/launch_uos.sh", "new_path": "devicemodel/samples/nuc/launch_uos.sh", "diff": "@@ -21,7 +21,7 @@ acrn-dm -A -m $mem_size -c $2 -s 0:0,hostbridge -s 1:0,lpc -l com1,stdio \\\n-s 2,pci-gvt -G \"$3\" \\\n-s 5,virtio-console,@pty:pty_port \\...
C
BSD 3-Clause New or Revised License
projectacrn/acrn-hypervisor
Doc: Update GSG for v0.4 version and launch and acrn.conf sample script Signed-off-by: Xie, nanlin <nanlin.xie@intel.com>
528,747
13.12.2018 15:19:14
28,800
117b71e6af548256c0534b453dbe8f0091b93aae
doc: add partition mode hld Partition mode HLD content added to hypervisor hld. Add target links 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,6 +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: add partition mode hld Partition mode HLD content added to hypervisor hld. Add target links in referenced docs. Signed-off-by: David B. Kinder <david.b.kinder@intel.com>
528,652
13.12.2018 22:58:41
28,800
44e9318c4523be754d61ae283bbce7689adc8ae5
hv: vmsr: fix MISRA_C violations 106D No prototype for non-static function. 2 functions missing prototyle declarations in header file. 120S Use of bit operator on signed type. 123S Use of underlying enum representation value. enum values are treated like unsigned integer in vmsr.c Acked-by: Anthony Xu
[ { "change_type": "MODIFY", "old_path": "hypervisor/arch/x86/guest/vmsr.c", "new_path": "hypervisor/arch/x86/guest/vmsr.c", "diff": "#include <hypervisor.h>\n#include <ucode.h>\n-enum rw_mode {\n- DISABLE = 0U,\n- READ,\n- WRITE,\n- READ_WRITE\n-};\n+#define INTERCEPT_DISABLE (0U)\n+#define INTERCEPT...
C
BSD 3-Clause New or Revised License
projectacrn/acrn-hypervisor
hv: vmsr: fix MISRA_C violations 106D No prototype for non-static function. 2 functions missing prototyle declarations in header file. 120S Use of bit operator on signed type. 123S Use of underlying enum representation value. enum values are treated like unsigned integer in vmsr.c Tracked-On: #861 Signed-off-by:...
528,652
13.12.2018 23:17:36
28,800
a3d2a7e72652285752f78a86e68ec3fa6bfebe5b
hv: vpci: 2 MISRA-C violation fixes 36D Prototype and definition name mismatch pci_scan_bus() and sharing_mode_find_vdev() wrong parameter in prototype. 14D Attempt to change parameter passed by value. vmsix_table_rw() uses function parameter as local viarable. Acked-by: Anthony Xu
[ { "change_type": "MODIFY", "old_path": "hypervisor/dm/vpci/msix.c", "new_path": "hypervisor/dm/vpci/msix.c", "diff": "@@ -199,20 +199,20 @@ static int32_t vmsix_cfgwrite(struct pci_vdev *vdev, uint32_t offset, uint32_t b\nstatic void vmsix_table_rw(struct pci_vdev *vdev, struct mmio_request *mmio, u...
C
BSD 3-Clause New or Revised License
projectacrn/acrn-hypervisor
hv: vpci: 2 MISRA-C violation fixes 36D Prototype and definition name mismatch pci_scan_bus() and sharing_mode_find_vdev() wrong parameter in prototype. 14D Attempt to change parameter passed by value. vmsix_table_rw() uses function parameter as local viarable. Tracked-On: #861 Signed-off-by: Zide Chen <zide.chen...
528,659
14.12.2018 19:13:15
-28,800
1c3344b782f9a3ab26ad41195afe3cd96fd4a852
DM USB: xHCI: change log level for S3 process The USB S3 virtualization logic is complicated and heavily affected by system timing. To make the debugging work easily, change related log level to facilitate quick bug fixing. Acked-by: Yu Wang
[ { "change_type": "MODIFY", "old_path": "devicemodel/hw/pci/xhci.c", "new_path": "devicemodel/hw/pci/xhci.c", "diff": "@@ -758,12 +758,12 @@ pci_xhci_native_usb_dev_conn_cb(void *hci_data, void *dev_data)\ndi = dev_data;\n/* print physical information about new device */\n- UPRINTF(LDBG, \"%04x:%04x ...
C
BSD 3-Clause New or Revised License
projectacrn/acrn-hypervisor
DM USB: xHCI: change log level for S3 process The USB S3 virtualization logic is complicated and heavily affected by system timing. To make the debugging work easily, change related log level to facilitate quick bug fixing. Tracked-On: #1893 Signed-off-by: Xiaoguang Wu <xiaoguang.wu@intel.com> Reviewed-by: Liang Yang...
528,675
12.12.2018 21:19:11
-28,800
d2bac7cc5d54879325a1c7ce1145c55354436934
cpu_dead should only run on current pcpu no need for input param pcpu_id. Acked-by: Eddie Dong
[ { "change_type": "MODIFY", "old_path": "hypervisor/arch/x86/cpu.c", "new_path": "hypervisor/arch/x86/cpu.c", "diff": "@@ -598,12 +598,16 @@ void cpu_do_idle(void)\n__asm __volatile(\"pause\" ::: \"memory\");\n}\n-void cpu_dead(uint16_t pcpu_id)\n+/**\n+ * only run on current pcpu\n+ */\n+void cpu_de...
C
BSD 3-Clause New or Revised License
projectacrn/acrn-hypervisor
cpu_dead should only run on current pcpu no need for input param pcpu_id. Tracked-On: #1842 Signed-off-by: Jason Chen CJ <jason.cj.chen@intel.com> Acked-by: Eddie Dong <eddie.dong@intel.com>
528,675
14.12.2018 13:34:42
-28,800
59e3f562b87b1d6ffb44f84ad84820a4cc915bbe
remove check_tsc there is no need to clear CR4.TSD as there is no user mode in ACRN hypervisor.
[ { "change_type": "MODIFY", "old_path": "doc/developer-guides/hld/hv-timer.rst", "new_path": "doc/developer-guides/hld/hv-timer.rst", "diff": "@@ -42,9 +42,6 @@ Interfaces Design\n.. doxygenfunction:: timer_init\n:project: Project ACRN\n-.. doxygenfunction:: check_tsc\n- :project: Project ACRN\n-\n.....
C
BSD 3-Clause New or Revised License
projectacrn/acrn-hypervisor
remove check_tsc there is no need to clear CR4.TSD as there is no user mode in ACRN hypervisor. Tracked-On: #1842 Signed-off-by: Jason Chen CJ <jason.cj.chen@intel.com>
528,733
11.12.2018 17:46:02
-28,800
69dc939243961c45960aa7f65f0b4515cc36540a
hv: drop the temperory stack for AP startup By switching AP wakeup from broadcast to one by one, we could set correct stack for each AP and drop the temp stack used during AP boot. Acked-by: Anthony Xu
[ { "change_type": "MODIFY", "old_path": "hypervisor/arch/x86/boot/trampoline.S", "new_path": "hypervisor/arch/x86/boot/trampoline.S", "diff": "* the macros involved are changed.\n*/\n- .extern cpu_secondary_init\n+ .extern init_secondary_cpu\n.section .trampoline_reset,\"ax\"\n@@ -149,20 +149,7 @@ tr...
C
BSD 3-Clause New or Revised License
projectacrn/acrn-hypervisor
hv: drop the temperory stack for AP startup By switching AP wakeup from broadcast to one by one, we could set correct stack for each AP and drop the temp stack used during AP boot. Tracked-On: #2034 Signed-off-by: Yin Fengwei <fengwei.yin@intel.com> Acked-by: Anthony Xu <anthony.xu@intel.com>
528,710
12.12.2018 07:19:17
0
eab7cd47ae21e09920cc17414df85ee2952236b7
dm: hw: Replace sprintf with snprintf Replace function sprintf with snprintf in device model Acked-by: Yu Wang
[ { "change_type": "MODIFY", "old_path": "devicemodel/hw/pci/ahci.c", "new_path": "devicemodel/hw/pci/ahci.c", "diff": "@@ -2307,7 +2307,7 @@ pci_ahci_init(struct vmctx *ctx, struct pci_vdev *dev, char *opts, int atapi)\nchar bident[16];\nstruct blockif_ctxt *bctxt;\nstruct pci_ahci_vdev *ahci_dev;\n-...
C
BSD 3-Clause New or Revised License
projectacrn/acrn-hypervisor
dm: hw: Replace sprintf with snprintf Replace function sprintf with snprintf in device model Tracked-On: #2079 Signed-off-by: Long Liu <long.liu@intel.com> Reviewed-by: Shuo A Liu <shuo.a.liu@intel.com> Reviewed-by: <yonghua.huang@intel.com> Acked-by: Yu Wang <yu1.wang@intel.com>
528,710
12.12.2018 07:24:53
0
63b814e7e9f5773fe2263f8ad33509318e59ab3e
dm: hw: Replace strlen with strnlen Replace strlen function with strnlen function in device-model Acked-by: Yu Wang
[ { "change_type": "MODIFY", "old_path": "devicemodel/hw/pci/ahci.c", "new_path": "devicemodel/hw/pci/ahci.c", "diff": "@@ -2315,6 +2315,7 @@ pci_ahci_init(struct vmctx *ctx, struct pci_vdev *dev, char *opts, int atapi)\nret = 0;\n+#define MAX_OPTS_LEN 256\n#ifdef AHCI_DEBUG\ndbg = fopen(\"/tmp/log\",...
C
BSD 3-Clause New or Revised License
projectacrn/acrn-hypervisor
dm: hw: Replace strlen with strnlen Replace strlen function with strnlen function in device-model Tracked-On: #2079 Signed-off-by: Long Liu <long.liu@intel.com> Reviewed-by: Shuo A Liu <shuo.a.liu@intel.com> Reviewed-by: <yonghua.huang@intel.com> Acked-by: Yu Wang <yu1.wang@intel.com>
528,710
12.12.2018 08:05:10
0
5ab68eb97b56cdab2f03472f98b6660b5e79a7ad
dm: hw: Replace sscanf with permitted string API Replace sscanf in device model hw directory Acked-by: Yu Wang
[ { "change_type": "MODIFY", "old_path": "devicemodel/hw/pci/core.c", "new_path": "devicemodel/hw/pci/core.c", "diff": "@@ -152,6 +152,46 @@ pci_parse_slot_usage(char *aopt)\nfprintf(stderr, \"Invalid PCI slot info field \\\"%s\\\"\\n\", aopt);\n}\n+int\n+parse_bdf(char *s, int *bus, int *dev, int *fu...
C
BSD 3-Clause New or Revised License
projectacrn/acrn-hypervisor
dm: hw: Replace sscanf with permitted string API Replace sscanf in device model hw directory Tracked-On: #2079 Signed-off-by: Long Liu <long.liu@intel.com> Reviewed-by: Shuo A Liu <shuo.a.liu@intel.com> Reviewed-by: <yonghua.huang@intel.com> Acked-by: Yu Wang <yu1.wang@intel.com>
528,766
16.12.2018 00:13:27
28,800
0d5c65f1d24e4ffca4e7ec3a9490d77b6b770a20
hv: enforce data size on all out exits The bit mask for an out instruction is only applied to hv inout handlers. Apply the bit mask to dm inout handlers as well. Acked-by: Eddie Dong
[ { "change_type": "MODIFY", "old_path": "hypervisor/arch/x86/io.c", "new_path": "hypervisor/arch/x86/io.c", "diff": "@@ -191,7 +191,6 @@ hv_emulate_pio(const struct acrn_vcpu *vcpu, struct io_request *io_req)\n{\nint32_t status = -ENODEV;\nuint16_t port, size;\n- uint32_t mask;\nuint32_t idx;\nstruct...
C
BSD 3-Clause New or Revised License
projectacrn/acrn-hypervisor
hv: enforce data size on all out exits The bit mask for an out instruction is only applied to hv inout handlers. Apply the bit mask to dm inout handlers as well. Tracked-On: #2075 Signed-off-by: Peter Fang <peter.fang@intel.com> Acked-by: Eddie Dong <eddie.dong@intel.com>
528,675
17.12.2018 14:05:00
-28,800
bed82dd3f81f7a30e14aefe60d2258d9f4b541d7
cleanup vmcs source and header files remove no need included header files and macro definitions Changes to be committed: modified: arch/x86/vmcs.c modified: include/arch/x86/vmcs.h
[ { "change_type": "MODIFY", "old_path": "hypervisor/arch/x86/vmcs.c", "new_path": "hypervisor/arch/x86/vmcs.c", "diff": "*/\n#include <hypervisor.h>\n-#include <vm0_boot.h>\n#include <cpu.h>\n-#ifdef CONFIG_EFI_STUB\n-extern struct efi_context* efi_ctx;\n-#endif\n-#define REAL_MODE_BSP_INIT_CODE_SEL ...
C
BSD 3-Clause New or Revised License
projectacrn/acrn-hypervisor
cleanup vmcs source and header files remove no need included header files and macro definitions Changes to be committed: modified: arch/x86/vmcs.c modified: include/arch/x86/vmcs.h Tracked-On: #1842 Signed-off-by: Jason Chen CJ <jason.cj.chen@intel.com>