Received: by 2002:ac0:a5a7:0:0:0:0:0 with SMTP id m36-v6csp207741imm; Wed, 11 Jul 2018 00:38:20 -0700 (PDT) X-Google-Smtp-Source: AAOMgpcaaoE6Llvi5orUFNZu6BMnXxwBbIwAK0R/FnnVjzWlWwvMtg2/YOh6Iic4WnJzMYNbw4/3 X-Received: by 2002:a63:b047:: with SMTP id z7-v6mr25818812pgo.335.1531294700090; Wed, 11 Jul 2018 00:38:20 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1531294700; cv=none; d=google.com; s=arc-20160816; b=QiYdRHt4qGBn0+if69m/QMFcq/C4Zqt1caHO/ALsXPxj6L3LzTmdqTH/jcjCMYuALS 8dmSfyXw5wsgRruTXLD1LNglmqQLWy3gqclYrvXaRKe1XyIitQ7FUNfyUE8B479VxB/i c7YuSYgb7XIpjpGXXLYdO7kU1cwK/HiDALL8u3T3FmkjExEu+JSckkDmHZmHAahAzJxu p44BCTXoQP7WrPFusBOH53q3FIwo9yzzuaC4rKmP5IzZ0WGrE/+FX2rFl+yuokpcjZGy NpFGjKGR+0czWqgC80OZJrqfmqsJJXvcQR/+tq9HYmbmeC+iVIzsrjpwDSUOAgEOGV0h ZYsg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:content-transfer-encoding :content-language:accept-language:in-reply-to:references:message-id :date:thread-index:thread-topic:subject:cc:to:from :arc-authentication-results; bh=Ld0MxRgTcf1hhuABnsnc+h2Jc2KVacxOIbnYQ+HaBdk=; b=alGeHMGWtPfFHyz87pgeEO5ZsA+UN1oDuPJrjNBQPgfJL4kVu9UcggD+2SjC/xUVue OO+e2pBy4815Ea+C4ozudUW2AvkEPw4TfljUSE/tl/y4nMJNXcOwSy7VyTEv6hw3GUGm 3XhI2my0Ea0w1KqD/Tr6IFSVo7EHFMg6UjXig7xG/dzkKdUTNhwjtF97pLvge98QF82a bGPxCn+WXirORTRp082CXGjDh7Y1qGBGJKIEXdXHFvEsSHbvgXJBYFLnzurArh353WmW yHalhkZnLPwCB9VvdcXnI7UlHULN4yqbCoAjVg7WJsmk9ZZCGbyvSprCZ+tfrrlWhpZK DkBg== ARC-Authentication-Results: i=1; mx.google.com; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id j24-v6si17606142pgj.145.2018.07.11.00.38.05; Wed, 11 Jul 2018 00:38:20 -0700 (PDT) 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; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726416AbeGKHjg (ORCPT + 99 others); Wed, 11 Jul 2018 03:39:36 -0400 Received: from szxga02-in.huawei.com ([45.249.212.188]:5997 "EHLO huawei.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1725808AbeGKHjg (ORCPT ); Wed, 11 Jul 2018 03:39:36 -0400 Received: from DGGEMA402-HUB.china.huawei.com (unknown [172.30.72.54]) by Forcepoint Email with ESMTP id C4510DF2366C7; Wed, 11 Jul 2018 15:36:37 +0800 (CST) Received: from DGGEMA525-MBX.china.huawei.com ([169.254.6.69]) by DGGEMA402-HUB.china.huawei.com ([10.3.20.43]) with mapi id 14.03.0382.000; Wed, 11 Jul 2018 15:36:26 +0800 From: "Songxiaowei (Kirin_DRV)" To: Andy Shevchenko CC: Wangbinghui , Bjorn Helgaas , Lorenzo Pieralisi , "Rob Herring" , "linux-pci@vger.kernel.org" , Linux Kernel Mailing List , Suzhuangluan , Kongfei , "chenyao (F)" Subject: =?utf-8?B?562U5aSNOiBbUEFUQ0ggdjYgMS8xXSBQQ0k6IGtpcmluOiBBZGQgTVNJIHN1?= =?utf-8?Q?pport?= Thread-Topic: [PATCH v6 1/1] PCI: kirin: Add MSI support Thread-Index: AQHUGORyMNS4PSIcv0aZRcALGcOeqqSJGDoAgACIgQA= Date: Wed, 11 Jul 2018 07:36:26 +0000 Message-ID: <99B4C6BADD9E3241B25E52B02BA737C5412D7DD8@dggema525-mbx.china.huawei.com> References: <20180711065724.128299-1-songxiaowei@hisilicon.com> <20180711065724.128299-2-songxiaowei@hisilicon.com> In-Reply-To: Accept-Language: zh-CN, en-US Content-Language: zh-CN X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [10.142.52.233] Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: base64 MIME-Version: 1.0 X-CFilter-Loop: Reflected Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org DQoNCj4gLS0tLS3pgq7ku7bljp/ku7YtLS0tLQ0KPiDlj5Hku7bkuro6IEFuZHkgU2hldmNoZW5r byBbbWFpbHRvOmFuZHkuc2hldmNoZW5rb0BnbWFpbC5jb21dDQo+IOWPkemAgeaXtumXtDogMjAx OOW5tDfmnIgxMeaXpSAxNToyMw0KPiDmlLbku7bkuro6IFNvbmd4aWFvd2VpIChLaXJpbl9EUlYp IDxzb25neGlhb3dlaUBoaXNpbGljb24uY29tPg0KPiDmioTpgIE6IFdhbmdiaW5naHVpIDx3YW5n YmluZ2h1aUBoaXNpbGljb24uY29tPjsgQmpvcm4gSGVsZ2Fhcw0KPiA8YmhlbGdhYXNAZ29vZ2xl LmNvbT47IExvcmVuem8gUGllcmFsaXNpIDxsb3JlbnpvLnBpZXJhbGlzaUBhcm0uY29tPjsNCj4g Um9iIEhlcnJpbmcgPHJvYmgrZHRAa2VybmVsLm9yZz47IGxpbnV4LXBjaUB2Z2VyLmtlcm5lbC5v cmc7IExpbnV4IEtlcm5lbA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