]> git.karo-electronics.de Git - karo-tx-linux.git/commit
arm: introduce CONFIG_PARAVIRT, PARAVIRT_TIME_ACCOUNTING and pv_time_ops
authorStefano Stabellini <stefano.stabellini@eu.citrix.com>
Wed, 29 May 2013 10:56:33 +0000 (10:56 +0000)
committerStefano Stabellini <stefano.stabellini@eu.citrix.com>
Wed, 29 May 2013 10:56:33 +0000 (10:56 +0000)
commit4c9252c614143045e047f81e701afcaea3ce86ae
treef0d81e7251248e9214ab2077a8a4d33191554d4b
parent9d54169eb5e2580697ad2c75d468791545ae3dd8
arm: introduce CONFIG_PARAVIRT, PARAVIRT_TIME_ACCOUNTING and pv_time_ops

Introduce CONFIG_PARAVIRT and PARAVIRT_TIME_ACCOUNTING on ARM.

The only paravirt interface supported is pv_time_ops.steal_clock, so no
runtime pvops patching needed.

This allows us to make use of steal_account_process_tick for stolen
ticks accounting.

Signed-off-by: Stefano Stabellini <stefano.stabellini@eu.citrix.com>
CC: linux@arm.linux.org.uk
CC: will.deacon@arm.com
CC: nico@linaro.org
CC: marc.zyngier@arm.com
CC: cov@codeaurora.org
CC: arnd@arndb.de
CC: olof@lixom.net
Changes in v3:
- improve commit description and Kconfig help text;
- no need to initialize pv_time_ops;
- add PARAVIRT_TIME_ACCOUNTING.
arch/arm/Kconfig
arch/arm/include/asm/paravirt.h [new file with mode: 0644]
arch/arm/kernel/Makefile
arch/arm/kernel/paravirt.c [new file with mode: 0644]