Received: by 2002:ac0:946b:0:0:0:0:0 with SMTP id j40csp3155287imj; Mon, 11 Feb 2019 15:06:39 -0800 (PST) X-Google-Smtp-Source: AHgI3IbfTRR7pvJnFsyRDzhnyKkU4uKEDBnnbQSlDBl1IUIA8wXa3SEBREu44Vu9bJ4UgQzLvReo X-Received: by 2002:a17:902:112c:: with SMTP id d41mr730155pla.144.1549926399183; Mon, 11 Feb 2019 15:06:39 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1549926399; cv=none; d=google.com; s=arc-20160816; b=nsQk7DBdrFv/S7ElmD+sBUZKx2Xh4dHqZ8ZrOEskRl0dssEh4BNkupIFRN6koFYwPs BYEq6omo3O3A/IyyMAF9iGemo9QGOLHMGlfbybBh6PhsJtewC2iZmGU929VJZ8GR6fn7 CsDLW2IWWFyucCz6oSivRO8lM7kJ90PjGyvu18/ZdJhKbJA5SeCJwtjgFlY6ZRRMQ4HN AdDWnQvZLSDyc/CYnc4od3u7U11qziMxIXy4ZSv4i7GPDemYhnlVM4hoS2XuGtrvCadU V0M5aDL1RDU1Hy06brNZyDFsDXGHYQI7jViaTaRqeEeCUvjkvlVqdAbd4UZeBMfcktaM HDbQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date; bh=zYErPc/2otWit5OcWfYatwyl+91bE5spG9mdfvyXdFU=; b=DLFUTOU/oUJT2Q+O1X7nWBabzk6pQr1a5D7n++bFUr7p0yXCn3kJv//0M70OFpZyS6 kzQ/Z4pwPOFbzaqIEOV5mjipVFYD1KLMNbDUjYQLe9Y7OFr6fTrNms87cEnbv5F6ZOD9 rsr4qMYPLG0U8Fo0bqYCsSObmBHnZe+bmbZzoYfGYykDc1RBgeRBHebSF8yGGYb+Phol AbezS9g00PdFZJhywDB6SQ/jZFp90AYRIHQIkPXrlRX/dXycGgdde+coOS/o8PenPs4B CjK5rIL0mkaIbJVJD/0uYqstvKDcX7pQNIvJ/0p9Af9Or4B8uwk0d5rcs/tGQcMD3S/D PpOQ== 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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=iki.fi Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id 9si11187539pfq.129.2019.02.11.15.06.23; Mon, 11 Feb 2019 15:06:39 -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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=iki.fi Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727735AbfBKXGR (ORCPT + 99 others); Mon, 11 Feb 2019 18:06:17 -0500 Received: from emh07.mail.saunalahti.fi ([62.142.5.117]:54212 "EHLO emh07.mail.saunalahti.fi" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726847AbfBKXGR (ORCPT ); Mon, 11 Feb 2019 18:06:17 -0500 Received: from darkstar.musicnaut.iki.fi (85-76-87-85-nat.elisa-mobile.fi [85.76.87.85]) by emh07.mail.saunalahti.fi (Postfix) with ESMTP id 7487CB000C; Tue, 12 Feb 2019 01:06:14 +0200 (EET) Date: Tue, 12 Feb 2019 01:06:14 +0200 From: Aaro Koskinen To: Alexandre Oliva Cc: Tom Li , 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 Message-ID: <20190211230614.GB22242@darkstar.musicnaut.iki.fi> References: <20190208083038.GA1433@localhost.localdomain> <20190211125506.GA21280@localhost.localdomain> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.24 (2015-08-30) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi, On Mon, Feb 11, 2019 at 08:38:00PM -0200, Alexandre Oliva wrote: > On Feb 11, 2019, Tom Li wrote: > >> and, more recently, a very slow system overall, that's been present since > >> 4.20. > > > The mainline framebuffer driver doesn't have any hardware drawing, printing > > even a single line on the console is required a full screen redraw via memory- > > That doesn't seem to explain even a quiet boot up taking several times > longer than 4.19, and package installation over an ethernet connection > (thus not using the console) also taking several times longer. Maybe it's a slow disk? 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. Discussion: https://lore.kernel.org/linux-mips/20190106124607.GK27785@darkstar.musicnaut.iki.fi/ A.