Received: by 2002:a05:6a10:a0d1:0:0:0:0 with SMTP id j17csp1063057pxa; Thu, 20 Aug 2020 01:11:06 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzhsOnatRqyTPm/tcM/oQk7nRlGAEYhyojbkX3N4B9U2AGc6bMPBTQfzeuI8OBavPJFso7J X-Received: by 2002:a05:6402:1c85:: with SMTP id cy5mr1841304edb.6.1597911066751; Thu, 20 Aug 2020 01:11:06 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1597911066; cv=none; d=google.com; s=arc-20160816; b=PBadWPIH5+GMk4QqwEY+PujYdOY0SpzZKudF3pm9qHK/xPbqYRinCSNOft/8IXnEJw 232OhydK0aZReOlTTe1eW/49Cnqv2e/vELYW68RVIVVq4/Php+AijRuPKhYiG4dr5ahG 2wKLdjHwKw7C3RiirTt3u+b1+b972ukyAq0lLtglDY9INc/nrMUV2rLSfnKf1fTDQ18i twFPViMPRtCpzcc5Xmlw3InCC8lEXkijO4RX2EJ3BenYtPteoinKISH15HspbUxtx7Qv 94FvO2iuAP5w/5kU/JHrjbwvt0DegOL+a04w8r4f8hDDU03Pg5MR3fqJ2ap4xLmN9EXG uZgg== 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 :in-reply-to:references:mime-version:dkim-signature; bh=UyQuqwn4RZF56iSes2DwNieBx5SpVLzHQWszhjrntHk=; b=PIJSrZkz8PxIMnH8paAOx/fRy0aNTOuZ9f08hY+sN8nVas5hTijo7XFEElhIMC9hnd U2rIbwHviA8YRAd2oRELd7BwAb5g67zn8xSGfKPMpz0NpsipFOmoRYR3cIt8x/sr1/E4 mg8isHzznqvm7PTHiGcMyYmCYnGgfHrLXR99gEzgFIEGlG39b2igQdFDWYWYJMCOYoem 2U0LIpQbR/aCle0LGf/bb2OPutDXdp99BJ9X9fH1dLEQhkF9nDNUNRUX8cr3f0iYCYR+ 5kPbvEHZpGRvrHl9F6HX8a7Pp54uADKYxBA+Syc/qtODThHJML19vFPE61Hr4i7M0zym tKfg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@google.com header.s=20161025 header.b=Lapb6oYH; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=google.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id r15si759715eja.397.2020.08.20.01.10.41; Thu, 20 Aug 2020 01:11:06 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@google.com header.s=20161025 header.b=Lapb6oYH; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=google.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726702AbgHTIJT (ORCPT + 99 others); Thu, 20 Aug 2020 04:09:19 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:44372 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726701AbgHTIIj (ORCPT ); Thu, 20 Aug 2020 04:08:39 -0400 Received: from mail-pl1-x641.google.com (mail-pl1-x641.google.com [IPv6:2607:f8b0:4864:20::641]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 294F5C061757 for ; Thu, 20 Aug 2020 01:08:35 -0700 (PDT) Received: by mail-pl1-x641.google.com with SMTP id y6so566064plk.10 for ; Thu, 20 Aug 2020 01:08:35 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=UyQuqwn4RZF56iSes2DwNieBx5SpVLzHQWszhjrntHk=; b=Lapb6oYHVPL5HNLwcPNs8MoFKbXLSYE2HQX+VtwSg4ZyjFXq7XlQltoIe56HYn9XBU LgwdfPt8FCiCKiRbg3IIeQgysyw919rVQUDSW3IajjJ4Bcb4v2VdKddnHiiHjmJkfgte vGNQRL95MAlkFXlYw11QN+/MX2YrmkdaJNPn3RX9kQKH1etDLseHML/CHfTp/SCPCwGw iDhSewBo6cWlO1VA8xkTEW5sYfnlr5ET52plBb+3U82O3jAIEDhQL3CziQeoxCA+45m8 w/f5FVvfNttV9zaQbMZb3OubH8Q7zAW8LJ0J3oNih7c0jn0yUjeNIij+iKML5/wJG/Bc j1Yw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=UyQuqwn4RZF56iSes2DwNieBx5SpVLzHQWszhjrntHk=; b=RJ38Lb2l3EH1dCejlWSjKn7sAw39H/EbRamTqR4IEmqG63BbYdSXOkablePTMetJdx giI5dsRp/NNdCcAltjIl9TUE5BqczxD5FIyomRBMetWiPjtV/BD2Isl+3AnBYvDGEaWj +bh9ip/XQLeeiyCfyOWH5q7mnv8OBAzAkF27ZlI+Za8+kf0ESFHqrsjP7Fa+Ufi79bzk DbpAaeU6+XsbeZClBE8Y0pBgOHRdiw2TiPWP8rRQy+7LxGqoGgLCzt5qPRbzCPlq5du9 ELktq80GDORt1G9Y5RP4BMwcHptMdjLopZOatp+duju123lOOn0B1l2YbQGvGxkZkRx5 VKGA== X-Gm-Message-State: AOAM530KJDZl/kofxqLk6f4fSIEw5ggQcPrCMsP78pOBx7m0ec4Ivu/O xKtWORFhyIqqiUXc3TFRAkRup7ZzKvau1Hgnq2r0pw== X-Received: by 2002:a17:90a:f98e:: with SMTP id cq14mr1645144pjb.51.1597910914013; Thu, 20 Aug 2020 01:08:34 -0700 (PDT) MIME-Version: 1.0 References: <20200819161907.1155110-1-enric.balletbo@collabora.com> In-Reply-To: From: Saravana Kannan Date: Thu, 20 Aug 2020 01:07:58 -0700 Message-ID: Subject: Re: [PATCH] Revert "irqchip/mtk-sysirq: Convert to a platform driver" To: Marc Zyngier Cc: Frank Wunderlich , Enric Balletbo i Serra , LKML , Collabora Kernel ML , Frank Wunderlich , Matthias Brugger , Nicolas Boichat , Hsin-Yi Wang , Hanks Chen , Jason Cooper , Thomas Gleixner , linux-arm-kernel , "moderated list:ARM/Mediatek SoC support" 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 Thu, Aug 20, 2020 at 12:56 AM Marc Zyngier wrote: > > On 2020-08-19 19:51, Saravana Kannan wrote: > > On Wed, Aug 19, 2020 at 9:52 AM Frank Wunderlich > > wrote: > >> > >> hi, > >> > >> does the fix you've linked to my revert [1] not work in your case? > >> > >> [1] https://patchwork.kernel.org/patch/11718481/ > > > > Thanks for pointing it out Frank. Also, might want to avoid top > > posting in the future. > > > > Enric, Can you please try that other fix and see if that solves your > > issue? > > I think Enric was clear that the driver does probe correctly > (meaning that he has the fix in his tree). It is everything else > that breaks, because none of the drivers on the platform are > equipped to defer their own probing. > > I think we need to change this works right now, meaning that we can't > blindly change the behaviour of *built-in* drivers. I'll see if I can > come up with something quickly, but I'll otherwise take Enric patch. Sounds fair Marc. Btw, Enric, out of curiosity, can you try adding "fw_devlink=on" to your kernel command line to see if it helps? It basically ensures proper probe ordering without depending on the drivers. There are some corner cases where it still can't work properly (too much to explain for a late night email), but if the platforms don't have those corner cases it'll work perfectly. I'm fine with the revert if Marc isn't able to find a quick fix to the drivers, but this might also fix your problem right away. -Saravana