From b085e7527f40f7eb3b670729052d4173b1dcf446 Mon Sep 17 00:00:00 2001 From: Miguel Bernal Marin Date: Tue, 29 Jan 2019 06:49:59 -0600 Subject: [PATCH] acrn-hypervisor: update to acrn-2019w05.2-140000p Li, Fei1 (28): hv: add fast string enhanced rep movsb/stosb check on initial hv: refine memset hv: refine memcpy_s hv: lib: remove memchr hv: coding style: refine memory.c hv: coding style: refine mmu.c hv: coding style: refine page related hv: coding style: remove no real declaration for external variable hv: coding style: refine hcall_initialize_trusty to one exit hv: coding style: refine initialize_trusty to one exit hv: coding style: refine trusty hv: coding style: refine find_vcpuid_entry hv: coding style: refine set_vcpuid_entries to one exit hv: coding style: refine cpu related function to one exit hv: lib: refine inline assembly use in bitmap operation hv: coding style: refine the remaining functions to one exit point hv: Makefile: remove unused MACRO hv: coding style: use the defined data type __packed hv: coding style: add `const` qualifier for some function hv: coding style: remove basic type declaration use hv: coding style: refine functions under dm/ to one exit point hv: inst_emul: clean the "Procedure has more than one exit point" hv: instr_emul: refine vie_calculate_gla to void hv: instr_emul: remove goto in get_gva_di_check hv: instr_emul: refine decode_prefixes to one exit point hv: instr_emul: add `const` qualifier for some function hv: security: remove superfluous prototype hv: coding style: remove unnecessary conditional operators Shiqing Gao (28): hv: vmcs: fix MISRA-C violations related to style hv: vmcs: fix MISRA-C violations related to variable scope hv: vmcs: fix MISRA-C violations related to pointer hv: vmcs: fix MISRA-C violations related to multiple exits hv: string: fix MISRA-C violations related to break hv: string: fix MISRA-C violations related to style hv: move `atoi` and `strtol_dec` to debug directory hv: io: fix MISRA-C violations related to style hv: io: fix MISRA-C violations related to multiple exits hv: vmexit: fix MISRA-C violations related to multiple exits hv: ept: fix MISRA-C violations hv: cpu_state_tbl: fix multiple exits hv: remove duplicated `is_vmx_disabled` hv: io: fix MISRA-C violations related to break hv: mmio_read: add `const` qualifier doc: initial draft of ACRN coding guidelines hv: rename register_io_emulation_handler doc: rename register_io_emulation_handler hv: move `dm/hw/pci.c` to `hw/pci.c` hv: code clean-up in `hw/pci.c` hv: vlapic: code clean-up doc: add more rules in coding guidelines hv: init: minor fix related to header file hv: string: rename `s1` and `s2` hv: idt: separate the MACRO definition hv: Makefile: add the dependency of $(LIB_FLAGS) hv: vlapic: remove `calcvdest` doc: add more rules in coding guidelines Victor Sun (25): HV: code style change for sbl_seed_parse.c HV: code style change for abl_seed_parse.c HV: code style change for multiboot.c HV: code style change for reloc.c HV: code style change for acpi.c HV: refine vmptable for partition mode HV: rename cb2_dnv to dnv_cb2 HV: rename dnv_cb2 to dnv-cb2 HV: rename the term of vm_description to vm_config HV: add new acrn_vm_config member and config files HV: remove unused mptable info HV: rename the term of vm0 to sos vm HV: refine launch vm interface HV: show correct vm name per config HV: add get_sos_vm api HV: remove sworld_supported in acrn_vm_config HV: remove unused vm num config HV: enable pcpu bitmap config for partition mode HV: remove vm_config pointer in acrn_vm struct HV: replace memory config with acrn_vm_mem_config HV: replace bootargs config with acrn_vm_os_config HV: replace lapic_pt with guest flag in vm_config HV: move Kconfig IOREQ_POLLING to acrn vm config HV: sanitize vm config HV: refine sos_vm config header Chaohong guo (24): HV: APICBASE_RESERVED definition is not used by any code. Just remove it HV: move global variable into the scope of calling function HV: remove few return statement in while loop of copy_gva function HV: remove multiple return statement in get_vcpu_paging_mode() routine HV: add const qualifier for functions' argments in vlapic.c HV: trival changes to meet MISRA HV: Remove goto statement in guest.c HV: remove multiple exit/return in routines in the file of vlapic.c HV: cycomatic complexity 20 in vlapic_icrlo_write_handler HV: remove multiple exits in vlapic_set_intr_ready() HV: Remove goto in vlapic_read() HV: remove multi returns in vlapic_set_apicbase HV: remove multi-returns in few routine in guest.c HV: add empty else statement for if condition in vlapic.c HV: misra clean for guest.c file HV: Removed ununsed struct vm_lu_mem_map from guest.h HV: fix MISRA issue in apicv_pending_intr() EFI: Allocate 2M aligned memory for hypervisor image EFI: Allocate EFI boot related struct from EFI allocation pool HV: save efi_ctx into HV to use after init_paging() HV: adjust the starting addr of HV to be 2M-aligned HV: init_paging() wrongly calcuate the size of hypervisor HV: fix per-cpu stack relocation in trampoline.c HV: modify RELOC kconfig option default to "enable" Jason Chen CJ (24): modulization: separate vmx.c into two parts cleanup vmcs source and header files modulization: vmx on/off should not use vcpu param modulization: move functions related with cpu caps into cpu_caps.c modulization: combine vmx_caps into cpu_caps change get_monitor_cap to has_monitor_cap refine in cpu_caps.c refine apicv capability check make detect_cpu_cap as internal function move security related funcs into security.c function name change in init.c Fix Misra C violation in cpu_caps.c and security.c Make ibrs_type as internal variable scheduler: refine runqueue related functions scheduler: refine make_reschedule_request scheduler: make scheduling based on struct sched_object init: move init_scheduler into cpu.c schedule: use per_cpu idle object schedule: add full context switch support io_emul: remove pending_pre_work io_emul: reshuffle io emulation path io_emul: reorg function definition to pass partition mode build make sure secondary CPU's stack is aligned with CPU STACK replace arch_switch_to with pure asm code instead of inline asm Mingqiang Chi (22): hv:refine alloc_vm_id api hv:refine prepare_vm0 api hv:fix MISRA-C violations in create_vm hv:Change phys_cpu_num to static hv:Change pcpu_active_bitmap to static hv:Move pm state structure to pm.h hv:Change structure boot_cpu_data to static hv:Rename several APIs for vpic and vioapic hv: ioapic: Change interrupt pin to uint32_t hv: vpic: Change interrupt pin to uint32_t hv: vioapici: Change interrupt pin to uint32_t hv: passthrough: Change interrupt pin to uint32_t hv: shell & vuart: Change interrupt pin to uint32_t hv:Unify the MACRO name for invalid interrupt pin hv:fix MISRA-C violation in multiboot.c hv:Fix violation "Cyclomatic complexity greater than 20" in instr_emul.c hv:Change acrn_vhm_vector to static hv:modulization for IO Emulation hv: move 'setup_io_bitmap' to vm.c hv:move ept violation handler to io_emul.c hv:Fix MISRA-C violations in vm.h hv:Move severl variable declaration for boot code Tw (18): hv:vtd: fix MISRA-C violations on scope of variable could be reduced hv:vtd: fix MISRA-C violations on pointer param should be declared pointer to const hv:vtd: fix MISRA-C violations on logical conjunctions need brackets hv:vtd: fix MISRA-C violations on comment possibly contains code hv:vtd: fix MISRA-C violations on pointer not checked for null before use hv:vtd: fix MISRA-C violations on procedure has more than one exit point hv:vtd: fix additional violations in vtd.c Makefile: eliminate mistakes due to deprecated PLATFORM Makefile: specify BOARD&FIRMWARE in sb-hypervisor-install Makefile: add install-samples-up2 script: fix launch_uos script issue due to unseen character config: fix no serial output with SBL on UP2 dm:script: remove ioc related stuff from uos on UP2 Makefile: support SBL binary for E2E build Makefile: add rules for installing debug information Makefile: add missing dependency EFI: fix potential memory overwrite due to mmap table Kconfig: enlarge range of maximum number of IOMMU Minggui Cao (16): HV: modularization to refine pm related code. HV: change serial PCI cfg to bus:dev.func format HV: fix bug adapt uart mmio to bdf for HV cmdline HV: fix pm code for multi-exits & unsigned const DOC: change PCI uart description from mmio to bdf HV: disable vuart when dbg uart is disabled HV: cleanup CONFIG_COM_IRQ related code HV: support vuart base & irq can be changed HV: add API to change vuart base & irq config HV: refine cmdline code, move parts into dbg_cmd DOC: add vuart setting guide to avoid conflict HV: modularization to refine boot/bsp related code. HV: separate const dmar table definition from sbl HV: modularization to separate CR related code HV: check to avoid interrupt delay timer add twice HV: modularization cleanup instr_emul header file Zide Chen (15): hv: MISRA-C fix "identifier reuse" in vpci code hv: vpci: fix "Procedure has more than one exit point" hv: refine a few functions to only one exit point hv: vpci: fix MISRA-C violations related to variable declarations hv: fix MISRA-C violations "Pointer param should be declared pointer to const." hv: fix enable_msr_interception() function hv: add missing MSRs to unsupported_msrs[] hv: disable SMX (Safer Mode Extension) from guest CPUID hv: disable more features from guest CPUID hv: emulate IA32_FEATURE_CONTROL MSR hv: fix MISRA-C violations in dm/vpci hv: fix MISRA-C violations in vpic.c and vioapic.c hv: fix 2 minor MISRA-C violations in inst_emul.c hv: fix MISRA-C violations in vmsr.c hv: add more MSR definitions Binbin Wu (14): dm: passthru: msi/msix handling revisit dm: passthru: add error handling if msix table init failed hv: ptdev: fix MISRAC violations hv: assign: fix MISRA-C violations on implicit type conversion hv: assign: fix MISRA-C violations on potential null pointer deference hv: assign: fix MISRA-C violations on multiple exits hv: assign: remove added ptirq entries if fails to add all hv: assign: change ptirq vpin source type from enum to macro hv: vcpuid: leaf 02h has no subleaf, delete un-needed code. hv: vcpuid: remove unnecessary check code hv: vcpuid: leaf 0dh is percpu related hv: vcpuid: cpuid leaf 07h has subleaf dm: acpi: add PSDS table in ACPI table hv: assign: fix remaining MISRA-C violations Huihuang Shi (14): fix "Procedure has more than one exit point." hv:clean io_request.c misra violations hv: config.h fix "Nested comment found." hv: fix e820.c violations hv: vmcall: fix "goto detected" violations hv: fix sprintf and hypercall violations hv: hypercall: fix simple violations of "Procedure has more than one exit point" hv: hypercall: fix complicated violations of "Procedure has more than one exit point" hv: hypercall: fix "Procedure has more than one exit point" hv: tursty_hypercall: fix "Procedure has more than one exit point" hv: schedule: fix "Procedure has more than one exit point" hv: clean the "Procedure has more than one exit point". fix "goto detected:exception_inject" hv:fix violations Yan, Like (13): hv: lapic: fix MISRA-C violation of potential numeric overflow hv: irq: fix MISRA-C violations in irq.c and idt.h hv: fix mis-usage of "PAGE_SHIFT" hv: set/clear TMR bit like hardware behave hv: rework EOI_EXIT_BITMAP update logic hv: remove ACRN_REQUEST_TMR_UPDATE and unnecessary codes hv: extend lapic pass-through for DM launched VM hv: don't remap msi for pt devices if lapic_pt hv: send IPI instead of irq injection to notify vcpu with lapic pt dm: adapt mptable generation for VM with lapic pt dm: add option "lapic_pt" to create VM for realtime scenarios dm: add example script to launch vm for realtime scenarios hv: fix misra-c violations in reused partition mode functions David B. Kinder (12): doc: fix formatting in NUC GSG doc: fix vhm_request doxygen comment doc: add CSS for non-compliant code examples doc: update footer copyright year doc: spell check and formatting doc: add skylake NUC w/GPU passthrough doc doc: update SKL NUC patch download instructions doc: tweak dm-parameter doc doc: add menu option for 0.5 docs doc: add GVT-g kernel options doc doc: add AGL as VMs on ACRN doc doc: add a FAQ doc Yonghua Huang (10): hv:fix possible buffer overflow in 'ptirq_get_intr_data()' hv: refine coding style for ucode.c hv: update coding style for tampoline.c HV: [v2] bugfix in 'hv_access_memory_region_update()' hv: remove the usage of 'atoi()' hv: fix coding style violations in mmu.c hv: fix coding style violations in acpi.c hv: remove unused fields in 'struct acrn_vcpu' hv: fix possible buffer overflow in 'vcpu_set_eoi_exit()' hv: remove redundant code for virtual interrupt injection root (8): doc: update the doc doc: update launch_uos.sh doc: update the statement doc: license header updated doc: Descriptions about Dupont Wire used added doc: Update the steps for generating 'partition_desc.bin' doc: add 'checkout to release v0.5' doc: supported KBL NUC added yuhong.tao@intel.com (8): hv: virq: refine vcpu_inject_vlapic_int() has more than one exit point hv: virq: refine vcpu_inject_hi_exception() hv: virq: refine acrn_handle_pending_request() use goto instruction hv: virq: refine acrn_handle_pending_request() has more than one exit point hv: virq: refine hypervisor/arch/x86/virq.c hv: virq: fix wrong coding style hv: virq: fix attempt to change parameter passed by value hv:fix MISRA-C violation in virq.c Peter Fang (7): dm: vrtc: add RTC to ACPI DSDT dm: allow PM1_RTC_EN to be written to PM1A dm: create mevent's pipe in non-blocking mode dm: add absolute timer mode dm: provide timer callback handlers the number of expirations dm: vhpet: add HPET-related header files dm: vhpet: add vHPET support Shuo A Liu (7): dm: Fix some issues from string operations dm: use strnlen to replace strlen dm: use strncpy to replace strcpy dm: use snprintf to replace sprintf hv: use asm_pause() to replace inline ASM to satisfy MISRAC hv: clear NEED_RESCHEDULE flag in schedule hv: decouple IO completion polling from idle thread Geoffroy Van Cutsem (6): Documentation: fix formatting in partition mode tutorial Documentation: split the build instructions into its own guide Documentation: fix highlights in launch_uos.sh script Update doc/developer-guides/GVT-g-kernel-options.rst Update doc/developer-guides/GVT-g-kernel-options.rst Documentation build tools: update min version for kconfiglib Chen Gang G (5): hv: fix violations in hkdf.c and crypto_api.c for crypto lib hv: fix violations in sha256.c for crypto lib hv: fix violations in md.c md.h and md_internal.h for crypto lib hv: fix MISRAC violations for crypto lib hv: fix identifier reuse violations in sha256.c Conghui Chen (5): dm: storage: rename delete to discard dm: storage: support discard command dm: virtio: refine header file dm: virtio: fix compile issue on ubuntu dm: storage: change DISCARD to synchronous mode Zhao Yakui (5): HV/DM: Unify the usage of aligned for structure definition with alignment DM: Try to load audio mediator BE driver before starting UOS acrn/vhm: change the default notification vector to 0xF3 acrn/dm: Add the check of acrn_vhm/acrn_hsm to open the VHM driver acrn/dm: Check device file of /dev/acrn_hsm to determine the path of offline VCPU Kaige Fu (4): HV: x86: fix "Procedure has more than one exit point" HV: x86: fix "Global variable should be declared const" Debug: Add one hypercall to quary hardware info HV: x86: Fix "Variable should be declared static" Sainath Grandhi (4): hv: Write Buffer Flush - VT-d hv: Make reserved regions in E820 table to Supervisor pages hv: Add bit representation for MSI addr and data hv: Bit Representation for IOAPIC RTE Yin Fengwei (4): dm: flush the input/output during tty open. dm: refine the uart_core dm: Add teardown callback for mevent in uart_core dm: fix the memory leak in virtio mei Xie Zhengtian (3): doc: modify the directories of files needed doc: update the statement of "tag" doc: update some statements Liu, Xinwu (2): tools: acrn-crashlog: Reboot system to cold after collecting reserve log tools: acrn-crashlog: Limit the log size of kmsg Min Lim (2): profiling: fix the profiling tool crash by page faults profiling: code cleanup Ross Burton (2): Use $(MAKE) when recursing tools: respect CFLAGS and LDFLAGS from environment Shuang Zheng (2): update acrn-dm comment, remove the series of dot Update and complete `acrn-dm` parameters description Update and complete `acrn-dm` parameters description in the user guide and HLD Shuo Liu (2): dm: Add vm_clear_ioreq to clear ioreq status dm: remove unnecessary ioreq status changing from DM Tianhua Sun (2): security: remove gcc flags Wformat Wformat-security in HV DM: xHCI: array bound checking before it is used Xie, nanlin (2): Doc: Add release note for v0.5 release. Doc: Add one new known issue into v0.5 release note Yuan Liu (2): IOC mediator: fix the issue of abnormally missing tx package DM: mei: solving the issue of closing the fd Zhipeng Gong (2): hv: enable/disable snoop control bit per vm hv: hv_main: adjust vm exit trace position Alek Du (1): Makefile: keep files used for debug target Arindam Roy (1): Patch for modularising ioapic.[c/h] and related files. Feng Tang (1): DM: sos_bootargs: Add panic_print parameter to help debugging Jack Ren (1): version: 0.6-unstable Junjie Mao (1): kconfig: update .config on missed or conflicting symbol values Manisha Chinthapally (1): security: Increase buffer size to avoid buffer overflow error Miguel Bernal Marin (1): Makefile: add RELEASE variable to make command Min He (1): script: remove DP-x:d parameters for UP2 board Xiaoguang Wu (1): DM USB: xHCI: change log level of some logs for S3 online debugging huihuang.shi (1): hv: hypercall: fix "Procedure has more than one exit point" totoroow (1): dm: pass mac seed not to use vm name on UP2 wenlingz (1): Doc: Update GSG for v0.5 version and launch and acrn.conf sample script modify sbl_up2 version and scripts --- Makefile | 2 +- acrn-hypervisor.spec | 29 ++++++++--------------------- options.conf | 2 +- release | 2 +- upstream | 2 +- 5 files changed, 12 insertions(+), 25 deletions(-) diff --git a/Makefile b/Makefile index 20439c9..de997d1 100644 --- a/Makefile +++ b/Makefile @@ -1,5 +1,5 @@ PKG_NAME := acrn-hypervisor -URL = https://github.com/projectacrn/acrn-hypervisor/archive/acrn-2019w05.1-150000p.tar.gz +URL = https://github.com/projectacrn/acrn-hypervisor/archive/acrn-2019w05.2-140000p.tar.gz ARCHIVES = include ../common/Makefile.common diff --git a/acrn-hypervisor.spec b/acrn-hypervisor.spec index 35ea288..05a676d 100644 --- a/acrn-hypervisor.spec +++ b/acrn-hypervisor.spec @@ -4,10 +4,10 @@ # %define keepstatic 1 Name : acrn-hypervisor -Version : 2019w05.1.150000p -Release : 157 -URL : https://github.com/projectacrn/acrn-hypervisor/archive/acrn-2019w05.1-150000p.tar.gz -Source0 : https://github.com/projectacrn/acrn-hypervisor/archive/acrn-2019w05.1-150000p.tar.gz +Version : 2019w05.2.140000p +Release : 158 +URL : https://github.com/projectacrn/acrn-hypervisor/archive/acrn-2019w05.2-140000p.tar.gz +Source0 : https://github.com/projectacrn/acrn-hypervisor/archive/acrn-2019w05.2-140000p.tar.gz Summary : No detailed summary available Group : Development/Tools License : BSD-3-Clause CC-BY-4.0 ISC @@ -39,13 +39,6 @@ BuildRequires : telemetrics-client-dev # Suppress stripping binaries %define __strip /bin/true %define debug_package %{nil} -Patch1: 0001-Makefile-eliminate-mistakes-due-to-deprecated-PLATFO.patch -Patch2: 0002-Makefile-support-SBL-binary-for-E2E-build.patch -Patch3: 0003-Makefile-add-rules-for-installing-debug-information.patch -Patch4: 0004-Use-MAKE-when-recursing.patch -Patch5: 0005-hv-Makefile-add-the-dependency-of-LIB_FLAGS.patch -Patch6: 0006-Makefile-add-missing-dependency.patch -Patch7: 0007-Makefile-add-install-samples-up2.patch %description This directory contains configuration files to ignore errors found in @@ -124,26 +117,19 @@ services components for the acrn-hypervisor package. %prep -%setup -q -n acrn-hypervisor-acrn-2019w05.1-150000p -%patch1 -p1 -%patch2 -p1 -%patch3 -p1 -%patch4 -p1 -%patch5 -p1 -%patch6 -p1 -%patch7 -p1 +%setup -q -n acrn-hypervisor-acrn-2019w05.2-140000p %build export http_proxy=http://127.0.0.1:9/ export https_proxy=http://127.0.0.1:9/ export no_proxy=localhost,127.0.0.1,0.0.0.0 export LANG=C -export SOURCE_DATE_EPOCH=1548708298 +export SOURCE_DATE_EPOCH=1548766171 make %{?_smp_mflags} all sbl-hypervisor BUILD_VERSION=”%{version}_%{release}” BUILD_TAG=”%{version}” %install -export SOURCE_DATE_EPOCH=1548708298 +export SOURCE_DATE_EPOCH=1548766171 rm -rf %{buildroot} mkdir -p %{buildroot}/usr/share/package-licenses/acrn-hypervisor cp LICENSE %{buildroot}/usr/share/package-licenses/acrn-hypervisor/LICENSE @@ -218,6 +204,7 @@ ln -s ../../samples/apl-mrb/launch_uos.sh %{buildroot}/usr/share/acrn/conf/add/v /usr/share/acrn/samples/apl-mrb/sos_bootargs_debug.txt /usr/share/acrn/samples/apl-mrb/sos_bootargs_release.txt /usr/share/acrn/samples/nuc/acrn.conf +/usr/share/acrn/samples/nuc/launch_hard_rt_vm.sh /usr/share/acrn/samples/nuc/launch_uos.sh /usr/share/acrn/samples/nuc/runC.json /usr/share/acrn/samples/up2/launch_uos.sh diff --git a/options.conf b/options.conf index 4d17ce0..9589e9e 100644 --- a/options.conf +++ b/options.conf @@ -1,6 +1,6 @@ [package] name = acrn-hypervisor -url = https://github.com/projectacrn/acrn-hypervisor/archive/acrn-2019w05.1-150000p.tar.gz +url = https://github.com/projectacrn/acrn-hypervisor/archive/acrn-2019w05.2-140000p.tar.gz archives = giturl = https://github.com/projectacrn/acrn-hypervisor.git diff --git a/release b/release index 29e49a0..4c5c807 100644 --- a/release +++ b/release @@ -1 +1 @@ -157 +158 diff --git a/upstream b/upstream index f2889f1..f3a669d 100644 --- a/upstream +++ b/upstream @@ -1 +1 @@ -aa1b109299d6cd8cb805aca6767e31d8da9ac73b/acrn-2019w05.1-150000p.tar.gz +54712796b9e7be6f1707bf61d3cfb367c748c3fd/acrn-2019w05.2-140000p.tar.gz