Received: by 2002:a89:2c3:0:b0:1ed:23cc:44d1 with SMTP id d3csp624455lqs; Tue, 5 Mar 2024 11:17:11 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCXmlIKVyaW0xSdkh0AdrlbevNS8iDiCG1iU2hcfxmykBzk56q8DZxdrgT9RpADqpl8sglD25MaQvmg83h2Yuvg9G12fqvtlj5pnmlgxuQ== X-Google-Smtp-Source: AGHT+IHEbix1EKiaQN1D3awSQ30xQksLPEcsUEQSoBJ8GSIBul6JwLR54e/3jXWfsuQGYAJrQ4rS X-Received: by 2002:aa7:d9da:0:b0:567:de59:e93e with SMTP id v26-20020aa7d9da000000b00567de59e93emr165068eds.25.1709666231466; Tue, 05 Mar 2024 11:17:11 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1709666231; cv=pass; d=google.com; s=arc-20160816; b=Pixw8yjnNB6S7cyBqSkCr8vW+gRU4JGVD/DHIVsw8wQDbFYFYB7CDnWiJCTUS5uHmP Mv/fat85P9IRxWbwC5YDHJ05jrG3W6xAsAYi9AdochP43zQcTescO4KvCSbgrnRb1DOI zQLuMHq8F2lahpcjMRb/Z7rGj9jAH7hOcCjdtjeqHmXcLTv8yFNUHS4EVEJnLtvqWsmC nrCbkmMyLKAK8DgKfjtgxcnBrXqh6b9JKQlirX5CV4a3Ua2r6MRo/8DTCII6HgRTTSUA PFd/csdzWBRw9C4O4qflgdCiTyec7Myd3wF2vHI3XBK3yjcEEs3X940hfMd1YImGKSiw 17ZQ== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-id:mime-version:list-unsubscribe:list-subscribe:list-id :precedence:references:message-id:in-reply-to:subject:cc:to:date :from:dkim-signature; bh=UoiUgqXFfpaN2Ds9wD5G5G8/pA8Kjnp4l8diAZx2OvI=; fh=WlBA76eeIdMdI1dwItjTdHslJfDwKS6qgya7oqdDg1g=; b=hxf8pBli3XvhydewZYV9l11I+UrQiFFQBSqdySeq9jzU5jFiULege3V+6M+AczDOxn PE8kTtk1E0jI5VMEiWIwLUFBDfw7DpU/rQ+PJKu75MZ8EtbY1aLBa2SkeCj555GwtPyR DipuHnU/2c4p94LTRtmRXqp95C9o4+4gARaFJ3A1VmH2iaqJMi8deKsSkTGy0Q+z1o5n +AtRVkCpmg5/zV+hPF/7jIVGz6yH3m7ORscq8hFqw+53OpCJTC1UJJxl6BPJ84uT84WG KcASnkPcKrqZCiNOpi47sJDTMPfTr0fc+9tS/Kp8MJ55tOgRGDfyfCtp2RgN234fXx8w qgRQ==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=mHUaJC8j; arc=pass (i=1 dkim=pass dkdomain=intel.com dmarc=pass fromdomain=linux.intel.com); spf=pass (google.com: domain of linux-kernel+bounces-92616-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-92616-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=intel.com Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [147.75.80.249]) by mx.google.com with ESMTPS id s23-20020a508d17000000b0056750fa2e67si2117850eds.407.2024.03.05.11.17.11 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 05 Mar 2024 11:17:11 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-92616-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) client-ip=147.75.80.249; Authentication-Results: mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=mHUaJC8j; arc=pass (i=1 dkim=pass dkdomain=intel.com dmarc=pass fromdomain=linux.intel.com); spf=pass (google.com: domain of linux-kernel+bounces-92616-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-92616-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=intel.com Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by am.mirrors.kernel.org (Postfix) with ESMTPS id 792871F250EC for ; Tue, 5 Mar 2024 15:38:08 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id BF000127B46; Tue, 5 Mar 2024 15:38:00 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=intel.com header.i=@intel.com header.b="mHUaJC8j" Received: from mgamail.intel.com (mgamail.intel.com [198.175.65.10]) (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 50A5885944; Tue, 5 Mar 2024 15:37:58 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=198.175.65.10 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1709653080; cv=none; b=SMGFvGB6O11vTqKQz77655xVgon9tJs2nydVZlcv9BNrG8Ol0s2z2DpqFDdFwqgY1uBvPEs/Jxj5xBBPC5on1+607s4QqrDODAGqxLx103aeEVCNj6IS5GYTkMLsUDn+0ZyJcxPI/sFPvcuMn023jZWCthTXD7umheovawVk1d0= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1709653080; c=relaxed/simple; bh=xwm84H4f4tjwcSxxtvgbASvINMVOSckg9bf0UJkq3EY=; h=From:Date:To:cc:Subject:In-Reply-To:Message-ID:References: MIME-Version:Content-Type; b=kSoTN9nF871z0xC9eqXZRNGusAxV1MKA23Ce8/3482/4DlxTIyM+gZjRIJ4XPxGbFOhSLcsHdqzYFLBeDRkP7EJ9XACUl88kFoAu9+r5+fHi6me85mO2JW+RVKMaBeNLL1pCL4M4rJahLCJNmrwFH1IYX2rQWeVj0VTGaKjk9Vk= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linux.intel.com; spf=none smtp.mailfrom=linux.intel.com; dkim=pass (2048-bit key) header.d=intel.com header.i=@intel.com header.b=mHUaJC8j; arc=none smtp.client-ip=198.175.65.10 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linux.intel.com Authentication-Results: smtp.subspace.kernel.org; spf=none smtp.mailfrom=linux.intel.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1709653078; x=1741189078; h=from:date:to:cc:subject:in-reply-to:message-id: references:mime-version:content-id; bh=xwm84H4f4tjwcSxxtvgbASvINMVOSckg9bf0UJkq3EY=; b=mHUaJC8jd/X65cvPRoO4/q8f56v2rjc0LO9ho0usS0PtDTtK5PVzi0Vl k/Ey6JABbhA3uBxmyZgFgypqY8Rt/UX5XuEHP9HxRIvcWilnhAQsHsO19 bNsbXKmB1CNurqrgH/VhiDRvhSem6avJbg0R5jgxZrN75V1S4aiyZzgCp zdxx4qrUiiBlG2cT72zMEXZA8oPZsrGfCYJuVn51XjFEMXou/h79uvpNE Oet4+fklPRw4VlZLQIb3W2had6AxXhQquV1hsr7b0kl5NtR26soeNfS+N 2cglipKrvTSDQgLYs5QoNh3IyrXVD3Hs2CBzOZBQmZ/duNGEdbXhZ3sXW A==; X-IronPort-AV: E=McAfee;i="6600,9927,11003"; a="21670783" X-IronPort-AV: E=Sophos;i="6.06,205,1705392000"; d="scan'208";a="21670783" Received: from orviesa002.jf.intel.com ([10.64.159.142]) by orvoesa102.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 05 Mar 2024 07:37:57 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="6.06,205,1705392000"; d="scan'208";a="40301723" Received: from ijarvine-desk1.ger.corp.intel.com (HELO localhost) ([10.246.51.37]) by orviesa002-auth.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 05 Mar 2024 07:37:54 -0800 From: =?UTF-8?q?Ilpo=20J=C3=A4rvinen?= Date: Tue, 5 Mar 2024 17:37:49 +0200 (EET) To: Bjorn Helgaas cc: linux-pci@vger.kernel.org, Lorenzo Pieralisi , Rob Herring , =?ISO-8859-2?Q?Krzysztof_Wilczy=F1ski?= , Igor Mammedov , Lukas Wunner , Mika Westerberg , Andy Shevchenko , "Rafael J . Wysocki" , LKML Subject: Re: [PATCH 0/7] PCI: Solve two bridge window sizing issues In-Reply-To: <20231222122901.49538-1-ilpo.jarvinen@linux.intel.com> Message-ID: References: <20231222122901.49538-1-ilpo.jarvinen@linux.intel.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: multipart/mixed; BOUNDARY="8323328-1729510199-1709652635=:1003" Content-ID: This message is in MIME format. The first part should be readable text, while the remaining parts are likely unreadable without MIME-aware tools. --8323328-1729510199-1709652635=:1003 Content-Type: text/plain; CHARSET=ISO-8859-15 Content-Transfer-Encoding: QUOTED-PRINTABLE Content-ID: On Fri, 22 Dec 2023, Ilpo J=E4rvinen wrote: > Hi all, >=20 > Here's a series that contains two fixes to PCI bridge window sizing > algorithm. Together, they should enable remove & rescan cycle to work > for a PCI bus that has PCI devices with optional resources and/or > disparity in BAR sizes. >=20 > For the second fix, I chose to expose find_empty_resource_slot() from > kernel/resource.c because it should increase accuracy of the cannot-fit > decision (currently that function is called find_resource()). In order > to do that sensibly, a few improvements seemed in order to make its > interface and name of the function sane before exposing it. Thus, the > few extra patches on resource side. Hi Bjorn, Can you consider applying this series or do you have some comments on it? I'm a bit unsure these days if my emails even reach you successfully as I= =20 tend to often receive complaints from Gmail that it has blocked the emails= =20 I send with git send-email detecting them as "unsolicited mail". --=20 i. > Unfortunately I don't have a reason to suspect these would help with > the issues related to the currently ongoing resource regression > thread [1]. >=20 > [1] https://lore.kernel.org/linux-pci/ZXpaNCLiDM+Kv38H@marvin.atrad.com.a= u/ >=20 > Ilpo J=E4rvinen (7): > PCI: Fix resource double counting on remove & rescan > resource: Rename find_resource() to find_empty_resource_slot() > resource: Document find_empty_resource_slot() and resource_constraint > resource: Use typedef for alignf callback > resource: Handle simple alignment inside __find_empty_resource_slot() > resource: Export find_empty_resource_slot() > PCI: Relax bridge window tail sizing rules --8323328-1729510199-1709652635=:1003--