From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from casper.infradead.org (casper.infradead.org [90.155.50.34]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 0FA36322A13; Wed, 10 Sep 2025 14:04:59 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=90.155.50.34 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1757513101; cv=none; b=E7KYKkddd3zkZkMhB4yXmMfHDHOEPsunDDQ4FOsFJRjt5Kdh29roXxS+ngFwelHyF3IbsXnf+4+mbY+AiH09K0OheawTuOE8FqzXjqg593rydy+NEfw5mK60KtdMEJEIJFpRF6GrGtrsGMhs4wMkRti/nDE21WU2atB0bgDqTXc= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1757513101; c=relaxed/simple; bh=Ue/nhc+rd9GaJbE14Zs0vWlm6GxxSExENpYlLQYUyQ8=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=NNsiK2gnYoz/J5srbCEhNn14SUxJmk5L2kv3OWIJiiQLe1LdBAPgUz3SpSGf9TA3b0L59xka/MC123BAtycwvbOpwGJtAAQlDP5YuDvQxiIVDVWuTFaQ4x1X9YW48LkzDFgy/5FhYBmTwHSPJbbRL7teaUDvo3JrHwWyzcqd1Tg= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=infradead.org; spf=none smtp.mailfrom=infradead.org; dkim=pass (2048-bit key) header.d=infradead.org header.i=@infradead.org header.b=dofEW7af; arc=none smtp.client-ip=90.155.50.34 Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=infradead.org Authentication-Results: smtp.subspace.kernel.org; spf=none smtp.mailfrom=infradead.org Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=infradead.org header.i=@infradead.org header.b="dofEW7af" DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=casper.20170209; h=In-Reply-To:Content-Type:MIME-Version: References:Message-ID:Subject:Cc:To:From:Date:Sender:Reply-To: Content-Transfer-Encoding:Content-ID:Content-Description; bh=mKSB+4xL7cCmeYE/ZtEdtCjsvm7CIgVIfr0teJIjFAU=; b=dofEW7af/ejhmNipPt2aD1zjQc r/T1X53PF0e+BEfGBFGmptVoarxZBEN1Hr7xriD76R1w+M+nvAcyFt2PcHdzuHg+TQmoMQFUdBQaA jm/o6jj1rPqB5i/QW6QVLU4W6O2YAUS0S3TvZPMLDfVQol1YTS76QR+/j8xxBFEpwnMLWAqId4scS bdUpC9Pcr4BH4JRwC/mCjcKWJe0ye/ZaEnL2OllK0B+92NxsmXiDMXLQP/kJYOtEetOYDdThozbzr U+eiVsgCMI71Rea2iE366+z3/3jQiRamjgJEHnieliGZegYbRdaVVmJTC4g6lcXbzYemC7sUUzZ3A gI/iBz2w==; Received: from willy by casper.infradead.org with local (Exim 4.98.2 #2 (Red Hat Linux)) id 1uwLRO-0000000A1bz-3lAQ; Wed, 10 Sep 2025 14:04:54 +0000 Date: Wed, 10 Sep 2025 15:04:54 +0100 From: Matthew Wilcox To: Linus Walleij Cc: Arnd Bergmann , ksummit@lists.linux.dev, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linuxppc-dev@lists.ozlabs.org, linux-mips@vger.kernel.org, linux-mm@kvack.org, imx@lists.linux.dev, Christophe Leroy , Richard Weinberger , Lucas Stach , Geert Uytterhoeven , Ankur Arora , David Hildenbrand , Mike Rapoport , Lorenzo Stoakes , Andrew Morton , "Liam R. Howlett" , Vlastimil Babka , Suren Baghdasaryan , Ira Weiny , Nishanth Menon , Heiko =?iso-8859-1?Q?St=FCbner?= , Alexander Sverdlin , "Chester A. Unal" , Sergio Paracuellos , Andreas Larsson Subject: Re: [TECH TOPIC] Reaching consensus on CONFIG_HIGHMEM phaseout Message-ID: References: <4ff89b72-03ff-4447-9d21-dd6a5fe1550f@app.fastmail.com> Precedence: bulk X-Mailing-List: ksummit@lists.linux.dev List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: On Wed, Sep 10, 2025 at 03:10:05PM +0200, Linus Walleij wrote: > This is is done so that we can unmap *most* of the kernel > memory but *keep* the VMALLOC area, so that e.g. exceptions > can still execute and save to stack when they occur, and we can > call into the kernel to execute said exceptions. > > This in practice means the area 0xf1000000-0xffffffff > which also includes the high exception vectors that must for > natural reasons also be kept in the mapping. > What we have mapped today (all of the time) is > 0xc0000000-0xffffffff. > > A minimal 256 MB mapping from 0xf0000000-0xffffffff > should be able to cover this. Can I ask where the MMIO (PCI?) window lives?