Patch Detail
get:
Show a patch.
patch:
Update a patch.
put:
Update a patch.
GET /api/patches/640713/?format=api
{ "id": 640713, "url": "http://patchwork.ozlabs.org/api/patches/640713/?format=api", "web_url": "http://patchwork.ozlabs.org/project/linuxppc-dev/patch/4863e2f8235.599ebfcf@auth.smtp.1and1.co.uk/", "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": "<4863e2f8235.599ebfcf@auth.smtp.1and1.co.uk>", "list_archive_url": "https://lore.kernel.org/linuxppc-dev/4863e2f8235.599ebfcf@auth.smtp.1and1.co.uk/", "date": "2016-06-26T17:42:11", "name": "Proposed: Patch to fix boot on PA6T", "commit_ref": null, "pull_url": null, "state": "superseded", "archived": true, "hash": "94e6b18b37147ef9eb8b718c4b75e486403a2686", "submitter": { "id": 69199, "url": "http://patchwork.ozlabs.org/api/people/69199/?format=api", "name": "Darren Stevens", "email": "darren@stevens-zone.net" }, "delegate": null, "mbox": "http://patchwork.ozlabs.org/project/linuxppc-dev/patch/4863e2f8235.599ebfcf@auth.smtp.1and1.co.uk/mbox/", "series": [], "comments": "http://patchwork.ozlabs.org/api/patches/640713/comments/", "check": "pending", "checks": "http://patchwork.ozlabs.org/api/patches/640713/checks/", "tags": {}, "related": [], "headers": { "Return-Path": "<linuxppc-dev-bounces+patchwork-incoming=ozlabs.org@lists.ozlabs.org>", "X-Original-To": [ "patchwork-incoming@ozlabs.org", "linuxppc-dev@lists.ozlabs.org" ], "Delivered-To": [ "patchwork-incoming@ozlabs.org", "linuxppc-dev@lists.ozlabs.org" ], "Received": [ "from lists.ozlabs.org (lists.ozlabs.org [103.22.144.68])\n\t(using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits))\n\t(No client certificate requested)\n\tby ozlabs.org (Postfix) with ESMTPS id 3rd1H01thwz9sRZ\n\tfor <patchwork-incoming@ozlabs.org>;\n\tMon, 27 Jun 2016 04:45:48 +1000 (AEST)", "from ozlabs.org (lists.ozlabs.org [IPv6:2401:3900:2:1::3])\n\tby lists.ozlabs.org (Postfix) with ESMTP id 3rd1H015ZzzDqrK\n\tfor <patchwork-incoming@ozlabs.org>;\n\tMon, 27 Jun 2016 04:45:48 +1000 (AEST)", "from mout.kundenserver.de (mout.kundenserver.de [212.227.126.135])\n\t(using TLSv1.2 with cipher DHE-RSA-AES256-GCM-SHA384 (256/256\n\tbits)) (No client certificate requested)\n\tby lists.ozlabs.org (Postfix) with ESMTPS id 3rd1Fm2zyczDqm9\n\tfor <linuxppc-dev@lists.ozlabs.org>;\n\tMon, 27 Jun 2016 04:44:42 +1000 (AEST)", "from mintppc.lan ([86.169.226.157]) by mrelayeu.kundenserver.de\n\t(mreue001) with ESMTPA (Nemesis) id 0LmiNA-1bpVV12fOu-00h66r;\n\tSun, 26 Jun 2016 20:42:19 +0200" ], "From": "Darren Stevens <darren@stevens-zone.net>", "To": "linuxppc-dev@lists.ozlabs.org", "Date": "Sun, 26 Jun 2016 18:42:11 +0100 (BST)", "Message-ID": "<4863e2f8235.599ebfcf@auth.smtp.1and1.co.uk>", "User-Agent": "YAM/2.9p1 (AmigaOS4; PPC; rv:20140418r7798)", "Subject": "Proposed: Patch to fix boot on PA6T", "MIME-Version": "1.0", "Content-type": "multipart/mixed; boundary=\"--=_BOUNDARY.6d401b301879572c.5f\"", "X-Provags-ID": "V03:K0:ts9caAAeT1jpDEu2UJbFtbThBF6jrQUF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s.org", "X-Mailman-Version": "2.1.22", "Precedence": "list", "List-Id": "Linux on PowerPC Developers Mail List\n\t<linuxppc-dev.lists.ozlabs.org>", "List-Unsubscribe": "<https://lists.ozlabs.org/options/linuxppc-dev>,\n\t<mailto:linuxppc-dev-request@lists.ozlabs.org?subject=unsubscribe>", "List-Archive": "<http://lists.ozlabs.org/pipermail/linuxppc-dev/>", "List-Post": "<mailto:linuxppc-dev@lists.ozlabs.org>", "List-Help": "<mailto:linuxppc-dev-request@lists.ozlabs.org?subject=help>", "List-Subscribe": "<https://lists.ozlabs.org/listinfo/linuxppc-dev>,\n\t<mailto:linuxppc-dev-request@lists.ozlabs.org?subject=subscribe>", "Cc": "Pat Wall <pjwall@mac.com>, matthew@a-eon.com, aperez@alexperez.com,\n\t\"R.T.Dickinson\" <rtd2@xtra.co.nz>,\n\tChristian Zigotzky <chzigotzky@xenosoft.de>", "Errors-To": "linuxppc-dev-bounces+patchwork-incoming=ozlabs.org@lists.ozlabs.org", "Sender": "\"Linuxppc-dev\"\n\t<linuxppc-dev-bounces+patchwork-incoming=ozlabs.org@lists.ozlabs.org>" }, "content": "Hello All,\n\n commit d6a9996e84ac4beb7713e9485f4563e100a9b03e\n powerpc/mm: vmalloc abstraction in preparation for radix\n\n This commit introduced variables for some linux kernel addresses that had\nbefore\n been constants, unfortunately this stopped PaSemi PA6T systems(*) from\nbooting as\n they call ioremap to map SoC registers before the mmu is initialised. The\nattached\n patch adds a hard-coded init of pci_io_base to the pas_init_early()\nfunction which\n which allows the kernel to boot normally.\n\n The value will be harmlessly set again once pci starts up.\n\n (*) At the moment this has only been tested on an AmigaOneX1000, but I\nexpect PaSemi\n reference systems to have been affected in the same way.\n\nKind regards\nDarren", "diff": "diff --git a/arch/powerpc/platforms/pasemi/setup.c b/arch/powerpc/platforms/pasemi/setup.c\nindex d71b2c7..6b8d2ab 100644\n--- a/arch/powerpc/platforms/pasemi/setup.c\n+++ b/arch/powerpc/platforms/pasemi/setup.c\n@@ -61,6 +61,7 @@ static struct mce_regs mce_regs[MAX_MCE_REGS];\n static int num_mce_regs;\n static int nmi_virq = NO_IRQ;\n \n+extern unsigned long pci_io_base;\n \n static void pas_restart(char *cmd)\n {\n@@ -341,6 +342,10 @@ out:\n \n static void __init pas_init_early(void)\n {\n+\t/* Initialise the IO pointer so we don't crash on boot */\n+\n+\tpci_io_base = (H_KERN_VIRT_START + (H_KERN_VIRT_SIZE >> 1));\n+\n \tiommu_init_early_pasemi();\n }\n \n", "prefixes": [] }