Received: by 2002:a25:4158:0:0:0:0:0 with SMTP id o85csp199562yba; Fri, 12 Apr 2019 01:38:16 -0700 (PDT) X-Google-Smtp-Source: APXvYqzLZvC3j/mvrFoPMVAnyib0YziARFfd+aTwRRh7mLISRugPzHJ9uD1YbFiYK9vTfJRts+RV X-Received: by 2002:a62:6fc6:: with SMTP id k189mr37233185pfc.154.1555058296663; Fri, 12 Apr 2019 01:38:16 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1555058296; cv=none; d=google.com; s=arc-20160816; b=RVvdHLqMCsoRxgI9IGmkATGk4uMjP6gRXeCQk7jGwus6sYDpcswxYtRbrdLhKy0NJu 5EvBoTZy2R5SML49rG2ubF5xUXkzjXOyBDZY6VDW5uyu63iU0KbbcStzymoYzU0f6Tyu 8dKJ7YjV0RnsFuKhJ4eiF5NDrzqg91kXrYi+crJbCeqpR/Jk5/RSmBEb53liYJEgWyqz E+lxBsLieldRvY6INkE1O44MRWPc8uknXBSXQCkO5FtjXilasPD2Q0tIO3WArGJcgHVr oQy/42BkOSOCLDXIpNAFfdgHKLrU7tuLX+0LLbB9MfZyB5ct/kEcM2HZd9N7HM3u5sk2 Tvqw== 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:dkim-signature; bh=fFKePA9EGNQX3VAyBq+Uvpx6piJIbjzLPSMZe9Gwn8g=; b=ZxmSRP3N5YjKLTUOXKPx2ojez6Axe9n4Tg1Ez4nM6AnRzoWXhDgcd9q+3xcCOAXtGl XKscGqCHQdo8NixhZkOFq6NE2bvdo1TZFqARk5f1QmN+FfPcDgwDObhXZxdnCG/W1smU Tyv8qrr9bEkZRlfF1bhR99f/y1lzhSTp9xUVNteRFdtPrEGQEbc+//vPofnFBJxjRrbj 7pcW4zoSM0Ek402IaqjeUEprKKDsCPuvflts4u6bI2BQl8qvygOoxvWRlS077BoI4HpQ sddqU5TwtfjRUh5PqXGdhEk3oS8IqDh2G7zzJ6BZTzodaTnM0Mar2w780lvNL5ZHcmwV nMOQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@nxp.com header.s=selector1 header.b=phYrcuFN; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=nxp.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id d2si30247233pld.78.2019.04.12.01.38.01; Fri, 12 Apr 2019 01:38:16 -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; dkim=pass header.i=@nxp.com header.s=selector1 header.b=phYrcuFN; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=nxp.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727859AbfDLIgX (ORCPT + 99 others); Fri, 12 Apr 2019 04:36:23 -0400 Received: from mail-eopbgr80053.outbound.protection.outlook.com ([40.107.8.53]:4153 "EHLO EUR04-VI1-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1727464AbfDLIgW (ORCPT ); Fri, 12 Apr 2019 04:36:22 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nxp.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=fFKePA9EGNQX3VAyBq+Uvpx6piJIbjzLPSMZe9Gwn8g=; b=phYrcuFNXYPbQQI0999k4OZHin+A7PrLsQKZR0vtRnvGKgQFaoeh/08RzU1CJJbA1K6KlbcRFSScSg8lUC5Y9dB7/rR+7CqpE+1/PpO/3f63p8QudxGlkkapa2nh77u6Wd/pefrjDdwC7ZLlLxULFO2/eOA+BmEmbx0rjkTTgPo= Received: from AM6PR04MB5781.eurprd04.prod.outlook.com (20.179.3.19) by AM6PR04MB5846.eurprd04.prod.outlook.com (20.179.3.26) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.1792.18; Fri, 12 Apr 2019 08:36:18 +0000 Received: from AM6PR04MB5781.eurprd04.prod.outlook.com ([fe80::f9db:ed86:614e:460]) by AM6PR04MB5781.eurprd04.prod.outlook.com ([fe80::f9db:ed86:614e:460%4]) with mapi id 15.20.1792.009; Fri, 12 Apr 2019 08:36:18 +0000 From: "Z.q. Hou" To: "linux-pci@vger.kernel.org" , "linux-arm-kernel@lists.infradead.org" , "devicetree@vger.kernel.org" , "linux-kernel@vger.kernel.org" , "bhelgaas@google.com" , "robh+dt@kernel.org" , "mark.rutland@arm.com" , "l.subrahmanya@mobiveil.co.in" , "shawnguo@kernel.org" , Leo Li , "lorenzo.pieralisi@arm.com" , "catalin.marinas@arm.com" , "will.deacon@arm.com" CC: Mingkai Hu , "M.h. Lian" , Xiaowei Bao , "Z.q. Hou" Subject: [PATCHv5 11/20] PCI: mobiveil: Correct the fixup of Class Code field Thread-Topic: [PATCHv5 11/20] PCI: mobiveil: Correct the fixup of Class Code field Thread-Index: AQHU8QrMNHtvgkIaSEqXEa2wnzy4Kw== Date: Fri, 12 Apr 2019 08:36:18 +0000 Message-ID: <20190412083635.33626-12-Zhiqiang.Hou@nxp.com> References: <20190412083635.33626-1-Zhiqiang.Hou@nxp.com> In-Reply-To: <20190412083635.33626-1-Zhiqiang.Hou@nxp.com> Accept-Language: zh-CN, en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-clientproxiedby: HK2PR06CA0011.apcprd06.prod.outlook.com (2603:1096:202:2e::23) To AM6PR04MB5781.eurprd04.prod.outlook.com (2603:10a6:20b:ad::19) authentication-results: spf=none (sender IP is ) smtp.mailfrom=zhiqiang.hou@nxp.com; x-ms-exchange-messagesentrepresentingtype: 1 x-mailer: git-send-email 2.17.1 x-originating-ip: [119.31.174.73] x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: b3d2fa68-d0a6-4c14-0ea4-08d6bf21ee9d x-ms-office365-filtering-ht: Tenant x-microsoft-antispam: BCL:0;PCL:0;RULEID:(2390118)(7020095)(4652040)(8989299)(4534185)(4627221)(201703031133081)(201702281549075)(8990200)(5600139)(711020)(4605104)(4618075)(2017052603328)(7193020);SRVR:AM6PR04MB5846; x-ms-traffictypediagnostic: AM6PR04MB5846: x-microsoft-antispam-prvs: x-forefront-prvs: 0005B05917 x-forefront-antispam-report: SFV:NSPM;SFS:(10009020)(39860400002)(366004)(376002)(396003)(346002)(136003)(189003)(199004)(54534003)(486006)(478600001)(2616005)(476003)(316002)(446003)(11346002)(305945005)(7736002)(81166006)(25786009)(81156014)(256004)(14454004)(8676002)(7416002)(4326008)(186003)(50226002)(26005)(8936002)(68736007)(2906002)(53936002)(102836004)(6512007)(66066001)(86362001)(99286004)(106356001)(6116002)(3846002)(6436002)(97736004)(1076003)(6506007)(386003)(52116002)(2201001)(105586002)(6486002)(36756003)(71200400001)(110136005)(54906003)(5660300002)(2501003)(71190400001)(76176011)(921003)(1121003);DIR:OUT;SFP:1101;SCL:1;SRVR:AM6PR04MB5846;H:AM6PR04MB5781.eurprd04.prod.outlook.com;FPR:;SPF:None;LANG:en;PTR:InfoNoRecords;MX:1;A:1; received-spf: None (protection.outlook.com: nxp.com does not designate permitted sender hosts) x-ms-exchange-senderadcheck: 1 x-microsoft-antispam-message-info: WMBwyaqgSwEOD99sXB0lgCYyUswlAG4nb1vvm0CiX9wuPnckd15k+k0tdYIEUQIJ1ffhDVaIqbRo6Le7f/NkXs/ixEeyg45TGhYu83tKUC8PDCKm3Xw4MaQHWzQ2OYw7D5uAdzGptFUdy7ZyZ2eqZR19K9QgE1jwKuysbxWl9f5g1Erq/pV2Az7pEV6+Y5fOwjttFxOGPPs3bR37pceAyALgPnWK002KFM+G23LzdJ5WMUdUnRCCRCVrXPhn7/UHUZWs3H24cAgYSg7XlOwkIc6hX/t+Vi+LUmNAMGZn+el6TgUmgq6GkdnHlzsqonM7gcYJyp3YLOsGgx0LJCI5104f5UvilCIQtixy8DcVLzmZ5w9Gg83+tCCdZz9JHfAcG/lNAZ26Drmh/RrutEA7DQGjNX6rddE75tozOPqU7Gg= Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: base64 MIME-Version: 1.0 X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: b3d2fa68-d0a6-4c14-0ea4-08d6bf21ee9d X-MS-Exchange-CrossTenant-originalarrivaltime: 12 Apr 2019 08:36:18.1302 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 686ea1d3-bc2b-4c6f-a92c-d99c5c301635 X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-Transport-CrossTenantHeadersStamped: AM6PR04MB5846 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org RnJvbTogSG91IFpoaXFpYW5nIDxaaGlxaWFuZy5Ib3VAbnhwLmNvbT4NCg0KT25seSBmaXggdXAg dGhlIENsYXNzIENvZGUgZmllbGQgdG8gUENJIGJyaWRnZSwgZG8gbm90IGNoYW5nZSB0aGUNClJl dmlzaW9uIElELiBBbmQgdGhpcyBwYXRjaCBhbHNvIG1vdmUgdGhlIENsYXNzIENvZGUgZml4dXAg dG8NCmZ1bmN0aW9uIG1vYml2ZWlsX2hvc3RfaW5pdCgpLg0KDQpGaXhlczogOWFmNmJjYjExZTEy ICgiUENJOiBtb2JpdmVpbDogQWRkIE1vYml2ZWlsIFBDSWUgSG9z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