Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932886AbdCISP0 (ORCPT ); Thu, 9 Mar 2017 13:15:26 -0500 Received: from mail-io0-f170.google.com ([209.85.223.170]:32809 "EHLO mail-io0-f170.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752627AbdCISPY (ORCPT ); Thu, 9 Mar 2017 13:15:24 -0500 MIME-Version: 1.0 In-Reply-To: References: <20170301125426.l4nf65rx4wahohyl@wfg-t540p.sh.intel.com> <20170302202338.ci6wwb3yzjmdy4n2@wfg-t540p.sh.intel.com> <58B88353.2010508@iogearbox.net> <58C08535.3070000@iogearbox.net> <7af7bcc9-9115-be9f-2240-a022487e9b70@redhat.com> <58C152F1.9090004@iogearbox.net> <58C157E6.1010909@iogearbox.net> <58C19607.6000605@iogearbox.net> From: Linus Torvalds Date: Thu, 9 Mar 2017 10:15:22 -0800 X-Google-Sender-Auth: 8-w7bPz5mEzmbuDeQtFbTj8SCIQ Message-ID: Subject: Re: [net/bpf] 3051bf36c2 BUG: unable to handle kernel paging request at 0000a7cf To: Daniel Borkmann Cc: 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" Content-Type: text/plain; charset=UTF-8 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 595 Lines: 18 On Thu, Mar 9, 2017 at 10:10 AM, Linus Torvalds wrote: > > Very odd. We should always have PGE (0x0080) set in cr4 (if the CPU > supports it). Daniel, do you see the code in probe_page_size_mask() triggering? /* Enable PGE if available */ if (boot_cpu_has(X86_FEATURE_PGE)) { cr4_set_bits_and_update_boot(X86_CR4_PGE); __supported_pte_mask |= _PAGE_GLOBAL; } else __supported_pte_mask &= ~_PAGE_GLOBAL; but maybe there's something wrong with the percpu cr4 caching? Linus