From patchwork Fri Jul 12 16:27:08 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?q?Philippe_Mathieu-Daud=C3=A9?= X-Patchwork-Id: 812327 Delivered-To: patch@linaro.org Received: by 2002:adf:fac3:0:b0:367:895a:4699 with SMTP id a3csp776358wrs; Fri, 12 Jul 2024 09:28:36 -0700 (PDT) X-Forwarded-Encrypted: i=2; AJvYcCWofEmcHwXh35n8XO65pOrUBqbPCaGyq+qhkXoloo0+FPebjAv1JUhKSImqP5jdfJ7f9e+0JxD4lMY8cMrJfD/H X-Google-Smtp-Source: AGHT+IFULqSTJjt7ZwN/MNXf30g1GIpSXMmreu/98TJC8t3RU7WbSf2HM2IwJxV8naHAgPKuGcOX X-Received: by 2002:a05:620a:1a85:b0:79f:1388:1b7 with SMTP id af79cd13be357-79f19a133eamr1706225085a.29.1720801716346; Fri, 12 Jul 2024 09:28:36 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1720801716; cv=none; d=google.com; s=arc-20160816; b=Gd5GIYWoQcVIuBziuCwwfMEN8em3COP1BcvsBvj9t1CbfDmch+INY3retMc93RevZy roneuqE1hp/oD2DoRvGM/OhI8dvYhMDvHxg3wyvvHLfwyuUHU7Cx2VfyYdOubPl/2jQI pOceZdzaBsesIr7rEZmzeJtNImeIS0DzqN5elpvFpKGnUCppG2hN+l+gjNGZGjZkIl+h B7XecPVxNfU4nOcFk6VYnCxQ0VkNvKaEusrpY3JC+epZwpP5SpGOPANpcBMWtFLog165 9o9DWb7B1cAIO+RRLE1iT9nArmeevwkxqnuH/RxgzLfMPve5Hu02l7TxPNslNxkaNOOv Ysgg== 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:message-id:date:subject:cc:to:from:dkim-signature; bh=gBU2fNmBz7RqNPgCycc5xf7wFhsPLyphN1A0VUFUC8o=; fh=OeoBx/rGncrhtjiACdhTejc1F6h5T8NtBdYnWK3WiwA=; b=uavnm4Dp3e3DWuEBwWXXHysAkhhf5dpMD4HdIBuGjWtt1UDcj1oI7mWa6yOAKyX9RM pL5xjJz7/jUHEdWQ5FGy8YDIvY/yLdk0Xld9ZjsqnklmCA8C+2/EgjvRe0o1RmAfCtII ENbi6OUJkbglMG2fYIAryx1JE40Orlm13xofpYgGau6zeCvpMElAMumVhSzRuCWFzGul DLbILb5UCigf6iUEp6C3coe7jPA/AzDZMMyJ2GjZd7MCF51GGqa3Mh9J0ncWXcnXCBSD bngNzi4ZBmMPyw/TAKaQ/l6xcG2NSTUbyoVH5ND0HJ3KkxMqQDvnmoSHYd0+Gpk19XCv SqKA==; dara=google.com ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=Ce7Lowij; 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=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from lists.gnu.org (lists.gnu.org. [209.51.188.17]) by mx.google.com with ESMTPS id af79cd13be357-79f1909fd20si972881085a.271.2024.07.12.09.28.36 for (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Fri, 12 Jul 2024 09:28:36 -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=pass header.i=@linaro.org header.s=google header.b=Ce7Lowij; 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=NONE dis=NONE) header.from=linaro.org Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1sSJ7M-0004Pm-Q0; Fri, 12 Jul 2024 12:27:32 -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 1sSJ7L-0004OO-5h for qemu-devel@nongnu.org; Fri, 12 Jul 2024 12:27:31 -0400 Received: from mail-wm1-x329.google.com ([2a00:1450:4864:20::329]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1sSJ7F-0001vr-6I for qemu-devel@nongnu.org; Fri, 12 Jul 2024 12:27:28 -0400 Received: by mail-wm1-x329.google.com with SMTP id 5b1f17b1804b1-4272738eb9eso16026345e9.3 for ; Fri, 12 Jul 2024 09:27:24 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1720801643; x=1721406443; darn=nongnu.org; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to; bh=gBU2fNmBz7RqNPgCycc5xf7wFhsPLyphN1A0VUFUC8o=; b=Ce7LowijCgu4RtSANQkyUQndVioJPMYgx7mmzfkMdXcOyo9B4epqDCPsvJTwqqwFCl ZHnh7JUJZ1RSU1IdQkKl5nhJUcSBJnE60hYQ7T/G7t/Bfb8309wzVcpVXE+s6SCTkXz2 7nGhL55kPbJV/oAAYW9vAzfQ0aI5m6zV5l3fgYQwaB46pjArCf69xYTGgbsTf0pmcuUl sVzgV6RONjJKpqOUw363ygOcC2DSS7ooqMu5SIyf+/xO37Zmvt5JgtkMzQR7JyyE6sbw uqML9g7lJq/2WwINfmSSooAH94bbk7tHt/mYLntenUVeEpAaYoiUHlyD4xYZK00x7ml0 ggBw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1720801643; x=1721406443; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=gBU2fNmBz7RqNPgCycc5xf7wFhsPLyphN1A0VUFUC8o=; b=NSnnPAsbbIuwQuFZUFX8TmEOEx+1xkMnADIA4Zkt/puEt3Kg1KO41Y99Yy5X9D/0k8 7AyQoIuVnMABpmc7iswjWYc8KAJlGB+cH3zixrILfuufWfWCI8PZi4Rqc385U6AIhxXq kw6AyaIGqZXWrBgMUmOtJAPVz6NcIAj98Yk6Ba8Ul6JeMzuzlfOx/lNXDMRoLiTtrGwg h2ZDgjEAxvn0EWetilCy3KAeY5RxRdp9enUaYt5ams/jTnUqIXlQjyCytuBMriE8uZtb C9d3Hazf8YeFvpLcBFCRjM7ZUS4TxknI8pKSAdVHzI6Hspnu9xmatfsT+Swb0ELvfLr6 Mv6Q== X-Gm-Message-State: AOJu0Yz2FDqd9QuTsS3QynxTynuOnR0KhueVRTlXNpIoRW7nd0hfJKG4 1lemyOWx/9SPqY2XWGmSiexxwNCvwLP67SpZ4pA/RM2p18ty9wazIqUtO49SDBf7iIZFW2q7k+J S X-Received: by 2002:a05:600c:188d:b0:426:5f7d:addc with SMTP id 5b1f17b1804b1-426708f18e2mr74423245e9.37.1720801643049; Fri, 12 Jul 2024 09:27:23 -0700 (PDT) Received: from localhost.localdomain (nsg93-h02-176-184-54-152.dsl.sta.abo.bbox.fr. [176.184.54.152]) by smtp.gmail.com with ESMTPSA id 5b1f17b1804b1-4279f2c1e07sm27763615e9.45.2024.07.12.09.27.21 (version=TLS1_3 cipher=TLS_CHACHA20_POLY1305_SHA256 bits=256/256); Fri, 12 Jul 2024 09:27:22 -0700 (PDT) From: =?utf-8?q?Philippe_Mathieu-Daud=C3=A9?= To: qemu-devel@nongnu.org Cc: =?utf-8?q?C=C3=A9dric_Le_Goater?= , Philippe =?unknown-8bit?q?Mathieu-Daud=C3=A9?= Subject: [PATCH v49 00/11] hw/sd/sdcard: Add eMMC support Date: Fri, 12 Jul 2024 18:27:08 +0200 Message-ID: <20240712162719.88165-1-philmd@linaro.org> X-Mailer: git-send-email 2.41.0 MIME-Version: 1.0 Received-SPF: pass client-ip=2a00:1450:4864:20::329; envelope-from=philmd@linaro.org; helo=mail-wm1-x329.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.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 Tag to test Aspeed tree: https://gitlab.com/philmd/qemu/-/tags/aspeed_emmc-v9 Since v48: - Dropped "Implement 'boot-mode' reset timing" patch - Re-introduce Joel "Support boot area in emmc image" patch - Comment magic CSD values Cédric Le Goater (2): hw/sd/sdcard: Add emmc_cmd_SET_RELATIVE_ADDR handler (CMD3) hw/sd/sdcard: Fix SET_BLOCK_COUNT command argument on eMMC (CMD23) Joel Stanley (1): hw/sd/sdcard: Support boot area in emmc image Luc Michel (1): hw/sd/sdcard: Implement eMMC sleep state (CMD5) Philippe Mathieu-Daudé (5): hw/sd/sdcard: Basis for eMMC support hw/sd/sdcard: Register generic command handlers hw/sd/sdcard: Register unimplemented command handlers hw/sd/sdcard: Add emmc_cmd_PROGRAM_CID handler (CMD26) hw/sd/sdcard: Add eMMC 'boot-partition-size' property Sai Pavan Boddu (1): hw/sd/sdcard: Add mmc SWITCH function support (CMD6) Vincent Palatin (1): hw/sd/sdcard: Add emmc_cmd_SEND_EXT_CSD handler (CMD8) include/hw/sd/sd.h | 3 + hw/sd/sd.c | 385 ++++++++++++++++++++++++++++++++++++++++++++- hw/sd/trace-events | 2 + 3 files changed, 384 insertions(+), 6 deletions(-)