Build error in 4.14 stable-queue
queue-4.14/clocksource-drivers-arch_timer-workaround-for-allwinner-a64-timer-instability.patch causes a build error:
CC drivers/clocksource/arm_arch_timer.odrivers/clocksource/arm_arch_timer.c:433:4: error: 'const struct arch_timer_erratum_workaround' has no member named 'read_cntpct_el0'; did you mean 'read_cntvct_el0'?
.read_cntpct_el0 = sun50i_a64_read_cntpct_el0,
^~~~~~~~~~~~~~~
read_cntvct_el0make[1]: *** [scripts/Makefile.build:327: drivers/clocksource/arm_arch_timer.o] Error 1
make: *** [Makefile:1686: drivers/clocksource/arm_arch_timer.o] Error 2
Quoted 10 lines · Eric Biggers
queue-4.14/clocksource-drivers-arch_timer-workaround-for-allwinner-a64-timer-instability.patchcauses a build error:CC
drivers/clocksource/arm_arch_timer.odrivers/clocksource/arm_arch_timer.c:433:4: error: 'const structarch_timer_erratum_workaround' has no member named 'read_cntpct_el0'; did you mean 'read_cntvct_el0'?
.read_cntpct_el0 =sun50i_a64_read_cntpct_el0,^~~~~~~~~~~~~~~ read_cntvct_el0make[1]: *** [
scripts/Makefile.build:327:drivers/clocksource/arm_arch_timer.o] Error 1
make: *** [Makefile:1686:drivers/clocksource/arm_arch_timer.o] Error 2
4.14 looks to be before the kernel switched to using CNTPCT internally, so that hook doesn't exist. The line should be removed. (sun50i_a64_read_cntpct_el0 still needs to be there for the .read_cntp_tval_el0 implementation.)
Apologies for the breakage,
Samuel
Sasha Levin
maintainerQuoted 12 lines · Samuel Holland
Quoted 10 lines · Eric Biggers
queue-4.14/clocksource-drivers-arch_timer-workaround-for-allwinner-a64-timer-instability.patchcauses a build error:CC
drivers/clocksource/arm_arch_timer.odrivers/clocksource/arm_arch_timer.c:433:4: error: 'const structarch_timer_erratum_workaround' has no member named 'read_cntpct_el0'; did you mean 'read_cntvct_el0'?
.read_cntpct_el0 =sun50i_a64_read_cntpct_el0,^~~~~~~~~~~~~~~ read_cntvct_el0make[1]: *** [
scripts/Makefile.build:327:drivers/clocksource/arm_arch_timer.o] Error 1
make: *** [Makefile:1686:drivers/clocksource/arm_arch_timer.o] Error 2
Quoted 6 lines
4.14 looks to be before the kernel switched to using CNTPCT internally, so that hook doesn't exist. The line should be removed. (
sun50i_a64_read_cntpct_el0still needs to be there for the .read_cntp_tval_el0 implementation.)Apologies for the breakage,
Samuel
I've dropped it from 4.14, thanks all!
--
Thanks,
Sasha
Greg Kroah-Hartman
maintainerQuoted 13 lines · Sasha Levin
Quoted 12 lines · Samuel Holland
Quoted 10 lines · Eric Biggers
queue-4.14/clocksource-drivers-arch_timer-workaround-for-allwinner-a64-timer-instability.patchcauses a build error:CC
drivers/clocksource/arm_arch_timer.odrivers/clocksource/arm_arch_timer.c:433:4: error: 'const structarch_timer_erratum_workaround' has no member named 'read_cntpct_el0'; did you mean 'read_cntvct_el0'?
.read_cntpct_el0 =sun50i_a64_read_cntpct_el0,^~~~~~~~~~~~~~~ read_cntvct_el0make[1]: *** [
scripts/Makefile.build:327:drivers/clocksource/arm_arch_timer.o] Error 1
make: *** [Makefile:1686:drivers/clocksource/arm_arch_timer.o] Error 2
Quoted 8 lines
Quoted 6 lines
4.14 looks to be before the kernel switched to using CNTPCT internally, so that hook doesn't exist. The line should be removed. (
sun50i_a64_read_cntpct_el0still needs to be there for the .read_cntp_tval_el0 implementation.)Apologies for the breakage,
SamuelI've dropped it from 4.14, thanks all!
I don't see it dropped in the public tree, so I've dropped it for real now :)
thanks,
greg k-h
Sasha Levin
maintainerQuoted 18 lines · Greg Kroah-Hartman
Quoted 17 lines · Sasha Levin
Quoted 16 lines · Samuel Holland
Quoted 10 lines · Eric Biggers
queue-4.14/clocksource-drivers-arch_timer-workaround-for-allwinner-a64-timer-instability.patchcauses a build error:CC
drivers/clocksource/arm_arch_timer.odrivers/clocksource/arm_arch_timer.c:433:4: error: 'const structarch_timer_erratum_workaround' has no member named 'read_cntpct_el0'; did you mean 'read_cntvct_el0'?
.read_cntpct_el0 =sun50i_a64_read_cntpct_el0,^~~~~~~~~~~~~~~ read_cntvct_el0make[1]: *** [
scripts/Makefile.build:327:drivers/clocksource/arm_arch_timer.o] Error 1
make: *** [Makefile:1686:drivers/clocksource/arm_arch_timer.o] Error 24.14 looks to be before the kernel switched to using CNTPCT internally, so that hook doesn't exist. The line should be removed. (
sun50i_a64_read_cntpct_el0still needs to be there for the .read_cntp_tval_el0 implementation.)
Quoted 7 lines
Quoted 4 lines
Quoted 2 lines
Apologies for the breakage,
SamuelI've dropped it from 4.14, thanks all!
I don't see it dropped in the public tree, so I've dropped it for real now :)
You were not supposed to be awake that early! :p
--
Thanks,
Sasha