Received: by 2002:ab2:69cc:0:b0:1f4:be93:e15a with SMTP id n12csp1505263lqp; Mon, 15 Apr 2024 08:19:17 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCVIsi2T6yCy5nuKKg2WcAvZkd0Wl5lhqJaN51m2jYZgiafUJlbOHBimLZrlHPqA6hhNbl1pVMCXToa0Xhr26De2TGsYH90yG8f63syxLg== X-Google-Smtp-Source: AGHT+IEnt/7NA7fxBXBpNj6MaGzOonSescmOD8T10oZnX/N5l2IKOzwA4JAAfSbW6Q/K2sKy0t++ X-Received: by 2002:a17:906:1501:b0:a52:6fcb:100f with SMTP id b1-20020a170906150100b00a526fcb100fmr1463015ejd.12.1713194357202; Mon, 15 Apr 2024 08:19:17 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1713194357; cv=pass; d=google.com; s=arc-20160816; b=kaKP0Fzj35WKQHNywCgNeeft3F9xQzC/nE0HYDxanyuo+5nFKe44O1gL/rZ8lUQ2qi rDz+w1Y4SyGShUZDB9LVQOWHsS8pwWByjic/mE4cOz70dKK5Ks7YZKOMJRzUv3YzYSVV zv/1CUOYXAJdJlh/BMowKewh1jpvSxF1Vn5eHyzA0o4a5aRY8zC1FqlA4RF6Kzcn8aV+ 30rSs9cqkeSMMqebc1x+2rpygLkwNkmvQNx8wmGrxi/s9MbSEatbGGwm2dfkeYK+yy+P PH7k2eRWm6LooMEIjteAWPIf40kNVUkSv3QEzwGof2lKAvOWI+okurpvjPMt0ZEnWouy BQWQ== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:list-unsubscribe:list-subscribe:list-id:precedence :dkim-signature; bh=agH1QFbrpHLd4P7Yhw6r5jXXFiQAUi7FPPp4+GhP0bY=; fh=BPEI0KInAdHoibzg+XQu4jFjD2yK88sI0scWmZkEkQE=; b=M+XkyoMWYuDW2zcdvpFAUQJsU09mVKLjHETqdXgyLIhi3jZ1vcmMkMk0RY5oE1SnTk 76eDpLOZx1PbuonME59UxtnyEhbZXfLb5qAsnOVlUSmoyjUmj8i/94WAgsRiTlNJuSqY YgdDU9aOjWm63dNgABNb/5fjSs4QQSUoKtArIjmq0170Fcrnhop936mZx/09aFlyc/2k d6QQeI0Y1j8Q+5YqJCGNZerYUGPuZTFAgIkhAiOgqip410mowtTOPKjgSOc8tE7cjQ5e zclIcebh+FXwtWZ4s4hCmr7B7zXSiJGFmyWW6rLJgPGfpPaDSvcuz702hq9VWPgjXIGB W7YA==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=QGfC6N3S; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-145441-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-145441-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=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 n20-20020a170906089400b00a52043a25casi4671515eje.955.2024.04.15.08.19.17 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 15 Apr 2024 08:19:17 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-145441-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=@kernel.org header.s=k20201202 header.b=QGfC6N3S; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-145441-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-145441-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=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 C10881F230FF for ; Mon, 15 Apr 2024 15:19:16 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 4CE3A7A724; Mon, 15 Apr 2024 15:18:57 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="QGfC6N3S" Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 6D2E26996E; Mon, 15 Apr 2024 15:18:56 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1713194336; cv=none; b=CCs0Mq46teEBz3pmbQaumUiFM2RFKqRjCDbx6rE94kNq5lFGg3Rx1oCh+xxMAT46PKilpCD1/yEtKYBH9Yi/q3/XqeDm246LavSPuF+4jy8B+kFlxFmmT43ICKqCwqDGJMQ7CLyDSco0v1kHotbXh4zP9/LTlIGqX2dHBnk7KVA= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1713194336; c=relaxed/simple; bh=agH1QFbrpHLd4P7Yhw6r5jXXFiQAUi7FPPp4+GhP0bY=; h=MIME-Version:References:In-Reply-To:From:Date:Message-ID:Subject: To:Cc:Content-Type; b=qpRJS4A8BsyFtnKxbeOck/eHYnxrxuVN7qnxZ+Tm/BFOfBfJLXIonHJ70aHwVRRb4wrxCuiW5peKrZA/Tx8Hjg0+ifD9mWS1DgyuwvlgZdN9jYztNNcp18zfNEEtt613qgUjHtuiY7kSx//QdfQJyHt95GeZYkUbgH1lvvddEsk= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=QGfC6N3S; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPSA id F2E78C4AF0C; Mon, 15 Apr 2024 15:18:55 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1713194336; bh=agH1QFbrpHLd4P7Yhw6r5jXXFiQAUi7FPPp4+GhP0bY=; h=References:In-Reply-To:From:Date:Subject:To:Cc:From; b=QGfC6N3SYFSbnGqKjM/F/NrHKVL3+hcf4L6CY4wRfCDmQ28r2aIc7mmfGHoFP/+P1 EkKEUdRxqedskTPuJDR1oHw3lN0h9nuYXg39yxGKEkjutzP8SBT3C9VJ17PJhRkteG kkGTQjLvCujpe4zTC9Fv61NjEIfQ/3xZ1qe2KX5p2Ku1yIdNUGJNezZcZgBgkwyINg tI4UOnZhTOSJr/ubsejRZkRLxFz62H90aqgrliZYqOfkLjNhj4T2g/ofKFbnQhVjm3 MZPkHTFmBt/fQ/r/7e1xFnheG66198vhBvw4KFJt+vT5S7h56b/YKYQ+LP82iXIfhI 87x1KZEA1E8hQ== Received: by mail-ot1-f41.google.com with SMTP id 46e09a7af769-6ea26ea8c4bso239643a34.0; Mon, 15 Apr 2024 08:18:55 -0700 (PDT) X-Forwarded-Encrypted: i=1; AJvYcCXnUaOqkwCcdRCf/+tLNI9Zu+faAmfcu2RlA1/Ssi4gY4YVnwv1BvIJYr0H0n3iZl82+TWrVJyuHl7dflVNwilBu7miUTfM18vRvXeBkWZYSPb1W8n+Azpileq8Re8ifzi6PFCeFML/MKRBPsns4WJkTMNSefh5px5mg8O/xoo4zY/pLg== X-Gm-Message-State: AOJu0YycqyZWL+u7AphJrnjn5LvtpIXkU+7R8YlBWDwTYRqbVcpVjBwg ttZbfVyxhGJtzFONTA16dmmNcNtM0BmYv8aeWXJwlwGQlrnUrVcSQDgq7ofFRNUSmrGb1yNf7oY ApDZkEp7ah8ebRhCbDnqFmOnnCF4= X-Received: by 2002:a05:6871:460a:b0:22e:d06b:5d8f with SMTP id nf10-20020a056871460a00b0022ed06b5d8fmr11682662oab.3.1713194335221; Mon, 15 Apr 2024 08:18:55 -0700 (PDT) Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 References: <20231219174526.2235150-1-sunilvl@ventanamicro.com> In-Reply-To: From: "Rafael J. Wysocki" Date: Mon, 15 Apr 2024 17:18:44 +0200 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: [RFC PATCH v3 00/17] RISC-V: ACPI: Add external interrupt controller support To: Sunil V L Cc: "Rafael J. Wysocki" , 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, Catalin Marinas , Will Deacon , Paul Walmsley , Palmer Dabbelt , Albert Ou , Len Brown , Anup Patel , Thomas Gleixner , Bjorn Helgaas , Haibo Xu , Conor Dooley , Andrew Jones , =?UTF-8?B?QmrDtnJuIFTDtnBlbA==?= , Marc Zyngier Content-Type: text/plain; charset="UTF-8" Hi, [cut] > > > Hi Rafael, > > I found that _DEP is better than fw_devlink for ACPI since it works > during scan itself. For ex: the way PCI host bridges are scanned in > ACPI, PNP device handling. While some hacky solution could be done like > I did in v3 (pnp_irq() changes), _DEP way seems much better. > > So, we decided to go with your suggested approach and defined namespace > devices for PLIC and APLIC required to create dependency mechanism. > However, there are concerns that every device will have to add _DEP now > and whether it is intended for this use case. Also, actually the > dependency is already available in the form of GSI number mapping. > Hence, instead of explicit dependency, we would like to create implicit > dependency. So, I will send RFC v4 series with those changes. Please > help us with feedback. If you could provide quick high level go/no-go, > that will help us a lot since we need to finalize the spec whether to > mandate _DEP or not. > > I request you to provide some high level feedback in the RFC v4 I am > going to send. I will, thank you!