Login
Log in using an SSO provider:
Fedora Account System
Red Hat Associate
Red Hat Customer
Login using a Red Hat Bugzilla account
Forgot Password
Create an Account
Red Hat Bugzilla – Attachment 1267097 Details for
Bug 1432549
KVM guest VM PMU access can bring down host kernel
Home
New
Search
Simple Search
Advanced Search
My Links
Browse
Requests
Reports
Current State
Search
Tabular reports
Graphical reports
Duplicates
Other Reports
User Changes
Plotly Reports
Bug Status
Bug Severity
Non-Defaults
Product Dashboard
Help
Page Help!
Bug Writing Guidelines
What's new
Browser Support Policy
5.0.4.rh90 Release notes
FAQ
Guides index
User guide
Web Services
Contact
Legal
[?]
This site requires JavaScript to be enabled to function correctly, please enable it.
[patch]
kvm-unit-test patch to add a "mrrc p15" test
0001-Simple-test-for-BZ1403106.patch (text/plain), 1.60 KB, created by
Erico Nunes
on 2017-03-28 19:09:16 UTC
(
hide
)
Description:
kvm-unit-test patch to add a "mrrc p15" test
Filename:
MIME Type:
Creator:
Erico Nunes
Created:
2017-03-28 19:09:16 UTC
Size:
1.60 KB
patch
obsolete
>From 03c03cea097379011ff0ae618fd0e3a13ad9eae4 Mon Sep 17 00:00:00 2001 >From: Erico Nunes <ernunes@redhat.com> >Date: Tue, 28 Mar 2017 19:58:42 +0200 >Subject: [PATCH] Simple test for BZ1403106 > >Signed-off-by: Erico Nunes <ernunes@redhat.com> >--- > arm/Makefile.common | 1 + > arm/bz1432549.c | 15 +++++++++++++++ > arm/unittests.cfg | 5 +++++ > 3 files changed, 21 insertions(+) > create mode 100644 arm/bz1432549.c > >diff --git a/arm/Makefile.common b/arm/Makefile.common >index 74c7394..12bad90 100644 >--- a/arm/Makefile.common >+++ b/arm/Makefile.common >@@ -15,6 +15,7 @@ tests-common += $(TEST_DIR)/pci-test.flat > tests-common += $(TEST_DIR)/pmu.flat > tests-common += $(TEST_DIR)/gic.flat > tests-common += $(TEST_DIR)/psci.flat >+tests-common += $(TEST_DIR)/bz1432549.flat > > tests-all = $(tests-common) $(tests) > all: $(tests-all) >diff --git a/arm/bz1432549.c b/arm/bz1432549.c >new file mode 100644 >index 0000000..e6828cf >--- /dev/null >+++ b/arm/bz1432549.c >@@ -0,0 +1,15 @@ >+#include "libcflat.h" >+#include "asm/barrier.h" >+#include "asm/sysreg.h" >+#include "asm/processor.h" >+ >+int main(int argc, char *argv[]) >+{ >+ (void)argc; >+ (void)argv; >+ uint64_t val; >+ asm volatile("mrrc p15, 0, %Q0, %R0, c9" : "=r" (val)); >+ report_info("finished\n"); >+ report("finished", 1); >+ return report_summary(); >+} >diff --git a/arm/unittests.cfg b/arm/unittests.cfg >index 4fc90ee..20c1ff3 100644 >--- a/arm/unittests.cfg >+++ b/arm/unittests.cfg >@@ -61,6 +61,11 @@ file = pci-test.flat > groups = pci > > # Test PMU support >+[bz1432549] >+file = bz1432549.flat >+groups = bz1432549 >+ >+# Test PMU support > [pmu] > file = pmu.flat > groups = pmu >-- >2.9.3 >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 1432549
: 1267097