Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Odroid C2][3.16.85] CNTKCTL_EL1 part left uninitialized leaving userspace high precision timing on CNTVCT_EL0 unavailable #423

Open
grooverdan opened this issue Dec 15, 2021 · 0 comments

Comments

@grooverdan
Copy link

From MariaDB/mariadb-docker#338 and for @jmburges, @stoinov and others.

The result of this lack of initialization to 1 is a SIGILL on workloads like MariaDB as they attempt to obtain timing information.

The above issue has a working kernel module (bottom of issue) to set the cpu registers.

If you could make @geoffreyblake 's module available or rework the initialization in for each CPU into the core code that would be most appreciated.

grooverdan added a commit to alexfanqi/server that referenced this issue Jan 5, 2022
As reported in MariaDB/mariadb-docker#338
and later hardkernel/linux#423.

While modern kernels support this, it seems older hardware may be
stuck at kernel versions without this initialization.
grooverdan added a commit to MariaDB/server that referenced this issue Jan 5, 2022
As reported in MariaDB/mariadb-docker#338
and later hardkernel/linux#423.

While modern kernels support this, it seems older hardware may be
stuck at kernel versions without this initialization.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant