Received: by 2002:ac0:946b:0:0:0:0:0 with SMTP id j40csp1645663imj; Thu, 14 Feb 2019 09:39:44 -0800 (PST) X-Google-Smtp-Source: AHgI3Ib9BFJDVi6hzQq1fa6A+3z32STgAzXHyNLHd+NHcyjy5XZ19shzvDkkrpIQCyj3GGaNX0Rf X-Received: by 2002:a62:33c1:: with SMTP id z184mr5229342pfz.104.1550165984382; Thu, 14 Feb 2019 09:39:44 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1550165984; cv=none; d=google.com; s=arc-20160816; b=zhCcku7ySdIlh0sRn9vllvacPbiS/Ctv7HD2FekfPdj8R4DDm+TzRikXoRVvpUFsjS Qf1u96qg+XZyXSIwKdnMO8qZU1e839ykMKb+UjvsM8TLNO8Fw0+kXjfBibx4aVCINc2P Hqbc1arLn/RCdO1Tzu/u8WTM3o4HZte94m2LGKPi1/TTOQXuq5XzHhb47spvzWOH4R44 pDK22WuKtWSIm2XtRKCRmZHZASvc19wWWwo9GIj+ySHmnKZ5wvepXuHfBB+hW2tH7N/R xSNJKDfgRum16LyvzsjyL1GbVZ+borxvxkSWRvzCkERcLQrKiKJ2w+3yaWJBBDTZP+Sy cnLw== 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=9YrgM2b8NCAdCvgKnBUdKOmfbYe8ywf3KDDPouGklZM=; b=E7sNMTpsOJd0JC1Pk9qoWy4R3A9sFodOTRpLWwZpHnG/4dnn3/o3uNMggMDMsUCZ/k lFBGxcg7KgWQAAgXGF2NmOU2fgOPPEesaqS6AVOThE400C3OlrHfl2PlH3fhV3IdVNT0 Vs2r6z+tOsTQMNSzNksdkcwr8aM5Oyy+R+eRi7K5OgxxKbrhfg8IZ8Wque8GW1O4/r9q kT4mD+60CJQz70bDmUE6f5s5hcQKGX5T7c88tlLuKbcG60IZjcGK7QaUjKRpHMt5zEq/ 5w4W9lh8GE1/9X84b6hYFThn3d9p3Q3qMCZRMWi2Xwg83exoIP4T6WxOnDQeHvnkOU2g cXKg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@nxp.com header.s=selector1 header.b=P5JRl78S; 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 m5si2709652pgq.193.2019.02.14.09.39.28; Thu, 14 Feb 2019 09:39:44 -0800 (PST) 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=P5JRl78S; 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 S2406315AbfBNJ5f (ORCPT + 99 others); Thu, 14 Feb 2019 04:57:35 -0500 Received: from mail-eopbgr40056.outbound.protection.outlook.com ([40.107.4.56]:35922 "EHLO EUR03-DB5-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S2391766AbfBNJ5e (ORCPT ); Thu, 14 Feb 2019 04:57:34 -0500 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=9YrgM2b8NCAdCvgKnBUdKOmfbYe8ywf3KDDPouGklZM=; b=P5JRl78S39wVfefG2aOil11P3v8TFg8hBPksLHQSjcTG9WWapRRGZooBXmvznr5ySd5aCzO3DqzbpcfYBoPjHUKfM0MPrVDLBzYFIcP7QhURxLmVvAPK44LILcZmV3KgHEswCzdrV0MDxeqJkldJdObrvRAkX1h/94K8xG23+fY= Received: from DB7PR04MB4618.eurprd04.prod.outlook.com (52.135.138.152) by DB7PR04MB4300.eurprd04.prod.outlook.com (52.135.131.142) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.1601.22; Thu, 14 Feb 2019 09:57:29 +0000 Received: from DB7PR04MB4618.eurprd04.prod.outlook.com ([fe80::2083:76ce:c2b6:6a39]) by DB7PR04MB4618.eurprd04.prod.outlook.com ([fe80::2083:76ce:c2b6:6a39%4]) with mapi id 15.20.1601.023; Thu, 14 Feb 2019 09:57:29 +0000 From: Joakim Zhang To: "mkl@pengutronix.de" , "linux-can@vger.kernel.org" CC: "wg@grandegger.com" , "netdev@vger.kernel.org" , "linux-kernel@vger.kernel.org" , dl-linux-imx Subject: RE: [PATCH] can: flexcan: add TX support for variable payload size Thread-Topic: [PATCH] can: flexcan: add TX support for variable payload size Thread-Index: AQHUkeZs7DN/5MKD9Eu238RlkbDYTKWzNv+ggCw8iyA= Date: Thu, 14 Feb 2019 09:57:29 +0000 Message-ID: References: <20181212064419.18613-1-qiangqing.zhang@nxp.com> In-Reply-To: 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=qiangqing.zhang@nxp.com; x-originating-ip: [119.31.174.71] x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: 86780f8b-b824-4c59-39d9-08d69262d500 x-ms-office365-filtering-ht: Tenant x-microsoft-antispam: BCL:0;PCL:0;RULEID:(2390118)(7020095)(4652040)(8989299)(4534185)(4627221)(201703031133081)(201702281549075)(8990200)(5600110)(711020)(4605077)(4618075)(2017052603328)(7153060)(7193020);SRVR:DB7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-prvs: x-forefront-prvs: 09480768F8 x-forefront-antispam-report: SFV:NSPM;SFS:(10009020)(396003)(376002)(39860400002)(346002)(366004)(136003)(199004)(189003)(13464003)(256004)(81166006)(8936002)(316002)(76176011)(110136005)(8676002)(106356001)(105586002)(26005)(25786009)(33656002)(55016002)(2501003)(2906002)(71190400001)(4326008)(6246003)(7736002)(74316002)(305945005)(186003)(97736004)(99286004)(6436002)(54906003)(81156014)(7696005)(478600001)(53936002)(6116002)(3846002)(11346002)(68736007)(486006)(446003)(229853002)(66066001)(14454004)(9686003)(569044001)(71200400001)(6506007)(86362001)(476003)(102836004)(53546011);DIR:OUT;SFP:1101;SCL:1;SRVR:DB7PR04MB4300;H:DB7PR04MB4618.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-message-info: Emxbjk2DiNy5DHFXRqKQRcwCmj7MPIjZUlNIK+g6sZ9BvYxYIX6VFnT9EPwv6YYqMGXx1hKUG3NNrXPeEshjaRA+SAJj8s00XrOVTMwlY8UyoSOshS9Uyhljmrww5hIxIhgcUEjSyIAh7MoZQxcSCC/wA2e8V6ClBIu+euvPbRnPv4+GSJ2gCjjAp3eUkPXRjmBYpMTrULoOaT8UUaJGsVe5vfRKFtzwVRGctNqzs/zaUJar21EkhWEJTEPS9iX5cRRf2i98Hy/LPloCGh2kFiN5Gk8n9Ur8rdP45ZsmDin4PdhqltwGciShd1FxDLm9iOdcqpnnQzRAVUiwDcy7MHO5NLxm7ZGxg6eE5He6yEFlwtq6G+suPjU6vbK7eXPN4AQOiLd+o/pjJ7KXnlpjPFy3En75jjoi2gnPha2/FFQ= Content-Type: text/plain; charset="gb2312" Content-Transfer-Encoding: base64 MIME-Version: 1.0 X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: 86780f8b-b824-4c59-39d9-08d69262d500 X-MS-Exchange-CrossTenant-originalarrivaltime: 14 Feb 2019 09:57:29.6845 (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: DB7PR04MB4300 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org DQpLaW5kbHkgUGluZy4uLg0KDQpCZXN0IFJlZ2FyZHMsDQpKb2FraW0gWmhhbmcNCg0KPiAtLS0t LU9yaWdpbmFsIE1lc3NhZ2UtLS0tLQ0KPiBGcm9tOiBKb2FraW0gWmhhbmcNCj4gU2VudDogMjAx OcTqMdTCMTfI1SAxNDoyNg0KPiBUbzogbWtsQHBlbmd1dHJvbml4LmRlOyBsaW51eC1jYW5Admdl ci5rZXJuZWwub3JnDQo+IENjOiB3Z0BncmFuZGVnZ2VyLmNvbTsgbmV0ZGV2QHZnZXIua2VybmVs Lm9yZzsNCj4gbGludXgta2VybmVsQHZnZXIua2VybmVsLm9yZzsgZGwtbGludXgtaW14IDxsaW51 eC1pbXhAbnhwLmNvbT4NCj4gU3ViamVjdDogUkU6IFtQQVRDSF0gY2FuOiBmbGV4Y2FuOiBhZGQg VFggc3VwcG9ydCBmb3IgdmFyaWFibGUgcGF5bG9hZCBzaXplDQo+IA0KPiANCj4gS2luZGx5IFBp bmcuLi4NCj4gDQo+IEJlc3QgUmVnYXJkcywNCj4gSm9ha2ltIFpoYW5nDQo+IA0KPiA+IC0tLS0t T3JpZ2luYWwgTWVzc2FnZS0tLS0tDQo+ID4gRnJvbTogSm9ha2ltIFpoYW5nDQo+ID4gU2VudDog MjAxOMTqMTLUwjEyyNUgMTQ6NDcNCj4gPiBUbzogbWtsQHBlbmd1dHJvbml4LmRlOyBsaW51eC1j YW5Admdlci5rZXJuZWwub3JnDQo+ID4gQ2M6IHdnQ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