Received: by 2002:a05:6a10:d5a5:0:0:0:0 with SMTP id gn37csp2188762pxb; Fri, 8 Oct 2021 02:47:53 -0700 (PDT) X-Google-Smtp-Source: ABdhPJylge3M5V/Ivl5xJHotsvFR0ehSYSHy/c3F4K1o6igAZge5YLjG7N9aSJ4svz5mKxihzQZi X-Received: by 2002:aa7:cc8b:: with SMTP id p11mr13399972edt.30.1633686472712; Fri, 08 Oct 2021 02:47:52 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1633686472; cv=none; d=google.com; s=arc-20160816; b=P0Pbjh5aZqhR9NsE5gKmb/gTkGCvKzwYOivlOT8Tm6vJFP3/qyosMhRQ7txp3D2gUS 64oh8Z33PbqyGspGEWgPWbQ2aa7zN1pm6I/GTJg7bLdhgPLZIcixLBv1CWgMhHJ8JMji kLcfrBTlQw7XYubfzpOAJUMBRhRcCqYo7IwevUvE1DlXl0bp0kJQiPx9F07a5F5jvvpO 7rA91vTG1IrqfvunQdWu+sXEfVYZ1P7ZFpZ7ZJh6El8QA+sQz8uchHBe30lwSF63ua/i GPkAuCAQl9oz/LR0IY8mnHfZg3uV3uNSEkH19MKPGjiR4lDSafo19xRSheSfm4kB7aiW R8mw== 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-transfer-encoding :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:dkim-signature; bh=HDvjXf2G2Fog17uEppnXMkbhqsHtzjJX73iNz52CSDg=; b=STQn6xuRoTIXhSHITminGhgbVqwV4F1dio8OzmsRY34bOasIwu6YiWjxEIb87QvYtR hW0fBtrtRMz7bjiTzzuAjT/pNq44kOAEbuNkyYkkF+wwEbllSh6P/eXW2CwjUrooZJhq 4Op5AIK4xT915chTPxGi/0UZvilG0oDzZvJ6Yas4LISZFLUBlk0PTtydDNSp40pZaLyK t1w2zsOsydU+Qw6PBnrXALi3q7q2Vu30NNIwm2/C0VAs2GpQWuF80flLjlH8DaxHHRp8 eGeb7crTWACctDto1i9zVgjFpxZ+BUaaaeadnGhlNkF+UOm9N5ReQq0LsyQyWdtVIQoJ 11Gg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@alien8.de header.s=dkim header.b=PhxXR1gb; 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=alien8.de Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id dz15si4423330edb.607.2021.10.08.02.47.29; Fri, 08 Oct 2021 02:47:52 -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=@alien8.de header.s=dkim header.b=PhxXR1gb; 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=alien8.de Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S239040AbhJHJrs (ORCPT + 99 others); Fri, 8 Oct 2021 05:47:48 -0400 Received: from mail.skyhub.de ([5.9.137.197]:41626 "EHLO mail.skyhub.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S238284AbhJHJrm (ORCPT ); Fri, 8 Oct 2021 05:47:42 -0400 Received: from zn.tnic (p200300ec2f0d56001d1e8fcbbc7c59cf.dip0.t-ipconnect.de [IPv6:2003:ec:2f0d:5600:1d1e:8fcb:bc7c:59cf]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.skyhub.de (SuperMail on ZX Spectrum 128k) with ESMTPSA id B7E8F1EC04F3; Fri, 8 Oct 2021 11:45:46 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=alien8.de; s=dkim; t=1633686346; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=HDvjXf2G2Fog17uEppnXMkbhqsHtzjJX73iNz52CSDg=; b=PhxXR1gbnwtpqzn3+vgcIdufo54R1jpl4j6Q+vxVcZ7/GjKen7Ouvzx9malqusgUFjQXS3 CDZV+7uNgrY9s8PZmzeuCwELgCFGWA5yA+3bb+6qvd6Wqo2Tjxw0Uw1FX1QWfaQTSRiiV5 nzfaFayi+HzFSf7tFfk77Fro5G5pyY4= Date: Fri, 8 Oct 2021 11:45:38 +0200 From: Borislav Petkov To: Mika Westerberg Cc: Werner Sembach , benoitg@coeus.ca, bhelgaas@google.com, hpa@zytor.com, juhapekka.heikkila@gmail.com, linux-kernel@vger.kernel.org, mingo@redhat.com, tglx@linutronix.de, x86@kernel.org Subject: Re: [PATCH RESEND] x86/resource: Do not exclude regions that are marked as MMIO in EFI memmap Message-ID: References: <20200617164734.84845-1-mika.westerberg@linux.intel.com> <1c225d72-44dc-1ddb-3284-a5d19e0db882@tuxedocomputers.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, Oct 08, 2021 at 12:23:31PM +0300, Mika Westerberg wrote: > Hi, > > On Fri, Oct 08, 2021 at 10:55:49AM +0200, Werner Sembach wrote: > > Is there any update on this matter? Also happens on discrete Thunderbolt 4 chips: > > https://bugzilla.kernel.org/show_bug.cgi?id=214259 > > AFAICT no updates. > > @Bjorn, x86 maintainers, > > If there are no alternatives can we get this patch merged so that people > don't need to carry out-of-tree patches to get their systems working? Just my 2ยข from briefly skimming over this: So this reads yet again as BIOS is to blame but what else is new? "All in all, I think we can fix this by modifying arch_remove_reservations() to check the EFI type as well and if it is EFI_MEMORY_MAPPED_IO skip the clipping in that case." And this like we should trust EFI to mark those regions properly, which is more of the same but in different color. That original commit talks about windoze doing a different allocation scheme and thus not trusting the untrustworthy firmware anyway and that sounds like something we should do too. But WTH do I know?! So I'd prefer if Bjorn chimed in here. Thx. -- Regards/Gruss, Boris. https://people.kernel.org/tglx/notes-about-netiquette