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,652
11.07.2018 11:18:29
25,200
621425da20d0d4775ad93ee453ab0fa15de16b34
hv: further fix to configurable relocatoin commit ia23549aa915e7dc2c ("build: make relocation-related code configurable") adds CONFIG_RELOC to make relocation configurable This patch corrects the behavior when CONFIG_RELOC is disabled Don't use "CFLAGS += -fpie" and put back "LDFLAGS += -static" __emalloc(): forced to ...
[ { "change_type": "MODIFY", "old_path": "hypervisor/Makefile", "new_path": "hypervisor/Makefile", "diff": "@@ -39,10 +39,15 @@ CFLAGS += -ffunction-sections -fdata-sections\nCFLAGS += -fshort-wchar -ffreestanding\nCFLAGS += -m64 -mno-mmx -mno-sse -mno-sse2 -mno-80387 -mno-fp-ret-in-387\nCFLAGS += -mn...
C
BSD 3-Clause New or Revised License
projectacrn/acrn-hypervisor
hv: further fix to configurable relocatoin commit ia23549aa915e7dc2c ("build: make relocation-related code configurable") adds CONFIG_RELOC to make relocation configurable This patch corrects the behavior when CONFIG_RELOC is disabled - Don't use "CFLAGS += -fpie" and put back "LDFLAGS += -static" - __emalloc(): forc...
528,676
16.07.2018 12:08:59
-28,800
aa5027a30c74df99015854f148ef391c09968329
HV:misc:fix "signed/unsigned conversion with cast" Signed/unsigned conversion should add cast explicitily or change the type of them to the same. V1->V2:Fixed the 0U to 0UL because of the mistakes. V2->V3:remove unsed macro Acked-by: Eddie Dong
[ { "change_type": "MODIFY", "old_path": "hypervisor/arch/x86/assign.c", "new_path": "hypervisor/arch/x86/assign.c", "diff": "static inline uint32_t\nentry_id_from_msix(uint16_t bdf, int8_t index)\n{\n- uint32_t id = index;\n+ uint32_t id = (uint8_t)index;\n- id = bdf | (id << 16) | (PTDEV_INTR_MSI <<...
C
BSD 3-Clause New or Revised License
projectacrn/acrn-hypervisor
HV:misc:fix "signed/unsigned conversion with cast" Signed/unsigned conversion should add cast explicitily or change the type of them to the same. V1->V2:Fixed the 0U to 0UL because of the mistakes. V2->V3:remove unsed macro Signed-off-by: HuiHuang Shi <huihuang.shi@intel.com> Acked-by: Eddie Dong <eddie.dong@intel.c...
528,772
26.06.2018 18:49:02
-28,800
04ed916f26898f36b3944b600567243195a42534
tools: acrnd: handle stop request from SOS-LCS SOS-Life-Cycle-Service can ask acrnd to stop UOSs, by sending ACRND_STOP to Acrnd. Acrnd handles this request by: 1. Try stop all running VMs, and return the result to SOS-LCS. 2. Store pending works of restarting/resuming VMs to file
[ { "change_type": "MODIFY", "old_path": "tools/acrn-manager/acrnd.c", "new_path": "tools/acrn-manager/acrnd.c", "diff": "@@ -50,8 +50,50 @@ static int store_timer_list(void)\nreturn -1;\n}\n+static int check_vms_status(unsigned int status)\n+{\n+ struct vmmngr_struct *s;\n+\n+ vmmngr_update();\n+\n+ ...
C
BSD 3-Clause New or Revised License
projectacrn/acrn-hypervisor
tools: acrnd: handle stop request from SOS-LCS SOS-Life-Cycle-Service can ask acrnd to stop UOSs, by sending ACRND_STOP to Acrnd. Acrnd handles this request by: 1. Try stop all running VMs, and return the result to SOS-LCS. 2. Store pending works of restarting/resuming VMs to file Reviewed-by: Yan Like <like.yan@inte...
528,772
26.06.2018 21:55:51
-28,800
ee9ec9d3bf22d479458deaafea8e5c9ca1e6c5eb
tools: acrnd: the acrnd work list Acrnd can and put delayed work functions in a work list.
[ { "change_type": "MODIFY", "old_path": "tools/acrn-manager/acrnd.c", "new_path": "tools/acrn-manager/acrnd.c", "diff": "#include \"acrn_mngr.h\"\n#include \"ioc.h\"\n+/* acrnd worker timer */\n+\n+struct work_arg {\n+ char name[VMNAME_LEN];\n+};\n+\n+struct acrnd_work {\n+ void (*func) (struct work_...
C
BSD 3-Clause New or Revised License
projectacrn/acrn-hypervisor
tools: acrnd: the acrnd work list Acrnd can and put delayed work functions in a work list. Reviewed-by: Yan Like <like.yan@intel.com> Signed-off-by: Tao Yuhong <yuhong.tao@intel.com>
528,772
26.06.2018 20:45:50
-28,800
e435f03eda5b42f622e0eba4b314d8f7fe261d0c
tools: acrnd: handle timer request from UOS DM can send ACRND_TIMER to Acrnd, then acrnd will setup a timer for it. When this time is expired, acrnd will try to make this UOS run again.
[ { "change_type": "MODIFY", "old_path": "tools/acrn-manager/acrnd.c", "new_path": "tools/acrn-manager/acrnd.c", "diff": "@@ -102,6 +102,37 @@ static void try_do_works(void)\n}\n}\n+static void acrnd_run_vm(char *name);\n+\n+/* Time to run/resume VM */\n+void acrnd_vm_timer_func(struct work_arg *arg)\...
C
BSD 3-Clause New or Revised License
projectacrn/acrn-hypervisor
tools: acrnd: handle timer request from UOS DM can send ACRND_TIMER to Acrnd, then acrnd will setup a timer for it. When this time is expired, acrnd will try to make this UOS run again. Reviewed-by: Yan Like <like.yan@intel.com> Signed-off-by: Tao Yuhong <yuhong.tao@intel.com>
528,804
12.07.2018 11:47:49
-28,800
2f2d108b1e787bec6af3668712b3a3b0e5a4125f
HV: handle integral issue report by MISRA-C The main focus on: constant suffix U/UL; parameters cast like uint32 to a uint16 variable; unify some APIs interface, consist with the callers. also modify some places to unify code style
[ { "change_type": "MODIFY", "old_path": "hypervisor/arch/x86/cpu.c", "new_path": "hypervisor/arch/x86/cpu.c", "diff": "@@ -309,7 +309,7 @@ static void cpu_set_current_state(uint16_t pcpu_id, enum cpu_state state)\n}\n/* Set state for the specified CPU */\n- per_cpu(state, pcpu_id) = state;\n+ per_cpu...
C
BSD 3-Clause New or Revised License
projectacrn/acrn-hypervisor
HV: handle integral issue report by MISRA-C The main focus on: constant suffix U/UL; parameters cast like uint32 to a uint16 variable; unify some APIs interface, consist with the callers. also modify some places to unify code style Signed-off-by: Minggui Cao <minggui.cao@intel.com>
528,661
13.07.2018 11:20:45
-28,800
1c712c52f98c2ec27e912e6afa1d5d1dce0be946
delete pci_devices_ignore=(0:18:1) delete pci_devices_ignore=(0:18:1) settings manually, because it has been set in acrn.conf by default, not need to change manually
[ { "change_type": "MODIFY", "old_path": "doc/getting-started/up2.rst", "new_path": "doc/getting-started/up2.rst", "diff": "@@ -43,7 +43,6 @@ what is referenced in the :ref:`getting-started-apl-nuc` section:\n1. Serial Port settings\n#. Storage device name\n-#. ``pci_devices_ignore`` parameter\nYou wi...
C
BSD 3-Clause New or Revised License
projectacrn/acrn-hypervisor
delete pci_devices_ignore=(0:18:1) delete pci_devices_ignore=(0:18:1) settings manually, because it has been set in acrn.conf by default, not need to change manually
528,661
13.07.2018 10:38:21
-28,800
b2e676a2f06fdf9ba557aa2e5c7bbe301b5b18e6
update kernel-pk version to align with ACNR v0.1 update kernel-pk version to align with ACRN v0.1 release
[ { "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\n-linux /EFI/org.clearlinux/kernel-org.clearlinux.pk414-sos.4.14.23-19\n-options pci_devices_ignore=(0:18:2) maxcpus=1 console...
C
BSD 3-Clause New or Revised License
projectacrn/acrn-hypervisor
update kernel-pk version to align with ACNR v0.1 update kernel-pk version to align with ACRN v0.1 release
528,661
16.07.2018 17:39:29
-28,800
11239ae654aede1533e24796309f8ba4c93fdd43
update launch_uos.sh to align with ACRN v0.1 update the kernel version to align with ACRN v0.1 and Clear version for UOS
[ { "change_type": "MODIFY", "old_path": "devicemodel/samples/nuc/launch_uos.sh", "new_path": "devicemodel/samples/nuc/launch_uos.sh", "diff": "@@ -23,9 +23,9 @@ 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
update launch_uos.sh to align with ACRN v0.1 update the kernel version to align with ACRN v0.1 and Clear version for UOS Signed-off-by: ailun258 ailin.yang@intel.com
528,733
05.07.2018 11:26:22
-28,800
76662a634fe9a877395c0bc2fcbda94b322a09b0
loader: Update the memory address of GUEST_CFG_OFFSET GUEST_CFG_OFFSET is used to pass the memory top info from DM to HV. The address should be in E820 reserved range to prevent guest use it for other purpose. Acked-by: Anthony Xu
[ { "change_type": "MODIFY", "old_path": "devicemodel/core/sw_load_common.c", "new_path": "devicemodel/core/sw_load_common.c", "diff": "@@ -50,8 +50,8 @@ static char bootargs[STR_LEN];\n* ctx->highmem = request_memory_size - ctx->lowmem_limit\n*\n* Begin End Type Length\n- * 0: 0 - 0xF0000 RAM 0xF0000...
C
BSD 3-Clause New or Revised License
projectacrn/acrn-hypervisor
loader: Update the memory address of GUEST_CFG_OFFSET GUEST_CFG_OFFSET is used to pass the memory top info from DM to HV. The address should be in E820 reserved range to prevent guest use it for other purpose. Signed-off-by: Yin Fengwei <fengwei.yin@intel.com> Acked-by: Anthony Xu <anthony.xu@intel.com>
528,733
21.05.2018 16:32:32
-28,800
8d12c06270c7eea2171f010e548d6e106313fd43
dm: introduce system/full reset and suspend Guest has erquirement to support system/full reboot and S3. Which could trigger different reset path in guest Acked-by: Anthony Xu
[ { "change_type": "MODIFY", "old_path": "devicemodel/arch/x86/pm.c", "new_path": "devicemodel/arch/x86/pm.c", "diff": "* SUCH DAMAGE.\n*/\n+#include <sys/cdefs.h>\n+#include <sys/types.h>\n+#include <stdio.h>\n#include <assert.h>\n#include <errno.h>\n#include <pthread.h>\n@@ -53,7 +56,6 @@ reset_hand...
C
BSD 3-Clause New or Revised License
projectacrn/acrn-hypervisor
dm: introduce system/full reset and suspend Guest has erquirement to support system/full reboot and S3. Which could trigger different reset path in guest Signed-off-by: Yin Fengwei <fengwei.yin@intel.com> Acked-by: Anthony Xu <anthony.xu@intel.com>
528,733
16.07.2018 16:15:58
-28,800
b33012aee8bc543ca50ce2c765cc6a9b4d1e514e
DM: add vm reset API vm reset API will be used by guest system reset and S3. Acked-by: Anthony Xu
[ { "change_type": "MODIFY", "old_path": "devicemodel/core/vmmapi.c", "new_path": "devicemodel/core/vmmapi.c", "diff": "@@ -405,6 +405,12 @@ vm_pause(struct vmctx *ctx)\nioctl(ctx->fd, IC_PAUSE_VM, &ctx->vmid);\n}\n+void\n+vm_reset(struct vmctx *ctx)\n+{\n+ ioctl(ctx->fd, IC_RESET_VM, &ctx->vmid);\n+}...
C
BSD 3-Clause New or Revised License
projectacrn/acrn-hypervisor
DM: add vm reset API vm reset API will be used by guest system reset and S3. Signed-off-by: Yin Fengwei <fengwei.yin@intel.com> Acked-by: Anthony Xu <anthony.xu@intel.com>
528,733
16.07.2018 18:15:24
-28,800
9878543356f18af48e1568041ee1e751cfe636d2
DM: add system reset (with RAM content kept) This function add high level reset_vdev function. Which is implemented to call deinit/init pairing to emulate the virtual device reset operation. This patch also add the system reset which keep the UOS RAM content functionality to DM. Acked-by: Anthony Xu
[ { "change_type": "MODIFY", "old_path": "devicemodel/core/main.c", "new_path": "devicemodel/core/main.c", "diff": "@@ -509,6 +509,73 @@ vm_deinit_vdevs(struct vmctx *ctx)\nioapic_deinit();\n}\n+static void\n+vm_reset_vdevs(struct vmctx *ctx)\n+{\n+ /*\n+ * The current virtual devices doesn't define v...
C
BSD 3-Clause New or Revised License
projectacrn/acrn-hypervisor
DM: add system reset (with RAM content kept) This function add high level reset_vdev function. Which is implemented to call deinit/init pairing to emulate the virtual device reset operation. This patch also add the system reset which keep the UOS RAM content functionality to DM. Signed-off-by: Yin Fengwei <fengwei.y...
528,676
17.07.2018 10:37:23
-28,800
d8c376503f6cab9320ed2dd5ee3a1bc264048a2d
HV:vtd:cap change the macro to the inline function Function like macro changed to be inline function to limit the return type and parameter type. Acked-by: Eddie Dong
[ { "change_type": "MODIFY", "old_path": "hypervisor/arch/x86/vtd.c", "new_path": "hypervisor/arch/x86/vtd.c", "diff": "@@ -754,7 +754,7 @@ static void fault_record_analysis(__unused uint64_t low, uint64_t high)\nDMA_FRCD_UP_SID(high) & 0x7UL,\nlow);\n#if DBG_IOMMU\n- if (iommu_ecap_dt(dmar_uint->ecap...
C
BSD 3-Clause New or Revised License
projectacrn/acrn-hypervisor
HV:vtd:cap change the macro to the inline function Function like macro changed to be inline function to limit the return type and parameter type. Signed-off-by: Huihuang Shi <huihuang.shi@intel.com> Acked-by: Eddie Dong <eddie.dong@intel.com>
528,676
17.07.2018 10:41:27
-28,800
8017ebdf823d8503e85b82aff0138518d3477a0a
HV:vtd:dma change the macro to the inline function Function like macro changed to be inline function to limit the return type and parameter type. V1->V2:change the apis to letter case. Acked-by: Eddie Dong
[ { "change_type": "MODIFY", "old_path": "hypervisor/arch/x86/vtd.c", "new_path": "hypervisor/arch/x86/vtd.c", "diff": "@@ -565,11 +565,11 @@ static void dmar_invalid_context_cache(struct dmar_drhd_rt *dmar_uint,\ncmd |= DMA_CCMD_GLOBAL_INVL;\nbreak;\ncase DMAR_CIRG_DOMAIN:\n- cmd |= DMA_CCMD_DOMAIN_I...
C
BSD 3-Clause New or Revised License
projectacrn/acrn-hypervisor
HV:vtd:dma change the macro to the inline function Function like macro changed to be inline function to limit the return type and parameter type. V1->V2:change the apis to letter case. Signed-off-by: Huihuang Shi <huihuang.shi@intel.com> Acked-by: Eddie Dong <eddie.dong@intel.com>
528,783
17.07.2018 09:41:08
-28,800
aa2b2d80d431deac017440b143ec2110fb73a087
hv: change several APIs to void type Change these 6 APIs to void type: init_default_irqs interrupt_init early_init_lapic init_lapic init_iommu destroy_iommu_domain It has checked the argument of destroy_iommu_domain in shutdown_vm, then no need to check it again inside destroy_iommu_domain. Acked-by: Eddie Dong
[ { "change_type": "MODIFY", "old_path": "hypervisor/arch/x86/cpu.c", "new_path": "hypervisor/arch/x86/cpu.c", "diff": "@@ -544,10 +544,7 @@ static void bsp_boot_post(void)\nASSERT(get_cpu_id() == BOOT_CPU_ID, \"\");\n- if (init_iommu() != 0) {\n- pr_fatal(\"%s, init iommu failed\\n\", __func__);\n- r...
C
BSD 3-Clause New or Revised License
projectacrn/acrn-hypervisor
hv: change several APIs to void type Change these 6 APIs to void type: init_default_irqs interrupt_init early_init_lapic init_lapic init_iommu destroy_iommu_domain It has checked the argument of destroy_iommu_domain in shutdown_vm, then no need to check it again inside destroy_iommu_domain. Signed-off-by:...
528,676
17.07.2018 14:16:06
-28,800
f2774e496b8f657ab101107f2faff5e3cfff3819
HV:common:fix "integer type violations" fix integer type violations,keep some violations which related to hypcall and msix_entry_index. V1->V2:1.modified API_MAJOR_VERSION from Makefile 2.sync acrn_common.h changed to device model Acked-by: Eddie Dong
[ { "change_type": "MODIFY", "old_path": "devicemodel/include/public/acrn_common.h", "new_path": "devicemodel/include/public/acrn_common.h", "diff": "/*\n* IO request\n*/\n-#define VHM_REQUEST_MAX 16\n+#define VHM_REQUEST_MAX 16U\n#define REQ_STATE_PENDING 0\n#define REQ_STATE_SUCCESS 1\n#define REQ_P...
C
BSD 3-Clause New or Revised License
projectacrn/acrn-hypervisor
HV:common:fix "integer type violations" fix integer type violations,keep some violations which related to hypcall and msix_entry_index. V1->V2:1.modified API_MAJOR_VERSION from Makefile 2.sync acrn_common.h changed to device model Signed-off-by: Huihuang Shi <huihuang.shi@intel.com> Acked-by: Eddie Dong <eddi...
528,711
10.07.2018 09:28:23
-28,800
0631473bfcd6c4388bcb7e24439b5fbf41a71329
[doc] Add API document for ACRN-GT This is API part of API-GVT-g high level design doc.
[ { "change_type": "MODIFY", "old_path": "doc/api/index.rst", "new_path": "doc/api/index.rst", "diff": "@@ -16,3 +16,4 @@ about that API.\nhypercall_api.rst\ndevicemodel_api.rst\n+ GVT-g_api.rst\n" }, { "change_type": "MODIFY", "old_path": "doc/developer-guides/primer.rst", "new_path":...
C
BSD 3-Clause New or Revised License
projectacrn/acrn-hypervisor
[doc] Add API document for ACRN-GT This is API part of API-GVT-g high level design doc. Signed-off-by: Xinyun Liu <xinyun.liu@intel.com> Reviewed-by: Geoffroy Van Cutsem <geoffroy.vancutsem@intel.com> Reviewed-by: David B. Kinder <david.b.kinder@intel.com>
528,772
28.06.2018 19:28:23
-28,800
dc6d7755e475395ac9d39f3c1f750daeb9e1d252
tools: acrnd: update README.rst
[ { "change_type": "MODIFY", "old_path": "tools/acrn-manager/README.rst", "new_path": "tools/acrn-manager/README.rst", "diff": "@@ -93,10 +93,36 @@ Use the ``stop`` command to stop one or more running VM:\n# acrnctl stop vm-yocto vm1-14:59:30 vm-android\n+.. _acrnd:\n+\n+acrnd\n+#######\n+\n+\n+Descri...
C
BSD 3-Clause New or Revised License
projectacrn/acrn-hypervisor
tools: acrnd: update README.rst Reviewed-by: Yan Like <like.yan@intel.com> Reviewed-by: Geoffroy Van Cutsem <geoffroy.vancutsem@intel.com> Signed-off-by: Tao Yuhong <yuhong.tao@intel.com>
528,772
12.07.2018 00:39:30
-28,800
be80086706112c97db73fcef4e88509370a9e461
tools: Makefile: fix lack of dependence for acrm_mngr.h $(OUT_DIR)/acrm_mngr.h miss dependence of ./acrm_mngr.h, that can cause build problems. DM & SOS-LCS are built with $(OUT_DIR)/acrm_mngr.h, which is a copy of tools/acrn-manager/acrm_mngr.h. So when tools/acrn-manager/acrm_mngr.h is modified, $(OUT_DIR)/acrm_mngr....
[ { "change_type": "MODIFY", "old_path": "tools/acrn-manager/Makefile", "new_path": "tools/acrn-manager/Makefile", "diff": "@@ -22,7 +22,7 @@ $(OUT_DIR)/libacrn-mngr.a: acrn_mngr.c acrn_mngr.h\nar -cr $@ $(OUT_DIR)/acrn_mngr.o\nifneq ($(OUT_DIR),.)\n-$(OUT_DIR)/acrn_mngr.h:\n+$(OUT_DIR)/acrn_mngr.h: ....
C
BSD 3-Clause New or Revised License
projectacrn/acrn-hypervisor
tools: Makefile: fix lack of dependence for acrm_mngr.h $(OUT_DIR)/acrm_mngr.h miss dependence of ./acrm_mngr.h, that can cause build problems. DM & SOS-LCS are built with $(OUT_DIR)/acrm_mngr.h, which is a copy of tools/acrn-manager/acrm_mngr.h. So when tools/acrn-manager/acrm_mngr.h is modified, $(OUT_DIR)/acrm_mngr...
528,772
12.07.2018 07:13:23
-28,800
ec860097d1cdcdc3a8efadfec5513e0b368b1138
tools: acrn-manager: code cleanup remove test code in acrn_mngr.h Acked-by: Yan Like
[ { "change_type": "MODIFY", "old_path": "tools/acrn-manager/acrn_mngr.h", "new_path": "tools/acrn-manager/acrn_mngr.h", "diff": "@@ -34,23 +34,6 @@ enum msgid {\nMSG_MAX,\n};\n-/* For test, generate a message who carry a string\n- * eg., VMM_MSG_STR(hello_msg, \"Hello\\n\") will create hello_msg,\n- ...
C
BSD 3-Clause New or Revised License
projectacrn/acrn-hypervisor
tools: acrn-manager: code cleanup remove test code in acrn_mngr.h Acked-by: Yan Like <like.yan@intel.com> Signed-off-by: Tao Yuhong <yuhong.tao@intel.com>
528,654
16.07.2018 16:25:35
-28,800
1991823df19a73e49dcef94a06364654ba369a03
hv: mmu: revisit mmu modify page table attributes 1. move HPA2HVA/HVA2HPA to page.h 2. add pgtable_types.h to define MACRO for page table types 3. add pgtable.h to set/get page table 4. add pagetable.c to refine walk page table attributes modify Acked-by: Eddie Dong
[ { "change_type": "MODIFY", "old_path": "hypervisor/Makefile", "new_path": "hypervisor/Makefile", "diff": "@@ -118,6 +118,7 @@ C_SRCS += arch/x86/cpu.c\nC_SRCS += arch/x86/softirq.c\nC_SRCS += arch/x86/cpuid.c\nC_SRCS += arch/x86/mmu.c\n+C_SRCS += arch/x86/pagetable.c\nC_SRCS += arch/x86/notify.c\nC_...
C
BSD 3-Clause New or Revised License
projectacrn/acrn-hypervisor
hv: mmu: revisit mmu modify page table attributes 1. move HPA2HVA/HVA2HPA to page.h 2. add pgtable_types.h to define MACRO for page table types 3. add pgtable.h to set/get page table 4. add pagetable.c to refine walk page table attributes modify Signed-off-by: Li, Fei1 <fei1.li@intel.com> Acked-by: Eddie Dong <eddie....
528,654
16.07.2018 16:28:07
-28,800
0a33c0deee45535304b6e32b73a7373acbbdb158
hv: mmu: replace ept_update_mt with ept_mr_modify Acked-by: Anthony Xu
[ { "change_type": "MODIFY", "old_path": "hypervisor/arch/x86/ept.c", "new_path": "hypervisor/arch/x86/ept.c", "diff": "@@ -470,10 +470,10 @@ int ept_misconfig_vmexit_handler(__unused struct vcpu *vcpu)\nstatus = -EINVAL;\n/* TODO - EPT Violation handler */\n- pr_info(\"%s, Guest linear address: 0x%01...
C
BSD 3-Clause New or Revised License
projectacrn/acrn-hypervisor
hv: mmu: replace ept_update_mt with ept_mr_modify Signed-off-by: Li, Fei1 <fei1.li@intel.com> Acked-by: Anthony Xu <anthony.xu@intel.com>
528,654
16.07.2018 16:44:29
-28,800
f7efd0fee5eea7c4c3fa16dbaaeb125c630302bf
hv: mmu: replace modify_mem with mmu_modify Acked-by: Anthony Xu
[ { "change_type": "MODIFY", "old_path": "hypervisor/arch/x86/mmu.c", "new_path": "hypervisor/arch/x86/mmu.c", "diff": "@@ -35,7 +35,6 @@ static void *mmu_pml4_addr;\nenum mem_map_request_type {\nPAGING_REQUEST_TYPE_MAP = 0, /* Creates a new mapping. */\nPAGING_REQUEST_TYPE_UNMAP = 1, /* Removes a pre...
C
BSD 3-Clause New or Revised License
projectacrn/acrn-hypervisor
hv: mmu: replace modify_mem with mmu_modify Signed-off-by: Li, Fei1 <fei1.li@intel.com> Acked-by: Anthony Xu <anthony.xu@intel.com>
528,801
19.07.2018 11:53:38
-28,800
0252ae9e114867be9222d08bb2e3a078594512b3
hv: treewide: fix 'No definition in system for prototyped procedure' Remove those APIs without definition Minor changes to make sure the line length is less than 80 Acked-by: Eddie Dong
[ { "change_type": "MODIFY", "old_path": "hypervisor/debug/shell_internal.h", "new_path": "hypervisor/debug/shell_internal.h", "diff": "@@ -141,15 +141,12 @@ struct shell_cmd {\nint shell_show_req_info(struct shell *p_shell, int argc, char **argv);\nint shell_construct(struct shell **p_shell);\nint sh...
C
BSD 3-Clause New or Revised License
projectacrn/acrn-hypervisor
hv: treewide: fix 'No definition in system for prototyped procedure' - Remove those APIs without definition - Minor changes to make sure the line length is less than 80 Signed-off-by: Shiqing Gao <shiqing.gao@intel.com> Reviewed-by: Junjie Mao <junjie.mao@intel.com> Acked-by: Eddie Dong <eddie.dong@intel.com>
528,804
18.07.2018 17:08:52
-28,800
23a5c74ac7e8dff96850851639647dfa2403b9bf
HV: handle integral issues as MISRA-C report mainly focus on: like U/UL as unsigned suffix; char and int mix usage; also change some function's params for data type consistent. Acked-by: Eddie Dong
[ { "change_type": "MODIFY", "old_path": "hypervisor/arch/x86/trusty.c", "new_path": "hypervisor/arch/x86/trusty.c", "diff": "@@ -359,7 +359,7 @@ static bool setup_trusty_info(struct vcpu *vcpu,\n(void)memcpy_s(&mem->first_page.data.key_info, sizeof(g_key_info),\n&g_key_info, sizeof(g_key_info));\n- (...
C
BSD 3-Clause New or Revised License
projectacrn/acrn-hypervisor
HV: handle integral issues as MISRA-C report mainly focus on: like U/UL as unsigned suffix; char and int mix usage; also change some function's params for data type consistent. Signed-off-by: Minggui Cao <minggui.cao@intel.com> Acked-by: Eddie Dong <eddie.dong@intel.com>
528,654
17.07.2018 16:23:33
-28,800
1815a1bb01807b2b725ccb0827d7129d442dbb6a
hv: ept: store virtual address of EPT PML4 table Most of the time, we use the virtual address of EPT PMl4 table, not physical address. Acked-by: Eddie Dong
[ { "change_type": "MODIFY", "old_path": "hypervisor/arch/x86/ept.c", "new_path": "hypervisor/arch/x86/ept.c", "diff": "@@ -98,10 +98,10 @@ static void free_ept_mem(void *pml4_addr)\nvoid destroy_ept(struct vm *vm)\n{\n- if (vm->arch_vm.nworld_eptp != 0U)\n- free_ept_mem(HPA2HVA(vm->arch_vm.nworld_ept...
C
BSD 3-Clause New or Revised License
projectacrn/acrn-hypervisor
hv: ept: store virtual address of EPT PML4 table Most of the time, we use the virtual address of EPT PMl4 table, not physical address. Signed-off-by: Li, Fei1 <fei1.li@intel.com> Acked-by: Eddie Dong <eddie.dong@intel.com>
528,654
17.07.2018 16:33:10
-28,800
38e2e45d83b100e0269c246d3a9f3b2301d5764d
hv: ept: move EPT PML4 table allocation to create_vm Acked-by: Eddie Dong
[ { "change_type": "MODIFY", "old_path": "hypervisor/arch/x86/ept.c", "new_path": "hypervisor/arch/x86/ept.c", "diff": "@@ -495,10 +495,6 @@ int ept_mmap(struct vm *vm, uint64_t hpa,\n/* Setup memory map parameters */\nmap_params.page_table_type = PTT_EPT;\n- if (vm->arch_vm.nworld_eptp == NULL) {\n- ...
C
BSD 3-Clause New or Revised License
projectacrn/acrn-hypervisor
hv: ept: move EPT PML4 table allocation to create_vm Signed-off-by: Li, Fei1 <fei1.li@intel.com> Acked-by: Eddie Dong <eddie.dong@intel.com>
528,659
11.07.2018 14:36:37
-28,800
cb938870b421f491f2d3a1d385df897548b0b991
DM USB: modify some logs to help debug Mainly change the logs for transfer submission and completion, which are very important parts in USB emulation code. Acked-by: Yu Wang
[ { "change_type": "MODIFY", "old_path": "devicemodel/hw/pci/xhci.c", "new_path": "devicemodel/hw/pci/xhci.c", "diff": "@@ -497,27 +497,27 @@ pci_xhci_native_usb_dev_conn_cb(void *hci_data, void *dev_data)\nue->ue_info(ud, USB_INFO_PORT, &native_port, sizeof(native_port));\nue->ue_info(ud, USB_INFO_VI...
C
BSD 3-Clause New or Revised License
projectacrn/acrn-hypervisor
DM USB: modify some logs to help debug Mainly change the logs for transfer submission and completion, which are very important parts in USB emulation code. Change-Id: I4e04f1426e164ca3693e70946ed51380201e49ee Signed-off-by: Xiaoguang Wu <xiaoguang.wu@intel.com> Reviewed-by: Liang Yang <liang3.yang@intel.com> Acked-by...
528,659
13.07.2018 12:44:50
-28,800
7431a9021cc6d3711e93e6dde559180383855c8f
DM USB: add code for error processing add error processing logic for error code from libusb. Acked-by: Yu Wang
[ { "change_type": "MODIFY", "old_path": "devicemodel/hw/pci/xhci.c", "new_path": "devicemodel/hw/pci/xhci.c", "diff": "@@ -2173,10 +2173,19 @@ pci_xhci_xfer_complete(struct pci_xhci_vdev *xdev,\nXHCI_ST_EPCTX_HALTED;\nerr = XHCI_TRB_ERROR_STALL;\nbreak;\n+ case USB_ERR_SHORT_XFER:\n+ err = XHCI_TRB_E...
C
BSD 3-Clause New or Revised License
projectacrn/acrn-hypervisor
DM USB: add code for error processing add error processing logic for error code from libusb. Change-Id: I39883ddcb0ad80bcd8304b887cd4d2f32da3fa22 Tracked-On: Signed-off-by: Xiaoguang Wu <xiaoguang.wu@intel.com> Reviewed-by: Liang Yang <liang3.yang@intel.com> Acked-by: Yu Wang <yu1.wang@intel.com>
528,659
13.07.2018 13:22:12
-28,800
8317dea64ce32452f1f8d53906f152e4dd6b814f
DM USB: fix guest kernel short packets warning There are many 'short packet' warnings in the UOS kernel dmesg output, which are result from bad short packet identification algorithm. This patch is used to fix it. Acked-by: Yu Wang
[ { "change_type": "MODIFY", "old_path": "devicemodel/hw/platform/usb_pmapper.c", "new_path": "devicemodel/hw/platform/usb_pmapper.c", "diff": "@@ -106,6 +106,13 @@ usb_dev_comp_req(struct libusb_transfer *libusb_xfer)\nfor (i = 0; i < req->blk_count; i++) {\ndone = 0;\nblock = &xfer->data[idx % USB_M...
C
BSD 3-Clause New or Revised License
projectacrn/acrn-hypervisor
DM USB: fix guest kernel short packets warning There are many 'short packet' warnings in the UOS kernel dmesg output, which are result from bad short packet identification algorithm. This patch is used to fix it. Change-Id: Idfa0b87fc96893b80d5c9fe8dab4db35aa5bfe84 Tracked-On: Signed-off-by: Xiaoguang Wu <xiaoguang.w...
528,659
11.07.2018 14:40:42
-28,800
531712405ec1d0ee08bab7da192236eea8d6dd00
DM USB: xHCI: add support for USB 3.0 devices This patch is used to add support for USB 3.0 devices. Currently USB 3.0 disk is supported and tested successfully. Acked-by: Yu Wang
[ { "change_type": "MODIFY", "old_path": "devicemodel/hw/pci/xhci.c", "new_path": "devicemodel/hw/pci/xhci.c", "diff": "@@ -500,15 +500,6 @@ pci_xhci_native_usb_dev_conn_cb(void *hci_data, void *dev_data)\nUPRINTF(LDBG, \"%04x:%04x %d-%d connecting.\\r\\n\",\nnative_vid, native_pid, native_bus, native...
C
BSD 3-Clause New or Revised License
projectacrn/acrn-hypervisor
DM USB: xHCI: add support for USB 3.0 devices This patch is used to add support for USB 3.0 devices. Currently USB 3.0 disk is supported and tested successfully. Change-Id: I3fbfbe9c28bc4b14af0417104f8fa822f9758908 Tracked-On: Signed-off-by: Xiaoguang Wu <xiaoguang.wu@intel.com> Reviewed-by: Liang Yang <liang3.yang@i...
528,659
11.07.2018 14:43:23
-28,800
d24213db2db2915ed1a91f0608d11c9ceb932284
DM USB: xHCI: fix xhci speed emulation logic The xHCI speed emulation is not right, which will cause failure during enumeration of certain USB device. 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": "@@ -757,6 +757,31 @@ pci_xhci_is_valid_portnum(int n)\nreturn n > 0 && n <= XHCI_MAX_DEVS;\n}\n+static int\n+pci_xhci_convert_speed(int lspeed)\n+{\n+ /* according to xhci spec, zero...
C
BSD 3-Clause New or Revised License
projectacrn/acrn-hypervisor
DM USB: xHCI: fix xhci speed emulation logic The xHCI speed emulation is not right, which will cause failure during enumeration of certain USB device. This patch is used to fix it. Change-Id: I2d996298983882ed6921a75a10dec9e8684a393e Tracked-On: Signed-off-by: Xiaoguang Wu <xiaoguang.wu@intel.com> Reviewed-by: Liang ...
528,659
17.07.2018 21:27:17
-28,800
a49d483cd05507c40db9b3575b32d89a0c861f03
DM USB: process LIBUSB_TRANSFER_STALL error Handle the LIBUSB_TRANSFER_STALL error comes from libusb. Acked-by: Yu Wang
[ { "change_type": "MODIFY", "old_path": "devicemodel/hw/platform/usb_pmapper.c", "new_path": "devicemodel/hw/platform/usb_pmapper.c", "diff": "@@ -55,6 +55,7 @@ usb_dev_comp_req(struct libusb_transfer *libusb_xfer)\nint len, do_intr = 0, short_data = 0;\nint i, idx, buf_idx, done;\nint bstart, bcount...
C
BSD 3-Clause New or Revised License
projectacrn/acrn-hypervisor
DM USB: process LIBUSB_TRANSFER_STALL error Handle the LIBUSB_TRANSFER_STALL error comes from libusb. Change-Id: Id6911e9aaffafb256def5265a0ed9778b147d99a Tracked-On: Signed-off-by: Xiaoguang Wu <xiaoguang.wu@intel.com> Reviewed-by: Liang Yang <liang3.yang@intel.com> Acked-by: Yu Wang <yu1.wang@intel.com>
528,659
11.07.2018 14:46:04
-28,800
b9597d4fa8dc2bb4895ef9855a90636c393069f4
DM USB: xHCI: add microframe index(MFINDEX) register emulation support Add microframe index register support, which is an important timing component for isochronous transport. Acked-by: Yu Wang
[ { "change_type": "MODIFY", "old_path": "devicemodel/hw/pci/xhci.c", "new_path": "devicemodel/hw/pci/xhci.c", "diff": "@@ -374,6 +374,7 @@ struct pci_xhci_vdev {\nint usb2_port_start;\nint usb3_port_start;\nuint8_t *native_assign_ports[USB_NATIVE_NUM_BUS];\n+ struct timespec mf_prev_time; /* previous...
C
BSD 3-Clause New or Revised License
projectacrn/acrn-hypervisor
DM USB: xHCI: add microframe index(MFINDEX) register emulation support Add microframe index register support, which is an important timing component for isochronous transport. Change-Id: I615664275b539cfb713d7795edd3f213b0302b92 Tracked-On: Signed-off-by: Xiaoguang Wu <xiaoguang.wu@intel.com> Reviewed-by: Liang Yang ...
528,659
16.07.2018 20:58:06
-28,800
3389e83177b84892479d1ddf98dc41ec3bf6fa3a
DM USB: add some BCD codes BCD code is USB Specification Release Number in Binaray-Coded Decimal. Add some BCD codes for some USB devices. Acked-by: Yu Wang
[ { "change_type": "MODIFY", "old_path": "devicemodel/hw/platform/usb_pmapper.c", "new_path": "devicemodel/hw/platform/usb_pmapper.c", "diff": "@@ -823,10 +823,21 @@ usb_dev_init(void *pdata, char *opt)\ngoto errout;\nswitch (desc.bcdUSB) {\n+ case 0x310:\ncase 0x300:\nver = 3; break;\ncase 0x200:\n+ ...
C
BSD 3-Clause New or Revised License
projectacrn/acrn-hypervisor
DM USB: add some BCD codes BCD code is USB Specification Release Number in Binaray-Coded Decimal. Add some BCD codes for some USB devices. Change-Id: I40f04ef2ebaf5b0da554ff8f432415e8e3cebe01 Tracked-On: Signed-off-by: Xiaoguang Wu <xiaoguang.wu@intel.com> Reviewed-by: Liang Yang <liang3.yang@intel.com> Acked-by: Yu ...
528,659
11.07.2018 14:46:50
-28,800
9ac1be2c5eaae2963f6a0824f250d7e8e0f6a48d
DM USB: enable isochronous transfer Enable isochronous transfer to support related USB devices Acked-by: Yu Wang
[ { "change_type": "MODIFY", "old_path": "devicemodel/hw/platform/usb_pmapper.c", "new_path": "devicemodel/hw/platform/usb_pmapper.c", "diff": "@@ -112,6 +112,17 @@ usb_dev_comp_req(struct libusb_transfer *libusb_xfer)\nbreak;\n}\n+ if (libusb_xfer->type == LIBUSB_TRANSFER_TYPE_ISOCHRONOUS) {\n+ for (...
C
BSD 3-Clause New or Revised License
projectacrn/acrn-hypervisor
DM USB: enable isochronous transfer Enable isochronous transfer to support related USB devices Change-Id: Id9fe0714e937fafc47de090ba6d349713cbe1b8b Tracked-On: Signed-off-by: Xiaoguang Wu <xiaoguang.wu@intel.com> Reviewed-by: Liang Yang <liang3.yang@intel.com> Acked-by: Yu Wang <yu1.wang@intel.com>
528,667
19.07.2018 11:01:27
-28,800
38b9b7d37c311e5ef7efde97a84f555dfff84dfb
HV: cpuid: Disable Intel RDT for guest OS Now the Intel RDT emulation is working in progress. So disable it for temporary solution to avoid guest OS running with incorrect RDT configuration. Acked-by: Eddie Dong
[ { "change_type": "MODIFY", "old_path": "hypervisor/arch/x86/cpuid.c", "new_path": "hypervisor/arch/x86/cpuid.c", "diff": "@@ -98,7 +98,9 @@ static void init_vcpuid_entry(__unused struct vm *vm,\n&entry->eax, &entry->ebx,\n&entry->ecx, &entry->edx);\n/* mask invpcid */\n- entry->ebx &= ~CPUID_EBX_INV...
C
BSD 3-Clause New or Revised License
projectacrn/acrn-hypervisor
HV: cpuid: Disable Intel RDT for guest OS Now the Intel RDT emulation is working in progress. So disable it for temporary solution to avoid guest OS running with incorrect RDT configuration. Signed-off-by: Shuo Liu <shuo.a.liu@intel.com> Acked-by: Eddie Dong <eddie.dong@intel.com>
528,747
18.07.2018 11:21:07
25,200
e2ad788f63905b95f3cc79f5135c528845f5dbc1
doc: clean up tools docs Made the titles consistent across the tools (some had capital letters). Fixed heading levels in acrnctl/acrnd doc (had two H1 headings). Changed a text-based drawing to use graphviz. Some general grammar tweaks as well.
[ { "change_type": "MODIFY", "old_path": "tools/acrn-crashlog/README.rst", "new_path": "tools/acrn-crashlog/README.rst", "diff": "@@ -4,12 +4,13 @@ ACRN-Crashlog\nIntroduction\n************\n-The ``ACRN-Crashlog`` is a joint name for the tools (``acrnprobe``,\n-``usercrash_s``, ``usercrash_c``, ``debu...
C
BSD 3-Clause New or Revised License
projectacrn/acrn-hypervisor
doc: clean up tools docs Made the titles consistent across the tools (some had capital letters). Fixed heading levels in acrnctl/acrnd doc (had two H1 headings). Changed a text-based drawing to use graphviz. Some general grammar tweaks as well. Signed-off-by: David B. Kinder <david.b.kinder@intel.com>
528,676
18.07.2018 10:19:52
-28,800
a17653b3cc9b34c50d11ff86abc0fb511e555877
HV:transfer DMAR_[GS]ET_BITSLICE to inline function Transfer DMAR_[GS]ET_BITSLICE to inline function to limit the parameter type and return type.
[ { "change_type": "MODIFY", "old_path": "hypervisor/arch/x86/vtd.c", "new_path": "hypervisor/arch/x86/vtd.c", "diff": "#define CTX_ENTRY_LOWER_SLPTPTR_MASK \\\n(0xFFFFFFFFFFFFFUL << CTX_ENTRY_LOWER_SLPTPTR_POS)\n-#define DMAR_GET_BITSLICE(var, bitname) \\\n- ((var & bitname ## _MASK) >> bitname ## _P...
C
BSD 3-Clause New or Revised License
projectacrn/acrn-hypervisor
HV:transfer DMAR_[GS]ET_BITSLICE to inline function Transfer DMAR_[GS]ET_BITSLICE to inline function to limit the parameter type and return type. Signed-off-by: Huihuang Shi <huihuang.shi@intel.com> Reviewed-by: Junjie Mao <junjie.mao@intel.com>
528,676
19.07.2018 10:34:00
-28,800
4c941ed47b649e3faaf85299e0ab1bda016ef07f
HV:vtd.h fixed inline function violations Inline function have some violations with parentheses and return type casting.Fixed it. V1->V2:modified the parameter to ther letter case V2->V3:move the delcaration to the inner and reduce suffix UL to U Acked-by: Eddie Dong
[ { "change_type": "MODIFY", "old_path": "hypervisor/include/arch/x86/vtd.h", "new_path": "hypervisor/include/arch/x86/vtd.h", "diff": "static inline uint8_t dmar_ver_major(uint64_t version)\n{\n- return ((version & 0xf0UL) >> 4U);\n+ return (((uint8_t)version & 0xf0U) >> 4U);\n}\nstatic inline uint8_...
C
BSD 3-Clause New or Revised License
projectacrn/acrn-hypervisor
HV:vtd.h fixed inline function violations Inline function have some violations with parentheses and return type casting.Fixed it. V1->V2:modified the parameter to ther letter case V2->V3:move the delcaration to the inner and reduce suffix UL to U Signed-off-by: Huihuang Shi <huihuang.shi@intel.com> Reviewed-by: Junj...
528,676
19.07.2018 14:05:52
-28,800
c0b55cdf1b52edef960ed0a42e08c8102ee1ba57
HV:vtd:fix all integer related violations Fix vtd.h and vtd.c all integer violations.
[ { "change_type": "MODIFY", "old_path": "hypervisor/arch/x86/vtd.c", "new_path": "hypervisor/arch/x86/vtd.c", "diff": "#define ACRN_DBG_IOMMU LOG_INFO\n#define DMAR_FAULT_LOOP_MAX 10\n#else\n-#define ACRN_DBG_IOMMU 6\n+#define ACRN_DBG_IOMMU 6U\n#endif\n/* set an appropriate bus limitation when iommu...
C
BSD 3-Clause New or Revised License
projectacrn/acrn-hypervisor
HV:vtd:fix all integer related violations Fix vtd.h and vtd.c all integer violations. Signed-off-by: Huihuang Shi <huihuang.shi@intel.com> Reviewed-by: Junjie Mao <junjie.mao@intel.com>
528,725
20.07.2018 16:38:19
-28,800
ad73bb511c3f60d12d1cca9a380f9f59499fb593
HV: treewide: unify the type of bit-field members Qualified or unqualified int or bool are the only types allowed for bit-field members in C99, and MISRA C further forbids using plain int. Use uint32_t (which is equivalent to unsigned int) for all bit-field members. Acked-by: Eddie Dong
[ { "change_type": "MODIFY", "old_path": "hypervisor/arch/x86/lapic.c", "new_path": "hypervisor/arch/x86/lapic.c", "diff": "@@ -20,26 +20,26 @@ union apic_icr {\nuint32_t hi_32;\n} value_32;\nstruct {\n- uint64_t vector:8;\n- uint64_t delivery_mode:3;\n- uint64_t destination_mode:1;\n- uint64_t delive...
C
BSD 3-Clause New or Revised License
projectacrn/acrn-hypervisor
HV: treewide: unify the type of bit-field members Qualified or unqualified int or bool are the only types allowed for bit-field members in C99, and MISRA C further forbids using plain int. Use uint32_t (which is equivalent to unsigned int) for all bit-field members. Signed-off-by: Junjie Mao <junjie.mao@intel.com> A...
528,725
19.07.2018 23:17:38
-28,800
1a1ee93656f5712f4544d08f70edfb7db915cd6a
HV: hypercall: make hypercall functions return int32_t The error code in the hypervisor is 32-bit signed integers. To reduce implicit conversions, this patch make hcall_xxx returns int32_t, and finally converts it to uint64_t when assigned to rax whose semantics is properly defined in C99. Acked-by: Eddie Dong
[ { "change_type": "MODIFY", "old_path": "hypervisor/arch/x86/guest/vmcall.c", "new_path": "hypervisor/arch/x86/guest/vmcall.c", "diff": "*/\nint vmcall_vmexit_handler(struct vcpu *vcpu)\n{\n- int64_t ret = -EACCES;\n+ int32_t ret = -EACCES;\nstruct vm *vm = vcpu->vm;\nstruct run_context *cur_context ...
C
BSD 3-Clause New or Revised License
projectacrn/acrn-hypervisor
HV: hypercall: make hypercall functions return int32_t The error code in the hypervisor is 32-bit signed integers. To reduce implicit conversions, this patch make hcall_xxx returns int32_t, and finally converts it to uint64_t when assigned to rax whose semantics is properly defined in C99. Signed-off-by: Junjie Mao <...
528,676
20.07.2018 15:23:24
-28,800
bd6979925c6bbf292dcdbf1d0482361180231eb1
fix assign.c interger violations fix all assign.c integer violations except related "Implicit conversion: actual to formal param". Acked-by: Eddie Dong
[ { "change_type": "MODIFY", "old_path": "devicemodel/include/public/acrn_common.h", "new_path": "devicemodel/include/public/acrn_common.h", "diff": "@@ -285,7 +285,7 @@ struct acrn_vm_pci_msix_remap {\n/** if the pass-through PCI device is MSI-X, this field contains\n* the MSI-X entry table index\n*/...
C
BSD 3-Clause New or Revised License
projectacrn/acrn-hypervisor
fix assign.c interger violations fix all assign.c integer violations except related "Implicit conversion: actual to formal param". Signed-off-by: Huihuang Shi <huihuang.shi@intel.com> Acked-by: Eddie Dong <eddie.dong@intel.com>
528,731
19.07.2018 18:03:44
-28,800
4fd870f7188f7b464b0cb7b595895222e25ea996
hv: efi: remove multiple defined struct efi_ctx & dt_addr_t In current code, struct efi_ctx and dt_addr_t are defined in two places. This patch removes one copy of the definitions. Acked-by: Jack Ren
[ { "change_type": "MODIFY", "old_path": "hypervisor/bsp/uefi/efi/Makefile", "new_path": "hypervisor/bsp/uefi/efi/Makefile", "diff": "@@ -60,7 +60,7 @@ LDSCRIPT := $(GNUEFI_DIR)/elf_$(ARCH)_efi.lds\nINCDIR := /usr/include\n-CFLAGS=-I. -I.. -I$(INCDIR)/efi -I$(INCDIR)/efi/$(ARCH) \\\n+CFLAGS=-I. -I.. -...
C
BSD 3-Clause New or Revised License
projectacrn/acrn-hypervisor
hv: efi: remove multiple defined struct efi_ctx & dt_addr_t In current code, struct efi_ctx and dt_addr_t are defined in two places. This patch removes one copy of the definitions. Signed-off-by: Binbin Wu <binbin.wu@intel.com> Reviewed-by: Eddie Dong <eddie.dong@intel.com> Acked-by: Jack Ren <jack.ren@intel.com>
528,794
20.07.2018 19:04:10
-28,800
af194bcd00484030d7278fd8c7b9c1e7a27fa499
HV: fix bug of restore rsp context We should use movq to restore rsp instead of mov. Acked-by: Anthony Xu
[ { "change_type": "MODIFY", "old_path": "hypervisor/arch/x86/wakeup.S", "new_path": "hypervisor/arch/x86/wakeup.S", "diff": "@@ -135,7 +135,7 @@ restore_s3_context:\n*160=0xa0=CPU_CONTEXT_OFFSET_RSP\n*/\nmov 0x138 + cpu_ctx(%rip), %ss\n- mov 0xa0 + cpu_ctx(%rip), %rsp\n+ movq 0xa0 + cpu_ctx(%rip), %r...
C
BSD 3-Clause New or Revised License
projectacrn/acrn-hypervisor
HV: fix bug of restore rsp context We should use movq to restore rsp instead of mov. Signed-off-by: Victor Sun <victor.sun@intel.com> Acked-by: Anthony Xu <anthony.xu@intel.com>
528,747
23.07.2018 10:33:24
25,200
c776137169372c13cf19cef7f254bde02865f273
doc: fix doc error filter patterns Changes to hypercall.h altered the error pattern match used to decide if doxygen errors are "expected". Update the pattern match.
[ { "change_type": "MODIFY", "old_path": "doc/.known-issues/doc/hypercall.conf", "new_path": "doc/.known-issues/doc/hypercall.conf", "diff": "^(?P=filename):(?P=lineno): WARNING: Invalid definition: Expected identifier in nested name. \\[error at [0-9]+]\n^[ \\t]*\n^[ \\t]*\\^\n-^(?P=filename):(?P=lin...
C
BSD 3-Clause New or Revised License
projectacrn/acrn-hypervisor
doc: fix doc error filter patterns Changes to hypercall.h altered the error pattern match used to decide if doxygen errors are "expected". Update the pattern match. Signed-off-by: David B. Kinder <david.b.kinder@intel.com>
528,680
17.07.2018 12:46:45
25,200
7aec6799a18654656023cb88459e75350c14e557
HV: Clean up the unused or legacy code-like comment Removed comment out unused code in vmexit.c, sprintf.c and vmcall.c Minor fix in vmx.c to prevent Misra-c consider it as a piece of code. Acked-by: Anthony Xu
[ { "change_type": "MODIFY", "old_path": "hypervisor/arch/x86/guest/vmcall.c", "new_path": "hypervisor/arch/x86/guest/vmcall.c", "diff": "@@ -24,10 +24,6 @@ int vmcall_vmexit_handler(struct vcpu *vcpu)\nuint64_t param1 = cur_context->guest_cpu_regs.regs.rdi;\n/* hypercall param2 from guest*/\nuint64_t...
C
BSD 3-Clause New or Revised License
projectacrn/acrn-hypervisor
HV: Clean up the unused or legacy code-like comment Removed comment out unused code in vmexit.c, sprintf.c and vmcall.c Minor fix in vmx.c to prevent Misra-c consider it as a piece of code. Signed-off-by: Yang, Yu-chu <yu-chu.yang@intel.com> Acked-by: Anthony Xu <anthony.xu@intel.com>
528,680
18.07.2018 18:16:56
25,200
da0f28c6ded7c9733d61bd7e50122448a48b500f
HV: Bracket for the same level of precendence The plus and minor have the same level of precedence. The Misra-C considers it as a violation. Added brackets in between addition and substraction oprators. Acked-by: Anthony Xu
[ { "change_type": "MODIFY", "old_path": "hypervisor/arch/x86/guest/guest.c", "new_path": "hypervisor/arch/x86/guest/guest.c", "diff": "@@ -649,7 +649,7 @@ uint64_t e820_alloc_low_memory(uint32_t size)\nstruct e820_entry *entry, *new_entry;\n/* We want memory in page boundary and integral multiple of ...
C
BSD 3-Clause New or Revised License
projectacrn/acrn-hypervisor
HV: Bracket for the same level of precendence The plus and minor have the same level of precedence. The Misra-C considers it as a violation. Added brackets in between addition and substraction oprators. Signed-off-by: Yang, Yu-chu <yu-chu.yang@intel.com> Acked-by: Anthony Xu <anthony.xu@intel.com>
528,652
23.07.2018 12:31:27
25,200
a368b57ecafe981909d7b59395a45235722cff70
hv: fix typo in relocation code Fixed a typo in ("hv: further fix to configurable relocation"). It shoud allocate fixed address if CONFIG_RELOC is not defined.
[ { "change_type": "MODIFY", "old_path": "hypervisor/bsp/uefi/efi/malloc.c", "new_path": "hypervisor/bsp/uefi/efi/malloc.c", "diff": "@@ -268,7 +268,7 @@ EFI_STATUS __emalloc(UINTN size, UINTN min_addr, EFI_PHYSICAL_ADDRESS *addr,\ncontinue;\n}\n-#ifndef CONFIG_RELOC\n+#ifdef CONFIG_RELOC\naligned = s...
C
BSD 3-Clause New or Revised License
projectacrn/acrn-hypervisor
hv: fix typo in relocation code Fixed a typo in 621425da20d0 ("hv: further fix to configurable relocation"). It shoud allocate fixed address if CONFIG_RELOC is not defined.
528,654
22.07.2018 10:27:30
-28,800
502e3e2e65b8c899c7dcb24b5b5dcd3e1826ca0d
hv: mmu: refine set guest memory region API 1. rename set_vm_memmap to set_vm_memory_region 2. split ept_mmap into ept_mr_add and ept_mr_del Acked-by: Eddie Dong
[ { "change_type": "MODIFY", "old_path": "hypervisor/arch/x86/ept.c", "new_path": "hypervisor/arch/x86/ept.c", "diff": "@@ -250,8 +250,7 @@ int register_mmio_emulation_handler(struct vm *vm,\n* need to unmap it.\n*/\nif (is_vm0(vm)) {\n- ept_mmap(vm, start, start, end - start,\n- MAP_UNMAP, 0);\n+ ept...
C
BSD 3-Clause New or Revised License
projectacrn/acrn-hypervisor
hv: mmu: refine set guest memory region API 1. rename set_vm_memmap to set_vm_memory_region 2. split ept_mmap into ept_mr_add and ept_mr_del Signed-off-by: Li, Fei1 <fei1.li@intel.com> Acked-by: Eddie Dong <eddie.dong@intel.com>
528,654
22.07.2018 15:01:02
-28,800
f7f04ba67fe43f43657927160c01f77d7d413733
hv: mmu: minor fix about hv mmu && ept modify 1. fix some description for hv mmu_modify 2. add pml4_page input parameter for ept_mr_modify to keep align with ept_mr_add and ept_mr_del which will support add or delete MR for trusty. Acked-by: Eddie Dong
[ { "change_type": "MODIFY", "old_path": "hypervisor/arch/x86/ept.c", "new_path": "hypervisor/arch/x86/ept.c", "diff": "@@ -518,15 +518,16 @@ int ept_mr_add(struct vm *vm, uint64_t hpa,\nreturn 0;\n}\n-int ept_mr_modify(struct vm *vm, uint64_t gpa, uint64_t size,\n- uint64_t attr_set, uint64_t attr_cl...
C
BSD 3-Clause New or Revised License
projectacrn/acrn-hypervisor
hv: mmu: minor fix about hv mmu && ept modify 1. fix some description for hv mmu_modify 2. add pml4_page input parameter for ept_mr_modify to keep align with ept_mr_add and ept_mr_del which will support add or delete MR for trusty. Signed-off-by: Li, Fei1 <fei1.li@intel.com> Acked-by: Eddie Dong <eddie.dong@intel.com...
528,794
20.07.2018 18:39:10
-28,800
ee1311027863a7a259547cbd2c1fa9ebfb3e61f6
HV: change wake vector address to accommodate sbl The previous wake vector address just work for ABL, need to change it to accommodate the latest SBL; Fix wrong bit width value in the pm1a gas; Acked-by: Anthony Xu
[ { "change_type": "MODIFY", "old_path": "hypervisor/bsp/sbl/platform_acpi_info.c", "new_path": "hypervisor/bsp/sbl/platform_acpi_info.c", "diff": "@@ -10,13 +10,13 @@ const struct acpi_info host_acpi_info = {\n6, /* x86 family: 6 */\n0x5C, /* x86 model: 0x5C, ApolloLake */\n{\n- {SPACE_SYSTEM_IO, 20,...
C
BSD 3-Clause New or Revised License
projectacrn/acrn-hypervisor
HV: change wake vector address to accommodate sbl - The previous wake vector address just work for ABL, need to change it to accommodate the latest SBL; - Fix wrong bit width value in the pm1a gas; Signed-off-by: Victor Sun <victor.sun@intel.com> Acked-by: Anthony Xu <anthony.xu@intel.com>
528,794
20.07.2018 16:56:47
-28,800
f18a02ac6118858b01d4706dcb2686cdf6b9da8a
HV: misra cleanup for platform acpi info fix misra integral type violations; change struct initilization style to make code more readable; Acked-by: Eddie Dong
[ { "change_type": "MODIFY", "old_path": "hypervisor/bsp/sbl/platform_acpi_info.c", "new_path": "hypervisor/bsp/sbl/platform_acpi_info.c", "diff": "#include <hypervisor.h>\nconst struct acpi_info host_acpi_info = {\n- 6, /* x86 family: 6 */\n- 0x5C, /* x86 model: 0x5C, ApolloLake */\n- {\n- {SPACE_SYS...
C
BSD 3-Clause New or Revised License
projectacrn/acrn-hypervisor
HV: misra cleanup for platform acpi info - fix misra integral type violations; - change struct initilization style to make code more readable; Signed-off-by: Victor Sun <victor.sun@intel.com> Reviewed-by: Anthony Xu <anthony.xu@intel.com> Acked-by: Eddie Dong <eddie.dong@intel.com>
528,731
24.07.2018 18:45:01
-28,800
586b527e2c093c082220b0ed97318a68ed7fb4bc
hv: cpu: remove general-purpose register mapping in instruction emulation The general-purpose register layout is identical to instructio emulation context. So no need to do the mapping.
[ { "change_type": "MODIFY", "old_path": "hypervisor/arch/x86/guest/instr_emul.c", "new_path": "hypervisor/arch/x86/guest/instr_emul.c", "diff": "@@ -214,25 +214,6 @@ static const struct vie_op one_byte_opcodes[256] = {\n#define GB (1024 * 1024 * 1024)\n-static enum cpu_reg_name gpr_map[16] = {\n- CPU...
C
BSD 3-Clause New or Revised License
projectacrn/acrn-hypervisor
hv: cpu: remove general-purpose register mapping in instruction emulation The general-purpose register layout is identical to instructio emulation context. So no need to do the mapping. Signed-off-by: Binbin Wu <binbin.wu@intel.com> Reviewed-by: Eddie Dong <eddie.dong@intel.com>
528,731
24.07.2018 20:20:43
-28,800
f1b9f5ac97a363b2b59b93d5074e384671322086
hv: cpu: using struct cpu_gp_regs for general-purpose regs in inter_excp_ctx The purpos is to unify the layout of general-purpose regs in interrupt/excpetion context. Acked-by: Eddie Dong
[ { "change_type": "MODIFY", "old_path": "hypervisor/arch/x86/idt.S", "new_path": "hypervisor/arch/x86/idt.S", "diff": "@@ -265,42 +265,45 @@ vector =0x20\n*/\n.align 8\nexcp_save_frame:\n+ pushq %r15\n+ pushq %r14\n+ pushq %r13\n+ pushq %r12\npushq %r11\npushq %r10\npushq %r9\npushq %r8\npushq %rdi\n...
C
BSD 3-Clause New or Revised License
projectacrn/acrn-hypervisor
hv: cpu: using struct cpu_gp_regs for general-purpose regs in inter_excp_ctx The purpos is to unify the layout of general-purpose regs in interrupt/excpetion context. Signed-off-by: Binbin Wu <binbin.wu@intel.com> Acked-by: Eddie Dong <eddie.dong@intel.com>
528,676
24.07.2018 11:28:46
-28,800
a661ffa618c9004b570dfd66bd6ec4f79366132e
fix x86 dir integer violations Fix x86 directory violations which related to integer problems, some of problems are skipped because of ldra's false positive. V1->V2 1.modified the code style 2.fix all macro VM_EXIT_IO_INSTRUCTION related Acked-by: Anthony Xu
[ { "change_type": "MODIFY", "old_path": "hypervisor/arch/x86/cpu.c", "new_path": "hypervisor/arch/x86/cpu.c", "diff": "@@ -52,7 +52,7 @@ static void print_hv_banner(void);\nstatic uint16_t get_cpu_id_from_lapic_id(uint8_t lapic_id);\nstatic void pcpu_sync_sleep(uint64_t *sync, uint64_t mask_bit);\nin...
C
BSD 3-Clause New or Revised License
projectacrn/acrn-hypervisor
fix x86 dir integer violations Fix x86 directory violations which related to integer problems, some of problems are skipped because of ldra's false positive. V1->V2 1.modified the code style 2.fix all macro VM_EXIT_IO_INSTRUCTION related Signed-off-by: Huihuang Shi <huihuang.shi@intel.com> Acked-by: Anthony X...
528,783
23.07.2018 15:50:08
-28,800
ff05a6e8b9b79e6f7c4079ef7d5e102af7e39d5c
hv:Remove dead code in console.c Remove this API console_dump_bytes Acked-by: Eddie Dong
[ { "change_type": "MODIFY", "old_path": "hypervisor/debug/console.c", "new_path": "hypervisor/debug/console.c", "diff": "@@ -135,38 +135,6 @@ int console_write(const char *s, size_t len)\nreturn res;\n}\n-void console_dump_bytes(const void *p, unsigned int len)\n-{\n-\n- const unsigned char *x = p;\n...
C
BSD 3-Clause New or Revised License
projectacrn/acrn-hypervisor
hv:Remove dead code in console.c Remove this API console_dump_bytes Signed-off-by: Mingqiang Chi <mingqiang.chi@intel.com> Acked-by: Eddie Dong <eddie.dong@intel.com>
528,713
25.07.2018 18:52:39
-28,800
6788c09c39caf0f3e9209462bdc93661e3a44fd3
hv: bug fix on operating spin_lock In vioapic emulating code, the vioapic spinlock is taken twice in the same context. Acked-by: Eddie Dong
[ { "change_type": "MODIFY", "old_path": "hypervisor/arch/x86/guest/vioapic.c", "new_path": "hypervisor/arch/x86/guest/vioapic.c", "diff": "@@ -266,6 +266,8 @@ vioapic_read(struct vioapic *vioapic, uint32_t addr)\n/*\n* version 0x20+ ioapic has EOI register. And cpu could write vector to this\n* regis...
C
BSD 3-Clause New or Revised License
projectacrn/acrn-hypervisor
hv: bug fix on operating spin_lock In vioapic emulating code, the vioapic spinlock is taken twice in the same context. Signed-off-by: Zheng, Gen <gen.zheng@intel.com> Reviewed-by: Yin Fengwei <fengwei.yin@intel.com> Acked-by: Eddie Dong <eddie.dong@intel.com> Signed-off-by: Zheng, Gen <gen.zheng@intel.com>
528,731
25.07.2018 15:24:12
-28,800
a1923dd6e0e11ac8d5eee2591b4990a094a8b8df
hv: add a missing semicolon in vmexit.c
[ { "change_type": "MODIFY", "old_path": "hypervisor/arch/x86/vmexit.c", "new_path": "hypervisor/arch/x86/vmexit.c", "diff": "@@ -265,7 +265,7 @@ int cr_access_vmexit_handler(struct vcpu *vcpu)\n&vcpu->arch_vcpu.contexts[vcpu->arch_vcpu.cur_context];\nint idx = VM_EXIT_CR_ACCESS_REG_IDX(vcpu->arch_vcp...
C
BSD 3-Clause New or Revised License
projectacrn/acrn-hypervisor
hv: add a missing semicolon in vmexit.c Signed-off-by: Binbin Wu <binbin.wu@intel.com> Reviewed-by: Jason Chen CJ <jason.cj.chen@intel.com>
528,783
24.07.2018 14:32:50
-28,800
311787032ad79ddd796e2eef478e1f40018c90c1
hv:Change shell_init to void type Remove shell_construct Change shell_init to void type Acked-by: Eddie Dong
[ { "change_type": "MODIFY", "old_path": "hypervisor/debug/shell_internal.c", "new_path": "hypervisor/debug/shell_internal.c", "diff": "@@ -1159,17 +1159,3 @@ void shell_special_serial(struct shell *p_shell, uint8_t ch)\nbreak;\n}\n}\n-\n-int shell_construct(struct shell **p_shell)\n-{\n- int status =...
C
BSD 3-Clause New or Revised License
projectacrn/acrn-hypervisor
hv:Change shell_init to void type Remove shell_construct Change shell_init to void type Signed-off-by: Mingqiang Chi <mingqiang.chi@intel.com> Acked-by: Eddie Dong <eddie.dong@intel.com>
528,675
02.07.2018 16:38:21
-28,800
22833787ce209d7deace45f77aef6a03d45b18ea
refine definition for foreach_vcpu foreach_vcpu will go through all vcpu_array and only call the following code when vcpu != NULL Acked-by: Eddie Dong
[ { "change_type": "MODIFY", "old_path": "hypervisor/include/arch/x86/guest/guest.h", "new_path": "hypervisor/include/arch/x86/guest/guest.h", "diff": "#define foreach_vcpu(idx, vm, vcpu) \\\nfor (idx = 0U, vcpu = vm->hw.vcpu_array[idx]; \\\n- (idx < vm->hw.num_vcpus) && (vcpu != NULL); \\\n- idx++, v...
C
BSD 3-Clause New or Revised License
projectacrn/acrn-hypervisor
refine definition for foreach_vcpu foreach_vcpu will go through all vcpu_array and only call the following code when vcpu != NULL Signed-off-by: Jason Chen CJ <jason.cj.chen@intel.com> Reviewed-by: Zhao Yakui <yakui.zhao@intel.com> Acked-by: Eddie Dong <eddie.dong@intel.com>
528,675
30.05.2018 20:06:26
-28,800
589c72382ac053d8314fb855ab5650c29c3770c5
add CONFIG_VM0_DESC support if defined CONFIG_VM0_DESC, HV will use predefined vm0_desc to config VM0, otherwise, HV will run VM0 with all physical cpus. Acked-by: Eddie Dong
[ { "change_type": "MODIFY", "old_path": "hypervisor/arch/x86/guest/vm.c", "new_path": "hypervisor/arch/x86/guest/vm.c", "diff": "@@ -29,6 +29,7 @@ static void init_vm(struct vm_description *vm_desc,\nstruct vm *vm_handle)\n{\n/* Populate VM attributes from VM description */\n+#ifdef CONFIG_VM0_DESC\n...
C
BSD 3-Clause New or Revised License
projectacrn/acrn-hypervisor
add CONFIG_VM0_DESC support if defined CONFIG_VM0_DESC, HV will use predefined vm0_desc to config VM0, otherwise, HV will run VM0 with all physical cpus. Signed-off-by: Jason Chen CJ <jason.cj.chen@intel.com> Acked-by: Eddie Dong <eddie.dong@intel.com>
528,675
30.05.2018 22:22:37
-28,800
2dca23c7c9431523c17d4e2d3ca7b78db99c30e4
add hypercall hc_sos_offline_cpu support SOS boot with all physicall cpus, before running UOS, it should free CPU resource by offline not used cpus first do standard cpu offline flow then call hcall_sos_offline_cpu hypercall to release cpu resource really Acked-by: Eddie Dong
[ { "change_type": "MODIFY", "old_path": "hypervisor/arch/x86/guest/vmcall.c", "new_path": "hypervisor/arch/x86/guest/vmcall.c", "diff": "@@ -38,6 +38,9 @@ int vmcall_vmexit_handler(struct vcpu *vcpu)\n/* Dispatch the hypercall handler */\nswitch (hypcall_id) {\n+ case HC_SOS_OFFLINE_CPU:\n+ ret = hca...
C
BSD 3-Clause New or Revised License
projectacrn/acrn-hypervisor
add hypercall hc_sos_offline_cpu support SOS boot with all physicall cpus, before running UOS, it should free CPU resource by offline not used cpus - first do standard cpu offline flow - then call hcall_sos_offline_cpu hypercall to release cpu resource really Signed-off-by: Jason Chen CJ <jason.cj.chen@intel.com> Ack...
528,675
01.06.2018 16:52:20
-28,800
d5ead6151c78336a0e053775e2d3515366268280
samples: remove maxcpus from bootargs after enable all cpus during sos bootup, there should not be maxcpus option here Acked-by: Eddie Dong
[ { "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) maxcpus=1 console=tty0 console=ttyS0 i915.nuclear_pageflip=1 root=/dev/mmcblk1p1 rw rootwait quiet logl...
C
BSD 3-Clause New or Revised License
projectacrn/acrn-hypervisor
samples: remove maxcpus from bootargs after enable all cpus during sos bootup, there should not be maxcpus option here Signed-off-by: Jason Chen CJ <jason.cj.chen@intel.com> Acked-by: Eddie Dong <eddie.dong@intel.com>
528,675
01.06.2018 17:13:36
-28,800
e71a0887a088dd9968a6bc7fb363960e78bd72ad
samples: offline SOS cpus before launch uos offline SOS cpus except BSP to let them free for UOS cpu allocation Acked-by: Eddie Dong
[ { "change_type": "MODIFY", "old_path": "devicemodel/samples/apl-mrb/launch_uos.sh", "new_path": "devicemodel/samples/apl-mrb/launch_uos.sh", "diff": "@@ -335,6 +335,17 @@ mount /dev/mmcblk1p3 /data\n# make sure there is enough 2M hugepages in the pool\necho 1024 > /sys/kernel/mm/hugepages/hugepages-...
C
BSD 3-Clause New or Revised License
projectacrn/acrn-hypervisor
samples: offline SOS cpus before launch uos offline SOS cpus except BSP to let them free for UOS cpu allocation Signed-off-by: Jason Chen CJ <jason.cj.chen@intel.com> Acked-by: Eddie Dong <eddie.dong@intel.com>
528,654
24.07.2018 10:51:54
-28,800
34c6862a289b5cb7f09a21bb67be23c71740753a
hv: hypercall: add support to change guest page write permission Add hcall_change_vm_page_wp_perm to change guest one page write permission. Acked-by: Eddie Dong
[ { "change_type": "MODIFY", "old_path": "hypervisor/arch/x86/guest/vmcall.c", "new_path": "hypervisor/arch/x86/guest/vmcall.c", "diff": "@@ -116,6 +116,11 @@ int vmcall_vmexit_handler(struct vcpu *vcpu)\nret = hcall_set_vm_memory_regions(vm, param1);\nbreak;\n+ case HC_VM_WRITE_PROTECT_PAGE:\n+ ret =...
C
BSD 3-Clause New or Revised License
projectacrn/acrn-hypervisor
hv: hypercall: add support to change guest page write permission Add hcall_change_vm_page_wp_perm to change guest one page write permission. Signed-off-by: Li, Fei1 <fei1.li@intel.com> Acked-by: Eddie Dong <eddie.dong@intel.com>
528,654
22.07.2018 16:09:21
-28,800
236bb10e4d44b017fdba37087d117db4cdea68fb
hv: mmu: refine delete page table mapping Merge mmu_modify with mmu_del to mmu_modify_or_del(..., type). While type is MR_MODIFY, the actual action is doing mmu_modify; while type is MR_DEL, the actual action is doing mmu_del. Acked-by: Eddie Dong
[ { "change_type": "MODIFY", "old_path": "hypervisor/arch/x86/ept.c", "new_path": "hypervisor/arch/x86/ept.c", "diff": "@@ -250,7 +250,9 @@ int register_mmio_emulation_handler(struct vm *vm,\n* need to unmap it.\n*/\nif (is_vm0(vm)) {\n- ept_mr_del(vm, start, start, end - start);\n+ ept_mr_del(vm,\n+ ...
C
BSD 3-Clause New or Revised License
projectacrn/acrn-hypervisor
hv: mmu: refine delete page table mapping Merge mmu_modify with mmu_del to mmu_modify_or_del(..., type). While type is MR_MODIFY, the actual action is doing mmu_modify; while type is MR_DEL, the actual action is doing mmu_del. Signed-off-by: Li, Fei1 <fei1.li@intel.com> Acked-by: Eddie Dong <eddie.dong@intel.com>
528,654
22.07.2018 16:55:47
-28,800
c7799584dc77f9cf0be017df829397845ede412c
hv: mmu: replace the old mmu_del 1. use ept_mr_del to delete EPT memory region. 2. remove unmap_mem 3. remove mem_map_request_type
[ { "change_type": "MODIFY", "old_path": "hypervisor/arch/x86/mmu.c", "new_path": "hypervisor/arch/x86/mmu.c", "diff": "static void *mmu_pml4_addr;\n-enum mem_map_request_type {\n- PAGING_REQUEST_TYPE_MAP = 0, /* Creates a new mapping. */\n- PAGING_REQUEST_TYPE_UNMAP = 1, /* Removes a pre-existing ent...
C
BSD 3-Clause New or Revised License
projectacrn/acrn-hypervisor
hv: mmu: replace the old mmu_del 1. use ept_mr_del to delete EPT memory region. 2. remove unmap_mem 3. remove mem_map_request_type Signed-off-by: Li, Fei1 <fei1.li@intel.com>
528,654
22.07.2018 20:15:41
-28,800
e2516fa6a03b1ae09c2a2ff2126eae426fd4f003
hv: mmu: reimplement mmu_add to add page table mapping The ept_mr_add still use the old map_mem. The old API will keep for a peroid until the SOS the same refine be merged.
[ { "change_type": "MODIFY", "old_path": "hypervisor/arch/x86/ept.c", "new_path": "hypervisor/arch/x86/ept.c", "diff": "@@ -509,6 +509,9 @@ int ept_mr_add(struct vm *vm, uint64_t hpa_arg,\nif ((prot & IA32E_EPT_MT_MASK) != IA32E_EPT_UNCACHED) {\nprot |= IA32E_EPT_SNOOP_CTRL;\n}\n+ /* TODO: replace map...
C
BSD 3-Clause New or Revised License
projectacrn/acrn-hypervisor
hv: mmu: reimplement mmu_add to add page table mapping The ept_mr_add still use the old map_mem. The old API will keep for a peroid until the SOS the same refine be merged. Signed-off-by: Li, Fei1 <fei1.li@intel.com>
528,654
26.07.2018 09:25:19
-28,800
f815415b70e0a797a8425aa5f587cf9b5b18dbde
hv: ept: add lookup_address to lookup the page table Add lookup_address to lokup the page table for a virtual address of primary page table or a physical address of extended page table. The remaining obtain_last_page_table_entry could be removed with their called function later.
[ { "change_type": "MODIFY", "old_path": "hypervisor/arch/x86/ept.c", "new_path": "hypervisor/arch/x86/ept.c", "diff": "@@ -120,18 +120,13 @@ void destroy_ept(struct vm *vm)\nuint64_t _gpa2hpa(struct vm *vm, uint64_t gpa, uint32_t *size)\n{\nuint64_t hpa = 0UL;\n- uint32_t pg_size = 0U;\n- struct entr...
C
BSD 3-Clause New or Revised License
projectacrn/acrn-hypervisor
hv: ept: add lookup_address to lookup the page table Add lookup_address to lokup the page table for a virtual address of primary page table or a physical address of extended page table. The remaining obtain_last_page_table_entry could be removed with their called function later. Signed-off-by: Li, Fei1 <fei1.li@intel...
528,747
24.07.2018 14:07:53
25,200
746cbab979022d06bc50a758ab6a943134655284
doc: add UART virtualization documentation transcode, review, and publish UART virtualization design and documentation
[ { "change_type": "ADD", "old_path": "doc/developer-guides/images/uart-image1.png", "new_path": "doc/developer-guides/images/uart-image1.png", "diff": "Binary files /dev/null and b/doc/developer-guides/images/uart-image1.png differ\n" }, { "change_type": "MODIFY", "old_path": "doc/develop...
C
BSD 3-Clause New or Revised License
projectacrn/acrn-hypervisor
doc: add UART virtualization documentation transcode, review, and publish UART virtualization design and documentation Signed-off-by: David B. Kinder <david.b.kinder@intel.com>
528,747
23.07.2018 14:37:00
25,200
53a5941b997d7902576b9f1f561972196faf633d
doc: add GVT-G porting guide Transcode, review, and publish GVT-G porting guide documentation. Merged glossary entries, added anchor links in GVT-g_api for referencing from this document.
[ { "change_type": "MODIFY", "old_path": "doc/api/GVT-g_api.rst", "new_path": "doc/api/GVT-g_api.rst", "diff": "@@ -83,6 +83,7 @@ responses to user space modules, notified by vIRQ injections.\n.. kernel-doc:: include/linux/vhm/acrn_vhm_mm.h\n:functions: update_memmap_attr\n+.. _MPT_interface:\nACRN-GT...
C
BSD 3-Clause New or Revised License
projectacrn/acrn-hypervisor
doc: add GVT-G porting guide Transcode, review, and publish GVT-G porting guide documentation. Merged glossary entries, added anchor links in GVT-g_api for referencing from this document. Signed-off-by: David B. Kinder <david.b.kinder@intel.com>
528,804
25.07.2018 15:02:27
-28,800
3cab92655d6f51ab526063b95d501e978fe30c23
DM: add param: -V 5 to auto check/boot UOS image it can auto check android image, if exists, then launch it; if not, it will try to luanch clearlinux. it can be used by acrn_guest.service to auto boot UOS.
[ { "change_type": "MODIFY", "old_path": "devicemodel/samples/apl-mrb/launch_uos.sh", "new_path": "devicemodel/samples/apl-mrb/launch_uos.sh", "diff": "@@ -306,6 +306,7 @@ echo \"-V 1 means just launching 1 clearlinux UOS\"\necho \"-V 2 means just launching 1 android UOS\"\necho \"-V 3 means launching...
C
BSD 3-Clause New or Revised License
projectacrn/acrn-hypervisor
DM: add param: -V 5 to auto check/boot UOS image it can auto check android image, if exists, then launch it; if not, it will try to luanch clearlinux. it can be used by acrn_guest.service to auto boot UOS. Signed-off-by: Minggui Cao <minggui.cao@intel.com> Reviewed-by: Binbin Wu <binbin.wu@intel.com>
528,725
24.07.2018 17:00:10
-28,800
1915eec6323ef108d770b662d15837f88ddc8a23
HV: io: separate I/O emulation interface declarations Currently the I/O emulation structures and interfaces are scattered among mmu.h, io.h and guest.h, and tangled with other interfaces there. This patch moves the former to a separate header ioreq.h. Acked-by: Eddie Dong
[ { "change_type": "MODIFY", "old_path": "hypervisor/include/arch/x86/guest/guest.h", "new_path": "hypervisor/include/arch/x86/guest/guest.h", "diff": "#define IDX_PAT (IDX_TSC + 1U)\n#define IDX_MAX_MSR (IDX_PAT + 1U)\n-struct vhm_request;\n-\n-int32_t acrn_insert_request_wait(struct vcpu *vcpu, stru...
C
BSD 3-Clause New or Revised License
projectacrn/acrn-hypervisor
HV: io: separate I/O emulation interface declarations Currently the I/O emulation structures and interfaces are scattered among mmu.h, io.h and guest.h, and tangled with other interfaces there. This patch moves the former to a separate header ioreq.h. Signed-off-by: Junjie Mao <junjie.mao@intel.com> Acked-by: Eddie D...
528,804
24.07.2018 09:25:22
-28,800
10ed599b50a6c4ed131dcfa6c640de4c4edad84a
HV: cleanup sprintf&string.c MISRA-C issues main focus on integral issues, and change some functions interface to unify the params data type; also modify to simplify the code logic. Acked-by: Eddie Dong
[ { "change_type": "MODIFY", "old_path": "hypervisor/debug/printf.c", "new_path": "hypervisor/debug/printf.c", "diff": "#include <hypervisor.h>\n-static int charout(int cmd, const char *s, int32_t sz_arg, void *hnd)\n+static int charout(int cmd, const char *s, uint32_t sz, void *hnd)\n{\n/* pointer to...
C
BSD 3-Clause New or Revised License
projectacrn/acrn-hypervisor
HV: cleanup sprintf&string.c MISRA-C issues main focus on integral issues, and change some functions interface to unify the params data type; also modify to simplify the code logic. Signed-off-by: Minggui Cao <minggui.cao@intel.com> Reviewed-by: Yonghua Huang <yonghua.huang@intel.com> Acked-by: Eddie Dong <eddie.dong...
528,675
26.07.2018 15:21:25
-28,800
9ea50a528689959a36c987f1981f8533837440f3
acrn.conf: remove maxcpus from cmdline after SOS start with all CPUs, it should not set maxcpus in cmdline
[ { "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.pk414-sos.4.14.52-63\n-options pci_devices_ignore=(0:18:1) maxcpus=1 console=...
C
BSD 3-Clause New or Revised License
projectacrn/acrn-hypervisor
acrn.conf: remove maxcpus from cmdline after SOS start with all CPUs, it should not set maxcpus in cmdline Signed-off-by: Jason Chen CJ <jason.cj.chen@intel.com>
528,786
23.07.2018 13:21:13
-28,800
9d4c9d769e976ef6c4d0a1513cc26e3a8d2d37d1
HV: stop retrieving seed from multiboot modules In future, SBL will no longer provide seed_list address through multiboot modules. The seed_list address will passed by cmdline instead. So stop retrieveing seed from multiboot modules. Acked-by: Zhu Bing
[ { "change_type": "MODIFY", "old_path": "hypervisor/boot/sbl/multiboot.c", "new_path": "hypervisor/boot/sbl/multiboot.c", "diff": "@@ -90,8 +90,6 @@ static void parse_other_modules(struct vm *vm,\nvm->sw.linux_info.ramdisk_load_addr =\n(void *)(uint64_t)mods[i].mm_mod_start;\nvm->sw.linux_info.ramdis...
C
BSD 3-Clause New or Revised License
projectacrn/acrn-hypervisor
HV: stop retrieving seed from multiboot modules In future, SBL will no longer provide seed_list address through multiboot modules. The seed_list address will passed by cmdline instead. So stop retrieveing seed from multiboot modules. Signed-off-by: Qi Yadong <yadong.qi@intel.com> Reviewed-by: Wang Kai <kai.z.wang@int...
528,715
27.07.2018 09:25:02
-28,800
c01e675582ac0a99b607354f59a508fe9694352b
HV:VLAPIC:rename variable vlapic_timer in the struct and function The variable vlapic_timer's name is identical with struct vlapic_timer's name. This MISRA C violation is detected by static analysis tool. Rename variable vlapic_timer as vtimer. Replace regular expression: s/vlapic_timer\([ ;,.)\-]\+\)/vtimer\1
[ { "change_type": "MODIFY", "old_path": "hypervisor/arch/x86/guest/vlapic.c", "new_path": "hypervisor/arch/x86/guest/vlapic.c", "diff": "@@ -264,16 +264,16 @@ vlapic_lvtt_masked(struct acrn_vlapic *vlapic)\nstatic void vlapic_create_timer(struct acrn_vlapic *vlapic)\n{\n- struct vlapic_timer *vlapic_...
C
BSD 3-Clause New or Revised License
projectacrn/acrn-hypervisor
HV:VLAPIC:rename variable vlapic_timer in the struct and function The variable vlapic_timer's name is identical with struct vlapic_timer's name. This MISRA C violation is detected by static analysis tool. Rename variable vlapic_timer as vtimer. Replace regular expression: s/vlapic_timer\([ ;,.)\-]\+\)/vtimer\1 Signe...
528,646
17.07.2018 15:34:28
-28,800
db05675f38d85b8c3d3967eb4ed26a8edfd2580b
tools: acrn-crashlog: New apis to replace losetup and fdisk This patch adds new apis to replace commands losetup and fdisk. Main changes include: 1. impletement apis to operate loop devices directly. 2. impletement apis to get partition information from image file. Acked-by: Chen Gang
[ { "change_type": "MODIFY", "old_path": "tools/acrn-crashlog/acrnprobe/Makefile", "new_path": "tools/acrn-crashlog/acrnprobe/Makefile", "diff": "@@ -3,7 +3,7 @@ MINOR_VERSION=0\nVERSION_H = $(BUILDDIR)/include/acrnprobe/version.h\n-LIBS = -lpthread -lxml2 -lcrypto -lrt $(EXTRA_LIBS)\n+LIBS = -lpthrea...
C
BSD 3-Clause New or Revised License
projectacrn/acrn-hypervisor
tools: acrn-crashlog: New apis to replace losetup and fdisk This patch adds new apis to replace commands losetup and fdisk. Main changes include: 1. impletement apis to operate loop devices directly. 2. impletement apis to get partition information from image file. Signed-off-by: Liu, Xinwu <xinwu.liu@intel.com> Acke...
528,646
17.07.2018 15:55:25
-28,800
134e79aca2b34f80a602534532c3cb264ddca4f5
tools: acrn-crashlog: New apis to replace debugfs This patch impletement apis with libext2fs, which are for dumping and reading files or dirs in extfs. Acked-by: Chen Gang
[ { "change_type": "MODIFY", "old_path": "tools/acrn-crashlog/acrnprobe/Makefile", "new_path": "tools/acrn-crashlog/acrnprobe/Makefile", "diff": "@@ -3,7 +3,8 @@ MINOR_VERSION=0\nVERSION_H = $(BUILDDIR)/include/acrnprobe/version.h\n-LIBS = -lpthread -lxml2 -lcrypto -lrt -lblkid $(EXTRA_LIBS)\n+LIBS = ...
C
BSD 3-Clause New or Revised License
projectacrn/acrn-hypervisor
tools: acrn-crashlog: New apis to replace debugfs This patch impletement apis with libext2fs, which are for dumping and reading files or dirs in extfs. Signed-off-by: Liu, Xinwu <xinwu.liu@intel.com> Acked-by: Chen Gang <gang.c.chen@intel.com>
528,646
17.07.2018 16:39:19
-28,800
ea8cb410c50edfa7192084d080b491d5a08184bf
tools: acrn-crashlog: replace fdisk and losetup with api Use api in loop.c to replace fdisk and losetup. There is no functional change. 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": "#include \"log_sys.h\"\n#include \"fsutils.h\"\n#include \"history.h\"\n+#include \"loop.h\"\n#define VM_WARNING_LINES 2000\n-#define LOOP_D...
C
BSD 3-Clause New or Revised License
projectacrn/acrn-hypervisor
tools: acrn-crashlog: replace fdisk and losetup with api Use api in loop.c to replace fdisk and losetup. There is no functional change. Signed-off-by: Liu, Xinwu <xinwu.liu@intel.com> Acked-by: Chen Gang <gang.c.chen@intel.com>
528,646
18.07.2018 12:47:19
-28,800
a4aed4535abffb2e3ad325a4b7aaf27288b213d2
tools: acrn-crashlog: replace debugfs with api Replace debugfs with api in loop.c. There is no functional change. 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": "#define ANDROID_DATA_PAR_NAME \"data\"\n#define ANDROID_EVT_KEY_LEN 20\n+/* TODO: hardcoding the img path here means that only one Android G...
C
BSD 3-Clause New or Revised License
projectacrn/acrn-hypervisor
tools: acrn-crashlog: replace debugfs with api Replace debugfs with api in loop.c. There is no functional change. Signed-off-by: Liu, Xinwu <xinwu.liu@intel.com> Acked-by: Chen Gang <gang.c.chen@intel.com>
528,646
19.07.2018 13:55:46
-28,800
42c77e4cf406bfd87f2240999bcdf5f46faf75e8
Documentation: add needed library for acrnprobe Two packages are needed in compiling environment with replacing commands fdisk and debugfs. On clear linux, they belong to os-core-dev. Acked-by: Chen Gang Acked-by: Yang Ailin
[ { "change_type": "MODIFY", "old_path": "doc/getting-started/apl-nuc.rst", "new_path": "doc/getting-started/apl-nuc.rst", "diff": "@@ -405,7 +405,9 @@ each with their own way to install development tools:\nlibxml2-dev \\\nlibusb-1.0-0-dev \\\npython3 \\\n- python3-pip\n+ python3-pip \\\n+ libblkid-de...
C
BSD 3-Clause New or Revised License
projectacrn/acrn-hypervisor
Documentation: add needed library for acrnprobe Two packages are needed in compiling environment with replacing commands fdisk and debugfs. On clear linux, they belong to os-core-dev. Signed-off-by: Liu, Xinwu <xinwu.liu@intel.com> Acked-by: Chen Gang <gang.c.chen@intel.com> Acked-by: Yang Ailin <ailin.yang@intel.co...
528,676
27.07.2018 15:08:24
-28,800
496e40072e78cfa55b13429b7f1a5cb0a3a1c44a
HV:treewide:fix rest of violations related parameter changed Misra c required parameter should not changed in the scope of function,use local variable to replace it.
[ { "change_type": "MODIFY", "old_path": "hypervisor/arch/x86/io.c", "new_path": "hypervisor/arch/x86/io.c", "diff": "@@ -177,8 +177,9 @@ void free_io_emulation_resource(struct vm *vm)\nfree(vm->arch_vm.iobitmap[1]);\n}\n-void allow_guest_io_access(struct vm *vm, uint32_t address, uint32_t nbytes)\n+v...
C
BSD 3-Clause New or Revised License
projectacrn/acrn-hypervisor
HV:treewide:fix rest of violations related parameter changed Misra c required parameter should not changed in the scope of function,use local variable to replace it. Signed-off-by: Huihuang Shi <huihuang.shi@intel.com> Reviewed-by: Junjie Mao <junjie.mao@intel.com>
528,804
26.07.2018 11:19:17
-28,800
d40a6b9e93299b445650c8b0f5ab5e41ff7a596f
DM: add service to support auot boot UOS add acrn_guest.service, and modify makefile to install it into root fs.
[ { "change_type": "MODIFY", "old_path": "devicemodel/Makefile", "new_path": "devicemodel/Makefile", "diff": "@@ -184,6 +184,7 @@ install-samples-nuc: $(SAMPLES_NUC)\ninstall-samples-mrb: $(SAMPLES_MRB)\ninstall -D -t $(DESTDIR)/usr/share/acrn/samples/apl-mrb $^\n+ install -p -D -m 0644 ./samples/apl-...
C
BSD 3-Clause New or Revised License
projectacrn/acrn-hypervisor
DM: add service to support auot boot UOS add acrn_guest.service, and modify makefile to install it into root fs. Signed-off-by: Minggui Cao <minggui.cao@intel.com> Reviewed-by: Like Yan <like.yan@intel.com>
528,647
27.07.2018 15:49:18
-28,800
f614fcfcf8882ad194f0b8ab44ead596683ff1be
hv: debug: add CR4 to vcpu_dumpreg output CR4 valuse was missing in the output. Acked-by: Eddie Dong
[ { "change_type": "MODIFY", "old_path": "hypervisor/debug/shell_internal.c", "new_path": "hypervisor/debug/shell_internal.c", "diff": "@@ -716,9 +716,11 @@ int shell_vcpu_dumpreg(struct shell *p_shell,\n\"RFLAGS=0x%016llx\\r\\n\", cur_context->rip,\ncur_context->guest_cpu_regs.regs.rsp, cur_context->...
C
BSD 3-Clause New or Revised License
projectacrn/acrn-hypervisor
hv: debug: add CR4 to vcpu_dumpreg output CR4 valuse was missing in the output. Signed-off-by: Yan, Like <like.yan@intel.com> Acked-by: Eddie Dong <eddie.dong@intel.com>
528,783
27.07.2018 16:56:04
-28,800
99ebd926c2a2aa8cd6528351d5be5a69d09a59fa
hv:Delete serial files Delete 3 serial files Acked-by: Eddie Dong deleted: debug/serial.c deleted: debug/serial_internal.h deleted: include/debug/serial.h
[ { "change_type": "DELETE", "old_path": "hypervisor/debug/serial.c", "new_path": null, "diff": "-/*\n- * Copyright (C) 2018 Intel Corporation. All rights reserved.\n- *\n- * SPDX-License-Identifier: BSD-3-Clause\n- */\n-\n-#include <hypervisor.h>\n-#include \"serial_internal.h\"\n-\n-static struct ua...
C
BSD 3-Clause New or Revised License
projectacrn/acrn-hypervisor
hv:Delete serial files Delete 3 serial files Signed-off-by: Mingqiang Chi <mingqiang.chi@intel.com> Acked-by: Eddie Dong <eddie.dong@intel.com> deleted: debug/serial.c deleted: debug/serial_internal.h deleted: include/debug/serial.h
528,747
30.07.2018 10:24:44
25,200
9c3d77e4b906afb3db0caa0ade85d5641a72074e
doc: tweek known-issues pattern for hypercall API
[ { "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: tweek known-issues pattern for hypercall API Signed-off-by: David B. Kinder <david.b.kinder@intel.com>
528,747
30.07.2018 16:03:07
25,200
d4d8a128cf466a08a8f4fc25ed7f935251b1b1c8
doc: tweak formatting for :kbd: role update custom css to make kbd tag more interesting
[ { "change_type": "MODIFY", "old_path": "doc/static/acrn-custom.css", "new_path": "doc/static/acrn-custom.css", "diff": "@@ -133,3 +133,24 @@ th,td {\ncol.option {\nwidth: 25%;\n}\n+\n+/* tweak format for <kbd> (:kbd:`F10`) */\n+kbd\n+{\n+ -moz-border-radius:3px;\n+ -moz-box-shadow:0 1px 0 rgba(0,0,0...
C
BSD 3-Clause New or Revised License
projectacrn/acrn-hypervisor
doc: tweak formatting for :kbd: role update custom css to make kbd tag more interesting Signed-off-by: David B. Kinder <david.b.kinder@intel.com>
528,725
25.07.2018 18:33:52
-28,800
26ab2c9146ef997463a6e60ab1ca09d94c042098
HV: io: move MMIO handler registration to io.c This patch solely moves MMIO handler registration APIs from ept.c to io.c as it is related more to I/O request handling. Acked-by: Eddie Dong
[ { "change_type": "MODIFY", "old_path": "hypervisor/arch/x86/ept.c", "new_path": "hypervisor/arch/x86/ept.c", "diff": "@@ -189,75 +189,6 @@ bool is_ept_supported(void)\nreturn status;\n}\n-int register_mmio_emulation_handler(struct vm *vm,\n- hv_mem_io_handler_t read_write, uint64_t start,\n- uint64_...
C
BSD 3-Clause New or Revised License
projectacrn/acrn-hypervisor
HV: io: move MMIO handler registration to io.c This patch solely moves MMIO handler registration APIs from ept.c to io.c as it is related more to I/O request handling. Signed-off-by: Junjie Mao <junjie.mao@intel.com> Acked-by: Eddie Dong <eddie.dong@intel.com>
528,725
27.07.2018 19:50:44
-28,800
941eb9db02efd6b46dfb93208d110f3810f0714c
HV: io: move I/O emulation post-work to io.c There are some functions for the post work of I/O emulation. This patch moves these functions to io.c for clarity. No functional change introduced. Acked-by: Eddie Dong
[ { "change_type": "MODIFY", "old_path": "hypervisor/arch/x86/io.c", "new_path": "hypervisor/arch/x86/io.c", "diff": "@@ -107,6 +107,68 @@ int32_t dm_emulate_mmio_post(struct vcpu *vcpu)\nreturn emulate_mmio_post(vcpu, io_req);\n}\n+static void complete_ioreq(struct vcpu *vcpu)\n+{\n+ union vhm_reques...
C
BSD 3-Clause New or Revised License
projectacrn/acrn-hypervisor
HV: io: move I/O emulation post-work to io.c There are some functions for the post work of I/O emulation. This patch moves these functions to io.c for clarity. No functional change introduced. Signed-off-by: Junjie Mao <junjie.mao@intel.com> Acked-by: Eddie Dong <eddie.dong@intel.com>
528,702
30.07.2018 09:42:51
0
8ed98d33b7b532caed1a60076fdb6edfe76180b4
DM: fix make install issue in auto boot UOS service fix make install issue
[ { "change_type": "MODIFY", "old_path": "devicemodel/Makefile", "new_path": "devicemodel/Makefile", "diff": "@@ -184,6 +184,7 @@ install-samples-nuc: $(SAMPLES_NUC)\ninstall-samples-mrb: $(SAMPLES_MRB)\ninstall -D -t $(DESTDIR)/usr/share/acrn/samples/apl-mrb $^\n+ install -d $(DESTDIR)/usr/lib/system...
C
BSD 3-Clause New or Revised License
projectacrn/acrn-hypervisor
DM: fix make install issue in auto boot UOS service fix make install issue Signed-off-by: Nanlin Xie <nanlin.xie@intel.com>
528,709
30.07.2018 10:28:34
-28,800
52fe9f419fd5a4d6e399e7eb8f2835b44b162342
hv: use macro instead of specify number use macro instead of specify number Acked-by: Eddie Dong
[ { "change_type": "MODIFY", "old_path": "hypervisor/arch/x86/guest/guest.c", "new_path": "hypervisor/arch/x86/guest/guest.c", "diff": "@@ -458,7 +458,7 @@ void init_e820(void)\n(HPA2HVA((uint64_t)boot_regs[1]));\npr_info(\"Multiboot info detected\\n\");\n- if ((mbi->mi_flags & 0x40U) != 0U) {\n+ if (...
C
BSD 3-Clause New or Revised License
projectacrn/acrn-hypervisor
hv: use macro instead of specify number use macro instead of specify number Signed-off-by: Wei Liu <weix.w.liu@intel.com> Acked-by: Eddie Dong <eddie.dong@intel.com>
528,732
30.07.2018 09:43:08
-28,800
87a4abdd9d45cf29389f37a478acc943048bd987
tools: acrn-crashlog: fix build warnings with gcc8.1.1 This patch is to fix the build warning with gcc8.1.1. Most of them are warnings for buffer overflow from snprintf and strncpy.
[ { "change_type": "MODIFY", "old_path": "tools/acrn-crashlog/acrnprobe/history.c", "new_path": "tools/acrn-crashlog/acrnprobe/history.c", "diff": "@@ -56,10 +56,10 @@ static void entry_to_history_line(struct history_entry *entry,\nnewline[0] = 0;\nif (entry->log != NULL) {\nchar *ptr;\n- char tmp[MAX...
C
BSD 3-Clause New or Revised License
projectacrn/acrn-hypervisor
tools: acrn-crashlog: fix build warnings with gcc8.1.1 This patch is to fix the build warning with gcc8.1.1. Most of them are warnings for buffer overflow from snprintf and strncpy. Signed-off-by: CHEN Gang <gang.c.chen@intel.com> Reviewed-by: Zhi Jin <zhi.jin@intel.com> Reviewed-by: Liu, Xinwu <xinwu.liu@intel.com> ...
528,731
31.07.2018 00:09:10
-28,800
50af102872eee007d7039b0b6f0309760421f120
dm: bios: update vSBL binary to v0.8 Update vSBL with the following new features: Support watchdog status report when boot. Update vFastboot version to 0.8 Add a changelog file. Add a md5sum file of vSBL images.
[ { "change_type": "ADD", "old_path": null, "new_path": "devicemodel/bios/MD5SUM", "diff": "+71b784a06f75243e3367ff8aa2ecc0af VSBL.bin\n+e4a3367268bf89d8a1aa209dd2c6ecb9 VSBL_debug.bin\n" }, { "change_type": "MODIFY", "old_path": "devicemodel/bios/VSBL.bin", "new_path": "devicemodel/bi...
C
BSD 3-Clause New or Revised License
projectacrn/acrn-hypervisor
dm: bios: update vSBL binary to v0.8 Update vSBL with the following new features: Support watchdog status report when boot. Update vFastboot version to 0.8 Add a changelog file. Add a md5sum file of vSBL images. Signed-off-by: Binbin Wu <binbin.wu@intel.com>
528,747
30.07.2018 10:18:52
25,200
014bef6fecae010fe4c050b843a54a68295609e4
doc: add virtio-console HLD document transcode, review, and publish virtio-console developer-guides doc
[ { "change_type": "ADD", "old_path": "doc/developer-guides/images/virtio-console-arch.png", "new_path": "doc/developer-guides/images/virtio-console-arch.png", "diff": "Binary files /dev/null and b/doc/developer-guides/images/virtio-console-arch.png differ\n" }, { "change_type": "MODIFY", ...
C
BSD 3-Clause New or Revised License
projectacrn/acrn-hypervisor
doc: add virtio-console HLD document transcode, review, and publish virtio-console developer-guides doc Signed-off-by: David B. Kinder <david.b.kinder@intel.com>
528,747
30.07.2018 16:05:53
25,200
6d2553532ad35f07e5fddc20145655deafd23d09
doc: fix doc errors from acrn_vhm_mm.h API changes API changes to acrn-kernel/include/linux/vhm/acrn_vhm_mm.h in renamed functions that were referenced in the GTG-g_api.rst document, causing the documentation build to fail.
[ { "change_type": "MODIFY", "old_path": "doc/api/GVT-g_api.rst", "new_path": "doc/api/GVT-g_api.rst", "diff": "@@ -77,11 +77,9 @@ responses to user space modules, notified by vIRQ injections.\n:functions: acrn_hpa2gpa\nmap_guest_phys\nunmap_guest_phys\n- set_mmio_map\n- unset_mmio_map\n-\n-.. kernel-...
C
BSD 3-Clause New or Revised License
projectacrn/acrn-hypervisor
doc: fix doc errors from acrn_vhm_mm.h API changes API changes to acrn-kernel/include/linux/vhm/acrn_vhm_mm.h in https://github.com/projectacrn/acrn-kernel/pull/48 renamed functions that were referenced in the GTG-g_api.rst document, causing the documentation build to fail. Signed-off-by: David B. Kinder <david.b.kin...
528,747
31.07.2018 11:54:09
25,200
ce7257e12ea0f35fa17243445cd1a7f40986a2dc
doc: tweak logo href to projectacrn.org Have the logo link to the project site rather than the doc site
[ { "change_type": "MODIFY", "old_path": "doc/conf.py", "new_path": "doc/conf.py", "diff": "@@ -208,6 +208,7 @@ html_static_path = ['static']\ndef setup(app):\napp.add_stylesheet(\"acrn-custom.css\")\n+ app.add_javascript(\"acrn-custom.js\")\n# Custom sidebar templates, must be a dictionary that maps ...
C
BSD 3-Clause New or Revised License
projectacrn/acrn-hypervisor
doc: tweak logo href to projectacrn.org Have the logo link to the project site rather than the doc site Signed-off-by: David B. Kinder <david.b.kinder@intel.com>