Cover Letter Detail
Show a cover letter.
GET /api/covers/2215460/?format=api
{ "id": 2215460, "url": "http://patchwork.ozlabs.org/api/covers/2215460/?format=api", "web_url": "http://patchwork.ozlabs.org/project/linuxppc-dev/cover/20260324165633.4583-1-ilpo.jarvinen@linux.intel.com/", "project": { "id": 2, "url": "http://patchwork.ozlabs.org/api/projects/2/?format=api", "name": "Linux PPC development", "link_name": "linuxppc-dev", "list_id": "linuxppc-dev.lists.ozlabs.org", "list_email": "linuxppc-dev@lists.ozlabs.org", "web_url": "https://github.com/linuxppc/wiki/wiki", "scm_url": "https://git.kernel.org/pub/scm/linux/kernel/git/powerpc/linux.git", "webscm_url": "https://git.kernel.org/pub/scm/linux/kernel/git/powerpc/linux.git/", "list_archive_url": "https://lore.kernel.org/linuxppc-dev/", "list_archive_url_format": "https://lore.kernel.org/linuxppc-dev/{}/", "commit_url_format": "https://git.kernel.org/pub/scm/linux/kernel/git/powerpc/linux.git/commit/?id={}" }, "msgid": "<20260324165633.4583-1-ilpo.jarvinen@linux.intel.com>", "list_archive_url": "https://lore.kernel.org/linuxppc-dev/20260324165633.4583-1-ilpo.jarvinen@linux.intel.com/", "date": "2026-03-24T16:56:23", "name": "[00/10] PCI: Improve head free space usage", "submitter": { "id": 83553, "url": "http://patchwork.ozlabs.org/api/people/83553/?format=api", "name": "Ilpo Järvinen", "email": "ilpo.jarvinen@linux.intel.com" }, "mbox": "http://patchwork.ozlabs.org/project/linuxppc-dev/cover/20260324165633.4583-1-ilpo.jarvinen@linux.intel.com/mbox/", "series": [ { "id": 497317, "url": "http://patchwork.ozlabs.org/api/series/497317/?format=api", "web_url": "http://patchwork.ozlabs.org/project/linuxppc-dev/list/?series=497317", "date": "2026-03-24T16:56:23", "name": "PCI: Improve head free space usage", "version": 1, "mbox": "http://patchwork.ozlabs.org/series/497317/mbox/" } ], "comments": "http://patchwork.ozlabs.org/api/covers/2215460/comments/", "headers": { "Return-Path": "\n <linuxppc-dev+bounces-18725-incoming=patchwork.ozlabs.org@lists.ozlabs.org>", "X-Original-To": [ "incoming@patchwork.ozlabs.org", "linuxppc-dev@lists.ozlabs.org" ], "Delivered-To": "patchwork-incoming@legolas.ozlabs.org", "Authentication-Results": [ "legolas.ozlabs.org;\n\tdkim=pass (2048-bit key;\n unprotected) header.d=intel.com header.i=@intel.com header.a=rsa-sha256\n header.s=Intel header.b=c88GHMjs;\n\tdkim-atps=neutral", "legolas.ozlabs.org;\n spf=pass (sender SPF authorized) smtp.mailfrom=lists.ozlabs.org\n (client-ip=2404:9400:21b9:f100::1; helo=lists.ozlabs.org;\n envelope-from=linuxppc-dev+bounces-18725-incoming=patchwork.ozlabs.org@lists.ozlabs.org;\n receiver=patchwork.ozlabs.org)", "lists.ozlabs.org;\n arc=none smtp.remote-ip=198.175.65.13", "lists.ozlabs.org;\n dmarc=pass (p=none dis=none) header.from=linux.intel.com", "lists.ozlabs.org;\n\tdkim=pass (2048-bit key;\n unprotected) header.d=intel.com header.i=@intel.com header.a=rsa-sha256\n header.s=Intel header.b=c88GHMjs;\n\tdkim-atps=neutral", "lists.ozlabs.org;\n spf=pass (sender SPF authorized) smtp.mailfrom=linux.intel.com\n (client-ip=198.175.65.13; helo=mgamail.intel.com;\n envelope-from=ilpo.jarvinen@linux.intel.com; receiver=lists.ozlabs.org)" ], "Received": [ "from lists.ozlabs.org (lists.ozlabs.org\n [IPv6:2404:9400:21b9:f100::1])\n\t(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)\n\t key-exchange x25519)\n\t(No client certificate requested)\n\tby legolas.ozlabs.org (Postfix) with ESMTPS id 4fgGT642kjz1y1g\n\tfor <incoming@patchwork.ozlabs.org>; Wed, 25 Mar 2026 03:58:34 +1100 (AEDT)", "from boromir.ozlabs.org (localhost [127.0.0.1])\n\tby lists.ozlabs.org (Postfix) with ESMTP id 4fgGT55n3zz2ynn;\n\tWed, 25 Mar 2026 03:58:33 +1100 (AEDT)", "from mgamail.intel.com (mgamail.intel.com [198.175.65.13])\n\t(using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits))\n\t(No client certificate requested)\n\tby lists.ozlabs.org (Postfix) with ESMTPS id 4fgGT24pHZz2ynP\n\tfor <linuxppc-dev@lists.ozlabs.org>; Wed, 25 Mar 2026 03:58:28 +1100 (AEDT)", "from orviesa008.jf.intel.com ([10.64.159.148])\n by orvoesa105.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384;\n 24 Mar 2026 09:58:25 -0700", "from ijarvine-mobl1.ger.corp.intel.com (HELO localhost)\n ([10.245.244.217])\n by orviesa008-auth.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384;\n 24 Mar 2026 09:58:15 -0700" ], "ARC-Seal": "i=1; a=rsa-sha256; d=lists.ozlabs.org; s=201707; t=1774371513;\n\tcv=none;\n b=SgPzxWlIokDPAyZSRGrG8OySpQ3kXssvf15I53QtMRy563DIEUecywvWFRZjYjED2d8DPEPPZS4xi8x7Vt4EMEAXnjI/mE/oqFuSSEDsTAUeFVRdIafcK2GmT3N6IZS1lQWG4xvnjDt8xYx8434N01G+dMjydbjAjv+B11m4ZG3nlutgXlGKLz1JTFbZxh/M9enNA1jPLrlhBNmtLUvhp+Nf//BCCgyq03ebQEi+Kp7uZwV4NhClvsvT7Bcu6W6XnX/7CslvcjFZfm7nzdCcxlPW+t+O0eqcu6UpCSm2XOMYd8+dddrpdZrloemQ5x0cyt2vx6UIfVBJ/ejUHJF4ew==", "ARC-Message-Signature": "i=1; a=rsa-sha256; d=lists.ozlabs.org; s=201707;\n\tt=1774371513; c=relaxed/relaxed;\n\tbh=vVIqBuyIq4R4/UVhTmLSRBTYm0AzPhhoH+Jbpk0DIV4=;\n\th=From:To:Cc:Subject:Date:Message-Id:MIME-Version:Content-Type;\n b=fAM1/Jh/aFwlFXMrw9qP/rO+LXAMjppNyYntOTCDqJBQMfZ33gxAnYtpIr1oJpQ8sIIKwRQfidZ5lFucX0nx0apOeU76XwaRnI9vvAh46CYD6zsz95P/X7w9YptScziyg4npzZQ1BKxwuDvHhI33fQ7HKFFygOSmodl0qe55En2CPAXmIiTwSin2jdDCGCmiF46iM0rlgGkP78ksgEoPK5xeznX6aJppgAZMwTGssaUQGLS2PqjWcSGfu+m05t6N7LF/V8UoiyEiaLyXM8FpyNG+s6xcI+mbOz6+8Ap0+assgV54IOeR5w/DKC4GIX/Bou89o/OUibLDu9ojSB6guw==", "ARC-Authentication-Results": "i=1; lists.ozlabs.org;\n dmarc=pass (p=none dis=none) header.from=linux.intel.com;\n dkim=pass (2048-bit key;\n unprotected) header.d=intel.com header.i=@intel.com header.a=rsa-sha256\n header.s=Intel header.b=c88GHMjs; dkim-atps=neutral;\n spf=pass (client-ip=198.175.65.13; helo=mgamail.intel.com;\n envelope-from=ilpo.jarvinen@linux.intel.com;\n receiver=lists.ozlabs.org) smtp.mailfrom=linux.intel.com", "DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/simple;\n d=intel.com; i=@intel.com; q=dns/txt; s=Intel;\n t=1774371511; x=1805907511;\n h=from:to:cc:subject:date:message-id:mime-version:\n content-transfer-encoding;\n bh=AVKqbcBAH58YtvbtTvUhV6tMedua8892v/x7yCDldr8=;\n b=c88GHMjsrANGVFPo3lCuF6nvKHhvtB+jxAJP2kt1pg15zkVG5gW0Qxc8\n /zzd8XNv3E/eJlGiN32dxNI96/9Ut6rYayjMw1hdkGUZYPd2U+F2puwLj\n dOoHMfwo7ct31uI7cfFEOLp8A+0qn5CtYxlgghL5bXYhDf+T+Wn7rs6wt\n dXzqBIzhBSemMwdh3voJQq8m8ZoQTmIw3ydAEokent5BKJE+wi4VRqGSd\n S+IEZtftTqKvjDDMB+0cLHwiKF5ydjgNeF/G6weuqs8eV1mspwDes+KSm\n yHEo+cGFyRkm8VSJnKMSMrK8f6LdofgKRYdXsepA07ZZYTCXo9FHhIWg3\n Q==;", "X-CSE-ConnectionGUID": [ "f45wNxILQp+hX5ePnP305w==", "aesm43ZmRSeKftw4Z5hIbQ==" ], "X-CSE-MsgGUID": [ "tbrkzNA5T2GFDKU4iOBrng==", "C08Qc1D5Q9Gv1bbEQjAQVQ==" ], "X-IronPort-AV": [ "E=McAfee;i=\"6800,10657,11739\"; a=\"86471511\"", "E=Sophos;i=\"6.23,138,1770624000\";\n d=\"scan'208\";a=\"86471511\"", "E=Sophos;i=\"6.23,138,1770624000\";\n d=\"scan'208\";a=\"224421853\"" ], "X-ExtLoop1": "1", "From": "=?utf-8?q?Ilpo_J=C3=A4rvinen?= <ilpo.jarvinen@linux.intel.com>", "To": "linux-pci@vger.kernel.org,\n\tBjorn Helgaas <bhelgaas@google.com>,\n\tGuenter Roeck <linux@roeck-us.net>,\n\tlinux-alpha@vger.kernel.org,\n\tlinux-arm-kernel@lists.infradead.org,\n\tlinux-m68k@lists.linux-m68k.org,\n\tlinux-mips@vger.kernel.org,\n\tlinux-parisc@vger.kernel.org,\n\tlinuxppc-dev@lists.ozlabs.org,\n\tlinux-s390@vger.kernel.org,\n\tlinux-sh@vger.kernel.org,\n\tRussell King <linux@armlinux.org.uk>,\n\tGeert Uytterhoeven <geert@linux-m68k.org>,\n\tThomas Bogendoerfer <tsbogend@alpha.franken.de>,\n\t\"James E.J. Bottomley\" <James.Bottomley@HansenPartnership.com>,\n\tHelge Deller <deller@gmx.de>,\n\tMichael Ellerman <mpe@ellerman.id.au>,\n\tThomas Gleixner <tglx@kernel.org>,\n\tIngo Molnar <mingo@redhat.com>,\n\tBorislav Petkov <bp@alien8.de>,\n\tDave Hansen <dave.hansen@linux.intel.com>,\n\t\"H. Peter Anvin\" <hpa@zytor.com>,\n\tChris Zankel <chris@zankel.net>,\n\tMax Filippov <jcmvbkbc@gmail.com>,\n\tMadhavan Srinivasan <maddy@linux.ibm.com>,\n\tYoshinori Sato <ysato@users.sourceforge.jp>,\n\tRich Felker <dalias@libc.org>,\n\tJohn Paul Adrian Glaubitz <glaubitz@physik.fu-berlin.de>", "Cc": "linux-kernel@vger.kernel.org,\n =?utf-8?q?Ilpo_J=C3=A4rvinen?= <ilpo.jarvinen@linux.intel.com>", "Subject": "[PATCH 00/10] PCI: Improve head free space usage", "Date": "Tue, 24 Mar 2026 18:56:23 +0200", "Message-Id": "<20260324165633.4583-1-ilpo.jarvinen@linux.intel.com>", "X-Mailer": "git-send-email 2.39.5", "X-Mailing-List": "linuxppc-dev@lists.ozlabs.org", "List-Id": "<linuxppc-dev.lists.ozlabs.org>", "List-Help": "<mailto:linuxppc-dev+help@lists.ozlabs.org>", "List-Owner": "<mailto:linuxppc-dev+owner@lists.ozlabs.org>", "List-Post": "<mailto:linuxppc-dev@lists.ozlabs.org>", "List-Archive": "<https://lore.kernel.org/linuxppc-dev/>,\n <https://lists.ozlabs.org/pipermail/linuxppc-dev/>", "List-Subscribe": "<mailto:linuxppc-dev+subscribe@lists.ozlabs.org>,\n <mailto:linuxppc-dev+subscribe-digest@lists.ozlabs.org>,\n <mailto:linuxppc-dev+subscribe-nomail@lists.ozlabs.org>", "List-Unsubscribe": "<mailto:linuxppc-dev+unsubscribe@lists.ozlabs.org>", "Precedence": "list", "MIME-Version": "1.0", "Content-Type": "text/plain; charset=UTF-8", "Content-Transfer-Encoding": "8bit", "X-Spam-Status": "No, score=-2.3 required=3.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED,\n\tDKIM_VALID,RCVD_IN_DNSWL_MED,SPF_HELO_NONE,SPF_PASS autolearn=disabled\n\tversion=4.0.1 OzLabs 8", "X-Spam-Checker-Version": "SpamAssassin 4.0.1 (2024-03-25) on lists.ozlabs.org" }, "content": "Hi all,\n\nThis series attempts to take advantage of free head space (the free\nspace before the aligned start address) in order to generally produce a\ntighter packing of the resources/bridge windows.\n\nThe recent changes to the resource fitting algorithm caused resource\nallocation failures in some cases where a bridge window that is sized\nto be gapless could no longer be assigned. The previous algorithm left\na huge gaps which allowed it to place the remainder (non-aligning part\nof the size) before the start address of used for the gapless fit,\nwhereas the new gapless approach always had to place the remainder\nafter the aligning part of the resources. There is not always space\nfor the remainder triggering those failures (e.g., when the aligning\npart must be placed at the top of the window).\n\nThis series attempts to allow placing the remainder once again before\nthe aligning part, but now without leaving huge gaps to retain the\nbenefits of the gapless bridge windows. The approach is somewhat hacky\nbut should work thanks to PCI resources fundamentally consisting only\npower-of-two atoms.\n\nThere maybe cases where architecture would not want to do such\nrelocation. This series adds the relocation to arch\npcibios_align_resource() functions to allow all of them taking\nadvantage of the better resource packing but if somebody objects doing\nthis relocation for a particular arch, I can remove it, please just let\nme know (this relocation doesn't seem critical unless there are\nregressions).\n\nIlpo Järvinen (10):\n resource: Add __resource_contains_unbound() for internal contains\n checks\n resource: Pass full extent of empty space to resource_alignf CB\n resource: Rename 'tmp' variable to 'full_avail'\n ARM/PCI: Remove unnecessary second application of align\n am68k/PCI: Remove unnecessary second application of align\n MIPS: PCI: Remove unnecessary second application of align\n parisc/PCI: Cleanup align handling\n PCI: Rename window_alignment() to pci_min_window_alignment()\n PCI: Align head space better\n PCI: Fix alignment calculation for resource size larger than align\n\n arch/alpha/kernel/pci.c | 1 +\n arch/arm/kernel/bios32.c | 9 ++++---\n arch/m68k/kernel/pcibios.c | 8 +++++--\n arch/mips/pci/pci-generic.c | 8 ++++---\n arch/mips/pci/pci-legacy.c | 3 +++\n arch/parisc/kernel/pci.c | 17 ++++++++------\n arch/powerpc/kernel/pci-common.c | 6 ++++-\n arch/s390/pci/pci.c | 1 +\n arch/sh/drivers/pci/pci.c | 6 ++++-\n arch/x86/pci/i386.c | 5 +++-\n arch/xtensa/kernel/pci.c | 3 +++\n drivers/pci/pci.h | 3 +++\n drivers/pci/setup-bus.c | 15 ++++++++----\n drivers/pci/setup-res.c | 40 +++++++++++++++++++++++++++++++-\n drivers/pcmcia/rsrc_nonstatic.c | 3 ++-\n include/linux/ioport.h | 22 +++++++++++++++---\n include/linux/pci.h | 12 +++++++---\n kernel/resource.c | 33 +++++++++++++-------------\n 18 files changed, 149 insertions(+), 46 deletions(-)\n\n\nbase-commit: 6de23f81a5e08be8fbf5e8d7e9febc72a5b5f27f" }