aboutsummaryrefslogtreecommitdiffstats
path: root/drivers
diff options
context:
space:
mode:
authorLinus Torvalds <torvalds@linux-foundation.org>2013-02-23 00:13:26 -0500
committerLinus Torvalds <torvalds@linux-foundation.org>2013-02-23 00:13:26 -0500
commit5f32ed140dac726e880d292988ba20d16f545bda (patch)
treef08589f9489a05eb7a0b7f855ab96c57b0561cde /drivers
parentc68fea3464cbe4f3e1382f9f74a7c04cdbfb92ad (diff)
parent1dda59b4f3d03fa28d86f3ea235655f0f96aab3e (diff)
Merge branch 'parisc-3.9' of git://git.kernel.org/pub/scm/linux/kernel/git/deller/parisc-linux
Pull parisc updates from Helge Deller. The bulk of this is optimized page coping/clearing and cache flushing (virtual caches are lovely) by John David Anglin. * 'parisc-3.9' of git://git.kernel.org/pub/scm/linux/kernel/git/deller/parisc-linux: (31 commits) arch/parisc/include/asm: use ARRAY_SIZE macro in mmzone.h parisc: remove empty lines and unnecessary #ifdef coding in include/asm/signal.h parisc: sendfile and sendfile64 syscall cleanups parisc: switch to available compat_sched_rr_get_interval implementation parisc: fix fallocate syscall parisc: fix error return codes for rt_sigaction and rt_sigprocmask parisc: convert msgrcv and msgsnd syscalls to use compat layer parisc: correctly wire up mq_* functions for CONFIG_COMPAT case parisc: fix personality on 32bit kernel parisc: wire up process_vm_readv, process_vm_writev, kcmp and finit_module syscalls parisc: led driver requires CONFIG_VM_EVENT_COUNTERS parisc: remove unused compat_rt_sigframe.h header parisc/mm/fault.c: Port OOM changes to do_page_fault parisc: space register variables need to be in native length (unsigned long) parisc: fix ptrace breakage parisc: always detect multiple physical ranges parisc: ensure that mmapped shared pages are aligned at SHMLBA addresses parisc: disable preemption while flushing D- or I-caches through TMPALIAS region parisc: remove IRQF_DISABLED parisc: fixes and cleanups in page cache flushing (4/4) ...
Diffstat (limited to 'drivers')
-rw-r--r--drivers/parisc/Kconfig1
-rw-r--r--drivers/parisc/dino.c13
-rw-r--r--drivers/parisc/hppb.c6
-rw-r--r--drivers/parisc/pdc_stable.c6
-rw-r--r--drivers/parisc/superio.c2
5 files changed, 11 insertions, 17 deletions
diff --git a/drivers/parisc/Kconfig b/drivers/parisc/Kconfig
index 620264936341..592de566e72f 100644
--- a/drivers/parisc/Kconfig
+++ b/drivers/parisc/Kconfig
@@ -128,6 +128,7 @@ config SUPERIO
128config CHASSIS_LCD_LED 128config CHASSIS_LCD_LED
129 bool "Chassis LCD and LED support" 129 bool "Chassis LCD and LED support"
130 default y 130 default y
131 select VM_EVENT_COUNTERS
131 help 132 help
132 Say Y here if you want to enable support for the Heartbeat, 133 Say Y here if you want to enable support for the Heartbeat,
133 Disk/Network activities LEDs on some PA-RISC machines, 134 Disk/Network activities LEDs on some PA-RISC machines,
diff --git a/drivers/parisc/dino.c b/drivers/parisc/dino.c
index 8e4e86b78428..9eae9834bcc7 100644
--- a/drivers/parisc/dino.c
+++ b/drivers/parisc/dino.c
@@ -580,15 +580,13 @@ dino_fixup_bus(struct pci_bus *bus)
580 580
581 } 581 }
582 582
583 DBG("DEBUG %s assigning %d [0x%lx,0x%lx]\n", 583 DBG("DEBUG %s assigning %d [%pR]\n",
584 dev_name(&bus->self->dev), i, 584 dev_name(&bus->self->dev), i,
585 bus->self->resource[i].start, 585 &bus->self->resource[i]);
586 bus->self->resource[i].end);
587 WARN_ON(pci_assign_resource(bus->self, i)); 586 WARN_ON(pci_assign_resource(bus->self, i));
588 DBG("DEBUG %s after assign %d [0x%lx,0x%lx]\n", 587 DBG("DEBUG %s after assign %d [%pR]\n",
589 dev_name(&bus->self->dev), i, 588 dev_name(&bus->self->dev), i,
590 bus->self->resource[i].start, 589 &bus->self->resource[i]);
591 bus->self->resource[i].end);
592 } 590 }
593 } 591 }
594 592
@@ -772,8 +770,7 @@ dino_bridge_init(struct dino_device *dino_dev, const char *name)
772 result = ccio_request_resource(dino_dev->hba.dev, &res[i]); 770 result = ccio_request_resource(dino_dev->hba.dev, &res[i]);
773 if (result < 0) { 771 if (result < 0) {
774 printk(KERN_ERR "%s: failed to claim PCI Bus address " 772 printk(KERN_ERR "%s: failed to claim PCI Bus address "
775 "space %d (0x%lx-0x%lx)!\n", name, i, 773 "space %d (%pR)!\n", name, i, &res[i]);
776 (unsigned long)res[i].start, (unsigned long)res[i].end);
777 return result; 774 return result;
778 } 775 }
779 } 776 }
diff --git a/drivers/parisc/hppb.c b/drivers/parisc/hppb.c
index 815db175d427..898208e4f302 100644
--- a/drivers/parisc/hppb.c
+++ b/drivers/parisc/hppb.c
@@ -74,10 +74,8 @@ static int hppb_probe(struct parisc_device *dev)
74 74
75 status = ccio_request_resource(dev, &card->mmio_region); 75 status = ccio_request_resource(dev, &card->mmio_region);
76 if(status < 0) { 76 if(status < 0) {
77 printk(KERN_ERR "%s: failed to claim HP-PB " 77 printk(KERN_ERR "%s: failed to claim HP-PB bus space (%pR)\n",
78 "bus space (0x%08llx, 0x%08llx)\n", 78 __FILE__, &card->mmio_region);
79 __FILE__, (unsigned long long) card->mmio_region.start,
80 (unsigned long long) card->mmio_region.end);
81 } 79 }
82 80
83 return 0; 81 return 0;
diff --git a/drivers/parisc/pdc_stable.c b/drivers/parisc/pdc_stable.c
index 246a92f677e4..0f54ab6260df 100644
--- a/drivers/parisc/pdc_stable.c
+++ b/drivers/parisc/pdc_stable.c
@@ -212,12 +212,10 @@ pdcspath_store(struct pdcspath_entry *entry)
212 entry, devpath, entry->addr); 212 entry, devpath, entry->addr);
213 213
214 /* addr, devpath and count must be word aligned */ 214 /* addr, devpath and count must be word aligned */
215 if (pdc_stable_write(entry->addr, devpath, sizeof(*devpath)) != PDC_OK) { 215 if (pdc_stable_write(entry->addr, devpath, sizeof(*devpath)) != PDC_OK)
216 printk(KERN_ERR "%s: an error occurred when writing to PDC.\n" 216 WARN(1, KERN_ERR "%s: an error occurred when writing to PDC.\n"
217 "It is likely that the Stable Storage data has been corrupted.\n" 217 "It is likely that the Stable Storage data has been corrupted.\n"
218 "Please check it carefully upon next reboot.\n", __func__); 218 "Please check it carefully upon next reboot.\n", __func__);
219 WARN_ON(1);
220 }
221 219
222 /* kobject is already registered */ 220 /* kobject is already registered */
223 entry->ready = 2; 221 entry->ready = 2;
diff --git a/drivers/parisc/superio.c b/drivers/parisc/superio.c
index 5003458980d3..ac6e8e7a02df 100644
--- a/drivers/parisc/superio.c
+++ b/drivers/parisc/superio.c
@@ -274,7 +274,7 @@ superio_init(struct pci_dev *pcidev)
274 else 274 else
275 printk(KERN_ERR PFX "USB regulator not initialized!\n"); 275 printk(KERN_ERR PFX "USB regulator not initialized!\n");
276 276
277 if (request_irq(pdev->irq, superio_interrupt, IRQF_DISABLED, 277 if (request_irq(pdev->irq, superio_interrupt, 0,
278 SUPERIO, (void *)sio)) { 278 SUPERIO, (void *)sio)) {
279 279
280 printk(KERN_ERR PFX "could not get irq\n"); 280 printk(KERN_ERR PFX "could not get irq\n");