aboutsummaryrefslogtreecommitdiffstats
path: root/tools/testing/selftests/powerpc/vphn
diff options
context:
space:
mode:
authorNaveen N. Rao <naveen.n.rao@linux.vnet.ibm.com>2019-07-03 22:33:55 +0530
committerMichael Ellerman <mpe@ellerman.id.au>2019-07-04 22:20:48 +1000
commit5b3306f084590b298c1fe1b02aca5bac1abbbc34 (patch)
tree6350474905a33f21bb04f9b7f50d864a0e4e9a07 /tools/testing/selftests/powerpc/vphn
parentpowerpc/pseries: Use macros for referring to the DTL enable mask (diff)
downloadlinux-dev-5b3306f084590b298c1fe1b02aca5bac1abbbc34.tar.xz
linux-dev-5b3306f084590b298c1fe1b02aca5bac1abbbc34.zip
powerpc/pseries: Do not save the previous DTL mask value
When CONFIG_VIRT_CPU_ACCOUNTING_NATIVE is enabled, we always initialize DTL enable mask to DTL_LOG_PREEMPT (0x2). There are no other places where the mask is changed. As such, when reading the DTL log buffer through debugfs, there is no need to save and restore the previous mask value. We don't need to save and restore the earlier mask value if CONFIG_VIRT_CPU_ACCOUNTING_NATIVE is not enabled. So, remove the field from the structure as well. Acked-by: Nathan Lynch <nathanl@linux.ibm.com> Signed-off-by: Naveen N. Rao <naveen.n.rao@linux.vnet.ibm.com> Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Diffstat (limited to '')
0 files changed, 0 insertions, 0 deletions