mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* RE: Domain faults when CONFIG_CPU_SW_DOMAIN_PAN is enabled
@ 2015-12-03  8:33 Peter Rosin
  2015-12-03 11:00 ` Russell King - ARM Linux
  0 siblings, 1 reply; 19+ messages in thread
From: Peter Rosin @ 2015-12-03  8:33 UTC (permalink / raw)
  To: Russell King (rmk+kernel@arm.linux.org.uk)
  Cc: 'linux-arm-kernel@lists.infradead.org',
	'linux-kernel@vger.kernel.org'

I wrote:
> If I enable CONFIG_CPU_SW_DOMAIN_PAN, I sometimes (but not always) get the
> following (or very similar) on boot.

I should have said "if I don't disable", as the option is "default y".

Also, if it survives on boot, below is an example of later trouble (after 30+ minutes on
this occasion).

Cheers,
Peter

Unhandled fault: page domain fault (0x81b) at 0x00190f40
pgd = c2890000
[00190f40] *pgd=22f96831, *pte=21d9934f, *ppte=21d9983f
Internal error: : 81b [#1] ARM
Modules linked in:
CPU: 0 PID: 970 Comm: tse Not tainted 4.3.0+ #29
Hardware name: Atmel SAMA5
task: c3957480 ti: c2d62000 task.ti: c2d62000
PC is at memcpy+0x50/0x330
LR is at 0x0
pc : [<c01daff0>]    lr : [<00000000>]    psr: 80070013
sp : c2d63de4  ip : 00000000  fp : 00000000
r10: 00000000  r9 : 00000084  r8 : 00000000
r7 : 00000000  r6 : 1e6602e3  r5 : 00000000  r4 : 00000003
r3 : 00000002  r2 : ffffffe4  r1 : c2d63e4c  r0 : 00190f40
Flags: Nzcv  IRQs on  FIQs on  Mode SVC_32  ISA ARM  Segment none
Control: 10c53c7d  Table: 22890059  DAC: 00000051
Process tse (pid: 970, stack limit = 0xc2d62208)
Stack: (0xc2d63de4 to 0xc2d64000)
3de0:          00000000 c2d62000 00000000 c2d63e2c 00190f40 00190f40 c01e76c4
3e00: c2f96640 c2fee874 00000000 00190f40 00000051 00000000 c2f7f000 c2ebd000
3e20: c3be3800 c0389620 400a0013 00000002 00000003 00000000 1e6602e3 00000000
3e40: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
3e60: 00000000 00000000 00000000 00000000 1e66a56c 000015f9 00000000 00000000
3e80: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
3ea0: 00000000 00000000 00000000 00000000 c3be3800 00190f40 c3a281c0 0000000e
3ec0: 00190f40 c038aa6c 00000001 c3be3800 b611b948 00001194 00000000 b5ffed8c
3ee0: c2d62000 c3be3800 00190f40 c3a281c0 0000000e 00190f40 c2d62000 00000000
3f00: 00000000 c038b704 00190f40 00000000 b611b948 00001194 c0844123 00190f40
3f20: c3be1c60 c3a281c0 0000000e 00190f40 c2d62000 c00a8b38 00000000 00000000
3f40: c2f14018 00000000 0000000d 00000000 b5ffedc0 00000000 0000000d 00000000
3f60: b5ffedc0 c00aa5dc 00000000 00000000 00190e10 c3a281c1 0000000e c3a281c0
3f80: c0844123 00190f40 c2d62000 c00a8d54 00190e10 00190dc0 00000000 00000036
3fa0: c0010224 c0010060 00190e10 00190dc0 0000000e c0844123 00190f40 00000000
3fc0: 00190e10 00190dc0 00000000 00000036 00000001 00000001 00000000 00000000
3fe0: b6c974a8 b5ffed7c b6c3d98d b6b2dc26 200a0030 0000000e 00000000 00000000
[<c01daff0>] (memcpy) from [<c01e76c4>] (__copy_to_user_memcpy+0x138/0x17c)
[<c01e76c4>] (__copy_to_user_memcpy) from [<c0389620>] (snd_pcm_sync_ptr+0x18c/0x1d0)
[<c0389620>] (snd_pcm_sync_ptr) from [<c038aa6c>] (snd_pcm_common_ioctl1+0x428/0xe4c)
[<c038aa6c>] (snd_pcm_common_ioctl1) from [<c038b704>] (snd_pcm_playback_ioctl1+0x274/0x5d4)
[<c038b704>] (snd_pcm_playback_ioctl1) from [<c00a8b38>] (do_vfs_ioctl+0x468/0x650)
[<c00a8b38>] (do_vfs_ioctl) from [<c00a8d54>] (SyS_ioctl+0x34/0x5c)
[<c00a8d54>] (SyS_ioctl) from [<c0010060>] (ret_fast_syscall+0x0/0x3c)
Code: f5d1f05c f5d1f07c e8b151f8 e2522020 (e8a051f8)
---[ end trace 680c06373934b76e ]---

^ permalink raw reply	[flat|nested] 19+ messages in thread
* Domain faults when CONFIG_CPU_SW_DOMAIN_PAN is enabled
@ 2015-12-03  7:43 Peter Rosin
  0 siblings, 0 replies; 19+ messages in thread
From: Peter Rosin @ 2015-12-03  7:43 UTC (permalink / raw)
  To: Russell King (rmk+kernel@arm.linux.org.uk)
  Cc: 'linux-arm-kernel@lists.infradead.org',
	'linux-kernel@vger.kernel.org'

Hi!

If I enable CONFIG_CPU_SW_DOMAIN_PAN, I sometimes (but not always) get the
following (or very similar) on boot.

Cheers,
Peter

Unhandled fault: page domain fault (0x81b) at 0x00086578
pgd = c2810000
[00086578] *pgd=22819831, *pte=224fe34f, *ppte=224fe83f
Internal error: : 81b [#1] ARM
Modules linked in:
CPU: 0 PID: 907 Comm: ntpd Not tainted 4.3.0+ #29
Hardware name: Atmel SAMA5
task: c398dac0 ti: c2804000 task.ti: c2804000
PC is at memcpy+0x50/0x330
LR is at 0x1
pc : [<c01daff0>]    lr : [<00000001>]    psr: 80070013
sp : c2805ed4  ip : 00000007  fp : 000d3808
r10: 00000000  r9 : 00000080  r8 : 00000001
r7 : 00000010  r6 : 00000010  r5 : 003f7374  r4 : 00000000
r3 : 00000002  r2 : ffffffe0  r1 : c2805f38  r0 : 00086578
Flags: Nzcv  IRQs on  FIQs on  Mode SVC_32  ISA ARM  Segment none
Control: 10c53c7d  Table: 22810059  DAC: 00000051
Process ntpd (pid: 907, stack limit = 0xc2804208)
Stack: (0xc2805ed4 to 0xc2806000)
5ec0:                                              00000000 c2804000 00000000
5ee0: c2805f18 00086578 00086578 c01e76c4 c2819218 c2ff3b74 000d4344 00086578
5f00: 00000000 00000051 0000007c c0010224 c2804000 c004c988 00000002 00000000
5f20: 003f7374 00000010 00000010 00000001 00000007 00000001 01f40000 565ff060
5f40: 000183ef 00002710 00000000 00000000 00000000 00000000 00000000 00000000
5f60: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
5f80: 00000000 00000000 00000000 00000000 00000000 00000000 000d3968 0005e38f
5fa0: 000d4344 c0010060 000d3968 0005e38f 00086578 00000000 ffffffff 00000001
5fc0: 000d3968 0005e38f 000d4344 0000007c 000d3814 00000001 000d4338 000d3808
5fe0: 00081e7c bec558b4 00026d3d b6d09126 00000030 00086578 009e3675 2a090bb6
[<c01daff0>] (memcpy) from [<c01e76c4>] (__copy_to_user_memcpy+0x138/0x17c)
[<c01e76c4>] (__copy_to_user_memcpy) from [<c004c988>] (SyS_adjtimex+0xd4/0xf0)
[<c004c988>] (SyS_adjtimex) from [<c0010060>] (ret_fast_syscall+0x0/0x3c)
Code: f5d1f05c f5d1f07c e8b151f8 e2522020 (e8a051f8)
---[ end trace 04981945a3df2e5e ]---


^ permalink raw reply	[flat|nested] 19+ messages in thread

end of thread, other threads:[~2015-12-30 16:59 UTC | newest]

Thread overview: 19+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-12-03  8:33 Domain faults when CONFIG_CPU_SW_DOMAIN_PAN is enabled Peter Rosin
2015-12-03 11:00 ` Russell King - ARM Linux
2015-12-03 11:38   ` Peter Rosin
2015-12-03 11:51     ` Russell King - ARM Linux
2015-12-03 12:08       ` Peter Rosin
2015-12-03 13:37         ` Russell King - ARM Linux
2015-12-03 16:12           ` Peter Rosin
2015-12-03 16:41             ` Russell King - ARM Linux
2015-12-03 17:27               ` Russell King - ARM Linux
2015-12-03 18:28                 ` Nicolas Pitre
2015-12-05 13:41                   ` Russell King - ARM Linux
2015-12-03 21:37                 ` Peter Rosin
2015-12-10  0:22                   ` Russell King - ARM Linux
2015-12-10 15:29                     ` Peter Rosin
2015-12-10 16:20                       ` Russell King - ARM Linux
2015-12-10 18:32                         ` Peter Rosin
2015-12-30 16:51                         ` Peter Rosin
2015-12-30 16:57                         ` Peter Rosin
  -- strict thread matches above, loose matches on Subject: below --
2015-12-03  7:43 Peter Rosin

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®