[PATCH] [Y/master-next] [Config] armhf: generic: disable ARCH_ZX

Paolo Pisati paolo.pisati at canonical.com
Wed Sep 28 11:22:24 UTC 2016


ZTE's ZX are a family of processors, mostly used in set-top-boxes, and ARCH_ZX
is the corresponding machine option.
ARCH_ZX code is multiplatform ready, but it's not enabled in multi_v7_defconfig and by disabling it,
we avoid a non-fatal oops on the BeagleBone upon boot:

[    5.396243] Unable to handle kernel paging request at virtual address 44784651
[    5.403908] pgd = db7c4000
[    5.406771] [44784651] *pgd=00000000
[    5.410529] Internal error: Oops: 5 [#1] SMP ARM
[    5.415335] Modules linked in:
[    5.418522] CPU: 0 PID: 123 Comm: udevadm Not tainted 4.8.0-rc8-00651-g05f36f5 #17
[    5.426402] Hardware name: Generic AM33XX (Flattened Device Tree)
[    5.432745] task: db6ec000 task.stack: db6e0000
[    5.437474] PC is at kobject_uevent_env+0x1c/0x514
[    5.442467] LR is at uevent_store+0x38/0x44
[    5.446821] pc : [<c059bf34>]    lr : [<c07172d4>]    psr: 600e0013
[    5.446821] sp : db6e1ec8  ip : 44784641  fp : 00000003
[    5.458774] r10: da17dc8c  r9 : db6e1f80  r8 : db6d1080
[    5.464212] r7 : 00000000  r6 : 00000000  r5 : c10b25ec  r4 : 00000003
[    5.471006] r3 : 00000064  r2 : 00000000  r1 : 00000000  r0 : 44784641
[    5.477804] Flags: nZCv  IRQs on  FIQs on  Mode SVC_32  ISA ARM  Segment none
[    5.485233] Control: 10c5387d  Table: 9b7c4019  DAC: 00000051
[    5.491214] Process udevadm (pid: 123, stack limit = 0xdb6e0220)
[    5.497466] Stack: (0xdb6e1ec8 to 0xdb6e2000)
[    5.502004] 1ec0:                   00000003 c0428684 db6446d0 da90f880 c51b92f6 00000006
[    5.510523] 1ee0: db5f3039 db501280 00000000 da84bf68 da9982b0 00000101 00000001 00000003
[    5.519042] 1f00: c10b25ec 00000000 00000000 db6d1080 db6e1f80 da17dc8c 00000003 c07172d4
[    5.527560] 1f20: be8f9fa9 00000000 00000003 00000003 da17dc80 c047a60c 00000000 00000000
[    5.536078] 1f40: 00000003 da211b40 be8f9fa9 db6e1f80 be8f9fa9 00000003 00000000 c04199fc
[    5.544596] 1f60: 00000000 c04184b8 da211b40 da211b40 00000000 00000000 be8f9fa9 c041a750
[    5.553115] 1f80: 00000000 00000000 db6e0000 7f79c0c8 7f647088 7f647084 00000004 c0307ec4
[    5.561635] 1fa0: db6e0000 c0307d00 7f79c0c8 7f647088 00000003 be8f9fa9 00000003 000000ff
[    5.570153] 1fc0: 7f79c0c8 7f647088 7f647084 00000004 7f631440 b6fe1ce8 be8f9384 00000003
[    5.578671] 1fe0: 00000000 be8f936c 7f60592d b6ed14d6 200e0030 00000003 00000000 00000000
[    5.587204] [<c059bf34>] (kobject_uevent_env) from [<c07172d4>] (uevent_store+0x38/0x44)
[    5.595644] [<c07172d4>] (uevent_store) from [<c047a60c>] (kernfs_fop_write+0xc0/0x1e8)
[    5.603987] [<c047a60c>] (kernfs_fop_write) from [<c04199fc>] (vfs_write+0xa4/0x180)
[    5.612055] [<c04199fc>] (vfs_write) from [<c041a750>] (SyS_write+0x3c/0x90)
[    5.619406] [<c041a750>] (SyS_write) from [<c0307d00>] (ret_fast_syscall+0x0/0x3c)
[    5.627294] Code: ea000002 e59cc00c e35c0000 0a000040 (e59c7010)
[    5.633725] ---[ end trace 27a6bb72102d5188 ]---

We similarly disabled ARCH_ZX in Xenial (see ac955a7907cf2adb0409bbd1d719f8ba24bbaed6)

Paolo Pisati (1):
  UBUNTU: [Config] armhf: disable ARCH_ZX

 debian.master/config/config.common.ubuntu | 7 +------
 1 file changed, 1 insertion(+), 6 deletions(-)

-- 
2.7.4





More information about the kernel-team mailing list