Received: by 2002:a05:6a10:f347:0:0:0:0 with SMTP id d7csp5265633pxu; Tue, 22 Dec 2020 12:16:00 -0800 (PST) X-Google-Smtp-Source: ABdhPJx7o/NJg0M2JLoqTyWWHZLA40n+tx0tYN/QGposREghS8od+2F3xQr0k4Hqm2Se5PNw0fSZ X-Received: by 2002:aa7:d999:: with SMTP id u25mr21597866eds.297.1608668160698; Tue, 22 Dec 2020 12:16:00 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1608668160; cv=none; d=google.com; s=arc-20160816; b=sZq436dRmRaeoUCdhBVFT4A6bZ0ut1ipMz3B7VOm2/kn3o1PTHmmcXTPJYJj7MAs3N 0rcMkVBSjIlYvD9DeQux2VYlvKJgKB53o+mrNOrPjZDJROshpm4I8O91pGqsBSjHP+rk P557jw3AK615YxAfr6dXV+azIPyNIbLtc6UDy2ExjeLqtDz8v4et1WpNZJjIxC3U3jxb MdcFbq0UIK6WDY7euRwxfVJ86tpmOARwAj+maPPC2nMEHBpbLsrAaXztLzcQlqeYDjcX XxrfsdHjTRdBEp6UzFYKXIpNrMm2g9M/JmAULHah3ikTBXDVwGq9g20YUx4myWA5qW0l aFIQ== 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:dkim-signature; bh=dRafcJyWDZ8WmxP6nATM8YYJBlDIuzKrFCuPE7OL4KM=; b=RmLXtZDHYOD2flUXegKDm5Do7LU9eHbdDBw7Esh3pH7JKIP0LnS6vKyBUTN5Zr0ZXp boGX8+bXPLAxFe5R77LoFDcJhG2NWUtXBUxiUbDkA5VtIp/eV/wYejyfASE0FUd89PzD rPIplr3UIhkBXtMYsd8mnd3xGORByriS4KNLbui5gBoEA0TDrjorlvEa2hRv/tIdSsR8 eDQM22kMufQFO5NbJfeFtUp9LbMCZs7g6PM8M+EpIhPaxb3yXrGrETRhVCyIOVVj+cyJ QXlPPym1w855VLi6c+pjH/ssO0oWJTAc1CFcQLtJkGYx0JRoB5d/xGJZ29grQxnqtiGH Ucfw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=mNsLTVcr; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id i6si12064950edr.148.2020.12.22.12.15.36; Tue, 22 Dec 2020 12:16:00 -0800 (PST) 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; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=mNsLTVcr; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726289AbgLVUO5 (ORCPT + 99 others); Tue, 22 Dec 2020 15:14:57 -0500 Received: from mail.kernel.org ([198.145.29.99]:50938 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725782AbgLVUO4 (ORCPT ); Tue, 22 Dec 2020 15:14:56 -0500 Received: by mail.kernel.org (Postfix) with ESMTPSA id 3BE4B22AB9; 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-f48.google.com with SMTP id f16so13018808otl.11; Tue, 22 Dec 2020 12:14:16 -0800 (PST) X-Gm-Message-State: AOAM5312LH1/Y5yrtdE0GHTm9lnijywHTFdlZOXUVrhMWBXfA6B3vPro FT1phX8/09EQsOD1hau3ZPwpGTZbk5OegLZSDb0= 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" Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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