Received: by 2002:a25:c205:0:0:0:0:0 with SMTP id s5csp682149ybf; Fri, 28 Feb 2020 05:46:07 -0800 (PST) X-Google-Smtp-Source: APXvYqwl183rVHoob7ElWrAK9ILI/LYn0oLetCDW+T4XfJbjhZYumNLoVD6Zh0UTls3ht9Gy2Fxw X-Received: by 2002:a54:4396:: with SMTP id u22mr3238404oiv.128.1582897567094; Fri, 28 Feb 2020 05:46:07 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1582897567; cv=none; d=google.com; s=arc-20160816; b=r9mjlp9m0GwZU6K0cxY+KX2x2O1vggJ6xTNnq3h2nquGGzMv9hMqnGOepWzt8dWjDv gpTf02fyX/VSqyn7T8VoNRsc65TVU7tSoGQC2zgcJDCnL+8YgBPEIPR6aRCDANteuGNb eaDHxRwVSgz8UAIpEhsl9b47JslgJ1KAlyI04KEhw+yPtSpTDcwjBavOzsD15hpoj4Jv NItprZrSshPhtbaUvBfa1F6HJgp4LG+Lgo8YXxjFr6xj4NO8ryXTi7jipyPpcxfPV9zr l2wWJIdmdPyig0wsAyxqoCaQU0qlqJek3On47xOAVmsoi0+Md9ePb3HlGbqFxXDdsgDE eqFQ== 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:message-id:date:subject:cc:to:from :dkim-signature; bh=YLUdJKRfiJIcoz0CVJslG4/S74gVNxgmK3lksKBnILo=; b=YH7sll3lDqM7g3Zfk+mJwsWzdloTcCTiq/lhEqRrIQ3DZe+sjdr/ctxGqdTgKWSiBC NWrwbKK5TE+Ng7Pet/8N4WZdRV4wu8XDTUmQ8x1mEs16WD80AV3UWf/IbUxv/2DYG3B1 5jcaruzfMh0AFJHD8kM+oqtkwSpRvirKh40CA8ZoYSogHoBjZJ5tE+wUpiL59ikhWt8Z /DjGI50goNrpa5rsxghjcsLsIyjSnA8nSFnchIau8pVdtiMQ3H5KHIhH1quDD9zId181 fJd/asCrG0U3BeCvO9PCRnYbXxz6YhlcsGBy+Eutk0wR50r5t5g0ANBuuEel8rhSeeDp mmEA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@mediatek.com header.s=dk header.b=Ttk8HpDc; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 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. [209.132.180.67]) by mx.google.com with ESMTP id t9si1472137otp.57.2020.02.28.05.45.53; Fri, 28 Feb 2020 05:46:07 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@mediatek.com header.s=dk header.b=Ttk8HpDc; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 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 S1727257AbgB1Np0 (ORCPT + 99 others); Fri, 28 Feb 2020 08:45:26 -0500 Received: from mailgw01.mediatek.com ([210.61.82.183]:3103 "EHLO mailgw01.mediatek.com" rhost-flags-OK-FAIL-OK-FAIL) by vger.kernel.org with ESMTP id S1727198AbgB1NpZ (ORCPT ); Fri, 28 Feb 2020 08:45:25 -0500 X-UUID: eb7561b2d4244b5b8f8e12dc32e9df4b-20200228 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=mediatek.com; s=dk; h=Content-Transfer-Encoding:Content-Type:MIME-Version:References:In-Reply-To:Message-ID:Date:Subject:CC:To:From; bh=YLUdJKRfiJIcoz0CVJslG4/S74gVNxgmK3lksKBnILo=; b=Ttk8HpDcA5bZW6/9vbvooYjr4W7AhI9/X/n9QGXoL/cqMSzLtMfetS3AGqRA6EEfWSZKe7Hf3kSJg13rwI5O3XVjmZzbUVMYEWUM3dVhGDCdbrDxflZ4HPAiswfKQUfLI9JNpjRirlXOtH8sgt4kN/ADHMGQVITEdZmU/sbk/3w=; X-UUID: eb7561b2d4244b5b8f8e12dc32e9df4b-20200228 Received: from mtkcas09.mediatek.inc [(172.21.101.178)] by mailgw01.mediatek.com (envelope-from ) (Cellopoint E-mail Firewall v4.1.10 Build 0809 with TLS) with ESMTP id 332029808; Fri, 28 Feb 2020 21:45:12 +0800 Received: from mtkcas08.mediatek.inc (172.21.101.126) by mtkmbs08n1.mediatek.inc (172.21.101.55) with Microsoft SMTP Server (TLS) id 15.0.1395.4; Fri, 28 Feb 2020 21:46:45 +0800 Received: from mtkswgap22.mediatek.inc (172.21.77.33) by mtkcas08.mediatek.inc (172.21.101.73) with Microsoft SMTP Server id 15.0.1395.4 via Frontend Transport; Fri, 28 Feb 2020 21:45:04 +0800 From: Dennis YC Hsieh To: Rob Herring , Matthias Brugger , Jassi Brar CC: , , , , Bibby Hsieh , CK Hu , Houlong Wei , , , Ming-Fan Chen , Dennis YC Hsieh Subject: [PATCH v3 08/13] soc: mediatek: cmdq: add read_s function Date: Fri, 28 Feb 2020 21:44:16 +0800 Message-ID: <1582897461-15105-10-git-send-email-dennis-yc.hsieh@mediatek.com> X-Mailer: git-send-email 1.7.9.5 In-Reply-To: <1582897461-15105-1-git-send-email-dennis-yc.hsieh@mediatek.com> References: <1582897461-15105-1-git-send-email-dennis-yc.hsieh@mediatek.com> MIME-Version: 1.0 Content-Type: text/plain 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 QWRkIHJlYWRfcyBmdW5jdGlvbiBpbiBjbWRxIGhlbHBlciBmdW5jdGlvbnMgd2hpY2ggc3VwcG9y dCByZWFkIHZhbHVlIGZyb20NCnJlZ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