From patchwork Sat Aug 5 06:37:57 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Yinghai Lu X-Patchwork-Id: 9882899 X-Patchwork-Delegate: bhelgaas@google.com Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id 7CAD5603F4 for ; Sat, 5 Aug 2017 06:39:42 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 6400A288CB for ; Sat, 5 Aug 2017 06:39:42 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 5828728A09; Sat, 5 Aug 2017 06:39:42 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-6.3 required=2.0 tests=BAYES_00,DKIM_SIGNED, RCVD_IN_DNSWL_HI, RCVD_IN_SORBS_SPAM, T_DKIM_INVALID autolearn=ham version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id CB9B6288CB for ; Sat, 5 Aug 2017 06:39:41 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751505AbdHEGie (ORCPT ); Sat, 5 Aug 2017 02:38:34 -0400 Received: from mail-pg0-f66.google.com ([74.125.83.66]:37822 "EHLO mail-pg0-f66.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751477AbdHEGic (ORCPT ); Sat, 5 Aug 2017 02:38:32 -0400 Received: by mail-pg0-f66.google.com with SMTP id 83so3663660pgb.4; Fri, 04 Aug 2017 23:38:31 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=sender:from:to:cc:subject:date:message-id:in-reply-to:references; bh=dA4zaAXlkc5rNYc0fa7SWVNCOMapUQEJUoFA/hByUHs=; b=tgDzo8YZ2kXNS+zi2SOmw67nASYXucNFRmaewGvAx5Ceu/anfPbJjgDiNtg1oTmNAU 58Labw9n3S0EkQ+l7kMUcOJRUVc71T4kqbFuEWtW/4TiEzHJm/7cc2iup3/JMbbNXHIs kFF31DRxFyjZyud9BYoL8LmPUjhqPMOY62xn0g82sDv8GrNcJ29cTN4epfrLulbca5vj +OBfeVzq3+m6QBosgheG45QgSOoWbrn5w7EmElXjyTyqzi4r5nVA2LaI7oCCofdVgt2q 3cXUHL7JoN16tOcNe5Tt8kRvYyhQG2RXPXBgKHPDRm6vmb3TUsTEzSQ2sUvrzsc9YMG0 4lMg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:sender:from:to:cc:subject:date:message-id :in-reply-to:references; bh=dA4zaAXlkc5rNYc0fa7SWVNCOMapUQEJUoFA/hByUHs=; b=QsZkcWqyrOeWn1MDwTa4AJrpTOUCLsQ1qO1HAbGUCo+z9FxhuQDnIWs625MUJiQOLA M+hqsreKBvfrWel1E4BiuaVSA9VK56Vb757yUPaKmXE2jWHATlJdpX64FSjvYr16r1SG WcMjn4vvCR5j8E/onmN6A6mzldPq6Cjm/pj7cWQSbZ5KQT0c2dh6vCbjZmbzunzg0aHS qTs9P5nhDpzWEpd9nYwEwxIFQ37NKwbhipjALlQLEp1lSCrY67ZxqZ3D2AhDi5KFmYmd RNwDKp0KIYrI0s1JKJcgFTqiNgA47Wi1uixn4T/Q10eAYLguxWFbchq/Q0hNk/I9xo74 QPZQ== X-Gm-Message-State: AIVw111OVwje7Mo6aHhuu9RDcMzB6jmSkGDJgFms1bFWdf02gT5xe3B2 x5eKeQ3p5kw0PBA/DAs= X-Received: by 10.98.138.197 with SMTP id o66mr5049963pfk.207.1501915111529; Fri, 04 Aug 2017 23:38:31 -0700 (PDT) Received: from dhcp-whq-twvpn-3-vpnpool-10-159-238-106.vpn.oracle.com (c-69-181-250-163.hsd1.ca.comcast.net. [69.181.250.163]) by smtp.gmail.com with ESMTPSA id j124sm6131387pfc.78.2017.08.04.23.38.30 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 04 Aug 2017 23:38:31 -0700 (PDT) From: Yinghai Lu To: Bjorn Helgaas Cc: Linus Torvalds , linux-pci@vger.kernel.org, linux-kernel@vger.kernel.org, Yinghai Lu Subject: [PATCH 06/10] PCI: PCI_TEST simple data Date: Fri, 4 Aug 2017 23:37:57 -0700 Message-Id: <20170805063801.15880-7-yinghai@kernel.org> X-Mailer: git-send-email 2.9.4 In-Reply-To: <20170805063801.15880-1-yinghai@kernel.org> References: <20170805063801.15880-1-yinghai@kernel.org> Sender: linux-pci-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-pci@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP Signed-off-by: Yinghai Lu --- drivers/pci/pci_test_data.txt | 24 ++++++++++++++++++++++++ drivers/pci/pci_test_mask.txt | 5 +++++ 2 files changed, 29 insertions(+) create mode 100644 drivers/pci/pci_test_data.txt create mode 100644 drivers/pci/pci_test_mask.txt diff --git a/drivers/pci/pci_test_data.txt b/drivers/pci/pci_test_data.txt new file mode 100644 index 0000000..a3cfd5d --- /dev/null +++ b/drivers/pci/pci_test_data.txt @@ -0,0 +1,24 @@ +pci_bus 0000:00: root bus resource [bus 00-fe] +pci_bus 0000:00: root bus resource [io 0x0000-0x0cf7] +pci_bus 0000:00: root bus resource [io 0x0d00-0xffff] +pci_bus 0000:00: root bus resource [mem 0x000a0000-0x000bffff] +pci_bus 0000:00: root bus resource [mem 0xbfa00000-0xfebfffff] +pci_bus 0000:00: root bus resource [mem 0xfed40000-0xfed4bfff] + +00:1a.0 0c03: 8086:1c2d (rev 04) (prog-if 20 [EHCI]) +00: 86 80 2d 1c 06 00 90 02 04 20 03 0c 00 00 00 00 +10: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 +20: 00 00 00 00 00 00 00 00 00 00 00 00 aa 17 cf 21 +30: 00 00 00 00 50 00 00 00 00 00 00 00 0b 01 00 00 +40: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 +50: 01 58 c2 c9 00 00 00 00 0a 98 a0 20 00 00 00 00 +60: 20 20 a7 07 00 00 00 00 01 00 00 00 00 00 08 c0 +70: 00 00 df 3f 00 00 00 00 00 00 00 00 00 00 00 00 +80: 00 00 80 00 11 88 0c 93 30 0d 00 24 00 00 00 00 +90: 00 00 00 00 00 00 00 00 13 00 06 03 00 00 00 00 +a0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 +b0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 +c0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 +d0: 00 00 00 00 00 aa ff 00 00 00 00 00 00 00 00 00 +e0: 00 00 00 00 01 44 00 9c 06 40 0b 28 b8 a1 18 09 +f0: 00 00 00 00 88 85 80 00 87 0f 06 08 08 17 5b 20 diff --git a/drivers/pci/pci_test_mask.txt b/drivers/pci/pci_test_mask.txt new file mode 100644 index 0000000..824afab --- /dev/null +++ b/drivers/pci/pci_test_mask.txt @@ -0,0 +1,5 @@ +mask: 8086:1c2d : 1:rw 0: readonly +00: 00 00 00 00 ff ff ff 02 04 20 03 0c 00 00 00 00 +10: 00 fc ff ff 00 00 00 00 00 00 00 00 00 00 00 00 +20: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 +30: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00