From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 108AAC4345F for ; Thu, 2 May 2024 10:20:21 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:In-Reply-To:MIME-Version:References: Message-ID:Subject:Cc:To:From:Date:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=9Hbh7k+Ys0brZgEqQ1a1ZpigBhxhVoeHvh+SunhXsrk=; b=iKPXRU3j7lRLcy kFARJg5QG+2p6MLO41V9EhfctG7A3j5GTdrNoz7prVue+zM14LdX+n5vhTDNmy0Dd21N6/8A0Mc1s 09fhXXVkIs2+Oo5Wp/7GokcUFKT8D4UjksfLO5uHTfEw8iuJlg6/6iyWAIC3/WgH+g1MS5d8rzPCC NYSWmHDCp7DojGpTpC/WB4Eb3tUX1k7mH+nqbDFv3lCPeD1X+F9fQ/rGULmRtqmEC5HvAKY/XPPYk T0K49kkjc83BOzibu2oNf2J2uOeWzWszpVp/KmIAbknwK1rSp4PtDMV+KYdtG5sSp/7+Jf7BXatRp A1wV9jHCH1jd/aZ1h8PA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1s2TXv-0000000CJEq-0WKS; Thu, 02 May 2024 10:20:11 +0000 Received: from mgamail.intel.com ([192.198.163.17]) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1s2TXr-0000000CJE4-2U4A; Thu, 02 May 2024 10:20:08 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1714645207; x=1746181207; h=date:from:to:cc:subject:message-id:references: mime-version:in-reply-to; bh=UBlJgz5xG7D/qPa02aoxxcu20LLe8O6olWTsYyH24Fs=; b=RKVP+vQifCcgh/pVNlOL1CWmDzJQxFnsYoVARw5M2cUGl7d4/cjDLHkL UP1ogZOkAMuIhc+qDblOnSKK0oWLYUQCCSj1HDZx5o8L4MQ9OH75aFgyB ARZ57W63P9o1ehUbdVWhyr0GA8o371Ix224Zh+QUPCzD/aUI3KQyd4iu7 8FZPlbS2P+EjDOX/J+/XY8o6AYJnnjMyesE8t4zm/ptJKcTCMB6J7jWDp tVN09s69sHVnET/beLIUgENlbcqRfnM6zuhfTIweco3Z8SGf2yOFLLVNW 3Z2mQ/00vCUG5R4bjUqADZFF11NVvDa9apcO2zxePc7a1uKgZWmHYVOHu w==; X-CSE-ConnectionGUID: DNYD9sUkQ4O0cTEmxC9ZPw== X-CSE-MsgGUID: xlZ99WWrQSuyHx6xJPdSPw== X-IronPort-AV: E=McAfee;i="6600,9927,11061"; a="10278810" X-IronPort-AV: E=Sophos;i="6.07,247,1708416000"; d="scan'208";a="10278810" Received: from fmviesa010.fm.intel.com ([10.60.135.150]) by fmvoesa111.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 02 May 2024 03:20:05 -0700 X-CSE-ConnectionGUID: aiX0mY4vQSeFpVaHn0EPsg== X-CSE-MsgGUID: Z4pRODJ+R8ebvjkfa5L59g== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="6.07,247,1708416000"; d="scan'208";a="27156971" Received: from smile.fi.intel.com ([10.237.72.54]) by fmviesa010.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 02 May 2024 03:20:00 -0700 Received: from andy by smile.fi.intel.com with local (Exim 4.97) (envelope-from ) id 1s2TXf-00000003HNp-2W6n; Thu, 02 May 2024 13:19:55 +0300 Date: Thu, 2 May 2024 13:19:55 +0300 From: Andy Shevchenko To: Sudeep Holla Cc: Sunil V L , linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, linux-riscv@lists.infradead.org, linux-acpi@vger.kernel.org, linux-pci@vger.kernel.org, linux-serial@vger.kernel.org, acpica-devel@lists.linux.dev, Catalin Marinas , Will Deacon , Paul Walmsley , Albert Ou , "Rafael J . Wysocki" , Len Brown , Bjorn Helgaas , Anup Patel , Thomas Gleixner , Samuel Holland , Greg Kroah-Hartman , Jiri Slaby , Robert Moore , Conor Dooley , Andrew Jones , Marc Zyngier , Atish Kumar Patra , Andrei Warkentin , Haibo1 Xu , =?iso-8859-1?Q?Bj=F6rn_T=F6pel?= Subject: Re: [PATCH v5 03/17] ACPI: bus: Add acpi_riscv_init function Message-ID: References: <20240501121742.1215792-1-sunilvl@ventanamicro.com> <20240501121742.1215792-4-sunilvl@ventanamicro.com> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: Organization: Intel Finland Oy - BIC 0357606-4 - Westendinkatu 7, 02160 Espoo X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240502_032007_680021_34CB2EC2 X-CRM114-Status: GOOD ( 21.26 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org On Thu, May 02, 2024 at 11:12:43AM +0100, Sudeep Holla wrote: > On Thu, May 02, 2024 at 03:32:25PM +0530, Sunil V L wrote: > > On Thu, May 02, 2024 at 12:24:14PM +0300, Andy Shevchenko wrote: > > > On Wed, May 01, 2024 at 05:47:28PM +0530, Sunil V L wrote: > > > > Add a new function for RISC-V to do any architecture specific > > > > initialization. This function will be used to create platform devices > > > > like APLIC, PLIC, RISC-V IOMMU etc. This is similar to acpi_arm_init(). > > > > > > What is the special about this architecture that it requires a separate > > > initialization that is _not_ going to be in other cases? > > > Please, elaborate. > > > > > This init function will be used to create GSI mapping structures and in > > future may be others like iommu. Like I mentioned, ARM already has > > similar function acpi_arm_init(). So, it is not new right? > > Just to add: > > This is to initialise everything around all the arch specific tables > which you will not have on any other architectures. We could execute > on all architectures but the tables will never be found. The main point > is why do we want to do that if we can optimise and skip on all other > archs. You need to carefully write the commit messages. Some kind of the above paragraphs has to be in there. -- With Best Regards, Andy Shevchenko _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel