From nobody Mon Nov 25 02:33:06 2024 Delivered-To: importer@patchew.org Received-SPF: pass (zohomail.com: domain of lists.libvirt.org designates 8.43.85.245 as permitted sender) client-ip=8.43.85.245; envelope-from=devel-bounces@lists.libvirt.org; helo=lists.libvirt.org; Authentication-Results: mx.zohomail.com; dkim=fail; spf=pass (zohomail.com: domain of lists.libvirt.org designates 8.43.85.245 as permitted sender) smtp.mailfrom=devel-bounces@lists.libvirt.org; dmarc=fail(p=none dis=none) header.from=linaro.org Return-Path: Received: from lists.libvirt.org (lists.libvirt.org [8.43.85.245]) by mx.zohomail.com with SMTPS id 1719472308905535.0983784927054; Thu, 27 Jun 2024 00:11:48 -0700 (PDT) Received: by lists.libvirt.org (Postfix, from userid 996) id D7BBF137E; Thu, 27 Jun 2024 03:11:47 -0400 (EDT) Received: from lists.libvirt.org (localhost [IPv6:::1]) by lists.libvirt.org (Postfix) with ESMTP id 22FE113C1; Thu, 27 Jun 2024 03:11:13 -0400 (EDT) Received: by lists.libvirt.org (Postfix, from userid 996) id 83A5DC31; Thu, 27 Jun 2024 03:11:08 -0400 (EDT) Received: from mail-wm1-f48.google.com (mail-wm1-f48.google.com [209.85.128.48]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by lists.libvirt.org (Postfix) with ESMTPS id B08F7D48 for ; Thu, 27 Jun 2024 03:11:07 -0400 (EDT) Received: by mail-wm1-f48.google.com with SMTP id 5b1f17b1804b1-424aa70fbc4so14564885e9.1 for ; Thu, 27 Jun 2024 00:11:07 -0700 (PDT) Received: from localhost.localdomain (163.red-95-127-40.staticip.rima-tde.net. [95.127.40.163]) by smtp.gmail.com with ESMTPSA id 5b1f17b1804b1-42564b7b7a5sm12282925e9.24.2024.06.27.00.11.03 (version=TLS1_3 cipher=TLS_CHACHA20_POLY1305_SHA256 bits=256/256); Thu, 27 Jun 2024 00:11:05 -0700 (PDT) X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on lists.libvirt.org X-Spam-Level: X-Spam-Status: No, score=-0.6 required=5.0 tests=DKIM_INVALID,DKIM_SIGNED, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,RCVD_IN_DNSWL_NONE, RCVD_IN_MSPIKE_H2,SPF_HELO_NONE autolearn=unavailable autolearn_force=no version=3.4.4 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1719472266; x=1720077066; darn=lists.libvirt.org; 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=1BvAUzJDJRk95OJML/aybeF+xlz5tOaGkq6qYevEQMg=; b=L/FjOCyG8NioGZDKmsiTRNriwVKN9tNzgl0xtr1C6dN8DsOAyk8zaxBWpGDlCC72qZ KDcvHh/8/YIKJGUPteUGxAVSj8bB5/uE4leldr2rDZRK8gekZRmByWORESJyQpSvKJeZ LZdcSzjShGwWugnsg/QATD86OjYmOnMWEUSZjDBiONdXPpAnOYA+309kMAcCb126+tGV ivQawvDOwvWvSoKfSFVxz6TcBqRspeT/NDA2FSChCwHW8FVn6Vky15iopMgeoPjsqdw9 TSO38aOQ4AMTs8MyZtDdLHwKivsvnDSO2S7XStZ0QmqJU35IlnyrSaV3KJ4XO8Rf/9P5 iS0A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1719472266; x=1720077066; 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=1BvAUzJDJRk95OJML/aybeF+xlz5tOaGkq6qYevEQMg=; b=H7WrxPytkYiDnvjp8zr96nmBzvW9/yXsIHAhcgKh/LOanwPinvmpdbB5XS5nHc+CKK 9+yfLSan+xYP3jr2rHe9MyMvS+qwIEXH4TQMAlO/ONyxyJijnafGylCBLzzWr38VejdG CoRK1qI3R1NKr45YSuP/98S8kgyBH+r4yiEAowcD3tfeYoQ8IalGLR8F+WGdyZRtmUkI rTznGaxD1alyO2kQ/feL+kzNDN5mPdxuQuJP4pZ3f+QGJW2ycpgaxgUMNQjqS5IteFwY nPaaAM80yYoLCsQDN2qokaGKuGsOtb06/UDPxQBZuMDBwE9AxQ2wshfW5CH3yawuRD5M 4Qvg== X-Forwarded-Encrypted: i=1; AJvYcCWq+sVPvfIiB3lgcWNcZcAX1wr1keMS2ndmIPmCW9QAjKCI7ZHNMEHtW7rWSmBL+5JItcLEobINLMTlegQrPoWqTIu23CArWg== X-Gm-Message-State: AOJu0YyeR5IBTn/TGEzg6zL/xRhsWjKv1fpK+Bo/bJ1O4q6VEj9JjcnB 9TnWcCZmJfske6j715C59RUTu/T8xikl9iDJao/fD1HvAL6BBaOwFePwifasFRA= X-Google-Smtp-Source: AGHT+IFuzwL9+Ud6NHoY1okbe19bVu2ehNQ2veeCej8S5qR6kvWCvUQnRFRIybf9+7CfNs1TB8TT7Q== X-Received: by 2002:a05:600c:3ac3:b0:424:9593:29e5 with SMTP id 5b1f17b1804b1-42495932ab4mr68789885e9.40.1719472266339; Thu, 27 Jun 2024 00:11:06 -0700 (PDT) From: =?UTF-8?q?Philippe=20Mathieu-Daud=C3=A9?= To: qemu-devel@nongnu.org Subject: [PATCH 2/3] hw/sd/sdcard: Use spec v3.01 by default Date: Thu, 27 Jun 2024 09:10:38 +0200 Message-ID: <20240627071040.36190-3-philmd@linaro.org> X-Mailer: git-send-email 2.41.0 In-Reply-To: <20240627071040.36190-1-philmd@linaro.org> References: <20240627071040.36190-1-philmd@linaro.org> MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Message-ID-Hash: B2AYIYB4PVKJOIJBUBJ2JBFETCZYMRE5 X-Message-ID-Hash: B2AYIYB4PVKJOIJBUBJ2JBFETCZYMRE5 X-MailFrom: philmd@linaro.org X-Mailman-Rule-Hits: nonmember-moderation X-Mailman-Rule-Misses: dmarc-mitigation; no-senders; approved; emergency; loop; banned-address; member-moderation; header-match-config-1; header-match-config-2; header-match-config-3; header-match-devel.lists.libvirt.org-0 CC: =?UTF-8?q?Philippe=20Mathieu-Daud=C3=A9?= , qemu-block@nongnu.org, =?UTF-8?q?C=C3=A9dric=20Le=20Goater?= , devel@lists.libvirt.org, Bin Meng , Sai Pavan Boddu , Joel Stanley X-Mailman-Version: 3.2.2 Precedence: list List-Id: Development discussions about the libvirt library & tools Archived-At: List-Archive: List-Help: List-Post: List-Subscribe: List-Unsubscribe: X-ZohoMail-DKIM: fail (Header signature does not verify) X-ZM-MESSAGEID: 1719472309584100001 Content-Type: text/plain; charset="utf-8" Recent SDHCI expect cards to support the v3.01 spec to negociate lower I/O voltage. Select it by default. Signed-off-by: Philippe Mathieu-Daud=C3=A9 Reviewed-by: C=C3=A9dric Le Goater --- hw/sd/sd.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hw/sd/sd.c b/hw/sd/sd.c index a48010cfc1..d0a1d5db18 100644 --- a/hw/sd/sd.c +++ b/hw/sd/sd.c @@ -2280,7 +2280,7 @@ static void sd_realize(DeviceState *dev, Error **errp) =20 static Property sd_properties[] =3D { DEFINE_PROP_UINT8("spec_version", SDState, - spec_version, SD_PHY_SPECv2_00_VERS), + spec_version, SD_PHY_SPECv3_01_VERS), DEFINE_PROP_DRIVE("drive", SDState, blk), /* We do not model the chip select pin, so allow the board to select * whether card should be in SSI or MMC/SD mode. It is also up to the --=20 2.41.0