From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-5.3 required=3.0 tests=HEADER_FROM_DIFFERENT_DOMAINS, INCLUDES_PATCH,MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,USER_AGENT_SANE_1 autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id A8314C3A59F for ; Thu, 29 Aug 2019 11:01:52 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 855BC20828 for ; Thu, 29 Aug 2019 11:01:52 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727417AbfH2LBv (ORCPT ); Thu, 29 Aug 2019 07:01:51 -0400 Received: from verein.lst.de ([213.95.11.211]:45200 "EHLO verein.lst.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726417AbfH2LBu (ORCPT ); Thu, 29 Aug 2019 07:01:50 -0400 Received: by verein.lst.de (Postfix, from userid 2407) id 120E168B20; Thu, 29 Aug 2019 13:01:46 +0200 (CEST) Date: Thu, 29 Aug 2019 13:01:45 +0200 From: Christoph Hellwig To: Logan Gunthorpe Cc: linux-kernel@vger.kernel.org, linux-riscv@lists.infradead.org, Palmer Dabbelt , Stephen Bates , Christoph Hellwig , Mike Rapoport , Greentime Hu , Albert Ou , Andrew Waterman , Olof Johansson , Michael Clark , Rob Herring , Zong Li Subject: Re: [PATCH v6] RISC-V: Implement sparsemem Message-ID: <20190829110145.GA15360@lst.de> References: <20190828214054.3562-1-logang@deltatee.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20190828214054.3562-1-logang@deltatee.com> User-Agent: Mutt/1.5.17 (2007-11-01) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org > diff --git a/arch/riscv/include/asm/fixmap.h b/arch/riscv/include/asm/fixmap.h > index 9c66033c3a54..7b0259c044c9 100644 > --- a/arch/riscv/include/asm/fixmap.h > +++ b/arch/riscv/include/asm/fixmap.h > @@ -31,7 +31,7 @@ enum fixed_addresses { > }; > > #define FIXADDR_SIZE (__end_of_fixed_addresses * PAGE_SIZE) > -#define FIXADDR_TOP (VMALLOC_START) > +#define FIXADDR_TOP (VMEMMAP_START) > #define FIXADDR_START (FIXADDR_TOP - FIXADDR_SIZE) Note that this actually changes again in the fixes branch that is targeted for 5.3. Not actually conflicting your functionality, but the FIXADDR_TOP definition moves to pgtable.h. Otherwise this still looks fine.