"git@git.tuxist.de:jan.koester/linux.git" did not exist on "724c6abf29bcef1aae688f023b7d6dcb7eab0e68"
-
Michael Ellerman authored
We have two arrays in kvm_host_state that contain register values for the PMU. Currently we only create an asm-offsets symbol for the base of the arrays, and do the array offset in the assembly code. Creating an asm-offsets symbol for each field individually makes the code much nicer to read, particularly for the MMCRx/SIxR/SDAR fields, and might have helped us notice the recent double restore bug we had in this code. Signed-off-by:
Michael Ellerman <mpe@ellerman.id.au> Acked-by:
Alexander Graf <agraf@suse.de>
Michael Ellerman authoredWe have two arrays in kvm_host_state that contain register values for the PMU. Currently we only create an asm-offsets symbol for the base of the arrays, and do the array offset in the assembly code. Creating an asm-offsets symbol for each field individually makes the code much nicer to read, particularly for the MMCRx/SIxR/SDAR fields, and might have helped us notice the recent double restore bug we had in this code. Signed-off-by:
Michael Ellerman <mpe@ellerman.id.au> Acked-by:
Alexander Graf <agraf@suse.de>
Loading