Received: by 2002:a05:6602:2086:0:0:0:0 with SMTP id a6csp4651864ioa; Wed, 27 Apr 2022 08:16:13 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwJaLaM2We+t1i3m0o13xhY41czrc8UzbTAqFOwdWY6N1WNmNWl/gR4QhJC+g8Df5ZvcTlO X-Received: by 2002:a63:a01:0:b0:39d:ac8f:d24f with SMTP id 1-20020a630a01000000b0039dac8fd24fmr24300987pgk.610.1651072573022; Wed, 27 Apr 2022 08:16:13 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1651072573; cv=none; d=google.com; s=arc-20160816; b=bg8pxr7u/tngdddSSaf/cwrO8kR0GNvUZ6NAKCUFGxyFy8bBAU4koV90BbKX38zs2+ VRQdL0yvgF2ghHSJfXs/W/Vv4hnDIxtEhxCgbp7KgZREjf32D9DKrG3H/KCDvbWLItKi msCMd0Tipgl6vCOKe4V6T52132nciX+lkIYjbp/HTk6kBfS9obWZ5m8wlY7Z78PNz95B uEJg2L5vYfSVN0WS3CGEs1np+B3/vem2oIJP2gXNegV18hhzD1Cmta65u4+hwbi3Umui kkinc6RehMxcwJzjVhCuEvF+Mil8IY7NDAaYhoz4N2gCD5dezvEOXiFfvwrVM/cv+PxJ iDcA== 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=gsxpG4RiXnCTCF6V9lo/7D//jaoYpWLGlyTjAD+8/qk=; b=iAVIJKPLj68Qz4dWnEy0FsRFtKJwv6HP2KfhMtleeN81gam8PeYTmFwCdUEzosiBNf 3OUZ5ij0Uqi/eP9LbkiCIroTut7FPVvtaq0frKtuwYGcAtzWScJSFLEi6NwZieUeC4T3 fqUcbZxvhhPemkXi+4wYlTOJORlq5vvG6caysf3BoYFLVtgUD1uT49KcRf2tLGxstz15 zSpItIvsajO4tDUQvm/pTMq8pNJVcuSPodOY6uXqPWYmOct/rd7aYD63ll3j3qKWr0sL /G0cSWD9JEX3ShrMg0LZ+bmc/053BeU0gSdSbY0H9MWKaON0+fuQhwONNMMDD1TLovi4 bAaA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@marvell.com header.s=pfpt0220 header.b=koGcsTh8; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=REJECT dis=NONE) header.from=marvell.com Return-Path: Received: from lindbergh.monkeyblade.net (lindbergh.monkeyblade.net. [2620:137:e000::1:18]) by mx.google.com with ESMTPS id ca17-20020a17090af31100b001d297b4e1a9si1858904pjb.166.2022.04.27.08.16.12 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 27 Apr 2022 08:16:13 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:18 as permitted sender) client-ip=2620:137:e000::1:18; Authentication-Results: mx.google.com; dkim=pass header.i=@marvell.com header.s=pfpt0220 header.b=koGcsTh8; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=REJECT dis=NONE) header.from=marvell.com Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id 095353BBFD; Wed, 27 Apr 2022 07:47:42 -0700 (PDT) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S238649AbiD0Our (ORCPT + 99 others); Wed, 27 Apr 2022 10:50:47 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:47352 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S238536AbiD0Oup (ORCPT ); Wed, 27 Apr 2022 10:50:45 -0400 Received: from mx0b-0016f401.pphosted.com (mx0a-0016f401.pphosted.com [67.231.148.174]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 3A8C63BA59; Wed, 27 Apr 2022 07:47:34 -0700 (PDT) Received: from pps.filterd (m0045849.ppops.net [127.0.0.1]) by mx0a-0016f401.pphosted.com (8.16.1.2/8.16.1.2) with ESMTP id 23R8jpda029645; Wed, 27 Apr 2022 07:47:31 -0700 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=marvell.com; h=from : to : cc : subject : date : message-id : in-reply-to : references : mime-version : content-transfer-encoding : content-type; s=pfpt0220; bh=gsxpG4RiXnCTCF6V9lo/7D//jaoYpWLGlyTjAD+8/qk=; b=koGcsTh8SpOBk2r6NfOSKOAo4RsmzmAnH5jn03a2QcYMlA9fxXDUpspTfDNk8qjBIS1T MnUSAw/JBmQWKSt9j/0gBs09AIQxjWb96zVW+YqZczWukuwwLY7EmJA8J4uvHBrlbKU1 yiYozr/5xmBdZP2JIrSTF1oxhDNcv3omS+fTrBctxjZpn0GoaH0Bt8gS5ECuBxeIalwm UUkvtKWoBi3gpI0AZYaYTJTvodESnxQcwDJ+sselMYF24CPxQALfX+96SSGP2MNikLJj yuxML5Wep0pyJ5Ls4TpBxbUBWJbJBteqUYorrdM8rmKFx3yCg3cqCS3WNL2Ny4fqSZG2 XQ== Received: from dc5-exch01.marvell.com ([199.233.59.181]) by mx0a-0016f401.pphosted.com (PPS) with ESMTPS id 3fprsqu7ca-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-SHA384 bits=256 verify=NOT); Wed, 27 Apr 2022 07:47:31 -0700 Received: from DC5-EXCH02.marvell.com (10.69.176.39) by DC5-EXCH01.marvell.com (10.69.176.38) with Microsoft SMTP Server (TLS) id 15.0.1497.2; Wed, 27 Apr 2022 07:47:30 -0700 Received: from maili.marvell.com (10.69.176.80) by DC5-EXCH02.marvell.com (10.69.176.39) with Microsoft SMTP Server id 15.0.1497.18 via Frontend Transport; Wed, 27 Apr 2022 07:47:30 -0700 Received: from localhost.localdomain (unknown [10.110.150.250]) by maili.marvell.com (Postfix) with ESMTP id ADFAF3F7063; Wed, 27 Apr 2022 07:47:29 -0700 (PDT) From: Piyush Malgujar To: , , CC: , , , , , , , Piyush Malgujar Subject: [PATCH 5/5] gpio: thunderx: change handler for level interrupt Date: Wed, 27 Apr 2022 07:46:20 -0700 Message-ID: <20220427144620.9105-6-pmalgujar@marvell.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20220427144620.9105-1-pmalgujar@marvell.com> References: <20220427144620.9105-1-pmalgujar@marvell.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Type: text/plain X-Proofpoint-ORIG-GUID: 0uaggkiGNeQvQqwE58ua4JEIRGRBqzNm X-Proofpoint-GUID: 0uaggkiGNeQvQqwE58ua4JEIRGRBqzNm X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.205,Aquarius:18.0.858,Hydra:6.0.486,FMLib:17.11.64.514 definitions=2022-04-27_04,2022-04-27_01,2022-02-23_01 X-Spam-Status: No, score=-2.0 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,RDNS_NONE,SPF_HELO_NONE autolearn=no 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 The current level interrupt handler is masking the GPIO interrupt and not unmasking it, to resolve that, handle_level_irq is used. Signed-off-by: Witold Sadowski Signed-off-by: Piyush Malgujar --- drivers/gpio/gpio-thunderx.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/gpio/gpio-thunderx.c b/drivers/gpio/gpio-thunderx.c index 87ab1ad7e652347a67b7747ea497b944498a8b41..b1063e53ceb8edf26ca1a6ecab8035aad62128a1 100644 --- a/drivers/gpio/gpio-thunderx.c +++ b/drivers/gpio/gpio-thunderx.c @@ -343,7 +343,7 @@ static int thunderx_gpio_irq_set_type(struct irq_data *d, irq_set_handler_locked(d, handle_fasteoi_ack_irq); bit_cfg |= GPIO_BIT_CFG_INT_TYPE; } else { - irq_set_handler_locked(d, handle_fasteoi_mask_irq); + irq_set_handler_locked(d, handle_level_irq); } raw_spin_lock_irqsave(&txgpio->lock, flags); -- 2.17.1