misc: Updated release notes and version to v20.0.0.1
[gem5.git] / RELEASE-NOTES.md
1 # Version 20.0.0.1
2
3 **[HOTFIX]** A fix was applied to stop incorrect clock frequences being reported due to rounding errors.
4
5 # Version 20.0.0.0
6
7 Welcome to our first "official" gem5 release!
8 gem5 v19.0.0.0 was a "test" release, but this one has release notes, so it must be official!
9
10 Thank you to everyone that made this release possible!
11 This has been a very productive release with over [70 issues closed](https://gem5.atlassian.net/), over 500 commits, and 31 unique contributors.
12 Below are some of the highlights, though I'm sure I've missed some important changes.
13
14 ## New features
15
16 * [gem5-resources repository](https://gem5.googlesource.com/public/gem5-resources/)
17 * This new repository will store all of the *sources* (e.g., code) used to create testing and research resources. This includes disk images, testing binaries, kernel binaries, etc.
18 * Binaries created with the sources are hosted on dist.gem5.org.
19 * Details on the new page for resources: <http://www.gem5.org/documentation/general_docs/gem5_resources>.
20 * Memory SimObjects can now be initialized using an image file using the image_file parameter.
21 * **[USER-FACING CHANGE]** The m5 utility has been revamped with a new build system based on scons, tests, and updated and more consistent feature support.
22 * To build, now use `scons build/<arch>/out/m5`, not `make`.
23 * [Documentation](http://www.gem5.org/documentation/general_docs/m5ops/) coming soon.
24 * Robust support for marshalling data from a function call inside the simulation to a function within gem5 using a predefined set of rules.
25 * Developers can specify an ABI for guest<->simulator calls and then "just call functions".
26 * Unifies pseudo-inst, syscall, and other support.
27 * Code within gem5 has been updated. However, users which added new pseudo-ops may have to update their code.
28 * **[PYTHON API CHANGE]** Workload configuration pulled out into its own object, simplifying the System object and making workload configuration more modular and flexible.
29 * All full system config/run scripts must be updated (e.g., anything that used the `LinuxX86System` or similar SimObject).
30 * Many of the parameters of `System` are now parameters of the `Workload` (see `src/sim/Workload.py`).
31 * For instance, many parameters of `LinuxX86System` are now part of `X86FsLinux` which is now the `workload` parameter of the `System` SimObject.
32 * See https://gem5-review.googlesource.com/c/public/gem5/+/24283/ and https://gem5-review.googlesource.com/c/public/gem5/+/26466 for more details.
33 * Sv39 paging has been added to the RISC-V ISA, bringing gem5 close to running Linux on RISC-V.
34 * (Some) Baremetal OSes are now supported.
35 * Improvements to DRAM model:
36 * Added support for verifying available command bandwidth.
37 * Added support for multi-cycle commands.
38 * Added new timing parameters.
39 * Added ability to interleave bursts.
40 * Added LPDDR5 configurations.
41 * **[Developer change]** We are beginning to document gem5 APIs.
42 * Currently, only SimObjects and the APIs they depend on have been documented.
43 * We are using doxygen to mark "stable APIs" and will use manual code review to make sure the APIs stay stable.
44 * More information will be coming during gem5-20.1 development.
45
46 ## Removed features
47
48 * Support for the ALPHA ISA has been dropped.
49 * All ALPHA ISA code has been removed
50 * Old "rcS" scripts for ALPHA have been removed
51
52 ## New supported platforms
53
54 * Compiling and running gem5 with Python 3 is now fully supported.
55 * Lots of code changes required for this.
56 * There may still be some python code that's not up to date. Please open a [Jira ticket](https://gem5.atlassian.net/) if you find any code that doesn't work with python3.
57 * gem5 now supports Ubuntu 20.04.
58 * Compiling gem5 with GCC 8 and 9 is now supported.
59 * Compiling with clang up to version 9 is now supported.
60
61 ## Testing improvements
62
63 * Scons-based tests have been migrated to the testlib framework.
64 * Tests can now be run with `tests/main.py`, except for the unittests.
65 * Please consult TESTING.md for more information on how these may be run.
66 * We are continuing to work on CI tests. Most of the plumbing is there for Google Cloud Build integration. See [the Jira issue](https://gem5.atlassian.net/browse/GEM5-237) for details.
67
68 ## Other API changes
69
70 * **[API CHANGE]** Ruby's prefetcher renamed to RubyPrefetcher.
71 * Any SLICC protocols with prefetchers need to be updated.
72 * Some config scripts for Ruby protocols with prefetchers may need to be updated.
73 * **[API CHANGE]** SE mode improvements.
74 * Better support for the mmap and related syscalls.
75 * A new virtual memory area API for tracking SE mode allocations.
76 * When implementing syscalls, the way that guest memory is allocated changes. All code in gem5 is updated, but if there are any external syscalls, they may need be updated.
77 * **[COMMAND LINE CHANGE]** The `--disk-image` argument to `fs.py` is now optional.
78 * However, the disk image names *are no longer implied*.
79 * The script still implicitly searches `M5_PATH`, but the name of the disk image must be specified.
80 * **[API CHANGE]** SLICC `queueMemory` is now `enqueue`.
81 * All protocol configs must be updated with another message buffer in the memory controllers (directories).
82 * All protocol SLICC files must replace `queueMemoryRead` and `queueMemoryWrite` with `enqueue` to another "special" message buffer named `memQueue`.
83 * This allows finite buffering between the cache controllers and DRAMCtrl.
84 * **[API CHANGE]** Added Prefetcher namespace
85 * All prefetchers' names have changed from `*Prefetcher` to `Prefetcher::*`
86 * If you have any prefetchers that are not in the gem5 mainline, your code will likely need to be updated.
87
88 ## Other changes
89
90 * Implemented ARMv8.3-CompNum, SIMD complex number extension.
91 * Support for Arm Trusted Firmware + u-boot with the new VExpress_GEM5_Foundation platform
92 * Removed author list from source files.
93 * This was originally so future people would know who to contact.
94 * However, it was difficult to maintain and quickly out of date.
95 * Copyright is unchanged.
96 * Improvements to gem5's power model.
97 * MESI_Three_Level Ruby protocol bugfixes.
98 * Ruby functional reads now work in more cases.
99 * Indirect branch stats work correctly now.