Patch Detail
get:
Show a patch.
patch:
Update a patch.
put:
Update a patch.
GET /api/patches/2215468/?format=api
{ "id": 2215468, "url": "http://patchwork.ozlabs.org/api/patches/2215468/?format=api", "web_url": "http://patchwork.ozlabs.org/project/linuxppc-dev/patch/20260324165633.4583-9-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-9-ilpo.jarvinen@linux.intel.com>", "list_archive_url": "https://lore.kernel.org/linuxppc-dev/20260324165633.4583-9-ilpo.jarvinen@linux.intel.com/", "date": "2026-03-24T16:56:31", "name": "[08/10] PCI: Rename window_alignment() to pci_min_window_alignment()", "commit_ref": null, "pull_url": null, "state": "handled-elsewhere", "archived": false, "hash": "1e6921e7ba99d8921ef70ea9c9f3255fa50fd59a", "submitter": { "id": 83553, "url": "http://patchwork.ozlabs.org/api/people/83553/?format=api", "name": "Ilpo Järvinen", "email": "ilpo.jarvinen@linux.intel.com" }, "delegate": null, "mbox": "http://patchwork.ozlabs.org/project/linuxppc-dev/patch/20260324165633.4583-9-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/patches/2215468/comments/", "check": "pending", "checks": "http://patchwork.ozlabs.org/api/patches/2215468/checks/", "tags": {}, "related": [], "headers": { "Return-Path": "\n <linuxppc-dev+bounces-18734-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=RnQfxQ6f;\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-18734-incoming=patchwork.ozlabs.org@lists.ozlabs.org;\n receiver=patchwork.ozlabs.org)", "lists.ozlabs.org;\n arc=none smtp.remote-ip=198.175.65.19", "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=RnQfxQ6f;\n\tdkim-atps=neutral", "lists.ozlabs.org;\n spf=pass (sender SPF authorized) smtp.mailfrom=linux.intel.com\n (client-ip=198.175.65.19; 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 4fgGWR6LPWz1xy1\n\tfor <incoming@patchwork.ozlabs.org>; Wed, 25 Mar 2026 04:00:35 +1100 (AEDT)", "from boromir.ozlabs.org (localhost [127.0.0.1])\n\tby lists.ozlabs.org (Postfix) with ESMTP id 4fgGWQ5Ch7z2ypW;\n\tWed, 25 Mar 2026 04:00:34 +1100 (AEDT)", "from mgamail.intel.com (mgamail.intel.com [198.175.65.19])\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 4fgGWP5B6Nz2yng\n\tfor <linuxppc-dev@lists.ozlabs.org>; Wed, 25 Mar 2026 04:00:33 +1100 (AEDT)", "from fmviesa006.fm.intel.com ([10.60.135.146])\n by orvoesa111.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384;\n 24 Mar 2026 10:00:31 -0700", "from ijarvine-mobl1.ger.corp.intel.com (HELO localhost)\n ([10.245.244.217])\n by fmviesa006-auth.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384;\n 24 Mar 2026 10:00:22 -0700" ], "ARC-Seal": "i=1; a=rsa-sha256; d=lists.ozlabs.org; s=201707; t=1774371634;\n\tcv=none;\n b=GaDBO9byQIYA+9dayy9wJh92qqxBxdFybt4C1D3jOkGFmYzBoaRBXMxIojCC1rPgc3WqVukJycUxDeUASH8WLQnhO/E9QYgPTsTyqvPnoTllTfuAYLHbr8EY1YjELerGdL3Vv5fqFN2Qc0CgjfNsBhfnsOkJdpxTytkbYADmCLQbnUKE38EG6Bs9Wm+HM+NiRAgEExCNGdkPeZfCWLak5Ew/pUZ+0foUqPtmVrkdDvIersmREJN6TiWCSBmooaYfIPVe2CNID3ceU75f8azR8KcCCnTLGKwPKy0ZeOxKJAIKtr5K2aKMcBWitiXt23atxjE0bCI5lErQXlpolrwjqw==", "ARC-Message-Signature": "i=1; a=rsa-sha256; d=lists.ozlabs.org; s=201707;\n\tt=1774371634; c=relaxed/relaxed;\n\tbh=sI6V0alAInp+YEqTm9i0iP4YwBvR6bTOYbLWwt85RwA=;\n\th=From:To:Cc:Subject:Date:Message-Id:In-Reply-To:References:\n\t MIME-Version:Content-Type;\n b=emsTg2SIuiLvwcJ6JoeVwpyUgHqKZoFxw7VJuMXhAvsKdN52+ORtZ7/BwE0ixjD0HDLBT7A+T2gc9cDlDGzuLV+xs2z1WYnVpuua4lCKFUCbKeSqlfbhsBJZyiBWhP8F4hUEJXC95vA9LzXG/wZpCtbBdyYOa+AxLAr1/FsrnnQY8LFf7acBH82Qsjdr/ArKTmnUlIPuDJgQXp0zaYtvhGQBbQSek9tG/6VEcpr2X0tCAA+XPFwnynhnwEtbv4vuVP7Iv852NR7LDkb/5byelX+7XTy2CW7p33YGLm7xGrmKzye4Qgy3Wv+6Eo45jztjtYzRCDXMIszBce7j5RrXwQ==", "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=RnQfxQ6f; dkim-atps=neutral;\n spf=pass (client-ip=198.175.65.19; 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=1774371634; x=1805907634;\n h=from:to:cc:subject:date:message-id:in-reply-to:\n references:mime-version:content-transfer-encoding;\n bh=yRiNPjyR6BmckrFz9yS55d2yQZU16Z4uT3UMgBowpHk=;\n b=RnQfxQ6fF2VSviijuaxFyX6IHMyOOuFy5heSZXfQNxfxznZup8qTKw9t\n /3KUddkL2wmy16SPJ3NCBeiE5jrWWFSXv6xaict4Ew0vDGHf5pWy/szE7\n 2hW2kqnxu5kwRSj5moI4geos9rb8L5ZzQ++8mUoNfyFentI5uMDZIcTVR\n mu+wW5En9PMfhynSyNrwiVHz6zo2LxhCmnYCgc084AARVDHxT7wvfL3Ya\n sdpw6/MqTwmf6vvIS291sn8KApvDBSGUZdG3N433IfD8WM2O21abD0oeL\n BetePJPJk5/8Bb+hCCIVjc0dI8qvxfjoTKLkVPRLVMM2qT09bDpoPRX2V\n w==;", "X-CSE-ConnectionGUID": [ "ERIiE1tuR56LMMcHndKJ+w==", "NHjFhTG1RYO9C2glveQ6yA==" ], "X-CSE-MsgGUID": [ "zriC7fVzTNKjamkhUAfDJg==", "hhyUW1HYQmiP63jGpn9/jA==" ], "X-IronPort-AV": [ "E=McAfee;i=\"6800,10657,11739\"; a=\"75281473\"", "E=Sophos;i=\"6.23,138,1770624000\";\n d=\"scan'208\";a=\"75281473\"", "E=Sophos;i=\"6.23,138,1770624000\";\n d=\"scan'208\";a=\"219540299\"" ], "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>,\n\tlinux-kernel@vger.kernel.org", "Cc": "=?utf-8?q?Ilpo_J=C3=A4rvinen?= <ilpo.jarvinen@linux.intel.com>", "Subject": "[PATCH 08/10] PCI: Rename window_alignment() to\n pci_min_window_alignment()", "Date": "Tue, 24 Mar 2026 18:56:31 +0200", "Message-Id": "<20260324165633.4583-9-ilpo.jarvinen@linux.intel.com>", "X-Mailer": "git-send-email 2.39.5", "In-Reply-To": "<20260324165633.4583-1-ilpo.jarvinen@linux.intel.com>", "References": "<20260324165633.4583-1-ilpo.jarvinen@linux.intel.com>", "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": "window_alignment() lacks prefix. Rename it to pci_min_window_alignment()\nin order to include the prefix and also add min to indicate the returned\nwindow alignment is the minimum PCI spec and arch allows.\n\nAlso make it available in drivers/pci/pci.h as upcoming changes will need\nto call it from outside of setup-bus.c.\n\nSigned-off-by: Ilpo Järvinen <ilpo.jarvinen@linux.intel.com>\n---\n drivers/pci/pci.h | 3 +++\n drivers/pci/setup-bus.c | 6 +++---\n 2 files changed, 6 insertions(+), 3 deletions(-)", "diff": "diff --git a/drivers/pci/pci.h b/drivers/pci/pci.h\nindex 13d998fbacce..2edb03c1c6b9 100644\n--- a/drivers/pci/pci.h\n+++ b/drivers/pci/pci.h\n@@ -1053,6 +1053,9 @@ static inline resource_size_t pci_resource_alignment(struct pci_dev *dev,\n \treturn resource_alignment(res);\n }\n \n+resource_size_t pci_min_window_alignment(struct pci_bus *bus,\n+\t\t\t\t\t unsigned long type);\n+\n void pci_acs_init(struct pci_dev *dev);\n void pci_enable_acs(struct pci_dev *dev);\n #ifdef CONFIG_PCI_QUIRKS\ndiff --git a/drivers/pci/setup-bus.c b/drivers/pci/setup-bus.c\nindex 61f769aaa2f6..edc0d682dcad 100644\n--- a/drivers/pci/setup-bus.c\n+++ b/drivers/pci/setup-bus.c\n@@ -1035,7 +1035,7 @@ resource_size_t __weak pcibios_window_alignment(struct pci_bus *bus,\n #define PCI_P2P_DEFAULT_IO_ALIGN\tSZ_4K\n #define PCI_P2P_DEFAULT_IO_ALIGN_1K\tSZ_1K\n \n-static resource_size_t window_alignment(struct pci_bus *bus, unsigned long type)\n+resource_size_t pci_min_window_alignment(struct pci_bus *bus, unsigned long type)\n {\n \tresource_size_t align = 1, arch_align;\n \n@@ -1084,7 +1084,7 @@ static void pbus_size_io(struct pci_bus *bus, resource_size_t add_size,\n \tif (resource_assigned(b_res))\n \t\treturn;\n \n-\tmin_align = window_alignment(bus, IORESOURCE_IO);\n+\tmin_align = pci_min_window_alignment(bus, IORESOURCE_IO);\n \tlist_for_each_entry(dev, &bus->devices, bus_list) {\n \t\tstruct resource *r;\n \n@@ -1339,7 +1339,7 @@ static void pbus_size_mem(struct pci_bus *bus, struct resource *b_res,\n \t\t}\n \t}\n \n-\twin_align = window_alignment(bus, b_res->flags);\n+\twin_align = pci_min_window_alignment(bus, b_res->flags);\n \tmin_align = calculate_head_align(aligns, max_order);\n \tmin_align = max(min_align, win_align);\n \tsize0 = calculate_memsize(size, realloc_head ? 0 : add_size,\n", "prefixes": [ "08/10" ] }