Received: by 2002:a05:6a10:5bc5:0:0:0:0 with SMTP id os5csp4973317pxb; Thu, 14 Oct 2021 16:09:27 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyiL3ctfwFYneJHuy7YPGpO5Y5TeZATlik1MWUjrZ0DzwFQIiJDjJqVLeDf0Ih8zk14Kzf2 X-Received: by 2002:a63:af4b:: with SMTP id s11mr6376362pgo.185.1634252967508; Thu, 14 Oct 2021 16:09:27 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1634252967; cv=none; d=google.com; s=arc-20160816; b=VT0GajYKfKHx5Sx6mB9Ab1BSvOgdDOHIQv3ggpa23IYoWyJG46uJt+YmpR1E3qnWlD FThhqDKMAoD5USTHxhYP14KHQy6U1D6/MlbjyH3o5INg/bCYnJHtPEJAYtv09z+0Bm7E uoCwTUSZO/67t4CcnNX99goG28v8R0w1uJlBV9EVXW+9jQVhOpDJjrKFl+pEiZR2JpzH Crnrmm6OKHtgzlnnbZNU39qQWM1+4c4gUqeHR1U8wWoCwExDTOUftUtX2SockSFmVDPa ZxntVU4NnZHzehjqN4nP4zSD0BJi3UyHWggLgIXqYykvKxg+TWbZw3vRPuGBHnEK7Meh TeFw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from:dkim-signature; bh=+ni2awkqOA8DQJ0VSeHi5pmwnEX+NV6HLx5LM+Jk7/4=; b=DDWDK1dsqXgfrE/Fd25bODrc+aIHeq011wHAZ+hmWv/+shyT902wrBJaLfopp9kJHK X10HDxr1pduKFqa9Iwb4M05OvTtdaOGb4JjqkmeGqXntMte2/x6h/QuxMmyadR+itnC6 ZZvP9tXnccfDS4Rb8LW6C7hBSkdqUHIy4+tObQbXnK90YMWXbUW/hdqN3rP3rppItCGf o0/SW+h5z5/uKcDGg24s4sfmRF9SU/UjkQLoz86tv7XMfow2quiri9AH9FBU4wa42UFa QpU5cRkr4WfgYZwllR3GzHcjYZwGEIpP+jKcBbtHnW50jkIY/WiMe/gqF9IZiLf4zJM6 d9mA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=WbZCfhQA; 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=redhat.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id 188si5397780pga.6.2021.10.14.16.09.15; Thu, 14 Oct 2021 16:09:27 -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=@redhat.com header.s=mimecast20190719 header.b=WbZCfhQA; 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=redhat.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231706AbhJNSmC (ORCPT + 99 others); Thu, 14 Oct 2021 14:42:02 -0400 Received: from us-smtp-delivery-124.mimecast.com ([216.205.24.124]:47808 "EHLO us-smtp-delivery-124.mimecast.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231529AbhJNSmB (ORCPT ); Thu, 14 Oct 2021 14:42:01 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1634236796; 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; bh=+ni2awkqOA8DQJ0VSeHi5pmwnEX+NV6HLx5LM+Jk7/4=; b=WbZCfhQA1NnjPCIGEas5MiOujmZQvXZPCStyU22X9V+Ix/MDIL9S/aRQpQxTMOdrsLRw0i Fyawb1NhNFe71mgHXpKedngcJCWxCXvL4w1jDnneND3uRhbAonMlQCnfjpdA6jFex+0BOL t3cwQimUAuG5hTvId/6XFq1UHB9pu+M= Received: from mimecast-mx01.redhat.com (mimecast-mx01.redhat.com [209.132.183.4]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-123-gFxsONaQNzye5NV0RJ59-Q-1; Thu, 14 Oct 2021 14:39:55 -0400 X-MC-Unique: gFxsONaQNzye5NV0RJ59-Q-1 Received: from smtp.corp.redhat.com (int-mx01.intmail.prod.int.phx2.redhat.com [10.5.11.11]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx01.redhat.com (Postfix) with ESMTPS id 504D81842154; Thu, 14 Oct 2021 18:39:53 +0000 (UTC) Received: from x1.localdomain (unknown [10.39.192.164]) by smtp.corp.redhat.com (Postfix) with ESMTP id 80BF757CA5; Thu, 14 Oct 2021 18:39:44 +0000 (UTC) From: Hans de Goede To: "Rafael J . Wysocki" , Mika Westerberg , =?UTF-8?q?Krzysztof=20Wilczy=C5=84ski?= , Bjorn Helgaas , Myron Stowe , Juha-Pekka Heikkila , Thomas Gleixner , Ingo Molnar , Borislav Petkov , "H . Peter Anvin" Cc: Hans de Goede , linux-acpi@vger.kernel.org, linux-pci@vger.kernel.org, x86@kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH v5 0/2] x86/PCI: Ignore E820 reservations for bridge windows on newer systems Date: Thu, 14 Oct 2021 20:39:41 +0200 Message-Id: <20211014183943.27717-1-hdegoede@redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Scanned-By: MIMEDefang 2.79 on 10.5.11.11 Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi All, Here is v5 of my patch to address the E820 reservations vs PCI host bridge windows issue which is causing touchpad and/or thunderbolt issues on many different laptop models. Changes in v5: - Drop mention of Windows behavior from the commit msg, replace with a reference to the specs - Improve documentation in Documentation/admin-guide/kernel-parameters.txt - Reword the big comment added, use "PCI host bridge window" in it and drop all references to Windows - Add a second patch moving the arch/x86/pci/acpi.c printk-s to pr_info/warn Changes in v4: - Rewrap the big comment block to fit in 80 columns I believe that this is ready for merging now. Bjorn, can you review/ack this please ? x86/tip folks it would be ideal if you can pick this up and send at least the first patch as a fix to Linus for 5.15. This fixes a bug which has been plaguing a lot of users (see all the bug links in the commit msg). Regards, Hans Hans de Goede (2): x86/PCI: Ignore E820 reservations for bridge windows on newer systems x86/PCI/ACPI: Replace printk calls with pr_info/pr_warn calls .../admin-guide/kernel-parameters.txt | 9 ++++ arch/x86/include/asm/pci_x86.h | 10 ++++ arch/x86/kernel/resource.c | 4 ++ arch/x86/pci/acpi.c | 49 +++++++++++++++---- arch/x86/pci/common.c | 6 +++ 5 files changed, 68 insertions(+), 10 deletions(-) -- 2.31.1