Received: by 2002:a05:6a10:5bc5:0:0:0:0 with SMTP id os5csp1474055pxb; Sat, 16 Oct 2021 10:50:04 -0700 (PDT) X-Google-Smtp-Source: ABdhPJw3q+1OEZaD9JzZdl2Wu7ADktGHWp1WoyOAFlz8JquB6sivGgpDvwmukCsAhuxicVeZ88q+ X-Received: by 2002:a50:9d49:: with SMTP id j9mr28045431edk.39.1634406603856; Sat, 16 Oct 2021 10:50:03 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1634406603; cv=none; d=google.com; s=arc-20160816; b=wAjYl9BpvmMx8EIcHXaS+k73s9Ox2m+mv4GZxFNuh1aBgf12PKkgHzBeiy+1pcaJ83 hm5HPkd3tHtFLnvCr5cMkvIidHDvi/5a3Ksm0rzr9wK9RPztxBSFF4/MrFg/o03qtcfU 1vvSI5AXHzJf4st3UAjOyhvAbaZmxQ5K2jRrsVbbnSYrFzJ2ngiMe90jugUOTs8GUowa iQq6YzKXnzUvKY6g7Vl+iMCdcjyLzvsQvFUQG86sydBD5YsJpQ01Pjomp6gsjq65tubv L27rnigjmfmiu9JFqE7hXNomkOrelyYBSnliDGldq08UuFaSXIhaLnjx7qaW/Liu962P K7Og== 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=iKrtrnYSDksMWdgmUznUR/Q64gwdi8mvvQO4UVqOm9E=; b=TDTez7f/8wxHYXimfFiYlNLGhz/0vy5r5qT8E+qXvfBhCHljfgtvUAOy3Cik3+9rnh 05heUxxGSQunTKcFt74b+DroGrf+ZQgljKRPxit8aZI014j2qteey7cF+XMppexWPHdg NmmKXvrbDrNMieSJ10NUm14lHrn7kHjGbZrTT+I5HOXjEMjFCFPyflWaNKKjWNect4zK zekyiAdoP+jhpPqS8z+/2ReDcVqetwP+CIEPYMU9Syph466nIObrHCntIiVwaD6mWcT+ inR1p3lStH99k4TBeymlMDTvuqyyvBtRBIP0WGYJj/QuKn0GKwQ2XymRJ8RFy2vGh0Ml fHDQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b=Inc1Q7qK; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id h9si17471358ede.393.2021.10.16.10.49.24; Sat, 16 Oct 2021 10:50:03 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b=Inc1Q7qK; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S240816AbhJOOtd (ORCPT + 99 others); Fri, 15 Oct 2021 10:49:33 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:59400 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S240967AbhJOOsu (ORCPT ); Fri, 15 Oct 2021 10:48:50 -0400 Received: from mail-pl1-x62d.google.com (mail-pl1-x62d.google.com [IPv6:2607:f8b0:4864:20::62d]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 285FAC061762; Fri, 15 Oct 2021 07:46:44 -0700 (PDT) Received: by mail-pl1-x62d.google.com with SMTP id t11so6526734plq.11; Fri, 15 Oct 2021 07:46:44 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=iKrtrnYSDksMWdgmUznUR/Q64gwdi8mvvQO4UVqOm9E=; b=Inc1Q7qKweM0tGJP+CWhPMXm+v1Axi75stMnqo37FnW41/u8uhJxSram8OfhxWJmx7 ingaTUh91Stnkx0O8obZeD0ODKeAEBTvLoxyuFRrCsHd8M66Gg9ny36i7KlXtQxFB34I bu13sSJTRQ+p1DB2XGXPOl23hHG9V93RWK/KXQc8Q+KMejYlj1Nj0VaMOdSAfrGUZvhi iIujdDQUwH2Ev7bP2bKX4VAELQlWe/tMlrj6FSetMmjSJRxYctzqpkO9jeE8voBVMUx5 O+EjlmJhNBiUt0b7PGFLNmO6W5v4ZYluSBFJonLeVVk7BM3MtPWUX/bBkdQaGdPiqtKZ FnAw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=iKrtrnYSDksMWdgmUznUR/Q64gwdi8mvvQO4UVqOm9E=; b=A16bMRT8OeARl4TEYflkaun/Dgs9n+nZfC0FIUb/ZuB9m8Za5IerJbLSv6kpTa4dso m12Ml61rnhZ0Jc9WiTvetuMBmflmXdoSNy645nF41LdVfRn2B4xm6cTEh+K6o/UOzEBA 1Wm2DDeX/+F6WqEYD/ozHAYuzQJcFkVYUbvPrnx3Mpd9xaPT0PqwLicsPivjLBg3E+tX hXVyPDjA7ScAqePinl53iqqymc8a4zY/A+/wLjAPsu1hXVg6SeSfP2ukJzHJh9RPKlA8 0/XHyzKoDFVpDQVta0dx9kppKw/KpPaxzhvuJlCWsF+3b7aOYsHVtPq4EUhVM7IM73/j 9lGA== X-Gm-Message-State: AOAM5304oUnBC2Cmq7ZXxlPiK3NmEbRWwDNBu0906M1H0jo7ceA4RRHE JOM/mtKCL9LvA4GehhGREmI= X-Received: by 2002:a17:90a:c6:: with SMTP id v6mr28477261pjd.172.1634309203633; Fri, 15 Oct 2021 07:46:43 -0700 (PDT) Received: from localhost.localdomain ([2406:7400:63:4806:9a51:7f4b:9b5c:337a]) by smtp.gmail.com with ESMTPSA id f18sm5293491pfa.60.2021.10.15.07.46.39 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 15 Oct 2021 07:46:43 -0700 (PDT) From: Naveen Naidu To: bhelgaas@google.com Cc: Naveen Naidu , linux-kernel-mentees@lists.linuxfoundation.org, linux-pci@vger.kernel.org, linux-kernel@vger.kernel.org, Lorenzo Pieralisi , Rob Herring , =?UTF-8?q?Krzysztof=20Wilczy=C5=84ski?= , Jingoo Han , Marc Zyngier , Kishon Vijay Abraham I Subject: [PATCH v2 22/24] PCI: keystone: Use PCI_ERROR_RESPONSE to specify hardware error Date: Fri, 15 Oct 2021 20:09:03 +0530 Message-Id: X-Mailer: git-send-email 2.25.1 In-Reply-To: References: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Include PCI_ERROR_RESPONSE along with 0xffffffff in the comment to specify a hardware error. This helps finding where MMIO read error occurs easier to find. Signed-off-by: Naveen Naidu --- drivers/pci/controller/dwc/pci-keystone.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/pci/controller/dwc/pci-keystone.c b/drivers/pci/controller/dwc/pci-keystone.c index 865258d8c53c..25b11610b500 100644 --- a/drivers/pci/controller/dwc/pci-keystone.c +++ b/drivers/pci/controller/dwc/pci-keystone.c @@ -748,8 +748,8 @@ static int ks_pcie_config_legacy_irq(struct keystone_pcie *ks_pcie) #ifdef CONFIG_ARM /* * When a PCI device does not exist during config cycles, keystone host gets a - * bus error instead of returning 0xffffffff. This handler always returns 0 - * for this kind of faults. + * bus error instead of returning 0xffffffff (PCI_ERROR_RESPONSE). + * This handler always returns 0 for this kind of faults. */ static int ks_pcie_fault(unsigned long addr, unsigned int fsr, struct pt_regs *regs) -- 2.25.1