Received: by 2002:ac2:4841:0:0:0:0:0 with SMTP id 1csp314112lfy; Wed, 19 Aug 2020 03:12:05 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyCj7ozEyjEey6B6I+ofiILFBg0KSVF389DDxbQZxQJc1+d/Hs7RPyk8NWcVKnvOWm5uzU1 X-Received: by 2002:a25:a88:: with SMTP id 130mr32062312ybk.52.1597831925816; Wed, 19 Aug 2020 03:12:05 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1597831925; cv=none; d=google.com; s=arc-20160816; b=k7Cnezu1KF/JwpLkMGVN0hdo31j4K65eRZuAG8v8n5s2f21NmmtjSw7e/e+eWLbuvd qaZo9DYR66zUXSAthXw62Qfn1ygg2coIK+CuJKqtu+ov/DzZZrsoKOE0YRNM4XAyj5mp wmjkMPntcGMz8hr9wVwz1GLxPxEiuGXXl47HiQ17Mc8yQT8DWh5iTQrv3F2ZSUJb921u ekL3WuY6CiWGCagGofVA4YCSq6hFiQfVFNP59uGzvjzzjDM1YioqT2p7ExCCk7CwYPks qk9mT7g8BfkK7vq+9xGmraTVSUhfKhVtI6RdkL2sAoS12MKQspWf4M877qr1tAtI44VP hdMw== 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:message-id:date:subject:to:from; bh=zRJdZYV1vcrefSNEryq0LmWsyM/cxIKs0OFzO2Ok6kM=; b=O0L7wMTlSygfqrYaYmn++fU7wboVtZwACdwZxxF5DmOkgJyENoXQLtFx7w3ms9d5Hh X+/2taRfHUAy9WCxqEh6qfQGvejL9ynB5SigPVAv/R+qykO3QzHxCHYhLAJ6uNCXqLwU UIxcCyGgcu2R2GUlsx3Kei1lxVlxEu3/rnf0NOiuncVJ+63EhmP0YVPn9IbVwVysMVZg 9LxswbXnLYwRzIYzxzOXv/pavLfVBknIGmAjxxOvH0yVkXtLCRcJs3alDuuNYdp3iC3a QsKngxtmunxToI+l2HxgSo5+dkYOk8rHrS0TXerriH+9Fph+Hqb+ggFiFF+Z/ze0Oqja oazw== ARC-Authentication-Results: i=1; mx.google.com; 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" Return-Path: Received: from lists.gnu.org (lists.gnu.org. [209.51.188.17]) by mx.google.com with ESMTPS id e10si25536020ybp.15.2020.08.19.03.12.05 for (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Wed, 19 Aug 2020 03:12:05 -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; 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" Received: from localhost ([::1]:60776 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1k8L4f-0005cA-3x for alex.bennee@linaro.org; Wed, 19 Aug 2020 06:12:05 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:56122) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1k8L2t-0001Ea-R6; Wed, 19 Aug 2020 06:10:15 -0400 Received: from smtpout1.mo804.mail-out.ovh.net ([79.137.123.220]:52453) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1k8L2p-0006Vu-Le; Wed, 19 Aug 2020 06:10:15 -0400 Received: from mxplan5.mail.ovh.net (unknown [10.109.156.21]) by mo804.mail-out.ovh.net (Postfix) with ESMTPS id 259005892825; Wed, 19 Aug 2020 12:10:00 +0200 (CEST) Received: from kaod.org (37.59.142.101) by DAG4EX1.mxp5.local (172.16.2.31) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.1979.3; Wed, 19 Aug 2020 12:09:59 +0200 Authentication-Results: garm.ovh; auth=pass (GARM-101G004f4311396-d5f6-46d7-8dd1-da85e55de9e4, 56ABA3BD09B5898CED80C8E013D4E39E9C6048D1) smtp.auth=clg@kaod.org From: =?UTF-8?q?C=C3=A9dric=20Le=20Goater?= To: Peter Maydell Subject: [PATCH v2 00/21] aspeed: cleanups and some extensions Date: Wed, 19 Aug 2020 12:09:35 +0200 Message-ID: <20200819100956.2216690-1-clg@kaod.org> X-Mailer: git-send-email 2.25.4 MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 8bit X-Originating-IP: [37.59.142.101] X-ClientProxiedBy: DAG1EX1.mxp5.local (172.16.2.1) To DAG4EX1.mxp5.local (172.16.2.31) X-Ovh-Tracer-GUID: 798ef57d-2ef9-4afe-ad54-50bd85416b71 X-Ovh-Tracer-Id: 18047894032872344358 X-VR-SPAMSTATE: OK X-VR-SPAMSCORE: -100 X-VR-SPAMCAUSE: gggruggvucftvghtrhhoucdtuddrgeduiedruddtkedgvdduucetufdoteggodetrfdotffvucfrrhhofhhilhgvmecuqfggjfdpvefjgfevmfevgfenuceurghilhhouhhtmecuhedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmnecujfgurhephffvufffkffogggtgfhisehtkeertdertdejnecuhfhrohhmpeevrogurhhitgcunfgvucfiohgrthgvrhcuoegtlhhgsehkrghougdrohhrgheqnecuggftrfgrthhtvghrnhepuedtieekkeelgfduvdeijeeujefhheefjedtleegtdehteejteduuddtjeefjeeknecuffhomhgrihhnpehgihhthhhusgdrtghomhenucfkpheptddrtddrtddrtddpfeejrdehledrudegvddruddtudenucevlhhushhtvghrufhiiigvpedtnecurfgrrhgrmhepmhhouggvpehsmhhtphdqohhuthdphhgvlhhopehmgihplhgrnhehrdhmrghilhdrohhvhhdrnhgvthdpihhnvghtpedtrddtrddtrddtpdhmrghilhhfrhhomheptghlgheskhgrohgurdhorhhgpdhrtghpthhtoheptghlgheskhgrohgurdhorhhg Received-SPF: pass client-ip=79.137.123.220; envelope-from=clg@kaod.org; helo=smtpout1.mo804.mail-out.ovh.net X-detected-operating-system: by eggs.gnu.org: First seen = 2020/08/19 06:10:01 X-ACL-Warn: Detected OS = Linux 3.11 and newer X-Spam_score_int: -28 X-Spam_score: -2.9 X-Spam_bar: -- X-Spam_report: (-2.9 / 5.0 requ) BAYES_00=-1.9, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H2=-1, SPF_HELO_NONE=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.23 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Andrew Jeffery , =?UTF-8?q?C=C3=A9dric=20Le=20Goater?= , qemu-arm@nongnu.org, Joel Stanley , qemu-devel@nongnu.org Errors-To: qemu-arm-bounces+alex.bennee=linaro.org@nongnu.org Sender: "Qemu-arm" X-TUID: TUN2tRXPZn5s Hello, This series includes various fixes improving the support of Aspeed machines. Extra attention was given to the robustness of the ftgmac100 model. A small kernel module tester was created for this purpose : https://github.com/legoater/ftgmac100-test/ Changes in v2 : - definitions for some new flash models in m25p80 by Igor - All Joel's comments should have been addressed - A better fix of the integer overflow in ftgmac100_do_tx suggested by Peter. This needs a couple more reviewed-by before I can send a PR. Thanks, C. Cédric Le Goater (16): m25p80: Return the JEDEC ID twice for mx25l25635e m25p80: Add support for mx25l25635f m25p80: Add support for n25q512ax3 aspeed/scu: Fix valid access size on AST2400 aspeed/smc: Fix MemoryRegionOps definition aspeed/smc: Fix max_slaves of the legacy SMC device aspeed/sdhci: Fix reset sequence ftgmac100: Fix registers that can be read ftgmac100: Fix interrupt status "Packet transmitted on ethernet" ftgmac100: Fix interrupt status "Packet moved to RX FIFO" ftgmac100: Change interrupt status when a DMA error occurs ftgmac100: Check for invalid len and address before doing a DMA transfer ftgmac100: Fix integer overflow in ftgmac100_do_tx() ftgmac100: Improve software reset aspeed/sdmc: Simplify calculation of RAM bits aspeed/smc: Open AHB window of the second chip of the AST2600 FMC controller Igor Kononenko (2): arm: aspeed: add strap define `25HZ` of AST2500 hw: add a number of SPI-flash's of m25p80 family Joel Stanley (2): aspeed/sdmc: Perform memory training aspeed/sdmc: Allow writes to unprotected registers erik-smit (1): hw/arm/aspeed: Add board model for Supermicro X11 BMC include/hw/misc/aspeed_scu.h | 1 + include/hw/misc/aspeed_sdmc.h | 13 +++- hw/arm/aspeed.c | 35 ++++++++++ hw/block/m25p80.c | 6 +- hw/misc/aspeed_scu.c | 9 +-- hw/misc/aspeed_sdmc.c | 125 +++++++++++++++++++--------------- hw/net/ftgmac100.c | 95 ++++++++++++++++++-------- hw/sd/aspeed_sdhci.c | 14 +++- hw/ssi/aspeed_smc.c | 6 +- 9 files changed, 209 insertions(+), 95 deletions(-) -- 2.25.4