From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S934855AbbCDIDm (ORCPT ); Wed, 4 Mar 2015 03:03:42 -0500 Received: from mail.emea.novell.com ([130.57.118.101]:51861 "EHLO mail.emea.novell.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753457AbbCDICs convert rfc822-to-8bit (ORCPT ); Wed, 4 Mar 2015 03:02:48 -0500 Message-Id: <54F6CA32020000780006606B@mail.emea.novell.com> X-Mailer: Novell GroupWise Internet Agent 14.0.1 Date: Wed, 04 Mar 2015 08:02:42 +0000 From: "Jan Beulich" To: "Juergen Gross" , "Luis Rodriguez" Cc: "Andy Lutomirski" , "David Vrabel" , "Jeremy Fitzhardinge" , , , "Boris Ostrovsky" , "Rusty Russell" , "Andrey Ryabinin" , "Chris Wright" , "linux-kernel@vger.kernel.org" , "Alok Kataria" Subject: Re: [Xen-devel] kasan_map_early_shadow() on Xen References: <54F587BD.8010606@citrix.com> <54F68FB0.1040909@suse.com> In-Reply-To: <54F68FB0.1040909@suse.com> Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 8BIT Content-Disposition: inline Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org >>> On 04.03.15 at 05:53, wrote: > On 03/03/2015 08:20 PM, Luis R. Rodriguez wrote: >> On Tue, Mar 3, 2015 at 2:06 AM, David Vrabel wrote: >>> On 03/03/15 09:40, Luis R. Rodriguez wrote: >>>> if X86_64 && SPARSEMEM_VMEMMAP >>>> >>>> Now Xen should not have SPARSEMEM_VMEMMAP but PVOPs' goal is to enable >>> >>> Why? Again, this is the first I've heard of this as well. FWIW, all >>> the Xen configs we use have SPARSEMEM_VMEMMAP enabled. >> >> Interesting... we have config ARCH_SPARSEMEM_ENABLE depend on !XEN at >> SUSE. Figured this was a generic issue. The SUSE kernels are based on >> 3.12 though, but anyway with it enabled I do get compile failures >> because of redefinition of MAX_PHYSMEM_BITS which we provide on Xen >> set to 43 for some reason (can't find that justification), so it >> doesn't use the default 46 that would be used otherwise. But another >> reason seems to be the lack of forward porting yet PAT support for PV >> domains -- commit 47591df50 upstream which requires us to still have >> the union on the pte_t, and I suppose we need ca15f20f as well... >> >> If there is nothing else I suppose this just requires fixing up at >> SUSE's end for SPARSEMEM_VMEMMAP... > > The SUSE kernel has several patches renaming/altering Xen-related config > options. Don't mix that up with upstream/pvops. Exactly - some of what our kernels do in this regard could be useful upstream, while others (like this one) won't be. Prior to making claims against upstream kernels you should tell between these cases. Jan