Patch Detail
get:
Show a patch.
patch:
Update a patch.
put:
Update a patch.
GET /api/1.1/patches/2231718/?format=api
{ "id": 2231718, "url": "http://patchwork.ozlabs.org/api/1.1/patches/2231718/?format=api", "web_url": "http://patchwork.ozlabs.org/project/qemu-devel/patch/20260501101505.3485916-9-peter.maydell@linaro.org/", "project": { "id": 14, "url": "http://patchwork.ozlabs.org/api/1.1/projects/14/?format=api", "name": "QEMU Development", "link_name": "qemu-devel", "list_id": "qemu-devel.nongnu.org", "list_email": "qemu-devel@nongnu.org", "web_url": "", "scm_url": "", "webscm_url": "" }, "msgid": "<20260501101505.3485916-9-peter.maydell@linaro.org>", "date": "2026-05-01T10:14:45", "name": "[PULL,08/28] target/arm/ptw.c: Add GDI spaces to the granule protection case", "commit_ref": null, "pull_url": null, "state": "new", "archived": false, "hash": "219e41083380ab6b28283d3676f2ced2ab61c629", "submitter": { "id": 5111, "url": "http://patchwork.ozlabs.org/api/1.1/people/5111/?format=api", "name": "Peter Maydell", "email": "peter.maydell@linaro.org" }, "delegate": null, "mbox": "http://patchwork.ozlabs.org/project/qemu-devel/patch/20260501101505.3485916-9-peter.maydell@linaro.org/mbox/", "series": [ { "id": 502437, "url": "http://patchwork.ozlabs.org/api/1.1/series/502437/?format=api", "web_url": "http://patchwork.ozlabs.org/project/qemu-devel/list/?series=502437", "date": "2026-05-01T10:14:41", "name": "[PULL,01/28] hw/arm/fsl-imx8mp: Do not create redundant unimplemented devices", "version": 1, "mbox": "http://patchwork.ozlabs.org/series/502437/mbox/" } ], "comments": "http://patchwork.ozlabs.org/api/patches/2231718/comments/", "check": "pending", "checks": "http://patchwork.ozlabs.org/api/patches/2231718/checks/", "tags": {}, "headers": { "Return-Path": "<qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org>", "X-Original-To": "incoming@patchwork.ozlabs.org", "Delivered-To": "patchwork-incoming@legolas.ozlabs.org", "Authentication-Results": [ "legolas.ozlabs.org;\n\tdkim=pass (2048-bit key;\n unprotected) header.d=linaro.org header.i=@linaro.org header.a=rsa-sha256\n header.s=google header.b=c1oLbFQC;\n\tdkim-atps=neutral", "legolas.ozlabs.org;\n spf=pass (sender SPF authorized) smtp.mailfrom=nongnu.org\n (client-ip=209.51.188.17; helo=lists1p.gnu.org;\n envelope-from=qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org;\n receiver=patchwork.ozlabs.org)" ], "Received": [ "from lists1p.gnu.org (lists1p.gnu.org [209.51.188.17])\n\t(using TLSv1.2 with cipher ECDHE-ECDSA-AES256-GCM-SHA384 (256/256 bits))\n\t(No client certificate requested)\n\tby legolas.ozlabs.org (Postfix) with ESMTPS id 4g6RmT6BhNz1yJv\n\tfor <incoming@patchwork.ozlabs.org>; Fri, 01 May 2026 20:17:13 +1000 (AEST)", "from localhost ([::1] helo=lists1p.gnu.org)\n\tby lists1p.gnu.org with esmtp (Exim 4.90_1)\n\t(envelope-from <qemu-devel-bounces@nongnu.org>)\n\tid 1wIkuI-00042Z-9Z; Fri, 01 May 2026 06:15:38 -0400", "from eggs.gnu.org ([2001:470:142:3::10])\n by lists1p.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)\n (Exim 4.90_1) (envelope-from <peter.maydell@linaro.org>)\n id 1wIku1-0003x8-13\n for qemu-devel@nongnu.org; Fri, 01 May 2026 06:15:21 -0400", "from mail-wm1-x332.google.com ([2a00:1450:4864:20::332])\n by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128)\n (Exim 4.90_1) (envelope-from <peter.maydell@linaro.org>)\n id 1wIktz-0008L6-4T\n for qemu-devel@nongnu.org; Fri, 01 May 2026 06:15:20 -0400", "by mail-wm1-x332.google.com with SMTP id\n 5b1f17b1804b1-488b0e1b870so29038645e9.2\n for <qemu-devel@nongnu.org>; Fri, 01 May 2026 03:15:17 -0700 (PDT)", "from lanath.. (wildly.archaic.org.uk. [81.2.115.145])\n by smtp.gmail.com with ESMTPSA id\n 5b1f17b1804b1-48a8fede418sm12863335e9.6.2026.05.01.03.15.15\n for <qemu-devel@nongnu.org>\n (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256);\n Fri, 01 May 2026 03:15:15 -0700 (PDT)" ], "DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed;\n d=linaro.org; s=google; t=1777630517; x=1778235317; darn=nongnu.org;\n h=content-transfer-encoding:mime-version:references:in-reply-to\n :message-id:date:subject:to:from:from:to:cc:subject:date:message-id\n :reply-to; bh=dwdpNuQzmGhSaNwgQnbl3GNGGmyJ/o/emE+Fj3bUbk0=;\n b=c1oLbFQC9wb0vkDx+pLZdklwhS9yFRGJMvewPfH116RwSlnASE0p8CP+D3dyYZI45K\n aTyzyTMYpfe+Ikx8/sTVwJ7LKmDk56GXUNCyaktVKfvKz06xzM2DRKMkSWlnA2a5//M2\n /f3dUtXbYdiX6WGWIv5ijLXf8dKqrAhBnO9JGOVBNIB1WCzj6rfXnFwyYdMF1KfI8Udo\n jnGJjERppwXPXurvtaaR/4y4mL1sBaaCeOEni6jjdoiBFCDkODD3PjarRzT5+vVu9mKL\n stVt681ok631iIF2ZPRf9SRBBMCfiJ87uRNzq0XjYQpBSVS73z3lskqHu39OHOeDy2lz\n rq9A==", "X-Google-DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed;\n d=1e100.net; s=20251104; t=1777630517; x=1778235317;\n h=content-transfer-encoding:mime-version:references:in-reply-to\n :message-id:date:subject:to:from:x-gm-gg:x-gm-message-state:from:to\n :cc:subject:date:message-id:reply-to;\n bh=dwdpNuQzmGhSaNwgQnbl3GNGGmyJ/o/emE+Fj3bUbk0=;\n b=G9lX5zEgkl+HvS0cCecIdx6ztE19g8W3J6odYYcs/mlvfOskhK03pvhPI9M4I4ULOd\n riYADBO0NVYK4ktK77gWNaRZ02VOLAbzlbFjBbtgNh+SuUDwro2AHDK5Nrj+vbtO/FSA\n nemh1s7WEd6vGGnUCgqAglQkqyi5UugLfjZxo9WXW2pHOYjlplOQBIF3LTRNBc4gxMd3\n XzyavM5EuxMtueTfhFf/gAzFhHBANOTLxyPQmz4ErZZ5k8WUVPdRc9BT+EMOte5gU/8K\n P2lI9+5VTdrrPDcCQpF8tZSNDrTR7uHXAnO9l+pZRPCLEiFwqWM0R4YLTCOZmgBrqap1\n HNfw==", "X-Gm-Message-State": "AOJu0YwzHjKAolFjRq5nAAZy3G6o9YjcBO3Rs/jWvojiEKS10oZeAS0f\n cKkJf3EIFM96NfWwK87bdtdqLBJcuHJIghNAEOylxx2KWK4b0qvFd0N2b+if2V/2TKRxwiFpokI\n FjI6f", "X-Gm-Gg": "AeBDieuPMZIwBHTbl1YHlqfrF+cVwq8ohvjJP5Z7ukHeFCMULbT2aPAxPPuoZ97bxES\n c/5fyYWziGIUGlBO80tsezBggV+fZUAntd+HV+pnbQ2zAnTz8IDqLLIVlcQWupnCCxKOq1LyxKQ\n u0qSH9L/N1XsLSVCIRl3bhFXTCzELHEwiBXghy7w8/UvRK+yUcKZniQOOLqGbONyss3WSaOrJp9\n twnLVa9UPC+cVPvXBM9u5p7OAtvscrphyBmRrbPz/LcSTxBUxhRI3KDPtDyhG5AWQVvhd0BOWfU\n UjfDTzKjkkXBTPGqkdVVQxGBOEe5p8qZfmJ2zysyygKLBhxYKMuiZ5EuDXE9wNF4WwnltLi3aVw\n vEO5WKlZ4pbzqgpMYnH2d2jXY1fsinGhwPhUOUqsO5T6S3AxGMKKbdHc9UEWx9BSVSbUOZKVepZ\n 54YbA3Rz7gK5/BmIxvEPooVpyvqUzK3YymLD9S7uo0pp1s0JRk0fMss/WSssw+1+98XoFHtI3+1\n UztI7u0znUr2zsVMLZQggLo6cBU+QnOcqHur3w4QQ==", "X-Received": "by 2002:a05:600c:3e10:b0:488:a2ac:a34c with SMTP id\n 5b1f17b1804b1-48a844533d6mr108261655e9.12.1777630516902;\n Fri, 01 May 2026 03:15:16 -0700 (PDT)", "From": "Peter Maydell <peter.maydell@linaro.org>", "To": "qemu-devel@nongnu.org", "Subject": "[PULL 08/28] target/arm/ptw.c: Add GDI spaces to the granule\n protection case", "Date": "Fri, 1 May 2026 11:14:45 +0100", "Message-ID": "<20260501101505.3485916-9-peter.maydell@linaro.org>", "X-Mailer": "git-send-email 2.43.0", "In-Reply-To": "<20260501101505.3485916-1-peter.maydell@linaro.org>", "References": "<20260501101505.3485916-1-peter.maydell@linaro.org>", "MIME-Version": "1.0", "Content-Transfer-Encoding": "8bit", "Received-SPF": "pass client-ip=2a00:1450:4864:20::332;\n envelope-from=peter.maydell@linaro.org; helo=mail-wm1-x332.google.com", "X-Spam_score_int": "-20", "X-Spam_score": "-2.1", "X-Spam_bar": "--", "X-Spam_report": "(-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1,\n DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1,\n RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001,\n SPF_PASS=-0.001 autolearn=ham autolearn_force=no", "X-Spam_action": "no action", "X-BeenThere": "qemu-devel@nongnu.org", "X-Mailman-Version": "2.1.29", "Precedence": "list", "List-Id": "qemu development <qemu-devel.nongnu.org>", "List-Unsubscribe": "<https://lists.nongnu.org/mailman/options/qemu-devel>,\n <mailto:qemu-devel-request@nongnu.org?subject=unsubscribe>", "List-Archive": "<https://lists.nongnu.org/archive/html/qemu-devel>", "List-Post": "<mailto:qemu-devel@nongnu.org>", "List-Help": "<mailto:qemu-devel-request@nongnu.org?subject=help>", "List-Subscribe": "<https://lists.nongnu.org/mailman/listinfo/qemu-devel>,\n <mailto:qemu-devel-request@nongnu.org?subject=subscribe>", "Errors-To": "qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org", "Sender": "qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org" }, "content": "From: Jim MacArthur <jim.macarthur@linaro.org>\n\nSystem Agent, Non-secure Protected and two other GPI field encodings.\n\nThese are explicitly denied access for any processing element when\nthe relevant GPCCR bit is set, and reserved values when the relevant\nGPCCR bit is zero.\n\nReviewed-by: Richard Henderson <richard.henderson@linaro.org>\nSigned-off-by: Jim MacArthur <jim.macarthur@linaro.org>\nMessage-id: 20260421-jmac-feat_rme_gdi-v3-3-ecd20c77eae1@linaro.org\nSigned-off-by: Peter Maydell <peter.maydell@linaro.org>\n---\n target/arm/ptw.c | 20 ++++++++++++++++++++\n 1 file changed, 20 insertions(+)", "diff": "diff --git a/target/arm/ptw.c b/target/arm/ptw.c\nindex 7b993bb5b3..316e201cfe 100644\n--- a/target/arm/ptw.c\n+++ b/target/arm/ptw.c\n@@ -510,6 +510,26 @@ bool arm_granule_protection_check(ARMGranuleProtectionConfig config,\n break;\n case 0b1111: /* all access */\n return true;\n+ case 0b0100: /* system agent only */\n+ if (FIELD_EX64(gpccr, GPCCR, SA) == 0) {\n+ goto fault_walk;\n+ }\n+ break;\n+ case 0b0101: /* non-secure protected */\n+ if (FIELD_EX64(gpccr, GPCCR, NSP) == 0) {\n+ goto fault_walk;\n+ }\n+ break;\n+ case 0b0110: /* reserved if NA6==0, otherwise no access */\n+ if (FIELD_EX64(gpccr, GPCCR, NA6) == 0) {\n+ goto fault_walk;\n+ }\n+ break;\n+ case 0b0111: /* reserved if NA7==0, otherwise no access */\n+ if (FIELD_EX64(gpccr, GPCCR, NA7) == 0) {\n+ goto fault_walk;\n+ }\n+ break;\n case 0b1000: /* secure */\n if (!config.support_sel2) {\n goto fault_walk;\n", "prefixes": [ "PULL", "08/28" ] }