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,658 | 11.03.2019 17:32:46 | -28,800 | 0fb21cfa4a8c57f344e5ddd255bea41380a4ed29 | Tools: Acrnd fix reporting unnecessary error on NUC and UP2
The boards without IOC don't need to call get_sos_wakeup_reason function.
The HW IOC can be detected in runtime,via checking "/dev/cbc-early-signals" node.
Acked-by: Yan, Like | [
{
"change_type": "MODIFY",
"old_path": "tools/acrn-manager/acrnd.c",
"new_path": "tools/acrn-manager/acrnd.c",
"diff": "@@ -40,6 +40,7 @@ static pthread_mutex_t work_mutex = PTHREAD_MUTEX_INITIALIZER;\nstatic pthread_mutex_t acrnd_stop_mutex = PTHREAD_MUTEX_INITIALIZER;\nstatic unsigned int acrnd_st... | C | BSD 3-Clause New or Revised License | projectacrn/acrn-hypervisor | Tools: Acrnd fix reporting unnecessary error on NUC and UP2
The boards without IOC don't need to call get_sos_wakeup_reason function.
The HW IOC can be detected in runtime,via checking "/dev/cbc-early-signals" node.
Tracked-On:#1996
Signed-off-by: liuyonggang <yonggangx.liu@intel.com>
Acked-by: Yan, Like <like.yan@in... |
528,786 | 15.03.2019 10:21:21 | -28,800 | 21d3dc68635177ab622844a89a15c30d2bd25387 | hv: seed: refine header file
1. move seed_info structure from trusty.h to seed.h
2. replace "#include <hypervisor.h>" with necessary including headers
in seed.c/seed_abl.c/seed_sbl.c
Acked-by: Eddie Dong | [
{
"change_type": "MODIFY",
"old_path": "hypervisor/arch/x86/seed/seed.c",
"new_path": "hypervisor/arch/x86/seed/seed.c",
"diff": "*\n* SPDX-License-Identifier: BSD-3-Clause\n*/\n-\n-#include <hypervisor.h>\n+#include <types.h>\n+#include <cpu.h>\n+#include <pgtable.h>\n+#include <rtl.h>\n+#include <... | C | BSD 3-Clause New or Revised License | projectacrn/acrn-hypervisor | hv: seed: refine header file
1. move seed_info structure from trusty.h to seed.h
2. replace "#include <hypervisor.h>" with necessary including headers
in seed.c/seed_abl.c/seed_sbl.c
Tracked-On: #2777
Signed-off-by: Qi Yadong <yadong.qi@intel.com>
Acked-by: Eddie Dong <eddie.dong@intel.com> |
528,772 | 15.03.2019 22:56:17 | -28,800 | cd360de4aaa73fb776d13b3941e73b7ac41e1461 | hv: fix wrong comment message about CLOS usage in vm config
VM use CLOS when set CLOS_REQUIRED in guest flags of vm_config. The
wrong comment is 'if guest_flags has CAT_ENABLED', and should be fixed
as 'if guest_flags has CLOS_REQUIRED' | [
{
"change_type": "MODIFY",
"old_path": "hypervisor/include/arch/x86/vm_config.h",
"new_path": "hypervisor/include/arch/x86/vm_config.h",
"diff": "@@ -57,7 +57,7 @@ struct acrn_vm_config {\nuint16_t pci_ptdev_num; /* indicate how many PCI PT devices in VM */\nstruct acrn_vm_pci_ptdev_config *pci_ptde... | C | BSD 3-Clause New or Revised License | projectacrn/acrn-hypervisor | hv: fix wrong comment message about CLOS usage in vm config
VM use CLOS when set CLOS_REQUIRED in guest flags of vm_config. The
wrong comment is 'if guest_flags has CAT_ENABLED', and should be fixed
as 'if guest_flags has CLOS_REQUIRED'
Tracked-On: #2462
Signed-off-by: Tao Yuhong <yuhong.tao@intel.com> |
528,731 | 15.03.2019 12:00:24 | -28,800 | 7669a76f95a2aae72022c654f7b6c000659afc95 | dm: passthru: pass pbdf when reset msi/msix interrupt
Physcial bdf is needed in hypervisor to find the right pci dev. | [
{
"change_type": "MODIFY",
"old_path": "devicemodel/core/vmmapi.c",
"new_path": "devicemodel/core/vmmapi.c",
"diff": "@@ -541,7 +541,7 @@ vm_set_ptdev_msix_info(struct vmctx *ctx, struct ic_ptdev_irq *ptirq)\n}\nint\n-vm_reset_ptdev_msix_info(struct vmctx *ctx, uint16_t virt_bdf,\n+vm_reset_ptdev_ms... | C | BSD 3-Clause New or Revised License | projectacrn/acrn-hypervisor | dm: passthru: pass pbdf when reset msi/msix interrupt
Physcial bdf is needed in hypervisor to find the right pci dev.
Tracked-On: #2788
Signed-off-by: Binbin Wu <binbin.wu@intel.com>
Reviewed-by: Jason Chen CJ <jason.cj.chen@intel.com> |
528,654 | 15.03.2019 23:23:36 | -28,800 | c018b853e964b6605c10cfeab4a66ab657d383c6 | hv: vmtrr: hide mtrr if hide_mtrr is true
Now we only configure "hide MTRR" explicitly to false for SOS. For other VMs,
we don't configure it which means hide_mtrr is false by default.
And remove global config MTRR_ENABLED | [
{
"change_type": "MODIFY",
"old_path": "hypervisor/arch/x86/Kconfig",
"new_path": "hypervisor/arch/x86/Kconfig",
"diff": "@@ -274,10 +274,6 @@ config GPU_SBDF\n00:02.0 in DRHD segment 0, this SBDF would be (0 << 16) | (0 << 8) |\n(2 << 3) | (0 << 0), i.e. 0x00000010.\n-config MTRR_ENABLED\n- bool \"... | C | BSD 3-Clause New or Revised License | projectacrn/acrn-hypervisor | hv: vmtrr: hide mtrr if hide_mtrr is true
Now we only configure "hide MTRR" explicitly to false for SOS. For other VMs,
we don't configure it which means hide_mtrr is false by default.
And remove global config MTRR_ENABLED
Tracked-On: #1842
Signed-off-by: Li, Fei1 <fei1.li@intel.com> |
528,654 | 16.03.2019 02:39:44 | -28,800 | 79cfb1cf58a58f11fe6438405cddc3f552146ad8 | hv: vmconfig: format guest flag with prefix GUEST_FLAG_
To make the code more readable. | [
{
"change_type": "MODIFY",
"old_path": "hypervisor/arch/x86/configs/apl-mrb/partition_config.h",
"new_path": "hypervisor/arch/x86/configs/apl-mrb/partition_config.h",
"diff": "#define VM0_CONFIG_NAME \"PRE-LAUNCHED VM1 for APL-MRB\"\n#define VM0_CONFIG_TYPE PRE_LAUNCHED_VM\n#define VM0_CONFIG_PCPU_B... | C | BSD 3-Clause New or Revised License | projectacrn/acrn-hypervisor | hv: vmconfig: format guest flag with prefix GUEST_FLAG_
To make the code more readable.
Tracked-On: #1842
Signed-off-by: Li, Fei1 <fei1.li@intel.com> |
528,799 | 14.03.2019 14:28:11 | 25,200 | b2b1a278f055c706da2c8588d823e1b94fba53e0 | HV: remove intercepted_gpa and intercepted_size from struct pci_msix
No need to use these 2 variables as global (per pci_misx), can simply use local
variables in code instead.
Acked-by: Eddie Dong | [
{
"change_type": "MODIFY",
"old_path": "hypervisor/dm/vpci/msix.c",
"new_path": "hypervisor/dm/vpci/msix.c",
"diff": "@@ -376,11 +376,8 @@ static int32_t vmsix_init_helper(struct pci_vdev *vdev)\n/* The lower boundary of the 4KB aligned address range for MSI-X table */\naddr_lo = round_page_down(msi... | C | BSD 3-Clause New or Revised License | projectacrn/acrn-hypervisor | HV: remove intercepted_gpa and intercepted_size from struct pci_msix
No need to use these 2 variables as global (per pci_misx), can simply use local
variables in code instead.
Tracked-On: #2534
Signed-off-by: dongshen <dongsheng.x.zhang@intel.com>
Acked-by: Eddie Dong <eddie.dong@intel.com> |
528,799 | 14.03.2019 14:42:56 | 25,200 | eb4f46987a815b1e034f798c0753199ee67ec03b | HV: add const qualifier for the deinit vdev op functions
This is to fix the following misra c violation:
Pointer param should be declared pointer to const. : vdev
Acked-by: Eddie Dong | [
{
"change_type": "MODIFY",
"old_path": "hypervisor/dm/vpci/hostbridge.c",
"new_path": "hypervisor/dm/vpci/hostbridge.c",
"diff": "@@ -86,7 +86,7 @@ int32_t vdev_hostbridge_init(struct pci_vdev *vdev)\nreturn 0;\n}\n-int32_t vdev_hostbridge_deinit(__unused struct pci_vdev *vdev)\n+int32_t vdev_hostbr... | C | BSD 3-Clause New or Revised License | projectacrn/acrn-hypervisor | HV: add const qualifier for the deinit vdev op functions
This is to fix the following misra c violation:
Pointer param should be declared pointer to const. : vdev
Tracked-On: #2534
Signed-off-by: dongshen <dongsheng.x.zhang@intel.com>
Acked-by: Eddie Dong <eddie.dong@intel.com> |
528,786 | 18.03.2019 12:11:53 | -28,800 | 1b79f28efe9c4a2c28af54db2d143ca5f57a092f | hv: update CR0/CR4 on demand in run_vcpu()
Suppose run_ctx.cr0/cr4 are correct when do world switching, so call
vcpu_set_cr0/cr4() to update cr0/cr4 directly before resume to guest.
This design is only for trusty world switching.
Acked-by: Eddie Dong | [
{
"change_type": "MODIFY",
"old_path": "hypervisor/arch/x86/guest/vcpu.c",
"new_path": "hypervisor/arch/x86/guest/vcpu.c",
"diff": "@@ -432,6 +432,19 @@ int32_t run_vcpu(struct acrn_vcpu *vcpu)\nif (bitmap_test_and_clear_lock(CPU_REG_RFLAGS, &vcpu->reg_updated))\nexec_vmwrite(VMX_GUEST_RFLAGS, ctx->... | C | BSD 3-Clause New or Revised License | projectacrn/acrn-hypervisor | hv: update CR0/CR4 on demand in run_vcpu()
Suppose run_ctx.cr0/cr4 are correct when do world switching, so call
vcpu_set_cr0/cr4() to update cr0/cr4 directly before resume to guest.
This design is only for trusty world switching.
Tracked-On: #2773
Signed-off-by: Qi Yadong <yadong.qi@intel.com>
Acked-by: Eddie Dong <e... |
528,794 | 18.03.2019 10:11:58 | -28,800 | ca6e3411475ec64d2144b2cc68010766b7a4bb22 | HV: add vrtc for sharing mode
Previously vrtc is for partition mode only, now enable it for sharing mode;
Acked-by: Eddie Dong | [
{
"change_type": "MODIFY",
"old_path": "hypervisor/Makefile",
"new_path": "hypervisor/Makefile",
"diff": "@@ -215,6 +215,7 @@ endif\nC_SRCS += hw/pci.c\nC_SRCS += dm/vpic.c\n+C_SRCS += dm/vrtc.c\nC_SRCS += dm/vioapic.c\nC_SRCS += dm/vpci/vdev.c\nC_SRCS += dm/vpci/vpci.c\n@@ -223,7 +224,6 @@ C_SRCS +... | C | BSD 3-Clause New or Revised License | projectacrn/acrn-hypervisor | HV: add vrtc for sharing mode
Previously vrtc is for partition mode only, now enable it for sharing mode;
Tracked-On: #2291
Signed-off-by: Victor Sun <victor.sun@intel.com>
Acked-by: Eddie Dong <eddie.dong@intel.com> |
528,654 | 19.03.2019 22:58:33 | -28,800 | e131d7059a8242529bd4a75b436ee1ec81725ab5 | hv: vmconfig: minor fix about regression of commit 79cfb1
commit 79cfb1 forgot to add GUEST_FLAG_ prefix for LAPIC_PASSTHROUGH
in file arch/x86/configs/dnv-cb2/partition_config.h | [
{
"change_type": "MODIFY",
"old_path": "hypervisor/arch/x86/configs/dnv-cb2/partition_config.h",
"new_path": "hypervisor/arch/x86/configs/dnv-cb2/partition_config.h",
"diff": "#define VM0_CONFIG_NAME \"PRE-LAUNCHED VM1 for DNV-CB2\"\n#define VM0_CONFIG_TYPE PRE_LAUNCHED_VM\n#define VM0_CONFIG_PCPU_B... | C | BSD 3-Clause New or Revised License | projectacrn/acrn-hypervisor | hv: vmconfig: minor fix about regression of commit 79cfb1
commit 79cfb1 forgot to add GUEST_FLAG_ prefix for LAPIC_PASSTHROUGH
in file arch/x86/configs/dnv-cb2/partition_config.h
Tracked-On: #1842
Signed-off-by: Li, Fei1 <fei1.li@intel.com> |
528,801 | 15.03.2019 10:51:06 | -28,800 | 90b49375e45a00701ad93027593739764ea5d8ee | doc: add rules related to implementation-specific behaviors
This patch adds some rules related to implementation-specific
behaviors. | [
{
"change_type": "MODIFY",
"old_path": "doc/developer-guides/coding_guidelines.rst",
"new_path": "doc/developer-guides/coding_guidelines.rst",
"diff": "@@ -2665,8 +2665,8 @@ ID-07: Name defined by developers shall not start with underscore\n===========================================================... | C | BSD 3-Clause New or Revised License | projectacrn/acrn-hypervisor | doc: add rules related to implementation-specific behaviors
This patch adds some rules related to implementation-specific
behaviors.
Tracked-On: #861
Signed-off-by: Shiqing Gao <shiqing.gao@intel.com> |
528,728 | 19.03.2019 11:43:30 | -3,600 | 657ac4977216cf4c5cec8a7fadf3c4a0cf3545c1 | doc: add rdmsr/wrmsr to the "ACRN Shell Commands" documentation
Add 'rdmsr' and 'wrmsr' to the "ACRN Shell Commands" documentation. Both are
already described via the interactive help command but not (yet) included in our
on-line documentation. | [
{
"change_type": "MODIFY",
"old_path": "doc/user-guides/acrn-shell.rst",
"new_path": "doc/user-guides/acrn-shell.rst",
"diff": "@@ -44,3 +44,9 @@ The ACRN hypervisor shell supports the following commands:\n- Display the CPUID leaf [subleaf], in hexadecimal\n* - reboot\n- Trigger a system reboot (imm... | C | BSD 3-Clause New or Revised License | projectacrn/acrn-hypervisor | doc: add rdmsr/wrmsr to the "ACRN Shell Commands" documentation
Add 'rdmsr' and 'wrmsr' to the "ACRN Shell Commands" documentation. Both are
already described via the interactive help command but not (yet) included in our
on-line documentation.
Tracked-On: #2684
Signed-off-by: Geoffroy Van Cutsem <geoffroy.vancutsem@... |
528,799 | 06.03.2019 15:08:14 | 28,800 | aa1ee9424c7f5be706e7aadc4eff4ceb69a5b32b | HV: declare and export vpci ops functions as global instead of static local
In preparation for vpci ops function removal, so that these functions can be
called directly instead by vpci code
Acked-by: Eddie Dong | [
{
"change_type": "MODIFY",
"old_path": "hypervisor/dm/vpci/partition_mode.c",
"new_path": "hypervisor/dm/vpci/partition_mode.c",
"diff": "@@ -91,7 +91,7 @@ static void partition_mode_pdev_init(struct pci_vdev *vdev, union pci_bdf pbdf)\n* @pre vm != NULL\n* @pre vm->vpci.pci_vdev_cnt <= CONFIG_MAX_P... | C | BSD 3-Clause New or Revised License | projectacrn/acrn-hypervisor | HV: declare and export vpci ops functions as global instead of static local
In preparation for vpci ops function removal, so that these functions can be
called directly instead by vpci code
Tracked-On: #2534
Signed-off-by: dongshen <dongsheng.x.zhang@intel.com>
Acked-by: Eddie Dong <eddie.dong@intel.com> |
528,799 | 06.03.2019 15:24:17 | 28,800 | a403128a46b70f2f06809618d4acb8a45ad0a293 | HV: remove vpci ops
Do not call vpci ops, call the corresponding sharing mode/partition functions
directly instead.
Remove struct vpci_ops from vpci.h
Acked-by: Eddie Dong | [
{
"change_type": "MODIFY",
"old_path": "hypervisor/dm/vpci/partition_mode.c",
"new_path": "hypervisor/dm/vpci/partition_mode.c",
"diff": "@@ -172,10 +172,3 @@ void partition_mode_cfgwrite(struct acrn_vpci *vpci, union pci_bdf vbdf,\n}\n}\n}\n-\n-const struct vpci_ops partition_mode_vpci_ops = {\n- .... | C | BSD 3-Clause New or Revised License | projectacrn/acrn-hypervisor | HV: remove vpci ops
Do not call vpci ops, call the corresponding sharing mode/partition functions
directly instead.
Remove struct vpci_ops from vpci.h
Tracked-On: #2534
Signed-off-by: dongshen <dongsheng.x.zhang@intel.com>
Acked-by: Eddie Dong <eddie.dong@intel.com> |
528,799 | 06.03.2019 16:24:52 | 28,800 | 026250fd8ae1cf1d5d31ea9ec7cc93b63b0f8428 | HV: centralize the pci cfg read/write sanity checking code
Do the pci cfg read/write sanity checking before the request is dispatched to
submodules, so that the checking is centralized rather than scattered across multiple
files/places
Acked-by: Eddie Dong | [
{
"change_type": "MODIFY",
"old_path": "hypervisor/dm/vpci/hostbridge.c",
"new_path": "hypervisor/dm/vpci/hostbridge.c",
"diff": "@@ -91,12 +91,6 @@ void vdev_hostbridge_deinit(__unused const struct pci_vdev *vdev)\nint32_t vdev_hostbridge_cfgread(const struct pci_vdev *vdev, uint32_t offset,\nuint3... | C | BSD 3-Clause New or Revised License | projectacrn/acrn-hypervisor | HV: centralize the pci cfg read/write sanity checking code
Do the pci cfg read/write sanity checking before the request is dispatched to
submodules, so that the checking is centralized rather than scattered across multiple
files/places
Tracked-On: #2534
Signed-off-by: dongshen <dongsheng.x.zhang@intel.com>
Acked-by: ... |
528,731 | 19.03.2019 10:55:52 | -28,800 | f32b59d73d9505073e8321eab1eafb68c6de6f5a | hv: disable mpx capability for guest
This patch hide Memory Protection Extention (MPX) capability from guest.
vCPUID change:
Clear cpuid.07H.0.ebx[14]
Clear cpuid.0DH.0.eax[4:3]
vMSR change:
Add MSR_IA32_BNDCFGS to un-supported MSR array.
XCR0[4:3] is not allowed to set by guest.
Acked-by: Eddie Dong | [
{
"change_type": "MODIFY",
"old_path": "hypervisor/arch/x86/guest/vcpuid.c",
"new_path": "hypervisor/arch/x86/guest/vcpuid.c",
"diff": "@@ -122,6 +122,9 @@ static void init_vcpuid_entry(uint32_t leaf, uint32_t subleaf,\nentry->ebx &= ~CPUID_EBX_SGX;\nentry->ecx &= ~CPUID_ECX_SGX_LC;\n+ /* mask MPX *... | C | BSD 3-Clause New or Revised License | projectacrn/acrn-hypervisor | hv: disable mpx capability for guest
This patch hide Memory Protection Extention (MPX) capability from guest.
- vCPUID change:
Clear cpuid.07H.0.ebx[14]
Clear cpuid.0DH.0.eax[4:3]
- vMSR change:
Add MSR_IA32_BNDCFGS to un-supported MSR array.
- XCR0[4:3] is not allowed to set by guest.
Tracked-On: #2821
Signed... |
528,728 | 19.03.2019 12:10:06 | -3,600 | 410c76ac18685ee558227dd8e84513f735580240 | hv: enhance ACRN shell interactive help
Enhance the ACRN shell interactive help. It is close to a 1-1 mapping with
the online documentation but cut a little shorter in various places to make it
more user-friendly when using it from the ACRN console. | [
{
"change_type": "MODIFY",
"old_path": "hypervisor/debug/shell_priv.h",
"new_path": "hypervisor/debug/shell_priv.h",
"diff": "@@ -36,62 +36,65 @@ struct shell {\n/* Shell Command list with parameters and help description */\n#define SHELL_CMD_HELP \"help\"\n#define SHELL_CMD_HELP_PARAM NULL\n-#defin... | C | BSD 3-Clause New or Revised License | projectacrn/acrn-hypervisor | hv: enhance ACRN shell interactive help
Enhance the ACRN shell interactive help. It is close to a 1-1 mapping with
the online documentation but cut a little shorter in various places to make it
more user-friendly when using it from the ACRN console.
Tracked-On: #2829
Signed-off-by: Geoffroy Van Cutsem <geoffroy.vancu... |
528,766 | 15.03.2019 01:27:32 | 25,200 | 890d40226b1796875af9c65f7595cce491e2c25a | dm: remove GUEST_CFG_OFFSET
Per commit GUEST_CFG_OFFSET is
no longer needed.
Acked-by: Yin Fengwei | [
{
"change_type": "MODIFY",
"old_path": "devicemodel/include/public/acrn_common.h",
"new_path": "devicemodel/include/public/acrn_common.h",
"diff": "@@ -448,18 +448,6 @@ struct acrn_vm_pci_msix_remap {\nuint32_t vector_ctl;\n} __aligned(8);\n-/**\n- * @brief The guest config pointer offset.\n- *\n- *... | C | BSD 3-Clause New or Revised License | projectacrn/acrn-hypervisor | dm: remove GUEST_CFG_OFFSET
Per commit dbd9ab07e155693a850d14ba7c4dc6392d310d06, GUEST_CFG_OFFSET is
no longer needed.
Tracked-On: #2792
Signed-off-by: Peter Fang <peter.fang@intel.com>
Reviewed-by: Eddie Dong <eddie.dong@intel.com>
Acked-by: Yin Fengwei <fengwei.yin@intel.com> |
528,766 | 15.03.2019 17:19:54 | 25,200 | 82e42cfa2a0825083aee77d88aa7af78a56e8c65 | dm: clean up mem.c
use strncmp() instead of comparing string pointers to make no
assumptions about the toolchain's literal pool
re-shuffle the functions so they're consistent with mem.h
make non-public functions static
increase code re-use
Acked-by: Yin Fengwei | [
{
"change_type": "MODIFY",
"old_path": "devicemodel/core/mem.c",
"new_path": "devicemodel/core/mem.c",
"diff": "#include <stdio.h>\n#include <stdlib.h>\n#include <assert.h>\n+#include <string.h>\n#include <pthread.h>\n#include \"vmm.h\"\n#include \"mem.h\"\n#include \"tree.h\"\n+#define MEMNAMESZ (8... | C | BSD 3-Clause New or Revised License | projectacrn/acrn-hypervisor | dm: clean up mem.c
- use strncmp() instead of comparing string pointers to make no
assumptions about the toolchain's literal pool
- re-shuffle the functions so they're consistent with mem.h
- make non-public functions static
- increase code re-use
Tracked-On: #2792
Signed-off-by: Peter Fang <peter.fang@intel.com>
R... |
528,766 | 15.03.2019 17:22:50 | 25,200 | 263b486a098e4d758a57e8e38d9d47b0fa25d989 | dm: pci: add MMIO fallback handler for 64-bit PCI hole
Add the PCI MMIO fallback handler to the 64-bit PCI host aperture, so
that the guest won't inadvertently crash acrn-dm due to unhandled MMIO.
Acked-by: Yin Fengwei | [
{
"change_type": "MODIFY",
"old_path": "devicemodel/hw/pci/core.c",
"new_path": "devicemodel/hw/pci/core.c",
"diff": "@@ -1351,7 +1351,8 @@ init_pci(struct vmctx *ctx)\n* [lowmem_limit, 0xE0000000) PCI hole (32-bit BAR allocation)\n* [0xE0000000, 0xF0000000) PCI extended config window\n* [0xF0000000... | C | BSD 3-Clause New or Revised License | projectacrn/acrn-hypervisor | dm: pci: add MMIO fallback handler for 64-bit PCI hole
Add the PCI MMIO fallback handler to the 64-bit PCI host aperture, so
that the guest won't inadvertently crash acrn-dm due to unhandled MMIO.
Tracked-On: #2792
Signed-off-by: Peter Fang <peter.fang@intel.com>
Reviewed-by: Eddie Dong <eddie.dong@intel.com>
Acked-b... |
528,766 | 15.03.2019 01:59:56 | 25,200 | 643513f3d484454fc5d0ca627e3b94da952c7198 | dm: update UOS default E820 map
fix comments
update the first RAM region to [0, 0xA0000) because [0xA0000, 1MB) is
designated as video memory and ROM area
use 2GB as lowmem_limit
Acked-by: Yin Fengwei | [
{
"change_type": "MODIFY",
"old_path": "devicemodel/core/sw_load_common.c",
"new_path": "devicemodel/core/sw_load_common.c",
"diff": "@@ -50,30 +50,29 @@ static char bootargs[STR_LEN];\n* map[0]:0~ctx->lowmem_limit & map[2]:4G~ctx->highmem for RAM\n* ctx->highmem = request_memory_size - ctx->lowmem_... | C | BSD 3-Clause New or Revised License | projectacrn/acrn-hypervisor | dm: update UOS default E820 map
- fix comments
- update the first RAM region to [0, 0xA0000) because [0xA0000, 1MB) is
designated as video memory and ROM area
- use 2GB as lowmem_limit
Tracked-On: #2792
Signed-off-by: Peter Fang <peter.fang@intel.com>
Reviewed-by: Eddie Dong <eddie.dong@intel.com>
Acked-by: Yin Fen... |
528,766 | 15.03.2019 02:23:55 | 25,200 | 4dd1331072ee0b7b2b60092f322ddc10aa4d8881 | dm: remove empty UOS E820 entries
While building the E820 map for UOS, [lowmem, lowmem_limit) and [5GB,
highmem) can be empty. Remove the empty entries if they appear.
Acked-by: Yin Fengwei | [
{
"change_type": "MODIFY",
"old_path": "devicemodel/core/sw_load_common.c",
"new_path": "devicemodel/core/sw_load_common.c",
"diff": "@@ -211,34 +211,45 @@ add_e820_entry(struct e820_entry *e820, int len, uint64_t start,\nuint32_t\nacrn_create_e820_table(struct vmctx *ctx, struct e820_entry *e820)\n... | C | BSD 3-Clause New or Revised License | projectacrn/acrn-hypervisor | dm: remove empty UOS E820 entries
While building the E820 map for UOS, [lowmem, lowmem_limit) and [5GB,
highmem) can be empty. Remove the empty entries if they appear.
Tracked-On: #2792
Signed-off-by: Peter Fang <peter.fang@intel.com>
Reviewed-by: Eddie Dong <eddie.dong@intel.com>
Acked-by: Yin Fengwei <fengwei.yin@i... |
528,786 | 20.03.2019 14:09:00 | -28,800 | e381aef220d4880c84057e82f8ec15e5512ce69e | hv: seed: remove unused seed parsing source files
Remove the unused seed parsing source files under
hypervisor/boot/sbl and related header files. | [
{
"change_type": "DELETE",
"old_path": "hypervisor/boot/sbl/abl_seed_parse.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 <types.h>\n-#include <errno.h>\n-#include <sprintf.h>\n-#i... | C | BSD 3-Clause New or Revised License | projectacrn/acrn-hypervisor | hv: seed: remove unused seed parsing source files
Remove the unused seed parsing source files under
hypervisor/boot/sbl and related header files.
Tracked-On: #2724
Signed-off-by: Qi Yadong <yadong.qi@intel.com> |
528,756 | 04.03.2019 21:10:11 | -28,800 | 9480af8d321987dc04f82d1f8194e37e491fceb5 | DM: virtio-gpio: setup two virqueues for gpio irq
There are two virtqueues for irq, one for handling the operations of
front-end irq controller and the other for triggering the interrupt.
Acked-by: Yu Wang | [
{
"change_type": "MODIFY",
"old_path": "devicemodel/hw/pci/virtio/virtio_gpio.c",
"new_path": "devicemodel/hw/pci/virtio/virtio_gpio.c",
"diff": "* +------------------+\n*/\n+/*\n+ * GPIO IRQ virtualization architecture\n+ *\n+ * SOS UOS\n+ * +-------------------------------+\n+ * | virtio GPIO medi... | C | BSD 3-Clause New or Revised License | projectacrn/acrn-hypervisor | DM: virtio-gpio: setup two virqueues for gpio irq
There are two virtqueues for irq, one for handling the operations of
front-end irq controller and the other for triggering the interrupt.
Tracked-On: #2512
Signed-off-by: Yuan Liu <yuan1.liu@intel.com>
Acked-by: Yu Wang <yu1.wang@intel.com> |
528,756 | 04.03.2019 21:23:34 | -28,800 | 92a0a399b7f410f5f89cc2931618cbcd297b4495 | DM: virtio-gpio: GPIO IRQ initialization.
add the GPIO IRQ definitions, and implement the GPIO IRQ
initialization and deinitialization.
Acked-by: Yu Wang | [
{
"change_type": "MODIFY",
"old_path": "devicemodel/hw/pci/virtio/virtio_gpio.c",
"new_path": "devicemodel/hw/pci/virtio/virtio_gpio.c",
"diff": "@@ -212,6 +212,7 @@ struct gpio_line {\nint dir; /* gpio direction */\nbool busy; /* gpio line request by kernel */\nstruct native_gpio_chip *chip; /* par... | C | BSD 3-Clause New or Revised License | projectacrn/acrn-hypervisor | DM: virtio-gpio: GPIO IRQ initialization.
add the GPIO IRQ definitions, and implement the GPIO IRQ
initialization and deinitialization.
Tracked-On: #2512
Signed-off-by: Yuan Liu <yuan1.liu@intel.com>
Acked-by: Yu Wang <yu1.wang@intel.com> |
528,756 | 05.03.2019 11:42:12 | -28,800 | d34b3ebdd0a9462751a422169689745e471c8604 | DM: virtio-gpio: emulate GPIO IRQ controller
GPIO IRQ controller emulation is used to handle level trigger and
edge trigger interrupts. Use GPIO IRQ virtqueue to handle IRQ chip
operations and GPIO event virtqueue to indicate IRQ source to UOS.
Acked-by: Yu Wang | [
{
"change_type": "MODIFY",
"old_path": "devicemodel/hw/pci/virtio/virtio_gpio.c",
"new_path": "devicemodel/hw/pci/virtio/virtio_gpio.c",
"diff": "@@ -117,6 +117,8 @@ static FILE *dbg_file;\n} \\\n} while (0)\n+#define BIT(x) (1 << (x))\n+\n/* Virtio GPIO supports maximum number of virtual gpio */\n#... | C | BSD 3-Clause New or Revised License | projectacrn/acrn-hypervisor | DM: virtio-gpio: emulate GPIO IRQ controller
GPIO IRQ controller emulation is used to handle level trigger and
edge trigger interrupts. Use GPIO IRQ virtqueue to handle IRQ chip
operations and GPIO event virtqueue to indicate IRQ source to UOS.
Tracked-On: #2512
Signed-off-by: Yuan Liu <yuan1.liu@intel.com>
Acked-by:... |
528,756 | 18.03.2019 16:44:09 | -28,800 | 83a98acb1ba974b82960a4b3a17d77d48f29b892 | DM: virtio-gpio: support reading value from IRQ descriptor
Support reading GPIO value when the GPIO switches to IRQ mode.
Acked-by: Yu Wang | [
{
"change_type": "MODIFY",
"old_path": "devicemodel/hw/pci/virtio/virtio_gpio.c",
"new_path": "devicemodel/hw/pci/virtio/virtio_gpio.c",
"diff": "@@ -250,6 +250,7 @@ struct gpio_irq_desc {\nint fd; /* read event */\nint pin; /* pin number */\nbool mask; /* mask and unmask */\n+ bool deinit; /* deini... | C | BSD 3-Clause New or Revised License | projectacrn/acrn-hypervisor | DM: virtio-gpio: support reading value from IRQ descriptor
Support reading GPIO value when the GPIO switches to IRQ mode.
Tracked-On: #2512
Signed-off-by: Yuan Liu <yuan1.liu@intel.com>
Acked-by: Yu Wang <yu1.wang@intel.com> |
528,756 | 18.03.2019 16:46:30 | -28,800 | 014e611b1478011bef588443a3979ddf884232fa | DM: virtio-gpio: add IRQ statistics
print each IRQ descriptor interrupts number and all of IRQ descriptors
interrupts when UOS requests or releases a GPIO IRQ.
Acked-by: Yu Wang | [
{
"change_type": "MODIFY",
"old_path": "devicemodel/hw/pci/virtio/virtio_gpio.c",
"new_path": "devicemodel/hw/pci/virtio/virtio_gpio.c",
"diff": "@@ -254,6 +254,7 @@ struct gpio_irq_desc {\nuint8_t level; /* level value */\nuint64_t mode; /* interrupt trigger mode */\nvoid *data; /* virtio gpio inst... | C | BSD 3-Clause New or Revised License | projectacrn/acrn-hypervisor | DM: virtio-gpio: add IRQ statistics
print each IRQ descriptor interrupts number and all of IRQ descriptors
interrupts when UOS requests or releases a GPIO IRQ.
Tracked-On: #2512
Signed-off-by: Yuan Liu <yuan1.liu@intel.com>
Acked-by: Yu Wang <yu1.wang@intel.com> |
528,756 | 05.03.2019 12:04:06 | -28,800 | 12d977284a47ed3134d025420e2cdbd5d9f27a0d | DM: virtio-gpio: export GPIO ACPI device
Add dsdt for virtio-gpio device.
Acked-by: Yu Wang | [
{
"change_type": "MODIFY",
"old_path": "devicemodel/hw/pci/virtio/virtio_gpio.c",
"new_path": "devicemodel/hw/pci/virtio/virtio_gpio.c",
"diff": "@@ -1372,12 +1372,30 @@ virtio_gpio_deinit(struct vmctx *ctx, struct pci_vdev *dev, char *opts)\nVIRTIO_GPIO_LOG_DEINIT;\n}\n+static void\n+virtio_gpio_wr... | C | BSD 3-Clause New or Revised License | projectacrn/acrn-hypervisor | DM: virtio-gpio: export GPIO ACPI device
Add dsdt for virtio-gpio device.
Tracked-On: #2512
Signed-off-by: Yuan Liu <yuan1.liu@intel.com>
Acked-by: Yu Wang <yu1.wang@intel.com> |
528,783 | 21.03.2019 14:06:22 | -28,800 | 5585084c00f878df014fd9bddbfa126f6d6755cc | hv:move 'udelay' to timer.c
move this api from misc.c to timer.c to avoid
reverse dependency, and remove misc.c | [
{
"change_type": "MODIFY",
"old_path": "hypervisor/Makefile",
"new_path": "hypervisor/Makefile",
"diff": "@@ -189,7 +189,6 @@ C_SRCS += arch/x86/guest/vmexit.c\nS_SRCS += arch/x86/guest/vmx_asm.S\nC_SRCS += arch/x86/guest/trusty.c\nC_SRCS += arch/x86/cat.c\n-C_SRCS += lib/misc.c\nC_SRCS += lib/strin... | C | BSD 3-Clause New or Revised License | projectacrn/acrn-hypervisor | hv:move 'udelay' to timer.c
-- move this api from misc.c to timer.c to avoid
reverse dependency, and remove misc.c
Tracked-On: #1842
Signed-off-by: Mingqiang Chi <mingqiang.chi@intel.com> |
528,731 | 22.03.2019 09:21:14 | -28,800 | 273381b3726825ea3b70d09ad7f2bbd66da5a1d1 | hv: vmsr: rename msr_num to msr_index in struct msr_store_entry
Rename the field msr_num to msr_index, which is more accurate,
in struct msr_store_entry. | [
{
"change_type": "MODIFY",
"old_path": "hypervisor/arch/x86/guest/vmsr.c",
"new_path": "hypervisor/arch/x86/guest/vmsr.c",
"diff": "@@ -328,9 +328,9 @@ static void intercept_x2apic_msrs(uint8_t *msr_bitmap_arg, uint32_t mode)\nstatic void init_msr_area(struct acrn_vcpu *vcpu)\n{\n- vcpu->arch.msr_ar... | C | BSD 3-Clause New or Revised License | projectacrn/acrn-hypervisor | hv: vmsr: rename msr_num to msr_index in struct msr_store_entry
Rename the field msr_num to msr_index, which is more accurate,
in struct msr_store_entry.
Tracked-On: #2834
Signed-off-by: Binbin Wu <binbin.wu@intel.com>
Reviewed-by: Eddie Dong <eddie.dong@intel.com> |
528,648 | 14.03.2019 14:01:26 | -28,800 | c47efa3f5a5cdca1ae355ea984d448e30693be7a | Add new FAQ | [
{
"change_type": "MODIFY",
"old_path": "doc/faq.rst",
"new_path": "doc/faq.rst",
"diff": "@@ -81,3 +81,69 @@ HV_RAM_SIZE is changed to 240M\nhex \"Size of the RAM region used by the hypervisor\"\ndefault 0x07800000 if PLATFORM_SBL\ndefault 0x0f000000 if PLATFORM_UEFI\n+\n+How to modify the default d... | C | BSD 3-Clause New or Revised License | projectacrn/acrn-hypervisor | Add new FAQ
Signed-off-by: wenlingz <wenling.zhang@intel.com> |
528,728 | 21.03.2019 10:00:27 | -3,600 | 904c9e291e2b966eedae4c68a1b9c061d23bfd10 | doc: add more details to the FAQ (for version 0.7)
Add more details and clarifications to the new FAQ being added for v0.7 | [
{
"change_type": "MODIFY",
"old_path": "doc/faq.rst",
"new_path": "doc/faq.rst",
"diff": "@@ -83,67 +83,65 @@ HV_RAM_SIZE is changed to 240M\ndefault 0x0f000000 if PLATFORM_UEFI\nHow to modify the default display output for a UOS?\n-*******************************************************************... | C | BSD 3-Clause New or Revised License | projectacrn/acrn-hypervisor | doc: add more details to the FAQ (for version 0.7)
Add more details and clarifications to the new FAQ being added for v0.7
Signed-off-by: Geoffroy Van Cutsem <geoffroy.vancutsem@intel.com> |
528,748 | 14.03.2019 15:07:46 | -28,800 | fddc5b91545874e93f54d8e77568ca43092da288 | doc: update UP2 sample directory name in create-up2-image.sh | [
{
"change_type": "MODIFY",
"old_path": "doc/tutorials/create-up2-images.sh",
"new_path": "doc/tutorials/create-up2-images.sh",
"diff": "@@ -46,7 +46,7 @@ create_sos_images() {\nreturn 1\n}\n- SOS_BOOTARGS_DEBUG=sos_rootfs/usr/share/acrn/samples/up2/sos_bootargs_debug.txt\n+ SOS_BOOTARGS_DEBUG=sos_ro... | C | BSD 3-Clause New or Revised License | projectacrn/acrn-hypervisor | doc: update UP2 sample directory name in create-up2-image.sh
Signed-off-by: Lei Lu <leix.lu@intel.com> |
528,715 | 18.03.2019 11:55:54 | -28,800 | 3026a372a16543725c27ade27a4f1e49f5e74adc | DOC:Update standard reference of SW design guidelines
For open source, just need to refer FuSa standard instead
of listing concrete fulfillment matrix.
Add related FuSa standard reference and remove related
fulfillment matrix.
V1-->V2:
Make reference more clear according to David'comments | [
{
"change_type": "MODIFY",
"old_path": "doc/developer-guides/sw_design_guidelines.rst",
"new_path": "doc/developer-guides/sw_design_guidelines.rst",
"diff": "@@ -77,27 +77,11 @@ below:\nArchitecture Level\n==================\n-Fulfillment to FuSa Standards\n------------------------------\n-\n-The fu... | C | BSD 3-Clause New or Revised License | projectacrn/acrn-hypervisor | DOC:Update standard reference of SW design guidelines
For open source, just need to refer FuSa standard instead
of listing concrete fulfillment matrix.
Add related FuSa standard reference and remove related
fulfillment matrix.
V1-->V2:
Make reference more clear according to David'comments
Signed-off-by: Xian... |
528,801 | 19.03.2019 13:07:58 | -28,800 | 80dc2c85a53ead189a2a8a15e9d20895b2c34478 | doc: add some rules related to language extensions
This patch adds some rules related to language extensions. | [
{
"change_type": "MODIFY",
"old_path": "doc/developer-guides/coding_guidelines.rst",
"new_path": "doc/developer-guides/coding_guidelines.rst",
"diff": "@@ -3310,3 +3310,47 @@ The number of bytes in an object is implementation-defined, according to J.3.13\nitem 2 in C99. For ACRN hypervisor, char is ... | C | BSD 3-Clause New or Revised License | projectacrn/acrn-hypervisor | doc: add some rules related to language extensions
This patch adds some rules related to language extensions.
Tracked-On: #861
Signed-off-by: Shiqing Gao <shiqing.gao@intel.com> |
528,766 | 04.03.2019 16:51:46 | 28,800 | 3d85d72fa93ac4ac4c8346bcc35bb28a659a8a53 | doc: update OVMF image location
OVMF images are now part of the source tree. | [
{
"change_type": "MODIFY",
"old_path": "doc/user-guides/acrn-dm-parameters.rst",
"new_path": "doc/user-guides/acrn-dm-parameters.rst",
"diff": "@@ -263,8 +263,9 @@ Here are descriptions for each of these ``acrn-dm`` command line parameters:\n- Open Virtual Machine Firmware (OVMF) is an EDK II based ... | C | BSD 3-Clause New or Revised License | projectacrn/acrn-hypervisor | doc: update OVMF image location
OVMF images are now part of the source tree.
Signed-off-by: Peter Fang <peter.fang@intel.com> |
528,693 | 21.03.2019 12:02:30 | 25,200 | 691468a361342ef6c34be41069e1227b6f5407f1 | HV: Remove hypervisor.h from bsp folder
Re-organize the code to remove usage of hypervisor.h from
bsp folder, without changing any functionality. | [
{
"change_type": "MODIFY",
"old_path": "hypervisor/bsp/const_dmar.c",
"new_path": "hypervisor/bsp/const_dmar.c",
"diff": "* SPDX-License-Identifier: BSD-3-Clause\n*/\n-#include <hypervisor.h>\n#include <vtd.h>\n#include <platform_acpi_info.h>\n"
},
{
"change_type": "MODIFY",
"old_path": ... | C | BSD 3-Clause New or Revised License | projectacrn/acrn-hypervisor | HV: Remove hypervisor.h from bsp folder
Re-organize the code to remove usage of hypervisor.h from
bsp folder, without changing any functionality.
Tracked-On: #2694
Signed-off-by: Arindam Roy <arindam.roy@intel.com> |
528,799 | 21.03.2019 16:40:14 | 25,200 | 1a3c9b32552d1a185a752b6f86d250316fe2c7e0 | HV: rename vpci files
Renamed 3 files:
hypervisor/dm/vpci/hostbridge.c => vhostbridge.c}
hypervisor/dm/vpci/{msi.c => vmsi.c}
hypervisor/dm/vpci/{msix.c => vmsix.c}
And change Makefile accordingly
Acked-by: Eddie Dong | [
{
"change_type": "MODIFY",
"old_path": "hypervisor/Makefile",
"new_path": "hypervisor/Makefile",
"diff": "@@ -222,11 +222,11 @@ ifeq ($(CONFIG_PARTITION_MODE),y)\nC_SRCS += dm/vmptable.c\nendif\nC_SRCS += dm/vpci/partition_mode.c\n-C_SRCS += dm/vpci/hostbridge.c\n+C_SRCS += dm/vpci/vhostbridge.c\nC_... | C | BSD 3-Clause New or Revised License | projectacrn/acrn-hypervisor | HV: rename vpci files
Renamed 3 files:
hypervisor/dm/vpci/hostbridge.c => vhostbridge.c}
hypervisor/dm/vpci/{msi.c => vmsi.c}
hypervisor/dm/vpci/{msix.c => vmsix.c}
And change Makefile accordingly
Tracked-On: #2534
Signed-off-by: dongshen <dongsheng.x.zhang@intel.com>
Acked-by: Eddie Dong <eddie.dong@intel.com> |
528,799 | 21.03.2019 16:45:57 | 25,200 | 320bf1832189de00d0ade902393594c625e3ec24 | HV: rename pci_priv.h to vpci_priv.h
Rename hypervisor/dm/vpci/{pci_priv.h => vpci_priv.h} and change the related
source code files accordingly
Acked-by: Eddie Dong | [
{
"change_type": "MODIFY",
"old_path": "hypervisor/dm/vpci/partition_mode.c",
"new_path": "hypervisor/dm/vpci/partition_mode.c",
"diff": "#include <vm.h>\n#include <logmsg.h>\n-#include \"pci_priv.h\"\n+#include \"vpci_priv.h\"\nstatic inline bool is_hostbridge(const struct pci_vdev *vdev)\n"
},
... | C | BSD 3-Clause New or Revised License | projectacrn/acrn-hypervisor | HV: rename pci_priv.h to vpci_priv.h
Rename hypervisor/dm/vpci/{pci_priv.h => vpci_priv.h} and change the related
source code files accordingly
Tracked-On: #2534
Signed-off-by: dongshen <dongsheng.x.zhang@intel.com>
Acked-by: Eddie Dong <eddie.dong@intel.com> |
528,799 | 21.03.2019 16:53:49 | 25,200 | 3be6c6593f0fbd1217909147c0c1e91adfe526e0 | HV: merge partition_mode.c and sharing_mode.c's code into vpci.c
Delete the 2 files and merge their code into vpci.c:
hypervisor/dm/vpci/partition_mode.c
hypervisor/dm/vpci/sharing_mode.c
And change the Makefile accordingly
Change PCI_PRIV_H_ to VPCI_PRIV_H_ in vpci_priv.h
Some misra c fix:
Add for functions
Add const ... | [
{
"change_type": "MODIFY",
"old_path": "hypervisor/Makefile",
"new_path": "hypervisor/Makefile",
"diff": "@@ -221,10 +221,8 @@ C_SRCS += dm/vpci/vpci.c\nifeq ($(CONFIG_PARTITION_MODE),y)\nC_SRCS += dm/vmptable.c\nendif\n-C_SRCS += dm/vpci/partition_mode.c\nC_SRCS += dm/vpci/vhostbridge.c\nC_SRCS += ... | C | BSD 3-Clause New or Revised License | projectacrn/acrn-hypervisor | HV: merge partition_mode.c and sharing_mode.c's code into vpci.c
Delete the 2 files and merge their code into vpci.c:
hypervisor/dm/vpci/partition_mode.c
hypervisor/dm/vpci/sharing_mode.c
And change the Makefile accordingly
Change PCI_PRIV_H_ to VPCI_PRIV_H_ in vpci_priv.h
Some misra c fix:
Add @pre for functions... |
528,654 | 15.03.2019 00:04:18 | -28,800 | 4a683ed10ead1c4aecddb62a8e414665877de484 | hv: vlapic: minor fix for update_msr_bitmap_x2apic_apicv
Shouldn't trap TPR since we always enable "Use TPR shadow" | [
{
"change_type": "MODIFY",
"old_path": "hypervisor/arch/x86/guest/vmsr.c",
"new_path": "hypervisor/arch/x86/guest/vmsr.c",
"diff": "@@ -640,10 +640,11 @@ void update_msr_bitmap_x2apic_apicv(const struct acrn_vcpu *vcpu)\n* writes to them are virtualized with Register Virtualization\n* Refer to Secti... | C | BSD 3-Clause New or Revised License | projectacrn/acrn-hypervisor | hv: vlapic: minor fix for update_msr_bitmap_x2apic_apicv
Shouldn't trap TPR since we always enable "Use TPR shadow"
Tracked-On: #1842
Signed-off-by: Li, Fei1 <fei1.li@intel.com> |
528,654 | 15.03.2019 00:10:57 | -28,800 | 40168e73eec4505379b0b48e2f7cbdb3ecb82668 | hv: vlapic: remove TPR set/get API
Since we always enable "Use TPR shadow", so operate on TPR will not
trigger VM exit. So remove these APIs.
Acked-by: Anthony Xu | [
{
"change_type": "MODIFY",
"old_path": "hypervisor/arch/x86/guest/virtual_cr.c",
"new_path": "hypervisor/arch/x86/guest/virtual_cr.c",
"diff": "@@ -417,24 +417,6 @@ int32_t cr_access_vmexit_handler(struct acrn_vcpu *vcpu)\n/* mov to cr4 */\nvcpu_set_cr4(vcpu, reg);\nbreak;\n- case 0x08UL:\n- /* mov ... | C | BSD 3-Clause New or Revised License | projectacrn/acrn-hypervisor | hv: vlapic: remove TPR set/get API
Since we always enable "Use TPR shadow", so operate on TPR will not
trigger VM exit. So remove these APIs.
Tracked-On: #1842
Signed-off-by: Li, Fei1 <fei1.li@intel.com>
Acked-by: Anthony Xu <anthony.xu@intel.com> |
528,772 | 22.03.2019 10:45:33 | 0 | c55308bd3dd17bc5ee532acb9de633599f18ce7d | DM: use soft link of acrn_common.h in HV
devicemodel/include/public/acrn_common.h should be identical with
hypervisor/include/public/acrn_common.h, so we can use a soft link
to hypervisor's acrn_common.h for devicemodel. | [
{
"change_type": "MODIFY",
"old_path": "devicemodel/core/main.c",
"new_path": "devicemodel/core/main.c",
"diff": "@@ -326,11 +326,11 @@ vmexit_inout(struct vmctx *ctx, struct vhm_request *vhm_req, int *pvcpu)\nint error;\nint bytes, port, in;\n- port = vhm_req->reqs.pio_request.address;\n- bytes = v... | C | BSD 3-Clause New or Revised License | projectacrn/acrn-hypervisor | DM: use soft link of acrn_common.h in HV
devicemodel/include/public/acrn_common.h should be identical with
hypervisor/include/public/acrn_common.h, so we can use a soft link
to hypervisor's acrn_common.h for devicemodel.
Tracked-On: #2851
Signed-off-by: Tao Yuhong <yuhong.tao@intel.com> |
528,772 | 21.03.2019 22:04:37 | -28,800 | 8109c2e94cebc3a148b97d6545a1019942354705 | DM: restrict vmname size to 32 bytes
Length of vmname is restricted to MAX_VM_OS_NAME_LEN. Keep it
coincide with VM name array size in vm_config.
Acked-by: Yin Fengwei
Acked-by: Eddie Dong | [
{
"change_type": "MODIFY",
"old_path": "devicemodel/core/main.c",
"new_path": "devicemodel/core/main.c",
"diff": "@@ -924,6 +924,10 @@ dm_run(int argc, char *argv[])\n}\nvmname = argv[0];\n+ if (strnlen(vmname, MAX_VM_OS_NAME_LEN) >= MAX_VM_OS_NAME_LEN) {\n+ fprintf(stderr, \"vmname size exceed %u\\... | C | BSD 3-Clause New or Revised License | projectacrn/acrn-hypervisor | DM: restrict vmname size to 32 bytes
Length of vmname is restricted to MAX_VM_OS_NAME_LEN. Keep it
coincide with VM name array size in vm_config.
Tracked-On: #2851
Signed-off-by: Tao Yuhong <yuhong.tao@intel.com>
Acked-by: Yin Fengwei <fengwei.yin@intel.com>
Acked-by: Eddie Dong <eddie.dong@intel.com> |
528,772 | 11.03.2019 20:02:48 | -28,800 | b2f2d952464ef5f1bfb22880fd8a5d309a729d8d | tools: acrnctl restrict length of vmname to 32 bytes
When run 'acrnctl add launch_script.sh', vmname will be detected from
the launch script and stored in vmmngr_struct.name[MAX_VM_OS_NAME_LEN],
so vmname should not be longer than MAX_VM_OS_NAME_LEN. | [
{
"change_type": "MODIFY",
"old_path": "tools/acrn-manager/acrn_mngr.h",
"new_path": "tools/acrn-manager/acrn_mngr.h",
"diff": "#define ACRN_MANAGER_H\n#include <stdlib.h>\n+#include <acrn_common.h>\n#define MNGR_MSG_MAGIC 0x67736d206d6d76 /* that is char[8] \"mngr msg\", on X86 */\n-#define VMNAME_... | C | BSD 3-Clause New or Revised License | projectacrn/acrn-hypervisor | tools: acrnctl restrict length of vmname to 32 bytes
When run 'acrnctl add launch_script.sh', vmname will be detected from
the launch script and stored in vmmngr_struct.name[MAX_VM_OS_NAME_LEN],
so vmname should not be longer than MAX_VM_OS_NAME_LEN.
Tracked-On: #2851
Signed-off-by: Tao Yuhong <yuhong.tao@intel.com>
... |
528,768 | 26.03.2019 01:37:46 | -28,800 | 868778a68b5ef6eee571cc2b17f5bb4ef3d0773b | hv: fix vulnerability when VM is destroyed
In hypervisor fuzzing test, hypervisor will hang
if issuing HV_VM_SET_MEMORY_REGIONS hypercall after
target VM is destroyed.
this patch is to fix above vulnerability.
Acked-by: Anthony Xu | [
{
"change_type": "MODIFY",
"old_path": "hypervisor/arch/x86/guest/vm.c",
"new_path": "hypervisor/arch/x86/guest/vm.c",
"diff": "@@ -448,6 +448,8 @@ int32_t shutdown_vm(struct acrn_vm *vm)\n/* Only allow shutdown paused vm */\nif (vm->state == VM_PAUSED) {\n+ vm->state = VM_STATE_INVALID;\n+\nforeach... | C | BSD 3-Clause New or Revised License | projectacrn/acrn-hypervisor | hv: fix vulnerability when VM is destroyed
In hypervisor fuzzing test, hypervisor will hang
if issuing HV_VM_SET_MEMORY_REGIONS hypercall after
target VM is destroyed.
this patch is to fix above vulnerability.
Tracked-On: #2849
Signed-off-by: Yonghua Huang <yonghua.huang@intel.com>
Acked-by: Anthony Xu <anthony.... |
528,665 | 27.03.2019 13:23:37 | 0 | 2e4d7eb527689e46b63d9eb7e44d5c5cedb75475 | DM: Add new flag GUEST_FLAG_RT for RTVM
This flag indicates that if the vm is RTVM.
And if a vm has GUEST_FLAG_LAPIC_PASSTHROUGH flag set,
we must set the GUEST_FLAG_RT at the same time. | [
{
"change_type": "MODIFY",
"old_path": "devicemodel/core/vmmapi.c",
"new_path": "devicemodel/core/vmmapi.c",
"diff": "@@ -142,6 +142,7 @@ vm_create(const char *name, uint64_t req_buf)\nif (lapic_pt) {\ncreate_vm.vm_flag |= GUEST_FLAG_LAPIC_PASSTHROUGH;\n+ create_vm.vm_flag |= GUEST_FLAG_RT;\ncreate_... | C | BSD 3-Clause New or Revised License | projectacrn/acrn-hypervisor | DM: Add new flag GUEST_FLAG_RT for RTVM
This flag indicates that if the vm is RTVM.
And if a vm has GUEST_FLAG_LAPIC_PASSTHROUGH flag set,
we must set the GUEST_FLAG_RT at the same time.
Tracked-On: #2865
Signed-off-by: Kaige Fu <kaige.fu@intel.com> |
528,665 | 27.03.2019 14:47:49 | 0 | ed286e32396eb3a44f2ea91b407084a5cb70bcc2 | HV: Introduce a new API is_rt_vm
This patch checks if the GUEST_FLAG_RT is set when GUEST_FLAG_LAPIC_PASSTHROUGH is set.
If GUEST_FLAG_RT is not set while GUEST_FLAG_LAPIC_PASSTHROUGH is set, we will refuse
to boot the VM.
Meanwhile, this patch introduces a new API is_rt_vm.
Acked-by: Eddie Dong | [
{
"change_type": "MODIFY",
"old_path": "hypervisor/arch/x86/configs/dnv-cb2/partition_config.h",
"new_path": "hypervisor/arch/x86/configs/dnv-cb2/partition_config.h",
"diff": "#define VM0_CONFIG_NAME \"PRE-LAUNCHED VM1 for DNV-CB2\"\n#define VM0_CONFIG_TYPE PRE_LAUNCHED_VM\n#define VM0_CONFIG_PCPU_B... | C | BSD 3-Clause New or Revised License | projectacrn/acrn-hypervisor | HV: Introduce a new API is_rt_vm
This patch checks if the GUEST_FLAG_RT is set when GUEST_FLAG_LAPIC_PASSTHROUGH is set.
If GUEST_FLAG_RT is not set while GUEST_FLAG_LAPIC_PASSTHROUGH is set, we will refuse
to boot the VM.
Meanwhile, this patch introduces a new API is_rt_vm.
Tracked-On: #2865
Signed-off-by: Kaige Fu... |
528,665 | 19.03.2019 09:56:28 | 0 | ef9be0208acede22aac72548a930b9624158d46e | HV: Introduce one new API send_single_init
This API is only for kick vcpu out of non-root mode when
RTVM poweroff by itself. And the first caller will soon come
along with the next patch.
Acked-by: Eddie Dong | [
{
"change_type": "MODIFY",
"old_path": "hypervisor/arch/x86/lapic.c",
"new_path": "hypervisor/arch/x86/lapic.c",
"diff": "@@ -268,3 +268,23 @@ void send_single_ipi(uint16_t pcpu_id, uint32_t vector)\npr_err(\"pcpu_id %d not in active!\", pcpu_id);\n}\n}\n+\n+/**\n+ * @pre pcpu_id < CONFIG_MAX_PCPU_N... | C | BSD 3-Clause New or Revised License | projectacrn/acrn-hypervisor | HV: Introduce one new API send_single_init
This API is only for kick vcpu out of non-root mode when
RTVM poweroff by itself. And the first caller will soon come
along with the next patch.
Tracked-On: #2865
Signed-off-by: Kaige Fu <kaige.fu@intel.com>
Acked-by: Eddie Dong <eddie.dong@intel.com> |
528,665 | 24.03.2019 10:08:25 | 0 | 2771b46b1d8e7628a2800b1e5ded14c48a2a6936 | HV: Add one delmode parameter to make_reschedule_request
This patch makes make_reschedule_request support for kicking
off vCPU using INIT.
Acked-by: Eddie Dong | [
{
"change_type": "MODIFY",
"old_path": "hypervisor/arch/x86/guest/vcpu.c",
"new_path": "hypervisor/arch/x86/guest/vcpu.c",
"diff": "@@ -598,7 +598,7 @@ void pause_vcpu(struct acrn_vcpu *vcpu, enum vcpu_state new_state)\nif (atomic_load32(&vcpu->running) == 1U) {\nremove_from_cpu_runqueue(&vcpu->sche... | C | BSD 3-Clause New or Revised License | projectacrn/acrn-hypervisor | HV: Add one delmode parameter to make_reschedule_request
This patch makes make_reschedule_request support for kicking
off vCPU using INIT.
Tracked-On: #2865
Signed-off-by: Kaige Fu <kaige.fu@intel.com>
Acked-by: Eddie Dong <eddie.dong@intel.com> |
528,665 | 19.03.2019 15:49:11 | 0 | efad4963529bf795bc1dcdf955c7e75f50ead7c6 | DM: Add -A to support S5 of hard rt vm
This patch add '-A' to support S5 of hard rt vm. | [
{
"change_type": "MODIFY",
"old_path": "devicemodel/samples/nuc/launch_hard_rt_vm.sh",
"new_path": "devicemodel/samples/nuc/launch_hard_rt_vm.sh",
"diff": "@@ -17,7 +17,7 @@ echo \"8086 9d03\" > /sys/bus/pci/drivers/pci-stub/new_id\necho \"0000:00:17.0\" > /sys/bus/pci/devices/0000:00:17.0/driver/un... | C | BSD 3-Clause New or Revised License | projectacrn/acrn-hypervisor | DM: Add -A to support S5 of hard rt vm
This patch add '-A' to support S5 of hard rt vm.
Tracked-On: #2865
Signed-off-by: Kaige Fu <kaige.fu@intel.com> |
528,801 | 19.03.2019 08:44:47 | -28,800 | 79582b996f1d5e4d496a2e7de30017fcae9c97c0 | doc: update software design guidelines
This patch adds the guidelines for 'Module Level
Configuration Design'. | [
{
"change_type": "ADD",
"old_path": "doc/developer-guides/images/boot_information_parsing_module.png",
"new_path": "doc/developer-guides/images/boot_information_parsing_module.png",
"diff": "Binary files /dev/null and b/doc/developer-guides/images/boot_information_parsing_module.png differ\n"
},
... | C | BSD 3-Clause New or Revised License | projectacrn/acrn-hypervisor | doc: update software design guidelines
This patch adds the guidelines for 'Module Level
Configuration Design'.
Signed-off-by: Shiqing Gao <shiqing.gao@intel.com> |
528,772 | 05.03.2019 00:02:09 | -28,800 | 01b28c8e03371a856cd681af01f504a8d03661e8 | doc: Add tutorial about how to use CAT on UP2 | [
{
"change_type": "ADD",
"old_path": "doc/tutorials/images/acrn_cat_hld.png",
"new_path": "doc/tutorials/images/acrn_cat_hld.png",
"diff": "Binary files /dev/null and b/doc/tutorials/images/acrn_cat_hld.png differ\n"
},
{
"change_type": "ADD",
"old_path": "doc/tutorials/images/using_cat_u... | C | BSD 3-Clause New or Revised License | projectacrn/acrn-hypervisor | doc: Add tutorial about how to use CAT on UP2
Tracked-On: #2462
Signed-off-by: Tao Yuhong <yuhong.tao@intel.com> |
528,658 | 28.03.2019 13:44:39 | -28,800 | e7f772444a23733405775b56a775c6f9a09e778f | Tools: acrnctl fix return value when it fails to execute the commands
Acrnctl commands return 0,even if when it fails to execute the commands.
In this patch,fix this issue.It return none-zero when acrnctl commands
failed in command executed.
Acked-by: Yan, Like | [
{
"change_type": "MODIFY",
"old_path": "tools/acrn-manager/acrnctl.c",
"new_path": "tools/acrn-manager/acrnctl.c",
"diff": "@@ -422,13 +422,14 @@ static int acrnctl_do_stop(int argc, char *argv[])\ns = vmmngr_find(argv[1]);\nif (!s) {\nprintf(\"can't find %s\\n\", argv[1]);\n+ return -1;\n}\nif (s->... | C | BSD 3-Clause New or Revised License | projectacrn/acrn-hypervisor | Tools: acrnctl fix return value when it fails to execute the commands
Acrnctl commands return 0,even if when it fails to execute the commands.
In this patch,fix this issue.It return none-zero when acrnctl commands
failed in command executed.
Tracked-On: #1262
Signed-off-by:liuyonggang <yonggangx.liu@intel.com>
... |
528,747 | 21.03.2019 20:00:33 | 25,200 | 1e614f5640ed0317254a6eb94340a73da13527ae | doc: add kernel parameters documentation | [
{
"change_type": "MODIFY",
"old_path": "doc/developer-guides/GVT-g-kernel-options.rst",
"new_path": "doc/developer-guides/GVT-g-kernel-options.rst",
"diff": "@@ -67,6 +67,8 @@ Currently, all UOSes share the same priority.\nThis is a Service OS only parameters, and does\nnot work in the User OS.\n+..... | C | BSD 3-Clause New or Revised License | projectacrn/acrn-hypervisor | doc: add kernel parameters documentation
Signed-off-by: David B. Kinder <david.b.kinder@intel.com> |
528,671 | 22.03.2019 09:42:16 | -28,800 | 46e7fa8cf2b44e436757ede35f773871d36d52fc | doc: minor changes according to one binary for SBL and UEFI
PLATFORM=xxx is no longer supported, use BOARD instead. | [
{
"change_type": "MODIFY",
"old_path": "doc/tutorials/using_partition_mode_on_up2.rst",
"new_path": "doc/tutorials/using_partition_mode_on_up2.rst",
"diff": "@@ -306,7 +306,7 @@ Enable partition mode in ACRN hypervisor\n.. code-block:: none\n- $ make PLATFORM=sbl\n+ $ make BOARD=apl-up2\n...\n$ sudo... | C | BSD 3-Clause New or Revised License | projectacrn/acrn-hypervisor | doc: minor changes according to one binary for SBL and UEFI
PLATFORM=xxx is no longer supported, use BOARD instead.
Tracked-On: #2708
Signed-off-by: Tw <wei.tan@intel.com> |
528,794 | 02.04.2019 09:44:39 | -28,800 | 564c9dcb79b7a17ff7c6ec8022d001f39c3eaede | HV: refine pt_dev.c for partition mode
Use MACROs in pt_dev.c to replace straight-forward BDF numbers. The
pt devices for each VM will be chosen from Board specific PCI devices
list which defined in pci_devices.h;
Acked-by: Eddie Dong | [
{
"change_type": "MODIFY",
"old_path": "hypervisor/arch/x86/configs/apl-mrb/partition_config.h",
"new_path": "hypervisor/arch/x86/configs/apl-mrb/partition_config.h",
"diff": "console=ttyS2 no_timer_check ignore_loglevel log_buf_len=16M \\\nconsoleblank=0 tsc=reliable xapic_phys\"\n-#define VM0_CONF... | C | BSD 3-Clause New or Revised License | projectacrn/acrn-hypervisor | HV: refine pt_dev.c for partition mode
Use MACROs in pt_dev.c to replace straight-forward BDF numbers. The
pt devices for each VM will be chosen from Board specific PCI devices
list which defined in pci_devices.h;
Tracked-On: #2291
Signed-off-by: Victor Sun <victor.sun@intel.com>
Acked-by: Eddie Dong <eddie.dong@int... |
528,794 | 02.04.2019 12:41:45 | -28,800 | 7580cddf9f3066f0eba7041bd242409369d015d4 | HV: add scenario for logical partition
In this scenario, hypervisor will run two logical partition VMs.
Please note that the Kconfig of Hypervisor mode will be removed
gradually. In current Kconfig setting, the CONFIG_PARTITION_MODE
is still kept for now for back-compatibility.
Acked-by: Eddie Dong | [
{
"change_type": "MODIFY",
"old_path": "hypervisor/Makefile",
"new_path": "hypervisor/Makefile",
"diff": "@@ -42,6 +42,8 @@ include scripts/kconfig/kconfig.mk\n#initialize scenarios name\nifeq ($(CONFIG_SDC),y)\nSCENARIO_NAME := sdc\n+else ifeq ($(CONFIG_LOGICAL_PARTITION),y)\n+SCENARIO_NAME := logi... | C | BSD 3-Clause New or Revised License | projectacrn/acrn-hypervisor | HV: add scenario for logical partition
In this scenario, hypervisor will run two logical partition VMs.
Please note that the Kconfig of Hypervisor mode will be removed
gradually. In current Kconfig setting, the CONFIG_PARTITION_MODE
is still kept for now for back-compatibility.
Tracked-On: #2291
Signed-off-by: Vict... |
528,794 | 02.04.2019 12:48:40 | -28,800 | e35f27a525160548fba0c286b8f8549b36707416 | HV: add clos initialization in vm_config
The CLOS is initialized to 0 for each scenarios. User could modify this
configuration in its vm_configurations.h;
Acked-by: Eddie Dong | [
{
"change_type": "MODIFY",
"old_path": "hypervisor/arch/x86/configs/vm_config.c",
"new_path": "hypervisor/arch/x86/configs/vm_config.c",
"diff": ".name = VM##idx##_CONFIG_NAME, \\\n.pcpu_bitmap = VM##idx##_CONFIG_PCPU_BITMAP, \\\n.guest_flags = VM##idx##_CONFIG_FLAGS, \\\n+ .clos = VM##idx##_CONFIG_... | C | BSD 3-Clause New or Revised License | projectacrn/acrn-hypervisor | HV: add clos initialization in vm_config
The CLOS is initialized to 0 for each scenarios. User could modify this
configuration in its vm_configurations.h;
Tracked-On: #2291
Signed-off-by: Victor Sun <victor.sun@intel.com>
Acked-by: Eddie Dong <eddie.dong@intel.com> |
528,647 | 02.04.2019 09:46:53 | -28,800 | 275625af1647d5bb9e4f16bef9ad83fb9662b5b2 | hv: renmae guest_no to vm_id in shell_to_sos_console()
This commit renmaes guest_no in shell_to_sos_console() to vm_id, which is commonly used in ACRN. | [
{
"change_type": "MODIFY",
"old_path": "hypervisor/debug/shell.c",
"new_path": "hypervisor/debug/shell.c",
"diff": "@@ -837,7 +837,7 @@ static int32_t shell_dumpmem(int32_t argc, char **argv)\nstatic int32_t shell_to_sos_console(__unused int32_t argc, __unused char **argv)\n{\nchar temp_str[TEMP_STR... | C | BSD 3-Clause New or Revised License | projectacrn/acrn-hypervisor | hv: renmae guest_no to vm_id in shell_to_sos_console()
This commit renmaes guest_no in shell_to_sos_console() to vm_id, which is commonly used in ACRN.
Tracked-On: #2520
Signed-off-by: Yan, Like <like.yan@intel.com> |
528,801 | 02.04.2019 15:33:08 | -28,800 | a7e112813c90ccfed9f4437593c0e6ed76774cf8 | hv: remove the unnecessary equality operation
This patch removes the unnecessary equality operation for
boolean variables. | [
{
"change_type": "MODIFY",
"old_path": "hypervisor/dm/vpic.c",
"new_path": "hypervisor/dm/vpic.c",
"diff": "@@ -433,8 +433,7 @@ static void vpic_set_pinstate(struct acrn_vpic *vpic, uint32_t pin, uint8_t leve\nlvl_trigger = ((vpic->i8259[pin >> 3U].elc & (1U << (pin & 0x7U))) != 0U);\n- if (((old_lv... | C | BSD 3-Clause New or Revised License | projectacrn/acrn-hypervisor | hv: remove the unnecessary equality operation
This patch removes the unnecessary equality operation for
boolean variables.
Tracked-On: #861
Signed-off-by: Shiqing Gao <shiqing.gao@intel.com> |
528,786 | 02.04.2019 15:20:43 | -28,800 | 6d582f62d2f89c91d11479350eb7b147b6ceab5a | hv: trusty: minor change of coding style
Refine return value checking in functions.
Acked-by: Eddie Dong | [
{
"change_type": "MODIFY",
"old_path": "hypervisor/arch/x86/guest/trusty.c",
"new_path": "hypervisor/arch/x86/guest/trusty.c",
"diff": "@@ -312,7 +312,7 @@ void switch_world(struct acrn_vcpu *vcpu, int32_t next_world)\n*/\nstatic bool setup_trusty_info(struct acrn_vcpu *vcpu, uint32_t mem_size, uint... | C | BSD 3-Clause New or Revised License | projectacrn/acrn-hypervisor | hv: trusty: minor change of coding style
Refine return value checking in functions.
Tracked-On: #2874
Signed-off-by: Qi Yadong <yadong.qi@intel.com>
Acked-by: Eddie Dong <eddie.dong@intel.com> |
528,794 | 02.04.2019 16:36:00 | -28,800 | 7cff124b96e7ea60d8f4a0317443c7ac6840b4f9 | HV: removed unused pt_dev.c in board folder
The pt_dev.c in board folder is replaced by the one in scenarios folder,
so remove them. | [
{
"change_type": "DELETE",
"old_path": "hypervisor/arch/x86/configs/apl-mrb/pt_dev.c",
"new_path": null,
"diff": "-/*\n- * Copyright (C) 2019 Intel Corporation. All rights reserved.\n- *\n- * SPDX-License-Identifier: BSD-3-Clause\n- */\n-\n-#include <vm_config.h>\n-#include <partition_config.h>\n-#i... | C | BSD 3-Clause New or Revised License | projectacrn/acrn-hypervisor | HV: removed unused pt_dev.c in board folder
The pt_dev.c in board folder is replaced by the one in scenarios folder,
so remove them.
Tracked-On: #2291
Signed-off-by: Victor Sun <victor.sun@intel.com> |
528,676 | 02.04.2019 13:38:11 | -28,800 | b316bf8a394a7ead21cba905127b59db5a92430e | hv: fix "Else alternative missing in if."
All if . . else if constructs shall be
terminated with an else statement.
Acked-by: Eddie Dong | [
{
"change_type": "MODIFY",
"old_path": "hypervisor/arch/x86/cpu_caps.c",
"new_path": "hypervisor/arch/x86/cpu_caps.c",
"diff": "@@ -330,6 +330,8 @@ static int32_t check_vmx_mmu_cap(void)\n} else if (!cpu_has_vmx_ept_cap(VMX_EPT_1GB_PAGE)) {\npr_fatal(\"%s, ept not support 1GB large page\\n\", __func... | C | BSD 3-Clause New or Revised License | projectacrn/acrn-hypervisor | hv: fix "Else alternative missing in if."
All if . . else if constructs shall be
terminated with an else statement.
Tracked-On: #861
Signed-off-by: Huihuang Shi <huihuang.shi@intel.com>
Acked-by: Eddie Dong <eddie.dong@intel.com |
528,766 | 17.03.2019 01:53:40 | 25,200 | 6be9f15aa64801bbe4fb404679c7b0793eeea3f9 | dm: virtio: change return type to bool
Change return type to bool when returning int is not necessary. | [
{
"change_type": "MODIFY",
"old_path": "devicemodel/include/virtio.h",
"new_path": "devicemodel/include/virtio.h",
"diff": "@@ -454,24 +454,24 @@ struct virtio_vq_info {\n*\n* @param vq Pointer to struct virtio_vq_info.\n*\n- * @return 0 on not ready and 1 on ready.\n+ * @return false on not ready a... | C | BSD 3-Clause New or Revised License | projectacrn/acrn-hypervisor | dm: virtio: change return type to bool
Change return type to bool when returning int is not necessary.
Tracked-On: #2763
Signed-off-by: Peter Fang <peter.fang@intel.com>
Reviewed-by: Shuo A Liu <shuo.a.liu@intel.com> |
528,766 | 17.03.2019 02:02:52 | 25,200 | d38afa6f4833cf2da736aba40a1457184ec12dcd | dm: virtio: make sure VQ_ALLOC is set after initialization
Make sure VQ_ALLOC is visible only after vq is completely initialized.
This ensures vq_ring_ready() is reliable when it returns true. | [
{
"change_type": "MODIFY",
"old_path": "devicemodel/hw/pci/virtio/virtio.c",
"new_path": "devicemodel/hw/pci/virtio/virtio.c",
"diff": "@@ -304,10 +304,13 @@ virtio_vq_init(struct virtio_base *base, uint32_t pfn)\n/* ... and the last page(s) are the used ring. */\nvq->used = (struct vring_used *)vb;... | C | BSD 3-Clause New or Revised License | projectacrn/acrn-hypervisor | dm: virtio: make sure VQ_ALLOC is set after initialization
Make sure VQ_ALLOC is visible only after vq is completely initialized.
This ensures vq_ring_ready() is reliable when it returns true.
Tracked-On: #2763
Signed-off-by: Peter Fang <peter.fang@intel.com>
Reviewed-by: Shuo A Liu <shuo.a.liu@intel.com> |
528,766 | 17.03.2019 01:57:50 | 25,200 | 18aebc0196d32542f2d91f4172ed58a992506c52 | dm: safely use pthread_cond_broadcast()
Use pthread_cond_broadcast() while holding the mutex to guarantee the
signaling of its condition variable. | [
{
"change_type": "MODIFY",
"old_path": "devicemodel/hw/block_if.c",
"new_path": "devicemodel/hw/block_if.c",
"diff": "@@ -925,8 +925,9 @@ blockif_close(struct blockif_ctxt *bc)\n*/\npthread_mutex_lock(&bc->mtx);\nbc->closing = 1;\n- pthread_mutex_unlock(&bc->mtx);\npthread_cond_broadcast(&bc->cond);... | C | BSD 3-Clause New or Revised License | projectacrn/acrn-hypervisor | dm: safely use pthread_cond_broadcast()
Use pthread_cond_broadcast() while holding the mutex to guarantee the
signaling of its condition variable.
Tracked-On: #2763
Signed-off-by: Peter Fang <peter.fang@intel.com>
Reviewed-by: Shuo A Liu <shuo.a.liu@intel.com> |
528,766 | 01.04.2019 03:43:21 | 25,200 | bb54a2c7c619d17303673b3a6801b5578477780c | dm: mei: use LIST_FOREACH() to traverse lists
Remove the uses of LIST_FIRST() and LIST_NEXT() plus an extra pointer.
Also, call LIST_INIT() in vmei_me_client_destroy_host_clients() before
releasing the mutex.
v1 -> v2:
split the cleanup commit into two parts
Acked-by: Anthony Xu | [
{
"change_type": "MODIFY",
"old_path": "devicemodel/hw/pci/virtio/virtio_mei.c",
"new_path": "devicemodel/hw/pci/virtio/virtio_mei.c",
"diff": "@@ -502,17 +502,14 @@ vmei_del_me_client(struct vmei_me_client *mclient)\nstatic void\nvmei_me_client_destroy_host_clients(struct vmei_me_client *mclient)\n... | C | BSD 3-Clause New or Revised License | projectacrn/acrn-hypervisor | dm: mei: use LIST_FOREACH() to traverse lists
Remove the uses of LIST_FIRST() and LIST_NEXT() plus an extra pointer.
Also, call LIST_INIT() in vmei_me_client_destroy_host_clients() before
releasing the mutex.
v1 -> v2:
- split the cleanup commit into two parts
Tracked-On: #2763
Signed-off-by: Peter Fang <peter.fang... |
528,665 | 02.04.2019 20:46:51 | 0 | 469ce711c583efe72170a61a209cfe2e32f3cdaf | DM: Add new parameter --rtvm for soft/hard real-time guest
This patch add one new parameter --rtvm to indicate if the guest is a RTVM or not.
For RTVM, it may be not interference by SOS.
Acked-by: Eddie Dong | [
{
"change_type": "MODIFY",
"old_path": "devicemodel/core/main.c",
"new_path": "devicemodel/core/main.c",
"diff": "@@ -88,6 +88,7 @@ uint8_t trusty_enabled;\nchar *mac_seed;\nbool stdio_in_use;\nbool lapic_pt;\n+bool is_rtvm;\nbool skip_pci_mem64bar_workaround = false;\nstatic int virtio_msix = 1;\n@... | C | BSD 3-Clause New or Revised License | projectacrn/acrn-hypervisor | DM: Add new parameter --rtvm for soft/hard real-time guest
This patch add one new parameter --rtvm to indicate if the guest is a RTVM or not.
For RTVM, it may be not interference by SOS.
Tracked-On: #2865
Signed-off-by: Kaige Fu <kaige.fu@intel.com>
Acked-by: Eddie Dong <eddie.dong@intel.com> |
528,665 | 02.04.2019 20:55:18 | 0 | f4f99706237a00c3fb5f18953289b84fd960841b | doc: update documents for "--rtvm" parameter
This patch update documents for "--rtvm" parameter. | [
{
"change_type": "MODIFY",
"old_path": "doc/user-guides/acrn-dm-parameters.rst",
"new_path": "doc/user-guides/acrn-dm-parameters.rst",
"diff": "@@ -318,6 +318,15 @@ Here are descriptions for each of these ``acrn-dm`` command line parameters:\n* - :kbd:`--lapic_pt`\n- This option is to create a VM wi... | C | BSD 3-Clause New or Revised License | projectacrn/acrn-hypervisor | doc: update documents for "--rtvm" parameter
This patch update documents for "--rtvm" parameter.
Tracked-On: #2865
Signed-off-by: Kaige Fu <kaige.fu@intel.com> |
528,706 | 04.04.2019 06:02:21 | -28,800 | ede5987c1178a7f692a73682be0978f715bfb5a7 | dm: storage: add read-only feature for virtio-blk
Add VIRTIO_BLK_F_RO feature bit for virtio-blk.
Acked-by: Yu Wang | [
{
"change_type": "MODIFY",
"old_path": "devicemodel/hw/pci/virtio/virtio_block.c",
"new_path": "devicemodel/hw/pci/virtio/virtio_block.c",
"diff": "/* Capability bits */\n#define VIRTIO_BLK_F_SEG_MAX (1 << 2) /* Maximum request segments */\n+#define VIRTIO_BLK_F_RO (1 << 5) /* Device is read-only */... | C | BSD 3-Clause New or Revised License | projectacrn/acrn-hypervisor | dm: storage: add read-only feature for virtio-blk
Add VIRTIO_BLK_F_RO feature bit for virtio-blk.
Tracked-On: #2887
Signed-off-by: Conghui Chen <conghui.chen@intel.com>
Acked-by: Yu Wang <yu1.wang@intel.com> |
528,665 | 04.04.2019 10:29:45 | 0 | c4ec7ac3584affec3d002ef1bb550ff356758077 | DM: Keep consistency between HV and DM about PM1A_CNT_ADDR
To keep consistency between HV and DM about PM1A_CNT_ADDR,
it is better to replace the PM1A_CNT related MACROs used in DM
with VIRTUAL_PM1A_CNT related MACROs in acrn_common.h.
Acked-by: Eddie Dong | [
{
"change_type": "MODIFY",
"old_path": "devicemodel/arch/x86/pm.c",
"new_path": "devicemodel/arch/x86/pm.c",
"diff": "@@ -149,11 +149,6 @@ static uint16_t pm1_enable, pm1_status;\n*/\nstatic uint16_t pm1_control;\n-#define PM1_SCI_EN 0x0001\n-#define PM1_SLP_TYP 0x1c00\n-#define PM1_SLP_EN 0x2000\n-... | C | BSD 3-Clause New or Revised License | projectacrn/acrn-hypervisor | DM: Keep consistency between HV and DM about PM1A_CNT_ADDR
To keep consistency between HV and DM about PM1A_CNT_ADDR,
it is better to replace the PM1A_CNT related MACROs used in DM
with VIRTUAL_PM1A_CNT related MACROs in acrn_common.h.
Tracked-On: #2865
Signed-off-by: Kaige Fu <kaige.fu@intel.com>
Acked-by: Eddie Don... |
528,706 | 04.04.2019 06:56:19 | -28,800 | e8dda1e914ea2ce61cdd27d53591cb3be410b067 | DM USB: fix memory leak during reboot
1. free memory during pci_xhci_dev_destroy.
2. add libusb_free_device_list to free the list of devices previously
discovered using libusb_get_device_list().
3. fix possible memory corruption.
Acked-by: Yu Wang | [
{
"change_type": "MODIFY",
"old_path": "devicemodel/hw/pci/xhci.c",
"new_path": "devicemodel/hw/pci/xhci.c",
"diff": "@@ -892,7 +892,7 @@ pci_xhci_native_usb_dev_disconn_cb(void *hci_data, void *dev_data)\n}\nedev = xdev->devices[vport];\n- for (slot = 1; slot < XHCI_MAX_SLOTS; ++slot)\n+ for (slot ... | C | BSD 3-Clause New or Revised License | projectacrn/acrn-hypervisor | DM USB: fix memory leak during reboot
1. free memory during pci_xhci_dev_destroy.
2. add libusb_free_device_list to free the list of devices previously
discovered using libusb_get_device_list().
3. fix possible memory corruption.
Tracked-On: #2892
Signed-off-by: Conghui Chen <conghui.chen@intel.com>
Reviewed-by: Xiao... |
528,801 | 27.03.2019 16:08:05 | -28,800 | 1da23415a9ac292f7cbc2eb669a5bc78fa084cb4 | doc: add some rules related to function documentation
This patch adds some rules related to function documentation. | [
{
"change_type": "MODIFY",
"old_path": "doc/developer-guides/coding_guidelines.rst",
"new_path": "doc/developer-guides/coding_guidelines.rst",
"diff": "@@ -3141,6 +3141,100 @@ Compliant example::\n// This is a comment\n+CS-18: Function information shall be documented with doxygen-style comments\n+==... | C | BSD 3-Clause New or Revised License | projectacrn/acrn-hypervisor | doc: add some rules related to function documentation
This patch adds some rules related to function documentation.
Tracked-On: #1844
Signed-off-by: Shiqing Gao <shiqing.gao@intel.com> |
528,747 | 04.04.2019 13:40:27 | 25,200 | 4ec9edcf406a32f4527420504fd8533b9f00bd42 | doc: fix memmap parameter description
Columns were switched for the description of the memmap parameter | [
{
"change_type": "MODIFY",
"old_path": "doc/user-guides/kernel-parameters.rst",
"new_path": "doc/user-guides/kernel-parameters.rst",
"diff": "@@ -209,16 +209,15 @@ relevant for configuring or debugging ACRN-based systems.\n* - memmap\n- SOS\n- - ::\n-\n- memmap=0x400000$0x6da00000\n-\n- Mark specifi... | C | BSD 3-Clause New or Revised License | projectacrn/acrn-hypervisor | doc: fix memmap parameter description
Columns were switched for the description of the memmap parameter
Signed-off-by: David B. Kinder <david.b.kinder@intel.com> |
528,747 | 04.04.2019 13:50:19 | 25,200 | cfae3d4e95fe8b2f0757d6968fe188705a259915 | doc: remove odd GVT-g link
Remove an incorrect link reference (and target) and fix some
misspellings. | [
{
"change_type": "MODIFY",
"old_path": "doc/user-guides/kernel-parameters.rst",
"new_path": "doc/user-guides/kernel-parameters.rst",
"diff": "@@ -6,11 +6,11 @@ ACRN Kernel Parameters\nGeneric kernel parameters\n*************************\n-A number of kernel parameters control the behaviour of ACRN-b... | C | BSD 3-Clause New or Revised License | projectacrn/acrn-hypervisor | doc: remove odd GVT-g link
Remove an incorrect link reference (and target) and fix some
misspellings.
Signed-off-by: David B. Kinder <david.b.kinder@intel.com> |
528,747 | 04.04.2019 14:07:59 | 25,200 | 5531673f790cf43f5dd84319346ce03f44a85478 | doc: fix broken link to kernel options | [
{
"change_type": "MODIFY",
"old_path": "doc/user-guides/kernel-parameters.rst",
"new_path": "doc/user-guides/kernel-parameters.rst",
"diff": "@@ -306,7 +306,7 @@ Intel GVT-g (AcrnGT) Parameters\nThis table gives an overview of all the Intel GVT-g parameters that are\navailable to tweak the behavior ... | C | BSD 3-Clause New or Revised License | projectacrn/acrn-hypervisor | doc: fix broken link to kernel options
Signed-off-by: David B. Kinder <david.b.kinder@intel.com> |
528,747 | 04.04.2019 14:32:53 | 25,200 | fe470cfe23e64226dad09b307d121ca4e7cb504c | doc: make doc version selector more obvious
Move the doc version selector menu higher on the left nav to make it
more visible (from its prior bottom of the nav menu) | [
{
"change_type": "ADD",
"old_path": null,
"new_path": "doc/_templates/aversions.html",
"diff": "+{# Add rst-badge after rst-versions for small badge style. #}\n+ <div class=\"rst-versions\" data-toggle=\"rst-versions\" role=\"note\" aria-label=\"versions\">\n+ <span class=\"rst-current-version\" dat... | C | BSD 3-Clause New or Revised License | projectacrn/acrn-hypervisor | doc: make doc version selector more obvious
Move the doc version selector menu higher on the left nav to make it
more visible (from its prior bottom of the nav menu)
Signed-off-by: David B. Kinder <david.b.kinder@intel.com> |
528,747 | 04.04.2019 15:37:49 | 25,200 | c09046abbf0bd24c45a8da6febdbf0f90a67bc86 | doc: add robots.txt
use a robots.txt file to prevent search engines from indexing old
content. | [
{
"change_type": "MODIFY",
"old_path": "doc/Makefile",
"new_path": "doc/Makefile",
"diff": "@@ -77,6 +77,7 @@ publish:\ncp -r $(BUILDDIR)/html/* $(PUBLISHDIR)\ncp scripts/publish-README.md $(PUBLISHDIR)/../README.md\ncp scripts/publish-index.html $(PUBLISHDIR)/../index.html\n+ cp scripts/publish-rob... | C | BSD 3-Clause New or Revised License | projectacrn/acrn-hypervisor | doc: add robots.txt
use a robots.txt file to prevent search engines from indexing old
content.
Signed-off-by: David B. Kinder <david.b.kinder@intel.com> |
528,728 | 27.03.2019 09:54:19 | -3,600 | d8cec9f9c414cb866564d73ac66e8bb2dd2c64d5 | doc: fix '@return' and '@retval' statements for vCPU ops
Add, update '@return' and '@retval' statements to the API descriptions related
to vCPU operations. | [
{
"change_type": "MODIFY",
"old_path": "hypervisor/include/arch/x86/guest/vcpu.h",
"new_path": "hypervisor/include/arch/x86/guest/vcpu.h",
"diff": "@@ -377,6 +377,8 @@ uint64_t vcpu_get_gpreg(const struct acrn_vcpu *vcpu, uint32_t reg);\n* @param[inout] vcpu pointer to vcpu data structure\n* @param[... | C | BSD 3-Clause New or Revised License | projectacrn/acrn-hypervisor | doc: fix '@return' and '@retval' statements for vCPU ops
Add, update '@return' and '@retval' statements to the API descriptions related
to vCPU operations.
Tracked-On: #1844
Signed-off-by: Geoffroy Van Cutsem <geoffroy.vancutsem@intel.com> |
528,794 | 04.04.2019 13:33:48 | -28,800 | 16de23d0d5bb3f4a590b5670d5251f70e9b1beed | HV: move CONFIG_MAX_VM_NUM to vm configurations
Now the MAX supported VM number is defined explicitly for each scenario,
so move this config from Kconfig to VM configuration.
Acked-by: Eddie Dong | [
{
"change_type": "MODIFY",
"old_path": "hypervisor/arch/x86/Kconfig",
"new_path": "hypervisor/arch/x86/Kconfig",
"diff": "@@ -57,15 +57,6 @@ config RELEASE\nconsole and hypervisor shell are available only in non-release\n(i.e. debug) builds. Assertions are not effective in release builds.\n-config M... | C | BSD 3-Clause New or Revised License | projectacrn/acrn-hypervisor | HV: move CONFIG_MAX_VM_NUM to vm configurations
Now the MAX supported VM number is defined explicitly for each scenario,
so move this config from Kconfig to VM configuration.
Tracked-On: #2291
Signed-off-by: Victor Sun <victor.sun@intel.com>
Acked-by: Eddie Dong <eddie.dong@intel.com> |
528,751 | 08.04.2019 16:22:54 | -28,800 | 00dd26b0815548c5669c3fd52a65286cc0503a1c | dm: remove "acrn_" prefix from tap name
Some projects based on ACRN don't want tap name to contain "acrn_"
prefix. This patch removes that prefix. | [
{
"change_type": "MODIFY",
"old_path": "devicemodel/hw/pci/virtio/virtio_net.c",
"new_path": "devicemodel/hw/pci/virtio/virtio_net.c",
"diff": "@@ -674,7 +674,7 @@ virtio_net_tap_setup(struct virtio_net *net, char *devname)\nint vhost_fd = -1;\nint rc;\n- rc = snprintf(tbuf, IFNAMSIZ, \"acrn_%s\", d... | C | BSD 3-Clause New or Revised License | projectacrn/acrn-hypervisor | dm: remove "acrn_" prefix from tap name
Some projects based on ACRN don't want tap name to contain "acrn_"
prefix. This patch removes that prefix.
Tracked-On: #2509
Signed-off-by: Jie Deng <jie.deng@intel.com>
Reviewed-by: Geoffroy Van Cutsem <geoffroy.vancutsem@intel.com> |
528,728 | 08.04.2019 15:54:04 | -7,200 | 435b29af5f9d3d501960b6e433e59df6e6dab052 | doc: update documentation to the latest TAP name (no acrn_ prefix)
Update the documentation, and associated scripts to reflect the fact
that the TAP device used by 'acrn-dm' no longer use the "acrn_" prefix. | [
{
"change_type": "MODIFY",
"old_path": "doc/developer-guides/hld/virtio-net.rst",
"new_path": "doc/developer-guides/hld/virtio-net.rst",
"diff": "@@ -428,7 +428,7 @@ You can check the files with prefix 50- in the SOS\n- `50-acrn.netdev <https://raw.githubusercontent.com/projectacrn/acrn-hypervisor/m... | C | BSD 3-Clause New or Revised License | projectacrn/acrn-hypervisor | doc: update documentation to the latest TAP name (no acrn_ prefix)
Update the documentation, and associated scripts to reflect the fact
that the TAP device used by 'acrn-dm' no longer use the "acrn_" prefix.
Tracked-On: #2509
Signed-off-by: Geoffroy Van Cutsem <geoffroy.vancutsem@intel.com> |
528,801 | 09.04.2019 09:40:21 | -28,800 | 74b5de3f8677efe617edee186c7ee21591dda8a1 | doc: add rules in coding guidelines
This patch adds rules in coding guidelines. | [
{
"change_type": "MODIFY",
"old_path": "doc/developer-guides/coding_guidelines.rst",
"new_path": "doc/developer-guides/coding_guidelines.rst",
"diff": "@@ -1051,6 +1051,37 @@ Compliant example::\n}\n+FN-19: Recursion shall not be used in function calls\n+=============================================... | C | BSD 3-Clause New or Revised License | projectacrn/acrn-hypervisor | doc: add rules in coding guidelines
This patch adds rules in coding guidelines.
Tracked-On: #861
Signed-off-by: Shiqing Gao <shiqing.gao@intel.com> |
528,747 | 09.04.2019 13:54:47 | 25,200 | 74b841aa08a8d6126ba69be1a0d3cacf9ac7ce85 | doc: add 0.8 version to master branch
When 0.8 documents are published, we create a link to them from the
master branch where the /latest version of documentation is found. | [
{
"change_type": "MODIFY",
"old_path": "doc/conf.py",
"new_path": "doc/conf.py",
"diff": "@@ -189,13 +189,10 @@ else:\nhtml_context = {\n'current_version': current_version,\n'versions': ( (\"latest\", \"/latest/\"),\n+ (\"0.8\", \"/0.8/\"),\n(\"0.7\", \"/0.7/\"),\n(\"0.6\", \"/0.6/\"),\n(\"0.5\", \"... | C | BSD 3-Clause New or Revised License | projectacrn/acrn-hypervisor | doc: add 0.8 version to master branch
When 0.8 documents are published, we create a link to them from the
master branch where the /latest version of documentation is found.
Signed-off-by: David B. Kinder <david.b.kinder@intel.com> |
528,648 | 09.04.2019 16:11:45 | -28,800 | aff78d1ec8d25a92eb08b020a13fee5f6a0d5e78 | doc: add v0.8 release note | [
{
"change_type": "ADD",
"old_path": null,
"new_path": "doc/release_notes_0.8.rst",
"diff": "+.. _release_notes_0.8:\n+\n+ACRN v0.8 (Apr 2019)\n+####################\n+\n+We are pleased to announce the release of Project ACRN version 0.8.\n+\n+ACRN is a flexible, lightweight reference hypervisor, bui... | C | BSD 3-Clause New or Revised License | projectacrn/acrn-hypervisor | doc: add v0.8 release note
Signed-off-by: wenlingz <wenling.zhang@intel.com>
Signed-off-by: David B. Kinder <david.b.kinder@intel.com> |
528,659 | 28.12.2018 20:06:52 | -28,800 | 63743d8b9b96b911b5c1ca436a0858199d54a5c5 | DM USB: xHCI: WA for an isochronous crash issue
The current xHCI mediator doesn't well support disable endpoint command.
This patch is one workaround for disable endpoint command to avoid
xHCI mediator to continue handle already dropped data.
Acked-by: Yu Wang | [
{
"change_type": "MODIFY",
"old_path": "devicemodel/hw/pci/xhci.c",
"new_path": "devicemodel/hw/pci/xhci.c",
"diff": "@@ -1606,6 +1606,7 @@ pci_xhci_init_ep(struct pci_xhci_dev_emu *dev, int epid)\nUSB_DATA_XFER_INIT(devep->ep_xfer);\ndevep->ep_xfer->dev = (void *)dev;\ndevep->ep_xfer->epid = epid;\... | C | BSD 3-Clause New or Revised License | projectacrn/acrn-hypervisor | DM USB: xHCI: WA for an isochronous crash issue
The current xHCI mediator doesn't well support disable endpoint command.
This patch is one workaround for disable endpoint command to avoid
xHCI mediator to continue handle already dropped data.
Tracked-On: #2927
Signed-off-by: Xiaoguang Wu <xiaoguang.wu@intel.com>
Acke... |
528,747 | 10.04.2019 16:11:58 | 25,200 | e30cd45261dd7cdd0243488ad1ba0d68bf52416b | doc: tweak home page redirect to latest
Try to reduce the page flash when redirecting to latest/index.html | [
{
"change_type": "MODIFY",
"old_path": "doc/scripts/publish-index.html",
"new_path": "doc/scripts/publish-index.html",
"diff": "<head>\n<title>ACRN Hypervisor documentation</title>\n<meta http-equiv=\"refresh\" content=\"0; URL=latest/index.html\">\n-<meta name=\"keywords\" content=\"automatic redir... | C | BSD 3-Clause New or Revised License | projectacrn/acrn-hypervisor | doc: tweak home page redirect to latest
Try to reduce the page flash when redirecting to latest/index.html
Signed-off-by: David B. Kinder <david.b.kinder@intel.com> |
528,659 | 19.02.2019 12:50:18 | -28,800 | 784bfa28aef31e8640e56ac261d6a1884169b289 | DM USB: xHCI: fix an issue during BULK transfer
When LINK type TRB are received among multiple BULK TRBs, the copying
logic in DM will miss one or more TRBs. 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": "@@ -755,7 +755,7 @@ usb_dev_data(void *pdata, struct usb_data_xfer *xfer, int dir, int epctx)\nint rc = 0, epid;\nuint8_t type;\nint blk_start, data_size, blk... | C | BSD 3-Clause New or Revised License | projectacrn/acrn-hypervisor | DM USB: xHCI: fix an issue during BULK transfer
When LINK type TRB are received among multiple BULK TRBs, the copying
logic in DM will miss one or more TRBs. This patch is used to fix it.
Tracked-On: #2926
Signed-off-by: Conghui Chen <conghui.chen@intel.com>
Signed-off-by: Xiaoguang Wu <xiaoguang.wu@intel.com>
Acked-... |
528,756 | 28.02.2019 18:10:00 | -28,800 | b570755fd0142b7383875641c0af1374788f1101 | Domain id and name added to launch_uos.sh
For multiple guest os and particular audio features support domain id
and name is required. | [
{
"change_type": "MODIFY",
"old_path": "devicemodel/samples/apl-mrb/launch_uos.sh",
"new_path": "devicemodel/samples/apl-mrb/launch_uos.sh",
"diff": "@@ -176,6 +176,8 @@ acrn-dm -A -m $mem_size -c $2$boot_GVT_option\"$GVT_args\" -s 0:0,hostbridge -s 1:\n-i /run/acrn/ioc_$vm_name,0x20 \\\n-l com2,/ru... | C | BSD 3-Clause New or Revised License | projectacrn/acrn-hypervisor | Domain id and name added to launch_uos.sh
For multiple guest os and particular audio features support domain id
and name is required.
Tracked-On: #2924
reviewed-by: Yu Wang <yu1.wang@intel.com>
reviewed-by: Yakui zhao <yakui.zhao@intel.com>
reviewed-by: Binbin Wu <binbin.wu@intel.com>
Signed-off-by: Marcin Pietraszko... |
528,659 | 09.03.2019 02:23:02 | -28,800 | 8bd7b9beaed1c8c453ac009fa08399e4ff5e0701 | DM USB: xHCI: fix an logic error during USB reset
Should not set hci_address to zero during USB reset.
Acked-by: Yu Wang | [
{
"change_type": "MODIFY",
"old_path": "devicemodel/hw/pci/xhci.c",
"new_path": "devicemodel/hw/pci/xhci.c",
"diff": "@@ -1870,7 +1870,6 @@ pci_xhci_cmd_reset_device(struct pci_xhci_vdev *xdev, uint32_t slot)\nelse {\ndev->dev_slotstate = XHCI_ST_DEFAULT;\n- dev->hci.hci_address = 0;\ndev_ctx = pci_... | C | BSD 3-Clause New or Revised License | projectacrn/acrn-hypervisor | DM USB: xHCI: fix an logic error during USB reset
Should not set hci_address to zero during USB reset.
Tracked-On: #2922
Signed-off-by: Xiaoguang Wu <xiaoguang.wu@intel.com>
Acked-by: Yu Wang <yu1.wang@intel.com> |
528,756 | 11.03.2019 10:50:25 | -28,800 | 8796ded21bc74336262714592ae5d6443cc79669 | DM USB: fix SWWDT_UNHANDLED issue
add a delay for usb in launch_uos.sh
Acked-by: Yu Wang | [
{
"change_type": "MODIFY",
"old_path": "devicemodel/samples/apl-mrb/launch_uos.sh",
"new_path": "devicemodel/samples/apl-mrb/launch_uos.sh",
"diff": "@@ -87,6 +87,8 @@ echo \"8086 5aaa\" > /sys/bus/pci/drivers/pci-stub/new_id\necho \"0000:00:15.1\" > /sys/bus/pci/devices/0000:00:15.1/driver/unbind\n... | C | BSD 3-Clause New or Revised License | projectacrn/acrn-hypervisor | DM USB: fix SWWDT_UNHANDLED issue
add a delay for usb in launch_uos.sh
Tracked-On: #2922
Signed-off-by: Xiaoguang Wu <xiaoguang.wu@intel.com>
Acked-by: Yu Wang <yu1.wang@intel.com> |
528,659 | 18.03.2019 10:24:00 | 0 | 122685b7b99731b939968fb3bc23a1d9c21b4157 | DM USB: xHCI: refine the failure process logic of control transfer
The old logic to process control transfer failure only include two cases:
1 Short packet
2 Stall.
This patch includes all possible failures reported by Libusb and does
related emulation for UOS
Acked-by: Yu Wang | [
{
"change_type": "MODIFY",
"old_path": "devicemodel/hw/pci/xhci.c",
"new_path": "devicemodel/hw/pci/xhci.c",
"diff": "@@ -433,42 +433,6 @@ struct pci_xhci_option_elem {\n};\nstatic int xhci_in_use;\n-\n-/* map USB errors to XHCI */\n-static const int xhci_usb_errors[USB_ERR_MAX] = {\n- [USB_ERR_NORM... | C | BSD 3-Clause New or Revised License | projectacrn/acrn-hypervisor | DM USB: xHCI: refine the failure process logic of control transfer
The old logic to process control transfer failure only include two cases:
1 Short packet
2 Stall.
This patch includes all possible failures reported by Libusb and does
related emulation for UOS
Tracked-On: #2918
Signed-off-by: Xiaoguang Wu <xiaoguang.... |
528,662 | 15.03.2019 16:48:54 | -28,800 | a7f7b854c3d9d658e734985f09df9f9e7f9fd5d6 | Add gsg quick setup script. | [
{
"change_type": "ADD",
"old_path": null,
"new_path": "doc/getting-started/gsg_quick_setup.sh",
"diff": "+#!/bin/bash\n+# Copyright (C) 2018 Intel Corporation.\n+# SPDX-License-Identifier: BSD-3-Clause\n+# This script is aim to setup or upgrade sos & uos automatically.\n+\n+# switch for download uos... | C | BSD 3-Clause New or Revised License | projectacrn/acrn-hypervisor | Add gsg quick setup script. |
528,728 | 20.03.2019 18:21:54 | -28,800 | b1adc035ba3ef4f339a27fa31ce0cb922154520c | Update doc/getting-started/gsg_quick_setup.sh
1. Add text to the script usages and inform people to run script with root access.
2. Add logic to determine the right ESP.
3. remove unset proxy line.
4. Add reboot operation after upgrade SOS.
5. Handle multiple efi partition while it's detected. | [
{
"change_type": "MODIFY",
"old_path": "doc/getting-started/gsg_quick_setup.sh",
"new_path": "doc/getting-started/gsg_quick_setup.sh",
"diff": "#!/bin/bash\n# Copyright (C) 2019 Intel Corporation.\n# SPDX-License-Identifier: BSD-3-Clause\n-# This script is aim to setup or upgrade sos & uos automatic... | C | BSD 3-Clause New or Revised License | projectacrn/acrn-hypervisor | Update doc/getting-started/gsg_quick_setup.sh
1. Add text to the script usages and inform people to run script with root access.
2. Add logic to determine the right ESP.
3. remove unset proxy line.
4. Add reboot operation after upgrade SOS.
5. Handle multiple efi partition while it's detected.
Co-Authored-By: lirui34... |
528,662 | 11.04.2019 06:07:38 | 0 | c42f5c5cb6bcb9235037e3e22732f25ec41a016c | Add description of enabling serial console for KBL NUC. | [
{
"change_type": "MODIFY",
"old_path": "doc/getting-started/apl-nuc.rst",
"new_path": "doc/getting-started/apl-nuc.rst",
"diff": "@@ -17,6 +17,26 @@ supported for ACRN development:\n<https://www.up-board.org/upsquared/specifications/>`_ (UP2) is also\nknown to work and its setup is described in :ref... | C | BSD 3-Clause New or Revised License | projectacrn/acrn-hypervisor | Add description of enabling serial console for KBL NUC. |
528,747 | 11.04.2019 14:50:52 | 25,200 | e7605fad7dc2152e1b69f733944d5e6e802748a3 | doc: fix misspellings
Fix misspellings missed during regular reviews | [
{
"change_type": "MODIFY",
"old_path": "doc/developer-guides/hld/uart-virt-hld.rst",
"new_path": "doc/developer-guides/hld/uart-virt-hld.rst",
"diff": "@@ -56,7 +56,7 @@ the LPC bus. In the current implementation, two channel LPC UARTs are I/O mapped\nthe traditional COM port addresses of 0x3F8 and ... | C | BSD 3-Clause New or Revised License | projectacrn/acrn-hypervisor | doc: fix misspellings
Fix misspellings missed during regular reviews
Signed-off-by: David B. Kinder <david.b.kinder@intel.com> |
528,783 | 03.04.2019 10:48:18 | -28,800 | 35c8437bbc345057214e405c52574ec15cc30c2a | hv:move 'fire_vhm_interrupt' to io_emul.c
this api is related with arch_x86, then move to x86 folder
rename 'set_vhm_vector' to 'set_vhm_notification_vector'
rename 'acrn_vhm_vector' to 'acrn_vhm_notification_vector'
add an API 'get_vhm_notification_vector'
Acked-by: Eddie Dong | [
{
"change_type": "MODIFY",
"old_path": "hypervisor/arch/x86/guest/io_emul.c",
"new_path": "hypervisor/arch/x86/guest/io_emul.c",
"diff": "#define MMIO_DEFAULT_VALUE_SIZE_4 (0xFFFFFFFFUL)\n#define MMIO_DEFAULT_VALUE_SIZE_8 (0xFFFFFFFFFFFFFFFFUL)\n+void arch_fire_vhm_interrupt(void)\n+{\n+ /*\n+ * use... | C | BSD 3-Clause New or Revised License | projectacrn/acrn-hypervisor | hv:move 'fire_vhm_interrupt' to io_emul.c
-- this api is related with arch_x86, then move to x86 folder
-- rename 'set_vhm_vector' to 'set_vhm_notification_vector'
-- rename 'acrn_vhm_vector' to 'acrn_vhm_notification_vector'
-- add an API 'get_vhm_notification_vector'
Tracked-On: #1842
Signed-off-by: Mingqiang Chi <... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.