Message ID | 20230415023542.77601-17-dlemoal@kernel.org |
---|---|
State | New |
Headers | show
Return-Path: <linux-pci-owner@vger.kernel.org> X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@legolas.ozlabs.org Authentication-Results: legolas.ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=vger.kernel.org (client-ip=2620:137:e000::1:20; helo=out1.vger.email; envelope-from=linux-pci-owner@vger.kernel.org; receiver=<UNKNOWN>) Authentication-Results: legolas.ozlabs.org; dkim=pass (2048-bit key; unprotected) header.d=kernel.org header.i=@kernel.org header.a=rsa-sha256 header.s=k20201202 header.b=p2fbr+l5; dkim-atps=neutral Received: from out1.vger.email (out1.vger.email [IPv6:2620:137:e000::1:20]) by legolas.ozlabs.org (Postfix) with ESMTP id 4PyyB24q0kz1yXv for <incoming@patchwork.ozlabs.org>; Sat, 15 Apr 2023 12:36:26 +1000 (AEST) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230251AbjDOCgY (ORCPT <rfc822;incoming@patchwork.ozlabs.org>); Fri, 14 Apr 2023 22:36:24 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:56066 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230231AbjDOCgU (ORCPT <rfc822;linux-pci@vger.kernel.org>); Fri, 14 Apr 2023 22:36:20 -0400 Received: from dfw.source.kernel.org (dfw.source.kernel.org [139.178.84.217]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 5863765B7 for <linux-pci@vger.kernel.org>; Fri, 14 Apr 2023 19:36:14 -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 dfw.source.kernel.org (Postfix) with ESMTPS id 2FFE3640A5 for <linux-pci@vger.kernel.org>; Sat, 15 Apr 2023 02:36:14 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 34FAAC433A0; Sat, 15 Apr 2023 02:36:12 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1681526173; bh=Ux2mNoqjhFXFx6wF6g7wcbT2X5pIm7bpvZRZPLuKCBc=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=p2fbr+l5DWI9lxnbOZ6hJMi3sqo2w9yX9ycsRALciYL2A+rFqH5WCb+bfnEJt18Vz S5yuEozwbwKCflYrDYoONvtHQGwUZCYe0zhUKWL/Gn0iWHbmTATDkM4hwnV6DBzI37 G9+seRlt5/gnbNRjMMduY5VL3ch1CNtXjEhL/02DcWA2+0QvrOAG8Av+LKggWk0SvX fE/MpYIozolWIAoasGwihz6viFj2DNqi7K4Z3uJb6bjSpaWqyetqGv44kMNb+nnZto 6AmznPz6ioilgbv6MEaIWo3FWnVYesarHNJ8djCLjkUJZIHoJQrJyGpkfAQ8YBKyEe 6b8/SlvEzcudg== From: Damien Le Moal <dlemoal@kernel.org> To: Bjorn Helgaas <bhelgaas@google.com>, linux-pci@vger.kernel.org Cc: Rick Wertenbroek <rick.wertenbroek@gmail.com>, Lorenzo Pieralisi <lpieralisi@kernel.org>, =?utf-8?q?Krzysztof_Wilczy=C5=84?= =?utf-8?q?ski?= <kw@linux.com>, Manivannan Sadhasivam <mani@kernel.org>, Kishon Vijay Abraham I <kishon@kernel.org>, Arnd Bergmann <arnd@arndb.de>, Greg Kroah-Hartman <gregkh@linuxfoundation.org> Subject: [PATCH v5 16/17] misc: pci_endpoint_test: Do not write status in IRQ handler Date: Sat, 15 Apr 2023 11:35:41 +0900 Message-Id: <20230415023542.77601-17-dlemoal@kernel.org> X-Mailer: git-send-email 2.39.2 In-Reply-To: <20230415023542.77601-1-dlemoal@kernel.org> References: <20230415023542.77601-1-dlemoal@kernel.org> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-7.1 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_HI, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE 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: <linux-pci.vger.kernel.org> X-Mailing-List: linux-pci@vger.kernel.org |
Series |
PCI endpoint fixes and improvements
|
expand
|
diff --git a/drivers/misc/pci_endpoint_test.c b/drivers/misc/pci_endpoint_test.c index 24efe3b88a1f..afd2577261f8 100644 --- a/drivers/misc/pci_endpoint_test.c +++ b/drivers/misc/pci_endpoint_test.c @@ -159,10 +159,7 @@ static irqreturn_t pci_endpoint_test_irqhandler(int irq, void *dev_id) if (reg & STATUS_IRQ_RAISED) { test->last_irq = irq; complete(&test->irq_raised); - reg &= ~STATUS_IRQ_RAISED; } - pci_endpoint_test_writel(test, PCI_ENDPOINT_TEST_STATUS, - reg); return IRQ_HANDLED; }