Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1757526AbcJQOyc (ORCPT ); Mon, 17 Oct 2016 10:54:32 -0400 Received: from eusmtp01.atmel.com ([212.144.249.242]:27263 "EHLO eusmtp01.atmel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754307AbcJQOyX (ORCPT ); Mon, 17 Oct 2016 10:54:23 -0400 Subject: Re: Regression: usb serial gadget on sama5d3 broken To: Peter Rosin , Alexandre Belloni , Jean-Christophe Plagniol-Villard , , , Felipe Balbi , "Greg Kroah-Hartman" References: <569c65cd-4e2e-4455-c24c-074f8c5fd315@axentia.se> From: Nicolas Ferre Organization: atmel Message-ID: <38ca0db7-9bc6-7258-b102-ea9fdeb9b03c@atmel.com> Date: Mon, 17 Oct 2016 16:54:21 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.3.0 MIME-Version: 1.0 In-Reply-To: <569c65cd-4e2e-4455-c24c-074f8c5fd315@axentia.se> Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 8bit X-Originating-IP: [10.145.133.18] Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1320 Lines: 32 Le 17/10/2016 à 14:53, Peter Rosin a écrit : > Hi! > > I'm suffering from a regression while using the usb gadget port on the > sama5d3 to get terminal access to the device in question (CONFIG_USB_G_SERIAL). > > I get this message when I try to connect: > udc: ep: Invalid setup request: 02.01 v0000 i0081 l0, halting endpoint... > > A bisect blames commit v4.7-rc1-21-gc32b5bcfa3c4 "ARM: dts: at91: Fix > USB endpoint nodes". > > And indeed, reverting that commit on top of v4.9-rc1 fixes things, > although that doesn't look like the best of fixes... > > BTW, the bisect was extremely painful since v4.7-rc1 seemed broken > somewhere in the overlayfs area. I hope I will never ever need to bisect > in the v4.6..v4.7 area again. This was the second time, the first time > I was chasing a gpio interrupt bug, but I never found out what was wrong > and stopped looking when v4.9-rc1 turned out to be ok even though v4.8 > was bad, it was just too painful to look for things that already seemed > fixed. I guess that you are referring to the regression listed here: https://www.mail-archive.com/linux-kernel@vger.kernel.org/msg1239220.html The patch is available and will hopefully land in an official kernel soon (4.8.1) as said by Felipe and Greg. Sorry for the inconvenience. Best regards, -- Nicolas Ferre