Patch Detail
get:
Show a patch.
patch:
Update a patch.
put:
Update a patch.
GET /api/1.2/patches/2230195/?format=api
{ "id": 2230195, "url": "http://patchwork.ozlabs.org/api/1.2/patches/2230195/?format=api", "web_url": "http://patchwork.ozlabs.org/project/linux-pci/patch/20260429122617.7324-7-ilpo.jarvinen@linux.intel.com/", "project": { "id": 28, "url": "http://patchwork.ozlabs.org/api/1.2/projects/28/?format=api", "name": "Linux PCI development", "link_name": "linux-pci", "list_id": "linux-pci.vger.kernel.org", "list_email": "linux-pci@vger.kernel.org", "web_url": null, "scm_url": null, "webscm_url": null, "list_archive_url": "", "list_archive_url_format": "", "commit_url_format": "" }, "msgid": "<20260429122617.7324-7-ilpo.jarvinen@linux.intel.com>", "list_archive_url": null, "date": "2026-04-29T12:26:12", "name": "[06/11] powerpc/pseries: Make pseries_get_iov_fw_value() & pnv_iov_get() pci_dev const", "commit_ref": null, "pull_url": null, "state": "new", "archived": false, "hash": "5cdc93c7fe8046dc974c96010dc4d2f9ccbf6f63", "submitter": { "id": 83553, "url": "http://patchwork.ozlabs.org/api/1.2/people/83553/?format=api", "name": "Ilpo Järvinen", "email": "ilpo.jarvinen@linux.intel.com" }, "delegate": null, "mbox": "http://patchwork.ozlabs.org/project/linux-pci/patch/20260429122617.7324-7-ilpo.jarvinen@linux.intel.com/mbox/", "series": [ { "id": 502050, "url": "http://patchwork.ozlabs.org/api/1.2/series/502050/?format=api", "web_url": "http://patchwork.ozlabs.org/project/linux-pci/list/?series=502050", "date": "2026-04-29T12:26:06", "name": "PCI: pci_resource_alignment() improvement + cleanups", "version": 1, "mbox": "http://patchwork.ozlabs.org/series/502050/mbox/" } ], "comments": "http://patchwork.ozlabs.org/api/patches/2230195/comments/", "check": "pending", "checks": "http://patchwork.ozlabs.org/api/patches/2230195/checks/", "tags": {}, "related": [], "headers": { "Return-Path": "\n <linux-pci+bounces-53391-incoming=patchwork.ozlabs.org@vger.kernel.org>", "X-Original-To": [ "incoming@patchwork.ozlabs.org", "linux-pci@vger.kernel.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=A3oyLOt0;\n\tdkim-atps=neutral", "legolas.ozlabs.org;\n spf=pass (sender SPF authorized) smtp.mailfrom=vger.kernel.org\n (client-ip=2600:3c0a:e001:db::12fc:5321; helo=sea.lore.kernel.org;\n envelope-from=linux-pci+bounces-53391-incoming=patchwork.ozlabs.org@vger.kernel.org;\n receiver=patchwork.ozlabs.org)", "smtp.subspace.kernel.org;\n\tdkim=pass (2048-bit key) header.d=intel.com header.i=@intel.com\n header.b=\"A3oyLOt0\"", "smtp.subspace.kernel.org;\n arc=none smtp.client-ip=198.175.65.20", "smtp.subspace.kernel.org;\n dmarc=pass (p=none dis=none) header.from=linux.intel.com", "smtp.subspace.kernel.org;\n spf=pass smtp.mailfrom=linux.intel.com" ], "Received": [ "from sea.lore.kernel.org (sea.lore.kernel.org\n [IPv6:2600:3c0a:e001:db::12fc:5321])\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 4g5GnJ63Vlz1yHX\n\tfor <incoming@patchwork.ozlabs.org>; Wed, 29 Apr 2026 22:28:52 +1000 (AEST)", "from smtp.subspace.kernel.org (conduit.subspace.kernel.org\n [100.90.174.1])\n\tby sea.lore.kernel.org (Postfix) with ESMTP id 892483038F4C\n\tfor <incoming@patchwork.ozlabs.org>; Wed, 29 Apr 2026 12:27:38 +0000 (UTC)", "from localhost.localdomain (localhost.localdomain [127.0.0.1])\n\tby smtp.subspace.kernel.org (Postfix) with ESMTP id A965339D6FD;\n\tWed, 29 Apr 2026 12:27:37 +0000 (UTC)", "from mgamail.intel.com (mgamail.intel.com [198.175.65.20])\n\t(using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits))\n\t(No client certificate requested)\n\tby smtp.subspace.kernel.org (Postfix) with ESMTPS id 7940E39BFF4;\n\tWed, 29 Apr 2026 12:27:36 +0000 (UTC)", "from orviesa007.jf.intel.com ([10.64.159.147])\n by orvoesa112.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384;\n 29 Apr 2026 05:27:36 -0700", "from ijarvine-mobl1.ger.corp.intel.com (HELO localhost)\n ([10.245.245.212])\n by orviesa007-auth.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384;\n 29 Apr 2026 05:27:32 -0700" ], "ARC-Seal": "i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116;\n\tt=1777465657; cv=none;\n b=ZFhEVnSeDQD1sQhwsB3yFSvFN4MhRfsz1IMkvsn0FSjyT7xYvOtqFAUepOy5IH2G6GSKiV7hvUUOy3BYl18ufsnRBNTFjXpI5seDT57F/5RDFZUK6vZ4WQfrFY1zqSFc+z27aqicdKyvXgM9mmC1gjz6xL7HcQkH2urCGVqFa7U=", "ARC-Message-Signature": "i=1; a=rsa-sha256; d=subspace.kernel.org;\n\ts=arc-20240116; t=1777465657; c=relaxed/simple;\n\tbh=av6nUtlRUMx1I+d/0rUy1n4lGYX7MGYYBRJ36tkOEdo=;\n\th=From:To:Cc:Subject:Date:Message-Id:In-Reply-To:References:\n\t MIME-Version:Content-Type;\n b=mGTK/59g9r4U0mbU7swgSleuUZt24ZwJnTC/pTJoBO6zy5YaRQobqMvKapKZsO3k0j/76KMLs9x2IeRfazspW85A8Jix4K0ACkn4+Ndn4xvmcUAfFsl+e3D4lc206H+f7ystidIS0wd9MiHWLzath3tz/ExJchqR7+CgnA/KTjo=", "ARC-Authentication-Results": "i=1; smtp.subspace.kernel.org;\n dmarc=pass (p=none dis=none) header.from=linux.intel.com;\n spf=pass smtp.mailfrom=linux.intel.com;\n dkim=pass (2048-bit key) header.d=intel.com header.i=@intel.com\n header.b=A3oyLOt0; arc=none smtp.client-ip=198.175.65.20", "DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/simple;\n d=intel.com; i=@intel.com; q=dns/txt; s=Intel;\n t=1777465657; x=1809001657;\n h=from:to:cc:subject:date:message-id:in-reply-to:\n references:mime-version:content-transfer-encoding;\n bh=av6nUtlRUMx1I+d/0rUy1n4lGYX7MGYYBRJ36tkOEdo=;\n b=A3oyLOt0yFwE9IlX/JcwAXfLCOaCyYAtqbuNAcFWxkgREen407b6VTwg\n /4WvimpwhIB4nbmt/v5c8ni/yERTkrpOUNpdCwio94jkBgn3kfWTtdSEd\n PwIf5MISDh4KxiakGv+oodSYaJGj7mTekFydB4uuwhv9utifQEpUnIi7H\n 8Ro0hX2NZ4j8/NXavlXZtQGOQACU3ftQxB0drA68sRBvPMBm1qcF1hO8h\n 3oHzqH5qLyVgfs9gG3QhSp6FcwDATLFxwkNkUNwAgheO2OHfwFSAJJbfC\n XwokChEu5G+IUet7nni92B9L04KX22wkc6tugLYwCd0rLCm4HQKEJQVFF\n Q==;", "X-CSE-ConnectionGUID": [ "9bMLsEyrRZOB8ehaBlNwDA==", "YbPY7mx3RA+0HaaKTn90OA==" ], "X-CSE-MsgGUID": [ "Ma1g6aj1QSGcktZK9K0prA==", "gjkuTCivS++kW7ekDhzxHg==" ], "X-IronPort-AV": [ "E=McAfee;i=\"6800,10657,11770\"; a=\"78101821\"", "E=Sophos;i=\"6.23,206,1770624000\";\n d=\"scan'208\";a=\"78101821\"", "E=Sophos;i=\"6.23,206,1770624000\";\n d=\"scan'208\";a=\"234512290\"" ], "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\tShawn Jin <shawn.jin@asteralabs.com>,\n\tlinuxppc-dev@lists.ozlabs.org,\n\tMadhavan Srinivasan <maddy@linux.ibm.com>,\n\tMichael Ellerman <mpe@ellerman.id.au>,\n\tNicholas Piggin <npiggin@gmail.com>,\n\t\"Christophe Leroy (CS GROUP)\" <chleroy@kernel.org>,\n\tlinux-kernel@vger.kernel.org", "Cc": "=?utf-8?q?Ilpo_J=C3=A4rvinen?= <ilpo.jarvinen@linux.intel.com>", "Subject": "[PATCH 06/11] powerpc/pseries: Make pseries_get_iov_fw_value() &\n pnv_iov_get() pci_dev const", "Date": "Wed, 29 Apr 2026 15:26:12 +0300", "Message-Id": "<20260429122617.7324-7-ilpo.jarvinen@linux.intel.com>", "X-Mailer": "git-send-email 2.39.5", "In-Reply-To": "<20260429122617.7324-1-ilpo.jarvinen@linux.intel.com>", "References": "<20260429122617.7324-1-ilpo.jarvinen@linux.intel.com>", "Precedence": "bulk", "X-Mailing-List": "linux-pci@vger.kernel.org", "List-Id": "<linux-pci.vger.kernel.org>", "List-Subscribe": "<mailto:linux-pci+subscribe@vger.kernel.org>", "List-Unsubscribe": "<mailto:linux-pci+unsubscribe@vger.kernel.org>", "MIME-Version": "1.0", "Content-Type": "text/plain; charset=UTF-8", "Content-Transfer-Encoding": "8bit" }, "content": "Convert input pci_dev for pseries_get_iov_fw_value() and pnv_iov_get()\nto const to be able to convert pcibios_iov_resource_alignment() as well\nin an upcoming change.\n\nSigned-off-by: Ilpo Järvinen <ilpo.jarvinen@linux.intel.com>\n---\n arch/powerpc/platforms/powernv/pci.h | 2 +-\n arch/powerpc/platforms/pseries/setup.c | 3 ++-\n 2 files changed, 3 insertions(+), 2 deletions(-)", "diff": "diff --git a/arch/powerpc/platforms/powernv/pci.h b/arch/powerpc/platforms/powernv/pci.h\nindex 42075501663b..032b2081aedb 100644\n--- a/arch/powerpc/platforms/powernv/pci.h\n+++ b/arch/powerpc/platforms/powernv/pci.h\n@@ -251,7 +251,7 @@ struct pnv_iov_data {\n \tstruct resource holes[PCI_SRIOV_NUM_BARS];\n };\n \n-static inline struct pnv_iov_data *pnv_iov_get(struct pci_dev *pdev)\n+static inline struct pnv_iov_data *pnv_iov_get(const struct pci_dev *pdev)\n {\n \treturn pdev->dev.archdata.iov_data;\n }\ndiff --git a/arch/powerpc/platforms/pseries/setup.c b/arch/powerpc/platforms/pseries/setup.c\nindex 50b26ed8432d..b670c6fdfcea 100644\n--- a/arch/powerpc/platforms/pseries/setup.c\n+++ b/arch/powerpc/platforms/pseries/setup.c\n@@ -658,7 +658,8 @@ enum get_iov_fw_value_index {\n \tWDW_SIZE = 3 /* Get Window Size */\n };\n \n-static resource_size_t pseries_get_iov_fw_value(struct pci_dev *dev, int resno,\n+static resource_size_t pseries_get_iov_fw_value(const struct pci_dev *dev,\n+\t\t\t\t\t\tint resno,\n \t\t\t\t\t\tenum get_iov_fw_value_index value)\n {\n \tconst int *indexes;\n", "prefixes": [ "06/11" ] }