Received: by 2002:a05:6a10:a0d1:0:0:0:0 with SMTP id j17csp466815pxa; Wed, 19 Aug 2020 06:33:41 -0700 (PDT) X-Google-Smtp-Source: ABdhPJy2UXaPM5IpFDvSoji1FzQqY8lDm+cBAc44UC5XIPwLXh0cXn4NJUklkiLJpbTJehjN8QHw X-Received: by 2002:a17:906:7d90:: with SMTP id v16mr24882873ejo.27.1597844021704; Wed, 19 Aug 2020 06:33:41 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1597844021; cv=none; d=google.com; s=arc-20160816; b=A9ZKXhgcp/dFwfZtK+1F55GeTji92pvFlzbtRJXbg4rrThyZcyZ/TTtDhRpf78oqbG V9ao2h9RtNwn20Ry7FSt7ra7pYeVcBqK2kLNXitx3EBPE515prLNEmidypi/a6zbw/xZ fitoOIFel3oKfVXRn6jjpTVqmxhxWnKA8J0UAa5BCr0S020kXQOesdYU+vzrLaHpwZFm n2zrKRo0NhINB/2Hwn3L0chWgEahGIp5ryQS++tSTf9bDVAyzvbZH7zjatkNING07FUd VdMYGjHS0Xo+28nFcDKIMjAIetdsK57YoAtOFcv9LraHupYxoxNaz8v1lsKcgcR6XfKr 0LVg== 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:subject:cc:to:from:dkim-signature :message-id; bh=fRw1wAcPb1VygFYYYG7J6cmcnElaUKNFwR0kNG/1s9c=; b=nm+ojzDvnfRxFcqn36iE9/Zkdu32hvNMJ8I2Et8P3JNcCY97qPCglNPSgPlzXs7NJ7 ElSeT2V82eqKu9XmbLfh0Dng/IIZ0pHR9oWlDshvSYywz7oKOm/y17iQQ7YbHDbSXOKA 8Hrkgu2UG7+0fzhEP1uMHvsijLARH3Pj4P7R/Q0W+x0NrdW81BJ/Mqh6xZ9ChF5HyJDE KIB4x6eacxZ2AEK3UhVVFYgJhtJrsLn+nEQej9c7GbKwU1b9+6J97Qp1Kk0GmhZw30EO p4ewuJB3LJKywL0hSKnSd0+S7sddQh69MlxwsfGlsUrDCm9bB125Geq02mb/WiSw8KnD xx+Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@mediatek.com header.s=dk header.b=hv+jQXll; 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 n6si14572876ejz.524.2020.08.19.06.33.16; Wed, 19 Aug 2020 06:33:41 -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=hv+jQXll; 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 Message-ID: <5f3d2a35.1c69fb81.896de.1615SMTPIN_ADDED_BROKEN@mx.google.com> X-Google-Original-Message-ID: (raw) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728406AbgHSNbq (ORCPT + 99 others); Wed, 19 Aug 2020 09:31:46 -0400 Received: from mailgw02.mediatek.com ([210.61.82.184]:55694 "EHLO mailgw02.mediatek.com" rhost-flags-OK-FAIL-OK-FAIL) by vger.kernel.org with ESMTP id S1726209AbgHSNbp (ORCPT ); Wed, 19 Aug 2020 09:31:45 -0400 X-UUID: 019b1bc6ac194bd7ac7f24c8c0e9aec4-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=fRw1wAcPb1VygFYYYG7J6cmcnElaUKNFwR0kNG/1s9c=; b=hv+jQXllTnibs+5TIFqN979xYKZ9HSHeIi6RbMiVJg93XLXFdPqOmCDPqjHKWvLyTdO3Hs05fECia0qy8zEskKeBsw0/vmADBHAGwvQBbrVOYT+y6kYSlEr5VrjV5opFfLPPAf0ECD9XFKVV2JtyalqFK73J8g2abtxZJ+J4BZI=; X-UUID: 019b1bc6ac194bd7ac7f24c8c0e9aec4-20200819 Received: from mtkcas10.mediatek.inc [(172.21.101.39)] by mailgw02.mediatek.com (envelope-from ) (Cellopoint E-mail Firewall v4.1.10 Build 0809 with TLS) with ESMTP id 230635700; Wed, 19 Aug 2020 21:31:38 +0800 Received: from MTKCAS06.mediatek.inc (172.21.101.30) by mtkmbs06n2.mediatek.inc (172.21.101.130) with Microsoft SMTP Server (TLS) id 15.0.1497.2; Wed, 19 Aug 2020 21:31:36 +0800 Received: from mtksdccf07.mediatek.inc (172.21.84.99) by MTKCAS06.mediatek.inc (172.21.101.73) with Microsoft SMTP Server id 15.0.1497.2 via Frontend Transport; Wed, 19 Aug 2020 21:31:27 +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 21:31:18 +0800 X-Mailer: git-send-email 2.18.0 In-Reply-To: References: MIME-Version: 1.0 Content-Type: text/plain X-TM-SNTS-SMTP: DE83B45AC3BC27299EB076B4A9D350810BE1BE0B47BE608892730C36C974355C2000: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 RnJvbTogTWFyYyBaeW5naWVyIDxtYXpAa2VybmVsLm9yZz4NCg0KPiA+ICsNCj4gPiArc3RhdGlj IGludCBtc3RfaW50Y19kb21haW5fYWxsb2Moc3RydWN0IGlycV9kb21haW4gKmRvbWFpbiwgdW5z aWduZWQ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