Received: by 2002:a25:1506:0:0:0:0:0 with SMTP id 6csp4719491ybv; Wed, 26 Feb 2020 01:57:59 -0800 (PST) X-Google-Smtp-Source: APXvYqwEJMpxgqqkuuNIFEWxrmsCDdzgTXLz3lddIWyVkc0lZiJnVDtQyRtzKbYRAgBTk9Uiaejt X-Received: by 2002:aca:ac10:: with SMTP id v16mr2223290oie.123.1582711079286; Wed, 26 Feb 2020 01:57:59 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1582711079; cv=none; d=google.com; s=arc-20160816; b=dmJg28GOU6dhCM+6tAhvolAf4qCujzE1UYJsHSNeLn4ufng9iE76ft4k5Mbp4g09nl GcQ6CLn85sC2rk8jciri/FRy/GnaS4pj6KJPaBRekiP+snUZebPn3CQ+Mnf9ep5WCAr+ bbpA0aJkM6dhFY4YQLKicuYENEyY6XqWoMcG9HPeihK5tqgtz+WPQpH0EJ2Fj8UQIc8X 8ULQOCbwYTc1M6l4k3Nwp20f6mvh7zoHtKI6w8whdmiFrHR9056Oe+A7i0arPeczBC5W dWpx2D2TdCh13oNa2rnjHaOaqNAXiyclwY4RJgExq2UsLPAKKSTeoS5I/aJE1ZCwyzWm mtUQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :content-id:content-language:accept-language:message-id:date :thread-index:thread-topic:subject:cc:to:from:dkim-signature; bh=GMAeEUisq/fTEGN18JFOBILvZMEP1SjsMBORCeLkH6M=; b=fr1OHMqNtPA5LntTrVCmeZiaWdLK0jtpIFwiBcqg4WPFMwXck5rQ/r5sYC5b2/Fn+Y I09G/dYVqm2Ip4N3PTnlzLnJvhqQmz4b57y6vDxaC9p1mgtCyu+U/XoO+IKBaf1yVavc 5aDi9RWzXf+1gvVmFtAo8oDmqZXlV0tJ+b/eSkPOxln9/oZls7JFI9z4IUmQeVf2slIT 640/wvizJXiZkr88YU9A8ixZAZP839QmVj9cXtdu4u5PXC9ra1M0ojRhwXLU5u7Lo0Wg uE/uxrME6k4SnaytYDqgegPcXAjdIN+i8lpyjgPTECmroCcVfgg+g79STuaK1v7HX4xM v7Cg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@displaylink.com header.s=mimecast20151025 header.b="BA2vK/9v"; 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=displaylink.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id k10si921146otn.323.2020.02.26.01.57.46; Wed, 26 Feb 2020 01:57:59 -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=@displaylink.com header.s=mimecast20151025 header.b="BA2vK/9v"; 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=displaylink.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727846AbgBZJ5c (ORCPT + 99 others); Wed, 26 Feb 2020 04:57:32 -0500 Received: from eu-smtp-delivery-167.mimecast.com ([207.82.80.167]:40333 "EHLO eu-smtp-delivery-167.mimecast.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727359AbgBZJ5c (ORCPT ); Wed, 26 Feb 2020 04:57:32 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=displaylink.com; s=mimecast20151025; t=1582711048; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=GMAeEUisq/fTEGN18JFOBILvZMEP1SjsMBORCeLkH6M=; b=BA2vK/9vnJn+oU1vN4LmUDIzH+zWA4F2MC2AErllJmoLou6Bpu3s7MowP93okGF0sIlayh Rxgtv2v6Ff3f09uJB6Ffp7SdEnQFt718XlaWMD3bJEOp9bg+89Ri53psB0b78LYEeTikNb qmoaIS0XvMAwkhzC5Z6DCBu27wWNZpI= Received: from EUR04-DB3-obe.outbound.protection.outlook.com (mail-db3eur04lp2054.outbound.protection.outlook.com [104.47.12.54]) (Using TLS) by relay.mimecast.com with ESMTP id uk-mta-26-m23DxplwOT67jpSSWbFKPw-1; Wed, 26 Feb 2020 09:57:26 +0000 X-MC-Unique: m23DxplwOT67jpSSWbFKPw-1 Received: from AM0PR10MB1954.EURPRD10.PROD.OUTLOOK.COM (52.133.63.154) by AM0PR10MB2676.EURPRD10.PROD.OUTLOOK.COM (20.178.119.88) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2750.21; Wed, 26 Feb 2020 09:57:24 +0000 Received: from AM0PR10MB1954.EURPRD10.PROD.OUTLOOK.COM ([fe80::d07a:2e67:4515:dba6]) by AM0PR10MB1954.EURPRD10.PROD.OUTLOOK.COM ([fe80::d07a:2e67:4515:dba6%3]) with mapi id 15.20.2750.021; Wed, 26 Feb 2020 09:57:24 +0000 Received: from [172.17.183.132] (80.93.235.40) by VI1PR07CA0255.eurprd07.prod.outlook.com (2603:10a6:803:b4::22) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2772.12 via Frontend Transport; Wed, 26 Feb 2020 09:57:23 +0000 From: Vladimir Stankovic To: Greg KH CC: linux-kernel , linux-usb , mausb-host-devel Subject: [PATCH v2 0/8] Add MA USB Host driver Thread-Topic: [PATCH v2 0/8] Add MA USB Host driver Thread-Index: AQHV7IskUwNNQv/Aj0qPQBxaE+JY1Q== Date: Wed, 26 Feb 2020 09:57:24 +0000 Message-ID: <013d6b8e-3e61-b41d-614a-8c115f2e2c9f@displaylink.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-clientproxiedby: VI1PR07CA0255.eurprd07.prod.outlook.com (2603:10a6:803:b4::22) To AM0PR10MB1954.EURPRD10.PROD.OUTLOOK.COM (2603:10a6:208:40::26) x-ms-exchange-messagesentrepresentingtype: 1 x-originating-ip: [80.93.235.40] x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: 1477a866-d3b9-45c9-a7ae-08d7baa2474f x-ms-traffictypediagnostic: AM0PR10MB2676: x-ms-exchange-transport-forked: True x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:7219; x-forefront-prvs: 0325F6C77B x-forefront-antispam-report: SFV:NSPM;SFS:(10009020)(4636009)(136003)(376002)(396003)(366004)(39840400004)(346002)(189003)(199004)(81166006)(8936002)(44832011)(8676002)(81156014)(956004)(36756003)(478600001)(71200400001)(2906002)(5660300002)(16576012)(316002)(54906003)(86362001)(66946007)(26005)(64756008)(66446008)(2616005)(31686004)(4326008)(6916009)(66476007)(66556008)(16526019)(52116002)(107886003)(31696002)(186003)(6486002);DIR:OUT;SFP:1101;SCL:1;SRVR:AM0PR10MB2676;H:AM0PR10MB1954.EURPRD10.PROD.OUTLOOK.COM;FPR:;SPF:None;LANG:en;PTR:InfoNoRecords;MX:1;A:1; x-ms-exchange-senderadcheck: 1 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: cZtMWrSIxlP8DMbpOND9uO7kgYk9GWVIDyK4QQEsRBDlqdOG/p3CW67ERyn1tx2YgpWdstyVOASJNsqA+T8b26KBLiYQaXbCXJPIMy2D7+IvdEqJtyoJxljwHiybmedn3yUb5MYOrWnbn8bL8KbQNb4ve8ERqyi8Cm3jIvZlOv3j2Gucws9woP7X5sfuol5ZC2zwhRW+qsE2kuPz5uUdQ8GYypSjpk5V/ZWYUcABzuv3YYNyh8zU4sY0cY/kdZvh70O9YhGxkDkAoDYc4nPOyRXYLLdtmHSSYjs51vFuwPg3cTbTQRSe5tzCXLalW4cfDKbkl+kStjG/61uqMvmmTKI/IqZUOUwDEPRu1Jpry+ByFjF7U4DI9fGLRjfdIC2JfMhzFHQeOS5MrpdQj1pd8hM2Ovh+CaB3jOJXtWq5d6/AFlaLZT70PO6tRXekChl7 x-ms-exchange-antispam-messagedata: pYG6m5x+KtsU4r15mMZI1dJv+vPLZCELErVh2d7PYo/shtihhSBMVlciXi6l/LD8KT6FYydULhEJeL2W/ROcYRrAPGLA0I62xuXv3H8U5GgsV0HIIrUGY9/yqGaBhdDe5p/rJGEEJeCpXpY5J6NyeA== Content-ID: <333849C2BFF7A14AADF543C1FE7B9EAD@EURPRD10.PROD.OUTLOOK.COM> MIME-Version: 1.0 X-OriginatorOrg: displaylink.com X-MS-Exchange-CrossTenant-Network-Message-Id: 1477a866-d3b9-45c9-a7ae-08d7baa2474f X-MS-Exchange-CrossTenant-originalarrivaltime: 26 Feb 2020 09:57:24.1654 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: a4bda75a-b444-4312-9c90-44a7c4b2c91a X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-CrossTenant-userprincipalname: lWPhAtYqFGIRjvYHgCWohTF6cCFM8iZGPiwpYuuzXZN2hDz0Vf5+SWA1OEt/wNjdKlACRBmyiggFMN6J/S8vYV4UdKdZNEG44Ppi/inCW7I3+RWO503/dzuIXvP1jFPX X-MS-Exchange-Transport-CrossTenantHeadersStamped: AM0PR10MB2676 X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: displaylink.com Content-Type: text/plain; charset=WINDOWS-1252 Content-Transfer-Encoding: quoted-printable Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org MA USB Host driver provides USB connectivity over an available network, allowing host device to access remote USB devices attached to one or more MA USB devices (accessible via network). This driver has been developed to enable the host to communicate with DisplayLink products supporting MA USB protocol (MA USB device, in terms of MA USB Specification). MA USB protocol used by MA USB Host driver has been implemented in accordance with MA USB Specification Release 1.0b. This driver depends on the functions provided by DisplayLink's user-space driver. v2: - Fixed licensing info in headers - Reorganized code to lower file count - Patch has been split into 8 smaller patches Vladimir Stankovic (8): usb: Add MA-USB Host kernel module usb: mausb_host: Add link layer implementation usb: mausb_host: HCD initialization usb: mausb_host: Implement initial hub handlers usb: mausb_host: Introduce PAL processing usb: mausb_host: Add logic for PAL-to-PAL communication usb: mausb_host: MA-USB PAL events processing usb: mausb_host: Process MA-USB data packets MAINTAINERS | 7 + drivers/usb/Kconfig | 2 + drivers/usb/Makefile | 2 + drivers/usb/mausb_host/Kconfig | 14 + drivers/usb/mausb_host/Makefile | 18 + drivers/usb/mausb_host/hcd.c | 1897 ++++++++++++++++ drivers/usb/mausb_host/hcd.h | 162 ++ drivers/usb/mausb_host/hpal.c | 2082 ++++++++++++++++++ drivers/usb/mausb_host/hpal.h | 339 +++ drivers/usb/mausb_host/hpal_data.c | 719 ++++++ drivers/usb/mausb_host/hpal_data.h | 34 + drivers/usb/mausb_host/hpal_events.c | 611 +++++ drivers/usb/mausb_host/hpal_events.h | 85 + drivers/usb/mausb_host/ip_link.c | 346 +++ drivers/usb/mausb_host/ip_link.h | 83 + drivers/usb/mausb_host/ma_usb.h | 869 ++++++++ drivers/usb/mausb_host/mausb_address.h | 34 + drivers/usb/mausb_host/mausb_driver_status.h | 17 + drivers/usb/mausb_host/mausb_event.h | 224 ++ drivers/usb/mausb_host/mausb_host.c | 213 ++ drivers/usb/mausb_host/utils.c | 360 +++ drivers/usb/mausb_host/utils.h | 45 + 22 files changed, 8163 insertions(+) create mode 100644 drivers/usb/mausb_host/Kconfig create mode 100644 drivers/usb/mausb_host/Makefile create mode 100644 drivers/usb/mausb_host/hcd.c create mode 100644 drivers/usb/mausb_host/hcd.h create mode 100644 drivers/usb/mausb_host/hpal.c create mode 100644 drivers/usb/mausb_host/hpal.h create mode 100644 drivers/usb/mausb_host/hpal_data.c create mode 100644 drivers/usb/mausb_host/hpal_data.h create mode 100644 drivers/usb/mausb_host/hpal_events.c create mode 100644 drivers/usb/mausb_host/hpal_events.h create mode 100644 drivers/usb/mausb_host/ip_link.c create mode 100644 drivers/usb/mausb_host/ip_link.h create mode 100644 drivers/usb/mausb_host/ma_usb.h create mode 100644 drivers/usb/mausb_host/mausb_address.h create mode 100644 drivers/usb/mausb_host/mausb_driver_status.h create mode 100644 drivers/usb/mausb_host/mausb_event.h create mode 100644 drivers/usb/mausb_host/mausb_host.c create mode 100644 drivers/usb/mausb_host/utils.c create mode 100644 drivers/usb/mausb_host/utils.h --=20 2.17.1