Received: by 2002:a05:6a10:22f:0:0:0:0 with SMTP id 15csp861770pxk; Wed, 9 Sep 2020 23:51:34 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzZcSu98WUCG4F32f3cQ29pdmUlxSy85AP9/20cA+Zv755+pN/Snx789irzQN0hsD9CupS1 X-Received: by 2002:aa7:cb05:: with SMTP id s5mr7602477edt.212.1599720694148; Wed, 09 Sep 2020 23:51:34 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1599720694; cv=none; d=google.com; s=arc-20160816; b=NxsnHW2M7Gz5yfUIukspwj3mR0BnPXnO5qNeZFXRCNCWwDRLlnBz/l3gRIEcmJKZUx 8NlpKOvFQN2DBnnTXUSvEBOAZ+8Yx03fRPSykTjNJ+af7EHmYVkagAktMLljUSwvOw8H PLT8Wfn3S+Nh/uirIDBoyJjvh43tosCum+falSaZLwS/2JM6+CdSrgpTT/uD6p2u16ZW mu6gStxzyguzqNk7uG6OLc40qvS+XyS8LTXJR9UuJEX/P8GaJVTO9GG/baDQfw1GzLWI 5v7hZhNw/metVdDfyEJIL0FKzheYmmykqrIY1cMX4UqrbptG2EGKfe27jknociPue2y9 8SJA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:dkim-signature; bh=FyBji0jUnhO4oYGrGFt75emLfTDTbis+giL1ABCyBwk=; b=j5L0Wn6lL54dZ1QF05gMu34TlTuZfIFy3akTJAgsLKMpKJP3mGwAKm7+ZcgxYsbPzJ 7ahTSKmOal+w0Ia3JBK2Qrw0uafxnuDNNEiXxj8K3MH3L5XseJd5HLmu+MLWTivC0rvK yZWS86MCeCz3t8XsggZNHvXj5BqL05WCCdj8y4oHbUo5tFt8yJ+RJpv7bbE5jMw8lJMi +UaF/egSnaJuQQ4+hz6exZWP6CFsGm4xEIJg3Z93ZqhAsxFuw8srqeRkR+S2o2A6o7Id 2WuX+3V4gOOKMr6QdKXr/iS7EqeD+9zjbLCfSknfmRrvJaYw1Nai5s55DpW5GdDb2tls Wo0g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=F0XCiJD4; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id ly5si2898653ejb.500.2020.09.09.23.51.12; Wed, 09 Sep 2020 23:51:34 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=F0XCiJD4; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727770AbgIJGsf (ORCPT + 99 others); Thu, 10 Sep 2020 02:48:35 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:40486 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726796AbgIJGsV (ORCPT ); Thu, 10 Sep 2020 02:48:21 -0400 Received: from mail-wr1-x444.google.com (mail-wr1-x444.google.com [IPv6:2a00:1450:4864:20::444]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 677F6C061796; Wed, 9 Sep 2020 23:48:21 -0700 (PDT) Received: by mail-wr1-x444.google.com with SMTP id m6so5432585wrn.0; Wed, 09 Sep 2020 23:48:21 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=FyBji0jUnhO4oYGrGFt75emLfTDTbis+giL1ABCyBwk=; b=F0XCiJD4CO+YHJwA/K4EHHG0lF7D3Q17O3rGJYK/fG5W3zJAj+YrB0utZzE+LdGDKW BIMK+W1trbYLEIyRiGfoG9XnhBHZ8s6oC8OnrnXAoFBqh0unW6scXNoRKUZSunOaRXl6 3CA73+Zbc5NpnXYEjmNEIuR91sChvOR4ovdjXTc2UJUqtMLQLLadedyXc+pCAbGc6q05 AdrKMW7y5CxWvfAlXOqRERMGaep5GVGp34LdD9Rt1f3QdbqwETxyQn3F0WLb7Wfaa01/ Kmb6V4MYd3/wRAQp7i4Q+CfBnHnYI+PkxyoRafmrpSUI/AEl1eRbANzmBqNLFlw3PH5m 1UCg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=FyBji0jUnhO4oYGrGFt75emLfTDTbis+giL1ABCyBwk=; b=KRL0Qq8NEgdYb0I8dp1HvSQb4nUlssptrmRugIpfi3nkkaeCbslMYjKXEMPoTWsKqs ajeJxq/8vheS+5H3cphQTr5snMwZnLkz9KQ54l04xe/Wyfdi+wm1W/zVZak213m0eCAl K0sPPydYPAVZk5l4f2UwXfx/8lKv+1q/mGdEKiKfLYVHf9g7YBZrlMf2GfNpIpc9dvJB 7eF5BkPmTFWsM808tjFzsd82oshNhumuLaKiK4hybj4P00qHJtaN72SHySxVLCJn8C+S /jp2mTLe8ZiyjMBmJExtHDvmbcCFu8+QOPAqdkGsErRHJQqFtKkUmIbMvb+nlcXjOLnJ 7wcg== X-Gm-Message-State: AOAM532n/A0ufnZ7aAoTdQLFMdsBWes6BPX2bvIEvoQtu+btEHs9kUfS +5ZtwIqB5eUXO4tB5joKy49dL1lGiQT7Y/qoiXs= X-Received: by 2002:a05:6000:1152:: with SMTP id d18mr7214695wrx.173.1599720499997; Wed, 09 Sep 2020 23:48:19 -0700 (PDT) MIME-Version: 1.0 References: <20200909193419.2006744-1-james.hilliard1@gmail.com> <1599706954.10822.3.camel@suse.de> In-Reply-To: From: James Hilliard Date: Thu, 10 Sep 2020 00:48:07 -0600 Message-ID: Subject: Re: [PATCH v2] usb: serial: Repair FTDI FT232R bricked eeprom To: Lars Melin Cc: Oliver Neukum , linux-usb@vger.kernel.org, Johan Hovold , Greg Kroah-Hartman , Linux Kernel Mailing List , Russ Dill , Hector Martin Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, Sep 9, 2020 at 11:34 PM Lars Melin wrote: > > On 9/10/2020 10:02, Oliver Neukum wrote: > > Am Mittwoch, den 09.09.2020, 13:34 -0600 schrieb James Hilliard: > >> This patch detects and reverses the effects of the malicious FTDI > >> Windows driver version 2.12.00(FTDIgate). > > > > Hi, > > > > this raises questions. > > Should we do this unconditionally without asking? > > Does this belong into kernel space? > > > > My answer to both of those question is a strong NO. > > The patch author tries to justify the patch with egoistical arguments > (easier for him and his customers) without thinking of all other users > of memory constrained embedded hardware that doesn't need the patch code > but have to carry it. If that's a concern it would not be difficult to add a kconfig option to allow disabling it. > > The bricked PID is btw already supported by the linux ftdi driver so > there is no functionality gain in the patch. By the kernel driver sure, but userspace is where things get messed up without something like this. > > br > Lars > > >