From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755066AbdLFK2J (ORCPT ); Wed, 6 Dec 2017 05:28:09 -0500 Received: from mx2.suse.de ([195.135.220.15]:58132 "EHLO mx2.suse.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754870AbdLFK2H (ORCPT ); Wed, 6 Dec 2017 05:28:07 -0500 Message-ID: <1512556084.12461.3.camel@suse.com> Subject: Re: [PATCH] usb: core: Add "quirks" parameter for usbcore From: Oliver Neukum To: Kai-Heng Feng , gregkh@linuxfoundation.org Cc: corbet@lwn.net, linux-doc@vger.kernel.org, linux-kernel@vger.kernel.org, linux-usb@vger.kernel.org Date: Wed, 06 Dec 2017 11:28:04 +0100 In-Reply-To: <20171206090932.11260-1-kai.heng.feng@canonical.com> References: <20171206090932.11260-1-kai.heng.feng@canonical.com> Content-Type: text/plain; charset="UTF-8" X-Mailer: Evolution 3.20.5 Mime-Version: 1.0 Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Am Mittwoch, den 06.12.2017, 17:09 +0800 schrieb Kai-Heng Feng: > Now users can use "usbcore.quirks=" as short term workaround before the > next kernel release. > > This is inspired by usbhid and usb-storage. Hi, if you include this for debugging purposes, it would be interesting to be able to not only switch on a quirk from the command line, but to also switch it off. So it might be better to detect the dynamic quirks after the static quirks and use XOR. Regards Oliver