Received: by 2002:ab2:6203:0:b0:1f5:f2ab:c469 with SMTP id o3csp2515718lqt; Mon, 22 Apr 2024 13:00:15 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCUyIZBtzZEttZD4CvqjZuG6y5phAj098uwEgEKoWSnm60YHIZoCx8yvubICpn/0q+WbW9fjBu7FBizec9QiVNMsMqDtEcBpGJKZXVGV1g== X-Google-Smtp-Source: AGHT+IEOFU4zocUedtmHnub0NK9AkgDkhi0msNv0ym23mfcElyRvSirsl3mSjShaUjATdDdAq5UE X-Received: by 2002:a2e:8185:0:b0:2d8:687d:b22 with SMTP id e5-20020a2e8185000000b002d8687d0b22mr9312985ljg.20.1713816015517; Mon, 22 Apr 2024 13:00:15 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1713816015; cv=pass; d=google.com; s=arc-20160816; b=0GIQ6cCde5SAgypOuKt30hRtP8r5+IO22ZBz6QgyMzGd7lPmBW1cVg10betzHlJHc9 oGobtn+z1zrCnFP9iVopX2b3yF0/qTS7c3+kl6B9PzqWAIMJR25tjIlwPtarCALeRGfh UkXUiwSXWEHMiiT4nQx54WLA8yNCs/fkJYphnaERqUhl+Cef2YlTNWrjhlcJoxO3Q+hO VC0gTwHSo56PTPlX8EHqn0/9URYDzEm426G/zYFgbPi82X9R5p8Ip3nnQ3m1RnqOEN3A uSmGjJz+m8YaQyl+3hNw/iLkj5Zg+O8gWeDk5PBcVZGZC2edeA5UTsOw4sA4PDKyWrbk HawQ== 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=6V8c5ReH46b752BhVsgZv6GdakMtV/HYqhzSbUAbpX4=; fh=7DncAfBWi8QNyB2hJxfXbRinZf9eL5UZzQFv5RS7kSU=; b=JtsaiO4goGeIlj9jtIA72xuSeENChVFzq+tynyf5cISfyQPorObRl237IffWQ60bes kVni1h0Dky7N+D4FN7ZETD9udZJ4B6LD1FZpBXTujkwbJb/PlEirjpDz717MBIua01Or 47GaLwTEGmZbemP6jwxFM+dktLzQXZHIFpJJQxz95Mydx3hlPj49Df6WxVFZkiQDYzub KevMOsjfGnCbsw+nOnMa2SZLkOkX6EXnPBVcuYnyq+4xsjONjuTviS1fqSWnFcoJrEFY 1HBH1KSZzgvK7NjEHzTvL4HXUsof+Og+g0uKcsclmU7Elx5EFOrwtNJX+bAwWFUWgwP7 NNCw==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@linux.dev header.s=key1 header.b="FQmKB/c+"; 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-153966-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-153966-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linux.dev Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [2604:1380:4601:e00::3]) by mx.google.com with ESMTPS id jg4-20020a170907970400b00a55adfa8ce1si2523010ejc.515.2024.04.22.13.00.15 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 22 Apr 2024 13:00:15 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-153966-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) client-ip=2604:1380:4601:e00::3; Authentication-Results: mx.google.com; dkim=pass header.i=@linux.dev header.s=key1 header.b="FQmKB/c+"; 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-153966-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-153966-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 am.mirrors.kernel.org (Postfix) with ESMTPS id 3E1651F221AD for ; Mon, 22 Apr 2024 20:00:15 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 7A98C156869; Mon, 22 Apr 2024 19:59:23 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linux.dev header.i=@linux.dev header.b="FQmKB/c+" Received: from out-177.mta1.migadu.com (out-177.mta1.migadu.com [95.215.58.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 2F951155A5F for ; Mon, 22 Apr 2024 19:59:20 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=95.215.58.177 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1713815962; cv=none; b=N2qZddGyEwnm/pYU0IwffiJFyPHXX8lCNTcDPd2kXtsfdTPev0qb5r9aM7tI/Bn2gwycd/jAWExnFoyKQmKFzvpEDTO7W/om/oeNumlliGZLiTHQNlJlQrUtp6nsTCPO0sA+FjvGLgBF+TKJe+Y5Z2G4nM3WYRAYFa3w38UxsOc= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1713815962; c=relaxed/simple; bh=r6b16mDDMFuq82AjOyykcb2xL4IHhLJ7biLZOvt9UPA=; h=From:To:Cc:Subject:Date:Message-Id:In-Reply-To:References: MIME-Version; b=Ka/s/yUMiApDBHLTWNmUfBfRYldiFlT9/3FHee7l20Jx35ieWwtrWdIuqlKZaRp0y+tAQouqdHxm+Ftn2oopMbfltW5xUmCi7qZry9jRN6ml2DsM+r1OEmIh2OCZ2AunfQpFCqUlzhRGzABbswU4XYupt1fOOYyhwr+1bxvHRz0= 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=FQmKB/c+; arc=none smtp.client-ip=95.215.58.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-Report-Abuse: Please report any abuse attempt to abuse@migadu.com and include these headers. DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linux.dev; s=key1; t=1713815958; 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=6V8c5ReH46b752BhVsgZv6GdakMtV/HYqhzSbUAbpX4=; b=FQmKB/c+07FCXxXyiJ7EWAiJP2b0n+jLSWJqexlq+NFaM12O6ZRBitjyNHCz05bm9NZ2Fz qJAqSWLvtRc0D+DM2mpyoIkYsgtw6OM935zn4fqFpclTxKzHCTTqee9Hoil0GZz0G+BhJ+ fVnils3bcjPytTJsPK8RTJ2ef96y+0g= From: Sean Anderson To: Lorenzo Pieralisi , =?UTF-8?q?Krzysztof=20Wilczy=C5=84ski?= , Rob Herring , linux-pci@vger.kernel.org Cc: linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, Thippeswamy Havalige , Michal Simek , Bjorn Helgaas , Sean Anderson Subject: [PATCH 3/7] PCI: xilinx-nwl: Fix register misspelling Date: Mon, 22 Apr 2024 15:59:00 -0400 Message-Id: <20240422195904.3591683-4-sean.anderson@linux.dev> In-Reply-To: <20240422195904.3591683-1-sean.anderson@linux.dev> References: <20240422195904.3591683-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 --- 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