[PATCH] video: fbdev: use memset_io() instead of memset()
Michael Ellerman
patch-notifications at ellerman.id.au
Mon Oct 11 23:06:45 AEDT 2021
On Wed, 15 Sep 2021 15:34:35 +0200, Christophe Leroy wrote:
> While investigating a lockup at startup on Powerbook 3400C, it was
> identified that the fbdev driver generates alignment exception at
> startup:
>
> --- interrupt: 600 at memset+0x60/0xc0
> NIP: c0021414 LR: c03fc49c CTR: 00007fff
> REGS: ca021c10 TRAP: 0600 Tainted: G W (5.14.2-pmac-00727-g12a41fa69492)
> MSR: 00009032 <EE,ME,IR,DR,RI> CR: 44008442 XER: 20000100
> DAR: cab80020 DSISR: 00017c07
> GPR00: 00000007 ca021cd0 c14412e0 cab80000 00000000 00100000 cab8001c 00000004
> GPR08: 00100000 00007fff 00000000 00000000 84008442 00000000 c0006fb4 00000000
> GPR16: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00100000
> GPR24: 00000000 81800000 00000320 c15fa400 c14d1878 00000000 c14d1800 c094e19c
> NIP [c0021414] memset+0x60/0xc0
> LR [c03fc49c] chipsfb_pci_init+0x160/0x580
> --- interrupt: 600
> [ca021cd0] [c03fc46c] chipsfb_pci_init+0x130/0x580 (unreliable)
> [ca021d20] [c03a3a70] pci_device_probe+0xf8/0x1b8
> [ca021d50] [c043d584] really_probe.part.0+0xac/0x388
> [ca021d70] [c043d914] __driver_probe_device+0xb4/0x170
> [ca021d90] [c043da18] driver_probe_device+0x48/0x144
> [ca021dc0] [c043e318] __driver_attach+0x11c/0x1c4
> [ca021de0] [c043ad30] bus_for_each_dev+0x88/0xf0
> [ca021e10] [c043c724] bus_add_driver+0x190/0x22c
> [ca021e40] [c043ee94] driver_register+0x9c/0x170
> [ca021e60] [c0006c28] do_one_initcall+0x54/0x1ec
> [ca021ed0] [c08246e4] kernel_init_freeable+0x1c0/0x270
> [ca021f10] [c0006fdc] kernel_init+0x28/0x11c
> [ca021f30] [c0017148] ret_from_kernel_thread+0x14/0x1c
> Instruction dump:
> 7d4601a4 39490777 7d4701a4 39490888 7d4801a4 39490999 7d4901a4 39290aaa
> 7d2a01a4 4c00012c 4bfffe88 0fe00000 <4bfffe80> 9421fff0 38210010 48001970
>
> [...]
Applied to powerpc/next.
[1/1] video: fbdev: use memset_io() instead of memset()
https://git.kernel.org/powerpc/c/f2719b26ae27282c145202ffd656d5ff1fe737cc
cheers
More information about the Linuxppc-dev
mailing list