Received: by 2002:a89:2c3:0:b0:1ed:23cc:44d1 with SMTP id d3csp115366lqs; Mon, 4 Mar 2024 17:33:25 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCWMiidS93yqyY19YxARnHeYZMYE2JyxrCAkOL5jfWyG1dTqVJuly0NQbt2DzjsTNfAkfTDLSZ6LL68YRoUtkAYsJx4TY0qVer4WfoAksQ== X-Google-Smtp-Source: AGHT+IEvYA0IjGg3lojFZcyaajXG8Av4VqPTdqJyVntHgPYUGlPp2NOe+NI7CzmYfq9JJym/KjKf X-Received: by 2002:a05:6830:12d1:b0:6e4:e1de:aa5b with SMTP id a17-20020a05683012d100b006e4e1deaa5bmr598440otq.7.1709602405296; Mon, 04 Mar 2024 17:33:25 -0800 (PST) Return-Path: Received: from sy.mirrors.kernel.org (sy.mirrors.kernel.org. [147.75.48.161]) by mx.google.com with ESMTPS id c17-20020a637251000000b005dc89648272si9300255pgn.24.2024.03.04.17.33.24 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 04 Mar 2024 17:33:25 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-91496-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) client-ip=147.75.48.161; Authentication-Results: mx.google.com; dkim=pass header.i=@mediatek.com header.s=dk header.b=pQM7qfo1; dkim=pass header.i=@mediateko365.onmicrosoft.com header.s=selector2-mediateko365-onmicrosoft-com header.b=rmXuabF2; arc=fail (signature failed); spf=pass (google.com: domain of linux-kernel+bounces-91496-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) smtp.mailfrom="linux-kernel+bounces-91496-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=mediatek.com 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 sy.mirrors.kernel.org (Postfix) with ESMTPS id F2E1AB21E41 for ; Tue, 5 Mar 2024 01:33:21 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 5C4A217C6A; Tue, 5 Mar 2024 01:33:15 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=mediatek.com header.i=@mediatek.com header.b="pQM7qfo1"; dkim=pass (1024-bit key) header.d=mediateko365.onmicrosoft.com header.i=@mediateko365.onmicrosoft.com header.b="rmXuabF2" Received: from mailgw01.mediatek.com (unknown [60.244.123.138]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id B689E17BAE for ; Tue, 5 Mar 2024 01:33:10 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=fail smtp.client-ip=60.244.123.138 ARC-Seal:i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1709602393; cv=fail; b=Hv4TKIUYw5TXE79tImP1aszB/klb5b++f/v7q7IWlOSJtTn98KV7Doz9GiBmKMxGAgPRBVn2CCGCIQGbxcUIs318mtUdGXv7ZNCknQ7fPlFtOdwSpCbrBw77UFvay7bFuYinxXIBCrYDmV1fgAqQlQubbvJlMymVr72JpEdzD8g= ARC-Message-Signature:i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1709602393; c=relaxed/simple; bh=9XSpNCXnSVQYCT6I5/t2f6WkNaTAODWBHjXrF6pMaaU=; h=From:To:CC:Subject:Date:Message-ID:References:In-Reply-To: Content-Type:MIME-Version; b=TzVkQSBL5fwdh0dYTYNm7906Qi4sGLo1Ii3y6gRwPhzt7yuQcAq42PxOCW4xSgAUc3GgfSfFPAZ2aHX1kzINZeOcjZuLgfqjUz2Ow8Ts6EqhqxTi0FoSpaXRXu8FgRkNYfavXtR6dMKfKtw2oTwc6dbHWcosUoSau2R4cWhhjyQ= ARC-Authentication-Results:i=2; smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=mediatek.com; spf=pass smtp.mailfrom=mediatek.com; dkim=pass (1024-bit key) header.d=mediatek.com header.i=@mediatek.com header.b=pQM7qfo1; dkim=pass (1024-bit key) header.d=mediateko365.onmicrosoft.com header.i=@mediateko365.onmicrosoft.com header.b=rmXuabF2; arc=fail smtp.client-ip=60.244.123.138 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=mediatek.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=mediatek.com X-UUID: 4e7db942da9011eeb8927bc1f75efef4-20240305 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=mediatek.com; s=dk; h=MIME-Version:Content-Transfer-Encoding:Content-ID:Content-Type:In-Reply-To:References:Message-ID:Date:Subject:CC:To:From; bh=9XSpNCXnSVQYCT6I5/t2f6WkNaTAODWBHjXrF6pMaaU=; b=pQM7qfo1nYBtqpAPPbGeZdHinoTpFygmWsHLW3rsxzZHavmtklM87vVbBtBKq0s5J9cNqpvwJB5GmwBmQQaM+ZAdyvFUJBHeSRKauJ5R7jmpM2x2h220u4RxReKYP+yHh7DfxETaSzxpLgJW/++kKnPeAYQJSu0rkyH9xZvLhEE=; X-CID-P-RULE: Release_Ham X-CID-O-INFO: VERSION:1.1.37,REQID:a3bc5b1c-0141-43f0-a735-19ef83fe650f,IP:0,U RL:0,TC:0,Content:0,EDM:0,RT:0,SF:0,FILE:0,BULK:0,RULE:Release_Ham,ACTION: release,TS:0 X-CID-META: VersionHash:6f543d0,CLOUDID:7d799c84-8d4f-477b-89d2-1e3bdbef96d1,B ulkID:nil,BulkQuantity:0,Recheck:0,SF:102,TC:nil,Content:0,EDM:-3,IP:nil,U RL:0,File:nil,RT:nil,Bulk:nil,QS:nil,BEC:nil,COL:0,OSI:0,OSA:0,AV:0,LES:1, SPR:NO,DKR:0,DKP:0,BRR:0,BRE:0 X-CID-BVR: 0 X-CID-BAS: 0,_,0,_ X-CID-FACTOR: TF_CID_SPAM_SNR X-UUID: 4e7db942da9011eeb8927bc1f75efef4-20240305 Received: from mtkmbs14n2.mediatek.inc [(172.21.101.76)] by mailgw01.mediatek.com (envelope-from ) (Generic MTA with TLSv1.2 ECDHE-RSA-AES256-GCM-SHA384 256/256) with ESMTP id 1249908836; Tue, 05 Mar 2024 09:33:02 +0800 Received: from mtkmbs10n2.mediatek.inc (172.21.101.183) by mtkmbs13n1.mediatek.inc (172.21.101.193) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.1118.26; Tue, 5 Mar 2024 09:33:00 +0800 Received: from APC01-TYZ-obe.outbound.protection.outlook.com (172.21.101.237) by mtkmbs10n2.mediatek.inc (172.21.101.183) with Microsoft SMTP Server id 15.2.1118.26 via Frontend Transport; Tue, 5 Mar 2024 09:33:00 +0800 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=Hd/Yvln+UnZEHYMsZuNhKHt2m9Q9LxdisEXRrN5mYKFRU78K8/xMuhKQvATKuyn4oi7A5WgUNUfbJbwiBr+NwHX1V6Ml7RMkGaeUqMVzB+gAgF0MdygXpwDcOWNxhN8ZiXopTdU26VW0igLjEOIaReNWcmdqYOruRyv8h+da54179okI/VyC37hOaQNCloeUmVD0YqYVda3ZTYOMHN4mTDPIk+NLf3pD/A0d6wDJqWoPDXv3lTQ44a3omEgR+89Els/cIN80td7l1OecFCwKMAm3mnA5ScfzZv0evobdqRF5kkXom4ZylQbNHzG0CXksgXt1giwJnvEtdsmgG+wrrQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=9XSpNCXnSVQYCT6I5/t2f6WkNaTAODWBHjXrF6pMaaU=; b=lbRKYnusXEHP3d/Eoq8kPifEzTdY16rc4PFrmA+i2pR3Q+6nIznl3JX3lHSDs1uLMCBDw+LRHiad+YRzewflo7vhg1vC/26CkGNGha5ExgsScOy7+O5bFQFZyGYr/5gEse5Sgj7a+XmroGMmVlsBif3pNuv7xEtWrjy58F07MRtPH8z5042b2utkZd5LUip/b2+K95jIl0rtfLeEAXdkLDg+U7FcUvsdC3fd80TJkQkTjzRBxJk3h8L5ZJkDpiIm/QrZekLGt3bv8SwMbtVZqKoiArcRCyFmwsLwUXZ7QxV/jeGQ+syNnmHUfwSMGIIpqUP8wFcQI0Z67mKUZTksiQ== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=mediatek.com; dmarc=pass action=none header.from=mediatek.com; dkim=pass header.d=mediatek.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=mediateko365.onmicrosoft.com; s=selector2-mediateko365-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=9XSpNCXnSVQYCT6I5/t2f6WkNaTAODWBHjXrF6pMaaU=; b=rmXuabF2ucUaAoJw3Ii34ygumu4YMCjf11wiqJIiwVaOq0DvoZyHg36VV1kqQNvJlHCVTTbf7YTjiNUyF/CrH7WU40STRqqChu4ZsNFLMCKfY59eEAgLZblUKCfVb3upUufp5f1WRuS3YNKBOYlS6o31RsE8y+ok2zzdQRukerg= Received: from SEYPR03MB7682.apcprd03.prod.outlook.com (2603:1096:101:149::11) by KL1PR03MB7502.apcprd03.prod.outlook.com (2603:1096:820:e7::6) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7339.38; Tue, 5 Mar 2024 01:32:56 +0000 Received: from SEYPR03MB7682.apcprd03.prod.outlook.com ([fe80::bc7c:deed:ae:ed4c]) by SEYPR03MB7682.apcprd03.prod.outlook.com ([fe80::bc7c:deed:ae:ed4c%4]) with mapi id 15.20.7339.035; Tue, 5 Mar 2024 01:32:56 +0000 From: =?utf-8?B?SmFzb24tSkggTGluICjmnpfnnb/npaUp?= To: "jassisinghbrar@gmail.com" , "matthias.bgg@gmail.com" , "angelogioacchino.delregno@collabora.com" , "chunkuang.hu@kernel.org" CC: "linux-mediatek@lists.infradead.org" , =?utf-8?B?U2luZ28gQ2hhbmcgKOW8teiIiOWciyk=?= , "linux-kernel@vger.kernel.org" , =?utf-8?B?SmFzb24tY2ggQ2hlbiAo6Zmz5bu66LGqKQ==?= , =?utf-8?B?U2hhd24gU3VuZyAo5a6L5a2d6KyZKQ==?= , =?utf-8?B?TmFuY3kgTGluICjmnpfmrKPonqIp?= , Project_Global_Chrome_Upstream_Group , "linux-arm-kernel@lists.infradead.org" Subject: Re: [PATCH 3/5] soc: mediatek: mtk-cmdq: Add cmdq_pkt_poll_addr() function Thread-Topic: [PATCH 3/5] soc: mediatek: mtk-cmdq: Add cmdq_pkt_poll_addr() function Thread-Index: AQHaa8lb4thC2cBwFkiYYHfwQ1M70LEnX4EAgAEDAgA= Date: Tue, 5 Mar 2024 01:32:56 +0000 Message-ID: <480e5b574f8fd0a1d25ad882f76042cb358ebac5.camel@mediatek.com> References: <20240301111126.22035-1-jason-jh.lin@mediatek.com> <20240301111126.22035-4-jason-jh.lin@mediatek.com> In-Reply-To: Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: authentication-results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=mediatek.com; x-ms-publictraffictype: Email x-ms-traffictypediagnostic: SEYPR03MB7682:EE_|KL1PR03MB7502:EE_ x-ms-office365-filtering-correlation-id: 01d83648-96a1-4f59-3f09-08dc3cb42f0e x-ms-exchange-senderadcheck: 1 x-ms-exchange-antispam-relay: 0 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: pVnQruQqoc/50pJfMC19SW7xhGHwfeZKZPCcTAypRKMUoiCHFQ6lEJ/eRAf1VG8U4KH73JS9ehpHOe6qpQ0zpRrhOIPBVl22xTkhibpJVwi9nSSn9JKoBMJPtMkWqka2xQDgTRs4u2vnQ38EWsrDOvmLucMHtomQMkfD1dYKqD/UrOOdddUSNVS6+ZKLR7JsobSiFfJEAwSR6NI4SDbaGrIPgp4qGq28F6X5Q3kZ/O4gcCoQi6A5WOau4rWawplSUBaafUsUx1hTniU7UqTVbTI4ABQyvGb4il6/6fphLCIoNNAUxGgnNU+576yHH8vQQXgPUfG3UfkaDiEx/084u3H+92Q6eN+zGLNCweYciSQ2rtgAxN+mCKsWOMMlDzXstLT48E9j1D15d8h6iE2F9Cm2fP1RssXnrgHdKNtftEKE6C+RnpKM8Ic+NsMikBYgfR5Rrv+ajTOLYsepMxkwg2Qaelje7hoyooHPOsrzQLMZYtaq6Jnum+heCs2ojw0NRR924TInV6tXoPjEwIzKMVf//5e5pkzuUACMOYEJhQFMyyx2kHvYQAEuPQGg2JKEjyImA3k6Lr/uq4vQ/xGjFpAG3vm8zmk3QRqHlBXz72ZxSTIjaGG/hbzGjj1PckpES51ZlPSXypwAvVf9S9WSae55qTYbQv3Ydb4N0EL2vRDK648BS3oh/Eq38J/6iu2QiqhTCVTZIB2C/OyxxYYxPA== x-forefront-antispam-report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:SEYPR03MB7682.apcprd03.prod.outlook.com;PTR:;CAT:NONE;SFS:(13230031)(376005)(38070700009);DIR:OUT;SFP:1101; x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?utf-8?B?M0M4RDRJT1VWd085N0J5QS9sU3ZOR284NGk2T05pWk50Mk4yOTBTbnViUGNT?= =?utf-8?B?VHJZUkV1dDdKZnJGb0MxK015anJ1ZERrQXk0TERnUjhoZXBPQmpldUd3Q0ly?= =?utf-8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uM1hvMUZrOU14c1hsQUlrZ3psSFpFRUZT?= =?utf-8?B?QTRwNHhHd0JtZldPRnJsa1I4Smg3SElxRnhKR0MxRVlBUERTTmF6QWhoekxx?= =?utf-8?B?WEx6NHBldXBaRVU0RzgrTUw2QXhxOGR5d0lUZ2QvR2RxaVlhMmVpT3lXK201?= =?utf-8?B?NCthdWJaelVHcGdwMWRWb1pJbEppTEZnQmowZkxIZ2szcnJJZmFDZEVObXA3?= =?utf-8?B?UjZDUWlDbi9rQnZEeE1tc0VPbklkVE9mTENTMzZ5NHN2UStJQkh3cFlvWjVt?= =?utf-8?B?WWc9PQ==?= Content-Type: text/plain; charset="utf-8" Content-ID: <97DF934B21566E4783FA493CBC865577@apcprd03.prod.outlook.com> 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-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-AuthSource: SEYPR03MB7682.apcprd03.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: 01d83648-96a1-4f59-3f09-08dc3cb42f0e X-MS-Exchange-CrossTenant-originalarrivaltime: 05 Mar 2024 01:32:56.0608 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: a7687ede-7a6b-4ef6-bace-642f677fbe31 X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-CrossTenant-userprincipalname: 5fkgDN34nRuVCRyNoCqRV8DrdQrRvBdj/ZiKZSk9V8GVluDiinM6cAScCdNcfRrMcOdaPmqCJiM6h6u3l0Gie0/hxLvZnHPJwbzuL+WlNu4= X-MS-Exchange-Transport-CrossTenantHeadersStamped: KL1PR03MB7502 SGkgQW5nZWxvLCANCg0KVGhhbmtzIGZvciB0aGUgcmV2aWV3cy4NCg0KT24gTW9uLCAyMDI0LTAz LTA0IGF0IDExOjA1ICswMTAwLCBBbmdlbG9H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