Re: [ppc32] WARNING: CPU: 0 PID: 1 at ./include/linux/dma-mapping.h:516 dmam_alloc_coherent+0xd8/0x118
On Fri, Feb 02, 2018 at 07:06:14PM +0100, Mathieu Malaterre wrote: > On Fri, Feb 2, 2018 at 6:46 PM, Christoph Hellwig wrote: > > On Fri, Feb 02, 2018 at 02:11:33PM +0100, Mathieu Malaterre wrote: > >> Hi there, > >> > >> What is this warning all about (system is Mac Mini G4) ? Thanks > > > > What kernel version is this? > > I've synced with git/master this morning Ok, that means it is the warning for the lack of a coherent dma mask. Seems like the macio bus isn't setting a proper coherent mask.
Re: [ppc32] WARNING: CPU: 0 PID: 1 at ./include/linux/dma-mapping.h:516 dmam_alloc_coherent+0xd8/0x118
On Fri, Feb 2, 2018 at 6:46 PM, Christoph Hellwig wrote: > On Fri, Feb 02, 2018 at 02:11:33PM +0100, Mathieu Malaterre wrote: >> Hi there, >> >> What is this warning all about (system is Mac Mini G4) ? Thanks > > What kernel version is this? I've synced with git/master this morning $ uname -a Linux debian 4.15.0+ #335 Fri Feb 2 15:17:38 CET 2018 ppc GNU/Linux
Re: [ppc32] WARNING: CPU: 0 PID: 1 at ./include/linux/dma-mapping.h:516 dmam_alloc_coherent+0xd8/0x118
On Fri, Feb 02, 2018 at 02:11:33PM +0100, Mathieu Malaterre wrote: > Hi there, > > What is this warning all about (system is Mac Mini G4) ? Thanks What kernel version is this?
[ppc32] WARNING: CPU: 0 PID: 1 at ./include/linux/dma-mapping.h:516 dmam_alloc_coherent+0xd8/0x118
Hi there, What is this warning all about (system is Mac Mini G4) ? Thanks [3.265537] pata-macio 0.0002:ata-3: Activating pata-macio chipset KeyLargo ATA-3, Apple bus ID 0 [3.272686] WARNING: CPU: 0 PID: 1 at ./include/linux/dma-mapping.h:516 dmam_alloc_coherent+0xd8/0x118 [3.280031] Modules linked in: [3.283660] CPU: 0 PID: 1 Comm: swapper Not tainted 4.15.0+ #333 [3.287314] NIP: c0643f5c LR: c0643ec8 CTR: [3.290920] REGS: df4f1c00 TRAP: 0700 Not tainted (4.15.0+) [3.294499] MSR: 00029032 CR: 28228428 XER: 2000 [3.298056] GPR00: c0643ec8 df4f1cb0 df4ee940 de15de50 de15de5c GPR08: c08e4d88 24228484 c0004cc8 GPR16: c0c9 GPR24: c0b4fdd0 c0c3d6e0 de00beec 1020 014000c0 de15de50 de017c18 [3.315308] NIP [c0643f5c] dmam_alloc_coherent+0xd8/0x118 [3.318724] LR [c0643ec8] dmam_alloc_coherent+0x44/0x118 [3.322073] Call Trace: [3.325399] [df4f1cb0] [c0643ec8] dmam_alloc_coherent+0x44/0x118 (unreliable) [3.328858] [df4f1cd0] [c06a5f4c] pata_macio_port_start+0x48/0x98 [3.332294] [df4f1cf0] [c068b25c] ata_host_start.part.9+0x108/0x220 [3.335706] [df4f1d10] [c06912d8] ata_host_activate+0x70/0x15c [3.339084] [df4f1d30] [c06a6a8c] pata_macio_common_init+0x300/0x568 [3.342459] [df4f1d90] [c06a6ef4] pata_macio_attach+0xe4/0x18c [3.345862] [df4f1db0] [c06582bc] macio_device_probe+0x64/0xf8 [3.349218] [df4f1dd0] [c062c5e8] driver_probe_device+0x334/0x4b4 [3.352537] [df4f1e00] [c062c884] __driver_attach+0x11c/0x120 [3.355822] [df4f1e20] [c0629a14] bus_for_each_dev+0x70/0xc0 [3.359074] [df4f1e50] [c062b338] bus_add_driver+0x180/0x2dc [3.362277] [df4f1e70] [c062d620] driver_register+0x94/0x13c [3.365415] [df4f1e80] [c0b937f8] pata_macio_init+0x68/0x90 [3.368474] [df4f1ea0] [c0004af4] do_one_initcall+0x4c/0x178 [3.371471] [df4f1f00] [c0b50774] kernel_init_freeable+0x138/0x1d0 [3.374421] [df4f1f30] [c0004cec] kernel_init+0x24/0x118 [3.377337] [df4f1f40] [c0018304] ret_from_kernel_thread+0x5c/0x64 [3.380249] --- interrupt: 0 at (null) LR = (null) [3.385965] Instruction dump: [3.388713] 7fc4f378 7fe3fb78 93be0004 913e0008 939e 4bfecd79 7fa3eb78 80010024 [3.391513] bb61000c 38210020 7c0803a6 4e800020 <0fe0> 812a 2f89 409eff98 [3.394280] ---[ end trace a4431b67b2b33261 ]--- [3.397425] scsi host1: pata_macio