Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754829AbdCINLI (ORCPT ); Thu, 9 Mar 2017 08:11:08 -0500 Received: from Galois.linutronix.de ([146.0.238.70]:50894 "EHLO Galois.linutronix.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754624AbdCINLF (ORCPT ); Thu, 9 Mar 2017 08:11:05 -0500 Date: Thu, 9 Mar 2017 14:10:46 +0100 (CET) From: Thomas Gleixner To: Daniel Borkmann cc: Kees Cook , Laura Abbott , Linus Torvalds , Ingo Molnar , Peter Anvin , Fengguang Wu , Network Development , LKML , LKP , ast@fb.com, the arch/x86 maintainers , "David S. Miller" Subject: Re: [net/bpf] 3051bf36c2 BUG: unable to handle kernel paging request at 0000a7cf In-Reply-To: <58C152F1.9090004@iogearbox.net> Message-ID: 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> User-Agent: Alpine 2.20 (DEB 67 2015-01-07) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 585 Lines: 16 On Thu, 9 Mar 2017, Daniel Borkmann wrote: > With regard to CPA_FLUSHTLB that Linus mentioned, when I investigated > code paths in change_page_attr_set_clr(), I did see that CPA_FLUSHTLB > was set each time we switched attrs and a cpa_flush_range() was > performed (with the correct number of pages and cache set to 0). That > would be a __flush_tlb_all() eventually. > > Hmm, it indeed might seem likely that this could be an emulation bug. Which variant of __flush_tlb_all() is used when the test fails? Check for the following flags in /proc/cpuinfo: pge invpcid Thanks, tglx