diff options
12 files changed, 4 insertions, 1411 deletions
diff --git a/conf/machine/include/imx-base.inc b/conf/machine/include/imx-base.inc index 8bab75b6e..4f1b04199 100644 --- a/conf/machine/include/imx-base.inc +++ b/conf/machine/include/imx-base.inc | |||
| @@ -290,13 +290,13 @@ PREFERRED_VERSION_optee-test_mx8 ?= "3.2.0.imx" | |||
| 290 | IMX_DEFAULT_KERNEL = "linux-imx" | 290 | IMX_DEFAULT_KERNEL = "linux-imx" |
| 291 | IMX_DEFAULT_KERNEL_mxs = "linux-fslc" | 291 | IMX_DEFAULT_KERNEL_mxs = "linux-fslc" |
| 292 | IMX_DEFAULT_KERNEL_mx5 = "linux-fslc" | 292 | IMX_DEFAULT_KERNEL_mx5 = "linux-fslc" |
| 293 | IMX_DEFAULT_KERNEL_mx6 = "linux-fslc-imx" | 293 | IMX_DEFAULT_KERNEL_mx6 = "linux-imx" |
| 294 | IMX_DEFAULT_KERNEL_mx7 = "linux-fslc-imx" | 294 | IMX_DEFAULT_KERNEL_mx7 = "linux-imx" |
| 295 | IMX_DEFAULT_KERNEL_mx8 = "linux-imx" | 295 | IMX_DEFAULT_KERNEL_mx8 = "linux-imx" |
| 296 | IMX_DEFAULT_KERNEL_mx7ulp = "linux-imx" | 296 | IMX_DEFAULT_KERNEL_mx7ulp = "linux-imx" |
| 297 | IMX_DEFAULT_KERNEL_mx6sll = "linux-imx" | 297 | IMX_DEFAULT_KERNEL_mx6sll = "linux-imx" |
| 298 | IMX_DEFAULT_KERNEL_mx6ul = "linux-fslc-imx" | 298 | IMX_DEFAULT_KERNEL_mx6ul = "linux-imx" |
| 299 | IMX_DEFAULT_KERNEL_mx6ull = "linux-fslc-imx" | 299 | IMX_DEFAULT_KERNEL_mx6ull = "linux-imx" |
| 300 | IMX_DEFAULT_KERNEL_use-mainline-bsp = "linux-fslc" | 300 | IMX_DEFAULT_KERNEL_use-mainline-bsp = "linux-fslc" |
| 301 | 301 | ||
| 302 | PREFERRED_PROVIDER_virtual/kernel ??= "${IMX_DEFAULT_KERNEL}" | 302 | PREFERRED_PROVIDER_virtual/kernel ??= "${IMX_DEFAULT_KERNEL}" |
diff --git a/recipes-kernel/linux/linux-fslc-imx-rt/0001-fix-build.patch b/recipes-kernel/linux/linux-fslc-imx-rt/0001-fix-build.patch deleted file mode 100644 index 4be4066d6..000000000 --- a/recipes-kernel/linux/linux-fslc-imx-rt/0001-fix-build.patch +++ /dev/null | |||
| @@ -1,71 +0,0 @@ | |||
| 1 | Fix build errors when RT patch is applied | ||
| 2 | |||
| 3 | Upstream-Status: Inappropriate [other] | ||
| 4 | Freescale does not support the RT patch | ||
| 5 | |||
| 6 | Signed-off-by: Jacob Kroon <jacob.kroon@mikrodidakt.se> | ||
| 7 | Signed-off-by: Dominic Sacré <dominic.sacre@gmx.de> [updated for 3.14.28] | ||
| 8 | |||
| 9 | diff --git a/drivers/mxc/gpu-viv/hal/os/linux/kernel/gc_hal_kernel_os.c b/drivers/mxc/gpu-viv/hal/os/linux/kernel/gc_hal_kernel_os.c | ||
| 10 | index 2ec98dc..5d0b7df 100644 | ||
| 11 | --- a/drivers/mxc/gpu-viv/hal/os/linux/kernel/gc_hal_kernel_os.c | ||
| 12 | +++ b/drivers/mxc/gpu-viv/hal/os/linux/kernel/gc_hal_kernel_os.c | ||
| 13 | @@ -7344,7 +7344,7 @@ gckOS_WaitSignal( | ||
| 14 | |||
| 15 | might_sleep(); | ||
| 16 | |||
| 17 | - spin_lock_irq(&signal->obj.wait.lock); | ||
| 18 | + raw_spin_lock_irq(&signal->obj.wait.lock); | ||
| 19 | |||
| 20 | if (signal->obj.done) | ||
| 21 | { | ||
| 22 | @@ -7366,9 +7366,8 @@ gckOS_WaitSignal( | ||
| 23 | ? MAX_SCHEDULE_TIMEOUT | ||
| 24 | : Wait * HZ / 1000; | ||
| 25 | |||
| 26 | - DECLARE_WAITQUEUE(wait, current); | ||
| 27 | - wait.flags |= WQ_FLAG_EXCLUSIVE; | ||
| 28 | - __add_wait_queue_tail(&signal->obj.wait, &wait); | ||
| 29 | + DEFINE_SWAITER(wait); | ||
| 30 | + swait_prepare_locked(&signal->obj.wait, &wait); | ||
| 31 | |||
| 32 | while (gcvTRUE) | ||
| 33 | { | ||
| 34 | @@ -7380,9 +7379,9 @@ gckOS_WaitSignal( | ||
| 35 | } | ||
| 36 | |||
| 37 | __set_current_state(TASK_INTERRUPTIBLE); | ||
| 38 | - spin_unlock_irq(&signal->obj.wait.lock); | ||
| 39 | + raw_spin_unlock_irq(&signal->obj.wait.lock); | ||
| 40 | timeout = schedule_timeout(timeout); | ||
| 41 | - spin_lock_irq(&signal->obj.wait.lock); | ||
| 42 | + raw_spin_lock_irq(&signal->obj.wait.lock); | ||
| 43 | |||
| 44 | if (signal->obj.done) | ||
| 45 | { | ||
| 46 | @@ -7403,10 +7402,10 @@ gckOS_WaitSignal( | ||
| 47 | } | ||
| 48 | } | ||
| 49 | |||
| 50 | - __remove_wait_queue(&signal->obj.wait, &wait); | ||
| 51 | + swait_finish_locked(&signal->obj.wait, &wait); | ||
| 52 | } | ||
| 53 | |||
| 54 | - spin_unlock_irq(&signal->obj.wait.lock); | ||
| 55 | + raw_spin_unlock_irq(&signal->obj.wait.lock); | ||
| 56 | |||
| 57 | OnError: | ||
| 58 | /* Return status. */ | ||
| 59 | diff --git a/include/linux/imx_sema4.h b/include/linux/imx_sema4.h | ||
| 60 | index 9787980..3586199 100644 | ||
| 61 | --- a/include/linux/imx_sema4.h | ||
| 62 | +++ b/include/linux/imx_sema4.h | ||
| 63 | @@ -9,6 +9,8 @@ | ||
| 64 | #ifndef __LINUX_IMX_SEMA4_H__ | ||
| 65 | #define __LINUX_IMX_SEMA4_H__ | ||
| 66 | |||
| 67 | +#include <linux/wait.h> | ||
| 68 | + | ||
| 69 | #define SEMA4_NUM_DEVICES 1 | ||
| 70 | #define SEMA4_NUM_GATES 16 | ||
| 71 | |||
diff --git a/recipes-kernel/linux/linux-fslc-imx-rt/0002-no-split-ptlocks.patch b/recipes-kernel/linux/linux-fslc-imx-rt/0002-no-split-ptlocks.patch deleted file mode 100644 index 40c012a51..000000000 --- a/recipes-kernel/linux/linux-fslc-imx-rt/0002-no-split-ptlocks.patch +++ /dev/null | |||
| @@ -1,85 +0,0 @@ | |||
| 1 | Work around the oops below by disabling split ptlocks | ||
| 2 | |||
| 3 | Upstream-Status: Inappropriate [disable feature] | ||
| 4 | |||
| 5 | Signed-off-by: Jacob Kroon <jacob.kroon@mikrodidakt.se> | ||
| 6 | Signed-off-by: Dominic Sacré <dominic.sacre@gmx.de> [updated for 3.14.28] | ||
| 7 | |||
| 8 | Unable to handle kernel NULL pointer dereference at virtual address 00000000 | ||
| 9 | pgd = ac5a8000 | ||
| 10 | [00000000] *pgd=3c8db831, *pte=00000000, *ppte=00000000 | ||
| 11 | Internal error: Oops: 17 [#1] PREEMPT SMP ARM | ||
| 12 | Modules linked in: | ||
| 13 | CPU: 1 PID: 277 Comm: test-qt5 Not tainted 3.10.17-rt12-monkey+gec1af9f #2 | ||
| 14 | task: ac65df80 ti: ac968000 task.ti: ac968000 | ||
| 15 | PC is at _raw_spin_lock+0x10/0x4c | ||
| 16 | LR is at get_parent_ip+0x10/0x2c | ||
| 17 | pc : [<80623fd4>] lr : [<8004ef18>] psr: 60010013 | ||
| 18 | sp : ac969c38 ip : 80c44404 fp : 00000000 | ||
| 19 | r10: ac65df80 r9 : ac969cd8 r8 : 00000000 | ||
| 20 | r7 : 00000054 r6 : afffe000 r5 : 00000000 r4 : 00000000 | ||
| 21 | r3 : ac65df80 r2 : 00000001 r1 : 00000000 r0 : 00000000 | ||
| 22 | Flags: nZCv IRQs on FIQs on Mode SVC_32 ISA ARM Segment user | ||
| 23 | Control: 10c53c7d Table: 3c5a804a DAC: 00000015 | ||
| 24 | Process test-qt5 (pid: 277, stack limit = 0xac968238) | ||
| 25 | Stack: (0xac969c38 to 0xac96a000) | ||
| 26 | 9c20: b00549a8 806235e0 | ||
| 27 | 9c40: 00000000 ac968000 812f9a00 80017cec ac969c74 fffffffe 00000000 00005000 | ||
| 28 | 9c60: 00000000 80017e6c ac968000 ac65df80 00000000 00000000 00000001 ac968001 | ||
| 29 | 9c80: ac65df80 b00549a8 00000000 afffe000 00000054 00000000 ac969cd8 afffe150 | ||
| 30 | 9ca0: b0054bf8 8044e540 ac969cd8 b00549a8 ac0b8180 00000230 ac8fd000 00000230 | ||
| 31 | 9cc0: 00000000 8044f6f4 ac155700 ac969cf4 ac155700 804605b8 ac155700 ac969d8c | ||
| 32 | 9ce0: 00000002 ac969d24 b0054bf8 804607f4 7ef1fcd0 80450078 ac0b8180 ac155700 | ||
| 33 | 9d00: ac969d8c 00000002 ac8fd000 8045f1a0 ac969d24 00000000 ac8fd01c b00549a8 | ||
| 34 | 9d20: b0050000 00000008 ac969d98 ac0b8300 ac969d8c 00000115 ac969d98 ac969e00 | ||
| 35 | 9d40: ac155600 ac3985f0 7ef1fcd0 8045661c 00000115 00000000 00000001 00000000 | ||
| 36 | 9d60: 00007530 80454144 80c32e18 00000001 81518e18 806237dc 00000001 ac968038 | ||
| 37 | 9d80: 00000000 00000000 00000000 00000000 00000115 806237dc ac6f5688 ac968018 | ||
| 38 | 9da0: 812e1640 00000000 00000001 ac968000 ac969dc4 8004efe4 ac968008 ac39a000 | ||
| 39 | 9dc0: ac744400 ac968020 00007530 ac968000 ac968000 ac3985f0 7ef1fcd0 8044d374 | ||
| 40 | 9de0: 7ef1fd20 00000000 000000f8 00000000 7ef1fd20 00000000 000000f8 00000000 | ||
| 41 | 9e00: 00000028 00000002 00000000 6437d1dd 7ef1fddc 76f9c030 7ef1fd88 76fb9abc | ||
| 42 | 9e20: 00000320 00005007 e02c7eca c1399eff 020fb2db 00000000 00000000 00000000 | ||
| 43 | 9e40: 00000001 00000040 00000400 00000004 00000010 00000400 00000002 00000100 | ||
| 44 | 9e60: 00000100 00000008 00000008 00000000 ffffffff 00000000 7588e180 76fb1000 | ||
| 45 | 9e80: 08000000 00000000 00000000 76fb11b8 000000af 760b6cd8 ffffffff 7431d4c0 | ||
| 46 | 9ea0: 000cb1ac 75889000 00000000 00000001 000000b0 00000000 00000000 76fa0da0 | ||
| 47 | 9ec0: 00000000 00000001 00000001 00000000 00000000 7588cb40 00000001 75957ecc | ||
| 48 | 9ee0: 00000001 7ef1fe7c 75953e94 7ef1fedc 00000002 76fa789c 00007530 ac6813c0 | ||
| 49 | 9f00: 00000000 7ef1fcd0 ac6813c0 ac968000 ac3985f0 800d68fc 00000001 ac968000 | ||
| 50 | 9f20: ac969f34 8004efe4 ac4f71d4 6c31d000 00000000 80623fd4 00000000 80623578 | ||
| 51 | 9f40: ac4f71d4 800a3d40 00000001 00000000 ac969f5c 00000003 ac6813c8 00000000 | ||
| 52 | 9f60: 00000001 00007530 00000003 00000000 7ef1fcd0 ac6813c0 ac968000 00000000 | ||
| 53 | 9f80: 00000000 800d6afc ac4f7180 00000000 00002710 00007530 75957e40 00000036 | ||
| 54 | 9fa0: 8000e2c4 8000e140 00002710 00007530 00000003 00007530 7ef1fcd0 01bc3008 | ||
| 55 | 9fc0: 00002710 00007530 75957e40 00000036 01bd2e70 00000001 7ef1fd20 00000000 | ||
| 56 | 9fe0: 759540c4 7ef1fcbc 7593f698 760a0ccc 20010010 00000003 00000000 00000000 | ||
| 57 | [<80623fd4>] (_raw_spin_lock+0x10/0x4c) from [<806235e0>] (rt_spin_lock_slowlock+0x34/0x29c) | ||
| 58 | [<806235e0>] (rt_spin_lock_slowlock+0x34/0x29c) from [<8044e540>] (_QueryProcessPageTable+0x8c/0xdc) | ||
| 59 | [<8044e540>] (_QueryProcessPageTable+0x8c/0xdc) from [<8044f6f4>] (gckOS_GetPhysicalAddress+0x20/0x58) | ||
| 60 | [<8044f6f4>] (gckOS_GetPhysicalAddress+0x20/0x58) from [<804605b8>] (gckHARDWARE_ConvertLogical+0x2c/0x90) | ||
| 61 | [<804605b8>] (gckHARDWARE_ConvertLogical+0x2c/0x90) from [<804607f4>] (gckHARDWARE_Link+0x60/0x104) | ||
| 62 | [<804607f4>] (gckHARDWARE_Link+0x60/0x104) from [<8045f1a0>] (gckCONTEXT_Construct+0x264/0x2bc) | ||
| 63 | [<8045f1a0>] (gckCONTEXT_Construct+0x264/0x2bc) from [<8045661c>] (gckCOMMAND_Attach+0x44/0x88) | ||
| 64 | [<8045661c>] (gckCOMMAND_Attach+0x44/0x88) from [<80454144>] (gckKERNEL_Dispatch+0x358/0x12c8) | ||
| 65 | [<80454144>] (gckKERNEL_Dispatch+0x358/0x12c8) from [<8044d374>] (drv_ioctl+0x120/0x284) | ||
| 66 | [<8044d374>] (drv_ioctl+0x120/0x284) from [<800d68fc>] (do_vfs_ioctl+0x408/0x5d0) | ||
| 67 | [<800d68fc>] (do_vfs_ioctl+0x408/0x5d0) from [<800d6afc>] (SyS_ioctl+0x38/0x64) | ||
| 68 | [<800d6afc>] (SyS_ioctl+0x38/0x64) from [<8000e140>] (ret_fast_syscall+0x0/0x30) | ||
| 69 | Code: e92d4010 e1a04000 e3a00001 ebe8abd7 (e1943f9f) | ||
| 70 | ---[ end trace 0000000000000002 ]--- | ||
| 71 | note: test-qt5[277] exited with preempt_count 1 | ||
| 72 | |||
| 73 | diff --git a/include/linux/mm_types.h b/include/linux/mm_types.h | ||
| 74 | index 6c1dc6c..8c00faf 100644 | ||
| 75 | --- a/include/linux/mm_types.h | ||
| 76 | +++ b/include/linux/mm_types.h | ||
| 77 | @@ -24,7 +24,7 @@ | ||
| 78 | |||
| 79 | struct address_space; | ||
| 80 | |||
| 81 | -#define USE_SPLIT_PTE_PTLOCKS (NR_CPUS >= CONFIG_SPLIT_PTLOCK_CPUS) | ||
| 82 | +#define USE_SPLIT_PTE_PTLOCKS (0) | ||
| 83 | #define USE_SPLIT_PMD_PTLOCKS (USE_SPLIT_PTE_PTLOCKS && \ | ||
| 84 | IS_ENABLED(CONFIG_ARCH_ENABLE_SPLIT_PMD_PTLOCK)) | ||
| 85 | #define ALLOC_SPLIT_PTLOCKS (SPINLOCK_SIZE > BITS_PER_LONG/8) | ||
diff --git a/recipes-kernel/linux/linux-fslc-imx-rt/0003-Work-around-CPU-stalls-in-the-imx-sdma-driver.patch b/recipes-kernel/linux/linux-fslc-imx-rt/0003-Work-around-CPU-stalls-in-the-imx-sdma-driver.patch deleted file mode 100644 index 93200c623..000000000 --- a/recipes-kernel/linux/linux-fslc-imx-rt/0003-Work-around-CPU-stalls-in-the-imx-sdma-driver.patch +++ /dev/null | |||
| @@ -1,126 +0,0 @@ | |||
| 1 | From f7cba8d49a980909cea48c5b9dcfefc6e13fef0b Mon Sep 17 00:00:00 2001 | ||
| 2 | From: =?UTF-8?q?Dominic=20Sacr=C3=A9?= <dominic.sacre@gmx.de> | ||
| 3 | Date: Fri, 29 Apr 2016 15:48:40 +0200 | ||
| 4 | Subject: [PATCH] Work around CPU stalls in the imx-sdma driver | ||
| 5 | MIME-Version: 1.0 | ||
| 6 | Content-Type: text/plain; charset=UTF-8 | ||
| 7 | Content-Transfer-Encoding: 8bit | ||
| 8 | |||
| 9 | Replace spinlocks with raw spinlocks. This prevents preemption during | ||
| 10 | the spinlock's critical section, as is the case on non PREEMPT_RT kernels. | ||
| 11 | |||
| 12 | Without this patch, the following error can occur, for example when | ||
| 13 | using the audio codec on an i.MX6Q SabreSD board: | ||
| 14 | |||
| 15 | INFO: rcu_preempt self-detected stall on CPU { 0} (t=2100 jiffies g=106 c=105 q=93) | ||
| 16 | CPU: 0 PID: 120 Comm: irq/34-sdma Not tainted 3.14.28-rt25-1.0.0_ga+g91cf351 #1 | ||
| 17 | [<80014a8c>] (unwind_backtrace) from [<8001173c>] (show_stack+0x10/0x14) | ||
| 18 | [<8001173c>] (show_stack) from [<806ee750>] (dump_stack+0x7c/0xc8) | ||
| 19 | [<806ee750>] (dump_stack) from [<800771c8>] (rcu_check_callbacks+0x454/0x888) | ||
| 20 | [<800771c8>] (rcu_check_callbacks) from [<80037f28>] (update_process_times+0x40/0x5c) | ||
| 21 | [<80037f28>] (update_process_times) from [<80082230>] (tick_sched_timer+0x4c/0x78) | ||
| 22 | [<80082230>] (tick_sched_timer) from [<8004bf30>] (__run_hrtimer.isra.34+0x74/0x124) | ||
| 23 | [<8004bf30>] (__run_hrtimer.isra.34) from [<8004cbb0>] (hrtimer_interrupt+0x154/0x3ac) | ||
| 24 | [<8004cbb0>] (hrtimer_interrupt) from [<80014464>] (twd_handler+0x30/0x38) | ||
| 25 | [<80014464>] (twd_handler) from [<8006fa2c>] (handle_percpu_devid_irq+0x6c/0x84) | ||
| 26 | [<8006fa2c>] (handle_percpu_devid_irq) from [<8006bc64>] (generic_handle_irq+0x2c/0x3c) | ||
| 27 | [<8006bc64>] (generic_handle_irq) from [<8000ed8c>] (handle_IRQ+0x40/0x90) | ||
| 28 | [<8000ed8c>] (handle_IRQ) from [<8000856c>] (gic_handle_irq+0x2c/0x5c) | ||
| 29 | [<8000856c>] (gic_handle_irq) from [<80012240>] (__irq_svc+0x40/0x84) | ||
| 30 | Exception stack(0xa840feb8 to 0xa840ff00) | ||
| 31 | fea0: a8007a28 00000002 | ||
| 32 | fec0: 00000001 0000a6a6 a80079c0 a8007a28 a83ea080 00000000 a80079c0 a83ea080 | ||
| 33 | fee0: 285190f0 00000000 00000000 a840ff00 8006d04c 806f3070 20030113 ffffffff | ||
| 34 | [<80012240>] (__irq_svc) from [<806f3070>] (_raw_spin_unlock_irq+0x20/0x60) | ||
| 35 | [<806f3070>] (_raw_spin_unlock_irq) from [<8006d04c>] (irq_finalize_oneshot.part.37+0x70/0xcc) | ||
| 36 | [<8006d04c>] (irq_finalize_oneshot.part.37) from [<8006d148>] (irq_forced_thread_fn+0x60/0x64) | ||
| 37 | [<8006d148>] (irq_forced_thread_fn) from [<8006d3dc>] (irq_thread+0x138/0x1a4) | ||
| 38 | [<8006d3dc>] (irq_thread) from [<8004913c>] (kthread+0xbc/0xd4) | ||
| 39 | [<8004913c>] (kthread) from [<8000e538>] (ret_from_fork+0x14/0x3c) | ||
| 40 | |||
| 41 | Upstream-Status: Pending | ||
| 42 | |||
| 43 | Signed-off-by: Dominic Sacré <dominic.sacre@gmx.de> | ||
| 44 | --- | ||
| 45 | drivers/dma/imx-sdma.c | 16 ++++++++-------- | ||
| 46 | 1 file changed, 8 insertions(+), 8 deletions(-) | ||
| 47 | |||
| 48 | diff --git a/drivers/dma/imx-sdma.c b/drivers/dma/imx-sdma.c | ||
| 49 | index 31b7fed..bb7d6aa 100644 | ||
| 50 | --- a/drivers/dma/imx-sdma.c | ||
| 51 | +++ b/drivers/dma/imx-sdma.c | ||
| 52 | @@ -408,7 +408,7 @@ struct sdma_engine { | ||
| 53 | struct dma_device dma_device; | ||
| 54 | struct clk *clk_ipg; | ||
| 55 | struct clk *clk_ahb; | ||
| 56 | - spinlock_t channel_0_lock; | ||
| 57 | + raw_spinlock_t channel_0_lock; | ||
| 58 | u32 script_number; | ||
| 59 | struct sdma_script_start_addrs *script_addrs; | ||
| 60 | const struct sdma_driver_data *drvdata; | ||
| 61 | @@ -700,7 +700,7 @@ static int sdma_load_script(struct sdma_engine *sdma, void *buf, int size, | ||
| 62 | return -ENOMEM; | ||
| 63 | } | ||
| 64 | |||
| 65 | - spin_lock_irqsave(&sdma->channel_0_lock, flags); | ||
| 66 | + raw_spin_lock_irqsave(&sdma->channel_0_lock, flags); | ||
| 67 | |||
| 68 | bd0->mode.command = C0_SETPM; | ||
| 69 | bd0->mode.status = BD_DONE | BD_INTR | BD_WRAP | BD_EXTD; | ||
| 70 | @@ -712,7 +712,7 @@ static int sdma_load_script(struct sdma_engine *sdma, void *buf, int size, | ||
| 71 | |||
| 72 | ret = sdma_run_channel0(sdma); | ||
| 73 | |||
| 74 | - spin_unlock_irqrestore(&sdma->channel_0_lock, flags); | ||
| 75 | + raw_spin_unlock_irqrestore(&sdma->channel_0_lock, flags); | ||
| 76 | |||
| 77 | if (use_iram) | ||
| 78 | gen_pool_free(sdma->iram_pool, (unsigned long)buf_virt, size); | ||
| 79 | @@ -979,7 +979,7 @@ static int sdma_load_context(struct sdma_channel *sdmac) | ||
| 80 | dev_dbg(sdma->dev, "event_mask0 = 0x%08x\n", (u32)sdmac->event_mask[0]); | ||
| 81 | dev_dbg(sdma->dev, "event_mask1 = 0x%08x\n", (u32)sdmac->event_mask[1]); | ||
| 82 | |||
| 83 | - spin_lock_irqsave(&sdma->channel_0_lock, flags); | ||
| 84 | + raw_spin_lock_irqsave(&sdma->channel_0_lock, flags); | ||
| 85 | |||
| 86 | memset(context, 0, sizeof(*context)); | ||
| 87 | context->channel_state.pc = load_address; | ||
| 88 | @@ -1005,7 +1005,7 @@ static int sdma_load_context(struct sdma_channel *sdmac) | ||
| 89 | bd0->ext_buffer_addr = 2048 + (sizeof(*context) / 4) * channel; | ||
| 90 | ret = sdma_run_channel0(sdma); | ||
| 91 | |||
| 92 | - spin_unlock_irqrestore(&sdma->channel_0_lock, flags); | ||
| 93 | + raw_spin_unlock_irqrestore(&sdma->channel_0_lock, flags); | ||
| 94 | |||
| 95 | sdmac->context_loaded = true; | ||
| 96 | |||
| 97 | @@ -1019,7 +1019,7 @@ static int sdma_save_restore_context(struct sdma_engine *sdma, bool save) | ||
| 98 | unsigned long flags; | ||
| 99 | int ret; | ||
| 100 | |||
| 101 | - spin_lock_irqsave(&sdma->channel_0_lock, flags); | ||
| 102 | + raw_spin_lock_irqsave(&sdma->channel_0_lock, flags); | ||
| 103 | |||
| 104 | if (save) | ||
| 105 | bd0->mode.command = C0_GETDM; | ||
| 106 | @@ -1032,7 +1032,7 @@ static int sdma_save_restore_context(struct sdma_engine *sdma, bool save) | ||
| 107 | bd0->ext_buffer_addr = 2048; | ||
| 108 | ret = sdma_run_channel0(sdma); | ||
| 109 | |||
| 110 | - spin_unlock_irqrestore(&sdma->channel_0_lock, flags); | ||
| 111 | + raw_spin_unlock_irqrestore(&sdma->channel_0_lock, flags); | ||
| 112 | |||
| 113 | return ret; | ||
| 114 | } | ||
| 115 | @@ -2152,7 +2152,7 @@ static int sdma_probe(struct platform_device *pdev) | ||
| 116 | if (!sdma) | ||
| 117 | return -ENOMEM; | ||
| 118 | |||
| 119 | - spin_lock_init(&sdma->channel_0_lock); | ||
| 120 | + raw_spin_lock_init(&sdma->channel_0_lock); | ||
| 121 | |||
| 122 | sdma->dev = &pdev->dev; | ||
| 123 | sdma->drvdata = drvdata; | ||
| 124 | -- | ||
| 125 | 2.8.1 | ||
| 126 | |||
diff --git a/recipes-kernel/linux/linux-fslc-imx-rt/0004-export-swait-locked-functions.patch b/recipes-kernel/linux/linux-fslc-imx-rt/0004-export-swait-locked-functions.patch deleted file mode 100644 index 1a616aa3c..000000000 --- a/recipes-kernel/linux/linux-fslc-imx-rt/0004-export-swait-locked-functions.patch +++ /dev/null | |||
| @@ -1,31 +0,0 @@ | |||
| 1 | From 2460dd985b0cf477f74396de92d1bc5df496abdc Mon Sep 17 00:00:00 2001 | ||
| 2 | From: Julio Cruz <jcsistemas2001@gmail.com> | ||
| 3 | Date: Wed, 20 Jan 2016 19:26:44 +0800 | ||
| 4 | Subject: [PATCH] Export symbols for iMX-GPU-VIV module | ||
| 5 | |||
| 6 | --- | ||
| 7 | kernel/sched/wait-simple.c | 2 ++ | ||
| 8 | 1 file changed, 2 insertions(+) | ||
| 9 | |||
| 10 | diff --git a/kernel/sched/wait-simple.c b/kernel/sched/wait-simple.c | ||
| 11 | index 7dfa86d..a3776ee 100644 | ||
| 12 | --- a/kernel/sched/wait-simple.c | ||
| 13 | +++ b/kernel/sched/wait-simple.c | ||
| 14 | @@ -40,6 +40,7 @@ void swait_prepare_locked(struct swait_head *head, struct swaiter *w) | ||
| 15 | if (list_empty(&w->node)) | ||
| 16 | __swait_enqueue(head, w); | ||
| 17 | } | ||
| 18 | +EXPORT_SYMBOL(swait_prepare_locked); | ||
| 19 | |||
| 20 | void swait_prepare(struct swait_head *head, struct swaiter *w, int state) | ||
| 21 | { | ||
| 22 | @@ -58,6 +59,7 @@ void swait_finish_locked(struct swait_head *head, struct swaiter *w) | ||
| 23 | if (w->task) | ||
| 24 | __swait_dequeue(w); | ||
| 25 | } | ||
| 26 | +EXPORT_SYMBOL(swait_finish_locked); | ||
| 27 | |||
| 28 | void swait_finish(struct swait_head *head, struct swaiter *w) | ||
| 29 | { | ||
| 30 | -- | ||
| 31 | 2.1.0 | ||
diff --git a/recipes-kernel/linux/linux-fslc-imx-rt/defconfig b/recipes-kernel/linux/linux-fslc-imx-rt/defconfig deleted file mode 100644 index 34ee14d1f..000000000 --- a/recipes-kernel/linux/linux-fslc-imx-rt/defconfig +++ /dev/null | |||
| @@ -1,439 +0,0 @@ | |||
| 1 | CONFIG_LOCALVERSION="-fslc" | ||
| 2 | CONFIG_KERNEL_LZO=y | ||
| 3 | CONFIG_SYSVIPC=y | ||
| 4 | CONFIG_NO_HZ=y | ||
| 5 | CONFIG_HIGH_RES_TIMERS=y | ||
| 6 | CONFIG_IKCONFIG=y | ||
| 7 | CONFIG_IKCONFIG_PROC=y | ||
| 8 | CONFIG_LOG_BUF_SHIFT=18 | ||
| 9 | CONFIG_CGROUPS=y | ||
| 10 | CONFIG_RELAY=y | ||
| 11 | CONFIG_BLK_DEV_INITRD=y | ||
| 12 | CONFIG_EXPERT=y | ||
| 13 | CONFIG_KALLSYMS_ALL=y | ||
| 14 | CONFIG_PERF_EVENTS=y | ||
| 15 | # CONFIG_SLUB_DEBUG is not set | ||
| 16 | # CONFIG_COMPAT_BRK is not set | ||
| 17 | CONFIG_MODULES=y | ||
| 18 | CONFIG_MODULE_UNLOAD=y | ||
| 19 | CONFIG_MODVERSIONS=y | ||
| 20 | CONFIG_MODULE_SRCVERSION_ALL=y | ||
| 21 | # CONFIG_BLK_DEV_BSG is not set | ||
| 22 | CONFIG_ARCH_MXC=y | ||
| 23 | CONFIG_SOC_IMX50=y | ||
| 24 | CONFIG_SOC_IMX53=y | ||
| 25 | CONFIG_SOC_IMX6Q=y | ||
| 26 | CONFIG_SOC_IMX6SL=y | ||
| 27 | CONFIG_SOC_IMX6SX=y | ||
| 28 | CONFIG_SOC_IMX6ULL=y | ||
| 29 | CONFIG_SOC_IMX7D=y | ||
| 30 | CONFIG_SOC_VF610=y | ||
| 31 | # CONFIG_SWP_EMULATE is not set | ||
| 32 | CONFIG_SMP=y | ||
| 33 | CONFIG_HAVE_ARM_ARCH_TIMER=y | ||
| 34 | CONFIG_VMSPLIT_2G=y | ||
| 35 | CONFIG_PREEMPT_RT_FULL=y | ||
| 36 | CONFIG_AEABI=y | ||
| 37 | CONFIG_HIGHMEM=y | ||
| 38 | CONFIG_CMA=y | ||
| 39 | CONFIG_CMDLINE="noinitrd console=ttymxc0,115200" | ||
| 40 | CONFIG_CPU_FREQ=y | ||
| 41 | CONFIG_CPU_FREQ_GOV_POWERSAVE=y | ||
| 42 | CONFIG_CPU_FREQ_GOV_USERSPACE=y | ||
| 43 | CONFIG_CPU_FREQ_GOV_ONDEMAND=y | ||
| 44 | CONFIG_CPU_FREQ_GOV_INTERACTIVE=y | ||
| 45 | CONFIG_CPU_FREQ_GOV_CONSERVATIVE=y | ||
| 46 | CONFIG_ARM_IMX6Q_CPUFREQ=y | ||
| 47 | CONFIG_ARM_IMX7D_CPUFREQ=y | ||
| 48 | CONFIG_CPU_IDLE=y | ||
| 49 | CONFIG_VFP=y | ||
| 50 | CONFIG_NEON=y | ||
| 51 | CONFIG_BINFMT_MISC=m | ||
| 52 | CONFIG_PM_DEBUG=y | ||
| 53 | CONFIG_PM_TEST_SUSPEND=y | ||
| 54 | CONFIG_NET=y | ||
| 55 | CONFIG_PACKET=y | ||
| 56 | CONFIG_UNIX=y | ||
| 57 | CONFIG_INET=y | ||
| 58 | CONFIG_IP_PNP=y | ||
| 59 | CONFIG_IP_PNP_DHCP=y | ||
| 60 | # CONFIG_INET_XFRM_MODE_TRANSPORT is not set | ||
| 61 | # CONFIG_INET_XFRM_MODE_TUNNEL is not set | ||
| 62 | # CONFIG_INET_XFRM_MODE_BEET is not set | ||
| 63 | # CONFIG_INET_LRO is not set | ||
| 64 | CONFIG_IPV6=y | ||
| 65 | CONFIG_VLAN_8021Q=y | ||
| 66 | CONFIG_LLC2=y | ||
| 67 | CONFIG_CAN=y | ||
| 68 | CONFIG_CAN_FLEXCAN=y | ||
| 69 | CONFIG_CAN_M_CAN=y | ||
| 70 | CONFIG_BT=y | ||
| 71 | CONFIG_BT_RFCOMM=y | ||
| 72 | CONFIG_BT_RFCOMM_TTY=y | ||
| 73 | CONFIG_BT_BNEP=y | ||
| 74 | CONFIG_BT_BNEP_MC_FILTER=y | ||
| 75 | CONFIG_BT_BNEP_PROTO_FILTER=y | ||
| 76 | CONFIG_BT_HIDP=y | ||
| 77 | CONFIG_BT_HCIBTUSB=y | ||
| 78 | CONFIG_BT_HCIUART=y | ||
| 79 | CONFIG_BT_HCIUART_BCSP=y | ||
| 80 | CONFIG_BT_HCIUART_ATH3K=y | ||
| 81 | CONFIG_BT_HCIBCM203X=y | ||
| 82 | CONFIG_BT_ATH3K=y | ||
| 83 | CONFIG_CFG80211=y | ||
| 84 | CONFIG_MAC80211=y | ||
| 85 | CONFIG_DEVTMPFS=y | ||
| 86 | CONFIG_DEVTMPFS_MOUNT=y | ||
| 87 | # CONFIG_STANDALONE is not set | ||
| 88 | CONFIG_DMA_CMA=y | ||
| 89 | CONFIG_CMA_SIZE_MBYTES=0 | ||
| 90 | CONFIG_IMX_WEIM=y | ||
| 91 | CONFIG_CONNECTOR=y | ||
| 92 | CONFIG_MTD=y | ||
| 93 | CONFIG_MTD_CMDLINE_PARTS=y | ||
| 94 | CONFIG_MTD_BLOCK=y | ||
| 95 | CONFIG_MTD_CFI=y | ||
| 96 | CONFIG_MTD_JEDECPROBE=y | ||
| 97 | CONFIG_MTD_CFI_INTELEXT=y | ||
| 98 | CONFIG_MTD_CFI_AMDSTD=y | ||
| 99 | CONFIG_MTD_CFI_STAA=y | ||
| 100 | CONFIG_MTD_PHYSMAP_OF=y | ||
| 101 | CONFIG_MTD_DATAFLASH=y | ||
| 102 | CONFIG_MTD_M25P80=y | ||
| 103 | CONFIG_MTD_SST25L=y | ||
| 104 | CONFIG_MTD_NAND=y | ||
| 105 | CONFIG_MTD_NAND_GPMI_NAND=y | ||
| 106 | CONFIG_MTD_NAND_MXC=y | ||
| 107 | CONFIG_MTD_SPI_NOR=y | ||
| 108 | CONFIG_SPI_FSL_QUADSPI=y | ||
| 109 | CONFIG_MTD_UBI=y | ||
| 110 | CONFIG_BLK_DEV_LOOP=y | ||
| 111 | CONFIG_BLK_DEV_RAM=y | ||
| 112 | CONFIG_BLK_DEV_RAM_SIZE=65536 | ||
| 113 | CONFIG_SENSORS_FXOS8700=y | ||
| 114 | CONFIG_SENSORS_FXAS2100X=y | ||
| 115 | CONFIG_EEPROM_AT24=y | ||
| 116 | CONFIG_EEPROM_AT25=y | ||
| 117 | # CONFIG_SCSI_PROC_FS is not set | ||
| 118 | CONFIG_BLK_DEV_SD=y | ||
| 119 | CONFIG_SCSI_CONSTANTS=y | ||
| 120 | CONFIG_SCSI_LOGGING=y | ||
| 121 | CONFIG_SCSI_SCAN_ASYNC=y | ||
| 122 | # CONFIG_SCSI_LOWLEVEL is not set | ||
| 123 | CONFIG_ATA=y | ||
| 124 | CONFIG_SATA_AHCI_PLATFORM=y | ||
| 125 | CONFIG_AHCI_IMX=y | ||
| 126 | CONFIG_PATA_IMX=y | ||
| 127 | CONFIG_NETDEVICES=y | ||
| 128 | # CONFIG_NET_VENDOR_BROADCOM is not set | ||
| 129 | CONFIG_CS89x0=y | ||
| 130 | CONFIG_CS89x0_PLATFORM=y | ||
| 131 | # CONFIG_NET_VENDOR_FARADAY is not set | ||
| 132 | # CONFIG_NET_VENDOR_INTEL is not set | ||
| 133 | # CONFIG_NET_VENDOR_MARVELL is not set | ||
| 134 | # CONFIG_NET_VENDOR_MICREL is not set | ||
| 135 | # CONFIG_NET_VENDOR_MICROCHIP is not set | ||
| 136 | # CONFIG_NET_VENDOR_NATSEMI is not set | ||
| 137 | # CONFIG_NET_VENDOR_SEEQ is not set | ||
| 138 | CONFIG_SMC91X=y | ||
| 139 | CONFIG_SMC911X=y | ||
| 140 | CONFIG_SMSC911X=y | ||
| 141 | # CONFIG_NET_VENDOR_STMICRO is not set | ||
| 142 | CONFIG_MICREL_PHY=y | ||
| 143 | CONFIG_USB_PEGASUS=m | ||
| 144 | CONFIG_USB_RTL8150=m | ||
| 145 | CONFIG_USB_RTL8152=m | ||
| 146 | CONFIG_USB_USBNET=m | ||
| 147 | CONFIG_USB_NET_CDC_EEM=m | ||
| 148 | CONFIG_BCMDHD=y | ||
| 149 | CONFIG_BCMDHD_SDIO=y | ||
| 150 | CONFIG_BCMDHD_FW_PATH="/lib/firmware/bcm/ZP_BCM4339/fw_bcmdhd.bin" | ||
| 151 | CONFIG_BCMDHD_NVRAM_PATH="/lib/firmware/bcm/ZP_BCM4339/bcmdhd.ZP.OOB.cal" | ||
| 152 | # CONFIG_RTL_CARDS is not set | ||
| 153 | # CONFIG_INPUT_MOUSEDEV_PSAUX is not set | ||
| 154 | CONFIG_INPUT_EVDEV=y | ||
| 155 | CONFIG_INPUT_EVBUG=m | ||
| 156 | CONFIG_KEYBOARD_GPIO=y | ||
| 157 | CONFIG_KEYBOARD_IMX=y | ||
| 158 | CONFIG_MOUSE_PS2=m | ||
| 159 | CONFIG_MOUSE_PS2_ELANTECH=y | ||
| 160 | CONFIG_INPUT_TOUCHSCREEN=y | ||
| 161 | CONFIG_TOUCHSCREEN_ADS7846=y | ||
| 162 | CONFIG_TOUCHSCREEN_EGALAX=y | ||
| 163 | CONFIG_TOUCHSCREEN_ELAN_TS=y | ||
| 164 | CONFIG_TOUCHSCREEN_MAX11801=y | ||
| 165 | CONFIG_TOUCHSCREEN_IMX6UL_TSC=y | ||
| 166 | CONFIG_TOUCHSCREEN_MC13783=y | ||
| 167 | CONFIG_TOUCHSCREEN_TSC2007=y | ||
| 168 | CONFIG_TOUCHSCREEN_STMPE=y | ||
| 169 | CONFIG_INPUT_MISC=y | ||
| 170 | CONFIG_INPUT_MMA8450=y | ||
| 171 | CONFIG_INPUT_MPL3115=y | ||
| 172 | CONFIG_SENSOR_FXLS8471=y | ||
| 173 | CONFIG_INPUT_ISL29023=y | ||
| 174 | CONFIG_SERIO_SERPORT=m | ||
| 175 | # CONFIG_LEGACY_PTYS is not set | ||
| 176 | # CONFIG_DEVKMEM is not set | ||
| 177 | CONFIG_SERIAL_IMX=y | ||
| 178 | CONFIG_SERIAL_IMX_CONSOLE=y | ||
| 179 | CONFIG_SERIAL_FSL_LPUART=y | ||
| 180 | CONFIG_SERIAL_FSL_LPUART_CONSOLE=y | ||
| 181 | CONFIG_FSL_OTP=y | ||
| 182 | CONFIG_HW_RANDOM_IMX_RNG=y | ||
| 183 | # CONFIG_I2C_COMPAT is not set | ||
| 184 | CONFIG_I2C_CHARDEV=y | ||
| 185 | # CONFIG_I2C_HELPER_AUTO is not set | ||
| 186 | CONFIG_I2C_ALGOPCF=m | ||
| 187 | CONFIG_I2C_ALGOPCA=m | ||
| 188 | CONFIG_I2C_IMX=y | ||
| 189 | CONFIG_SPI=y | ||
| 190 | CONFIG_SPI_GPIO=y | ||
| 191 | CONFIG_SPI_IMX=y | ||
| 192 | CONFIG_GPIO_SYSFS=y | ||
| 193 | CONFIG_GPIO_MAX732X=y | ||
| 194 | CONFIG_GPIO_PCA953X=y | ||
| 195 | CONFIG_GPIO_74X164=y | ||
| 196 | CONFIG_POWER_SUPPLY=y | ||
| 197 | CONFIG_SABRESD_MAX8903=y | ||
| 198 | CONFIG_POWER_RESET=y | ||
| 199 | CONFIG_POWER_RESET_SYSCON_POWEROFF=y | ||
| 200 | CONFIG_SENSORS_MAX17135=y | ||
| 201 | CONFIG_SENSORS_MAG3110=y | ||
| 202 | CONFIG_THERMAL=y | ||
| 203 | CONFIG_CPU_THERMAL=y | ||
| 204 | CONFIG_IMX_THERMAL=y | ||
| 205 | CONFIG_DEVICE_THERMAL=y | ||
| 206 | CONFIG_WATCHDOG=y | ||
| 207 | CONFIG_IMX2_WDT=y | ||
| 208 | CONFIG_MFD_DA9052_I2C=y | ||
| 209 | CONFIG_MFD_MC13XXX_SPI=y | ||
| 210 | CONFIG_MFD_MC13XXX_I2C=y | ||
| 211 | CONFIG_MFD_MAX17135=y | ||
| 212 | CONFIG_MFD_SI476X_CORE=y | ||
| 213 | CONFIG_MFD_STMPE=y | ||
| 214 | CONFIG_REGULATOR=y | ||
| 215 | CONFIG_REGULATOR_FIXED_VOLTAGE=y | ||
| 216 | CONFIG_REGULATOR_ANATOP=y | ||
| 217 | CONFIG_REGULATOR_DA9052=y | ||
| 218 | CONFIG_REGULATOR_GPIO=y | ||
| 219 | CONFIG_REGULATOR_MAX17135=y | ||
| 220 | CONFIG_REGULATOR_MC13783=y | ||
| 221 | CONFIG_REGULATOR_MC13892=y | ||
| 222 | CONFIG_REGULATOR_PFUZE100=y | ||
| 223 | CONFIG_MEDIA_SUPPORT=y | ||
| 224 | CONFIG_MEDIA_CAMERA_SUPPORT=y | ||
| 225 | CONFIG_MEDIA_RADIO_SUPPORT=y | ||
| 226 | CONFIG_MEDIA_RC_SUPPORT=y | ||
| 227 | CONFIG_RC_DEVICES=y | ||
| 228 | CONFIG_IR_GPIO_CIR=y | ||
| 229 | CONFIG_MEDIA_USB_SUPPORT=y | ||
| 230 | CONFIG_USB_VIDEO_CLASS=m | ||
| 231 | CONFIG_V4L_PLATFORM_DRIVERS=y | ||
| 232 | CONFIG_VIDEO_MXC_OUTPUT=y | ||
| 233 | CONFIG_VIDEO_MXC_CAPTURE=m | ||
| 234 | CONFIG_MXC_CAMERA_OV5640=m | ||
| 235 | CONFIG_MXC_CAMERA_OV5642=m | ||
| 236 | CONFIG_MXC_CAMERA_OV5640_MIPI=m | ||
| 237 | CONFIG_MXC_TVIN_ADV7180=m | ||
| 238 | CONFIG_MXC_IPU_DEVICE_QUEUE_SDC=m | ||
| 239 | CONFIG_VIDEO_MXC_IPU_OUTPUT=y | ||
| 240 | CONFIG_VIDEO_MXC_PXP_V4L2=y | ||
| 241 | CONFIG_VIDEO_MXC_CSI_CAMERA=m | ||
| 242 | CONFIG_MXC_VADC=m | ||
| 243 | CONFIG_MXC_MIPI_CSI=m | ||
| 244 | CONFIG_MXC_CAMERA_OV5647_MIPI=m | ||
| 245 | CONFIG_SOC_CAMERA=y | ||
| 246 | CONFIG_VIDEO_MX3=y | ||
| 247 | CONFIG_V4L_MEM2MEM_DRIVERS=y | ||
| 248 | CONFIG_VIDEO_CODA=y | ||
| 249 | CONFIG_RADIO_SI476X=y | ||
| 250 | CONFIG_SOC_CAMERA_OV2640=y | ||
| 251 | CONFIG_DRM=y | ||
| 252 | CONFIG_DRM_VIVANTE=y | ||
| 253 | CONFIG_FB=y | ||
| 254 | CONFIG_FB_MXS=y | ||
| 255 | CONFIG_FB_MXC_SYNC_PANEL=y | ||
| 256 | CONFIG_FB_MXC_MIPI_DSI=y | ||
| 257 | CONFIG_FB_MXC_MIPI_DSI_SAMSUNG=y | ||
| 258 | CONFIG_FB_MXC_TRULY_WVGA_SYNC_PANEL=y | ||
| 259 | CONFIG_FB_MXC_TRULY_PANEL_TFT3P5079E=y | ||
| 260 | CONFIG_FB_MXC_TRULY_PANEL_TFT3P5581E=y | ||
| 261 | CONFIG_FB_MXC_LDB=y | ||
| 262 | CONFIG_FB_MXC_HDMI=y | ||
| 263 | CONFIG_FB_MXS_SII902X=y | ||
| 264 | CONFIG_FB_MXC_DCIC=m | ||
| 265 | CONFIG_HANNSTAR_CABC=y | ||
| 266 | CONFIG_FB_MXC_EINK_PANEL=y | ||
| 267 | CONFIG_FB_MXC_EINK_V2_PANEL=y | ||
| 268 | CONFIG_LCD_CLASS_DEVICE=y | ||
| 269 | CONFIG_LCD_L4F00242T03=y | ||
| 270 | CONFIG_LCD_PLATFORM=y | ||
| 271 | CONFIG_BACKLIGHT_PWM=y | ||
| 272 | CONFIG_FRAMEBUFFER_CONSOLE=y | ||
| 273 | CONFIG_FRAMEBUFFER_CONSOLE_DETECT_PRIMARY=y | ||
| 274 | CONFIG_LOGO=y | ||
| 275 | CONFIG_SOUND=y | ||
| 276 | CONFIG_SND=y | ||
| 277 | CONFIG_SND_USB_AUDIO=m | ||
| 278 | CONFIG_SND_SOC=y | ||
| 279 | CONFIG_SND_IMX_SOC=y | ||
| 280 | CONFIG_SND_SOC_EUKREA_TLV320=y | ||
| 281 | CONFIG_SND_SOC_IMX_WM8960=y | ||
| 282 | CONFIG_SND_SOC_IMX_SII902X=y | ||
| 283 | CONFIG_SND_SOC_IMX_WM8958=y | ||
| 284 | CONFIG_SND_SOC_IMX_CS42888=y | ||
| 285 | CONFIG_SND_SOC_IMX_WM8962=y | ||
| 286 | CONFIG_SND_SOC_IMX_SGTL5000=y | ||
| 287 | CONFIG_SND_SOC_IMX_MQS=y | ||
| 288 | CONFIG_SND_SOC_IMX_SPDIF=y | ||
| 289 | CONFIG_SND_SOC_IMX_MC13783=y | ||
| 290 | CONFIG_SND_SOC_IMX_SI476X=y | ||
| 291 | CONFIG_SND_SOC_IMX_HDMI=y | ||
| 292 | CONFIG_SND_SIMPLE_CARD=y | ||
| 293 | CONFIG_USB=y | ||
| 294 | CONFIG_USB_OTG_WHITELIST=y | ||
| 295 | CONFIG_USB_OTG_FSM=y | ||
| 296 | CONFIG_USB_EHCI_HCD=y | ||
| 297 | CONFIG_USB_EHCI_MXC=y | ||
| 298 | CONFIG_USB_HCD_TEST_MODE=y | ||
| 299 | CONFIG_USB_ACM=m | ||
| 300 | CONFIG_USB_STORAGE=y | ||
| 301 | CONFIG_USB_CHIPIDEA=y | ||
| 302 | CONFIG_USB_CHIPIDEA_UDC=y | ||
| 303 | CONFIG_USB_CHIPIDEA_HOST=y | ||
| 304 | CONFIG_USB_SERIAL=m | ||
| 305 | CONFIG_USB_SERIAL_GENERIC=y | ||
| 306 | CONFIG_USB_SERIAL_FTDI_SIO=m | ||
| 307 | CONFIG_USB_SERIAL_OPTION=m | ||
| 308 | CONFIG_USB_EHSET_TEST_FIXTURE=y | ||
| 309 | CONFIG_NOP_USB_XCEIV=y | ||
| 310 | CONFIG_USB_MXS_PHY=y | ||
| 311 | CONFIG_USB_GADGET=y | ||
| 312 | CONFIG_USB_CONFIGFS=m | ||
| 313 | CONFIG_USB_CONFIGFS_SERIAL=y | ||
| 314 | CONFIG_USB_CONFIGFS_ACM=y | ||
| 315 | CONFIG_USB_CONFIGFS_OBEX=y | ||
| 316 | CONFIG_USB_CONFIGFS_NCM=y | ||
| 317 | CONFIG_USB_CONFIGFS_ECM=y | ||
| 318 | CONFIG_USB_CONFIGFS_ECM_SUBSET=y | ||
| 319 | CONFIG_USB_CONFIGFS_RNDIS=y | ||
| 320 | CONFIG_USB_CONFIGFS_EEM=y | ||
| 321 | CONFIG_USB_CONFIGFS_MASS_STORAGE=y | ||
| 322 | CONFIG_USB_CONFIGFS_F_LB_SS=y | ||
| 323 | CONFIG_USB_CONFIGFS_F_FS=y | ||
| 324 | CONFIG_USB_ZERO=m | ||
| 325 | CONFIG_USB_ETH=m | ||
| 326 | CONFIG_USB_G_NCM=m | ||
| 327 | CONFIG_USB_GADGETFS=m | ||
| 328 | CONFIG_USB_MASS_STORAGE=m | ||
| 329 | CONFIG_USB_G_SERIAL=m | ||
| 330 | CONFIG_MMC=y | ||
| 331 | CONFIG_MMC_SDHCI=y | ||
| 332 | CONFIG_MMC_SDHCI_PLTFM=y | ||
| 333 | CONFIG_MMC_SDHCI_ESDHC_IMX=y | ||
| 334 | CONFIG_MXC_IPU=y | ||
| 335 | CONFIG_MXC_IPU_V3_PRE=y | ||
| 336 | CONFIG_MXC_GPU_VIV=y | ||
| 337 | CONFIG_MXC_SIM=y | ||
| 338 | CONFIG_MXC_MIPI_CSI2=y | ||
| 339 | CONFIG_MXC_HDMI_CEC=y | ||
| 340 | CONFIG_NEW_LEDS=y | ||
| 341 | CONFIG_LEDS_CLASS=y | ||
| 342 | CONFIG_LEDS_GPIO=y | ||
| 343 | CONFIG_LEDS_TRIGGERS=y | ||
| 344 | CONFIG_LEDS_TRIGGER_TIMER=y | ||
| 345 | CONFIG_LEDS_TRIGGER_ONESHOT=y | ||
| 346 | CONFIG_LEDS_TRIGGER_HEARTBEAT=y | ||
| 347 | CONFIG_LEDS_TRIGGER_BACKLIGHT=y | ||
| 348 | CONFIG_LEDS_TRIGGER_GPIO=y | ||
| 349 | CONFIG_RTC_CLASS=y | ||
| 350 | CONFIG_RTC_INTF_DEV_UIE_EMUL=y | ||
| 351 | CONFIG_RTC_DRV_MC13XXX=y | ||
| 352 | CONFIG_RTC_DRV_MXC=y | ||
| 353 | CONFIG_RTC_DRV_SNVS=y | ||
| 354 | CONFIG_DMADEVICES=y | ||
| 355 | CONFIG_MXC_PXP_V2=y | ||
| 356 | CONFIG_MXC_PXP_V3=y | ||
| 357 | CONFIG_IMX_SDMA=y | ||
| 358 | CONFIG_MXS_DMA=y | ||
| 359 | CONFIG_DMATEST=m | ||
| 360 | CONFIG_STAGING=y | ||
| 361 | CONFIG_STAGING_MEDIA=y | ||
| 362 | # CONFIG_IOMMU_SUPPORT is not set | ||
| 363 | CONFIG_IIO=y | ||
| 364 | CONFIG_IMX7D_ADC=y | ||
| 365 | CONFIG_VF610_ADC=y | ||
| 366 | CONFIG_PWM=y | ||
| 367 | CONFIG_PWM_IMX=y | ||
| 368 | CONFIG_EXT2_FS=y | ||
| 369 | CONFIG_EXT2_FS_XATTR=y | ||
| 370 | CONFIG_EXT2_FS_POSIX_ACL=y | ||
| 371 | CONFIG_EXT2_FS_SECURITY=y | ||
| 372 | CONFIG_EXT3_FS=y | ||
| 373 | CONFIG_EXT3_FS_POSIX_ACL=y | ||
| 374 | CONFIG_EXT3_FS_SECURITY=y | ||
| 375 | CONFIG_EXT4_FS=y | ||
| 376 | CONFIG_EXT4_FS_POSIX_ACL=y | ||
| 377 | CONFIG_EXT4_FS_SECURITY=y | ||
| 378 | CONFIG_QUOTA=y | ||
| 379 | CONFIG_QUOTA_NETLINK_INTERFACE=y | ||
| 380 | # CONFIG_PRINT_QUOTA_WARNING is not set | ||
| 381 | CONFIG_AUTOFS4_FS=y | ||
| 382 | CONFIG_FUSE_FS=y | ||
| 383 | CONFIG_ISO9660_FS=m | ||
| 384 | CONFIG_JOLIET=y | ||
| 385 | CONFIG_ZISOFS=y | ||
| 386 | CONFIG_UDF_FS=m | ||
| 387 | CONFIG_MSDOS_FS=m | ||
| 388 | CONFIG_VFAT_FS=y | ||
| 389 | CONFIG_TMPFS=y | ||
| 390 | CONFIG_JFFS2_FS=y | ||
| 391 | CONFIG_UBIFS_FS=y | ||
| 392 | CONFIG_NFS_FS=y | ||
| 393 | CONFIG_NFS_V3_ACL=y | ||
| 394 | CONFIG_NFS_V4=y | ||
| 395 | CONFIG_ROOT_NFS=y | ||
| 396 | CONFIG_NLS_DEFAULT="cp437" | ||
| 397 | CONFIG_NLS_CODEPAGE_437=y | ||
| 398 | CONFIG_NLS_ASCII=y | ||
| 399 | CONFIG_NLS_ISO8859_1=y | ||
| 400 | CONFIG_NLS_ISO8859_15=m | ||
| 401 | CONFIG_NLS_UTF8=y | ||
| 402 | CONFIG_DEBUG_FS=y | ||
| 403 | CONFIG_MAGIC_SYSRQ=y | ||
| 404 | # CONFIG_SCHED_DEBUG is not set | ||
| 405 | # CONFIG_DEBUG_BUGVERBOSE is not set | ||
| 406 | # CONFIG_FTRACE is not set | ||
| 407 | CONFIG_SECURITYFS=y | ||
| 408 | CONFIG_CRYPTO_USER=y | ||
| 409 | CONFIG_CRYPTO_TEST=m | ||
| 410 | CONFIG_CRYPTO_CTS=y | ||
| 411 | CONFIG_CRYPTO_LRW=y | ||
| 412 | CONFIG_CRYPTO_XTS=y | ||
| 413 | CONFIG_CRYPTO_MD4=y | ||
| 414 | CONFIG_CRYPTO_MD5=y | ||
| 415 | CONFIG_CRYPTO_MICHAEL_MIC=y | ||
| 416 | CONFIG_CRYPTO_RMD128=y | ||
| 417 | CONFIG_CRYPTO_RMD160=y | ||
| 418 | CONFIG_CRYPTO_RMD256=y | ||
| 419 | CONFIG_CRYPTO_RMD320=y | ||
| 420 | CONFIG_CRYPTO_SHA512=y | ||
| 421 | CONFIG_CRYPTO_TGR192=y | ||
| 422 | CONFIG_CRYPTO_WP512=y | ||
| 423 | CONFIG_CRYPTO_BLOWFISH=y | ||
| 424 | CONFIG_CRYPTO_CAMELLIA=y | ||
| 425 | CONFIG_CRYPTO_DES=y | ||
| 426 | CONFIG_CRYPTO_TWOFISH=y | ||
| 427 | # CONFIG_CRYPTO_ANSI_CPRNG is not set | ||
| 428 | CONFIG_CRYPTO_DEV_FSL_CAAM=y | ||
| 429 | CONFIG_CRYPTO_DEV_FSL_CAAM_SM=y | ||
| 430 | CONFIG_CRYPTO_DEV_FSL_CAAM_SM_TEST=y | ||
| 431 | CONFIG_CRYPTO_DEV_FSL_CAAM_SECVIO=y | ||
| 432 | CONFIG_CRYPTO_DEV_MXS_DCP=y | ||
| 433 | CONFIG_CRC_CCITT=m | ||
| 434 | CONFIG_CRC_T10DIF=y | ||
| 435 | CONFIG_CRC7=m | ||
| 436 | CONFIG_LIBCRC32C=m | ||
| 437 | CONFIG_FONTS=y | ||
| 438 | CONFIG_FONT_8x8=y | ||
| 439 | CONFIG_FONT_8x16=y | ||
diff --git a/recipes-kernel/linux/linux-fslc-imx-rt_4.1-2.0.x.bb b/recipes-kernel/linux/linux-fslc-imx-rt_4.1-2.0.x.bb deleted file mode 100644 index 621023b43..000000000 --- a/recipes-kernel/linux/linux-fslc-imx-rt_4.1-2.0.x.bb +++ /dev/null | |||
| @@ -1,26 +0,0 @@ | |||
| 1 | SUMMARY = "Realtime version of the FSL Community BSP i.MX6 Linux kernel with backported features and fixes" | ||
| 2 | DESCRIPTION = "Linux kernel based on NXP 4.1-2.0.0 GA release, used by FSL Community BSP in order to \ | ||
| 3 | provide support for i.MX6 based platforms and include official Linux kernel stable updates, backported \ | ||
| 4 | features and fixes coming from the vendors, kernel community or FSL Community itself. \ | ||
| 5 | In addition, this kernel has the realtime patch (PREEMPT_RT) applied." | ||
| 6 | |||
| 7 | include linux-fslc.inc | ||
| 8 | |||
| 9 | PV .= "+git${SRCPV}" | ||
| 10 | |||
| 11 | SRCBRANCH = "4.1-2.0.x-imx" | ||
| 12 | SRCREV = "ee67fc7e072df596577e3a4e4fce7b51816d4b0a" | ||
| 13 | |||
| 14 | SRC_URI += " \ | ||
| 15 | ${KERNELORG_MIRROR}/linux/kernel/projects/rt/4.1/older/patch-4.1.38-rt45.patch.gz;name=rt-patch \ | ||
| 16 | file://0001-fix-build.patch \ | ||
| 17 | file://0002-no-split-ptlocks.patch \ | ||
| 18 | file://0003-Work-around-CPU-stalls-in-the-imx-sdma-driver.patch \ | ||
| 19 | file://0004-export-swait-locked-functions.patch \ | ||
| 20 | " | ||
| 21 | |||
| 22 | SRC_URI[rt-patch.md5sum] = "6e86714997e190a45fb5b9c951d2c179" | ||
| 23 | SRC_URI[rt-patch.sha256sum] = "12aa4947ee656fa724e17d8971dcb3634a058c18afe59a472adfcd6f11d17f67" | ||
| 24 | |||
| 25 | |||
| 26 | COMPATIBLE_MACHINE = "(mx6|mx7)" | ||
diff --git a/recipes-kernel/linux/linux-fslc-imx/0001-Backport-minimal-compiler_attributes.h-to-support-GC.patch b/recipes-kernel/linux/linux-fslc-imx/0001-Backport-minimal-compiler_attributes.h-to-support-GC.patch deleted file mode 100644 index aef97ea60..000000000 --- a/recipes-kernel/linux/linux-fslc-imx/0001-Backport-minimal-compiler_attributes.h-to-support-GC.patch +++ /dev/null | |||
| @@ -1,47 +0,0 @@ | |||
| 1 | From fe5844365ec6c4d61838f289926f4d55da94d2fb Mon Sep 17 00:00:00 2001 | ||
| 2 | From: Miguel Ojeda <miguel.ojeda.sandonis@gmail.com> | ||
| 3 | Date: Fri, 2 Aug 2019 12:37:56 +0200 | ||
| 4 | Subject: [PATCH 1/2] Backport minimal compiler_attributes.h to support GCC 9 | ||
| 5 | |||
| 6 | This adds support for __copy to v4.9.y so that we can use it in | ||
| 7 | init/exit_module to avoid -Werror=missing-attributes errors on GCC 9. | ||
| 8 | |||
| 9 | Link: https://lore.kernel.org/lkml/259986242.BvXPX32bHu@devpool35/ | ||
| 10 | Cc: <stable@vger.kernel.org> | ||
| 11 | Suggested-by: Rolf Eike Beer <eb@emlix.com> | ||
| 12 | Signed-off-by: Miguel Ojeda <miguel.ojeda.sandonis@gmail.com> | ||
| 13 | Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org> | ||
| 14 | --- | ||
| 15 | include/linux/compiler.h | 16 ++++++++++++++++ | ||
| 16 | 1 file changed, 16 insertions(+) | ||
| 17 | |||
| 18 | diff --git a/include/linux/compiler.h b/include/linux/compiler.h | ||
| 19 | index 3050de0dac96..0020ee1cab37 100644 | ||
| 20 | --- a/include/linux/compiler.h | ||
| 21 | +++ b/include/linux/compiler.h | ||
| 22 | @@ -54,6 +54,22 @@ extern void __chk_io_ptr(const volatile void __iomem *); | ||
| 23 | |||
| 24 | #ifdef __KERNEL__ | ||
| 25 | |||
| 26 | +/* | ||
| 27 | + * Minimal backport of compiler_attributes.h to add support for __copy | ||
| 28 | + * to v4.9.y so that we can use it in init/exit_module to avoid | ||
| 29 | + * -Werror=missing-attributes errors on GCC 9. | ||
| 30 | + */ | ||
| 31 | +#ifndef __has_attribute | ||
| 32 | +# define __has_attribute(x) __GCC4_has_attribute_##x | ||
| 33 | +# define __GCC4_has_attribute___copy__ 0 | ||
| 34 | +#endif | ||
| 35 | + | ||
| 36 | +#if __has_attribute(__copy__) | ||
| 37 | +# define __copy(symbol) __attribute__((__copy__(symbol))) | ||
| 38 | +#else | ||
| 39 | +# define __copy(symbol) | ||
| 40 | +#endif | ||
| 41 | + | ||
| 42 | #ifdef __GNUC__ | ||
| 43 | #include <linux/compiler-gcc.h> | ||
| 44 | #endif | ||
| 45 | -- | ||
| 46 | 2.17.1 | ||
| 47 | |||
diff --git a/recipes-kernel/linux/linux-fslc-imx/0001-menuconfig-mconf-cfg-Allow-specification-of-ncurses-.patch b/recipes-kernel/linux/linux-fslc-imx/0001-menuconfig-mconf-cfg-Allow-specification-of-ncurses-.patch deleted file mode 100644 index 0b2d077d2..000000000 --- a/recipes-kernel/linux/linux-fslc-imx/0001-menuconfig-mconf-cfg-Allow-specification-of-ncurses-.patch +++ /dev/null | |||
| @@ -1,51 +0,0 @@ | |||
| 1 | From 846b11d8c834af4fa62393dadb490ea8246b332c Mon Sep 17 00:00:00 2001 | ||
| 2 | From: Bruce Ashfield <bruce.ashfield@windriver.com> | ||
| 3 | Date: Mon, 2 Jul 2018 23:10:28 -0400 | ||
| 4 | Subject: [PATCH] menuconfig,mconf-cfg: Allow specification of ncurses location | ||
| 5 | |||
| 6 | In some cross build environments such as the Yocto Project build | ||
| 7 | environment it provides an ncurses library that is compiled | ||
| 8 | differently than the host's version. This causes display corruption | ||
| 9 | problems when the host's curses includes are used instead of the | ||
| 10 | includes from the provided compiler are overridden. There is a second | ||
| 11 | case where there is no curses libraries at all on the host system and | ||
| 12 | menuconfig will just fail entirely. | ||
| 13 | |||
| 14 | The solution is simply to allow an override variable in | ||
| 15 | check-lxdialog.sh for environments such as the Yocto Project. Adding | ||
| 16 | a CROSS_CURSES_LIB and CROSS_CURSES_INC solves the issue and allowing | ||
| 17 | compiling and linking against the right headers and libraries. | ||
| 18 | |||
| 19 | Signed-off-by: Jason Wessel <jason.wessel@windriver.com> | ||
| 20 | cc: Michal Marek <mmarek@suse.cz> | ||
| 21 | cc: linux-kbuild@vger.kernel.org | ||
| 22 | Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com> | ||
| 23 | --- | ||
| 24 | scripts/kconfig/mconf-cfg.sh | 8 ++++++++ | ||
| 25 | 1 file changed, 8 insertions(+) | ||
| 26 | mode change 100755 => 100644 scripts/kconfig/mconf-cfg.sh | ||
| 27 | |||
| 28 | diff --git a/scripts/kconfig/mconf-cfg.sh b/scripts/kconfig/mconf-cfg.sh | ||
| 29 | old mode 100755 | ||
| 30 | new mode 100644 | ||
| 31 | index c812872d7f9d..65a9b9e5b8a6 | ||
| 32 | --- a/scripts/kconfig/mconf-cfg.sh | ||
| 33 | +++ b/scripts/kconfig/mconf-cfg.sh | ||
| 34 | @@ -4,6 +4,14 @@ | ||
| 35 | PKG="ncursesw" | ||
| 36 | PKG2="ncurses" | ||
| 37 | |||
| 38 | +if [ "$CROSS_CURSES_LIB" != "" ]; then | ||
| 39 | + echo libs=\'$CROSS_CURSES_LIB\' | ||
| 40 | + if [ x"$CROSS_CURSES_INC" != x ]; then | ||
| 41 | + echo cflags=\'$CROSS_CURSES_INC\' | ||
| 42 | + fi | ||
| 43 | + exit 0 | ||
| 44 | +fi | ||
| 45 | + | ||
| 46 | if [ -n "$(command -v pkg-config)" ]; then | ||
| 47 | if pkg-config --exists $PKG; then | ||
| 48 | echo cflags=\"$(pkg-config --cflags $PKG)\" | ||
| 49 | -- | ||
| 50 | 2.20.1 | ||
| 51 | |||
diff --git a/recipes-kernel/linux/linux-fslc-imx/0002-include-linux-module.h-copy-__init-__exit-attrs-to-i.patch b/recipes-kernel/linux/linux-fslc-imx/0002-include-linux-module.h-copy-__init-__exit-attrs-to-i.patch deleted file mode 100644 index 8472a151a..000000000 --- a/recipes-kernel/linux/linux-fslc-imx/0002-include-linux-module.h-copy-__init-__exit-attrs-to-i.patch +++ /dev/null | |||
| @@ -1,84 +0,0 @@ | |||
| 1 | From 2d75d1869fb3d9d7d47ae7c0ac6fab4e7dd9487e Mon Sep 17 00:00:00 2001 | ||
| 2 | From: Miguel Ojeda <miguel.ojeda.sandonis@gmail.com> | ||
| 3 | Date: Fri, 2 Aug 2019 12:37:57 +0200 | ||
| 4 | Subject: [PATCH 2/2] include/linux/module.h: copy __init/__exit attrs to | ||
| 5 | init/cleanup_module | ||
| 6 | |||
| 7 | commit a6e60d84989fa0e91db7f236eda40453b0e44afa upstream. | ||
| 8 | |||
| 9 | The upcoming GCC 9 release extends the -Wmissing-attributes warnings | ||
| 10 | (enabled by -Wall) to C and aliases: it warns when particular function | ||
| 11 | attributes are missing in the aliases but not in their target. | ||
| 12 | |||
| 13 | In particular, it triggers for all the init/cleanup_module | ||
| 14 | aliases in the kernel (defined by the module_init/exit macros), | ||
| 15 | ending up being very noisy. | ||
| 16 | |||
| 17 | These aliases point to the __init/__exit functions of a module, | ||
| 18 | which are defined as __cold (among other attributes). However, | ||
| 19 | the aliases themselves do not have the __cold attribute. | ||
| 20 | |||
| 21 | Since the compiler behaves differently when compiling a __cold | ||
| 22 | function as well as when compiling paths leading to calls | ||
| 23 | to __cold functions, the warning is trying to point out | ||
| 24 | the possibly-forgotten attribute in the alias. | ||
| 25 | |||
| 26 | In order to keep the warning enabled, we decided to silence | ||
| 27 | this case. Ideally, we would mark the aliases directly | ||
| 28 | as __init/__exit. However, there are currently around 132 modules | ||
| 29 | in the kernel which are missing __init/__exit in their init/cleanup | ||
| 30 | functions (either because they are missing, or for other reasons, | ||
| 31 | e.g. the functions being called from somewhere else); and | ||
| 32 | a section mismatch is a hard error. | ||
| 33 | |||
| 34 | A conservative alternative was to mark the aliases as __cold only. | ||
| 35 | However, since we would like to eventually enforce __init/__exit | ||
| 36 | to be always marked, we chose to use the new __copy function | ||
| 37 | attribute (introduced by GCC 9 as well to deal with this). | ||
| 38 | With it, we copy the attributes used by the target functions | ||
| 39 | into the aliases. This way, functions that were not marked | ||
| 40 | as __init/__exit won't have their aliases marked either, | ||
| 41 | and therefore there won't be a section mismatch. | ||
| 42 | |||
| 43 | Note that the warning would go away marking either the extern | ||
| 44 | declaration, the definition, or both. However, we only mark | ||
| 45 | the definition of the alias, since we do not want callers | ||
| 46 | (which only see the declaration) to be compiled as if the function | ||
| 47 | was __cold (and therefore the paths leading to those calls | ||
| 48 | would be assumed to be unlikely). | ||
| 49 | |||
| 50 | Link: https://lore.kernel.org/lkml/259986242.BvXPX32bHu@devpool35/ | ||
| 51 | Cc: <stable@vger.kernel.org> | ||
| 52 | Link: https://lore.kernel.org/lkml/20190123173707.GA16603@gmail.com/ | ||
| 53 | Link: https://lore.kernel.org/lkml/20190206175627.GA20399@gmail.com/ | ||
| 54 | Suggested-by: Martin Sebor <msebor@gcc.gnu.org> | ||
| 55 | Acked-by: Jessica Yu <jeyu@kernel.org> | ||
| 56 | Signed-off-by: Miguel Ojeda <miguel.ojeda.sandonis@gmail.com> | ||
| 57 | Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org> | ||
| 58 | --- | ||
| 59 | include/linux/module.h | 4 ++-- | ||
| 60 | 1 file changed, 2 insertions(+), 2 deletions(-) | ||
| 61 | |||
| 62 | diff --git a/include/linux/module.h b/include/linux/module.h | ||
| 63 | index 0c3207d26ac0..06aca48417c9 100644 | ||
| 64 | --- a/include/linux/module.h | ||
| 65 | +++ b/include/linux/module.h | ||
| 66 | @@ -129,13 +129,13 @@ extern void cleanup_module(void); | ||
| 67 | #define module_init(initfn) \ | ||
| 68 | static inline initcall_t __inittest(void) \ | ||
| 69 | { return initfn; } \ | ||
| 70 | - int init_module(void) __attribute__((alias(#initfn))); | ||
| 71 | + int init_module(void) __copy(initfn) __attribute__((alias(#initfn))); | ||
| 72 | |||
| 73 | /* This is only required if you want to be unloadable. */ | ||
| 74 | #define module_exit(exitfn) \ | ||
| 75 | static inline exitcall_t __exittest(void) \ | ||
| 76 | { return exitfn; } \ | ||
| 77 | - void cleanup_module(void) __attribute__((alias(#exitfn))); | ||
| 78 | + void cleanup_module(void) __copy(exitfn) __attribute__((alias(#exitfn))); | ||
| 79 | |||
| 80 | #endif | ||
| 81 | |||
| 82 | -- | ||
| 83 | 2.17.1 | ||
| 84 | |||
diff --git a/recipes-kernel/linux/linux-fslc-imx/defconfig b/recipes-kernel/linux/linux-fslc-imx/defconfig deleted file mode 100644 index f9e53a6ab..000000000 --- a/recipes-kernel/linux/linux-fslc-imx/defconfig +++ /dev/null | |||
| @@ -1,426 +0,0 @@ | |||
| 1 | CONFIG_KERNEL_LZO=y | ||
| 2 | CONFIG_SYSVIPC=y | ||
| 3 | CONFIG_NO_HZ=y | ||
| 4 | CONFIG_HIGH_RES_TIMERS=y | ||
| 5 | CONFIG_IKCONFIG=y | ||
| 6 | CONFIG_IKCONFIG_PROC=y | ||
| 7 | CONFIG_LOG_BUF_SHIFT=18 | ||
| 8 | CONFIG_CGROUPS=y | ||
| 9 | CONFIG_RELAY=y | ||
| 10 | CONFIG_BLK_DEV_INITRD=y | ||
| 11 | CONFIG_EXPERT=y | ||
| 12 | CONFIG_KALLSYMS_ALL=y | ||
| 13 | CONFIG_PERF_EVENTS=y | ||
| 14 | # CONFIG_SLUB_DEBUG is not set | ||
| 15 | # CONFIG_COMPAT_BRK is not set | ||
| 16 | CONFIG_MODULES=y | ||
| 17 | CONFIG_MODULE_UNLOAD=y | ||
| 18 | CONFIG_MODVERSIONS=y | ||
| 19 | CONFIG_MODULE_SRCVERSION_ALL=y | ||
| 20 | # CONFIG_BLK_DEV_BSG is not set | ||
| 21 | CONFIG_ARCH_MXC=y | ||
| 22 | CONFIG_SOC_IMX50=y | ||
| 23 | CONFIG_SOC_IMX53=y | ||
| 24 | CONFIG_SOC_IMX6Q=y | ||
| 25 | CONFIG_SOC_IMX6SL=y | ||
| 26 | CONFIG_SOC_IMX6SX=y | ||
| 27 | CONFIG_SOC_IMX6ULL=y | ||
| 28 | CONFIG_SOC_IMX7D=y | ||
| 29 | CONFIG_SOC_IMX6SLL=y | ||
| 30 | CONFIG_SOC_VF610=y | ||
| 31 | # CONFIG_SWP_EMULATE is not set | ||
| 32 | CONFIG_SMP=y | ||
| 33 | CONFIG_VMSPLIT_2G=y | ||
| 34 | CONFIG_PREEMPT=y | ||
| 35 | CONFIG_AEABI=y | ||
| 36 | CONFIG_HIGHMEM=y | ||
| 37 | CONFIG_CMA=y | ||
| 38 | CONFIG_CMDLINE="noinitrd console=ttymxc0,115200" | ||
| 39 | CONFIG_CPU_FREQ=y | ||
| 40 | CONFIG_CPU_FREQ_DEFAULT_GOV_ONDEMAND=y | ||
| 41 | CONFIG_CPU_FREQ_GOV_POWERSAVE=y | ||
| 42 | CONFIG_CPU_FREQ_GOV_USERSPACE=y | ||
| 43 | CONFIG_CPU_FREQ_GOV_CONSERVATIVE=y | ||
| 44 | CONFIG_CPU_FREQ_GOV_INTERACTIVE=y | ||
| 45 | CONFIG_ARM_IMX6Q_CPUFREQ=y | ||
| 46 | CONFIG_ARM_IMX7D_CPUFREQ=y | ||
| 47 | CONFIG_CPU_IDLE=y | ||
| 48 | CONFIG_VFP=y | ||
| 49 | CONFIG_NEON=y | ||
| 50 | CONFIG_BINFMT_MISC=m | ||
| 51 | CONFIG_PM_DEBUG=y | ||
| 52 | CONFIG_PM_TEST_SUSPEND=y | ||
| 53 | CONFIG_NET=y | ||
| 54 | CONFIG_PACKET=y | ||
| 55 | CONFIG_UNIX=y | ||
| 56 | CONFIG_INET=y | ||
| 57 | CONFIG_IP_PNP=y | ||
| 58 | CONFIG_IP_PNP_DHCP=y | ||
| 59 | # CONFIG_INET_XFRM_MODE_TRANSPORT is not set | ||
| 60 | # CONFIG_INET_XFRM_MODE_TUNNEL is not set | ||
| 61 | # CONFIG_INET_XFRM_MODE_BEET is not set | ||
| 62 | CONFIG_VLAN_8021Q=y | ||
| 63 | CONFIG_LLC2=y | ||
| 64 | CONFIG_CAN=y | ||
| 65 | CONFIG_CAN_FLEXCAN=y | ||
| 66 | CONFIG_CAN_M_CAN=y | ||
| 67 | CONFIG_BT=y | ||
| 68 | CONFIG_BT_RFCOMM=y | ||
| 69 | CONFIG_BT_RFCOMM_TTY=y | ||
| 70 | CONFIG_BT_BNEP=y | ||
| 71 | CONFIG_BT_BNEP_MC_FILTER=y | ||
| 72 | CONFIG_BT_BNEP_PROTO_FILTER=y | ||
| 73 | CONFIG_BT_HIDP=y | ||
| 74 | CONFIG_BT_HCIBTUSB=y | ||
| 75 | CONFIG_BT_HCIUART=y | ||
| 76 | CONFIG_BT_HCIUART_BCSP=y | ||
| 77 | CONFIG_BT_HCIUART_ATH3K=y | ||
| 78 | CONFIG_BT_HCIBCM203X=y | ||
| 79 | CONFIG_BT_ATH3K=y | ||
| 80 | CONFIG_CFG80211=y | ||
| 81 | CONFIG_MAC80211=y | ||
| 82 | CONFIG_DEVTMPFS=y | ||
| 83 | CONFIG_DEVTMPFS_MOUNT=y | ||
| 84 | # CONFIG_STANDALONE is not set | ||
| 85 | CONFIG_DMA_CMA=y | ||
| 86 | CONFIG_CMA_SIZE_MBYTES=0 | ||
| 87 | CONFIG_IMX_WEIM=y | ||
| 88 | CONFIG_CONNECTOR=y | ||
| 89 | CONFIG_MTD=y | ||
| 90 | CONFIG_MTD_CMDLINE_PARTS=y | ||
| 91 | CONFIG_MTD_BLOCK=y | ||
| 92 | CONFIG_MTD_CFI=y | ||
| 93 | CONFIG_MTD_JEDECPROBE=y | ||
| 94 | CONFIG_MTD_CFI_INTELEXT=y | ||
| 95 | CONFIG_MTD_CFI_AMDSTD=y | ||
| 96 | CONFIG_MTD_CFI_STAA=y | ||
| 97 | CONFIG_MTD_PHYSMAP_OF=y | ||
| 98 | CONFIG_MTD_DATAFLASH=y | ||
| 99 | CONFIG_MTD_M25P80=y | ||
| 100 | CONFIG_MTD_SST25L=y | ||
| 101 | CONFIG_MTD_NAND=y | ||
| 102 | CONFIG_MTD_NAND_GPMI_NAND=y | ||
| 103 | CONFIG_MTD_NAND_MXC=y | ||
| 104 | CONFIG_MTD_SPI_NOR=y | ||
| 105 | CONFIG_SPI_FSL_QUADSPI=y | ||
| 106 | CONFIG_MTD_UBI=y | ||
| 107 | CONFIG_BLK_DEV_LOOP=y | ||
| 108 | CONFIG_BLK_DEV_RAM=y | ||
| 109 | CONFIG_BLK_DEV_RAM_SIZE=65536 | ||
| 110 | CONFIG_SENSORS_FXOS8700=y | ||
| 111 | CONFIG_SENSORS_FXAS2100X=y | ||
| 112 | CONFIG_EEPROM_AT24=y | ||
| 113 | CONFIG_EEPROM_AT25=y | ||
| 114 | # CONFIG_SCSI_PROC_FS is not set | ||
| 115 | CONFIG_BLK_DEV_SD=y | ||
| 116 | CONFIG_SCSI_CONSTANTS=y | ||
| 117 | CONFIG_SCSI_LOGGING=y | ||
| 118 | CONFIG_SCSI_SCAN_ASYNC=y | ||
| 119 | # CONFIG_SCSI_LOWLEVEL is not set | ||
| 120 | CONFIG_ATA=y | ||
| 121 | CONFIG_SATA_AHCI_PLATFORM=y | ||
| 122 | CONFIG_AHCI_IMX=y | ||
| 123 | CONFIG_PATA_IMX=y | ||
| 124 | CONFIG_NETDEVICES=y | ||
| 125 | # CONFIG_NET_VENDOR_BROADCOM is not set | ||
| 126 | CONFIG_CS89x0=y | ||
| 127 | CONFIG_CS89x0_PLATFORM=y | ||
| 128 | # CONFIG_NET_VENDOR_FARADAY is not set | ||
| 129 | # CONFIG_NET_VENDOR_INTEL is not set | ||
| 130 | # CONFIG_NET_VENDOR_MARVELL is not set | ||
| 131 | # CONFIG_NET_VENDOR_MICREL is not set | ||
| 132 | # CONFIG_NET_VENDOR_MICROCHIP is not set | ||
| 133 | # CONFIG_NET_VENDOR_NATSEMI is not set | ||
| 134 | # CONFIG_NET_VENDOR_SEEQ is not set | ||
| 135 | CONFIG_SMC91X=y | ||
| 136 | CONFIG_SMC911X=y | ||
| 137 | CONFIG_SMSC911X=y | ||
| 138 | # CONFIG_NET_VENDOR_STMICRO is not set | ||
| 139 | CONFIG_MICREL_PHY=y | ||
| 140 | CONFIG_USB_PEGASUS=m | ||
| 141 | CONFIG_USB_RTL8150=m | ||
| 142 | CONFIG_USB_RTL8152=m | ||
| 143 | CONFIG_USB_USBNET=m | ||
| 144 | CONFIG_USB_NET_CDC_EEM=m | ||
| 145 | CONFIG_BCMDHD=y | ||
| 146 | CONFIG_BCMDHD_SDIO=y | ||
| 147 | CONFIG_BCMDHD_FW_PATH="/lib/firmware/bcm/ZP_BCM4339/fw_bcmdhd.bin" | ||
| 148 | CONFIG_BCMDHD_NVRAM_PATH="/lib/firmware/bcm/ZP_BCM4339/bcmdhd.ZP.OOB.cal" | ||
| 149 | # CONFIG_RTL_CARDS is not set | ||
| 150 | # CONFIG_INPUT_MOUSEDEV_PSAUX is not set | ||
| 151 | CONFIG_INPUT_EVDEV=y | ||
| 152 | CONFIG_INPUT_EVBUG=m | ||
| 153 | CONFIG_KEYBOARD_GPIO=y | ||
| 154 | CONFIG_KEYBOARD_IMX=y | ||
| 155 | CONFIG_MOUSE_PS2=m | ||
| 156 | CONFIG_MOUSE_PS2_ELANTECH=y | ||
| 157 | CONFIG_INPUT_TOUCHSCREEN=y | ||
| 158 | CONFIG_TOUCHSCREEN_ADS7846=y | ||
| 159 | CONFIG_TOUCHSCREEN_EGALAX=y | ||
| 160 | CONFIG_TOUCHSCREEN_ELAN_TS=y | ||
| 161 | CONFIG_TOUCHSCREEN_MAX11801=y | ||
| 162 | CONFIG_TOUCHSCREEN_IMX6UL_TSC=y | ||
| 163 | CONFIG_TOUCHSCREEN_MC13783=y | ||
| 164 | CONFIG_TOUCHSCREEN_TSC2007=y | ||
| 165 | CONFIG_TOUCHSCREEN_STMPE=y | ||
| 166 | CONFIG_INPUT_MISC=y | ||
| 167 | CONFIG_INPUT_MMA8450=y | ||
| 168 | CONFIG_INPUT_MPL3115=y | ||
| 169 | CONFIG_SENSOR_FXLS8471=y | ||
| 170 | CONFIG_INPUT_ISL29023=y | ||
| 171 | CONFIG_SERIO_SERPORT=m | ||
| 172 | # CONFIG_LEGACY_PTYS is not set | ||
| 173 | # CONFIG_DEVKMEM is not set | ||
| 174 | CONFIG_SERIAL_IMX=y | ||
| 175 | CONFIG_SERIAL_IMX_CONSOLE=y | ||
| 176 | CONFIG_SERIAL_FSL_LPUART=y | ||
| 177 | CONFIG_SERIAL_FSL_LPUART_CONSOLE=y | ||
| 178 | CONFIG_FSL_OTP=y | ||
| 179 | CONFIG_HW_RANDOM_IMX_RNG=y | ||
| 180 | # CONFIG_I2C_COMPAT is not set | ||
| 181 | CONFIG_I2C_CHARDEV=y | ||
| 182 | # CONFIG_I2C_HELPER_AUTO is not set | ||
| 183 | CONFIG_I2C_ALGOPCF=m | ||
| 184 | CONFIG_I2C_ALGOPCA=m | ||
| 185 | CONFIG_I2C_IMX=y | ||
| 186 | CONFIG_SPI=y | ||
| 187 | CONFIG_SPI_GPIO=y | ||
| 188 | CONFIG_SPI_IMX=y | ||
| 189 | CONFIG_GPIO_SYSFS=y | ||
| 190 | CONFIG_GPIO_MAX732X=y | ||
| 191 | CONFIG_GPIO_PCA953X=y | ||
| 192 | CONFIG_GPIO_74X164=y | ||
| 193 | CONFIG_POWER_RESET=y | ||
| 194 | CONFIG_POWER_RESET_SYSCON_POWEROFF=y | ||
| 195 | CONFIG_POWER_SUPPLY=y | ||
| 196 | CONFIG_SABRESD_MAX8903=y | ||
| 197 | CONFIG_SENSORS_MAX17135=y | ||
| 198 | CONFIG_SENSORS_MAG3110=y | ||
| 199 | CONFIG_THERMAL=y | ||
| 200 | CONFIG_CPU_THERMAL=y | ||
| 201 | CONFIG_IMX_THERMAL=y | ||
| 202 | CONFIG_DEVICE_THERMAL=y | ||
| 203 | CONFIG_WATCHDOG=y | ||
| 204 | CONFIG_IMX2_WDT=y | ||
| 205 | CONFIG_MFD_DA9052_I2C=y | ||
| 206 | CONFIG_MFD_MC13XXX_SPI=y | ||
| 207 | CONFIG_MFD_MC13XXX_I2C=y | ||
| 208 | CONFIG_MFD_MAX17135=y | ||
| 209 | CONFIG_MFD_SI476X_CORE=y | ||
| 210 | CONFIG_MFD_STMPE=y | ||
| 211 | CONFIG_REGULATOR=y | ||
| 212 | CONFIG_REGULATOR_FIXED_VOLTAGE=y | ||
| 213 | CONFIG_REGULATOR_ANATOP=y | ||
| 214 | CONFIG_REGULATOR_DA9052=y | ||
| 215 | CONFIG_REGULATOR_GPIO=y | ||
| 216 | CONFIG_REGULATOR_MAX17135=y | ||
| 217 | CONFIG_REGULATOR_MC13783=y | ||
| 218 | CONFIG_REGULATOR_MC13892=y | ||
| 219 | CONFIG_REGULATOR_PFUZE100=y | ||
| 220 | CONFIG_MEDIA_SUPPORT=y | ||
| 221 | CONFIG_MEDIA_CAMERA_SUPPORT=y | ||
| 222 | CONFIG_MEDIA_RADIO_SUPPORT=y | ||
| 223 | CONFIG_MEDIA_RC_SUPPORT=y | ||
| 224 | CONFIG_RC_DEVICES=y | ||
| 225 | CONFIG_IR_GPIO_CIR=y | ||
| 226 | CONFIG_MEDIA_USB_SUPPORT=y | ||
| 227 | CONFIG_USB_VIDEO_CLASS=m | ||
| 228 | CONFIG_V4L_PLATFORM_DRIVERS=y | ||
| 229 | CONFIG_VIDEO_MXC_OUTPUT=y | ||
| 230 | CONFIG_VIDEO_MXC_CAPTURE=m | ||
| 231 | CONFIG_MXC_CAMERA_OV5640=m | ||
| 232 | CONFIG_MXC_CAMERA_OV5642=m | ||
| 233 | CONFIG_MXC_CAMERA_OV5640_MIPI=m | ||
| 234 | CONFIG_MXC_TVIN_ADV7180=m | ||
| 235 | CONFIG_MXC_IPU_DEVICE_QUEUE_SDC=m | ||
| 236 | CONFIG_VIDEO_MXC_IPU_OUTPUT=y | ||
| 237 | CONFIG_VIDEO_MXC_PXP_V4L2=y | ||
| 238 | CONFIG_VIDEO_MXC_CSI_CAMERA=m | ||
| 239 | CONFIG_MXC_VADC=m | ||
| 240 | CONFIG_MXC_MIPI_CSI=m | ||
| 241 | CONFIG_MXC_CAMERA_OV5647_MIPI=m | ||
| 242 | CONFIG_SOC_CAMERA=y | ||
| 243 | CONFIG_V4L_MEM2MEM_DRIVERS=y | ||
| 244 | CONFIG_VIDEO_CODA=y | ||
| 245 | CONFIG_RADIO_SI476X=y | ||
| 246 | CONFIG_SOC_CAMERA_OV2640=y | ||
| 247 | CONFIG_DRM=y | ||
| 248 | CONFIG_DRM_VIVANTE=y | ||
| 249 | CONFIG_FB_MXS=y | ||
| 250 | CONFIG_FB_MXC_SYNC_PANEL=y | ||
| 251 | CONFIG_FB_MXC_MIPI_DSI=y | ||
| 252 | CONFIG_FB_MXC_MIPI_DSI_SAMSUNG=y | ||
| 253 | CONFIG_FB_MXC_TRULY_WVGA_SYNC_PANEL=y | ||
| 254 | CONFIG_FB_MXC_TRULY_PANEL_TFT3P5079E=y | ||
| 255 | CONFIG_FB_MXC_TRULY_PANEL_TFT3P5581E=y | ||
| 256 | CONFIG_FB_MXC_LDB=y | ||
| 257 | CONFIG_FB_MXC_HDMI=y | ||
| 258 | CONFIG_FB_MXS_SII902X=y | ||
| 259 | CONFIG_FB_MXC_DCIC=m | ||
| 260 | CONFIG_HANNSTAR_CABC=y | ||
| 261 | CONFIG_FB_MXC_EINK_PANEL=y | ||
| 262 | CONFIG_FB_MXC_EINK_V2_PANEL=y | ||
| 263 | CONFIG_LCD_CLASS_DEVICE=y | ||
| 264 | CONFIG_LCD_L4F00242T03=y | ||
| 265 | CONFIG_LCD_PLATFORM=y | ||
| 266 | CONFIG_BACKLIGHT_PWM=y | ||
| 267 | CONFIG_FRAMEBUFFER_CONSOLE=y | ||
| 268 | CONFIG_LOGO=y | ||
| 269 | CONFIG_SOUND=y | ||
| 270 | CONFIG_SND=y | ||
| 271 | CONFIG_SND_USB_AUDIO=m | ||
| 272 | CONFIG_SND_SOC=y | ||
| 273 | CONFIG_SND_IMX_SOC=y | ||
| 274 | CONFIG_SND_SOC_EUKREA_TLV320=y | ||
| 275 | CONFIG_SND_SOC_IMX_WM8960=y | ||
| 276 | CONFIG_SND_SOC_IMX_SII902X=y | ||
| 277 | CONFIG_SND_SOC_IMX_WM8958=y | ||
| 278 | CONFIG_SND_SOC_IMX_CS42888=y | ||
| 279 | CONFIG_SND_SOC_IMX_WM8962=y | ||
| 280 | CONFIG_SND_SOC_IMX_SGTL5000=y | ||
| 281 | CONFIG_SND_SOC_IMX_MQS=y | ||
| 282 | CONFIG_SND_SOC_IMX_SPDIF=y | ||
| 283 | CONFIG_SND_SOC_IMX_MC13783=y | ||
| 284 | CONFIG_SND_SOC_IMX_SI476X=y | ||
| 285 | CONFIG_SND_SOC_IMX_HDMI=y | ||
| 286 | CONFIG_SND_SIMPLE_CARD=y | ||
| 287 | CONFIG_USB=y | ||
| 288 | CONFIG_USB_OTG_WHITELIST=y | ||
| 289 | CONFIG_USB_EHCI_HCD=y | ||
| 290 | CONFIG_USB_EHCI_MXC=y | ||
| 291 | CONFIG_USB_HCD_TEST_MODE=y | ||
| 292 | CONFIG_USB_ACM=m | ||
| 293 | CONFIG_USB_STORAGE=y | ||
| 294 | CONFIG_USB_CHIPIDEA=y | ||
| 295 | CONFIG_USB_CHIPIDEA_UDC=y | ||
| 296 | CONFIG_USB_CHIPIDEA_HOST=y | ||
| 297 | CONFIG_USB_SERIAL=m | ||
| 298 | CONFIG_USB_SERIAL_GENERIC=y | ||
| 299 | CONFIG_USB_SERIAL_FTDI_SIO=m | ||
| 300 | CONFIG_USB_SERIAL_OPTION=m | ||
| 301 | CONFIG_USB_EHSET_TEST_FIXTURE=y | ||
| 302 | CONFIG_NOP_USB_XCEIV=y | ||
| 303 | CONFIG_USB_MXS_PHY=y | ||
| 304 | CONFIG_USB_GADGET=y | ||
| 305 | CONFIG_USB_CONFIGFS=m | ||
| 306 | CONFIG_USB_CONFIGFS_SERIAL=y | ||
| 307 | CONFIG_USB_CONFIGFS_ACM=y | ||
| 308 | CONFIG_USB_CONFIGFS_OBEX=y | ||
| 309 | CONFIG_USB_CONFIGFS_NCM=y | ||
| 310 | CONFIG_USB_CONFIGFS_ECM=y | ||
| 311 | CONFIG_USB_CONFIGFS_ECM_SUBSET=y | ||
| 312 | CONFIG_USB_CONFIGFS_RNDIS=y | ||
| 313 | CONFIG_USB_CONFIGFS_EEM=y | ||
| 314 | CONFIG_USB_CONFIGFS_MASS_STORAGE=y | ||
| 315 | CONFIG_USB_CONFIGFS_F_LB_SS=y | ||
| 316 | CONFIG_USB_CONFIGFS_F_FS=y | ||
| 317 | CONFIG_USB_ZERO=m | ||
| 318 | CONFIG_USB_ETH=m | ||
| 319 | CONFIG_USB_G_NCM=m | ||
| 320 | CONFIG_USB_GADGETFS=m | ||
| 321 | CONFIG_USB_MASS_STORAGE=m | ||
| 322 | CONFIG_USB_G_SERIAL=m | ||
| 323 | CONFIG_MMC=y | ||
| 324 | CONFIG_MMC_SDHCI=y | ||
| 325 | CONFIG_MMC_SDHCI_PLTFM=y | ||
| 326 | CONFIG_MMC_SDHCI_ESDHC_IMX=y | ||
| 327 | CONFIG_MXC_IPU=y | ||
| 328 | CONFIG_MXC_IPU_V3_PRE=y | ||
| 329 | CONFIG_MXC_GPU_VIV=y | ||
| 330 | CONFIG_MXC_SIM=y | ||
| 331 | CONFIG_MXC_MIPI_CSI2=y | ||
| 332 | CONFIG_MXC_HDMI_CEC=y | ||
| 333 | CONFIG_NEW_LEDS=y | ||
| 334 | CONFIG_LEDS_CLASS=y | ||
| 335 | CONFIG_LEDS_GPIO=y | ||
| 336 | CONFIG_LEDS_TRIGGERS=y | ||
| 337 | CONFIG_LEDS_TRIGGER_TIMER=y | ||
| 338 | CONFIG_LEDS_TRIGGER_ONESHOT=y | ||
| 339 | CONFIG_LEDS_TRIGGER_HEARTBEAT=y | ||
| 340 | CONFIG_LEDS_TRIGGER_BACKLIGHT=y | ||
| 341 | CONFIG_LEDS_TRIGGER_GPIO=y | ||
| 342 | CONFIG_RTC_CLASS=y | ||
| 343 | CONFIG_RTC_INTF_DEV_UIE_EMUL=y | ||
| 344 | CONFIG_RTC_DRV_MC13XXX=y | ||
| 345 | CONFIG_RTC_DRV_MXC=y | ||
| 346 | CONFIG_RTC_DRV_SNVS=y | ||
| 347 | CONFIG_DMADEVICES=y | ||
| 348 | CONFIG_IMX_SDMA=y | ||
| 349 | CONFIG_MXS_DMA=y | ||
| 350 | CONFIG_MXC_PXP_V2=y | ||
| 351 | CONFIG_MXC_PXP_V3=y | ||
| 352 | CONFIG_DMATEST=m | ||
| 353 | CONFIG_STAGING=y | ||
| 354 | CONFIG_STAGING_MEDIA=y | ||
| 355 | # CONFIG_IOMMU_SUPPORT is not set | ||
| 356 | CONFIG_IIO=y | ||
| 357 | CONFIG_IMX7D_ADC=y | ||
| 358 | CONFIG_VF610_ADC=y | ||
| 359 | CONFIG_PWM=y | ||
| 360 | CONFIG_PWM_IMX=y | ||
| 361 | CONFIG_EXT2_FS=y | ||
| 362 | CONFIG_EXT2_FS_XATTR=y | ||
| 363 | CONFIG_EXT2_FS_POSIX_ACL=y | ||
| 364 | CONFIG_EXT2_FS_SECURITY=y | ||
| 365 | CONFIG_EXT3_FS=y | ||
| 366 | CONFIG_EXT3_FS_POSIX_ACL=y | ||
| 367 | CONFIG_EXT3_FS_SECURITY=y | ||
| 368 | CONFIG_QUOTA=y | ||
| 369 | CONFIG_QUOTA_NETLINK_INTERFACE=y | ||
| 370 | # CONFIG_PRINT_QUOTA_WARNING is not set | ||
| 371 | CONFIG_AUTOFS4_FS=y | ||
| 372 | CONFIG_FUSE_FS=y | ||
| 373 | CONFIG_ISO9660_FS=m | ||
| 374 | CONFIG_JOLIET=y | ||
| 375 | CONFIG_ZISOFS=y | ||
| 376 | CONFIG_UDF_FS=m | ||
| 377 | CONFIG_MSDOS_FS=m | ||
| 378 | CONFIG_VFAT_FS=y | ||
| 379 | CONFIG_TMPFS=y | ||
| 380 | CONFIG_JFFS2_FS=y | ||
| 381 | CONFIG_UBIFS_FS=y | ||
| 382 | CONFIG_NFS_FS=y | ||
| 383 | CONFIG_NFS_V3_ACL=y | ||
| 384 | CONFIG_NFS_V4=y | ||
| 385 | CONFIG_ROOT_NFS=y | ||
| 386 | CONFIG_NLS_DEFAULT="cp437" | ||
| 387 | CONFIG_NLS_CODEPAGE_437=y | ||
| 388 | CONFIG_NLS_ASCII=y | ||
| 389 | CONFIG_NLS_ISO8859_1=y | ||
| 390 | CONFIG_NLS_ISO8859_15=m | ||
| 391 | CONFIG_NLS_UTF8=y | ||
| 392 | CONFIG_MAGIC_SYSRQ=y | ||
| 393 | # CONFIG_SCHED_DEBUG is not set | ||
| 394 | # CONFIG_DEBUG_BUGVERBOSE is not set | ||
| 395 | CONFIG_FUNCTION_TRACER=y | ||
| 396 | CONFIG_SECURITYFS=y | ||
| 397 | CONFIG_CRYPTO_USER=y | ||
| 398 | CONFIG_CRYPTO_TEST=m | ||
| 399 | CONFIG_CRYPTO_CTS=y | ||
| 400 | CONFIG_CRYPTO_LRW=y | ||
| 401 | CONFIG_CRYPTO_XTS=y | ||
| 402 | CONFIG_CRYPTO_MD4=y | ||
| 403 | CONFIG_CRYPTO_MD5=y | ||
| 404 | CONFIG_CRYPTO_MICHAEL_MIC=y | ||
| 405 | CONFIG_CRYPTO_RMD128=y | ||
| 406 | CONFIG_CRYPTO_RMD160=y | ||
| 407 | CONFIG_CRYPTO_RMD256=y | ||
| 408 | CONFIG_CRYPTO_RMD320=y | ||
| 409 | CONFIG_CRYPTO_SHA512=y | ||
| 410 | CONFIG_CRYPTO_TGR192=y | ||
| 411 | CONFIG_CRYPTO_WP512=y | ||
| 412 | CONFIG_CRYPTO_BLOWFISH=y | ||
| 413 | CONFIG_CRYPTO_CAMELLIA=y | ||
| 414 | CONFIG_CRYPTO_TWOFISH=y | ||
| 415 | CONFIG_CRYPTO_DEV_FSL_CAAM=y | ||
| 416 | CONFIG_CRYPTO_DEV_FSL_CAAM_SM=y | ||
| 417 | CONFIG_CRYPTO_DEV_FSL_CAAM_SM_TEST=y | ||
| 418 | CONFIG_CRYPTO_DEV_FSL_CAAM_SECVIO=y | ||
| 419 | CONFIG_CRYPTO_DEV_MXS_DCP=y | ||
| 420 | CONFIG_CRC_CCITT=m | ||
| 421 | CONFIG_CRC_T10DIF=y | ||
| 422 | CONFIG_CRC7=m | ||
| 423 | CONFIG_LIBCRC32C=m | ||
| 424 | CONFIG_FONTS=y | ||
| 425 | CONFIG_FONT_8x8=y | ||
| 426 | CONFIG_FONT_8x16=y | ||
diff --git a/recipes-kernel/linux/linux-fslc-imx_4.9-1.0.x.bb b/recipes-kernel/linux/linux-fslc-imx_4.9-1.0.x.bb deleted file mode 100644 index b66d0888c..000000000 --- a/recipes-kernel/linux/linux-fslc-imx_4.9-1.0.x.bb +++ /dev/null | |||
| @@ -1,21 +0,0 @@ | |||
| 1 | # Copyright (C) 2015, 2017 O.S. Systems Software LTDA. | ||
| 2 | # Released under the MIT license (see COPYING.MIT for the terms) | ||
| 3 | |||
| 4 | SUMMARY = "FSL Community BSP i.MX Linux kernel with backported features and fixes" | ||
| 5 | DESCRIPTION = "Linux kernel based on NXP 4.9.11-1.0.0 GA release, used by FSL Community BSP in order to \ | ||
| 6 | provide support for i.MX based platforms and include official Linux kernel stable updates, backported \ | ||
| 7 | features and fixes coming from the vendors, kernel community or FSL Community itself." | ||
| 8 | |||
| 9 | include linux-fslc.inc | ||
| 10 | |||
| 11 | PV .= "+git${SRCPV}" | ||
| 12 | |||
| 13 | CVE_VERSION = "${KERNEL_VERSION}" | ||
| 14 | |||
| 15 | SRCBRANCH = "4.9-1.0.x-imx" | ||
| 16 | SRCREV = "953c6e30c9701fda69ef08e2476c541dc4fb1453" | ||
| 17 | SRC_URI += "file://0001-Backport-minimal-compiler_attributes.h-to-support-GC.patch \ | ||
| 18 | file://0002-include-linux-module.h-copy-__init-__exit-attrs-to-i.patch \ | ||
| 19 | " | ||
| 20 | |||
| 21 | COMPATIBLE_MACHINE = "(mx6|mx7)" | ||
