{"id":2233215,"url":"http://patchwork.ozlabs.org/api/1.1/patches/2233215/?format=json","web_url":"http://patchwork.ozlabs.org/project/qemu-devel/patch/20260505202640.1011006-20-peterx@redhat.com/","project":{"id":14,"url":"http://patchwork.ozlabs.org/api/1.1/projects/14/?format=json","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":"<20260505202640.1011006-20-peterx@redhat.com>","date":"2026-05-05T20:26:36","name":"[PULL,19/23] hw/riscv: iommu-trap: remove .impl.unaligned = true","commit_ref":null,"pull_url":null,"state":"new","archived":false,"hash":"bc793724a7ce82e4aaf3b3017dfac2cd5c8e38f8","submitter":{"id":67717,"url":"http://patchwork.ozlabs.org/api/1.1/people/67717/?format=json","name":"Peter Xu","email":"peterx@redhat.com"},"delegate":null,"mbox":"http://patchwork.ozlabs.org/project/qemu-devel/patch/20260505202640.1011006-20-peterx@redhat.com/mbox/","series":[{"id":502897,"url":"http://patchwork.ozlabs.org/api/1.1/series/502897/?format=json","web_url":"http://patchwork.ozlabs.org/project/qemu-devel/list/?series=502897","date":"2026-05-05T20:26:17","name":"[PULL,01/23] migration: Fix blocking in POSTCOPY_DEVICE during package load","version":1,"mbox":"http://patchwork.ozlabs.org/series/502897/mbox/"}],"comments":"http://patchwork.ozlabs.org/api/patches/2233215/comments/","check":"pending","checks":"http://patchwork.ozlabs.org/api/patches/2233215/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 (1024-bit key;\n unprotected) header.d=redhat.com header.i=@redhat.com header.a=rsa-sha256\n header.s=mimecast20190719 header.b=RqzPbWI4;\n\tdkim=pass (2048-bit key;\n unprotected) header.d=redhat.com header.i=@redhat.com header.a=rsa-sha256\n header.s=google header.b=MURegrAv;\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 4g998r5jMmz1yJV\n\tfor <incoming@patchwork.ozlabs.org>; Wed, 06 May 2026 06:29:16 +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 1wKMMP-0004dL-5d; Tue, 05 May 2026 16:27:17 -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 <peterx@redhat.com>) id 1wKMML-0004ZD-Hq\n for qemu-devel@nongnu.org; Tue, 05 May 2026 16:27:13 -0400","from us-smtp-delivery-124.mimecast.com ([170.10.133.124])\n by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)\n (Exim 4.90_1) (envelope-from <peterx@redhat.com>) id 1wKMMJ-0002fS-3d\n for qemu-devel@nongnu.org; Tue, 05 May 2026 16:27:13 -0400","from mail-vs1-f71.google.com (mail-vs1-f71.google.com\n [209.85.217.71]) by relay.mimecast.com with ESMTP with STARTTLS\n (version=TLSv1.3, cipher=TLS_AES_256_GCM_SHA384) id\n us-mta-280-ax-VDKlwMP-XHDhM3CqKTg-1; Tue, 05 May 2026 16:27:08 -0400","by mail-vs1-f71.google.com with SMTP id\n ada2fe7eead31-62f30279e90so2381900137.0\n for <qemu-devel@nongnu.org>; Tue, 05 May 2026 13:27:08 -0700 (PDT)","from x1.com ([142.189.10.167]) by smtp.gmail.com with ESMTPSA id\n 6a1803df08f44-8b53c6b8123sm155283806d6.35.2026.05.05.13.27.04\n (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256);\n Tue, 05 May 2026 13:27:05 -0700 (PDT)"],"DKIM-Signature":["v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com;\n s=mimecast20190719; t=1778012830;\n h=from:from:reply-to:subject:subject:date:date:message-id:message-id:\n to:to:cc:cc:mime-version:mime-version:content-type:content-type:\n content-transfer-encoding:content-transfer-encoding:\n in-reply-to:in-reply-to:references:references;\n bh=UrdJvZlwcHz7aiZ2PAnafLIUZGKxAgtWgdAZUAhTr6E=;\n b=RqzPbWI4+yvYqBeV1CCNFh7sAGO3h/Dy5EUljN9JD2GrZ5u6O5kCiRtc5U48xotNWg26Wa\n BNhrmL5JeKUtm3JXTBV5gSHxo8RZ5V5BAtysQavSGowwC/cWfevkRDgY6EZ8rYo1H348XR\n 7M5c7mXf6s/05XPRiXzvZxtbWjePf1E=","v=1; a=rsa-sha256; c=relaxed/relaxed;\n d=redhat.com; s=google; t=1778012828; x=1778617628; darn=nongnu.org;\n h=content-transfer-encoding:mime-version:references:in-reply-to\n :message-id:date:subject:cc:to:from:from:to:cc:subject:date\n :message-id:reply-to;\n bh=UrdJvZlwcHz7aiZ2PAnafLIUZGKxAgtWgdAZUAhTr6E=;\n b=MURegrAvqCmj9MQn8VXohb2TiCgXTacphvWGB0r9ADB7UJE7q5PlwYeectXZLrX0cg\n kh5KoXwz+YWfZU3gcw6QYAKT/JLyiXl18JpzPrJ4Ijua8Epy8ZRZFrXE/gNAejWXT/7a\n 9IvDP92sgOKwzrVkf17owlkxQC6CfX0Et1EANWw+wUTbsKcNA0aQ8zb0Xx8OitsXYkZL\n wz8TDerFdN9Y5UCZLGqhgeLrjOaYA7u/gvQ0lv6jGYYFUFB9y1cHNQhjIWterkKnOJUw\n o7/Fj2HEqYqyy7qxgF6TBpbCOZ6SA7WK2RKGR25gOlXDd0witzYJTVxf7gyOR5VuCjci\n Xe6g=="],"X-MC-Unique":"ax-VDKlwMP-XHDhM3CqKTg-1","X-Mimecast-MFC-AGG-ID":"ax-VDKlwMP-XHDhM3CqKTg_1778012828","X-Google-DKIM-Signature":"v=1; a=rsa-sha256; c=relaxed/relaxed;\n d=1e100.net; s=20251104; t=1778012828; x=1778617628;\n h=content-transfer-encoding:mime-version:references:in-reply-to\n :message-id:date:subject:cc:to:from:x-gm-gg:x-gm-message-state:from\n :to:cc:subject:date:message-id:reply-to;\n bh=UrdJvZlwcHz7aiZ2PAnafLIUZGKxAgtWgdAZUAhTr6E=;\n b=UNaxbrRKLkINoPUcAaEWU0rQBlwSWgQrIpzi+107LvpY083n9nKHc1JdjhQfZz9L5A\n tDCd+ZkT/pLlrGmciRToOSaIVsk+1BVS7hpJtei/j5pn4tfflFFcJh5AAYZVb9IU2tzc\n BHda/+8w6O/NK5K2ZAORYwk0P3Q04l6aWJNPYcHIwL4EuH0D2LkJZ2til14axeRxSLCz\n fhcT4L18ajWDwfam3fBBH6hU3vuE0/DDM5YgQy0k0VqeEAZT5eLm27di9EkpxhU8D45U\n C4JLe4pyQT2IkH+uqhlG8CbKovAP8XZmX6Y5yONDzzeRNkRW2I+0fBmtd9yrvwkSATKd\n jdaw==","X-Gm-Message-State":"AOJu0YxhbBcLa9HrluHNxrKHZg2G0Q8nVQzIqFc54k2haHa0bH188nTO\n zjYT3LNaYdHmXI2gNvf8whJ19UnSGzHvYAV7e/1TbMSJ5apXIju23VI/VDEWPlIVXF20DNb9zS1\n N4XKlSygY1n4by68iFpxOw2CGvo2k9ofMKVOhOA0q76/1Cj4JxuDOVxBjicAuG4uOT7L6B5a4BC\n 8DqT1GyiwEl9DSV4fyUobywAR45tNs7pHTFyXbFA==","X-Gm-Gg":"AeBDietFUuHHi1EP9VEAA2eoBWRcXRAsvxAX2+MNZpMS9gPmvgYf/RnSHP2sbvEioiZ\n FIymJicA+1npq/JCFhW0rg/331V6ojYOz2sNv3zP2MOPKuUhUFDSECsoJFujFKVeC+RprbWqxSi\n FT41iMZUDOBbcmDX11GvSMSUpA92aaoruTsP05OUL8I3ieaUL+k00H2emvFw5vhF3rGrjgJPNUw\n 9KodJ8O5WR9fdvkeHHYVjM30BmkYs7mEgvdbbTyYbB3dqS7X4D3Ta9auEdF/IwRzGOTz16yzsUT\n U9KPTNbxQEYp4IJdpgB/Bs2krMGcwseIpmgNvGTMOPQRvunb5eD4g3IBzMnahdYrWpqvXmuI93i\n TLRjl84itVPm2oBgieyXLmHWduLVQDD66cNWGUwPW2Buf/3sqyIPrpPo=","X-Received":["by 2002:a05:6102:374d:b0:611:e0c2:1604 with SMTP id\n ada2fe7eead31-630f8fcf085mr136593137.19.1778012827446;\n Tue, 05 May 2026 13:27:07 -0700 (PDT)","by 2002:a05:6102:374d:b0:611:e0c2:1604 with SMTP id\n ada2fe7eead31-630f8fcf085mr136396137.19.1778012825823;\n Tue, 05 May 2026 13:27:05 -0700 (PDT)"],"From":"Peter Xu <peterx@redhat.com>","To":"qemu-devel@nongnu.org","Cc":"Fabiano Rosas <farosas@suse.de>, Paolo Bonzini <pbonzini@redhat.com>,\n Peter Xu <peterx@redhat.com>, CJ Chen <cjchen@igel.co.jp>,\n Tomoyuki Hirose <hrstmyk811m@gmail.com>,\n Daniel Henrique Barboza <dbarboza@ventanamicro.com>,\n Peter Maydell <peter.maydell@linaro.org>,\n Alistair Francis <alistair.francis@wdc.com>, =?utf-8?q?Philippe_Mathieu-Dau?=\n\t=?utf-8?q?d=C3=A9?= <philmd@linaro.org>","Subject":"[PULL 19/23] hw/riscv: iommu-trap: remove .impl.unaligned = true","Date":"Tue,  5 May 2026 16:26:36 -0400","Message-ID":"<20260505202640.1011006-20-peterx@redhat.com>","X-Mailer":"git-send-email 2.53.0","In-Reply-To":"<20260505202640.1011006-1-peterx@redhat.com>","References":"<20260505202640.1011006-1-peterx@redhat.com>","MIME-Version":"1.0","Content-Type":"text/plain; charset=UTF-8","Content-Transfer-Encoding":"8bit","Received-SPF":"pass client-ip=170.10.133.124; envelope-from=peterx@redhat.com;\n helo=us-smtp-delivery-124.mimecast.com","X-Spam_score_int":"-24","X-Spam_score":"-2.5","X-Spam_bar":"--","X-Spam_report":"(-2.5 / 5.0 requ) BAYES_00=-1.9, DKIMWL_WL_HIGH=-0.443,\n DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1,\n RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H5=0.001, RCVD_IN_MSPIKE_WL=0.001,\n SPF_HELO_PASS=-0.001, 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: CJ Chen <cjchen@igel.co.jp>\n\nThe riscv_iommu_trap_ops MemoryRegionOps specifies that\nunaligned accesses are not valid for this device but that\nit does implement them. This doesn't make much sense, and\nwe want to add an assertion that registered MRs don't specify\nthis invalid combination of settings.\n\nDrop .impl.unaligned = true, with no behaviour change.\n\nSigned-off-by: CJ Chen <cjchen@igel.co.jp>\nAcked-by: Tomoyuki Hirose <hrstmyk811m@gmail.com>\nReported-by: Tomoyuki Hirose <hrstmyk811m@gmail.com>\nReviewed-by: Daniel Henrique Barboza <dbarboza@ventanamicro.com>\n[PMM: reworded commit message]\nReviewed-by: Peter Maydell <peter.maydell@linaro.org>\nSigned-off-by: Peter Maydell <peter.maydell@linaro.org>\nReviewed-by: Alistair Francis <alistair.francis@wdc.com>\nReviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org>\nLink: https://lore.kernel.org/r/20260428093339.2087081-2-peter.maydell@linaro.org\nSigned-off-by: Peter Xu <peterx@redhat.com>\n---\n hw/riscv/riscv-iommu.c | 1 -\n 1 file changed, 1 deletion(-)","diff":"diff --git a/hw/riscv/riscv-iommu.c b/hw/riscv/riscv-iommu.c\nindex 7ba3240552..2b40ab2ce0 100644\n--- a/hw/riscv/riscv-iommu.c\n+++ b/hw/riscv/riscv-iommu.c\n@@ -2434,7 +2434,6 @@ static const MemoryRegionOps riscv_iommu_trap_ops = {\n     .impl = {\n         .min_access_size = 4,\n         .max_access_size = 8,\n-        .unaligned = true,\n     },\n     .valid = {\n         .min_access_size = 4,\n","prefixes":["PULL","19/23"]}