Received: by 2002:a17:504:17d6:b0:1be9:327d:8ee3 with SMTP id o22csp2481324njd; Mon, 31 Mar 2025 18:09:32 -0700 (PDT) X-Forwarded-Encrypted: i=2; AJvYcCVnHLve4D6ad78ymUQeccpX5DzyK8nXCkUJagaHSurosg2RUZdhKm63RGLCutD3OHWKb2nzPEwPZfX3JQ==@linaro.org X-Google-Smtp-Source: AGHT+IEEDmeEcrRhk36cnD7DhZrmTgnfdzXoOm8ju78d70gzEFhqEbyBo6/f1ZtnmKcJGnOHhVXa X-Received: by 2002:a05:6214:5007:b0:6ed:126b:a15e with SMTP id 6a1803df08f44-6eed61da438mr176273006d6.33.1743469771825; Mon, 31 Mar 2025 18:09:31 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1743469771; cv=none; d=google.com; s=arc-20240605; b=i9QnG5rUfUqjjggHfb21whkokLvHM0uM7M9u5xz73G7Gpg2dnEGPjaKsuvdseiRWOC pYtBcsXv5gd6Y70S9iubAtHoLYlj22dKxZJ6iOslDHKc3L4udSQcXfSS74vgT3yrIM5Z uFCB8Kn1f4JJXvJz+HeYOqPDbd1RCmnZ++MGv9P69gxq2M/8tZUDDOnpleJqDOVhte8Y Sb7vrgVaDh9kvPJg/NzZYSnJ3ExBD7NitrmRcTk/8xpv8HvdQjvOuXceVxfp1G6ClWB2 XuXtQzUbquMh2bq9Jl4+TMenBlZO822VJMyn9w11GCm8jWXpCT7ww/MWB+v1FD/kwN0X OILw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20240605; h=sender:errors-to:list-subscribe:list-help:list-post:list-archive :list-unsubscribe:list-id:precedence:mime-version:user-agent :content-transfer-encoding:references:in-reply-to:date:cc:to:from :subject:message-id:dkim-signature; bh=OJM+1iFnYxgpP8U7Ia7G3gSRn07/YIXewjJMWPeUWss=; fh=iXfICh/9hUFSJvI/uJNyK9bAVic1IOKG+4dUsuNw2Ng=; b=FLZdCCO7fa3ggl0EWz8cpj34kYw4KjY9u+FAaWEakIQcH2OUYnLr2exWNx2eiXQpem cgEbwTgJRPGtvqIslenrKBMhZhowbkAH6JaRNzDepdM1a30hXd8DTpyBsO8isqyDJGU8 Ge2rq9rl0dmM1370QzfFqV9jPfSWs8lJJamOw1ceK2umlEMPkMMtcWG9w1GiP/QvbYog 0M/ihwj+KxYYaX36JYbE0/6mpNpwfOczKZe9I4nnNYExMKlFWFt4Xw+5QJLblkQ3lz7s Q5uNDIptaHrYR37ilKOQQlY1wuNjUJvSVAG5qGVBRx3uoffwC+eA3Zpfm9wHt3g9rJI7 Ylgg==; dara=google.com ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@codeconstruct.com.au header.s=2022a header.b=TIWcdk6T; spf=pass (google.com: domain of qemu-arm-bounces+alex.bennee=linaro.org@nongnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom="qemu-arm-bounces+alex.bennee=linaro.org@nongnu.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=codeconstruct.com.au Return-Path: Received: from lists.gnu.org (lists.gnu.org. [209.51.188.17]) by mx.google.com with ESMTPS id 6a1803df08f44-6eec97a585fsi78646266d6.329.2025.03.31.18.09.31 for (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Mon, 31 Mar 2025 18:09:31 -0700 (PDT) Received-SPF: pass (google.com: domain of qemu-arm-bounces+alex.bennee=linaro.org@nongnu.org designates 209.51.188.17 as permitted sender) client-ip=209.51.188.17; Authentication-Results: mx.google.com; dkim=pass header.i=@codeconstruct.com.au header.s=2022a header.b=TIWcdk6T; spf=pass (google.com: domain of qemu-arm-bounces+alex.bennee=linaro.org@nongnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom="qemu-arm-bounces+alex.bennee=linaro.org@nongnu.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=codeconstruct.com.au Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1tzQ84-0000dg-Pc; Mon, 31 Mar 2025 21:09:25 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1tzQ7p-0000au-Iv; Mon, 31 Mar 2025 21:09:12 -0400 Received: from pi.codeconstruct.com.au ([203.29.241.158] helo=codeconstruct.com.au) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1tzQ7n-0004xq-IM; Mon, 31 Mar 2025 21:09:09 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=codeconstruct.com.au; s=2022a; t=1743469744; bh=OJM+1iFnYxgpP8U7Ia7G3gSRn07/YIXewjJMWPeUWss=; h=Subject:From:To:Cc:Date:In-Reply-To:References; b=TIWcdk6TVeRl2vBUEgWMrbMC204lDHLjorBwYtJziwgUCXhDf1aMNYfMHvO6X9D1v Br24JMsaMFkkRFrBQLvbsX+RpoDQ3310rEmxm3T5HIc2tJCDUb8Gj8l5iyxpifK0LI QRPT5O4JELTCDm9L/FJ9ppPv+s0iChuTPW74UUFgoYovemKQWu3sDfjYfH9xFNVri6 26Vzv1EESVMFlwVfmwgqcoIvLXOrLz9GbDzgB+sQW7ugUCzqbSl4R5QEcYcjzyrGHO OPBEQgrT5ME+fEtlCyAsVqpsNEp7kLGKvNVdb4B7qBY6iwpepFNUfcz52kjUtWZkED 0vcNdxvnejZVw== Received: from [10.194.67.88] (unknown [180.150.112.225]) by mail.codeconstruct.com.au (Postfix) with ESMTPSA id D668F7B352; Tue, 1 Apr 2025 09:09:03 +0800 (AWST) Message-ID: <7c8bb3cd3df86236f59615fb6e8b64a0a65bebf7.camel@codeconstruct.com.au> Subject: Re: [PATCH-for-10.0 2/2] hw/misc/aspeed_scu: Correct minimum access size for AST2500 / AST2600 From: Andrew Jeffery To: Philippe =?ISO-8859-1?Q?Mathieu-Daud=E9?= , qemu-devel@nongnu.org Cc: Steven Lee , Peter Maydell , Jamin Lin , Troy Lee , Joel Stanley , =?ISO-8859-1?Q?C=E9dric?= Le Goater , qemu-arm@nongnu.org Date: Tue, 01 Apr 2025 11:39:03 +1030 In-Reply-To: <20250331230444.88295-3-philmd@linaro.org> References: <20250331230444.88295-1-philmd@linaro.org> <20250331230444.88295-3-philmd@linaro.org> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable User-Agent: Evolution 3.46.4-2 MIME-Version: 1.0 Received-SPF: pass client-ip=203.29.241.158; envelope-from=andrew@codeconstruct.com.au; helo=codeconstruct.com.au 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, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_VALIDITY_CERTIFIED_BLOCKED=0.001, RCVD_IN_VALIDITY_RPBL_BLOCKED=0.001, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: qemu-arm@nongnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: qemu-arm-bounces+alex.bennee=linaro.org@nongnu.org Sender: qemu-arm-bounces+alex.bennee=linaro.org@nongnu.org X-TUID: WVhfGdgT2vOO On Tue, 2025-04-01 at 01:04 +0200, Philippe Mathieu-Daud=C3=A9 wrote: > From: Joel Stanley >=20 > Guest code was performing a byte load to the SCU MMIO region, leading > to the guest code crashing (it should be using proper accessors, but > that is not Qemu's bug). Hardware and the documentation[1] both agree > that byte loads are okay, so change all of the aspeed SCU devices to > accept a minimum access size of 1. >=20 > [1] See the 'ARM Address Space Mapping' table in the ASPEED docs. > This > is section 6.1 in the ast2400 and ast2700, and 7.1 in the ast2500 and > ast2600 datasheets. >=20 > Resolves: https://gitlab.com/qemu-project/qemu/-/issues/2636 > Signed-off-by: Joel Stanley > Reviewed-by: Troy Lee > Message-ID: <20241118021820.4928-1-joel@jms.id.au> > [PMD: Rebased, only including SCU changes] > Signed-off-by: Philippe Mathieu-Daud=C3=A9 Reviewed-by: Andrew Jeffery