Received: by 2002:ab2:3141:0:b0:1ed:23cc:44d1 with SMTP id i1csp1593117lqg; Sun, 3 Mar 2024 18:40:18 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCU4wS01Ec8gQgdZ2ciS7PV86Vr5sg+IQveShuEmkek44Vc74zjPm3RsN2ppFCoSBjGRtER4/LiBYZ2PvqZ2c5FzDGmJeXuZIgnZ0ZW4Sg== X-Google-Smtp-Source: AGHT+IF+mR5zUUzN1YPB22tDJSxEVpVNs3ckhXjrAglhnml+CitmWJ9cUoZvM831Gqbg7/DrcRto X-Received: by 2002:a05:6a20:bf09:b0:1a1:e41:979b with SMTP id gc9-20020a056a20bf0900b001a10e41979bmr4897826pzb.41.1709520018532; Sun, 03 Mar 2024 18:40:18 -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 4-20020a170902ee4400b001dbdd62dd04si7115184plo.625.2024.03.03.18.40.17 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 03 Mar 2024 18:40:18 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-89983-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=MHZv7ZbT; dkim=pass header.i=@mediateko365.onmicrosoft.com header.s=selector2-mediateko365-onmicrosoft-com header.b=HXuoX4Rv; arc=fail (signature failed); spf=pass (google.com: domain of linux-kernel+bounces-89983-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) smtp.mailfrom="linux-kernel+bounces-89983-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 9DE9EB20AF6 for ; Mon, 4 Mar 2024 02:40:11 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id BC72C211C; Mon, 4 Mar 2024 02:40:05 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=mediatek.com header.i=@mediatek.com header.b="MHZv7ZbT"; dkim=pass (1024-bit key) header.d=mediateko365.onmicrosoft.com header.i=@mediateko365.onmicrosoft.com header.b="HXuoX4Rv" Received: from mailgw02.mediatek.com (unknown [210.61.82.184]) (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 EDD4C522D for ; Mon, 4 Mar 2024 02:40:01 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=fail smtp.client-ip=210.61.82.184 ARC-Seal:i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1709520004; cv=fail; b=Wf2OOmfNCvXjCpuDNAjqU4N70FRtX/C4CoZ28hRBpdKzbZ6Rjjhwf98tYRuIukRnErU4KOmea/SrGf11CHvzrlMVz7Ki3kE3tNhZlwUPEDSXpAf0svxof7W+Ex12HmdlcQgLOyIiWQtqCCqsrlmxnWLEPamXp9/ynaZIHxu2qQo= ARC-Message-Signature:i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1709520004; c=relaxed/simple; bh=DHzoKuu9hMova/2lG6IdKmwRdpoXNZ16mFwX3VJdlUM=; h=From:To:CC:Subject:Date:Message-ID:References:In-Reply-To: Content-Type:MIME-Version; b=cWYGemLbia5CcPx3h61JwXF1sWmWNCSzTZmA0sg6/Fm5UophpsleCPdpwX6eSxcxI5keNwFsNdfMR1u8Gr2d7TeWFv3CY8LCwlKJMv96JALLr7Idystqi/KhEJynv8FPIQHK0uHef3DmVlsiMObFXtmsV7B6VnSKfwPoLXdiQTA= 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=MHZv7ZbT; dkim=pass (1024-bit key) header.d=mediateko365.onmicrosoft.com header.i=@mediateko365.onmicrosoft.com header.b=HXuoX4Rv; arc=fail smtp.client-ip=210.61.82.184 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: 7d413666d9d011ee935d6952f98a51a9-20240304 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=DHzoKuu9hMova/2lG6IdKmwRdpoXNZ16mFwX3VJdlUM=; b=MHZv7ZbTpM4WGx+J+5tS+WR61U4W+DHnCyuLH+tAgNyDh9pRTM8JcNPeHqBb9CThAUx78aO2mU7hfgszHpDGEGrMONGkQOKtSVMlpjlXp4nI5ZTp3Q8zYWpkMXbxZtAzViOhh6wrqECA0Ak7IqKDPx48boaKk2sJ7PFSNm5n5OQ=; X-CID-P-RULE: Release_Ham X-CID-O-INFO: VERSION:1.1.37,REQID:4f8aee31-cba2-4028-af2d-bf4e9a940da6,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:88e81081-4f93-4875-95e7-8c66ea833d57,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: 7d413666d9d011ee935d6952f98a51a9-20240304 Received: from mtkmbs10n1.mediatek.inc [(172.21.101.34)] by mailgw02.mediatek.com (envelope-from ) (Generic MTA with TLSv1.2 ECDHE-RSA-AES256-GCM-SHA384 256/256) with ESMTP id 1821996714; Mon, 04 Mar 2024 10:39:57 +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; Mon, 4 Mar 2024 10:39:56 +0800 Received: from SINPR02CU002.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; Mon, 4 Mar 2024 10:39:55 +0800 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=jFRFueCb9FFD0UObm6/w9onuyEwffkgtbwiVgpMj15XALVNKvnkpKlnjwyBq/W9/nl1nh8mBEhSaKkNAD1c7PnU3da+LpQKt7yb3Xj0jUXoGPnhyaLvxI8bO/hYfEHesY3eVz8PXUg55A98b55/ch2O+qEVe0Sk50OZDnyeLmrvF5lUhumTIQ1oagXUVEeWMZ3ZAoCM2nIeOqneFuwoL+x1pRl+YEN7IyOaDXxQWPZ7h3VBdiLSbbuXFSZ8J0EIf/DlCg251ripqwZON/nQN5GdF/Rb8WRnEq74PhRLnEtHx+nk1xRQ9h2uvL7mH6DlgJH1wJw4oxTIwAYXmg/tUlw== 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=DHzoKuu9hMova/2lG6IdKmwRdpoXNZ16mFwX3VJdlUM=; b=gUXA3mj0ttzyqsMxQJV7Si4xf9fbgkCCE7+omXK0p2pcvocpeC/Fnmgshjq8XSf9EeYEHLH4GjrIlXUemhSFMBVDSqEGhcKH3yrsGDTO15/+hd0JXtsiHWvKKNp8Nrj12rR3oT3VB654EPD4H33SngqVB4C2TaRYDs+HnIPqK34x09ZmuOMIevzyilX7+WWxEu87Q32824ITljBQT36+lcWwNmF0qOcjeTsNEz/dCiYntxr7W/KWMB4U3cRd5ejDLFRJlGawovcoXnnq1p5X41WnQIzj8rqOAmya8U2VdyG33KpVyfEWzv97t3M51+31/z/75/WuBnJeSNG0TwGAew== 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=DHzoKuu9hMova/2lG6IdKmwRdpoXNZ16mFwX3VJdlUM=; b=HXuoX4Rvg1xtBosQaPjOyD106dpv/WFSMgsnoUO4p+1xXWnY+VBvNC0J/S2IFmKBMXR48X1OWKQN7uQaziywuMWvUo9XNH1NM8C1n5FuH51k2qxgCYEW5ZO/pipYk4Y/rcWBaUb9cJgA32LijUkK6P/wMXYqjHbgh9EU7mkdPHU= Received: from TYZPR03MB6624.apcprd03.prod.outlook.com (2603:1096:400:1f4::13) by TYZPR03MB7244.apcprd03.prod.outlook.com (2603:1096:400:285::7) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7339.36; Mon, 4 Mar 2024 02:39:54 +0000 Received: from TYZPR03MB6624.apcprd03.prod.outlook.com ([fe80::f3b6:91a7:e0fb:cb27]) by TYZPR03MB6624.apcprd03.prod.outlook.com ([fe80::f3b6:91a7:e0fb:cb27%7]) with mapi id 15.20.7339.035; Mon, 4 Mar 2024 02:39:53 +0000 From: =?utf-8?B?Q0sgSHUgKOiDoeS/iuWFiSk=?= To: "jassisinghbrar@gmail.com" , "matthias.bgg@gmail.com" , =?utf-8?B?SmFzb24tSkggTGluICjmnpfnnb/npaUp?= , "chunkuang.hu@kernel.org" CC: "linux-kernel@vger.kernel.org" , =?utf-8?B?U2luZ28gQ2hhbmcgKOW8teiIiOWciyk=?= , "linux-mediatek@lists.infradead.org" , =?utf-8?B?SmFzb24tY2ggQ2hlbiAo6Zmz5bu66LGqKQ==?= , =?utf-8?B?U2hhd24gU3VuZyAo5a6L5a2d6KyZKQ==?= , =?utf-8?B?TmFuY3kgTGluICjmnpfmrKPonqIp?= , Project_Global_Chrome_Upstream_Group , "linux-arm-kernel@lists.infradead.org" , "angelogioacchino.delregno@collabora.com" Subject: Re: [RESEND, PATCH 2/5] soc: mediatek: mtk-cmdq: Add cmdq_pkt_mem_move() function Thread-Topic: [RESEND, PATCH 2/5] soc: mediatek: mtk-cmdq: Add cmdq_pkt_mem_move() function Thread-Index: AQHaa+cMxMnSEzOdcEq09CiuIm1YGrEm4qqA Date: Mon, 4 Mar 2024 02:39:53 +0000 Message-ID: References: <20240301144403.2977-1-jason-jh.lin@mediatek.com> <20240301144403.2977-3-jason-jh.lin@mediatek.com> In-Reply-To: <20240301144403.2977-3-jason-jh.lin@mediatek.com> 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: TYZPR03MB6624:EE_|TYZPR03MB7244:EE_ x-ms-office365-filtering-correlation-id: 5c060c2a-6a1c-4d24-dcd0-08dc3bf45f78 x-ms-exchange-senderadcheck: 1 x-ms-exchange-antispam-relay: 0 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: NDYLEjyr3hqGzdWawdbJwpDBS+FH9VLx6YQACKQO3LhqU7TDBjy1tffiWmnrjGU/hw+mRQYVQT3RACXslNHfD5OZIM7kqnkAwyha0AJPWArYuABdrarvAQy+Nu2Khn2Gpw6YvT7q/s0fc7ZT8XmRlnx2RFnT7fC6HaCHk7qRW+0z5ft35YHXIX7GCJDVmxecXWcp1sDOA8VEK+g+gDwG3kEc4Hj4XEUJQlC3FoPH9CuPZCoDOfS6Hcsv5n1DpGOULCj1N9/nB53k4i1Wrc8mTCuZRlB4Up0gUu5i20UqPduyAdQ8lrFnTiJmncL8Ro531azXQOnM5qi0RcU7FzC7lQLb5WEgOocEadLgStq6wLjk7n83ACrwDO2ByOjW6BvfQkpCOklpJQcnwmCzjfgP4Wsbj4haRMii2YwhSCqFuVd9prheVNPg92GwW5ibVdDoBFgRJXaLOSsx7QB/KTrTmwiyM3xVwOkM+DS9TpnUt5QThvlCVEesaWCl3Xpzyodc15sPyMMsxnvm9QvtA/vCJhzk+tqtqn6WBsxg+/LQlwt1wC8VQKH+SAoJQfTK6GHWDhILb8Z8jOqwmgIGcZxEAEk7ZqIypk6RZHETA+a/fMk1nZcfVtEQANO4EaMHJNV0GuamlOsIxrN7VbU1THo42fZLpr3eJHlAcXMm0CdJfcymSYkWHXHnksWxeLUfpTUo2XiQYTanmd/qJL8eklrs06tzxg0OKcjCzB4jNCy+sq4= x-forefront-antispam-report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:TYZPR03MB6624.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?VU9DemM2L2E3SGJpejJJVFl6QWRnTTdWU1BQRTc2ZnZJWjZGMzNiZUdHd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yL20vcFQvMEk4V1BlbHRqbk8wL09WOXlSRk8xMWZHWFI5b0hZVVdJ?= =?utf-8?B?dUZPckRPNlZyLzhiK2Z6WnhvZFc3YXhBUUZUOUpIY3NIVEd2Ulh2YjNzUkZw?= =?utf-8?B?dGRnZlIzNXdTQi9IYzR4QlkxQWppV241Vkd4TDM3K1FpaEdPN0ErREF4SHlt?= =?utf-8?B?UkNCZGhFUk9tVURWakxUWVk3TEZHTzQvK0V5SFFaWTBjMUw4U1E3dXo1OWNB?= =?utf-8?B?UFFTUVMwdGFEbzMwdU9Fdit6MUxIUTlwMlVRa2k2Umd5RjJ4K0l4bmQzeSsr?= =?utf-8?Q?cVqo8eGsilzlp3JLG9yvbXb/n?= Content-Type: text/plain; charset="utf-8" Content-ID: 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: TYZPR03MB6624.apcprd03.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: 5c060c2a-6a1c-4d24-dcd0-08dc3bf45f78 X-MS-Exchange-CrossTenant-originalarrivaltime: 04 Mar 2024 02:39:53.9013 (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: LzI/qtmOy5jEWrLK3dsJLj103sS4XeArU22TZhM3k0hPRSWHWdyjtt3uZBuTY/ZzVsODANkFEjMVR+cTCTDbNw== X-MS-Exchange-Transport-CrossTenantHeadersStamped: TYZPR03MB7244 SGksIEphc29uOg0KDQpPbiBGcmksIDIwMjQtMDMtMDEgYXQgMjI6NDQgKzA4MDAsIEphc29uLUpI LkxpbiB3cm90ZToNCj4gQWRkIGNtZHFfcGt0X21lbV9tb3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