Received: by 2002:a5b:505:0:0:0:0:0 with SMTP id o5csp629020ybp; Wed, 9 Oct 2019 01:30:04 -0700 (PDT) X-Google-Smtp-Source: APXvYqwS095cle3Ye6yBriCNMpbuT7Z4GFcKm57JctWHmPDko0t8CmuFI0s2g+vRAaPfG7Mm894J X-Received: by 2002:a17:906:250d:: with SMTP id i13mr1653032ejb.275.1570609804684; Wed, 09 Oct 2019 01:30:04 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1570609804; cv=pass; d=google.com; s=arc-20160816; b=mIg4VcFTWvblvMhWnvbfgtaXbJEa0kZ5tBsdiQwd9WINioqtJdH0csGbObFDD1xhxK bjDVJd3cL43d2efD1q54Vi2IHELXYoqW0c8DL8WUgTWXus40WK/3mmN/Nj2XLF+fmRIP RbnsM4KMLLvbWhiySGjRq4K4gcnqzX/yDbhf0+0Ta7zDrdMQpgTBz5LDPsh9Fez3V75o rZcNnbe0UrNsW4+F5xTgoa7yB16dIFP8H5jXVtcdVc+fHXikHHUIJA/3Qfe1Y/4FZCnh Qy74hTy47ZE0YWba+uOn4xHuBnKvlDXJsETEW48O48OZi+5LlcX5fCLW+Y5mwtUzcsrN hPMQ== ARC-Message-Signature: i=2; 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=6g4RK3VEmkB8nnzf1I1M5vVCHF/qeK2sKQ7vprEPym4=; b=ju0dX83yf/nK1DMadGYz2rn8mEugMGHynUMzi+yJeH1y0aACQt0LBgnx+8K4VUkey/ FBTd4nrL8NTWetYorlrAvnLY5BbMDClpeu1vfYWCP9VhzOjEx0vSIbB5f9Y3+7c8Kqtq i0LxaUQ+Ed7zaw15zcP0MTfmvGCzN2eQimSSaQ4Q995QJDcXhTwv7VRy0WRSUSV6/zCa 3JEdIGFwIR+XHBHLkT+q2aphMELPfxbH9V3dwo+6B3cFf4jp/6jTQ/xWbPVMIBcq0Yv6 ajjRC9tORwySTfkbXF76brf8GEnTPAn7curlCcR3pzSxElzniYE45zDOIZYldwgjSVfw mSOg== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@nxp.com header.s=selector2 header.b=U761Vbfh; arc=pass (i=1 spf=pass spfdomain=nxp.com dkim=pass dkdomain=nxp.com dmarc=pass fromdomain=nxp.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; 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 z33si907025edz.314.2019.10.09.01.29.41; Wed, 09 Oct 2019 01:30:04 -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=selector2 header.b=U761Vbfh; arc=pass (i=1 spf=pass spfdomain=nxp.com dkim=pass dkdomain=nxp.com dmarc=pass fromdomain=nxp.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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=nxp.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1729699AbfJII3b (ORCPT + 99 others); Wed, 9 Oct 2019 04:29:31 -0400 Received: from mail-eopbgr70088.outbound.protection.outlook.com ([40.107.7.88]:6305 "EHLO EUR04-HE1-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1725848AbfJII3a (ORCPT ); Wed, 9 Oct 2019 04:29:30 -0400 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=DqMVeGG6nbnanNDcf/S41/aDvS0RIk/peitlSDMsrM5Q2lnGtID4+SSZqeeywuVuOC73E9Oa1GrLjLZpVgID51MiOxddKMo2vqjK8KfdrcyrLgeIHva3DAKVf2McXjb/2tq6FmDlWzse94PXWyC9vFgyk3YdHAbH3c9Zij9U7bM3nGNzljNm0CkXwXKH9SbZVAwHYqD/u7oXXWomkh/gst9RzArtfk63TnLfRWia6rW0JP7+SMjNjNMjQClRwr5Holk3aiE+rQo5CO+RxpRe9y44/LnokomLLNMIlnewoagUwRKUYxBQ9m1CMGKlzepYXpvcU574puZU2htWvICMog== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=6g4RK3VEmkB8nnzf1I1M5vVCHF/qeK2sKQ7vprEPym4=; b=VGcrbAFfHk3FKr9w1UxaI5YeIjnBdnEHIjpN+Ptycx3UbpoJi2/Ll6uV4ZXW4miL9yOTWSOOfaVSjImjkd+yLr29dZupPHC0Sd5laci8i/lfd1XXvP+TPO5XHJudrBHoEPd5zNxFIxPyLboO9UXJmECBc7n8tuq68uB5FsTgCn45uf7r1uxW/DtshPU1Ke5XoaOrY71b4IEmP2vo8pr7RMRDcltrSpzgXHESOHAHhI91kCwnPj4wP5smitBHPeco/+D7HWaxkKlw5a+PBjX1inYbArSjWTfmlXezbcRHKat2HmQ8xAPXQfNLmlH0FkwJ3zU4TzoIAV8fvsxqLhredQ== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=nxp.com; dmarc=pass action=none header.from=nxp.com; dkim=pass header.d=nxp.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nxp.com; s=selector2; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=6g4RK3VEmkB8nnzf1I1M5vVCHF/qeK2sKQ7vprEPym4=; b=U761VbfheSjELIbbVwMhKTgbicQzYNK+k3Hd8qlqqcwrCeICpH50pZGDRRoujZuyNDp4RXmWCaJqbGO3MdBjR0X05OCth93EEp5Ia3P/4l68FBJQUdG10XwpLwnCzH5rbzH1xyjY5pfQ+z9mYR86sQ5xbytaQ4RRwGxKGcpyvqw= Received: from DB3PR0402MB3916.eurprd04.prod.outlook.com (52.134.72.18) by DB3PR0402MB3770.eurprd04.prod.outlook.com (52.134.73.21) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2305.22; Wed, 9 Oct 2019 08:28:44 +0000 Received: from DB3PR0402MB3916.eurprd04.prod.outlook.com ([fe80::d469:ad51:2bec:19f0]) by DB3PR0402MB3916.eurprd04.prod.outlook.com ([fe80::d469:ad51:2bec:19f0%6]) with mapi id 15.20.2347.016; Wed, 9 Oct 2019 08:28:44 +0000 From: Anson Huang To: Marco Felsch CC: "shawnguo@kernel.org" , "s.hauer@pengutronix.de" , "kernel@pengutronix.de" , "festevam@gmail.com" , Aisheng Dong , Leonard Crestez , "linux-arm-kernel@lists.infradead.org" , "linux-kernel@vger.kernel.org" , dl-linux-imx Subject: RE: [PATCH V2] firmware: imx: Skip return value check for some special SCU firmware APIs Thread-Topic: [PATCH V2] firmware: imx: Skip return value check for some special SCU firmware APIs Thread-Index: AQHVfK0Yhw8grvoW2E2n3r70yUmdBKdO0YaAgAEYy6CAAhJjgIAAAOgg Date: Wed, 9 Oct 2019 08:28:44 +0000 Message-ID: References: <1570410959-32563-1-git-send-email-Anson.Huang@nxp.com> <20191007080135.4e5ljhh6z2rbx5bw@pengutronix.de> <20191009082455.5hqhotkbozsr7mgo@pengutronix.de> In-Reply-To: <20191009082455.5hqhotkbozsr7mgo@pengutronix.de> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: authentication-results: spf=none (sender IP is ) smtp.mailfrom=anson.huang@nxp.com; x-originating-ip: [119.31.174.66] x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: ff5fea14-3243-438b-f61a-08d74c92b299 x-ms-office365-filtering-ht: Tenant x-ms-traffictypediagnostic: DB3PR0402MB3770:|DB3PR0402MB3770: x-ms-exchange-purlcount: 2 x-ms-exchange-transport-forked: True x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:9508; x-forefront-prvs: 018577E36E x-forefront-antispam-report: SFV:NSPM;SFS:(10009020)(4636009)(366004)(346002)(376002)(136003)(396003)(39860400002)(199004)(189003)(64756008)(66066001)(256004)(45080400002)(76116006)(66946007)(6436002)(8936002)(66446008)(476003)(33656002)(7696005)(99286004)(229853002)(44832011)(486006)(86362001)(6246003)(25786009)(66556008)(53546011)(66476007)(76176011)(6916009)(9686003)(74316002)(54906003)(102836004)(4326008)(305945005)(446003)(7736002)(6506007)(2906002)(81156014)(81166006)(316002)(26005)(186003)(52536014)(71200400001)(71190400001)(5660300002)(55016002)(6306002)(3846002)(8676002)(14454004)(11346002)(478600001)(966005)(6116002);DIR:OUT;SFP:1101;SCL:1;SRVR:DB3PR0402MB3770;H:DB3PR0402MB3916.eurprd04.prod.outlook.com;FPR:;SPF:None;LANG:en;PTR:InfoNoRecords;A:1;MX:1; received-spf: None (protection.outlook.com: nxp.com does not designate permitted sender hosts) x-ms-exchange-senderadcheck: 1 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: kTke/64SdOqG6pZaaEgFZmMztfYvX/m2bYiYSTSoFnpqHTTZ4erJ6F56DsRA6/7wlA4ybMWvA1mOB0a5y5a1Oap8QadI/wLwye6DPVBGnhG8snbSs03ddijFKgfKYYlKeCDA9zKcPx2LIBWK7OFPyPZpz3qnyuOlOBociEF314vqKOCassLAfpYr58G8BWoalErE+GvgLIq+nQuUqbCyGxf9q0Jfm6qMGE20maNTJ+Z8vfMUTfiurOOEPxCoO9GoyknxJ91a2PrVtd0GPMqnWjSspAH5FXfKyF7VaGzKlSE2PGXGLMp7IiXOorjXcmZTauZn77OESRdzNaaQwaKWTBkW0jJWt6q4U4WfhnYKMVegMx3x4jQc/6O8NNvh9ifbEd1JUlW3vWS0YQ5sXbikT8Piz1szea69e3THDZjdObMwXO2YAOcsz+MKXMeJD1oJZ+zAOC8Mq4/Q/4mp0Ib+fQ== 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: ff5fea14-3243-438b-f61a-08d74c92b299 X-MS-Exchange-CrossTenant-originalarrivaltime: 09 Oct 2019 08:28:44.0435 (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-CrossTenant-userprincipalname: 96Fi9l4THHUCwH7951r2fT+OiY85f0kxyAu3S3+42PIVf6mXHfxAG3GAz8jgWckkQRE6nwq29axTkho0tUyEUg== X-MS-Exchange-Transport-CrossTenantHeadersStamped: DB3PR0402MB3770 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org SGksIE1hcmNvDQoNCj4gT24gMTktMTAtMDggMDA6NDgsIEFuc29uIEh1YW5nIHdyb3RlOg0KPiA+ IEhpLCBNYXJjbw0KPiA+DQo+ID4gPiBPbiAxOS0xMC0wNyAwOToxNSwgQW5zb24gSHVhbmcgd3Jv dGU6DQo+ID4gPiA+IFRoZSBTQ1UgZmlybXdhcmUgZG9lcyBOT1QgYWx3YXlzIGhhdmUgcmV0dXJu IHZhbHVlIHN0b3JlZCBpbg0KPiA+ID4gPiBtZXNzYWdlIGhlYWRlcidzIGZ1bmN0aW9uIGVsZW1l bnQgZXZlbiB0aGUgQVBJIGhhcyByZXNwb25zZSBkYXRhLA0KPiA+ID4gPiB0aG9zZSBzcGVjaWFs IEFQSXMgYXJlIGRlZmluZWQgYXMgdm9pZCBmdW5j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