Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 96791
b: refs/heads/master
c: 7868f1e
h: refs/heads/master
i:
  96789: 1986a6c
  96787: 894cf3c
  96783: 805f643
v: v3
  • Loading branch information
Jack Steiner authored and Tony Luck committed May 14, 2008
1 parent a6ee60d commit b3fea41
Show file tree
Hide file tree
Showing 136 changed files with 1,470 additions and 3,946 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 487ad7efbf6b0ec338cdfc2a7b0fbeb53f17a94c
refs/heads/master: 7868f1ed84696d3cca83558e8dd459f20a36d077
8 changes: 0 additions & 8 deletions trunk/Documentation/feature-removal-schedule.txt
Original file line number Diff line number Diff line change
Expand Up @@ -289,14 +289,6 @@ Who: Glauber Costa <gcosta@redhat.com>

---------------------------

What: old style serial driver for ColdFire (CONFIG_SERIAL_COLDFIRE)
When: 2.6.28
Why: This driver still uses the old interface and has been replaced
by CONFIG_SERIAL_MCF.
Who: Sebastian Siewior <sebastian@breakpoint.cc>

---------------------------

What: /sys/o2cb symlink
When: January 2010
Why: /sys/fs/o2cb is the proper location for this information - /sys/o2cb
Expand Down
3 changes: 3 additions & 0 deletions trunk/Documentation/kernel-parameters.txt
Original file line number Diff line number Diff line change
Expand Up @@ -398,6 +398,9 @@ and is between 256 and 4096 characters. It is defined in the file
cio_ignore= [S390]
See Documentation/s390/CommonIO for details.

cio_msg= [S390]
See Documentation/s390/CommonIO for details.

clock= [BUGS=X86-32, HW] gettimeofday clocksource override.
[Deprecated]
Forces specified clocksource (if available) to be used
Expand Down
4 changes: 2 additions & 2 deletions trunk/arch/arm/mach-at91/at91sam9261_devices.c
Original file line number Diff line number Diff line change
Expand Up @@ -544,10 +544,10 @@ void __init at91_add_device_lcdc(struct atmel_lcdfb_info *data)
struct resource *fb_res = &lcdc_resources[2];
size_t fb_len = fb_res->end - fb_res->start + 1;

fb = ioremap(fb_res->start, fb_len);
fb = ioremap_writecombine(fb_res->start, fb_len);
if (fb) {
memset(fb, 0, fb_len);
iounmap(fb);
iounmap(fb, fb_len);
}
}
lcdc_data = *data;
Expand Down
21 changes: 21 additions & 0 deletions trunk/arch/arm/mach-at91/at91sam9rl_devices.c
Original file line number Diff line number Diff line change
Expand Up @@ -332,6 +332,13 @@ static struct resource lcdc_resources[] = {
.end = AT91SAM9RL_ID_LCDC,
.flags = IORESOURCE_IRQ,
},
#if defined(CONFIG_FB_INTSRAM)
[2] = {
.start = AT91SAM9RL_SRAM_BASE,
.end = AT91SAM9RL_SRAM_BASE + AT91SAM9RL_SRAM_SIZE - 1,
.flags = IORESOURCE_MEM,
},
#endif
};

static struct platform_device at91_lcdc_device = {
Expand Down Expand Up @@ -374,6 +381,20 @@ void __init at91_add_device_lcdc(struct atmel_lcdfb_info *data)
at91_set_B_periph(AT91_PIN_PC24, 0); /* LCDD22 */
at91_set_B_periph(AT91_PIN_PC25, 0); /* LCDD23 */

#ifdef CONFIG_FB_INTSRAM
{
void __iomem *fb;
struct resource *fb_res = &lcdc_resources[2];
size_t fb_len = fb_res->end - fb_res->start + 1;

fb = ioremap_writecombine(fb_res->start, fb_len);
if (fb) {
memset(fb, 0, fb_len);
iounmap(fb, fb_len);
}
}
#endif

lcdc_data = *data;
platform_device_register(&at91_lcdc_device);
}
Expand Down
3 changes: 1 addition & 2 deletions trunk/arch/parisc/hpux/gate.S
Original file line number Diff line number Diff line change
Expand Up @@ -13,10 +13,9 @@
#include <asm/unistd.h>
#include <asm/errno.h>
#include <linux/linkage.h>
#include <linux/init.h>

.level LEVEL
__HEAD
.text

.import hpux_call_table
.import hpux_syscall_exit,code
Expand Down
3 changes: 1 addition & 2 deletions trunk/arch/parisc/hpux/wrappers.S
Original file line number Diff line number Diff line change
Expand Up @@ -28,10 +28,9 @@
#include <asm/assembly.h>
#include <asm/signal.h>
#include <linux/linkage.h>
#include <linux/init.h>

.level LEVEL
__HEAD
.text

/* These should probably go in a header file somewhere.
* They are duplicated in kernel/wrappers.S
Expand Down
3 changes: 3 additions & 0 deletions trunk/arch/parisc/kernel/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,9 @@

extra-y := init_task.o head.o vmlinux.lds

AFLAGS_entry.o := -traditional
AFLAGS_pacache.o := -traditional

obj-y := cache.o pacache.o setup.o traps.o time.o irq.o \
pa7300lc.o syscall.o entry.o sys_parisc.o firmware.o \
ptrace.o hardware.o inventory.o drivers.o \
Expand Down
49 changes: 28 additions & 21 deletions trunk/arch/parisc/kernel/entry.S
Original file line number Diff line number Diff line change
Expand Up @@ -38,11 +38,18 @@
#include <asm/thread_info.h>

#include <linux/linkage.h>
#include <linux/init.h>

#ifdef CONFIG_64BIT
#define CMPIB cmpib,*
#define CMPB cmpb,*
#define COND(x) *x

.level 2.0w
#else
#define CMPIB cmpib,
#define CMPB cmpb,
#define COND(x) x

.level 2.0
#endif

Expand Down Expand Up @@ -622,7 +629,7 @@
* the static part of the kernel address space.
*/

__HEAD
.text

.align PAGE_SIZE

Expand Down Expand Up @@ -950,9 +957,9 @@ intr_check_sig:
* Only do signals if we are returning to user space
*/
LDREG PT_IASQ0(%r16), %r20
cmpib,COND(=),n 0,%r20,intr_restore /* backward */
CMPIB=,n 0,%r20,intr_restore /* backward */
LDREG PT_IASQ1(%r16), %r20
cmpib,COND(=),n 0,%r20,intr_restore /* backward */
CMPIB=,n 0,%r20,intr_restore /* backward */

copy %r0, %r25 /* long in_syscall = 0 */
#ifdef CONFIG_64BIT
Expand Down Expand Up @@ -1006,10 +1013,10 @@ intr_do_resched:
* we jump back to intr_restore.
*/
LDREG PT_IASQ0(%r16), %r20
cmpib,COND(=) 0, %r20, intr_do_preempt
CMPIB= 0, %r20, intr_do_preempt
nop
LDREG PT_IASQ1(%r16), %r20
cmpib,COND(=) 0, %r20, intr_do_preempt
CMPIB= 0, %r20, intr_do_preempt
nop

#ifdef CONFIG_64BIT
Expand Down Expand Up @@ -1038,7 +1045,7 @@ intr_do_preempt:
/* current_thread_info()->preempt_count */
mfctl %cr30, %r1
LDREG TI_PRE_COUNT(%r1), %r19
cmpib,COND(<>) 0, %r19, intr_restore /* if preempt_count > 0 */
CMPIB<> 0, %r19, intr_restore /* if preempt_count > 0 */
nop /* prev insn branched backwards */

/* check if we interrupted a critical path */
Expand All @@ -1057,7 +1064,7 @@ intr_do_preempt:
*/

intr_extint:
cmpib,COND(=),n 0,%r16,1f
CMPIB=,n 0,%r16,1f

get_stack_use_cr30
b,n 2f
Expand Down Expand Up @@ -1092,7 +1099,7 @@ ENDPROC(syscall_exit_rfi)

ENTRY(intr_save) /* for os_hpmc */
mfsp %sr7,%r16
cmpib,COND(=),n 0,%r16,1f
CMPIB=,n 0,%r16,1f
get_stack_use_cr30
b 2f
copy %r8,%r26
Expand All @@ -1114,7 +1121,7 @@ ENTRY(intr_save) /* for os_hpmc */
* adjust isr/ior below.
*/

cmpib,COND(=),n 6,%r26,skip_save_ior
CMPIB=,n 6,%r26,skip_save_ior


mfctl %cr20, %r16 /* isr */
Expand Down Expand Up @@ -1443,11 +1450,11 @@ nadtlb_emulate:
bb,>=,n %r9,26,nadtlb_nullify /* m bit not set, just nullify */
BL get_register,%r25
extrw,u %r9,15,5,%r8 /* Get index register # */
cmpib,COND(=),n -1,%r1,nadtlb_fault /* have to use slow path */
CMPIB=,n -1,%r1,nadtlb_fault /* have to use slow path */
copy %r1,%r24
BL get_register,%r25
extrw,u %r9,10,5,%r8 /* Get base register # */
cmpib,COND(=),n -1,%r1,nadtlb_fault /* have to use slow path */
CMPIB=,n -1,%r1,nadtlb_fault /* have to use slow path */
BL set_register,%r25
add,l %r1,%r24,%r1 /* doesn't affect c/b bits */

Expand Down Expand Up @@ -1479,7 +1486,7 @@ nadtlb_probe_check:
cmpb,<>,n %r16,%r17,nadtlb_fault /* Must be probe,[rw]*/
BL get_register,%r25 /* Find the target register */
extrw,u %r9,31,5,%r8 /* Get target register */
cmpib,COND(=),n -1,%r1,nadtlb_fault /* have to use slow path */
CMPIB=,n -1,%r1,nadtlb_fault /* have to use slow path */
BL set_register,%r25
copy %r0,%r1 /* Write zero to target register */
b nadtlb_nullify /* Nullify return insn */
Expand Down Expand Up @@ -1563,12 +1570,12 @@ dbit_trap_20w:
L3_ptep ptp,pte,t0,va,dbit_fault

#ifdef CONFIG_SMP
cmpib,COND(=),n 0,spc,dbit_nolock_20w
CMPIB=,n 0,spc,dbit_nolock_20w
load32 PA(pa_dbit_lock),t0

dbit_spin_20w:
LDCW 0(t0),t1
cmpib,COND(=) 0,t1,dbit_spin_20w
cmpib,= 0,t1,dbit_spin_20w
nop

dbit_nolock_20w:
Expand All @@ -1579,7 +1586,7 @@ dbit_nolock_20w:

idtlbt pte,prot
#ifdef CONFIG_SMP
cmpib,COND(=),n 0,spc,dbit_nounlock_20w
CMPIB=,n 0,spc,dbit_nounlock_20w
ldi 1,t1
stw t1,0(t0)

Expand All @@ -1599,7 +1606,7 @@ dbit_trap_11:
L2_ptep ptp,pte,t0,va,dbit_fault

#ifdef CONFIG_SMP
cmpib,COND(=),n 0,spc,dbit_nolock_11
CMPIB=,n 0,spc,dbit_nolock_11
load32 PA(pa_dbit_lock),t0

dbit_spin_11:
Expand All @@ -1621,7 +1628,7 @@ dbit_nolock_11:

mtsp t1, %sr1 /* Restore sr1 */
#ifdef CONFIG_SMP
cmpib,COND(=),n 0,spc,dbit_nounlock_11
CMPIB=,n 0,spc,dbit_nounlock_11
ldi 1,t1
stw t1,0(t0)

Expand All @@ -1639,7 +1646,7 @@ dbit_trap_20:
L2_ptep ptp,pte,t0,va,dbit_fault

#ifdef CONFIG_SMP
cmpib,COND(=),n 0,spc,dbit_nolock_20
CMPIB=,n 0,spc,dbit_nolock_20
load32 PA(pa_dbit_lock),t0

dbit_spin_20:
Expand All @@ -1658,7 +1665,7 @@ dbit_nolock_20:
idtlbt pte,prot

#ifdef CONFIG_SMP
cmpib,COND(=),n 0,spc,dbit_nounlock_20
CMPIB=,n 0,spc,dbit_nounlock_20
ldi 1,t1
stw t1,0(t0)

Expand Down Expand Up @@ -1987,7 +1994,7 @@ ENTRY(syscall_exit)

/* We can't use "CMPIB<> PER_HPUX" since "im5" field is sign extended */
ldo -PER_HPUX(%r19), %r19
cmpib,COND(<>),n 0,%r19,1f
CMPIB<>,n 0,%r19,1f

/* Save other hpux returns if personality is PER_HPUX */
STREG %r22,TASK_PT_GR22(%r1)
Expand Down
2 changes: 1 addition & 1 deletion trunk/arch/parisc/kernel/head.S
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ ENTRY(boot_args)
.word 0 /* arg3 */
END(boot_args)

__HEAD
.section .text.head
.align 4
.import init_thread_union,data
.import fault_vector_20,code /* IVA parisc 2.0 32 bit */
Expand Down
3 changes: 1 addition & 2 deletions trunk/arch/parisc/kernel/hpmc.S
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,6 @@
#include <asm/pdc.h>

#include <linux/linkage.h>
#include <linux/init.h>

/*
* stack for os_hpmc, the HPMC handler.
Expand Down Expand Up @@ -77,7 +76,7 @@ ENTRY(hpmc_pim_data)
.block HPMC_PIM_DATA_SIZE
END(hpmc_pim_data)

__HEAD
.text

.import intr_save, code
ENTRY(os_hpmc)
Expand Down
2 changes: 1 addition & 1 deletion trunk/arch/parisc/kernel/inventory.c
Original file line number Diff line number Diff line change
Expand Up @@ -499,7 +499,7 @@ add_system_map_addresses(struct parisc_device *dev, int num_addrs,
dev->addr = kmalloc(num_addrs * sizeof(unsigned long), GFP_KERNEL);
if(!dev->addr) {
printk(KERN_ERR "%s %s(): memory allocation failure\n",
__FILE__, __func__);
__FILE__, __FUNCTION__);
return;
}

Expand Down
Loading

0 comments on commit b3fea41

Please sign in to comment.