aboutsummaryrefslogtreecommitdiffstats
path: root/arch/s390/pci/pci.c
diff options
context:
space:
mode:
authorMartin Schwidefsky <schwidefsky@de.ibm.com>2013-06-19 08:26:46 -0400
committerMartin Schwidefsky <schwidefsky@de.ibm.com>2013-06-26 15:10:27 -0400
commit386aa051fb4b6298c23996e68b7c92f186e484b6 (patch)
treeedb3cef554b84278ba9c405a9f2ba1574d0638c1 /arch/s390/pci/pci.c
parenta9a5250cc650b54623827386247b85ba2aeeecc7 (diff)
s390/pci: remove per device debug attribute
The per-pci-device 'debug' attribute is ill defined. For each device it prints the same information, the adapter interrupt bit vector for irq numbers 0 & 1, the start of the global interrupt summary vector and the global irq retries counter. Just remove the attribute and the associated code. Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
Diffstat (limited to 'arch/s390/pci/pci.c')
-rw-r--r--arch/s390/pci/pci.c13
1 files changed, 0 insertions, 13 deletions
diff --git a/arch/s390/pci/pci.c b/arch/s390/pci/pci.c
index 628769b91b97..51c3ca86bd05 100644
--- a/arch/s390/pci/pci.c
+++ b/arch/s390/pci/pci.c
@@ -85,8 +85,6 @@ static struct intr_bucket *bucket;
85/* Adapter local summary indicator */ 85/* Adapter local summary indicator */
86static u8 *zpci_irq_si; 86static u8 *zpci_irq_si;
87 87
88static atomic_t irq_retries = ATOMIC_INIT(0);
89
90/* I/O Map */ 88/* I/O Map */
91static DEFINE_SPINLOCK(zpci_iomap_lock); 89static DEFINE_SPINLOCK(zpci_iomap_lock);
92static DECLARE_BITMAP(zpci_iomap, ZPCI_IOMAP_MAX_ENTRIES); 90static DECLARE_BITMAP(zpci_iomap, ZPCI_IOMAP_MAX_ENTRIES);
@@ -452,7 +450,6 @@ scan:
452 max = aisb_max; 450 max = aisb_max;
453 sbit = find_first_bit_left(bucket->aisb, max); 451 sbit = find_first_bit_left(bucket->aisb, max);
454 if (sbit != max) { 452 if (sbit != max) {
455 atomic_inc(&irq_retries);
456 rescan++; 453 rescan++;
457 goto scan; 454 goto scan;
458 } 455 }
@@ -751,16 +748,6 @@ static void zpci_irq_exit(void)
751 kfree(bucket); 748 kfree(bucket);
752} 749}
753 750
754void zpci_debug_info(struct zpci_dev *zdev, struct seq_file *m)
755{
756 if (!zdev)
757 return;
758
759 seq_printf(m, "global irq retries: %u\n", atomic_read(&irq_retries));
760 seq_printf(m, "aibv[0]:%016lx aibv[1]:%016lx aisb:%016lx\n",
761 get_imap(0)->aibv, get_imap(1)->aibv, *bucket->aisb);
762}
763
764static struct resource *zpci_alloc_bus_resource(unsigned long start, unsigned long size, 751static struct resource *zpci_alloc_bus_resource(unsigned long start, unsigned long size,
765 unsigned long flags, int domain) 752 unsigned long flags, int domain)
766{ 753{