Received: by 2002:a05:6359:6284:b0:131:369:b2a3 with SMTP id se4csp4723084rwb; Tue, 8 Aug 2023 12:46:18 -0700 (PDT) X-Google-Smtp-Source: AGHT+IHdWcAC1XkSSdCX1KdMLri/Ptf4Md28Y/0/PXnltwCgt1LIFNzRgyVe9Irwu2wNlLYsaKSG X-Received: by 2002:a2e:9c94:0:b0:2b9:dd3b:cf44 with SMTP id x20-20020a2e9c94000000b002b9dd3bcf44mr413311lji.4.1691523978283; Tue, 08 Aug 2023 12:46:18 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1691523978; cv=none; d=google.com; s=arc-20160816; b=Gs+8c/EUmhOI/VGW1tsOaRV5Rwo2c+7mxjMes33VWj/B5QDmG1syHILpfyy82G8qS9 LvHLPq6N2MYjyQy/6HngYUKmW1KSuumO0fqI8y97MppAyK/EKCNVp68+YeYv6MMVJQnQ 53nHimWvbzVNplURUuc88lUNkVJlFKmj+os87GFHgoN7mUkrkTKCxaQ1Uhu8s3nJMmdM oDjgesFUYVq6FlplPd+1KsQn41Q1nMRaxjY0xlND8uq93KezhQqSP39eP7pskh3V/mpk 823dN1FucjcTRbB8TojiNrS18WfdV3Ht95xvcGz39GE0XhH2cjBIVggJH+D6cdv94/Y8 keJA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:user-agent:references:in-reply-to :subject:cc:to:from:message-id:date:dkim-signature; bh=b9d29P0a8Xf3knQp2L89Rb+yH+WFOeGyMn6U8Ysge9o=; fh=GVoYLmtscpBmqVvd4i0ns+2olu0X06iWv0uEndqKqcA=; b=PAIQdcgc6/qQJpyWZg4419iOB6HzLHG7wDcPxwg83PiDMtdiBMSdfJsWaAfcDvcS/e 1Ai4BeLaykoyzK1o6s7mM1C4dSJLpSWDoG35VFvw039kbi7oSer3ZUoMzEL7Z/zJAs6o MxaLN/wltyg1LJ1iNVEX+Wr5HCzJM1HeVKQ7/I3Zp8r1kAi/H4U0HIBf6aVEilBt7JOZ OLd9Wa9u0EZVcbEu9kUqeg3BJNRzJthkDKw0OcourwZevS+P+UuqIsnLbcbvO4rYAtPg d9Uo7IbHNWAXQnAvPQHkXe/AS9WZ2JmAvygI+5/fzQvaBCPzttIpHhufbUqZ09U57Hz9 rtoA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=A6E7wuFX; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id s4-20020a170906168400b00991df467babsi7370652ejd.221.2023.08.08.12.45.53; Tue, 08 Aug 2023 12:46:18 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=A6E7wuFX; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S235968AbjHHTWf (ORCPT + 99 others); Tue, 8 Aug 2023 15:22:35 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:53334 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S236181AbjHHTWA (ORCPT ); Tue, 8 Aug 2023 15:22:00 -0400 Received: from dfw.source.kernel.org (dfw.source.kernel.org [IPv6:2604:1380:4641:c500::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 5A3FC10E9C7; Tue, 8 Aug 2023 09:45:43 -0700 (PDT) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id 526CE6254B; Tue, 8 Aug 2023 13:06:20 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 9E2DFC433C7; Tue, 8 Aug 2023 13:06:19 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1691499979; bh=cRvpYcI51ENCIOzxv8f5XlXNoDaFznNKaW3wW2zr0ow=; h=Date:From:To:Cc:Subject:In-Reply-To:References:From; b=A6E7wuFXbhqek+azVh3Uj/E3WW6xluz7q3sP84yJsB2qv+iGQaPjVs4wBy+e+S/To XkSdlquUSfO1uKp9oWK2o7UV6fJWQONPEnU1kHpDusthZ0jZdV+YrHV5nYBRJTi/F/ lmuRk1voPrSp7JLOh6a8/T2ZJYRo7Ib5bHjpBLjj1aCytZFqHGX4gSO3HR/eDY5uCe 30LLEt8CJPSLp/IiPCwKGk3dShL+BqfxQ7d0r3qRhpchAU+sRSViMoHOfC4fN6Knee G0zi+oEi8htuuM5y1qG9meKOZEYv8UboJYiBSNyrFxiWSMXW+mb9BnfTCIPOpCBxxZ Ap7e0/uyynO3w== Received: from sofa.misterjones.org ([185.219.108.64] helo=goblin-girl.misterjones.org) by disco-boy.misterjones.org with esmtpsa (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.95) (envelope-from ) id 1qTMPh-0038M0-9S; Tue, 08 Aug 2023 14:06:17 +0100 Date: Tue, 08 Aug 2023 14:06:08 +0100 Message-ID: <867cq5hef3.wl-maz@kernel.org> From: Marc Zyngier To: Sunil V L Cc: linux-doc@vger.kernel.org, linux-riscv@lists.infradead.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-acpi@vger.kernel.org, linux-pci@vger.kernel.org, Jonathan Corbet , Paul Walmsley , Palmer Dabbelt , Albert Ou , Catalin Marinas , Will Deacon , "Rafael J . Wysocki" , Len Brown , Andy Shevchenko , Daniel Scally , Heikki Krogerus , Sakari Ailus , Greg Kroah-Hartman , Daniel Lezcano , Thomas Gleixner , Anup Patel , Bjorn Helgaas , Robert Moore , Haibo Xu , Andrew Jones , Conor Dooley , Atish Kumar Patra , Anup Patel Subject: Re: [RFC PATCH v1 11/21] swnode: Add support to create early during boot In-Reply-To: <20230803175916.3174453-12-sunilvl@ventanamicro.com> References: <20230803175916.3174453-1-sunilvl@ventanamicro.com> <20230803175916.3174453-12-sunilvl@ventanamicro.com> User-Agent: Wanderlust/2.15.9 (Almost Unreal) SEMI-EPG/1.14.7 (Harue) FLIM-LB/1.14.9 (=?UTF-8?B?R29qxY0=?=) APEL-LB/10.8 EasyPG/1.0.0 Emacs/28.2 (aarch64-unknown-linux-gnu) MULE/6.0 (HANACHIRUSATO) MIME-Version: 1.0 (generated by SEMI-EPG 1.14.7 - "Harue") Content-Type: text/plain; charset=US-ASCII X-SA-Exim-Connect-IP: 185.219.108.64 X-SA-Exim-Rcpt-To: sunilvl@ventanamicro.com, linux-doc@vger.kernel.org, linux-riscv@lists.infradead.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-acpi@vger.kernel.org, linux-pci@vger.kernel.org, corbet@lwn.net, paul.walmsley@sifive.com, palmer@dabbelt.com, aou@eecs.berkeley.edu, catalin.marinas@arm.com, will@kernel.org, rafael@kernel.org, lenb@kernel.org, andriy.shevchenko@linux.intel.com, djrscally@gmail.com, heikki.krogerus@linux.intel.com, sakari.ailus@linux.intel.com, gregkh@linuxfoundation.org, daniel.lezcano@linaro.org, tglx@linutronix.de, anup@brainfault.org, bhelgaas@google.com, robert.moore@intel.com, haibo1.xu@intel.com, ajones@ventanamicro.com, conor.dooley@microchip.com, atishp@rivosinc.com, apatel@ventanamicro.com X-SA-Exim-Mail-From: maz@kernel.org X-SA-Exim-Scanned: No (on disco-boy.misterjones.org); SAEximRunCond expanded to false X-Spam-Status: No, score=-4.4 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_MED, SPF_HELO_NONE,SPF_PASS autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, 03 Aug 2023 18:59:06 +0100, Sunil V L wrote: > > From: Anup Patel > > swnode framework can be used to create fwnode for interrupt > controllers. This helps in keeping the drivers same for both > DT and ACPI. To enable this, enhance the swnode framework so > that it can be created early during boot without dependency > on sysfs. Where is this coming from? We have had common abstractions for irqchips for a very long time. We can create fwnodes any odd way we want, but why oh why should we invent another method for that? We already have multiple architectures such as arm64 and loongarch already having both DT and ACPI. Do they need another level of "abstraction"? No. Why is risc-v so special? M. -- Without deviation from the norm, progress is not possible.