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,772
12.07.2021 10:19:20
14,400
2aba7f31dbfa0373ca2b1752f4ac2d554e894d2a
HV: rename splitlock file name Because the emulation code is for both split-lock and uc-lock, rename splitlock.c/splitlock.h to lock_instr_emul.c/lock_instr_emul.h Acked-by: Eddie Dong
[ { "change_type": "MODIFY", "old_path": "hypervisor/Makefile", "new_path": "hypervisor/Makefile", "diff": "@@ -316,7 +316,7 @@ VP_DM_C_SRCS += arch/x86/guest/pm.c\nVP_DM_C_SRCS += arch/x86/guest/assign.c\nVP_DM_C_SRCS += arch/x86/guest/vmx_io.c\nVP_DM_C_SRCS += arch/x86/guest/instr_emul.c\n-VP_DM_C_S...
C
BSD 3-Clause New or Revised License
projectacrn/acrn-hypervisor
HV: rename splitlock file name Because the emulation code is for both split-lock and uc-lock, rename splitlock.c/splitlock.h to lock_instr_emul.c/lock_instr_emul.h Tracked-On: #6299 Signed-off-by: Tao Yuhong <yuhong.tao@intel.com> Acked-by: Eddie Dong <eddie.dong@intel.com>
528,804
19.07.2021 10:53:23
-28,800
eba8c4e78bd867e139bb5b68717bc89e49be1c8e
hv: use ARRAY_SIZE to calc local array size if one array just used in local only, and its size not used extern, use ARRAY_SIZE macro to calculate its size.
[ { "change_type": "MODIFY", "old_path": "hypervisor/arch/x86/guest/vmsr.c", "new_path": "hypervisor/arch/x86/guest/vmsr.c", "diff": "@@ -80,8 +80,7 @@ static const uint32_t emulated_guest_msrs[NUM_GUEST_MSRS] = {\n#endif\n};\n-#define NUM_MTRR_MSRS 13U\n-static const uint32_t mtrr_msrs[NUM_MTRR_MSRS]...
C
BSD 3-Clause New or Revised License
projectacrn/acrn-hypervisor
hv: use ARRAY_SIZE to calc local array size if one array just used in local only, and its size not used extern, use ARRAY_SIZE macro to calculate its size. Tracked-On: #6307 Signed-off-by: Minggui Cao <minggui.cao@intel.com> Reviewed-by: Junjie Mao <junjie.mao@intel.com>
528,804
19.07.2021 11:19:34
-28,800
80ae3224d9e92283d00c3ca1103a007eea401f3c
hv: expose PMC to core partition VM for core partition VM (like RTVM), PMC is always used for performance profiling / tuning, so expose PMC capability and pass-through its MSRs to the VM. Acked-by: Eddie Dong
[ { "change_type": "MODIFY", "old_path": "hypervisor/arch/x86/guest/vcpuid.c", "new_path": "hypervisor/arch/x86/guest/vcpuid.c", "diff": "@@ -395,8 +395,14 @@ int32_t set_vcpuid_entries(struct acrn_vm *vm)\nresult = set_vcpuid_sgx(vm);\nbreak;\n/* These features are disabled */\n- /* PMU is not suppor...
C
BSD 3-Clause New or Revised License
projectacrn/acrn-hypervisor
hv: expose PMC to core partition VM for core partition VM (like RTVM), PMC is always used for performance profiling / tuning, so expose PMC capability and pass-through its MSRs to the VM. Tracked-On: #6307 Signed-off-by: Minggui Cao <minggui.cao@intel.com> Reviewed-by: Jason Chen CJ <jason.cj.chen@intel.com> Acked-by...
528,730
29.07.2021 15:19:30
-28,800
fdc4da5f72184cb8731c27008fbd43d226de62b5
config_tools: config editor creates default xmls for a new board config editor creates the default scenario xmls and launch xmls based on generic configs when users import a new board.
[ { "change_type": "MODIFY", "old_path": "misc/config_tools/config_app/templates/base.html", "new_path": "misc/config_tools/config_app/templates/base.html", "diff": "<a href=\"{{ url_for('CONFIG_APP.scenarios') }}\">\nScenario Setting <span class=\"caret\"></span></a>\n<ul class=\"dropdown-menu\">\n- ...
C
BSD 3-Clause New or Revised License
projectacrn/acrn-hypervisor
config_tools: config editor creates default xmls for a new board config editor creates the default scenario xmls and launch xmls based on generic configs when users import a new board. Tracked-On: #6208 Signed-off-by: Shuang Zheng <shuang.zheng@intel.com>
528,654
29.07.2021 10:30:51
-28,800
481e9fba9d53f21a44923b8303e8859859c77c87
hv: remove the constraint "MMU and EPT must both support large page or not" There're some virtual platform which doesn't meet this constraint. So remove this constraint.
[ { "change_type": "MODIFY", "old_path": "hypervisor/arch/x86/cpu_caps.c", "new_path": "hypervisor/arch/x86/cpu_caps.c", "diff": "@@ -430,11 +430,6 @@ static int32_t check_vmx_mmu_cap(void)\n} else if (!pcpu_has_vmx_ept_vpid_cap(VMX_EPT_2MB_PAGE)) {\nprintf(\"%s, ept not support 2MB large page\\n\", _...
C
BSD 3-Clause New or Revised License
projectacrn/acrn-hypervisor
hv: remove the constraint "MMU and EPT must both support large page or not" There're some virtual platform which doesn't meet this constraint. So remove this constraint. Tracked-On: #6329 Signed-off-by: Fei Li <fei1.li@intel.com>
528,794
22.06.2021 13:03:34
-28,800
2938eca363133bd3322865360c76572443ce42dc
HV: vm_load: refine api of get_bzimage_kernel_load_addr() As the previous commit said the kernel load address should be moved from init_vm_sw_load() to vm_sw_loader() stage. This patch refines the API of get_bzimage_kernel_load_addr() in init_vm_kernel_info() for later use.
[ { "change_type": "MODIFY", "old_path": "hypervisor/boot/guest/vboot_info.c", "new_path": "hypervisor/boot/guest/vboot_info.c", "diff": "@@ -145,15 +145,12 @@ static void init_vm_acpi_info(struct acrn_vm *vm, const struct abi_module *mod)\n/**\n* @pre vm != NULL\n*/\n-static void *get_kernel_load_add...
C
BSD 3-Clause New or Revised License
projectacrn/acrn-hypervisor
HV: vm_load: refine api of get_bzimage_kernel_load_addr() As the previous commit said the kernel load address should be moved from init_vm_sw_load() to vm_sw_loader() stage. This patch refines the API of get_bzimage_kernel_load_addr() in init_vm_kernel_info() for later use. Tracked-On: #6323 Signed-off-by: Victor Su...
528,794
22.06.2021 22:15:30
-28,800
e40a258102fe68d7079b6e0ca867c676571e7ae5
HV: vm_load: set ramdisk load addr in vm_load.c This patch moves get_initrd_load_addr() API from init_vm_sw_load() to vm_sw_loader() stage. The patch assumes that the kernel image have been loaded to guest space already.
[ { "change_type": "MODIFY", "old_path": "hypervisor/boot/guest/vboot_info.c", "new_path": "hypervisor/boot/guest/vboot_info.c", "diff": "#define DBG_LEVEL_BOOT 6U\n-/* TODO:\n- * The value is referenced from Linux boot protocal for old kernels,\n- * but this should be configurable for different OS. *...
C
BSD 3-Clause New or Revised License
projectacrn/acrn-hypervisor
HV: vm_load: set ramdisk load addr in vm_load.c This patch moves get_initrd_load_addr() API from init_vm_sw_load() to vm_sw_loader() stage. The patch assumes that the kernel image have been loaded to guest space already. Tracked-On: #6323 Signed-off-by: Victor Sun <victor.sun@intel.com> Reviewed-by: Jason Chen CJ <j...
528,794
22.06.2021 22:50:00
-28,800
9caff7360fbc26e155c371654868940addf83105
HV: vm_load: set kernel load addr in vm_load.c This patch moves get_bzimage_kernel_load_addr() from init_vm_sw_load() to vm_sw_loader() stage so will set kernel load address of bzImage type kernel in vm_bzimage_loader() in vm_load.c.
[ { "change_type": "MODIFY", "old_path": "hypervisor/boot/guest/vboot_info.c", "new_path": "hypervisor/boot/guest/vboot_info.c", "diff": "@@ -46,90 +46,29 @@ static void init_vm_acpi_info(struct acrn_vm *vm, const struct abi_module *mod)\nvm->sw.acpi_info.size = ACPI_MODULE_SIZE;\n}\n-/**\n- * @pre vm...
C
BSD 3-Clause New or Revised License
projectacrn/acrn-hypervisor
HV: vm_load: set kernel load addr in vm_load.c This patch moves get_bzimage_kernel_load_addr() from init_vm_sw_load() to vm_sw_loader() stage so will set kernel load address of bzImage type kernel in vm_bzimage_loader() in vm_load.c. Tracked-On: #6323 Signed-off-by: Victor Sun <victor.sun@intel.com> Reviewed-by: Jas...
528,747
05.08.2021 16:44:12
25,200
09e5df01b1808605d27a4cc30a41d7a569409c55
doc: remove obsolete kconfig references in Makefile
[ { "change_type": "MODIFY", "old_path": "doc/Makefile", "new_path": "doc/Makefile", "diff": "@@ -34,7 +34,7 @@ help:\n@echo \" specify RELEASE=name to publish as a tagged release version\"\n@echo \" and placed in a version subfolder. Requires repo merge permission.\"\n-.PHONY: help Makefile copy-to-s...
C
BSD 3-Clause New or Revised License
projectacrn/acrn-hypervisor
doc: remove obsolete kconfig references in Makefile Signed-off-by: David B. Kinder <david.b.kinder@intel.com>
528,725
22.06.2021 11:16:12
-28,800
e56eb6238d0bd8e8eba113e1fa3987a3f9c09a37
board_inspector: return from method call invocation on DefReturn The current implementation of the AML interpreter continues interpreting a method after meeting a DefReturn object, which is incorrect. This patch fixes this issue by raising a dedicated exception on return and catching that exception on the caller side.
[ { "change_type": "MODIFY", "old_path": "misc/config_tools/board_inspector/acpiparser/aml/interpreter.py", "new_path": "misc/config_tools/board_inspector/acpiparser/aml/interpreter.py", "diff": "@@ -7,6 +7,11 @@ from .context import *\nfrom .datatypes import *\nfrom .tree import Tree, Interpreter\n+c...
C
BSD 3-Clause New or Revised License
projectacrn/acrn-hypervisor
board_inspector: return from method call invocation on DefReturn The current implementation of the AML interpreter continues interpreting a method after meeting a DefReturn object, which is incorrect. This patch fixes this issue by raising a dedicated exception on return and catching that exception on the caller side....
528,725
22.06.2021 11:16:36
-28,800
8c63550eb71c28d31c4c80a385ef0950e7f389e8
board_inspector: interpret DefDivide in DSDT/SSDT DefDevide is now enountered when interpreting host DSDT/SSDT. This patch implements the interpretation of the integer division operation.
[ { "change_type": "MODIFY", "old_path": "misc/config_tools/board_inspector/acpiparser/aml/interpreter.py", "new_path": "misc/config_tools/board_inspector/acpiparser/aml/interpreter.py", "diff": "@@ -452,6 +452,20 @@ class ConcreteInterpreter(Interpreter):\nlogging.warn(f\"Attempt to dereference an ob...
C
BSD 3-Clause New or Revised License
projectacrn/acrn-hypervisor
board_inspector: interpret DefDivide in DSDT/SSDT DefDevide is now enountered when interpreting host DSDT/SSDT. This patch implements the interpretation of the integer division operation. Tracked-On: #6298 Signed-off-by: Junjie Mao <junjie.mao@intel.com>
528,725
18.07.2021 10:03:23
-28,800
523ce8ad31303d821fc76fb37ffba762e1bc8237
board_inspector: Remove dead code in parser.py A DualNamePath clause is a NamePath that only follows rootchar or prefixpath. Thus, it is never necessary to check if a dot is necessary for separating segments before a DualNamePath. This patch removes the code that conduct that check.
[ { "change_type": "MODIFY", "old_path": "misc/config_tools/board_inspector/acpiparser/aml/parser.py", "new_path": "misc/config_tools/board_inspector/acpiparser/aml/parser.py", "diff": "@@ -106,8 +106,6 @@ class NameStringFactory(Factory):\n# Object name\nif ord(char) == grammar.AML_DUAL_NAME_PREFIX:\...
C
BSD 3-Clause New or Revised License
projectacrn/acrn-hypervisor
board_inspector: Remove dead code in parser.py A DualNamePath clause is a NamePath that only follows rootchar or prefixpath. Thus, it is never necessary to check if a dot is necessary for separating segments before a DualNamePath. This patch removes the code that conduct that check. Tracked-On: #6287 Signed-off-by: J...
528,725
23.07.2021 16:20:34
-28,800
0b46440b329e3a7810a14fa601e2789550df817d
board_inspector: strip an end tag when concat resource templates Resource template buffers always end with an end tag. Concatenation of two resource buffers thus requires that the end tag of the first buffer is stripped. This patch adds this logic to the interpretation of DefConcatRes AML nodes.
[ { "change_type": "MODIFY", "old_path": "misc/config_tools/board_inspector/acpiparser/aml/interpreter.py", "new_path": "misc/config_tools/board_inspector/acpiparser/aml/interpreter.py", "diff": "@@ -432,7 +432,11 @@ class ConcreteInterpreter(Interpreter):\ndef DefConcatRes(self, tree):\ndata = bytear...
C
BSD 3-Clause New or Revised License
projectacrn/acrn-hypervisor
board_inspector: strip an end tag when concat resource templates Resource template buffers always end with an end tag. Concatenation of two resource buffers thus requires that the end tag of the first buffer is stripped. This patch adds this logic to the interpretation of DefConcatRes AML nodes. Tracked-On: #6287 Sig...
528,725
27.07.2021 14:57:00
-28,800
503b1ee31701a5f861eb7c5070ad3dba2eea22a2
board_inspector: fix returning nested local variables Local variables can be assigned with formal arguments in AML. As a result when interpreting a DefReturn node, the interpreter shall unwrap multiple layers of argument/local variable wrappings until a concrete value is found. This patch implements this logic.
[ { "change_type": "MODIFY", "old_path": "misc/config_tools/board_inspector/acpiparser/aml/interpreter.py", "new_path": "misc/config_tools/board_inspector/acpiparser/aml/interpreter.py", "diff": "@@ -357,7 +357,7 @@ class ConcreteInterpreter(Interpreter):\ndef DefReturn(self, tree):\nobj = self.interp...
C
BSD 3-Clause New or Revised License
projectacrn/acrn-hypervisor
board_inspector: fix returning nested local variables Local variables can be assigned with formal arguments in AML. As a result when interpreting a DefReturn node, the interpreter shall unwrap multiple layers of argument/local variable wrappings until a concrete value is found. This patch implements this logic. Track...
528,725
02.07.2021 14:55:43
-28,800
127e12a56a7a55c3f5f4112f0e1acfa13922481d
board_inspector: add a property to reflect the encoded IRQs in RDT This patch adds the property `irqs` to the class SmallResourceitemIRQ so that the list of IRQs encoded in this resource item can be retrieved easily.
[ { "change_type": "MODIFY", "old_path": "misc/config_tools/board_inspector/acpiparser/rdt.py", "new_path": "misc/config_tools/board_inspector/acpiparser/rdt.py", "diff": "@@ -43,6 +43,10 @@ def SmallResourceItemIRQ_factory(_len):\n('_WKC', ctypes.c_uint8, 1),\n('reserved', ctypes.c_uint8, 2),\n] if (...
C
BSD 3-Clause New or Revised License
projectacrn/acrn-hypervisor
board_inspector: add a property to reflect the encoded IRQs in RDT This patch adds the property `irqs` to the class SmallResourceitemIRQ so that the list of IRQs encoded in this resource item can be retrieved easily. Tracked-On: #6287 Signed-off-by: Junjie Mao <junjie.mao@intel.com>
528,725
22.06.2021 11:16:51
-28,800
b119a0b82470ef3aadad9f27c245d26bd423e402
board_inspector: collect descriptions of ACPI devices _STR is another device identification object defined in ACPI spec that describes a device. This patch collects this string (when available) into board XML as well.
[ { "change_type": "MODIFY", "old_path": "misc/config_tools/board_inspector/extractors/50-acpi.py", "new_path": "misc/config_tools/board_inspector/extractors/50-acpi.py", "diff": "@@ -145,6 +145,11 @@ def fetch_device_info(devices_node, interpreter, namepath):\nelement.tag = \"bus\"\nelement.set(\"typ...
C
BSD 3-Clause New or Revised License
projectacrn/acrn-hypervisor
board_inspector: collect descriptions of ACPI devices _STR is another device identification object defined in ACPI spec that describes a device. This patch collects this string (when available) into board XML as well. Tracked-On: #6287 Signed-off-by: Junjie Mao <junjie.mao@intel.com>
528,725
27.07.2021 13:07:21
-28,800
879c6c11ca43d0bf7846cffb2f7f64b3bfa99a85
board_inspector: more verbose messages It is quite common to meet permissions errors when opening a specific region of /dev/mem due to kernel configurations. This patch adds a bit more logs on this for eaiser debugging.
[ { "change_type": "MODIFY", "old_path": "misc/config_tools/board_inspector/acpiparser/aml/datatypes.py", "new_path": "misc/config_tools/board_inspector/acpiparser/aml/datatypes.py", "diff": "@@ -310,7 +310,12 @@ class OperationRegion(Object):\nlogging.info(f\"Open system memory space {name}: [{hex(of...
C
BSD 3-Clause New or Revised License
projectacrn/acrn-hypervisor
board_inspector: more verbose messages It is quite common to meet permissions errors when opening a specific region of /dev/mem due to kernel configurations. This patch adds a bit more logs on this for eaiser debugging. Tracked-On: #6287 Signed-off-by: Junjie Mao <junjie.mao@intel.com>
528,725
23.07.2021 10:58:24
-28,800
94d517b5142315450a95552b01d9e7203b21c587
board_inspector: extract Compatible IDs of devices In addition to the mandatory _HID (Hardware ID), the ACPI spec also defines an optional _CID (Compatible ID) object for device identification. This patch enhances the ACPI extractor by parsing the _CID objects of devices as well.
[ { "change_type": "MODIFY", "old_path": "misc/config_tools/board_inspector/extractors/50-acpi.py", "new_path": "misc/config_tools/board_inspector/extractors/50-acpi.py", "diff": "@@ -142,11 +142,32 @@ def fetch_device_info(devices_node, interpreter, namepath):\nelse:\nhid = \"<unknown>\"\n+ # Compati...
C
BSD 3-Clause New or Revised License
projectacrn/acrn-hypervisor
board_inspector: extract Compatible IDs of devices In addition to the mandatory _HID (Hardware ID), the ACPI spec also defines an optional _CID (Compatible ID) object for device identification. This patch enhances the ACPI extractor by parsing the _CID objects of devices as well. Tracked-On: #6320 Signed-off-by: Jun...
528,725
28.07.2021 10:44:52
-28,800
5cf9ac714c9163b0ce911d95329cf42bc7e02ca8
board_inspector: extend DSDT parser to allow parsing arbitrary trees With AML templates for devices in the board XML, the parser now needs to be able to parse a stream as an arbitrary object. This patch adds the `parse_tree` method to the acpiparser.aml.parser module for this purpose.
[ { "change_type": "MODIFY", "old_path": "misc/config_tools/board_inspector/acpiparser/aml/context.py", "new_path": "misc/config_tools/board_inspector/acpiparser/aml/context.py", "diff": "@@ -167,15 +167,20 @@ class Context:\n# Mode switches\nself.__skip_external_on_lookup = False\n- def switch_stream...
C
BSD 3-Clause New or Revised License
projectacrn/acrn-hypervisor
board_inspector: extend DSDT parser to allow parsing arbitrary trees With AML templates for devices in the board XML, the parser now needs to be able to parse a stream as an arbitrary object. This patch adds the `parse_tree` method to the acpiparser.aml.parser module for this purpose. Tracked-On: #6287 Signed-off-by:...
528,725
04.08.2021 10:17:51
-28,800
a2e9a05737c77f78ea2510a1ff160cb0007b49f3
board_inspector: add GPIO and generic serial connection parsers GPIO and generic serial connection resources in ACPI resource descriptors usually encode resource sources which are important in detecting cross-device dependencies. This patch adds parsers for GPIO and generic serial connection descriptors.
[ { "change_type": "MODIFY", "old_path": "misc/config_tools/board_inspector/acpiparser/rdt.py", "new_path": "misc/config_tools/board_inspector/acpiparser/rdt.py", "diff": "@@ -259,7 +259,7 @@ def LargeResourceItemQWordAddressSpace_factory(_len=43):\n] + ([\n('reserved2', ctypes.c_uint8)\n] if (_len > ...
C
BSD 3-Clause New or Revised License
projectacrn/acrn-hypervisor
board_inspector: add GPIO and generic serial connection parsers GPIO and generic serial connection resources in ACPI resource descriptors usually encode resource sources which are important in detecting cross-device dependencies. This patch adds parsers for GPIO and generic serial connection descriptors. Tracked-On: ...
528,725
04.08.2021 14:44:06
-28,800
d66c62aad1db1dc71f4e959a867200e8336b1e6d
board_inspector: scanning all peer root hostbridges in domain 0 Servers typically have multiple peer host bridges that need to be scanned separately. This patch extends the PCI information extractor to visit all PCI host bridges by enumerating /sys/devices/pci* directories.
[ { "change_type": "MODIFY", "old_path": "misc/config_tools/board_inspector/extractors/50-acpi.py", "new_path": "misc/config_tools/board_inspector/extractors/50-acpi.py", "diff": "@@ -468,6 +468,15 @@ def fetch_device_info(devices_node, interpreter, namepath):\nelement.set(\"address\", hex(adr) if isi...
C
BSD 3-Clause New or Revised License
projectacrn/acrn-hypervisor
board_inspector: scanning all peer root hostbridges in domain 0 Servers typically have multiple peer host bridges that need to be scanned separately. This patch extends the PCI information extractor to visit all PCI host bridges by enumerating /sys/devices/pci* directories. Tracked-On: #6292 Signed-off-by: Junjie Mao...
528,725
05.08.2021 10:59:06
-28,800
5d446405159e04e3d5ebbf8f69068c8e83919504
board_inspector: add conversion to hex string from buffer fields Occasionally buffer fields (which are typically integers) are converted to hexadecimal strings for debugging purposes. This patch adds the conversion to suppress interpretation errors of these debugging calls. This patch is added in v3 of the series.
[ { "change_type": "MODIFY", "old_path": "misc/config_tools/board_inspector/acpiparser/aml/datatypes.py", "new_path": "misc/config_tools/board_inspector/acpiparser/aml/datatypes.py", "diff": "@@ -221,6 +221,9 @@ class BufferField(Object):\ndef to_string(self):\nreturn f\"BufferField({self.__field})\"\...
C
BSD 3-Clause New or Revised License
projectacrn/acrn-hypervisor
board_inspector: add conversion to hex string from buffer fields Occasionally buffer fields (which are typically integers) are converted to hexadecimal strings for debugging purposes. This patch adds the conversion to suppress interpretation errors of these debugging calls. This patch is added in v3 of the series. T...
528,725
06.08.2021 11:09:20
-28,800
0f4275b0411ab43976c56a4070e9da4107046d50
board-inspector: collect address bits of processors This patch updates the board inspector to collect the bits of physical and linear addresses of the processors and generate this information to the board XML for further uses at configuration phase.
[ { "change_type": "MODIFY", "old_path": "misc/config_tools/board_inspector/cpuparser/cpuids.py", "new_path": "misc/config_tools/board_inspector/cpuparser/cpuids.py", "diff": "@@ -751,3 +751,8 @@ class LEAF_80000008(CPUID):\nleaf = 0x80000008\nphysical_address_bits = cpuidfield(EAX, 7, 0, doc=\"# Phys...
C
BSD 3-Clause New or Revised License
projectacrn/acrn-hypervisor
board-inspector: collect address bits of processors This patch updates the board inspector to collect the bits of physical and linear addresses of the processors and generate this information to the board XML for further uses at configuration phase. Tracked-On: #6292 Signed-off-by: Junjie Mao <junjie.mao@intel.com>
528,725
29.07.2021 16:32:22
-28,800
692ab1d5293f3936eb1b9c406d4ea6bfc4a5ea67
config_tools: abstract BusDevFunc to the common library module It is a common practice to parse PCI BDF in the static allocators. This patch moves the BusDevFunc class (which is a named tuple encoding a BDF) to lib.py and uses it for BDF parsing throughout the static allocators.
[ { "change_type": "MODIFY", "old_path": "misc/config_tools/static_allocators/bdf.py", "new_path": "misc/config_tools/static_allocators/bdf.py", "diff": "import sys, os, re\nsys.path.append(os.path.join(os.path.dirname(os.path.abspath(__file__)), '..', 'library'))\nimport common, lib.error, lib.lib\n-...
C
BSD 3-Clause New or Revised License
projectacrn/acrn-hypervisor
config_tools: abstract BusDevFunc to the common library module It is a common practice to parse PCI BDF in the static allocators. This patch moves the BusDevFunc class (which is a named tuple encoding a BDF) to lib.py and uses it for BDF parsing throughout the static allocators. Tracked-On: #6287 Signed-off-by: Junji...
528,772
03.08.2021 09:14:40
14,400
171856c46b01d3770f39ff85be9bf23df9921faa
hv: uc-lock: Fix do not trap #GP If HV enable trigger #GP for uc-lock, and is about to emulate guest uc-lock instructions, should trap guest #GP. Guest uc-lock instrucction trigger #GP, cause vmexit for #GP, HV handle this vmexit and emulate uc-lock instruction.
[ { "change_type": "MODIFY", "old_path": "hypervisor/arch/x86/guest/vmcs.c", "new_path": "hypervisor/arch/x86/guest/vmcs.c", "diff": "@@ -406,6 +406,9 @@ static void init_exec_ctrl(struct acrn_vcpu *vcpu)\nif (is_ac_enabled()) {\nvalue32 = (value32 | (1U << IDT_AC));\n}\n+ if (is_gp_enabled()) {\n+ va...
C
BSD 3-Clause New or Revised License
projectacrn/acrn-hypervisor
hv: uc-lock: Fix do not trap #GP If HV enable trigger #GP for uc-lock, and is about to emulate guest uc-lock instructions, should trap guest #GP. Guest uc-lock instrucction trigger #GP, cause vmexit for #GP, HV handle this vmexit and emulate uc-lock instruction. Tracked-On: #6299 Signed-off-by: Tao Yuhong <yuhong.tao...
528,725
09.08.2021 16:31:57
-28,800
185b5d22e221fdd63993e79887e4114ce0967e3c
board-inspector: support buffer assignments and indexing The ACPI specification allows both assigning to buffers and indexing to a certain byte of a buffer using the Index operator. This patch adds the implementation of these two operations in the interpreter.
[ { "change_type": "MODIFY", "old_path": "misc/config_tools/board_inspector/acpiparser/aml/datatypes.py", "new_path": "misc/config_tools/board_inspector/acpiparser/aml/datatypes.py", "diff": "@@ -57,6 +57,9 @@ class BufferBase(Object):\ndef create_field(self, name, offset, bitwidth, access_width):\nse...
C
BSD 3-Clause New or Revised License
projectacrn/acrn-hypervisor
board-inspector: support buffer assignments and indexing The ACPI specification allows both assigning to buffers and indexing to a certain byte of a buffer using the Index operator. This patch adds the implementation of these two operations in the interpreter. Tracked-On: #6287 Signed-off-by: Junjie Mao <junjie.mao@i...
528,747
09.08.2021 10:13:09
25,200
3f276e7ddd1919802da90b8839f1f51d34fb4418
doc: add v2.5.1 release notes
[ { "change_type": "ADD", "old_path": null, "new_path": "doc/release_notes/release_notes_2.5.1.rst", "diff": "+.. _release_notes_2.5.1:\n+\n+ACRN v2.5.1 (Aug 2021)\n+######################\n+\n+We are pleased to announce an update release of the Project ACRN hypervisor\n+version 2.5.1. This is a maint...
C
BSD 3-Clause New or Revised License
projectacrn/acrn-hypervisor
doc: add v2.5.1 release notes Signed-off-by: David B. Kinder <david.b.kinder@intel.com>
528,721
05.08.2021 18:18:56
-28,800
e0f4a05df2fd4ac09941d7223828d0da3d5b035f
doc: update Kconfig related doc Replace Kconfig related scheduler configuration with scenario XML file configuration in tutorials because the Kconfig related files have been removed in the other PR 6358.
[ { "change_type": "MODIFY", "old_path": "doc/tutorials/cpu_sharing.rst", "new_path": "doc/tutorials/cpu_sharing.rst", "diff": "@@ -128,26 +128,11 @@ and BVT (Borrowed Virtual Time) scheduler.\nScheduler configuration\n+* The scheduler used at runtime is defined in the scenario XML file\n+ via the :op...
C
BSD 3-Clause New or Revised License
projectacrn/acrn-hypervisor
doc: update Kconfig related doc Replace Kconfig related scheduler configuration with scenario XML file configuration in tutorials because the Kconfig related files have been removed in the other PR 6358. Signed-off-by: Kunhui-Li <kunhuix.li@intel.com>
528,680
09.08.2021 13:18:31
25,200
9b52d75262a34e4ff862ecb0102169b9eeeddf67
config-tools: refine MAX_MSIX_TABLE_NUM If the MAX_MSIX_TABLE_NUM is specified in scenario.xml. Return the largest number from count of MSI, table_size of MSIX or MAX_MSIX_TABLE_NUM of scenario.xml.
[ { "change_type": "MODIFY", "old_path": "misc/config_tools/xforms/config.h.xsl", "new_path": "misc/config_tools/xforms/config.h.xsl", "diff": "<xsl:stylesheet\nversion=\"1.0\"\nxmlns:xi=\"http://www.w3.org/2003/XInclude\"\n- xmlns:xsl=\"http://www.w3.org/1999/XSL/Transform\">\n+ xmlns:xsl=\"http://ww...
C
BSD 3-Clause New or Revised License
projectacrn/acrn-hypervisor
config-tools: refine MAX_MSIX_TABLE_NUM If the MAX_MSIX_TABLE_NUM is specified in scenario.xml. Return the largest number from count of MSI, table_size of MSIX or MAX_MSIX_TABLE_NUM of scenario.xml. Tracked-On: #6235 Signed-off-by: Yang,Yu-chu <yu-chu.yang@intel.com>
528,654
03.08.2021 11:23:57
-28,800
84235bf07c23c768c6f425c8239fc7186388c555
hv: vtd: a minor refine about dmar_wait_completion Check whether condition is met before check whether time is out after iommu_read32. This is because iommu_read32 would cause time out on some virtual platform in spite of the current DMAR status meets the pre_condition. Acked-by: Eddie Dong
[ { "change_type": "MODIFY", "old_path": "hypervisor/arch/x86/vtd.c", "new_path": "hypervisor/arch/x86/vtd.c", "diff": "@@ -251,10 +251,9 @@ static inline void dmar_wait_completion(const struct dmar_drhd_rt *dmar_unit, ui\n__unused uint64_t start = cpu_ticks();\ndo {\n- *status = iommu_read32(dmar_uni...
C
BSD 3-Clause New or Revised License
projectacrn/acrn-hypervisor
hv: vtd: a minor refine about dmar_wait_completion Check whether condition is met before check whether time is out after iommu_read32. This is because iommu_read32 would cause time out on some virtual platform in spite of the current DMAR status meets the pre_condition. Tracked-On: #6371 Signed-off-by: Fei Li <fei1.l...
528,654
03.08.2021 15:42:11
-28,800
20061b7c391d6a113d459f002737214c0486005b
hv: remove xsave dependence ACRN could run without XSAVE Capability. So remove XSAVE dependence to support more (hardware or virtual) platforms.
[ { "change_type": "MODIFY", "old_path": "hypervisor/arch/x86/cpu.c", "new_path": "hypervisor/arch/x86/cpu.c", "diff": "@@ -538,6 +538,7 @@ static void init_pcpu_xsave(void)\nuint64_t xcr0, xss;\nuint32_t eax, ecx, unused, xsave_area_size;\n+ if (pcpu_has_cap(X86_FEATURE_XSAVE)) {\nCPU_CR_READ(cr4, &v...
C
BSD 3-Clause New or Revised License
projectacrn/acrn-hypervisor
hv: remove xsave dependence ACRN could run without XSAVE Capability. So remove XSAVE dependence to support more (hardware or virtual) platforms. Tracked-On: #6287 Signed-off-by: Fei Li <fei1.li@intel.com>
528,721
30.07.2021 18:51:19
-28,800
158eb3828058d7ec0adf33c6f59468ace48186ea
config_tools: update lpc slot number Update lpc slot to origin value 1 from 31 because GOP driver has assumption to config space layout of the device on 00:1f.0.
[ { "change_type": "MODIFY", "old_path": "misc/config_tools/library/launch_cfg_lib.py", "new_path": "misc/config_tools/library/launch_cfg_lib.py", "diff": "@@ -40,10 +40,10 @@ PASSTHRU_DEVS = ['usb_xdci', 'ipu', 'ipu_i2c', 'cse', 'audio', 'sata',\nPT_SLOT = {\n\"hostbridge\":0,\n- \"isa\":1,\n+ \"lpc\...
C
BSD 3-Clause New or Revised License
projectacrn/acrn-hypervisor
config_tools: update lpc slot number Update lpc slot to origin value 1 from 31 because GOP driver has assumption to config space layout of the device on 00:1f.0. Tracked-On: #6340 Signed-off-by: Kunhui-Li <kunhuix.li@intel.com>
528,721
05.08.2021 14:01:57
-28,800
54fe6f900b8c67a498e338a7e371cbeaa1b3be8f
config_tools: update launch xml for only one NVME Update launch xml to use image to launch hard rt vm since we changed the platforms from two disk to only one NVME disk.
[ { "change_type": "MODIFY", "old_path": "misc/config_tools/data/ehl-crb-b/industry_launch_1uos_hardrt.xml", "new_path": "misc/config_tools/data/ehl-crb-b/industry_launch_1uos_hardrt.xml", "diff": "</passthrough_devices>\n<virtio_devices>\n- <network desc=\"virtio network devices setting. Input format...
C
BSD 3-Clause New or Revised License
projectacrn/acrn-hypervisor
config_tools: update launch xml for only one NVME Update launch xml to use image to launch hard rt vm since we changed the platforms from two disk to only one NVME disk. Tracked-On: #6315 Signed-off-by: Kunhui-Li <kunhuix.li@intel.com>
528,654
06.08.2021 10:11:34
-28,800
f81b39225ca87059875ac43e39f9656b86bb5c61
HV: refine acrn_mmiodev data structure 1. add a name field to indicate what the MMIO Device is. 2. add two more MMIO resource to the acrn_mmiodev data structure.
[ { "change_type": "MODIFY", "old_path": "devicemodel/hw/mmio/core.c", "new_path": "devicemodel/hw/mmio/core.c", "diff": "@@ -73,13 +73,15 @@ int parse_pt_acpidev(char *opt)\n/* TODO: support acpi dev framework, remove these TPM hard code */\nif (strncmp(opt, \"MSFT0101\", 8) == 0) {\nstrncpy(mmio_dev...
C
BSD 3-Clause New or Revised License
projectacrn/acrn-hypervisor
HV: refine acrn_mmiodev data structure 1. add a name field to indicate what the MMIO Device is. 2. add two more MMIO resource to the acrn_mmiodev data structure. Tracked-On: #6366 Signed-off-by: Tao Yuhong <yuhong.tao@intel.com> Signed-off-by: Fei Li <fei1.li@intel.com>
528,654
29.07.2021 10:02:48
-28,800
a705ff2dac36b1526e3fad01a5ab9c40e04c1167
hv: relocate ACPI DATA address to 0x7fe00000 Relocate ACPI address to 0x7fe00000 and ACPI NVS to 0x7ff00000 correspondingly. In this case, we could include TPM event log region [0x7ffb0000, 0x80000000) into ACPI NVS.
[ { "change_type": "MODIFY", "old_path": "hypervisor/arch/x86/guest/ve820.c", "new_path": "hypervisor/arch/x86/guest/ve820.c", "diff": "@@ -199,17 +199,17 @@ static const struct e820_entry pre_ve820_template[E820_MAX_ENTRIES] = {\n},\n{ /* part2 of lowmem of hpa1*/\n.baseaddr = PRE_RTVM_SW_SRAM_BASE_G...
C
BSD 3-Clause New or Revised License
projectacrn/acrn-hypervisor
hv: relocate ACPI DATA address to 0x7fe00000 Relocate ACPI address to 0x7fe00000 and ACPI NVS to 0x7ff00000 correspondingly. In this case, we could include TPM event log region [0x7ffb0000, 0x80000000) into ACPI NVS. Tracked-On: #6320 Signed-off-by: Fei Li <fei1.li@intel.com>
528,680
14.07.2021 14:46:49
25,200
f3125e58ed289c564a0c038c74688a4532a7df55
config-tools: add tpm2 acpi parser to board_inspector Create python script tpm2 which parse the tpm2 acpi table datas. Add this parsed data to the <device id="MSFT0101" description="TPM 2.0 Device"> of board.xml.
[ { "change_type": "MODIFY", "old_path": "misc/config_tools/board_inspector/acpiparser/__init__.py", "new_path": "misc/config_tools/board_inspector/acpiparser/__init__.py", "diff": "@@ -13,6 +13,7 @@ from acpiparser.facp import FACP\nfrom acpiparser.rtct import RTCT\nfrom acpiparser.rdt import parse_r...
C
BSD 3-Clause New or Revised License
projectacrn/acrn-hypervisor
config-tools: add tpm2 acpi parser to board_inspector Create python script tpm2 which parse the tpm2 acpi table datas. Add this parsed data to the <device id="MSFT0101" description="TPM 2.0 Device"> of board.xml. Tracked-On: #6320 Signed-off-by: Yang,Yu-chu <yu-chu.yang@intel.com>
528,680
14.07.2021 14:50:40
25,200
cb736e4cc191aa9569b4787631d377a12f266676
config-tools: allocate log area start address If passthrough TPM2 is enabled and the log area is present, allocates the log_area_start_address with the size log_area_minimum_length(256K).
[ { "change_type": "MODIFY", "old_path": "misc/config_tools/static_allocators/gpa.py", "new_path": "misc/config_tools/static_allocators/gpa.py", "diff": "@@ -59,6 +59,9 @@ PCI_VUART_VBAR1_SIZE = 4 * SIZE_K\n# Constants for vmsix bar\nVMSIX_VBAR_SIZE = 4 * SIZE_K\n+# Constants for tpm2 log area minimum...
C
BSD 3-Clause New or Revised License
projectacrn/acrn-hypervisor
config-tools: allocate log area start address If passthrough TPM2 is enabled and the log area is present, allocates the log_area_start_address with the size log_area_minimum_length(256K). Tracked-On: #6320 Signed-off-by: Yang,Yu-chu <yu-chu.yang@intel.com>
528,680
14.07.2021 14:54:15
25,200
53d99d2a68c9758e3301dd91bacd8c3cd3300577
config-tools: generate the log area data of tpm2 Insert the passthrough tpm2 datas to mmiodevs of vm_configurations.c
[ { "change_type": "MODIFY", "old_path": "misc/config_tools/xforms/misc_cfg.h.xsl", "new_path": "misc/config_tools/xforms/misc_cfg.h.xsl", "diff": "<xsl:value-of select=\"acrn:define('VM0_TPM_BUFFER_BASE_ADDR', '0xFED40000', 'UL')\" />\n<xsl:value-of select=\"acrn:define('VM0_TPM_BUFFER_BASE_ADDR_GPA'...
C
BSD 3-Clause New or Revised License
projectacrn/acrn-hypervisor
config-tools: generate the log area data of tpm2 Insert the passthrough tpm2 datas to mmiodevs of vm_configurations.c Tracked-On: #6320 Signed-off-by: Yang,Yu-chu <yu-chu.yang@intel.com>
528,801
11.08.2021 09:13:59
-28,800
de19301a5a0dea23d89775d8e0eea39f53d8bb46
config_tools: refine the configuration data description This patch refines the configuration data description so that it is consistent with the current implementation of the configuration tools.
[ { "change_type": "MODIFY", "old_path": "misc/config_tools/schema/config.xsd", "new_path": "misc/config_tools/schema/config.xsd", "diff": "@@ -24,10 +24,17 @@ hypervisor shell.</xs:documentation>\n<xs:element name=\"SERIAL_CONSOLE\" type=\"SerialConsoleOptions\" default=\"/dev/ttyS0\">\n<xs:annotatio...
C
BSD 3-Clause New or Revised License
projectacrn/acrn-hypervisor
config_tools: refine the configuration data description This patch refines the configuration data description so that it is consistent with the current implementation of the configuration tools. Tracked-On: #6377 Signed-off-by: Shiqing Gao <shiqing.gao@intel.com>
528,747
11.08.2021 11:27:11
25,200
2216134cf4d2a3c122f8056060c128c2a753858a
doc: update config data descriptions Fix some formatting issues in PR
[ { "change_type": "MODIFY", "old_path": "misc/config_tools/schema/VMtypes.xsd", "new_path": "misc/config_tools/schema/VMtypes.xsd", "diff": "@@ -86,8 +86,7 @@ to.</xs:documentation>\n<xs:annotation>\n<xs:documentation>Configure each CPU in VMs to a desired CLOS ID in the ``VM`` section of the\nscenar...
C
BSD 3-Clause New or Revised License
projectacrn/acrn-hypervisor
doc: update config data descriptions Fix some formatting issues in PR #6378 Tracked-On: #6377 Signed-off-by: David B. Kinder <david.b.kinder@intel.com>
528,660
12.08.2021 17:01:11
-28,800
1f5a7e8b8d41d78716d6a62ba40842585993c395
doc:add more explanation on parameter --windows acrn-dm --windows parameter is used for specify the Windows ORACLE virtio device driver,which is used when enable secure boot in Windows, otherwise the default REDHAT virtio device driver will be used which is not certified by Microsoft
[ { "change_type": "MODIFY", "old_path": "doc/tutorials/using_windows_as_uos.rst", "new_path": "doc/tutorials/using_windows_as_uos.rst", "diff": "@@ -292,6 +292,9 @@ Explanation for acrn-dm Popular Command Lines\n* ``--ovmf /home/acrn/work/OVMF.fd``:\nMake sure it points to your OVMF binary path.\n+* ...
C
BSD 3-Clause New or Revised License
projectacrn/acrn-hypervisor
doc:add more explanation on parameter --windows acrn-dm --windows parameter is used for specify the Windows ORACLE virtio device driver,which is used when enable secure boot in Windows, otherwise the default REDHAT virtio device driver will be used which is not certified by Microsoft Signed-off-by: Liu, Hang1 <hang1....
528,768
12.08.2021 05:15:54
-10,800
d92c4bd840e5bf7ee4ce3b05ae8c57f25f206c98
dm: fix potential NULL pointer access in virtio_console.c "port->cb" in 'virtio_console_notify_tx()' function maybe NULL when malicious inputs are injected from virtio frondend in guest.
[ { "change_type": "MODIFY", "old_path": "devicemodel/hw/pci/virtio/virtio_console.c", "new_path": "devicemodel/hw/pci/virtio/virtio_console.c", "diff": "@@ -390,7 +390,7 @@ virtio_console_notify_tx(void *vdev, struct virtio_vq_info *vq)\nwhile (vq_has_descs(vq)) {\nvq_getchain(vq, &idx, iov, 1, flags...
C
BSD 3-Clause New or Revised License
projectacrn/acrn-hypervisor
dm: fix potential NULL pointer access in virtio_console.c "port->cb" in 'virtio_console_notify_tx()' function maybe NULL when malicious inputs are injected from virtio frondend in guest. Tracked-On: #6388 Signed-off-by: Yonghua Huang <yonghua.huang@intel.com>
528,680
11.08.2021 19:27:45
25,200
a4be0aa57b70a39b92604ff8348cf8381144ba03
config-tools: add native log area address Extract the log area address from TPM2 acpi table and add node log_area_start_address to board.xml. This emelment is used by host_pa of mmiodevs.
[ { "change_type": "MODIFY", "old_path": "misc/config_tools/board_inspector/extractors/50-acpi.py", "new_path": "misc/config_tools/board_inspector/extractors/50-acpi.py", "diff": "@@ -126,7 +126,9 @@ def parse_tpm(elem):\nfor parameter in tpm2.start_method_specific_parameters:\nadd_child(start_method,...
C
BSD 3-Clause New or Revised License
projectacrn/acrn-hypervisor
config-tools: add native log area address Extract the log area address from TPM2 acpi table and add node log_area_start_address to board.xml. This emelment is used by host_pa of mmiodevs. Tracked-On: #6320 Signed-off-by: Yang,Yu-chu <yu-chu.yang@intel.com>
528,680
29.07.2021 13:46:08
25,200
c10ac227ccea196e23d74fac53ad9ac0f61d6018
config-tools: remove unused package and add nosec to subprocess The subprocess module is needed for calling package from python script. Add #nosec for subprocess module importing.
[ { "change_type": "MODIFY", "old_path": "misc/config_tools/acpi_gen/bin_gen.py", "new_path": "misc/config_tools/acpi_gen/bin_gen.py", "diff": "\"\"\"\nimport logging\n-import os, sys, subprocess, argparse, re, shutil\n+import subprocess # nosec\n+import os, sys, argparse, re, shutil\nsys.path.append(...
C
BSD 3-Clause New or Revised License
projectacrn/acrn-hypervisor
config-tools: remove unused package and add nosec to subprocess The subprocess module is needed for calling package from python script. Add #nosec for subprocess module importing. Tracked-On: #6342 Signed-off-by: Yang,Yu-chu <yu-chu.yang@intel.com>
528,680
29.07.2021 14:02:50
25,200
668ae810480ea29013c81e56739eef916095a31d
config-tools: replace xml.etree.ElementTree with defusedxml.ElementTree Using xml.etree.ElementTree to parse the untrusted data is known to raise security issue. Replaced it using defusedxml.
[ { "change_type": "MODIFY", "old_path": "doc/getting-started/building-from-source.rst", "new_path": "doc/getting-started/building-from-source.rst", "diff": "@@ -80,7 +80,7 @@ ACRN.\nxsltproc \\\nclang-format\n- sudo pip3 install lxml xmlschema\n+ sudo pip3 install lxml xmlschema defusedxml\nwget http...
C
BSD 3-Clause New or Revised License
projectacrn/acrn-hypervisor
config-tools: replace xml.etree.ElementTree with defusedxml.ElementTree Using xml.etree.ElementTree to parse the untrusted data is known to raise security issue. Replaced it using defusedxml. Tracked-On: #6342 Signed-off-by: Yang,Yu-chu <yu-chu.yang@intel.com>
528,660
16.08.2021 21:20:07
-28,800
39641677742c1d2b5c73b83868739a7de943faf0
doc:resolve the mismatch between doc and code Default e820 mem map in hld-devicemodel.rst is mismatched with sw_load_common.c,update the doc to align with code.
[ { "change_type": "MODIFY", "old_path": "doc/developer-guides/hld/hld-devicemodel.rst", "new_path": "doc/developer-guides/hld/hld-devicemodel.rst", "diff": "@@ -216,14 +216,14 @@ DM Initialization\n* map[0]:0~ctx->lowmem_limit & map[2]:4G~ctx->highmem for RAM\n* ctx->highmem = request_memory_size - c...
C
BSD 3-Clause New or Revised License
projectacrn/acrn-hypervisor
doc:resolve the mismatch between doc and code Default e820 mem map in hld-devicemodel.rst is mismatched with sw_load_common.c,update the doc to align with code. Signed-off-by: Liu, Hang1 <hang1.liu@intel.com>
528,654
13.08.2021 09:06:45
-28,800
2e7491a8eced4b032b0ae4a094ef93d1303eb480
hv: mmiodev: a minor bug fix about refine acrn_mmiodev data structure Rename base_hpa to host_pa in acrn_mmiodev data structure.
[ { "change_type": "MODIFY", "old_path": "hypervisor/arch/x86/guest/vm.c", "new_path": "hypervisor/arch/x86/guest/vm.c", "diff": "@@ -302,8 +302,8 @@ static void prepare_prelaunched_vm_memmap(struct acrn_vm *vm, const struct acrn_\n(void)assign_mmio_dev(vm, &vm_config->mmiodevs[i]);\n#ifdef P2SB_VGPIO...
C
BSD 3-Clause New or Revised License
projectacrn/acrn-hypervisor
hv: mmiodev: a minor bug fix about refine acrn_mmiodev data structure Rename base_hpa to host_pa in acrn_mmiodev data structure. Tracked-On: #6366 Signed-off-by: Fei Li <fei1.li@intel.com>
528,721
13.08.2021 13:21:07
-28,800
cf1f3ac51d64666c8f4f13576673d1fb9971bd22
config_tools: remove some tags check for scenario.xml in generic_board folder remove some tags check for scenario xml files in generic_board folder when importing a new type of board in UI, and minor fix for the warning of config editor.
[ { "change_type": "MODIFY", "old_path": "misc/config_tools/config_app/views.py", "new_path": "misc/config_tools/config_app/views.py", "diff": "@@ -760,7 +760,7 @@ def upload_board_info():\nboard_info_config.set_curr(tmp_filename.rsplit('.', 1)[0])\nboard_info_root = board_info_config.get_curr_root()\...
C
BSD 3-Clause New or Revised License
projectacrn/acrn-hypervisor
config_tools: remove some tags check for scenario.xml in generic_board folder remove some tags check for scenario xml files in generic_board folder when importing a new type of board in UI, and minor fix for the warning of config editor. Tracked-On: #6315 Signed-off-by: Kunhui-Li <kunhuix.li@intel.com>
528,680
27.07.2021 10:56:56
25,200
73dc610d909dbbc05312786f05162bde813ac1b1
config-tool: refine guest kernel types Rename KERNEL_ZEPHYR to KERNEL_RAWIMAGE. Added new type "KERNEL_ELF". Add CONFIG_GUEST_KERNEL_RAWIMAGE, CONFIG_GUEST_KERNEL_ELF and/or CONFIG_GUEST_KERNEL_BZIMAGE to config.h if it's configured.
[ { "change_type": "MODIFY", "old_path": "hypervisor/include/arch/x86/asm/vm_config.h", "new_path": "hypervisor/include/arch/x86/asm/vm_config.h", "diff": "@@ -109,7 +109,6 @@ struct vuart_config {\nenum os_kernel_type {\nKERNEL_BZIMAGE = 1,\n- KERNEL_ZEPHYR,\nKERNEL_RAWIMAGE,\nKERNEL_ELF,\nKERNEL_UNK...
C
BSD 3-Clause New or Revised License
projectacrn/acrn-hypervisor
config-tool: refine guest kernel types Rename KERNEL_ZEPHYR to KERNEL_RAWIMAGE. Added new type "KERNEL_ELF". Add CONFIG_GUEST_KERNEL_RAWIMAGE, CONFIG_GUEST_KERNEL_ELF and/or CONFIG_GUEST_KERNEL_BZIMAGE to config.h if it's configured. Tracked-On: #6323 Signed-off-by: Yang,Yu-chu <yu-chu.yang@intel.com> Reviewed-by: ...
528,794
03.08.2021 16:23:45
-28,800
2524572fb257a3849760ecb0ea9d4abb6ca21b4e
HV: vm_load: refine vm_sw_loader API Change if condition to switch in vm_sw_loader() so that the sw loader could be compiled conditionally. Acked-by: Eddie Dong
[ { "change_type": "MODIFY", "old_path": "hypervisor/common/vm_load.c", "new_path": "hypervisor/common/vm_load.c", "diff": "@@ -485,20 +485,20 @@ static int32_t vm_rawimage_loader(struct acrn_vm *vm)\n*/\nint32_t vm_sw_loader(struct acrn_vm *vm)\n{\n- int32_t ret = 0;\n+ int32_t ret = -EINVAL;\n/* get...
C
BSD 3-Clause New or Revised License
projectacrn/acrn-hypervisor
HV: vm_load: refine vm_sw_loader API Change if condition to switch in vm_sw_loader() so that the sw loader could be compiled conditionally. Tracked-On: #6323 Signed-off-by: Victor Sun <victor.sun@intel.com> Acked-by: Eddie Dong <eddie.dong@intel.com>
528,794
03.08.2021 20:44:38
-28,800
3124018917698b3bc10a1f9971fe9019e444426f
HV: vm_load: rename vboot_info.h to vboot.h vboot_info.h declares vm loader function also, so rename the file name to vboot.h; Acked-by: Eddie Dong
[ { "change_type": "MODIFY", "old_path": "hypervisor/arch/x86/guest/vm.c", "new_path": "hypervisor/arch/x86/guest/vm.c", "diff": "#include <asm/pgtable.h>\n#include <asm/mmu.h>\n#include <logmsg.h>\n-#include <vboot_info.h>\n+#include <vboot.h>\n#include <asm/board.h>\n#include <asm/sgx.h>\n#include <...
C
BSD 3-Clause New or Revised License
projectacrn/acrn-hypervisor
HV: vm_load: rename vboot_info.h to vboot.h vboot_info.h declares vm loader function also, so rename the file name to vboot.h; Tracked-On: #6323 Signed-off-by: Victor Sun <victor.sun@intel.com> Acked-by: Eddie Dong <eddie.dong@intel.com>
528,655
10.08.2021 15:58:41
-28,800
8100b1dd560865b9a03423026f521de7693a5bf2
HV: Remove 'vm_' of vm_elf_loader and etc. In order to make better sense, vm_elf_loader, vm_bzimage_loader and vm_rawimage_loader are changed to elf_loaer, bzimage_loaer and rawimage_loader. Acked-by: Eddie Dong
[ { "change_type": "MODIFY", "old_path": "hypervisor/boot/guest/bzimage_loader.c", "new_path": "hypervisor/boot/guest/bzimage_loader.c", "diff": "@@ -402,7 +402,7 @@ static void load_bzimage(struct acrn_vm *vm, struct acrn_vcpu *vcpu,\n__func__, vm->vm_id, vcpu_get_gpreg(vcpu, CPU_REG_RSI));\n}\n-int3...
C
BSD 3-Clause New or Revised License
projectacrn/acrn-hypervisor
HV: Remove 'vm_' of vm_elf_loader and etc. In order to make better sense, vm_elf_loader, vm_bzimage_loader and vm_rawimage_loader are changed to elf_loaer, bzimage_loaer and rawimage_loader. Tracked-On: #6323 Signed-off-by: Zhou, Wu <wu.zhou@intel.com> Acked-by: Eddie Dong <eddie.dong@intel.com>
528,655
05.08.2021 15:00:52
-28,800
537f69dde9df04eacc47ad8b3de4192eeea74ba7
HV: Add elf header file for elf loader Source: Trimed to meet the minimal requirements for the Zephyr elf file to be loaded Also added elf file header data struct and program/section entry data structs. Acked-by: Eddie Dong
[ { "change_type": "ADD", "old_path": null, "new_path": "hypervisor/boot/include/elf.h", "diff": "+/*\n+ * Copyright (C) 2021 Intel Corporation.\n+ *\n+ * SPDX-License-Identifier: BSD-3-Clause\n+ *\n+ * SPDX-License-Identifier: BSD-2-Clause-FreeBSD\n+ *\n+ * Copyright (c) 2017, 2018 Dell EMC\n+ * Copy...
C
BSD 3-Clause New or Revised License
projectacrn/acrn-hypervisor
HV: Add elf header file for elf loader Source: https://github.com/freebsd/freebsd-src/blob/main/sys/sys/elf_common.h Trimed to meet the minimal requirements for the Zephyr elf file to be loaded Also added elf file header data struct and program/section entry data structs. Tracked-On: #6323 Signed-off-by: Zhou, Wu <w...
528,655
12.08.2021 15:34:10
-28,800
c2468d2791b0ebe360f766d9cb57c3d377f8102c
HV: Add elf loader sketch This patch adds a function elf_loader() to load elf image. It checks the elf header, get its 32/64 bit type, then calls the corresponding loading routines, which are empty, and will be realized later. Acked-by: Eddie Dong
[ { "change_type": "MODIFY", "old_path": "hypervisor/Makefile", "new_path": "hypervisor/Makefile", "diff": "@@ -289,6 +289,9 @@ endif\nifeq ($(CONFIG_GUEST_KERNEL_RAWIMAGE),y)\nVP_BASE_C_SRCS += boot/guest/rawimage_loader.c\nendif\n+ifeq ($(CONFIG_GUEST_KERNEL_ELF),y)\n+VP_BASE_C_SRCS += boot/guest/el...
C
BSD 3-Clause New or Revised License
projectacrn/acrn-hypervisor
HV: Add elf loader sketch This patch adds a function elf_loader() to load elf image. It checks the elf header, get its 32/64 bit type, then calls the corresponding loading routines, which are empty, and will be realized later. Tracked-On: #6323 Signed-off-by: Zhou, Wu <wu.zhou@intel.com> Acked-by: Eddie Dong <eddie....
528,655
09.08.2021 11:34:39
-28,800
2e2730137f083413bb69c23584b5d50880ac7fa8
HV: Change hybrid.xml default zephyr config to KERNEL_ELF In the default config file for hybrid scenario, zephyr image was configured as KERNEL_RAWIMAGE. Now we change them to KERNEL_ELF for all the platforms. And also kernel mods are changed from Zephyr_RawImage to Zephyr_ElfImage
[ { "change_type": "MODIFY", "old_path": "misc/config_tools/data/ehl-crb-b/fusa_partition.xml", "new_path": "misc/config_tools/data/ehl-crb-b/fusa_partition.xml", "diff": "</memory>\n<os_config>\n<name>Zephyr</name>\n- <kern_type>KERNEL_RAWIMAGE</kern_type>\n- <kern_mod>Zephyr_RawImage</kern_mod>\n+ <...
C
BSD 3-Clause New or Revised License
projectacrn/acrn-hypervisor
HV: Change hybrid.xml default zephyr config to KERNEL_ELF In the default config file for hybrid scenario, zephyr image was configured as KERNEL_RAWIMAGE. Now we change them to KERNEL_ELF for all the platforms. And also kernel mods are changed from Zephyr_RawImage to Zephyr_ElfImage Tracked-On: #6323 Signed-off-by: Z...
528,721
18.08.2021 17:43:41
-28,800
f0a38692cf66ce4dbcab13618756189ba7a61410
config_tools: fix the issue that fail to generate launch script fix the issue that fail to generate launch script when to disable CPU sharing.
[ { "change_type": "MODIFY", "old_path": "misc/config_tools/library/scenario_cfg_lib.py", "new_path": "misc/config_tools/library/scenario_cfg_lib.py", "diff": "@@ -350,7 +350,7 @@ def vm_cpu_affinity_check(config_file, id_cpus_per_vm_dic, item):\ncpu_affinity = common.get_leaf_tag_map(config_file, \"c...
C
BSD 3-Clause New or Revised License
projectacrn/acrn-hypervisor
config_tools: fix the issue that fail to generate launch script fix the issue that fail to generate launch script when to disable CPU sharing. Tracked-On: #6428 Signed-off-by: Kunhui-Li <kunhuix.li@intel.com>
528,721
18.08.2021 11:31:48
-28,800
a73dd7b5f7c5a2e36685fb51716558b36dacce9e
config_tools: disable TPM2 passthrough on other platforms Disables TPM2 passthrough on other platforms except TGL follow the 6410 PR.
[ { "change_type": "MODIFY", "old_path": "misc/config_tools/data/cfl-k700-i7/hybrid_rt.xml", "new_path": "misc/config_tools/data/cfl-k700-i7/hybrid_rt.xml", "diff": "<pci_dev>09:00.0 Non-Volatile memory controller: Silicon Motion, Inc. Device 2263 (rev 03)</pci_dev>\n</pci_devs>\n<mmio_resources>\n- <...
C
BSD 3-Clause New or Revised License
projectacrn/acrn-hypervisor
config_tools: disable TPM2 passthrough on other platforms Disables TPM2 passthrough on other platforms except TGL follow the 6410 PR. Tracked-On: #6288 Signed-off-by: Kunhui-Li <kunhuix.li@intel.com>
528,721
18.08.2021 17:12:04
-28,800
bbc92361bcfa1d79976547fe3b27f8d53b20a96f
config_tools: update lpc slot number in script Update lpc slot to origin value 1 from 31 in the script too, because GOP driver has assumption to config space layout of the device on 00:1f.0.
[ { "change_type": "MODIFY", "old_path": "misc/config_tools/launch_config/com.py", "new_path": "misc/config_tools/launch_config/com.py", "diff": "@@ -636,7 +636,7 @@ def dm_arg_set(names, sel, virt_io, dm, vmid, config):\nbreak\nif uos_type != \"PREEMPT-RT LINUX\":\n- print(\" -s 31:0,lpc \\\\\", file...
C
BSD 3-Clause New or Revised License
projectacrn/acrn-hypervisor
config_tools: update lpc slot number in script Update lpc slot to origin value 1 from 31 in the script too, because GOP driver has assumption to config space layout of the device on 00:1f.0. Tracked-On: #6340 Signed-off-by: Kunhui-Li <kunhuix.li@intel.com>
528,652
18.08.2021 22:40:16
25,200
ad37553873918c4f916805e38e949800efd95d80
hv: nested: redundant permission check on nested_vmentry() check_vmx_permission() is called in vmresume_vmexit_handler() and vmlaunch_vmexit_handler() already.
[ { "change_type": "MODIFY", "old_path": "hypervisor/arch/x86/guest/nested.c", "new_path": "hypervisor/arch/x86/guest/nested.c", "diff": "@@ -1409,7 +1409,6 @@ static void nested_vmentry(struct acrn_vcpu *vcpu, bool is_launch)\n{\nstruct acrn_vmcs12 *vmcs12 = &vcpu->arch.nested.vmcs12;\n- if (check_vm...
C
BSD 3-Clause New or Revised License
projectacrn/acrn-hypervisor
hv: nested: redundant permission check on nested_vmentry() check_vmx_permission() is called in vmresume_vmexit_handler() and vmlaunch_vmexit_handler() already. Tracked-On: #6289 Signed-off-by: Zide Chen <zide.chen@intel.com>
528,652
05.07.2021 17:41:03
25,200
2e6cf2b85b51a7eef286ea9a41b52fa4a5f464de
hv: nested: fix bugs in init_vmx_msrs() Currently init_vmx_msrs() emulates same value for the IA32_VMX_xxx_CTLS and IA32_VMX_TRUE_xxx_CTLS MSRs. But the value of physical MSRs could be different between the pair, and we need to adjust the emulated value accordingly. Acked-by: Eddie Dong
[ { "change_type": "MODIFY", "old_path": "hypervisor/arch/x86/guest/nested.c", "new_path": "hypervisor/arch/x86/guest/nested.c", "diff": "@@ -118,8 +118,9 @@ void init_vmx_msrs(struct acrn_vcpu *vcpu)\n| VMX_PINBASED_CTLS_NMI_EXIT\n| VMX_PINBASED_CTLS_ENABLE_PTMR;\nmsr_value = adjust_vmx_ctrls(MSR_IA3...
C
BSD 3-Clause New or Revised License
projectacrn/acrn-hypervisor
hv: nested: fix bugs in init_vmx_msrs() Currently init_vmx_msrs() emulates same value for the IA32_VMX_xxx_CTLS and IA32_VMX_TRUE_xxx_CTLS MSRs. But the value of physical MSRs could be different between the pair, and we need to adjust the emulated value accordingly. Tracked-On: #6289 Signed-off-by: Zide Chen <zide.c...
528,720
09.08.2021 14:27:47
-28,800
2b3620de7df766aa5c2ff0460d186446c4e785df
hv: mask off LA57 in cpuid Mask off support of 57-bit linear addresses and five-level paging. ICX-D has LA57 but ACRN doesn't support 5-level paging yet.
[ { "change_type": "MODIFY", "old_path": "hypervisor/arch/x86/guest/vcpuid.c", "new_path": "hypervisor/arch/x86/guest/vcpuid.c", "diff": "@@ -121,6 +121,9 @@ static void init_vcpuid_entry(uint32_t leaf, uint32_t subleaf,\nentry->ebx &= ~(CPUID_EBX_PQM | CPUID_EBX_PQE);\n+ /* mask LA57 */\n+ entry->ecx...
C
BSD 3-Clause New or Revised License
projectacrn/acrn-hypervisor
hv: mask off LA57 in cpuid Mask off support of 57-bit linear addresses and five-level paging. ICX-D has LA57 but ACRN doesn't support 5-level paging yet. Tracked-On: #6357 Signed-off-by: Liang Yi <yi.liang@intel.com> Signed-off-by: Li, Fei1 <fei1.li@intel.com>
528,720
09.08.2021 14:39:47
-28,800
499f62e8bd958bbcea6ebe45e4337f0be6dc60c6
hv: use per platform maximum physical address width MAXIMUM_PA_WIDTH will be calculated from board information.
[ { "change_type": "MODIFY", "old_path": "hypervisor/include/arch/x86/asm/page.h", "new_path": "hypervisor/include/arch/x86/asm/page.h", "diff": "#define PAGE_H\n#include <asm/lib/spinlock.h>\n+#include <board_info.h>\n#define PAGE_SHIFT 12U\n#define PAGE_SIZE (1U << PAGE_SHIFT)\n#define PAGE_MASK 0xF...
C
BSD 3-Clause New or Revised License
projectacrn/acrn-hypervisor
hv: use per platform maximum physical address width MAXIMUM_PA_WIDTH will be calculated from board information. Tracked-On: #6357 Signed-off-by: Liang Yi <yi.liang@intel.com> Signed-off-by: Junjie Mao <junjie.mao@intel.com>
528,747
20.08.2021 13:45:14
25,200
bbe76d6b2afcdb50a7a817f57a12525c78f68a98
doc: GSG tweaks for DX mention usefulness of a fast computer for improving build time move Ubuntu boot USB drive earlier in the list of prereqs move some sentences around for clarity improve appearance with some more spacing after images
[ { "change_type": "MODIFY", "old_path": "doc/getting-started/getting-started.rst", "new_path": "doc/getting-started/getting-started.rst", "diff": "@@ -34,7 +34,8 @@ Before you begin, make sure your machines have the following prerequisites:\n* Hardware specifications\n- - A PC with Internet access\n+...
C
BSD 3-Clause New or Revised License
projectacrn/acrn-hypervisor
doc: GSG tweaks for DX - mention usefulness of a fast computer for improving build time - move Ubuntu boot USB drive earlier in the list of prereqs - move some sentences around for clarity - improve appearance with some more spacing after images Signed-off-by: David B. Kinder <david.b.kinder@intel.com>
528,721
20.08.2021 17:01:56
-28,800
b420b3b52f3d7c57aeaeafa4d826c93edc0dac04
config_tools: remove the log of sucessfully generating board XML remove the log "<board>.xml has been generated successfully!" in board_parser.py, because it only mean that the board xml file have been created sucessfully here, not the all data have been appended successfully and pretty formatted.
[ { "change_type": "MODIFY", "old_path": "misc/config_tools/board_inspector/legacy/board_parser.py", "new_path": "misc/config_tools/board_inspector/legacy/board_parser.py", "diff": "@@ -113,5 +113,3 @@ if __name__ == '__main__':\nwith open(BOARD_INFO, 'a+') as f:\nprint(\"</acrn-config>\", file=f)\n-\...
C
BSD 3-Clause New or Revised License
projectacrn/acrn-hypervisor
config_tools: remove the log of sucessfully generating board XML remove the log "<board>.xml has been generated successfully!" in board_parser.py, because it only mean that the board xml file have been created sucessfully here, not the all data have been appended successfully and pretty formatted. Tracked-On: #6315 S...
528,680
21.08.2021 12:28:17
25,200
a141bfdf55334dd042aeeb15eb98f510dbdf84cf
config-tools: refine log area start address allocation Allocates the log area start address using the same size as native environment.
[ { "change_type": "MODIFY", "old_path": "misc/config_tools/static_allocators/gpa.py", "new_path": "misc/config_tools/static_allocators/gpa.py", "diff": "@@ -357,13 +357,14 @@ def allocate_log_area(board_etree, scenario_etree, allocation_etree):\nif common.get_node(\"//capability[@id='log_area']\", bo...
C
BSD 3-Clause New or Revised License
projectacrn/acrn-hypervisor
config-tools: refine log area start address allocation Allocates the log area start address using the same size as native environment. Tracked-On: #6320 Signed-off-by: Yang,Yu-chu <yu-chu.yang@intel.com>
528,747
23.08.2021 09:09:31
25,200
ce847512743b3bd821978982f32bea4c53207e88
doc: additional DX edits to the new GSG
[ { "change_type": "MODIFY", "old_path": "doc/getting-started/getting-started.rst", "new_path": "doc/getting-started/getting-started.rst", "diff": "@@ -47,9 +47,10 @@ Before you begin, make sure your machines have the following prerequisites:\n* Hardware specifications\n- Target board (see :ref:`hardw...
C
BSD 3-Clause New or Revised License
projectacrn/acrn-hypervisor
doc: additional DX edits to the new GSG Signed-off-by: David B. Kinder <david.b.kinder@intel.com>
528,721
23.08.2021 17:49:04
-28,800
96aa38763b916af37ffb8b2650f2b2542227d941
doc: update UI tool instructions 1. Update the images to match with the latest UI. 2. Update the path of the saved XML file when clicking Export XML to save customized file.
[ { "change_type": "MODIFY", "old_path": "doc/tutorials/acrn_configuration_tool.rst", "new_path": "doc/tutorials/acrn_configuration_tool.rst", "diff": "@@ -507,8 +507,10 @@ Instructions\npop-up model.\n.. note::\n- All customized scenario XMLs will be in user-defined groups\n- located in ``misc/config...
C
BSD 3-Clause New or Revised License
projectacrn/acrn-hypervisor
doc: update UI tool instructions 1. Update the images to match with the latest UI. 2. Update the path of the saved XML file when clicking Export XML to save customized file. Signed-off-by: Kunhui-Li <kunhuix.li@intel.com> Signed-off-by: David B. Kinder <david.b.kinder@intel.com>
528,747
23.08.2021 13:21:01
25,200
530baaafc6a34a266a373fce73a1fc92d74b5610
doc: more GSG DX tweaks
[ { "change_type": "MODIFY", "old_path": "doc/getting-started/getting-started.rst", "new_path": "doc/getting-started/getting-started.rst", "diff": "@@ -417,8 +417,7 @@ To generate a scenario configuration file and launch script:\nExample:\n.. image:: ./images/gsg_config_board.png\n-\n- |br|\n+ :class:...
C
BSD 3-Clause New or Revised License
projectacrn/acrn-hypervisor
doc: more GSG DX tweaks Signed-off-by: David B. Kinder <david.b.kinder@intel.com>
528,747
23.08.2021 18:20:44
25,200
88940813796dbc5627c6b483db35525c83f036f9
doc: update GSG checkout commits Need to "freeze" the acrn-hypervisor for DX reviews since the release_2.6 branch is still changing with fixes.
[ { "change_type": "MODIFY", "old_path": "doc/getting-started/getting-started.rst", "new_path": "doc/getting-started/getting-started.rst", "diff": "@@ -155,14 +155,15 @@ To set up the ACRN build environment on the development computer:\nmake clean && make iasl\nsudo cp ./generate/unix/bin/iasl /usr/sb...
C
BSD 3-Clause New or Revised License
projectacrn/acrn-hypervisor
doc: update GSG checkout commits Need to "freeze" the acrn-hypervisor for DX reviews since the release_2.6 branch is still changing with fixes. Signed-off-by: David B. Kinder <david.b.kinder@intel.com>
528,779
24.08.2021 14:47:08
-10,800
da01f679b44d7188048f668337430317ccbc45ed
Add bc to build dependencies
[ { "change_type": "MODIFY", "old_path": "doc/getting-started/getting-started.rst", "new_path": "doc/getting-started/getting-started.rst", "diff": "@@ -134,7 +134,8 @@ To set up the ACRN build environment on the development computer:\nflex \\\nbison \\\nxsltproc \\\n- clang-format\n+ clang-format \\\n...
C
BSD 3-Clause New or Revised License
projectacrn/acrn-hypervisor
Add bc to build dependencies
528,802
23.08.2021 13:07:51
-28,800
8de39f7b61ce893a9d8da7b37fa75e1ee9039714
hv: GSI of hcall_set_irqline should be checked against target_vm GSI of hcall_set_irqline should be checked against target_vm's total GSI count instead of SOS's total GSI count. Acked-by: Eddie Dong
[ { "change_type": "MODIFY", "old_path": "hypervisor/common/hypercall.c", "new_path": "hypervisor/common/hypercall.c", "diff": "@@ -462,15 +462,15 @@ int32_t hcall_create_vcpu(__unused struct acrn_vcpu *vcpu, __unused struct acrn_\n* @pre is_sos_vm(vcpu->vm)\n* @return 0 on success, non-zero on error....
C
BSD 3-Clause New or Revised License
projectacrn/acrn-hypervisor
hv: GSI of hcall_set_irqline should be checked against target_vm GSI of hcall_set_irqline should be checked against target_vm's total GSI count instead of SOS's total GSI count. Tracked-On: #6357 Signed-off-by: Jian Jun Chen <jian.jun.chen@intel.com> Acked-by: Eddie Dong <eddie.dong@intel.com>
528,652
19.08.2021 11:06:06
25,200
0980420aeaad7c528721a89f71caf7dfc82760ab
hv: minor cleanup of hv_main.c remove vcpu->arch.nrexits which is useless. record full 32 bits of exit_reason to TRACE_2L(). Make the code simpler. Acked-by: Eddie Dong
[ { "change_type": "MODIFY", "old_path": "hypervisor/common/hv_main.c", "new_path": "hypervisor/common/hv_main.c", "diff": "void vcpu_thread(struct thread_object *obj)\n{\nstruct acrn_vcpu *vcpu = container_of(obj, struct acrn_vcpu, thread_obj);\n- uint32_t basic_exit_reason = 0U;\nint32_t ret = 0;\nd...
C
BSD 3-Clause New or Revised License
projectacrn/acrn-hypervisor
hv: minor cleanup of hv_main.c - remove vcpu->arch.nrexits which is useless. - record full 32 bits of exit_reason to TRACE_2L(). Make the code simpler. Tracked-On: #6289 Signed-off-by: Zide Chen <zide.chen@intel.com> Acked-by: Eddie Dong <eddie.dong@intel.com>
528,680
23.08.2021 11:13:43
25,200
2cc85f3d63c617fde39703007ace7ebfbcbf85bd
config-tools: Kernel load and entry address accept empty string Allow the kern_load_addr and kern_entry_addr take empty string.
[ { "change_type": "MODIFY", "old_path": "misc/config_tools/data/ehl-crb-b/fusa_partition.xml", "new_path": "misc/config_tools/data/ehl-crb-b/fusa_partition.xml", "diff": "<kern_mod>Zephyr_ElfImage</kern_mod>\n<ramdisk_mod/>\n<bootargs/>\n- <kern_load_addr>0x1000</kern_load_addr>\n- <kern_entry_addr>0...
C
BSD 3-Clause New or Revised License
projectacrn/acrn-hypervisor
config-tools: Kernel load and entry address accept empty string Allow the kern_load_addr and kern_entry_addr take empty string. Tracked-On: #6461 Signed-off-by: Yang,Yu-chu <yu-chu.yang@intel.com>
528,710
24.08.2021 16:24:52
-28,800
977da8f084a5ac8828af42356518121c483e7ad0
ACRN:DM: Add pointer check before use the erst The event ring segment table pointer may be NULL when get the address from guest, add pointer check before use it. Acked-by: Wang, Yu1
[ { "change_type": "MODIFY", "old_path": "devicemodel/hw/pci/xhci.c", "new_path": "devicemodel/hw/pci/xhci.c", "diff": "@@ -1817,6 +1817,11 @@ pci_xhci_insert_event(struct pci_xhci_vdev *xdev,\nint erdp_idx;\nrts = &xdev->rtsregs;\n+ if (&rts->erstba_p == NULL) {\n+ UPRINTF(LFTL, \"Invalid Event Ring ...
C
BSD 3-Clause New or Revised License
projectacrn/acrn-hypervisor
ACRN:DM: Add pointer check before use the erst The event ring segment table pointer may be NULL when get the address from guest, add pointer check before use it. Tracked-On: #6476 Signed-off-by: Liu Long <long.liu@intel.com> Acked-by: Wang, Yu1 <yu1.wang@intel.com>
528,764
25.08.2021 11:46:50
25,200
f46f712f31001bafdecba9f53a098ac19eb32bde
doc: remove hld-vsbl.rst Virtual Slim-Bootloader HLD Per Nanlin, we don't need this document. It is blank and never contained content.
[ { "change_type": "DELETE", "old_path": "doc/developer-guides/hld/hld-vsbl.rst", "new_path": null, "diff": "-.. _hld-vsbl:\n-\n-Virtual Slim-Bootloader High-Level Design\n-#########################################\n" }, { "change_type": "MODIFY", "old_path": "doc/developer-guides/hld/inde...
C
BSD 3-Clause New or Revised License
projectacrn/acrn-hypervisor
doc: remove hld-vsbl.rst Virtual Slim-Bootloader HLD Per Nanlin, we don't need this document. It is blank and never contained content. Signed-off-by: amyreye <amy.reyes@intel.com>
528,666
19.08.2021 16:06:18
-28,800
32d6ead8de7250415c12a2964d81990d02e87256
hv && config-tool: Rename GUEST_FLAG_TPM2_FIXUP This patch renames the GUEST_FLAG_TPM2_FIXUP to GUEST_FLAG_SECURITY_VM. v2 -> v3: The "FIXUP" suffix is removed.
[ { "change_type": "MODIFY", "old_path": "hypervisor/include/public/acrn_common.h", "new_path": "hypervisor/include/public/acrn_common.h", "diff": "#define GUEST_FLAG_HIDE_MTRR (1UL << 3U) /* Whether hide MTRR from VM */\n#define GUEST_FLAG_RT (1UL << 4U) /* Whether the vm is RT-VM */\n#define GUEST_F...
C
BSD 3-Clause New or Revised License
projectacrn/acrn-hypervisor
hv && config-tool: Rename GUEST_FLAG_TPM2_FIXUP This patch renames the GUEST_FLAG_TPM2_FIXUP to GUEST_FLAG_SECURITY_VM. v2 -> v3: The "FIXUP" suffix is removed. Tracked-On: #6320 Signed-off-by: Yifan Liu <yifan1.liu@intel.com>
528,666
20.08.2021 14:24:20
-28,800
975ff33e01983591d31b1084b1a552f708390913
hv: Move uuid_is_equal to util.h This patch moves uuid_is_equal from vm_config.c to util.h as inline API.
[ { "change_type": "MODIFY", "old_path": "hypervisor/arch/x86/configs/vm_config.c", "new_path": "hypervisor/arch/x86/configs/vm_config.c", "diff": "*/\n#include <asm/vm_config.h>\n+#include <util.h>\n/*\n* @pre vm_id < CONFIG_MAX_VM_NUM\n@@ -23,16 +24,6 @@ uint8_t get_vm_severity(uint16_t vm_id)\nretu...
C
BSD 3-Clause New or Revised License
projectacrn/acrn-hypervisor
hv: Move uuid_is_equal to util.h This patch moves uuid_is_equal from vm_config.c to util.h as inline API. Tracked-On: #6320 Signed-off-by: Yifan Liu <yifan1.liu@intel.com>
528,652
05.07.2021 11:39:17
25,200
cbf3825140c6ba7017ceb65be4e948c9fb12c820
hv: Pass-through IA32_TSC_AUX MSR to L1 guest Use an unused MSR on host to save ACRN pcpu ID and avoid saving and restoring TSC AUX MSR on VMX transitions.
[ { "change_type": "MODIFY", "old_path": "hypervisor/arch/x86/cpu.c", "new_path": "hypervisor/arch/x86/cpu.c", "diff": "@@ -490,7 +490,7 @@ void cpu_dead(void)\nstatic void set_current_pcpu_id(uint16_t pcpu_id)\n{\n/* Write TSC AUX register */\n- msr_write(MSR_IA32_TSC_AUX, (uint64_t) pcpu_id);\n+ msr...
C
BSD 3-Clause New or Revised License
projectacrn/acrn-hypervisor
hv: Pass-through IA32_TSC_AUX MSR to L1 guest Use an unused MSR on host to save ACRN pcpu ID and avoid saving and restoring TSC AUX MSR on VMX transitions. Tracked-On: #6289 Signed-off-by: Sainath Grandhi <sainath.grandhi@intel.com> Signed-off-by: Zide Chen <zide.chen@intel.com> Reviewed-by: Eddie Dong <eddie.dong@in...
528,710
26.08.2021 09:23:59
-28,800
a5ab8d567a72bcf1d67d92392ffc2aa40d8bc2a5
ACRN:DM: Fix the bug introduced by Fix the bug introduced by There had a typo that added the "&" by mistake. Acked-by: Wang, Yu1
[ { "change_type": "MODIFY", "old_path": "devicemodel/hw/pci/xhci.c", "new_path": "devicemodel/hw/pci/xhci.c", "diff": "@@ -1817,7 +1817,7 @@ pci_xhci_insert_event(struct pci_xhci_vdev *xdev,\nint erdp_idx;\nrts = &xdev->rtsregs;\n- if (&rts->erstba_p == NULL) {\n+ if (rts->erstba_p == NULL) {\nUPRINT...
C
BSD 3-Clause New or Revised License
projectacrn/acrn-hypervisor
ACRN:DM: Fix the bug introduced by 977da8f08. Fix the bug introduced by 977da8f08. There had a typo that added the "&" by mistake. Tracked-On: #6476 Signed-off-by: Liu Long <long.liu@intel.com> Acked-by: Wang, Yu1 <yu1.wang@intel.com>
528,721
26.08.2021 15:58:29
-28,800
7b19c8e87803f71f0e94587d0e63b95ff2250b46
config_tools: update the logic of getting gpu bdf The bdf of gpu is not 00:02.0 for the new platform icx-rvp, it is 05:00.0 now, so we remove the hardcode 00:02.0; And change to get the gpu bdf from board.xml.
[ { "change_type": "MODIFY", "old_path": "misc/config_tools/launch_config/com.py", "new_path": "misc/config_tools/launch_config/com.py", "diff": "@@ -224,15 +224,16 @@ def interrupt_storm(pt_sel, config):\ndef gvt_arg_set(dm, vmid, uos_type, config):\ngvt_args = dm['gvt_args'][vmid]\n- if gvt_args == ...
C
BSD 3-Clause New or Revised License
projectacrn/acrn-hypervisor
config_tools: update the logic of getting gpu bdf The bdf of gpu is not 00:02.0 for the new platform icx-rvp, it is 05:00.0 now, so we remove the hardcode 00:02.0; And change to get the gpu bdf from board.xml. Tracked-On: #6357 Signed-off-by: Kunhui-Li <kunhuix.li@intel.com>
528,652
05.07.2021 19:21:21
25,200
7cde4a8d4050f27938fdd65140379d4b5e4ff332
hv: initialize host IA32_PAT MSR Currently ACRN assumes firmware setup IA32_PAT correctly. This patch explicitly initializes host IA32_PAT MSR according to ISDM Table 11-12. Memory Type Setting of PAT Entries Following a Power-up or Reset. ACRN creates host page tables based on PAT0 (WB) and PAT3 (UC).
[ { "change_type": "MODIFY", "old_path": "hypervisor/arch/x86/mmu.c", "new_path": "hypervisor/arch/x86/mmu.c", "diff": "@@ -155,6 +155,9 @@ void enable_paging(void)\n{\nuint64_t tmp64 = 0UL;\n+ /* Initialize IA32_PAT according to ISDM 11.12.4 Programming the PAT */\n+ msr_write(MSR_IA32_PAT, PAT_POWER...
C
BSD 3-Clause New or Revised License
projectacrn/acrn-hypervisor
hv: initialize host IA32_PAT MSR Currently ACRN assumes firmware setup IA32_PAT correctly. This patch explicitly initializes host IA32_PAT MSR according to ISDM Table 11-12. Memory Type Setting of PAT Entries Following a Power-up or Reset. ACRN creates host page tables based on PAT0 (WB) and PAT3 (UC). Tracked-On: ...
528,721
01.09.2021 14:56:42
-28,800
9f85c14594a69ebcf4bf733b13d13ae05e9f3d7c
config_tools: update scenario xml file on ehl-crb-b platform for ehl-crb-b platform, update sos rootfs from "dev/sda3" to "/dev/nvme0n1p3" in hybrid.xml file.
[ { "change_type": "MODIFY", "old_path": "misc/config_tools/data/ehl-crb-b/hybrid.xml", "new_path": "misc/config_tools/data/ehl-crb-b/hybrid.xml", "diff": "<pci_dev/>\n</pci_devs>\n<board_private>\n- <rootfs>/dev/sda3</rootfs>\n+ <rootfs>/dev/nvme0n1p3</rootfs>\n<bootargs>\nrw rootwait console=tty0 co...
C
BSD 3-Clause New or Revised License
projectacrn/acrn-hypervisor
config_tools: update scenario xml file on ehl-crb-b platform for ehl-crb-b platform, update sos rootfs from "dev/sda3" to "/dev/nvme0n1p3" in hybrid.xml file. Tracked-On: #6530 Signed-off-by: Kunhui-Li <kunhuix.li@intel.com>
528,708
25.08.2021 03:52:01
-28,800
37237757c6d56fb875d1ca9b707cdfe61694cac1
Doc: ACRN on QEMU changed to CPU Named Model Qemu HOST-passthrough has hardware dependency CPU feature; which may block ACRN to boot up on QEMU;So change QEMU HOST-passthrough to CPU Named Model since v2.6.
[ { "change_type": "MODIFY", "old_path": "doc/tutorials/acrn_on_qemu.rst", "new_path": "doc/tutorials/acrn_on_qemu.rst", "diff": "@@ -11,8 +11,8 @@ with basic functionality such as running Service VM (SOS) and User VM (UOS) for\nThis setup was tested with the following configuration,\n-- ACRN Hypervis...
C
BSD 3-Clause New or Revised License
projectacrn/acrn-hypervisor
Doc: ACRN on QEMU changed to CPU Named Model Qemu HOST-passthrough has hardware dependency CPU feature; which may block ACRN to boot up on QEMU;So change QEMU HOST-passthrough to CPU Named Model since v2.6. Signed-off-by: fuzhongl <fuzhong.liu@eintel.com>
528,794
28.08.2021 00:06:13
-28,800
23af93c0e1196ae09719bba565e528cd81bce2e6
doc: update usage of zephyr as pre-launched VM kernel Now ACRN support booting pre-launched Zephyr VM kernel in ELF format instead of previous raw image format, so update usage in related doc.
[ { "change_type": "MODIFY", "old_path": "doc/tutorials/using_hybrid_mode_on_nuc.rst", "new_path": "doc/tutorials/using_hybrid_mode_on_nuc.rst", "diff": "@@ -46,11 +46,11 @@ Prepare the Zephyr kernel that you will run in VM0 later.\n- Follow step 1 from the :ref:`using_zephyr_as_uos` instructions\n- ....
C
BSD 3-Clause New or Revised License
projectacrn/acrn-hypervisor
doc: update usage of zephyr as pre-launched VM kernel Now ACRN support booting pre-launched Zephyr VM kernel in ELF format instead of previous raw image format, so update usage in related doc. Signed-off-by: Victor Sun <victor.sun@intel.com>
528,728
03.09.2021 15:09:14
-7,200
f45344b6bcfd780df879abbd1c526ceaf7095a74
doc: fix broken links to network scripts in HLD Fix broken links in the Virtio-Net HLD that point at the network scripts in the source code repository.
[ { "change_type": "MODIFY", "old_path": "doc/developer-guides/hld/virtio-net.rst", "new_path": "doc/developer-guides/hld/virtio-net.rst", "diff": "@@ -426,11 +426,10 @@ our case, we use systemd to automatically create the network by default.\nYou can check the files with prefix 50- in the Service VM\...
C
BSD 3-Clause New or Revised License
projectacrn/acrn-hypervisor
doc: fix broken links to network scripts in HLD Fix broken links in the Virtio-Net HLD that point at the network scripts in the source code repository. Tracked-On: #6542 Signed-off-by: Geoffroy Van Cutsem <geoffroy.vancutsem@intel.com>
528,747
08.09.2021 12:29:30
25,200
1f1ca8f253738f13ca08a31c36f2c8b450dc5c80
doc: tweak GSG DX issues Fix some issues found during DX studies of the new GSG that are trivial changes but are impacting users in the study.
[ { "change_type": "MODIFY", "old_path": "doc/getting-started/getting-started.rst", "new_path": "doc/getting-started/getting-started.rst", "diff": "@@ -116,6 +116,7 @@ To set up the ACRN build environment on the development computer:\nsudo apt install gcc \\\ngit \\\nmake \\\n+ vim \\\nlibssl-dev \\\n...
C
BSD 3-Clause New or Revised License
projectacrn/acrn-hypervisor
doc: tweak GSG DX issues Fix some issues found during DX studies of the new GSG that are trivial changes but are impacting users in the study. Signed-off-by: David B. Kinder <david.b.kinder@intel.com>
528,680
27.08.2021 17:58:01
25,200
2abda0237cd3c2c10f17da2c708a08074f2df02e
config-tools: refine misc_cfg.h.xsl and lib.xsl The whitespaces between delimiter saperated elemnts of a list causes acrn:get-common-clos-max and acrn:find-list-min returns unexpected numbers. Translate the whitespaces to nothing and rewrite acrn:find-list-min and acrn:get-common-clos-max.
[ { "change_type": "MODIFY", "old_path": "misc/config_tools/xforms/lib.xsl", "new_path": "misc/config_tools/xforms/lib.xsl", "diff": "xmlns:func=\"http://exslt.org/functions\"\nxmlns:str=\"http://exslt.org/strings\"\nxmlns:set=\"http://exslt.org/sets\"\n+ xmlns:exslt=\"http://exslt.org/common\"\nxmlns...
C
BSD 3-Clause New or Revised License
projectacrn/acrn-hypervisor
config-tools: refine misc_cfg.h.xsl and lib.xsl The whitespaces between delimiter saperated elemnts of a list causes acrn:get-common-clos-max and acrn:find-list-min returns unexpected numbers. Translate the whitespaces to nothing and rewrite acrn:find-list-min and acrn:get-common-clos-max. Tracked-On: #6515 Signed-o...
528,653
08.09.2021 11:26:57
0
d700154c9076593d17004ffa7c5539b54accf05d
dm: refine the reserved bar framework 1. refine the name of some functions and struct 2. add the support for PIO bar reservation Acked-by: Wang, Yu1
[ { "change_type": "MODIFY", "old_path": "devicemodel/hw/pci/core.c", "new_path": "devicemodel/hw/pci/core.c", "diff": "@@ -92,7 +92,7 @@ static uint64_t pci_emul_membase64;\nextern bool skip_pci_mem64bar_workaround;\n-struct mmio_rsvd_rgn reserved_bar_regions[REGION_NUMS];\n+struct io_rsvd_rgn reserv...
C
BSD 3-Clause New or Revised License
projectacrn/acrn-hypervisor
dm: refine the reserved bar framework 1. refine the name of some functions and struct 2. add the support for PIO bar reservation Tracked-On: #6508 Signed-off-by: Liu,Junming <junming.liu@intel.com> Acked-by: Wang, Yu1 <yu1.wang@intel.com>
528,680
08.09.2021 16:38:31
25,200
3a28938f25eb12f1504005212a9cd0942ae9f5c5
config-tools: add ROOTFS to misc_cfg.h.xsl Generate the ROOTFS_# macros to misc_cfg.h.xsl.
[ { "change_type": "MODIFY", "old_path": "misc/config_tools/xforms/misc_cfg.h.xsl", "new_path": "misc/config_tools/xforms/misc_cfg.h.xsl", "diff": "xmlns:xsl=\"http://www.w3.org/1999/XSL/Transform\"\nxmlns:dyn=\"http://exslt.org/dynamic\"\nxmlns:math=\"http://exslt.org/math\"\n+ xmlns:str=\"http://exs...
C
BSD 3-Clause New or Revised License
projectacrn/acrn-hypervisor
config-tools: add ROOTFS to misc_cfg.h.xsl Generate the ROOTFS_# macros to misc_cfg.h.xsl. Tracked-On: #6553 Signed-off-by: Yang,Yu-chu <yu-chu.yang@intel.com>
528,680
09.09.2021 14:18:27
25,200
955103f7eabbc4f750d2dfc70d4a00d56d1598bc
config-tools: remove the misc_cfg.h.py Remove the deprecated misc_cfg.h.py
[ { "change_type": "MODIFY", "old_path": "misc/config_tools/board_config/board_cfg_gen.py", "new_path": "misc/config_tools/board_config/board_cfg_gen.py", "diff": "@@ -12,7 +12,6 @@ import board_c\nimport board_info_h\nimport pci_devices_h\nimport acpi_platform_h\n-import misc_cfg_h\nimport common\nim...
C
BSD 3-Clause New or Revised License
projectacrn/acrn-hypervisor
config-tools: remove the misc_cfg.h.py Remove the deprecated misc_cfg.h.py Tracked-On: #6553 Signed-off-by: Yang,Yu-chu <yu-chu.yang@intel.com>
528,728
05.08.2021 16:23:49
-7,200
01bf5110c5093ff14e38d141b6ae798a4a020db1
Makefile: add missing deps in top-level and hypervisor Makefile Add a couple of missing dependencies in the ACRN Makefiles: 1. 'acrn.bin' is required before the hypervisor can be installed 2. The 'acrn_mngr.h' needs to be installed ('tools-install') in the build folder.
[ { "change_type": "MODIFY", "old_path": "Makefile", "new_path": "Makefile", "diff": "@@ -142,7 +142,7 @@ clean:\n.PHONY: install life_mngr-install\ninstall: hypervisor-install devicemodel-install tools-install\n-hypervisor-install:\n+hypervisor-install: hypervisor\n$(MAKE) $(HV_MAKEOPTS) install\nhyp...
C
BSD 3-Clause New or Revised License
projectacrn/acrn-hypervisor
Makefile: add missing deps in top-level and hypervisor Makefile Add a couple of missing dependencies in the ACRN Makefiles: 1. 'acrn.bin' is required before the hypervisor can be installed 2. The 'acrn_mngr.h' needs to be installed ('tools-install') in the build folder. Tracked-On: #6360 Signed-off-by: Geoffroy Van C...
528,680
26.08.2021 10:47:30
25,200
366ea37552407276e207fc7af0ff8190739f24e6
config-tools: assign a fixed address to log area start address Reserve the log area in [VIRT_ACPI_NVS_ADDR + 0xB0000, 0x7FFF0000)
[ { "change_type": "MODIFY", "old_path": "misc/config_tools/static_allocators/gpa.py", "new_path": "misc/config_tools/static_allocators/gpa.py", "diff": "@@ -59,8 +59,12 @@ PCI_VUART_VBAR1_SIZE = 4 * SIZE_K\n# Constants for vmsix bar\nVMSIX_VBAR_SIZE = 4 * SIZE_K\n-# Constants for tpm2 log area minimu...
C
BSD 3-Clause New or Revised License
projectacrn/acrn-hypervisor
config-tools: assign a fixed address to log area start address Reserve the log area in [VIRT_ACPI_NVS_ADDR + 0xB0000, 0x7FFF0000) Tracked-On: #6320 Signed-off-by: Yang,Yu-chu <yu-chu.yang@intel.com>
528,747
14.09.2021 09:03:40
25,200
a35f4b9e0574023a27facbbee918e2cf89e69648
doc: starting draft for v2.6 release notes
[ { "change_type": "ADD", "old_path": null, "new_path": "doc/release_notes/release_notes_2.6.rst", "diff": "+.. _release_notes_2.6:\n+\n+ACRN v2.6 (Sep 2021) - Draft\n+############################\n+\n+We are pleased to announce the release of the Project ACRN hypervisor\n+version 2.6.\n+\n+ACRN is a ...
C
BSD 3-Clause New or Revised License
projectacrn/acrn-hypervisor
doc: starting draft for v2.6 release notes Signed-off-by: David B. Kinder <david.b.kinder@intel.com>
528,747
14.09.2021 15:09:49
25,200
bdf2ba29d66ced35af264a7bc3f551ddbde57b54
doc: update enable PTM instructions Fix an error in the documentation where the output from dmesg was incorrect for the Service VM.
[ { "change_type": "MODIFY", "old_path": "doc/tutorials/enable_ptm.rst", "new_path": "doc/tutorials/enable_ptm.rst", "diff": ".. _enable-ptm:\n-Enable PCIe Precision Time Management\n-#####################################\n+Enable PCIe Precision Time Management in a User VM\n+#########################...
C
BSD 3-Clause New or Revised License
projectacrn/acrn-hypervisor
doc: update enable PTM instructions Fix an error in the documentation where the output from dmesg was incorrect for the Service VM. Signed-off-by: David B. Kinder <david.b.kinder@intel.com>
528,721
14.09.2021 19:07:09
-28,800
e68d66341e6811b7f8f10e955bebb4b0ebd55d66
config_tools: adjust the execution order of pci_stub command The execution order of the "modprobe pci_stub" command is erroneous in the launch script generation logic. The "modprobe pci_stub" command should be executed before unbinding passthru devices, so we adjust the command excution order.
[ { "change_type": "MODIFY", "old_path": "misc/config_tools/launch_config/pt.py", "new_path": "misc/config_tools/launch_config/pt.py", "diff": "@@ -206,6 +206,7 @@ def gen_pt(names, dm, sel, vmid, config):\ncap_pt = launch_cfg_lib.get_pt_dev()\nuos_type = names['uos_types'][vmid]\n+ print(\"modprobe p...
C
BSD 3-Clause New or Revised License
projectacrn/acrn-hypervisor
config_tools: adjust the execution order of pci_stub command The execution order of the "modprobe pci_stub" command is erroneous in the launch script generation logic. The "modprobe pci_stub" command should be executed before unbinding passthru devices, so we adjust the command excution order. Tracked-On: #6565 Signe...
528,654
15.09.2021 16:17:58
-28,800
730a275ecc6b39e7b4a4a60af04970506492ecef
misc: acrn_trace: enlarge DEV_PATH_LEN Now ACRN support platform which CPU numbers are large than 10. So the old value for DEV_PATH_LEN is not enough (18 is not enough for /dev/acrn_trace_xx).
[ { "change_type": "MODIFY", "old_path": "misc/debug_tools/acrn_trace/acrntrace.h", "new_path": "misc/debug_tools/acrn_trace/acrntrace.h", "diff": "#define TRACE_FILE_NAME_LEN 32\n#define TRACE_FILE_DIR_LEN (TRACE_FILE_NAME_LEN - 3)\n#define TRACE_FILE_ROOT \"acrntrace/\"\n-#define DEV_PATH_LEN 18\n+#...
C
BSD 3-Clause New or Revised License
projectacrn/acrn-hypervisor
misc: acrn_trace: enlarge DEV_PATH_LEN Now ACRN support platform which CPU numbers are large than 10. So the old value for DEV_PATH_LEN is not enough (18 is not enough for /dev/acrn_trace_xx). Tracked-On: #6572 Signed-off-by: Fei Li <fei1.li@intel.com>
528,652
13.09.2021 11:31:02
25,200
e4c69546a0dc9788feda56403bc3e5abe7cd3535
doc: add VPID allocation to nested virtualization tutorial
[ { "change_type": "MODIFY", "old_path": "doc/tutorials/nvmx_virtualization.rst", "new_path": "doc/tutorials/nvmx_virtualization.rst", "diff": "@@ -91,6 +91,20 @@ Constraints on L1 guest configuration:\n* Only the ``SCHED_NOOP`` scheduler is supported. ACRN can't receive timer interrupts\non LAPIC pas...
C
BSD 3-Clause New or Revised License
projectacrn/acrn-hypervisor
doc: add VPID allocation to nested virtualization tutorial Tracked-On: #6289 Signed-off-by: Zide Chen <zide.chen@intel.com>
528,652
05.09.2021 23:20:22
25,200
0466d7055fd004e54dcb6d2f3c562269f0edef84
hv: nested: move the VMCS12 dirty flags to struct acrn_vvmcs These dirty flags are supposed to be per VMCS12, so move them from the per vCPU acrn_nested struct to the newly added acrn_vvmcs struct. Acked-by: Eddie Dong
[ { "change_type": "MODIFY", "old_path": "hypervisor/arch/x86/guest/nested.c", "new_path": "hypervisor/arch/x86/guest/nested.c", "diff": "@@ -734,8 +734,8 @@ int32_t vmxon_vmexit_handler(struct acrn_vcpu *vcpu)\nnested_vmx_result(VMfailInvalid, 0);\n} else {\nvcpu->arch.nested.vmxon = true;\n- vcpu->a...
C
BSD 3-Clause New or Revised License
projectacrn/acrn-hypervisor
hv: nested: move the VMCS12 dirty flags to struct acrn_vvmcs These dirty flags are supposed to be per VMCS12, so move them from the per vCPU acrn_nested struct to the newly added acrn_vvmcs struct. Tracked-On: #6289 Signed-off-by: Zide Chen <zide.chen@intel.com> Acked-by: Eddie Dong <eddie.dong@intel.com>
528,710
16.09.2021 15:30:31
-28,800
2de395b6f653f302a2933921752d9bd8966da734
HV: Normalize hypervisor help output format Normalize hypervisor help command output format, remove the 10 lines limit for one screen, fix the misspelled words.
[ { "change_type": "MODIFY", "old_path": "hypervisor/debug/shell.c", "new_path": "hypervisor/debug/shell.c", "diff": "@@ -495,21 +495,20 @@ void shell_init(void)\nSHELL_CMD_MAX_LEN + 1U);\n}\n-#define SHELL_ROWS 10\n-#define MAX_INDENT_LEN 16U\n+#define SHELL_ROWS 30\n+#define MAX_OUTPUT_LEN 80\nstati...
C
BSD 3-Clause New or Revised License
projectacrn/acrn-hypervisor
HV: Normalize hypervisor help output format Normalize hypervisor help command output format, remove the 10 lines limit for one screen, fix the misspelled words. Tracked-On: #5112 Signed-off-by: Liu Long <long.liu@intel.com> Reviewed-by: VanCutsem, Geoffroy <geoffroy.vancutsem@intel.com>
528,799
14.09.2021 15:03:03
25,200
f4cdbba0bdef4b7f83cc2f1018e7d1ae7cae4852
hv: some cosmetic fixes to rdt.c/rdt.h Rename the clos_max field in struct rdt_info to num_closids Rename variable valid_clos_num to common_num_closids and make it static
[ { "change_type": "MODIFY", "old_path": "hypervisor/arch/x86/rdt.c", "new_path": "hypervisor/arch/x86/rdt.c", "diff": "#include <asm/msr.h>\nconst uint16_t hv_clos = 0U;\n-/* RDT features can support different numbers of CLOS. Set the lowers numerical\n- * clos value (valid_clos_num) that is common b...
C
BSD 3-Clause New or Revised License
projectacrn/acrn-hypervisor
hv: some cosmetic fixes to rdt.c/rdt.h Rename the clos_max field in struct rdt_info to num_closids Rename variable valid_clos_num to common_num_closids and make it static Tracked-On: #5917 Signed-off-by: dongshen <dongsheng.x.zhang@intel.com>