Received: by 2002:a05:7412:251c:b0:e2:908c:2ebd with SMTP id w28csp2823373rda; Wed, 25 Oct 2023 13:24:52 -0700 (PDT) X-Google-Smtp-Source: AGHT+IEVZdfhdCnKIvkWrKuKW3xL7WxdqaaBZu9s9YdVQGSxbFyfxF0/s24lovli7JtVcVBArgBg X-Received: by 2002:a0d:f381:0:b0:592:5def:5c0d with SMTP id c123-20020a0df381000000b005925def5c0dmr17049283ywf.45.1698265492237; Wed, 25 Oct 2023 13:24:52 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1698265492; cv=none; d=google.com; s=arc-20160816; b=z/n1LwCX53x4SQ5Z5I4dPMGNELUxid5D2DwH64h7snluWVfCIeU/QgAMke4y0Rah+l wH/Ajr7Ad13WLmcGa0xxAOxZfYvWONv1f1JHZ/UthdEaGdpwko/40kNlNumsDLnMbKvR s4w1U7XOIe4+K3jtb1Gky2AQjlNjI2GAMgDDI6tiW8r1NAvhUm1YSk3FusVqYPwo3F/1 FxKa/AkkiYHNq6ywowPSFtt5S90vuQa8Uu0H2NXzlO9WIb2E61Oc5++ehvQxvuoN3N5m 8NJ4mLMfI/22hKGwSH7y/g5MMeUnMmjz3vrPJh4pDweH4AtQe1+BVYVsW/dOr4fJaK7v fv6A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=W8oe0TQ1+zZd/3zKJQAEE+us/MvQWSBihayeSKyJW3A=; fh=/fEAwM0ftwV2z3MN/iSYq1lv8IFPZ2fY8Kg8RoFcxjU=; b=thYMAiDL2E+Gtft530xxyM4csC+dARcNoSpSO3K9ByeTnUUeI+9pAKqnLNGo6NcxaS gqLQM03XEFhcPyBkTdttSVK2kPMdVKZ5MiK7qS+xGJVJt6ktu4MNOaMOFl7LSw7X9rx4 Hf/corUuTgVRwSZW7+fkzvzNqDqs3n1Ybeav/V6ahy5+anRBqQ5J+nq/bbcuU7EbmGut U4q0RSrNKjrgjt3wByzJ3DnkHonHrk/ME179O8bdq+zJFkDCjlYR0o/SdHRqxDQqNBXi Y6dS87ywvkze5Vtpij8Kd5OWBl1Xf5NqD214ErKs0Z19f0fTL0CHX4w/mobVGfgNv3Mw 2gpw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@ventanamicro.com header.s=google header.b=B2QZEsvN; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.32 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from agentk.vger.email (agentk.vger.email. [23.128.96.32]) by mx.google.com with ESMTPS id p21-20020a0de615000000b0059f74568d4asi12134365ywe.226.2023.10.25.13.24.51 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 25 Oct 2023 13:24:52 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.32 as permitted sender) client-ip=23.128.96.32; Authentication-Results: mx.google.com; dkim=pass header.i=@ventanamicro.com header.s=google header.b=B2QZEsvN; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.32 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by agentk.vger.email (Postfix) with ESMTP id BAD4B80E6C93; Wed, 25 Oct 2023 13:24:47 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at agentk.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234825AbjJYUYj (ORCPT + 99 others); Wed, 25 Oct 2023 16:24:39 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:37872 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234833AbjJYUYb (ORCPT ); Wed, 25 Oct 2023 16:24:31 -0400 Received: from mail-pf1-x430.google.com (mail-pf1-x430.google.com [IPv6:2607:f8b0:4864:20::430]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id B027519F for ; Wed, 25 Oct 2023 13:24:26 -0700 (PDT) Received: by mail-pf1-x430.google.com with SMTP id d2e1a72fcca58-6bd96cfb99cso126677b3a.2 for ; Wed, 25 Oct 2023 13:24:26 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ventanamicro.com; s=google; t=1698265466; x=1698870266; darn=vger.kernel.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=W8oe0TQ1+zZd/3zKJQAEE+us/MvQWSBihayeSKyJW3A=; b=B2QZEsvNG1mckIay9FM37B8+RnbVBxmNlf/31hZqak2JAmMmKKpO3kQ3+QwfNmjTqx WCHcf/DzVJlqsxO6h6FGcQQIB3fQvcGK0Xhm7PP5EI8GSSnFruJdb5VNBMmgZSukgjll hKkTgNdRX9DqS/9NVqSpYuTi8qQkluwSgds8Na3VFhxvltoRNN7JUqh0xw6EkGo37+km keMHZ8eewlPoof4/eNfdheg0AU/D6rS75EXHTf4AOzcv8yobdEXv0yymXFKR3BiSpp61 txpZSki5CdlRBVvI4nTwBUCbz1S+qpkkDSvq78M6AgKDV+yzA4w+RdbxsqXehsdzMq2V XcUQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1698265466; x=1698870266; 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=W8oe0TQ1+zZd/3zKJQAEE+us/MvQWSBihayeSKyJW3A=; b=FJF2M0JW8gYZIpFi9hchIw7FhZSlW6xvD2JKAcAUSjX7DtFDXEmwNV7vDzaPph3YrO +Y1VkUSDzeXokRbOUNqxVB6SR17KJGmGXa29nQMpsKVS6uUz5FyA94LjruDrFWAFKBxU PFfJrLT9Zn1y/c0vlNEm86nCrTShxTlIMcVbnovo3fWYeB8O8q8vL8wEjI0qvPnxlKt5 yNx8D1y56qbqrpr2TTBOiP7U95uIyx03UYtG+TISFWmS/x1x4rqk6P66wDRu/Nf2wBeP vFxpbJXATKttgEAhdy3J5zl+cXp9Oq4gG1yZSPlfVWBRmLFsQ9W/tCG2bkA4jXhUYDqG yUAQ== X-Gm-Message-State: AOJu0YyvHS+diBl6xbYnJC5p5Mb2gsjsvPM5MExcmYJ1LkPykey9JYXr MFcEcOLO+lK2JzZj1e+FW05ksA== X-Received: by 2002:a05:6a00:12:b0:6c0:52b9:d448 with SMTP id h18-20020a056a00001200b006c052b9d448mr905573pfk.9.1698265465988; Wed, 25 Oct 2023 13:24:25 -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.20 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 25 Oct 2023 13:24:25 -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 03/21] ACPI: Kconfig: Introduce new option to support deferred GSI probe Date: Thu, 26 Oct 2023 01:53:26 +0530 Message-Id: <20231025202344.581132-4-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 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=2.7 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, RCVD_IN_SBL_CSS,SPF_HELO_NONE,SPF_PASS autolearn=no autolearn_force=no version=3.4.6 X-Spam-Level: ** X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on agentk.vger.email Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (agentk.vger.email [0.0.0.0]); Wed, 25 Oct 2023 13:24:48 -0700 (PDT) On some architectures like RISC-V, the interrupt controllers for Global System Interrupts (GSI) are not probed early during boot. So, the device drivers which need to register their GSI, need to be deferred until the actual interrupt controller driver is probed. To reduce the impact of such change, add a new CONFIG option which can be set only by the architecture which needs deferred GSI probing. Signed-off-by: Sunil V L --- drivers/acpi/Kconfig | 3 +++ 1 file changed, 3 insertions(+) diff --git a/drivers/acpi/Kconfig b/drivers/acpi/Kconfig index cee82b473dc5..4399e793f1d2 100644 --- a/drivers/acpi/Kconfig +++ b/drivers/acpi/Kconfig @@ -51,6 +51,9 @@ config ARCH_MIGHT_HAVE_ACPI_PDC config ACPI_GENERIC_GSI bool +config ARCH_ACPI_DEFERRED_GSI + bool + config ACPI_SYSTEM_POWER_STATES_SUPPORT bool -- 2.39.2