Received: by 2002:a05:6a10:206:0:0:0:0 with SMTP id 6csp2836804pxj; Sun, 6 Jun 2021 16:10:30 -0700 (PDT) X-Google-Smtp-Source: ABdhPJz2APDzmgnIWILJU1oB+KqrZjRQjjFM8iOoXMp2JKbfXZHxvMn293Imw0eH8aibClUhxF/U X-Received: by 2002:a05:6402:b82:: with SMTP id cf2mr17522604edb.351.1623021030071; Sun, 06 Jun 2021 16:10:30 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1623021030; cv=none; d=google.com; s=arc-20160816; b=YMUhGuqAYK1Kppe+FXD+LjUZ36rfAsrIHNxACRrHzCsz2PF+2mAGSRqusMjyNIzHoL L5fqv1KUOJWTq3qr1+DLrl5UCPynZ4Yp/1A+2JRN9AfG8BQ9cRyiRklpR7oCPFCq668V q4WSDP5bBbSyyb/Qa1U3Ttb9z5jCRe5jaVqniTxn0AMdqWD2dvvdgoKkL2B8OEFXiIAf kgsVqU5metx5+de4OWkvQ8S0+BJpX4eoJJWbJ56oEukK2ip+Gy2ndVKlo2G9xV7c4+4/ jQQedSDI5A8DmygRvD3vKIHnf0bQQIhiduwnvPS1Xjuf/LG2BlxwgmzM5tLH+UWczAd/ nHsA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=UBzKMjm77bZCaqnoVCQ4KPtNK4pvC5pgxoEXw4RBM3w=; b=0VuugoM8AkJCfdRyiX8Qcttcjpiv9GWunKpuo33SIOew3LiPIy2qtOILskfaS9afkM o9E5fi8jKRghDwGaHjP6Me3I1CTcN3bBWedadwcQUBAHgr0aj+I7ShZWrrf3ylfV1vc/ D0DHm48pkPNGp6qO8biCOm4gKKt84IZN3v1KzTVcQtq0A9T6fUcgqIyVfGq0BY0s7dpH XrneUpqgC4rDZUsUxgpFcrBmpkuOGSMQVnF6wTnM3p5uMEuPjpIsae/e1PFLq5Q6wS7y 9K/yDpBJ/PGTK7W2bSJFVTYDhX1o9+eYhr0YJzcXTdHayavRx4hyEhg4ZO9Wc3NEfLdI Kt0g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=TPiDv2JP; 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 i3si10986280ejp.610.2021.06.06.16.10.06; Sun, 06 Jun 2021 16:10:30 -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; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=TPiDv2JP; 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 S230020AbhFFXHV (ORCPT + 99 others); Sun, 6 Jun 2021 19:07:21 -0400 Received: from mail.kernel.org ([198.145.29.99]:37466 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229723AbhFFXHV (ORCPT ); Sun, 6 Jun 2021 19:07:21 -0400 Received: by mail.kernel.org (Postfix) with ESMTPSA id E1BB361429; Sun, 6 Jun 2021 23:05:30 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1623020731; bh=MP7FMA1pcXyauRBVKjd7g0X57/FdlVAQjI8PnSp5+IA=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=TPiDv2JP5SxK70TgvNXX1iEPgEIwTpgUXA8fVQoEnkUFqrMnDwUftADWfxiwRJ6ys Dpwy/xKEPiW88GjfqAU1rFfJKERpnoBAZNTL/wTuxS4Fg/RS9q/mTCfdhkeje7mwSx SeFSBqSLWqq24R4wEzYc2Xb/KyxkbLFt27DJ0WfjX1palvgW5u7I8TTpNmCzn59vC8 2QhJyDoyVcRphjlpSQaeDkwqx4vm9P29ngjFn4l+in2SN7f+xLWMexjJ0mM9t4DWgT PUiD8XefxZU9nmWTQzDI3R1I8nHuoCtZkV0PaoFiL99Tq4YfyV3cPNoM7gm4TZ1+0W Vkc5HfjZlcIuQ== Date: Sun, 6 Jun 2021 19:05:29 -0400 From: Sasha Levin To: Borislav Petkov Cc: Linus Torvalds , Mike Rapoport , x86-ml , lkml , James.Morris@microsoft.com Subject: Re: [GIT PULL] x86/urgent for v5.13-rc5 Message-ID: References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Disposition: inline In-Reply-To: Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, Jun 07, 2021 at 12:07:58AM +0200, Borislav Petkov wrote: >On Sun, Jun 06, 2021 at 02:23:21PM -0700, Linus Torvalds wrote: >> On Sun, Jun 6, 2021 at 1:58 PM Mike Rapoport wrote: >> > >> > A while ago hpa said: >> > >> > As far as I know, Windows 7 actually reserves all memory below >> > 1 MiB to avoid BIOS bugs. >> > >> > (https://bugzilla.kernel.org/show_bug.cgi?id=16661#c2) >> >> It would be good to have that checked somehow. >> >> I don't think this matters on any machine with gigs of RAM, but I do >> wonder about the people who want to do small configurations. Maybe >> they've given up on x86? >> >> It also eats into that somewhat precious legacy DMA resource and eats >> up a fair chunk of that. Again, not an issue on modern hardware, but >> .. >> >> > I believe that reserving everything below 1M after the real mode trampoline >> > is allocated reduces amount of hidden dependencies and makes things simpler >> > overall. >> >> Simpler, perhaps, and _I_ personally don't care about about 512kB of >> memory any more on any machines I have, but .. > >Let's see if Sasha can dig out something... CCed. > >@Sasha, can you figure out who we can talk to whether Windoze reserves >the first megabyte of memory unconditionally? That's a great question, but I can't help there anymore :) Adding James Morris... -- Thanks, Sasha