From patchwork Tue Dec 20 13:52:38 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Daniel Henrique Barboza X-Patchwork-Id: 635455 Delivered-To: patch@linaro.org Received: by 2002:a17:522:c983:b0:460:3032:e3c4 with SMTP id kr3csp2926855pvb; Tue, 20 Dec 2022 05:55:36 -0800 (PST) X-Google-Smtp-Source: AMrXdXtSMEjxy0kUHznxfdVoXGnMbS/UrIo5IgKOco6kM7VWIY7nBd7wF+awfSlzQHofscuYaGsj X-Received: by 2002:a0c:f64f:0:b0:51e:25a4:1122 with SMTP id s15-20020a0cf64f000000b0051e25a41122mr1824567qvm.2.1671544536080; Tue, 20 Dec 2022 05:55:36 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1671544536; cv=none; d=google.com; s=arc-20160816; b=Nbog2cZD4sKHy679KD0ULzKVCZv9ROXTeZK8VoQ8qwVZYvXpREHfggdk7QOJJEV4Rb jX/Pxi0IOfRsZbW5IjvFc2sNQRku6eccuCEdFfpVtmjXujhw6gg4GpSpeMtTiBxnm7+q iPlB6lMscbb/toxIfzX/YY+Ors8ud5hZjMz6wyfCDzo3mvwlo/bhbIxqH1LNQYjEYPeM SHngBR5uX8kdnn6TDvmKT61/ENQqzFH8ylfplg5prcWTCAXBCeQgbrmNPnz31aAtbaAp fsUsLYiZyrU5NH1wZjmqbT3dNS6KKnjvCBSi2QYOM35x85larZMmstHP31pxGwm8q4Hn Tatg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to: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:cc:to :from:dkim-signature; bh=mL0VJp39CttnSDlqO4/UNmgaMe23MKykdEDegdgvW5k=; b=YV8Tx9i0W6/emivkh5RP/U04xBZcqe4XZrbDba/e6eiAVNeXejdYAONHLuD9pObuon kL2uLhabETBvLRZkfXdkoPpWtZt+RrDyRFA1QaLw55eqtgmLaLBDzQMSrXxDRNDKOZPN lfP4NOAjrQbzYInTP8tFrQ7aH5wf2Kq3fIHMX7x2C1WGF8DMjiys03n+zkyQr1mDfsam /ZY7muUUUhGiWVN8dUYzJqsyY8YMyr/f9XgOhUUWm4+9HgdWkLeEshSaQDDpcR3/1rUw fIgyHWoRyyusuxGESmYt5nmLRXquGQ/mfhehxeXKZg4pH4p1XAQ6x0J2RLkG85UrIzMw 5hPA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b=f+0fei0Y; 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=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from lists.gnu.org (lists.gnu.org. [209.51.188.17]) by mx.google.com with ESMTPS id o5-20020ad45c85000000b004c6ab026c83si259669qvh.368.2022.12.20.05.55.35 for (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Tue, 20 Dec 2022 05:55:36 -0800 (PST) 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=pass header.i=@gmail.com header.s=20210112 header.b=f+0fei0Y; 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=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1p7d3Q-00048g-Tn; Tue, 20 Dec 2022 08:53:12 -0500 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 1p7d3M-00047V-V7; Tue, 20 Dec 2022 08:53:08 -0500 Received: from mail-oa1-x29.google.com ([2001:4860:4864:20::29]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1p7d3L-0000zN-Eu; Tue, 20 Dec 2022 08:53:08 -0500 Received: by mail-oa1-x29.google.com with SMTP id 586e51a60fabf-144bd860fdbso15500759fac.0; Tue, 20 Dec 2022 05:53:06 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=mL0VJp39CttnSDlqO4/UNmgaMe23MKykdEDegdgvW5k=; b=f+0fei0YXG/T3YMpZJK6fXLbxkdn61adCL/c2WrZQ4NM9yxpaokblOwoFdklh45WJf jd1iLWpB9MKkukuI6pCR0u9Sq+ccoP9uBEZ6dbLnmQnVtjjMAd8jq0s9bA6pep5u8Rtf fuIms27aupOVhjuhZOQb5U+q/4TZhk9DmMgjn5NdQxWHler6GYCwIV3tCwMEbcqsnG1j xuqIXSyaMTzbYyiutxDBhI8IOnanBAhWs724qts5QI5J54oTbAJg+0d7y7i2BaRdMam7 c7D4kOo6X9/FPjEijkjQ2ZwWLoPCmncO4cqWRj2KcrTtuyTXoKUtoxqtS+T1W5CHuDz/ NcfQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=mL0VJp39CttnSDlqO4/UNmgaMe23MKykdEDegdgvW5k=; b=qH2xlTFTnhaDoeS5QCO0ujXzdQekM9q8O9GJDiuLEuxW3Ys90CWqqufuUxhaC5r2jw BVzakFCrkWjhsVNbuHhlY7/di2DPjfap+eppWFuCJhLico4jf5BdbO8cND4/lrUhsKkC kk0v7kpSlOO1nfbYMA6h8yASPwBx2S+SagzG+EzopFwqvQGLDeTpesUVoH9xZwACCKj8 Xc6iD7Z0PUk9kgP0Qs0FcSo4kImdWh2v6wNfLfQoYvptn1p9ZmlXv9CBIAKxhrg3ueRp +ezOO28/QTzLx1Tw5HMXy8ubhhju3gy6iykx3bA180bEP2JgZHCGLnYRqXm/zaJlodJF D3Dg== X-Gm-Message-State: ANoB5pljB53bMm5mzBaux2T4HOkUfXHb/ZfnAZvZXrKp6EE3hu6uWBsn IfMwx55/w+td+yJ7rC1vQgmFLtVsXgw= X-Received: by 2002:a05:6870:4c8b:b0:14b:7e4f:f0ca with SMTP id pi11-20020a0568704c8b00b0014b7e4ff0camr11927825oab.31.1671544385746; Tue, 20 Dec 2022 05:53:05 -0800 (PST) Received: from fedora.dc1.ventanamicro.com (201-43-103-101.dsl.telesp.net.br. [201.43.103.101]) by smtp.gmail.com with ESMTPSA id f14-20020a056870898e00b0014474019e50sm5994933oaq.24.2022.12.20.05.53.03 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 20 Dec 2022 05:53:05 -0800 (PST) From: Daniel Henrique Barboza To: qemu-devel@nongnu.org Cc: qemu-ppc@nongnu.org, danielhb413@gmail.com, peter.maydell@linaro.org, =?utf-8?q?Philippe_Mathieu-Daud=C3=A9?= , Bernhard Beschow Subject: [PULL 02/15] hw/sd/sdhci: MMIO region is implemented in 32-bit accesses Date: Tue, 20 Dec 2022 10:52:38 -0300 Message-Id: <20221220135251.155176-3-danielhb413@gmail.com> X-Mailer: git-send-email 2.38.1 In-Reply-To: <20221220135251.155176-1-danielhb413@gmail.com> References: <20221220135251.155176-1-danielhb413@gmail.com> MIME-Version: 1.0 Received-SPF: pass client-ip=2001:4860:4864:20::29; envelope-from=danielhb413@gmail.com; helo=mail-oa1-x29.google.com X-Spam_score_int: -17 X-Spam_score: -1.8 X-Spam_bar: - X-Spam_report: (-1.8 / 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, FREEMAIL_ENVFROM_END_DIGIT=0.25, FREEMAIL_FROM=0.001, 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.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: qemu-devel-bounces+patch=linaro.org@nongnu.org Sender: qemu-devel-bounces+patch=linaro.org@nongnu.org From: Philippe Mathieu-Daudé Tested-by: Bernhard Beschow Reviewed-by: Bernhard Beschow Signed-off-by: Philippe Mathieu-Daudé Message-Id: <20221101222934.52444-2-philmd@linaro.org> Signed-off-by: Daniel Henrique Barboza --- hw/sd/sdhci.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/hw/sd/sdhci.c b/hw/sd/sdhci.c index 306070c872..22c758ad91 100644 --- a/hw/sd/sdhci.c +++ b/hw/sd/sdhci.c @@ -1332,6 +1332,10 @@ sdhci_write(void *opaque, hwaddr offset, uint64_t val, unsigned size) static const MemoryRegionOps sdhci_mmio_ops = { .read = sdhci_read, .write = sdhci_write, + .impl = { + .min_access_size = 4, + .max_access_size = 4, + }, .valid = { .min_access_size = 1, .max_access_size = 4,