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=-6.0 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,MAILING_LIST_MULTI,SPF_HELO_NONE, SPF_PASS autolearn=no 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 9A8CDC433DB for ; Tue, 22 Dec 2020 20:14:19 +0000 (UTC) Received: from kanga.kvack.org (kanga.kvack.org [205.233.56.17]) by mail.kernel.org (Postfix) with ESMTP id 15C56229C6 for ; Tue, 22 Dec 2020 20:14:18 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 15C56229C6 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=kernel.org Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=owner-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix) id 4E7E08D0001; Tue, 22 Dec 2020 15:14:18 -0500 (EST) Received: by kanga.kvack.org (Postfix, from userid 40) id 49A226B009D; Tue, 22 Dec 2020 15:14:18 -0500 (EST) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id 386968D0001; Tue, 22 Dec 2020 15:14:18 -0500 (EST) X-Delivered-To: linux-mm@kvack.org Received: from forelay.hostedemail.com (smtprelay0120.hostedemail.com [216.40.44.120]) by kanga.kvack.org (Postfix) with ESMTP id 1F2206B0098 for ; Tue, 22 Dec 2020 15:14:18 -0500 (EST) Received: from smtpin22.hostedemail.com (10.5.19.251.rfc1918.com [10.5.19.251]) by forelay04.hostedemail.com (Postfix) with ESMTP id D7F9B1EE6 for ; Tue, 22 Dec 2020 20:14:17 +0000 (UTC) X-FDA: 77622020154.22.juice03_600a59827462 Received: from filter.hostedemail.com (10.5.16.251.rfc1918.com [10.5.16.251]) by smtpin22.hostedemail.com (Postfix) with ESMTP id B604F18038E68 for ; Tue, 22 Dec 2020 20:14:17 +0000 (UTC) X-HE-Tag: juice03_600a59827462 X-Filterd-Recvd-Size: 3039 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by imf45.hostedemail.com (Postfix) with ESMTP for ; Tue, 22 Dec 2020 20:14:17 +0000 (UTC) Received: by mail.kernel.org (Postfix) with ESMTPSA id 358C6229C5 for ; Tue, 22 Dec 2020 20:14:16 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1608668056; bh=SDxgVG8zKVxkLjSV9gs57cdSEjVw4fxdhXZThJc8eLU=; h=References:In-Reply-To:From:Date:Subject:To:Cc:From; b=mNsLTVcrmvOJAho2PGYLZkcUrYJCpN9CnGdsrymi9pgzPYQMXUy8TYwSDiatRYBZN BFjo59dPF9OOvqRII1dpYpHV+lrM5HALvyo+NWYUIaPW44LYbosqXPLVASSKPICGh9 aJVgas1h+uCKO+B/gjEuzHT3pekgbiswypPNk0JN5IoV1OVxv+jdFBBgun8u0618wO 9apL60qqZnXxagJK18P3lTOGD1g9PpeD8IiaaKulWAnWJTZrTdLwyr8te6NNbT6K2+ p70EoJfbKx7EUhuOH5B4cYsx6yUnt0zIopOMVRv0Rf4kNEGYhPQZa+lgsdFZiY+ZBD miUkyQeXL9bww== Received: by mail-ot1-f43.google.com with SMTP id x13so13030257oto.8 for ; Tue, 22 Dec 2020 12:14:16 -0800 (PST) X-Gm-Message-State: AOAM532iuux4oMWrAnvM5E3HwuxRd6XvFYyKhHDktDOmaQmB3DywUw35 eVfY5pxn18JwJiOk14khVhJpXwLlFDc5cDUsHPQ= X-Google-Smtp-Source: ABdhPJzFdIPnmpM0uIPDyq8a1Dknp4Dn1QkIO3uNZ5J2TkWcsujkX7kz6IB+inRK/KMkHpqK8fSn6K8YgpN4ckn2Dp0= X-Received: by 2002:a05:6830:1e14:: with SMTP id s20mr17070296otr.210.1608668055604; Tue, 22 Dec 2020 12:14:15 -0800 (PST) MIME-Version: 1.0 References: In-Reply-To: From: Arnd Bergmann Date: Tue, 22 Dec 2020 21:13:59 +0100 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: sparc32: Init process fails to load with generic kmap atomic To: Andreas Larsson Cc: Thomas Gleixner , sparclinux , Linux-MM , "David S. Miller" , Arnd Bergmann , "linux-kernel@vger.kernel.org" , Sam Ravnborg Content-Type: text/plain; charset="UTF-8" X-Bogosity: Ham, tests=bogofilter, spamicity=0.000000, version=1.2.4 Sender: owner-linux-mm@kvack.org Precedence: bulk X-Loop: owner-majordomo@kvack.org List-ID: On Tue, Dec 22, 2020 at 7:01 PM Andreas Larsson wrote: > > Unfortunately I did not see this problem before I encountered it in > master. Commit 3293efa9780712ad8504689e0c296d2bd33827d5 > ... > > I will have to continue to dig deeper into this in January. If anyone > has any ideas how this could stem from this kmap patch, I am all ears. I don't immediately see it, but an easy thing to try would be to disable CONFIG_HIGHMEM. I don't know what the limits are on sparc, but you can often change the virtual address layout to reserve enough space for mapping all of the physical memory, as e.g. CONFIG_VMSPLIT_2G does on x86 or arm. There is also some discussion about eventually removing highmem support from the kernel entirely. Arnd