From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.1 (2015-04-28) on archive.lwn.net X-Spam-Level: X-Spam-Status: No, score=-1.5 required=5.0 tests=DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED,FREEMAIL_FORGED_FROMDOMAIN,FREEMAIL_FROM,FSL_HELO_FAKE, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,RCVD_IN_DNSWL_HI, T_DKIM_INVALID autolearn=ham autolearn_force=no version=3.4.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by archive.lwn.net (Postfix) with ESMTP id E6D517D048 for ; Fri, 8 Jun 2018 18:54:50 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752621AbeFHSyu (ORCPT ); Fri, 8 Jun 2018 14:54:50 -0400 Received: from mail-lf0-f68.google.com ([209.85.215.68]:44264 "EHLO mail-lf0-f68.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752478AbeFHSys (ORCPT ); Fri, 8 Jun 2018 14:54:48 -0400 Received: by mail-lf0-f68.google.com with SMTP id 36-v6so21504697lfr.11; Fri, 08 Jun 2018 11:54:47 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to:user-agent; bh=OaSdBIqYBHBRB+LLQmqGcOTxPsdyyIFuRWAY1y75tbY=; b=qZ0XAKH1hSGynsgQ9oWV4fGgKw9Dqb05raEY6MkGqOFN4wM/9QZKFmIvm7a2P7rz7K TeV4eWowGfBksgab9Ebv81FlQdSzx0jnvV0TgsQUJG8oUOmZnPa6r30f42JEDXfEWr4X X+9dC7AmNhzSMv/wdmLAkhHWIM9uJFg3akXHqEQ6Np8PN47j4oc0RtJdrK7iWJG+ES+9 GuNUUo8GLkuDMK6Ig8GrUiIzyUPOln2xH1bu8cDKuz38iCs2QlwLnQm3mzLCRORJKB96 LZLIMWOGawmECCjuKrx+XaSfg/iNwQTkx7EcGvPWv/+MbtLXyJ3s4cjt+WPfY0jMEeCD Y9ng== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to:user-agent; bh=OaSdBIqYBHBRB+LLQmqGcOTxPsdyyIFuRWAY1y75tbY=; b=ImGGQTUn1k9ByYZ0RkQalTbKwO0Q197uCes5Rf6y5YAmcvsKO1IfUtq2Tdl/9pdC63 9SVVClWwA7lPrY6Sy9xSbDuTH8u3Mt8/oDsq/PC5pW0aeTMps1koARKSDdWl5GcA5Rbl Td+SpfseBXnHkm35KJqzefMmC/4h42W+gDogqbedRctjbc6cjgFw53B7GI0x7ex3PQM2 1+FFNYJKh38DfkeW1c0RSzotJma1sMt+GpJhpSrW2Rn/WUtBIvO/E/zvIKzYh7a9ulYI Lr3eyk2DUaORZ2BHMqbVkc1X8eaqpEne1J5MtVk7PQ2YkX/RMHv1lf/K/zs1Vs7H4YXD mMPw== X-Gm-Message-State: APt69E0X7KDJCallaIaGGgbt9km4tReUhJq9sJfKrxMPIbveHeW7T1x8 FN7SNW0gGv3vtYlMsDF53vI= X-Google-Smtp-Source: ADUXVKIgrzOGZHrN7NX/tWlr8LJak75ZbWXJMO07DVRJvmqjrXsBbyOpYUuObXCVTCHNoWpffI78sQ== X-Received: by 2002:a2e:8682:: with SMTP id l2-v6mr5607470lji.48.1528484086947; Fri, 08 Jun 2018 11:54:46 -0700 (PDT) Received: from gmail.com ([46.194.229.154]) by smtp.gmail.com with ESMTPSA id e16-v6sm2719230lfi.70.2018.06.08.11.54.45 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Fri, 08 Jun 2018 11:54:46 -0700 (PDT) Date: Fri, 8 Jun 2018 20:54:43 +0200 From: Marcus Folkesson To: Felipe Balbi Cc: Greg Kroah-Hartman , Jonathan Corbet , davem@davemloft.net, Mauro Carvalho Chehab , Andrew Morton , Randy Dunlap , Ruslan Bilovol , Thomas Gleixner , Kate Stewart , linux-usb@vger.kernel.org, linux-doc@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH v3 1/3] usb: gadget: ccid: add support for USB CCID Gadget Device Message-ID: <20180608185443.GB874@gmail.com> References: <20180529185021.13738-1-marcus.folkesson@gmail.com> <87r2ltcopp.fsf@linux.intel.com> <20180530140415.GE2939@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20180530140415.GE2939@gmail.com> User-Agent: Mutt/1.9.3 (2018-01-21) Sender: linux-doc-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-doc@vger.kernel.org Hi Felipe, Should I send out v4 or what do you think? On Wed, May 30, 2018 at 04:04:15PM +0200, Marcus Folkesson wrote: > Hi Filipe, > > On Wed, May 30, 2018 at 03:28:18PM +0300, Felipe Balbi wrote: > > Marcus Folkesson writes: > > > > > Chip Card Interface Device (CCID) protocol is a USB protocol that > > > allows a smartcard device to be connected to a computer via a card > > > reader using a standard USB interface, without the need for each manufacturer > > > of smartcards to provide its own reader or protocol. > > > > > > This gadget driver makes Linux show up as a CCID device to the host and let a > > > userspace daemon act as the smartcard. > > > > > > This is useful when the Linux gadget itself should act as a cryptographic > > > device or forward APDUs to an embedded smartcard device. > > > > > > Signed-off-by: Marcus Folkesson > > > > this could be done entirely in userspace with functionfs, why do we need > > this part in the kernel? It does very little. > > Andrzej pointed this out, and I actually do not have any good answer > more than that the userspace application could be kept small and the > important configuration of the CCID device is done with well (I hope) > documented configfs attributes. > > > > > -- > > balbi > > Best regards, > Marcus Folkesson > > Thank you, Marcus Folkesson -- To unsubscribe from this list: send the line "unsubscribe linux-doc" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html