mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2026-09-18 22:09:30 +02:00
Merge tag 'parisc-for-7.3-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/deller/parisc-linux
Pull parisc architecture updates from Helge Deller: - Drop PER_HPUX personality from UAPI headers - Infinite loop fix when parsing IRQ value in eisa code - Switch to use asm-generic/serial.h - Prevent possible unaligned asm code in head.S * tag 'parisc-for-7.3-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/deller/parisc-linux: parisc: eisa: Fix infinite loop when parsing invalid IRQ value parisc: Fix alignment of asm statements in head.S parisc: eisa_eeprom: Add missing MODULE_DESCRIPTION() parisc: Use asm-generic/serial.h parisc: sba_iommu: Remove dead DEBUG_DMB_TRAP code UAPI: Drop PER_HPUX personality parisc: superio: Spelling s/Peterson/Petersen/
This commit is contained in:
@@ -1,8 +0,0 @@
|
||||
/*
|
||||
* include/asm-parisc/serial.h
|
||||
*/
|
||||
|
||||
/*
|
||||
* This is used for 16550-compatible UARTs
|
||||
*/
|
||||
#define BASE_BAUD ( 1843200 / 16 )
|
||||
@@ -105,6 +105,7 @@ $iodc_panic:
|
||||
or %r10,%r10,%r10 /* qemu idle sleep */
|
||||
msg1: .ascii "Can't boot kernel which was built for PA8x00 CPUs on this machine.\r\n"
|
||||
msg1_end:
|
||||
.align 4
|
||||
|
||||
$cpu_ok:
|
||||
#endif
|
||||
|
||||
@@ -442,6 +442,11 @@ static int __init eisa_irq_setup(char *str)
|
||||
val = (int) simple_strtoul(cur, &pe, 0);
|
||||
if (val > 15 || val < 0) {
|
||||
printk(KERN_ERR "eisa: EISA irq value are 0-15\n");
|
||||
cur = strchr(cur, ',');
|
||||
if (cur)
|
||||
cur++;
|
||||
else
|
||||
break;
|
||||
continue;
|
||||
}
|
||||
if (val == 2) {
|
||||
|
||||
@@ -94,6 +94,7 @@ static int __init eisa_eeprom_init(void)
|
||||
return 0;
|
||||
}
|
||||
|
||||
MODULE_DESCRIPTION("EISA eeprom driver");
|
||||
MODULE_LICENSE("GPL");
|
||||
|
||||
module_init(eisa_eeprom_init);
|
||||
|
||||
@@ -66,7 +66,6 @@
|
||||
#undef DEBUG_SBA_RESOURCE
|
||||
#undef ASSERT_PDIR_SANITY
|
||||
#undef DEBUG_LARGE_SG_ENTRIES
|
||||
#undef DEBUG_DMB_TRAP
|
||||
|
||||
#ifdef DEBUG_SBA_INIT
|
||||
#define DBG_INIT(x...) printk(x)
|
||||
@@ -1695,12 +1694,6 @@ sba_common_init(struct sba_device *sba_dev)
|
||||
|
||||
for(i=0; i< sba_dev->num_ioc; i++) {
|
||||
int res_size;
|
||||
#ifdef DEBUG_DMB_TRAP
|
||||
extern void iterate_pages(unsigned long , unsigned long ,
|
||||
void (*)(pte_t * , unsigned long),
|
||||
unsigned long );
|
||||
void set_data_memory_break(pte_t * , unsigned long);
|
||||
#endif
|
||||
/* resource map size dictated by pdir_size */
|
||||
res_size = sba_dev->ioc[i].pdir_size/sizeof(u64); /* entries */
|
||||
|
||||
@@ -1715,12 +1708,6 @@ sba_common_init(struct sba_device *sba_dev)
|
||||
|
||||
sba_dev->ioc[i].res_size = res_size;
|
||||
sba_dev->ioc[i].res_map = (char *) __get_free_pages(GFP_KERNEL, get_order(res_size));
|
||||
|
||||
#ifdef DEBUG_DMB_TRAP
|
||||
iterate_pages( sba_dev->ioc[i].res_map, res_size,
|
||||
set_data_memory_break, 0);
|
||||
#endif
|
||||
|
||||
if (NULL == sba_dev->ioc[i].res_map)
|
||||
{
|
||||
panic("%s:%s() could not allocate resource map\n",
|
||||
@@ -1752,14 +1739,6 @@ sba_common_init(struct sba_device *sba_dev)
|
||||
*p_start++ = -1;
|
||||
|
||||
}
|
||||
|
||||
#ifdef DEBUG_DMB_TRAP
|
||||
iterate_pages( sba_dev->ioc[i].res_map, res_size,
|
||||
set_data_memory_break, 0);
|
||||
iterate_pages( sba_dev->ioc[i].pdir_base, sba_dev->ioc[i].pdir_size,
|
||||
set_data_memory_break, 0);
|
||||
#endif
|
||||
|
||||
DBG_INIT("%s() %d res_map %x %p\n",
|
||||
__func__, i, res_size, sba_dev->ioc[i].res_map);
|
||||
}
|
||||
|
||||
@@ -15,7 +15,7 @@
|
||||
* (C) Copyright 2005 Kyle McMartin <kyle@parisc-linux.org>
|
||||
* (C) Copyright 2006 Helge Deller <deller@gmx.de>
|
||||
*
|
||||
* The initial version of this is by Martin Peterson. Alex deVries
|
||||
* The initial version of this is by Martin Petersen. Alex deVries
|
||||
* has spent a bit of time trying to coax it into working.
|
||||
*
|
||||
* Major changes to get basic interrupt infrastructure working to
|
||||
|
||||
@@ -62,7 +62,6 @@ enum {
|
||||
PER_SOLARIS = 0x000d | STICKY_TIMEOUTS,
|
||||
PER_UW7 = 0x000e | STICKY_TIMEOUTS | MMAP_PAGE_ZERO,
|
||||
PER_OSF4 = 0x000f, /* OSF/1 v4 */
|
||||
PER_HPUX = 0x0010,
|
||||
PER_MASK = 0x00ff,
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user