Received: by 2002:ab2:60d1:0:b0:1f7:5705:b850 with SMTP id i17csp1025803lqm; Thu, 2 May 2024 03:04:15 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCVd9uzQF/RAIuGUFF8eR5XYsCj9ZWm+U7o8yV0mHgsPXN7CgX0c1KaAXxuoV6Q/s2OM2whywKszorwKmm/OaFihRe90yrGcTwfIlvrk4A== X-Google-Smtp-Source: AGHT+IECLSUcyFhuaN6X82+9gI7SQ2WapkE8Oc4XXDiVCKi+1q+z4QwHpHWU+hUDIQ9ny3zqUTc9 X-Received: by 2002:a17:906:d181:b0:a58:e592:112e with SMTP id c1-20020a170906d18100b00a58e592112emr3214022ejz.32.1714644255160; Thu, 02 May 2024 03:04:15 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1714644255; cv=pass; d=google.com; s=arc-20160816; b=pYR21AqfpYnW3hWXgwU+hs0BPwOUcWI4a0/ZfqmZPTRlZ2M/V39RQY/M97ezRSBkwj m73mIDgOcaXLwkxXHnum7cL0KsASw5UzmL17y9ycmO9vX3fTS2jAa/Bu9d46Fc06XqcC ZBXnzVVr9UvtI8upw4X1EunhK5cHX1GcL/CnC/09S5nT5Cwp5xQD7rwi5LdFhiryvCtQ 75PbVYwdGvckWm4NjfQA4boHoxfTuGpNxetXPM7miH4FEiiB9Twy5xbpq/k868M8ceQA VxUFJgZGYcqISTOMvhXpOGIzjKNvX8jQ7ZNv6460RxJ4qolLiMAux5mHVi+0eGL2vDsh VH0Q== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=in-reply-to:content-disposition:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:message-id:subject:cc :to:from:date:dkim-signature; bh=+kMTT3PzTLyPVaeH+DM1bYJEhGQDgrI4wH+0p7ikXNM=; fh=b8oISNhubRb0HXKg7srxCt+3PaFYTgyNrSbEEeWsVTU=; b=YQJWU2cShtet1LJnYfrhVi+AfyvlUoQrobm7EGjUWB+Q8YrL2JMefixQZ1p6XDvmtw X9wxXBEa/E390PbAorrGl1ZVA+5EiHZYMKIqK9VfzZA7YkBqQrqCwvn+jfl+s6s70qt4 W1H0Zp+V5S/YN1qxyGGdN18eNLa3B/Rdk8kxSVFfjpPMFVvs6HEN0ZN7dNnPM/hkyvb/ HlRvRYpy0nrBXn9VbyimkgKiUHMI+NLve7lcKog4uQHMWxelKeAIMPGfVaYWaZYjyNCS ZFkV0sAf2Gn+Dd2yVMGMSJp0UfG04mIUhzyNDi2GHyiw2Ka7CD/8DGLprJC6mMYhTX9O 0wYQ==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@ventanamicro.com header.s=google header.b=DQqmBh4m; arc=pass (i=1 spf=pass spfdomain=ventanamicro.com dkim=pass dkdomain=ventanamicro.com); spf=pass (google.com: domain of linux-kernel+bounces-166279-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-166279-linux.lists.archive=gmail.com@vger.kernel.org" Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [147.75.80.249]) by mx.google.com with ESMTPS id bk14-20020a170906b0ce00b00a55b384716csi332353ejb.843.2024.05.02.03.04.14 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 02 May 2024 03:04:15 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-166279-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) client-ip=147.75.80.249; Authentication-Results: mx.google.com; dkim=pass header.i=@ventanamicro.com header.s=google header.b=DQqmBh4m; arc=pass (i=1 spf=pass spfdomain=ventanamicro.com dkim=pass dkdomain=ventanamicro.com); spf=pass (google.com: domain of linux-kernel+bounces-166279-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-166279-linux.lists.archive=gmail.com@vger.kernel.org" Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by am.mirrors.kernel.org (Postfix) with ESMTPS id ADDB31F25DB6 for ; Thu, 2 May 2024 10:03:40 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id B54A257894; Thu, 2 May 2024 10:02:42 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=ventanamicro.com header.i=@ventanamicro.com header.b="DQqmBh4m" Received: from mail-pl1-f176.google.com (mail-pl1-f176.google.com [209.85.214.176]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 9C8BF55C3A for ; Thu, 2 May 2024 10:02:40 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.214.176 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1714644161; cv=none; b=sNYwRdEbPcjoWsBYThB/ZwEtMKMj7+VClbljU4k9KKvCx1EcQw3abrZJ/FEChWk601qN9NfkyMgGGDB7pkLu+3KerBY+OH0lcTHyN4eViZ31mJbl9rJhGMeFedXjiliZgrsTsLOlzrBv/ckq/Mw1fvVzpkxKxKtUCaElrQ4coX0= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1714644161; c=relaxed/simple; bh=Jyakk2Re/yXumSvffFIqIAQUyky6V4gBP2YcQa+LJI8=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=a6/ePA1kHfvjP7TZi6yEOp6ttnqCeRgBGpRp6saRf7GhCvMgdeHeI22HQZ+jaI16KLCtIILNp2QkMpWAfuMxmY9uhxvv3mP+oyQkMwgLaQn4aM9/ZmkWuY9GAD/YbII0Do+dLVRhlcsBkgN8RSYbaqyCGWsMhGDLOnnwevPqgEY= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=ventanamicro.com; spf=pass smtp.mailfrom=ventanamicro.com; dkim=pass (2048-bit key) header.d=ventanamicro.com header.i=@ventanamicro.com header.b=DQqmBh4m; arc=none smtp.client-ip=209.85.214.176 Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=ventanamicro.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=ventanamicro.com Received: by mail-pl1-f176.google.com with SMTP id d9443c01a7336-1e651a9f3ffso40132965ad.1 for ; Thu, 02 May 2024 03:02:40 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ventanamicro.com; s=google; t=1714644160; x=1715248960; darn=vger.kernel.org; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:from:to:cc:subject:date:message-id:reply-to; bh=+kMTT3PzTLyPVaeH+DM1bYJEhGQDgrI4wH+0p7ikXNM=; b=DQqmBh4mp6/pzjPZTKqH0p2FqsO02oCnzubXyzXAeTGoYGfn6wHXxecXlsfx1ltAHY TTeATZziUIZhC3Y4NurLD8gWd9QT5KBP7KZdJnwyeZrkrxgy6rQPWcODJEzP3QOhji94 qafZmuoJnnwLvtKssFFMf/FsYoGTgwUz0GDH6u04iyPkccTBg4WXd9fO8YfL+8YtkVHP ZJakestkypepSyAfoIhJRJ6vXqhdDeL+G6D6aukxxv6aK1sUZNyNa4LbWsoNjNFmG3L5 IhEtUmEQGoR4ZoM+OkwUcyGbEFQSPQN9GRGf4Nw1gv3oWOJDtPWDajn1xdO4AbPHqIBs 9kNw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1714644160; x=1715248960; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=+kMTT3PzTLyPVaeH+DM1bYJEhGQDgrI4wH+0p7ikXNM=; b=XCA0s/TjWUqBXVqn3wORSvxPJvbs0PwTWBvh0LOMlYbRKP7LhmeSeJX4yU9sIPFcNx /DxE+97B0+KHSEojLg0g5A2WAJx+hWT1TNbHyExYCPzy1EUGG6s8jZe1ssHSgyEmx4Qp fvOU0gwkIrZrgajJNUKUvBQSdNVHxFcxzu/R3zPc4m4h5sgCldSh7kp/UJfiegyz9Im4 GrT4KsAUupWUf9wjCMg3RXewaW+r2G7wKimKawaIfLSOK3hPpwYOrtAybC/mrJ/m0t1h hg9vQxmtlbY+M1qT/d5QXPq4SiXrUcPM8P1gC8z7QOgBkMM91V0HtcLcbgDP3z4aoLwt OAbA== X-Forwarded-Encrypted: i=1; AJvYcCVWAxSPkhmBpJf2gZ3a3chiTAYtv8Gsm1nzk5/OEOdwvcugy1xRM7gwTtdu29SfIQhQ/jkuOW+RIxJtfv0VClOJfbehAorHxnVdkEsb X-Gm-Message-State: AOJu0Yxq7CMvkZ6jc6DeOGsCNtHxKeSEcV7YvINu5qjb6AKRHIdCvmn8 BE43suWxRACZSuaq1o8qYDuIBMM1BnuLpFsVhiZgGHI+mcLLRkoWbJSk3FkHqgg= X-Received: by 2002:a17:902:ce8e:b0:1eb:5323:c320 with SMTP id f14-20020a170902ce8e00b001eb5323c320mr7103763plg.56.1714644157999; Thu, 02 May 2024 03:02:37 -0700 (PDT) Received: from sunil-laptop ([106.51.190.19]) by smtp.gmail.com with ESMTPSA id u9-20020a1709026e0900b001e604438791sm896026plk.156.2024.05.02.03.02.29 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 02 May 2024 03:02:37 -0700 (PDT) Date: Thu, 2 May 2024 15:32:25 +0530 From: Sunil V L To: Andy Shevchenko Cc: 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 , =?utf-8?B?QmrDtnJuIFTDtnBlbA==?= 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> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: 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? Thanks, Sunil