Received: by 2002:ab2:1689:0:b0:1f7:5705:b850 with SMTP id d9csp1181763lqa; Sun, 28 Apr 2024 23:57:30 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCXVJ0KWvUbaMUyL3Xa2p5QMPHgYFr/el9N+8htXu1hYHk8IZmGE0lYsuV0TT++9f8cweW+Ic7Xif2JTleXDFk3ahlP5sKwQuP9YI3ggRg== X-Google-Smtp-Source: AGHT+IGGAtfge8tPP3jSRr7bkRMqg/BxJ/G7Mc2oEocZ8IoIT8rxe/fWQHErBmgtXpakUHMbQPk9 X-Received: by 2002:a05:6808:1a95:b0:3c8:5552:ee69 with SMTP id bm21-20020a0568081a9500b003c85552ee69mr9762673oib.0.1714373850349; Sun, 28 Apr 2024 23:57:30 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1714373850; cv=pass; d=google.com; s=arc-20160816; b=J0QcxocYuAH9Yz8DvkQ78Ew7i61UbTc99mOjb7ZhqOt6fIh/2AW0hPAteD2eloZUjH m4g57jZezkFqvUZ5Qnn7z/O2VR60tQ6ILNZ6rd3EQc3UoZgy/WTGzP70l4kj8YRPLwpF gtDQKgHO/wt/q2LAhTQoCRIA527OpBPp1SLkVP1RFllVsJaJD9czFHaWvlCipaIo7cDz y3g8nLm244ke0lNTeh6CAjctuEB502w8wkjdqYy+0II+Q3XusVLAfeSHqHzaOv3dfvex X3XKlNbSZbs0NL3zEbr2pMip/T0leTiP4qYG4nzLfLtCqQopHsampHex+3xXN3Ar5ZR/ o0Yg== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=mime-version:list-unsubscribe:list-subscribe:list-id:precedence :content-transfer-encoding:content-language:accept-language :in-reply-to:references:message-id:date:thread-index:thread-topic :subject:cc:to:from; bh=MR5pQ4oGzc/Gg45kvMMaZTUyVg/11QT5xq/OzfSgyB8=; fh=SaVMke3vb2uVfmh6Fqxq5EajZKdAbmtPQKJKHl8LvDw=; b=HMODTgNYFPr9J8lOeETuJ1HlOeQvZKbZ9iPVXjEJzTVTK7vA/EFubVTnl4KBIlZqRg uM12y+1Ev/R5t2ijIqmrPYBo07Nsmsk/uzl4YcQ6Wnli278Zi/yxohbsaaOX7uanuzeK l9S1Oxh6SY9BKxOnzXcdLST4kAKDxQ1f/ds+37Sjk8/z2mezgGBg9VteoflXqjGKqkHR A8wgCr5j3P59SJvcRsW/aATR8mGt+DoLjisFTP7nszQPIZhMB/yx9sX1AgMrO9wMYJJI H1IZeHFQKNpx4xCz3MxVuevT+f7DxQ7Yxj12JZPRzxR6Z9iwdJ8kHMYqLnETSWmeOdnc QhCw==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; arc=pass (i=1 spf=pass spfdomain=realtek.com); spf=pass (google.com: domain of linux-kernel+bounces-161829-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-161829-linux.lists.archive=gmail.com@vger.kernel.org" Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [2604:1380:45e3:2400::1]) by mx.google.com with ESMTPS id t8-20020a639548000000b00601f064c39bsi12486264pgn.333.2024.04.28.23.57.30 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 28 Apr 2024 23:57:30 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-161829-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) client-ip=2604:1380:45e3:2400::1; Authentication-Results: mx.google.com; arc=pass (i=1 spf=pass spfdomain=realtek.com); spf=pass (google.com: domain of linux-kernel+bounces-161829-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-161829-linux.lists.archive=gmail.com@vger.kernel.org" Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by sv.mirrors.kernel.org (Postfix) with ESMTPS id 783C728168A for ; Mon, 29 Apr 2024 06:57:29 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 9E05214F65; Mon, 29 Apr 2024 06:57:11 +0000 (UTC) Received: from rtits2.realtek.com.tw (rtits2.realtek.com [211.75.126.72]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id CBD051171A; Mon, 29 Apr 2024 06:57:07 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=211.75.126.72 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1714373831; cv=none; b=cGbiH89T5WUOf8pRie63r6+5bmL7HYXPTKr1ckD2ypxTu4Doz2kVBLWdIOgHbrGlCjtwRFiOJW8fWDkTxnSkJX0ysR3Yix0CGgAT0hEbUvQpi+LFrmS6fm9GLVrjBgTbbJlELgdeTiLxrmomCDLXvd5rkFrQZ8uQ7Sim4t935MQ= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1714373831; c=relaxed/simple; bh=MR5pQ4oGzc/Gg45kvMMaZTUyVg/11QT5xq/OzfSgyB8=; h=From:To:CC:Subject:Date:Message-ID:References:In-Reply-To: Content-Type:MIME-Version; b=nMpmD8UnQOaCm+J24xAuQEEfLP/lDNLiySa5uqkLXr0PZgxk7Dbq823K1MU79VhLuZMvI9QXErvY7Mxsw6X56oC/Pj6pyUsuHmIP+igI6VKwfge9Vgt3tZmzxB3WW1Q0fwTo5EoxjOwUfKpPUp1obzsQVuQxN9G+hwwbJ7PxRtM= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=realtek.com; spf=pass smtp.mailfrom=realtek.com; arc=none smtp.client-ip=211.75.126.72 Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=realtek.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=realtek.com X-SpamFilter-By: ArmorX SpamTrap 5.78 with qID 43T6uZUW13163003, This message is accepted by code: ctloc85258 Received: from mail.realtek.com (rtexh36505.realtek.com.tw[172.21.6.25]) by rtits2.realtek.com.tw (8.15.2/2.95/5.92) with ESMTPS id 43T6uZUW13163003 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Mon, 29 Apr 2024 14:56:35 +0800 Received: from RTEXMBS03.realtek.com.tw (172.21.6.96) by RTEXH36505.realtek.com.tw (172.21.6.25) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.1.2507.35; Mon, 29 Apr 2024 14:56:35 +0800 Received: from RTEXMBS01.realtek.com.tw (172.21.6.94) by RTEXMBS03.realtek.com.tw (172.21.6.96) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.1.2507.35; Mon, 29 Apr 2024 14:56:35 +0800 Received: from RTEXMBS01.realtek.com.tw ([fe80::d5b2:56ba:6b47:9975]) by RTEXMBS01.realtek.com.tw ([fe80::d5b2:56ba:6b47:9975%5]) with mapi id 15.01.2507.035; Mon, 29 Apr 2024 14:56:35 +0800 From: Ricky WU To: Ulf Hansson CC: "wenchao.chen@unisoc.com" , "ricardo@marliere.net" , "marex@denx.de" , "linux-mmc@vger.kernel.org" , "linux-kernel@vger.kernel.org" Subject: RE: [PATCH] mmc: core: resume not check card exist before powerup Thread-Topic: [PATCH] mmc: core: resume not check card exist before powerup Thread-Index: AQHaf/Di2MMAmClaHUaVpFhOVxydUrFMk6cAgAHWPUCAIOE18IAJkr8AgAYkPkA= Date: Mon, 29 Apr 2024 06:56:35 +0000 Message-ID: <7cb1e8d8b1f64aa0a9a5c7c63929b95f@realtek.com> References: <20240327024545.138351-1-ricky_wu@realtek.com> <8b966794f2bb4fda8cc7d3e111bfef70@realtek.com> In-Reply-To: Accept-Language: zh-TW, en-US Content-Language: zh-TW x-kse-serverinfo: RTEXMBS03.realtek.com.tw, 9 x-kse-antispam-interceptor-info: fallback x-kse-antivirus-interceptor-info: fallback Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: base64 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-KSE-AntiSpam-Interceptor-Info: fallback X-KSE-ServerInfo: RTEXH36505.realtek.com.tw, 9 X-KSE-AntiSpam-Interceptor-Info: fallback X-KSE-Antivirus-Interceptor-Info: fallback X-KSE-AntiSpam-Interceptor-Info: fallback PiA+DQo+ID4gU29mdCByZW1pbmRlcg0KPiA+DQo+ID4gSWYgdGhpcyBzb2x1dGlvbiwgeW91IHN0 aWxsIGhhdmUgY29uY2VydCBvbiBzZC5jLg0KPiA+IGNhbiB3ZSBqdXN0IGRvIHRoaXMgY2hlY2sg Y2FyZCBmbG93IGluIG1tYyBob3N0IHBvd2VyIHVwIGNhbGxfYmFjaz8NCj4gPg0KPiA+ID4gPiA+ DQo+ID4gPiA+ID4gX21tY19zZF9yZXN1bWUNCj4gPiA+ID4gPiBhZGQgZ2V0X2NkIGJlZm9yZSBj YWxsIHBvd2VydXAsIG1ha2Ugc3VyZSB0aGUgY2FyZCBleGlzdA0KPiA+ID4gPg0KPiA+ID4gPiBQ bGVhc2UgZWxhYm9yYXRlIG1vcmUgb24gd2hhdCBwcm9ibGVtIHlvdSBhcmUgdHJ5aW5nIHRvIHNv bHZlLCB0aGUNCj4gPiA+ID4gYWJvdmUgZG9lc24ndCBtYWtlIG11Y2ggc2Vuc2UgdG8gbWUsIHNv cnJ5Lg0KPiA+ID4gPg0KPiA+ID4gPiBZZXMsIHRoZSBjYXJkIG1heSBiZSByZW1vdmVkIHdoaWxl IHRoZSBzeXN0ZW0g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