Received: by 2002:a05:7412:40d:b0:e2:908c:2ebd with SMTP id 13csp462967rdf; Tue, 21 Nov 2023 07:24:29 -0800 (PST) X-Google-Smtp-Source: AGHT+IFGstJVGiN4StPJhUpVaiOJmwDltjRPYifYq2sl6Qv923wY04uEhk3LqdrerQkaTLc1Zsot X-Received: by 2002:a17:902:74c3:b0:1cc:87f8:96b6 with SMTP id f3-20020a17090274c300b001cc87f896b6mr9210923plt.66.1700580269511; Tue, 21 Nov 2023 07:24:29 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1700580269; cv=none; d=google.com; s=arc-20160816; b=hbe9Pated/SflgNiZdbD697z1YEGnP+YsOurVfKe6NJCRc10gqQAGz4Gvapx519K8z bvzZm9C7ajr4j1QaDg2WCkpBR21K8ovZUIXSevvpSia4klcxjAQQumo+AEh50DkzUqC4 fR3XAl3w9myBZNf38NLGv/QP3Xlc+7Fjmhv+25QIPmDHHA4DqBHmtCgc9842V9WPl8hJ 1uVfcIavG6D8TIM0mU3gjS4WJBiRwZvyH907xVSaJvlYwnrmNxGPpUCSbCBfaSgWFtfl wWMsjHgtuj6Wy8wCh2lDvNPz8IxOzHy0LQ1TsnzWFXf3SOM4z9apTksdWebMG2YBABcQ JW1A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:user-agent:in-reply-to:content-disposition :mime-version:references:message-id:subject:cc:to:from:date; bh=6BiEhZib/cEzauieW7Zmc3QiVyO3+UffdJq3I7H3ZDs=; fh=8pjKL9eQGJOeJ6HVM0XpzaXynY4sfdLOoLImu7z0aGI=; b=f5iw7uF06wmfDOJM6w0ZgWDWfEDC89wXpO2QD0SrvpT49j/at5aXWRGGa7DM3jqX64 0nBKHyVDirXvmCANoBk+7WL8G0+jJ2mn2hQ35uH0WoP5xwVQV3FVPH/MqR7KwZnKougg rVmUB0CAUsqGqeRwRtvHh81apV+fIjZiibKFNYD01w90U04amL7EXOLf2WKdCd+RQp6d 2oFLTLVjL6JGmsM+i8D9oNO9VjkGpHAK9OepyAuvF9kMthLmx6Dr4tfX7XmmL7OJGQqJ eXCyEfq9df5cgsdpbk24Gvoc98lkQqU6xZoYS3yL9ZlSaedFgKHVZJC9b+cGBO3iVx2D Fm5g== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.35 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from groat.vger.email (groat.vger.email. [23.128.96.35]) by mx.google.com with ESMTPS id m6-20020a170902db0600b001ce66693239si6450313plx.206.2023.11.21.07.24.29 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 21 Nov 2023 07:24:29 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.35 as permitted sender) client-ip=23.128.96.35; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.35 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by groat.vger.email (Postfix) with ESMTP id CF81980BFECE; Tue, 21 Nov 2023 07:24:26 -0800 (PST) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.11 at groat.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234274AbjKUPYR (ORCPT + 99 others); Tue, 21 Nov 2023 10:24:17 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:45988 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234243AbjKUPYQ (ORCPT ); Tue, 21 Nov 2023 10:24:16 -0500 Received: from pepin.polanet.pl (pepin.polanet.pl [193.34.52.2]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 3F64D92; Tue, 21 Nov 2023 07:24:11 -0800 (PST) Date: Tue, 21 Nov 2023 16:24:07 +0100 From: Tomasz Pala To: Bjorn Helgaas Cc: linux-pci@vger.kernel.org, Dan J Williams , Kan Liang , Tony Luck , David E Box , Yunying Sun , Dave Jiang , Mika Westerberg , Giovanni Cabiddu , Herbert Xu , Hans de Goede , Florent DELAHAYE , Konrad J Hambrick , Matt Hansen <2lprbe78@duck.com>, Nicholas Johnson , Benoit =?iso-8859-2?Q?Gr=E9goire?= , Werner Sembach , mumblingdrunkard@protonmail.com, linux-kernel@vger.kernel.org, Bjorn Helgaas , Sebastian Manciulea Subject: Re: [PATCH 2/2] x86/pci: Treat EfiMemoryMappedIO as reservation of ECAM space Message-ID: <20231121152407.GA13288@polanet.pl> References: <20231118142143.GA14101@polanet.pl> <20231120162933.GA197390@bhelgaas> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-2 Content-Disposition: inline In-Reply-To: <20231120162933.GA197390@bhelgaas> User-Agent: Mutt/1.5.20 (2009-06-14) X-Spam-Status: No, score=-0.8 required=5.0 tests=HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on groat.vger.email Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (groat.vger.email [0.0.0.0]); Tue, 21 Nov 2023 07:24:27 -0800 (PST) On Mon, Nov 20, 2023 at 10:29:33 -0600, Bjorn Helgaas wrote: > Thank you! A BIOS update is almost never the answer because even if > an update exists, we have to assume that most users in the field will > never install the update. Not to mention enabling 64-bit BARs, which is even more cumbersome ixgbe-specific magic that requires entirely dedicated tools... >> .text .data .bss are not marked as E820_TYPE_RAM! and >> DMAR: [Firmware Bug]: No firmware reserved region can cover this RMRR [0x00000000df243000-0x00000000df251fff], contact BIOS vendor for fixes >> DMAR: [Firmware Bug]: Your BIOS is broken; bad RMRR [0x00000000df243000-0x00000000df251fff] [...] > I think Linux basically converts the info from EFI GetMemoryMap > to an e820 format; I think booting with "efi=debug" would show more > details of this. The dmesg I've attached today is with efi=debug, but the weird thing is - both of the above warnings manifested themself only once, with the first (verbose debugging: "MCFG debug") patch applied... Anyway. The "memremap attempted on mixed range 0x0000000000000000 size: 0x8000 WARNING: CPU: 0 PID: 1 at kernel/iomem.c:78 memremap+0x154/0x170" also seems to be triggered by "efi=debug", so my guess is that it's unrelated. -- Tomasz Pala