Received: by 2002:a05:6a10:a0d1:0:0:0:0 with SMTP id j17csp525837pxa; Wed, 19 Aug 2020 07:57:50 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyK3EVAncCC7EV66ZrSYhCAg8M7WHGJXwbxSL+UyHOMB8k3p6DWf6Jsw8RUdIEqrJRGT4Lh X-Received: by 2002:aa7:d387:: with SMTP id x7mr24642845edq.219.1597849070077; Wed, 19 Aug 2020 07:57:50 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1597849070; cv=none; d=google.com; s=arc-20160816; b=v9QTLx8dh2mbLEbJEpK/rnIkRhYKjkDlvLlNdVCca6ZfMxWVPDc0b72FSNpZbIf2Xj pwV6ZOnyzX1hRTEQN74a7IXKvZg2KMv8+Gd4N5fuCtWSUlnZq1uVri2/9Qlekfa8i0Nn C7nttQuKGkCmwxpjhsYWQqdOw92rLCMCpfMBoBOMERLZAFTF5zYxrmpZYBNrFbTwSSRp 9pL4pdnQztjAnGU/1b86tSoCF0NU0286lEWS5WgcF16k4+1fO91McEKYLT1QfoB1bWJ2 msRZlyYpA/HA8P8SMJC1Od3NqhWNB18C+AOZ3XRKSiLAA+H3liYxyO4tE8Hb1w3XD5wZ xd+w== 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=AoeUUvCjkrCNhYfqve8JEcUAO7P8LbXeCUbXyAWumY0=; b=XuyLxLk+hhI95telj6y0QD8cUhQ/w94+sfoaEpQTPmSVP9cq4pGnuTAtJTf8Ydm8Lh KsYbLXeNfNdkH+GNqAHo54JAGMzO9Y5EQUvhKrQIObkDxWIjPo/N5SzUSuXdk4YPivIC qza8CRdo8o/uhygas4FMSuNJT6zWlcb5psd3owJ+CmHEYHUIluWUEwuZvr1/8vHycYxu Z7WcOTo9A7wQQkOkqEl0Y+bjKJcA60byuVVtXJZwUJVnbXggXY8ZZ5jAURYMEU0rG5kP Cs8UwBVrDxD6pkGbYZlAi5q6ahIyQVHCt8/cgpPo2SJ2/wj/KdjgQPPXJXfbbMMO8s2w Gnqg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@mediatek.com header.s=dk header.b=CuUdyapr; 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 a20si15983027eda.489.2020.08.19.07.57.26; Wed, 19 Aug 2020 07:57:50 -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=CuUdyapr; 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 S1728733AbgHSO4P (ORCPT + 99 others); Wed, 19 Aug 2020 10:56:15 -0400 Received: from mailgw02.mediatek.com ([210.61.82.184]:45416 "EHLO mailgw02.mediatek.com" rhost-flags-OK-FAIL-OK-FAIL) by vger.kernel.org with ESMTP id S1727827AbgHSO4K (ORCPT ); Wed, 19 Aug 2020 10:56:10 -0400 X-UUID: 9bbb8ce1d5a84066a4409b007606cfb1-20200819 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=AoeUUvCjkrCNhYfqve8JEcUAO7P8LbXeCUbXyAWumY0=; b=CuUdyaprq4NzPSfPJNniWUlBoger3pChNskh8ssVrfZkkrpRIie3itK8Yk71o2YN2bvd3Htc5bWN4pkwZzpnj/sMbfMKGkfI5rd1ivuaPFfKXem+oJnEacT4gBBt2rzkacpfKEk9MZx6pL+9dtwJE8vPx0yeCm9KU05fqTUkf5M=; X-UUID: 9bbb8ce1d5a84066a4409b007606cfb1-20200819 Received: from mtkcas06.mediatek.inc [(172.21.101.30)] by mailgw02.mediatek.com (envelope-from ) (Cellopoint E-mail Firewall v4.1.10 Build 0809 with TLS) with ESMTP id 909703223; Wed, 19 Aug 2020 22:56:06 +0800 Received: from mtkcas08.mediatek.inc (172.21.101.126) by mtkmbs06n1.mediatek.inc (172.21.101.129) with Microsoft SMTP Server (TLS) id 15.0.1497.2; Wed, 19 Aug 2020 22:56:05 +0800 Received: from mtksdccf07.mediatek.inc (172.21.84.99) by mtkcas08.mediatek.inc (172.21.101.73) with Microsoft SMTP Server id 15.0.1497.2 via Frontend Transport; Wed, 19 Aug 2020 22:56:02 +0800 From: Mark-PK Tsai To: , Mark-PK Tsai CC: , , , , , , , , , , Subject: Re: [PATCH 1/2] irqchip: irq-mst: Add MStar interrupt controller support Date: Wed, 19 Aug 2020 22:55:26 +0800 Message-ID: <20200819145525.26315-1-mark-pk.tsai@mediatek.com> X-Mailer: git-send-email 2.18.0 In-Reply-To: References: 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 RnJvbTogTWFyYyBaeW5naWVyIDxtYXpAa2VybmVsLm9yZz4NCg0KPk9uIDIwMjAtMDgtMTkgMTQ6 MzEsIE1hcmstUEsgVHNhaSB3cm90ZToNCj4+IEZyb206IE1hcmMgWnluZ2llciA8bWF6QGtlcm5l bC5vcmc+DQo+PiANCj4+PiA+ICsNCj4+PiA+ICtzdGF0aWMgaW50IG1zdF9pbnRjX2RvbWFpbl9h bGxvYyhzdHJ1Y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