Received: by 2002:ac0:946b:0:0:0:0:0 with SMTP id j40csp1217576imj; Sun, 17 Feb 2019 00:27:48 -0800 (PST) X-Google-Smtp-Source: AHgI3IbaQgxw43ldQpLKbW2jDzLyPyAUCSiYUTH41u8uUdIyur/D38KbzHsFwI6Ofye+3OgEjccz X-Received: by 2002:a62:221a:: with SMTP id i26mr18068045pfi.174.1550392068514; Sun, 17 Feb 2019 00:27:48 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1550392068; cv=none; d=google.com; s=arc-20160816; b=gqLRDK4fwBVMd67uVGspl/BX3V/O9Op9ACY+MIIAb1ee3KO3CmElUgbX/Bs+wULjkt 3IMNcxFMXTnnnnfJimW+8N9dCmq6xIrQLoHf14bmDNeH6P0hPkRn6A5O1/B5ihlMBv84 XMhxKyxIGjOOLdl3c2IOp/vN8xfLol7kakb4YOAEUbvEnm4NvngzAwXN5iTDfhyII5j8 FkrLRiC4SEl6Vd6y9AsRUkbs4cpZSGaeM1zQKh+i4TMr8u7gqw198as0LynJ/oxzY73I ECD7IoxSSoJRAmfo/+y+Ax8Xq8z26K1nYNhWBOP82gCB+xUXbggj3OKD5CPij5Pzzkkm DiIQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :user-agent:message-id:in-reply-to:date:references:organization :subject:cc:to:from; bh=/2aNiIBVQh9PwdcvI0C3nGjONhhz3MV6WwpmoD6z7wc=; b=YZYLzjLkwUvP5W79m03vyczR5dLHTp2v+oPlwNkvmzkxECZz7DYU55NPnQg0l/acyt JP85qI9vZ3ODw4p4pggXv3PZUqp1Hi94ACGxK1+suSObNcPz8p6DA4V0peE2Se1VunCW XO+5Yi6r1dcLiM/TziBPS1x3nXedkeYnKbQESnXlkfOq5hoU+weQmCuMp6Ta8nJqMr7o /sbM0hoe1LVuNNee1b2FLhuQ4ZBlIPLiZWnoNBOwRVzRdr5ELnuthWYKUbAQe0xDjOYt OtJWIauk2I+Gd+IlEbnwhSYHxjASpYHlZ9xWd34jU5wdf8SRfR09xvf0+EhX9uEyE5W6 tAtA== ARC-Authentication-Results: i=1; mx.google.com; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id f10si10389056plo.53.2019.02.17.00.27.32; Sun, 17 Feb 2019 00:27:48 -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; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1725806AbfBQFAR convert rfc822-to-8bit (ORCPT + 99 others); Sun, 17 Feb 2019 00:00:17 -0500 Received: from linux-libre.fsfla.org ([209.51.188.54]:50136 "EHLO linux-libre.fsfla.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725372AbfBQFAR (ORCPT ); Sun, 17 Feb 2019 00:00:17 -0500 Received: from free.home (home.lxoliva.fsfla.org [172.31.160.164]) by linux-libre.fsfla.org (8.15.2/8.15.2/Debian-3) with ESMTP id x1H4xint019653; Sun, 17 Feb 2019 04:59:45 GMT Received: from livre (livre.home [172.31.160.2]) by free.home (8.15.2/8.15.2) with ESMTP id x1H4xQuv167541; Sun, 17 Feb 2019 01:59:26 -0300 From: Alexandre Oliva To: Aaro Koskinen , Tom Li Cc: James Hogan , Jiaxun Yang , Huacai Chen , Ralf Baechle , linux-mips@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [RFC] On the Current Troubles of Mainlining Loongson Platform Drivers Organization: Free thinker, not speaking for FSF Latin America References: <20190208083038.GA1433@localhost.localdomain> <20190211125506.GA21280@localhost.localdomain> <20190211230614.GB22242@darkstar.musicnaut.iki.fi> Date: Sun, 17 Feb 2019 01:59:26 -0300 In-Reply-To: <20190211230614.GB22242@darkstar.musicnaut.iki.fi> (Aaro Koskinen's message of "Tue, 12 Feb 2019 01:06:14 +0200") Message-ID: User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.1 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8BIT X-Scanned-By: MIMEDefang 2.84 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Feb 11, 2019, Aaro Koskinen wrote: > ATA (libata) CS5536 driver is having issues with spurious IRQs and often > disables IRQs completely during the boot. You should see a warning > in dmesg. This was the reason for slowness on my FuLoong mini-PC. A > workaround is to switch to old IDE driver. Thanks. I see a NIEN quirk in ide-iops.c that's enabled for the hard drive model I've got on my yeeloong, but that's not even compiled in my freeloong builds. I don't see any changes in libata between 4.19 and 4.20 that could explain the regression either. I'm afraid there's no observable change in behavior after installing the proposed patch at https://lore.kernel.org/linux-mips/20190106124607.GK27785@darkstar.musicnaut.iki.fi/ The kernel still disables irq14 early on, and then runs slow. Tom, why do you say bisecting this is impossible? I realize you wrote you did so for 24 hours non-stop, but... I'm curious as to what obstacles you ran into. It's such a reproducible problem for me that I can't see how bisecting it might be difficult. Or were by any chance you talking about the reboot/shutdown problem then? -- Alexandre Oliva, freedom fighter https://FSFLA.org/blogs/lxo Be the change, be Free! FSF Latin America board member GNU Toolchain Engineer Free Software Evangelist Hay que enGNUrecerse, pero sin perder la terGNUra jamás-GNUChe