Skip to content

Commit 54e9ea3

Browse files
committed
Merge tag 'arm64-fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux
Pull arm64 fixes from Will Deacon: - Fix cleaning of vDSO directories - Ensure CNTHCTL_EL2 is fully initialised when booting at EL2 * tag 'arm64-fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux: arm64: initialize all of CNTHCTL_EL2 arm64: clean vdso & vdso32 files
2 parents b7d184d + bde8fff commit 54e9ea3

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

arch/arm64/Makefile

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -183,6 +183,8 @@ endif
183183
# We use MRPROPER_FILES and CLEAN_FILES now
184184
archclean:
185185
$(Q)$(MAKE) $(clean)=$(boot)
186+
$(Q)$(MAKE) $(clean)=arch/arm64/kernel/vdso
187+
$(Q)$(MAKE) $(clean)=arch/arm64/kernel/vdso32
186188

187189
ifeq ($(KBUILD_EXTMOD),)
188190
# We need to generate vdso-offsets.h before compiling certain files in kernel/.

arch/arm64/include/asm/el2_setup.h

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,8 +33,7 @@
3333
* EL2.
3434
*/
3535
.macro __init_el2_timers
36-
mrs x0, cnthctl_el2
37-
orr x0, x0, #3 // Enable EL1 physical timers
36+
mov x0, #3 // Enable EL1 physical timers
3837
msr cnthctl_el2, x0
3938
msr cntvoff_el2, xzr // Clear virtual offset
4039
.endm

0 commit comments

Comments
 (0)