From patchwork Wed Oct 25 20:23:29 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sunil V L X-Patchwork-Id: 13436737 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 1DF49C0032E for ; Wed, 25 Oct 2023 20:25:36 +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:MIME-Version:References:In-Reply-To: Message-Id:Date:Subject:Cc:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=l0YNFpDLJvdC/KqeD2Mpgezkm4pEBmoPHnoeU3qpJro=; b=v/3a2ESb2ZEwfc dwd7pn49Ecw+91QZQJsJUAT3wnIVsh+kBELeGQiaXfZUIozD/aa9aV32lTj3Q/bS+XdSwI9MOJ6Mz BHxVFL4PpNPVc/x17Pqzejn4wMAh23CjzrHgXSWqkcmaSia/Hjz5Vq2PQvxDXuYzrRll7BVbQZZli tiKrGx+VCE8jJQVXlHVJsEYPXe+9OFp01CMqZRnPAfwRPTx+SflnrLP64LIOy2ufK/MZZota4kRIL NM40tyo04n6uZvbiv2A11x6VX4VMAlziGN7o/1RdKT3P0XsgPMXTefLU59km0al7TMwHZUx/xZO5s gOqwC4F2tPhhm8hXZEFQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1qvkRA-00D31t-0r; Wed, 25 Oct 2023 20:25:08 +0000 Received: from mail-pg1-x532.google.com ([2607:f8b0:4864:20::532]) by bombadil.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1qvkQo-00D2jS-2H for linux-arm-kernel@lists.infradead.org; Wed, 25 Oct 2023 20:24:47 +0000 Received: by mail-pg1-x532.google.com with SMTP id 41be03b00d2f7-577fff1cae6so96838a12.1 for ; Wed, 25 Oct 2023 13:24:44 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ventanamicro.com; s=google; t=1698265483; x=1698870283; darn=lists.infradead.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=GmA5kOKekb5h3Uw1k+e0LhCWijGnTH8utnJ5szxpch8=; b=Yjc4OzVvmyBXhuGn5ijt30oS0vhR3dNeyoexA9Yd7YbwjZPJYmgPzaOYsE3sTUiICP 1XMAQz7vvd1Gq3C1VePem2IT5mvPVWkTlXdgDpTiMb/bPQXvwi2ew1zOFf1bLOFaTayi T5KZD5ZZIwCis6PXFGJWrIaj4HWICETj5TMQSb/W+9FLWL+DY3xG4C+1OCxt7mDVpxxa e+YgHqBgD9OCuxBi3YwYYY7TPGZcPc1WQXc25drzUANzyhNNMaiqdoAkXc3aNbjIuQcN PMW2XaJ7tHf8606j6RnmbvvxUzyXwVZ3FEwhNgVWdlzYZAKFyanTz2sN9uR5/0gWjb1K JJCA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1698265483; x=1698870283; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=GmA5kOKekb5h3Uw1k+e0LhCWijGnTH8utnJ5szxpch8=; b=LwhFAasy94Rxyezab+ol6eMa11H6D/ZqxW1Ch3ZoRCVeyvRynQ/as7XjKieRqIhtt6 tNnGN48CYapv6ndJDAlJ2FpkZt/0n/WGyh6AhGL4/ZXCI0dOrQ/YHtN0KUEREbRCleqm YNP7V17imBIQttkZ3UAzxy0P++q0YBMGzv9tnvXwiSfRz8c4dPpwTOWulIkufgYdWTFF ezH+yFkt00fyh5JMSDWLHLhNmSVKbV925Q1GDGdwZHzGbvJWLK328L3IBAEosjck2xa+ 65M5JayoCsnVVYuB4LkS6kRnzq5icTrq/ScOuQvj68JuNmQ9IpIOXWGdPdVUuBT6RYU6 01MQ== X-Gm-Message-State: AOJu0YxDAu8AB35/3MFc8pZVG1frTelyVHTqQ4t3h/bys7iUCRIHiSBI JxkL4HrQUDS92C0sMHee1y1HEUFHaxF4RDR18ZVTbg== X-Google-Smtp-Source: AGHT+IEWaGrpkEpDFbneFUdLQrgY3wxCJPmh6tSJaEBSJOipB/ao+CEA+asAJLO3X3etojz+m4Eg/g== X-Received: by 2002:a05:6a21:999c:b0:17a:f4b6:bf89 with SMTP id ve28-20020a056a21999c00b0017af4b6bf89mr713082pzb.31.1698265483317; Wed, 25 Oct 2023 13:24:43 -0700 (PDT) Received: from sunil-pc.Dlink ([106.51.188.78]) by smtp.gmail.com with ESMTPSA id y3-20020aa79423000000b006b84ed9371esm10079590pfo.177.2023.10.25.13.24.37 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 25 Oct 2023 13:24:42 -0700 (PDT) From: Sunil V L To: 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 Cc: Catalin Marinas , Will Deacon , Paul Walmsley , Palmer Dabbelt , Albert Ou , "Rafael J . Wysocki" , Len Brown , Bjorn Helgaas , Anup Patel , Thomas Gleixner , Greg Kroah-Hartman , Jiri Slaby , Conor Dooley , Andrew Jones , Atish Kumar Patra , Haibo Xu , Sunil V L Subject: [RFC PATCH v2 06/21] RISC-V: Kconfig: Select deferred GSI probe for ACPI systems Date: Thu, 26 Oct 2023 01:53:29 +0530 Message-Id: <20231025202344.581132-7-sunilvl@ventanamicro.com> X-Mailer: git-send-email 2.39.2 In-Reply-To: <20231025202344.581132-1-sunilvl@ventanamicro.com> References: <20231025202344.581132-1-sunilvl@ventanamicro.com> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20231025_132446_754256_FBD3A000 X-CRM114-Status: GOOD ( 10.91 ) 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: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org On RISC-V platforms, apart from root interrupt controllers (which provide local interrupts and IPI), other interrupt controllers in the hierarchy are probed late. Enable this select this CONFIG option for RISC-V platforms so that device drivers which connect to deferred interrupt controllers can take appropriate action. Signed-off-by: Sunil V L --- arch/riscv/Kconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/riscv/Kconfig b/arch/riscv/Kconfig index 8c105a151e12..b62441aefa6a 100644 --- a/arch/riscv/Kconfig +++ b/arch/riscv/Kconfig @@ -12,6 +12,7 @@ config 32BIT config RISCV def_bool y + select ARCH_ACPI_DEFERRED_GSI if ACPI select ACPI_GENERIC_GSI if ACPI select ACPI_MCFG if (ACPI && PCI) select ACPI_REDUCED_HARDWARE_ONLY if ACPI