Received: by 2002:a25:6193:0:0:0:0:0 with SMTP id v141csp786226ybb; Wed, 25 Mar 2020 09:33:15 -0700 (PDT) X-Google-Smtp-Source: ADFU+vtJEa75UkjfwXwbG7sTgSn32NcO63QwekaIrnXBgGD60HlZga0KgPeWpO1m6iJeb0XbU8Rt X-Received: by 2002:aca:5d04:: with SMTP id r4mr2985360oib.94.1585153995221; Wed, 25 Mar 2020 09:33:15 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1585153995; cv=none; d=google.com; s=arc-20160816; b=YqO6u7ICjAPJty6LQvR7FwadCyA58L0FUFkXBIXMtI4tsGyxTnqouxu/UO3Wo2gOvg AaPgPofl75U8GIrgp4HyA+yNxA9pFxOe/eiCBdVRV/L/oNWBXsgD2WrUaAJqFvtIIx7r LL4k/yv3G3FftvmSdLUmOqy0K5EJUAt3jC1yJ2jPojKTFlJP1jz6zDIxlGlKmT6s59Gu FkLHBwW9Y9mfa2Fv0XGld7X1DgxMDFzsfaxHg/OpCjNI2oVvwXHnjPw8TgqRMMk6H/rH 6OKPXEhgGlnBQL9f8hPzKXBkkX1oLVcw1+FP1Z1ton5YqdWBiL42w3vqyn7LBNH/KAs4 4KNA== 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=5UrXaLGpNXNjNX8eY3vBpMxcFlWezimKqzZl3t2ZsmM=; b=PGZJhUeDawxstMeKYmnjCjLYFgmq31cTHMDWa4bZyNIm8ZeBQW4NrMbll0sO6Xkad3 /JPb6dwVITLhI2ohPlYiyLIaqDp6SycemeMWc/dhegv1wtaGaH/nOx9xFoTOu2RKv3PV +DmSHmEHDgKNdUnbWHI27WMWO5zamwnGL6ESWsKnhhWJlydrIzx4KDKzW+TSD9KCS/Sb /gltWMcIoBuyQYly+YNagric44Cj0QAg8F9mYvisDX5nCGKRna0oTJwqRF+/q6VKxBUs OluncOrSvQ7zvuQ4+iTnGQNpkj2e+ItpUu5YmwVYr5NH4YDiB2QL10cUeMACDWD164lB VIiA== 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 t5si4773816otl.193.2020.03.25.09.32.59; Wed, 25 Mar 2020 09:33:15 -0700 (PDT) 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 S1728097AbgCYQc2 (ORCPT + 99 others); Wed, 25 Mar 2020 12:32:28 -0400 Received: from elvis.franken.de ([193.175.24.41]:34474 "EHLO elvis.franken.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727901AbgCYQc2 (ORCPT ); Wed, 25 Mar 2020 12:32:28 -0400 Received: from uucp (helo=alpha) by elvis.franken.de with local-bsmtp (Exim 3.36 #1) id 1jH8x4-0005Qf-00; Wed, 25 Mar 2020 17:32:22 +0100 Received: by alpha.franken.de (Postfix, from userid 1000) id 15EC5C0D3B; Wed, 25 Mar 2020 17:31:53 +0100 (CET) Date: Wed, 25 Mar 2020 17:31:53 +0100 From: Thomas Bogendoerfer To: Jiaxun Yang Cc: Marc Zyngier , linux-mips@vger.kernel.org, Huacai Chen , Thomas Gleixner , Jason Cooper , Rob Herring , Mark Rutland , Mauro Carvalho Chehab , "David S. Miller" , Greg Kroah-Hartman , Jonathan Cameron , Andy Shevchenko , Allison Randal , linux-kernel@vger.kernel.org, devicetree@vger.kernel.org Subject: Re: [PATCH v8 06/11] irqchip: mips-cpu: Convert to simple domain Message-ID: <20200325163153.GA16381@alpha.franken.de> References: <5eb9ce9ea665ee32da40779f00fc9b37@kernel.org> <4BB367D3-B8AD-47B6-ACC2-30752137BC1B@flygoat.com> <39CF835E-D1D9-4B52-ABDC-BDB17B650936@flygoat.com> <20200325150437.GA14217@alpha.franken.de> <777D8DAA-F462-4E8D-9012-C114DE6D56DE@flygoat.com> <20200325154600.GA14923@alpha.franken.de> <8F2B64C3-A887-4D4B-ABEA-4BE3D30F4632@flygoat.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <8F2B64C3-A887-4D4B-ABEA-4BE3D30F4632@flygoat.com> User-Agent: Mutt/1.5.23 (2014-03-12) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, Mar 26, 2020 at 12:02:28AM +0800, Jiaxun Yang wrote: > >maybe I'm too fast by judging the irq code, but without > >CONFIG_SPARSE_IRQ > >the whole irq_desc is pre-allocated. > > Sorry. You're right. > I found the problem is CONFIG_SPARSE_IRQ is accidentally enabled in my config due to another out-of-tree patch ok, that explains it. > during my initial test and I always consider it as a problem. > > So we can drop this patch safely for now. already dropped in my test branch. If nothing shows up, I'll push it to mips-next. > But just need to consider how to deal with it when we want to enable SPARSE_IRQ. setting NR_IRQS_LEGACY so a sensible value should do the trick then. Thomas. -- Crap can work. Given enough thrust pigs will fly, but it's not necessarily a good idea. [ RFC1925, 2.3 ]