Received: by 2002:ac0:a5a7:0:0:0:0:0 with SMTP id m36-v6csp2364748imm; Tue, 10 Jul 2018 19:23:32 -0700 (PDT) X-Google-Smtp-Source: AAOMgpdzItfz6xhHLCptLVPuIHYD9I0e6mwvpu11vXwgRvurqXH6lBLTivW8/640HKEMFFoYK+sL X-Received: by 2002:a63:5025:: with SMTP id e37-v6mr7933715pgb.341.1531275812712; Tue, 10 Jul 2018 19:23:32 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1531275812; cv=none; d=google.com; s=arc-20160816; b=VEQN1f4OwNIedRl6rCVcR9OfiSpShOt1KSJkUp25JRlDtoEu+miu2cpPYmBl0x5X4G cRf6LlzLXGDmuqct+aSyX8NO1x+XcklR45RId59f5DpdbBoUn7n7shSuYaFiqERAwL03 5MtJPLPL5FQxFx7l3hTulWTL8KPOz09mt7XKsMQjG37lCsaKJNo1W9QNqKZe3c89UBZN t90Ku+UAi5BtSaJmSRXHMGuPCfaF2bCcyXYlOpRU75LEc0OrI+rCppOkx1FdgC0kM2+V MY4xyWesk1AJ5aSB4RKs5OUXdH3GpnXIc8tMWIliUtCVY73P9A0++sy43r9uwfoS05Tc jrMA== 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=CqM/PKieeOlqsV8fvH35q+DLHt0tS7/3dE8tsWD7h0Y=; b=ZkswduNQAjLDZ1RLcpyb+jxWesYuI+DhSnuA2+fs4V7xpXGEgTrj2+XwW69+3h1V+w nGSCGfKhln2Taqz9VXacX6wwH2D/Ektny5c1ct5tGS6gNSvHGCG4lnxIVUQmOvwZpeoS w0DUySUD8SahfCGKKI+0NwiYPXDU43poP3Cea0ZDmUFLfbuLNadwcPZBr0KXJD4GXAdH lcpwpySUd6+bk7Hei5Tq8Pbh6k3vgTkdfTGEnPNeBLPrncGLF+NXGrvj7zrZU3LqDbRx agjBw2/bjzqvRrtH/w4d9FQcUFzcWFYxV6qkDBgPgQTCyJ6/NHRG4PqcmY9cPP65gH8l DsAA== 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 v1-v6si17604336pgf.515.2018.07.10.19.23.17; Tue, 10 Jul 2018 19:23:32 -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 S1732707AbeGKCYY (ORCPT + 99 others); Tue, 10 Jul 2018 22:24:24 -0400 Received: from szxga02-in.huawei.com ([45.249.212.188]:5996 "EHLO huawei.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1732357AbeGKCYX (ORCPT ); Tue, 10 Jul 2018 22:24:23 -0400 Received: from DGGEMA406-HUB.china.huawei.com (unknown [172.30.72.53]) by Forcepoint Email with ESMTP id 580BAB6916D90; Wed, 11 Jul 2018 10:22:24 +0800 (CST) Received: from DGGEMA525-MBX.china.huawei.com ([169.254.6.69]) by DGGEMA406-HUB.china.huawei.com ([10.3.20.47]) with mapi id 14.03.0382.000; Wed, 11 Jul 2018 10:22:16 +0800 From: "Songxiaowei (Kirin_DRV)" To: Lorenzo Pieralisi CC: "bhelgaas@google.com" , "robh+dt@kernel.org" , "linux-pci@vger.kernel.org" , "linux-kernel@vger.kernel.org" , "chenyao (F)" Subject: =?utf-8?B?562U5aSNOiDnrZTlpI06IFtQQVRDSCB2NSAxLzFdIFBDSToga2lyaW46IEFk?= =?utf-8?Q?d_MSI_support?= Thread-Topic: =?utf-8?B?562U5aSNOiBbUEFUQ0ggdjUgMS8xXSBQQ0k6IGtpcmluOiBBZGQgTVNJIHN1?= =?utf-8?Q?pport?= Thread-Index: AQHUDt5H/LVbU24kr06E1Y+CfLvSSaSGL5zQgAH1JYCAATjbwA== Date: Wed, 11 Jul 2018 02:22:16 +0000 Message-ID: <99B4C6BADD9E3241B25E52B02BA737C5412D7B26@dggema525-mbx.china.huawei.com> References: <20180628124803.110315-1-songxiaowei@hisilicon.com> <20180628124803.110315-2-songxiaowei@hisilicon.com> <99B4C6BADD9E3241B25E52B02BA737C5412D2511@dggema525-mbx.china.huawei.com> <20180710154017.GA16825@red-moon> In-Reply-To: <20180710154017.GA16825@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="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/ku7YtLS0tLQ0KPiDlj5Hku7bkuro6IExvcmVuem8gUGllcmFs aXNpIFttYWlsdG86bG9yZW56by5waWVyYWxpc2lAYXJtLmNvbV0NCj4g5Y+R6YCB5pe26Ze0OiAy MDE45bm0N+aciDEw5pelIDIzOjQwDQo+IOaUtuS7tuS6ujogU29uZ3hpYW93ZWkgKEtpcmluX0RS VikgPHNvbmd4aWFvd2VpQGhpc2lsaWNvbi5jb20+DQo+IOaKhOmAgTogYmhlbGdhYXNAZ29vZ2xl LmNvbTsgcm9iaCtkdEBrZXJuZWwub3JnOyBsaW51eC1wY2lAdmdlci5rZXJuZWwub3JnOw0KPiBs aW51eC1rZXJuZWxAdmdlci5rZXJuZWwub3JnOyBjaGVueWFvIChGKSA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