Received: by 2002:a25:8b12:0:0:0:0:0 with SMTP id i18csp2128087ybl; Thu, 29 Aug 2019 04:04:31 -0700 (PDT) X-Google-Smtp-Source: APXvYqy29IKiY5xtvgtWUDj5l8QcaCHwNqlmQ5kYisQuult+LYsaSDgDHeRM2xvcNTJn4BApJYne X-Received: by 2002:a17:902:6687:: with SMTP id e7mr9409711plk.211.1567076671701; Thu, 29 Aug 2019 04:04:31 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1567076671; cv=none; d=google.com; s=arc-20160816; b=CK9ioOpakAFJlcbc3gqRGn+4CSKBQJBkI4lwW/kbXCdTppLK+I83e0AhiM1L8Feyog BmRsCIhMmkn6SRrxRaE+AyMEDi4zaC6Wg0FpGE6BBmY8lSXdm4DJRaE+aNCPhZwXEzjH or0f219vDCV/EOMhcmrrrw3I3fC5C65zQP4bHatx3lbMzmQxZW8Mogc5m1aTI9aJKSTW Nui2m4ae5I8XtpiwZLVY27RTGE8HMUEZrBhAsdn00I4+Wlu8n9s3qOApPVUo8qBUJ6Tm 4eQamRDFMbQOzP+gh6+HHC7yJZfOeywKPBPeTPkquQ0i4udMCkGvkc8YAXKQVGQcpX8B oj8Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date; bh=M5kwn8owy2NmFylwLFaW+3sg7oXGC11mh/KBRJgYqCc=; b=bvuEZtC2pg3NzQA9HjEEqgQ5sp3gLta+T7UOXqeg7UGe/xaR63s1BTTilfQ0z3jnXC KSm3kvn1VEEk2BNxHBBLyuBaqLCohGQSonsj119MQ/0MteZwFXJASPJhUSKNHirMzcok vFNlh1pZoeb/bw1Z2qXuREH6UhYjOABu1jIEvHz6AEb3kjOdT0MXSh6wI9DrBdRWbyZo OylaM3x7ldU+Wuwoftd012cmXMVKzVVsab8kiuGUZbbH8KW1DxpVtrlRY8LMBNM1QZjH q0n8W112WErFftRXY4F80/jbP9E6NG09/vLEg0XMLZw01J7fUmnM0pnFHrL+u2W1e311 3iDQ== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id v143si2218659pfc.63.2019.08.29.04.04.15; Thu, 29 Aug 2019 04:04:31 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727359AbfH2LBv (ORCPT + 99 others); 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.