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
153,370
20.07.2020 16:27:08
-32,400
5ae10ffede34c7b23d9423810c99deb4d82b38f0
fix(_): npm i && npm audit fix
[ { "change_type": "MODIFY", "old_path": "package-lock.json", "new_path": "package-lock.json", "diff": "}\n},\n\"@commitlint/execute-rule\": {\n- \"version\": \"8.3.4\",\n- \"resolved\": \"https://registry.npmjs.org/@commitlint/execute-rule/-/execute-rule-8.3.4.tgz\",\n- \"integrity\": \"sha512-f4HigY...
JavaScript
MIT License
decomoji/decomoji
fix(_): npm i && npm audit fix
153,370
07.01.2021 19:25:10
-32,400
168554b21e22518c35eed9f79d8ad1d9c6d2be93
feat(_): npm i date-fns
[ { "change_type": "MODIFY", "old_path": "package-lock.json", "new_path": "package-lock.json", "diff": "}\n},\n\"@commitlint/execute-rule\": {\n- \"version\": \"9.1.1\",\n- \"resolved\": \"https://registry.npmjs.org/@commitlint/execute-rule/-/execute-rule-9.1.1.tgz\",\n- \"integrity\": \"sha512-kCncHM...
JavaScript
MIT License
decomoji/decomoji
feat(_): npm i date-fns
153,370
18.04.2021 13:10:11
-32,400
7ffa1d44b39d862fd5fa5f8c50311c4bd30476ec
fix(env): revert husky version
[ { "change_type": "MODIFY", "old_path": "package-lock.json", "new_path": "package-lock.json", "diff": "\"resolved\": \"https://registry.npmjs.org/@babel/code-frame/-/code-frame-7.12.11.tgz\",\n\"integrity\": \"sha512-Zt1yodBx1UcyiePMSkWnU4hPqhwq7hGi2nFL1LeA3EUl+q2LQx16MISgJ0+z7dnmgvP9QtIleuETGOiOH1Rc...
JavaScript
MIT License
decomoji/decomoji
fix(env): revert husky version
153,370
27.07.2021 00:38:09
-32,400
40f2fa7dc0d21cd426890f28083bbec15b82641c
chore(_): oops
[ { "change_type": "MODIFY", "old_path": "package-lock.json", "new_path": "package-lock.json", "diff": "{\n\"name\": \"decomoji\",\n- \"version\": \"5.18.0\",\n+ \"version\": \"5.17.3\",\n\"lockfileVersion\": 1,\n\"requires\": true,\n\"dependencies\": {\n" } ]
JavaScript
MIT License
decomoji/decomoji
chore(_): oops
153,370
29.12.2021 16:51:35
-32,400
8cc2045c9c446c516899728bcf61dcd430d96475
fix(configs): mu => mu_
[ { "change_type": "MODIFY", "old_path": "configs/v5.19.0.json", "new_path": "configs/v5.19.0.json", "diff": "\"created\": \"v5.19.0\"\n},\n{\n- \"name\": \"mu\",\n- \"path\": \"decomoji/extra/mu.png\",\n+ \"name\": \"mu_\",\n+ \"path\": \"decomoji/extra/mu_.png\",\n\"created\": \"v5.19.0\"\n},\n{\n" ...
JavaScript
MIT License
decomoji/decomoji
fix(configs): mu => mu_
528,747
05.03.2018 23:14:39
28,800
052047556bebc92adcc43addf7b05153be5731e5
doc: add README for the repo
[ { "change_type": "ADD", "old_path": null, "new_path": "doc/README.md", "diff": "+# Project ACRN Documentation Repo\n+\n+This repository hold the source and configuration files used to generate the\n+Project ACRN documentation web site published to\n+https://projectacrn.github.io/acrn-documentation\n...
C
BSD 3-Clause New or Revised License
projectacrn/acrn-hypervisor
doc: add README for the repo Signed-off-by: David B. Kinder <david.b.kinder@intel.com>
528,747
06.03.2018 12:26:59
28,800
dce61618dcbe0b83b1c6445fc96d65c0075e7e16
doc: organizational and look improvements
[ { "change_type": "MODIFY", "old_path": "doc/Makefile", "new_path": "doc/Makefile", "diff": "@@ -14,9 +14,14 @@ help:\n.PHONY: help Makefile\n+# Generate the doxygen xml (for Sphinx) and copy the doxygen html to the\n+# api folder for publishing along with the Sphinx-generated API docs.\ndoxy:\n$(Q)(...
C
BSD 3-Clause New or Revised License
projectacrn/acrn-hypervisor
doc: organizational and look improvements Signed-off-by: David B. Kinder <david.b.kinder@intel.com>
528,747
06.03.2018 15:12:49
28,800
4c941d5e5b289c6ebd5fc4fefc9a204a944d6721
improve automation
[ { "change_type": "MODIFY", "old_path": "doc/Makefile", "new_path": "doc/Makefile", "diff": "@@ -8,23 +8,38 @@ SPHINXPROJ = \"Project ACRN\"\nSOURCEDIR = .\nBUILDDIR = _build\n+PUBLISHDIR = ../projectacrn.github.io\n+\n# Put it first so that \"make\" without argument is like \"make help\".\nhelp:\n@$...
C
BSD 3-Clause New or Revised License
projectacrn/acrn-hypervisor
improve automation Signed-off-by: David B. Kinder <david.b.kinder@intel.com>
528,747
06.03.2018 17:07:19
28,800
8d7a449c55333dd25db80b383f4cd979e044acea
doc: fix source file fetching and cleaning
[ { "change_type": "MODIFY", "old_path": "doc/Makefile", "new_path": "doc/Makefile", "diff": "@@ -31,7 +31,7 @@ doxy: pullsource\n# Remove generated content (Sphinx and doxygen)\nclean:\n- $(Q)rm -fr $(BUILDDIR) doxygen hypervisor devicemodel\n+ $(Q)rm -fr $(BUILDDIR) doxygen _source\n# Copy material ...
C
BSD 3-Clause New or Revised License
projectacrn/acrn-hypervisor
doc: fix source file fetching and cleaning Signed-off-by: David B. Kinder <david.b.kinder@intel.com>
528,747
06.03.2018 22:02:58
28,800
4d102928fca57cbf51f9fa3703f21ef7b5158f25
doc: set version to 0.1
[ { "change_type": "MODIFY", "old_path": "doc/conf.py", "new_path": "doc/conf.py", "diff": "@@ -54,9 +54,9 @@ author = u'Project ARCN developers'\n# built documents.\n#\n# The short X.Y version.\n-version = u'1.0.0'\n+version = u'0.1'\n# The full version, including alpha/doc/beta/doc/rc tags.\n-releas...
C
BSD 3-Clause New or Revised License
projectacrn/acrn-hypervisor
doc: set version to 0.1 Signed-off-by: David B. Kinder <david.b.kinder@intel.com>
528,747
06.03.2018 23:12:41
28,800
b96639791497fe37b8e2c7153187960a652ea526
add supported hardware
[ { "change_type": "MODIFY", "old_path": "doc/conf.py", "new_path": "doc/conf.py", "diff": "@@ -182,6 +182,20 @@ texinfo_documents = [\n'Miscellaneous'),\n]\n+rst_epilog = \"\"\"\n+.. |copy| unicode:: U+000A9 .. COPYRIGHT SIGN\n+ :ltrim:\n+.. |trade| unicode:: U+02122 .. TRADEMARK SIGN\n+ :ltrim:\n+.....
C
BSD 3-Clause New or Revised License
projectacrn/acrn-hypervisor
add supported hardware Signed-off-by: David B. Kinder <david.b.kinder@intel.com>
528,747
07.03.2018 16:05:43
28,800
927dac700055117541896bcfcae582f7f82908ea
add in progress
[ { "change_type": "MODIFY", "old_path": "doc/conf.py", "new_path": "doc/conf.py", "diff": "@@ -96,6 +96,18 @@ except ImportError:\nelse:\nhtml_theme = \"sphinx_rtd_theme\"\nhtml_theme_path = [sphinx_rtd_theme.get_html_theme_path()]\n+ html_theme_options = {\n+ 'canonical_url': '',\n+ 'analytics_id': ...
C
BSD 3-Clause New or Revised License
projectacrn/acrn-hypervisor
add in progress Signed-off-by: David B. Kinder <david.b.kinder@intel.com>
528,747
07.03.2018 17:14:33
28,800
e06947576f2aad1e74a341199c1456e5e74c2e39
doc: update param spelling from VM to vm doxygen comments for VM must match the actual parameter name vm (lowercase)
[ { "change_type": "MODIFY", "old_path": "hypervisor/include/common/hypercall.h", "new_path": "hypervisor/include/common/hypercall.h", "diff": "@@ -57,7 +57,7 @@ int acrn_vpic_inject_irq(struct vm *vm, int irq, enum irq_mode mode);\n*\n* The function only return api version information when VM is VM0....
C
BSD 3-Clause New or Revised License
projectacrn/acrn-hypervisor
doc: update param spelling from VM to vm doxygen comments for @param VM must match the actual parameter name vm (lowercase) Signed-off-by: David B. Kinder <david.b.kinder@intel.com>
528,806
07.03.2018 22:21:59
21,600
3b15f510c7dc60e89b72b63a1d7f0f7e6a100587
makefile: install the demo scripts The demos scripts are not installed when "make install" is invoked. This patch adds a rule to copy them to /usr/share/acrn
[ { "change_type": "MODIFY", "old_path": "devicemodel/Makefile", "new_path": "devicemodel/Makefile", "diff": "@@ -80,6 +80,8 @@ DISTCLEAN_OBJS := $(shell find $(BASEDIR) -name '*.o')\nPROGRAM := acrn-dm\n+SAMPLES := $(wildcard samples/*)\n+\nall: include/version.h $(PROGRAM)\n@echo -n \"\"\n@@ -117,5 ...
C
BSD 3-Clause New or Revised License
projectacrn/acrn-hypervisor
makefile: install the demo scripts The demos scripts are not installed when "make install" is invoked. This patch adds a rule to copy them to /usr/share/acrn Signed-off-by: Miguel Bernal Marin <miguel.bernal.marin@linux.intel.com>
528,806
07.03.2018 23:08:41
21,600
ef84c3d241663c49560c1c49e36df0c530dab36e
efi: makefile: install to acrn directory Currently the acrn EFI hypervisor file is installing directly to /usr/share. This patch adds a "acrn" directory to store in /usr/share/acrn
[ { "change_type": "MODIFY", "old_path": "hypervisor/bsp/uefi/efi/Makefile", "new_path": "hypervisor/bsp/uefi/efi/Makefile", "diff": "@@ -80,7 +80,7 @@ all: $(EFIBIN)\n$(OBJCOPY) --add-section .hv=\"$(HV_OBJDIR)/$(HV_FILE).bin\" --change-section-vma .hv=0x6e000 --set-section-flags .hv=alloc,data,conte...
C
BSD 3-Clause New or Revised License
projectacrn/acrn-hypervisor
efi: makefile: install to acrn directory Currently the acrn EFI hypervisor file is installing directly to /usr/share. This patch adds a "acrn" directory to store in /usr/share/acrn Signed-off-by: Miguel Bernal Marin <miguel.bernal.marin@linux.intel.com>
528,806
07.03.2018 23:31:45
21,600
86be62f74673589f0230f74b1c35d5cec901dd40
efi: makefile: install the EFI configuration file The EFI configuration example file is not installed. This patch adds a rule to install the configuration example file at /usr/share/acrn
[ { "change_type": "MODIFY", "old_path": "hypervisor/bsp/uefi/efi/Makefile", "new_path": "hypervisor/bsp/uefi/efi/Makefile", "diff": "@@ -76,10 +76,12 @@ LDFLAGS=-T $(LDSCRIPT) -Bsymbolic -shared -nostdlib -znocombreloc \\\nEFIBIN=$(HV_OBJDIR)/$(HV_FILE).efi\nBOOT=$(EFI_OBJDIR)/boot.efi\n+CONF_FILE=$(...
C
BSD 3-Clause New or Revised License
projectacrn/acrn-hypervisor
efi: makefile: install the EFI configuration file The EFI configuration example file is not installed. This patch adds a rule to install the configuration example file at /usr/share/acrn Signed-off-by: Miguel Bernal Marin <miguel.bernal.marin@linux.intel.com>
528,675
08.03.2018 16:47:06
-28,800
2cb8ce50c16e07a15194f2bf6d8f940383da74d6
decouple hv sw version and api version
[ { "change_type": "MODIFY", "old_path": "hypervisor/Makefile", "new_path": "hypervisor/Makefile", "diff": "# ACRN Hypervisor\n#\n-\nMAJOR_VERSION=0\nMINOR_VERSION=1\n+RC_VERSION=1\n+\n+API_MAJOR_VERSION=1\n+API_MINOR_VERSION=0\nRELEASE ?= 0\n@@ -209,6 +212,9 @@ $(VERSION):\ncat license_header > $(VER...
C
BSD 3-Clause New or Revised License
projectacrn/acrn-hypervisor
decouple hv sw version and api version Signed-off-by: Jason Chen CJ <jason.cj.chen@intel.com>
528,675
08.03.2018 17:48:40
-28,800
e404760cd25fe502455d54288981e82017c3eaf6
add RC_VERSION for dm
[ { "change_type": "MODIFY", "old_path": "devicemodel/Makefile", "new_path": "devicemodel/Makefile", "diff": "#\nMAJOR_VERSION=0\nMINOR_VERSION=1\n+RC_VERSION=1\nBASEDIR := $(shell pwd)\nDM_OBJDIR ?= $(CURDIR)/build\n@@ -111,6 +112,7 @@ include/version.h:\ncat license_header > include/version.h;\\\nec...
C
BSD 3-Clause New or Revised License
projectacrn/acrn-hypervisor
add RC_VERSION for dm Signed-off-by: Jason Chen CJ <jason.cj.chen@intel.com>
528,747
08.03.2018 22:44:04
28,800
b03cda69d136686a54161aa07d8f9512475f6333
doc: update build process to get RC_VERSION Doc version tracking with acrn-hypervisor version now to be MAJOR_VERSION . MINOR_VERSION . RC_VERSION
[ { "change_type": "MODIFY", "old_path": "doc/conf.py", "new_path": "doc/conf.py", "diff": "@@ -61,6 +61,7 @@ author = u'Project ARCN developers'\ntry:\nversion_major = None\nversion_minor = None\n+ version_rc = None\nfor line in open(os.path.normpath(\"../acrn-hypervisor/Makefile\")) :\nif line.count...
C
BSD 3-Clause New or Revised License
projectacrn/acrn-hypervisor
doc: update build process to get RC_VERSION Doc version tracking with acrn-hypervisor version now to be MAJOR_VERSION . MINOR_VERSION . RC_VERSION Signed-off-by: David B. Kinder <david.b.kinder@intel.com>
528,806
08.03.2018 17:06:12
21,600
4b3ebb33369b337d129065915923991e8bc27e37
use efi instead of linux in acrn.conf acrn.efi is an EFI executable image and not a linux kernel image. This commit changes linux to efi in the boot-loader configuration. For more reference please review:
[ { "change_type": "MODIFY", "old_path": "hypervisor/bsp/uefi/clearlinux/acrn.conf", "new_path": "hypervisor/bsp/uefi/clearlinux/acrn.conf", "diff": "title ACRN OS\n-linux /EFI/org.clearlinux/acrn.efi\n+efi /EFI/org.clearlinux/acrn.efi\noptions sos=bzImage pci_devices_ignore=(0:18:2) noxsave maxcpus=1...
C
BSD 3-Clause New or Revised License
projectacrn/acrn-hypervisor
use efi instead of linux in acrn.conf acrn.efi is an EFI executable image and not a linux kernel image. This commit changes linux to efi in the boot-loader configuration. For more reference please review: https://www.freedesktop.org/wiki/Software/systemd/systemd-boot/ Signed-off-by: Miguel Bernal Marin <miguel.berna...
528,722
09.03.2018 20:04:32
-28,800
955162bb3aab652de55ff9d627ce574402b3b4df
minor fix on sample script bridge.sh
[ { "change_type": "MODIFY", "old_path": "devicemodel/samples/bridge.sh", "new_path": "devicemodel/samples/bridge.sh", "diff": "@@ -49,4 +49,5 @@ EOF\nfi\n# add tap device under the bridge\n+ifconfig acrn_tap0 up\nbrctl addif acrn-br0 acrn_tap0\n" }, { "change_type": "MODIFY", "old_path": ...
C
BSD 3-Clause New or Revised License
projectacrn/acrn-hypervisor
minor fix on sample script bridge.sh Signed-off-by: Jack Ren <jack.ren@intel.com>
528,722
09.03.2018 20:08:54
-28,800
2f53e9814bb99875a08ab98cca4d4c5f7f111ffa
minor fix on acrn.conf
[ { "change_type": "MODIFY", "old_path": "hypervisor/bsp/uefi/clearlinux/acrn.conf", "new_path": "hypervisor/bsp/uefi/clearlinux/acrn.conf", "diff": "-title ACRN OS\n+title The ACRN Hypervisor\nefi /EFI/org.clearlinux/acrn.efi\n-options sos=bzImage pci_devices_ignore=(0:18:2) noxsave maxcpus=1 console...
C
BSD 3-Clause New or Revised License
projectacrn/acrn-hypervisor
minor fix on acrn.conf Signed-off-by: Jack Ren <jack.ren@intel.com>
528,722
09.03.2018 20:52:11
-28,800
cf707cc62eea726af250c821162341bb21924226
version: v0.1-rc2
[ { "change_type": "MODIFY", "old_path": "devicemodel/Makefile", "new_path": "devicemodel/Makefile", "diff": "#\nMAJOR_VERSION=0\nMINOR_VERSION=1\n-RC_VERSION=1\n+RC_VERSION=2\nBASEDIR := $(shell pwd)\nDM_OBJDIR ?= $(CURDIR)/build\n" }, { "change_type": "MODIFY", "old_path": "hypervisor/Ma...
C
BSD 3-Clause New or Revised License
projectacrn/acrn-hypervisor
version: v0.1-rc2 Signed-off-by: Jack Ren <jack.ren@intel.com>
528,747
09.03.2018 07:35:54
28,800
df5c261362ec2c8d3d689b9cb0a05fde0ec1b99f
doc: update display of RC version Change display of RC_VERSION on documents to be vMAJOR_VERSION.MINOR_VERSION-rcRC_VERSION if RC_VERSION is non-zero, otherwise only vMAJOR_VERSION.MINOR_VERSION
[ { "change_type": "MODIFY", "old_path": "doc/conf.py", "new_path": "doc/conf.py", "diff": "@@ -77,7 +77,9 @@ except:\npass\nfinally:\nif version_major and version_minor and version_rc :\n- version = release = \"v \" + version_major + '.' + version_minor + '.' + version_rc\n+ version = release = \"v \...
C
BSD 3-Clause New or Revised License
projectacrn/acrn-hypervisor
doc: update display of RC version Change display of RC_VERSION on documents to be vMAJOR_VERSION.MINOR_VERSION-rcRC_VERSION if RC_VERSION is non-zero, otherwise only vMAJOR_VERSION.MINOR_VERSION Signed-off-by: David B. Kinder <david.b.kinder@intel.com>
528,747
09.03.2018 23:23:36
28,800
48df39c8fd444cfd606a81af33288cd88e2ea4a5
doc: add 0.1 release notes Initial version of 0.1 release notes, plus a CSS tweak for tables
[ { "change_type": "MODIFY", "old_path": "doc/release_notes.rst", "new_path": "doc/release_notes.rst", "diff": "Release Notes\n#############\n+\n+Version 0.1 release (March 2018)\n+********************************\n+\n+In March 2018, Intel announced the open source Project ACRN at the\n+`Embedded Linu...
C
BSD 3-Clause New or Revised License
projectacrn/acrn-hypervisor
doc: add 0.1 release notes Initial version of 0.1 release notes, plus a CSS tweak for tables Signed-off-by: David B. Kinder <david.b.kinder@intel.com>
528,747
10.03.2018 14:35:19
28,800
da54bde3a738fbc110dc899f1edf87e7924cf339
doc: add Getting Started Guide Initial version of Getting Started Guide doc (and images). Need to replace images with better ones.
[ { "change_type": "ADD", "old_path": "doc/getting_started/images/gsg-bootmenu.png", "new_path": "doc/getting_started/images/gsg-bootmenu.png", "diff": "Binary files /dev/null and b/doc/getting_started/images/gsg-bootmenu.png differ\n" }, { "change_type": "ADD", "old_path": "doc/getting_st...
C
BSD 3-Clause New or Revised License
projectacrn/acrn-hypervisor
doc: add Getting Started Guide Initial version of Getting Started Guide doc (and images). Need to replace images with better ones. Signed-off-by: David B. Kinder <david.b.kinder@intel.com>
528,747
10.03.2018 14:55:35
28,800
af66e9511287a3a1c7c70a24ccc75bba6b977533
doc: remove "under construction" tagline we're getting close...
[ { "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: remove "under construction" tagline we're getting close... Signed-off-by: David B. Kinder <david.b.kinder@intel.com>
528,728
10.03.2018 23:49:55
28,800
52f49c98072a701c90c1a10e1e0ebfcb3e6bd06d
getting-started-guide: update Clear Linux version to min required
[ { "change_type": "MODIFY", "old_path": "doc/getting_started/index.rst", "new_path": "doc/getting_started/index.rst", "diff": "@@ -45,7 +45,7 @@ Set up a Clear Linux Operating System\nCurrently, an installable version of ARCN does not exist. Therefore, we\nneed to setup a base Clear Linux OS to boots...
C
BSD 3-Clause New or Revised License
projectacrn/acrn-hypervisor
getting-started-guide: update Clear Linux version to min required Signed-off-by: Geoffroy Van Cutsem <geoffroy.vancutsem@intel.com>
528,661
12.03.2018 20:41:32
-28,800
8b4378e9c0c1186691f6b2feeb2562b789750ea7
update to support latest image changed 3 to support latest image release 1, deleted one bundle installation -os-clr-on-clr-dev 2, changed the default configuration file path to /usr/share/acrn/demo 3, after installed service os bundle, all the configuration files and scripts were installed, no need to download manually...
[ { "change_type": "MODIFY", "old_path": "doc/getting_started/index.rst", "new_path": "doc/getting_started/index.rst", "diff": "@@ -105,12 +105,10 @@ Clear Linux version 21260 or newer.\n| kernel-pk | Run the Intel \"PK\" kernel(product kernel source) |\n| | and enterprise-style kernel with backports ...
C
BSD 3-Clause New or Revised License
projectacrn/acrn-hypervisor
update to support latest image changed 3 to support latest image release 1, deleted one bundle installation -os-clr-on-clr-dev 2, changed the default configuration file path to /usr/share/acrn/demo 3, after installed service os bundle, all the configuration files and scripts were installed, no need to download manuall...
528,747
12.03.2018 07:52:39
25,200
c3bef4e1d69fb7bde33b0000d5f5e1330ca2e8db
doc: update GSG instructions Add some clarity edits and fix misspellings
[ { "change_type": "MODIFY", "old_path": "doc/getting_started/index.rst", "new_path": "doc/getting_started/index.rst", "diff": "@@ -22,13 +22,10 @@ The recommended NUC hardware configuration is:\n- NUC: `NUC Kit\nNUC6CAYH <https://www.intel.com/content/www/us/en/products/boards-kits/nuc/kits/nuc6cayh....
C
BSD 3-Clause New or Revised License
projectacrn/acrn-hypervisor
doc: update GSG instructions Add some clarity edits and fix misspellings Signed-off-by: David B. Kinder <david.b.kinder@intel.com>
528,747
12.03.2018 11:21:23
25,200
b84aa9fc87bffea622fa2d464c5294478c92c42d
doc: fix doxy for hiding internal symbols Docyten syntax for EXCLUDE_SYMBOLS is with spaces for separator, not commas.
[ { "change_type": "MODIFY", "old_path": "doc/acrn.doxyfile", "new_path": "doc/acrn.doxyfile", "diff": "@@ -866,7 +866,7 @@ EXCLUDE_PATTERNS =\n# Exclude internal names (starting with an _) and doxygen-added __unnamed__\n# names given to unnamed nested unions\n-EXCLUDE_SYMBOLS = _*, *.__unnamed__\n+EX...
C
BSD 3-Clause New or Revised License
projectacrn/acrn-hypervisor
doc: fix doxy for hiding internal symbols Docyten syntax for EXCLUDE_SYMBOLS is with spaces for separator, not commas. Signed-off-by: David B. Kinder <david.b.kinder@intel.com>
528,667
05.03.2018 18:11:47
-28,800
44b0ec04133c94d9551ffac5c505366b3985946f
Ignore length of resource for PCI ROM request Writing PCIR_BIOS is to get PCI ROM resource length. Ingore the request as it's not support currently. Else, guest might get wrong information about the PCI ROM resource.
[ { "change_type": "MODIFY", "old_path": "devicemodel/hw/pci/core.c", "new_path": "devicemodel/hw/pci/core.c", "diff": "@@ -1905,6 +1905,8 @@ pci_cfgrw(struct vmctx *ctx, int vcpu, int in, int bus, int slot, int func,\n}\npci_set_cfgdata32(dev, coff, bar);\n+ } else if (coff == PCIR_BIOS) {\n+ /* igno...
C
BSD 3-Clause New or Revised License
projectacrn/acrn-hypervisor
Ignore length of resource for PCI ROM request Writing PCIR_BIOS is to get PCI ROM resource length. Ingore the request as it's not support currently. Else, guest might get wrong information about the PCI ROM resource. Signed-off-by: Shuo Liu <shuo.a.liu@intel.com>
528,747
13.03.2018 11:59:40
25,200
b170e295a7aa01f3b576a1cad8d3359ceb6b36bc
doc: general edit for typos Fix typos and misspellings, and tweak CSS for spacing before lists.
[ { "change_type": "MODIFY", "old_path": "doc/api/devicemodel_api.rst", "new_path": "doc/api/devicemodel_api.rst", "diff": "Device Model APIs\n#################\n-This section contains APIs for the SOS Device Model services.\n+This section contains APIs for the SOS Device Model services. Sources\n+for...
C
BSD 3-Clause New or Revised License
projectacrn/acrn-hypervisor
doc: general edit for typos Fix typos and misspellings, and tweak CSS for spacing before lists. Signed-off-by: David B. Kinder <david.b.kinder@intel.com>
528,747
13.03.2018 16:24:35
25,200
0dc93a5281f306b8df45155782a9a3e67e684cb7
doc: filter known issues make the doc build process quiet and add filtering of known (Sphinx) issues. Scripting comes from the open source Zephyr project.
[ { "change_type": "MODIFY", "old_path": "doc/.gitignore", "new_path": "doc/.gitignore", "diff": "@@ -2,3 +2,5 @@ doxygen\n_build\n*.bak\n*.sav\n+*.log\n+*.warnings\n" }, { "change_type": "ADD", "old_path": null, "new_path": "doc/.known-issues/README", "diff": "+This directory cont...
C
BSD 3-Clause New or Revised License
projectacrn/acrn-hypervisor
doc: filter known issues make the doc build process quiet and add filtering of known (Sphinx) issues. Scripting comes from the open source Zephyr project. Signed-off-by: David B. Kinder <david.b.kinder@intel.com>
528,747
14.03.2018 12:23:22
25,200
c8d2cdccda3ce2e28557ecf91fefa3a33e2ab5df
doc: update project documentation LICENSE Per Project ACRN governance, documentation is under a Creative Commons Attribution 4.0 International License (CC BY 4.0). This patch updates this information, and adds a tagline to documentation mentioning this license.
[ { "change_type": "ADD", "old_path": null, "new_path": "doc/LICENSE", "diff": "+ARCN Project Documentation is under a Creative Commons Attribution 4.0\n+International License (CC BY 4.0). For details, see\n+https://creativecommons.org/licenses/by/4.0/.\n" }, { "change_type": "MODIFY", "ol...
C
BSD 3-Clause New or Revised License
projectacrn/acrn-hypervisor
doc: update project documentation LICENSE Per Project ACRN governance, documentation is under a Creative Commons Attribution 4.0 International License (CC BY 4.0). This patch updates this information, and adds a tagline to documentation mentioning this license. Signed-off-by: David B. Kinder <david.b.kinder@intel.co...
528,733
28.02.2018 19:33:13
-28,800
189329e0de8ff791dd9794cd7f882d3eabc4c680
apicv: cancel event injection if vcpu is scheduled out And re-inject the event after vcpu is scheduled in.
[ { "change_type": "MODIFY", "old_path": "hypervisor/arch/x86/interrupt.c", "new_path": "hypervisor/arch/x86/interrupt.c", "diff": "@@ -293,6 +293,18 @@ int acrn_do_intr_process(struct vcpu *vcpu)\nif (bitmap_test_and_clear(ACRN_REQUEST_TMR_UPDATE, pending_intr_bits))\nvioapic_update_tmr(vcpu);\n+ /* ...
C
BSD 3-Clause New or Revised License
projectacrn/acrn-hypervisor
apicv: cancel event injection if vcpu is scheduled out And re-inject the event after vcpu is scheduled in. Signed-off-by: Yin Fengwei <fengwei.yin@intel.com>
528,675
11.03.2018 22:26:21
-28,800
eed8104f6951eb0848f1dbf14d228b74e93c409f
uefi: restore cr registers according to efi context
[ { "change_type": "MODIFY", "old_path": "hypervisor/arch/x86/vmx.c", "new_path": "hypervisor/arch/x86/vmx.c", "diff": "@@ -1218,12 +1218,24 @@ static void override_uefi_vmcs(struct vcpu *vcpu)\n&vcpu->arch_vcpu.contexts[vcpu->arch_vcpu.cur_context];\nif (get_vcpu_mode(vcpu) == PAGE_PROTECTED_MODE) {\...
C
BSD 3-Clause New or Revised License
projectacrn/acrn-hypervisor
uefi: restore cr registers according to efi context Signed-off-by: Jason Chen CJ <jason.cj.chen@intel.com>
528,675
09.03.2018 23:16:08
-28,800
c244e8b5a359a6baa2dc6633a40b6b25488afc58
vpic: use calloc to init vpic instead of malloc vpic struct should be init as 0
[ { "change_type": "MODIFY", "old_path": "hypervisor/arch/x86/guest/vpic.c", "new_path": "hypervisor/arch/x86/guest/vpic.c", "diff": "@@ -930,7 +930,7 @@ void *vpic_init(struct vm *vm)\nvpic_register_io_handler(vm);\n- vpic = malloc(sizeof(struct vpic));\n+ vpic = calloc(1, sizeof(struct vpic));\nASSE...
C
BSD 3-Clause New or Revised License
projectacrn/acrn-hypervisor
vpic: use calloc to init vpic instead of malloc vpic struct should be init as 0 Signed-off-by: Jason Chen CJ <jason.cj.chen@intel.com>
528,675
12.03.2018 20:57:44
-28,800
d14a7dbdd2bd4d545439c65f810e5a4357afca30
retpoline: add indirect thunk support for gcc version > 7.3, enable CONFIG_RETPOLINE
[ { "change_type": "MODIFY", "old_path": "hypervisor/Makefile", "new_path": "hypervisor/Makefile", "diff": "@@ -153,6 +153,19 @@ ifeq ($(PLATFORM),uefi)\nC_SRCS += bsp/$(PLATFORM)/cmdline.c\nendif\n+# retpoline support\n+ifeq (true, $(shell [ $(GCC_MAJOR) -eq 7 ] && [ $(GCC_MINOR) -ge 3 ] && echo true...
C
BSD 3-Clause New or Revised License
projectacrn/acrn-hypervisor
retpoline: add indirect thunk support for gcc version > 7.3, enable CONFIG_RETPOLINE Signed-off-by: Jason Chen CJ <jason.cj.chen@intel.com>
528,675
12.03.2018 22:23:37
-28,800
e91b6aa31ad9c3782bd548950ac2ec03036bddb5
retpoline: replace indirect jmp in switch_to function
[ { "change_type": "MODIFY", "old_path": "hypervisor/common/schedule.c", "new_path": "hypervisor/common/schedule.c", "diff": "@@ -199,14 +199,26 @@ static void switch_to(struct vcpu *curr)\nif (curr == NULL) {\nasm volatile (\"movq %1, %%rsp\\n\"\n\"movq $0, %%rdi\\n\"\n- \"jmp *%0\\n\"\n+ \"call 22f\...
C
BSD 3-Clause New or Revised License
projectacrn/acrn-hypervisor
retpoline: replace indirect jmp in switch_to function Signed-off-by: Jason Chen CJ <jason.cj.chen@intel.com>
528,783
05.03.2018 15:09:30
-28,800
cc1d532131ef10ccd9ce7170aa002539452097d1
add data structure in vm for enable trusty feature add key info structure add sworld_eptp in vm structure, and rename ept->nworld_eptp add secure world control structure
[ { "change_type": "MODIFY", "old_path": "hypervisor/arch/x86/ept.c", "new_path": "hypervisor/arch/x86/ept.c", "diff": "@@ -134,7 +134,7 @@ void free_ept_mem(void *pml4_addr)\nvoid destroy_ept(struct vm *vm)\n{\n- free_ept_mem(vm->arch_vm.ept);\n+ free_ept_mem(vm->arch_vm.nworld_eptp);\nfree_ept_mem(v...
C
BSD 3-Clause New or Revised License
projectacrn/acrn-hypervisor
add data structure in vm for enable trusty feature add key info structure add sworld_eptp in vm structure, and rename ept->nworld_eptp add secure world control structure Change-Id: Tracked-On:220921 Signed-off-by: Mingqiang Chi <mingqiang.chi@intel.com>
528,654
08.03.2018 22:45:07
-28,800
cc2256d3f6924fcb2a18c87b3862ebd4896be352
Call monitor_cap_detect in bsp_boot_init On the APL NUC board (CPU family: 0x6 model: 92), the monitor is buggy. We can't use it to wake up CPU core from mwait by memory monitor.
[ { "change_type": "MODIFY", "old_path": "hypervisor/arch/x86/cpu.c", "new_path": "hypervisor/arch/x86/cpu.c", "diff": "@@ -74,9 +74,10 @@ struct cpu_capability {\nstatic struct cpu_capability cpu_caps;\nstatic void apicv_cap_detect(void);\n+static void monitor_cap_detect(void);\nstatic void cpu_set_l...
C
BSD 3-Clause New or Revised License
projectacrn/acrn-hypervisor
Call monitor_cap_detect in bsp_boot_init On the APL NUC board (CPU family: 0x6 model: 92), the monitor is buggy. We can't use it to wake up CPU core from mwait by memory monitor. Signed-off-by: Li, Fei1 <fei1.li@intel.com>
528,647
12.03.2018 16:07:53
-28,800
7e4b4c2546f1f86cb2a50b9fe7570134c45827f3
Remove ASSERT in lib functions Replace ASSERT in lib functions with error message print and return a value indicating error to allow the caller of lib functions to handle the error.
[ { "change_type": "MODIFY", "old_path": "hypervisor/lib/mem_mgt.c", "new_path": "hypervisor/lib/mem_mgt.c", "diff": "@@ -266,7 +266,8 @@ void *malloc(unsigned int num_bytes)\n}\n/* Check if memory allocation is successful */\n- ASSERT(memory != NULL, \"\");\n+ if (memory == NULL)\n+ pr_err(\"%s: fail...
C
BSD 3-Clause New or Revised License
projectacrn/acrn-hypervisor
Remove ASSERT in lib functions Replace ASSERT in lib functions with error message print and return a value indicating error to allow the caller of lib functions to handle the error. Change-Id: If166484238dc0734041adfdbb19a5b374c044e33 Signed-off-by: Yan, Like <like.yan@intel.com>
528,654
08.03.2018 21:14:24
-28,800
74e2bfc15f9400a7be823e0bf87ecb77a25bacb7
Simple get_vmx_cap() Don't check MSR Control Features in get_vmx_cap
[ { "change_type": "MODIFY", "old_path": "hypervisor/arch/x86/vmx.c", "new_path": "hypervisor/arch/x86/vmx.c", "diff": "@@ -94,38 +94,15 @@ static inline int exec_vmxon(void *addr)\nreturn status;\n}\n-int check_vmx_support(void)\n+bool get_vmx_cap(void)\n{\nuint32_t eax, ebx, ecx, edx;\n- int ret_val...
C
BSD 3-Clause New or Revised License
projectacrn/acrn-hypervisor
Simple get_vmx_cap() Don't check MSR Control Features in get_vmx_cap Signed-off-by: Li, Fei1 <fei1.li@intel.com>
528,733
09.03.2018 19:21:13
-28,800
f86d91e1e1c83d0debe8a4b236ede6ae97943dc4
dm: use getopt_long instead of getopt to parse dm cmdline It will be easier if we want to add more command line options with long options.
[ { "change_type": "MODIFY", "old_path": "devicemodel/core/main.c", "new_path": "devicemodel/core/main.c", "diff": "#include <pthread.h>\n#include <sysexits.h>\n#include <stdbool.h>\n+#include <getopt.h>\n#include \"types.h\"\n#include \"vmm.h\"\n@@ -546,6 +547,37 @@ sig_handler_term(int signo)\nmeven...
C
BSD 3-Clause New or Revised License
projectacrn/acrn-hypervisor
dm: use getopt_long instead of getopt to parse dm cmdline It will be easier if we want to add more command line options with long options. Signed-off-by: Yin Fengwei <fengwei.yin@intel.com>
528,705
11.02.2018 15:51:35
-28,800
156d61e20f96cc12b842b6aae12cf5b99c937402
security: enable stack protector Enable stack-proctector-strong option for gcc emiting extra code to check buffer overflow. Enable noexecstack option for marking the object as not requiring executable stack.
[ { "change_type": "MODIFY", "old_path": "devicemodel/Makefile", "new_path": "devicemodel/Makefile", "diff": "@@ -21,6 +21,26 @@ CFLAGS += -Werror\nCFLAGS += -I$(BASEDIR)/include\nCFLAGS += -I$(BASEDIR)/include/public\n+GCC_MAJOR=$(shell echo __GNUC__ | $(CC) -E -x c - | tail -n 1)\n+GCC_MINOR=$(shell...
C
BSD 3-Clause New or Revised License
projectacrn/acrn-hypervisor
security: enable stack protector Enable stack-proctector-strong option for gcc emiting extra code to check buffer overflow. Enable noexecstack option for marking the object as not requiring executable stack. Tracked-On: 224003 Signed-off-by: wenshelx <wenshengx.wang@intel.com>
528,728
15.03.2018 10:03:20
25,200
637a79da076519eb9774c544d60f42e752a3cf84
Getting Started Guide: add instructions for other OSs Add instructions on how to build the hypervisor and device model on other operating systems such as Ubuntu/Debian, Fedora/doc/Redhat and CentOS.
[ { "change_type": "MODIFY", "old_path": "doc/getting_started/index.rst", "new_path": "doc/getting_started/index.rst", "diff": "@@ -281,32 +281,69 @@ Build ACRN from Source\n**********************\nIf you would like to build ACRN hypervisor and device model from source,\n-follow these steps, using you...
C
BSD 3-Clause New or Revised License
projectacrn/acrn-hypervisor
Getting Started Guide: add instructions for other OSs Add instructions on how to build the hypervisor and device model on other operating systems such as Ubuntu/Debian, Fedora/doc/Redhat and CentOS. Signed-off-by: Geoffroy Van Cutsem <geoffroy.vancutsem@intel.com>
528,733
09.03.2018 13:33:41
-28,800
3775f29e3cfdc58d86724235a39f28caa85cf864
vm: Pass uuid from DM commandline to vm as GUID. Also save the uuid to ctx in case DM needs to access the uuid.
[ { "change_type": "MODIFY", "old_path": "devicemodel/core/vmmapi.c", "new_path": "devicemodel/core/vmmapi.c", "diff": "#include <ctype.h>\n#include <fcntl.h>\n#include <unistd.h>\n+#include <uuid/uuid.h>\n#include \"types.h\"\n#include \"cpuset.h\"\n#include \"vmmapi.h\"\n#include \"mevent.h\"\n+#inc...
C
BSD 3-Clause New or Revised License
projectacrn/acrn-hypervisor
vm: Pass uuid from DM commandline to vm as GUID. Also save the uuid to ctx in case DM needs to access the uuid. Signed-off-by: Yin Fengwei <fengwei.yin@intel.com>
528,654
12.03.2018 21:53:29
-28,800
429302c72a6bcf38131fd9a5f5806bb2f2d56cb7
minor fix on get_ptdev_info
[ { "change_type": "MODIFY", "old_path": "hypervisor/arch/x86/assign.c", "new_path": "hypervisor/arch/x86/assign.c", "diff": "@@ -967,7 +967,7 @@ int get_ptdev_info(char *str, int str_max)\nuint64_t dest;\nbool lvl_tm;\nint pin, vpin, bdf, vbdf;\n- struct list_head *pos = NULL, *vm_pos;\n+ struct list...
C
BSD 3-Clause New or Revised License
projectacrn/acrn-hypervisor
minor fix on get_ptdev_info Signed-off-by: Li, Fei1 <fei1.li@intel.com>
528,747
16.03.2018 10:18:42
25,200
3b86c9710edaff49faea279acac0fe4ee2b1ce10
doc: improvements for sphinx generation Handle version retrieval better when comments are present. Add warning if Sphinx theme (read_the_docs) is missing.
[ { "change_type": "MODIFY", "old_path": "doc/conf.py", "new_path": "doc/conf.py", "diff": "@@ -57,13 +57,17 @@ author = u'Project ARCN developers'\n# Makefile from the acrn-hypervisor repo by finding these lines:\n# MAJOR_VERSION=0\n# MINOR_VERSION=1\n+# RC_VERSION=1\ntry:\nversion_major = None\nvers...
C
BSD 3-Clause New or Revised License
projectacrn/acrn-hypervisor
doc: improvements for sphinx generation Handle version retrieval better when comments are present. Add warning if Sphinx theme (read_the_docs) is missing. Signed-off-by: David B. Kinder <david.b.kinder@intel.com>
528,745
17.03.2018 14:14:46
-28,800
337706b6ba4408f871ef77081e60d5a4f89e81b9
Update typo and add full name of UOSloader
[ { "change_type": "MODIFY", "old_path": "hypervisor/Documentation/Trusty.txt", "new_path": "hypervisor/Documentation/Trusty.txt", "diff": "@@ -50,7 +50,7 @@ Note: Trusty OS is running in Secure World in the architecture above.\nTrusty specific Hypercalls\n**************************\n1. HC_LAUNCH_TRUS...
C
BSD 3-Clause New or Revised License
projectacrn/acrn-hypervisor
Update typo and add full name of UOSloader
528,768
14.03.2018 00:56:05
-28,800
83e78e16c7dac21ba01a97be3926f202f6de0968
align the coding style when access VMEXIT_QUAL - align coding style to avoid redundant operations when operating on reading VMX_EXIT_QUALIFICATION
[ { "change_type": "MODIFY", "old_path": "hypervisor/arch/x86/ept.c", "new_path": "hypervisor/arch/x86/ept.c", "diff": "@@ -414,7 +414,7 @@ int ept_violation_handler(struct vcpu *vcpu)\nuint64_t gpa;\n/* Handle page fault from guest */\n- exit_qual = exec_vmread(VMX_EXIT_QUALIFICATION);\n+ exit_qual =...
C
BSD 3-Clause New or Revised License
projectacrn/acrn-hypervisor
align the coding style when access VMEXIT_QUAL - align coding style to avoid redundant operations when operating on reading VMX_EXIT_QUALIFICATION Signed-off-by: Yonghua Huang <yonghua.huang@intel.com>
528,747
16.03.2018 16:30:13
25,200
ed78db46ab52d14f4d98e08ae1c0a1ffcf14ceaa
update launch_uos.sh script Documentation says to use CL version 21260, but sample script wasn't updated.
[ { "change_type": "MODIFY", "old_path": "devicemodel/samples/launch_uos.sh", "new_path": "devicemodel/samples/launch_uos.sh", "diff": "@@ -19,7 +19,7 @@ mem_size=1000M\nacrn-dm -A -m $mem_size -c $2 -s 0:0,hostbridge -s 1:0,lpc -l com1,stdio \\\n-s 5,virtio-console,@pty:pty_port \\\n-s 6,virtio-hyper...
C
BSD 3-Clause New or Revised License
projectacrn/acrn-hypervisor
update launch_uos.sh script Documentation says to use CL version 21260, but sample script wasn't updated. Signed-off-by: David B. Kinder <david.b.kinder@intel.com>
528,747
19.03.2018 16:39:43
25,200
a5e32731ada03369ff02a325be2ca9282787489c
doc: update getting started images New (and cleaner) images for the getting started guide.
[ { "change_type": "MODIFY", "old_path": "doc/getting_started/images/gsg-bootmenu.png", "new_path": "doc/getting_started/images/gsg-bootmenu.png", "diff": "Binary files a/doc/getting_started/images/gsg-bootmenu.png and b/doc/getting_started/images/gsg-bootmenu.png differ\n" }, { "change_type":...
C
BSD 3-Clause New or Revised License
projectacrn/acrn-hypervisor
doc: update getting started images New (and cleaner) images for the getting started guide. Signed-off-by: David B. Kinder <david.b.kinder@intel.com>
528,728
20.03.2018 00:06:57
-3,600
cd72305368fdaec65c7720ba8a6fceb11b14b938
getting_started: make instructions more specific Make the Getting Started Guide instructions more specific and comprehensive for Clear Linux version 21260 (version of reference)
[ { "change_type": "MODIFY", "old_path": "doc/getting_started/index.rst", "new_path": "doc/getting_started/index.rst", "diff": "@@ -44,11 +44,17 @@ Currently, an installable version of ARCN does not exist. Therefore, you\nneed to setup a base Clear Linux OS to bootstrap ACRN on the NUC. You'll\nneed a...
C
BSD 3-Clause New or Revised License
projectacrn/acrn-hypervisor
getting_started: make instructions more specific Make the Getting Started Guide instructions more specific and comprehensive for Clear Linux version 21260 (version of reference) Signed-off-by: Geoffroy Van Cutsem <geoffroy.vancutsem@intel.com>
528,728
19.03.2018 05:28:45
25,200
2efcbe3ab83426b6655e1f717ab8b0273d57cf90
Makefile: fix a couple of wrong variable assignments Fix a couple of wrong assignments to D_SRCS and C_SRCS.
[ { "change_type": "MODIFY", "old_path": "hypervisor/Makefile", "new_path": "hypervisor/Makefile", "diff": "@@ -85,8 +85,8 @@ D_SRCS += debug/serial.c\nD_SRCS += debug/uart16550.c\nD_SRCS += debug/console.c\nD_SRCS += debug/sbuf.c\n-C_SRCS += debug/printf.c\n-D_SRCS += boot/acpi.c\n+D_SRCS += debug/pr...
C
BSD 3-Clause New or Revised License
projectacrn/acrn-hypervisor
Makefile: fix a couple of wrong variable assignments Fix a couple of wrong assignments to D_SRCS and C_SRCS. Signed-off-by: Geoffroy Van Cutsem <geoffroy.vancutsem@intel.com>
528,783
16.03.2018 14:09:40
-28,800
35f5eef6585e0d2bb22c7e7cb60593fd5d0f7177
Add page mask MACRO Add 'CPU_PAGE_MASK' used for calculate address, Change IA32E_REF_MASK from 0x7ffffffffffff000 to 0x000ffffffffff000 for MMU/EPT entry, bit62:52(ignore) bit63(VE/XD) if we want to obtain the address from the MMU/EPT entry,need to clear bit63:52 by IA32E_REF_MASK
[ { "change_type": "MODIFY", "old_path": "hypervisor/include/arch/x86/cpu.h", "new_path": "hypervisor/include/arch/x86/cpu.h", "diff": "/* Define page size */\n#define CPU_PAGE_SHIFT 12\n#define CPU_PAGE_SIZE 0x1000\n+#define CPU_PAGE_MASK 0xFFFFFFFFFFFFF000\n/* Define CPU stack alignment */\n#define ...
C
BSD 3-Clause New or Revised License
projectacrn/acrn-hypervisor
Add page mask MACRO Add 'CPU_PAGE_MASK' used for calculate address, Change IA32E_REF_MASK from 0x7ffffffffffff000 to 0x000ffffffffff000 for MMU/EPT entry, bit62:52(ignore) bit63(VE/XD) if we want to obtain the address from the MMU/EPT entry,need to clear bit63:52 by IA32E_REF_MASK Signed-off-by: Mingqiang Chi <mingqi...
528,804
01.03.2018 20:24:28
-28,800
119b038551bb8948da0e8f46c84d5b12d5d15505
to support firmware & ramdisk as multiboot mods 1. refine multiboot related code, move to /boot. 2. firmware files and ramdisk can be stitched in iasImage; and they will be loaded as multiboot modules.
[ { "change_type": "MODIFY", "old_path": "hypervisor/Makefile", "new_path": "hypervisor/Makefile", "diff": "@@ -88,6 +88,7 @@ D_SRCS += debug/sbuf.c\nD_SRCS += debug/printf.c\nC_SRCS += boot/acpi.c\nC_SRCS += boot/dmar_parse.c\n+C_SRCS += boot/multiboot.c\nC_SRCS += arch/x86/ioapic.c\nC_SRCS += arch/x...
C
BSD 3-Clause New or Revised License
projectacrn/acrn-hypervisor
to support firmware & ramdisk as multiboot mods 1. refine multiboot related code, move to /boot. 2. firmware files and ramdisk can be stitched in iasImage; and they will be loaded as multiboot modules. Signed-off-by: Minggui Cao <minggui.cao@intel.com>
528,783
15.03.2018 16:43:05
-28,800
f4780c0cd41f4c8058c4485c8778f74c9454bb96
Remove unnecessary variable in map_mem the variable 'table_present' is redundant in function(map_mem_region)
[ { "change_type": "MODIFY", "old_path": "hypervisor/arch/x86/mmu.c", "new_path": "hypervisor/arch/x86/mmu.c", "diff": "@@ -166,7 +166,6 @@ static uint32_t map_mem_region(void *vaddr, void *paddr,\nint ept_entry, enum mem_map_request_type request_type)\n{\nuint64_t table_entry;\n- uint64_t table_prese...
C
BSD 3-Clause New or Revised License
projectacrn/acrn-hypervisor
Remove unnecessary variable in map_mem the variable 'table_present' is redundant in function(map_mem_region) Signed-off-by: Mingqiang Chi <mingqiang.chi@intel.com>
528,675
09.03.2018 07:21:14
-28,800
155be81dbf00f986ad771e50883cd45ade093e3a
ptdev: fix bug when update ptdev entry info->phys_pin need be used by ptdev_build_native_rte when updating entry TODO: currently ptdev entry is virtual based, the better solution should be physical based.
[ { "change_type": "MODIFY", "old_path": "hypervisor/arch/x86/assign.c", "new_path": "hypervisor/arch/x86/assign.c", "diff": "@@ -747,7 +747,15 @@ int ptdev_intx_pin_remap(struct vm *vm, struct ptdev_intx_info *info)\ninfo->phys_pin, pic_pin);\n} else\ngoto END;\n- }\n+ } else\n+ /* info->phys_pin nee...
C
BSD 3-Clause New or Revised License
projectacrn/acrn-hypervisor
ptdev: fix bug when update ptdev entry info->phys_pin need be used by ptdev_build_native_rte when updating entry TODO: currently ptdev entry is virtual based, the better solution should be physical based. Signed-off-by: Jason Chen CJ <jason.cj.chen@intel.com>
528,768
13.03.2018 17:02:51
-28,800
b6d73be1a626ba8ac0ac33bf38b5b5780b5affee
Enable FORTIFY and FORMAT SECURITY compile flags 1. Enable below 2 defenses in Makefile "-O2 -D_FORTIFY_SOURCE=2" "-Wformat -Wformat-security" 2. Update related source code impacted by above 2 flags
[ { "change_type": "MODIFY", "old_path": "devicemodel/Makefile", "new_path": "devicemodel/Makefile", "diff": "@@ -17,6 +17,8 @@ CFLAGS += -DNO_OPENSSL\nCFLAGS += -m64\nCFLAGS += -Wall -ffunction-sections\nCFLAGS += -Werror\n+CFLAGS += -O2 -D_FORTIFY_SOURCE=2\n+CFLAGS += -Wformat -Wformat-security\nCFL...
C
BSD 3-Clause New or Revised License
projectacrn/acrn-hypervisor
Enable FORTIFY and FORMAT SECURITY compile flags 1. Enable below 2 defenses in Makefile "-O2 -D_FORTIFY_SOURCE=2" "-Wformat -Wformat-security" 2. Update related source code impacted by above 2 flags Change-Id: Ib42214848f030b4cf508cd7c52a7e3cc809435d9 Signed-off-by: Yonghua Huang <yonghua.huang@intel.com>
528,783
20.03.2018 11:27:20
-28,800
2deb4cb4582adb9ff6098161cf99f9602cbbb169
mmu: Rename several variables related to page table type rename 'PT_HOST' to 'PTT_HOST' rename 'PT_EPT' to 'PTT_EPT' rename 'ept_type' to 'table_type'
[ { "change_type": "MODIFY", "old_path": "hypervisor/arch/x86/ept.c", "new_path": "hypervisor/arch/x86/ept.c", "diff": "@@ -146,7 +146,7 @@ uint64_t gpa2hpa_check(struct vm *vm, uint64_t gpa,\nstruct entry_params entry;\nstruct map_params map_params;\n- map_params.page_table_type = PT_EPT;\n+ map_para...
C
BSD 3-Clause New or Revised License
projectacrn/acrn-hypervisor
mmu: Rename several variables related to page table type rename 'PT_HOST' to 'PTT_HOST' rename 'PT_EPT' to 'PTT_EPT' rename 'ept_type' to 'table_type' Signed-off-by: Mingqiang Chi <mingqiang.chi@intel.com>
528,728
20.03.2018 06:54:43
25,200
eb319778171f63613ae4b8d3252d6531351149da
Makefile (uefi): add gnu-efi(-devel) build dependency for Fedora/doc/CentOS Add the 'gnu-efi' dependency required to build the ACRN hypervisor with "PLATFORM=uefi" on Fedora. 'gnu-efi-devel' is required on CentOS.
[ { "change_type": "MODIFY", "old_path": "doc/getting_started/index.rst", "new_path": "doc/getting_started/index.rst", "diff": "@@ -338,6 +338,7 @@ each with their own way to install development tools:\n.. code-block:: console\n$ sudo dnf install gcc \\\n+ gnu-efi \\\nlibuuid-devel \\\nopenssl-devel \...
C
BSD 3-Clause New or Revised License
projectacrn/acrn-hypervisor
Makefile (uefi): add gnu-efi(-devel) build dependency for Fedora/doc/CentOS Add the 'gnu-efi' dependency required to build the ACRN hypervisor with "PLATFORM=uefi" on Fedora. 'gnu-efi-devel' is required on CentOS. Signed-off-by: Geoffroy Van Cutsem <geoffroy.vancutsem@intel.com>
528,747
20.03.2018 17:34:09
25,200
d8b1fd26825d5d87f4ca5a70dd5862f124c94c29
doc: add doc building/publishing instructions Add a new document describing how doc building and publishing works and how to setup a doc working directory and build tools to make it so.
[ { "change_type": "MODIFY", "old_path": "doc/Makefile", "new_path": "doc/Makefile", "diff": "@@ -33,7 +33,7 @@ doxy: pullsource\n$(Q)(cat acrn.doxyfile) | doxygen - 2>&1\nhtml: doxy\n- $(Q)$(SPHINXBUILD) -b html -d $(BUILDDIR)/doctrees $(SOURCEDIR) $(BUILDDIR)/html $(SPHINXOPTS) $(O) > doc.log 2>&1\n...
C
BSD 3-Clause New or Revised License
projectacrn/acrn-hypervisor
doc: add doc building/publishing instructions Add a new document describing how doc building and publishing works and how to setup a doc working directory and build tools to make it so. Signed-off-by: David B. Kinder <david.b.kinder@intel.com>
528,733
15.03.2018 16:49:56
-28,800
66ddb67bdda5341bc34e1429e0de35b431d9f9c0
DM: acpi: Update the reset value of FADT to trigger cold reboot There are bootloaders require cold reboot as ACPI reboot instead of warm reboot. So we set 0xE to reset value of FADT to make ACPI reboot cold reboot.
[ { "change_type": "MODIFY", "old_path": "devicemodel/hw/acpi/acpi.c", "new_path": "devicemodel/hw/acpi/acpi.c", "diff": "@@ -393,7 +393,7 @@ basl_fwrite_fadt(FILE *fp)\nEFPRINTF(fp, \"[0008]\\t\\tAddress : 0000000000000CF9\\n\");\nEFPRINTF(fp, \"\\n\");\n- EFPRINTF(fp, \"[0001]\\t\\tValue to cause re...
C
BSD 3-Clause New or Revised License
projectacrn/acrn-hypervisor
DM: acpi: Update the reset value of FADT to trigger cold reboot There are bootloaders require cold reboot as ACPI reboot instead of warm reboot. So we set 0xE to reset value of FADT to make ACPI reboot cold reboot. Signed-off-by: Yin Fengwei <fengwei.yin@intel.com>
528,675
20.03.2018 03:49:46
-28,800
fcb95d02d6898a8364cd7dff974d70334fbed97b
uefi: init vlapic according to native lapic this patch save native lapic configuration and restore it to vm0's vlapic before its running, then doing hpet timer interrupt injection through vlapic interface -- this will not mess up vlapic and we can see hpet timer interrupt coming continuously.
[ { "change_type": "MODIFY", "old_path": "hypervisor/arch/x86/guest/vlapic.c", "new_path": "hypervisor/arch/x86/guest/vlapic.c", "diff": "@@ -1608,6 +1608,31 @@ vlapic_init(struct vlapic *vlapic)\nvlapic_reset(vlapic);\n}\n+void vlapic_restore(struct vlapic *vlapic, struct lapic_regs *regs)\n+{\n+ str...
C
BSD 3-Clause New or Revised License
projectacrn/acrn-hypervisor
uefi: init vlapic according to native lapic this patch save native lapic configuration and restore it to vm0's vlapic before its running, then doing hpet timer interrupt injection through vlapic interface -- this will not mess up vlapic and we can see hpet timer interrupt coming continuously. Signed-off-by: Jason Che...
528,728
21.03.2018 12:16:55
-3,600
34ccbb5f8eb8bb9453116405f015ed665ebd1b61
getting_started: update dependency for Fedora 27 Update the build dependency for Fedora. 'gnu-efi' was listed as a dependency but it's actually 'gnu-efi-devel' that we need else the header file ('efi.h') is not installed.
[ { "change_type": "MODIFY", "old_path": "doc/getting_started/index.rst", "new_path": "doc/getting_started/index.rst", "diff": "@@ -338,7 +338,7 @@ each with their own way to install development tools:\n.. code-block:: console\n$ sudo dnf install gcc \\\n- gnu-efi \\\n+ gnu-efi-devel \\\nlibuuid-devel...
C
BSD 3-Clause New or Revised License
projectacrn/acrn-hypervisor
getting_started: update dependency for Fedora 27 Update the build dependency for Fedora. 'gnu-efi' was listed as a dependency but it's actually 'gnu-efi-devel' that we need else the header file ('efi.h') is not installed. Signed-off-by: Geoffroy Van Cutsem <geoffroy.vancutsem@intel.com>
528,768
22.03.2018 00:14:33
-28,800
9b269aee793a3426b50a83df3ce17dca3b194220
Add handle EOI case when APIC-write VM exit -If "virtual-interrupt delivery" VM-execution control is 0, Processor will causes an APIC-write VM exit if page offset is 0xB0 (EOI), SDM Vol3, Chapter 29.4.3
[ { "change_type": "MODIFY", "old_path": "hypervisor/arch/x86/guest/vlapic.c", "new_path": "hypervisor/arch/x86/guest/vlapic.c", "diff": "@@ -2384,6 +2384,9 @@ int apicv_write_exit_handler(struct vcpu *vcpu)\ncase APIC_OFFSET_ID:\nvlapic_id_write_handler(vlapic);\nbreak;\n+ case APIC_OFFSET_EOI:\n+ vl...
C
BSD 3-Clause New or Revised License
projectacrn/acrn-hypervisor
Add handle EOI case when APIC-write VM exit -If "virtual-interrupt delivery" VM-execution control is 0, Processor will causes an APIC-write VM exit if page offset is 0xB0 (EOI), SDM Vol3, Chapter 29.4.3 Signed-off-by: Yonghua Huang <yonghua.huang@intel.com>
528,768
21.03.2018 01:05:50
-28,800
f01a8eef5872e60d489452b3e6506afeaa069846
Add APIC ACCESS VMexit handler Update 'apic_access_exit_handler()' function to emulate guest instruments to read/write guest's lapic registers page
[ { "change_type": "MODIFY", "old_path": "hypervisor/arch/x86/guest/vlapic.c", "new_path": "hypervisor/arch/x86/guest/vlapic.c", "diff": "#include <bsp_extern.h>\n#include <hv_debug.h>\n+#include \"instr_emul_wrapper.h\"\n+#include \"instr_emul.h\"\n+\n#include \"time.h\"\n#include \"vlapic_priv.h\"\n...
C
BSD 3-Clause New or Revised License
projectacrn/acrn-hypervisor
Add APIC ACCESS VMexit handler Update 'apic_access_exit_handler()' function to emulate guest instruments to read/write guest's lapic registers page Signed-off-by: Yonghua Huang <yonghua.huang@intel.com>
528,768
22.03.2018 01:17:24
-28,800
7d8803f5ea4a4e02ddc43e00ec7a7d7bcca2df16
hv:enable APICv features based on CPU capability this patch is to detect and enable only APICv features which are actually supported by the processor, instead fo tuning on all features by default.
[ { "change_type": "MODIFY", "old_path": "hypervisor/arch/x86/cpu.c", "new_path": "hypervisor/arch/x86/cpu.c", "diff": "@@ -64,16 +64,24 @@ DEFINE_CPU_DATA(void *, vcpu);\nDEFINE_CPU_DATA(int, state);\n/* TODO: add more capability per requirement */\n+/*APICv features*/\n+#define VAPIC_FEATURE_VIRT_AC...
C
BSD 3-Clause New or Revised License
projectacrn/acrn-hypervisor
hv:enable APICv features based on CPU capability this patch is to detect and enable only APICv features which are actually supported by the processor, instead fo tuning on all features by default. Signed-off-by: Yonghua Huang <yonghua.huang@intel.com>
528,768
22.03.2018 17:42:44
-28,800
d6904b412c6c9cbf8e7dd4ae79a654055f07ee25
hv: rename VM exit handlers in vlapic to keep aligned with the vmexit reasons' name defined in SPEC.
[ { "change_type": "MODIFY", "old_path": "hypervisor/arch/x86/guest/vlapic.c", "new_path": "hypervisor/arch/x86/guest/vlapic.c", "diff": "@@ -2337,7 +2337,7 @@ apicv_inject_pir(struct vlapic *vlapic)\n}\n}\n-int apic_access_exit_handler(struct vcpu *vcpu)\n+int apic_access_vmexit_handler(struct vcpu *...
C
BSD 3-Clause New or Revised License
projectacrn/acrn-hypervisor
hv: rename VM exit handlers in vlapic to keep aligned with the vmexit reasons' name defined in SPEC. Signed-off-by: Yonghua Huang <yonghua.huang@intel.com>
528,654
22.03.2018 00:21:54
-28,800
3f83ea3add2ff5f3c44999ff629780cfa08b0795
Remove redefine macro
[ { "change_type": "MODIFY", "old_path": "hypervisor/lib/sprintf.c", "new_path": "hypervisor/lib/sprintf.c", "diff": "#define PRINT_STRING_MAX_LEN 4096\n-/** Command for the emit function: copy string to output. */\n-#define PRINT_CMD_COPY 0x00000000\n-\n-/** Command for the emit function: fill output...
C
BSD 3-Clause New or Revised License
projectacrn/acrn-hypervisor
Remove redefine macro Signed-off-by: Li, Fei1 <fei1.li@intel.com>
528,654
22.03.2018 00:23:01
-28,800
936c254d58d5054809385cb5ae1038c2d9f45770
Don't use HV_DEBUG outside debug directory
[ { "change_type": "MODIFY", "old_path": "hypervisor/arch/x86/cpu.c", "new_path": "hypervisor/arch/x86/cpu.c", "diff": "@@ -254,9 +254,7 @@ static void set_fs_base(void)\nvoid bsp_boot_init(void)\n{\n-#ifdef HV_DEBUG\nuint64_t start_tsc = rdtsc();\n-#endif\n/* Clear BSS */\nmemset(_ld_bss_start, 0, _l...
C
BSD 3-Clause New or Revised License
projectacrn/acrn-hypervisor
Don't use HV_DEBUG outside debug directory Signed-off-by: Li, Fei1 <fei1.li@intel.com>
528,654
22.03.2018 00:38:30
-28,800
ab2691de1625d6c174eed827fa68b5830b8c48b2
Don't build in debug directory for release
[ { "change_type": "MODIFY", "old_path": "hypervisor/Makefile", "new_path": "hypervisor/Makefile", "diff": "@@ -76,16 +76,7 @@ AR = ar\nLD = gcc\nPOSTLD = objcopy\n-D_SRCS += debug/dump.c\n-D_SRCS += debug/logmsg.c\n-D_SRCS += debug/shell_internal.c\n-D_SRCS += debug/shell_public.c\n-D_SRCS += debug/v...
C
BSD 3-Clause New or Revised License
projectacrn/acrn-hypervisor
Don't build in debug directory for release Signed-off-by: Li, Fei1 <fei1.li@intel.com>
528,654
22.03.2018 16:44:56
-28,800
42fa9b26025ff761091ef1644451e780a751d68a
Minor cleanup not to use uart for release on platform uefi
[ { "change_type": "MODIFY", "old_path": "hypervisor/include/debug/serial.h", "new_path": "hypervisor/include/debug/serial.h", "diff": "#ifdef HV_DEBUG\nint serial_init(void);\n+void uart16550_set_property(int enabled, int port_mapped, uint64_t base_addr);\n#else\nstatic inline int serial_init(void) {...
C
BSD 3-Clause New or Revised License
projectacrn/acrn-hypervisor
Minor cleanup not to use uart for release on platform uefi Signed-off-by: Li, Fei1 <fei1.li@intel.com>
528,675
21.03.2018 21:15:38
-28,800
4839f780e4f5c3a48da96e30b7cccd984e49a856
ioreq: only clear vcpu->req when io request needed
[ { "change_type": "MODIFY", "old_path": "hypervisor/arch/x86/ept.c", "new_path": "hypervisor/arch/x86/ept.c", "diff": "@@ -416,8 +416,6 @@ int ept_violation_handler(struct vcpu *vcpu)\n/* Handle page fault from guest */\nexit_qual = vcpu->arch_vcpu.exit_qualification;\n- memset(&vcpu->req, 0, sizeof(...
C
BSD 3-Clause New or Revised License
projectacrn/acrn-hypervisor
ioreq: only clear vcpu->req when io request needed Signed-off-by: Jason Chen CJ <jason.cj.chen@intel.com>
528,654
21.03.2018 21:14:14
-28,800
4110e25eaeafea855e95f8eb53974572a210d368
Add cpuinfo_x86 to cache cpu capability/feature Add a global boot_cpu_data to cache common cpu capbility/feature for detect cpu capbility/feature. Acked-by: Xu, Anthony Acked-by: Eddie Dong
[ { "change_type": "MODIFY", "old_path": "hypervisor/arch/x86/cpu.c", "new_path": "hypervisor/arch/x86/cpu.c", "diff": "@@ -73,39 +73,84 @@ DEFINE_CPU_DATA(int, state);\n#define VAPIC_FEATURE_VX2APIC_MODE (1 << 5)\nstruct cpu_capability {\n- bool tsc_adjust_supported;\n- bool ibrs_ibpb_supported;\n- b...
C
BSD 3-Clause New or Revised License
projectacrn/acrn-hypervisor
Add cpuinfo_x86 to cache cpu capability/feature Add a global boot_cpu_data to cache common cpu capbility/feature for detect cpu capbility/feature. Signed-off-by: Li, Fei1 <fei1.li@intel.com> Acked-by: Xu, Anthony <anthony.xu@intel.com> Acked-by: Eddie Dong <eddie.dong@intel.com>
528,654
23.03.2018 03:05:50
-28,800
6c1122f8698bd759e03c907a6b46f3157afa7bbc
cpuid restruct Generate all common virtual cpuid entries for flexible support of guest VCPUID emulation, by decoupling from PCPUID. Acked-by: Xu, Anthony Acked-by: Eddie Dong Acked-by: Chen, Jason CJ
[ { "change_type": "MODIFY", "old_path": "hypervisor/arch/x86/cpuid.c", "new_path": "hypervisor/arch/x86/cpuid.c", "diff": "#include <acrn_common.h>\n#include <hv_arch.h>\n#include <cpu.h>\n+#include <hv_debug.h>\n-void emulate_cpuid(struct vcpu *vcpu, uint32_t src_op, uint32_t *eax_ptr,\n- uint32_t *...
C
BSD 3-Clause New or Revised License
projectacrn/acrn-hypervisor
cpuid restruct Generate all common virtual cpuid entries for flexible support of guest VCPUID emulation, by decoupling from PCPUID. Signed-off-by: Li, Fei1 <fei1.li@intel.com> Acked-by: Xu, Anthony <anthony.xu@intel.com> Acked-by: Eddie Dong <eddie.dong@intel.com> Acked-by: Chen, Jason CJ <jason.cj.chen@intel.com>
528,733
21.03.2018 14:57:44
-28,800
6ee72d7df94152875fadd294c579d610228ca5be
DM: split sw_load.c to sw_load.c and sw_load_direct.c The common loader code is put to sw_load_common.c The loader code for directly kernel loading is put to sw_load_bzimage.c The further change for SBL will be put to sw_load_sbl.c
[ { "change_type": "MODIFY", "old_path": "devicemodel/Makefile", "new_path": "devicemodel/Makefile", "diff": "@@ -83,7 +83,8 @@ SRCS += hw/acpi/acpi.c\n# core\n#SRCS += core/bootrom.c\n-SRCS += core/sw_load.c\n+SRCS += core/sw_load_common.c\n+SRCS += core/sw_load_bzimage.c\nSRCS += core/smbiostbl.c\nS...
C
BSD 3-Clause New or Revised License
projectacrn/acrn-hypervisor
DM: split sw_load.c to sw_load.c and sw_load_direct.c The common loader code is put to sw_load_common.c The loader code for directly kernel loading is put to sw_load_bzimage.c The further change for SBL will be put to sw_load_sbl.c Signed-off-by: Yin Fengwei <fengwei.yin@intel.com>
528,675
25.03.2018 17:44:20
-28,800
170c48a9fc327857110a9fdff211b10915ee7920
debug: make ASSERT empty under release version ASSERT is only for debug purpose, for release version, it should try error handling instead of deadloop there. v1: change the ASSERT under release version to empty code TODO: revise all ASSERT usage Acked-by: Eddie Dong
[ { "change_type": "MODIFY", "old_path": "hypervisor/include/debug/assert.h", "new_path": "hypervisor/include/debug/assert.h", "diff": "@@ -40,12 +40,7 @@ void __assert(uint32_t line, const char *file, char *txt);\n__assert(__LINE__, __FILE__, \"fatal error\");\\\n}\n#else\n-#define ASSERT(x, ...) \\\...
C
BSD 3-Clause New or Revised License
projectacrn/acrn-hypervisor
debug: make ASSERT empty under release version ASSERT is only for debug purpose, for release version, it should try error handling instead of deadloop there. v1: - change the ASSERT under release version to empty code TODO: revise all ASSERT usage Signed-off-by: Jason Chen CJ <jason.cj.chen@intel.com> Acked-by: Edd...
528,736
26.03.2018 11:53:57
25,200
95199161e06e475faf46905d936a0f941ee3e74b
Fix compiler warnings when building for UEFI
[ { "change_type": "MODIFY", "old_path": "hypervisor/bsp/uefi/efi/boot.c", "new_path": "hypervisor/bsp/uefi/efi/boot.c", "diff": "@@ -244,7 +244,7 @@ load_sos_image(EFI_HANDLE image, CHAR16 *name, CHAR16 *cmdline)\nstruct multiboot_mmap *mmap;\nstruct multiboot_info *mbi;\n- struct acpi_table_rsdp *rs...
C
BSD 3-Clause New or Revised License
projectacrn/acrn-hypervisor
Fix compiler warnings when building for UEFI Signed-off-by: Rusty Lynch <rusty.lynch@intel.com>
528,675
26.03.2018 03:25:08
-28,800
9d02932ec48063bcf8352c007f415663a05a61ac
ptdev: change the ptdev_list from per-vm to global this patch is a preparation for changing ptdev remapping entry from virtual to physical based, it changes the ptdev_list from per-vm to global, as entries based on physical mode are global resource.
[ { "change_type": "MODIFY", "old_path": "hypervisor/arch/x86/assign.c", "new_path": "hypervisor/arch/x86/assign.c", "diff": "/* SOFTIRQ_DEV_ASSIGN list for all CPUs */\nstatic struct list_head softirq_dev_entry_list;\n+/* passthrough device link */\n+static struct list_head ptdev_list;\n/*\n* entry c...
C
BSD 3-Clause New or Revised License
projectacrn/acrn-hypervisor
ptdev: change the ptdev_list from per-vm to global this patch is a preparation for changing ptdev remapping entry from virtual to physical based, it changes the ptdev_list from per-vm to global, as entries based on physical mode are global resource. Signed-off-by: Jason Chen CJ <jason.cj.chen@intel.com>
528,675
26.03.2018 03:45:53
-28,800
70d4dbace7e952ec11b24368ccd6ae72432c3703
ptdev: change the ptdev_lock from per-vm to global this patch is a preparation for changing ptdev remapping entry from virtual to physical based, it changes the ptdev_lock from per-vm to global, as entries based on physical mode are global resource.
[ { "change_type": "MODIFY", "old_path": "hypervisor/arch/x86/assign.c", "new_path": "hypervisor/arch/x86/assign.c", "diff": "static struct list_head softirq_dev_entry_list;\n/* passthrough device link */\nstatic struct list_head ptdev_list;\n+static spinlock_t ptdev_lock;\n/*\n* entry could both be i...
C
BSD 3-Clause New or Revised License
projectacrn/acrn-hypervisor
ptdev: change the ptdev_lock from per-vm to global this patch is a preparation for changing ptdev remapping entry from virtual to physical based, it changes the ptdev_lock from per-vm to global, as entries based on physical mode are global resource. Signed-off-by: Jason Chen CJ <jason.cj.chen@intel.com>
528,675
26.03.2018 04:07:02
-28,800
a8b377145e95b1c9c9c59194f663970d45fe33f1
ptdev: refine the functions name & code position refine some functions name and put functions under proper sequence get_remapping_entry -> get_entry ptdev_native_owned_intx -> ptdev_hv_owned_intx ptdev_build_native_msi -> ptdev_build_physical_msi ptdev_build_native_rte -> ptdev_build_physical_rte update_active_native_i...
[ { "change_type": "MODIFY", "old_path": "hypervisor/arch/x86/assign.c", "new_path": "hypervisor/arch/x86/assign.c", "diff": "@@ -96,7 +96,7 @@ entry_is_active(struct ptdev_remapping_info *entry)\n/* require ptdev_lock protect */\nstatic inline struct ptdev_remapping_info *\n-_get_remapping_entry(stru...
C
BSD 3-Clause New or Revised License
projectacrn/acrn-hypervisor
ptdev: refine the functions name & code position refine some functions name and put functions under proper sequence - get_remapping_entry -> get_entry - ptdev_native_owned_intx -> ptdev_hv_owned_intx - ptdev_build_native_msi -> ptdev_build_physical_msi - ptdev_build_native_rte -> ptdev_build_physical_rte - update_acti...
528,675
26.03.2018 04:24:19
-28,800
471082cc6c6238f9db3c732e5715c213947a4d74
ptdev: refine function input parameters functions ptdev_build_physical_rte & activate_physical_ioapic doesn't need to get parameters like phys_irq, ptdev_intx_info or vector from caller, instead they can derive from entry.
[ { "change_type": "MODIFY", "old_path": "hypervisor/arch/x86/assign.c", "new_path": "hypervisor/arch/x86/assign.c", "diff": "@@ -365,16 +365,18 @@ static void ptdev_build_physical_msi(struct vm *vm, struct ptdev_msi_info *info,\n}\nstatic uint64_t ptdev_build_physical_rte(struct vm *vm,\n- struct ptd...
C
BSD 3-Clause New or Revised License
projectacrn/acrn-hypervisor
ptdev: refine function input parameters functions ptdev_build_physical_rte & activate_physical_ioapic doesn't need to get parameters like phys_irq, ptdev_intx_info or vector from caller, instead they can derive from entry. Signed-off-by: Jason Chen CJ <jason.cj.chen@intel.com>
528,654
27.03.2018 21:51:14
-28,800
57152d0f27fbc92fa9da15118181c152d5e02ad7
hv: lapic: export write_lapic_reg32
[ { "change_type": "MODIFY", "old_path": "hypervisor/arch/x86/intr_lapic.c", "new_path": "hypervisor/arch/x86/intr_lapic.c", "diff": "@@ -166,15 +166,19 @@ struct lapic_info {\nstatic struct lapic_info lapic_info;\n-static uint32_t read_lapic_reg32(uint32_t offset)\n+static inline uint32_t read_lapic_...
C
BSD 3-Clause New or Revised License
projectacrn/acrn-hypervisor
hv: lapic: export write_lapic_reg32 Signed-off-by: Li, Fei1 <fei1.li@intel.com>
528,654
27.03.2018 21:53:49
-28,800
5a47c267e3fa7bec2243e26c7800b2311aebad9b
hv: vlapic: simple vlapic_rd/wr input Remove unnecessary input parameters
[ { "change_type": "MODIFY", "old_path": "hypervisor/arch/x86/guest/vlapic.c", "new_path": "hypervisor/arch/x86/guest/vlapic.c", "diff": "@@ -110,10 +110,10 @@ static void *apicv_apic_access_addr;\nstatic int\nvlapic_write(struct vlapic *vlapic, int mmio_access, uint64_t offset,\n- uint64_t data, bool...
C
BSD 3-Clause New or Revised License
projectacrn/acrn-hypervisor
hv: vlapic: simple vlapic_rd/wr input Remove unnecessary input parameters Signed-off-by: Li, Fei1 <fei1.li@intel.com>
528,675
27.03.2018 21:07:56
-28,800
c7dd6a51b5c61bc69ebe4d1a7849107ef2bb6a85
Remove STATIC_ASSERT Macro and replace with standard _Static_assert Acked-by: Eddie Dong
[ { "change_type": "MODIFY", "old_path": "hypervisor/arch/x86/cpu.c", "new_path": "hypervisor/arch/x86/cpu.c", "diff": "@@ -292,40 +292,57 @@ void bsp_boot_init(void)\n/* Build time sanity checks to make sure hard-coded offset\n* is matching the actual offset!\n*/\n- STATIC_ASSERT(offsetof(struct cpu_...
C
BSD 3-Clause New or Revised License
projectacrn/acrn-hypervisor
Remove STATIC_ASSERT Macro and replace with standard _Static_assert Signed-off-by: Jason Chen CJ <jason.cj.chen@intel.com> Acked-by: Eddie Dong <eddie.dong@intel.com>
528,675
27.03.2018 04:29:25
-28,800
4f40b53c738ac8bf95e331f1a674030c6c61d357
ptdev: fix ptdev_hv_owned_intx under release version for release version, the vuart is not be used - pin 4 then is not used by hypervisor. this patch adds check for vm0->vuart to distinguish it. Acked-by: Eddie Dong
[ { "change_type": "MODIFY", "old_path": "hypervisor/arch/x86/assign.c", "new_path": "hypervisor/arch/x86/assign.c", "diff": "@@ -321,8 +321,8 @@ static void check_deactive_pic_intx(struct vm *vm, uint8_t phys_pin)\nstatic bool ptdev_hv_owned_intx(struct vm *vm, struct ptdev_intx_info *info)\n{\n- /* ...
C
BSD 3-Clause New or Revised License
projectacrn/acrn-hypervisor
ptdev: fix ptdev_hv_owned_intx under release version for release version, the vuart is not be used - pin 4 then is not used by hypervisor. this patch adds check for vm0->vuart to distinguish it. Signed-off-by: Jason Chen CJ <jason.cj.chen@intel.com> Acked-by: Eddie Dong <eddie.dong@intel.com>
528,755
28.03.2018 12:33:05
-28,800
9422f3e287dacf4b8996e1598614a03b1decc762
Makefile cleanup replace "=" with "?=", if variable is defined, don't redefine. replace POSTLD with OBJCOPY fix the variable LD assignment
[ { "change_type": "MODIFY", "old_path": "hypervisor/Makefile", "new_path": "hypervisor/Makefile", "diff": "@@ -70,11 +70,11 @@ INCLUDE_PATH += bsp/include\nINCLUDE_PATH += bsp/$(PLATFORM)/include/bsp\nINCLUDE_PATH += boot/include\n-CC = gcc\n-AS = as\n-AR = ar\n-LD = gcc\n-POSTLD = objcopy\n+CC ?= gc...
C
BSD 3-Clause New or Revised License
projectacrn/acrn-hypervisor
Makefile cleanup replace "=" with "?=", if variable is defined, don't redefine. replace POSTLD with OBJCOPY fix the variable LD assignment Signed-off-by: Tianhua Sun <tianhuax.s.sun@intel.com>
528,733
27.03.2018 12:40:39
-28,800
446297f96d46b9ea3c7a74fd3bb979bf74dc196d
DM: sw_load: sw_load function name update To align with file name, acrn_sw_load_direct() is changed to acrn_sw_load_bzimage(). Acked-by: Anthony Xu
[ { "change_type": "MODIFY", "old_path": "devicemodel/core/sw_load_bzimage.c", "new_path": "devicemodel/core/sw_load_bzimage.c", "diff": "@@ -279,7 +279,7 @@ acrn_prepare_zeropage(struct vmctx *ctx, int setup_size)\n}\nint\n-acrn_sw_load_direct(struct vmctx *ctx)\n+acrn_sw_load_bzimage(struct vmctx *c...
C
BSD 3-Clause New or Revised License
projectacrn/acrn-hypervisor
DM: sw_load: sw_load function name update To align with file name, acrn_sw_load_direct() is changed to acrn_sw_load_bzimage(). Signed-off-by: Yin Fengwei <fengwei.yin@intel.com> Acked-by: Anthony Xu <anthony.xu@intel.com>
528,733
21.03.2018 15:18:16
-28,800
860c2cab3e8b55757a5ca1277a32ae41fe0a6987
DM: export acpi table base address and length. Will update e820 table to mark the address ACPI specific type. Also need pass ACPI table start address and size to vsbl. Acked-by: Kevin Tian
[ { "change_type": "MODIFY", "old_path": "devicemodel/hw/acpi/acpi.c", "new_path": "devicemodel/hw/acpi/acpi.c", "diff": "* the individual tables\n*/\n#define ACPI_BASE 0xf2400\n+#define ACPI_LENGTH (0x100000 - ACPI_BASE)\n#define RSDT_OFFSET 0x040\n#define XSDT_OFFSET 0x080\n#define MADT_OFFSET 0x100...
C
BSD 3-Clause New or Revised License
projectacrn/acrn-hypervisor
DM: export acpi table base address and length. Will update e820 table to mark the address ACPI specific type. Also need pass ACPI table start address and size to vsbl. Signed-off-by: Yin Fengwei <fengwei.yin@intel.com> Acked-by: Kevin Tian <kevin.tian@intel.com>
528,733
27.03.2018 13:46:19
-28,800
53b89b91deb6a676365ca9ce43365837375ef97f
DM: add long option to specify guest partition info file Some guests needs guest partition info passed to support A/B boot. DM needs to load guest partition info from file and pass to vsbl. Acked-by: Anthony Xu
[ { "change_type": "MODIFY", "old_path": "devicemodel/core/main.c", "new_path": "devicemodel/core/main.c", "diff": "@@ -128,7 +128,8 @@ usage(int code)\nfprintf(stderr,\n\"Usage: %s [-abehuwxACHPSWY] [-c vcpus] [-g <gdb port>] [-l <lpc>]\\n\"\n\" %*s [-m mem] [-p vcpu:hostcpu] [-s <pci>] [-U uuid] \\n...
C
BSD 3-Clause New or Revised License
projectacrn/acrn-hypervisor
DM: add long option to specify guest partition info file Some guests needs guest partition info passed to support A/B boot. DM needs to load guest partition info from file and pass to vsbl. Signed-off-by: Yin Fengwei <fengwei.yin@intel.com> Acked-by: Anthony Xu <anthony.xu@intel.com>
528,733
21.03.2018 16:09:15
-28,800
0d9d628d9aabad71a29b8f012885ea708ab8aad9
DM: add option to show which virtio-blk is boot device. Now, we could use option: -s 3,virtio-blk,/XXXX_vdisk_file,b to show this virtio device is boot device for guest. Acked-by: Anthony Xu
[ { "change_type": "MODIFY", "old_path": "devicemodel/hw/pci/core.c", "new_path": "devicemodel/hw/pci/core.c", "diff": "#include \"pci_core.h\"\n#include \"irq.h\"\n#include \"lpc.h\"\n+#include \"sw_load.h\"\n#define CONF1_ADDR_PORT 0x0cf8\n#define CONF1_DATA_PORT 0x0cfc\n@@ -161,7 +162,7 @@ pci_pars...
C
BSD 3-Clause New or Revised License
projectacrn/acrn-hypervisor
DM: add option to show which virtio-blk is boot device. Now, we could use option: -s 3,virtio-blk,/XXXX_vdisk_file,b to show this virtio device is boot device for guest. Signed-off-by: Yin Fengwei <fengwei.yin@intel.com> Acked-by: Anthony Xu <anthony.xu@intel.com>
528,786
27.03.2018 17:28:51
-28,800
922daae198f04736a5331ab65df7578a8b7e33ac
trusty: add key_info for trusty bring-up For trusty bring-up, key_info is needed. Currently, bootloader did not transfer key_info to hypervisor. So in this patch, use dummy key_info temporarily. Derive vSeed from dSeed before trusty startup, the vSeed will bind with UUID of each VM. Remove key_info from sworld_control ...
[ { "change_type": "MODIFY", "old_path": "hypervisor/Makefile", "new_path": "hypervisor/Makefile", "diff": "@@ -60,6 +60,7 @@ ARCH_LDSCRIPT_IN = bsp/ld/link_ram.ld.in\nINCLUDE_PATH += include\nINCLUDE_PATH += include/lib\n+INCLUDE_PATH += include/lib/crypto\nINCLUDE_PATH += include/common\nINCLUDE_PAT...
C
BSD 3-Clause New or Revised License
projectacrn/acrn-hypervisor
trusty: add key_info for trusty bring-up For trusty bring-up, key_info is needed. Currently, bootloader did not transfer key_info to hypervisor. So in this patch, use dummy key_info temporarily. Derive vSeed from dSeed before trusty startup, the vSeed will bind with UUID of each VM. Remove key_info from sworld_contr...
528,786
27.03.2018 17:29:54
-28,800
8502c8eff3f1299e8a31375e99ac3763ac99e292
io: remove pio emulation restriction Currently, the serial log is printed through IO(0x3f8). Secure World will print serial log by port 0x3f8. So remove the ASSERT for Secure World booting.
[ { "change_type": "MODIFY", "old_path": "hypervisor/arch/x86/io.c", "new_path": "hypervisor/arch/x86/io.c", "diff": "@@ -45,8 +45,6 @@ int dm_emulate_pio_post(struct vcpu *vcpu)\n0xFFFFFFFFul >> (32 - 8 * vcpu->req.reqs.pio_request.size);\nuint64_t *rax;\n- ASSERT(cur_context == 0, \"pio emulation on...
C
BSD 3-Clause New or Revised License
projectacrn/acrn-hypervisor
io: remove pio emulation restriction Currently, the serial log is printed through IO(0x3f8). Secure World will print serial log by port 0x3f8. So remove the ASSERT for Secure World booting. Signed-off-by: Qi Yadong <yadong.qi@intel.com>
528,786
29.03.2018 08:55:09
-28,800
8d67f292ef5aebf16428e21063b22180683f49f3
Rename TIME_MS_DELTA to CYCLES_PER_MS TIME_MS_DELTA is not clear enough, rename it to CYCLES_PER_MS.
[ { "change_type": "MODIFY", "old_path": "hypervisor/arch/x86/trusty.c", "new_path": "hypervisor/arch/x86/trusty.c", "diff": "@@ -317,7 +317,7 @@ static bool setup_trusty_info(struct vcpu *vcpu,\nmem->first_page.startup_param.size_of_this_struct =\nsizeof(struct trusty_startup_param);\nmem->first_page...
C
BSD 3-Clause New or Revised License
projectacrn/acrn-hypervisor
Rename TIME_MS_DELTA to CYCLES_PER_MS TIME_MS_DELTA is not clear enough, rename it to CYCLES_PER_MS. Signed-off-by: Qi Yadong <yadong.qi@intel.com>
528,713
29.03.2018 10:59:48
-28,800
bf0d54de0ce37a0c0b42662a4fec392bec5dae24
UEFI: header file cleanup Move the header content from boot.c to boot.h
[ { "change_type": "MODIFY", "old_path": "hypervisor/bsp/uefi/efi/boot.c", "new_path": "hypervisor/bsp/uefi/efi/boot.c", "diff": "#include \"efilinux.h\"\n#include \"stdlib.h\"\n#include \"boot.h\"\n-#include \"multiboot.h\"\n-\n-#define ERROR_STRING_LENGTH 32\n-#define EFI_LOADER_SIGNATURE \"EL64\"\n...
C
BSD 3-Clause New or Revised License
projectacrn/acrn-hypervisor
UEFI: header file cleanup Move the header content from boot.c to boot.h Signed-off-by: Zheng, Gen <gen.zheng@intel.com>
528,713
30.03.2018 12:32:38
-28,800
2bec3b3c73c111d6695ae3ce9c514b684954f25c
UEFI: cleanup functions in boot.c file Remove the useless function named get_path(). Remove the useless function named print_ch(). Remove the useless function named isspace(). Move the function memory_map() from boot.c to malloc.c
[ { "change_type": "MODIFY", "old_path": "hypervisor/bsp/uefi/efi/boot.c", "new_path": "hypervisor/bsp/uefi/efi/boot.c", "diff": "@@ -41,84 +41,6 @@ EFI_SYSTEM_TABLE *sys_table;\nEFI_BOOT_SERVICES *boot;\nEFI_RUNTIME_SERVICES *runtime;\n-/**\n- * memory_map - Allocate and fill out an array of memory d...
C
BSD 3-Clause New or Revised License
projectacrn/acrn-hypervisor
UEFI: cleanup functions in boot.c file Remove the useless function named get_path(). Remove the useless function named print_ch(). Remove the useless function named isspace(). Move the function memory_map() from boot.c to malloc.c Signed-off-by: Zheng, Gen <gen.zheng@intel.com>
528,713
30.03.2018 12:33:23
-28,800
88b79c901b6a6f54dde7f6fd590205fcc4843c3b
UEFI: create new func named construct_mbi Cleanup the mass code for constructing multiboot info
[ { "change_type": "MODIFY", "old_path": "hypervisor/bsp/uefi/efi/boot.c", "new_path": "hypervisor/bsp/uefi/efi/boot.c", "diff": "@@ -63,28 +63,19 @@ static inline void hv_jump(EFI_PHYSICAL_ADDRESS hv_start,\nhf(MULTIBOOT_INFO_MAGIC, mbi);\n}\n-static EFI_STATUS\n-switch_to_guest_mode(EFI_HANDLE image...
C
BSD 3-Clause New or Revised License
projectacrn/acrn-hypervisor
UEFI: create new func named construct_mbi Cleanup the mass code for constructing multiboot info Signed-off-by: Zheng, Gen <gen.zheng@intel.com>