Received: by 2002:a25:f815:0:0:0:0:0 with SMTP id u21csp1541360ybd; Wed, 26 Jun 2019 20:11:25 -0700 (PDT) X-Google-Smtp-Source: APXvYqzXZd6Q8iRjpCH1BMtNoqip6fu3aVioKTjhxhCugtUyZPViv4QLKGRjt7dFSddwPwmV166A X-Received: by 2002:a65:4347:: with SMTP id k7mr1398375pgq.253.1561605085781; Wed, 26 Jun 2019 20:11:25 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1561605085; cv=none; d=google.com; s=arc-20160816; b=DNgjFf3qHMbAhHfExXh7d/mW3xSn2YHKyxyxWVdzXZWjsW24bLcevXnFhr6W4/Kd3G Kpp1EBO86bv4ffkTRmHm1e/vqwqG0bohM15s65LjcnDGqvN+5HeGBVpM7BOL8QT0OKPD aIVhniWmjlO6CVDlzXmHz2nwGMREt+oA9GfYvgjEGgvYA68Ghyp5EciE7Pt4xr6tjzv9 G+zVo3L8+Ewuwyi8dOnIq5yn0b+0bQpVpl7IlvMOLbU8zrlwVE7DfTk9hrcANV1k9LIY iwHRsNHytEycMAdyErKBLtwpLhdKXYpk+BtpyH1n3O3q5Ql7DTWKCYN0v/nPAOeiVDvA jVMw== 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 :nodisclaimer:content-language:accept-language:message-id:date :thread-index:thread-topic:subject:cc:to:from:dkim-signature; bh=XX8ZulPh5Yh0kwkEluOtRiKPukGZC9tkvRaHJ8oVifM=; b=JbkPAa4EfndhsakwHFarWSKUSVuY/rKgZNzvG7/64yA6okBN9WSiQ7TN1s0Pr8IROY B43XPn93dPwjSupF+dQnGMGQEDiZZrjxYLCJ4EHJ+Kh72tHcNRzm3MtxQOeXheOdbeEp stvjLhqFDUf1CYmtNm7oKjIkyImJySTCVjmfJInrp4Pa5Rg22zbDlUdW8qjE5v24RyNA YQszX01ZLw8hQ2p+sIlF0hhjxoMlFzrCURAViT4URnICJdx4fxd9FVdcf4rOYsNtibRp aai7bCBQQ4wByXWpvyi3VSSH4Yd75e7yjIbj6+aF/D3mXXleOGiBAO02iKvst3ZjyIUp kTCA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@armh.onmicrosoft.com header.s=selector2-armh-onmicrosoft-com header.b=ILPY5vZv; 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 f6si920797pgh.288.2019.06.26.20.11.08; Wed, 26 Jun 2019 20:11:25 -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=@armh.onmicrosoft.com header.s=selector2-armh-onmicrosoft-com header.b=ILPY5vZv; 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 S1726810AbfF0DKn (ORCPT + 99 others); Wed, 26 Jun 2019 23:10:43 -0400 Received: from mail-eopbgr140081.outbound.protection.outlook.com ([40.107.14.81]:33896 "EHLO EUR01-VE1-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1726658AbfF0DKm (ORCPT ); Wed, 26 Jun 2019 23:10:42 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=armh.onmicrosoft.com; s=selector2-armh-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=XX8ZulPh5Yh0kwkEluOtRiKPukGZC9tkvRaHJ8oVifM=; b=ILPY5vZv8hsXcWnjdf3LyztZuelWGD0ZY9t4eR/NLxnG2kML8Iht6NtZRcK/Xaq+l8gpPs+93ApESNQB/QQUNsX4dLvCRCTsddoe7m4KkMCallEhAs0LST5MG8aihrUgcv4RMGXfsJB74hKzicER9esVFdTxcv+iGQKmUrzy8GA= Received: from VI1PR08MB5488.eurprd08.prod.outlook.com (52.133.246.150) by VI1PR08MB3358.eurprd08.prod.outlook.com (52.134.31.145) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2008.13; Thu, 27 Jun 2019 03:10:37 +0000 Received: from VI1PR08MB5488.eurprd08.prod.outlook.com ([fe80::390b:b8a9:542b:9ef9]) by VI1PR08MB5488.eurprd08.prod.outlook.com ([fe80::390b:b8a9:542b:9ef9%3]) with mapi id 15.20.2008.014; Thu, 27 Jun 2019 03:10:37 +0000 From: "Lowry Li (Arm Technology China)" To: Liviu Dudau , "james qian wang (Arm Technology China)" , "maarten.lankhorst@linux.intel.com" , "seanpaul@chromium.org" , "airlied@linux.ie" , Brian Starkey CC: "Julien Yin (Arm Technology China)" , "Jonathan Chai (Arm Technology China)" , Ayan Halder , "dri-devel@lists.freedesktop.org" , "linux-kernel@vger.kernel.org" , nd Subject: [PATCH] drm/komeda: Adds error event print functionality Thread-Topic: [PATCH] drm/komeda: Adds error event print functionality Thread-Index: AQHVLJXktogmbqKelUWXSXQXvsiyYA== Date: Thu, 27 Jun 2019 03:10:36 +0000 Message-ID: <1561604994-26925-1-git-send-email-lowry.li@arm.com> Accept-Language: zh-CN, en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [113.29.88.7] x-clientproxiedby: HK0PR01CA0017.apcprd01.prod.exchangelabs.com (2603:1096:203:92::29) To VI1PR08MB5488.eurprd08.prod.outlook.com (2603:10a6:803:137::22) authentication-results: spf=none (sender IP is ) smtp.mailfrom=Lowry.Li@arm.com; x-ms-exchange-messagesentrepresentingtype: 1 x-mailer: git-send-email 1.9.1 x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: 0b86c7d4-6c4c-45c2-6465-08d6faad0696 x-ms-office365-filtering-ht: Tenant x-microsoft-antispam: BCL:0;PCL:0;RULEID:(2390118)(7020095)(4652040)(8989299)(4534185)(7168020)(4627221)(201703031133081)(201702281549075)(8990200)(5600148)(711020)(4605104)(1401327)(4618075)(2017052603328)(7193020);SRVR:VI1PR08MB3358; x-ms-traffictypediagnostic: VI1PR08MB3358: nodisclaimer: True x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:5236; x-forefront-prvs: 008184426E x-forefront-antispam-report: SFV:NSPM;SFS:(10009020)(366004)(396003)(39860400002)(376002)(346002)(136003)(199004)(189003)(66446008)(8676002)(256004)(386003)(2501003)(54906003)(6506007)(53936002)(186003)(6116002)(476003)(71190400001)(110136005)(52116002)(6636002)(478600001)(102836004)(486006)(55236004)(2616005)(26005)(86362001)(66066001)(50226002)(316002)(64756008)(2201001)(99286004)(66476007)(6486002)(73956011)(2906002)(14454004)(66946007)(66556008)(36756003)(72206003)(81156014)(14444005)(71200400001)(3846002)(8936002)(68736007)(25786009)(6512007)(4326008)(5660300002)(7736002)(305945005)(81166006)(6436002);DIR:OUT;SFP:1101;SCL:1;SRVR:VI1PR08MB3358;H:VI1PR08MB5488.eurprd08.prod.outlook.com;FPR:;SPF:None;LANG:en;PTR:InfoNoRecords;A:1;MX:1; received-spf: None (protection.outlook.com: arm.com does not designate permitted sender hosts) x-ms-exchange-senderadcheck: 1 x-microsoft-antispam-message-info: rdQBKLjYaliZhPaW/uDVd0OOlFyBjJDPHAJN3mQXKSumH6xQDp0Du02MzvAbF6iLUMbfWyTRTOUz1yOg90Alsq5xRHbYkEAeekowD319c6v60bQlilc4tgxHN5N5EiMHPDVuvCkAPqjjREPzkAN1q/n+rC9AqBKI37O9y06FSSzxB43ZvNTPPUKxgIJ9f04VapEL5PZcdMm+K3xFj8i+6gPZI5Hfgs8fvQaGso+BYz+dgg86j1cKfPzXQHHcpLhJRifKa5Jra7SwnjKesdYAAabStnZthv2fFI/0WeQBy1JPjOxD/aV3rKQJ8sN1rjDLmrh5bP/y5IQhxBkLM2ci1tkpDQUVoRPG7DcUDtove60bYkkmCkrc0yOMdAsors/L4SpMWhYWPWP11N1sgF0bBdaQiJ9bmgMh1j4RlQBIDwk= Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: base64 MIME-Version: 1.0 X-OriginatorOrg: arm.com X-MS-Exchange-CrossTenant-Network-Message-Id: 0b86c7d4-6c4c-45c2-6465-08d6faad0696 X-MS-Exchange-CrossTenant-originalarrivaltime: 27 Jun 2019 03:10:36.9461 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: f34e5979-57d9-4aaa-ad4d-b122a662184d X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-CrossTenant-userprincipalname: Lowry.Li@arm.com X-MS-Exchange-Transport-CrossTenantHeadersStamped: VI1PR08MB3358 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org QWRkcyB0byBwcmludCB0aGUgZXZlbnQgbWVzc2FnZSB3aGVuIGVycm9yIGhhcHBlbnMgYW5kIHRo ZSBzYW1lIGV2ZW50DQp3aWxsIG5vdCBiZSBwcmludGVkIHVudGlsIG5leHQgdnN5bmMuDQoNClNp Z25lZC1vZmYtYnk6IExvd3J5IExpIChBcm0gVGVjaG5vbG9neSBDaGluYSkgPGxvd3J5LmxpQGFy bS5jb20+DQotLS0NCiBkcml2ZXJzL2dwdS9kcm0vYXJtL2Rpc3BsYXkva29tZWRhL01ha2VmaWxl ICAgICAgIHwgICAxICsNCiBkcml2ZXJzL2dwdS9kcm0vYXJtL2Rpc3BsYXkva29tZWRhL2tvbWVk YV9kZXYuaCAgIHwgIDEzICsrDQogZHJpdmVycy9ncHUvZHJtL2FybS9kaXNwbGF5L2tvbWVkYS9r b21lZGFfZXZlbnQuYyB8IDE0NCArKysrKysrKysrK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