Received: by 2002:a25:8b91:0:0:0:0:0 with SMTP id j17csp911348ybl; Thu, 12 Dec 2019 06:51:49 -0800 (PST) X-Google-Smtp-Source: APXvYqynIFLM5pKjof0NS/Ctw5N7UMryCllLxZmmW/CKWabWRAXT9QuZb01d+T997srMnG43TRPh X-Received: by 2002:a9d:12ea:: with SMTP id g97mr8740008otg.105.1576162309327; Thu, 12 Dec 2019 06:51:49 -0800 (PST) Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id m19si3119417otk.84.2019.12.12.06.51.28; Thu, 12 Dec 2019 06:51:49 -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=@synopsys.com header.s=mail header.b=DYMREVS7; dkim=fail header.i=@synopsys.onmicrosoft.com header.s=selector2-synopsys-onmicrosoft-com header.b=RkVyNXjW; arc=fail (signature failed); 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=synopsys.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1729831AbfLLOtM (ORCPT + 99 others); Thu, 12 Dec 2019 09:49:12 -0500 Received: from us03-smtprelay2.synopsys.com ([149.117.87.133]:36074 "EHLO smtprelay-out1.synopsys.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1729640AbfLLOtM (ORCPT ); Thu, 12 Dec 2019 09:49:12 -0500 Received: from mailhost.synopsys.com (badc-mailhost2.synopsys.com [10.192.0.18]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) (No client certificate requested) by smtprelay-out1.synopsys.com (Postfix) with ESMTPS id 763E5C00C6; Thu, 12 Dec 2019 14:49:08 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=synopsys.com; s=mail; t=1576162150; bh=J+4517qcqBaymE6yCV6qNc8cqPBywGiYHuuAkHR0kFo=; h=From:To:CC:Subject:Date:References:In-Reply-To:From; b=DYMREVS7htJl4nJFe6s0VLCilSoZyccrZ7zuy/vbLpEwi0wJQswEUGsq+91SeZVzw FU37hBnE/Y1yo6SUY8K0evhSorvq6grQFU7TWBfSdGHvjf9A3II06pgjl6QSf+CIqX WJuK7VKhsLSaEixo474BN3piWdlmjIfbnRz3F+9R1n07mECaVpob9OIhEdZOPneCkp iJDTx9qDL++elOhJxXhu3xZbWh4hLLx1YTer/5EYLvY7HhMOKvTaaxBNIUFXJnkRR0 S1lMt89a3ilympk/LBy2Zl4kIkHMfFq/ps0IvnX3CFaljDOt+52sR/G+wL2fvxvqoi CpZ5d0Tjr8GqA== Received: from US01WEHTC3.internal.synopsys.com (us01wehtc3.internal.synopsys.com [10.15.84.232]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-SHA384 (256/256 bits)) (No client certificate requested) by mailhost.synopsys.com (Postfix) with ESMTPS id 284A2A0087; Thu, 12 Dec 2019 14:49:06 +0000 (UTC) Received: from US01HYBRID2.internal.synopsys.com (10.15.246.24) by US01WEHTC3.internal.synopsys.com (10.15.84.232) with Microsoft SMTP Server (TLS) id 14.3.408.0; Thu, 12 Dec 2019 06:48:59 -0800 Received: from NAM10-MW2-obe.outbound.protection.outlook.com (10.202.3.67) by mrs.synopsys.com (10.15.246.24) with Microsoft SMTP Server (TLS) id 14.3.408.0; Thu, 12 Dec 2019 06:48:59 -0800 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=AI63fJ2MLUlLipBKuJsvl9+7+wIJYhXD/9wEhiVy63MVtUDuzsv9KrE14lvx29hMf3R23iiO35BjlL+1YR1KJ7nt0f5RGnMRQlF1dBliVHo626pN0SaQDrNZatFYxPOynEtuLIhjyGJXuAWQSDnBA7yfI+eYq4x3EGCEpqR+uPLfYetSA/fLibLuakz2w6ATNZBX6eHXHBvMyQJ4JZSCN1EoNt9JVoaAOH2zkFYFCacPq6cOdHfeVqQjweOGxeP/CoulMuhIyPclcSZ/6T+FK9T0Wgwk7fROwMv8rjevae5wfxp6UGRvKC4c2cfJbjBS0ZwCM7c7rd7ZKPmsvG1Z6Q== 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=JtpYoHuXaQO0Jeb5taM9Urax/gHOFpPzglpCUQo/3P0=; b=AOc+b2IWOmHEIZKpH2UF32CrSQSqaxJL/mAg/Rgkkv8HWn1kS2fz/5zMtpczpsTleYQKI95tFuQMOQAfgEoasZ/hQQc8hxzP2q4OLRQ6me6h7eQEAzZ0qafYe3tv0EO6pbipwiBbYeDY/YqLykYtqKfMd0QOJ/aM3YX9igyfd92e18lsWZdUpM3tbx42l9C8g4+Woa0v4pU565M8G1nSzx/5BVuQq35+26lbzCv9SAQxxfI7fCstuVKqfqV7+3yCO7UmkYEGZQr3R2KQlUlWVOdQnueedm1VAE4bx0LTprIbKozbg93cVIAsQA55AtT6gXMf50gUS1QOcPP5LIQvWg== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=synopsys.com; dmarc=pass action=none header.from=synopsys.com; dkim=pass header.d=synopsys.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=synopsys.onmicrosoft.com; s=selector2-synopsys-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=JtpYoHuXaQO0Jeb5taM9Urax/gHOFpPzglpCUQo/3P0=; b=RkVyNXjW9G0X87LuQrcpKThkQo9akvhR/iVDjpjV0ErphiRA4D4IOTk7AERzkh3NdjDNUA6+dU8doclh9OWdJR1/MKkh8jeDS8ET4P+WHYq4LxRSfARCDOLnmZBYmbGbY1d9hdMbIB7QKtvgT/pN9TdSIjdQj9GzVQpc9roO+uI= Received: from CH2PR12MB4216.namprd12.prod.outlook.com (20.180.6.151) by CH2PR12MB3733.namprd12.prod.outlook.com (52.132.247.142) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2538.15; Thu, 12 Dec 2019 14:48:58 +0000 Received: from CH2PR12MB4216.namprd12.prod.outlook.com ([fe80::81fc:ad3e:6315:c6ff]) by CH2PR12MB4216.namprd12.prod.outlook.com ([fe80::81fc:ad3e:6315:c6ff%7]) with mapi id 15.20.2516.018; Thu, 12 Dec 2019 14:48:57 +0000 From: Vitor Soares To: Greg KH CC: "linux-kernel@vger.kernel.org" , "linux-i3c@lists.infradead.org" , Joao Pinto , "bbrezillon@kernel.org" , "wsa@the-dreams.de" , "arnd@arndb.de" , "broonie@kernel.org" Subject: RE: [RFC 3/5] i3c: device: expose transfer strutures to uapi Thread-Topic: [RFC 3/5] i3c: device: expose transfer strutures to uapi Thread-Index: AQHVr2/iHsu4jOchCU+9H34Yn/scM6e2leaAgAABKzA= Date: Thu, 12 Dec 2019 14:48:57 +0000 Message-ID: References: <20191212144233.GA1668196@kroah.com> In-Reply-To: <20191212144233.GA1668196@kroah.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-dg-ref: =?us-ascii?Q?PG1ldGE+PGF0IG5tPSJib2R5LnR4dCIgcD0iYzpcdXNlcnNcc29hcmVzXGFw?= =?us-ascii?Q?cGRhdGFccm9hbWluZ1wwOWQ4NDliNi0zMmQzLTRhNDAtODVlZS02Yjg0YmEy?= =?us-ascii?Q?OWUzNWJcbXNnc1xtc2ctODNkMzdkZDctMWNlZS0xMWVhLTgyNzQtYjgwOGNm?= =?us-ascii?Q?NTlkN2ZjXGFtZS10ZXN0XDgzZDM3ZGQ5LTFjZWUtMTFlYS04Mjc0LWI4MDhj?= =?us-ascii?Q?ZjU5ZDdm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FBQUFBQUFBQUFBQUFBQUFBQUFBQUFRQUFBQUFB?= =?us-ascii?Q?QUFBQ0FBQUFBQUE9Ii8+PC9tZXRhPg=3D=3D?= authentication-results: spf=none (sender IP is ) smtp.mailfrom=soares@synopsys.com; x-originating-ip: [83.174.63.141] x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: 667c3637-5af6-4e88-7691-08d77f126b22 x-ms-traffictypediagnostic: CH2PR12MB3733: x-ms-exchange-transport-forked: True x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:8882; x-forefront-prvs: 0249EFCB0B x-forefront-antispam-report: SFV:NSPM;SFS:(10019020)(396003)(376002)(346002)(136003)(39860400002)(366004)(189003)(199004)(81166006)(81156014)(66556008)(6506007)(66946007)(4326008)(478600001)(316002)(66476007)(66446008)(8676002)(71200400001)(186003)(64756008)(54906003)(26005)(8936002)(6916009)(52536014)(9686003)(86362001)(5660300002)(7696005)(2906002)(33656002)(76116006)(55016002);DIR:OUT;SFP:1102;SCL:1;SRVR:CH2PR12MB3733;H:CH2PR12MB4216.namprd12.prod.outlook.com;FPR:;SPF:None;LANG:en;PTR:InfoNoRecords;MX:1;A:1; received-spf: None (protection.outlook.com: synopsys.com does not designate permitted sender hosts) x-ms-exchange-senderadcheck: 1 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: XMex8i0OsDQMWVWETg4SMqcTjMSmPkeKQScq04o9bCUVp3ssTBAvEagFHaS/78WTFVDfsXGz96/FgMZGXXDONTnQUQe0B+fYIIl5FWKppOhSY5/KoxYQInEtKU6P7oGqMncavwCMZQT7CfNr90dxFsLm9qFUukPZaex/TJUTdJXVjiyPoD6W7NKxe9ixLubxpfUQHHlEM2ScSmq7ksUJaKSEnekS82NiHW89OOOQgMwI6iT9AB1Ll/OjD25IJTAMCS5ziGyWtRO7LI5zoAm0l7qsimeKXAnoJ9WmJhJJsfnxJCP9uEVAmRhNsiBWxYO4hayFL6onwqx4j6EJGAI9f2nuNr1QuoONpr7UHJePpFTJIzPCI/0hyFvnQVz8kkZingVxynxuwKk4d62saIv6tmlpxZ8IzJ2Cbgko+uO4k8gUaSZxJswc/ZrPXgKzkkJO Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-MS-Exchange-CrossTenant-Network-Message-Id: 667c3637-5af6-4e88-7691-08d77f126b22 X-MS-Exchange-CrossTenant-originalarrivaltime: 12 Dec 2019 14:48:57.9286 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: c33c9f88-1eb7-4099-9700-16013fd9e8aa X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-CrossTenant-userprincipalname: NC8Kgu9PyGKIKmNa0blqQAHKxwdGPvgbVax1G30VpHHCjFQvP2LcdJeGQW5KjbIL5YeE7maByntygAHi3iQBbQ== X-MS-Exchange-Transport-CrossTenantHeadersStamped: CH2PR12MB3733 X-OriginatorOrg: synopsys.com Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org HI Greg, From: Greg KH Date: Thu, Dec 12, 2019 at 14:42:33 > On Tue, Dec 10, 2019 at 04:37:31PM +0100, Vitor Soares wrote: > > --- /dev/null > > +++ b/include/uapi/linux/i3c/device.h > > @@ -0,0 +1,66 @@ > > +/* SPDX-License-Identifier: GPL-2.0 */ >=20 > Not a valid uapi SPDX license :( Sorry, I missed that one. I already got the right SPDX. >=20 >=20 > > +/* > > + * Copyright (c) 2019 Synopsys, Inc. and/or its affiliates. > > + * > > + * Author: Vitor Soares > > + */ > > + > > +#ifndef _UAPI_LINUX_I3C_DEVICE_H > > +#define _UAPI_LINUX_I3C_DEVICE_H > > + > > +#include > > + > > +/** > > + * enum i3c_error_code - I3C error codes > > + * > > + * These are the standard error codes as defined by the I3C specificat= ion. > > + * When -EIO is returned by the i3c_device_do_priv_xfers() or > > + * i3c_device_send_hdr_cmds() one can check the error code in > > + * &struct_i3c_priv_xfer.err or &struct i3c_hdr_cmd.err to get a bette= r idea of > > + * what went wrong. > > + * > > + * @I3C_ERROR_UNKNOWN: unknown error, usually means the error is not I= 3C > > + * related > > + * @I3C_ERROR_M0: M0 error > > + * @I3C_ERROR_M1: M1 error > > + * @I3C_ERROR_M2: M2 error > > + */ > > +enum i3c_error_code { > > + I3C_ERROR_UNKNOWN =3D 0, > > + I3C_ERROR_M0 =3D 1, > > + I3C_ERROR_M1, > > + I3C_ERROR_M2, >=20 > You have to specify all of these. >=20 > > +}; > > + > > +/** > > + * enum i3c_hdr_mode - HDR mode ids > > + * @I3C_HDR_DDR: DDR mode > > + * @I3C_HDR_TSP: TSP mode > > + * @I3C_HDR_TSL: TSL mode > > + */ > > +enum i3c_hdr_mode { > > + I3C_HDR_DDR, > > + I3C_HDR_TSP, > > + I3C_HDR_TSL, >=20 > same here. >=20 >=20 > > +}; > > + > > +/** > > + * struct i3c_priv_xfer - I3C SDR private transfer > > + * @rnw: encodes the transfer direction. true for a read, false for a = write > > + * @len: transfer length in bytes of the transfer > > + * @data: input/output buffer > > + * @data.in: input buffer. Must point to a DMA-able buffer > > + * @data.out: output buffer. Must point to a DMA-able buffer > > + * @err: I3C error code > > + */ > > +struct i3c_priv_xfer { > > + u8 rnw; > > + u16 len; > > + union { > > + void *in; > > + const void *out; > > + } data; > > + enum i3c_error_code err; >=20 > Ick, that's a horrid user/kernel api structure that will not work at > all. >=20 > Please fix. >=20 > thanks, >=20 > greg k-h Thanks for your feedback, I will address it in next version. Best regards, Vitor Soares