Received: by 2002:a05:6358:1087:b0:cb:c9d3:cd90 with SMTP id j7csp466954rwi; Thu, 20 Oct 2022 00:43:08 -0700 (PDT) X-Google-Smtp-Source: AMsMyM5emUxW6mJBpK0s074R96FfpB7D9Qvl//3+acQIq+4diaStnU2EYWoVj3rTHriole2Ict4L X-Received: by 2002:a17:90b:4d07:b0:1ef:521c:f051 with SMTP id mw7-20020a17090b4d0700b001ef521cf051mr51244429pjb.164.1666251788457; Thu, 20 Oct 2022 00:43:08 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1666251788; cv=none; d=google.com; s=arc-20160816; b=tw95HRjBfk451kX8EeXcWefUtUTSB9e38VHAm4I5bwv+BvFwiREcRBPcT0tYDDqQE8 fTgw0YLd2DBZuJfgHPyyanlUNraYiPKtBW+5YAABEBK63oJKI8kcF89+5zWCXpIrzJR+ +0pBiCxsChBvzdFERUFB9oUOFRGMCP9L0x6OSTnR9ZdpBoqkLHcJMX0VkoCjtUTq3pdk /ozZ4u9lrZf4t2PpuDi29ad1hLQ8L99GB78ezIbHCRXwE3MOlA1MdY8h/lyzLehJVHfj kq9RV+tCUM8FEK521YjyAtBZ8qjGVywyKnXSFavQwSfg3x5Tmkmslw2eL8jTiVlPrxZj Kzxg== 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 :message-id:date:subject:cc:to:from; bh=mOhianXFZCKYql91DkSRmq2gSrJkARX4WGWuXntcIw0=; b=eDkDM2gKh7znemwfss/78uh46AKlMtT/N+OSuTUyMq9fBfAQtoDAHZ9hR4A+9d/24E fb9KHFtPvnsdaAmqvRKk/yk7QcIMVbDQmTS9LVY6PAtmF0545TWgPJMI9M+wv7l826XQ j/1Ogh+SnCgF/lZwtUYEIN/NxxrBDpQXpkNMI5uGRW86q+oM8HmOVvUSD/v0qHpBL4k6 +4PzTL3ipj28hHRLUkquqhDqaXLvUU53sBsbT62Ck0TJz5FET/IPbBS9aoR8+bvvCRA9 N4BU6aDXNjSHYKpfKR81S/+Aw0HfpbZ/bGstpYVv3KTO5N2+m95MmbnNQqI7v/FZTwJA /x2g== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id a28-20020a62d41c000000b0052edbdb0910si18534071pfh.128.2022.10.20.00.42.55; Thu, 20 Oct 2022 00:43:08 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230302AbiJTHhS (ORCPT + 99 others); Thu, 20 Oct 2022 03:37:18 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:46136 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229719AbiJTHhQ (ORCPT ); Thu, 20 Oct 2022 03:37:16 -0400 Received: from ams.source.kernel.org (ams.source.kernel.org [IPv6:2604:1380:4601:e00::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 16EE6167276 for ; Thu, 20 Oct 2022 00:37:13 -0700 (PDT) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ams.source.kernel.org (Postfix) with ESMTPS id 25B29B8265D for ; Thu, 20 Oct 2022 07:37:12 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id C2B74C433C1; Thu, 20 Oct 2022 07:37:08 +0000 (UTC) From: Huacai Chen To: Thomas Gleixner , Marc Zyngier Cc: loongarch@lists.linux.dev, linux-kernel@vger.kernel.org, Xuefeng Li , Huacai Chen , Jiaxun Yang , Huacai Chen Subject: [PATCH V2 0/4] irqchip/loongson: Add suspend/resume support for irqchip drivers Date: Thu, 20 Oct 2022 15:35:23 +0800 Message-Id: <20221020073527.541845-1-chenhuacai@loongson.cn> X-Mailer: git-send-email 2.31.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-6.7 required=5.0 tests=BAYES_00, HEADER_FROM_DIFFERENT_DOMAINS,RCVD_IN_DNSWL_HI,SPF_HELO_NONE,SPF_PASS autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org This series add suspend/resume support for Loongson-related irqchip drivers (i.e., HTVECINTC, EIOINTC, PCH-PIC and PCH_LPC), which is needed for LoongArch's upcoming suspend/hibernation support. Note: this series is applicable after "irqchip/loongson-htvec: Add ACPI init support". V1 -> V2: Holding irq_desc->lock while eiointc_set_irq_affinity(). Huacai Chen (4): irqchip/loongson-htvec: Add suspend/resume support. irqchip/loongson-eiointc: Add suspend/resume support. irqchip/loongson-pch-pic: Add suspend/resume support. irqchip/loongson-pch-lpc: Add suspend/resume support. Signed-off-by: Huacai Chen --- drivers/irqchip/irq-loongson-eiointc.c | 31 ++++++++++++++++++++++ drivers/irqchip/irq-loongson-htvec.c | 27 +++++++++++++++++++ drivers/irqchip/irq-loongson-pch-lpc.c | 25 ++++++++++++++++++ drivers/irqchip/irq-loongson-pch-pic.c | 47 ++++++++++++++++++++++++++++++++++ 4 files changed, 130 insertions(+) -- 2.27.0