Message ID | 20210619172626.875885-12-richard.henderson@linaro.org |
---|---|
State | New |
Headers | show
Delivered-To: patch@linaro.org Received: by 2002:a05:6638:102:0:0:0:0 with SMTP id x2csp1020787jao; Sat, 19 Jun 2021 10:32:48 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyjMFlWErg05jIhN/I3R1uu5lc7I6l3ctgTBls3pXBCIPgkEVXpBs+371RfwmM6RIBC32sQ X-Received: by 2002:a05:6602:249a:: with SMTP id g26mr12751205ioe.150.1624123967916; Sat, 19 Jun 2021 10:32:47 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1624123967; cv=none; d=google.com; s=arc-20160816; b=xMFwMHPbz7ZNXF9eY8MvyiB5H/77Toejr6kI+QvluZrt9I9uCBz64GaWm75bLfg6zD b2A24SzvjdH1t+uNgS1iJh23gIHUYmqx4pwqflYI+jFLeAarHzxB53CVjl7zBM1nvIFW vXRaF7tsbhMrD5JPssIVfOPSJRqxuaH3EPUB9pFez8VCFDHzjWFAp8AJ+VZ+dctYslya cYpiyx1NFq95vwUdDOE3+Y4k4OZiqinsgGTqcnFDK/AY8bIXzuMkxBH9XAVk7woxPKSi 763RX0S04Cd/duMKd/QLw0Kh9+LpQifCCK8IcNSeg5BdTCq5Hu8EgV6ydk4QwtGQd8mk PsPA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:cc:list-subscribe:list-help:list-post:list-archive :list-unsubscribe:list-id:precedence:content-transfer-encoding :mime-version:references:in-reply-to:message-id:date:subject:to:from :dkim-signature; bh=05sVd1F+Ix/u+8NKnSPBhFMXamB4skG8gTScN8uxiH8=; b=Am1+jaT9jh7THRLoIP8GUWpjdZNrmg7zcMY+2OBELQXM0GNEPdZHfaXdj5JoXp4V+s Mar/i8TCvAKSN7mJntA4wwqRDgQZjhkDxSW1haSp9/0DwyPev7JngAitsycqDtIIQHt+ 1lr/rhemEM/Aeo6U+kctadpvSbbhyvg37yueH1KoksgmVhdRX+V85DbxG5s8UBnbAEfN 4umjWmo5Frp3lxQ+v2WBvX9dK4petKH7MLnuD/yEWP75vlCYhKHpDZ8WbPDUWG83GVdd 7hc/Ii84lG5zOUbdcQaeUvt6yWFWN5ljaODpv/u+W6D5SE9+PK75vzKF/0ci4olJHe5d qsBw== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@linaro.org header.s=google header.b=AXBQDc28; spf=pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom="qemu-devel-bounces+patch=linaro.org@nongnu.org"; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: <qemu-devel-bounces+patch=linaro.org@nongnu.org> Received: from lists.gnu.org (lists.gnu.org. [209.51.188.17]) by mx.google.com with ESMTPS id f16si11648800iox.100.2021.06.19.10.32.47 for <patch@linaro.org> (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Sat, 19 Jun 2021 10:32:47 -0700 (PDT) Received-SPF: pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 209.51.188.17 as permitted sender) client-ip=209.51.188.17; Authentication-Results: mx.google.com; dkim=fail header.i=@linaro.org header.s=google header.b=AXBQDc28; spf=pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom="qemu-devel-bounces+patch=linaro.org@nongnu.org"; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from localhost ([::1]:50392 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from <qemu-devel-bounces+patch=linaro.org@nongnu.org>) id 1luepr-0006fH-C8 for patch@linaro.org; Sat, 19 Jun 2021 13:32:47 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:55440) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from <richard.henderson@linaro.org>) id 1lueju-0003ZR-Du for qemu-devel@nongnu.org; Sat, 19 Jun 2021 13:26:38 -0400 Received: from mail-pj1-x1032.google.com ([2607:f8b0:4864:20::1032]:40923) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from <richard.henderson@linaro.org>) id 1luejs-0003cL-Pw for qemu-devel@nongnu.org; Sat, 19 Jun 2021 13:26:38 -0400 Received: by mail-pj1-x1032.google.com with SMTP id bb10-20020a17090b008ab029016eef083425so9627050pjb.5 for <qemu-devel@nongnu.org>; Sat, 19 Jun 2021 10:26:36 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=05sVd1F+Ix/u+8NKnSPBhFMXamB4skG8gTScN8uxiH8=; b=AXBQDc28bNasD4agIVKpc76xFn6tcl4Cr5sHDUQtkBeVzcgrpVLQRKKVzAbb0wGwzq FdHPAHSo0ZeYpflYYiqQDSrPdrcAtGrjVRTKrV3feKK8gnatFIuMbIusIVr2BMt435di v0rE2kbLjETSosM9xmW+kITpoypxR/uZGSaAysUUk5quZwAfhywEsxMFUxySY7B77VKA XtdYqT3pINUOCMdu3wsw2TZJdUw5vsATXrateTINJE6OFq2TyrkywQ9e+aLNhkuFN8+Y Er3ecRILeXIyNSzkvoK4onVQjwjDEU+iEBlri4P/TT1YINnF5tXWeNwEvk0dD5q4GdRZ Ggqg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=05sVd1F+Ix/u+8NKnSPBhFMXamB4skG8gTScN8uxiH8=; b=ZdJt+sa1O0sAK5CRyiMSdjAqsHzpqEPkgrBKWCqd9Sy+MNpUAJY9+JHu7WlzhxSZcP UkLFbFym1B7P701oe+CNwpSdUd8sZzlr49KqHPfOrpc7oXvFkS+6tmTfX7ZK1nhtpkh3 58cfmwsd0P7GGhBR169Q7CgpFHZ86d/S/UWdJIBC1lik0VMh9ryHV+jhEOdXqsTitvBf XVGxFvXmUYuogg2BK1yxOm6fqAwpy/SktFXAEOJ5qzooF6WJ1G1UUEiVEAd1cmuUETK+ oQLg2CPyu1maJQ0elY6QQjfCrETFEYBTeH/tWeGbCgi6oYDPgLRCfK+KbW3QHdlitLuE fXew== X-Gm-Message-State: AOAM530Jd5/nRC62H5P7aiIIgImauDfFGUbh9mmOj8sH8/gzI+inuc1w Ak8CExGtu6uc6JYYy/0s+oYY7cjUSgoHXw== X-Received: by 2002:a17:90a:c093:: with SMTP id o19mr17618829pjs.6.1624123595514; Sat, 19 Jun 2021 10:26:35 -0700 (PDT) Received: from localhost.localdomain ([71.212.149.176]) by smtp.gmail.com with ESMTPSA id co18sm2084241pjb.37.2021.06.19.10.26.35 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 19 Jun 2021 10:26:35 -0700 (PDT) From: Richard Henderson <richard.henderson@linaro.org> To: qemu-devel@nongnu.org Subject: [PATCH 11/15] hw/scsi/megasas: Fix megasas_mmio_ops sizes Date: Sat, 19 Jun 2021 10:26:22 -0700 Message-Id: <20210619172626.875885-12-richard.henderson@linaro.org> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20210619172626.875885-1-richard.henderson@linaro.org> References: <20210619172626.875885-1-richard.henderson@linaro.org> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Received-SPF: pass client-ip=2607:f8b0:4864:20::1032; envelope-from=richard.henderson@linaro.org; helo=mail-pj1-x1032.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, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=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.23 Precedence: list List-Id: <qemu-devel.nongnu.org> List-Unsubscribe: <https://lists.nongnu.org/mailman/options/qemu-devel>, <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>, <mailto:qemu-devel-request@nongnu.org?subject=subscribe> Cc: Fam Zheng <fam@euphon.net>, Hannes Reinecke <hare@suse.com>, qemu-block@nongnu.org, mark.cave-ayland@ilande.co.uk, f4bug@amsat.org, pbonzini@redhat.com, alex.bennee@linaro.org Errors-To: qemu-devel-bounces+patch=linaro.org@nongnu.org Sender: "Qemu-devel" <qemu-devel-bounces+patch=linaro.org@nongnu.org> |
Series |
accel/tcg: Fix for #360 and other i/o alignment issues
|
expand
|
diff --git a/hw/scsi/megasas.c b/hw/scsi/megasas.c index 8f2389d2c6..c98cb7a499 100644 --- a/hw/scsi/megasas.c +++ b/hw/scsi/megasas.c @@ -2163,8 +2163,8 @@ static const MemoryRegionOps megasas_mmio_ops = { .write = megasas_mmio_write, .endianness = DEVICE_LITTLE_ENDIAN, .impl = { - .min_access_size = 8, - .max_access_size = 8, + .min_access_size = 4, + .max_access_size = 4, } };
All of the megasas mmio registers are 32-bit not 64-bit. Cc: qemu-block@nongnu.org Cc: Fam Zheng <fam@euphon.net> Cc: Hannes Reinecke <hare@suse.com> Signed-off-by: Richard Henderson <richard.henderson@linaro.org> --- hw/scsi/megasas.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) -- 2.25.1