Received: by 2002:a05:6a10:17d3:0:0:0:0 with SMTP id hz19csp2301485pxb; Mon, 19 Apr 2021 02:19:46 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxl3v3wXxukWng2Ud9ZAEYOz9lTidVM2uKw14pskiekxJ9pGzjQ2XohT90BcBtlKqyRk0Rq X-Received: by 2002:a17:90a:b00b:: with SMTP id x11mr23858619pjq.67.1618823986198; Mon, 19 Apr 2021 02:19:46 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1618823986; cv=none; d=google.com; s=arc-20160816; b=gTi5YpOYejXFVoJUUOYHgqvsDhgcYI7jzqUA0CpE24JJaN6w+8VZkzLLObfvNocIBv PdxlOPdMKtXRbeDgDJI4yxbSZ6Wj+6gmT+bv/2CdKNmgGGvLlXKA2nTWAd/tqKTejya8 8iV/zgVmbq3x7n5O5RUid2YYLpKekeL0nKyi87d7/D3mLuE2PVXjdT1Zn/x9NoQS+mXS CChC++nY3QW/V7NDKdP9QWR9FYQ9fHRZRBp3QR0ni8E6Di6waHVCug2uVMroS67Z2cSY DNjAH4axveAlyRLoLxgIM7b3NyE1qW+2eCHiJI7GlmTsy6Yq1RKfrmDWT3pfPHjt+cWU m9aQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:subject:message-id:date:from:in-reply-to :references:mime-version; bh=xwvYd/DWaoOJ1HtbW/KpV/JDzyp2vv8uTX1cZfUsEX0=; b=xWVvQCUZgk/CYvIWB8JQgtNqa7hxflOVbTDMyClJvsGAAQK4QUQRb+B5uO3KCFIfeK AkGAEMe6h7ZQWr6clpBoHl7UBb0pdy4jvPID45+6W/8azyjeBPjsUavpKeWBHijCVTj4 Bk1Cpn6FukJw1WFR2moJgMKphV0Zjb/T8BDHxqFqda6aiPrSJOH6XzxSSE4uKhTNmTUm CY+du9coad+cdmnijO7MRXeV2bXyGgMIc3ACJUhze8nQU740h1Jfkrc5TUJToN8rkV0h 4R8ZutYMVUD4RMwDMG1SWwxo1Tm2hOtqCFJOAKMGI0LcgrZINjAag9Bl8dCmMibxw/bA eBug== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id n56si14521476pfv.233.2021.04.19.02.19.34; Mon, 19 Apr 2021 02:19:46 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S238091AbhDSIG4 (ORCPT + 99 others); Mon, 19 Apr 2021 04:06:56 -0400 Received: from mail-vs1-f44.google.com ([209.85.217.44]:43683 "EHLO mail-vs1-f44.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232055AbhDSIGr (ORCPT ); Mon, 19 Apr 2021 04:06:47 -0400 Received: by mail-vs1-f44.google.com with SMTP id l11so8651162vsr.10; Mon, 19 Apr 2021 01:06:15 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=xwvYd/DWaoOJ1HtbW/KpV/JDzyp2vv8uTX1cZfUsEX0=; b=WE6ACUin04eD5KWWLPRBVBGjhNo9gZgxYIloZ16zynsUKpF0wiEoXRIEkAMZ19i6L9 C9ZlcJ2fipFD1Z+AxDsOq430l1yUweOAOB6e4AtS2KgQRXGg1O0ifQwMxPWcsfqXLDgF sa8OoBpGpl9CAjsIqt6RdyjCDo2Rm/jdf15Y3MJEhEFMgLVcPq+nhf3Zlz4qVJmFuIJN iO7WrXqsFEX7FeZwvR427WuWfRMxQKC7sYz8GKkeY/cg054+/dZ79J2dYic0TOt6R5kI vkxVe4tBARsubx3KCCT1Net7zkzcpX2RQY2bToUzG4vkrSCO7Xel5pidJMqtPdes69ut 0O/w== X-Gm-Message-State: AOAM532L3eG1rqDSRBnO1mXgdcLACHM1Qg3zN+53ub9FFFllq45HggVZ +b+/hl6t5wtnLe/zVDYkhhnMZQ0uDq6r8nkF0Co= X-Received: by 2002:a05:6102:814:: with SMTP id g20mr319846vsb.42.1618819575411; Mon, 19 Apr 2021 01:06:15 -0700 (PDT) MIME-Version: 1.0 References: <1618550254-14511-1-git-send-email-anshuman.khandual@arm.com> In-Reply-To: <1618550254-14511-1-git-send-email-anshuman.khandual@arm.com> From: Geert Uytterhoeven Date: Mon, 19 Apr 2021 10:06:04 +0200 Message-ID: Subject: Re: [PATCH V2] mm: Define default value for FIRST_USER_ADDRESS To: Anshuman Khandual Cc: Linux MM , Andrew Morton , Richard Henderson , Vineet Gupta , Catalin Marinas , Will Deacon , Guo Ren , Brian Cain , Michal Simek , Thomas Bogendoerfer , Ley Foon Tan , Jonas Bonn , Stefan Kristiansson , Stafford Horne , "James E.J. Bottomley" , Michael Ellerman , Christophe Leroy , Paul Walmsley , Palmer Dabbelt , Heiko Carstens , Yoshinori Sato , "David S. Miller" , Jeff Dike , Thomas Gleixner , Chris Zankel , linux-arch@vger.kernel.org, linux-kernel@vger.kernel.org Content-Type: text/plain; charset="UTF-8" Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, Apr 16, 2021 at 7:17 AM Anshuman Khandual wrote: > Currently most platforms define FIRST_USER_ADDRESS as 0UL duplication the > same code all over. Instead just define a generic default value (i.e 0UL) > for FIRST_USER_ADDRESS and let the platforms override when required. This > makes it much cleaner with reduced code. > > The default FIRST_USER_ADDRESS here would be skipped in > when the given platform overrides its value via . > Signed-off-by: Anshuman Khandual > arch/m68k/include/asm/pgtable_mm.h | 1 - Acked-by: Geert Uytterhoeven Gr{oetje,eeting}s, Geert -- Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@linux-m68k.org In personal conversations with technical people, I call myself a hacker. But when I'm talking to journalists I just say "programmer" or something like that. -- Linus Torvalds