gem5/gem5: upgrade to 20.1.0.4
PATCH 1/1 gem5/gem5: upgrade to 20.1.0.4
This is the latest point release in the 20.1 series, and also fixes the build with scons 4.1 (which is now in master).
Change-Id I31b8aabc8af47cc64af68f2fd0ee2b9b9b656e89
Signed-off-by Ross Burton <[email protected]>
--- .../gem5/files/pyinit-threads.patch | 32 ---------------- ...Fix-atomics-permission-checks-in-TLB.patch | 38 ------------------- .../gem5/gem5-aarch64-native_20.bb | 3 +- .../recipes-devtools/gem5/gem5-source_20.inc | 9 ++--- 4 files changed, 5 insertions(+), 77 deletions(-) delete mode 100644 meta-gem5/recipes-devtools/gem5/files/pyinit-threads.patch delete mode 100644 meta-gem5/recipes-devtools/gem5/gem5-aarch64-native/0002-arch-arm-Fix-atomics-permission-checks-in-TLB.patch
meta-gem5/recipes-devtools/gem5/files/pyinit-threads.patch deleted +0 -32
@@ -1,32 +0,0 @@ -Upstream-Status: Backport -Signed-off-by: Ross Burton <[email protected]> - -From ae2ee2a4a51914cf78deb5c253a3b03cbb53ce72 Mon Sep 17 00:00:00 2001 -From: Boris Staletic <[email protected]> -Date: Mon, 15 Jun 2020 19:36:43 +0200 -Subject: [PATCH] Avoid using deprecated API in python 3.9 - -The PyEval_InitThreads() and PyEval_ThreadsInitialized() functions are -now deprecated and will be removed in Python 3.11. Calling -PyEval_InitThreads() now does nothing. The GIL is initialized by -Py_Initialize() since Python 3.7. ---- - include/pybind11/detail/internals.h | 5 ++++- - 1 file changed, 4 insertions(+), 1 deletion(-) - -diff --git a/include/pybind11/detail/internals.h b/include/pybind11/detail/internals.h -index 6224dfb22..166a18a32 100644 ---- a/ext/pybind11/include/pybind11/detail/internals.h -+++ b/ext/pybind11/include/pybind11/detail/internals.h -@@ -273,7 +273,10 @@ PYBIND11_NOINLINE inline internals &get_internals() { - auto *&internals_ptr = *internals_pp; - internals_ptr = new internals(); - #if defined(WITH_THREAD) -- PyEval_InitThreads(); -+ -+ #if PY_VERSION_HEX < 0x03090000 -+ PyEval_InitThreads(); -+ #endif - PyThreadState *tstate = PyThreadState_Get(); - #if PY_VERSION_HEX >= 0x03070000 - internals_ptr->tstate = PyThread_tss_alloc();
meta-gem5/recipes-devtools/gem5/gem5-aarch64-native/0002-arch-arm-Fix-atomics-permission-checks-in-TLB.patch deleted +0 -38
@@ -1,38 +0,0 @@ -From c47920d81c4c29e8c868c005ff4330c46becbad5 Mon Sep 17 00:00:00 2001 -From: Giacomo Travaglini <[email protected]> -Date: Wed, 03 Mar 2021 11:38:06 +0000 -Subject: [PATCH] arch-arm: Fix atomics permission checks in TLB - -For stage 2 translations, atomic accesses were not checking the -access permission bits in the page table descriptors, and were -instead wrongly using the nature of the request itself -(r/w booleans). - -Change-Id: I27fbc95f04ea659e77ad5a3afb551873c9c971f0 -Signed-off-by: Giacomo Travaglini <[email protected]> -Reviewed-on: https://gem5-review.googlesource.com/c/public/gem5/+/42073 -Reviewed-by: Jason Lowe-Power <[email protected]> -Reviewed-by: Richard Cooper <[email protected]> -Reviewed-by: Bobby R. Bruce <[email protected]> -Maintainer: Jason Lowe-Power <[email protected]> -Maintainer: Bobby R. Bruce <[email protected]> -Tested-by: kokoro <[email protected]> - -Upstream-Status: Backport -Signed-off-By: Nathan Dunne <[email protected]> ---- - -diff --git a/src/arch/arm/tlb.cc b/src/arch/arm/tlb.cc -index fd72d25..8e5b3ca 100644 ---- a/src/arch/arm/tlb.cc -+++ b/src/arch/arm/tlb.cc -@@ -872,8 +872,7 @@ - // sctlr.wxn overrides the xn bit - grant = !wxn && !xn; - } else if (is_atomic) { -- grant = r && w; -- grant_read = r; -+ grant = hap; - } else if (is_write) { - grant = hap & 0x2; - } else { // is_read
meta-gem5/recipes-devtools/gem5/gem5-aarch64-native_20.bb +1 -2
@@ -1,7 +1,6 @@ require gem5-source_20.inc -SRC_URI += "file://0001-dev-arm-SMMUv3-enable-interrupt-interface.patch \ - file://0002-arch-arm-Fix-atomics-permission-checks-in-TLB.patch" +SRC_URI += "file://0001-dev-arm-SMMUv3-enable-interrupt-interface.patch" BPN = "gem5-aarch64-native"
meta-gem5/recipes-devtools/gem5/gem5-source_20.inc +4 -5
@@ -1,12 +1,11 @@ -# gem5 sources v20.1.0.3 +# gem5 sources v20.1.0.4 LIC_FILES_CHKSUM = "file://COPYING;md5=2d9514d69d8abf88b6e9125e759bf0ab \ file://LICENSE;md5=a585e2893cee63d16a1d8bc16c6297ec" -SRC_URI = "git://gem5.googlesource.com/public/gem5;protocol=https;nobranch=1 \ - file://pyinit-threads.patch" -RELEASE_TAG = "v20.1.0.3" -SRCREV = "cd21b5a5519940a0fa9b9a2dde68f30403d17f7e" +SRC_URI = "git://gem5.googlesource.com/public/gem5;protocol=https;nobranch=1" +RELEASE_TAG = "v20.1.0.4" +SRCREV = "2373934b8224e33c55ce96a0fe7751caeee13baf" PV = "${RELEASE_TAG}"
Signature · 1 line
2.25.1
Ignore this, v2 incoming.
Quoted 137 lines · Ross Burton via lists.yoctoproject.org
This is the latest point release in the 20.1 series, and also fixes the build with scons 4.1 (which is now in master).
Change-Id I31b8aabc8af47cc64af68f2fd0ee2b9b9b656e89Signed-off-by Ross Burton <[email protected]>--- .../gem5/files/pyinit-threads.patch | 32 ---------------- ...Fix-atomics-permission-checks-in-TLB.patch | 38 ------------------- .../gem5/gem5-aarch64-native_20.bb | 3 +- .../recipes-devtools/gem5/gem5-source_20.inc | 9 ++--- 4 files changed, 5 insertions(+), 77 deletions(-) delete mode 100644 meta-gem5/recipes-devtools/gem5/files/pyinit-threads.patch delete mode 100644 meta-gem5/recipes-devtools/gem5/gem5-aarch64-native/0002-arch-arm-Fix-atomics-permission-checks-in-TLB.patchmeta-gem5/recipes-devtools/gem5/files/pyinit-threads.patch deleted +0
-32@@ -1,32 +0,0 @@ -Upstream-Status: Backport -Signed-off-by: Ross Burton <[email protected]> - -From ae2ee2a4a51914cf78deb5c253a3b03cbb53ce72 Mon Sep 17 00:00:00 2001 -From: Boris Staletic <[email protected]> -Date: Mon, 15 Jun 2020 19:36:43 +0200 -Subject: [PATCH] Avoid using deprecated API in python 3.9 - -The PyEval_InitThreads() and PyEval_ThreadsInitialized() functions are -now deprecated and will be removed in Python 3.11. Calling -PyEval_InitThreads() now does nothing. The GIL is initialized by -Py_Initialize() since Python 3.7. ---- - include/pybind11/detail/internals.h | 5 ++++- - 1 file changed, 4 insertions(+), 1 deletion(-) - -diff --git a/include/pybind11/detail/internals.h b/include/pybind11/detail/internals.h -index 6224dfb22..166a18a32 100644 ---- a/ext/pybind11/include/pybind11/detail/internals.h -+++ b/ext/pybind11/include/pybind11/detail/internals.h -@@ -273,7 +273,10 @@ PYBIND11_NOINLINE inline internals &get_internals() { - auto *&internals_ptr = *internals_pp; - internals_ptr = new internals(); - #if defined(WITH_THREAD) -- PyEval_InitThreads(); -+ -+ #if PY_VERSION_HEX < 0x03090000 -+ PyEval_InitThreads(); -+ #endif - PyThreadState *tstate = PyThreadState_Get(); - #if PY_VERSION_HEX >= 0x03070000 - internals_ptr->tstate = PyThread_tss_alloc();meta-gem5/recipes-devtools/gem5/gem5-aarch64-native/0002-arch-arm-Fix-atomics-permission-checks-in-TLB.patch deleted +0
-38@@ -1,38 +0,0 @@ -From c47920d81c4c29e8c868c005ff4330c46becbad5 Mon Sep 17 00:00:00 2001 -From: Giacomo Travaglini <[email protected]> -Date: Wed, 03 Mar 2021 11:38:06 +0000 -Subject: [PATCH] arch-arm: Fix atomics permission checks in TLB - -For stage 2 translations, atomic accesses were not checking the -access permission bits in the page table descriptors, and were -instead wrongly using the nature of the request itself -(r/w booleans). - -Change-Id: I27fbc95f04ea659e77ad5a3afb551873c9c971f0 -Signed-off-by: Giacomo Travaglini <[email protected]> -Reviewed-on: https://gem5-review.googlesource.com/c/public/gem5/+/42073 -Reviewed-by: Jason Lowe-Power <[email protected]> -Reviewed-by: Richard Cooper <[email protected]> -Reviewed-by: Bobby R. Bruce <[email protected]> -Maintainer: Jason Lowe-Power <[email protected]> -Maintainer: Bobby R. Bruce <[email protected]> -Tested-by: kokoro <[email protected]> - -Upstream-Status: Backport -Signed-off-By: Nathan Dunne <[email protected]> ---- - -diff --git a/src/arch/arm/tlb.cc b/src/arch/arm/tlb.cc -index fd72d25..8e5b3ca 100644 ---- a/src/arch/arm/tlb.cc -+++ b/src/arch/arm/tlb.cc -@@ -872,8 +872,7 @@ - // sctlr.wxn overrides the xn bit - grant = !wxn && !xn; - } else if (is_atomic) { -- grant = r && w; -- grant_read = r; -+ grant = hap; - } else if (is_write) { - grant = hap & 0x2; - } else { // is_readmeta-gem5/recipes-devtools/gem5/gem5-aarch64-native_20.bb +1
-2@@ -1,7 +1,6 @@ require gem5-source_20.inc -SRC_URI += "file://0001-dev-arm-SMMUv3-enable-interrupt-interface.patch \ - file://0002-arch-arm-Fix-atomics-permission-checks-in-TLB.patch" +SRC_URI += "file://0001-dev-arm-SMMUv3-enable-interrupt-interface.patch" BPN = "gem5-aarch64-native"meta-gem5/recipes-devtools/gem5/gem5-source_20.inc +4
-6@@ -1,12 +1,11 @@ -# gem5 sources v20.1.0.3 +# gem5 sources v20.1.0.4 LIC_FILES_CHKSUM = "file://COPYING;md5=2d9514d69d8abf88b6e9125e759bf0ab \ file://LICENSE;md5=a585e2893cee63d16a1d8bc16c6297ec" -SRC_URI = "git://gem5.googlesource.com/public/gem5;protocol=https;nobranch=1 \ - file://pyinit-threads.patch" -RELEASE_TAG = "v20.1.0.3" -SRCREV = "cd21b5a5519940a0fa9b9a2dde68f30403d17f7e" +SRC_URI = "git://gem5.googlesource.com/public/gem5;protocol=https;nobranch=1" +RELEASE_TAG = "v20.1.0.4" +SRCREV = "2373934b8224e33c55ce96a0fe7751caeee13baf" PV = "${RELEASE_TAG}" --2.25.1