Overview

Request 714907 accepted

- Add patch to support for armv6
* perftest-armv6.patch

Loading...


Dirk Stoecker's avatar

Any reason why that should be in the spec? ARM6 is nowhere enabled.



Dirk Stoecker's avatar

Why not simply deactivate armv6 build there? The build error does not look like this is really an ARM6 specific build failure, but rather a version/include file mismatch. Disabling ARM6 in the package say it is impossible to use this for ARM6 in general. Disabling the build says its impossible in this case.


Kasimir _'s avatar

https://github.com/linux-rdma/perftest/commit/b24eb133412c502ed9badbf6082d4d0c6661a09d

Only support for armv7 has been added, but not armv6. Otherwise, I find no indication that armv6 is supported by perftest.


Nicolas Morey-Chaisemartin's avatar

It should be easy enough to implement.

I found this somewhere in google: +static inline cycles_t get_cycles(void) +{ + u32 val; +
+ asm volatile ("mrc p15, 0, %0, c15, c12, 1" : "=r" (val)); + + return val; +}

I don't know any arm assembly but this looks like it could be right ;)


Request History
Kasimir _'s avatar

kasimir created request

- Add patch to support for armv6
* perftest-armv6.patch


Dirk Stoecker's avatar

dstoecker accepted request

openSUSE Build Service is sponsored by