Received: by 2002:a25:6193:0:0:0:0:0 with SMTP id v141csp4408989ybb; Tue, 14 Apr 2020 06:47:35 -0700 (PDT) X-Google-Smtp-Source: APiQypKRFs4nuhies1LV/3N9fSspgWwplcKk4v7OBzhvueKtDUUDIKcCZJW4/P6hCWFfkCbxOkAN X-Received: by 2002:a17:906:468c:: with SMTP id a12mr150657ejr.149.1586872055588; Tue, 14 Apr 2020 06:47:35 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1586872055; cv=none; d=google.com; s=arc-20160816; b=wAzbygy54dUlS3UmyQxa8n4T+byxyNqA1CTIN1lJOdy6Ac9SWKNIKdK/Br+YT1CQWB 2yxpTSNZ8fGNndZIeBVM4cs2S4objuxeOcHx/L/C5cVnuZ0uHob9c+BRf6VGpAd6snG6 oLNdfyKy/KY/vxl06BOUu+RpFqph+OIBVT9TSrQj/IjUeFQKXJuB2fhGVVQyDRW3Yt+M 913M+pw5VyLxDkNfYm19rk4VZu4D1jmPq7FSxpRjV6QJSb5kPdiG3wbMMtmLPe61sSeq PtVFiRhv41KgGzdHMHZ2DttYOIIa8Bj+s79Q5DABT+ojqRQE3/2FdhK++LtAf7XOov30 jExA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :references:in-reply-to:date:cc:to:from:subject:message-id :dkim-signature; bh=Qfibg8F6E8+hj4EjDr9mFBEQ8hTeGgupZlAGc7uyKyo=; b=ZLIjZaclRUG9LMVTr9Yxkamnn1PHzC6gNLuJAfaKmMI+sa7Y6fQRT0XLnbNhVNaxOo hVGcso5FGU+JaIjGhCVNwOqRpZ3FnW23BFNPLoxy+PxDCOsERlpdhdaxCpDmRkhtKNun ld2YEdZ9LX7nkWx55brpi82j4MTN1qdPu/J1c0P/dQlMbW5E2v5Qqsw59jw6sYGG99xl 5XtmEh02bH7nm9tLAvt4A1N/D+KcAyGhmgVA+5GFO6hkDiex0W6qV6VecZ57Za18tLT0 iAbPg3tm/+Vpm9ynSbPpFZZMKwIBb/JKA/bkEyuunjh402kW8VGMrjv+orTHYfeoKwkA vCcA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@mediatek.com header.s=dk header.b=lpQqBfwe; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=mediatek.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id a31si1412929ede.290.2020.04.14.06.47.11; Tue, 14 Apr 2020 06:47:35 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@mediatek.com header.s=dk header.b=lpQqBfwe; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=mediatek.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2390414AbgDNAWe (ORCPT + 99 others); Mon, 13 Apr 2020 20:22:34 -0400 Received: from Mailgw01.mediatek.com ([1.203.163.78]:24421 "EHLO mailgw01.mediatek.com" rhost-flags-OK-FAIL-OK-FAIL) by vger.kernel.org with ESMTP id S1727878AbgDNAW3 (ORCPT ); Mon, 13 Apr 2020 20:22:29 -0400 X-UUID: 4b5dded000a94e5a9fad9dcc8006c109-20200414 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=mediatek.com; s=dk; h=Content-Transfer-Encoding:MIME-Version:Content-Type:References:In-Reply-To:Date:CC:To:From:Subject:Message-ID; bh=Qfibg8F6E8+hj4EjDr9mFBEQ8hTeGgupZlAGc7uyKyo=; b=lpQqBfweIWwe8jBJW65IqHCihW5yAxLHNlfg3nL954aJXU0+KftOg/lYpsmkqI4txLOBh5MVyztEOnN1ujLPyiBzyJCqTCG7tuQL37vlWPxlXrlt76chHztjCSkMlSrZ3EgQ0+2Kvoxc8mOacHHO0HJGuGSQAgfso+c2omoSFMs=; X-UUID: 4b5dded000a94e5a9fad9dcc8006c109-20200414 Received: from mtkcas36.mediatek.inc [(172.27.4.253)] by mailgw01.mediatek.com (envelope-from ) (mailgw01.mediatek.com ESMTP with TLS) with ESMTP id 662297651; Tue, 14 Apr 2020 08:22:21 +0800 Received: from MTKCAS06.mediatek.inc (172.21.101.30) by MTKMBS31N2.mediatek.inc (172.27.4.87) with Microsoft SMTP Server (TLS) id 15.0.1497.2; Tue, 14 Apr 2020 08:22:13 +0800 Received: from [172.21.77.33] (172.21.77.33) by MTKCAS06.mediatek.inc (172.21.101.73) with Microsoft SMTP Server id 15.0.1497.2 via Frontend Transport; Tue, 14 Apr 2020 08:22:13 +0800 Message-ID: <1586823738.16047.7.camel@mtkswgap22> Subject: Re: [PATCH 2/5] [2/5] mmc: host: Remove redundant host CQE bindings From: Chun-Hung Wu To: Alan Cooper CC: , Jonathan Hunter , "Adrian Hunter" , Florian Fainelli , BCM Kernel Feedback , Andy Gross , Bjorn Andersson , "Michal Simek" , Thierry Reding , Chaotian Jing , Ulf Hansson , Rob Herring , Mark Rutland , Matthias Brugger , "Linus Walleij" , Pavel Machek , "Kate Stewart" , Greg Kroah-Hartman , Martin Blumenstingl , Pan Bian , Thomas Gleixner , Allison Randal , Mathieu Malaterre , Stanley Chu , Kuohong Wang , , ": Linux Kernel Mailing List" , linux-mmc , , DTML , , "moderated list:BROADCOM BCM7XXX ARM ARCHITECTURE" , , Date: Tue, 14 Apr 2020 08:22:18 +0800 In-Reply-To: References: <1586165281-11888-1-git-send-email-chun-hung.wu@mediatek.com> <1586165281-11888-3-git-send-email-chun-hung.wu@mediatek.com> Content-Type: text/plain; charset="UTF-8" X-Mailer: Evolution 3.2.3-0ubuntu6 MIME-Version: 1.0 X-TM-SNTS-SMTP: 77A645C6C1487FDA3CF0BD874F90ED07C2006FF3480317B16A64447FB4E51E462000:8 X-MTK: N Content-Transfer-Encoding: base64 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org T24gTW9uLCAyMDIwLTA0LTA2IGF0IDA5OjU5IC0wNDAwLCBBbGFuIENvb3BlciB3cm90ZToNCj4g T24gTW9uLCBBcHIgNiwgMjAyMCBhdCA1OjI4IEFNIENodW4tSHVuZyBXdSA8Y2h1bi1odW5nLnd1 QG1lZGlhdGVrLmNvbT4gd3JvdGU6DQo+ID4NCj4gPiBDUUUgYmluZGluZ3MgInN1cHBvcnRzLWNx ZSIgYW5kICJkaXNhYmxlLWNxZS1kY21kIiBpcyBwYXJzZWQNCj4gPiBpbiBtbWNfb2ZfcGFyc2Uo KS4gUmVtb3ZlIHZlbmRvciBjb2RlIHdoaWNoIHBhcnNlcyBDUUUgYmluZGluZ3MsDQo+ID4gYW5k IHVzZSBtbWNfaG9zdC0+Y2FwczIgdG8gZGVjaWRlIHN1cHBvcnQgQ1FFIG9yIG5vdC4NCj4gPg0K PiA+IFNpZ25lZC1vZmYtYnk6IENodW4tSHVuZyBXdSA8Y2h1bi1odW5nLnd1QG1lZGlhdGVrLmNv bT4NCj4gPiAtLS0NCj4gPiAgZHJpdmVycy9tbWMvaG9zdC9zZGhjaS1icmNtc3RiLmMgICB8IDEx ICsrKysrKy0tLS0tDQo+ID4gIGRyaXZlcnMvbW1jL2hvc3Qvc2RoY2ktbXNtLmMgICAgICAgfCAg MyArLS0NCj4gPiAgZHJpdmVycy9tbWMvaG9zdC9zZGhjaS1vZi1hcmFzYW4uYyB8ICAzIC0tLQ0K PiA+ICBkcml2ZXJzL21tYy9ob3N0L3NkaGNpLXRlZ3JhLmMgICAgIHwgIDIgKy0NCj4gPiAgNCBm aWxlcyBjaGFuZ2VkLCA4IGluc2VydGlvbnMoKy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