Received: by 2002:a05:6a10:22f:0:0:0:0 with SMTP id 15csp897199pxk; Thu, 10 Sep 2020 01:12:34 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwIsRGTeI2MihZgVauwmogqZHUIqOgjPKMXyD8ypkg2L2535HutWaIupE1B+wby4Mqomiyu X-Received: by 2002:a17:906:ecf1:: with SMTP id qt17mr7753733ejb.158.1599725554087; Thu, 10 Sep 2020 01:12:34 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1599725554; cv=none; d=google.com; s=arc-20160816; b=VLkCKfjacjXTFBCJpshuykvthVrSyv0KV3xunl0q8KU9LP40ROU68PqCv+2gJzBSS9 WQTTQw0dKMPlgYbDEMXjomEl2hZI6qZAMsijJz6i5EN5UPiX9N0mcKVniLLNwYbViflP 1TQW+YAsY5Y6zanMJgmyKgFQPY1FdIi6B+yh+6rap6Di0Cw+7qAWx37M45ixfs91qYlL 4A7yRQuP+tel+rf9S1d9T1R5mpgwTnxASLl4RUnCW1RvY+j7fz5Tb1eBbqk0+FtvDC8J f1JZgdsYz+p367YCotrz0aGS7ocbUN7Q1FtBgJD0YOdjTrPo+i2fkzHYgfQmNeIhkvao gqsQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:in-reply-to:content-disposition :mime-version:references:message-id:subject:cc:to:from:date; bh=pmRob3RYVaIomHkLhJXPXfLDXQfpL3YCNNeyPTjyLK0=; b=i7x2FeTcNWU2JzuD5lQwwNz/JPPVkJQdrDlh3Yd3UCfzL7Mns32QXadRAj7OXMw+Ls X2GPSNdL1iCHqRLaVvYUT/KJhgsHzAW8fvzZDdJzZbAw8Nt56Y7GvYPCQqSe+p7Tg5Bs /D761tVpUwFrJEA1TypWHc1YGQ8msy6E3pkYuUn1KNvgtkmHCOafrNBP+R8uDpXYgQdo M0AuwNq3z300gYgRPM53rYc1fT7uaMq3efHFgcg+cdxs2+mPW8P1mEnZny2stJfXTyDj vsas/2MJnuIHcuOwLmTuufNeR2hJSFtcf1luSj0JiTQZeIzoTFaPIQMmHCrRxwy97Ve3 gddA== ARC-Authentication-Results: i=1; mx.google.com; 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=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id g11si2840716eds.232.2020.09.10.01.12.11; Thu, 10 Sep 2020 01:12: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; 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=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1730067AbgIJIJC (ORCPT + 99 others); Thu, 10 Sep 2020 04:09:02 -0400 Received: from mail-lj1-f196.google.com ([209.85.208.196]:37104 "EHLO mail-lj1-f196.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726381AbgIJII6 (ORCPT ); Thu, 10 Sep 2020 04:08:58 -0400 Received: by mail-lj1-f196.google.com with SMTP id n25so6988132ljj.4; Thu, 10 Sep 2020 01:08:55 -0700 (PDT) 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; bh=pmRob3RYVaIomHkLhJXPXfLDXQfpL3YCNNeyPTjyLK0=; b=k+M1/rwKaG9pthCWpmz31sY05xfUxpZWRF0QZjsgV0HyyuSyYwYGEFQAvP4arBYHK5 fp7Zdd+/l4UR0dm4Jv62uHdnnCZtc1AgTmnhO374yQDzoB0eCisgCIUpuFsi1Sii9ys7 H6trm+Uk4L0gWNsn/WlCtPOZRXHVgyb4Ra1WdrsX7rx7NOPrAlUoj0rxfOOnmpxy5mvP JznivlnA7mKu72YsuV8dCqIQdN+mFiiE7e/BvXHX/RsvHOl15SNmp/9lEC6+uuSZ28Nu v8NCihq8DikrNX66g+T6JrlT0OTD5RfsVLlZhO1TtnsA2MkaexBOV/gUZM1G3lT+2E1B 51Gw== X-Gm-Message-State: AOAM532js+yvNHc/pUbxEd2yQFu58c0msl6DVlHh7ZU3Bq0fQVEabr6h qgukIG5lFlMbtiablKEvtgCTjCdEHkc= X-Received: by 2002:a2e:9c52:: with SMTP id t18mr3721956ljj.65.1599725335212; Thu, 10 Sep 2020 01:08:55 -0700 (PDT) Received: from xi.terra (c-beaee455.07-184-6d6c6d4.bbcust.telenor.se. [85.228.174.190]) by smtp.gmail.com with ESMTPSA id v11sm1169484lfg.39.2020.09.10.01.08.54 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 10 Sep 2020 01:08:54 -0700 (PDT) Received: from johan by xi.terra with local (Exim 4.93.0.4) (envelope-from ) id 1kGHdS-0005ty-48; Thu, 10 Sep 2020 10:08:50 +0200 Date: Thu, 10 Sep 2020 10:08:50 +0200 From: Johan Hovold To: Lars Melin Cc: Oliver Neukum , James Hilliard , linux-usb@vger.kernel.org, Johan Hovold , Greg Kroah-Hartman , linux-kernel@vger.kernel.org, Russ Dill , Hector Martin Subject: Re: [PATCH v2] usb: serial: Repair FTDI FT232R bricked eeprom Message-ID: <20200910080850.GD24441@localhost> References: <20200909193419.2006744-1-james.hilliard1@gmail.com> <1599706954.10822.3.camel@suse.de> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, Sep 10, 2020 at 12:33:55PM +0700, 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. > > The bricked PID is btw already supported by the linux ftdi driver so > there is no functionality gain in the patch. I fully agree. This doesn't belong in the kernel. If the Windows driver breaks someones device on purpose they should know about it, and *if* they want they can reprogram the device using the tools mentioned in the thread. But the kernel shouldn't be playing such games and reprogram eeproms behind people's backs. Johan