Commits added to powerpc.git next and master branches
Subsystems (3)
Anton Vorontsov (3):
of: Minor simplification for the of_parse_phandles_with_args()
of: of_parse_phandles_with_args() learns to differentiate 'hole' cells of/gpio: Implement of_gpio_count()
Benjamin Herrenschmidt (10):
powerpc/4xx: Extended DCR support v2
powerpc/mm: Split mmu_context handling
powerpc/mm: Rework context management for CPUs with no hash table powerpc/mm: Introduce MMU features
powerpc/mm: Add SMP support to no-hash TLB handling powerpc/mm: Split low level tlb invalidate for nohash processors powerpc/44x: No need to mask MSR:CE, ME or DE in _tlbil_va on 440 powerpc/mm: Runtime allocation of mmu context maps for nohash CPUs powerpc/mm: Rework usage of _PAGE_COHERENT/NO_CACHE/GUARDED powerpc/44x: 44x TLB doesn't need "Guarded" set for all pages
Brian King (2):
powerpc: Disable Collaborative Memory Manager for kdump
powerpc: Add reboot notifier to Collaborative Memory Manager
David Howells (1):
powerpc: Rename struct vm_region to avoid conflict with NOMMU
Grant Erickson (1):
powerpc: Const-qualify Device Node Argument to DCR Resource Extent API
Hendrik Brueckner (1):
hvc_console: Escape magic sysrq key
Nathan Lynch (3):
powerpc: Add of_find_next_cache_node()
powerpc: Convert cpu_to_l2cache() to of_find_next_cache_node()
powerpc: Convert sysfs cache code to of_find_next_cache_node()
Scott Wood (1):
powerpc/bootwrapper: Use the child-bus #address-cells to decide which range entry to use
Stephen Rothwell (1):
powerpc/iseries: viodasd needs to depend on CONFIG_BLOCK
Tony Breeds (2):
powerpc: Protect against NULL pointer deref in phyp-dump code
powerpc: Pass a valid token to rtas_call() in phyp-dump code
Hey Paul,
Top of your -next tree fails with a stack overflow on the MPC5200 when attempting to mount an NFS rootfs (log below). I haven't had a chance to bisect yet, but I'm posting this in case someone has already seen and solved this.
Cheers,
g.
Linux/PowerPC load: ip=192.168.0.64::192.168.0.1 nfsroot=192.168.0.200:/home/srv/nfs/gdc/efika-1,tcp rw console=ttyPSC0,115200 libata.force=udma2 Finalizing device tree... using OF tree (promptr=01003ed8) OF stdout device is: /failsafe
command line: ip=192.168.0.64::192.168.0.1 nfsroot=192.168.0.200:/home/srv/nfs/gdc/efika-1,tcp rw console=ttyPSC0,115200 libata.force=udma2
memory layout at init:
alloc_bottom : 01ba7000
alloc_top : 30000000
alloc_top_hi : f000c000
rmo_top : 30000000
ram_top : f000c000
Looking for displays
instantiating rtas at 0x07ffb000 ... done Applying EFIKA device tree fixups
Fixing bestcomm interrupts property
Adding sound interrupts property
Adding Ethernet MDIO node
Adding Ethernet PHY node
copying OF device tree ...
Building dt strings...
Building dt structure...
Device tree strings 0x01ba8000 -> 0x01ba87ae Device tree struct 0x01ba9000 -> 0x01bac000 Calling quiesce ...
returning from prom_init
psc_console=fdfe2000
[ 0.000000] Using Efika machine description [ 0.000000] Only using first contiguous memory region<5>Linux version 2.6.28-rc8-00225-gf06f0c2 (grant@trillian) (gcc version 4.1.2) #57 Sun Dec 21 01:59:34 MST 2008 [ 0.000000] console [udbg0] enabled [ 0.000000] Efika: PCI bus 0 controlled by /pci@80000000 [ 0.000000] [ 0.000000] PCI host bridge /pci@80000000 ranges: [ 0.000000] IO 0x00000000f8000000..0x00000000f800ffff -> 0x0000000000000000 [ 0.000000] MEM 0x0000000080000000..0x00000000bfffffff -> 0x0000000080000000 [ 0.000000] Top of RAM: 0x8000000, Total RAM: 0x8000000 [ 0.000000] Memory hole size: 0MB [ 0.000000] Zone PFN ranges: [ 0.000000] DMA 0x00000000 -> 0x00008000 [ 0.000000] Normal 0x00008000 -> 0x00008000 [ 0.000000] Movable zone start PFN for each node [ 0.000000] early_node_map[1] active PFN ranges [ 0.000000] 0: 0x00000000 -> 0x00008000 [ 0.000000] On node 0 totalpages: 32768 [ 0.000000] free_area_init_node: node 0, pgdat c0379b4c, node_mem_map c03a5000 [ 0.000000] DMA zone: 256 pages used for memmap [ 0.000000] DMA zone: 0 pages reserved [ 0.000000] DMA zone: 32512 pages, LIFO batch:7 [ 0.000000] Normal zone: 0 pages used for memmap [ 0.000000] Movable zone: 0 pages used for memmap [ 0.000000] Built 1 zonelists in Zone order, mobility grouping on. Total pages: 32512 [ 0.000000] Kernel command line: ip=192.168.0.64::192.168.0.1 nfsroot=192.168.0.200:/home/srv/nfs/gdc/efika-1,tcp rw console=ttyPSC0,115200 libata.force=udma2 [ 0.000000] MPC52xx PIC is up and running! [ 0.000000] PID hash table entries: 512 (order: 9, 2048 bytes) [ 0.000000] time_init: decrementer frequency = 33.000000 MHz [ 0.000000] time_init: processor frequency = 396.000000 MHz [ 0.000000] clocksource: timebase mult[79364d9] shift[22] registered [ 0.000000] clockevent: decrementer mult[872] shift[16] cpu[0] [ 0.012342] Console: colour dummy device 80x25 [ 0.022389] console handover: boot [udbg0] -> real [ttyPSC0] [ 0.022903] Dentry cache hash table entries: 16384 (order: 4, 65536 bytes) [ 0.035946] Inode-cache hash table entries: 8192 (order: 3, 32768 bytes) [ 0.061939] Memory: 125980k/131072k available (3420k kernel code, 4932k reserved, 144k data, 122k bss, 184k init) [ 0.072632] SLUB: Genslabs=12, HWalign=32, Order=0-3, MinObjects=0, CPUs=1, Nodes=1 [ 0.080527] Calibrating delay loop... 65.79 BogoMIPS (lpj=131584) [ 0.175504] Mount-cache hash table entries: 512 [ 0.185228] net_namespace: 288 bytes [ 0.189594] NET: Registered protocol family 16 [ 0.205009] PCI: Probing PCI hardware [ 0.209622] pci 0000:00:18.0: reg 10 io port: [0x1000-0x107f] [ 0.215597] pci 0000:00:18.0: reg 14 32bit mmio: [0x80000000-0x8000007f] [ 0.222715] pci 0000:00:18.0: reg 30 32bit mmio: [0x80020000-0x8003ffff] [ 0.229673] pci 0000:00:18.0: supports D1 D2 [ 0.234086] pci 0000:00:18.0: PME# supported from D0 D1 D2 D3hot D3cold [ 0.240899] pci 0000:00:18.0: PME# disabled [ 0.246731] bus: 00 index 0 io port: [0xfdfd0000-0xfdfdffff] [ 0.252580] bus: 00 index 1 mmio: [0x80000000-0xbfffffff] [ 0.258277] DMA: MPC52xx BestComm driver [ 0.262509] DMA: MPC52xx BestComm engine @f0001200 ok ! [ 0.295488] SCSI subsystem initialized [ 0.299714] libata version 3.00 loaded. [ 0.323846] Switched to high resolution mode on CPU 0 [ 0.330777] NET: Registered protocol family 2 [ 0.376005] IP route cache hash table entries: 1024 (order: 0, 4096 bytes) [ 0.383536] TCP established hash table entries: 4096 (order: 3, 32768 bytes) [ 0.391093] TCP bind hash table entries: 4096 (order: 2, 16384 bytes) [ 0.397898] TCP: Hash tables configured (established 4096 bind 4096) [ 0.404450] TCP reno registered [ 0.416069] NET: Registered protocol family 1 [ 0.459008] msgmni has been set to 246 [ 0.464366] alg: No test for stdrng (krng) [ 0.468759] io scheduler noop registered [ 0.472902] io scheduler anticipatory registered (default) [ 0.478563] io scheduler deadline registered [ 0.483162] io scheduler cfq registered [ 1.001144] Generic RTC Driver v1.07 [ 1.005815] Serial: MPC52xx PSC UART driver [ 1.010416] f0002000.serial: ttyPSC0 at MMIO 0xf0002000 (irq = 129) is a MPC52xx PSC [ 1.036995] brd: module loaded [ 1.048974] loop: module loaded [ 1.056105] mpc52xx MII bus: probed [ 1.061429] net eth0: Using PHY at MDIO address 16 [ 1.067254] Driver 'sd' needs updating - please use bus_type methods [ 1.074314] ata: MPC52xx IDE/ATA libata driver [ 1.079598] scsi0 : mpc52xx_ata [ 1.083744] ata1: PATA max PIO4 ata_regs 0xf0003a00 irq 135 [ 1.252244] ata1.00: ATA-4: TRANSCEND, 20070418, max UDMA/66 [ 1.258098] ata1.00: 994896 sectors, multi 0: LBA [ 1.263139] ata1.00: FORCE: xfer_mask set to udma2 [ 1.284181] ata1.00: configured for UDMA/33 [ 1.289209] scsi 0:0:0:0: Direct-Access ATA TRANSCEND 2007 PQ: 0 ANSI: 5 [ 1.299207] sd 0:0:0:0: [sda] 994896 512-byte hardware sectors: (509 MB/485 MiB) [ 1.307048] sd 0:0:0:0: [sda] Write Protect is off [ 1.312027] sd 0:0:0:0: [sda] Mode Sense: 00 3a 00 00 [ 1.317653] sd 0:0:0:0: [sda] Write cache: disabled, read cache: enabled, doesn't support DPO or FUA [ 1.327702] sd 0:0:0:0: [sda] 994896 512-byte hardware sectors: (509 MB/485 MiB) [ 1.335536] sd 0:0:0:0: [sda] Write Protect is off [ 1.340507] sd 0:0:0:0: [sda] Mode Sense: 00 3a 00 00 [ 1.346099] sd 0:0:0:0: [sda] Write cache: disabled, read cache: enabled, doesn't support DPO or FUA [ 1.355506] sda: sda1 [ 1.360460] sd 0:0:0:0: [sda] Attached SCSI disk [ 1.368173] mice: PS/2 mouse device common for all mice [ 1.374670] i2c /dev entries driver [ 1.381619] TCP cubic registered [ 1.385040] NET: Registered protocol family 17 [ 1.391136] RPC: Registered udp transport module. [ 1.396025] RPC: Registered tcp transport module. [ 1.912532] net eth0: attached phy 16 to driver Generic PHY [ 2.919875] IP-Config: Guessing netmask 255.255.255.0 [ 2.925414] IP-Config: Complete: [ 2.928599] device=eth0, addr=192.168.0.64, mask=255.255.255.0, gw=192.168.0.1, [ 2.936518] host=192.168.0.64, domain=, nis-domain=(none), [ 2.942608] bootserver=255.255.255.255, rootserver=192.168.0.200, rootpath= [ 2.950769] Looking up port of RPC 100003/2 on 192.168.0.200 [ 3.912011] PHY: f0003000:10 - Link is Up - 100/Full [ 4.258019] Looking up port of RPC 100005/1 on 192.168.0.200 [ 9.286978] VFS: Mounted root (nfs filesystem). [ 9.291906] Freeing unused kernel memory: 184k init [ 9.315799] Kernel stack overflow in process c7828000, r1=c7825b60 [ 9.322122] NIP: c0018028 LR: c0018064 CTR: 00000226 [ 9.327192] REGS: c7825ab0 TRAP: 0901 Not tainted (2.6.28-rc8-00225-gf06f0c2) [ 9.334740] MSR: 00009032 <EE,ME,IR,DR> CR: 48002022 XER: 00000000 [ 9.341245] TASK = c7828000[1] 'init' THREAD: c7826000 [ 9.346309] GPR00: 00000000 c7825b60 c7828000 c78ad520 c01da000 c0000000 c0000000 00000315 [ 9.354853] GPR08: 00356795 c0380000 c7a24000 00000001 c7826000 [ 9.361197] NIP [c0018028] _tlbia+0x14/0x20 [ 9.365470] LR [c0018064] tlb_flush+0x30/0x40 [ 9.369911] Call Trace: [ 9.372399] Instruction dump: [ 9.375424] 4185ffe4 7d400124 4c00012c 4e800020 7c001a64 7c0004ac 4e800020 7c0004ac [ 9.383344] 38800400 7c8903a6 3c80c000 7c002264 <38841000> 4200fff8 7c0004ac 9421fff0 [ 9.391445] Kernel panic - not syncing: kernel stack overflow [ 9.397309] Rebooting in 180 seconds..
Quoted 50 lines · Paul Mackerras
Anton Vorontsov (3):
of: Minor simplification for theof_parse_phandles_with_args()
of:of_parse_phandles_with_args()learns to differentiate 'hole' cells of/gpio: Implementof_gpio_count()Benjamin Herrenschmidt (10):
powerpc/4xx: Extended DCR support v2
powerpc/mm: Splitmmu_contexthandling
powerpc/mm: Rework context management for CPUs with no hash table powerpc/mm: Introduce MMU features
powerpc/mm: Add SMP support to no-hash TLB handling powerpc/mm: Split low level tlb invalidate for nohash processors powerpc/44x: No need to mask MSR:CE, ME or DE in_tlbil_vaon 440 powerpc/mm: Runtime allocation of mmu context maps for nohash CPUs powerpc/mm: Rework usage of _PAGE_COHERENT/NO_CACHE/GUARDED powerpc/44x: 44x TLB doesn't need "Guarded" set for all pagesBrian King (2):
powerpc: Disable Collaborative Memory Manager for kdump
powerpc: Add reboot notifier to Collaborative Memory ManagerDavid Howells (1):
powerpc: Rename structvm_regionto avoid conflict with NOMMUGrant Erickson (1):
powerpc: Const-qualify Device Node Argument to DCR Resource Extent APIHendrik Brueckner (1):
hvc_console: Escape magic sysrq keyNathan Lynch (3):
powerpc: Addof_find_next_cache_node()
powerpc: Convertcpu_to_l2cache()toof_find_next_cache_node()
powerpc: Convert sysfs cache code toof_find_next_cache_node()Scott Wood (1):
powerpc/bootwrapper: Use the child-bus #address-cells to decide which range entry to useStephen Rothwell (1):
powerpc/iseries: viodasd needs to depend onCONFIG_BLOCKTony Breeds (2):
powerpc: Protect against NULL pointer deref in phyp-dump code
powerpc: Pass a valid token tortas_call()in phyp-dump code_______________________________________________
Linuxppc-dev mailing list
[email protected]
https://ozlabs.org/mailman/listinfo/linuxppc-dev
Signature · 2 lines
Grant Likely, B.Sc., P.Eng. Secret Lab Technologies Ltd.
Quoted 8 lines · Grant Likely
Hey Paul,
Top of your -next tree fails with a stack overflow on the MPC5200 when attempting to mount an NFS rootfs (log below). I haven't had a chance to bisect yet, but I'm posting this in case someone has already seen and solved this.
From the NIP & LR values, it looks like it could be my fault.
MPC5200 is a 603 core right ?
Cheers,
Ben.
Quoted 235 lines
Cheers,
g.Linux/PowerPC load: ip=192.168.0.64::192.168.0.1 nfsroot=192.168.0.200:/home/srv/nfs/gdc/efika-1,tcp rw console=ttyPSC0,115200 libata.force=udma2 Finalizing device tree... using OF tree (promptr=01003ed8) OF stdout device is: /failsafe
command line: ip=192.168.0.64::192.168.0.1 nfsroot=192.168.0.200:/home/srv/nfs/gdc/efika-1,tcp rw console=ttyPSC0,115200 libata.force=udma2
memory layout at init:
alloc_bottom:01ba7000
alloc_top: 30000000
alloc_top_hi:f000c000
rmo_top: 30000000
ram_top:f000c000
Looking for displays
instantiating rtas at0x07ffb000... done Applying EFIKA device tree fixups
Fixing bestcomm interrupts property
Adding sound interrupts property
Adding Ethernet MDIO node
Adding Ethernet PHY node
copying OF device tree ...
Building dt strings...
Building dt structure...
Device tree strings0x01ba8000->0x01ba87aeDevice tree struct0x01ba9000->0x01bac000Calling quiesce ...
returning fromprom_init
psc_console=fdfe2000[ 0.000000] Using Efika machine description [ 0.000000] Only using first contiguous memory region<5>Linux version 2.6.28-rc8-00225-gf06f0c2 (grant@trillian) (gcc version 4.1.2) #57 Sun Dec 21 01:59:34 MST 2008 [ 0.000000] console [udbg0] enabled [ 0.000000] Efika: PCI bus 0 controlled by /pci@80000000 [ 0.000000] [ 0.000000] PCI host bridge /pci@80000000 ranges: [ 0.000000] IO 0x00000000f8000000..0x00000000f800ffff -> 0x0000000000000000 [ 0.000000] MEM 0x0000000080000000..0x00000000bfffffff -> 0x0000000080000000 [ 0.000000] Top of RAM: 0x8000000, Total RAM: 0x8000000 [ 0.000000] Memory hole size: 0MB [ 0.000000] Zone PFN ranges: [ 0.000000] DMA 0x00000000 -> 0x00008000 [ 0.000000] Normal 0x00008000 -> 0x00008000 [ 0.000000] Movable zone start PFN for each node [ 0.000000] early_node_map[1] active PFN ranges [ 0.000000] 0: 0x00000000 -> 0x00008000 [ 0.000000] On node 0 totalpages: 32768 [ 0.000000] free_area_init_node: node 0, pgdat c0379b4c, node_mem_map c03a5000 [ 0.000000] DMA zone: 256 pages used for memmap [ 0.000000] DMA zone: 0 pages reserved [ 0.000000] DMA zone: 32512 pages, LIFO batch:7 [ 0.000000] Normal zone: 0 pages used for memmap [ 0.000000] Movable zone: 0 pages used for memmap [ 0.000000] Built 1 zonelists in Zone order, mobility grouping on. Total pages: 32512 [ 0.000000] Kernel command line: ip=192.168.0.64::192.168.0.1 nfsroot=192.168.0.200:/home/srv/nfs/gdc/efika-1,tcp rw console=ttyPSC0,115200 libata.force=udma2 [ 0.000000] MPC52xx PIC is up and running! [ 0.000000] PID hash table entries: 512 (order: 9, 2048 bytes) [ 0.000000] time_init: decrementer frequency = 33.000000 MHz [ 0.000000] time_init: processor frequency = 396.000000 MHz [ 0.000000] clocksource: timebase mult[79364d9] shift[22] registered [ 0.000000] clockevent: decrementer mult[872] shift[16] cpu[0] [ 0.012342] Console: colour dummy device 80x25 [ 0.022389] console handover: boot [udbg0] -> real [ttyPSC0] [ 0.022903] Dentry cache hash table entries: 16384 (order: 4, 65536 bytes) [ 0.035946] Inode-cache hash table entries: 8192 (order: 3, 32768 bytes) [ 0.061939] Memory: 125980k/131072k available (3420k kernel code, 4932k reserved, 144k data, 122k bss, 184k init) [ 0.072632] SLUB: Genslabs=12, HWalign=32, Order=0-3, MinObjects=0, CPUs=1, Nodes=1 [ 0.080527] Calibrating delay loop... 65.79 BogoMIPS (lpj=131584) [ 0.175504] Mount-cache hash table entries: 512 [ 0.185228] net_namespace: 288 bytes [ 0.189594] NET: Registered protocol family 16 [ 0.205009] PCI: Probing PCI hardware [ 0.209622] pci 0000:00:18.0: reg 10 io port: [0x1000-0x107f] [ 0.215597] pci 0000:00:18.0: reg 14 32bit mmio: [0x80000000-0x8000007f] [ 0.222715] pci 0000:00:18.0: reg 30 32bit mmio: [0x80020000-0x8003ffff] [ 0.229673] pci 0000:00:18.0: supports D1 D2 [ 0.234086] pci 0000:00:18.0: PME# supported from D0 D1 D2 D3hot D3cold [ 0.240899] pci 0000:00:18.0: PME# disabled [ 0.246731] bus: 00 index 0 io port: [0xfdfd0000-0xfdfdffff] [ 0.252580] bus: 00 index 1 mmio: [0x80000000-0xbfffffff] [ 0.258277] DMA: MPC52xx BestComm driver [ 0.262509] DMA: MPC52xx BestComm engine @f0001200 ok ! [ 0.295488] SCSI subsystem initialized [ 0.299714] libata version 3.00 loaded. [ 0.323846] Switched to high resolution mode on CPU 0 [ 0.330777] NET: Registered protocol family 2 [ 0.376005] IP route cache hash table entries: 1024 (order: 0, 4096 bytes) [ 0.383536] TCP established hash table entries: 4096 (order: 3, 32768 bytes) [ 0.391093] TCP bind hash table entries: 4096 (order: 2, 16384 bytes) [ 0.397898] TCP: Hash tables configured (established 4096 bind 4096) [ 0.404450] TCP reno registered [ 0.416069] NET: Registered protocol family 1 [ 0.459008] msgmni has been set to 246 [ 0.464366] alg: No test for stdrng (krng) [ 0.468759] io scheduler noop registered [ 0.472902] io scheduler anticipatory registered (default) [ 0.478563] io scheduler deadline registered [ 0.483162] io scheduler cfq registered [ 1.001144] Generic RTC Driver v1.07 [ 1.005815] Serial: MPC52xx PSC UART driver [ 1.010416] f0002000.serial: ttyPSC0 at MMIO 0xf0002000 (irq = 129) is a MPC52xx PSC [ 1.036995] brd: module loaded [ 1.048974] loop: module loaded [ 1.056105] mpc52xx MII bus: probed [ 1.061429] net eth0: Using PHY at MDIO address 16 [ 1.067254] Driver 'sd' needs updating - please use bus_type methods [ 1.074314] ata: MPC52xx IDE/ATA libata driver [ 1.079598] scsi0 : mpc52xx_ata [ 1.083744] ata1: PATA max PIO4 ata_regs 0xf0003a00 irq 135 [ 1.252244] ata1.00: ATA-4: TRANSCEND, 20070418, max UDMA/66 [ 1.258098] ata1.00: 994896 sectors, multi 0: LBA [ 1.263139] ata1.00: FORCE: xfer_mask set to udma2 [ 1.284181] ata1.00: configured for UDMA/33 [ 1.289209] scsi 0:0:0:0: Direct-Access ATA TRANSCEND 2007 PQ: 0 ANSI: 5 [ 1.299207] sd 0:0:0:0: [sda] 994896 512-byte hardware sectors: (509 MB/485 MiB) [ 1.307048] sd 0:0:0:0: [sda] Write Protect is off [ 1.312027] sd 0:0:0:0: [sda] Mode Sense: 00 3a 00 00 [ 1.317653] sd 0:0:0:0: [sda] Write cache: disabled, read cache: enabled, doesn't support DPO or FUA [ 1.327702] sd 0:0:0:0: [sda] 994896 512-byte hardware sectors: (509 MB/485 MiB) [ 1.335536] sd 0:0:0:0: [sda] Write Protect is off [ 1.340507] sd 0:0:0:0: [sda] Mode Sense: 00 3a 00 00 [ 1.346099] sd 0:0:0:0: [sda] Write cache: disabled, read cache: enabled, doesn't support DPO or FUA [ 1.355506] sda: sda1 [ 1.360460] sd 0:0:0:0: [sda] Attached SCSI disk [ 1.368173] mice: PS/2 mouse device common for all mice [ 1.374670] i2c /dev entries driver [ 1.381619] TCP cubic registered [ 1.385040] NET: Registered protocol family 17 [ 1.391136] RPC: Registered udp transport module. [ 1.396025] RPC: Registered tcp transport module. [ 1.912532] net eth0: attached phy 16 to driver Generic PHY [ 2.919875] IP-Config: Guessing netmask 255.255.255.0 [ 2.925414] IP-Config: Complete: [ 2.928599] device=eth0, addr=192.168.0.64, mask=255.255.255.0, gw=192.168.0.1, [ 2.936518] host=192.168.0.64, domain=, nis-domain=(none), [ 2.942608] bootserver=255.255.255.255, rootserver=192.168.0.200, rootpath= [ 2.950769] Looking up port of RPC 100003/2 on 192.168.0.200 [ 3.912011] PHY: f0003000:10 - Link is Up - 100/Full [ 4.258019] Looking up port of RPC 100005/1 on 192.168.0.200 [ 9.286978] VFS: Mounted root (nfs filesystem). [ 9.291906] Freeing unused kernel memory: 184k init [ 9.315799] Kernel stack overflow in process c7828000, r1=c7825b60 [ 9.322122] NIP: c0018028 LR: c0018064 CTR: 00000226 [ 9.327192] REGS: c7825ab0 TRAP: 0901 Not tainted (2.6.28-rc8-00225-gf06f0c2) [ 9.334740] MSR: 00009032 <EE,ME,IR,DR> CR: 48002022 XER: 00000000 [ 9.341245] TASK = c7828000[1] 'init' THREAD: c7826000 [ 9.346309] GPR00: 00000000 c7825b60 c7828000 c78ad520 c01da000 c0000000 c0000000 00000315 [ 9.354853] GPR08: 00356795 c0380000 c7a24000 00000001 c7826000 [ 9.361197] NIP [c0018028] _tlbia+0x14/0x20 [ 9.365470] LR [c0018064] tlb_flush+0x30/0x40 [ 9.369911] Call Trace: [ 9.372399] Instruction dump: [ 9.375424] 4185ffe4 7d400124 4c00012c 4e800020 7c001a64 7c0004ac 4e800020 7c0004ac [ 9.383344] 38800400 7c8903a6 3c80c000 7c002264 <38841000> 4200fff8 7c0004ac 9421fff0 [ 9.391445] Kernel panic - not syncing: kernel stack overflow [ 9.397309] Rebooting in 180 seconds..Quoted 50 lines · Paul Mackerras
Anton Vorontsov (3):
of: Minor simplification for theof_parse_phandles_with_args()
of:of_parse_phandles_with_args()learns to differentiate 'hole' cells of/gpio: Implementof_gpio_count()Benjamin Herrenschmidt (10):
powerpc/4xx: Extended DCR support v2
powerpc/mm: Splitmmu_contexthandling
powerpc/mm: Rework context management for CPUs with no hash table powerpc/mm: Introduce MMU features
powerpc/mm: Add SMP support to no-hash TLB handling powerpc/mm: Split low level tlb invalidate for nohash processors powerpc/44x: No need to mask MSR:CE, ME or DE in_tlbil_vaon 440 powerpc/mm: Runtime allocation of mmu context maps for nohash CPUs powerpc/mm: Rework usage of _PAGE_COHERENT/NO_CACHE/GUARDED powerpc/44x: 44x TLB doesn't need "Guarded" set for all pagesBrian King (2):
powerpc: Disable Collaborative Memory Manager for kdump
powerpc: Add reboot notifier to Collaborative Memory ManagerDavid Howells (1):
powerpc: Rename structvm_regionto avoid conflict with NOMMUGrant Erickson (1):
powerpc: Const-qualify Device Node Argument to DCR Resource Extent APIHendrik Brueckner (1):
hvc_console: Escape magic sysrq keyNathan Lynch (3):
powerpc: Addof_find_next_cache_node()
powerpc: Convertcpu_to_l2cache()toof_find_next_cache_node()
powerpc: Convert sysfs cache code toof_find_next_cache_node()Scott Wood (1):
powerpc/bootwrapper: Use the child-bus #address-cells to decide which range entry to useStephen Rothwell (1):
powerpc/iseries: viodasd needs to depend onCONFIG_BLOCKTony Breeds (2):
powerpc: Protect against NULL pointer deref in phyp-dump code
powerpc: Pass a valid token tortas_call()in phyp-dump code_______________________________________________
Linuxppc-dev mailing list
[email protected]
https://ozlabs.org/mailman/listinfo/linuxppc-dev
Quoted 11 lines · Benjamin Herrenschmidt
Quoted 8 lines · Grant Likely
Hey Paul,
Top of your -next tree fails with a stack overflow on the MPC5200 when attempting to mount an NFS rootfs (log below). I haven't had a chance to bisect yet, but I'm posting this in case someone has already seen and solved this.
From the NIP & LR values, it looks like it could be my fault.
MPC5200 is a 603 core right ?
Yes
g.
Signature · 2 lines
Grant Likely, B.Sc., P.Eng. Secret Lab Technologies Ltd.
Quoted 11 lines · Benjamin Herrenschmidt
Quoted 8 lines · Grant Likely
Hey Paul,
Top of your -next tree fails with a stack overflow on the MPC5200 when attempting to mount an NFS rootfs (log below). I haven't had a chance to bisect yet, but I'm posting this in case someone has already seen and solved this.
From the NIP & LR values, it looks like it could be my fault.
MPC5200 is a 603 core right ?
Looks like a brown paper bag for me.
Try this:
arch/powerpc/mm/hash_low_32.S +1 -0
@@ -709,3 +709,4 @@ _GLOBAL(_tlbia) tlbia sync #endif /* CONFIG_SMP */ + blr
Quoted 9 lines · Benjamin Herrenschmidt
Quoted 8 lines · Benjamin Herrenschmidt
Quoted 6 lines · Grant Likely
Hey Paul,
Top of your -next tree fails with a stack overflow on the MPC5200 when attempting to mount an NFS rootfs (log below). I haven't had a chance to bisect yet, but I'm posting this in case someone has already seen and solved this.
Quoted 7 lines
Quoted 3 lines
Quoted 1 line
From the NIP & LR values, it looks like it could be my fault.
MPC5200 is a 603 core right ?
Looks like a brown paper bag for me.
Try this:
Yup, that solved it. Committed into my tree and pushed out for Paulus to pick it up.
Thanks,
g.
Signature · 2 lines
Grant Likely, B.Sc., P.Eng. Secret Lab Technologies Ltd.
Hi Paul,
Here are a few more for you. These are all the MPC5200 patches that I've currently got in my queue and they are based off of your current -next tree.
The first commit is Ben's fix for the missing blr instruction in _tlbia() which is critical to get in ASAP.
Thanks,
g.
The following changes since commit 49e6e3f1aec2d46f5865d3ada38fe9a5d660ef5d= :
Scott Wood (1):
powerpc/bootwrapper: Use the child-bus #address-cells to
decide which range entry to use
are available in the git repository at:
git://git.secretlab.ca/git/linux-2.6-mpc52xx next
Benjamin Herrenschmidt (1):
powerpc: Fix missing 'blr' in _tlbia()
Grant Likely (4):
powerpc/mpc5200: Document and tidy irq driver powerpc/mpc5200: Make internal 5200 PIC the default interrupt control=
ler
powerpc/mpc5200: Bugfix on handling variable sized buffer descriptors powerpc/mpc5200: Disable bestcomm prefetching when ATA DMA enabled
Ren=E9 B=FCrgel (1):
powerpc/mpc5200: Make PSC UART driver update serial errors counters
Tim Yamin (2):
powerpc/mpc5200: Bestcomm fixes to ATA support powerpc/mpc5200: Add MDMA/UDMA support to MPC5200 ATA driver
Wolfram Sang (3):
powerpc/mpc5200: Remove obsolete code from mpc5200 MDIO driver powerpc/mpc5200: add rts/cts handling in PSC UART driver powerpc/mpc5200: fix error paths in PSC UART probe function
arch/powerpc/include/asm/mpc52xx.h | 19 + arch/powerpc/include/asm/mpc52xx_psc.h | 11 +- arch/powerpc/mm/hash_low_32.S | 1 + arch/powerpc/platforms/52xx/lite5200_pm.c | 1 - arch/powerpc/platforms/52xx/mpc52xx_pic.c | 237 ++++++++--- arch/powerpc/platforms/52xx/mpc52xx_pic.h | 53 --- arch/powerpc/platforms/52xx/mpc52xx_pm.c | 3 - arch/powerpc/sysdev/bestcomm/ata.c | 3 + arch/powerpc/sysdev/bestcomm/ata.h | 19 +- arch/powerpc/sysdev/bestcomm/bestcomm.c | 7 +- arch/powerpc/sysdev/bestcomm/bestcomm.h | 61 ++- arch/powerpc/sysdev/bestcomm/bestcomm_priv.h | 20 +- drivers/ata/Kconfig | 3 +- drivers/ata/pata_mpc52xx.c | 546 ++++++++++++++++++++++= +--- drivers/net/fec_mpc52xx_phy.c | 5 +- drivers/serial/mpc52xx_uart.c | 74 +++- 16 files changed, 817 insertions(+), 246 deletions(-) delete mode 100644 arch/powerpc/platforms/52xx/mpc52xx_pic.h
Quoted 3 lines · Paul Mackerras
Anton Vorontsov (3):
of: Minor simplification for theof_parse_phandles_with_args()
of:of_parse_phandles_with_args()learns to differentiate 'hole' cel=
ls
Quoted 18 lines
of/gpio: Implement
of_gpio_count()Benjamin Herrenschmidt (10):
powerpc/4xx: Extended DCR support v2
powerpc/mm: Splitmmu_contexthandling
powerpc/mm: Rework context management for CPUs with no hash table powerpc/mm: Introduce MMU features
powerpc/mm: Add SMP support to no-hash TLB handling powerpc/mm: Split low level tlb invalidate for nohash processors powerpc/44x: No need to mask MSR:CE, ME or DE in_tlbil_vaon 440 powerpc/mm: Runtime allocation of mmu context maps for nohash CPUs powerpc/mm: Rework usage of _PAGE_COHERENT/NO_CACHE/GUARDED powerpc/44x: 44x TLB doesn't need "Guarded" set for all pagesBrian King (2):
powerpc: Disable Collaborative Memory Manager for kdump
powerpc: Add reboot notifier to Collaborative Memory Manager
Quoted 5 lines
David Howells (1):
powerpc: Rename structvm_regionto avoid conflict with NOMMUGrant Erickson (1):
powerpc: Const-qualify Device Node Argument to DCR Resource Extent A=
PI
Quoted 11 lines
Hendrik Brueckner (1):
hvc_console: Escape magic sysrq keyNathan Lynch (3):
powerpc: Addof_find_next_cache_node()
powerpc: Convertcpu_to_l2cache()toof_find_next_cache_node()
powerpc: Convert sysfs cache code toof_find_next_cache_node()Scott Wood (1):
powerpc/bootwrapper: Use the child-bus #address-cells to decide whic=
h range entry to use
Quoted 4 lines
Stephen Rothwell (1):
powerpc/iseries: viodasd needs to depend onCONFIG_BLOCK
Quoted 9 lines
Tony Breeds (2):
powerpc: Protect against NULL pointer deref in phyp-dump code
powerpc: Pass a valid token tortas_call()in phyp-dump code_______________________________________________
Linuxppc-dev mailing list
[email protected]
https://ozlabs.org/mailman/listinfo/linuxppc-dev
--=20
Grant Likely, B.Sc., P.Eng.
Secret Lab Technologies Ltd.
Quoted 6 lines · Grant Likely
Here are a few more for you. These are all the MPC5200 patches that I've currently got in my queue and they are based off of your current -next tree.
The first commit is Ben's fix for the missing blr instruction in
_tlbia()which is critical to get in ASAP.
Thanks, pulled and pushed out.
Paul.
Hello Grant,
Quoted 4 lines · Grant Likely
Wolfram Sang (3):
powerpc/mpc5200: Remove obsolete code from mpc5200 MDIO driver powerpc/mpc5200: add rts/cts handling in PSC UART driver powerpc/mpc5200: fix error paths in PSC UART probe function
Thanks a lot! Can you also pick up this one, too. It seems to have slipped out.
http://oldpatchwork.ozlabs.org/linuxppc-embedded/patch?id=21061
Regards,
Wolfram
Signature · 2 lines
Dipl.-Ing. Wolfram Sang | http://www.pengutronix.de Pengutronix - Linux Solutions for Science and Industry
cover please pull from cell next branch
In reply to Paul MackerrasHi Paul,
here are my 2 pending patches I have queued up for 2.6.29, please add them to your next branch or pull directly from
git://git.kernel.org/pub/scm/linux/kernel/git/arnd/cell-2.6.git next
Arnd <><
PATCH 1/2 powerpc/cell: fix build breakage with CONFIG_SPUFS disabled
In reply to Paul MackerrasCBE_THERM and OPROFILE_CELL both cannot be built without SPU_FS disabled, so make the dependency explicit.
--- arch/powerpc/platforms/cell/Kconfig | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-)
arch/powerpc/platforms/cell/Kconfig +2 -2
@@ -102,7 +102,7 @@ config PPC_IBM_CELL_POWERBUTTON config CBE_THERM tristate "CBE thermal support" default m - depends on CBE_RAS + depends on CBE_RAS && SPU_BASE config CBE_CPUFREQ tristate "CBE frequency scaling"
@@ -136,5 +136,5 @@ endmenu config OPROFILE_CELL def_bool y - depends on PPC_CELL_NATIVE && (OPROFILE = m || OPROFILE = y) + depends on PPC_CELL_NATIVE && (OPROFILE = m || OPROFILE = y) && SPU_BASE
Signature · 3 lines
1.5.6.3 --
PATCH 2/2 powerpc/cell: add QPACE as a separate Cell platform
In reply to Paul MackerrasSince the QPACE (Chromodynamics Parallel Computing on the Cell Broadband Engine) platform doesn't use a iommu, doesn't have PCI devices and a MPIC much lesser setup and configurations are needed. So far all devices are detected as OF device. A notifier function is used to set the dma_ops for the of_platform bus. Further this patch splits the PPC_CELL_NATIVE into PPC_CELL_COMMON which are parts that are shared with the QPACE platform and the rest.
--- arch/powerpc/boot/Makefile | 1 + arch/powerpc/platforms/cell/Kconfig | 19 +++-- arch/powerpc/platforms/cell/Makefile | 17 ++-- arch/powerpc/platforms/cell/qpace_setup.c | 152 +++++++++++++++++++++++++++++ drivers/edac/Kconfig | 2 +- 5 files changed, 175 insertions(+), 16 deletions(-) create mode 100644 arch/powerpc/platforms/cell/qpace_setup.c
arch/powerpc/boot/Makefile +1 -0
@@ -194,6 +194,7 @@ image-$(CONFIG_PPC_MAPLE) += zImage.pseries image-$(CONFIG_PPC_IBM_CELL_BLADE) += zImage.pseries image-$(CONFIG_PPC_PS3) += dtbImage.ps3 image-$(CONFIG_PPC_CELLEB) += zImage.pseries +image-$(CONFIG_PPC_CELL_QPACE) += zImage.pseries image-$(CONFIG_PPC_CHRP) += zImage.chrp image-$(CONFIG_PPC_EFIKA) += zImage.chrp image-$(CONFIG_PPC_PMAC) += zImage.pmac
arch/powerpc/platforms/cell/Kconfig +12 -7
@@ -2,13 +2,18 @@ config PPC_CELL bool default n -config PPC_CELL_NATIVE +config PPC_CELL_COMMON bool select PPC_CELL select PPC_DCR_MMIO - select PPC_OF_PLATFORM_PCI select PPC_INDIRECT_IO select PPC_NATIVE + select PPC_RTAS + +config PPC_CELL_NATIVE + bool + select PPC_CELL_COMMON + select PPC_OF_PLATFORM_PCI select MPIC select IBM_NEW_EMAC_EMAC4 select IBM_NEW_EMAC_RGMII
@@ -20,7 +25,6 @@ config PPC_IBM_CELL_BLADE bool "IBM Cell Blade" depends on PPC_MULTIPLATFORM && PPC64 select PPC_CELL_NATIVE - select PPC_RTAS select MMIO_NVRAM select PPC_UDBG_16550 select UDBG_RTAS_CONSOLE
@@ -28,16 +32,17 @@ config PPC_IBM_CELL_BLADE config PPC_CELLEB bool "Toshiba's Cell Reference Set 'Celleb' Architecture" depends on PPC_MULTIPLATFORM && PPC64 - select PPC_CELL select PPC_CELL_NATIVE - select PPC_RTAS - select PPC_INDIRECT_IO - select PPC_OF_PLATFORM_PCI select HAS_TXX9_SERIAL select PPC_UDBG_BEAT select USB_OHCI_BIG_ENDIAN_MMIO select USB_EHCI_BIG_ENDIAN_MMIO +config PPC_CELL_QPACE + bool "IBM Cell - QPACE" + depends on PPC_MULTIPLATFORM && PPC64 + select PPC_CELL_COMMON + menu "Cell Broadband Engine options" depends on PPC_CELL
arch/powerpc/platforms/cell/Makefile +9 -8
@@ -1,7 +1,7 @@ -obj-$(CONFIG_PPC_CELL_NATIVE) += interrupt.o iommu.o setup.o \ - cbe_regs.o spider-pic.o \ - pervasive.o pmu.o io-workarounds.o \ - spider-pci.o +obj-$(CONFIG_PPC_CELL_COMMON) += cbe_regs.o interrupt.o pervasive.o + +obj-$(CONFIG_PPC_CELL_NATIVE) += iommu.o setup.o spider-pic.o \ + pmu.o io-workarounds.o spider-pci.o obj-$(CONFIG_CBE_RAS) += ras.o obj-$(CONFIG_CBE_THERM) += cbe_thermal.o
@@ -14,13 +14,12 @@ obj-$(CONFIG_PPC_IBM_CELL_POWERBUTTON) += cbe_powerbutton.o ifeq ($(CONFIG_SMP),y) obj-$(CONFIG_PPC_CELL_NATIVE) += smp.o +obj-$(CONFIG_PPC_CELL_QPACE) += smp.o endif # needed only when building loadable spufs.ko -spu-priv1-$(CONFIG_PPC_CELL_NATIVE) += spu_priv1_mmio.o - -spu-manage-$(CONFIG_PPC_CELLEB) += spu_manage.o -spu-manage-$(CONFIG_PPC_CELL_NATIVE) += spu_manage.o +spu-priv1-$(CONFIG_PPC_CELL_COMMON) += spu_priv1_mmio.o +spu-manage-$(CONFIG_PPC_CELL_COMMON) += spu_manage.o obj-$(CONFIG_SPU_BASE) += spu_callbacks.o spu_base.o \ spu_notify.o \
@@ -31,6 +30,8 @@ obj-$(CONFIG_SPU_BASE) += spu_callbacks.o spu_base.o \ obj-$(CONFIG_PCI_MSI) += axon_msi.o +# qpace setup +obj-$(CONFIG_PPC_CELL_QPACE) += qpace_setup.o # celleb stuff ifeq ($(CONFIG_PPC_CELLEB),y)
arch/powerpc/platforms/cell/qpace_setup.c new file +152 -0
152 lines not on this page · raw message
drivers/edac/Kconfig +1 -1
@@ -161,7 +161,7 @@ config EDAC_PASEMI config EDAC_CELL tristate "Cell Broadband Engine memory controller" - depends on EDAC_MM_EDAC && PPC_CELL_NATIVE + depends on EDAC_MM_EDAC && PPC_CELL_COMMON help Support for error detection and correction on the Cell Broadband Engine internal memory controller
Signature · 3 lines
1.5.6.3 --
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
"Paul" == Paul Mackerras <[email protected]> writes:
Hi,
I still don't see 'make udbg 16550 boot console configurable for EMBEDDED' (http://patchwork.ozlabs.org/patch/15441/) - Please consider.
Signature · 1 line
Bye, Peter Korsgaard