Received: by 2002:ab2:6816:0:b0:1f9:5764:f03e with SMTP id t22csp2504417lqo; Mon, 20 May 2024 07:54:56 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCW+fnDKHSNNJQyj3XpnJzZwpUqevMpcq4wj/hCXE6AHdMsoT+OFC0EfmO/gqTqnRDY5olGK/rbVpJkrM5GVmRg69VUNZDVMPiWJsU0nqQ== X-Google-Smtp-Source: AGHT+IEhRXMXGUq30BduHff/J8idm99vUqEFspdtbw2XvlsfSBSrsGKBqbjzzJ67/oUin1TpNBHj X-Received: by 2002:a0c:ec8e:0:b0:6a3:294b:b690 with SMTP id 6a1803df08f44-6a3294bb6dbmr263891256d6.37.1716216895879; Mon, 20 May 2024 07:54:55 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1716216895; cv=pass; d=google.com; s=arc-20160816; b=ZwgkGUcNF5HSF+QWOrd+1n9POhQvJah5wDJOdLwYeiR1hl+eFeGW7h69cUkDHPKcV0 xPvT0zqoonH8Qmd4CPJB+U6VObLqyfbkVsYyfvyhDZye0bOLfiSq74ZN3WRKALhIw8Cv mQvsGi5C4AlfPmFzcqVont6AskHBPxzhwdhivwIvF/TOeeVIsWp9H8EUBU3Uhb3WbDxN X+NDxboMgl8E/WzFQ+xiB81IYFAMtbz6vTqKX+KoUSE9bFW31XEO63IDxFFCywWhPK8B KHo7jb5vNkVdCRmryMlFITATuTK3nrJaUpDyTrHExdmIn+q4OZajlBldg2AiK0Hz8kje BU5g== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:in-reply-to:message-id :date:subject:cc:to:from:dkim-signature; bh=h+uuIXz4xj0FsFVOIz/Umf+nSIXJTEGtc5WA6Ask/xo=; fh=PrNml9blRRL1fcGRyH/rzAV0JJEGMb8alRHEE/fx5Zw=; b=ymL6Bayvqg8gjzNbWHcTURE3qBJq8ezt+MtNW6WAO4SVZDbbn4vu8tRe/TojBFZ+te rG/yDY8avnp1MBsCbDxcDxmMqwMNH+/gmnrNXqzLgqI4gQO9p6k86Rc4sLZIgNMP6htI 4yBWet8vjWg6lJ2cHbpY4uidxfIh2QwZCbiSHqKZyp4SQ4MeaWmeB/ikH78oVigSWHDn Jou2kvWvbVNwP927QvZuWozsmxVYV0mJkjyg9oloJ8/gTgXq/pYTYCz64LgBWySuD7rx pqZzWjP5jiCWtVyx1LhI0S9Pf26VXIBY5UGDB8nNa51S9xEhjwcgg8sNERiRMbpq0MOv HG+Q==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@linux.dev header.s=key1 header.b=pGI8Zd6V; arc=pass (i=1 spf=pass spfdomain=linux.dev dkim=pass dkdomain=linux.dev dmarc=pass fromdomain=linux.dev); spf=pass (google.com: domain of linux-kernel+bounces-183862-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-183862-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linux.dev Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [147.75.199.223]) by mx.google.com with ESMTPS id 6a1803df08f44-6a15f29d67asi33151616d6.210.2024.05.20.07.54.55 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 20 May 2024 07:54:55 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-183862-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) client-ip=147.75.199.223; Authentication-Results: mx.google.com; dkim=pass header.i=@linux.dev header.s=key1 header.b=pGI8Zd6V; arc=pass (i=1 spf=pass spfdomain=linux.dev dkim=pass dkdomain=linux.dev dmarc=pass fromdomain=linux.dev); spf=pass (google.com: domain of linux-kernel+bounces-183862-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-183862-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linux.dev Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ny.mirrors.kernel.org (Postfix) with ESMTPS id 88C691C21BAC for ; Mon, 20 May 2024 14:54:55 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 9F1F2137757; Mon, 20 May 2024 14:54:22 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linux.dev header.i=@linux.dev header.b="pGI8Zd6V" Received: from out-177.mta0.migadu.com (out-177.mta0.migadu.com [91.218.175.177]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 55050136E26 for ; Mon, 20 May 2024 14:54:20 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=91.218.175.177 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1716216861; cv=none; b=W/FRQNZnw3eYwzstBBuaGS7MPgR/rdz10X6RY+5oRnqE1B12OccRA9SsdJEol1I+1tzXEo1D3/SrGcaq/IqfR+XlnuYhxD5G58UtxnqHDrBWO5sR+bPCQ2n4SZVf63y7oZ4/vjJzDSjL+hE9G8PpjQfBmg9dA4QK6m0k6yYO0AY= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1716216861; c=relaxed/simple; bh=R6C/JcAy4XUIj+2mid0YFJ1dW39G3VQ8kRlz1b3tSQ8=; h=From:To:Cc:Subject:Date:Message-Id:In-Reply-To:References: MIME-Version; b=bfFOBH9EWgZPVPhcgFTwar5sk75WgRDTTuCVCX3WnbQrRCW+FUFJImC/2oKV2RgbUnJ8LdOidOn2kBz9WRmdi/CY7nFaDdT8pOEexk4f5J1fbdcvnjdDbv1WL2y2VzwNhMHCxay6/2ZFE7t/unuQxh1MAUwdO7L5rKoXimatsXQ= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linux.dev; spf=pass smtp.mailfrom=linux.dev; dkim=pass (1024-bit key) header.d=linux.dev header.i=@linux.dev header.b=pGI8Zd6V; arc=none smtp.client-ip=91.218.175.177 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linux.dev Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=linux.dev X-Envelope-To: lpieralisi@kernel.org DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linux.dev; s=key1; t=1716216858; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=h+uuIXz4xj0FsFVOIz/Umf+nSIXJTEGtc5WA6Ask/xo=; b=pGI8Zd6VEt20VL6kw+23rXruM9Wjb9BVRm9ETW6EKayZz35VT6Rw0QRsuSSU+n9YOtmvBV GE2Pi1WTXnmd3YUCTOPLaSj1XY4402y/gaa6oNHo6w6X1Nkay57l0j0GmDDy+i2BriaCnW txIAT1AJC/a/sCQ8nmAqRLOrg4sl1mI= X-Envelope-To: kw@linux.com X-Envelope-To: robh@kernel.org X-Envelope-To: linux-pci@vger.kernel.org X-Envelope-To: michal.simek@amd.com X-Envelope-To: thippeswamy.havalige@amd.com X-Envelope-To: linux-arm-kernel@lists.infradead.org X-Envelope-To: bhelgaas@google.com X-Envelope-To: linux-kernel@vger.kernel.org X-Envelope-To: sean.anderson@linux.dev X-Report-Abuse: Please report any abuse attempt to abuse@migadu.com and include these headers. From: Sean Anderson To: Lorenzo Pieralisi , =?UTF-8?q?Krzysztof=20Wilczy=C5=84ski?= , Rob Herring , linux-pci@vger.kernel.org Cc: Michal Simek , Thippeswamy Havalige , linux-arm-kernel@lists.infradead.org, Bjorn Helgaas , linux-kernel@vger.kernel.org, Sean Anderson Subject: [PATCH v3 3/7] PCI: xilinx-nwl: Fix register misspelling Date: Mon, 20 May 2024 10:53:58 -0400 Message-Id: <20240520145402.2526481-4-sean.anderson@linux.dev> In-Reply-To: <20240520145402.2526481-1-sean.anderson@linux.dev> References: <20240520145402.2526481-1-sean.anderson@linux.dev> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Migadu-Flow: FLOW_OUT MSIC -> MISC Fixes: c2a7ff18edcd ("PCI: xilinx-nwl: Expand error logging") Signed-off-by: Sean Anderson --- (no changes since v1) drivers/pci/controller/pcie-xilinx-nwl.c | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/drivers/pci/controller/pcie-xilinx-nwl.c b/drivers/pci/controller/pcie-xilinx-nwl.c index 437927e3bcca..ce881baac6d8 100644 --- a/drivers/pci/controller/pcie-xilinx-nwl.c +++ b/drivers/pci/controller/pcie-xilinx-nwl.c @@ -80,8 +80,8 @@ #define MSGF_MISC_SR_NON_FATAL_DEV BIT(22) #define MSGF_MISC_SR_FATAL_DEV BIT(23) #define MSGF_MISC_SR_LINK_DOWN BIT(24) -#define MSGF_MSIC_SR_LINK_AUTO_BWIDTH BIT(25) -#define MSGF_MSIC_SR_LINK_BWIDTH BIT(26) +#define MSGF_MISC_SR_LINK_AUTO_BWIDTH BIT(25) +#define MSGF_MISC_SR_LINK_BWIDTH BIT(26) #define MSGF_MISC_SR_MASKALL (MSGF_MISC_SR_RXMSG_AVAIL | \ MSGF_MISC_SR_RXMSG_OVER | \ @@ -96,8 +96,8 @@ MSGF_MISC_SR_NON_FATAL_DEV | \ MSGF_MISC_SR_FATAL_DEV | \ MSGF_MISC_SR_LINK_DOWN | \ - MSGF_MSIC_SR_LINK_AUTO_BWIDTH | \ - MSGF_MSIC_SR_LINK_BWIDTH) + MSGF_MISC_SR_LINK_AUTO_BWIDTH | \ + MSGF_MISC_SR_LINK_BWIDTH) /* Legacy interrupt status mask bits */ #define MSGF_LEG_SR_INTA BIT(0) @@ -299,10 +299,10 @@ static irqreturn_t nwl_pcie_misc_handler(int irq, void *data) if (misc_stat & MSGF_MISC_SR_FATAL_DEV) dev_err(dev, "Fatal Error Detected\n"); - if (misc_stat & MSGF_MSIC_SR_LINK_AUTO_BWIDTH) + if (misc_stat & MSGF_MISC_SR_LINK_AUTO_BWIDTH) dev_info(dev, "Link Autonomous Bandwidth Management Status bit set\n"); - if (misc_stat & MSGF_MSIC_SR_LINK_BWIDTH) + if (misc_stat & MSGF_MISC_SR_LINK_BWIDTH) dev_info(dev, "Link Bandwidth Management Status bit set\n"); /* Clear misc interrupt status */ -- 2.35.1.1320.gc452695387.dirty