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: 158277 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:d641:0:b0:403:3b70:6f57 with SMTP id cy1csp217788vqb; Wed, 25 Oct 2023 13:25:15 -0700 (PDT) X-Google-Smtp-Source: AGHT+IHqOVr1mZlnWUMaoZ7cX1Woif5zcJxtVBnrIj7neWux5Bv2h+BgaPHNYFBaYBiSZXrPdMtk X-Received: by 2002:a81:4c82:0:b0:5a7:fcad:e865 with SMTP id z124-20020a814c82000000b005a7fcade865mr1308989ywa.2.1698265515279; Wed, 25 Oct 2023 13:25:15 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1698265515; cv=none; d=google.com; s=arc-20160816; b=ijgs0ondcTRs9Byx52FY4u329phZ5Q1pz7UgwW8s9rOojaC1bG9SJC3DIz+jyrlZuz 9pLDIUhIpbaNxqDZ9JANqfSqwQDZh0xL43XCOD6PUJ3xS9Pbxb0z7S/f277LYY5F2Cdi aUAC8O9NaDqDFqW2HnSziOiw0sGwv5vBUmL63su7qiIR5jzhEguX2OE86nYeQBHF2S5q y7MJ7UktySrQpei+NK7GgsjrfO/JBdCg8H7KeEdkKqtDMQSGW1Wk4fCEkKumX1flBhKi apP3BSxfWRehTRVfau7CBUJSPXTe1sVt5tUaO7TpbPY8YIH14lK/OjLrpOPKCSn4OhLF mF6g== 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=GmA5kOKekb5h3Uw1k+e0LhCWijGnTH8utnJ5szxpch8=; fh=/fEAwM0ftwV2z3MN/iSYq1lv8IFPZ2fY8Kg8RoFcxjU=; b=bsGP4Y24rVmAB3L4yvYisvQwTdirnVRNqPvdMgEbOUAtl75y+jVbjRoWaZOwiNkMiQ ASnz198MofYr9bhQEvbWPLLh2mXU2AmfrjyLFK1PtUdaqIhAQTay/yZiyqZ4ln9RXiZc lYq5oyLKZvejQ2+QK0zpXnCeAVSWUxSehaGSr8y430PO2rgsu1ed5Lw0tY+5qgVKWoJu ecmz0icr2ViJSh3fSnEx1yBuDpz+3GBNC6AvGiD9mxheukI7U5Ph8LQyUODhXEzjMyqs bDiL7OrXjy8T2oBaWIgwwUTt/QnbiYuzXfeJ6Cdyk6l4HpOlGS3bFrPnzO3ergiaTJ+k o0OA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@ventanamicro.com header.s=google header.b="auVS/K/J"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:5 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: from groat.vger.email (groat.vger.email. [2620:137:e000::3:5]) by mx.google.com with ESMTPS id l15-20020a0de20f000000b005a1ed82af9asi12873186ywe.47.2023.10.25.13.25.13 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 25 Oct 2023 13:25:15 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:5 as permitted sender) client-ip=2620:137:e000::3:5; Authentication-Results: mx.google.com; dkim=pass header.i=@ventanamicro.com header.s=google header.b="auVS/K/J"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:5 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 groat.vger.email (Postfix) with ESMTP id 35B82807C5C3; Wed, 25 Oct 2023 13:25:11 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at groat.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234962AbjJYUZA (ORCPT + 25 others); Wed, 25 Oct 2023 16:25:00 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:37262 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234693AbjJYUYs (ORCPT ); Wed, 25 Oct 2023 16:24:48 -0400 Received: from mail-pg1-x529.google.com (mail-pg1-x529.google.com [IPv6:2607:f8b0:4864:20::529]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id D6834D4A for ; Wed, 25 Oct 2023 13:24:43 -0700 (PDT) Received: by mail-pg1-x529.google.com with SMTP id 41be03b00d2f7-577fff1cae6so96832a12.1 for ; Wed, 25 Oct 2023 13:24:43 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ventanamicro.com; s=google; t=1698265483; x=1698870283; 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=GmA5kOKekb5h3Uw1k+e0LhCWijGnTH8utnJ5szxpch8=; b=auVS/K/Jk7vgky4MjvSPyw3256thHNswIFM0+CHRJfw8cZMbSsKDL7aCq9OiRUFHIn vhqWb1Ba0aPYiVgfisYHsfrxFFdjBfLbOs15MAzbLhPHxuRqT5s81JCMSPHp7u4BnRry 2ZPfCe8yqF4CGCh/KyUFfF2HFzYkNOEEm7i8nBl2N857thL2U0IW97wJcK88BIZUrGVV OYTNiUslB8+H3xiH1zs8mwP083VVwgO4yBf3eLBh2Fzc2+Waue+65NOTaD2v8RT8lmcd FXE3K1JffCz/cOrAvDcRniAps0d0N0MF3sseo29l7YXpoM1uetpW//TUo52Ge7kHw90C KoUw== 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=cwsUJ8u2ud2so69Osh17GWsyDu6kpqlDiwv1/v8oJBweNBamMKFdO/BetxhXEzMtxs i3l2LJXseL8f6lE555Jr/mhkXGJCWr+2pIOi8qUe9swqEExov8DAvYUZTs7h9MbNPTY4 llN/ODRwkkLrAfJ1bT7LeWeHyYlX2QijlfFQyXgT2DkvSs2qrXtJiIgMhlVqgCNk5HXZ q3rsEVQifVeesoekcOne0DMKwQLwqeHPHorJdo4x+IdL7/T1Ds3r9v9b+qY8JL6jn7Ej Fi4ppm9DFrzQxTPRt+RbPAld0t59MnKGCMhdYLmBSnsTVVEZRm1DDdi8y6+1rbHmsJfT u4vA== X-Gm-Message-State: AOJu0Yxa2D5CnPV1isv2BzvZUccVQnAYBO3jioWd46Bixg1PYZhuGgnn tDZ+EIt6INmUrO/AfInKteaHFQ== 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-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 groat.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 (groat.vger.email [0.0.0.0]); Wed, 25 Oct 2023 13:25:11 -0700 (PDT) X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1780760460739987256 X-GMAIL-MSGID: 1780760460739987256 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