Hello community,

here is the log from the commit of package perftest for openSUSE:Factory 
checked in at 2019-07-17 14:26:57
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/perftest (Old)
 and      /work/SRC/openSUSE:Factory/.perftest.new.1887 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "perftest"

Wed Jul 17 14:26:57 2019 rev:8 rq:715700 version:4.4

Changes:
--------
--- /work/SRC/openSUSE:Factory/perftest/perftest.changes        2019-04-26 
22:56:20.109237856 +0200
+++ /work/SRC/openSUSE:Factory/.perftest.new.1887/perftest.changes      
2019-07-17 14:26:58.475398165 +0200
@@ -1,0 +2,6 @@
+Fri Jul 12 17:22:49 UTC 2019 - Kasimir _ <[email protected]>
+
+- Add patch to support for armv6
+  * perftest-armv6.patch
+
+-------------------------------------------------------------------

New:
----
  perftest-armv6.patch

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ perftest.spec ++++++
--- /var/tmp/diff_new_pack.uYASzl/_old  2019-07-17 14:26:59.011396500 +0200
+++ /var/tmp/diff_new_pack.uYASzl/_new  2019-07-17 14:26:59.011396500 +0200
@@ -28,6 +28,7 @@
 Patch1:         Add-Intel-devices-to-the-perftest-device-list.patch
 Patch2:         perftest-add-Broadcom-s-netxtreme-pci-ids.patch
 Patch3:         Fixed-ToS-Type-of-Service-variable-size-issue.patch
+Patch4:         perftest-armv6.patch
 Url:            https://github.com/linux-rdma/perftest
 BuildRoot:      %{_tmppath}/%{name}-%{version}-build
 # For transition to rdma-core make sure the new packages are selected
@@ -48,6 +49,7 @@
 %patch1
 %patch2
 %patch3
+%patch4 -p1
 
 %build
 ./autogen.sh

++++++ perftest-armv6.patch ++++++
diff -uNr perftest-4.4.orig/src/get_clock.h perftest-4.4/src/get_clock.h
--- perftest-4.4.orig/src/get_clock.h   2018-10-09 14:42:28.000000000 +0200
+++ perftest-4.4/src/get_clock.h        2019-07-12 17:31:03.319951614 +0200
@@ -70,6 +70,14 @@
        asm volatile ("mov %0=ar.itc" : "=r" (ret));
        return ret;
 }
+#elif defined(__ARM_ARCH_6ZK__)
+typedef unsigned long long cycles_t;
+static inline cycles_t get_cycles(void) 
+{ 
+       cycles_t        clk;
+       asm volatile ("mrc p15, 0, %0, c15, c12, 1" : "=r" (clk));
+       return clk;
+}
 #elif defined(__ARM_ARCH_7A__)
 typedef unsigned long long cycles_t;
 static inline cycles_t get_cycles(void)

Reply via email to