Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
Raptor Engineering Public Development
Chromium
OpenPOWER Patches
Commits
d0c35f41
Commit
d0c35f41
authored
8 months ago
by
Timothy Pearson
Browse files
Options
Download
Email Patches
Plain Diff
Fix unlogged assert on startup
parent
2713e549
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
38 additions
and
0 deletions
+38
-0
patches/ppc64le/core/add-ppc64-architecture-string.patch
patches/ppc64le/core/add-ppc64-architecture-string.patch
+11
-0
patches/ppc64le/fixes/fix-study-crash.patch
patches/ppc64le/fixes/fix-study-crash.patch
+24
-0
patches/series
patches/series
+3
-0
No files found.
patches/ppc64le/core/add-ppc64-architecture-string.patch
0 → 100644
View file @
d0c35f41
--- a/base/system/sys_info.cc
+++ b/base/system/sys_info.cc
@@ -255,6 +255,8 @@
return "ARM";
#elif defined(ARCH_CPU_ARM64)
return "ARM_64";
+#elif defined(ARCH_CPU_PPC64)
+ return "PPC_64";
#elif defined(ARCH_CPU_RISCV64)
return "RISCV_64";
#else
This diff is collapsed.
Click to expand it.
patches/ppc64le/fixes/fix-study-crash.patch
0 → 100644
View file @
d0c35f41
--- a/components/variations/proto/study.proto
+++ b/components/variations/proto/study.proto
@@ -264,6 +264,9 @@
// A Mac-only value, indicating an x86-64 binary running on an arm64 host
// via "Rosetta 2" binary translation.
TRANSLATED_X86_64 = 4;
+
+ // A POSIX-only value, indicating an OpenPOWER host
+ PPC64 = 5;
}
// Enum to pass as optional bool.
--- a/components/variations/service/variations_field_trial_creator_base.cc
+++ b/components/variations/service/variations_field_trial_creator_base.cc
@@ -109,6 +109,9 @@
if (process_arch == "x86") {
return Study::X86_32;
}
+ if (process_arch == "PPC_64") {
+ return Study::PPC64;
+ }
if (process_arch == "x86_64") {
std::string os_arch = base::SysInfo::OperatingSystemArchitecture();
if (base::StartsWith(os_arch, "arm",
This diff is collapsed.
Click to expand it.
patches/series
View file @
d0c35f41
# POWER support
ppc64le/core/add-ppc64-architecture-string.patch
ppc64le/sandbox/0001-linux-seccomp-bpf-ppc64-glibc-workaround-in-SIGSYS-h.patch
ppc64le/sandbox/0001-sandbox-Enable-seccomp_bpf-for-ppc64.patch
ppc64le/sandbox/0001-services-service_manager-sandbox-linux-Fix-TCGETS-de.patch
...
...
@@ -54,6 +56,7 @@ ppc64le/fixes/fix-rustc.patch
ppc64le/fixes/fix-rust-linking.patch
ppc64le/fixes/fix-breakpad-compile.patch
ppc64le/fixes/fix-partition-alloc-compile.patch
ppc64le/fixes/fix-study-crash.patch
ppc64le/v8/0002-Add-ppc64-trap-instructions.patch
ppc64le/sandbox/fix-ppc64-linux-syscalls-headers.patch
...
...
This diff is collapsed.
Click to expand it.
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment