From mboxrd@z Thu Jan 1 00:00:00 1970 From: Borislav Petkov Subject: Re: [net/bpf] 3051bf36c2 BUG: unable to handle kernel paging request at 0000a7cf Date: Thu, 9 Mar 2017 22:55:47 +0100 Message-ID: <20170309215547.jmdzznlkzaxwu2pf@pd.tnic> References: <58C152F1.9090004@iogearbox.net> <58C157E6.1010909@iogearbox.net> <58C19607.6000605@iogearbox.net> <58C19F67.3040509@iogearbox.net> <58C1C9DC.7070509@iogearbox.net> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Cc: Linus Torvalds , Thomas Gleixner , Kees Cook , Laura Abbott , Ingo Molnar , Peter Anvin , Fengguang Wu , Network Development , LKML , LKP , ast@fb.com, the arch/x86 maintainers , "David S. Miller" To: Daniel Borkmann Return-path: Content-Disposition: inline In-Reply-To: <58C1C9DC.7070509@iogearbox.net> Sender: linux-kernel-owner@vger.kernel.org List-Id: netdev.vger.kernel.org On Thu, Mar 09, 2017 at 10:32:12PM +0100, Daniel Borkmann wrote: > get_online_cpus(); > if (boot_cpu_has(X86_FEATURE_PGE)) { /* We have a broader idea of "global". */ > /* Remember that this was originally set (for cleanup). */ > cpu_had_pge = 1; > /* > * adjust_pge is a helper function which sets or unsets the PGE > * bit on its CPU, depending on the argument (0 == unset). > */ > on_each_cpu(adjust_pge, (void *)0, 1); > /* Turn off the feature in the global feature set. */ > clear_cpu_cap(&boot_cpu_data, X86_FEATURE_PGE); Can you make that: setup_clear_cpu_cap(X86_FEATURE_PGE); and see if it fixes your issue? Thanks. -- Regards/Gruss, Boris. SUSE Linux GmbH, GF: Felix Imendörffer, Jane Smithard, Graham Norton, HRB 21284 (AG Nürnberg) --