Received: by 2002:a05:6a10:5bc5:0:0:0:0 with SMTP id os5csp1481649pxb; Sat, 16 Oct 2021 11:02:49 -0700 (PDT) X-Google-Smtp-Source: ABdhPJydpC7pbUujxyKv6Z6JlteoRx9fDPtRa03P6kGB8T+2vcf5J3ewjU3c2rLiquJW0kifYZvR X-Received: by 2002:a17:90b:3844:: with SMTP id nl4mr36079975pjb.168.1634407369077; Sat, 16 Oct 2021 11:02:49 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1634407369; cv=none; d=google.com; s=arc-20160816; b=nFRxxAUr4gKEjayX1L4N9uxx4xJ0PI8zRReLv5SXH+K04oHSYj/D4xk0e1jDeI/nHG ++PBsDjOZQYWvvVyPW7iiKGnMQFSoJAWYMSqmzoMRfG30kfOxfZObk7KTpsuMmZNHHPq sTBnC7L5hC05fbxM90kcg99OczJZBTk2L7CgUrrK0YE83j/p9C3CnKXDOKbREK10UrfH KH0ovM5Gdn+1S9iLCC1YhaSjiHpMz9K85QOsHPewzVd+6RXXuzKXZo0mJXtNH/l1yGVg 91Tk1LY3fBbL+4Wq1P9cxLSjxMzzMLaCmcg86qaBtcK6veHn0ybhwgNxpE3pwD+Jd+yD hQLg== 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=8H47ocDcATCEcdvQX+LbcVgPZyzX/fIx4WAwDOmGCq4=; b=TRbbozNh9DO8P5nkTG4Yw/FlgyCavlMpdkCU0SO9coCVT9XVp/UdPmpvfyLR4fImZy ukbmvM5MyQNjl+CuYkGpbHX+XmetQxKMNN2DjLcyZJnShnCHprxghJpglb8l7UY9eqXU FHcFG+f0IREH0amdSVSWV8Y12k9BP5tS1TtuSVAc/RotjhTpAD59UHxq78NFfmDWyLy0 RbO8jXU7R33gWKIil7Kt/d7BGCFxXDh3a1frI5ROds7pMLZRE3Pk0GvUnZAQB6/eIGcV xT9mHBCKEo/OvsxP+Zaitg+QSnp1wE+ttPZiJl7c7yoxbXYo5UtVx+LYzU6UPOoYnVaP 4/Hw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b=Eux3ZNBe; 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 w202si15748782pff.339.2021.10.16.11.02.24; Sat, 16 Oct 2021 11:02:49 -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=Eux3ZNBe; 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 S240777AbhJOOtq (ORCPT + 99 others); Fri, 15 Oct 2021 10:49:46 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:59574 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S240775AbhJOOtV (ORCPT ); Fri, 15 Oct 2021 10:49:21 -0400 Received: from mail-pg1-x530.google.com (mail-pg1-x530.google.com [IPv6:2607:f8b0:4864:20::530]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 02F11C061772; Fri, 15 Oct 2021 07:46:59 -0700 (PDT) Received: by mail-pg1-x530.google.com with SMTP id c4so1773864pgv.11; Fri, 15 Oct 2021 07:46:58 -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=8H47ocDcATCEcdvQX+LbcVgPZyzX/fIx4WAwDOmGCq4=; b=Eux3ZNBeFFId+XHdQkRmLauqE8OAFj38AteET+UOhB3y9JaX2mZ7iVNlfIRKDRY1aP Sp6zIyqe0Ud1BseDpkT60FafTSrwY/J9mVtI9j6Pk1rVWEoMjamuFbMeteGMPDAKudik KArKNn2zwwdCjIBZxpW+uWOakhRB/U92FAHfnx0pAl51m7jn0v3JUQIo9+fDoLeLyZKS q0hJnBIuY49zyJLy2wo5UiUb6ZZzxCY797QfKS3vghg+AJsL7XwnTQgVY1AndynWaiH9 9oOFzKwhP8B7SoA28FaVuvv5gwLhB9aFLGJY09bJemOUk4tbqCKVAHfYulxYfufqA4Sj LRXg== 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=8H47ocDcATCEcdvQX+LbcVgPZyzX/fIx4WAwDOmGCq4=; b=Z8EUUSJA4FOCZpUGkHdzjnus+12FB2QDHdeYFfsFJKRsi+ZrufJ3yuNb6o/ANrGycq 5TAZB18VkEqYOmvwZG0LpOe0H6sp+OYkr8CarlBAl7IfWKCAiNDkA3IQdpGKdbWXS8Wy BszdP8NypWW82jNSi/zZlM5UmhmYPlV3EDeJ3tGnqxVZVYyBdgJuu2JSjmnokfAOZY7l t/+xeogqwcRaXqxdULSdBpmjZaZeOcIEiXAwCu4ExN/B669Jp2k561KABGbYf995z6vV MLOUpW+BlVoj4Izm52eQ2eb6Zd4ONBlsaRV8IwTxd7/KgwSyQFUXxj3UgDu4vwgXfSs+ b3wA== X-Gm-Message-State: AOAM533w6CKI//XWSPTSdw4zbMKKgRI37uud1jhiPDrC3i050vlRT8bH woUk4j/mJb8mokix6fXgTk2r0M0YCqhsajd7 X-Received: by 2002:a63:f155:: with SMTP id o21mr9408255pgk.218.1634309218506; Fri, 15 Oct 2021 07:46:58 -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.53 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 15 Oct 2021 07:46:58 -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, "K. Y. Srinivasan" , Haiyang Zhang , Stephen Hemminger , Wei Liu , Dexuan Cui , Lorenzo Pieralisi , Rob Herring , =?UTF-8?q?Krzysztof=20Wilczy=C5=84ski?= , linux-hyperv@vger.kernel.org (open list:Hyper-V/Azure CORE AND DRIVERS) Subject: [PATCH v2 23/24] PCI: hv: Use PCI_ERROR_RESPONSE to specify hardware read error Date: Fri, 15 Oct 2021 20:09:04 +0530 Message-Id: <9b72268025063f0094880f32f391e2f626f62487.1634306198.git.naveennaidu479@gmail.com> 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/pci-hyperv.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/pci/controller/pci-hyperv.c b/drivers/pci/controller/pci-hyperv.c index 67c46e52c0dc..7e1102e3d7c6 100644 --- a/drivers/pci/controller/pci-hyperv.c +++ b/drivers/pci/controller/pci-hyperv.c @@ -1774,7 +1774,7 @@ static void prepopulate_bars(struct hv_pcibus_device *hbus) * If the memory enable bit is already set, Hyper-V silently ignores * the below BAR updates, and the related PCI device driver can not * work, because reading from the device register(s) always returns - * 0xFFFFFFFF. + * 0xFFFFFFFF (PCI_ERROR_RESPONSE). */ list_for_each_entry(hpdev, &hbus->children, list_entry) { _hv_pcifront_read_config(hpdev, PCI_COMMAND, 2, &command); -- 2.25.1