[PATCH] [SRU] [xenial/master-next] [Config] arm64: disable BPF_JIT_ALWAYS_ON

Juerg Haefliger juerg.haefliger at canonical.com
Mon Apr 16 07:14:28 UTC 2018


On 04/13/2018 11:41 AM, Paolo Pisati wrote:
> BugLink: https://bugs.launchpad.net/bugs/1763644
> 
> [Impact]
> 
> The Ubuntu-4.4.0-120.144 kernel (now in -proposed) fails to boot on all arm64
> hardware: no console output or any other sign of activity, the system freezes
> right after the bootloader loads vmlinuz, and jumps to it.
> 
> We first experienced it on the snapdragon kernel snap in -beta (dragonboard
> 410c) but the bug is arm64 generic, and it affects all the arm64 hardware: a
> thunderx board shows the same exact symptoms.
> 
> The regression came down as part of the 4.4.115 stable update ("79e83d1 bpf:
> introduce BPF_JIT_ALWAYS_ON config") and enabled this option that crashes the
> arm64 kernel on boot.

Is upstream aware of this problem?

...Juerg

> [How to test]
> 
> Apply the attached patch, recompile, install and boot.
> 
> [Regression potential]
> 
> None, since the kernel already fails to boot.
> 
> I attached the config change for generic and snapdragon.
> 
> Paolo Pisati (1):
>   UBUNTU: [Config] arm64: disable BPF_JIT_ALWAYS_ON
> 
>  debian.master/config/amd64/config.common.amd64 | 1 +
>  debian.master/config/arm64/config.common.arm64 | 1 +
>  debian.master/config/config.common.ubuntu      | 1 -
>  debian.master/config/s390x/config.common.s390x | 1 +
>  4 files changed, 3 insertions(+), 1 deletion(-)
> 


-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 801 bytes
Desc: OpenPGP digital signature
URL: <https://lists.ubuntu.com/archives/kernel-team/attachments/20180416/6d525150/attachment.sig>


More information about the kernel-team mailing list