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,676 | 28.05.2018 13:29:56 | -28,800 | 1a5370a2531a1fd8958eb4220f2402e400edf76d | fix "warning:redefinition of typedef 'uint32_t'"
uint32_t occures two times in hypervisor/include/lib/types.h,
remove one of them. | [
{
"change_type": "MODIFY",
"old_path": "hypervisor/include/lib/types.h",
"new_path": "hypervisor/include/lib/types.h",
"diff": "/* Define standard data types. These definitions allow software components\n* to perform in the same manner on different target platforms.\n*/\n-typedef unsigned int uint32... | C | BSD 3-Clause New or Revised License | projectacrn/acrn-hypervisor | fix "warning:redefinition of typedef 'uint32_t'"
uint32_t occures two times in hypervisor/include/lib/types.h,
remove one of them.
Signed-off-by: huihuang.shi <huihuang.shi@intel.com> |
528,654 | 24.05.2018 16:27:06 | -28,800 | 574bdc3aefc489af0d436d7c75ffe8eab656770e | hv: panic will print function name and line number | [
{
"change_type": "MODIFY",
"old_path": "hypervisor/include/debug/logmsg.h",
"new_path": "hypervisor/include/debug/logmsg.h",
"diff": "@@ -103,7 +103,8 @@ static inline void print_logmsg_buffer(__unused uint32_t cpu_id)\n} while (0)\n#define panic(...) \\\n- do { pr_fatal(\"Instruction Decode PANIC: ... | C | BSD 3-Clause New or Revised License | projectacrn/acrn-hypervisor | hv: panic will print function name and line number
Signed-off-by: Li, Fei1 <fei1.li@intel.com>
Reviewed-by: Kevin Tian <kevin.tian@intel.com> |
528,654 | 28.05.2018 10:23:04 | -28,800 | fe4484f5a92707fbf519955b6866c6976d8c5f7d | hv: move panic out of hv_main
We cleanup ASSERT. This serial try to only panic when create
SOS failed. | [
{
"change_type": "MODIFY",
"old_path": "hypervisor/arch/x86/cpu.c",
"new_path": "hypervisor/arch/x86/cpu.c",
"diff": "@@ -367,6 +367,7 @@ static void get_cpu_name(void)\nvoid bsp_boot_init(void)\n{\n+ int ret;\nuint64_t start_tsc = rdtsc();\n/* Clear BSS */\n@@ -541,7 +542,9 @@ void bsp_boot_init(vo... | C | BSD 3-Clause New or Revised License | projectacrn/acrn-hypervisor | hv: move panic out of hv_main
We cleanup ASSERT. This serial try to only panic when create
SOS failed.
Signed-off-by: Li, Fei1 <fei1.li@intel.com>
Reviewed-by: Kevin Tian <kevin.tian@intel.com> |
528,654 | 28.05.2018 11:30:32 | -28,800 | 3fb7b75eda772e138805f826f77e5b318a728da0 | hv: execute vmxon instruction fail don't panic system
Don't panic system when execute vmxon instruction failed.
And let's follow that only print error info when error return
from library function. | [
{
"change_type": "MODIFY",
"old_path": "hypervisor/arch/x86/vmx.c",
"new_path": "hypervisor/arch/x86/vmx.c",
"diff": "@@ -49,9 +49,10 @@ static inline int exec_vmxon(void *addr)\nuint64_t tmp64;\nint status = 0;\n- if (addr == NULL)\n- status = -EINVAL;\n- ASSERT(status == 0, \"Incorrect arguments\"... | C | BSD 3-Clause New or Revised License | projectacrn/acrn-hypervisor | hv: execute vmxon instruction fail don't panic system
Don't panic system when execute vmxon instruction failed.
And let's follow that only print error info when error return
from library function.
Signed-off-by: Li, Fei1 <fei1.li@intel.com>
Reviewed-by: Kevin Tian <kevin.tian@intel.com> |
528,654 | 28.05.2018 15:51:57 | -28,800 | e0c329e4e9ca9264fe95c8fcd5850ac12511584a | hv: create vm failed don't panic system
Just return error number to the caller. | [
{
"change_type": "MODIFY",
"old_path": "hypervisor/arch/x86/guest/vm.c",
"new_path": "hypervisor/arch/x86/guest/vm.c",
"diff": "@@ -90,15 +90,19 @@ int create_vm(struct vm_description *vm_desc, struct vm **rtn_vm)\n{\nunsigned int id;\nstruct vm *vm;\n- int status = 0;\n+ int status;\n- if ((vm_desc... | C | BSD 3-Clause New or Revised License | projectacrn/acrn-hypervisor | hv: create vm failed don't panic system
Just return error number to the caller.
Signed-off-by: Li, Fei1 <fei1.li@intel.com>
Reviewed-by: Kevin Tian <kevin.tian@intel.com> |
528,731 | 28.05.2018 13:59:10 | -28,800 | 2df7b96a23b292136ce29b600d2bdf8104b3be1e | hv: make control register handling functions to public
Move from vmexit.c to vmx.c
Declare the functions in vmx.h
Rename the functions' name with prefix vmx_. | [
{
"change_type": "MODIFY",
"old_path": "hypervisor/arch/x86/vmexit.c",
"new_path": "hypervisor/arch/x86/vmexit.c",
"diff": "@@ -241,98 +241,6 @@ static int unhandled_vmexit_handler(__unused struct vcpu *vcpu)\nreturn 0;\n}\n-static int write_cr0(struct vcpu *vcpu, uint64_t value)\n-{\n- uint32_t val... | C | BSD 3-Clause New or Revised License | projectacrn/acrn-hypervisor | hv: make control register handling functions to public
Move from vmexit.c to vmx.c
Declare the functions in vmx.h
Rename the functions' name with prefix vmx_.
Signed-off-by: Binbin Wu <binbin.wu@intel.com>
Reviewed-by: Kevin Tian <kevin.tian@intel.com> |
528,731 | 28.05.2018 14:05:54 | -28,800 | fb1248e5d97ea0bda02000c744e18d5b6a021d8f | hv: remove cr3 handling from cr_access_vmexit_handler
Guest CR3 read/write operations are not trapped.
Remove CR3 handling in cr_access_vmexit_handler.
Also remove unused API vmx_read_cr3. | [
{
"change_type": "MODIFY",
"old_path": "hypervisor/arch/x86/vmexit.c",
"new_path": "hypervisor/arch/x86/vmexit.c",
"diff": "@@ -292,21 +292,10 @@ int cr_access_vmexit_handler(struct vcpu *vcpu)\n/* mov to cr0 */\nvmx_write_cr0(vcpu, *regptr);\nbreak;\n-\n- case 0x03:\n- /* mov to cr3 */\n- vmx_write... | C | BSD 3-Clause New or Revised License | projectacrn/acrn-hypervisor | hv: remove cr3 handling from cr_access_vmexit_handler
Guest CR3 read/write operations are not trapped.
Remove CR3 handling in cr_access_vmexit_handler.
Also remove unused API vmx_read_cr3.
Signed-off-by: Binbin Wu <binbin.wu@intel.com>
Reviewed-by: Kevin Tian <kevin.tian@intel.com> |
528,731 | 15.05.2018 15:53:58 | -28,800 | ebea5e5ae41421d16e7e136c2a8070620250f0e9 | hv: remove unused API init_cpu | [
{
"change_type": "MODIFY",
"old_path": "hypervisor/arch/x86/guest/vcpu.c",
"new_path": "hypervisor/arch/x86/guest/vcpu.c",
"diff": "@@ -258,15 +258,6 @@ void reset_vcpu(struct vcpu *vcpu)\nvlapic_init(vlapic);\n}\n-void init_vcpu(struct vcpu *vcpu)\n-{\n- if (is_vcpu_bsp(vcpu))\n- vcpu->arch_vcpu.cp... | C | BSD 3-Clause New or Revised License | projectacrn/acrn-hypervisor | hv: remove unused API init_cpu
Signed-off-by: Binbin Wu <binbin.wu@intel.com>
Reviewed-by: Kevin Tian <kevin.tian@intel.com> |
528,747 | 29.05.2018 16:36:38 | 25,200 | adcfe034823f4c4a410786b90ab35b702a4f85f4 | doc: tweak to GSG to fix code-block
Sphinx was complaining about a missing argument, and fixed some trailing
spaces. | [
{
"change_type": "MODIFY",
"old_path": "doc/getting_started/index.rst",
"new_path": "doc/getting_started/index.rst",
"diff": "@@ -149,6 +149,7 @@ partition. Follow these steps:\n# efibootmgr -c -l \"\\EFI\\acrn\\acrn.efi\" -d /dev/sda -p 1 -L ACRN\n.. note::\n+\nBe aware that a Clearlinux update tha... | C | BSD 3-Clause New or Revised License | projectacrn/acrn-hypervisor | doc: tweak to GSG to fix code-block
Sphinx was complaining about a missing argument, and fixed some trailing
spaces.
Signed-off-by: David B. Kinder <david.b.kinder@intel.com> |
528,747 | 30.05.2018 11:52:16 | 25,200 | 7f08d07ca0b9a910113e461e5e112f66ae39365f | doc: update README technical community meeting
Add a mention of the weekly Technical Community meeting to the repo's
README, with links to the meeting information in the wiki. | [
{
"change_type": "MODIFY",
"old_path": "README.rst",
"new_path": "README.rst",
"diff": "@@ -31,6 +31,13 @@ its members and the User Community to get the most out of Project ACRN.\nWelcome to the project ARCN community!\n+We're now holding weekly Technical Community Meetings and encourage you\n+to ca... | C | BSD 3-Clause New or Revised License | projectacrn/acrn-hypervisor | doc: update README technical community meeting
Add a mention of the weekly Technical Community meeting to the repo's
README, with links to the meeting information in the wiki.
Signed-off-by: David B. Kinder <david.b.kinder@intel.com> |
528,747 | 30.05.2018 12:52:29 | 25,200 | ba7b4c7611e9969f091efd5e076caad30c68084f | doc: adjust known issues pattern
Changes to the nested unnamed unions in type definitions require a tweak
to the pattern matching used to detect known issues reported by the API
doc generation. | [
{
"change_type": "MODIFY",
"old_path": "doc/.known-issues/doc/hypercall.conf",
"new_path": "doc/.known-issues/doc/hypercall.conf",
"diff": "#\n#\n^(?P<filename>[-._/\\w]+/api/hypercall_api.rst):(?P<lineno>[0-9]+): WARNING: Invalid definition: Expected identifier in nested name. \\[error at [0-9]+]\n... | C | BSD 3-Clause New or Revised License | projectacrn/acrn-hypervisor | doc: adjust known issues pattern
Changes to the nested unnamed unions in type definitions require a tweak
to the pattern matching used to detect known issues reported by the API
doc generation.
Signed-off-by: David B. Kinder <david.b.kinder@intel.com> |
528,747 | 30.05.2018 13:03:22 | 25,200 | 69af3a901b9036300e70e345cfbf8b0f642e29d0 | doc: fix API documentation misspellings | [
{
"change_type": "MODIFY",
"old_path": "hypervisor/include/common/hypercall.h",
"new_path": "hypervisor/include/common/hypercall.h",
"diff": "@@ -125,7 +125,7 @@ int64_t hcall_pause_vm(uint64_t vmid);\n*\n* @param vm Pointer to VM data structure\n* @param vmid ID of the VM\n- * @param param guest ph... | C | BSD 3-Clause New or Revised License | projectacrn/acrn-hypervisor | doc: fix API documentation misspellings
Signed-off-by: David B. Kinder <david.b.kinder@intel.com> |
528,722 | 31.05.2018 07:30:24 | -28,800 | f2b524385afa2f517175d046ae56c874d42fa606 | version: v0.1-rc5 | [
{
"change_type": "MODIFY",
"old_path": "devicemodel/Makefile",
"new_path": "devicemodel/Makefile",
"diff": "#\nMAJOR_VERSION=0\nMINOR_VERSION=1\n-RC_VERSION=4\n+RC_VERSION=5\nBASEDIR := $(shell pwd)\nDM_OBJDIR ?= $(CURDIR)/build\n"
},
{
"change_type": "MODIFY",
"old_path": "hypervisor/Ma... | C | BSD 3-Clause New or Revised License | projectacrn/acrn-hypervisor | version: v0.1-rc5
Signed-off-by: Jack Ren <jack.ren@intel.com> |
528,802 | 18.05.2018 13:11:44 | -28,800 | f0729cd91d0e1574ecf07341a98a85596d25cfb2 | dm: add pci_emul_find_capability
pci_emul_find_capability can be used to get the offset of a PCI
capability in PCI configuration space.
Acked-by: Kevin Tian | [
{
"change_type": "MODIFY",
"old_path": "devicemodel/hw/pci/core.c",
"new_path": "devicemodel/hw/pci/core.c",
"diff": "@@ -724,6 +724,45 @@ pci_emul_add_capability(struct pci_vdev *dev, u_char *capdata, int caplen)\nreturn 0;\n}\n+/*\n+ * p_capoff is used as both input and output. Set *p_capoff to 0 ... | C | BSD 3-Clause New or Revised License | projectacrn/acrn-hypervisor | dm: add pci_emul_find_capability
pci_emul_find_capability can be used to get the offset of a PCI
capability in PCI configuration space.
Signed-off-by: Jian Jun Chen <jian.jun.chen@intel.com>
Reviewed-by: Hao Li <hao.l.li@intel.com>
Reviewed-by: Zhao Yakui <yakui.zhao@intel.com>
Acked-by: Kevin Tian <kevin.tian@intel.... |
528,772 | 30.05.2018 02:44:13 | -28,800 | 9af35baf5a7b660cf10d89ddcde83f327ebcf7e0 | DM:monitor: add monitor_register_vm_ops()
monitor_vm_ops and its helpers is added to allow DM to register operations
, so thant vm manager could trigger the power state changes of VM. | [
{
"change_type": "MODIFY",
"old_path": "devicemodel/core/monitor.c",
"new_path": "devicemodel/core/monitor.c",
"diff": "@@ -65,8 +65,171 @@ static int check_dir(const char *path)\nreturn -1;\n}\n+struct vm_ops {\n+ char name[16];\n+ void *arg;\n+ struct monitor_vm_ops *ops;\n+ LIST_ENTRY(vm_ops) lis... | C | BSD 3-Clause New or Revised License | projectacrn/acrn-hypervisor | DM:monitor: add monitor_register_vm_ops()
monitor_vm_ops and its helpers is added to allow DM to register operations
, so thant vm manager could trigger the power state changes of VM.
Reviewed-by: Geoffroy Van Cutsem <geoffroy.vancutsem@intel.com>
Reviewed-by: Kevin Tian <kevin.tian@intel.com>
Reviewed-by: Yan, Like ... |
528,676 | 30.05.2018 10:25:21 | -28,800 | ba1b034e1ef362936fbb855b2a45766b9827e688 | fix MISRA-C 243S
Included file not protected with #define, this
feature is required. | [
{
"change_type": "MODIFY",
"old_path": "hypervisor/arch/x86/guest/instr_emul_wrapper.h",
"new_path": "hypervisor/arch/x86/guest/instr_emul_wrapper.h",
"diff": "* $FreeBSD$\n*/\n+#ifndef INSTR_EMUL_WRAPPER_H\n+#define INSTR_EMUL_WRAPPER_H\n#include <cpu.h>\nstruct vie_op {\n@@ -186,3 +188,4 @@ int vm... | C | BSD 3-Clause New or Revised License | projectacrn/acrn-hypervisor | fix MISRA-C 243S
Included file not protected with #define, this
feature is required.
Signed-off-by: huihuang.shi <huihuang.shi@intel.com> |
528,679 | 22.05.2018 19:57:31 | -28,800 | 168776537163cefa0fde5d857d67ba21c61a6bb9 | DM USB: xHCI: add write function for extended capability registers.
Some xHCI extended capabilities are writable. This patch adds the
writing function for excap. | [
{
"change_type": "MODIFY",
"old_path": "devicemodel/hw/pci/xhci.c",
"new_path": "devicemodel/hw/pci/xhci.c",
"diff": "@@ -958,6 +958,17 @@ pci_xhci_portregs_write(struct pci_xhci_vdev *xdev,\n}\n}\n+static void\n+pci_xhci_excap_write(struct pci_xhci_vdev *xdev, uint64_t offset,\n+ uint64_t value)\n+... | C | BSD 3-Clause New or Revised License | projectacrn/acrn-hypervisor | DM USB: xHCI: add write function for extended capability registers.
Some xHCI extended capabilities are writable. This patch adds the
writing function for excap.
Change-Id: Ie8b144b47ffa261f97d0461bf97b0c4d312a9333
Signed-off-by: Liang Yang <liang3.yang@intel.com>
Reviewed-by: Xiaoguang Wu <xiaoguang.wu@intel.com>
Re... |
528,679 | 22.05.2018 20:57:29 | -28,800 | 0679a81972e27f478397cdd6161d5322bacf04f7 | DM USB: xHCI: Support APL extended capability for DRD.
This patch implements Intel ApolloLake xHCI extended capabilities. It
includes two dual role switch registers for switching shared
USB2&USB3 phys between xHCI and xDCI. | [
{
"change_type": "MODIFY",
"old_path": "devicemodel/hw/pci/xhci.c",
"new_path": "devicemodel/hw/pci/xhci.c",
"diff": "* devices:\n* tablet USB tablet mouse\n*/\n+\n+/*\n+ * xHCI DRD control flow digram.\n+ * +---------------------------+\n+ * | ACRN DM |\n+ * | +---------------------+ |\n+ * | | xhc... | C | BSD 3-Clause New or Revised License | projectacrn/acrn-hypervisor | DM USB: xHCI: Support APL extended capability for DRD.
This patch implements Intel ApolloLake xHCI extended capabilities. It
includes two dual role switch registers for switching shared
USB2&USB3 phys between xHCI and xDCI.
Change-Id: I2533537d8a4224da3cf9b2e7475aab9f65347a4a
Signed-off-by: Liang Yang <liang3.yang@in... |
528,675 | 30.05.2018 19:40:54 | -28,800 | 0cf51428956d830bd18d571876786852ea590ed3 | remove unused vm_state_info
vm_state_info in struct vm_arch is not used, remove it
Acked-by: Xu, Anthony
Acked-by: Eddie Dong | [
{
"change_type": "MODIFY",
"old_path": "hypervisor/arch/x86/guest/vm.c",
"new_path": "hypervisor/arch/x86/guest/vm.c",
"diff": "@@ -61,8 +61,6 @@ static void init_vm(struct vm_description *vm_desc,\nvm_handle->hw.num_vcpus = vm_desc->vm_hw_num_cores;\nvm_handle->hw.exp_num_vcpus = vm_desc->vm_hw_num... | C | BSD 3-Clause New or Revised License | projectacrn/acrn-hypervisor | remove unused vm_state_info
vm_state_info in struct vm_arch is not used, remove it
Signed-off-by: Jason Chen CJ <jason.cj.chen@intel.com>
Acked-by: Xu, Anthony <anthony.xu@intel.com>
Acked-by: Eddie Dong <eddie.dong@intel.com> |
528,675 | 30.05.2018 19:43:53 | -28,800 | 987c7b75112e17be59a9b346c9011b3b4d676a28 | remove unused parameters in vm_description
vm_attr_name, vm_state_info_privilege & vm_created are not used
Acked-by: Xu, Anthony
Acked-by: Eddie Dong | [
{
"change_type": "MODIFY",
"old_path": "hypervisor/bsp/sbl/vm_description.c",
"new_path": "hypervisor/bsp/sbl/vm_description.c",
"diff": "int VM0_CPUS[VM0_NUM_CPUS] = {0};\nstruct vm_description vm0_desc = {\n- .vm_attr_name = \"vm_0\",\n.vm_hw_num_cores = VM0_NUM_CPUS,\n.vm_hw_logical_core_ids = &V... | C | BSD 3-Clause New or Revised License | projectacrn/acrn-hypervisor | remove unused parameters in vm_description
vm_attr_name, vm_state_info_privilege & vm_created are not used
Signed-off-by: Jason Chen CJ <jason.cj.chen@intel.com>
Acked-by: Xu, Anthony <anthony.xu@intel.com>
Acked-by: Eddie Dong <eddie.dong@intel.com> |
528,654 | 29.05.2018 11:42:04 | -28,800 | c2ee561c02c79b6b1de102a7b8cc89a6f24de4d9 | hv: define errno more general
Hypercall will return errno to SOS (Now is linux kernel).
Let's define this more general. | [
{
"change_type": "MODIFY",
"old_path": "hypervisor/include/lib/errno.h",
"new_path": "hypervisor/include/lib/errno.h",
"diff": "#ifndef ERRNO_H\n#define ERRNO_H\n-/** Indicates that not enough memory. */\n-#define ENOMEM 1\n-/** Indicates that argument is not valid. */\n-#define EINVAL 2\n-/** Indic... | C | BSD 3-Clause New or Revised License | projectacrn/acrn-hypervisor | hv: define errno more general
Hypercall will return errno to SOS (Now is linux kernel).
Let's define this more general.
Signed-off-by: Li, Fei1 <fei1.li@intel.com>
Reviewed-by: Kevin Tian <kevin.tian@intel.com> |
528,654 | 29.05.2018 11:55:07 | -28,800 | da662fae62bb78b7de9cdf7c4ac5857119135aed | hv: vmcall_vmexit_handler should always return success
Hypervisor shouldn't deal with errno return by hypercall.
The SOS should do this. Here just return the errno to SOS. | [
{
"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+/*\n+ * Pass return value to SOS by register rax.\n+ * This function should always return 0 since we shouldn't\n+ ... | C | BSD 3-Clause New or Revised License | projectacrn/acrn-hypervisor | hv: vmcall_vmexit_handler should always return success
Hypervisor shouldn't deal with errno return by hypercall.
The SOS should do this. Here just return the errno to SOS.
Signed-off-by: Li, Fei1 <fei1.li@intel.com>
Reviewed-by: Kevin Tian <kevin.tian@intel.com> |
528,654 | 29.05.2018 15:47:23 | -28,800 | b6c5e0efddd5b63e0a64ead0197828093a374c8d | hv: move panic out of hypercall
Just return the errno to the caller. | [
{
"change_type": "MODIFY",
"old_path": "hypervisor/common/hypercall.c",
"new_path": "hypervisor/common/hypercall.c",
"diff": "@@ -381,21 +381,26 @@ static void complete_request(struct vcpu *vcpu)\nint64_t hcall_notify_req_finish(uint64_t vmid, uint64_t vcpu_id)\n{\n- int64_t ret = 0;\nunion vhm_requ... | C | BSD 3-Clause New or Revised License | projectacrn/acrn-hypervisor | hv: move panic out of hypercall
Just return the errno to the caller.
Signed-off-by: Li, Fei1 <fei1.li@intel.com>
Reviewed-by: Kevin Tian <kevin.tian@intel.com> |
528,665 | 29.05.2018 16:04:38 | -28,800 | 39cce18de77a7de01f2647be6a331070ac0adeac | DM: Remove dead code wrapped by #if 0 | [
{
"change_type": "MODIFY",
"old_path": "devicemodel/hw/pci/virtio/virtio_rpmb.c",
"new_path": "devicemodel/hw/pci/virtio/virtio_rpmb.c",
"diff": "@@ -390,100 +390,6 @@ rpmb_get_counter(__u8 mode, __u8 *key, __u32 *counter, __u16 *result)\nreturn rc;\n}\n-/* TODO: this function will be used for AttKB... | C | BSD 3-Clause New or Revised License | projectacrn/acrn-hypervisor | DM: Remove dead code wrapped by #if 0
Signed-off-by: Kaige Fu <kaige.fu@intel.com>
Reviewed-by: Kevin Tian <kevin.tian@intel.com> |
528,665 | 29.05.2018 16:07:59 | -28,800 | 7491b833942b2eed16074255302b86cceeb14ec8 | HV: Remove dead code wrapped by #if 0 | [
{
"change_type": "MODIFY",
"old_path": "hypervisor/arch/x86/vmexit.c",
"new_path": "hypervisor/arch/x86/vmexit.c",
"diff": "@@ -296,12 +296,6 @@ int cr_access_vmexit_handler(struct vcpu *vcpu)\n/* mov to cr4 */\nvmx_write_cr4(vcpu, *regptr);\nbreak;\n-#if 0\n- case 0x14:\n- /* mov from cr4 (this sho... | C | BSD 3-Clause New or Revised License | projectacrn/acrn-hypervisor | HV: Remove dead code wrapped by #if 0
Signed-off-by: Kaige Fu <kaige.fu@intel.com>
Reviewed-by: Kevin Tian <kevin.tian@intel.com> |
528,763 | 30.05.2018 13:18:28 | -28,800 | 3d7aa346b82b590c4f32ea30a3e87be0207166fd | DM: Disable audio NHLT table by default
NHLT table is used by some audio driver for topology data, but current
default audio driver doens't depend on it. Disable it by default due
to possible boot failure with different SOS firmware. | [
{
"change_type": "MODIFY",
"old_path": "devicemodel/hw/pci/passthrough.c",
"new_path": "devicemodel/hw/pci/passthrough.c",
"diff": "#define PCI_BDF(bus, dev, func) (((bus & 0xFF)<<8) | ((dev & 0x1F)<<3) \\\n| ((func & 0x7)))\n+/* Some audio driver get topology data from ACPI NHLT table, thus need co... | C | BSD 3-Clause New or Revised License | projectacrn/acrn-hypervisor | DM: Disable audio NHLT table by default
NHLT table is used by some audio driver for topology data, but current
default audio driver doens't depend on it. Disable it by default due
to possible boot failure with different SOS firmware.
Signed-off-by: Edwin Zhai <edwin.zhai@intel.com>
Reviewed-by: Kevin Tian <kevin.tian... |
528,716 | 29.05.2018 15:22:15 | 14,400 | 8838c94d5bf8553aca90b1f23a4e91e2580d4320 | DM: Fix a potential null-pointer dereference
Acked-by: Eddie Dong | [
{
"change_type": "MODIFY",
"old_path": "devicemodel/hw/platform/rpmb/rpmb_sim.c",
"new_path": "devicemodel/hw/platform/rpmb/rpmb_sim.c",
"diff": "@@ -162,7 +162,7 @@ static int rpmb_sim_open(const char *rpmb_devname)\nrpmb_fd = fopen(rpmb_devname, \"wb+\");\nDPRINTF((\"rpmb device file(%s) does not ... | C | BSD 3-Clause New or Revised License | projectacrn/acrn-hypervisor | DM: Fix a potential null-pointer dereference
Signed-off-by: Huang Yang <yang.huang@intel.com>
Acked-by: Eddie Dong <eddie.dong@intel.com> |
528,728 | 31.05.2018 15:31:56 | -7,200 | 11f4b014cbcbee62fa3feb00418fe6fb858e56c6 | Documentation: small addition to the 'acrnlog' tool documentation
Make it clear that some commands mentionned in the 'acrnlog' tool
documentation are meant to be run in the hypervisor shell and *not*
the Service OS shell (as are the other commands throughout the rest
of that document). | [
{
"change_type": "MODIFY",
"old_path": "tools/acrnlog/README.rst",
"new_path": "tools/acrnlog/README.rst",
"diff": "@@ -42,12 +42,14 @@ steps:\n# acrnlog -n 8 -s 4 &\n-You can use ``get_loglevel`` and ``set_loglevel`` to query and change\n-the hypervisor loglevel.\n+You can use ``get_loglevel`` and ... | C | BSD 3-Clause New or Revised License | projectacrn/acrn-hypervisor | Documentation: small addition to the 'acrnlog' tool documentation
Make it clear that some commands mentionned in the 'acrnlog' tool
documentation are meant to be run in the hypervisor shell and *not*
the Service OS shell (as are the other commands throughout the rest
of that document).
Signed-off-by: Geoffroy Van Cut... |
528,763 | 30.05.2018 21:54:06 | -28,800 | dcb8a75dee3556b5b0697bc33f6bb0b9f1594093 | DM: Turn on WIFI/BT passthrough for Android UOS
This patch turn on WIFI/BT in launch_UOS.sh based on WIFI BDF on SBL,
which is different from ABL. Still need WIFI/BT driver in Android to
make WIFI/BT passthrough work.
Acked-by: Anthony Xu | [
{
"change_type": "MODIFY",
"old_path": "devicemodel/samples/apl-mrb/launch_uos.sh",
"new_path": "devicemodel/samples/apl-mrb/launch_uos.sh",
"diff": "@@ -209,6 +209,16 @@ echo \"8086 5aca\" > /sys/bus/pci/drivers/pci-stub/new_id\necho \"0000:00:1b.0\" > /sys/bus/pci/devices/0000:00:1b.0/driver/unbin... | C | BSD 3-Clause New or Revised License | projectacrn/acrn-hypervisor | DM: Turn on WIFI/BT passthrough for Android UOS
This patch turn on WIFI/BT in launch_UOS.sh based on WIFI BDF on SBL,
which is different from ABL. Still need WIFI/BT driver in Android to
make WIFI/BT passthrough work.
Signed-off-by: Edwin Zhai <edwin.zhai@intel.com>
Acked-by: Anthony Xu <anthony.xu@intel.com> |
528,777 | 30.05.2018 17:23:37 | -28,800 | d04b1419b23e7fd1344b82b9eb3dee91c79725a4 | misc: Add Makefile for misc directory
This patch adds build architecture for misc directory and support cbc_lifecycle
build.
Acked-by: Eddie Dong | [
{
"change_type": "MODIFY",
"old_path": "Makefile",
"new_path": "Makefile",
"diff": "@@ -9,10 +9,11 @@ ROOT_OUT := $(shell mkdir -p $(O);cd $(O);pwd)\nHV_OUT := $(ROOT_OUT)/hypervisor\nDM_OUT := $(ROOT_OUT)/devicemodel\nTOOLS_OUT := $(ROOT_OUT)/tools\n+MISC_OUT := $(ROOT_OUT)/misc\nexport TOOLS_OUT\n... | C | BSD 3-Clause New or Revised License | projectacrn/acrn-hypervisor | misc: Add Makefile for misc directory
This patch adds build architecture for misc directory and support cbc_lifecycle
build.
Signed-off-by: Yu Wang <yu1.wang@intel.com>
Acked-by: Eddie Dong <eddie.dong@intel.com> |
528,768 | 31.05.2018 23:48:01 | -28,800 | 2b69329ec70ba525918da07f1931aaa56154f7f4 | HV: fix potential NULL function pointer reference
- 'dispatch' will be null and be referenced if
'basic_exit_reason < ARRAY_SIZE(dispatch_table)'
if false. | [
{
"change_type": "MODIFY",
"old_path": "hypervisor/arch/x86/vmexit.c",
"new_path": "hypervisor/arch/x86/vmexit.c",
"diff": "@@ -191,7 +191,12 @@ int vmexit_handler(struct vcpu *vcpu)\npr_dbg(\"Exit Reason: 0x%016llx \", vcpu->arch_vcpu.exit_reason);\n/* Ensure exit reason is within dispatch table */... | C | BSD 3-Clause New or Revised License | projectacrn/acrn-hypervisor | HV: fix potential NULL function pointer reference
- 'dispatch' will be null and be referenced if
'basic_exit_reason < ARRAY_SIZE(dispatch_table)'
if false.
Signed-off-by: Yonghua Huang <yonghua.huang@intel.com> |
528,710 | 31.05.2018 17:23:28 | -28,800 | c11a1629936ae8259fa56043f848d144330b6c0f | DM: virtio-heci: Add enum type status variable represent devices status
In virtio_heci struct there have deiniting/pending_reset/resetting
variables. All these variables represent the status of virtio heci devices.
Change them into one enum type variable for vheci status.
Acked-by: Eddie Dong | [
{
"change_type": "MODIFY",
"old_path": "devicemodel/hw/pci/virtio/virtio_heci.c",
"new_path": "devicemodel/hw/pci/virtio/virtio_heci.c",
"diff": "#define HECI_NATIVE_DEVICE_NODE \"/dev/mei0\"\n+enum vheci_status {\n+ VHECI_READY,\n+ VHECI_PENDING_RESET,\n+ VHECI_RESET,\n+ VHECI_DEINIT\n+};\n+\n/*\n*... | C | BSD 3-Clause New or Revised License | projectacrn/acrn-hypervisor | DM: virtio-heci: Add enum type status variable represent devices status
In virtio_heci struct there have deiniting/pending_reset/resetting
variables. All these variables represent the status of virtio heci devices.
Change them into one enum type variable for vheci status.
Signed-off-by: Long Liu <long.liu@intel.com>
... |
528,665 | 31.05.2018 16:41:55 | -28,800 | e32a5cadf2757fad94e70bcc534edcd53ec64c6d | tools: acrnctl: Fix regression of acrnctl list
commit(4d274a5 Tools: acrn-manager-interface) change location and naming scheme
to the follow.
/run/acrn/mngr/vmname.monitor.pid.socket
This patch adapt parse vmname according new naming scheme.
Acked-by: Eddie Dong | [
{
"change_type": "MODIFY",
"old_path": "tools/acrn-manager/acrnctl.c",
"new_path": "tools/acrn-manager/acrnctl.c",
"diff": "@@ -86,7 +86,7 @@ static void process_msg(struct mngr_msg *msg)\n/* vm states data and helper functions */\n-#define ACRN_DM_SOCK_ROOT \"/run/acrn\"\n+#define ACRN_DM_SOCK_ROOT... | C | BSD 3-Clause New or Revised License | projectacrn/acrn-hypervisor | tools: acrnctl: Fix regression of acrnctl list
commit(4d274a5 Tools: acrn-manager-interface) change location and naming scheme
to the follow.
/run/acrn/mngr/vmname.monitor.pid.socket
This patch adapt parse vmname according new naming scheme.
Signed-off-by: Kaige Fu <kaige.fu@intel.com>
Acked-by: Eddie Dong <eddi... |
528,747 | 31.05.2018 12:32:37 | 25,200 | 04323a06637690480a79529e0006dc9dd60cd3cb | doc: fix doxygen comments in virtio.h
Fixes a recent PR that added a new API but the doxygen comments for
one of the parameters didn't match the parameter name. | [
{
"change_type": "MODIFY",
"old_path": "devicemodel/include/virtio.h",
"new_path": "devicemodel/include/virtio.h",
"diff": "@@ -904,7 +904,7 @@ int virtio_pci_modern_cfgread(struct vmctx *ctx, int vcpu, struct pci_vdev *dev,\n* @param dev Pointer to struct pci_vdev which emulates a PCI device.\n* @p... | C | BSD 3-Clause New or Revised License | projectacrn/acrn-hypervisor | doc: fix doxygen comments in virtio.h
Fixes a recent PR #311 that added a new API but the doxygen comments for
one of the parameters didn't match the parameter name.
Signed-off-by: David B. Kinder <david.b.kinder@intel.com> |
528,804 | 30.05.2018 15:37:52 | -28,800 | cd5d8c8da71e52a08079c3be52a352881eabcf94 | check UART valid or not when setup console timer
if no valid UART in hypervisor, not need setup console timer. | [
{
"change_type": "MODIFY",
"old_path": "hypervisor/debug/console.c",
"new_path": "hypervisor/debug/console.c",
"diff": "@@ -201,6 +201,12 @@ void console_setup_timer(void)\nstatic struct timer console_timer;\nuint64_t period_in_cycle, fire_tsc;\n+ if (serial_handle == SERIAL_INVALID_HANDLE) {\n+ pr_... | C | BSD 3-Clause New or Revised License | projectacrn/acrn-hypervisor | check UART valid or not when setup console timer
if no valid UART in hypervisor, not need setup console timer.
Signed-off-by: Minggui Cao <minggui.cao@intel.com> |
528,676 | 01.06.2018 13:51:16 | -28,800 | 14b2e1d3957a30b6f6350a2ee09f2e84dde52338 | fix "ISO C99 does not support '_Static_assert'"
_Static_assert is supported in C11 standard.
Please see N1570(C11 mannual) 6.4.1.
replace _Static_assert with ASSERT. | [
{
"change_type": "MODIFY",
"old_path": "hypervisor/arch/x86/cpu.c",
"new_path": "hypervisor/arch/x86/cpu.c",
"diff": "@@ -351,55 +351,60 @@ void bsp_boot_init(void)\n/* Build time sanity checks to make sure hard-coded offset\n* is matching the actual offset!\n*/\n- _Static_assert(offsetof(struct cpu... | C | BSD 3-Clause New or Revised License | projectacrn/acrn-hypervisor | fix "ISO C99 does not support '_Static_assert'"
_Static_assert is supported in C11 standard.
Please see N1570(C11 mannual) 6.4.1.
replace _Static_assert with ASSERT.
Signed-off-by: huihuang shi <huihuang.shi@intel.com> |
528,756 | 31.05.2018 21:23:16 | -28,800 | d904202cfb8ab9bc7303716d79266c905ead9655 | IOC mediator: Set default boot wakeup reason for IOC mediator
Set default boot wakeup reason to avoid acrn-dm boot failed with
invalid acrn-dm boot parameter.
Acked-by: Eddie Dong | [
{
"change_type": "MODIFY",
"old_path": "devicemodel/hw/platform/ioc.c",
"new_path": "devicemodel/hw/platform/ioc.c",
"diff": "@@ -1281,8 +1281,14 @@ ioc_parse(const char *opts)\nsnprintf(virtual_uart_path, sizeof(virtual_uart_path), \"%s\", param);\nif (tmp != NULL) {\ntmp = strtok(NULL, \",\");\n- ... | C | BSD 3-Clause New or Revised License | projectacrn/acrn-hypervisor | IOC mediator: Set default boot wakeup reason for IOC mediator
Set default boot wakeup reason to avoid acrn-dm boot failed with
invalid acrn-dm boot parameter.
Signed-off-by: Yuan Liu <yuan1.liu@intel.com>
Reviewed-by: Yu Wang <yu1.wang@intel.com>
Reviewed-by: Zhao Yakui <yakui.zhao@intel.com>
Acked-by: Eddie Dong <ed... |
528,756 | 01.06.2018 10:13:47 | -28,800 | a5760e07d340638e57812d81f6be76d0df479bba | IOC mediator: add check_dir function to avoid symbol link failure
To avoid PTY device symbol link failure due to non-exist directory passed from
parameter. Add check_dir function to check the directory and create it if not
exist.
Acked-by: Eddie Dong | [
{
"change_type": "MODIFY",
"old_path": "devicemodel/hw/platform/ioc.c",
"new_path": "devicemodel/hw/platform/ioc.c",
"diff": "#include <string.h>\n#include <stdbool.h>\n#include <types.h>\n+#include <libgen.h>\n#include <sys/stat.h>\n#include <sys/types.h>\n@@ -552,6 +553,33 @@ ioc_open_native_ch(co... | C | BSD 3-Clause New or Revised License | projectacrn/acrn-hypervisor | IOC mediator: add check_dir function to avoid symbol link failure
To avoid PTY device symbol link failure due to non-exist directory passed from
parameter. Add check_dir function to check the directory and create it if not
exist.
Signed-off-by: Yuan Liu <yuan1.liu@intel.com>
Reviewed-by: Yu Wang <yu1.wang@intel.com>
... |
528,647 | 31.05.2018 10:12:20 | -28,800 | 5a9e9b1b49519e7867adc60098738f5b76805e86 | dm: enable ioc in launch_uos.sh
Acked-by: Eddie Dong | [
{
"change_type": "MODIFY",
"old_path": "devicemodel/samples/apl-mrb/launch_uos.sh",
"new_path": "devicemodel/samples/apl-mrb/launch_uos.sh",
"diff": "@@ -123,6 +123,8 @@ acrn-dm -T -A -m $mem_size -c $2$boot_GVT_option\"$GVT_args\" -s 0:0,hostbridge -s\n-s 12,passthru,0/3/0 \\\n-s 22,passthru,0/16/0... | C | BSD 3-Clause New or Revised License | projectacrn/acrn-hypervisor | dm: enable ioc in launch_uos.sh
Signed-off-by: Yan, Like <like.yan@intel.com>
Reviewed-by: Yuan Liu <yuan1.liu@intel.com>
Reviewed-by: Yu Wang <yu1.wang@intel.com>
Reviewed-by: Zhao Yakui <yakui.zhao@intel.com>
Acked-by: Eddie Dong <eddie.dong@intel.com> |
528,647 | 01.06.2018 15:04:56 | -28,800 | 476f39e032ba8c7c12f3d478216d19cc6c2871f5 | Tools:acrnlog: install acrnlog.service
Acked-by: Eddie Dong | [
{
"change_type": "MODIFY",
"old_path": "tools/acrnlog/Makefile",
"new_path": "tools/acrnlog/Makefile",
"diff": "@@ -3,6 +3,7 @@ OUT_DIR ?= .\nall:\n$(CC) -g acrnlog.c -o $(OUT_DIR)/acrnlog -lpthread\n+ cp acrnlog.service $(OUT_DIR)/acrnlog.service\nclean:\nrm $(OUT_DIR)/acrnlog\n@@ -10,3 +11,5 @@ cl... | C | BSD 3-Clause New or Revised License | projectacrn/acrn-hypervisor | Tools:acrnlog: install acrnlog.service
Acked-by: Eddie Dong <eddie.dong@intel.com>
Signed-off-by: Yan, Like <like.yan@intel.com> |
528,731 | 15.05.2018 12:00:06 | -28,800 | fb09f9dacafd45af65705dee83f7c10816f04421 | hv: update vcpu mode when vmexit
Acked-by: Xu, Anthony | [
{
"change_type": "MODIFY",
"old_path": "hypervisor/arch/x86/guest/instr_emul_wrapper.c",
"new_path": "hypervisor/arch/x86/guest/instr_emul_wrapper.c",
"diff": "@@ -269,23 +269,6 @@ static int32_t get_vmcs_field(int ident)\n}\n}\n-static enum vm_cpu_mode get_vmx_cpu_mode(void)\n-{\n- uint32_t csar;\n... | C | BSD 3-Clause New or Revised License | projectacrn/acrn-hypervisor | hv: update vcpu mode when vmexit
Signed-off-by: Binbin Wu <binbin.wu@intel.com>
Reviewed-by: Kevin Tian <kevin.tian@intel.com>
Acked-by: Xu, Anthony <anthony.xu@intel.com> |
528,731 | 15.05.2018 12:04:49 | -28,800 | dd14d8e1b06927b34941c2400eb8bdbcd2dfc579 | hv: add API to get vcpu paging mode
Use # of paging level to identify paging mode
Acked-by: Xu, Anthony | [
{
"change_type": "MODIFY",
"old_path": "hypervisor/arch/x86/guest/guest.c",
"new_path": "hypervisor/arch/x86/guest/guest.c",
"diff": "@@ -153,6 +153,26 @@ int copy_to_vm(struct vm *vm, void *h_ptr, uint64_t gpa, uint32_t size)\nreturn 0;\n}\n+enum vm_paging_mode get_vcpu_paging_mode(struct vcpu *vcp... | C | BSD 3-Clause New or Revised License | projectacrn/acrn-hypervisor | hv: add API to get vcpu paging mode
Use # of paging level to identify paging mode
Signed-off-by: Binbin Wu <binbin.wu@intel.com>
Reviewed-by: Kevin Tian <kevin.tian@intel.com>
Reviewed-by: Eddie Dong <eddie.dong@intel.com>
Acked-by: Xu, Anthony <anthony.xu@intel.com> |
528,731 | 28.05.2018 17:53:41 | -28,800 | 0d309e2deeb5952c42f4407d69e6f93a1a364f4e | hv: add support to start a vcpu from protected mode
In current implementation, a vcpu can only start from real mode
or 64bit mode.
This patch adds support to start a vcpu from protected mode.
Acked-by: Xu, Anthony | [
{
"change_type": "MODIFY",
"old_path": "hypervisor/arch/x86/vmx.c",
"new_path": "hypervisor/arch/x86/vmx.c",
"diff": "@@ -19,6 +19,12 @@ extern struct efi_ctx* efi_ctx;\n((uint64_t)PAT_MEM_TYPE_UCM << 48) + \\\n((uint64_t)PAT_MEM_TYPE_UC << 56))\n+#define REAL_MODE_BSP_INIT_CODE_SEL (0xf000)\n+#defi... | C | BSD 3-Clause New or Revised License | projectacrn/acrn-hypervisor | hv: add support to start a vcpu from protected mode
In current implementation, a vcpu can only start from real mode
or 64bit mode.
This patch adds support to start a vcpu from protected mode.
Signed-off-by: Binbin Wu <binbin.wu@intel.com>
Reviewed-by: Eddie Dong <eddie.dong@intel.com>
Reviewed-by: Kevin Tian <kevin.t... |
528,731 | 22.05.2018 13:59:06 | -28,800 | 417cff5049e0000705b898c8371b686434c57e6f | hv: check vmx unrestricted guest capability
Acked-by: Xu, Anthony | [
{
"change_type": "MODIFY",
"old_path": "hypervisor/arch/x86/cpu.c",
"new_path": "hypervisor/arch/x86/cpu.c",
"diff": "@@ -211,6 +211,11 @@ static int hardware_detect_support(void)\nreturn -ENODEV;\n}\n+ if (!cpu_has_vmx_unrestricted_guest_cap()) {\n+ pr_fatal(\"%s, unrestricted guest not supported\\... | C | BSD 3-Clause New or Revised License | projectacrn/acrn-hypervisor | hv: check vmx unrestricted guest capability
Signed-off-by: Binbin Wu <binbin.wu@intel.com>
Reviewed-by: Kevin Tian <kevin.tian@intel.com>
Acked-by: Xu, Anthony <anthony.xu@intel.com> |
528,731 | 01.06.2018 14:47:49 | -28,800 | b55b808bfcb652135a2fc0163e4287e3c1299e72 | hv: copy cr0/4 value when init secure world
Copy CR0 / CR4 value from normal world context to secure world context
when init secure world.
Acked-by: Wang Kai
Acked-by: Eddie Dong | [
{
"change_type": "MODIFY",
"old_path": "hypervisor/arch/x86/trusty.c",
"new_path": "hypervisor/arch/x86/trusty.c",
"diff": "@@ -351,6 +351,11 @@ static bool init_secure_world_env(struct vcpu *vcpu,\nTRUSTY_EPT_REBASE_GPA + size;\nvcpu->arch_vcpu.contexts[SECURE_WORLD].tsc_offset = 0;\n+ vcpu->arch_v... | C | BSD 3-Clause New or Revised License | projectacrn/acrn-hypervisor | hv: copy cr0/4 value when init secure world
Copy CR0 / CR4 value from normal world context to secure world context
when init secure world.
Signed-off-by: Binbin Wu <binbin.wu@intel.com>
Acked-by: Wang Kai <kai.z.wang@intel.com>
Acked-by: Eddie Dong <eddie.dong@intel.com> |
528,747 | 31.05.2018 21:51:38 | 25,200 | 3c09933aa11d925992b612ffeddecb6d4b5c3c93 | license: more spdx license tag updates
Additional files updated with an spdx license header | [
{
"change_type": "MODIFY",
"old_path": "devicemodel/hw/platform/usb_pmapper.c",
"new_path": "devicemodel/hw/platform/usb_pmapper.c",
"diff": "/*\n* Copyright (C) 2018 Intel Corporation. All rights reserved.\n*\n- * Redistribution and use in source and binary forms, with or without\n- * modification,... | C | BSD 3-Clause New or Revised License | projectacrn/acrn-hypervisor | license: more spdx license tag updates
Additional files updated with an spdx license header
Signed-off-by: David B. Kinder <david.b.kinder@intel.com> |
528,728 | 01.06.2018 11:54:05 | -7,200 | c4bd0db1ca8f4bc13f1112854eb3e2a99437336e | cbc_lifecycle: fix building using custom output directory
The 'cbc_lifecycle' component fails to build when using a custom
output directory (e.g.: 'make O=build-test'). This patch fixes
this by replacing a hard-coded path with the variable that points
at the right location where to find its target dependencies. | [
{
"change_type": "MODIFY",
"old_path": "misc/cbc_lifecycle/Makefile",
"new_path": "misc/cbc_lifecycle/Makefile",
"diff": "OUT_DIR ?= .\n-$(OUT_DIR)/cbc_lifecycle: cbc_lifecycle.c ../../tools/acrn-manager/acrn_mngr.h\n- gcc -o $@ cbc_lifecycle.c -pthread -L$(OUT_DIR)/../../build/tools -lacrn-mngr\n+$... | C | BSD 3-Clause New or Revised License | projectacrn/acrn-hypervisor | cbc_lifecycle: fix building using custom output directory
The 'cbc_lifecycle' component fails to build when using a custom
output directory (e.g.: 'make O=build-test'). This patch fixes
this by replacing a hard-coded path with the variable that points
at the right location where to find its target dependencies.
Signe... |
528,677 | 25.05.2018 09:08:41 | -28,800 | cbb692d91010015bd9352b3bd2f46263e87c7f72 | add cbc_lifecycle service systemd support
Now cbc_attach service installed by default and thus we can enable
cbc_lifecycle service too. | [
{
"change_type": "MODIFY",
"old_path": "misc/cbc_lifecycle/Makefile",
"new_path": "misc/cbc_lifecycle/Makefile",
"diff": "@@ -7,6 +7,7 @@ $(OUT_DIR)/cbc_lifecycle: cbc_lifecycle.c $(TOOLS_OUT)/libacrn-mngr.a\nclean:\nrm $(OUT_DIR)/cbc_lifecycle\n-install: $(OUT_DIR)/cbc_lifecycle\n+install: $(OUT_DI... | C | BSD 3-Clause New or Revised License | projectacrn/acrn-hypervisor | add cbc_lifecycle service systemd support
Now cbc_attach service installed by default and thus we can enable
cbc_lifecycle service too.
Signed-off-by: Alek Du <alek.du@intel.com>
Reviewed-by: Yu Wang <yu1.wang@intel.com> |
528,756 | 05.06.2018 14:10:34 | -28,800 | 9f1faa69fdb5e634182e45806e2dfb34c9be873d | IOC mediator: Enable IOC for android in launch_uos.sh
Enable IOC for android on MRB by default.
Acked-by: Eddie Dong | [
{
"change_type": "MODIFY",
"old_path": "devicemodel/samples/apl-mrb/launch_uos.sh",
"new_path": "devicemodel/samples/apl-mrb/launch_uos.sh",
"diff": "@@ -295,6 +295,8 @@ fi\n-s 27,passthru,0/1b/0 \\\n-s 24,passthru,0/18/0 \\\n-s 18,passthru,4/0/0 \\\n+ -i /run/acrn/ioc_$vm_name,0x20 \\\n+ -l com2,/r... | C | BSD 3-Clause New or Revised License | projectacrn/acrn-hypervisor | IOC mediator: Enable IOC for android in launch_uos.sh
Enable IOC for android on MRB by default.
Signed-off-by: Yuan Liu <yuan1.liu@intel.com>
Reviewed-by: Yu Wang <yu1.wang@intel.com>
Reviewed-by: Like Yan <like.yan@intel.com>
Acked-by: Eddie Dong <eddie.dong@intel.com> |
528,804 | 05.06.2018 15:05:47 | -28,800 | 66d283d0c48d2db136892df8a9263074231508bd | add lock for vcpu state access
keep the global variables access exclusive in vcpu pause & resume.
Signed-]off-by: Minggui Cao
Acked-by: Eddie Dong | [
{
"change_type": "MODIFY",
"old_path": "hypervisor/arch/x86/guest/vcpu.c",
"new_path": "hypervisor/arch/x86/guest/vcpu.c",
"diff": "@@ -280,10 +280,10 @@ void pause_vcpu(struct vcpu *vcpu, enum vcpu_state new_state)\npr_dbg(\"vcpu%d paused, new state: %d\",\nvcpu->vcpu_id, new_state);\n+ get_schedul... | C | BSD 3-Clause New or Revised License | projectacrn/acrn-hypervisor | add lock for vcpu state access
keep the global variables access exclusive in vcpu pause & resume.
Signed-]off-by: Minggui Cao <minggui.cao@intel.com>
Acked-by: Eddie Dong <eddie.dong@intel.com> |
528,780 | 05.06.2018 13:16:04 | -28,800 | 864f4700885c966bbe46f5155cdae45b13a0903d | DM/samples: Check whether IPU devices exists before using IPU devices
Now the IPU devices are always enabled. But they don't exist on some
boards. In such case some errors are warned and the system can't be booted. | [
{
"change_type": "MODIFY",
"old_path": "devicemodel/samples/apl-mrb/launch_uos.sh",
"new_path": "devicemodel/samples/apl-mrb/launch_uos.sh",
"diff": "@@ -62,15 +62,22 @@ echo \"8086 5a9a\" > /sys/bus/pci/drivers/pci-stub/new_id\necho \"0000:00:0f.0\" > /sys/bus/pci/devices/0000:00:0f.0/driver/unbind... | C | BSD 3-Clause New or Revised License | projectacrn/acrn-hypervisor | DM/samples: Check whether IPU devices exists before using IPU devices
Now the IPU devices are always enabled. But they don't exist on some
boards. In such case some errors are warned and the system can't be booted.
Signed-off-by: Zhao Yakui <yakui.zhao@intel.com>
Reviewed-by: Yin FengWei <fengwei.yin@intel.com>
Revie... |
528,731 | 05.06.2018 17:30:41 | -28,800 | 8f9ef104548186a45fe371b5f5634c0cdf00cc8d | dm: install bios binary to sos_rootfs
Install BIOS binary to /usr/share/acrn/bios
Acked-by: Eddie Dong | [
{
"change_type": "MODIFY",
"old_path": "devicemodel/Makefile",
"new_path": "devicemodel/Makefile",
"diff": "@@ -126,6 +126,8 @@ PROGRAM := acrn-dm\nSAMPLES_NUC := $(wildcard samples/nuc/*)\nSAMPLES_MRB := $(wildcard samples/apl-mrb/*)\n+BIOS_BIN := $(wildcard bios/*)\n+\nall: include/version.h $(PRO... | C | BSD 3-Clause New or Revised License | projectacrn/acrn-hypervisor | dm: install bios binary to sos_rootfs
Install BIOS binary to /usr/share/acrn/bios
Signed-off-by: Binbin Wu <binbin.wu@intel.com>
Reviewed-by: Jack Ren <jack.ren@intel.com>
Acked-by: Eddie Dong <eddie.dong@intel.com> |
528,801 | 06.06.2018 16:02:41 | -28,800 | 24d2b92dc8f4e8ec2d0fe85179267e825faca1a0 | dm: enable IPU passthrough for Android UOS
enable IPU passthrough for Android UOS on MRB by default
v1 -> v2:
* add comments for i2c controller passthrough
* add indentation for 'if' statements | [
{
"change_type": "MODIFY",
"old_path": "devicemodel/samples/apl-mrb/launch_uos.sh",
"new_path": "devicemodel/samples/apl-mrb/launch_uos.sh",
"diff": "@@ -72,6 +72,8 @@ boot_ipu_option=\"$boot_ipu_option\"\" -s 12,passthru,0/3/0 \"\nfi\n# for ipu passthrough - ipu related i2c 0:16.0\n+# please use vi... | C | BSD 3-Clause New or Revised License | projectacrn/acrn-hypervisor | dm: enable IPU passthrough for Android UOS
enable IPU passthrough for Android UOS on MRB by default
v1 -> v2:
* add comments for i2c controller passthrough
* add indentation for 'if' statements
Signed-off-by: Shiqing Gao <shiqing.gao@intel.com>
Reviewed-by: Jack Ren <jack.ren@intel.com>
Reviewed-by: Zhao Yakui <yaku... |
528,788 | 05.06.2018 16:09:09 | -28,800 | 862c878e44ba16ef0de4f7827a539466eff37b89 | script: support two monitors in UOS
When connecting three monitors to MRB, we will assign the first one to
SOS and assign remaining ones to UOS. | [
{
"change_type": "MODIFY",
"old_path": "devicemodel/samples/apl-mrb/launch_uos.sh",
"new_path": "devicemodel/samples/apl-mrb/launch_uos.sh",
"diff": "@@ -377,36 +377,36 @@ echo 1024 > /sys/kernel/mm/hugepages/hugepages-2048kB/nr_hugepages\ncase $launch_type in\n1) echo \"Launch clearlinux UOS\"\n- l... | C | BSD 3-Clause New or Revised License | projectacrn/acrn-hypervisor | script: support two monitors in UOS
When connecting three monitors to MRB, we will assign the first one to
SOS and assign remaining ones to UOS.
Signed-off-by: Min He <min.he@intel.com>
Reviewed-by: Zhao Yakui <yakui.zhao@intel.com> |
528,747 | 06.06.2018 15:03:26 | 25,200 | d1e281f6eb2ca8b89a1e657a540c94d5a7c94384 | doc: add graphviz extension
graphviz lets us create graphic images via a text language rather than
creating drawings in other tools (eliminating the need to keep the
sources for the images available, such as a powerpoint file). | [
{
"change_type": "MODIFY",
"old_path": "doc/conf.py",
"new_path": "doc/conf.py",
"diff": "@@ -30,7 +30,9 @@ sys.path.insert(0, os.path.abspath('.'))\n# Add any Sphinx extension module names here, as strings. They can be\n# extensions coming with Sphinx (named 'sphinx.ext.*') or your custom\n# ones.\... | C | BSD 3-Clause New or Revised License | projectacrn/acrn-hypervisor | doc: add graphviz extension
graphviz lets us create graphic images via a text language rather than
creating drawings in other tools (eliminating the need to keep the
sources for the images available, such as a powerpoint file).
Signed-off-by: David B. Kinder <david.b.kinder@intel.com> |
528,786 | 05.06.2018 10:57:34 | -28,800 | 03f5cbdd7ae473f74761f63a4b7b4b5fe8215cb8 | HV: Parse SeedList HOB
Retrieve dseed from SeedList HOB(Hand-Off-Block).
SBL passes SeedList HOB to ACRN by MBI modules.
Acked-by: Eddie Dong | [
{
"change_type": "MODIFY",
"old_path": "hypervisor/Makefile",
"new_path": "hypervisor/Makefile",
"diff": "@@ -144,6 +144,7 @@ C_SRCS += bsp/$(PLATFORM)/cmdline.c\nelse\nifeq ($(PLATFORM), sbl)\nC_SRCS += boot/sbl/multiboot.c\n+C_SRCS += boot/sbl/hob_parse.c\nendif\nendif\n"
},
{
"change_type... | C | BSD 3-Clause New or Revised License | projectacrn/acrn-hypervisor | HV: Parse SeedList HOB
Retrieve dseed from SeedList HOB(Hand-Off-Block).
SBL passes SeedList HOB to ACRN by MBI modules.
Signed-off-by: Qi Yadong <yadong.qi@intel.com>
Reviewed-by: Zhu Bing <bing.zhu@intel.com>
Reviewed-by: Wang Kai <kai.z.wang@intel.com>
Acked-by: Eddie Dong <eddie.dong@intel.com> |
528,647 | 04.06.2018 15:57:25 | -28,800 | c84766a869d846e8e58c35e7f2813dddec205066 | Tools: add Makefile for all tools
Add a Makefile under ./tools to avoid changing top-level Makefile frequently
Acked-by: Geoffroy Van Cutsem | [
{
"change_type": "MODIFY",
"old_path": "Makefile",
"new_path": "Makefile",
"diff": "@@ -30,10 +30,7 @@ devicemodel: tools\ntools:\nmkdir -p $(TOOLS_OUT)\n- make -C $(T)/tools/acrnlog OUT_DIR=$(TOOLS_OUT)\n- make -C $(T)/tools/acrn-manager OUT_DIR=$(TOOLS_OUT)\n- make -C $(T)/tools/acrntrace OUT_DIR=... | C | BSD 3-Clause New or Revised License | projectacrn/acrn-hypervisor | Tools: add Makefile for all tools
Add a Makefile under ./tools to avoid changing top-level Makefile frequently
Acked-by: Geoffroy Van Cutsem <geoffroy.vancutsem@intel.com>
Signed-off-by: Yan, Like <like.yan@intel.com> |
528,675 | 22.05.2018 15:28:48 | -28,800 | 8e255da82991eb677e616118b584561a4c757487 | trusty: invept should go through all vcpus
make invept request for all vcpus in vms. | [
{
"change_type": "MODIFY",
"old_path": "hypervisor/arch/x86/trusty.c",
"new_path": "hypervisor/arch/x86/trusty.c",
"diff": "@@ -62,6 +62,8 @@ static void create_secure_world_ept(struct vm *vm, uint64_t gpa_orig,\nIA32E_EPT_X_BIT);\nvoid *sub_table_addr = NULL, *pml4_base = NULL;\nstruct vm *vm0 = ge... | C | BSD 3-Clause New or Revised License | projectacrn/acrn-hypervisor | trusty: invept should go through all vcpus
make invept request for all vcpus in vms.
Signed-off-by: Jason Chen CJ <jason.cj.chen@intel.com> |
528,675 | 22.05.2018 15:34:32 | -28,800 | a9ee6da0d92fa4d9a619793f254c3a357bae39ce | vm: remove current_vcpu from vm structure
current_vcpu is not correct when there are multi vcpus in one VM,
using it is in-correct, so remove it. | [
{
"change_type": "MODIFY",
"old_path": "hypervisor/arch/x86/vmexit.c",
"new_path": "hypervisor/arch/x86/vmexit.c",
"diff": "@@ -186,9 +186,6 @@ int vmexit_handler(struct vcpu *vcpu)\nexec_vmread(VMX_EXIT_QUALIFICATION);\n}\n- /* Update current vcpu in VM that caused vm exit */\n- vcpu->vm->current_v... | C | BSD 3-Clause New or Revised License | projectacrn/acrn-hypervisor | vm: remove current_vcpu from vm structure
current_vcpu is not correct when there are multi vcpus in one VM,
using it is in-correct, so remove it.
Signed-off-by: Jason Chen CJ <jason.cj.chen@intel.com> |
528,665 | 30.05.2018 15:40:30 | -28,800 | 143c49b0d20ef6fc2d243ac1bf00b590dfce1326 | tools: acrnctl: Refactor help info
Add unified function .valid_args to check validation of args.
Acked-by: Eddie Dong | [
{
"change_type": "MODIFY",
"old_path": "tools/acrn-manager/acrnctl.c",
"new_path": "tools/acrn-manager/acrnctl.c",
"diff": "#define ACRNCTL_OPT_ROOT \"/opt/acrn/conf\"\n#define MAX_NAME_LEN (128)\n+#define ACMD(CMD,FUNC,DESC, VALID_ARGS) \\\n+{.cmd = CMD, .func = FUNC, .desc = DESC, .valid_args = VA... | C | BSD 3-Clause New or Revised License | projectacrn/acrn-hypervisor | tools: acrnctl: Refactor help info
Add unified function .valid_args to check validation of args.
Signed-off-by: Kaige Fu <kaige.fu@intel.com>
Reviewed-by: Geoffroy Van Cutsem <geoffroy.vancutsem@intel.com>
Reviewed-by: Yan, Like <like.yan@intel.com>
Acked-by: Eddie Dong <eddie.dong@intel.com> |
528,665 | 31.05.2018 10:01:35 | -28,800 | 3000edc6ad6d32350ee7be1dc936cdc6bc2343e8 | tools: acrnctl: Free vmmngr list after vm ops done
vmmngr_struct entry is allocated in get_vm_list. we should free it after vm ops done.
Acked-by: Eddie Dong | [
{
"change_type": "MODIFY",
"old_path": "tools/acrn-manager/acrn_vm_ops.c",
"new_path": "tools/acrn-manager/acrn_vm_ops.c",
"diff": "@@ -93,6 +93,17 @@ void get_vm_list(void)\n}\n}\n+void put_vm_list(void)\n+{\n+ struct vmmngr_struct *s;\n+\n+ while (!LIST_EMPTY(&vmmngr_head)) {\n+ s = LIST_FIRST(&vm... | C | BSD 3-Clause New or Revised License | projectacrn/acrn-hypervisor | tools: acrnctl: Free vmmngr list after vm ops done
vmmngr_struct entry is allocated in get_vm_list. we should free it after vm ops done.
Signed-off-by: Kaige Fu <kaige.fu@intel.com>
Reviewed-by: Geoffroy Van Cutsem <geoffroy.vancutsem@intel.com>
Reviewed-by: Yan, Like <like.yan@intel.com>
Acked-by: Eddie Dong <eddie.... |
528,665 | 31.05.2018 10:03:09 | -28,800 | 1933d60c2926b9827f4332f2bee5b2c2ece3f0d5 | tools: acrnctl: Add support for pausing vm
Add command pasue to pause vm.
Acked-by: Eddie Dong | [
{
"change_type": "MODIFY",
"old_path": "tools/acrn-manager/README.rst",
"new_path": "tools/acrn-manager/README.rst",
"diff": "@@ -27,6 +27,7 @@ You can see the available ``acrnctl`` commands by running:\nstop\ndel\nadd\n+ pause\nUse acrnctl [cmd] help for details\nHere are some usage examples:\n"
... | C | BSD 3-Clause New or Revised License | projectacrn/acrn-hypervisor | tools: acrnctl: Add support for pausing vm
Add command pasue to pause vm.
Signed-off-by: Kaige Fu <kaige.fu@intel.com>
Reviewed-by: Geoffroy Van Cutsem <geoffroy.vancutsem@intel.com>
Reviewed-by: Yan, Like <like.yan@intel.com>
Acked-by: Eddie Dong <eddie.dong@intel.com> |
528,665 | 31.05.2018 10:30:25 | -28,800 | 665c2ee93f3d0c2872d55c2a4e911d1e1b7e3f3b | tools: acrnctl: Add support for continuing vm
Add command continue to start vm from pause state.
Acked-by: Eddie Dong | [
{
"change_type": "MODIFY",
"old_path": "tools/acrn-manager/README.rst",
"new_path": "tools/acrn-manager/README.rst",
"diff": "@@ -28,6 +28,7 @@ You can see the available ``acrnctl`` commands by running:\ndel\nadd\npause\n+ continue\nUse acrnctl [cmd] help for details\nHere are some usage examples:\n... | C | BSD 3-Clause New or Revised License | projectacrn/acrn-hypervisor | tools: acrnctl: Add support for continuing vm
Add command continue to start vm from pause state.
Signed-off-by: Kaige Fu <kaige.fu@intel.com>
Reviewed-by: Geoffroy Van Cutsem <geoffroy.vancutsem@intel.com>
Reviewed-by: Yan, Like <like.yan@intel.com>
Acked-by: Eddie Dong <eddie.dong@intel.com> |
528,665 | 31.05.2018 10:35:50 | -28,800 | d6eb39daf477829779add758ea2a268d4503c818 | tools: acrnctl: Add support for suspending vm
Add command suspend to switch vm to suspend state.
Acked-by: Eddie Dong | [
{
"change_type": "MODIFY",
"old_path": "tools/acrn-manager/README.rst",
"new_path": "tools/acrn-manager/README.rst",
"diff": "@@ -29,6 +29,7 @@ You can see the available ``acrnctl`` commands by running:\nadd\npause\ncontinue\n+ suspend\nUse acrnctl [cmd] help for details\nHere are some usage example... | C | BSD 3-Clause New or Revised License | projectacrn/acrn-hypervisor | tools: acrnctl: Add support for suspending vm
Add command suspend to switch vm to suspend state.
Signed-off-by: Kaige Fu <kaige.fu@intel.com>
Reviewed-by: Geoffroy Van Cutsem <geoffroy.vancutsem@intel.com>
Reviewed-by: Yan, Like <like.yan@intel.com>
Acked-by: Eddie Dong <eddie.dong@intel.com> |
528,665 | 31.05.2018 10:41:06 | -28,800 | 7a0e8ddeec5ba79597eb8e210683436e6a6db48f | tools: acrnctl: Add support for resuming vm
Add command resume to resume vm from suspend state.
Acked-by: Eddie Dong | [
{
"change_type": "MODIFY",
"old_path": "tools/acrn-manager/README.rst",
"new_path": "tools/acrn-manager/README.rst",
"diff": "@@ -30,6 +30,7 @@ You can see the available ``acrnctl`` commands by running:\npause\ncontinue\nsuspend\n+ resume\nUse acrnctl [cmd] help for details\nHere are some usage exam... | C | BSD 3-Clause New or Revised License | projectacrn/acrn-hypervisor | tools: acrnctl: Add support for resuming vm
Add command resume to resume vm from suspend state.
Signed-off-by: Kaige Fu <kaige.fu@intel.com>
Reviewed-by: Geoffroy Van Cutsem <geoffroy.vancutsem@intel.com>
Reviewed-by: Yan, Like <like.yan@intel.com>
Acked-by: Eddie Dong <eddie.dong@intel.com> |
528,665 | 31.05.2018 10:50:54 | -28,800 | 2dd4e8f81aebb238af8743a0dc8b82925adf4f5e | tools: acrnctl: Add support for reseting vm
Add command reset to stop and then start vm.
Acked-by: Eddie Dong | [
{
"change_type": "MODIFY",
"old_path": "tools/acrn-manager/README.rst",
"new_path": "tools/acrn-manager/README.rst",
"diff": "@@ -31,6 +31,7 @@ You can see the available ``acrnctl`` commands by running:\ncontinue\nsuspend\nresume\n+ reset\nUse acrnctl [cmd] help for details\nHere are some usage exam... | C | BSD 3-Clause New or Revised License | projectacrn/acrn-hypervisor | tools: acrnctl: Add support for reseting vm
Add command reset to stop and then start vm.
Signed-off-by: Kaige Fu <kaige.fu@intel.com>
Reviewed-by: Geoffroy Van Cutsem <geoffroy.vancutsem@intel.com>
Reviewed-by: Yan, Like <like.yan@intel.com>
Acked-by: Eddie Dong <eddie.dong@intel.com> |
528,733 | 02.06.2018 11:52:37 | -28,800 | f741b014f8e60a46aa369baa07c3efddd1c71f75 | hv: prepare for down/up APs dynamically.
export start_cpus to start/online APs.
Add stop_cpus to offline APs.
Update cpu_dead to decrement running cpus number and do cleanup
for AP down
Acked-by: Eddie Dong | [
{
"change_type": "MODIFY",
"old_path": "hypervisor/arch/x86/cpu.c",
"new_path": "hypervisor/arch/x86/cpu.c",
"diff": "@@ -21,7 +21,7 @@ spinlock_t up_count_spinlock = {\nstruct per_cpu_region *per_cpu_data_base_ptr;\nint phy_cpu_num = 0;\nunsigned long pcpu_sync = 0;\n-uint32_t up_count = 0;\n+volat... | C | BSD 3-Clause New or Revised License | projectacrn/acrn-hypervisor | hv: prepare for down/up APs dynamically.
- export start_cpus to start/online APs.
- Add stop_cpus to offline APs.
- Update cpu_dead to decrement running cpus number and do cleanup
for AP down
Signed-off-by: Yin Fegnwei <fengwei.yin@intel.com>
Acked-by: Eddie Dong <Eddie.dong@intel.com> |
528,731 | 07.06.2018 11:47:29 | -28,800 | 13dc9617e550f8ed61c5600367e3cd0edf46b460 | hv: use vmx_write_cr<#> to init control register of uefi platform
In current code, on uefi platform, vmcs will be overwritten according to
uefi context, using the exec_vmwrite directly.
This patch use vmx_write_cr<#> interface to init control registers.
Acked-by: Eddie Dong | [
{
"change_type": "MODIFY",
"old_path": "hypervisor/arch/x86/vmx.c",
"new_path": "hypervisor/arch/x86/vmx.c",
"diff": "@@ -1358,23 +1358,13 @@ static void override_uefi_vmcs(struct vcpu *vcpu)\n&vcpu->arch_vcpu.contexts[vcpu->arch_vcpu.cur_context];\nif (get_vcpu_mode(vcpu) == CPU_MODE_64BIT) {\n- /*... | C | BSD 3-Clause New or Revised License | projectacrn/acrn-hypervisor | hv: use vmx_write_cr<#> to init control register of uefi platform
In current code, on uefi platform, vmcs will be overwritten according to
uefi context, using the exec_vmwrite directly.
This patch use vmx_write_cr<#> interface to init control registers.
Signed-off-by: Binbin Wu <binbin.wu@intel.com>
Acked-by: Eddie ... |
528,652 | 30.05.2018 10:46:29 | 25,200 | a41267e184af64c84fb98ce3fbdc5371376f3bd9 | hv: change rdmsr/wrmsr policy for MTRR registers
rdmsr: emulate all MTRR registers besides variable range MTRRs
wrmsr: emulate all MTRR registers besides variable range MTRRs and MTRRCAP
Acked-by: Eddie Dong | [
{
"change_type": "MODIFY",
"old_path": "hypervisor/arch/x86/guest/vmsr.c",
"new_path": "hypervisor/arch/x86/guest/vmsr.c",
"diff": "@@ -157,11 +157,25 @@ int rdmsr_vmexit_handler(struct vcpu *vcpu)\nv = rdtsc() + vcpu->arch_vcpu.contexts[cur_context].tsc_offset;\nbreak;\n}\n-\ncase MSR_IA32_MTRR_CAP... | C | BSD 3-Clause New or Revised License | projectacrn/acrn-hypervisor | hv: change rdmsr/wrmsr policy for MTRR registers
-rdmsr: emulate all MTRR registers besides variable range MTRRs
-wrmsr: emulate all MTRR registers besides variable range MTRRs and MTRRCAP
Signed-off-by: bliu11 <baohong.liu@intel.com>
Signed-off-by: Zide Chen <zide.chen@intel.com>
Reviewed-by: Jason Chen CJ <jason.cj... |
528,652 | 29.05.2018 17:45:20 | 25,200 | 4bb5e60de5b94372de48ff9048043bb0ae7b8e4d | hv: enable MTRR virtualization
unmask MTRR from guest CPUID to enable MTRR
MTRR virtualization can be disabled by commenting out CONFIG_MTRR_ENABLED
Acked-by: Eddie Dong | [
{
"change_type": "MODIFY",
"old_path": "hypervisor/arch/x86/cpuid.c",
"new_path": "hypervisor/arch/x86/cpuid.c",
"diff": "@@ -283,8 +283,10 @@ void guest_cpuid(struct vcpu *vcpu,\n*ebx &= ~APIC_ID_MASK;\n*ebx |= (apicid & APIC_ID_MASK);\n+#ifndef CONFIG_MTRR_ENABLED\n/* mask mtrr */\n*edx &= ~CPUID_... | C | BSD 3-Clause New or Revised License | projectacrn/acrn-hypervisor | hv: enable MTRR virtualization
- unmask MTRR from guest CPUID to enable MTRR
- MTRR virtualization can be disabled by commenting out CONFIG_MTRR_ENABLED
Signed-off-by: bliu11 <baohong.liu@intel.com>
Signed-off-by: Zide Chen <zide.chen@intel.com>
Reviewed-by: Jason Chen CJ <jason.cj.chen@intel.com>
Acked-by: Eddie Don... |
528,804 | 07.06.2018 10:38:55 | -28,800 | a9b4e7e05cbca4768c3bb3f173e2633df8fe4e43 | replace ifconfig & brctl with ip command
clearlinux package will remove ifconfig/brctl tools.
Acked-by: Eddie Dong | [
{
"change_type": "MODIFY",
"old_path": "devicemodel/samples/apl-mrb/launch_uos.sh",
"new_path": "devicemodel/samples/apl-mrb/launch_uos.sh",
"diff": "@@ -8,13 +8,13 @@ if [ ! -f \"/data/$5/$5.img\" ]; then\nfi\n#vm-name used to generate uos-mac address\n-mac=$(cat /sys/class/net/ens4/address)\n+mac=... | C | BSD 3-Clause New or Revised License | projectacrn/acrn-hypervisor | replace ifconfig & brctl with ip command
clearlinux package will remove ifconfig/brctl tools.
Signed-off-by: Minggui Cao <minggui.cao@intel.com>
Reviewed-by: Binbin Wu <binbin.wu@intel.com>
Acked-by: Eddie Dong <eddie.dong@intel.com> |
528,733 | 07.06.2018 11:44:46 | -28,800 | 11df803da3da2491748ebd1c5ab92d57b1ce96cd | hv: rename cpu_secondary.S to trampline.S
We will reuse this part of code for:
- AP bootup
- BSP wakeup from S3
Acked-by: Anthony Xu
Acked-by: Eddie Dong | [
{
"change_type": "MODIFY",
"old_path": "hypervisor/Makefile",
"new_path": "hypervisor/Makefile",
"diff": "@@ -82,7 +82,7 @@ C_SRCS += boot/acpi.c\nC_SRCS += boot/dmar_parse.c\nC_SRCS += arch/x86/ioapic.c\nC_SRCS += arch/x86/intr_lapic.c\n-S_SRCS += arch/x86/cpu_secondary.S\n+S_SRCS += arch/x86/tramp... | C | BSD 3-Clause New or Revised License | projectacrn/acrn-hypervisor | hv: rename cpu_secondary.S to trampline.S
We will reuse this part of code for:
- AP bootup
- BSP wakeup from S3
Signed-off-by: Yin Fengwei <fengwei.yin@intel.com>
Acked-by: Anthony Xu <anthony.xu@intel.com>
Acked-by: Eddie Dong <Eddie.dong@intel.com> |
528,659 | 04.06.2018 09:59:40 | -28,800 | c34360b6b8a503a19219e73232f62f0f98d27044 | DM USB: Fix potential crash issues.
This patch fix some potential crash issues, like wild
pointers access, buffer overflow and etc.
Acked-by: Eddie Dong | [
{
"change_type": "MODIFY",
"old_path": "devicemodel/hw/pci/xhci.c",
"new_path": "devicemodel/hw/pci/xhci.c",
"diff": "@@ -748,7 +748,8 @@ pci_xhci_dev_destroy(struct pci_xhci_dev_emu *de)\nif (ue->ue_deinit)\nue->ue_deinit(ud);\n}\n- }\n+ } else\n+ return;\nif (ue->ue_devtype == USB_DEV_PORT_MAPPER)... | C | BSD 3-Clause New or Revised License | projectacrn/acrn-hypervisor | DM USB: Fix potential crash issues.
This patch fix some potential crash issues, like wild
pointers access, buffer overflow and etc.
Change-Id: Iddd8e1820da426adc6b9b4d9da9e44017d9f365c
Signed-off-by: Xiaoguang Wu <xiaoguang.wu@intel.com>
Reviewed-by: Yu Wang <yu1.wang@intel.com>
Acked-by: Eddie Dong <eddie.dong@intel... |
528,665 | 08.06.2018 17:52:30 | -28,800 | 83791190d6f917746230b56e20bccb6f0ca2aa25 | tools: acrnctl: Fix wrong descrition of mngr
There are some inappropriate descrition related to mngr, like "vmm msg".
Replace all "vmm" with "mngr".
No functional change.
Acked-by: Eddie Dong | [
{
"change_type": "MODIFY",
"old_path": "tools/acrn-manager/acrn_mngr.h",
"new_path": "tools/acrn-manager/acrn_mngr.h",
"diff": "/* Basic message format */\n-#define MNGR_MSG_MAGIC 0x67736d206d6d76 /* that is char[8] \"vmm msg\", on X86 */\n+#define MNGR_MSG_MAGIC 0x67736d206d6d76 /* that is char[8] ... | C | BSD 3-Clause New or Revised License | projectacrn/acrn-hypervisor | tools: acrnctl: Fix wrong descrition of mngr
There are some inappropriate descrition related to mngr, like "vmm msg".
Replace all "vmm" with "mngr".
No functional change.
Signed-off-by: Kaige Fu <kaige.fu@intel.com>
Acked-by: Eddie Dong <eddie.dong@intel.com> |
528,690 | 07.06.2018 16:47:57 | -28,800 | 2dfa5f6c406808e3e1faf8a5c2498228963c59a2 | fix spelling errors for acrn-manager | [
{
"change_type": "MODIFY",
"old_path": "tools/Makefile",
"new_path": "tools/Makefile",
"diff": "@@ -33,7 +33,7 @@ acrn-crashlog-install:\nacrnlog-install:\nmake -C $(T)/acrnlog OUT_DIR=$(OUT_DIR) install\n-arcn-manager-install:\n+acrn-manager-install:\nmake -C $(T)/acrn-manager OUT_DIR=$(OUT_DIR) in... | C | BSD 3-Clause New or Revised License | projectacrn/acrn-hypervisor | fix spelling errors for acrn-manager
Signed-off-by: Tan Shen Joon <shen.joon.tan@intel.com> |
528,684 | 07.06.2018 18:55:33 | -28,800 | 7710940195dd749fd0e18bfec892ce1f13092afb | apicv: only write VMX_ENTRY_EXCEPTION_EC when error code valid
if error code not valid, do not vmwrite VMX_ENTRY_EXCEPTION_EC. In cancel_event_injection, the
inject_info.error_core is not assigned when error code not valid. | [
{
"change_type": "MODIFY",
"old_path": "hypervisor/arch/x86/interrupt.c",
"new_path": "hypervisor/arch/x86/interrupt.c",
"diff": "@@ -383,6 +383,7 @@ int acrn_handle_pending_request(struct vcpu *vcpu)\n/* handling cancelled event injection when vcpu is switched out */\nif (vcpu->arch_vcpu.inject_eve... | C | BSD 3-Clause New or Revised License | projectacrn/acrn-hypervisor | apicv: only write VMX_ENTRY_EXCEPTION_EC when error code valid
if error code not valid, do not vmwrite VMX_ENTRY_EXCEPTION_EC. In cancel_event_injection, the
inject_info.error_core is not assigned when error code not valid.
Signed-off-by: Chris Ye <chris.ye@intel.com> |
528,676 | 08.06.2018 13:12:06 | -28,800 | 8940c896be1401d86592f7ae0741a8688402cb26 | fix MISRA C"Literal zero used in pointer context"
MISRC C required pointer to zero should be replace with NULL | [
{
"change_type": "MODIFY",
"old_path": "hypervisor/arch/x86/ept.c",
"new_path": "hypervisor/arch/x86/ept.c",
"diff": "@@ -216,7 +216,7 @@ int register_mmio_emulation_handler(struct vm *vm,\n}\n/* Ensure both a read/write handler and range check function exist */\n- if ((read_write != HV_NULL) && (en... | C | BSD 3-Clause New or Revised License | projectacrn/acrn-hypervisor | fix MISRA C"Literal zero used in pointer context"
MISRC C required pointer to zero should be replace with NULL
Signed-off-by: Huihuang Shi <huihuang.shi@intel.com> |
528,675 | 24.05.2018 09:37:52 | -28,800 | 570aef648ad760158b10ffbf33e2664a8736b0c9 | instr_emul: refine decode_instruction with copy_from_gva
use copy_from_gva in vie_init, if copy_from_gva meet -EFAULT, inject #PF.
And for decode_instruction, if return -EFAULT, the caller should keep return
path with successful status.
v2:
remove vm_restart_instruction when inject #PF | [
{
"change_type": "MODIFY",
"old_path": "hypervisor/arch/x86/ept.c",
"new_path": "hypervisor/arch/x86/ept.c",
"diff": "@@ -321,7 +321,7 @@ static int dm_emulate_mmio_pre(struct vcpu *vcpu, uint64_t exit_qual)\nint ept_violation_vmexit_handler(struct vcpu *vcpu)\n{\n- int status = -EINVAL;\n+ int stat... | C | BSD 3-Clause New or Revised License | projectacrn/acrn-hypervisor | instr_emul: refine decode_instruction with copy_from_gva
use copy_from_gva in vie_init, if copy_from_gva meet -EFAULT, inject #PF.
And for decode_instruction, if return -EFAULT, the caller should keep return
path with successful status.
v2:
- remove vm_restart_instruction when inject #PF
Signed-off-by: Jason Chen CJ... |
528,675 | 07.06.2018 14:24:45 | -28,800 | 0d6218f980c209829439f44cbed060be937a5d13 | instr_emul: remove unnecessary params in __decode_instruction
removed unused vcpu & gla params | [
{
"change_type": "MODIFY",
"old_path": "hypervisor/arch/x86/guest/instr_emul.c",
"new_path": "hypervisor/arch/x86/guest/instr_emul.c",
"diff": "@@ -2135,8 +2135,7 @@ decode_moffset(struct vie *vie)\n}\nint\n-__decode_instruction(__unused struct vcpu *vcpu, __unused uint64_t gla,\n- enum vm_cpu_mode ... | C | BSD 3-Clause New or Revised License | projectacrn/acrn-hypervisor | instr_emul: remove unnecessary params in __decode_instruction
removed unused vcpu & gla params
Signed-off-by: Jason Chen CJ <jason.cj.chen@intel.com> |
528,675 | 07.06.2018 15:04:27 | -28,800 | 48de7efa267a71a0c573a5844603c9c30fe5ca23 | instr_emul: remove vm_restart_instruction and use VCPU_RETAIN_RIP
there is no need to use wrap function vm_restart_instruction, we
can use VCPU_RETAIN_RIP directly | [
{
"change_type": "MODIFY",
"old_path": "hypervisor/arch/x86/guest/instr_emul.c",
"new_path": "hypervisor/arch/x86/guest/instr_emul.c",
"diff": "@@ -759,7 +759,7 @@ emulate_movs(struct vcpu *vcpu, __unused uint64_t gpa, struct vie *vie,\n* Repeat the instruction if the count register is not zero.\n*/... | C | BSD 3-Clause New or Revised License | projectacrn/acrn-hypervisor | instr_emul: remove vm_restart_instruction and use VCPU_RETAIN_RIP
there is no need to use wrap function vm_restart_instruction, we
can use VCPU_RETAIN_RIP directly
Signed-off-by: Jason Chen CJ <jason.cj.chen@intel.com> |
528,675 | 24.05.2018 10:47:54 | -28,800 | 41760429823cafb21185bea13c65bc2ad293b29f | dump: refine dump.c with copy_from_gva
using copy_from_gva to do dump_guest_stack & show_guest_call_trace
Acked-by: Eddie Dong | [
{
"change_type": "MODIFY",
"old_path": "hypervisor/debug/dump.c",
"new_path": "hypervisor/debug/dump.c",
"diff": "@@ -96,80 +96,33 @@ static void dump_guest_reg(struct vcpu *vcpu)\nstatic void dump_guest_stack(struct vcpu *vcpu)\n{\n- uint64_t gpa;\n- uint64_t hpa;\nuint32_t i;\n- uint64_t *tmp;\n- ... | C | BSD 3-Clause New or Revised License | projectacrn/acrn-hypervisor | dump: refine dump.c with copy_from_gva
using copy_from_gva to do dump_guest_stack & show_guest_call_trace
Signed-off-by: Jason Chen CJ <jason.cj.chen@intel.com>
Acked-by: Eddie Dong <eddie.dong@intel.com> |
528,675 | 24.05.2018 11:42:35 | -28,800 | 7aa3391d81b5cb0df484e46da7289ee883ed1968 | shell: refine shell function with copy_from_gva
using copy_from_gva for shell function shell_vcpu_dumpreg &
shell_vcpu_dumpmem
Acked-by: Eddie Dong | [
{
"change_type": "MODIFY",
"old_path": "hypervisor/debug/shell_internal.c",
"new_path": "hypervisor/debug/shell_internal.c",
"diff": "@@ -637,6 +637,7 @@ int shell_resume_vcpu(struct shell *p_shell,\nreturn status;\n}\n+#define DUMPREG_SP_SIZE 32\nint shell_vcpu_dumpreg(struct shell *p_shell,\nint a... | C | BSD 3-Clause New or Revised License | projectacrn/acrn-hypervisor | shell: refine shell function with copy_from_gva
using copy_from_gva for shell function shell_vcpu_dumpreg &
shell_vcpu_dumpmem
Signed-off-by: Jason Chen CJ <jason.cj.chen@intel.com>
Acked-by: Eddie Dong <eddie.dong@intel.com> |
528,675 | 24.05.2018 12:52:11 | -28,800 | 51528d4a8107695c73f9dbf7893a11b554a4cfa8 | ucode: refine acrn_update_ucode with copy_from_gva
using copy_from_gva to refine function acrn_update_ucode
v2:
inject #PF if copy_from_gva meet -EFAULT
remove VCPU_RETAIN_RIP when inject #PF
refine MACRO GET_DATA_SIZE
Acked-by: Eddie Dong | [
{
"change_type": "MODIFY",
"old_path": "hypervisor/arch/x86/guest/ucode.c",
"new_path": "hypervisor/arch/x86/guest/ucode.c",
"diff": "@@ -23,28 +23,28 @@ uint64_t get_microcode_version(void)\n* According to SDM vol 3 Table 9-7. If data_size field of uCode\n* header is zero, the ucode length is 2000\... | C | BSD 3-Clause New or Revised License | projectacrn/acrn-hypervisor | ucode: refine acrn_update_ucode with copy_from_gva
using copy_from_gva to refine function acrn_update_ucode
v2:
- inject #PF if copy_from_gva meet -EFAULT
- remove VCPU_RETAIN_RIP when inject #PF
- refine MACRO GET_DATA_SIZE
Signed-off-by: Jason Chen CJ <jason.cj.chen@intel.com>
Acked-by: Eddie Dong <eddie.dong@inte... |
528,675 | 24.05.2018 12:55:08 | -28,800 | 8d35d8752b844c580084f8744767ef6eb8ac5e30 | instr_emul: remove vm_gva2gpa
vm_gva2gpa is same as gva2gpa, so replace it with gva2gpa directly.
remove dead usage of vm_gva2gpa in emulate_movs.
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": "@@ -243,7 +243,6 @@ static uint64_t size2mask[] = {\n[8] = 0xffffffffffffffff,\n};\n-\nstatic int\nvie_read_register(struct vcpu *vcpu, enum vm_reg_name reg... | C | BSD 3-Clause New or Revised License | projectacrn/acrn-hypervisor | instr_emul: remove vm_gva2gpa
- vm_gva2gpa is same as gva2gpa, so replace it with gva2gpa directly.
- remove dead usage of vm_gva2gpa in emulate_movs.
Signed-off-by: Jason Chen CJ <jason.cj.chen@intel.com>
Acked-by: Eddie Dong <eddie.dong@intel.com> |
528,675 | 05.06.2018 20:05:22 | -28,800 | 571fb331582101a5517bc6643422a8066c34975c | rename copy_from/to_vm to copy_from/to_gpa
the name copy_from/to_gpa should be more suitable.
Acked-by: Eddie Dong | [
{
"change_type": "MODIFY",
"old_path": "hypervisor/arch/x86/guest/guest.c",
"new_path": "hypervisor/arch/x86/guest/guest.c",
"diff": "@@ -388,12 +388,12 @@ static inline int copy_gva(struct vcpu *vcpu, void *h_ptr, uint64_t gva,\n* - some other gpa from hypercall parameters, VHM should make sure it'... | C | BSD 3-Clause New or Revised License | projectacrn/acrn-hypervisor | rename copy_from/to_vm to copy_from/to_gpa
the name copy_from/to_gpa should be more suitable.
Signed-off-by: Jason Chen CJ <jason.cj.chen@intel.com>
Acked-by: Eddie Dong <eddie.dong@intel.com> |
528,690 | 08.06.2018 10:58:18 | -28,800 | b7ad7052bd4254a2773ca175e63e48ad8ff16b72 | convert bridge creation to service
update to systemd config files so that the bridge will be up
when systemd-networkd is started. | [
{
"change_type": "DELETE",
"old_path": "devicemodel/samples/nuc/bridge.sh",
"new_path": null,
"diff": "-#!/bin/bash\n-\n-# Instructions to create systemd-networkd configuration files:\n-\n-if [ ! -e /etc/systemd/network ]; then\n- mkdir -p /etc/systemd/network\n-\n- # /etc/systemd/network/acrn.netwo... | C | BSD 3-Clause New or Revised License | projectacrn/acrn-hypervisor | convert bridge creation to service
update to systemd config files so that the bridge will be up
when systemd-networkd is started.
Signed-off-by: Tan Shen Joon <shen.joon.tan@intel.com>
Reviewed-by: Jack Ren <jack.ren@intel.com> |
528,772 | 07.06.2018 23:56:27 | -28,800 | 64515cfe58a0e447007605d3ae4ba5f4b643b2d1 | Tools:acrn-manager Fix wrong descrition of mngr_send_msg()
There is a mistake on description for mngr_send_msg() in acrn_mngr.h
We mistake the ack_len to req_len
Acked-by: Eddie Dong | [
{
"change_type": "MODIFY",
"old_path": "tools/acrn-manager/acrn_mngr.h",
"new_path": "tools/acrn-manager/acrn_mngr.h",
"diff": "@@ -271,11 +271,11 @@ int mngr_add_handler(int desc, unsigned id,\n* @param desc: descripter created using mngr_open_un\n* @param req: pointer to message to send\n* @param ... | C | BSD 3-Clause New or Revised License | projectacrn/acrn-hypervisor | Tools:acrn-manager Fix wrong descrition of mngr_send_msg()
There is a mistake on description for mngr_send_msg() in acrn_mngr.h
We mistake the ack_len to req_len
Acked-by: Eddie Dong <eddie.dong@intel.com>
Signed-off-by: Tao Yuhong <yuhong.tao@intel.com> |
528,747 | 11.06.2018 10:32:37 | 25,200 | 44293a42abcd7e3802c82ac1c1f0ba6ffac82a6c | doc: use graphviz for intro boot-flow diagram
Trying out the graphviz capability rather than using static images that
we can't easily modify. Also updated the site logo that was too wide. | [
{
"change_type": "MODIFY",
"old_path": "doc/conf.py",
"new_path": "doc/conf.py",
"diff": "@@ -32,7 +32,11 @@ sys.path.insert(0, os.path.abspath('.'))\n# ones.\nextensions = ['breathe', 'sphinx.ext.graphviz']\n-graphviz_output_format='svg'\n+graphviz_output_format='png'\n+graphviz_dot_args=[\n+ '-Nfo... | C | BSD 3-Clause New or Revised License | projectacrn/acrn-hypervisor | doc: use graphviz for intro boot-flow diagram
Trying out the graphviz capability rather than using static images that
we can't easily modify. Also updated the site logo that was too wide.
Signed-off-by: David B. Kinder <david.b.kinder@intel.com> |
528,783 | 08.06.2018 15:43:50 | -28,800 | 5e2c83f3951342a86abc03cfec7e8ef39604bfa1 | hv:replace unsigned long long with uint64_t
unsigned long long--> uint64_t
long long --> int64_t | [
{
"change_type": "MODIFY",
"old_path": "hypervisor/include/lib/sprintf.h",
"new_path": "hypervisor/include/lib/sprintf.h",
"diff": "@@ -30,7 +30,7 @@ struct print_param {\n/* The parsed format precision. */\nint precision;\n/* The bitmask for unsigned values. */\n- unsigned long long mask;\n+ uint64... | C | BSD 3-Clause New or Revised License | projectacrn/acrn-hypervisor | hv:replace unsigned long long with uint64_t
unsigned long long--> uint64_t
long long --> int64_t
Signed-off-by: Mingqiang Chi <mingqiang.chi@intel.com> |
528,684 | 12.06.2018 00:23:39 | -28,800 | 756083fefcb4e3abbd5f9180820dad43be26b327 | align usage info with command line
pincpu and vmexit_pause both aligned to lower p, it is a bug, vmexit_pause should align with P(upper).
Missing enable_bvmcons usage so add -b in help prints.
remove redundant tab blank to keep same indentation. | [
{
"change_type": "MODIFY",
"old_path": "devicemodel/core/main.c",
"new_path": "devicemodel/core/main.c",
"diff": "@@ -128,6 +128,7 @@ usage(int code)\n\" %*s [--enable_trusty] <vm>\\n\"\n\" -a: local apic is in xAPIC mode (deprecated)\\n\"\n\" -A: create ACPI tables\\n\"\n+ \" -b: enable bvmcons\\n\... | C | BSD 3-Clause New or Revised License | projectacrn/acrn-hypervisor | align usage info with command line
pincpu and vmexit_pause both aligned to lower p, it is a bug, vmexit_pause should align with P(upper).
Missing enable_bvmcons usage so add -b in help prints.
remove redundant tab blank to keep same indentation.
Signed-off-by: Chris Ye <chris.ye@intel.com> |
528,732 | 31.05.2018 10:00:30 | 0 | 7d13e5be1bedda4535afa22c1ea053012e5b7713 | tools: acrn-crashlog: add documents for acrn-crashlog
This patch adds the documents for acrn-crashlog:
README.rst: General introduction for acrn-crashlog.
acrnprobe/README.rst: Introduction for acrnprobe in detail.
usercrash/README.rst: Introduction for usercrash in detail.
Acked-by: Geoffroy Van Cutsem | [
{
"change_type": "ADD",
"old_path": null,
"new_path": "tools/acrn-crashlog/acrnprobe/README.rst",
"diff": "+.. _acrnprobe_doc:\n+\n+Acrnprobe\n+#########\n+\n+Description\n+***********\n+\n+The ``acrnprobe`` is a tool to detect all critical events on the platform and\n+collect specific information f... | C | BSD 3-Clause New or Revised License | projectacrn/acrn-hypervisor | tools: acrn-crashlog: add documents for acrn-crashlog
This patch adds the documents for acrn-crashlog:
README.rst: General introduction for acrn-crashlog.
acrnprobe/README.rst: Introduction for acrnprobe in detail.
usercrash/README.rst: Introduction for usercrash in detail.
Signed-off-by: xiaojin2 <xiaojing.liu@intel... |
528,733 | 11.06.2018 12:31:25 | 0 | 5414d57ac4c319e93711e30ee2b66265da49b362 | hv: Fix typo of trampline with trampoline
Acked-by: Eddie Dong | [
{
"change_type": "MODIFY",
"old_path": "hypervisor/Makefile",
"new_path": "hypervisor/Makefile",
"diff": "@@ -90,7 +90,7 @@ C_SRCS += boot/acpi.c\nC_SRCS += boot/dmar_parse.c\nC_SRCS += arch/x86/ioapic.c\nC_SRCS += arch/x86/intr_lapic.c\n-S_SRCS += arch/x86/trampline.S\n+S_SRCS += arch/x86/trampolin... | C | BSD 3-Clause New or Revised License | projectacrn/acrn-hypervisor | hv: Fix typo of trampline with trampoline
Signed-off-by: Yin Fengwei <fengwei.yin@intel.com>
Acked-by: Eddie Dong <eddie.dong@intel.com> |
528,675 | 10.06.2018 19:59:47 | -28,800 | 4d62c56b2dc74ec73255bdae4f787594a4798a7d | nuc-samples: use huge page as default launch_uos cmdline
we should use hugetlb as default uos memory allocation solution | [
{
"change_type": "MODIFY",
"old_path": "devicemodel/samples/nuc/launch_uos.sh",
"new_path": "devicemodel/samples/nuc/launch_uos.sh",
"diff": "@@ -16,7 +16,10 @@ fi\n#for memsize setting\nmem_size=1000M\n-acrn-dm -A -m $mem_size -c $2 -s 0:0,hostbridge -s 1:0,lpc -l com1,stdio \\\n+# make sure there ... | C | BSD 3-Clause New or Revised License | projectacrn/acrn-hypervisor | nuc-samples: use huge page as default launch_uos cmdline
we should use hugetlb as default uos memory allocation solution
Signed-off-by: Jason Chen CJ <jason.cj.chen@intel.com> |
528,747 | 12.06.2018 10:23:15 | 25,200 | 467e65a2681c108804ead4f4a939558bc745c5f5 | doc: add some docs about graphviz for drawings
Add some practical examples and pointers to additional information about
using graphviz. | [
{
"change_type": "ADD",
"old_path": null,
"new_path": "doc/howtos/process/graphviz.rst",
"diff": "+.. graphviz-examples:\n+\n+Drawings using graphviz\n+#######################\n+\n+We support using the Sphinx `graphviz extension`_ for creating simple\n+graphs and line drawings using the dot language... | C | BSD 3-Clause New or Revised License | projectacrn/acrn-hypervisor | doc: add some docs about graphviz for drawings
Add some practical examples and pointers to additional information about
using graphviz.
Signed-off-by: David B. Kinder <david.b.kinder@intel.com> |
528,728 | 12.06.2018 11:45:38 | -7,200 | 35f06b838211314b3359282e065e4ca4b5edfed7 | Documentation: fix incorrect link in acrn-probe documentation
There is a mismatch in the 'telemetrics-clients' reference which
causes a warning (and a dead link). | [
{
"change_type": "MODIFY",
"old_path": "tools/acrn-crashlog/acrnprobe/README.rst",
"new_path": "tools/acrn-crashlog/acrnprobe/README.rst",
"diff": "@@ -173,4 +173,4 @@ Configuration files\nCustom configuration file that ``acrnprobe`` reads.\n-.. _`telemetrics client`: https://github.com/clearlinux/t... | C | BSD 3-Clause New or Revised License | projectacrn/acrn-hypervisor | Documentation: fix incorrect link in acrn-probe documentation
There is a mismatch in the 'telemetrics-clients' reference which
causes a warning (and a dead link).
Signed-off-by: Geoffroy Van Cutsem <geoffroy.vancutsem@intel.com> |
528,794 | 08.06.2018 09:28:48 | -28,800 | 9a56024b4946340e9dfece7b133e99dcbfad5ec8 | HV: load host pm S state data while create vm0
The pm S state data is from host ACPI info and needed for S3/S5
implementation.
Acked-by: Eddie Dong | [
{
"change_type": "MODIFY",
"old_path": "hypervisor/arch/x86/guest/pm.c",
"new_path": "hypervisor/arch/x86/guest/pm.c",
"diff": "@@ -103,3 +103,21 @@ void vm_setup_cpu_state(struct vm *vm)\nvm_setup_cpu_cx(vm);\ninit_cx_port(vm);\n}\n+\n+/* This function is for power management Sx state implementatio... | C | BSD 3-Clause New or Revised License | projectacrn/acrn-hypervisor | HV: load host pm S state data while create vm0
The pm S state data is from host ACPI info and needed for S3/S5
implementation.
Signed-off-by: Victor Sun <victor.sun@intel.com>
Acked-by: Eddie Dong <eddie.dong@intel.com> |
528,690 | 11.06.2018 16:22:19 | -28,800 | aead61f2fb756e5c1b51b9b13684beac38ae3bd9 | update documentation for acrnbridge
This update is to reflect the changes for acrnbridge to start
with systemd-networkd instead of running a script. | [
{
"change_type": "MODIFY",
"old_path": "doc/getting_started/index.rst",
"new_path": "doc/getting_started/index.rst",
"diff": "@@ -249,30 +249,13 @@ partition. Follow these steps:\n#. From here you can login as root using the password you set previously when\nyou installed Clear Linux.\n-Create a Net... | C | BSD 3-Clause New or Revised License | projectacrn/acrn-hypervisor | update documentation for acrnbridge
This update is to reflect the changes for acrnbridge to start
with systemd-networkd instead of running a script.
Signed-off-by: Tan Shen Joon <shen.joon.tan@intel.com> |
528,794 | 08.06.2018 12:26:18 | -28,800 | 5d6ce37bea605f88b8f8501cc1ce6ad61b87228b | HV: add Px Cx support for A3950 SoC
Intel Atom A3950 SoC also can be used in Acrn, and it has same Cx data as
Atom A3960 SoC. | [
{
"change_type": "MODIFY",
"old_path": "hypervisor/arch/x86/cpu_state_tbl.c",
"new_path": "hypervisor/arch/x86/cpu_state_tbl.c",
"diff": "@@ -34,6 +34,23 @@ struct cpu_cx_data cx_a3960[] = {\n{{SPACE_SYSTEM_IO, 0x8, 0, 0, 0x419}, 0x3, 0x96, 0x0A} /* C3 */\n};\n+/* The table includes cpu px info of I... | C | BSD 3-Clause New or Revised License | projectacrn/acrn-hypervisor | HV: add Px Cx support for A3950 SoC
Intel Atom A3950 SoC also can be used in Acrn, and it has same Cx data as
Atom A3960 SoC.
Signed-off-by: Victor Sun <victor.sun@intel.com>
Reviewed-by: Kevin Tian <kevin.tian@intel.com> |
528,794 | 13.06.2018 16:31:29 | -28,800 | 4c5835673e85a7e0a64939a701cda6e70259acfb | HV: make cpu state table static const
The hardcoded CPU Px Cx table should be read only, so set them to static
and const for safety.
Acked-by: Eddie Dong | [
{
"change_type": "MODIFY",
"old_path": "hypervisor/arch/x86/cpu_state_tbl.c",
"new_path": "hypervisor/arch/x86/cpu_state_tbl.c",
"diff": "#include <hypervisor.h>\n/* The table includes cpu px info of Intel A3960 SoC */\n-struct cpu_px_data px_a3960[] = {\n+static const struct cpu_px_data px_a3960[] ... | C | BSD 3-Clause New or Revised License | projectacrn/acrn-hypervisor | HV: make cpu state table static const
The hardcoded CPU Px Cx table should be read only, so set them to static
and const for safety.
Signed-off-by: Victor Sun <victor.sun@intel.com>
Acked-by: Eddie Dong <eddie.dong@intel.com> |
528,772 | 07.06.2018 23:04:02 | -28,800 | 24ccdf2807736282f86814d52d1a48f6c1249672 | Tools:acrn-manager: use RELEASE in Makefile
The debug macro -DMNGR_DEBUG is selected by RELEASE value.
E.g., run 'make RELEASE=1' at the root of source code.
Acked-by: Geoffroy Van Cutsem | [
{
"change_type": "MODIFY",
"old_path": "tools/Makefile",
"new_path": "tools/Makefile",
"diff": "@@ -11,7 +11,7 @@ acrnlog:\nmake -C $(T)/acrnlog OUT_DIR=$(OUT_DIR)\nacrn-manager:\n- make -C $(T)/acrn-manager OUT_DIR=$(OUT_DIR)\n+ make -C $(T)/acrn-manager OUT_DIR=$(OUT_DIR) RELEASE=$(RELEASE)\nacrnt... | C | BSD 3-Clause New or Revised License | projectacrn/acrn-hypervisor | Tools:acrn-manager: use RELEASE in Makefile
The debug macro -DMNGR_DEBUG is selected by RELEASE value.
E.g., run 'make RELEASE=1' at the root of source code.
Acked-by: Geoffroy Van Cutsem <geoffroy.vancutsem@intel.com>
Signed-off-by: Tao Yuhong <yuhong.tao@intel.com> |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.