Received: by 2002:a25:1506:0:0:0:0:0 with SMTP id 6csp5571459ybv; Tue, 11 Feb 2020 18:56:32 -0800 (PST) X-Google-Smtp-Source: APXvYqzB0Grf/wUAmvf7jG+8eaYKULRiw/iUbAeKHsFhQQHKrWi77NzkLY5h0kpY7VRU2axxjYha X-Received: by 2002:aca:be09:: with SMTP id o9mr4996601oif.177.1581476192564; Tue, 11 Feb 2020 18:56:32 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1581476192; cv=none; d=google.com; s=arc-20160816; b=UtPDvSiXFraFxpXoaHayZwBY60oArOnAwh8O0/tvsUeJjBdMXuttvoDu6Us/Z+3aeL raHv/5FaVE3uJjQsz7/6q6Rgz5Yy/X/u0+DEZCJdDJKKIYXqg/vPvx7hbSC4G6tB2XRp cRNG9PTHrWCsmE1O6/G0fsTFEq/UU9QrVQzGhK2YT1zqdEx3/IDlsGTRBifR7Ixx7Nkw bPB1Ht25QDipSz0ruzMee63ObrGm/oSXOvh0rsQy6o898WaDAr/xCkisOKV21T8eaJ1J dp2yskSv06cKhI3IQjhUAOqQgd4kMdCuF6fJdc6km9xdq9bU7bA/dmtNCPITWMg4cHxX WCSw== 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=NDX3laalc+Z0eaBdDEGSSHydvLxMHFWBywEbFN0gfWc=; b=kb+S6RNJwuDVhH5s8TQDLDCMxR27fFu7yN571H9CCJ5YE7F1msHuhtOwfpr0dodLk9 FYxIoPFUpQtiAbfb8mODN0H7qa0vhS7c1uJGddXXp6REJxyfmcY5wwEHRTajXpulHikI qrm9C0CK4x2pL3Eh7E1mNPVK+ruVV2clknzK1wkc96Dl5oWxVfxoATThyOX2Lyqjh6iX MlA7S4sgwMwcztODC4E/tQt1t39Alc0jPR8IfW551IuAUNVrxND6RCdHgVtZGCvpX9wh ixPYmZg0bKQn35MJVXOgQue5vxFVN8BbUyNV+qysqhn0T31SoqJjN+t6pz59tbrRR5Dv Lweg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@mediatek.com header.s=dk header.b=gqfQeijm; 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 p23si3054783otk.119.2020.02.11.18.56.20; Tue, 11 Feb 2020 18:56:32 -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=gqfQeijm; 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 S1727684AbgBLC4E (ORCPT + 99 others); Tue, 11 Feb 2020 21:56:04 -0500 Received: from mailgw02.mediatek.com ([210.61.82.184]:12653 "EHLO mailgw02.mediatek.com" rhost-flags-OK-FAIL-OK-FAIL) by vger.kernel.org with ESMTP id S1727565AbgBLC4E (ORCPT ); Tue, 11 Feb 2020 21:56:04 -0500 X-UUID: 5cf8ca20074e4b709e375d0ec9e60c32-20200212 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=NDX3laalc+Z0eaBdDEGSSHydvLxMHFWBywEbFN0gfWc=; b=gqfQeijmZfdugF4hU9qw5c4XLCjvaAHMuAVPaAf1C8rvKNySSIsLK4HMASPCf4mdsQmvyu/c3/U654PMQq6OYI8CPl44h5reVsu1d8fLnH349c+GONXEMRv/FFEQFpkonSlptuLsuFHm3ogkLTBUzL2vBjdNFY7WfNCRckEwRB0=; X-UUID: 5cf8ca20074e4b709e375d0ec9e60c32-20200212 Received: from mtkexhb01.mediatek.inc [(172.21.101.102)] by mailgw02.mediatek.com (envelope-from ) (Cellopoint E-mail Firewall v4.1.10 Build 0809 with TLS) with ESMTP id 720298069; Wed, 12 Feb 2020 10:55:51 +0800 Received: from mtkcas07.mediatek.inc (172.21.101.84) by mtkmbs02n1.mediatek.inc (172.21.101.77) with Microsoft SMTP Server (TLS) id 15.0.1395.4; Wed, 12 Feb 2020 10:54:13 +0800 Received: from [172.21.77.4] (172.21.77.4) by mtkcas07.mediatek.inc (172.21.101.73) with Microsoft SMTP Server id 15.0.1395.4 via Frontend Transport; Wed, 12 Feb 2020 10:54:51 +0800 Message-ID: <1581476150.22901.35.camel@mtksdaap41> Subject: Re: [PATCH v11 04/10] soc: mediatek: Add multiple step bus protection control From: Weiyi Lu To: Matthias Brugger CC: Nicolas Boichat , Rob Herring , Sascha Hauer , James Liao , Fan Chen , , , , Date: Wed, 12 Feb 2020 10:55:50 +0800 In-Reply-To: <9cafe21c-2bd2-7ee6-9e7f-ce238b935069@gmail.com> References: <1576813564-23927-1-git-send-email-weiyi.lu@mediatek.com> <1576813564-23927-5-git-send-email-weiyi.lu@mediatek.com> <9cafe21c-2bd2-7ee6-9e7f-ce238b935069@gmail.com> Content-Type: text/plain; charset="UTF-8" X-Mailer: Evolution 3.10.4-0ubuntu2 MIME-Version: 1.0 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 T24gVHVlLCAyMDIwLTAyLTExIGF0IDE4OjQ5ICswMTAwLCBNYXR0aGlhcyBCcnVnZ2VyIHdyb3Rl Og0KPiANCj4gT24gMj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