Received: by 10.223.185.116 with SMTP id b49csp8745150wrg; Fri, 2 Mar 2018 07:14:47 -0800 (PST) X-Google-Smtp-Source: AG47ELuv/7Clji9S1Ia3lc9PXzk4pJMq/jE85dO4dj0GO0yTtM6Qgfnieqgs1cMs5iVjs04sts2m X-Received: by 10.99.146.91 with SMTP id s27mr4777114pgn.367.1520003687697; Fri, 02 Mar 2018 07:14:47 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1520003687; cv=none; d=google.com; s=arc-20160816; b=bDsz4GG7twZv69nrIDLuSIT6MPix3Sirpr82uEmdwGrssWZO8qtUErgebzXSCDjqQw ugJi1M9SuLzeGryRIVuarFeikeffoBWnc1O3D7OCessF+X4eKDM7BvHIuENW6UGFf1e1 beB0l1AZ22mfb1KW3OysFLLgxidNrhpVfCfuqBCUBRh/UYmnGV0DtNX4r/i7UgEq3uXo 4KULPCpAL99pmrCCAOM8UFY7kuOrOuSaIWgrKy0sMMM06gYlKH/LlVs+0Xn4iSxUpHHn 5EI0M4ZhfKGabIdQQMXPHyv3nC2KucbfusRPiVVtk+0NRMGdqx7o5ZVqaO7Py6650kqd V5BQ== 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 :references:in-reply-to:mime-version:dkim-signature :arc-authentication-results; bh=i5qjy/McTl7qY8y8tstuvQ4fUuSaSbjTRvksYiSkqRs=; b=FqZdeoX8+oH7FnrX5D1lGiQvl+tmir5DZVWGY1+ecuLSQx23Y8DK+F4qmgPBIPgAGs IdBlMm35o8wx0D7yYQocz/BQoFhL9GiYeJJE5ep8DH+Z3EIWLrmKjTOmXMJxRlWKGRnK xyN0qhlEootzYvokqSTRzo7yVXeXENqq0edK7hFMQwDJwdJrfjH5yOosRtSpnfDFv411 RL1LEkQ+v9yaRlmDlFWoHEop6ymgKjuGfRiF9jVlpjeb7xcHB0jiqW9mfMiTUrZL8GNs xsDabS6MKXTl9J3D9iFs3pTSSs78Xaie9NWiVoM2M3MXa+yyU406QOhvGBhJCLHnKfy6 ROWQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=YwOKEZTM; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id r7-v6si4886924ple.514.2018.03.02.07.14.32; Fri, 02 Mar 2018 07:14:47 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=YwOKEZTM; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1427303AbeCBMHt (ORCPT + 99 others); Fri, 2 Mar 2018 07:07:49 -0500 Received: from mail-it0-f42.google.com ([209.85.214.42]:37461 "EHLO mail-it0-f42.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1423004AbeCBMHo (ORCPT ); Fri, 2 Mar 2018 07:07:44 -0500 Received: by mail-it0-f42.google.com with SMTP id k79so1586269ita.2 for ; Fri, 02 Mar 2018 04:07:44 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=i5qjy/McTl7qY8y8tstuvQ4fUuSaSbjTRvksYiSkqRs=; b=YwOKEZTMO/XDhYpx0o3ZhCL+ajAG8iW1s+yElVkk7eiDBYoK88j8bmq3cNDWOXDHtG 3riDoxCm79kxlek2RTqCASsb4e2QengjWW/wmVC+fT0XUzvW/UrKV4UjKnaUyFi+chgQ KsuhzPDyu31cCTnxvpGMMznq1JMk3OoMD8otU= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=i5qjy/McTl7qY8y8tstuvQ4fUuSaSbjTRvksYiSkqRs=; b=H2dTR7yz2IGsJHyWjs2srK65YkAAUjN83kSVlFEtXc5UKJQXW/DhpT/fabDipvL7CA Bme1YEarwusIr2J5cGYBViCbfYcEzbevTD1//vf+WyzwC9Qbdi8/p+Pj8PvYi/3miTZN Wqfr3mj8Q/839Lx0UCdM8ZrPRWgLjVzU4Izs1xnflMFaKlsLbMoQYZwTH1WIcVlo31Bi K4/33FRz145luQASZuW7oR4R03bguuA54zbONCBzHYtmbNMQI1ggBOsozEG8oH/nBh+P o/kXI0RHJtMMQw/7CCv4GBvS09e0+CxynCT0QmjmuRw1G289W+s2mfqgcpI3jGuyoRuq kVhg== X-Gm-Message-State: AElRT7ElC3mLCyU00uIh2d1VU/GqO/6XjqaUWv8S/e3loyouvwQipsqu axXIcakqz+Y8Tk3LFW49/sitWsbplmh0ScZJix65Lw== X-Received: by 10.36.92.205 with SMTP id q196mr2155346itb.135.1519992463749; Fri, 02 Mar 2018 04:07:43 -0800 (PST) MIME-Version: 1.0 Received: by 10.79.230.25 with HTTP; Fri, 2 Mar 2018 04:07:43 -0800 (PST) In-Reply-To: <20180302103127.GA2081@amd> References: <20180224214617.GA22619@amd> <71aa88ec-d4df-b49c-7d73-27197f468491@leemhuis.info> <20180226131318.GA14045@amd> <20180226231336.GA18565@amd> <20180302091025.GC30267@amd> <20180302103127.GA2081@amd> From: Linus Walleij Date: Fri, 2 Mar 2018 13:07:43 +0100 Message-ID: Subject: Re: [alsa-devel] regression v4.16 on Nokia N900: sound does not work To: Pavel Machek Cc: Daniel Baluta , Thorsten Leemhuis , Peter Ujfalusi , Linux-ALSA , Ivajlo Dimitrov , Kevin Hilman , ext Tony Lindgren , Aaro Koskinen , kernel list , Sebastian Reichel , Martijn Braam , =?UTF-8?Q?Filip_Matijevi=C4=87?= , Mark Brown , =?UTF-8?B?TWlja3Vsw6HFoSBRd2VydHo=?= , Sakari Ailus , =?UTF-8?Q?Pali_Roh=C3=A1r?= , clayton@craftyguy.net, Linux-OMAP , "Andrew F . Davis" , Patrik Bachan , linux-arm-kernel , serge@hallyn.com 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 Fri, Mar 2, 2018 at 11:31 AM, Pavel Machek wrote: > On Fri 2018-03-02 10:33:24, Linus Walleij wrote: >> On Fri, Mar 2, 2018 at 10:10 AM, Pavel Machek wrote: >> > Linux-Regression-ID: lr#4b650f >> > >> > On Tue 2018-02-27 09:43:32, Linus Walleij wrote: >> >> On Tue, Feb 27, 2018 at 12:13 AM, Pavel Machek wrote: >> >> >> >> > I did git bisect, and the winner seems to be: >> >> > >> >> > pavel@duo:/data/l/linux-n900$ git bisect bad >> >> > c85823390215e52d68d3826df92a447ed31e5c80 is the first bad commit >> >> > commit c85823390215e52d68d3826df92a447ed31e5c80 >> >> > Author: Linus Walleij >> >> > Date: Wed Dec 27 16:37:44 2017 +0100 >> >> > >> >> > gpio: of: Support SPI nonstandard GPIO properties >> >> >> >> I have fixes queued for this, tried to send a pull request yesterday >> >> but it turns out the fixes need fixing... OK I'm onto it anyways. >> > >> > Do you have any updates? Is there way to fix dts so that this does not >> > trigger on N900? >> > >> > If this is taking longer to fix, should c85823390215 be reverted in >> > the meantime? It does not seem particulary important/urgent... >> >> No patience between the v4.16 release candidates eh ;) >> >> commit 6662ae6af82df10259a70c7569b4c12ea7f3ba93 >> ("gpiolib: Keep returning EPROBE_DEFER when we should") >> >> and >> >> commit ce27fb2c56db6ccfe8099343bb4afdab15e77e7b >> ("gpio: Handle deferred probing in of_find_gpio() properly") >> >> that are both in Torvalds' tree since yesterday should be fixing >> this, I think? Did you try just using the upstream HEAD? > > After I spent hours bisecting, I was kind of assuming you'd cc me on > merge request or something like that... so that I could test it before > going mainline. Sorry, I'm not very good with planning and coordination. I just try my best to keep this working. I guess ideally we should use Bugzilla to track regressions like this, but it also comes with a bit of overhead so I don't know if it helps more than trying to keep things in the head. > Which of those should fix it? The first one I guess, the second is mostly about supporting -EPROBE_DEFER for different use cases. > I tested today's mainline, and... sound fails, different way: > > pavel@n900:~$ cat /proc/asound/cards > 0 [RX51 ]: RX-51 - RX-51 > RX-51 > pavel@n900:~$ cd g/tui/ofone/ > pavel@n900:~/g/tui/ofone$ cd > pavel@n900:~$ festival --tts > ahoj > ^D > uname -a > > (Festival is hung). Sorry but I need some background here, I have no idea what festival is, other than it seems to be some kind of userspace test program? >> Ok, so this code looks pretty crazy to me: I tried removing the >> "of_find_spi_gpio" part, and audio started working. > > Hmm. Looks like audio is working w/o any changes, too. Not sure why > festival hung on me before. Does it mean that mainline is working find for you or do we need to look deeper into the problem in the OF lookup? Yours, Linus Walleij