[PATCH] PPC64: Fix non-LPAR IOMMU table allocation on pSeries

Michael Ellerman michael at ellerman.id.au
Thu Aug 11 11:01:04 EST 2005


On Wed, 10 Aug 2005 13:24, Olof Johansson wrote:
> Hi,
>
> This is for the 2.6.14 feed. I wouldn't recommend pushing it into
> 2.6.13 due to risk of regressing some box that I don't have access to
> for testing.
>
> I'd appreciate it if people with pre-POWER5, non-LPAR machines would give
> this a go on their boxes and let me know if something falls apart. It's
> been tested on an F80 and a p650 (SMP mode) here. p615 and p630 have
> been sore spots in the past.
>

Boots fine on my 44P (7044-170), it's triggering the Python with ISA case:

zImage starting: loaded at 0x400000
Allocating 0x98c000 bytes for kernel ...
gunzipping (0x1400000 <- 0x407000:0x6e4bbf)...done 0x7fb8e0 bytes
0xe3dc bytes of heap consumed, max in use 0xa234
OF stdout device is: /pci at fef00000/isa at b/serial at i3f8
command line: devfs=nomount root=/dev/sdb2
memory layout at init:
  memory_limit : 0000000000000000 (16 MB aligned)
  alloc_bottom : 0000000001ca0000
  alloc_top    : 0000000020000000
  alloc_top_hi : 0000000020000000
  rmo_top      : 0000000020000000
  ram_top      : 0000000020000000
Looking for displays
found display   : /pci at fef00000/display at 11, opening ... done
opening PHB /pci at fef00000... done
opening PHB /pci at fee00000... done
instantiating rtas at 0x000000001efb5000 ... done
0000000000000000 : boot cpu     0000000000000000
copying OF device tree ...
Building dt strings...
Building dt structure...
Device tree strings 0x0000000001da1000 -> 0x0000000001da2039
Device tree struct  0x0000000001da3000 -> 0x0000000001da9000
Calling quiesce ...
returning from prom_init
firmware_features = 0x0
Starting Linux PPC64 2.6.13-rc6-kexec
-----------------------------------------------------
ppc64_pft_size                = 0x17
ppc64_debug_switch            = 0x0
ppc64_interrupt_controller    = 0x1
systemcfg                     = 0xc000000000570000
systemcfg->platform           = 0x100
systemcfg->processorCount     = 0x1
systemcfg->physicalMemorySize = 0x20000000
ppc64_caches.dcache_line_size = 0x80
ppc64_caches.icache_line_size = 0x80
htab_address                  = 0xc00000001e000000
htab_hash_mask                = 0xffff
-----------------------------------------------------
[boot]0100 MM Init
[boot]0100 MM Init Done
Linux version 2.6.13-rc6-kexec (michael at concordia) (gcc version 3.4.2) #4 SMP T5
[boot]0012 Setup Arch
Top of RAM: 0x20000000, Total RAM: 0x20000000
Memory hole size: 0MB
Syscall map setup, 245 32 bits and 221 64 bits syscalls
mpic: Setting up MPIC " MPIC     " version 1.2 at ffc00000, max 8 CPUs
mpic: ISU size: 16, shift: 4, mask: f
No ramdisk, default root is /dev/sda2
Python workaround: reg0: 18e3388
Python workaround: reg0: 18eb788
PPC64 nvram contains 110592 bytes
Using default idle loop
[boot]0015 Setup Done
Built 1 zonelists
Kernel command line: devfs=nomount root=/dev/sdb2
mpic: Initializing for 32 sources
mpic: Detected reversed IPI registers
PID hash table entries: 4096 (order: 12, 131072 bytes)
time_init: decrementer frequency = 95.140136 MHz
time_init: processor frequency   = 333.000000 MHz
firmware_features = 0x0
Starting Linux PPC64 2.6.13-rc6-kexec
-----------------------------------------------------
ppc64_pft_size                = 0x17
ppc64_debug_switch            = 0x0
ppc64_interrupt_controller    = 0x1
systemcfg                     = 0xc000000000570000
systemcfg->platform           = 0x100
systemcfg->processorCount     = 0x1
systemcfg->physicalMemorySize = 0x20000000
ppc64_caches.dcache_line_size = 0x80
ppc64_caches.icache_line_size = 0x80
htab_address                  = 0xc00000001e000000
htab_hash_mask                = 0xffff
-----------------------------------------------------
[boot]0100 MM Init
[boot]0100 MM Init Done
Linux version 2.6.13-rc6-kexec (michael at concordia) (gcc version 3.4.2) #4 SMP T5
[boot]0012 Setup Arch
Top of RAM: 0x20000000, Total RAM: 0x20000000
Memory hole size: 0MB
Syscall map setup, 245 32 bits and 221 64 bits syscalls
mpic: Setting up MPIC " MPIC     " version 1.2 at ffc00000, max 8 CPUs
mpic: ISU size: 16, shift: 4, mask: f
No ramdisk, default root is /dev/sda2
Python workaround: reg0: 18e3388
Python workaround: reg0: 18eb788
PPC64 nvram contains 110592 bytes
Using default idle loop
[boot]0015 Setup Done
Built 1 zonelists
Kernel command line: devfs=nomount root=/dev/sdb2
mpic: Initializing for 32 sources
mpic: Detected reversed IPI registers
PID hash table entries: 4096 (order: 12, 131072 bytes)
time_init: decrementer frequency = 95.140136 MHz
time_init: processor frequency   = 333.000000 MHz
Console: colour dummy device 80x25
Dentry cache hash table entries: 131072 (order: 8, 1048576 bytes)
Inode-cache hash table entries: 65536 (order: 7, 524288 bytes)
freeing bootmem node 0
Memory: 477528k/524288k available (4540k kernel code, 46760k reserved, 2552k da)
Mount-cache hash table entries: 256
device-tree: property "l2-cache" name conflicts with node in /cpus/PowerPC,POWE0
Brought up 1 CPUs
NET: Registered protocol family 16
PCI: Probing PCI hardware
iommu_bus_setup_pSeries, bus c00000000ffe5c00, bus->self 0000000000000000
Python root bus 
PHB has isa bus, reserving 256MB
IOMMU table initialized, virtual merging enabled
iommu_dev_setup_pSeries, dev c00000000ff92800 (Symphony Labs W83C553)
iommu_dev_setup_pSeries, dev c00000000ff92000 (LSI Logic / Symbios Logic 53C896)
iommu_dev_setup_pSeries, dev c00000000ff98800 (LSI Logic / Symbios Logic 53C896)
iommu_dev_setup_pSeries, dev c00000000ff98000 (Advanced Micro Devices [AMD] 79c)
iommu_dev_setup_pSeries, dev c00000000ff99800 (Matrox Graphics, Inc. MGA G200)
iommu_bus_setup_pSeries, bus c00000000ffe5800, bus->self 0000000000000000
Python root bus 
mapping IO f8000000 -> d000010000000000, size: 1000000
mapping IO f9000000 -> d000010001000000, size: 1000000
ISA bridge at 0000:00:0b.0
PCI: Probing PCI hardware done
SCSI subsystem initialized
usbcore: registered new driver usbfs
usbcore: registered new driver hub
i/pSeries Real Time Clock Driver v1.1
RTAS daemon started
audit: initializing netlink socket (disabled)
audit(1123721342.074:1): initialized
Total HugeTLB memory allocated, 0
Installing knfsd (copyright (C) 1996 okir at monad.swb.de).
Initializing Cryptographic API
matroxfb: Matrox MGA-G200 (PCI) detected
matroxfb: BIOS on your Matrox device does not contain powerup info
matroxfb: 640x480x8bpp (virtual: 640x3276)
matroxfb: framebuffer at 0xC0000000, mapped to 0xd000010080211000, size 2097152
Console: switching to colour frame buffer device 80x30
fb0: MATROX frame buffer device
HVSI: registered 0 devices
serio: i8042 AUX port at 0x60,0x64 irq 12
serio: i8042 KBD port at 0x60,0x64 irq 1
Serial: 8250/16550 driver $Revision: 1.90 $ 4 ports, IRQ sharing disabled
ttyS0 at I/O 0x3f8 (irq = 4) is a 16550A
ttyS1 at I/O 0x2f8 (irq = 3) is a 16550A
ttyS2 at I/O 0x898 (irq = 15) is a 16550A
io scheduler noop registered
io scheduler anticipatory registered
io scheduler deadline registered
io scheduler cfq registered
RAMDISK driver initialized: 16 RAM disks of 65536K size 1024 blocksize
loop: loaded (max 8 devices)
Intel(R) PRO/1000 Network Driver - version 6.0.60-k2
Copyright (c) 1999-2005 Intel Corporation.
pcnet32.c:v1.30j 29.04.2005 tsbogend at alpha.franken.de
pcnet32: PCnet/FAST 79C971 at 0xfff400, 00 09 6b de 34 6b
    tx_start_pt(0x0c00):~220 bytes, BCR18(68e2):BurstWrEn BurstRdEn DWordIO NoU 
    SRAMSIZE=0x7f00, SRAM_BND=0x4000, assigned IRQ 18.
eth0: registered as PCnet/FAST 79C971
pcnet32: 1 cards_found.
e100: Intel(R) PRO/100 Network Driver, 3.4.8-k2-NAPI
e100: Copyright(c) 1999-2005 Intel Corporation
/home/michael/src/kernel/work/drivers/net/ibmveth.c: ibmveth: IBM i/pSeries Vir3
netconsole: not configured, aborting
Uniform Multi-Platform E-IDE driver Revision: 7.00alpha2
ide: Assuming 33MHz system bus speed for PIO modes; override with idebus=xx
sym0: <896> rev 0x7 at pci 0000:00:0c.0 irq 20
sym0: No NVRAM, ID 7, Fast-40, SE, parity checking
sym0: SCSI BUS has been reset.
scsi0 : sym-2.2.1
  Vendor: IBM       Model: CDRM00203     !K  Rev: 1_05
  Type:   CD-ROM                             ANSI SCSI revision: 02
 target0:0:1: Beginning Domain Validation
 target0:0:1: asynchronous.
 target0:0:1: wide asynchronous.
 target0:0:1: Domain Validation skipping write tests
 target0:0:1: FAST-20 WIDE SCSI 40.0 MB/s ST (50 ns, offset 15)
 target0:0:1: Ending Domain Validation
 target0:0:4: FAST-20 WIDE SCSI 40.0 MB/s ST (50 ns, offset 31)
  Vendor: IBM       Model: DDYS-T09170N      Rev: S96F
  Type:   Direct-Access                      ANSI SCSI revision: 03
 target0:0:4: tagged command queuing enabled, command queue depth 16.

etc.

-- 
Michael Ellerman
IBM OzLabs

email: michael:ellerman.id.au
inmsg: mpe:jabber.org
wwweb: http://michael.ellerman.id.au
phone: +61 2 6212 1183 (tie line 70 21183)

We do not inherit the earth from our ancestors,
we borrow it from our children. - S.M.A.R.T Person
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : http://ozlabs.org/pipermail/linuxppc64-dev/attachments/20050811/b0b621b9/attachment.pgp 


More information about the Linuxppc64-dev mailing list