From patchwork Mon Aug 30 02:22:36 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Kunihiko Hayashi X-Patchwork-Id: 1522033 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=vger.kernel.org (client-ip=23.128.96.18; helo=vger.kernel.org; envelope-from=linux-pci-owner@vger.kernel.org; receiver=) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by ozlabs.org (Postfix) with ESMTP id 4GyYy83XQfz9sWS for ; Mon, 30 Aug 2021 12:22:56 +1000 (AEST) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S235118AbhH3CXr (ORCPT ); Sun, 29 Aug 2021 22:23:47 -0400 Received: from mx.socionext.com ([202.248.49.38]:30603 "EHLO mx.socionext.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232653AbhH3CXr (ORCPT ); Sun, 29 Aug 2021 22:23:47 -0400 Received: from unknown (HELO kinkan2-ex.css.socionext.com) ([172.31.9.52]) by mx.socionext.com with ESMTP; 30 Aug 2021 11:22:53 +0900 Received: from mail.mfilter.local (m-filter-1 [10.213.24.61]) by kinkan2-ex.css.socionext.com (Postfix) with ESMTP id 797E22059036; Mon, 30 Aug 2021 11:22:53 +0900 (JST) Received: from 172.31.9.51 (172.31.9.51) by m-FILTER with ESMTP; Mon, 30 Aug 2021 11:22:53 +0900 Received: from plum.e01.socionext.com (unknown [10.212.243.119]) by kinkan2.css.socionext.com (Postfix) with ESMTP id 7B6E9C1E08; Mon, 30 Aug 2021 11:22:52 +0900 (JST) From: Kunihiko Hayashi To: Lorenzo Pieralisi , Rob Herring , =?utf-8?q?Krzysztof_Wilczy=C5=84ski?= , Bjorn Helgaas , =?utf-8?q?Pali_Roh=C3=A1r?= , Marc Zyngier Cc: Masami Hiramatsu , linux-pci@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, Kunihiko Hayashi Subject: [PATCH v2 0/2] PCI: uniphier: Fix INTx masking/unmasking Date: Mon, 30 Aug 2021 11:22:36 +0900 Message-Id: <1630290158-31264-1-git-send-email-hayashi.kunihiko@socionext.com> X-Mailer: git-send-email 2.7.4 MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: linux-pci@vger.kernel.org This series includes some fixes to INTx masking/unmasking for UniPhier PCIe host controller driver. - Remove unnecessary bit clears to INTX mask field - Remove unnecessary irq_ack() function because write access to status field doesn't work - Add lock into callback functions to avoid race condition Kunihiko Hayashi (2): PCI: uniphier: Fix INTx mask/unmask bit operation and remove ack function PCI: uniphier: Serialize INTx masking/unmasking drivers/pci/controller/dwc/pcie-uniphier.c | 26 ++++++++++---------------- 1 file changed, 10 insertions(+), 16 deletions(-) Acked-by: Marc Zyngier