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,747 | 09.11.2018 09:43:31 | 28,800 | d8d164c6dd6fa5fc430b0f56ce62f277579b767f | doc: release notes for 0.3
Update release notes and version selector for 0.3 release | [
{
"change_type": "MODIFY",
"old_path": "doc/conf.py",
"new_path": "doc/conf.py",
"diff": "@@ -188,6 +188,7 @@ else:\nhtml_context = {\n'current_version': current_version,\n'versions': ( (\"latest\", \"/latest/\"),\n+ (\"0.3\", \"/0.3/\"),\n(\"0.2\", \"/0.2/\"),\n(\"0.1\", \"/0.1/\"),\n)\n"
}
] | C | BSD 3-Clause New or Revised License | projectacrn/acrn-hypervisor | doc: release notes for 0.3
Update release notes and version selector for 0.3 release
Signed-off-by: David B. Kinder <david.b.kinder@intel.com> |
528,661 | 10.11.2018 20:19:57 | -28,800 | 81cf2b6cf1f54bc93215a8f73b8a142101b24f13 | Doc: update doc to support V0.3 release
updates:
1, update Clear Linux version to 26120 support v0.3 release
2, update product kernel to kernel-iot-lts2018 since there is new named bundle | [
{
"change_type": "MODIFY",
"old_path": "doc/getting-started/apl-nuc.rst",
"new_path": "doc/getting-started/apl-nuc.rst",
"diff": "@@ -37,13 +37,13 @@ complete this setup.\n.. note::\n- ACRN v0.2 (and the current master branch) requires Clear Linux\n- version 25130 or newer. If you use a newer versio... | C | BSD 3-Clause New or Revised License | projectacrn/acrn-hypervisor | Doc: update doc to support V0.3 release
updates:
1, update Clear Linux version to 26120 support v0.3 release
2, update product kernel to kernel-iot-lts2018 since there is new named bundle
Signed-off-by: Ailun258 <ailin.yang@intel.com> |
528,661 | 10.11.2018 20:30:45 | -28,800 | bc2f30e22981ff5e13f8daad60a2d33bb63d7a4d | HV: update kernel name
updated kernel name from kernel-org.clearlinux.pk414-sos.4.14.52-63 to kernel-org.clearlinux.iot-lts2018-sos.4.19.0-16 for v0.3 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.52-63\n+linux /EFI/org.clearlinux/kernel-org.clearlinux.iot-l... | C | BSD 3-Clause New or Revised License | projectacrn/acrn-hypervisor | HV: update kernel name
updated kernel name from kernel-org.clearlinux.pk414-sos.4.14.52-63 to kernel-org.clearlinux.iot-lts2018-sos.4.19.0-16 for v0.3 release
Signed-off-by: Ailun258 <ailin.yang@intel.com> |
528,661 | 10.11.2018 20:24:42 | -28,800 | 5c8e4c38b7c9167bb271e6b201d82fe8f6d15add | DM: update clear Linux version
1, update Clear Linux version to 26120
2, update kernel name to *iot-lts2018* | [
{
"change_type": "MODIFY",
"old_path": "devicemodel/samples/nuc/launch_uos.sh",
"new_path": "devicemodel/samples/nuc/launch_uos.sh",
"diff": "@@ -20,9 +20,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 | DM: update clear Linux version
1, update Clear Linux version to 26120
2, update kernel name to *iot-lts2018*
Signed-off-by: Ailun258 ailin.yang@intel.com |
528,747 | 10.11.2018 11:17:00 | 28,800 | cb41e08006dc9b860e267baa4096f0281df52fdc | doc: fix GSG version number typo
Update to NUC GSG had a version number typ0 | [
{
"change_type": "MODIFY",
"old_path": "doc/getting-started/apl-nuc.rst",
"new_path": "doc/getting-started/apl-nuc.rst",
"diff": "@@ -43,7 +43,7 @@ complete this setup.\nnumber of Clear Linux you are using.\n#. Download the compressed Clear installer image from\n- https://download.clearlinux.org/rel... | C | BSD 3-Clause New or Revised License | projectacrn/acrn-hypervisor | doc: fix GSG version number typo
Update to NUC GSG had a version number typ0
Signed-off-by: David B. Kinder <david.b.kinder@intel.com> |
528,728 | 12.11.2018 12:57:06 | -3,600 | 33137dc9fb890540e420a97f063812b76d7f95e2 | Documentation: adjust "Tracked-On" capitalization in documentation
Update the capitalization of "Tracked-On" in the documentation.
"Tracked-on" should work but it throws a warning so it's better
to make the documentation focus on using "Tracked-On" only. | [
{
"change_type": "MODIFY",
"old_path": "doc/developer-guides/contribute_guidelines.rst",
"new_path": "doc/developer-guides/contribute_guidelines.rst",
"diff": "@@ -176,7 +176,7 @@ is set up correctly by using:\ngit config --global user.name \"David Developer\"\ngit config --global user.email \"david... | C | BSD 3-Clause New or Revised License | projectacrn/acrn-hypervisor | Documentation: adjust "Tracked-On" capitalization in documentation
Update the capitalization of "Tracked-On" in the documentation.
"Tracked-on" should work but it throws a warning so it's better
to make the documentation focus on using "Tracked-On" only.
Signed-off-by: Geoffroy Van Cutsem <geoffroy.vancutsem@intel.co... |
528,728 | 12.11.2018 16:40:18 | -3,600 | 1847497d8f1fa884c7c2a201d00e3dc190e3eba9 | Documentation: update GSG for release 0.3
Update Getting Started Guide (GSG) with Clear Linux version and
kernel versions for ACRN v0.3. | [
{
"change_type": "MODIFY",
"old_path": "doc/getting-started/apl-nuc.rst",
"new_path": "doc/getting-started/apl-nuc.rst",
"diff": "@@ -38,12 +38,12 @@ complete this setup.\n.. note::\nACRN v0.3 (and the current master branch) requires Clear Linux\n- version 26120 or newer. If you use a newer version ... | C | BSD 3-Clause New or Revised License | projectacrn/acrn-hypervisor | Documentation: update GSG for release 0.3
Update Getting Started Guide (GSG) with Clear Linux version and
kernel versions for ACRN v0.3.
Signed-off-by: Geoffroy Van Cutsem <geoffroy.vancutsem@intel.com> |
528,728 | 12.11.2018 16:45:32 | -3,600 | a03452794f0b1327887f3be5f9ad8e75167f5566 | DM: update User OS launch script with v0.3 CL and kernel numbers
Update the User (guest) OS launch script with the Clear Linux
version used with ACRN v0.3 as well as the corresponding kernel
version. | [
{
"change_type": "MODIFY",
"old_path": "devicemodel/samples/nuc/launch_uos.sh",
"new_path": "devicemodel/samples/nuc/launch_uos.sh",
"diff": "@@ -20,9 +20,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 | DM: update User OS launch script with v0.3 CL and kernel numbers
Update the User (guest) OS launch script with the Clear Linux
version used with ACRN v0.3 as well as the corresponding kernel
version.
Signed-off-by: Geoffroy Van Cutsem <geoffroy.vancutsem@intel.com> |
528,783 | 06.11.2018 10:16:11 | -28,800 | 9a009bcef2986ef369bfaa5412800438f1a9952e | hv:Replace dynamic memory with static for mmio
Config MAX_EMULATED_MMIO_REGIONS 16 in Kconfig
Add emulated mmio array and emulated mmio regions
in vm structure
Remove mmio list in vm structure
Remove unregister_mmio_emulation_handler and
vioapic_cleanup APIs
Acked-by: Eddie Dong | [
{
"change_type": "MODIFY",
"old_path": "doc/developer-guides/hld/hv-io-emulation.rst",
"new_path": "doc/developer-guides/hld/hv-io-emulation.rst",
"diff": "@@ -322,9 +322,6 @@ I/O bitmaps and register or unregister I/O handlers:\n.. doxygenfunction:: register_mmio_emulation_handler\n:project: Projec... | C | BSD 3-Clause New or Revised License | projectacrn/acrn-hypervisor | hv:Replace dynamic memory with static for mmio
-- Config MAX_EMULATED_MMIO_REGIONS 16 in Kconfig
-- Add emulated mmio array and emulated mmio regions
in vm structure
-- Remove mmio list in vm structure
-- Remove unregister_mmio_emulation_handler and
vioapic_cleanup APIs
Tracked-On: #861
Signed-off-by: Mingqiang... |
528,768 | 12.11.2018 18:44:48 | -28,800 | 91fb441d7ad2ebbb20c5c1836124da344b6fecda | hv:add global lock for VM & vCPU management hypercalls
this patch is to avoid posisble inconsisent states for
VMs and vCPUs in configuration that SOS is SMP based
and Device Model may be multi-threads based.
Acked-by: Eddie Dong | [
{
"change_type": "MODIFY",
"old_path": "hypervisor/arch/x86/guest/vmcall.c",
"new_path": "hypervisor/arch/x86/guest/vmcall.c",
"diff": "#include <hypervisor.h>\n#include <hypercall.h>\n+static spinlock_t vmm_hypercall_lock = {\n+ .head = 0U,\n+ .tail = 0U,\n+};\n/*\n* Pass return value to SOS by reg... | C | BSD 3-Clause New or Revised License | projectacrn/acrn-hypervisor | hv:add global lock for VM & vCPU management hypercalls
this patch is to avoid posisble inconsisent states for
VMs and vCPUs in configuration that SOS is SMP based
and Device Model may be multi-threads based.
Tracked-On: #861
Signed-off-by: Yonghua Huang <yonghua.huang@intel.com>
Acked-by: Eddie Dong <eddie.dong@i... |
528,768 | 09.11.2018 17:10:59 | 0 | b3b24320d490e2c80a689477123a1de58090765e | hv: fix possible inconsistent issue for 'vm->hw.create_vcpus'
to decrease the value of 'create_vcpus' in fail case.
Acked-by: Eddie Dong | [
{
"change_type": "MODIFY",
"old_path": "hypervisor/arch/x86/guest/vcpu.c",
"new_path": "hypervisor/arch/x86/guest/vcpu.c",
"diff": "@@ -326,6 +326,7 @@ int create_vcpu(uint16_t pcpu_id, struct acrn_vm *vm, struct acrn_vcpu **rtn_vcp\n*/\nvcpu_id = atomic_xadd16(&vm->hw.created_vcpus, 1U);\nif (vcpu_... | C | BSD 3-Clause New or Revised License | projectacrn/acrn-hypervisor | hv: fix possible inconsistent issue for 'vm->hw.create_vcpus'
to decrease the value of 'create_vcpus' in fail case.
Tracked-On: #861
Signed-off-by: Yonghua Huang <yonghua.huang@intel.com>
Acked-by: Eddie Dong <eddie.dong@intel.com> |
528,801 | 13.11.2018 14:32:04 | -28,800 | 3731b4c0ac3b493ef2d8903e95a55b164ae5902f | hv: fix '(void) missing for discarded return value'
MISRA-C requires that the function call in which the returned
value is discarded shall be clearly indicated using (void).
This patch fixes the violations related to the following
function calls.
vlapic_set_intr
vlapic_intr_edge | [
{
"change_type": "MODIFY",
"old_path": "hypervisor/arch/x86/guest/vlapic.c",
"new_path": "hypervisor/arch/x86/guest/vlapic.c",
"diff": "@@ -1285,8 +1285,7 @@ vlapic_icrlo_write_handler(struct acrn_vlapic *vlapic)\ntarget_vcpu = vcpu_from_vid(vlapic->vm, vcpu_id);\nif (mode == APIC_DELMODE_FIXED) {\n... | C | BSD 3-Clause New or Revised License | projectacrn/acrn-hypervisor | hv: fix '(void) missing for discarded return value'
MISRA-C requires that the function call in which the returned
value is discarded shall be clearly indicated using (void).
This patch fixes the violations related to the following
function calls.
- vlapic_set_intr
- vlapic_intr_edge
Tracked-On: #861
Signed-off-by: S... |
528,731 | 13.11.2018 10:20:51 | -28,800 | 2c7c909e3875aaac2b11a098d634cba6bcfcc615 | hv: vtd: fix the pre-allocated context table number
In current code, there is an out of range access to the array buses defined in struct struct context_table.
This patch defines CONFIG_IOMMU_BUS_NUM to replace CONFIG_IOMMU_INIT_BUS_LIMIT, which is clearer.
CONFIG_IOMMU_BUS_NUM equals to (CONFIG_IOMMU_INIT_BUS_LIMIT + ... | [
{
"change_type": "MODIFY",
"old_path": "hypervisor/arch/x86/Kconfig",
"new_path": "hypervisor/arch/x86/Kconfig",
"diff": "@@ -304,12 +304,12 @@ config RELOC\nwherever appropriate. Without relocation the bootloader must put the\nimage to RAM_START, otherwise the hypervisor will not start up.\n-config... | C | BSD 3-Clause New or Revised License | projectacrn/acrn-hypervisor | hv: vtd: fix the pre-allocated context table number
In current code, there is an out of range access to the array buses defined in struct struct context_table.
This patch defines CONFIG_IOMMU_BUS_NUM to replace CONFIG_IOMMU_INIT_BUS_LIMIT, which is clearer.
CONFIG_IOMMU_BUS_NUM equals to (CONFIG_IOMMU_INIT_BUS_LIMIT +... |
528,801 | 13.11.2018 16:40:26 | -28,800 | 0a9d6841f724f07cba3d801a350828429d453bcd | hv: instr_emul: clean up mmio_read/mmio_write
clean up mmio_read/mmio_write in instr_emul.c
make these two functions inline
discard the return value and add the pre condition
rename these two functions to vie_mmio_read/vie_mmio_write
Acked-by: Eddie Dong | [
{
"change_type": "MODIFY",
"old_path": "hypervisor/arch/x86/guest/instr_emul.c",
"new_path": "hypervisor/arch/x86/guest/instr_emul.c",
"diff": "@@ -492,24 +492,20 @@ static int vie_calculate_gla(enum vm_cpu_mode cpu_mode, enum cpu_reg_name seg,\nreturn 0;\n}\n-static int mmio_read(const struct acrn_... | C | BSD 3-Clause New or Revised License | projectacrn/acrn-hypervisor | hv: instr_emul: clean up mmio_read/mmio_write
clean up mmio_read/mmio_write in instr_emul.c
- make these two functions inline
- discard the return value and add the pre condition
- rename these two functions to vie_mmio_read/vie_mmio_write
Tracked-On: #861
Signed-off-by: Shiqing Gao <shiqing.gao@intel.com>
Acked-by: ... |
528,676 | 07.11.2018 17:41:14 | -28,800 | 7e6d0a217623d66b0071db6790744b1ae9dd2df4 | HV:pic fix "Recursion in procedure calls found"
Functions shall not call themselves, either directly or indirectly.
vpic_set_pinstate will cal vpic_notify_intr and results to recursion
violations,fix it out by mov vpic_notify_intr out of vpic_set_pinstate.
Acked-by: Anthony Xu | [
{
"change_type": "MODIFY",
"old_path": "hypervisor/dm/vpic.c",
"new_path": "hypervisor/dm/vpic.c",
"diff": "@@ -434,8 +434,6 @@ static void vpic_set_pinstate(struct acrn_vpic *vpic, uint8_t pin,\ndev_dbg(ACRN_DBG_PIC, \"pic pin%hhu: %s, ignored\\n\",\npin, (level != 0U) ? \"asserted\" : \"deasserted... | C | BSD 3-Clause New or Revised License | projectacrn/acrn-hypervisor | HV:pic fix "Recursion in procedure calls found"
Functions shall not call themselves, either directly or indirectly.
vpic_set_pinstate will cal vpic_notify_intr and results to recursion
violations,fix it out by mov vpic_notify_intr out of vpic_set_pinstate.
Tracked-On: #861
Signed-off-by: Huihuang Shi <huihuang.shi@i... |
528,652 | 06.11.2018 15:54:20 | 28,800 | a646fcf76188e60daf173c37bf6d48f1c5baadb6 | hv: fix 'No brackets to then/else' in vpci code
This patch addes missing brackets for 'if/else' statements based on
MISRA-C requirements 12 S.
Acked-by: Anthony Xu | [
{
"change_type": "MODIFY",
"old_path": "hypervisor/dm/vpci/vpci.c",
"new_path": "hypervisor/dm/vpci/vpci.c",
"diff": "@@ -64,7 +64,8 @@ static uint32_t pci_cfg_io_read(struct acrn_vm *vm, uint16_t addr, size_t bytes)\nval |= PCI_CFG_ENABLE;\n}\n}\n- } else if (is_cfg_data(addr)) {\n+ } else {\n+ if ... | C | BSD 3-Clause New or Revised License | projectacrn/acrn-hypervisor | hv: fix 'No brackets to then/else' in vpci code
This patch addes missing brackets for 'if/else' statements based on
MISRA-C requirements 12 S.
Tracked-On: #861
Signed-off-by: Zide Chen <zide.chen@intel.com>
Acked-by: Anthony Xu <anthony.xu@intel.com>
Reviewed-by: Huihuang Shi <huihuang.shi@intel.com> |
528,694 | 14.11.2018 11:20:36 | -28,800 | 9dacc4a57d3ed10b1bc5776fcf0a83a4fd235a1c | tools:acrn-crashlog:fix potential issue
this patch fix potential issue of initialization
about local variable in fsutils.c
Acked-by: Chen, Gang | [
{
"change_type": "MODIFY",
"old_path": "tools/acrn-crashlog/common/fsutils.c",
"new_path": "tools/acrn-crashlog/common/fsutils.c",
"diff": "@@ -1014,7 +1014,7 @@ fail_open:\nint read_file(const char *path, unsigned long *size, void **data)\n{\n- char tmp[1024] = \"\\0\";\n+ char tmp[1024];\nint len ... | C | BSD 3-Clause New or Revised License | projectacrn/acrn-hypervisor | tools:acrn-crashlog:fix potential issue
this patch fix potential issue of initialization
about local variable in fsutils.c
Tracked-On: #1024
Signed-off-by: Zhonghua <zhonghua.sun@intel.com>
Reviewed-by: Huang, Yonghua <yonghua.huang@intel.com>
Acked-by: Chen, Gang <gang.c.chen@intel.com> |
528,713 | 14.11.2018 22:03:04 | -28,800 | b32e689a64f305389fb6b928e97c1916a6ee1be6 | hypervisor: use "wbinvd" carefully in RT environment
Due to the side-effect to cache of "wbinvd" instruction, just apply it
in case of noncoherent DMA. | [
{
"change_type": "MODIFY",
"old_path": "hypervisor/arch/x86/vmexit.c",
"new_path": "hypervisor/arch/x86/vmexit.c",
"diff": "static int unhandled_vmexit_handler(struct acrn_vcpu *vcpu);\nstatic int xsetbv_vmexit_handler(struct acrn_vcpu *vcpu);\n+static int wbinvd_vmexit_handler(struct acrn_vcpu *vcp... | C | BSD 3-Clause New or Revised License | projectacrn/acrn-hypervisor | hypervisor: use "wbinvd" carefully in RT environment
Due to the side-effect to cache of "wbinvd" instruction, just apply it
in case of noncoherent DMA.
Tracked-On: #1824
Signed-off-by: Zheng, Gen <gen.zheng@intel.com>
Reviewed-by: Binbin Wu <binbin.wu@intel.com> |
528,799 | 15.11.2018 11:14:41 | 28,800 | 3b87e7c67f8be80ce7b8d67f9e6c0d52e4bba62f | HV: Add vuart port base address/IRQ Kconfig options
Adding Kconfig option to define the vuart port base address/IRQ.
By default, use 0x3F8/IRQ4. For MRB, use 0x3E8/IRQ6.
We are experiencing problems on NUC after changing from 0x3F8/IRQ4
to 0x3E8/IRQ6. | [
{
"change_type": "MODIFY",
"old_path": "hypervisor/arch/x86/Kconfig",
"new_path": "hypervisor/arch/x86/Kconfig",
"diff": "@@ -165,6 +165,20 @@ config SERIAL_PIO_BASE\nThe base address of the UART ports. This is logically 16-bit but used\nas a 64-bit integer.\n+config COM_BASE\n+ hex \"Base address o... | C | BSD 3-Clause New or Revised License | projectacrn/acrn-hypervisor | HV: Add vuart port base address/IRQ Kconfig options
Adding Kconfig option to define the vuart port base address/IRQ.
By default, use 0x3F8/IRQ4. For MRB, use 0x3E8/IRQ6.
We are experiencing problems on NUC after changing from 0x3F8/IRQ4
to 0x3E8/IRQ6.
Tracked-On: #1817
Change-Id: Ie407e51a7bc25ac0bb4c61453c969f1466fa... |
528,799 | 15.11.2018 11:17:20 | 28,800 | 1018a31cbb5e93ba378e7124bc5764786320377f | HV: For NUC, use 0x3F8/IRQ4 as the vuart port base address/IRQ and use ttyS0 accordingly | [
{
"change_type": "MODIFY",
"old_path": "hypervisor/bsp/uefi/clearlinux/acrn.conf",
"new_path": "hypervisor/bsp/uefi/clearlinux/acrn.conf",
"diff": "title The ACRN Service OS\nlinux /EFI/org.clearlinux/kernel-org.clearlinux.iot-lts2018-sos.4.19.0-16\n-options pci_devices_ignore=(0:18:1) console=tty0 ... | C | BSD 3-Clause New or Revised License | projectacrn/acrn-hypervisor | HV: For NUC, use 0x3F8/IRQ4 as the vuart port base address/IRQ and use ttyS0 accordingly
Tracked-On: #1817
Change-Id: I6f063e3f85b2050d63c75c1e8a46c5e8ab8a2860
Signed-off-by: dongshen <dongsheng.x.zhang@intel.com> |
528,675 | 16.11.2018 12:47:54 | -28,800 | 2c581751de8b2af7f0b007019fc24979597b0ae9 | vmx: tiny fix for MACRO name and print format
1. CPU_SEG_WRITE->CPU_SEG_READ: it's actually seg read
2. 0x%hu -> 0x%x: it need print hex format | [
{
"change_type": "MODIFY",
"old_path": "hypervisor/arch/x86/vmx.c",
"new_path": "hypervisor/arch/x86/vmx.c",
"diff": "@@ -625,29 +625,29 @@ static void init_host_state(void)\n* GS), * Task Register (TR), * Local Descriptor Table Register (LDTR)\n*\n***************************************************... | C | BSD 3-Clause New or Revised License | projectacrn/acrn-hypervisor | vmx: tiny fix for MACRO name and print format
1. CPU_SEG_WRITE->CPU_SEG_READ: it's actually seg read
2. 0x%hu -> 0x%x: it need print hex format
Tracked-On: #1833
Signed-off-by: Jason Chen CJ <jason.cj.chen@intel.com> |
528,801 | 16.11.2018 16:54:15 | -28,800 | 119eccfea12ecc5687402d15f0ed230686fa2b5e | hv: hypercall: clean up HV_DEBUG usage
remove the usage of HV_DEBUG in hypercall.c and vmcall.c
TO-DO:
Enhance Makefile to compile debug/release into 2 libraries
Acked-by: Eddie Dong | [
{
"change_type": "MODIFY",
"old_path": "hypervisor/Makefile",
"new_path": "hypervisor/Makefile",
"diff": "@@ -111,6 +111,8 @@ LD ?= ld\nOBJCOPY ?= objcopy\nD_SRCS += $(wildcard debug/*.c)\n+R_SRCS += $(wildcard release/*.c)\n+\nC_SRCS += boot/acpi.c\nC_SRCS += boot/dmar_parse.c\nC_SRCS += boot/reloc... | C | BSD 3-Clause New or Revised License | projectacrn/acrn-hypervisor | hv: hypercall: clean up HV_DEBUG usage
remove the usage of HV_DEBUG in hypercall.c and vmcall.c
TO-DO:
Enhance Makefile to compile debug/release into 2 libraries
Tracked-On: #861
Signed-off-by: Shiqing Gao <shiqing.gao@intel.com>
Acked-by: Eddie Dong <eddie.dong@intel.com> |
528,652 | 19.11.2018 15:50:23 | 28,800 | 53971e1974335cac2150e64b27a199de32c768d8 | hv: fix 2 bugs in msix.c
in vmsix_cfgwrite(), it should write the new value 'val'.
in vmsix_table_mmio_access_handler(), mmio_gpa is a typo for intercepted_gpa. | [
{
"change_type": "MODIFY",
"old_path": "hypervisor/dm/vpci/msix.c",
"new_path": "hypervisor/dm/vpci/msix.c",
"diff": "@@ -177,7 +177,7 @@ static int vmsix_cfgwrite(struct pci_vdev *vdev, uint32_t offset, uint32_t bytes\n}\nif (((msgctrl ^ val) & PCIM_MSIXCTRL_FUNCTION_MASK) != 0U) {\n- pci_pdev_writ... | C | BSD 3-Clause New or Revised License | projectacrn/acrn-hypervisor | hv: fix 2 bugs in msix.c
- in vmsix_cfgwrite(), it should write the new value 'val'.
- in vmsix_table_mmio_access_handler(), mmio_gpa is a typo for intercepted_gpa.
Tracked-On: #1568
Signed-off-by: Zide Chen <zide.chen@intel.com>
Reviewed-by: Li, Fei1 <fei1.li@intel.com> |
528,652 | 19.11.2018 15:55:21 | 28,800 | c41c0dab0802ae87f74dea159265662311533301 | hv: properly initialize MSI-X table
Though guests are not supposed to read Message Data/Addr, it's still better
off to initialize them to 0.
vector_control should be initialize to zero besides the mask bit. | [
{
"change_type": "MODIFY",
"old_path": "hypervisor/dm/vpci/msix.c",
"new_path": "hypervisor/dm/vpci/msix.c",
"diff": "@@ -350,7 +350,9 @@ static int vmsix_init(struct pci_vdev *vdev)\n/* Mask all table entries */\nfor (i = 0U; i < msix->table_count; i++) {\n- msix->tables[i].vector_control |= PCIM_M... | C | BSD 3-Clause New or Revised License | projectacrn/acrn-hypervisor | hv: properly initialize MSI-X table
Though guests are not supposed to read Message Data/Addr, it's still better
off to initialize them to 0.
vector_control should be initialize to zero besides the mask bit.
Tracked-On: #1568
Signed-off-by: Zide Chen <zide.chen@intel.com>
Reviewed-by: Li, Fei1 <fei1.li@intel.com> |
528,731 | 08.11.2018 13:06:32 | -28,800 | e35a8e8cff92a933c354fe12d36c425ad7dca4d1 | hv: vtd: typo fix
dmar_uint -> dmar_unit
remove i in line 756 added by accident.
Acked-by: Eddie Dong | [
{
"change_type": "MODIFY",
"old_path": "hypervisor/arch/x86/vtd.c",
"new_path": "hypervisor/arch/x86/vtd.c",
"diff": "@@ -175,7 +175,7 @@ static inline uint16_t vmid_to_domainid(uint16_t vm_id)\nreturn vm_id + 1U;\n}\n-static int dmar_register_hrhd(struct dmar_drhd_rt *dmar_uint);\n+static int dmar_... | C | BSD 3-Clause New or Revised License | projectacrn/acrn-hypervisor | hv: vtd: typo fix
dmar_uint -> dmar_unit
remove i in line 756 added by accident.
Tracked-On: #1855
Signed-off-by: Binbin Wu <binbin.wu@intel.com>
Acked-by: Eddie Dong <eddie.dong@intel.com> |
528,731 | 08.11.2018 13:28:06 | -28,800 | efb249235a856cb0318afd0a251a59b3e33f4ae0 | hv: vtd: merge lines for a statement if needed.
Becuase the number of character of a line is 120.
Merge lines for a statement if needed.
Acked-by: Eddie Dong | [
{
"change_type": "MODIFY",
"old_path": "hypervisor/arch/x86/vtd.c",
"new_path": "hypervisor/arch/x86/vtd.c",
"diff": "#define IOMMU_FAULT_REGISTER_SIZE 4U\n#define CTX_ENTRY_UPPER_AW_POS (0U)\n-#define CTX_ENTRY_UPPER_AW_MASK \\\n- (0x7UL << CTX_ENTRY_UPPER_AW_POS)\n+#define CTX_ENTRY_UPPER_AW_MASK ... | C | BSD 3-Clause New or Revised License | projectacrn/acrn-hypervisor | hv: vtd: merge lines for a statement if needed.
Becuase the number of character of a line is 120.
Merge lines for a statement if needed.
Tracked-On: #1855
Signed-off-by: Binbin Wu <binbin.wu@intel.com>
Acked-by: Eddie Dong <eddie.dong@intel.com> |
528,731 | 08.11.2018 13:42:07 | -28,800 | 32ed3d1a76afdfbaa49b0aa8d5f66f19f5b4dfbe | hv: vtd: move public API to the bottom part of the file
Move move public API to the bottom part of the file.
Acked-by: Eddie Dong | [
{
"change_type": "MODIFY",
"old_path": "hypervisor/arch/x86/vtd.c",
"new_path": "hypervisor/arch/x86/vtd.c",
"diff": "@@ -796,51 +796,6 @@ static void dmar_disable(struct dmar_drhd_rt *dmar_unit)\ndmar_fault_event_mask(dmar_unit);\n}\n-struct iommu_domain *create_iommu_domain(uint16_t vm_id, uint64_... | C | BSD 3-Clause New or Revised License | projectacrn/acrn-hypervisor | hv: vtd: move public API to the bottom part of the file
Move move public API to the bottom part of the file.
Tracked-On: #1855
Signed-off-by: Binbin Wu <binbin.wu@intel.com>
Acked-by: Eddie Dong <eddie.dong@intel.com> |
528,731 | 08.11.2018 14:42:53 | -28,800 | a2cb9c2b6a7f7d84b3e9a6e6a848045ed6df3d31 | hv: vtd: add do_action_for_iommus
Add an internal API to do action according to action function provided,
which can simplify the code. | [
{
"change_type": "MODIFY",
"old_path": "hypervisor/arch/x86/vtd.c",
"new_path": "hypervisor/arch/x86/vtd.c",
"diff": "@@ -796,6 +796,43 @@ static void dmar_disable(struct dmar_drhd_rt *dmar_unit)\ndmar_fault_event_mask(dmar_unit);\n}\n+static void dmar_suspend(struct dmar_drhd_rt *dmar_unit)\n+{\n+ ... | C | BSD 3-Clause New or Revised License | projectacrn/acrn-hypervisor | hv: vtd: add do_action_for_iommus
Add an internal API to do action according to action function provided,
which can simplify the code.
Tracked-On: #1855
Signed-off-by: Binbin Wu <binbin.wu@intel.com>
Reviewed-by: Eddie Dong <eddie.dong@intel.com> |
528,731 | 08.11.2018 15:49:43 | -28,800 | 830b3aa07ca625d997e5bd89c6ebaec646b0210b | hv: vtd: check vtd enabling status with spinlock
Check vtd translation enabling status when enable/disable translation
inside dmar_enable/disable_translation with spinlock.
Acked-by: Anthony Xu | [
{
"change_type": "MODIFY",
"old_path": "hypervisor/arch/x86/vtd.c",
"new_path": "hypervisor/arch/x86/vtd.c",
"diff": "@@ -357,16 +357,16 @@ static bool dmar_unit_support_aw(const struct dmar_drhd_rt *dmar_unit, uint32_t\nstatic void dmar_enable_translation(struct dmar_drhd_rt *dmar_unit)\n{\n- uint3... | C | BSD 3-Clause New or Revised License | projectacrn/acrn-hypervisor | hv: vtd: check vtd enabling status with spinlock
Check vtd translation enabling status when enable/disable translation
inside dmar_enable/disable_translation with spinlock.
Tracked-On: #1855
Signed-off-by: Binbin Wu <binbin.wu@intel.com>
Acked-by: Anthony Xu <anthony.xu@intel.com> |
528,731 | 08.11.2018 18:55:31 | -28,800 | 42e0e169c3d379860f63113b03d696cf3633e6e3 | hv: vtd: init interrupt config when resume
Current code doesn't init interrupt config when resume from S3.
The related register contect will be lost during S3.
This patch re-init these regiters.
Acked-by: Anthony Xu | [
{
"change_type": "MODIFY",
"old_path": "hypervisor/arch/x86/vtd.c",
"new_path": "hypervisor/arch/x86/vtd.c",
"diff": "@@ -751,11 +751,7 @@ static int dmar_setup_interrupt(struct dmar_drhd_rt *dmar_unit)\nuint32_t vector;\nint32_t retval;\n- if (dmar_unit->dmar_irq != IRQ_INVALID) {\n- dev_dbg(ACRN_D... | C | BSD 3-Clause New or Revised License | projectacrn/acrn-hypervisor | hv: vtd: init interrupt config when resume
Current code doesn't init interrupt config when resume from S3.
The related register contect will be lost during S3.
This patch re-init these regiters.
Tracked-On: #1855
Signed-off-by: Binbin Wu <binbin.wu@intel.com>
Acked-by: Anthony Xu <anthony.xu@intel.com> |
528,728 | 14.11.2018 16:04:21 | -3,600 | 4ec4ddc0ccfb3041aae82c00dda0d7c62750d2eb | Documentation: clean-up of isolated README.rst files
Clean up of a couple of README.rst files located respectively under hypervisor/
and devicemodel/ to remove obsolete and unmaintained information. Both hold a
basic introduction about the folder content and refer to the official
documentation website for more detailed... | [
{
"change_type": "MODIFY",
"old_path": "devicemodel/README.rst",
"new_path": "devicemodel/README.rst",
"diff": "@@ -3,78 +3,10 @@ ACRN Device Model\nIntroduction\n============\n-The ACRN Device Model provides **device sharing** capabilities between the Service OS and Guest OSs. It is a component tha... | C | BSD 3-Clause New or Revised License | projectacrn/acrn-hypervisor | Documentation: clean-up of isolated README.rst files
Clean up of a couple of README.rst files located respectively under hypervisor/
and devicemodel/ to remove obsolete and unmaintained information. Both hold a
basic introduction about the folder content and refer to the official
documentation website for more detaile... |
528,731 | 15.11.2018 11:36:34 | -28,800 | 973c616ab3bdf3b38974df85ad65539ca0d4d4e3 | doc: passthru: add structure and API docs
This patch adds more comments to describe the structures and functions of vtd
that are public to the other components in the hypervisor. The comments are in
doxygen-style for document generation. | [
{
"change_type": "MODIFY",
"old_path": "hypervisor/arch/x86/assign.c",
"new_path": "hypervisor/arch/x86/assign.c",
"diff": "@@ -532,8 +532,6 @@ void ptdev_intx_ack(struct acrn_vm *vm, uint8_t virt_pin,\n* We use entry_nr to indicate coming vectors\n* entry_nr = 0 means first vector\n* user must prov... | C | BSD 3-Clause New or Revised License | projectacrn/acrn-hypervisor | doc: passthru: add structure and API docs
This patch adds more comments to describe the structures and functions of vtd
that are public to the other components in the hypervisor. The comments are in
doxygen-style for document generation.
Tracked-On: #1595
Signed-off-by: Binbin Wu <binbin.wu@intel.com>
Reviewed-by: Ge... |
528,731 | 15.11.2018 11:44:59 | -28,800 | fe08a44e835882cba76dbe935b15e3f9b51bc4d3 | hv: doc: use doxygen-generated API docs in HLD for passthru
This patch adds vtd.h to the input of doxygen and replaces hard-coded API docs
with doxygen-generated ones. | [
{
"change_type": "MODIFY",
"old_path": "doc/acrn.doxyfile",
"new_path": "doc/acrn.doxyfile",
"diff": "@@ -803,6 +803,7 @@ INPUT = custom-doxygen/mainpage.md \\\n../hypervisor/include/arch/x86/guest/vioapic.h \\\n../hypervisor/include/arch/x86/guest/vpic.h \\\n../hypervisor/include/arch/x86/ioreq.h \... | C | BSD 3-Clause New or Revised License | projectacrn/acrn-hypervisor | hv: doc: use doxygen-generated API docs in HLD for passthru
This patch adds vtd.h to the input of doxygen and replaces hard-coded API docs
with doxygen-generated ones.
Tracked-On: #1595
Signed-off-by: Binbin Wu <binbin.wu@intel.com>
Reviewed-by: Geoffroy Van Cutsem <geoffroy.vancutsem@intel.com> |
528,804 | 20.11.2018 16:14:19 | -28,800 | e350abe40d623a283ba4bc59511fa526d3714bcb | HV: handle adding ptdev entry failure cases
handle adding pass-through device entry failure cases,
instead of calling ASSERT, to avoid hypervisor crash.
Acked-by: Anthony Xu | [
{
"change_type": "MODIFY",
"old_path": "hypervisor/arch/x86/assign.c",
"new_path": "hypervisor/arch/x86/assign.c",
"diff": "@@ -192,9 +192,8 @@ ptdev_build_physical_rte(struct acrn_vm *vm,\n* - if the entry already be added by vm0, then change the owner to current vm\n* - if the entry already be add... | C | BSD 3-Clause New or Revised License | projectacrn/acrn-hypervisor | HV: handle adding ptdev entry failure cases
handle adding pass-through device entry failure cases,
instead of calling ASSERT, to avoid hypervisor crash.
Tracked-On: #1860
Signed-off-by: Minggui Cao <minggui.cao@intel.com>
Acked-by: Anthony Xu <anthony.xu@intel.com> |
528,797 | 19.11.2018 09:45:18 | -7,200 | 844553ef23f831cc96570fa3f628c359e11a6ac7 | dm: mei: check for state before link reset callback
Prevent intercepting reset callback if reset state
transition is already in progress.
Acked-by: Acked-by: Yu Wang | [
{
"change_type": "MODIFY",
"old_path": "devicemodel/hw/pci/virtio/virtio_mei.c",
"new_path": "devicemodel/hw/pci/virtio/virtio_mei.c",
"diff": "@@ -1984,6 +1984,9 @@ vmei_reset_callback(int fd, enum ev_type type, void *param)\nchar buf[MEI_DEV_STATE_LEN] = {0};\nint sz;\n+ if (vmei->status != VMEI_S... | C | BSD 3-Clause New or Revised License | projectacrn/acrn-hypervisor | dm: mei: check for state before link reset callback
Prevent intercepting reset callback if reset state
transition is already in progress.
Tracked-On: #1846
Signed-off-by: Alexander Usyskin <alexander.usyskin@intel.com>
Signed-off-by: Tomas Winkler <tomas.winkler@intel.com>
Acked-by: Acked-by: Yu Wang <yu1.wang@intel.... |
528,775 | 19.11.2018 20:06:05 | -7,200 | 87fbb7003dbc831eb500401a683b6f2647f8b1a7 | dm: mei: fix double fw_reset on uos reboot
Edge triggered mevent on sysfs file is triggered
immediately after mevent_add(), hence this has to be ignored.
The issue that is resolved that the 'first' flag was
global and wasn't reset on each mevent_add().
Acked-by: Acked-by: Yu Wang | [
{
"change_type": "MODIFY",
"old_path": "devicemodel/hw/pci/virtio/virtio_mei.c",
"new_path": "devicemodel/hw/pci/virtio/virtio_mei.c",
"diff": "@@ -318,6 +318,7 @@ struct virtio_mei {\npthread_mutex_t mutex;\nstruct mevent *reset_mevp;\n+ bool dev_state_first;\nstruct mei_virtio_cfg *config;\n@@ -19... | C | BSD 3-Clause New or Revised License | projectacrn/acrn-hypervisor | dm: mei: fix double fw_reset on uos reboot
Edge triggered mevent on sysfs file is triggered
immediately after mevent_add(), hence this has to be ignored.
The issue that is resolved that the 'first' flag was
global and wasn't reset on each mevent_add().
Tracked-On: #1846
Signed-off-by: Tomas Winkler <tomas.winkler@int... |
528,797 | 19.11.2018 09:58:23 | -7,200 | 7bd2976f9c4b862ed33cd24755d78766928e0e36 | dm: mei: add zero termination to devpath
Reset directory name to receive clean prints.
Acked-by: Acked-by: Yu Wang | [
{
"change_type": "MODIFY",
"old_path": "devicemodel/hw/pci/virtio/virtio_mei.c",
"new_path": "devicemodel/hw/pci/virtio/virtio_mei.c",
"diff": "@@ -806,6 +806,7 @@ static int vmei_me_client_scan_list(struct virtio_mei *vmei)\nstruct mei_client_properties props;\nmemset(&props, 0, sizeof(props));\n+ ... | C | BSD 3-Clause New or Revised License | projectacrn/acrn-hypervisor | dm: mei: add zero termination to devpath
Reset directory name to receive clean prints.
Tracked-On: #1847
Signed-off-by: Alexander Usyskin <alexander.usyskin@intel.com>
Signed-off-by: Tomas Winkler <tomas.winkler@intel.com>
Acked-by: Acked-by: Yu Wang <yu1.wang@intel.com> |
528,797 | 19.11.2018 10:24:08 | -7,200 | 378afc5093099b7e8c7b9442815027d44dcbce93 | dm: mei: fix clients scan in sysfs
Fix the prefix comparison, we need to compare on prefix length, not
on devpath len, otherwise we always fail.
Acked-by: Acked-by: Yu Wang | [
{
"change_type": "MODIFY",
"old_path": "devicemodel/hw/pci/virtio/virtio_mei.c",
"new_path": "devicemodel/hw/pci/virtio/virtio_mei.c",
"diff": "@@ -766,12 +766,13 @@ static int mei_sysfs_read_properties(char *devpath, size_t size, size_t offset,\nreturn 0;\n}\n+\nstatic bool is_prefix(const char *pr... | C | BSD 3-Clause New or Revised License | projectacrn/acrn-hypervisor | dm: mei: fix clients scan in sysfs
Fix the prefix comparison, we need to compare on prefix length, not
on devpath len, otherwise we always fail.
Tracked-On: #1848
Signed-off-by: Alexander Usyskin <alexander.usyskin@intel.com>
Signed-off-by: Tomas Winkler <tomas.winkler@intel.com>
Acked-by: Acked-by: Yu Wang <yu1.wang... |
528,775 | 19.11.2018 21:46:33 | -7,200 | 031191dbcdee898ad01c3198f4d495dad393b260 | dm: apl-mrb: launch_uos: remove mei debug flags
Acked-by: 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": "@@ -93,7 +93,7 @@ if [ $cse_passthrough == 1 ]; then\necho \"0000:00:0f.0\" > /sys/bus/pci/drivers/pci-stub/bind\nboot_cse_option=\"$boot_cse_option\"... | C | BSD 3-Clause New or Revised License | projectacrn/acrn-hypervisor | dm: apl-mrb: launch_uos: remove mei debug flags
Tracked-On: #1849
Signed-off-by: Tomas Winkler <tomas.winkler@intel.com>
Acked-by: Acked-by: Yu Wang <yu1.wang@intel.com> |
528,799 | 19.11.2018 17:18:11 | 28,800 | 664bc1bace5f7138fc820dca354cc13f32a2e8b8 | HV: Partition mode source code file layout reorg
Put partition mode board specific files under partition/$(CONFIG_BOARD)/ | [
{
"change_type": "MODIFY",
"old_path": "hypervisor/Makefile",
"new_path": "hypervisor/Makefile",
"diff": "@@ -183,7 +183,8 @@ C_SRCS += dm/hw/pci.c\nC_SRCS += dm/vpci/core.c\nC_SRCS += dm/vpci/vpci.c\nifeq ($(CONFIG_PARTITION_MODE),y)\n-C_SRCS += $(wildcard partition/*.c)\n+C_SRCS += partition/$(CON... | C | BSD 3-Clause New or Revised License | projectacrn/acrn-hypervisor | HV: Partition mode source code file layout reorg
Put partition mode board specific files under partition/$(CONFIG_BOARD)/
Tracked-On: #1852
Signed-off-by: dongshen <dongsheng.x.zhang@intel.com> |
528,799 | 19.11.2018 17:58:57 | 28,800 | b0e1657b4f505ee66beb027e2a03928e4e0233d9 | HV: Adding partition mode support for cb2_dnv
Adding partition mode support for cb2_dnv. | [
{
"change_type": "MODIFY",
"old_path": "hypervisor/arch/x86/Kconfig",
"new_path": "hypervisor/arch/x86/Kconfig",
"diff": "@@ -300,7 +300,7 @@ config CONSTANT_ACPI\nbuilt-in tables after parsing the real ACPI tables at runtime.\nconfig DMAR_PARSE_ENABLED\n- bool\n+ bool \"Enable DMAR parsing\"\ndefau... | C | BSD 3-Clause New or Revised License | projectacrn/acrn-hypervisor | HV: Adding partition mode support for cb2_dnv
Adding partition mode support for cb2_dnv.
Tracked-On: #1853
Signed-off-by: dongshen <dongsheng.x.zhang@intel.com> |
528,654 | 15.11.2018 22:44:38 | -28,800 | b8a553d16a77dca5550a76538029c77618dcf759 | hv: lapic: remove union apic_lvt
Since it's unused. | [
{
"change_type": "MODIFY",
"old_path": "hypervisor/arch/x86/lapic.c",
"new_path": "hypervisor/arch/x86/lapic.c",
"diff": "@@ -27,75 +27,6 @@ union apic_icr {\n} bits;\n};\n-union apic_lvt {\n- uint32_t value;\n- union {\n- struct {\n- uint32_t vector:8;\n- uint32_t rsvd_1:4;\n- uint32_t delivery_sta... | C | BSD 3-Clause New or Revised License | projectacrn/acrn-hypervisor | hv: lapic: remove union apic_lvt
Since it's unused.
Tracked-On: #861
Signed-off-by: Li, Fei1 <fei1.li@intel.com> |
528,654 | 22.11.2018 17:30:49 | -28,800 | 02a89dd4735c3e7f6a8eb7e54bc4dfc5a2da161a | hv: lapic: fix a theoretic infinite loop when clear lapic isr
In theory, there would have 256 pending interrupts on lapic ISR.
Add this check to avoid theoretic infinite loop for clearing
lapic isr. Leave the potentially hardware issue to machine check. | [
{
"change_type": "MODIFY",
"old_path": "hypervisor/arch/x86/lapic.c",
"new_path": "hypervisor/arch/x86/lapic.c",
"diff": "@@ -45,20 +45,23 @@ static union lapic_base_msr saved_lapic_base_msr;\nstatic void clear_lapic_isr(void)\n{\n- uint32_t isr_reg = MSR_IA32_EXT_APIC_ISR0;\n+ uint32_t i;\n+ uint32... | C | BSD 3-Clause New or Revised License | projectacrn/acrn-hypervisor | hv: lapic: fix a theoretic infinite loop when clear lapic isr
In theory, there would have 256 pending interrupts on lapic ISR.
Add this check to avoid theoretic infinite loop for clearing
lapic isr. Leave the potentially hardware issue to machine check.
Tracked-On: #861
Signed-off-by: Li, Fei1 <fei1.li@intel.com> |
528,733 | 21.11.2018 17:50:14 | -28,800 | 19b35f97304375c4734965442e5f3b705e57dceb | acrn-dm: wait for monitor thread canceling finish
When thread_cancel() is called to exit pthread, we can't know
when the thread exit done unless pthread_join() is used to
wait for thread exit.
Acked-by: Anthony Xu | [
{
"change_type": "MODIFY",
"old_path": "devicemodel/core/monitor.c",
"new_path": "devicemodel/core/monitor.c",
"diff": "@@ -183,7 +183,10 @@ static void start_intr_storm_monitor(struct vmctx *ctx)\nstatic void stop_intr_storm_monitor(void)\n{\nif (intr_storm_monitor_pid) {\n+ void *ret;\n+\npthread_... | C | BSD 3-Clause New or Revised License | projectacrn/acrn-hypervisor | acrn-dm: wait for monitor thread canceling finish
When thread_cancel() is called to exit pthread, we can't know
when the thread exit done unless pthread_join() is used to
wait for thread exit.
Tracked-On: #1868
Signed-off-by: Yin Fengwei <fengwei.yin@intel.com>
Acked-by: Anthony Xu <anthony.xu@intel.com> |
528,801 | 21.11.2018 15:11:44 | -28,800 | 81db2422927b83b2b41a727820feadddc7aa7229 | hv: enhance Makefile to compile debug/release into 2 libraries
enhance Makefile to compile debug/release into 2 libraries
v1 -> v2:
* auto make all the libraries | [
{
"change_type": "MODIFY",
"old_path": "hypervisor/Makefile",
"new_path": "hypervisor/Makefile",
"diff": "@@ -17,11 +17,16 @@ STACK_PROTECTOR := 1\nBASEDIR := $(shell pwd)\nHV_OBJDIR ?= $(CURDIR)/build\nHV_FILE := acrn\n+SUB_MAKEFILES := $(wildcard */Makefile)\n+\n+LIB_DEBUG = $(HV_OBJDIR)/debug/lib... | C | BSD 3-Clause New or Revised License | projectacrn/acrn-hypervisor | hv: enhance Makefile to compile debug/release into 2 libraries
enhance Makefile to compile debug/release into 2 libraries
v1 -> v2:
* auto make all the libraries
Tracked-On: #861
Signed-off-by: Shiqing Gao <shiqing.gao@intel.com> |
528,768 | 22.11.2018 19:11:02 | -28,800 | 9d529fb9e67626347bda2690fad8d62729080880 | hv:use copy of guest's memory block in 'hcall_set_vm_memory_regions()'
to avoid passing guest's memory block into hypervisor internal
process for security.
Acked-by: Eddie Dong | [
{
"change_type": "MODIFY",
"old_path": "hypervisor/common/hypercall.c",
"new_path": "hypervisor/common/hypercall.c",
"diff": "@@ -581,7 +581,7 @@ static int32_t set_vm_memory_region(struct acrn_vm *vm,\nint32_t hcall_set_vm_memory_regions(struct acrn_vm *vm, uint64_t param)\n{\nstruct set_regions se... | C | BSD 3-Clause New or Revised License | projectacrn/acrn-hypervisor | hv:use copy of guest's memory block in 'hcall_set_vm_memory_regions()'
to avoid passing guest's memory block into hypervisor internal
process for security.
Tracked-On: #861
Signed-off-by: Yonghua Huang <yonghua.huang@intel.com>
Acked-by: Eddie Dong <eddie.dong@intel.com> |
528,801 | 22.11.2018 11:33:50 | -28,800 | e49929a776bbbba9dfbae883bebc05c5c848a005 | hv: ioapic: clean up HV_DEBUG usage
remove the usage of HV_DEBUG in ioapic.c
Acked-by: Eddie Dong | [
{
"change_type": "MODIFY",
"old_path": "hypervisor/arch/x86/ioapic.c",
"new_path": "hypervisor/arch/x86/ioapic.c",
"diff": "#define IOAPIC_MAX_PIN 240U\n#define IOAPIC_INVALID_PIN 0xffU\n-struct gsi_table {\n- uint8_t ioapic_id;\n- uint8_t pin;\n- void *addr;\n-};\n-static struct gsi_table gsi_table... | C | BSD 3-Clause New or Revised License | projectacrn/acrn-hypervisor | hv: ioapic: clean up HV_DEBUG usage
remove the usage of HV_DEBUG in ioapic.c
Tracked-On: #861
Signed-off-by: Shiqing Gao <shiqing.gao@intel.com>
Acked-by: Eddie Dong <eddie.dong@intel.com> |
528,801 | 22.11.2018 12:06:47 | -28,800 | dfe48811d4572fedfd795b6d8cf88cf2ea7213f6 | hv: vcpu: clean up HV_DEBUG usage
remove the usage of HV_DEBUG in vcpu.c
Acked-by: Eddie Dong | [
{
"change_type": "MODIFY",
"old_path": "hypervisor/arch/x86/guest/vcpu.c",
"new_path": "hypervisor/arch/x86/guest/vcpu.c",
"diff": "@@ -626,96 +626,3 @@ void request_vcpu_pre_work(struct acrn_vcpu *vcpu, uint16_t pre_work_id)\n{\nbitmap_set_lock(pre_work_id, &vcpu->pending_pre_work);\n}\n-\n-#ifdef ... | C | BSD 3-Clause New or Revised License | projectacrn/acrn-hypervisor | hv: vcpu: clean up HV_DEBUG usage
remove the usage of HV_DEBUG in vcpu.c
Tracked-On: #861
Signed-off-by: Shiqing Gao <shiqing.gao@intel.com>
Acked-by: Eddie Dong <eddie.dong@intel.com> |
528,801 | 22.11.2018 12:16:22 | -28,800 | a931229888ce8c83dd0019e5bf4c53d51312aa57 | hv: irq: clean up HV_DEBUG usage
remove the usage of HV_DEBUG in irq.c
Acked-by: Eddie Dong | [
{
"change_type": "MODIFY",
"old_path": "hypervisor/arch/x86/irq.c",
"new_path": "hypervisor/arch/x86/irq.c",
"diff": "static spinlock_t exception_spinlock = { .head = 0U, .tail = 0U, };\nstatic spinlock_t irq_alloc_spinlock = { .head = 0U, .tail = 0U, };\n-#define IRQ_ALLOC_BITMAP_SIZE INT_DIV_ROUND... | C | BSD 3-Clause New or Revised License | projectacrn/acrn-hypervisor | hv: irq: clean up HV_DEBUG usage
remove the usage of HV_DEBUG in irq.c
Tracked-On: #861
Signed-off-by: Shiqing Gao <shiqing.gao@intel.com>
Acked-by: Eddie Dong <eddie.dong@intel.com> |
528,801 | 22.11.2018 12:24:53 | -28,800 | f21e36f43bcb67221a45697fccbdb955e0563fab | hv: vioapic: clean up HV_DEBUG usage
remove the usage of HV_DEBUG in vioapic.c
Acked-by: Eddie Dong | [
{
"change_type": "MODIFY",
"old_path": "hypervisor/debug/shell.c",
"new_path": "hypervisor/debug/shell.c",
"diff": "@@ -916,6 +916,62 @@ static int shell_show_ptdev_info(__unused int argc, __unused char **argv)\nreturn 0;\n}\n+static void get_vioapic_info(char *str_arg, size_t str_max, uint16_t vmid... | C | BSD 3-Clause New or Revised License | projectacrn/acrn-hypervisor | hv: vioapic: clean up HV_DEBUG usage
remove the usage of HV_DEBUG in vioapic.c
Tracked-On: #861
Signed-off-by: Shiqing Gao <shiqing.gao@intel.com>
Acked-by: Eddie Dong <eddie.dong@intel.com> |
528,801 | 22.11.2018 13:46:33 | -28,800 | b1047224aaaa7b412c44ce063fccccf2bed5946c | hv: assign: clean up HV_DEBUG usage related to shell
remove the usage of HV_DEBUG related to shell command in assign.c
Acked-by: Eddie Dong | [
{
"change_type": "MODIFY",
"old_path": "hypervisor/arch/x86/assign.c",
"new_path": "hypervisor/arch/x86/assign.c",
"diff": "@@ -789,114 +789,3 @@ void ptdev_remove_msix_remapping(const struct acrn_vm *vm, uint16_t virt_bdf,\nspinlock_release(&ptdev_lock);\n}\n}\n-\n-#ifdef HV_DEBUG\n-#define PTDEV_I... | C | BSD 3-Clause New or Revised License | projectacrn/acrn-hypervisor | hv: assign: clean up HV_DEBUG usage related to shell
remove the usage of HV_DEBUG related to shell command in assign.c
Tracked-On: #861
Signed-off-by: Shiqing Gao <shiqing.gao@intel.com>
Acked-by: Eddie Dong <eddie.dong@intel.com> |
528,775 | 22.11.2018 10:14:47 | -7,200 | 580579a39255a2587be42cd83d31a70eb3cfae49 | dm: mei: Use compare and swap primitive for refcnt.
Simple atomic add/dec do no guarantee reference count full
synchronization without a lock. Compare and swap operations
are required for correct implementation.
Acked-by: Yin Fengwei | [
{
"change_type": "MODIFY",
"old_path": "devicemodel/hw/pci/virtio/virtio_mei.c",
"new_path": "devicemodel/hw/pci/virtio/virtio_mei.c",
"diff": "@@ -140,16 +140,43 @@ struct refcnt {\nint count;\n};\n-static inline void\n+static inline int atomic_read(const struct refcnt *ref)\n+{\n+ return *(volatil... | C | BSD 3-Clause New or Revised License | projectacrn/acrn-hypervisor | dm: mei: Use compare and swap primitive for refcnt.
Simple atomic add/dec do no guarantee reference count full
synchronization without a lock. Compare and swap operations
are required for correct implementation.
Tracked-On: #1875
Signed-off-by: Shuo A Liu <shuo.a.liu@intel.com>
Signed-off-by: Tomas Winkler <tomas.win... |
528,756 | 21.11.2018 16:46:58 | -28,800 | d043171de5390c65d8c1e19de47b2c27d56ff2c1 | IOC mediator: Add VehicalSteeringWheelAngle signal to the whitelist
The signal is used to get camera right and left values.
Acked-by: Yu Wang | [
{
"change_type": "MODIFY",
"old_path": "devicemodel/hw/platform/ioc.c",
"new_path": "devicemodel/hw/platform/ioc.c",
"diff": "@@ -633,6 +633,7 @@ static struct wlist_signal wlist_tx_signal_table[] = {\n{(uint16_t)CBC_SIG_ID_HVSSTT, DEFAULT_WLIST_NODE},\n{(uint16_t)CBC_SIG_ID_HRCAT, DEFAULT_WLIST_NOD... | C | BSD 3-Clause New or Revised License | projectacrn/acrn-hypervisor | IOC mediator: Add VehicalSteeringWheelAngle signal to the whitelist
The signal is used to get camera right and left values.
Tracked-On: #1886
Signed-off-by: Yuan Liu <yuan1.liu@intel.com>
Acked-by: Yu Wang <yu1.wang@intel.com> |
528,665 | 23.11.2018 09:47:18 | 0 | e555f75b8d540853373636f8fee4a3b777a2be5a | debug: Remove early logbuf support
This patch remove early logbuf support which is used to hold
log massges before shared buf setup by SOS. | [
{
"change_type": "MODIFY",
"old_path": "hypervisor/debug/logmsg.c",
"new_path": "hypervisor/debug/logmsg.c",
"diff": "@@ -19,57 +19,10 @@ struct logmsg {\nstatic struct logmsg logmsg;\n-static inline void init_earlylog_sbuf(uint16_t pcpu_id)\n-{\n- struct shared_buf *sbuf = (struct shared_buf *)per_... | C | BSD 3-Clause New or Revised License | projectacrn/acrn-hypervisor | debug: Remove early logbuf support
This patch remove early logbuf support which is used to hold
log massges before shared buf setup by SOS.
Tracked-On: #1801
Signed-off-by: Kaige Fu <kaige.fu@intel.com>
Reviewed-by: Eddie Dong <eddie.dong@intel.com>
Reviewed-by: Yan, Like <like.yan@intel.com> |
528,665 | 26.11.2018 19:18:22 | 0 | a5fd552456181179d326adc9affbc7d099c9f6e7 | debug: rename struct logmsg to struct acrn_logmsg_ctl
For data structure types "struct logmsg", its name is identical
with variable name in the same scope. This is a MISRA C violation.
This patch fix it.
Acked-by: Eddie Dong | [
{
"change_type": "MODIFY",
"old_path": "hypervisor/debug/logmsg.c",
"new_path": "hypervisor/debug/logmsg.c",
"diff": "* bsp/uefi/clearlinux/acrn.conf: hvlog=2M@0x1FE00000\n*/\n-struct logmsg {\n+struct acrn_logmsg_ctl {\nuint32_t flags;\nint32_t seq;\nspinlock_t lock;\n};\n-static struct logmsg logm... | C | BSD 3-Clause New or Revised License | projectacrn/acrn-hypervisor | debug: rename struct logmsg to struct acrn_logmsg_ctl
For data structure types "struct logmsg", its name is identical
with variable name in the same scope. This is a MISRA C violation.
This patch fix it.
Tracked-On: #1801
Signed-off-by: Kaige Fu <kaige.fu@intel.com>
Acked-by: Eddie Dong <eddie.dong@intel.com> |
528,783 | 27.11.2018 10:06:29 | -28,800 | c380ee9eeb2fe1cbe8fdf6ec0e714e8fba80448c | hv:Revise sanitized page size
now the size of sanitized_page is 32KB,
revise it to 4KB.
Acked-by: Anthony Xu | [
{
"change_type": "MODIFY",
"old_path": "hypervisor/arch/x86/mmu.c",
"new_path": "hypervisor/arch/x86/mmu.c",
"diff": "#include <reloc.h>\nstatic void *ppt_mmu_pml4_addr;\n-static void *sanitized_page[CPU_PAGE_SIZE];\n+static uint8_t sanitized_page[PAGE_SIZE] __aligned(PAGE_SIZE);\nstatic struct vmx_... | C | BSD 3-Clause New or Revised License | projectacrn/acrn-hypervisor | hv:Revise sanitized page size
now the size of sanitized_page is 32KB,
revise it to 4KB.
Tracked-On: #1842
Signed-off-by: Mingqiang Chi <mingqiang.chi@intel.com>
Acked-by: Anthony Xu <anthony.xu@intel.com> |
528,801 | 27.11.2018 09:32:05 | -28,800 | 06efc58a7edf07aaeb0e3d6f63cb910b0b477a52 | hv: assign: clean up HV_DEBUG usage related to vuart pin
replace HV_DEBUG with CONFIG_COM_IRQ which is more reasonable
Acked-by: Eddie Dong | [
{
"change_type": "MODIFY",
"old_path": "hypervisor/arch/x86/assign.c",
"new_path": "hypervisor/arch/x86/assign.c",
"diff": "@@ -52,7 +52,7 @@ ptdev_lookup_entry_by_vpin(struct acrn_vm *vm, uint8_t virt_pin, bool pic_pin)\nreturn entry;\n}\n-#ifdef HV_DEBUG\n+#ifdef CONFIG_COM_IRQ\nstatic bool ptdev_... | C | BSD 3-Clause New or Revised License | projectacrn/acrn-hypervisor | hv: assign: clean up HV_DEBUG usage related to vuart pin
replace HV_DEBUG with CONFIG_COM_IRQ which is more reasonable
Tracked-On: #861
Signed-off-by: Shiqing Gao <shiqing.gao@intel.com>
Reviewed-by: Li, Fei1 <fei1.li@intel.com>
Acked-by: Eddie Dong <eddie.dong@intel.com> |
528,646 | 08.11.2018 16:33:37 | -28,800 | 3d1332f392956193cfe3c5e9a24f77255142e70b | tools: acrn-crashlog: refine the log storage
1. remove watching TOMBSTONE in AaaG.
2. add a configurable parameter "foldersize" in MB, sender will drop
all events when the storaged log size exceeds this parameter.
Acked-by: Zhang Di | [
{
"change_type": "MODIFY",
"old_path": "tools/acrn-crashlog/acrnprobe/event_handler.c",
"new_path": "tools/acrn-crashlog/acrnprobe/event_handler.c",
"diff": "@@ -124,6 +124,38 @@ static void watchdog_init(int timeout)\n}\n}\n+static int check_folder_space(struct sender_t *sender)\n+{\n+ size_t dsize... | C | BSD 3-Clause New or Revised License | projectacrn/acrn-hypervisor | tools: acrn-crashlog: refine the log storage
1. remove watching TOMBSTONE in AaaG.
2. add a configurable parameter "foldersize" in MB, sender will drop
all events when the storaged log size exceeds this parameter.
Tracked-On:#1024
Signed-off-by: Liu, Xinwu <xinwu.liu@intel.com>
Reviewed-by: Chen Gang <gang.c.chen@... |
528,795 | 19.11.2018 10:02:28 | -28,800 | 0100b5a2e13899e719149e5e3a45867803fee14c | HV: replace dynamic memory with static for crypto library
Remove dynamic memory allocation in crypto lib, use array to
replace them.
Acked-by: Eddie Dong | [
{
"change_type": "MODIFY",
"old_path": "hypervisor/lib/crypto/crypto_api.c",
"new_path": "hypervisor/lib/crypto/crypto_api.c",
"diff": "@@ -52,8 +52,8 @@ int hmac_sha256(uint8_t *out_key,\n}\nif (mbedtls_md_hmac(md,\n- salt, salt_len,\nsecret, secret_len,\n+ salt, salt_len,\nout_key) != 0) {\nreturn... | C | BSD 3-Clause New or Revised License | projectacrn/acrn-hypervisor | HV: replace dynamic memory with static for crypto library
Remove dynamic memory allocation in crypto lib, use array to
replace them.
Tracked-On: #1900
Reviewed-by: Bing Zhu <bing.zhu@intel.com>
Signed-off-by: Chen Gang G <gang.g.chen@intel.com>
Acked-by: Eddie Dong <eddie.dong@intel.com> |
528,654 | 27.11.2018 18:41:36 | -28,800 | c200c984050ce540af2c9ebf224ec0f15f3a9fe9 | hv: include: remove name starts with underscore
Remove name starts with underscore for HV_CONFIG | [
{
"change_type": "MODIFY",
"old_path": "scripts/kconfig/generate_header.py",
"new_path": "scripts/kconfig/generate_header.py",
"diff": "@@ -21,7 +21,7 @@ class Acrn_config(kconfiglib.Kconfig):\ndef write_autoconf(self, filename,\nheader=\"/* Generated by Kconfiglib (https://github.com/ulfalizer/Kcon... | C | BSD 3-Clause New or Revised License | projectacrn/acrn-hypervisor | hv: include: remove name starts with underscore
Remove name starts with underscore for HV_CONFIG
Tracked-On: #861
Signed-off-by: Li, Fei1 <fei1.li@intel.com> |
528,654 | 27.11.2018 19:30:59 | -28,800 | 042c39352630a7771dc7e07c9591e1afc5ebd78a | hv: trusty: fix get_max_svn_index return type inconsistent
Function return type should consistent. | [
{
"change_type": "MODIFY",
"old_path": "hypervisor/arch/x86/trusty.c",
"new_path": "hypervisor/arch/x86/trusty.c",
"diff": "@@ -334,15 +334,10 @@ void switch_world(struct acrn_vcpu *vcpu, int next_world)\narch->cur_context = next_world;\n}\n-static int32_t get_max_svn_index(void)\n+static inline uin... | C | BSD 3-Clause New or Revised License | projectacrn/acrn-hypervisor | hv: trusty: fix get_max_svn_index return type inconsistent
Function return type should consistent.
Tracked-On: #861
Signed-off-by: Li, Fei1 <fei1.li@intel.com> |
528,801 | 27.11.2018 14:16:46 | -28,800 | 8920fbacaa83081a37ae44b1870d699b686b758b | hv: clean up function definitions in logmsg.h
seperate the function definitions into debug/release directories
to better distinguish debug/release libraries
Acked-by: Eddie Dong | [
{
"change_type": "MODIFY",
"old_path": "hypervisor/include/debug/logmsg.h",
"new_path": "hypervisor/include/debug/logmsg.h",
"diff": "extern uint16_t console_loglevel;\nextern uint16_t mem_loglevel;\nextern uint16_t npk_loglevel;\n-void init_logmsg(uint32_t flags);\n-void print_logmsg_buffer(uint16_... | C | BSD 3-Clause New or Revised License | projectacrn/acrn-hypervisor | hv: clean up function definitions in logmsg.h
seperate the function definitions into debug/release directories
to better distinguish debug/release libraries
Tracked-On: #861
Signed-off-by: Shiqing Gao <shiqing.gao@intel.com>
Acked-by: Eddie Dong <eddie.dong@intel.com> |
528,801 | 27.11.2018 14:28:40 | -28,800 | 649d0e323ba33b3f9e95ea22b9c3e368d20fda85 | hv: clean up function definitions in dump.h
seperate the function definitions into debug/release directories
to better distinguish debug/release libraries
Acked-by: Eddie Dong | [
{
"change_type": "MODIFY",
"old_path": "hypervisor/debug/dump.c",
"new_path": "hypervisor/debug/dump.c",
"diff": "#include <hypervisor.h>\n+#define CALL_TRACE_HIERARCHY_MAX 20U\n+#define DUMP_STACK_SIZE 0x200U\n+\n/*\n* readable exception descriptors.\n*/\n"
},
{
"change_type": "MODIFY",
... | C | BSD 3-Clause New or Revised License | projectacrn/acrn-hypervisor | hv: clean up function definitions in dump.h
seperate the function definitions into debug/release directories
to better distinguish debug/release libraries
Tracked-On: #861
Signed-off-by: Shiqing Gao <shiqing.gao@intel.com>
Acked-by: Eddie Dong <eddie.dong@intel.com> |
528,801 | 27.11.2018 14:54:30 | -28,800 | 7b74b2b909541a852699e1a6cbbd50273ff71adc | hv: clean up function definitions in console.h
seperate the function definitions into debug/release directories
to better distinguish debug/release libraries
Acked-by: Eddie Dong | [
{
"change_type": "MODIFY",
"old_path": "hypervisor/debug/console.c",
"new_path": "hypervisor/debug/console.c",
"diff": "@@ -63,3 +63,13 @@ void console_setup_timer(void)\npr_err(\"Failed to add console kick timer\");\n}\n}\n+\n+void suspend_console(void)\n+{\n+ del_timer(&console_timer);\n+}\n+\n+vo... | C | BSD 3-Clause New or Revised License | projectacrn/acrn-hypervisor | hv: clean up function definitions in console.h
seperate the function definitions into debug/release directories
to better distinguish debug/release libraries
Tracked-On: #861
Signed-off-by: Shiqing Gao <shiqing.gao@intel.com>
Acked-by: Eddie Dong <eddie.dong@intel.com> |
528,801 | 27.11.2018 15:08:22 | -28,800 | 637326bc6dca33a2251e12d56a9507fbb3c68443 | hv: clean up function definitions in vuart.h
seperate the function definitions into debug/release directories
to better distinguish debug/release libraries
Acked-by: Eddie Dong | [
{
"change_type": "MODIFY",
"old_path": "hypervisor/include/debug/vuart.h",
"new_path": "hypervisor/include/debug/vuart.h",
"diff": "@@ -65,24 +65,14 @@ struct acrn_vuart {\nstruct acrn_vm *vm;\nspinlock_t lock; /* protects all softc elements */\n};\n+\n#ifdef CONFIG_PARTITION_MODE\nextern int8_t vua... | C | BSD 3-Clause New or Revised License | projectacrn/acrn-hypervisor | hv: clean up function definitions in vuart.h
seperate the function definitions into debug/release directories
to better distinguish debug/release libraries
Tracked-On: #861
Signed-off-by: Shiqing Gao <shiqing.gao@intel.com>
Acked-by: Eddie Dong <eddie.dong@intel.com> |
528,801 | 27.11.2018 17:06:59 | -28,800 | 079566056ab50e1ddb228f30c4e08ec2d351ac28 | hv: clean up function definitions in trace.h
seperate the function definitions into debug/release directories
to better distinguish debug/release libraries
Acked-by: Eddie Dong | [
{
"change_type": "ADD",
"old_path": null,
"new_path": "hypervisor/debug/trace.c",
"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+\n+#define TRACE_CUSTOM 0xFCU\n+#define TRACE_FUNC_ENTER... | C | BSD 3-Clause New or Revised License | projectacrn/acrn-hypervisor | hv: clean up function definitions in trace.h
seperate the function definitions into debug/release directories
to better distinguish debug/release libraries
Tracked-On: #861
Signed-off-by: Shiqing Gao <shiqing.gao@intel.com>
Acked-by: Eddie Dong <eddie.dong@intel.com> |
528,801 | 28.11.2018 08:51:50 | -28,800 | 14f30a23c1571263bb0808d600563b4f5a76781d | hv: clean up function definitions in npk_log.h
seperate the function definitions into debug/release directories
to better distinguish debug/release libraries
Acked-by: Eddie Dong | [
{
"change_type": "MODIFY",
"old_path": "hypervisor/debug/npk_log.c",
"new_path": "hypervisor/debug/npk_log.c",
"diff": "@@ -9,6 +9,39 @@ static int32_t npk_log_setup_ref;\nstatic bool npk_log_enabled;\nstatic uint64_t base;\n+#define HV_NPK_LOG_REF_SHIFT 2U\n+#define HV_NPK_LOG_REF_MASK ((1U << HV_N... | C | BSD 3-Clause New or Revised License | projectacrn/acrn-hypervisor | hv: clean up function definitions in npk_log.h
seperate the function definitions into debug/release directories
to better distinguish debug/release libraries
Tracked-On: #861
Signed-off-by: Shiqing Gao <shiqing.gao@intel.com>
Acked-by: Eddie Dong <eddie.dong@intel.com> |
528,801 | 28.11.2018 09:08:40 | -28,800 | 2d2f96afce6db34a9f01d31eb8b8f5968d7ac8fc | hv: clean up function definitions in profiling.h
seperate the function definitions into debug/release directories
to better distinguish debug/release libraries
Acked-by: Eddie Dong | [
{
"change_type": "MODIFY",
"old_path": "hypervisor/include/debug/profiling.h",
"new_path": "hypervisor/include/debug/profiling.h",
"diff": "#define PROFILING_H\n#ifdef PROFILING_ON\n-\n#include <profiling_internal.h>\n+#endif\nvoid profiling_vmenter_handler(struct acrn_vcpu *vcpu);\nvoid profiling_v... | C | BSD 3-Clause New or Revised License | projectacrn/acrn-hypervisor | hv: clean up function definitions in profiling.h
seperate the function definitions into debug/release directories
to better distinguish debug/release libraries
Tracked-On: #861
Signed-off-by: Shiqing Gao <shiqing.gao@intel.com>
Acked-by: Eddie Dong <eddie.dong@intel.com> |
528,718 | 16.11.2018 15:16:03 | -28,800 | 6d6c5b959cf91e1236aa862ffc2f69b62c0b08b8 | [doc] Enhance Using partition mode on UP2 tutorial | [
{
"change_type": "ADD",
"old_path": "doc/tutorials/images/menuconfig-partition-mode.png",
"new_path": "doc/tutorials/images/menuconfig-partition-mode.png",
"diff": "Binary files /dev/null and b/doc/tutorials/images/menuconfig-partition-mode.png differ\n"
},
{
"change_type": "ADD",
"old_p... | C | BSD 3-Clause New or Revised License | projectacrn/acrn-hypervisor | [doc] Enhance Using partition mode on UP2 tutorial |
528,786 | 16.08.2018 13:58:24 | -28,800 | aae70db6b97e92bedba6fbc3dba17a80ef400806 | DM: Add support for virtual TPM enabling
Support TPM enable option when launch UOS.
New option: "--vtpm sock_path=$PATH_OF_SWTPM_SOCKET".
If valid option parsed, then init virtual tpm device.
Acked-by: Yin Fengwei | [
{
"change_type": "MODIFY",
"old_path": "devicemodel/Makefile",
"new_path": "devicemodel/Makefile",
"diff": "@@ -84,6 +84,7 @@ SRCS += hw/platform/rpmb/rpmb_sim.c\nSRCS += hw/platform/rpmb/rpmb_backend.c\nSRCS += hw/platform/tpm/tpm_emulator.c\nSRCS += hw/platform/tpm/tpm_crb.c\n+SRCS += hw/platform/... | C | BSD 3-Clause New or Revised License | projectacrn/acrn-hypervisor | DM: Add support for virtual TPM enabling
Support TPM enable option when launch UOS.
New option: "--vtpm sock_path=$PATH_OF_SWTPM_SOCKET".
If valid option parsed, then init virtual tpm device.
Tracked-On: #1924
Signed-off-by: Qi Yadong <yadong.qi@intel.com>
Reviewed-by: Zhu Bing <bing.zhu@intel.com>
Reviewed-by: Jaso... |
528,786 | 14.08.2018 10:03:31 | -28,800 | 839680f09bd6590bcb697d74453aa411eb1660a3 | DM: build TPM2 ACPI table when TPM device enabled
Add TPM2 ACPI table build function.
If virtual tpm device is initialized successfully, then create
corresponding TPM2 ACPI table.
Acked-by: Yin Fengwei | [
{
"change_type": "MODIFY",
"old_path": "devicemodel/hw/platform/acpi/acpi.c",
"new_path": "devicemodel/hw/platform/acpi/acpi.c",
"diff": "#include \"dm.h\"\n#include \"acpi.h\"\n#include \"pci_core.h\"\n+#include \"tpm.h\"\n+#include \"vmmapi.h\"\n/*\n* Define the base address of the ACPI tables, an... | C | BSD 3-Clause New or Revised License | projectacrn/acrn-hypervisor | DM: build TPM2 ACPI table when TPM device enabled
Add TPM2 ACPI table build function.
If virtual tpm device is initialized successfully, then create
corresponding TPM2 ACPI table.
Tracked-On: #1924
Signed-off-by: Qi Yadong <yadong.qi@intel.com>
Reviewed-by: Zhu Bing <bing.zhu@intel.com>
Reviewed-by: Jason Chen CJ <j... |
528,728 | 28.11.2018 13:34:48 | -3,600 | aefe9168d19a54c5c976d84f720b035a72ac88b4 | Update 'launch_uos.sh' script for UEFI platforms
Update the 'launch_uos.sh' script for UEFI platforms to point at the latest
iot-lts2018 kernel installed by means of the
/usr/lib/kernel/default-default-iot-lts2018 symlink which is set-up by the
kernel-iot-lts2018 bundle.
Update the Getting Started Guide to reflect this... | [
{
"change_type": "MODIFY",
"old_path": "devicemodel/samples/nuc/launch_uos.sh",
"new_path": "devicemodel/samples/nuc/launch_uos.sh",
"diff": "@@ -22,7 +22,7 @@ acrn-dm -A -m $mem_size -c $2 -s 0:0,hostbridge -s 1:0,lpc -l com1,stdio \\\n-s 6,virtio-hyper_dmabuf \\\n-s 3,virtio-blk,/root/clear-26200-... | C | BSD 3-Clause New or Revised License | projectacrn/acrn-hypervisor | Update 'launch_uos.sh' script for UEFI platforms
Update the 'launch_uos.sh' script for UEFI platforms to point at the latest
iot-lts2018 kernel installed by means of the
/usr/lib/kernel/default-default-iot-lts2018 symlink which is set-up by the
kernel-iot-lts2018 bundle.
Update the Getting Started Guide to reflect th... |
528,675 | 29.11.2018 13:40:21 | -28,800 | 0bc85d2ebc57f00f022d2b09daf724130973532f | modularization: boot component - move files
Boot component prepares the very basic platform boot env. It finally call
into platform initilization entries:
bsp_boot_init & cpu_secondary_init for start up
or restore_s3_context for wakeup
This patch just move files into reorg dir. | [
{
"change_type": "MODIFY",
"old_path": "hypervisor/Makefile",
"new_path": "hypervisor/Makefile",
"diff": "@@ -103,6 +103,7 @@ INCLUDE_PATH += include/lib\nINCLUDE_PATH += include/lib/crypto\nINCLUDE_PATH += include/common\nINCLUDE_PATH += include/arch/x86\n+INCLUDE_PATH += include/arch/x86/boot\nINC... | C | BSD 3-Clause New or Revised License | projectacrn/acrn-hypervisor | modularization: boot component - move files
Boot component prepares the very basic platform boot env. It finally call
into platform initilization entries:
- bsp_boot_init & cpu_secondary_init for start up
- or restore_s3_context for wakeup
This patch just move files into reorg dir.
Tracked-On: #1842
Signed-off-by: ... |
528,783 | 29.11.2018 15:26:27 | -28,800 | 5b43aa8a657f40a6089ca14116f7815dce189a91 | hv:Rename ptdev to ptirq for some variables and structures
ptdev_remapping_info --> ptirq_remapping_info
ptdev_msi_info --> ptirq_msi_info
ptdev_vpin_source --> ptirq_vpin_source
ptdev_irq_entries --> ptirq_entries
ptdev_entry_bitmaps --> ptirq_entry_bitmaps
v1-->v2:
still use ptdev_lock instead of ptirq_lock
Acked-by:... | [
{
"change_type": "MODIFY",
"old_path": "hypervisor/arch/x86/assign.c",
"new_path": "hypervisor/arch/x86/assign.c",
"diff": "* @pre: vm must be NULL when lookup by physical sid, otherwise,\n* vm must not be NULL when lookup by virtual sid.\n*/\n-static inline struct ptdev_remapping_info *\n+static in... | C | BSD 3-Clause New or Revised License | projectacrn/acrn-hypervisor | hv:Rename ptdev to ptirq for some variables and structures
ptdev_remapping_info --> ptirq_remapping_info
ptdev_msi_info --> ptirq_msi_info
ptdev_vpin_source --> ptirq_vpin_source
ptdev_irq_entries --> ptirq_entries
ptdev_entry_bitmaps --> ptirq_entry_bitmaps
v1-->v2:
still use ptdev_lock instead of ptirq_lock
Trac... |
528,731 | 29.11.2018 14:37:27 | -28,800 | 7003afbe74741147ed044e9304c297593e47cd56 | hv: msix: fix bug when check if msix table access
The offset calculation should base on the MSI-x BAR address, not MSIX-table address.
Acked-by: Eddie Dong | [
{
"change_type": "MODIFY",
"old_path": "hypervisor/dm/vpci/msix.c",
"new_path": "hypervisor/dm/vpci/msix.c",
"diff": "@@ -265,7 +265,7 @@ static int vmsix_table_mmio_access_handler(struct io_request *io_req, void *hand\nuint64_t hva;\nvdev = (struct pci_vdev *)handler_private_data;\n- offset = mmio-... | C | BSD 3-Clause New or Revised License | projectacrn/acrn-hypervisor | hv: msix: fix bug when check if msix table access
The offset calculation should base on the MSI-x BAR address, not MSIX-table address.
Tracked-On: #1946
Signed-off-by: Binbin Wu <binbin.wu@intel.com>
Acked-by: Eddie Dong <eddie.dong@intel.com> |
528,740 | 26.11.2018 03:08:40 | 0 | cbe1b74eee401a79c60dc9418376ef3017582c50 | HDCP virtio back-end driver
Initial HDCP back-end driver. | [
{
"change_type": "MODIFY",
"old_path": "devicemodel/Makefile",
"new_path": "devicemodel/Makefile",
"diff": "@@ -105,6 +105,7 @@ SRCS += hw/pci/virtio/virtio_ipu.c\nSRCS += hw/pci/virtio/virtio_hyper_dmabuf.c\nSRCS += hw/pci/virtio/virtio_mei.c\nSRCS += hw/pci/virtio/virtio_coreu.c\n+SRCS += hw/pci/v... | C | BSD 3-Clause New or Revised License | projectacrn/acrn-hypervisor | HDCP virtio back-end driver
Initial HDCP back-end driver.
Signed-off-by: Romli, Khairul Anuar <khairul.anuar.romli@intel.com> |
528,652 | 19.10.2018 09:00:50 | 25,200 | 79bf121e9b38d6c6748efe4cc416dc553a2cfd06 | hv: throw GP for MSR accesses if they are disabled from guest CPUID
This patch places all unsupported MSRs in the intercepted_msrs[], but
don't implement any handlers in the switch clauses. Hence any
accesses from guests result in GP exceptions.
Acked-by: Eddie Dong | [
{
"change_type": "MODIFY",
"old_path": "hypervisor/arch/x86/guest/vmsr.c",
"new_path": "hypervisor/arch/x86/guest/vmsr.c",
"diff": "@@ -20,7 +20,7 @@ enum rw_mode {\n* in either rdmsr_vmexit_handler() or wrmsr_vmexit_handler(), a GP will\n* be thrown to the guest for any R/W accesses.\n*/\n-#define ... | C | BSD 3-Clause New or Revised License | projectacrn/acrn-hypervisor | hv: throw GP for MSR accesses if they are disabled from guest CPUID
This patch places all unsupported MSRs in the intercepted_msrs[], but
don't implement any handlers in the switch clauses. Hence any
accesses from guests result in GP exceptions.
Tracked-On: #1867
Signed-off-by: Zide Chen <zide.chen@intel.com>
Acked-b... |
528,803 | 21.11.2018 11:06:50 | -3,600 | 9bf7dd5ddc505484e3f2e7805214142248b1d71e | Enable audio virtualization for AaaG
Based on existence of /dev/vbs_k_audio file
launch AaaG with proper audio virtualization mode | [
{
"change_type": "MODIFY",
"old_path": "devicemodel/samples/apl-mrb/launch_uos.sh",
"new_path": "devicemodel/samples/apl-mrb/launch_uos.sh",
"diff": "@@ -10,6 +10,13 @@ if [ ! -e \"/dev/vbs_ipu\" ]; then\nipu_passthrough=1\nfi\n+audio_passthrough=0\n+\n+# Check the device file of /dev/vbs_k_audio to... | C | BSD 3-Clause New or Revised License | projectacrn/acrn-hypervisor | Enable audio virtualization for AaaG
Based on existence of /dev/vbs_k_audio file
launch AaaG with proper audio virtualization mode
Signed-off-by: Pawel Furtak <pawel.furtak@intel.com>
Tracked-On: #1915
Reviewed-by: Yu Wang <yu1.wang@intel.com> |
528,654 | 28.11.2018 22:32:52 | -28,800 | a0582c99cf6a273fcc0246d6df3eb1e64b632c8c | hv: trusty: refine trusty memory region mapping
Now it's using the memory reserve by hypervisor. So there's not
necessaty to map or ummap this region from SOS. | [
{
"change_type": "MODIFY",
"old_path": "doc/developer-guides/hld/hv-memmgt.rst",
"new_path": "doc/developer-guides/hld/hv-memmgt.rst",
"diff": "@@ -445,9 +445,6 @@ Address Space Translation\n.. doxygenfunction:: vm0_hpa2gpa\n:project: Project ACRN\n-.. doxygenfunction:: check_continuous_hpa\n- :proj... | C | BSD 3-Clause New or Revised License | projectacrn/acrn-hypervisor | hv: trusty: refine trusty memory region mapping
Now it's using the memory reserve by hypervisor. So there's not
necessaty to map or ummap this region from SOS.
Tracked-On: #1942
Signed-off-by: Li, Fei1 <fei1.li@intel.com> |
528,801 | 30.11.2018 13:16:14 | -28,800 | e1564edda5e79aaf9435424cb9a5868a33ea1594 | hv: fix type conversion violations
This patch fixes the following violations:
1. Implicit conversion: actual to formal param
2. Value is not of appropriate type
3. No cast for widening complex int expression
4. Widening cast on complex integer expression
5. Narrower int conversion without cast. | [
{
"change_type": "MODIFY",
"old_path": "hypervisor/arch/x86/guest/vlapic.c",
"new_path": "hypervisor/arch/x86/guest/vlapic.c",
"diff": "@@ -317,7 +317,7 @@ set_expiration(struct acrn_vlapic *vlapic)\nif ((tmicr == 0U) || (divisor_shift > 8U)) {\nret = false;\n} else {\n- delta = tmicr << divisor_shi... | C | BSD 3-Clause New or Revised License | projectacrn/acrn-hypervisor | hv: fix type conversion violations
This patch fixes the following violations:
1. Implicit conversion: actual to formal param
2. Value is not of appropriate type
3. No cast for widening complex int expression
4. Widening cast on complex integer expression
5. Narrower int conversion without cast.
Tracked-On: #861
... |
528,675 | 30.11.2018 20:10:22 | -28,800 | 51bfafd6fbd3f5f05575d18d4b35abc1544fa7d3 | modularization: boot component -- move functions
Boot component prepares the very basic platform boot env. It finally call
into platform initilization entries:
bsp_boot_init & cpu_secondary_init for start up
or restore_s3_context for wakeup
this patch move functions for AP trampoline into trampoline.c from reloc.c | [
{
"change_type": "MODIFY",
"old_path": "hypervisor/Makefile",
"new_path": "hypervisor/Makefile",
"diff": "@@ -157,6 +157,7 @@ C_SRCS += arch/x86/mtrr.c\nC_SRCS += arch/x86/pm.c\nS_SRCS += arch/x86/wakeup.S\nC_SRCS += arch/x86/static_checks.c\n+C_SRCS += arch/x86/trampoline.c\nC_SRCS += arch/x86/gues... | C | BSD 3-Clause New or Revised License | projectacrn/acrn-hypervisor | modularization: boot component -- move functions
Boot component prepares the very basic platform boot env. It finally call
into platform initilization entries:
- bsp_boot_init & cpu_secondary_init for start up
- or restore_s3_context for wakeup
this patch move functions for AP trampoline into trampoline.c from reloc... |
528,675 | 30.11.2018 20:13:06 | -28,800 | b54f23316aa19bf04134bc26b23355bcf1704dc8 | modularization: boot component -- move functions
Boot component prepares the very basic platform boot env. It finally call
into platform initilization entries:
bsp_boot_init & cpu_secondary_init for start up
or restore_s3_context for wakeup
this patch moves set_idt from header file to irq.c | [
{
"change_type": "MODIFY",
"old_path": "hypervisor/arch/x86/irq.c",
"new_path": "hypervisor/arch/x86/irq.c",
"diff": "@@ -445,6 +445,14 @@ void init_default_irqs(uint16_t cpu_id)\n}\n}\n+static void set_idt(struct host_idt_descriptor *idtd)\n+{\n+\n+ asm volatile (\" lidtq %[idtd]\\n\" : /* no outpu... | C | BSD 3-Clause New or Revised License | projectacrn/acrn-hypervisor | modularization: boot component -- move functions
Boot component prepares the very basic platform boot env. It finally call
into platform initilization entries:
- bsp_boot_init & cpu_secondary_init for start up
- or restore_s3_context for wakeup
this patch moves set_idt from header file to irq.c
Tracked-On: #1842
Si... |
528,647 | 02.12.2018 14:42:14 | -28,800 | d495732c71c5a9408c542b5160b46b35eb68535f | hv: remove unused flags related APIs in sbuf
There APIs are removed:
sbuf_clear_flags
sbuf_set_flags
sbuf_add_flags | [
{
"change_type": "MODIFY",
"old_path": "hypervisor/include/debug/sbuf.h",
"new_path": "hypervisor/include/debug/sbuf.h",
"diff": "@@ -60,21 +60,6 @@ struct shared_buf {\n#ifdef HV_DEBUG\n-static inline void sbuf_clear_flags(struct shared_buf *sbuf, uint32_t flags)\n-{\n- sbuf->flags &= ~flags;\n-}\n... | C | BSD 3-Clause New or Revised License | projectacrn/acrn-hypervisor | hv: remove unused flags related APIs in sbuf
There APIs are removed:
- sbuf_clear_flags
- sbuf_set_flags
- sbuf_add_flags
Tracked-On: #1842
Signed-off-by: Yan, Like <like.yan@intel.com> |
528,691 | 22.08.2018 14:37:15 | -28,800 | 333629682af2af797ca57f68a77c6e9faaf51f41 | change the vq count and vendor id
Acked-by: Yu Wang | [
{
"change_type": "MODIFY",
"old_path": "devicemodel/hw/pci/virtio/virtio_audio.c",
"new_path": "devicemodel/hw/pci/virtio/virtio_audio.c",
"diff": "* Queue definitions.\n* Audio mediator uses two queues: one for interrupt and the other for messages.\n*/\n-#define VIRTIO_AUDIO_VQ_NUM 2\n+#define VIRT... | C | BSD 3-Clause New or Revised License | projectacrn/acrn-hypervisor | change the vq count and vendor id
Signed-off-by: Zhu Yingjiang <yingjiang.zhu@linux.intel.com>
Tracked-On: #1915
Acked-by: Yu Wang <yu1.wang@intel.com> |
528,687 | 17.09.2018 10:52:24 | -28,800 | 7f08ad83751392c2be88c15016820fef6e851843 | use 4 vqs
Acked-by: Yu Wang | [
{
"change_type": "MODIFY",
"old_path": "devicemodel/hw/pci/virtio/virtio_audio.c",
"new_path": "devicemodel/hw/pci/virtio/virtio_audio.c",
"diff": "* Queue definitions.\n* Audio mediator uses two queues: one for interrupt and the other for messages.\n*/\n-#define VIRTIO_AUDIO_VQ_NUM 4 /*2 currently ... | C | BSD 3-Clause New or Revised License | projectacrn/acrn-hypervisor | use 4 vqs
Signed-off-by: Libin Yang <libin.yang@intel.com>
Tracked-On: #1915
Acked-by: Yu Wang <yu1.wang@intel.com> |
528,804 | 29.11.2018 14:33:37 | -28,800 | 8d08ec30b7af169bdb6877dd2fbf865ef82c0c97 | HV: replace serial PCI MMIO base with BDF config
replace serial PCI MMIO base address configure with its BDF configure.
Acked-by: Eddie Dong | [
{
"change_type": "MODIFY",
"old_path": "hypervisor/arch/x86/Kconfig",
"new_path": "hypervisor/arch/x86/Kconfig",
"diff": "@@ -159,34 +159,39 @@ choice\nIf this is not selected, the serial port is disabled. This is the\ndefault.\n-config SERIAL_MMIO\n- bool \"Access serial port via MMIO\"\n+\n+config... | C | BSD 3-Clause New or Revised License | projectacrn/acrn-hypervisor | HV: replace serial PCI MMIO base with BDF config
replace serial PCI MMIO base address configure with its BDF configure.
Tracked-On: #1923
Signed-off-by: Minggui Cao <minggui.cao@intel.com>
Acked-by: Eddie Dong <eddie.dong@intel.com> |
528,804 | 29.11.2018 14:59:10 | -28,800 | db4254e2dff110b1f0c7d4d95e3e6f4395c44380 | HV: find and hide serial PCI dev from service OS
serial PCI device is just used for HV/SOS output debug information;
because it is used in hypervisor layer, SOS should not touch it.
so need to check and hide it from SOS.
Acked-by: Eddie Dong | [
{
"change_type": "MODIFY",
"old_path": "hypervisor/debug/uart16550.c",
"new_path": "hypervisor/debug/uart16550.c",
"diff": "@@ -182,3 +182,16 @@ void uart16550_set_property(bool enabled, bool port_mapped, uint64_t base_addr)\nserial_port_mapped = port_mapped;\nuart_base_address = base_addr;\n}\n+\n+... | C | BSD 3-Clause New or Revised License | projectacrn/acrn-hypervisor | HV: find and hide serial PCI dev from service OS
serial PCI device is just used for HV/SOS output debug information;
because it is used in hypervisor layer, SOS should not touch it.
so need to check and hide it from SOS.
Tracked-On: #1923
Signed-off-by: Minggui Cao <minggui.cao@intel.com>
Acked-by: Eddie Dong <eddie.... |
528,804 | 30.11.2018 19:38:27 | -28,800 | e7d1cdd9e245ede70cc909413f8440c454ab547c | HV: remove ignored pci device from acrn.conf
now hypervisor will support to hide ignored PCI device from SOS,
it doesn't need pass the boot args to SOS. | [
{
"change_type": "MODIFY",
"old_path": "hypervisor/bsp/uefi/clearlinux/acrn.conf",
"new_path": "hypervisor/bsp/uefi/clearlinux/acrn.conf",
"diff": "title The ACRN Service OS\nlinux /EFI/org.clearlinux/kernel-org.clearlinux.iot-lts2018-sos.4.19.0-16\n-options pci_devices_ignore=(0:18:1) console=tty0 ... | C | BSD 3-Clause New or Revised License | projectacrn/acrn-hypervisor | HV: remove ignored pci device from acrn.conf
now hypervisor will support to hide ignored PCI device from SOS,
it doesn't need pass the boot args to SOS.
Tracked-On: #1923
Signed-off-by: Minggui Cao <minggui.cao@intel.com> |
528,801 | 03.12.2018 09:28:37 | -28,800 | 0f766ca6b8152e967566a966556539429758ef03 | hv: replace CPU_PAGE_SHIFT with PAGE_SHIFT
replace CPU_PAGE_SHIFT with PAGE_SHIFT
These two MACROs are duplicated and PAGE_SHIFT is a more
reasonable name.
remove unused MACROs related to page shift in cpu.h
Acked-by: Eddie Dong | [
{
"change_type": "MODIFY",
"old_path": "hypervisor/arch/x86/assign.c",
"new_path": "hypervisor/arch/x86/assign.c",
"diff": "@@ -91,7 +91,7 @@ static void ptirq_build_physical_msi(struct acrn_vm *vm, struct ptirq_msi_info *\nbool phys;\n/* get physical destination cpu mask */\n- dest = (uint32_t)(inf... | C | BSD 3-Clause New or Revised License | projectacrn/acrn-hypervisor | hv: replace CPU_PAGE_SHIFT with PAGE_SHIFT
- replace CPU_PAGE_SHIFT with PAGE_SHIFT
These two MACROs are duplicated and PAGE_SHIFT is a more
reasonable name.
- remove unused MACROs related to page shift in cpu.h
Tracked-On: #861
Signed-off-by: Shiqing Gao <shiqing.gao@intel.com>
Acked-by: Eddie Dong <eddie.dong@i... |
528,801 | 03.12.2018 09:41:18 | -28,800 | dd43f3ba0a658068aa09c73f73ba4c88dbb10063 | hv: replace CPU_PAGE_MASK with PAGE_MASK
replace CPU_PAGE_MASK with PAGE_MASK
These two MACROs are duplicated and PAGE_MASK is a more reasonable name.
Acked-by: Eddie Dong | [
{
"change_type": "MODIFY",
"old_path": "hypervisor/arch/x86/cpu.c",
"new_path": "hypervisor/arch/x86/cpu.c",
"diff": "@@ -95,7 +95,7 @@ static inline bool get_monitor_cap(void)\nstatic uint64_t get_address_mask(uint8_t limit)\n{\n- return ((1UL << limit) - 1UL) & CPU_PAGE_MASK;\n+ return ((1UL << li... | C | BSD 3-Clause New or Revised License | projectacrn/acrn-hypervisor | hv: replace CPU_PAGE_MASK with PAGE_MASK
replace CPU_PAGE_MASK with PAGE_MASK
These two MACROs are duplicated and PAGE_MASK is a more reasonable name.
Tracked-On: #861
Signed-off-by: Shiqing Gao <shiqing.gao@intel.com>
Acked-by: Eddie Dong <eddie.dong@intel.com> |
528,651 | 30.11.2018 09:48:35 | -28,800 | 592bd51333408f0e8475114288500e7d9e0e5834 | doc: update the serial port part of UP2 | [
{
"change_type": "MODIFY",
"old_path": "doc/getting-started/up2.rst",
"new_path": "doc/getting-started/up2.rst",
"diff": "@@ -19,16 +19,30 @@ SoCs. Both have been confirmed to work with ACRN.\nConnecting to the serial port\n=============================\n-The UP2 board has two serial ports. Please r... | C | BSD 3-Clause New or Revised License | projectacrn/acrn-hypervisor | doc: update the serial port part of UP2 |
528,651 | 30.11.2018 09:50:28 | -28,800 | daaff4335033fc8e18144a1fe579ebd04f1f2909 | doc: upload the images of UP2's serial port | [
{
"change_type": "ADD",
"old_path": "doc/getting-started/images/USB-to-TTL-serial-cable.png",
"new_path": "doc/getting-started/images/USB-to-TTL-serial-cable.png",
"diff": "Binary files /dev/null and b/doc/getting-started/images/USB-to-TTL-serial-cable.png differ\n"
},
{
"change_type": "ADD"... | C | BSD 3-Clause New or Revised License | projectacrn/acrn-hypervisor | doc: upload the images of UP2's serial port |
528,676 | 03.12.2018 14:51:50 | -28,800 | 48b3cd92ed690a06407a4dc7239db78c3c5aa4f5 | hv: fix "Expression is not boolean"
The result of evaluate expression,it's type should be boolean.
Acked-by: Eddie Dong | [
{
"change_type": "MODIFY",
"old_path": "hypervisor/arch/x86/io.c",
"new_path": "hypervisor/arch/x86/io.c",
"diff": "@@ -211,12 +211,12 @@ hv_emulate_pio(const struct acrn_vcpu *vcpu, struct io_request *io_req)\n}\nif (pio_req->direction == REQUEST_WRITE) {\n- if (handler->io_write) {\n+ if (handler-... | C | BSD 3-Clause New or Revised License | projectacrn/acrn-hypervisor | hv: fix "Expression is not boolean"
The result of evaluate expression,it's type should be boolean.
Tracked-On: #861
Signed-off-by: Huihuang Shi <huihuang.shi@intel.com>
Acked-by: Eddie Dong <eddie.dong@intel.com> |
528,676 | 03.12.2018 14:58:04 | -28,800 | 42e38dfb531830d824b34380f800f94b86459f48 | hv: fix "No prototype for non-static function"
The function not used in extern c file, must add static.
Acked-by: Eddie Dong | [
{
"change_type": "MODIFY",
"old_path": "hypervisor/arch/x86/guest/vm.c",
"new_path": "hypervisor/arch/x86/guest/vm.c",
"diff": "@@ -387,7 +387,7 @@ int prepare_vm(uint16_t pcpu_id)\n#else\n/* Create vm/vcpu for vm0 */\n-int prepare_vm0(void)\n+static int prepare_vm0(void)\n{\nint err;\nuint16_t i;\n... | C | BSD 3-Clause New or Revised License | projectacrn/acrn-hypervisor | hv: fix "No prototype for non-static function"
The function not used in extern c file, must add static.
Tracked-On: #861
Signed-off-by: Huihuang Shi <huihuang.shi@intel.com>
Acked-by: Eddie Dong <eddie.dong@intel.com> |
528,676 | 03.12.2018 16:43:48 | -28,800 | e32b2b4c1156d32e3298f1d803ef7589d9f2c3b4 | hv: remove dead code
remove dead code dump_lapic.
Acked-by: Eddie Dong | [
{
"change_type": "MODIFY",
"old_path": "hypervisor/arch/x86/virq.c",
"new_path": "hypervisor/arch/x86/virq.c",
"diff": "@@ -175,23 +175,6 @@ static int vcpu_do_pending_extint(const struct acrn_vcpu *vcpu)\nreturn 0;\n}\n-/* please keep this for interrupt debug:\n- * 1. Timer alive or not\n- * 2. nat... | C | BSD 3-Clause New or Revised License | projectacrn/acrn-hypervisor | hv: remove dead code
remove dead code dump_lapic.
Tracked-On: #861
Signed-off-by: Huihuang Shi <huihuang.shi@intel.com>
Acked-by: Eddie Dong <eddie.dong@intel.com> |
528,801 | 03.12.2018 13:29:01 | -28,800 | b38629b85e00385d8ae9ce7800ab68ed87ac85e2 | hv: fix 'Space missing before or after binary operator'
This patch adds the necessary space before or after binary operator.
v1 -> v2:
* minor fix related to integer
[i - 1] ====> [i - 1U] | [
{
"change_type": "MODIFY",
"old_path": "hypervisor/arch/x86/guest/guest.c",
"new_path": "hypervisor/arch/x86/guest/guest.c",
"diff": "@@ -468,8 +468,7 @@ void init_e820(void)\nstruct multiboot_mmap *mmap =\n(struct multiboot_mmap *)\nhpa2hva((uint64_t)mbi->mi_mmap_addr);\n- e820_entries = mbi->mi_mm... | C | BSD 3-Clause New or Revised License | projectacrn/acrn-hypervisor | hv: fix 'Space missing before or after binary operator'
This patch adds the necessary space before or after binary operator.
v1 -> v2:
* minor fix related to integer
[i - 1] ====> [i - 1U]
Tracked-On: #861
Signed-off-by: Shiqing Gao <shiqing.gao@intel.com> |
528,651 | 26.11.2018 17:11:19 | -28,800 | 2d685a13eeb0dedfcf47339f7cb281ae4931f38b | Update with Clear Linux 26440 | [
{
"change_type": "MODIFY",
"old_path": "doc/tutorials/using_ubuntu_as_sos.rst",
"new_path": "doc/tutorials/using_ubuntu_as_sos.rst",
"diff": "@@ -13,11 +13,11 @@ Install Ubuntu (natively)\n*************************\nUbuntu 16.04.4 LTS was used throughout this document, other versions such as\n-18.04... | C | BSD 3-Clause New or Revised License | projectacrn/acrn-hypervisor | Update with Clear Linux 26440 |
528,651 | 27.11.2018 09:59:37 | -28,800 | 65f21a77e2846eeeb0b689765b107183a9a5385b | Update the version of Ubuntu to 18.04 | [
{
"change_type": "MODIFY",
"old_path": "doc/tutorials/using_ubuntu_as_sos.rst",
"new_path": "doc/tutorials/using_ubuntu_as_sos.rst",
"diff": "@@ -12,12 +12,12 @@ In the following instructions we'll build on material in the\nInstall Ubuntu (natively)\n*************************\n-Ubuntu 16.04.4 LTS wa... | C | BSD 3-Clause New or Revised License | projectacrn/acrn-hypervisor | Update the version of Ubuntu to 18.04 |
528,651 | 27.11.2018 11:39:44 | -28,800 | ecff0bf9e8d9915096184520974adb13ab057ae2 | Update the layout of packages | [
{
"change_type": "MODIFY",
"old_path": "doc/tutorials/using_ubuntu_as_sos.rst",
"new_path": "doc/tutorials/using_ubuntu_as_sos.rst",
"diff": "@@ -44,21 +44,9 @@ Install development tools for ARCN development:\n.. code-block:: none\n- sudo apt install gcc\n- git\n- make\n- gnu-efi\n- libssl-dev\n- li... | C | BSD 3-Clause New or Revised License | projectacrn/acrn-hypervisor | Update the layout of packages |
528,651 | 27.11.2018 16:34:22 | -28,800 | 2bc24f87894291a6555d11edff04238f6097815f | Upload the images for "using_AGL_as_uos" | [
{
"change_type": "ADD",
"old_path": "doc/tutorials/images/The-GUI-of-AGL.png",
"new_path": "doc/tutorials/images/The-GUI-of-AGL.png",
"diff": "Binary files /dev/null and b/doc/tutorials/images/The-GUI-of-AGL.png differ\n"
},
{
"change_type": "ADD",
"old_path": "doc/tutorials/images/The-G... | C | BSD 3-Clause New or Revised License | projectacrn/acrn-hypervisor | Upload the images for "using_AGL_as_uos" |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.