Received: by 2002:ac0:a5a7:0:0:0:0:0 with SMTP id m36-v6csp1207593imm; Wed, 11 Jul 2018 20:09:58 -0700 (PDT) X-Google-Smtp-Source: AAOMgpeYjJ23NBf35UOhhiVRCd4qqQqKlEkMVmQ1jqnf1gW7ekHebfh+sEsBRm7dPWgzpTAvC/XI X-Received: by 2002:a63:b705:: with SMTP id t5-v6mr461380pgf.45.1531364998892; Wed, 11 Jul 2018 20:09:58 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1531364998; cv=none; d=google.com; s=arc-20160816; b=P+n2CAg5uPUmUexwxG3gMnbWlSRAUPnSQz8P+zArFTssxHeGuudf4kyWHxaZV0m4zm Riy8JryV67mQ8Km3v/WDJfIz7K11pWni8/DHv4+ukMIt2aZh+KS5IuyAoooHLt0WGWOr zI5Ah4ID/MUfhU8V0MZKbdFbUvZvXO1cxpa0zUrcgAO1TWR0lFp4LSZ54XsndeITrlRe EttnXFCe0pzW6GPtP9K8/9Z/yu1EnTytr2UBoGNPOVJadRnQRhEC+m1Ncii0jooTSK96 zoY6HY3BkEE7Zxp9qJ9QtXO+sAqup3JILNviRQB2WVfDrYqbqSgAIE0K8JHgyEtisaXR Iw7A== 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=cTpjZFV2Ol0zxwIUgfWIk+mJxQYeRIUdi2efy7bLhzY=; b=AzqtKjUl0zMO2rdnGb3dbyaeycXKJBIeqLRxzQI3wz82oJVmHNCfYmk0w6CaUonbTd Gk0cpUwGSZJEXfVhchpxDn4ViVizJAKvcARy7qkbLEyfEJGSRVOEv/+WnPchsbtm9YIx trDsrHH61IMcRy4g91gi4ta7EoLuC7tFICPDhpvC2twhHZVuCk1rjpap1xV32LJXgDAO tJKHDWONdAY6VuQ1aXrBexsz8aYfrVi0KKCWrjf3nnJLa8vSfQ/ma4xRddk/8GDeLsT5 G0TPFbPjfPBLsOsPPUOR0qqQv3ti9RsHFAx7WtOrRle2Vy7ChvgLmxlzoIgkT9+kYqFc X+Iw== 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 r87-v6si22148094pfj.331.2018.07.11.20.09.43; Wed, 11 Jul 2018 20:09:58 -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 S2389116AbeGLBHg (ORCPT + 99 others); Wed, 11 Jul 2018 21:07:36 -0400 Received: from szxga02-in.huawei.com ([45.249.212.188]:5998 "EHLO huawei.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1733236AbeGLBHg (ORCPT ); Wed, 11 Jul 2018 21:07:36 -0400 Received: from DGGEMA401-HUB.china.huawei.com (unknown [172.30.72.54]) by Forcepoint Email with ESMTP id D047F6CD5459F; Thu, 12 Jul 2018 09:00:34 +0800 (CST) Received: from DGGEMA422-HUB.china.huawei.com (10.1.198.155) by DGGEMA401-HUB.china.huawei.com (10.3.20.42) with Microsoft SMTP Server (TLS) id 14.3.382.0; Thu, 12 Jul 2018 09:00:36 +0800 Received: from DGGEMA525-MBX.china.huawei.com ([169.254.6.69]) by dggema422-hub.china.huawei.com ([10.1.198.155]) with mapi id 14.03.0382.000; Thu, 12 Jul 2018 09:00:26 +0800 From: "Songxiaowei (Kirin_DRV)" To: Lorenzo Pieralisi CC: Wangbinghui , "bhelgaas@google.com" , "robh+dt@kernel.org" , "linux-pci@vger.kernel.org" , "linux-kernel@vger.kernel.org" , "andy.shevchenko@gmail.com" , Kongfei , "chenyao (F)" Subject: =?gb2312?B?tPC4tDogW1BBVENIIHY3IDEvMV0gUENJOiBraXJpbjogQWRkIE1TSSBzdXBw?= =?gb2312?Q?ort?= Thread-Topic: [PATCH v7 1/1] PCI: kirin: Add MSI support Thread-Index: AQHUGO6PA45Gy6FIEku6EeNhdo92bKSJXfmAgAFmRIA= Date: Thu, 12 Jul 2018 01:00:25 +0000 Message-ID: <99B4C6BADD9E3241B25E52B02BA737C5412D982C@dggema525-mbx.china.huawei.com> References: <20180711080946.14942-1-songxiaowei@hisilicon.com> <20180711080946.14942-2-songxiaowei@hisilicon.com> <20180711113323.GA17546@red-moon> In-Reply-To: <20180711113323.GA17546@red-moon> 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="gb2312" 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 SGkgTG9yZW56bywNCg0KVGhhbmtzIGEgbG90Lg0KDQpCZXN0IFJlZ2FyZHMsDQpYaWFvd2VpIFNv bmcuDQoNCj4gLS0tLS3Tyrz+1K28/i0tLS0tDQo+ILeivP7IyzogTG9yZW56byBQaWVyYWxpc2kg W21haWx0bzpsb3JlbnpvLnBpZXJhbGlzaUBhcm0uY29tXQ0KPiC3osvNyrG85DogMjAxOMTqN9TC MTHI1SAxOTozMw0KPiDK1bz+yMs6IFNvbmd4aWFvd2VpIChLaXJpbl9EUlYpIDxzb25neGlhb3dl aUBoaXNpbGljb24uY29tPg0KPiCzrcvNOiBXYW5nYmluZ2h1aSA8d2FuZ2JpbmdodWlAaGlzaWxp Y29uLmNvbT47IG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