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,723 | 20.09.2019 14:29:41 | 25,200 | 4a007cc3a996fcaa33d5db35efa52e987e9a3dea | acrn-config: Generate target xml file with multiple RDT resources
This patch adds support for storing multiple RDT resource
and its max supported clos value in the target xml file under
clos subsection.
Acked-by: Victor Sun | [
{
"change_type": "MODIFY",
"old_path": "misc/acrn-config/target/clos.py",
"new_path": "misc/acrn-config/target/clos.py",
"diff": "import parser_lib\n-CACHE_TYPE = {\n+RDT_TYPE = {\n\"L2\":4,\n\"L3\":2\n}\n@@ -16,12 +16,11 @@ def dump_cpuid_reg(cmd, reg):\n:param cmd: command what can be executed in ... | C | BSD 3-Clause New or Revised License | projectacrn/acrn-hypervisor | acrn-config: Generate target xml file with multiple RDT resources
This patch adds support for storing multiple RDT resource
and its max supported clos value in the target xml file under
clos subsection.
Tracked-On: #3715
Signed-off-by: Vijay Dhanraj <vijay.dhanraj@intel.com>
Acked-by: Victor Sun <victor.sun@intel.com... |
528,723 | 25.02.2020 14:11:13 | 28,800 | 89a635438d0ddf6661eb2d6d83971b7f173c053c | acrn-config: Extract RDT resource and CLOS from target
xml file
This patch adds support for parsing RDT resources and
its max clos, max supported mask values from the target xml file.
Acked-by: Victor Sun | [
{
"change_type": "MODIFY",
"old_path": "misc/acrn-config/library/board_cfg_lib.py",
"new_path": "misc/acrn-config/library/board_cfg_lib.py",
"diff": "@@ -220,7 +220,7 @@ def get_rootfs(config_file):\ndef clos_info_parser(board_info):\n\"\"\" Parse CLOS information \"\"\"\n- return common.get_max_clo... | C | BSD 3-Clause New or Revised License | projectacrn/acrn-hypervisor | acrn-config: Extract RDT resource and CLOS from target
xml file
This patch adds support for parsing RDT resources and
its max clos, max supported mask values from the target xml file.
Tracked-On: #3715
Signed-off-by: Vijay Dhanraj <vijay.dhanraj@intel.com>
Acked-by: Victor Sun <victor.sun@intel.com> |
528,723 | 25.02.2020 15:24:19 | 28,800 | 6cfd81cdf144a785fdedc079e6a1e83845dd4a8c | acrn-config: Generate board.c file with multiple RDT resources
This patch adds support for as generating board.c file
with multiple RDT resources.
Acked-by: Victor Sun | [
{
"change_type": "MODIFY",
"old_path": "misc/acrn-config/board_config/board_c.py",
"new_path": "misc/acrn-config/board_config/board_c.py",
"diff": "#\nimport sys\n+import enum\n+import subprocess\nimport board_cfg_lib\n+class RDT(enum.Enum):\n+ L2 = 0\n+ L3 = 1\nINCLUDE_HEADER = \"\"\"\n#include <bo... | C | BSD 3-Clause New or Revised License | projectacrn/acrn-hypervisor | acrn-config: Generate board.c file with multiple RDT resources
This patch adds support for as generating board.c file
with multiple RDT resources.
Tracked-On: #3715
Signed-off-by: Vijay Dhanraj <vijay.dhanraj@intel.com>
Acked-by: Victor Sun <victor.sun@intel.com> |
528,723 | 25.02.2020 17:34:06 | 28,800 | a81fcc23083e80e066c1062f04a4ee235944cac1 | acrn-config: Set/Unset RDT support in the <$BOARD$>.config file
This patch checks if RDT feature is supported by platform and
updates the CONFIG_RDT_ENABLED flag in the <$BOARD$>.config
file accordingly.
Acked-by: Victor Sun | [
{
"change_type": "MODIFY",
"old_path": "misc/acrn-config/board_config/new_board_kconfig.py",
"new_path": "misc/acrn-config/board_config/new_board_kconfig.py",
"diff": "#\nimport sys\n+import subprocess\nimport board_cfg_lib\n@@ -104,6 +105,17 @@ def get_serial_type():\nreturn (ttys_type, ttys_value)... | C | BSD 3-Clause New or Revised License | projectacrn/acrn-hypervisor | acrn-config: Set/Unset RDT support in the <$BOARD$>.config file
This patch checks if RDT feature is supported by platform and
updates the CONFIG_RDT_ENABLED flag in the <$BOARD$>.config
file accordingly.
Tracked-On: #3715
Signed-off-by: Vijay Dhanraj <vijay.dhanraj@intel.com>
Acked-by: Victor Sun <victor.sun@intel.co... |
528,723 | 25.02.2020 19:12:35 | 28,800 | 984c0753c69163b58c593752a3c6219efb7b43b3 | xmls: Update existing <$BOARD$>.xml files for RDT support
This patch updates existing <$BOARD$>.xml for RDT support.
If the platform supports RDT, the resource and MAX CLOS
value is generated, else the CLOS_INFO is set to empty.
Acked-by: Victor Sun | [
{
"change_type": "MODIFY",
"old_path": "misc/acrn-config/xmls/board-xmls/apl-mrb.xml",
"new_path": "misc/acrn-config/xmls/board-xmls/apl-mrb.xml",
"diff": "</MMCFG_BASE_INFO>\n<CLOS_INFO>\n- clos supported by cache:L2\n- clos max:4\n+ rdt resources supported: L2\n+ rdt resource clos max: 4\n+ rdt re... | C | BSD 3-Clause New or Revised License | projectacrn/acrn-hypervisor | xmls: Update existing <$BOARD$>.xml files for RDT support
This patch updates existing <$BOARD$>.xml for RDT support.
If the platform supports RDT, the resource and MAX CLOS
value is generated, else the CLOS_INFO is set to empty.
Tracked-On: #3715
Signed-off-by: Vijay Dhanraj <vijay.dhanraj@intel.com>
Acked-by: Victor... |
528,723 | 14.02.2020 16:40:16 | 28,800 | cee8dc22f1ac474458d25d43a3043dcbee415b8d | acrn-config: Remove "GUEST_FLAG_CLOS_REQUIRED" from offline tool
This patches removes the unused CLOS_required flag from the
offline guest configuration tool.
Acked-by: Victor Sun | [
{
"change_type": "MODIFY",
"old_path": "misc/acrn-config/library/common.py",
"new_path": "misc/acrn-config/library/common.py",
"diff": "@@ -17,8 +17,7 @@ HV_LICENSE_FILE = SOURCE_PATH + 'misc/acrn-config/library/hypervisor_license'\nPY_CACHES = [\"__pycache__\", \"../board_config/__pycache__\", \"..... | C | BSD 3-Clause New or Revised License | projectacrn/acrn-hypervisor | acrn-config: Remove "GUEST_FLAG_CLOS_REQUIRED" from offline tool
This patches removes the unused CLOS_required flag from the
offline guest configuration tool.
Tracked-On: #3715
Signed-off-by: Vijay Dhanraj <vijay.dhanraj@intel.com>
Acked-by: Victor Sun <victor.sun@intel.com> |
528,756 | 25.02.2020 14:04:25 | -28,800 | 298ef2f5c4a0652f9ad8a42b77c2d4e542f8a0d6 | hv: refine init_vdev_pt function
To support SRIOV capability initialization, add a new parameter
is_sriov_pf_vdev for init_vdev_pt function.
If parameter is_sriov_pf_vdev of function init_vdev_pt is true,
then function init_vdev_pt initializes the vdev's SRIOV capability.
Acked-by: Eddie Dong | [
{
"change_type": "MODIFY",
"old_path": "hypervisor/dm/vpci/pci_pt.c",
"new_path": "hypervisor/dm/vpci/pci_pt.c",
"diff": "@@ -220,12 +220,11 @@ void vdev_pt_write_vbar(struct pci_vdev *vdev, uint32_t idx, uint32_t val)\n* @pre vdev->vpci->vm != NULL\n* @pre vdev->pdev != NULL\n*/\n-void init_vdev_pt... | C | BSD 3-Clause New or Revised License | projectacrn/acrn-hypervisor | hv: refine init_vdev_pt function
To support SRIOV capability initialization, add a new parameter
is_sriov_pf_vdev for init_vdev_pt function.
If parameter is_sriov_pf_vdev of function init_vdev_pt is true,
then function init_vdev_pt initializes the vdev's SRIOV capability.
Tracked-On: #4433
Signed-off-by: Yuan Liu <... |
528,756 | 27.02.2020 19:06:31 | -28,800 | 87e7d79112f7c33f8d588124edd6bd193b388e16 | hv: refine init_pdev function
Due to SRIOV VF physical device needs to be initialized when
VF_ENABLE is set and a SRIOV VF physical device initialization
is same with standard PCIe physical device, so expose the
init_pdev for SRIOV VF physical device initialization.
Acked-by: Eddie Dong | [
{
"change_type": "MODIFY",
"old_path": "hypervisor/hw/pci.c",
"new_path": "hypervisor/hw/pci.c",
"diff": "@@ -49,8 +49,6 @@ static uint32_t num_pci_pdev;\nstatic struct pci_pdev pci_pdev_array[CONFIG_MAX_PCI_DEV_NUM];\nstatic uint64_t pci_mmcfg_base = DEFAULT_PCI_MMCFG_BASE;\n-static void init_pdev(... | C | BSD 3-Clause New or Revised License | projectacrn/acrn-hypervisor | hv: refine init_pdev function
Due to SRIOV VF physical device needs to be initialized when
VF_ENABLE is set and a SRIOV VF physical device initialization
is same with standard PCIe physical device, so expose the
init_pdev for SRIOV VF physical device initialization.
Tracked-On: #4433
Signed-off-by: Yuan Liu <yuan1.l... |
528,756 | 28.02.2020 23:02:12 | -28,800 | 320ed6c2389139334312f18449bee8f5295ad220 | hv: refine init_one_dev_config
The init_one_dev_config is used to initialize a acrn_vm_pci_dev_config
SRIOV needs a explicit acrn_vm_pci_dev_config to create a VF vdev,so
refine it to return acrn_vm_pci_dev_config.
Acked-by: Eddie Dong | [
{
"change_type": "MODIFY",
"old_path": "hypervisor/arch/x86/configs/pci_dev.c",
"new_path": "hypervisor/arch/x86/configs/pci_dev.c",
"diff": "@@ -54,13 +54,21 @@ static bool is_allocated_to_prelaunched_vm(struct pci_pdev *pdev)\n/*\n- * @pre: pdev != NULL\n+ * @brief Initialize a acrn_vm_pci_dev_con... | C | BSD 3-Clause New or Revised License | projectacrn/acrn-hypervisor | hv: refine init_one_dev_config
The init_one_dev_config is used to initialize a acrn_vm_pci_dev_config
SRIOV needs a explicit acrn_vm_pci_dev_config to create a VF vdev,so
refine it to return acrn_vm_pci_dev_config.
Tracked-On: #4433
Signed-off-by: Yuan Liu <yuan1.liu@intel.com>
Acked-by: Eddie Dong <eddie.dong@intel... |
528,756 | 29.02.2020 10:53:40 | -28,800 | 176cb31c3141cc6f5536243bb6aa74dab969335d | hv: refine vpci_init_vdev function
Add a new parameter pf_vdev for function vpci_init_vdev to support SRIOV
VF vdev initializaiton.
Acked-by: Eddie Dong | [
{
"change_type": "MODIFY",
"old_path": "hypervisor/dm/vpci/vpci.c",
"new_path": "hypervisor/dm/vpci/vpci.c",
"diff": "@@ -483,10 +483,24 @@ static int32_t write_cfg(struct acrn_vpci *vpci, union pci_bdf bdf,\n}\n/**\n+ * @brief Initialize a vdev structure.\n+ *\n+ * The function vpci_init_vdev is us... | C | BSD 3-Clause New or Revised License | projectacrn/acrn-hypervisor | hv: refine vpci_init_vdev function
Add a new parameter pf_vdev for function vpci_init_vdev to support SRIOV
VF vdev initializaiton.
Tracked-On: #4433
Signed-off-by: Yuan Liu <yuan1.liu@intel.com>
Acked-by: Eddie Dong <eddie.dong@intel.com> |
528,756 | 02.03.2020 13:57:59 | -28,800 | d54deca87a3b1f79deced7ae7404b34d5f90c64b | hv: initialize SRIOV VF device
create new pdev and vdev structures for a SRIOV VF device initialization
Acked-by: Eddie Dong | [
{
"change_type": "MODIFY",
"old_path": "hypervisor/dm/vpci/pci_pt.c",
"new_path": "hypervisor/dm/vpci/pci_pt.c",
"diff": "@@ -351,6 +351,9 @@ void init_vdev_pt(struct pci_vdev *vdev, bool is_pf_vdev)\n{\nuint16_t pci_command;\n+ if (vdev->phyfun != NULL) {\n+ init_sriov_vf_vdev(vdev);\n+ } else {\ni... | C | BSD 3-Clause New or Revised License | projectacrn/acrn-hypervisor | hv: initialize SRIOV VF device
create new pdev and vdev structures for a SRIOV VF device initialization
Tracked-On: #4433
Signed-off-by: Yuan Liu <yuan1.liu@intel.com>
Acked-by: Eddie Dong <eddie.dong@intel.com> |
528,709 | 03.03.2020 10:55:50 | -28,800 | d54d35efe525e812adeeb20466b763c4b83c2849 | acrn-config: correct console argument for logical partition scenario
Currently config tool generated 'console=/dev/ttySn' in boot cmdline
for logical_partiton scenario, need to strip '/dev/' to avoid kernel
boot issue.
Acked-by: Victor Sun | [
{
"change_type": "MODIFY",
"old_path": "misc/acrn-config/scenario_config/vm_configurations_h.py",
"new_path": "misc/acrn-config/scenario_config/vm_configurations_h.py",
"diff": "@@ -183,7 +183,7 @@ def gen_logical_partition_header(vm_info, config):\nprint('#define VM{0}_CONFIG_OS_BOOTARG_MAXCPUS\\t\... | C | BSD 3-Clause New or Revised License | projectacrn/acrn-hypervisor | acrn-config: correct console argument for logical partition scenario
Currently config tool generated 'console=/dev/ttySn' in boot cmdline
for logical_partiton scenario, need to strip '/dev/' to avoid kernel
boot issue.
Tracked-On: #4451
Signed-off-by: Wei Liu <weix.w.liu@intel.com>
Acked-by: Victor Sun <victor.sun@in... |
528,723 | 28.02.2020 13:48:33 | 28,800 | 92ee33b0357531a0b96c86bb19b4448e6f60da5c | HV: Add MBA support in ACRN
This patch adds RDT MBA support to detect, configure and
and setup MBA throttle registers based on VM configuration.
Acked-by: Eddie Dong | [
{
"change_type": "MODIFY",
"old_path": "hypervisor/arch/x86/rdt.c",
"new_path": "hypervisor/arch/x86/rdt.c",
"diff": "static struct rdt_info res_cap_info[RDT_NUM_RESOURCES] = {\n[RDT_RESOURCE_L3] = {\n+ .cache = {\n.bitmask = 0U,\n.cbm_len = 0U,\n+ },\n.clos_max = 0U,\n.res_id = RDT_RESID_L3,\n.msr_... | C | BSD 3-Clause New or Revised License | projectacrn/acrn-hypervisor | HV: Add MBA support in ACRN
This patch adds RDT MBA support to detect, configure and
and setup MBA throttle registers based on VM configuration.
Tracked-On: #3725
Signed-off-by: Vijay Dhanraj <vijay.dhanraj@intel.com>
Acked-by: Eddie Dong <eddie.dong@intel.com> |
528,723 | 28.02.2020 16:54:54 | 28,800 | b6c0558b60513235a206a3b7aebeca95366572d6 | HV: Update existing board.c files for RDT MBA
This patch updates board.c files for RDT MBA on existing
platforms. Also, fixes setting RDT flag in WHL config file.
Acked-by: Eddie Dong | [
{
"change_type": "MODIFY",
"old_path": "hypervisor/arch/x86/configs/apl-mrb/board.c",
"new_path": "hypervisor/arch/x86/configs/apl-mrb/board.c",
"diff": "@@ -18,6 +18,7 @@ struct dmar_info plat_dmar_info;\n#ifdef CONFIG_RDT_ENABLED\nstruct platform_clos_info platform_l2_clos_array[MAX_PLATFORM_CLOS_... | C | BSD 3-Clause New or Revised License | projectacrn/acrn-hypervisor | HV: Update existing board.c files for RDT MBA
This patch updates board.c files for RDT MBA on existing
platforms. Also, fixes setting RDT flag in WHL config file.
Tracked-On: #3725
Signed-off-by: Vijay Dhanraj <vijay.dhanraj@intel.com>
Acked-by: Eddie Dong <eddie.dong@intel.com> |
528,731 | 18.10.2019 16:20:44 | -28,800 | b05c1afa0bce0a914d04d1e2ef9d9b46f8e35442 | doc: add doxygen style comments to ptdev
Add doxygen style comments to ptdev public APIs.
Add these API descriptions to group acrn_passthrough. | [
{
"change_type": "MODIFY",
"old_path": "hypervisor/include/common/ptdev.h",
"new_path": "hypervisor/include/common/ptdev.h",
"diff": "@@ -139,16 +139,126 @@ static inline bool is_entry_active(const struct ptirq_remapping_info *entry)\nextern struct ptirq_remapping_info ptirq_entries[CONFIG_MAX_PT_IR... | C | BSD 3-Clause New or Revised License | projectacrn/acrn-hypervisor | doc: add doxygen style comments to ptdev
Add doxygen style comments to ptdev public APIs.
Add these API descriptions to group acrn_passthrough.
Tracked-On: #3882
Signed-off-by: Binbin Wu <binbin.wu@intel.com> |
528,731 | 18.10.2019 16:21:23 | -28,800 | 76f2e28e1324ff9ad3821e59546cd944cffb296b | doc: update hv device passthrough document
Fixed misspellings and rst formatting issues.
Added ptdev.h to the list of include file for doxygen | [
{
"change_type": "MODIFY",
"old_path": "doc/acrn.doxyfile",
"new_path": "doc/acrn.doxyfile",
"diff": "@@ -808,6 +808,7 @@ INPUT = custom-doxygen/mainpage.md \\\n../hypervisor/include/arch/x86/guest/vmx_io.h \\\n../hypervisor/include/arch/x86/guest/assign.h \\\n../hypervisor/include/common/hypercall.... | C | BSD 3-Clause New or Revised License | projectacrn/acrn-hypervisor | doc: update hv device passthrough document
Fixed misspellings and rst formatting issues.
Added ptdev.h to the list of include file for doxygen
Tracked-On: #3882
Signed-off-by: Binbin Wu <binbin.wu@intel.com>
Signed-off-by: David B. Kinder <david.b.kinder@intel.com> |
528,756 | 04.03.2020 13:47:55 | -28,800 | 734ad6ce308f14ea289c78aff68cc86425edb21c | hv: refine pci_read_cap and pci_read_ext_cap
The pci_read_cap and pci_read_ext_cap are used to enumerate PCI
legacy capability and extended capability.
Change the name pci_read_cap to pci_enumerate_cap
Change the name pci_read_ext_cap to pci_enumerate_ext_cap
Acked-by: Eddie Dong | [
{
"change_type": "MODIFY",
"old_path": "hypervisor/hw/pci.c",
"new_path": "hypervisor/hw/pci.c",
"diff": "@@ -521,7 +521,7 @@ static inline uint32_t pci_pdev_get_nr_bars(uint8_t hdr_type)\n/**\n* @pre pdev != NULL\n*/\n-static void pci_read_ext_cap(struct pci_pdev *pdev) {\n+static void pci_enumerat... | C | BSD 3-Clause New or Revised License | projectacrn/acrn-hypervisor | hv: refine pci_read_cap and pci_read_ext_cap
The pci_read_cap and pci_read_ext_cap are used to enumerate PCI
legacy capability and extended capability.
Change the name pci_read_cap to pci_enumerate_cap
Change the name pci_read_ext_cap to pci_enumerate_ext_cap
Tracked-On: #4433
Signed-off-by: Yuan Liu <yuan1.liu@int... |
528,731 | 05.03.2020 09:36:16 | -28,800 | 667639b591a117c29c05823eff50ceccaf178586 | doc: fix a missing argument in the function description
One argument is missing for the function ptirq_alloc_entry.
This patch fixes the doc generation error. | [
{
"change_type": "MODIFY",
"old_path": "doc/developer-guides/hld/hv-dev-passthrough.rst",
"new_path": "doc/developer-guides/hld/hv-dev-passthrough.rst",
"diff": "@@ -141,7 +141,7 @@ interrupt to virtual interrupt or vice versa. The term VT-d interrupt-remapping\nremaps the interrupt index in the VT-... | C | BSD 3-Clause New or Revised License | projectacrn/acrn-hypervisor | doc: fix a missing argument in the function description
One argument is missing for the function ptirq_alloc_entry.
This patch fixes the doc generation error.
Tracked-On: #3882
Signed-off-by: Binbin Wu <binbin.wu@intel.com> |
528,756 | 04.03.2020 15:28:40 | -28,800 | e1ca1ae2e9882de4876d15bf5670826ba962ac16 | hv: refine functions name
Make the name of the functions more accurate
Acked-by: Eddie Dong | [
{
"change_type": "MODIFY",
"old_path": "hypervisor/dm/vpci/vhostbridge.c",
"new_path": "hypervisor/dm/vpci/vhostbridge.c",
"diff": "@@ -99,7 +99,7 @@ static void deinit_vhostbridge(__unused struct pci_vdev *vdev)\n* @pre vdev->vpci != NULL\n* @pre vdev->vpci->vm != NULL\n*/\n-static int32_t vhostbri... | C | BSD 3-Clause New or Revised License | projectacrn/acrn-hypervisor | hv: refine functions name
Make the name of the functions more accurate
Tracked-On: #4433
Signed-off-by: Yuan Liu <yuan1.liu@intel.com>
Acked-by: Eddie Dong <eddie.dong@intel.com> |
528,756 | 04.03.2020 16:17:19 | -28,800 | f0e5387e1c1a51a89e4eab78f57aef5bb44ca78e | hv: remove pci_vdev_read_cfg_u8/16/32
reduce the use of similar APIs (particularly the name confusion) for
CFG space read/write.
Acked-by: Eddie Dong | [
{
"change_type": "MODIFY",
"old_path": "hypervisor/dm/vpci/vdev.c",
"new_path": "hypervisor/dm/vpci/vdev.c",
"diff": "@@ -41,13 +41,13 @@ uint32_t pci_vdev_read_cfg(const struct pci_vdev *vdev, uint32_t offset, uint32_\nswitch (bytes) {\ncase 1U:\n- val = pci_vdev_read_cfg_u8(vdev, offset);\n+ val =... | C | BSD 3-Clause New or Revised License | projectacrn/acrn-hypervisor | hv: remove pci_vdev_read_cfg_u8/16/32
reduce the use of similar APIs (particularly the name confusion) for
CFG space read/write.
Tracked-On: #4433
Signed-off-by: Yuan Liu <yuan1.liu@intel.com>
Acked-by: Eddie Dong <eddie.dong@intel.com> |
528,652 | 02.03.2020 18:16:48 | 0 | 97fc0efe207a4bc736ddc727f41a4588a90da623 | hv: remove unused cpu_primary_save_32()
In direct boot mode, boot_context[] which is saved from cpu_primary_save_32()
is no longer used since commit ("vm_load: update init gdt
preparation"). Thus, the call to it and the function itself can be removed. | [
{
"change_type": "MODIFY",
"old_path": "hypervisor/arch/x86/boot/cpu_primary.S",
"new_path": "hypervisor/arch/x86/boot/cpu_primary.S",
"diff": "@@ -84,9 +84,6 @@ cpu_primary_start_32:\nmovl %eax, (boot_regs)\nmovl %ebx, (boot_regs+4)\n- /* Save boot context from 32bit mode */\n- call cpu_primary_sav... | C | BSD 3-Clause New or Revised License | projectacrn/acrn-hypervisor | hv: remove unused cpu_primary_save_32()
In direct boot mode, boot_context[] which is saved from cpu_primary_save_32()
is no longer used since commit 6beb34c3cbd4 ("vm_load: update init gdt
preparation"). Thus, the call to it and the function itself can be removed.
Tracked-On: #4441
Reviewed-by: Fengwei Yin <fengwei.y... |
528,654 | 26.02.2020 17:17:55 | -28,800 | 64bf4fb8f4097cc554f1f8326693dd7c62ef8c4e | dm: don't deassign pass through PCIe device in DM
Let the ACRN HV to do this in shutdown sequence. In this case, the RTVM could be
still alive if something wrong happened to cause the DM died. | [
{
"change_type": "MODIFY",
"old_path": "devicemodel/core/main.c",
"new_path": "devicemodel/core/main.c",
"diff": "@@ -686,7 +686,8 @@ vm_loop(struct vmctx *ctx)\nbreak;\n}\n- if (VM_SUSPEND_SYSTEM_RESET == vm_get_suspend_mode()) {\n+ /* RTVM can't be reset */\n+ if ((VM_SUSPEND_SYSTEM_RESET == vm_ge... | C | BSD 3-Clause New or Revised License | projectacrn/acrn-hypervisor | dm: don't deassign pass through PCIe device in DM
Let the ACRN HV to do this in shutdown sequence. In this case, the RTVM could be
still alive if something wrong happened to cause the DM died.
Tracked-On: #4428
Signed-off-by: Li Fei1 <fei1.li@intel.com> |
528,804 | 03.03.2020 13:30:27 | -28,800 | 2aaa050cabdefc6a796ab6a8c5a8f56f073a6ae9 | HV: move out physical cfg write from vpci-bridge
for vpci_bridge it is better just write the virtual configure space,
so move out the PCI bridge phyiscal cfg write to pci.c
also add some rules in config pci bridge.
Acked-by: Eddie Dong | [
{
"change_type": "MODIFY",
"old_path": "hypervisor/dm/vpci/vpci_bridge.c",
"new_path": "hypervisor/dm/vpci/vpci_bridge.c",
"diff": "*\n* for this emulation of vpci bridge, limitations set as following:\n* 1. all configure registers are readonly\n- * 2. BIST not support; by default is 0H\n- * 3. not ... | C | BSD 3-Clause New or Revised License | projectacrn/acrn-hypervisor | HV: move out physical cfg write from vpci-bridge
for vpci_bridge it is better just write the virtual configure space,
so move out the PCI bridge phyiscal cfg write to pci.c
also add some rules in config pci bridge.
Tracked-On: #3381
Signed-off-by: Minggui Cao <minggui.cao@intel.com>
Reviewed-by: Yin Fengwei <fengwei... |
528,723 | 28.02.2020 14:11:58 | 28,800 | 9a794432042e3fe77a51a761f03c62bb35f863b4 | acrn-config: Generate target xml and board.c file with MBA RDT resource
This patch adds support for,
1. Storing MBA resource and its max supported clos value
in the target xml file under clos subsection.
2. Generating board.c file with MBA RDT resource.
Acked-by: Victor Sun | [
{
"change_type": "MODIFY",
"old_path": "misc/acrn-config/board_config/board_c.py",
"new_path": "misc/acrn-config/board_config/board_c.py",
"diff": "@@ -11,6 +11,7 @@ import board_cfg_lib\nclass RDT(enum.Enum):\nL2 = 0\nL3 = 1\n+ MBA = 2\nINCLUDE_HEADER = \"\"\"\n#include <board.h>\n@@ -83,8 +84,9 @@... | C | BSD 3-Clause New or Revised License | projectacrn/acrn-hypervisor | acrn-config: Generate target xml and board.c file with MBA RDT resource
This patch adds support for,
1. Storing MBA resource and its max supported clos value
in the target xml file under clos subsection.
2. Generating board.c file with MBA RDT resource.
Tracked-On: #3725
Signed-off-by: Vijay Dhanraj <vijay.dhanraj@in... |
528,709 | 06.03.2020 13:37:39 | -28,800 | b25d5fa5028b79289afffd5f50eeff1da9c097d7 | acrn-config: remove redundant sos bootargs from vm config
The SOS_BOOTARGS_DIFF which defined in config xml has included most diff
bootargs, so the prints in vm_configuraton_h.py is redundant and would
cause wrong boot param for SOS VM.
Acked-by: Victor Sun | [
{
"change_type": "MODIFY",
"old_path": "misc/acrn-config/scenario_config/vm_configurations_h.py",
"new_path": "misc/acrn-config/scenario_config/vm_configurations_h.py",
"diff": "@@ -55,16 +55,7 @@ def gen_sdc_header(vm_info, config):\nprint(\"\", file=config)\nprint(\"#define SOS_VM_BOOTARGS\\t\\t\\... | C | BSD 3-Clause New or Revised License | projectacrn/acrn-hypervisor | acrn-config: remove redundant sos bootargs from vm config
The SOS_BOOTARGS_DIFF which defined in config xml has included most diff
bootargs, so the prints in vm_configuraton_h.py is redundant and would
cause wrong boot param for SOS VM.
Tracked-On: #4470
Signed-off-by: Wei Liu <weix.w.liu@intel.com>
Acked-by: Victor ... |
528,756 | 09.03.2020 10:56:47 | -28,800 | 60a7c49bb03c50fede516ef40950d94dafd7ffce | hv: Refine code for API reduction
Removed the pci_vdev_write_cfg_u8/u16/u32 APIs and only used
pci_vdev_write_cfg as the API for writing vdev's cfgdata
Acked-by: Eddie Dong | [
{
"change_type": "MODIFY",
"old_path": "hypervisor/dm/vpci/pci_pt.c",
"new_path": "hypervisor/dm/vpci/pci_pt.c",
"diff": "@@ -170,7 +170,7 @@ void vdev_pt_write_vbar(struct pci_vdev *vdev, uint32_t idx, uint32_t val)\npci_vdev_write_bar(vdev, idx, val);\nvdev_pt_allow_io_vbar(vdev, update_idx);\n} e... | C | BSD 3-Clause New or Revised License | projectacrn/acrn-hypervisor | hv: Refine code for API reduction
Removed the pci_vdev_write_cfg_u8/u16/u32 APIs and only used
pci_vdev_write_cfg as the API for writing vdev's cfgdata
Tracked-On: #4433
Signed-off-by: Yuan Liu <yuan1.liu@intel.com>
Acked-by: Eddie Dong <eddie.dong@intel.com> |
528,708 | 06.03.2020 09:21:29 | -28,800 | f727d1e741a76b268a060c602832721246f402e2 | HV: sdc2 UUID update
Since there is no RTVM requirement for sdc2 scenario, replace uuid
which is dedicated to RTVM with | [
{
"change_type": "MODIFY",
"old_path": "hypervisor/scenarios/sdc2/vm_configurations.c",
"new_path": "hypervisor/scenarios/sdc2/vm_configurations.c",
"diff": "@@ -62,9 +62,9 @@ struct acrn_vm_config vm_configs[CONFIG_MAX_VM_NUM] = {\n},\n{\n.load_order = POST_LAUNCHED_VM,\n- .uuid = {0x49U, 0x5aU, 0x... | C | BSD 3-Clause New or Revised License | projectacrn/acrn-hypervisor | HV: sdc2 UUID update
Since there is no RTVM requirement for sdc2 scenario, replace uuid
495ae2e5-2603-4d64-af76-d4bc5a8ec0e5 which is dedicated to RTVM with
615db82a-e189-4b4f-8dbb-d321343e4ab3
Tracked-On: #4472
Signed-off-by: fuzhongl <fuzhong.liu@intel.com>
Reviewed-by: Sun Victor <victor.sun@intel.com> |
528,709 | 06.03.2020 14:44:34 | -28,800 | 835dc22a1811569fbdae50e0f59336fdf71d9f59 | acrn-config: sdc2 UUID update
Since there is no RTVM requirement for sdc2 scenario, replace uuid
which is dedicated to RTVM with
Acked-by: Victor Sun | [
{
"change_type": "MODIFY",
"old_path": "misc/acrn-config/xmls/config-xmls/apl-mrb/sdc2.xml",
"new_path": "misc/acrn-config/xmls/config-xmls/apl-mrb/sdc2.xml",
"diff": "</vm>\n<vm id=\"2\">\n<load_order desc=\"Specify the VM by its load order: PRE_LAUNCHED_VM, SOS_VM or POST_LAUNCHED_VM.\" readonly=\... | C | BSD 3-Clause New or Revised License | projectacrn/acrn-hypervisor | acrn-config: sdc2 UUID update
Since there is no RTVM requirement for sdc2 scenario, replace uuid
495ae2e5-2603-4d64-af76-d4bc5a8ec0e5 which is dedicated to RTVM with
615db82a-e189-4b4f-8dbb-d321343e4ab3
Tracked-On: #4472
Signed-off-by: Wei Liu <weix.w.liu@intel.com>
Acked-by: Victor Sun <victor.sun@intel.com> |
528,654 | 09.03.2020 13:05:09 | -28,800 | 41350c533c4b679a928140e8353855ab0d6474cd | hv: vpci: add _v prefix for some function name
Add _v prefix for some function name to indicate this function wants to operate
on virtual CFG space or virtual BAR register. | [
{
"change_type": "MODIFY",
"old_path": "hypervisor/dm/vpci/pci_pt.c",
"new_path": "hypervisor/dm/vpci/pci_pt.c",
"diff": "@@ -167,10 +167,10 @@ void vdev_pt_write_vbar(struct pci_vdev *vdev, uint32_t idx, uint32_t val)\ncase PCIBAR_IO_SPACE:\nvdev_pt_deny_io_vbar(vdev, update_idx);\nif (val != ~0U) ... | C | BSD 3-Clause New or Revised License | projectacrn/acrn-hypervisor | hv: vpci: add _v prefix for some function name
Add _v prefix for some function name to indicate this function wants to operate
on virtual CFG space or virtual BAR register.
Tracked-On: #4371
Signed-off-by: Li Fei1 <fei1.li@intel.com> |
528,756 | 06.03.2020 14:42:21 | -28,800 | ddd6253a4cc6281793cb6c8c4b79a455d4f8ab11 | hv: wrap msix map/unmap operations
Refine coding style to wrap msix map/unmap operations, clean up repeated
assignments for msix mmio_hpa and mmio_size.
Acked-by: Eddie Dong | [
{
"change_type": "MODIFY",
"old_path": "hypervisor/dm/vpci/pci_pt.c",
"new_path": "hypervisor/dm/vpci/pci_pt.c",
"diff": "#include <logmsg.h>\n#include \"vpci_priv.h\"\n-/**\n+/*\n* @pre vdev != NULL\n* @pre vdev->vpci != NULL\n* @pre vdev->vpci->vm != NULL\n*/\n-static void vdev_pt_unmap_mem_vbar(s... | C | BSD 3-Clause New or Revised License | projectacrn/acrn-hypervisor | hv: wrap msix map/unmap operations
Refine coding style to wrap msix map/unmap operations, clean up repeated
assignments for msix mmio_hpa and mmio_size.
Tracked-On: #4433
Signed-off-by: Yuan Liu <yuan1.liu@intel.com>
Acked-by: Eddie Dong <eddie.dong@intel.com> |
528,756 | 09.03.2020 22:23:18 | -28,800 | d67d0538e6882cfeeff54b773890840e02b6bc1f | hv: initialize VF BARs
The VF BARs are initialized by its PF SRIOV capability
Acked-by: Eddie Dong | [
{
"change_type": "MODIFY",
"old_path": "hypervisor/dm/vpci/pci_pt.c",
"new_path": "hypervisor/dm/vpci/pci_pt.c",
"diff": "@@ -66,7 +66,7 @@ static void vdev_pt_unmap_msix(struct pci_vdev *vdev)\n* @pre vdev->vpci != NULL\n* @pre vdev->vpci->vm != NULL\n*/\n-static void vdev_pt_map_msix(struct pci_vd... | C | BSD 3-Clause New or Revised License | projectacrn/acrn-hypervisor | hv: initialize VF BARs
The VF BARs are initialized by its PF SRIOV capability
Tracked-On: #4433
Signed-off-by: Yuan Liu <yuan1.liu@intel.com>
Acked-by: Eddie Dong <eddie.dong@intel.com> |
528,756 | 05.03.2020 21:05:43 | -28,800 | 2a4235f200e72abfeb442ef1cbc56ddff8c174a3 | hv: refine function find_vdev
Change name find_vdev to find_available_vdev and add comments
Acked-by: Eddie Dong | [
{
"change_type": "MODIFY",
"old_path": "hypervisor/dm/vpci/vpci.c",
"new_path": "hypervisor/dm/vpci/vpci.c",
"diff": "@@ -41,7 +41,7 @@ static void deinit_prelaunched_vm_vpci(struct acrn_vm *vm);\nstatic void deinit_postlaunched_vm_vpci(struct acrn_vm *vm);\nstatic int32_t vpci_read_cfg(struct acrn_... | C | BSD 3-Clause New or Revised License | projectacrn/acrn-hypervisor | hv: refine function find_vdev
Change name find_vdev to find_available_vdev and add comments
Tracked-On: #4433
Signed-off-by: Yuan Liu <yuan1.liu@intel.com>
Acked-by: Eddie Dong <eddie.dong@intel.com> |
528,756 | 26.02.2020 11:20:53 | -28,800 | 7b429fe4833017d6b78330604847d47909782558 | hv: prohibit PF from being assigned
We didn't support SR-IOV capability of PF in UOS for now, we should
hide the SR-IOV capability if we pass through the PF to a UOS.
For now, we don't support assignment of PF to a UOS.
Acked-by: Eddie Dong | [
{
"change_type": "MODIFY",
"old_path": "hypervisor/dm/vpci/vpci.c",
"new_path": "hypervisor/dm/vpci/vpci.c",
"diff": "@@ -710,7 +710,13 @@ int32_t vpci_assign_pcidev(struct acrn_vm *tgt_vm, struct acrn_assign_pcidev *pc\nsos_vm = get_sos_vm();\nspinlock_obtain(&sos_vm->vpci.lock);\nvdev_in_sos = pci... | C | BSD 3-Clause New or Revised License | projectacrn/acrn-hypervisor | hv: prohibit PF from being assigned
We didn't support SR-IOV capability of PF in UOS for now, we should
hide the SR-IOV capability if we pass through the PF to a UOS.
For now, we don't support assignment of PF to a UOS.
Tracked-On: #4433
Signed-off-by: Yuan Liu <yuan1.liu@intel.com>
Acked-by: Eddie Dong <eddie.dong... |
528,756 | 03.03.2020 17:54:29 | -28,800 | 08ed45f4b4af105700ae289f141314149af22eb9 | hv: fix wrong VF BDF
The vf_bdf is not initialized when invoking pci_pdev_read_cfg function.
Acked-by: Eddie Dong | [
{
"change_type": "MODIFY",
"old_path": "hypervisor/dm/vpci/vsriov.c",
"new_path": "hypervisor/dm/vpci/vsriov.c",
"diff": "@@ -150,6 +150,7 @@ static void enable_vf(struct pci_vdev *pf_vdev)\nunion pci_bdf vf_bdf;\nuint16_t idx;\nuint16_t sub_vid = 0U;\n+ uint16_t num_vfs, stride, fst_off;\n/* Confir... | C | BSD 3-Clause New or Revised License | projectacrn/acrn-hypervisor | hv: fix wrong VF BDF
The vf_bdf is not initialized when invoking pci_pdev_read_cfg function.
Tracked-On: #4433
Signed-off-by: Yuan Liu <yuan1.liu@intel.com>
Acked-by: Eddie Dong <eddie.dong@intel.com> |
528,756 | 09.03.2020 22:40:11 | -28,800 | d8a19f997810b647c8f45937ec82a855e86352d9 | hv: refine naming
Change enable_vf/disable_vf to create_vfs/disable_vfs
Change base member of pci_vbar to base_gpa
Acked-by: Eddie Dong | [
{
"change_type": "MODIFY",
"old_path": "hypervisor/dm/vpci/pci_pt.c",
"new_path": "hypervisor/dm/vpci/pci_pt.c",
"diff": "@@ -74,15 +74,15 @@ void vdev_pt_map_msix(struct pci_vdev *vdev, bool hold_lock)\nstruct acrn_vm *vm = vdev->vpci->vm;\nvbar = &vdev->vbars[vdev->msix.table_bar];\n- if (vbar->ba... | C | BSD 3-Clause New or Revised License | projectacrn/acrn-hypervisor | hv: refine naming
Change enable_vf/disable_vf to create_vfs/disable_vfs
Change base member of pci_vbar to base_gpa
Tracked-On: #4433
Signed-off-by: Yuan Liu <yuan1.liu@intel.com>
Acked-by: Eddie Dong <eddie.dong@intel.com> |
528,756 | 09.03.2020 21:41:10 | -28,800 | 696f6c7ba43d87919a583d78e72292235c0e8157 | hv: the VM can only deinit its own devices
VM needs to check if it owns this device before deiniting it.
Acked-by: Eddie Dong | [
{
"change_type": "MODIFY",
"old_path": "hypervisor/dm/vpci/vpci.c",
"new_path": "hypervisor/dm/vpci/vpci.c",
"diff": "@@ -637,9 +637,12 @@ static void deinit_prelaunched_vm_vpci(struct acrn_vm *vm)\nfor (i = 0U; i < vm->vpci.pci_vdev_cnt; i++) {\nvdev = (struct pci_vdev *) &(vm->vpci.pci_vdevs[i]);\... | C | BSD 3-Clause New or Revised License | projectacrn/acrn-hypervisor | hv: the VM can only deinit its own devices
VM needs to check if it owns this device before deiniting it.
Tracked-On: #4433
Signed-off-by: Yuan Liu <yuan1.liu@intel.com>
Signed-off-by: Yin Fengwei <fengwei.yin@intel.com>
Acked-by: Eddie Dong <eddie.dong@intel.com> |
528,783 | 10.03.2020 14:30:27 | -28,800 | 790614e952f611bde464e2e5910da0c45bfe341b | hv:rename several variables and api for ioapic
rename:
ioapic_get_gsi_irq_addr --> gsi_to_ioapic_base
ioapic_addr -->ioapic_base | [
{
"change_type": "MODIFY",
"old_path": "hypervisor/arch/x86/ioapic.c",
"new_path": "hypervisor/arch/x86/ioapic.c",
"diff": "@@ -99,12 +99,12 @@ uint32_t get_pic_pin_from_ioapic_pin(uint32_t pin_index)\n}\n/*\n- * @pre irq_num < NR_MAX_GSI\n+ * @pre gsi < NR_MAX_GSI\n*/\n-void *ioapic_get_gsi_irq_add... | C | BSD 3-Clause New or Revised License | projectacrn/acrn-hypervisor | hv:rename several variables and api for ioapic
rename:
ioapic_get_gsi_irq_addr --> gsi_to_ioapic_base
ioapic_addr -->ioapic_base
Tracked-On: #861
Signed-off-by: Mingqiang Chi <mingqiang.chi@intel.com> |
528,783 | 06.03.2020 00:03:25 | -28,800 | 910ac9f9177055b765fcdbea54f4ab2c582db66f | dm:send shutdown to life_mngr on SOS
it will send shutdown command to life_mngr on SOS
after the UOS has poweroff itself
Acked-by: Wang, Yu1 | [
{
"change_type": "MODIFY",
"old_path": "devicemodel/core/pm_vuart.c",
"new_path": "devicemodel/core/pm_vuart.c",
"diff": "@@ -319,6 +319,21 @@ void pm_by_vuart_init(struct vmctx *ctx)\nvoid pm_by_vuart_deinit(struct vmctx *ctx)\n{\n+ /* it indicates that acrn-dm has received shutdown command\n+ * fr... | C | BSD 3-Clause New or Revised License | projectacrn/acrn-hypervisor | dm:send shutdown to life_mngr on SOS
it will send shutdown command to life_mngr on SOS
after the UOS has poweroff itself
Tracked-On: #4446
Signed-off-by: Mingqiang Chi <mingqiang.chi@intel.com>
Reviewed-by: Minggui Cao <minggui.cao@intel.com>
Reviewed-by: Shuo A Liu <shuo.a.liu@intel.com>
Reviewed-by: Yin Fengwei <fe... |
528,747 | 11.03.2020 09:00:18 | 25,200 | 3743edf9c13af78f01c9bd5e58cab4217ae0716b | doc: add site under construction page header
While the site is being reorganized, let's put a header on each page
letting people know. | [
{
"change_type": "MODIFY",
"old_path": "doc/static/acrn-custom.css",
"new_path": "doc/static/acrn-custom.css",
"diff": "max-width: none;\n}\n-/* (temporarily) add an under development tagline to the bread crumb\n+/* (temporarily) add an under development tagline to the bread crumb */\n.wy-breadcrumb... | C | BSD 3-Clause New or Revised License | projectacrn/acrn-hypervisor | doc: add site under construction page header
While the site is being reorganized, let's put a header on each page
letting people know.
Signed-off-by: David B. Kinder <david.b.kinder@intel.com> |
528,654 | 11.03.2020 13:52:16 | -28,800 | 4b6dd19ad18a68a655f8bcbfe76e0fcbc8e51b20 | hv: pci: rename CFG read/write function for PCI-compatible Configuration Mechanism
Move CFG read/write function for PCI-compatible Configuration Mechanism from
debug/uartuart16550.c to hw/pci.c and rename CFG read/write function for
PCI-compatible Configuration Mechanism to pci_pio_read/write_cfg to align with
CFG read... | [
{
"change_type": "MODIFY",
"old_path": "hypervisor/debug/uart16550.c",
"new_path": "hypervisor/debug/uart16550.c",
"diff": "@@ -46,67 +46,6 @@ typedef uint32_t uart_reg_t;\nstatic union pci_bdf serial_pci_bdf;\n-static uint32_t pci_direct_calc_address(union pci_bdf bdf, uint32_t offset)\n-{\n- uint3... | C | BSD 3-Clause New or Revised License | projectacrn/acrn-hypervisor | hv: pci: rename CFG read/write function for PCI-compatible Configuration Mechanism
Move CFG read/write function for PCI-compatible Configuration Mechanism from
debug/uartuart16550.c to hw/pci.c and rename CFG read/write function for
PCI-compatible Configuration Mechanism to pci_pio_read/write_cfg to align with
CFG rea... |
528,756 | 04.03.2020 20:17:13 | -28,800 | e9a99845f60e6b12dc332dc00d7bcff620ff7c73 | hv: refine read/write configuration APIs for vmsi/vmsix
change vmsi_read_cfg to read_vmsi_cfg, same applies to writing
change vmsix_read_cfg to read_vmsix_cfg, same applies to writing
Acked-by: Eddie Dong | [
{
"change_type": "MODIFY",
"old_path": "hypervisor/dm/vpci/vmsi.c",
"new_path": "hypervisor/dm/vpci/vmsi.c",
"diff": "@@ -98,7 +98,7 @@ static void remap_vmsi(const struct pci_vdev *vdev)\n/**\n* @pre vdev != NULL\n*/\n-void vmsi_read_cfg(const struct pci_vdev *vdev, uint32_t offset, uint32_t bytes,... | C | BSD 3-Clause New or Revised License | projectacrn/acrn-hypervisor | hv: refine read/write configuration APIs for vmsi/vmsix
change vmsi_read_cfg to read_vmsi_cfg, same applies to writing
change vmsix_read_cfg to read_vmsix_cfg, same applies to writing
Tracked-On: #4433
Signed-off-by: Yuan Liu <yuan1.liu@intel.com>
Acked-by: Eddie Dong <eddie.dong@intel.com> |
528,794 | 27.02.2020 17:10:14 | -28,800 | a7b61d251123ce845c548e0f2130f541775e79a2 | HV: remove board specific ve820
Remove useless per board ve820.c as arch/x86/guest/ve820.c is common for
all boards now;
Acked-by: Eddie Dong | [
{
"change_type": "DELETE",
"old_path": "hypervisor/arch/x86/configs/apl-mrb/ve820.c",
"new_path": null,
"diff": "-/*\n- * Copyright (C) 2018 Intel Corporation. All rights reserved.\n- *\n- * SPDX-License-Identifier: BSD-3-Clause\n- */\n-\n-#include <e820.h>\n-#include <vm.h>\n-\n-#define VE820_ENTRI... | C | BSD 3-Clause New or Revised License | projectacrn/acrn-hypervisor | HV: remove board specific ve820
Remove useless per board ve820.c as arch/x86/guest/ve820.c is common for
all boards now;
Tracked-On: #4458
Signed-off-by: Victor Sun <victor.sun@intel.com>
Acked-by: Eddie Dong <eddie.dong@intel.com> |
528,794 | 03.03.2020 11:45:30 | -28,800 | e74553492a3e8573485b91b841a6296317aa4872 | HV: move create_sos_vm_e820 to ve820.c
ve820.c is a common file in arch/x86/guest/ now, so move function of
create_sos_vm_e820() to this file to make code structure clear;
Acked-by: Eddie Dong | [
{
"change_type": "MODIFY",
"old_path": "hypervisor/arch/x86/guest/ve820.c",
"new_path": "hypervisor/arch/x86/guest/ve820.c",
"diff": "#include <e820.h>\n#include <mmu.h>\n#include <vm.h>\n+#include <reloc.h>\n+#include <logmsg.h>\n#define ENTRY_HPA1 2U\n#define ENTRY_HPA1_HI 4U\n+static struct e820_... | C | BSD 3-Clause New or Revised License | projectacrn/acrn-hypervisor | HV: move create_sos_vm_e820 to ve820.c
ve820.c is a common file in arch/x86/guest/ now, so move function of
create_sos_vm_e820() to this file to make code structure clear;
Tracked-On: #4458
Signed-off-by: Victor Sun <victor.sun@intel.com>
Acked-by: Eddie Dong <eddie.dong@intel.com> |
528,794 | 12.03.2020 10:47:40 | -28,800 | a8c2ba03fcf0666a5550705c98ed1bd040b9d34c | HV: add pci_devices.h for nuc6cayh and apl-up2
As pci_devices.h is included by <page.h>, need to prepare pci_devices.h
for nuc6cayh and apl-up2 board.
Also the #error info in generic/pci_devices.h should be removed, otherwise
the build will be failed in sdc/sdc2/industry scenarios. | [
{
"change_type": "ADD",
"old_path": null,
"new_path": "hypervisor/arch/x86/configs/apl-up2/pci_devices.h",
"diff": "+/*\n+ * Copyright (C) 2020 Intel Corporation. All rights reserved.\n+ *\n+ * SPDX-License-Identifier: BSD-3-Clause\n+ */\n+\n+#ifndef PCI_DEVICES_H_\n+#define PCI_DEVICES_H_\n+\n+#def... | C | BSD 3-Clause New or Revised License | projectacrn/acrn-hypervisor | HV: add pci_devices.h for nuc6cayh and apl-up2
As pci_devices.h is included by <page.h>, need to prepare pci_devices.h
for nuc6cayh and apl-up2 board.
Also the #error info in generic/pci_devices.h should be removed, otherwise
the build will be failed in sdc/sdc2/industry scenarios.
Tracked-On: #4458
Signed-off-by: ... |
528,709 | 28.02.2020 15:38:01 | -28,800 | 830df76f1e995b5c5c966ce91d0c72134d6d0cf5 | acrn-config: refine VM number macro from scenario config
1. refine vm number macro from scenario config.
2. add sanity check for load order.
Acked-by: Victor Sun | [
{
"change_type": "MODIFY",
"old_path": "misc/acrn-config/library/scenario_cfg_lib.py",
"new_path": "misc/acrn-config/library/scenario_cfg_lib.py",
"diff": "@@ -260,48 +260,6 @@ def get_order_type_by_vmid(idx):\nreturn order_type\n-def get_vmid_by_order_type(type_str):\n- \"\"\"\n- This is mapping ta... | C | BSD 3-Clause New or Revised License | projectacrn/acrn-hypervisor | acrn-config: refine VM number macro from scenario config
1. refine vm number macro from scenario config.
2. add sanity check for load order.
Tracked-On: #4458
Signed-off-by: Wei Liu <weix.w.liu@intel.com>
Acked-by: Victor Sun <victor.sun@intel.com> |
528,709 | 06.03.2020 11:06:05 | -28,800 | 27b6c82c0f211aaa650afc134e7f1472a5e1202b | acrn-config: keep HV_RAM_START 2M memory align
Refine HV_RAM_START to keep 2M memory align for new board config.
Acked-by: Victor Sun | [
{
"change_type": "MODIFY",
"old_path": "misc/acrn-config/board_config/new_board_kconfig.py",
"new_path": "misc/acrn-config/board_config/new_board_kconfig.py",
"diff": "@@ -28,6 +28,8 @@ VM_NUM_MAP_TOTAL_HV_RAM_SIZE = {\n7:0x10E00000,\n}\n+MEM_ALIGN = 2 * board_cfg_lib.SIZE_M\n+\ndef find_avl_memory(... | C | BSD 3-Clause New or Revised License | projectacrn/acrn-hypervisor | acrn-config: keep HV_RAM_START 2M memory align
Refine HV_RAM_START to keep 2M memory align for new board config.
Tracked-On: #3854
Signed-off-by: Wei Liu <weix.w.liu@intel.com>
Acked-by: Victor Sun <victor.sun@intel.com> |
528,709 | 06.03.2020 08:23:48 | -28,800 | b62d439bf1a9dce49ef85c1679f0f03c66a1ca81 | acrn-config: remove a function that generates ve820 file
1. To keep align with acrn-hypervisor source code, remove a function
that generates ve820 file.
Acked-by: Victor Sun | [
{
"change_type": "MODIFY",
"old_path": "misc/acrn-config/board_config/board_cfg_gen.py",
"new_path": "misc/acrn-config/board_config/board_cfg_gen.py",
"diff": "@@ -12,14 +12,13 @@ import board_c\nimport pci_devices_h\nimport acpi_platform_h\nimport misc_cfg_h\n-import ve820_c\nimport new_board_kconf... | C | BSD 3-Clause New or Revised License | projectacrn/acrn-hypervisor | acrn-config: remove a function that generates ve820 file
1. To keep align with acrn-hypervisor source code, remove a function
that generates ve820 file.
Tracked-On: #3854
Signed-off-by: Wei Liu <weix.w.liu@intel.com>
Acked-by: Victor Sun <victor.sun@intel.com> |
528,783 | 04.03.2020 18:00:53 | -28,800 | 14692ef60c5c173d62a0c284eeac1885b75b1d1d | hv:Rename two VM states
Rename:
VM_STARTED --> VM_RUNNING
VM_POWERING_OFF --> VM_READY_TO_POWEROFF
Acked-by: Eddie Dong | [
{
"change_type": "MODIFY",
"old_path": "hypervisor/arch/x86/guest/pm.c",
"new_path": "hypervisor/arch/x86/guest/pm.c",
"diff": "@@ -282,7 +282,7 @@ static bool rt_vm_pm1a_io_write(struct acrn_vcpu *vcpu, uint16_t addr, size_t wi\npr_dbg(\"Invalid address (0x%x) or width (0x%x)\", addr, width);\n} el... | C | BSD 3-Clause New or Revised License | projectacrn/acrn-hypervisor | hv:Rename two VM states
Rename:
VM_STARTED --> VM_RUNNING
VM_POWERING_OFF --> VM_READY_TO_POWEROFF
Tracked-On: #4320
Signed-off-by: Mingqiang Chi <mingqiang.chi@intel.com>
Acked-by: Eddie Dong <eddie.dong@intel.com> |
528,766 | 13.03.2020 16:48:51 | 25,200 | 05dc6c5336f05009829f24775f9ad01aa469152a | OVMF release v1.6
Enable fstack-protector-strong for OVMF x64 and gcc5 | [
{
"change_type": "MODIFY",
"old_path": "devicemodel/bios/MD5SUM_ovmf",
"new_path": "devicemodel/bios/MD5SUM_ovmf",
"diff": "-9d2ee27e00afc6c54f6106eb40aa99f0 OVMF.fd\n-99c9357921ba28b394d8835f75a9001d OVMF_debug.fd\n+9f3becb43eb6fe0cae8494b5e1f598e9 OVMF.fd\n+a2cf8b0863b89664cbff3998ea968c13 OVMF_de... | C | BSD 3-Clause New or Revised License | projectacrn/acrn-hypervisor | OVMF release v1.6
- Enable fstack-protector-strong for OVMF x64 and gcc5
Tracked-On: #4490
Signed-off-by: Peter Fang <peter.fang@intel.com> |
528,709 | 16.03.2020 09:19:03 | -28,800 | ae5f0f1c9bdc2d7542634ea8f734c4a4b5a9d82e | acrn-config: add missed include in pci_dev.c for logical partition
commit added two extra header
include in pci_dev.c for logical_partition scenario but acrn-config did
not handle that.
This patch fix the issue.
Acked-by: Victor Sun | [
{
"change_type": "MODIFY",
"old_path": "misc/acrn-config/scenario_config/pci_dev_c.py",
"new_path": "misc/acrn-config/scenario_config/pci_dev_c.py",
"diff": "@@ -18,6 +18,8 @@ def generate_file(config):\nprint(\"#include <vm_config.h>\", file=config)\nprint(\"#include <pci_devices.h>\", file=config)... | C | BSD 3-Clause New or Revised License | projectacrn/acrn-hypervisor | acrn-config: add missed include in pci_dev.c for logical partition
commit a68f655a118f707501cd0ed241f2e71554d31af3 added two extra header
include in pci_dev.c for logical_partition scenario but acrn-config did
not handle that.
This patch fix the issue.
Tracked-On: #4492
Signed-off-by: Wei Liu <weix.w.liu@intel.com>
A... |
528,662 | 17.03.2020 14:47:50 | -28,800 | bf7766fc6de682bf556b42bfd742940577ad05e7 | doc: Update build celadon instruction link | [
{
"change_type": "MODIFY",
"old_path": "doc/tutorials/using_celadon_as_uos.rst",
"new_path": "doc/tutorials/using_celadon_as_uos.rst",
"diff": "@@ -28,7 +28,7 @@ Build Celadon from source\n*************************\n#. Follow the instructions in the `Build Celadon from source\n- <https://01.org/proj... | C | BSD 3-Clause New or Revised License | projectacrn/acrn-hypervisor | doc: Update build celadon instruction link
Signed-off-by: lirui34 <ruix.li@intel.com> |
528,756 | 18.03.2020 10:30:19 | -28,800 | 7b3c3c6bcf04da9aa38e12f20188bf73a7645cd5 | doc: introduce SR-IOV virtualization
The SR-IOV virtualization document | [
{
"change_type": "MODIFY",
"old_path": "doc/develop.rst",
"new_path": "doc/develop.rst",
"diff": "@@ -62,6 +62,7 @@ Enable ACRN Features\ntutorials/waag-secure-boot\ntutorials/enable_s5\ntutorials/cpu_sharing\n+ tutorials/sriov_virtualization\nDebug\n*****\n"
},
{
"change_type": "ADD",
"... | C | BSD 3-Clause New or Revised License | projectacrn/acrn-hypervisor | doc: introduce SR-IOV virtualization
The SR-IOV virtualization document
Tracked-On: #4433
Signed-off-by: Yuan Liu <yuan1.liu@intel.com> |
528,747 | 18.03.2020 13:32:45 | 25,200 | a086d729745d535419fa7ff16930deebcc670355 | doc: fix docs with broken links
Fix links in documentation that have moved (e.g.,
clearlinux.org/documentation moved to docs.01.org/clearlinux/latest). | [
{
"change_type": "MODIFY",
"old_path": "doc/developer-guides/c_coding_guidelines.rst",
"new_path": "doc/developer-guides/c_coding_guidelines.rst",
"diff": "@@ -3218,20 +3218,20 @@ function:\n6) A blank line shall separate different paragraphs. Inside each paragraph, a\nblank line is not required to ... | C | BSD 3-Clause New or Revised License | projectacrn/acrn-hypervisor | doc: fix docs with broken links
Fix links in documentation that have moved (e.g.,
clearlinux.org/documentation moved to docs.01.org/clearlinux/latest).
Signed-off-by: David B. Kinder <david.b.kinder@intel.com> |
528,769 | 06.03.2020 02:20:16 | 0 | b9bf38e8a0b2c314a80d38f4c057ca9cfde22f1c | doc: update waag GSG according to the latest method
Delete Redhad virtio drive, only keep Oracle as reference.
Delete "inject driver into ISO" part, and update to the latest workable
method.
In a word, QA just need maintain one latest workable method in GSG for creating WaaG image. | [
{
"change_type": "MODIFY",
"old_path": "doc/tutorials/using_windows_as_uos.rst",
"new_path": "doc/tutorials/using_windows_as_uos.rst",
"diff": "@@ -13,7 +13,7 @@ Verified version\n* Windows 10 Version:\n- Microsoft Windows 10 Enterprise, 10.0.17134 Build 17134\n- - Microsoft Windows 10 Pro, 10.0.177... | C | BSD 3-Clause New or Revised License | projectacrn/acrn-hypervisor | doc: update waag GSG according to the latest method
Delete Redhad virtio drive, only keep Oracle as reference.
Delete "inject driver into ISO" part, and update to the latest workable
method.
In a word, QA just need maintain one latest workable method in GSG for creating WaaG image.
Signed-off-by: ffshen <fangfang.she... |
528,654 | 24.03.2020 09:24:43 | -28,800 | 4512ef7ec93c1e67552d4e95bd32f9c29b526f45 | hv: cpuid: remove cpuid()
The cupid() can be replaced with cupid_subleaf, which is more clear.
Having both APIs makes reading difficult. | [
{
"change_type": "MODIFY",
"old_path": "hypervisor/arch/x86/cpu.c",
"new_path": "hypervisor/arch/x86/cpu.c",
"diff": "@@ -495,7 +495,7 @@ static void init_pcpu_xsave(void)\nCPU_CR_WRITE(cr4, val64);\nif (get_pcpu_id() == BSP_CPU_ID) {\n- cpuid(CPUID_FEATURES, &unused, &unused, &ecx, &unused);\n+ cpu... | C | BSD 3-Clause New or Revised License | projectacrn/acrn-hypervisor | hv: cpuid: remove cpuid()
The cupid() can be replaced with cupid_subleaf, which is more clear.
Having both APIs makes reading difficult.
Tracked-On: #4526
Signed-off-by: Li Fei1 <fei1.li@intel.com> |
528,733 | 19.03.2020 15:57:45 | -28,800 | c9e3d36ef1858db54645bde4ecff457263d0814e | efi-stub: fix wrong bootloader name issue
UEFI pass option as unicode string to efi-stub. That string has
no end charactor ('\0'). Insteadly, the option has string size
and we should use the string size to decide the end of the option
string. | [
{
"change_type": "MODIFY",
"old_path": "misc/efi-stub/boot.c",
"new_path": "misc/efi-stub/boot.c",
"diff": "@@ -406,12 +406,12 @@ efi_main(EFI_HANDLE image, EFI_SYSTEM_TABLE *_table)\nchar *section;\nEFI_DEVICE_PATH *path;\n- INTN i, index;\n+ INTN index;\nCHAR16 *bootloader_name = NULL;\nCHAR16 boo... | C | BSD 3-Clause New or Revised License | projectacrn/acrn-hypervisor | efi-stub: fix wrong bootloader name issue
UEFI pass option as unicode string to efi-stub. That string has
no end charactor ('\0'). Insteadly, the option has string size
and we should use the string size to decide the end of the option
string.
Tracked-On: #4520
Signed-off-by: Yin Fengwei <fengwei.yin@intel.com>
Review... |
528,747 | 23.03.2020 14:30:39 | 25,200 | 268df234a3f4a0966d95b1f64748e88ff2142d19 | doc: fix docs with windows line endings | [
{
"change_type": "MODIFY",
"old_path": "doc/tutorials/running_deb_as_serv_vm.rst",
"new_path": "doc/tutorials/running_deb_as_serv_vm.rst",
"diff": "@@ -14,7 +14,7 @@ Use the following instructions to install Debian.\n- Navigate to `Debian 10 iso <https://cdimage.debian.org/debian-cd/current/amd64/is... | C | BSD 3-Clause New or Revised License | projectacrn/acrn-hypervisor | doc: fix docs with windows line endings
Signed-off-by: David B. Kinder <david.b.kinder@intel.com> |
528,718 | 23.03.2020 19:57:58 | -28,800 | 052889c0225a8e202b60be1b1093886a2e0305c0 | acrn-config: create temporary scenario file folder if it doesn't exist
This commit creates the folder for hosting the temporary scenario .xml files if the folder doesn't exist to avoid the FileNotFound python exception. | [
{
"change_type": "MODIFY",
"old_path": "misc/acrn-config/config_app/views.py",
"new_path": "misc/acrn-config/config_app/views.py",
"diff": "@@ -527,6 +527,9 @@ def upload_scenario():\ntmp_scenario_name = 'tmp_' + scenario_file_name + '.xml'\ntmp_scenario_file = os.path.join(current_app.config.get('C... | C | BSD 3-Clause New or Revised License | projectacrn/acrn-hypervisor | acrn-config: create temporary scenario file folder if it doesn't exist
This commit creates the folder for hosting the temporary scenario .xml files if the folder doesn't exist to avoid the FileNotFound python exception.
Tracked-On: #4522
Signed-off-by: Tonny Tzeng <tonny.tzeng@intel.com> |
528,768 | 27.03.2020 10:40:40 | -28,800 | 3de67830f6ad6477d1d87409507877c430666a92 | doc: update security advisory for v1.6 release
Update mitigations for security vulnerabilities
for ACRN v.16 release. | [
{
"change_type": "MODIFY",
"old_path": "doc/asa.rst",
"new_path": "doc/asa.rst",
"diff": "Security Advisory\n*****************\n-We recommend that all developers upgrade to this v1.4 release, which addresses the following security\n+We recommend that all developers upgrade to this v1.6 release, whic... | C | BSD 3-Clause New or Revised License | projectacrn/acrn-hypervisor | doc: update security advisory for v1.6 release
Update mitigations for security vulnerabilities
for ACRN v.16 release.
Signed-off-by: Yonghua Huang <yonghua.huang@intel.com> |
528,671 | 19.03.2020 15:24:45 | -28,800 | 0f9e9ee0c4f1766dcf7854ef9c6b01989f08d752 | Doc: add instructions for using Xenomai as UOS | [
{
"change_type": "MODIFY",
"old_path": "doc/develop.rst",
"new_path": "doc/develop.rst",
"diff": "@@ -43,6 +43,7 @@ User VM Tutorials\ntutorials/using_zephyr_as_uos\ntutorials/running_deb_as_user_vm\ntutorials/running_ubun_as_user_vm\n+ tutorials/using_xenomai_as_uos\nEnable ACRN Features\n*********... | C | BSD 3-Clause New or Revised License | projectacrn/acrn-hypervisor | Doc: add instructions for using Xenomai as UOS
Signed-off-by: Tw <wei.tan@intel.com> |
528,654 | 17.03.2020 10:19:53 | -28,800 | 86957d702a93949bbdadd86f349984582a622b5a | doc: introduce Split Device Model feature for ACRN
Introduce Split Device Model feature for ACRN. Now we only implement pass through
PCI(e) device of it. | [
{
"change_type": "MODIFY",
"old_path": "doc/developer-guides/hld/hld-emulated-devices.rst",
"new_path": "doc/developer-guides/hld/hld-emulated-devices.rst",
"diff": "@@ -21,3 +21,4 @@ documented in this section.\nRTC emulation in hypervisor <rtc-virt-hld>\nHostbridge emulation <hostbridge-virt-hld>\... | C | BSD 3-Clause New or Revised License | projectacrn/acrn-hypervisor | doc: introduce Split Device Model feature for ACRN
Introduce Split Device Model feature for ACRN. Now we only implement pass through
PCI(e) device of it.
Tracked-On: #4371
Signed-off-by: Li Fei1 <fei1.li@intel.com> |
528,653 | 26.03.2020 10:41:00 | 14,400 | 86aa338a5f447c81dbc15f3142f2a294beaf7f0d | dm: correct PCI configures of igd-lpc
previous patch fails to align SUBVID, SUBDID of igd-lpc with physical one.
this patch corrects the errors and refine the code.
Acked-by: Wang, Yu1 | [
{
"change_type": "MODIFY",
"old_path": "devicemodel/hw/pci/lpc.c",
"new_path": "devicemodel/hw/pci/lpc.c",
"diff": "@@ -495,11 +495,11 @@ pci_igd_lpc_init(struct vmctx *ctx, struct pci_vdev *pi, char *opts)\n* The VID, DID, REVID, SUBVID, SUBDID of igd-lpc need aligned with physical one.\n* Without ... | C | BSD 3-Clause New or Revised License | projectacrn/acrn-hypervisor | dm: correct PCI configures of igd-lpc
previous patch fails to align SUBVID, SUBDID of igd-lpc with physical one.
this patch corrects the errors and refine the code.
Tracked-On: #4405
Signed-off-by: Junming Liu <junming.liu@intel.com>
Signed-off-by: Shuo A Liu <shuo.a.liu@intel.com>
Acked-by: Wang, Yu1 <yu1.wang@inte... |
528,652 | 16.03.2020 14:26:11 | 25,200 | eef3b51eda5fe6b67e1f3756655d67b31b641e02 | hv: move error message logging into gpa copy APIs
In this way, the code looks simpler and line of code is reduced. | [
{
"change_type": "MODIFY",
"old_path": "hypervisor/arch/x86/guest/guest_memory.c",
"new_path": "hypervisor/arch/x86/guest/guest_memory.c",
"diff": "@@ -405,8 +405,16 @@ static inline int32_t copy_gva(struct acrn_vcpu *vcpu, void *h_ptr_arg, uint64_t\n*/\nint32_t copy_from_gpa(struct acrn_vm *vm, voi... | C | BSD 3-Clause New or Revised License | projectacrn/acrn-hypervisor | hv: move error message logging into gpa copy APIs
In this way, the code looks simpler and line of code is reduced.
Tracked-On: #3854
Signed-off-by: Zide Chen <zide.chen@intel.com> |
528,794 | 06.03.2020 16:04:49 | -28,800 | 0074ad1d20d9db39abbe3dd92a176624fc2fa6b3 | acrn-config: one button to generate config file
Currently we use separate button to generate board configuration files and
scenario configuration files for hypervisor, this is not friendly from UX
perspective. So remove redundant button on HV configuration generation. | [
{
"change_type": "MODIFY",
"old_path": "misc/acrn-config/config_app/static/main.js",
"new_path": "misc/acrn-config/config_app/static/main.js",
"diff": "@@ -167,7 +167,7 @@ $().ready(function(){\n$('#save_scenario').on('click', function() {\nvar name = $(this).data('id');\n- if(name==\"generate_board... | C | BSD 3-Clause New or Revised License | projectacrn/acrn-hypervisor | acrn-config: one button to generate config file
Currently we use separate button to generate board configuration files and
scenario configuration files for hypervisor, this is not friendly from UX
perspective. So remove redundant button on HV configuration generation.
Tracked-On: #3854
Signed-off-by: Victor Sun <vict... |
528,709 | 13.03.2020 16:33:25 | -28,800 | 3c425fa9192fd7085bfd09ca44a2024a68d1a503 | acrn-config: remove git check and avoid to generate patch for config files
Remove '--enable_commit' argument since acrn-config will not use git tool any
more.
Acked-by: Victor Sun | [
{
"change_type": "MODIFY",
"old_path": "misc/acrn-config/board_config/README",
"new_path": "misc/acrn-config/board_config/README",
"diff": "-Please run board_cfg_gen.py to generate board related configuration patch, the patch would be applied on current acrn-hypervisor git tree automatically.\n+Plea... | C | BSD 3-Clause New or Revised License | projectacrn/acrn-hypervisor | acrn-config: remove git check and avoid to generate patch for config files
Remove '--enable_commit' argument since acrn-config will not use git tool any
more.
Tracked-On: #3854
Signed-off-by: Wei Liu <weix.w.liu@intel.com>
Acked-by: Victor Sun <victor.sun@intel.com> |
528,709 | 16.03.2020 13:48:08 | -28,800 | b42c283b2034dde986e773ac21f05d6551719c1a | acrn-config: add some configs in board defconfig
1. add CONFIG_scenario=y config in $(BOARD).config file so that
SCENARIO parameter will not be needed when build with xmls.
2. add CONFIG_MAX_KATA_VM_NUM;
3. add CONFIG_ENFORCE_VALIDATED_ACPI_INFO=y because all ACPI info
generated by acrn-config has been validated;
Acked... | [
{
"change_type": "MODIFY",
"old_path": "misc/acrn-config/board_config/new_board_kconfig.py",
"new_path": "misc/acrn-config/board_config/new_board_kconfig.py",
"diff": "@@ -8,9 +8,7 @@ import subprocess\nimport board_cfg_lib\n-DESC = \"\"\"\n-# New board kconfig generated by vm config tool\n-# Modifi... | C | BSD 3-Clause New or Revised License | projectacrn/acrn-hypervisor | acrn-config: add some configs in board defconfig
1. add CONFIG_scenario=y config in $(BOARD).config file so that
SCENARIO parameter will not be needed when build with xmls.
2. add CONFIG_MAX_KATA_VM_NUM;
3. add CONFIG_ENFORCE_VALIDATED_ACPI_INFO=y because all ACPI info
generated by acrn-config has been validated;
T... |
528,709 | 17.03.2020 16:22:45 | -28,800 | 4e9e052bcbef58ba266d182cc788b7584dab56fc | acrn-config: minor fix for generating CONFIG_PCI_BDF
Modify the pattern to grap the correct PCI BDF from board information
file.
Acked-by: Victor Sun | [
{
"change_type": "MODIFY",
"old_path": "misc/acrn-config/board_config/new_board_kconfig.py",
"new_path": "misc/acrn-config/board_config/new_board_kconfig.py",
"diff": "@@ -99,7 +99,7 @@ def get_serial_type():\nif ttys_type == \"portio\":\nttys_value = line.split()[2].split(':')[1]\nelif ttys_type ==... | C | BSD 3-Clause New or Revised License | projectacrn/acrn-hypervisor | acrn-config: minor fix for generating CONFIG_PCI_BDF
Modify the pattern to grap the correct PCI BDF from board information
file.
Tracked-On: #4530
Signed-off-by: Wei Liu <weix.w.liu@intel.com>
Acked-by: Victor Sun <victor.sun@intel.com> |
528,709 | 23.03.2020 16:31:37 | -28,800 | 6b9c1f2d31d982edb49b290efc837c64045959ca | acrn-config: correct passthru 'audio' device for nuc6cayh
Correct mismatch PCI audio device for passthrough in nuc6cayh.
Acked-by: Victor Sun | [
{
"change_type": "MODIFY",
"old_path": "misc/acrn-config/xmls/config-xmls/nuc6cayh/industry_launch_1uos_waag.xml",
"new_path": "misc/acrn-config/xmls/config-xmls/nuc6cayh/industry_launch_1uos_waag.xml",
"diff": "<passthrough_devices>\n<usb_xdci desc=\"vm usb_xdci device\"></usb_xdci>\n- <audio desc=... | C | BSD 3-Clause New or Revised License | projectacrn/acrn-hypervisor | acrn-config: correct passthru 'audio' device for nuc6cayh
Correct mismatch PCI audio device for passthrough in nuc6cayh.
Tracked-On: #4530
Signed-off-by: Wei Liu <weix.w.liu@intel.com>
Acked-by: Victor Sun <victor.sun@intel.com> |
528,799 | 18.03.2020 15:15:54 | 25,200 | 016c1a507354cbbabada4d8f5873d0abb0869847 | hv: pass pointer to functions
Pass intr_src and dmar_ir_entry irte as pointers to dmar_assign_irte(),
which fixes the "Attempt to change parameter passed by value" MISRA C violation.
A few coding style fixes | [
{
"change_type": "MODIFY",
"old_path": "hypervisor/arch/x86/guest/assign.c",
"new_path": "hypervisor/arch/x86/guest/assign.c",
"diff": "@@ -77,7 +77,7 @@ static void ptirq_free_irte(const struct ptirq_remapping_info *entry)\nintr_src.src.ioapic_id = ioapic_irq_to_ioapic_id(entry->allocated_pirq);\n}... | C | BSD 3-Clause New or Revised License | projectacrn/acrn-hypervisor | hv: pass pointer to functions
Pass intr_src and dmar_ir_entry irte as pointers to dmar_assign_irte(),
which fixes the "Attempt to change parameter passed by value" MISRA C violation.
A few coding style fixes
Tracked-On: #4506
Signed-off-by: dongshen <dongsheng.x.zhang@intel.com>
Reviewed-by: Eddie Dong <eddie.dong@I... |
528,799 | 18.03.2020 15:34:36 | 25,200 | 1328dcb205959c0d2e0e03d441d2aed680b1afe5 | hv: extend union dmar_ir_entry to support VT-d posted interrupts
Exend union dmar_ir_entry to support VT-d posted interrupts.
Rename some fields of union dmar_ir_entry:
entry --> value
sw_bits --> avail | [
{
"change_type": "MODIFY",
"old_path": "hypervisor/arch/x86/guest/assign.c",
"new_path": "hypervisor/arch/x86/guest/assign.c",
"diff": "@@ -107,13 +107,13 @@ static void ptirq_build_physical_msi(struct acrn_vm *vm, struct ptirq_msi_info *\ndest_mask = calculate_logical_dest_mask(pdmask);\n/* Using p... | C | BSD 3-Clause New or Revised License | projectacrn/acrn-hypervisor | hv: extend union dmar_ir_entry to support VT-d posted interrupts
Exend union dmar_ir_entry to support VT-d posted interrupts.
Rename some fields of union dmar_ir_entry:
entry --> value
sw_bits --> avail
Tracked-On: #4506
Signed-off-by: dongshen <dongsheng.x.zhang@intel.com>
Reviewed-by: Eddie Dong <eddie.dong@In... |
528,654 | 30.03.2020 10:57:54 | -28,800 | 7f342bf62faba0420d9a4898e79809dec7475138 | hv: list: rename list_entry to container_of
This function casts a member of a structure out to the containing structure.
So rename to container_of is more readable. | [
{
"change_type": "MODIFY",
"old_path": "hypervisor/arch/x86/guest/vcpu.c",
"new_path": "hypervisor/arch/x86/guest/vcpu.c",
"diff": "@@ -232,7 +232,7 @@ struct acrn_vcpu *get_running_vcpu(uint16_t pcpu_id)\nstruct acrn_vcpu *vcpu = NULL;\nif ((curr != NULL) && (!is_idle_thread(curr))) {\n- vcpu = lis... | C | BSD 3-Clause New or Revised License | projectacrn/acrn-hypervisor | hv: list: rename list_entry to container_of
This function casts a member of a structure out to the containing structure.
So rename to container_of is more readable.
Tracked-On: #4550
Signed-off-by: Li Fei1 <fei1.li@intel.com> |
528,654 | 30.03.2020 11:45:31 | -28,800 | a7768fdb6af0cecd153474fab9bdc69b7729b81b | hv: vlapic: remove vcpu/vm structure pointer from vlapic
We could use container_of to get vcpu/vm structure pointer from vlapic. So vcpu/vm
structure pointer is no need in vlapic structure. | [
{
"change_type": "MODIFY",
"old_path": "hypervisor/arch/x86/guest/vlapic.c",
"new_path": "hypervisor/arch/x86/guest/vlapic.c",
"diff": "@@ -64,6 +64,11 @@ static inline uint32_t prio(uint32_t x)\n#define DBG_LEVEL_VLAPIC 6U\n+static inline struct acrn_vcpu *vlapic2vcpu(const struct acrn_vlapic *vlap... | C | BSD 3-Clause New or Revised License | projectacrn/acrn-hypervisor | hv: vlapic: remove vcpu/vm structure pointer from vlapic
We could use container_of to get vcpu/vm structure pointer from vlapic. So vcpu/vm
structure pointer is no need in vlapic structure.
Tracked-On: #4550
Signed-off-by: Li Fei1 <fei1.li@intel.com> |
528,654 | 30.03.2020 13:32:27 | -28,800 | 0a7770cbb7d9a98f33c0f9fe9997adbb09e8367a | hv: vpci: remove vm structure pointer from vpci
We could use container_of to get vm structure pointer from vpci. So vm
structure pointer is no need in vpci structure. | [
{
"change_type": "MODIFY",
"old_path": "hypervisor/dm/vpci/pci_pt.c",
"new_path": "hypervisor/dm/vpci/pci_pt.c",
"diff": "@@ -42,7 +42,6 @@ static void vdev_pt_unmap_msix(struct pci_vdev *vdev)\nuint32_t i;\nuint64_t addr_hi, addr_lo;\nstruct pci_msix *msix = &vdev->msix;\n- struct acrn_vm *vm = vde... | C | BSD 3-Clause New or Revised License | projectacrn/acrn-hypervisor | hv: vpci: remove vm structure pointer from vpci
We could use container_of to get vm structure pointer from vpci. So vm
structure pointer is no need in vpci structure.
Tracked-On: #4550
Signed-off-by: Li Fei1 <fei1.li@intel.com> |
528,654 | 30.03.2020 13:50:31 | -28,800 | 1946661c51651896d7b6fb1fb5bdac31637e9bc9 | hv: vpic: remove vm structure pointer from vpic
We could use container_of to get vm structure pointer from vpic. So vm
structure pointer is no need in vpic structure. | [
{
"change_type": "MODIFY",
"old_path": "hypervisor/dm/vpic.c",
"new_path": "hypervisor/dm/vpic.c",
"diff": "static void vpic_set_pinstate(struct acrn_vpic *vpic, uint32_t pin, uint8_t level);\n+static inline struct acrn_vm *vpic2vm(const struct acrn_vpic *vpic)\n+{\n+ return container_of(container_o... | C | BSD 3-Clause New or Revised License | projectacrn/acrn-hypervisor | hv: vpic: remove vm structure pointer from vpic
We could use container_of to get vm structure pointer from vpic. So vm
structure pointer is no need in vpic structure.
Tracked-On: #4550
Signed-off-by: Li Fei1 <fei1.li@intel.com> |
528,654 | 30.03.2020 14:02:24 | -28,800 | 2b7168da9e38d7b7163847d61d89833ceec0e0a2 | hv: vmtrr: remove vcpu structure pointer from vmtrr
We could use container_of to get vcpu structure pointer from vmtrr. So vcpu
structure pointer is no need in vmtrr structure. | [
{
"change_type": "MODIFY",
"old_path": "hypervisor/arch/x86/guest/vmtrr.c",
"new_path": "hypervisor/arch/x86/guest/vmtrr.c",
"diff": "@@ -43,6 +43,11 @@ static struct fixed_range_mtrr_maps fixed_mtrr_map[FIXED_RANGE_MTRR_NUM] = {\n{ MSR_IA32_MTRR_FIX4K_F8000, 0xF8000U, 0x1000U },\n};\n+static inline... | C | BSD 3-Clause New or Revised License | projectacrn/acrn-hypervisor | hv: vmtrr: remove vcpu structure pointer from vmtrr
We could use container_of to get vcpu structure pointer from vmtrr. So vcpu
structure pointer is no need in vmtrr structure.
Tracked-On: #4550
Signed-off-by: Li Fei1 <fei1.li@intel.com> |
528,654 | 31.03.2020 11:39:44 | -28,800 | ea2616fbbf7e73d0fcd90e0b2fc0a93596cdc316 | hv: vlapic: minor fix about dereference vcpu from vlapic
Since vcpu if remove from vlapic, we could not dereference it directly. | [
{
"change_type": "MODIFY",
"old_path": "hypervisor/arch/x86/guest/vlapic.c",
"new_path": "hypervisor/arch/x86/guest/vlapic.c",
"diff": "@@ -1689,8 +1689,8 @@ vlapic_reset(struct acrn_vlapic *vlapic, const struct acrn_apicv_ops *ops, enum\n}\n/**\n- * @pre vlapic-...->vm != NULL\n- * @pre vlapic-...-... | C | BSD 3-Clause New or Revised License | projectacrn/acrn-hypervisor | hv: vlapic: minor fix about dereference vcpu from vlapic
Since vcpu if remove from vlapic, we could not dereference it directly.
Tracked-On: #4550
Signed-off-by: Li Fei1 <fei1.li@intel.com> |
528,731 | 27.03.2020 16:30:12 | -28,800 | 1c925187aba69b200b2e8d5d4e07f6500e54ca54 | doc: vt-d: update the description of snoop control | [
{
"change_type": "MODIFY",
"old_path": "doc/developer-guides/hld/hv-vt-d.rst",
"new_path": "doc/developer-guides/hld/hv-vt-d.rst",
"diff": "@@ -234,14 +234,24 @@ combination of:\n- snoop\n- Snoop\n-ACRN enable Snoop Control by default if all enabled VT-d DMAR units\n-support Snoop Control by setting... | C | BSD 3-Clause New or Revised License | projectacrn/acrn-hypervisor | doc: vt-d: update the description of snoop control
Tracked-On: #4509
Signed-off-by: Binbin Wu <binbin.wu@intel.com> |
528,729 | 25.03.2020 15:03:08 | -28,800 | b55f414a9dc8d09168798a104fe3c64e63b57dd0 | HV: Removed unused member variable of iommu_domain and related code
hv: vtd: removed is_host (always false) and is_tt_ept (always true) member
variables of struct iommu_domain and related codes since the values are
always determined.
Acked-by: Eddie Dong | [
{
"change_type": "MODIFY",
"old_path": "hypervisor/arch/x86/vtd.c",
"new_path": "hypervisor/arch/x86/vtd.c",
"diff": "@@ -1054,7 +1054,7 @@ static int32_t iommu_attach_device(struct iommu_domain *domain, uint8_t bus, uin\nstruct dmar_entry *context;\nstruct dmar_entry *root_entry;\nstruct dmar_entry... | C | BSD 3-Clause New or Revised License | projectacrn/acrn-hypervisor | HV: Removed unused member variable of iommu_domain and related code
hv: vtd: removed is_host (always false) and is_tt_ept (always true) member
variables of struct iommu_domain and related codes since the values are
always determined.
Tracked-On: #4535
Signed-off-by: Qian Wang <qian1.wang@intel.com>
Reviewed-by: Binbi... |
528,729 | 27.03.2020 10:28:27 | -28,800 | fc9f08990282f580e177b50030434b94fd68e145 | HV: remove multi-return in drhd_find_iter
hv: dmar_parse: remove multi-return in drhd_find_iter
Acked-by: Eddie Dong | [
{
"change_type": "MODIFY",
"old_path": "hypervisor/acpi_parser/dmar_parse.c",
"new_path": "hypervisor/acpi_parser/dmar_parse.c",
"diff": "@@ -70,17 +70,20 @@ static int32_t\ndrhd_find_iter(struct acpi_dmar_header *dmar_header, void *arg)\n{\nstruct find_iter_args *args;\n+ int32_t ret = 1;\n- if (dm... | C | BSD 3-Clause New or Revised License | projectacrn/acrn-hypervisor | HV: remove multi-return in drhd_find_iter
hv: dmar_parse: remove multi-return in drhd_find_iter
Tracked-On: #4535
Signed-off-by: Qian Wang <qian1.wang@intel.com>
Reviewed-by: Binbin Wu <binbin.wu@intel.com>
Acked-by: Eddie Dong <eddie.dong@intel.com> |
528,729 | 26.03.2020 10:58:44 | -28,800 | a1e081073f6f2f86222b1ce86032e461378eed3b | HV: Corrected return type of two static functions
hv: vtd: corrected the return type of get_qi_queue and get_ir_table to
void *
Acked-by: Eddie Dong | [
{
"change_type": "MODIFY",
"old_path": "hypervisor/arch/x86/vtd.c",
"new_path": "hypervisor/arch/x86/vtd.c",
"diff": "@@ -167,16 +167,16 @@ static inline uint8_t *get_ctx_table(uint32_t dmar_index, uint8_t bus_no)\n/*\n* @pre dmar_index < CONFIG_MAX_IOMMU_NUM\n*/\n-static inline uint8_t *get_qi_queu... | C | BSD 3-Clause New or Revised License | projectacrn/acrn-hypervisor | HV: Corrected return type of two static functions
hv: vtd: corrected the return type of get_qi_queue and get_ir_table to
void *
Tracked-On: #4535
Signed-off-by: Qian Wang <qian1.wang@intel.com>
Reviewed-by: Binbin Wu <binbin.wu@intel.com>
Acked-by: Eddie Dong <eddie.dong@intel.com> |
528,729 | 27.03.2020 10:47:05 | -28,800 | c2bcf9fade336982a3fe7836c42a95b0b537b792 | HV: simplified the logic of iommu_read/write64
hv: vtd: simplified the logic of iommu_read/write64
Acked-by: Eddie Dong | [
{
"change_type": "MODIFY",
"old_path": "hypervisor/arch/x86/vtd.c",
"new_path": "hypervisor/arch/x86/vtd.c",
"diff": "@@ -237,13 +237,7 @@ static uint32_t iommu_read32(const struct dmar_drhd_rt *dmar_unit, uint32_t offs\nstatic uint64_t iommu_read64(const struct dmar_drhd_rt *dmar_unit, uint32_t off... | C | BSD 3-Clause New or Revised License | projectacrn/acrn-hypervisor | HV: simplified the logic of iommu_read/write64
hv: vtd: simplified the logic of iommu_read/write64
Tracked-On: #4535
Signed-off-by: Qian Wang <qian1.wang@intel.com>
Reviewed-by: Binbin Wu <binbin.wu@intel.com>
Acked-by: Eddie Dong <eddie.dong@intel.com> |
528,729 | 26.03.2020 11:15:11 | -28,800 | 60704a5d9ca5641625221cba7f1dd452bb3c4098 | HV: renamed some static functions related to dmar
hv: vtd: renamed some static functions from dmar_verb to verb_dmar
Acked-by: Eddie Dong | [
{
"change_type": "MODIFY",
"old_path": "hypervisor/arch/x86/vtd.c",
"new_path": "hypervisor/arch/x86/vtd.c",
"diff": "@@ -979,7 +979,7 @@ static void dmar_disable_qi(struct dmar_drhd_rt *dmar_unit)\nspinlock_release(&(dmar_unit->lock));\n}\n-static void dmar_prepare(struct dmar_drhd_rt *dmar_unit)\n... | C | BSD 3-Clause New or Revised License | projectacrn/acrn-hypervisor | HV: renamed some static functions related to dmar
hv: vtd: renamed some static functions from dmar_verb to verb_dmar
Tracked-On: #4535
Signed-off-by: Qian Wang <qian1.wang@intel.com>
Reviewed-by: Binbin Wu <binbin.wu@intel.com>
Acked-by: Eddie Dong <eddie.dong@intel.com> |
528,729 | 25.03.2020 15:39:31 | -28,800 | 698ad6bd4de634efb037c00e4ba5407a91ec820b | HV: renamed some structs more understandably
hv: pci: renamed some internal data structs to make them more
understandable
Acked-by: Eddie Dong | [
{
"change_type": "MODIFY",
"old_path": "hypervisor/hw/pci.c",
"new_path": "hypervisor/hw/pci.c",
"diff": "@@ -344,28 +344,28 @@ static void pci_init_pdev(union pci_bdf pbdf, uint32_t drhd_index)\n/*\n* must be >= total Endpoints in all DRDH devscope\n- * TODO: BDF_SET_LEN is a good candidate to move... | C | BSD 3-Clause New or Revised License | projectacrn/acrn-hypervisor | HV: renamed some structs more understandably
hv: pci: renamed some internal data structs to make them more
understandable
Tracked-On: #4535
Signed-off-by: Qian Wang <qian1.wang@intel.com>
Reviewed-by: Binbin Wu <binbin.wu@intel.com>
Acked-by: Eddie Dong <eddie.dong@intel.com> |
528,729 | 27.03.2020 14:04:06 | -28,800 | c20228d36f174d6a9d7e02239fcebbd03af3f906 | HV: simplified the logic of dmar_wait_completion
hv: vtd: simplified the logic of dmar_wait_completion
Acked-by: Eddie Dong | [
{
"change_type": "MODIFY",
"old_path": "hypervisor/arch/x86/vtd.c",
"new_path": "hypervisor/arch/x86/vtd.c",
"diff": "@@ -251,33 +251,17 @@ static void iommu_write64(const struct dmar_drhd_rt *dmar_unit, uint32_t offset,\n}\nstatic inline void dmar_wait_completion(const struct dmar_drhd_rt *dmar_uni... | C | BSD 3-Clause New or Revised License | projectacrn/acrn-hypervisor | HV: simplified the logic of dmar_wait_completion
hv: vtd: simplified the logic of dmar_wait_completion
Tracked-On: #4535
Signed-off-by: Qian Wang <qian1.wang@intel.com>
Reviewed-by: Binbin Wu <binbin.wu@intel.com>
Acked-by: Eddie Dong <eddie.dong@intel.com> |
528,729 | 30.03.2020 10:51:38 | -28,800 | da027ff6223326f5c07a99dd46fe1eebde4b7dd6 | HV: Changed enum to marco to pass MISRA-C check
hv: acpi: changed the enum "acpi_dmar_type" to macros to pass the
MISRA-C check
Acked-by: Eddie Dong | [
{
"change_type": "MODIFY",
"old_path": "hypervisor/boot/include/acpi.h",
"new_path": "hypervisor/boot/include/acpi.h",
"diff": "#define ACPI_MADT_ENABLED 1U\n#define ACPI_MADT_TYPE_LOCAL_APIC_NMI 4U\n+#define ACPI_DMAR_TYPE_HARDWARE_UNIT 0U\n+#define ACPI_DMAR_TYPE_RESERVED_MEMORY 1U\n+#define ACPI_... | C | BSD 3-Clause New or Revised License | projectacrn/acrn-hypervisor | HV: Changed enum to marco to pass MISRA-C check
hv: acpi: changed the enum "acpi_dmar_type" to macros to pass the
MISRA-C check
Tracked-On: #4535
Signed-off-by: Qian Wang <qian1.wang@intel.com>
Reviewed-by: Binbin Wu <binbin.wu@intel.com>
Acked-by: Eddie Dong <eddie.dong@intel.com> |
528,769 | 01.04.2020 02:35:12 | 0 | 122b2185ce7194ab484390071af8c0ba81ffadbd | Doc: update building acrn in docker for V1.6
One known issue :acrn-issue:`4560` during build ACRN HV.
Please refer to next section to get Docker Image from Docker Hub. | [
{
"change_type": "MODIFY",
"old_path": "doc/tutorials/building_acrn_in_docker.rst",
"new_path": "doc/tutorials/building_acrn_in_docker.rst",
"diff": "@@ -31,6 +31,10 @@ This tutorial presents two ways to get the Clear Linux Docker image that's neede\nBuild the Docker Image from Dockerfile\n=========... | C | BSD 3-Clause New or Revised License | projectacrn/acrn-hypervisor | Doc: update building acrn in docker for V1.6
One known issue :acrn-issue:`4560` during build ACRN HV.
Please refer to next section to get Docker Image from Docker Hub.
Signed-off-by: fangfang.shen <fangfang.shen@intel.com> |
528,708 | 01.04.2020 10:26:06 | -28,800 | 0244bcaf5de5ded01173bc9925bb9d2a058b300d | Doc: releasenotes_1.6 | [
{
"change_type": "ADD",
"old_path": null,
"new_path": "doc/release_notes/release_notes_1.6.rst",
"diff": "+.. _release_notes_1.6:\n+\n+ACRN v1.6 (Mar 2020)\n+####################\n+\n+We are pleased to announce the release of ACRN version 1.6.\n+\n+ACRN is a flexible, lightweight reference hyperviso... | C | BSD 3-Clause New or Revised License | projectacrn/acrn-hypervisor | Doc: releasenotes_1.6
Signed-off-by: fuzhongl <fuzhong.liu@intel.com> |
528,709 | 04.03.2020 09:34:17 | -28,800 | 6a9319b685cec55905f3ee2b0db9ff5df6d2bd68 | acrn-config: dump iomem info from /proc/iomem
Need more information from iomem, so dump all the iomem information
from /proc/iomem to instead of system ram information.
Acked-by: Victor Sun
Acked-by: Terry Zou | [
{
"change_type": "MODIFY",
"old_path": "misc/acrn-config/board_config/new_board_kconfig.py",
"new_path": "misc/acrn-config/board_config/new_board_kconfig.py",
"diff": "@@ -61,9 +61,12 @@ def get_ram_range():\n# read system ram from board_info.xml\nram_range = {}\n- sys_mem_lines = board_cfg_lib.get_... | C | BSD 3-Clause New or Revised License | projectacrn/acrn-hypervisor | acrn-config: dump iomem info from /proc/iomem
Need more information from iomem, so dump all the iomem information
from /proc/iomem to instead of system ram information.
Tracked-On: #4569
Signed-off-by: Wei Liu <weix.w.liu@intel.com>
Acked-by: Victor Sun <victor.sun@intel.com>
Acked-by: Terry Zou <terry.zou@intel.com> |
528,709 | 27.03.2020 17:15:06 | -28,800 | 5c297be955667006661bbbac72e8d80d99243efa | acrn-config: find 64-bit mmio for HI_MMIO_START/HI_MMIO_END
Find the 64-bit mmio window from /proc/iomem to generate HI_MMIO_START/HI_MMIO_END.
Acked-by: Victor Sun
Acked-by: Terry Zou | [
{
"change_type": "MODIFY",
"old_path": "misc/acrn-config/board_config/misc_cfg_h.py",
"new_path": "misc/acrn-config/board_config/misc_cfg_h.py",
"diff": "@@ -70,6 +70,47 @@ def parse_boot_info():\nreturn (err_dic, sos_cmdlines, sos_rootfs, vuart0_dic, vuart1_dic, vm_types)\n+def find_hi_mmio_window(... | C | BSD 3-Clause New or Revised License | projectacrn/acrn-hypervisor | acrn-config: find 64-bit mmio for HI_MMIO_START/HI_MMIO_END
Find the 64-bit mmio window from /proc/iomem to generate HI_MMIO_START/HI_MMIO_END.
Tracked-On: #4569
Signed-off-by: Wei Liu <weix.w.liu@intel.com>
Acked-by: Victor Sun <victor.sun@intel.com>
Acked-by: Terry Zou <terry.zou@intel.com> |
528,747 | 01.04.2020 18:07:58 | 25,200 | 58fc6eeec90d02acd69b14073dbcfc570e4b59d2 | doc: add 1.6 to doc version menu
Update doc version choice selector with the 1.6 release | [
{
"change_type": "MODIFY",
"old_path": "doc/conf.py",
"new_path": "doc/conf.py",
"diff": "@@ -186,6 +186,7 @@ else:\nhtml_context = {\n'current_version': current_version,\n'versions': ( (\"latest\", \"/latest/\"),\n+ (\"1.6\", \"/1.6/\"),\n(\"1.5\", \"/1.5/\"),\n(\"1.4\", \"/1.4/\"),\n(\"1.3\", \"/1... | C | BSD 3-Clause New or Revised License | projectacrn/acrn-hypervisor | doc: add 1.6 to doc version menu
Update doc version choice selector with the 1.6 release
Signed-off-by: David B. Kinder <david.b.kinder@intel.com> |
528,731 | 30.03.2020 14:40:58 | -28,800 | fcd9a1ca73366aca2b03c060806f361412cc568c | hv: vtd: use local var instead of global var
In dmar_issue_qi_request, currently use a global var qi_status, which could
cause potential issue when concurrent call to dmar_issue_qi_request for different
DMAR units.
Use local var instead.
Acked-by: Eddie Dong | [
{
"change_type": "MODIFY",
"old_path": "hypervisor/arch/x86/vtd.c",
"new_path": "hypervisor/arch/x86/vtd.c",
"diff": "@@ -194,7 +194,6 @@ bool iommu_snoop_supported(const struct iommu_domain *iommu)\nstatic struct dmar_drhd_rt dmar_drhd_units[MAX_DRHDS];\nstatic bool iommu_page_walk_coherent = true;... | C | BSD 3-Clause New or Revised License | projectacrn/acrn-hypervisor | hv: vtd: use local var instead of global var
In dmar_issue_qi_request, currently use a global var qi_status, which could
cause potential issue when concurrent call to dmar_issue_qi_request for different
DMAR units.
Use local var instead.
Tracked-On: #4535
Signed-off-by: Shiqing Gao <shiqing.gao@intel.com>
Signed-off-... |
528,794 | 30.03.2020 13:25:41 | -28,800 | 3888c444ccb0c3271f9e05e44e4d0f7eafbcc403 | HV: misra fix for multiboot2.c
The patch fixed a few misra violations for multiboot2.c; | [
{
"change_type": "MODIFY",
"old_path": "hypervisor/boot/include/boot.h",
"new_path": "hypervisor/boot/include/boot.h",
"diff": "@@ -51,6 +51,9 @@ static inline bool boot_from_multiboot1(void)\n}\n#ifdef CONFIG_MULTIBOOT2\n+/*\n+ * @post boot_regs[1] stores the address pointer that point to a valid m... | C | BSD 3-Clause New or Revised License | projectacrn/acrn-hypervisor | HV: misra fix for multiboot2.c
The patch fixed a few misra violations for multiboot2.c;
Tracked-On: #4419
Signed-off-by: Victor Sun <victor.sun@intel.com> |
528,709 | 03.04.2020 10:07:01 | -28,800 | dc7f218314f6fda95563acf521f3557fd6d3d40d | acrn-config: update IOMEM_INFO of tgl-rvp board
As we did in commit: need
to update IOMEM_INFO for tgl-rvp.
Acked-by: Victor Sun | [
{
"change_type": "MODIFY",
"old_path": "misc/acrn-config/xmls/board-xmls/tgl-rvp.xml",
"new_path": "misc/acrn-config/xmls/board-xmls/tgl-rvp.xml",
"diff": "rdt resource mask max: '0xff'\n</CLOS_INFO>\n- <SYSTEM_RAM_INFO>\n+ <IOMEM_INFO>\n+ 00000000-00000fff : Reserved\n00001000-0009efff : System RAM... | C | BSD 3-Clause New or Revised License | projectacrn/acrn-hypervisor | acrn-config: update IOMEM_INFO of tgl-rvp board
As we did in commit: 697f3fc09f0e2677fa4aa592c8a44da54a8e6ab8, need
to update IOMEM_INFO for tgl-rvp.
Tracked-On: #4582
Signed-off-by: Wei Liu <weix.w.liu@intel.com>
Acked-by: Victor Sun <victor.sun@intel.com> |
528,747 | 07.04.2020 14:49:38 | 25,200 | 415b6f5030decad351db6003ed628068e4ff2b31 | doc: add google analytics tag | [
{
"change_type": "MODIFY",
"old_path": "doc/conf.py",
"new_path": "doc/conf.py",
"diff": "@@ -217,6 +217,7 @@ html_static_path = ['static']\ndef setup(app):\napp.add_stylesheet(\"acrn-custom.css\")\n+ app.add_javascript(\"https://www.googletagmanager.com/gtag/js?id=UA-831873-64\")\napp.add_javascrip... | C | BSD 3-Clause New or Revised License | projectacrn/acrn-hypervisor | doc: add google analytics tag
Signed-off-by: David B. Kinder <david.b.kinder@intel.com> |
528,747 | 01.04.2020 20:31:15 | 25,200 | a5ef52094fa31b18f0f425e5720688bc71884e57 | doc: remove "Glossary" icon box on home page
Adding a big box for the glossary disturbed the home page layout and is
overkill for this one document. Adding the glossary to the left
navigation menu is sufficient. | [
{
"change_type": "MODIFY",
"old_path": "doc/index.rst",
"new_path": "doc/index.rst",
"diff": "@@ -64,13 +64,6 @@ through an open source platform.\n</a>\n<p>Supported hardware platforms and boards</p>\n</li>\n- <li class=\"grid-item\">\n- <a href=\"glossary.html\">\n- <img alt=\"\" src=\"_static/imag... | C | BSD 3-Clause New or Revised License | projectacrn/acrn-hypervisor | doc: remove "Glossary" icon box on home page
Adding a big box for the glossary disturbed the home page layout and is
overkill for this one document. Adding the glossary to the left
navigation menu is sufficient.
Signed-off-by: David B. Kinder <david.b.kinder@intel.com> |
528,747 | 01.04.2020 21:39:26 | 25,200 | 7b969d15c0055fd25afdcc74c785904439d505c5 | doc: organize security advisory doc
Add headings to organize security advisory doc by release to make it a
bit easier to read. | [
{
"change_type": "MODIFY",
"old_path": "doc/asa.rst",
"new_path": "doc/asa.rst",
"diff": ".. _asa:\nSecurity Advisory\n-*****************\n+#################\n-We recommend that all developers upgrade to this v1.6 release, which\n+Addressed in ACRN v1.6\n+**********************\n+\n+We recommend tha... | C | BSD 3-Clause New or Revised License | projectacrn/acrn-hypervisor | doc: organize security advisory doc
Add headings to organize security advisory doc by release to make it a
bit easier to read.
Signed-off-by: David B. Kinder <david.b.kinder@intel.com> |
528,747 | 07.04.2020 15:54:34 | 25,200 | 3a326056fd41ee6b0ba88ab2fab8f347ea2eb229 | doc: some additional google analytics code | [
{
"change_type": "MODIFY",
"old_path": "doc/conf.py",
"new_path": "doc/conf.py",
"diff": "@@ -218,6 +218,7 @@ html_static_path = ['static']\ndef setup(app):\napp.add_stylesheet(\"acrn-custom.css\")\napp.add_javascript(\"https://www.googletagmanager.com/gtag/js?id=UA-831873-64\")\n+ # note more GA ta... | C | BSD 3-Clause New or Revised License | projectacrn/acrn-hypervisor | doc: some additional google analytics code
Signed-off-by: David B. Kinder <david.b.kinder@intel.com> |
528,654 | 02.04.2020 10:19:05 | -28,800 | 572f755037688d23c2b20ee774cd79083f3e18e0 | hv: vm: refine the devices unregistration sequence of vm shutdown
Conceptually, the devices unregistration sequence of the shutdown process should be
opposite to create. | [
{
"change_type": "MODIFY",
"old_path": "hypervisor/arch/x86/guest/vm.c",
"new_path": "hypervisor/arch/x86/guest/vm.c",
"diff": "@@ -444,16 +444,16 @@ int32_t create_vm(uint16_t vm_id, struct acrn_vm_config *vm_config, struct acrn_\nvpic_init(vm);\n}\n- /* Create virtual uart;*/\n- init_vuart(vm, vm_... | C | BSD 3-Clause New or Revised License | projectacrn/acrn-hypervisor | hv: vm: refine the devices unregistration sequence of vm shutdown
Conceptually, the devices unregistration sequence of the shutdown process should be
opposite to create.
Tracked-On: #4550
Signed-off-by: Li Fei1 <fei1.li@intel.com> |
528,654 | 07.04.2020 14:41:43 | -28,800 | 2d66d39529b2fcfe228f6c830c30d82db8e889e3 | hv: vpci: refine comment for pci_vdev_update_vbar_base
Refine why we set the base_gpa to zero for a vBAR. | [
{
"change_type": "MODIFY",
"old_path": "hypervisor/dm/vpci/vdev.c",
"new_path": "hypervisor/dm/vpci/vdev.c",
"diff": "@@ -137,10 +137,9 @@ static void pci_vdev_update_vbar_base(struct pci_vdev *vdev, uint32_t idx)\n}\nif ((base != 0UL) && !ept_is_mr_valid(vpci2vm(vdev->vpci), base, vdev->vbars[idx].... | C | BSD 3-Clause New or Revised License | projectacrn/acrn-hypervisor | hv: vpci: refine comment for pci_vdev_update_vbar_base
Refine why we set the base_gpa to zero for a vBAR.
Tracked-On: #3475
Signed-off-by: Li Fei1 <fei1.li@intel.com> |
528,709 | 26.03.2020 17:07:49 | -28,800 | ed8ac484ad9c20abb7e3457778643a2e8c97acda | acrn-config: remove the same parameters and functions from board_cfg_lib
Board config should relay on library/common.py and board_cfg_lib, then
remove the duplicate parameters and functions.
Acked-by: Victor Sun
Acked-by: Terry Zou | [
{
"change_type": "MODIFY",
"old_path": "misc/acrn-config/board_config/acpi_platform_h.py",
"new_path": "misc/acrn-config/board_config/acpi_platform_h.py",
"diff": "#\nimport board_cfg_lib\n+import common\nPLATFORM_HEADER = r\"\"\"/* DO NOT MODIFY THIS FILE UNLESS YOU KNOW WHAT YOU ARE DOING!\n*/\n@@... | C | BSD 3-Clause New or Revised License | projectacrn/acrn-hypervisor | acrn-config: remove the same parameters and functions from board_cfg_lib
Board config should relay on library/common.py and board_cfg_lib, then
remove the duplicate parameters and functions.
Tracked-On: #3854
Signed-off-by: Wei Liu <weix.w.liu@intel.com>
Acked-by: Victor Sun <victor.sun@intel.com>
Acked-by: Terry Zou... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.