Skip to content

Commit 6150c32

Browse files
author
Linus Torvalds
committed
Merge git://git.kernel.org/pub/scm/linux/kernel/git/paulus/powerpc-merge
2 parents 44637a1 + be42d5f commit 6150c32

File tree

287 files changed

+27018
-5874
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

287 files changed

+27018
-5874
lines changed

Documentation/filesystems/spufs.txt

Lines changed: 521 additions & 0 deletions
Large diffs are not rendered by default.

Documentation/powerpc/00-INDEX

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,12 +8,18 @@ please mail me.
88
cpu_features.txt
99
- info on how we support a variety of CPUs with minimal compile-time
1010
options.
11+
eeh-pci-error-recovery.txt
12+
- info on PCI Bus EEH Error Recovery
13+
hvcs.txt
14+
- IBM "Hypervisor Virtual Console Server" Installation Guide
15+
mpc52xx.txt
16+
- Linux 2.6.x on MPC52xx family
1117
ppc_htab.txt
1218
- info about the Linux/PPC /proc/ppc_htab entry
13-
smp.txt
14-
- use and state info about Linux/PPC on MP machines
1519
SBC8260_memory_mapping.txt
1620
- EST SBC8260 board info
21+
smp.txt
22+
- use and state info about Linux/PPC on MP machines
1723
sound.txt
1824
- info on sound support under Linux/PPC
1925
zImage_layout.txt

arch/powerpc/Kconfig

Lines changed: 24 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ config PPC
4747

4848
config EARLY_PRINTK
4949
bool
50-
default y if PPC64
50+
default y
5151

5252
config COMPAT
5353
bool
@@ -297,6 +297,7 @@ config PPC_PMAC64
297297
bool
298298
depends on PPC_PMAC && POWER4
299299
select U3_DART
300+
select MPIC_BROKEN_U3
300301
select GENERIC_TBSYNC
301302
default y
302303

@@ -325,9 +326,7 @@ config PPC_CELL
325326
select MMIO_NVRAM
326327

327328
config PPC_OF
328-
bool
329-
depends on PPC_MULTIPLATFORM # for now
330-
default y
329+
def_bool y
331330

332331
config XICS
333332
depends on PPC_PSERIES
@@ -376,11 +375,28 @@ config CELL_IIC
376375
bool
377376
default y
378377

378+
config CRASH_DUMP
379+
bool "kernel crash dumps (EXPERIMENTAL)"
380+
depends on PPC_MULTIPLATFORM
381+
depends on EXPERIMENTAL
382+
help
383+
Build a kernel suitable for use as a kdump capture kernel.
384+
The kernel will be linked at a different address than normal, and
385+
so can only be used for Kdump.
386+
387+
Don't change this unless you know what you are doing.
388+
379389
config IBMVIO
380390
depends on PPC_PSERIES || PPC_ISERIES
381391
bool
382392
default y
383393

394+
config IBMEBUS
395+
depends on PPC_PSERIES
396+
bool "Support for GX bus based adapters"
397+
help
398+
Bus device driver for GX bus based adapters.
399+
384400
config PPC_MPC106
385401
bool
386402
default n
@@ -472,6 +488,7 @@ source arch/powerpc/platforms/embedded6xx/Kconfig
472488
source arch/powerpc/platforms/4xx/Kconfig
473489
source arch/powerpc/platforms/85xx/Kconfig
474490
source arch/powerpc/platforms/8xx/Kconfig
491+
source arch/powerpc/platforms/cell/Kconfig
475492

476493
menu "Kernel options"
477494

@@ -575,11 +592,12 @@ config ARCH_SELECT_MEMORY_MODEL
575592
depends on PPC64
576593

577594
config ARCH_FLATMEM_ENABLE
578-
def_bool y
579-
depends on PPC64 && !NUMA
595+
def_bool y
596+
depends on (PPC64 && !NUMA) || PPC32
580597

581598
config ARCH_SPARSEMEM_ENABLE
582599
def_bool y
600+
depends on PPC64
583601

584602
config ARCH_SPARSEMEM_DEFAULT
585603
def_bool y

arch/powerpc/Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -151,7 +151,7 @@ CPPFLAGS_vmlinux.lds := -Upowerpc
151151
# All the instructions talk about "make bzImage".
152152
bzImage: zImage
153153

154-
BOOT_TARGETS = zImage zImage.initrd znetboot znetboot.initrd vmlinux.sm
154+
BOOT_TARGETS = zImage zImage.initrd znetboot znetboot.initrd vmlinux.sm uImage
155155

156156
.PHONY: $(BOOT_TARGETS)
157157

arch/powerpc/boot/Makefile

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -143,6 +143,36 @@ $(obj)/zImage.initrd: $(obj)/zImage.initrd.vmode $(obj)/addnote
143143
@cp -f $< $@
144144
$(call if_changed,addnote)
145145

146+
#-----------------------------------------------------------
147+
# build u-boot images
148+
#-----------------------------------------------------------
149+
quiet_cmd_mygzip = GZIP $@
150+
cmd_mygzip = gzip -f -9 < $< > $@.$$$$ && mv $@.$$$$ $@
151+
152+
quiet_cmd_objbin = OBJCOPY $@
153+
cmd_objbin = $(OBJCOPY) -O binary $< $@
154+
155+
quiet_cmd_uimage = UIMAGE $@
156+
cmd_uimage = $(CONFIG_SHELL) $(MKIMAGE) -A ppc -O linux -T kernel \
157+
-C gzip -a 00000000 -e 00000000 -n 'Linux-$(KERNELRELEASE)' \
158+
-d $< $@
159+
160+
MKIMAGE := $(srctree)/scripts/mkuboot.sh
161+
targets += uImage
162+
extra-y += vmlinux.bin vmlinux.gz
163+
164+
$(obj)/vmlinux.bin: vmlinux FORCE
165+
$(call if_changed,objbin)
166+
167+
$(obj)/vmlinux.gz: $(obj)/vmlinux.bin FORCE
168+
$(call if_changed,mygzip)
169+
170+
$(obj)/uImage: $(obj)/vmlinux.gz
171+
$(Q)rm -f $@
172+
$(call cmd,uimage)
173+
@echo -n ' Image: $@ '
174+
@if [ -f $@ ]; then echo 'is ready' ; else echo 'not made'; fi
175+
146176
install: $(CONFIGURE) $(BOOTIMAGE)
147177
sh -x $(srctree)/$(src)/install.sh "$(KERNELRELEASE)" vmlinux System.map "$(INSTALL_PATH)" "$(BOOTIMAGE)"
148178

0 commit comments

Comments
 (0)