Received: by 2002:a05:6a10:206:0:0:0:0 with SMTP id 6csp5161490pxj; Wed, 26 May 2021 04:26:25 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyWfVPtXmacKz5jj0YcPGrN/0oKkCJYqf34EohetmfqQRWdhT595+rh94aS3cJfMU5Hod18 X-Received: by 2002:a02:5b85:: with SMTP id g127mr2745603jab.80.1622028385753; Wed, 26 May 2021 04:26:25 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1622028385; cv=none; d=google.com; s=arc-20160816; b=QBwh0eypcEHOdZ0T8JAyXYvrlA4u2Q+m+X6z/IrEMzaby2MJMlYgF2O5qaxIcNvBmz M6Yf+QGRAJq/Fit2ir+dv6E63uRChF+On4xvYRQc5BdxLu8XdQ8xuviu4BoMmDAZndV7 lhrP01AcgjgzPucP42n7SXHSPs2ykIxKHfeQrQ2T4QPiowBISyxcyTPfhSeAcIW8T8MN hYxutCskb6EbYtx15WDMKBvf9nmwdMTYVO+62m6hgZEuYbb5IoXYMfXDAv459Dy3c6F3 iidsOF4DEmvtoUQQ0cpYtTLXADTS2pP22Iy8FttW83WkfRjnGzSFL9Usr2/YXLNpmSvz qg9w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:date:cc:to:reply-to:from:subject:message-id :dkim-signature; bh=VSijLJMJY/rgjRyjiGZ+4Lhjs7svu6Wpeo2O29kjuu0=; b=b1dsrbiLUdxHFptl5wVNMB66SiFxab1y/aw2lkMqfQD9MkNGr++krupMMW47dWIdAD b4AiZVHb+TpJvW/mJyuOOv/4yxZj/+HVOj/wMVAWmT49WugsdPRLHOy8/yFLWxsqznky eKBUfOsqqczKGqPvR2Ba/UN6jPV9nEzrsPvsZSLFY7eomgAntdVu5ctWelpfMK07dI5F y8C5q5pylC/il2NY5FmE1Mdzc4iOZtXBlJs3vz3ML9UUktKzzshVIs3n5ysZemU69FbF i++3DdhAWO209tiQZKDfj49PiHsm1OOrwNrTbaTXtZ67DbtV7s4DQBiHvEGnspqDbbxm 7vlg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@mediatek.com header.s=dk header.b=MlGwiC7E; spf=pass (google.com: 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 l27si18880563jaq.51.2021.05.26.04.26.06; Wed, 26 May 2021 04:26:25 -0700 (PDT) Received-SPF: pass (google.com: 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=MlGwiC7E; spf=pass (google.com: 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 S232631AbhEZGxE (ORCPT + 99 others); Wed, 26 May 2021 02:53:04 -0400 Received: from mailgw02.mediatek.com ([1.203.163.81]:6958 "EHLO mailgw02.mediatek.com" rhost-flags-OK-FAIL-OK-FAIL) by vger.kernel.org with ESMTP id S232403AbhEZGxD (ORCPT ); Wed, 26 May 2021 02:53:03 -0400 X-UUID: 687e7a7c3b7f424ab728a4513682179f-20210526 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:Reply-To:From:Subject:Message-ID; bh=VSijLJMJY/rgjRyjiGZ+4Lhjs7svu6Wpeo2O29kjuu0=; b=MlGwiC7E9Y1cAGW7yhiL+nYINdgJ6V+vZYjru601Wmv9aQ17kKJNPpGE8/L3FSvwtvpRTzL5SAcurOSH0qfTHXiASNLttcBT37C35DvZKfH9joEZF8joqc1gILz2eZJaN7PiI4EBJuZ98Tr9Ej0BAHip9cTSvLtUwvEArdMtUcA=; X-UUID: 687e7a7c3b7f424ab728a4513682179f-20210526 Received: from mtkcas34.mediatek.inc [(172.27.4.253)] by mailgw02.mediatek.com (envelope-from ) (mailgw01.mediatek.com ESMTP with TLSv1.2 ECDHE-RSA-AES256-SHA384 256/256) with ESMTP id 1909821971; Wed, 26 May 2021 14:51:29 +0800 Received: from MTKCAS36.mediatek.inc (172.27.4.186) by MTKMBS31N2.mediatek.inc (172.27.4.87) with Microsoft SMTP Server (TLS) id 15.0.1497.2; Wed, 26 May 2021 14:51:28 +0800 Received: from [10.17.3.153] (10.17.3.153) by MTKCAS36.mediatek.inc (172.27.4.170) with Microsoft SMTP Server id 15.0.1497.2 via Frontend Transport; Wed, 26 May 2021 14:51:27 +0800 Message-ID: <1622011887.21671.2.camel@mhfsdcap03> Subject: Re: [PATCH 1/3] mailbox: mtk-cmdq: Remove cmdq_cb_status From: Yongqiang Niu Reply-To: Yongqiang Niu To: Chun-Kuang Hu CC: Jassi Brar , Matthias Brugger , Houlong Wei , "Bibby Hsieh" , Dennis YC Hsieh , linux-kernel , Linux ARM , "moderated list:ARM/Mediatek SoC support" Date: Wed, 26 May 2021 14:51:27 +0800 In-Reply-To: References: <20210314233323.23377-1-chunkuang.hu@kernel.org> <20210314233323.23377-2-chunkuang.hu@kernel.org> Content-Type: text/plain; charset="UTF-8" X-Mailer: Evolution 3.10.4-0ubuntu2 MIME-Version: 1.0 X-TM-SNTS-SMTP: B54DB735DC0DF86290610CC6963C5B4F764EED6796D1CA1EDAD6909AD56B60B82000:8 X-MTK: N Content-Transfer-Encoding: base64 Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org DQpSZXZpZXdlZC1ieTogWW9uZ3FpYW5nIE5pdSA8eW9uZ3FpYW5nLm5pdUBtZWRpY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AgICBz dHJ1Y3QgY21kcV9jYl9kYXRhIGRhdGE7DQo+ID4gQEAgLTI0NCwxMCArMjQ0LDEwIEBAIHN0YXRp YyB2b2lkIGNtZHFfdGhyZWFkX2lycV9oYW5kbGVyKHN0cnVjdCBjbWRxICpjbWRxLA0KPiA+ICAg ICAgICAgICAgICAgICAgICAgICAgIGN1cnJfdGFzayA9IHRhc2s7DQo+ID4NCj4gPiAgICAgICAg ICAgICAgICAgaWYgKCFjdXJyX3Rhc2sgfHwgY3Vycl9wYSA9PSB0YXNrX2VuZF9wYSAtIENNRFFf SU5TVF9TSVpFKSB7DQo+ID4gLSAgICAgICAgICAgICAgICAgICAgICAgY21kcV90YXNrX2V4ZWNf ZG9uZSh0YXNrLCBDTURRX0NCX05PUk1BTCk7DQo+ID4gKyAgICAgICAgICAgICAgICAgICAgICAg Y21kcV90YXNrX2V4ZWNfZG9uZSh0YXNrLCAwKTsNCj4gPiAgICAgICAgICAgICAgICAgICAgICAg ICBrZnJlZSh0YXNrKTsNCj4gPiAgICAgICAgICAgICAgICAgfSBlbHNlIGlmIChlcnIpIHsNCj4g PiAtICAgICAgICAgICAgICAgICAgICAgICBjbWRxX3Rhc2tfZXhlY19kb25lKHRhc2ssIENNRFFf Q0JfRVJST1IpOw0KPiA+ICsgICAgICAgICAgICAgICAgICAgICAgIGNtZHFfdGFza19leGVjX2Rv bmUodGFzaywgLUVOT0VYRUMpOw0KPiA+ICAgICAgICAgICAgICAgICAgICAgICAgIGNtZHFfdGFz a19oYW5kbGVfZXJyb3IoY3Vycl90YXNrKTsNCj4gPiAgICAgICAgICAgICAgICAgICAgICAgICBr ZnJlZSh0YXNrKTsNCj4gPiAgICAgICAgICAgICAgICAgfQ0KPiA+IEBAIC00MTUsNyArNDE1LDcg QEAgc3RhdGljIHZvaWQgY21kcV9tYm94X3NodXRkb3duKHN0cnVjdCBtYm94X2NoYW4gKmNoYW4p DQo+ID4NCj4gPiAgICAgICAgIGxpc3RfZm9yX2VhY2hfZW50cnlfc2FmZSh0YXNrLCB0bXAsICZ0 aHJlYWQtPnRhc2tfYnVzeV9saXN0LA0KPiA+ICAgICAgICAgICAgICAgICAgICAgICAgICAgICAg ICAgIGxpc3RfZW50cnkpIHsNCj4gPiAtICAgICAgICAgICAgICAgY21kcV90YXNrX2V4ZWNfZG9u ZSh0YXNrLCBDTURRX0NCX0VSUk9SKTsNCj4gPiArICAgICAgICAgICAgICAgY21kcV90YXNrX2V4 ZWNfZG9uZSh0YXNrLCAtRUNPTk5BQk9SVEVEKTsNCj4gPiAgICAgICAgICAgICAgICAga2ZyZWUo dGFzayk7DQo+ID4gICAgICAgICB9DQo+ID4NCj4gPiBAQCAtNDUzLDcgKzQ1Myw3IEBAIHN0YXRp YyBpbnQgY21kcV9tYm94X2ZsdXNoKHN0cnVjdCBtYm94X2NoYW4gKmNoYW4sIHVuc2lnbmVkIGxv bmcgdGltZW91dCkNCj4gPiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICBsaXN0X2Vu dHJ5KSB7DQo+ID4gICAgICAgICAgICAgICAgIGNiID0gJnRhc2stPnBrdC0+YXN5bmNfY2I7DQo+ ID4gICAgICAgICAgICAgICAgIGlmIChjYi0+Y2IpIHsNCj4gPiAtICAgICAgICAgICAgICAgICAg ICAgICBkYXRhLnN0YSA9IENNRFFfQ0JfRVJST1I7DQo+ID4gKyAgICAgICAgICAgICAgICAgICAg ICAgZGF0YS5zdGEgPSAtRUNPTk5BQk9SVEVEOw0KPiA+ICAgICAgICAgICAgICAgICAgICAgICAg IGRhdGEuZGF0YSA9IGNiLT5kYXRhOw0KPiA+ICAgICAgICAgICAgICAgICAgICAgICAgIGNiLT5j YihkYXRhKTsNCj4gPiAgICAgICAgICAgICAgICAgfQ0KPiA+IGRpZmYgLS1naXQgYS9pbmNsdWRl L2xpbnV4L21haWxib3gvbXRrLWNtZHEtbWFpbGJveC5oIGIvaW5jbHVkZS9saW51eC9tYWlsYm94 L210ay1jbWRxLW1haWxib3guaA0KPiA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