Received: by 2002:a25:2c96:0:0:0:0:0 with SMTP id s144csp442874ybs; Sun, 24 May 2020 10:03:55 -0700 (PDT) X-Google-Smtp-Source: ABdhPJx63PRHURn6BL8i5QsuhN6aBat9c7EqTx0WugadnqE5TkaJh9UpDdHQqAYbd9so7kCnuK6l X-Received: by 2002:a17:906:9384:: with SMTP id l4mr15529797ejx.168.1590339835519; Sun, 24 May 2020 10:03:55 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1590339835; cv=none; d=google.com; s=arc-20160816; b=eiA//F4xQrBTn1c4OqSvKkN+HZux2tLwQUZQ5DRafOLLCppw7y9vwIwEST5XbOwzgg Ilb5DvxqMCgiCgvcHDYvStBV1w1N/OKsQQv6ajv2NLgvV7otwKpS8HlhrqGBj/tilAyl ENGf5dhggPpC0VF8MSVgVY+dQTXBWOQT/Gq4wOTQ1iHAVter+hYcU/GTMdOqKtgG8JhM xv+gu0/sr+duk9uNFJvJvXGhBXfXXLNOCDobVWRwM+dEdzRoHcs8m8aNDkuBpFHOcLRy ljHUVAR+8mW62VN8uTb69kXIMEp9K3s6jG9p2yKIoizqiunqa+MnWr8UJ7r2H3M0ckzg QmQg== 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=VWg9xLHl1hZCSOAWL6vw6qKUNe5aIY7KvlZ9nTgIkD0=; b=qb8o2rdSvnImETJwI/KfNXMOzTuyMruFLPjxN2/QaC2e9/hRFJVZuCGLtwCG51+bye rJUnfuTb2wQukpecILvLxnKJaSkBEEavBfpAz6I39Irep5PbyXYha9Go5aHJiShJ4Eq9 jEv6PYYa+vkASskkqU003PfuA0UgewAtbvcc8l+jKL08l+N99eNkdDaV1mub0BCqyntx zVfOUhsuHVwT9C90ZsTIY31HmjwVs84Ff12R5yKapSkZuHZzZ52FdfuXNJuxkqw9qm1w MFR29OhMjVRXeFrG85ny8jHPqTtnzYyPWFg+lNuSfCb9qq8LQGb6fCGaaacBdvcJi1l5 hqww== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@mediatek.com header.s=dk header.b=PtnRGiXH; 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 a23si8380057ejk.653.2020.05.24.10.03.30; Sun, 24 May 2020 10:03:55 -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=PtnRGiXH; 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 S2387726AbgEXRBn (ORCPT + 99 others); Sun, 24 May 2020 13:01:43 -0400 Received: from mailgw01.mediatek.com ([210.61.82.183]:46885 "EHLO mailgw01.mediatek.com" rhost-flags-OK-FAIL-OK-FAIL) by vger.kernel.org with ESMTP id S1728847AbgEXRBm (ORCPT ); Sun, 24 May 2020 13:01:42 -0400 X-UUID: c1861f6630564397b9c51b0e36a43069-20200525 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=VWg9xLHl1hZCSOAWL6vw6qKUNe5aIY7KvlZ9nTgIkD0=; b=PtnRGiXHGb9NjV39BtEj1gEVvO0QO4zL0yD9hrYcKyZi2pXyb/GoETvF3vJA+kOuJAR8hXMrqQEGDM15Ky/xJm8ZHF065bRAkPVIVOPyT+C7D7yK5SbTJBmqwXb2v3jVMAtuO1W7+Q9PKuCFS2EsPd/TXdq/usJAifzL/OKdxHw=; X-UUID: c1861f6630564397b9c51b0e36a43069-20200525 Received: from mtkcas08.mediatek.inc [(172.21.101.126)] by mailgw01.mediatek.com (envelope-from ) (Cellopoint E-mail Firewall v4.1.10 Build 0809 with TLS) with ESMTP id 1331326202; Mon, 25 May 2020 01:01:37 +0800 Received: from mtkcas08.mediatek.inc (172.21.101.126) by mtkmbs01n2.mediatek.inc (172.21.101.79) with Microsoft SMTP Server (TLS) id 15.0.1497.2; Mon, 25 May 2020 01:01:32 +0800 Received: from [172.21.77.33] (172.21.77.33) by mtkcas08.mediatek.inc (172.21.101.73) with Microsoft SMTP Server id 15.0.1497.2 via Frontend Transport; Mon, 25 May 2020 01:01:31 +0800 Message-ID: <1590339695.31286.4.camel@mtkswgap22> Subject: Re: [PATCH v5 06/13] soc: mediatek: cmdq: add assign function From: Dennis-YC Hsieh To: Matthias Brugger CC: Rob Herring , Mark Rutland , Jassi Brar , Philipp Zabel , David Airlie , Daniel Vetter , , , , , , Bibby Hsieh , CK Hu , Houlong Wei , , HS Liao Date: Mon, 25 May 2020 01:01:35 +0800 In-Reply-To: References: <1583664775-19382-1-git-send-email-dennis-yc.hsieh@mediatek.com> <1583664775-19382-7-git-send-email-dennis-yc.hsieh@mediatek.com> Content-Type: text/plain; charset="UTF-8" X-Mailer: Evolution 3.2.3-0ubuntu6 MIME-Version: 1.0 X-TM-SNTS-SMTP: 2DF60E4E6D76568CECD68ACA0056E41726E257DA51C8FFE651A6CBAA28A26BFD2000: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 SGkgTWF0dGhpYXMsDQoNClRoYW5rcyBmb3IgeW91ciBjb21tZW50Lg0KDQpPbiBTYXQsID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