summaryrefslogtreecommitdiff
path: root/arch/arm
AgeCommit message (Collapse)Author
2016-12-15ARM: tizen_{odroid,tm2}_defconfig: enable SECURITY_SMACK_APPEND_SIGNALSRafal Krypa
Change-Id: I2a6a9380323f780d327e5e57009ab2edc6aae399 Signed-off-by: Rafal Krypa <r.krypa@samsung.com>
2016-12-14ARM: defconfig: rinato: sync with v4.1.36 rebased treeSeung-Woo Kim
This patch is to sync rinato defconfig with v4.1.36 rebased tree. Change-Id: Ia299861792631dcd0dbe3fb0a78cf96ec954593e Signed-off-by: Seung-Woo Kim <sw0312.kim@samsung.com>
2016-12-14ARM: defconfig: trats2: sync with v4.1.36 rebased treeSeung-Woo Kim
This patch is to sync trats2 defconfig with v4.1.36 rebased tree. Change-Id: Ib0a5eaf7fbed9ddeb1e8fed1941f8185b1001c86 Signed-off-by: Seung-Woo Kim <sw0312.kim@samsung.com>
2016-12-14ARM: defconfig: odroid: sync with v4.1.36 rebased treeSeung-Woo Kim
This patch is to sync odroid defconfig with v4.1.36 rebased tree. Change-Id: I6de9150678bb53ccf5ba2e319da2744fb472866a Signed-off-by: Seung-Woo Kim <sw0312.kim@samsung.com>
2016-12-14ARM: tizen_odroid_defconfig: enableCONFIG_NETFILTER_XT_TARGET_SECMARKjooseong lee
The config allows security marking of network packets. Iptable need to set packet's secmark to 'System' label to avoid Smack deny issue only for multicast address range. * Refer to : https://review.tizen.org/gerrit/#/c/100096/ Change-Id: If0dcf494197beb7eb5ae035e0998ac2c8907d0cc Signed-off-by: jooseong lee <jooseong.lee@samsung.com>
2016-12-14ARM: defconfig: odroid: enable USB CAN/GPS interfaceSangjung Woo
In order to support both USB Serial CAN adaptor and GPS USB interface, this enables its related options. Change-Id: I220e8366b51798e38759f18b4d830a3b47302400 Signed-off-by: Sangjung Woo <sangjung.woo@samsung.com>
2016-12-14ARM: defconfig: odroid: enable tethering & its related optionsSangjung Woo
In order to support Network tethering, this patch enables its related options. Change-Id: I4a358b5df65c539d0b56331040b28711ab096078 Signed-off-by: Sangjung Woo <sangjung.woo@samsung.com> Signed-off-by: Joonyoung Shim <jy0922.shim@samsung.com>
2016-12-14ARM: defconfig: odroid: enable USB PEAK CAN driverSangjung Woo
In order to support USB PEAK CAN driver, this patch enables it. Change-Id: I7d859e657cd22ed753b93e41194b7a1eadf1f8fe Signed-off-by: Sangjung Woo <sangjung.woo@samsung.com>
2016-12-14ARM: defconfig: odroid: enable CAN and VCAN options.Sangjung Woo
In order to support CAN (i.e. Controller Area Network), this patch enables CAN and its related options like VCAN. Change-Id: I4d709b0be98c1ed1c307925fd5cdca0058ea6847 Signed-off-by: Sangjung Woo <sangjung.woo@samsung.com>
2016-12-14ARM: dts: add mmc detect gpio for exynos5422-odroidxu3/4Łukasz Stelmach
The patch adds gpio for detecting presence of MMC card. It fixes issue with kernel hang when MMC card is missing and prevents flooding kernel log with mmc bus parameters. Change-Id: I6eca44d9942c9f5958dba68a98ea25f2809ed20d Signed-off-by: Andrzej Hajda <a.hajda@samsung.com> Signed-off-by: Łukasz Stelmach <l.stelmach@samsung.com> Signed-off-by: Kukjin Kim <kgene@kernel.org> Origin: https://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/commit/?id=fb1aeedb61adcb7651eada9eb79ddfa11f21f085
2016-12-14ARM: tizen_{odroid,tm2}_defconfig: enable DMA BUF FENCE supportMarek Szyprowski
Change-Id: I963eaef32f09f32f3e93418e6c236964ee0e54ad Signed-off-by: Marek Szyprowski <m.szyprowski@samsung.com>
2016-12-14ARM: defconfig: odroid: enable 6LOWPAN and BT_6LOWPAN optionsSeung-Woo Kim
This patch enables 6Lowpan modules for BT. Change-Id: Id607cc9ef9cdcee5600ecfe151562752ade82475 Signed-off-by: Seung-Woo Kim <sw0312.kim@samsung.com>
2016-12-14ARM: defconfig: odroid: enable CPUFREQ_DT config optionSeung-Woo Kim
To support cpufreq from non big.little arm socs, CPUFREQ_DT shuold be enabled. So, this patch enables CPUFREQ_DT config option. Change-Id: Ic964ce630b6e0eeb4480d5f87b9ec32f375ffc0f Suggested-by: Chanwoo Choi <cw00.choi@samsung.com> Signed-off-by: Seung-Woo Kim <sw0312.kim@samsung.com>
2016-12-14ARM: defconfig: odroid: enable SMACK and AUDIT options for NETFILTERSeung-Woo Kim
To support security check of network packet from Tizen platform, it is required to enable the configs for SMACK_NETFILTER dependent on NETWORK_SECMARK and AUDIT of NETFILTER. Change-Id: I9176fcad446ea87f503165c4cf2f3aff3c60ec4f Signed-off-by: Seung-Woo Kim <sw0312.kim@samsung.com>
2016-12-14ARM: tizen_trats2_defconfig: Disable MALI_DVFSJoonyoung Shim
MALI_DVFS is internal DVFS feature of mali400. Now we use specific DVFS(USING_GPU_UTILIZATION) and USING_GPU_UTILIZATION conflicts with MALI_DVFS, so disable MALI_DVFS config. Change-Id: I7edd335a1f23e09ee38ecb43e9c380f695dac78b Signed-off-by: Joonyoung Shim <jy0922.shim@samsung.com>
2016-12-14ARM: tizen_rinato_defconfig: Disable MALI_DVFSJoonyoung Shim
MALI_DVFS is internal DVFS feature of mali400. Now we use specific DVFS(USING_GPU_UTILIZATION) and USING_GPU_UTILIZATION conflicts with MALI_DVFS, so disable MALI_DVFS config. Change-Id: Iebef1cddfecfa968d2b19b8b0af7ba5ae017c841 Signed-off-by: Joonyoung Shim <jy0922.shim@samsung.com>
2016-12-14ARM: tizen_odroid_defconfig: Disable MALI_DVFSJoonyoung Shim
MALI_DVFS is internal DVFS feature of mali400. Now we use specific DVFS(USING_GPU_UTILIZATION) and USING_GPU_UTILIZATION conflicts with MALI_DVFS, so disable MALI_DVFS config. Change-Id: I00d0b9737a4caed5a357a2e196e0c37392eb1d80 Signed-off-by: Joonyoung Shim <jy0922.shim@samsung.com>
2016-12-14Enable dummy_hcd and FunctionFS in odroidxu3 config.Krzysztof Opasiak
This is required to run usb host API test suit. Change-Id: I99058db93922e1279f090d76bbacf6c8fe7985b8 Signed-off-by: Krzysztof Opasiak <k.opasiak@samsung.com>
2016-12-14arm: tizen_odroid_defconfig: enable Android logger driverInki Dae
This patch enables Android logger driver. Tizen common platform will use Android logger driver and dlog will be used as its backend. Change-Id: Id94c5d8f57bfd9d66c8ace470ff82b58699e20a4 Signed-off-by: Inki Dae <inki.dae@samsung.com> Signed-off-by: Seung-Woo Kim <sw0312.kim@samsung.com>
2016-12-14ARM: dts: trats2: add "reboot-inform" property for supporting reboot modeJaehoon Chung
Add the reboot-inform property for supporting reboot mode. Trats2 is INFORM3 register, other boards are using INFORM2 regsiter. In trats2's case, when we released the tizen-2.X with linux-3.10 kernel, it had used the INFORM3 register. That's why trats2 only use the INFORM3 register. Change-Id: Ief314f50c47601ad646789790b36731e64e0b688 Signed-off-by: Jaehoon Chung <jh80.chung@samsung.com>
2016-12-14ARM: dts: odroid: add "reboot-inform" property for supporting reboot modeJaehoon Chung
Add the reboot-inform property for supporting reboot mode. Odroid families use the INFORM2 register as reboot special mode. Change-Id: I906c32e6d26fcf08748f4916c277fb3995a1117f Signed-off-by: Jaehoon Chung <jh80.chung@samsung.com>
2016-12-14ARM: exynos: pmu: support the reboot download modeJaehoon Chung
Support the reboot download mode functionality. It can get from device-treee which INFORM register will be used. If want to use this functionality, it also needs to implement something on bootloader side. Change-Id: Iae42f32d69b84ccdcb39fcfc8bc71f9cc8c42302 Signed-off-by: Jaehoon Chung <jh80.chung@samsung.com>
2016-12-14arm: dts: exynos542x: disable orphaned G2D SYSMMU controllersMarek Szyprowski
Disable G2D SYSMMU controllers until support for G2D is really implemented and G2D SYSMMU register access freeze issue is resolved. Signed-off-by: Marek Szyprowski <m.szyprowski@samsung.com> Change-Id: I38542642d255313307d9ac6a836ffece4a402b2b
2016-12-14ARM: defconfig: rinato: replace mali400 driver to r5p2 from r4p0Joonyoung Shim
This patch replaces mali400 driver from r4p0 to r5p2 for rinato to align with other boards with mali400. Change-Id: I3f9cb30ccef2390d1df91e7bb2d9d17b4ce29d6e Signed-off-by: Joonyoung Shim <jy0922.shim@samsung.com>
2016-12-14ARM: dts: exynos3250: fix g3d nodesJoonyoung Shim
This fixes order of reg resources. First has to be resource that has lowest address because mali400 r5p2 version requires it. This also adds interrupt-names for g3d nodes. The interrupt-names needs at mali400 r5p2 version. Change-Id: I84a31ff3691ffea084b5f3f0abbcf998ea0a8371 Signed-off-by: Joonyoung Shim <jy0922.shim@samsung.com>
2016-12-14ARM: defconfig: rinato: sync defconfig file for rinato to v4.1 treeJaehoon Chung
This patch updates the defconfig file for rinato to sync with v4.1 tree. Change-Id: Ib1abd29eb6f1a1c23df44d273de1d1d963370143 Signed-off-by: Jaehoon Chung <jh80.chung@samsung.com> Signed-off-by: Seung-Woo Kim <sw0312.kim@samsung.com>
2016-12-14ARM: defconfig: trats2: replace mali400 driver to r5p2 from r4p0Seung-Woo Kim
This patch replaces mali400 driver from r4p0 to r5p2 for trats2 to align with other boards with mali400. Change-Id: I52d4d85a75d1a399dda3439d5ac6c189b863a48f Signed-off-by: Seung-Woo Kim <sw0312.kim@samsung.com>
2016-12-14ARM: defconfig: trats2: disable CONFIG_MMC_CLKGATEJaehoon Chung
This patch disables CONFIG_MMC_CLKGATE to remove spamming mmc log message about setting mmc clock. Change-Id: I1f3071f3e9da6c5d213e48fcb731595ff7b29679 Signed-off-by: Jaehoon Chung <jh80.chung@samsung.com> Signed-off-by: Seung-Woo Kim <sw0312.kim@samsung.com>
2016-12-14ARM: defconfig: trats2: sync defconfig file for v4.1 treeJaehoon Chung
This patch updates the defconfig file for trats2 to sync with v4.1 tree. Change-Id: Ib9682a36e721a881256ce52caa94a916a91d8403 Signed-off-by: Jaehoon Chung <jh80.chung@samsung.com> Signed-off-by: Seung-Woo Kim <sw0312.kim@samsung.com>
2016-12-14ARM: tizen_odroid_defconfig: enable sync configJoonyoung Shim
The android sync config is enabled by request of window part because of vulkan support. Signed-off-by: Joonyoung Shim <jy0922.shim@samsung.com>
2016-12-14ARM: tizen_odroid_defconfig: enable mali400 r5p2_rel0Joonyoung Shim
Enable mali400 r5p2_rel0 instead of r4p0_rel0. Signed-off-by: Joonyoung Shim <jy0922.shim@samsung.com>
2016-12-14ARM: tizen_odroid_defconfig: enable mali midgard r12p0_04rel0Joonyoung Shim
We will use mali midgard r12p0_04rel0 instead of r5p0_06rel0. Signed-off-by: Joonyoung Shim <jy0922.shim@samsung.com>
2016-12-14ARM: dts: exynos4x12: fix g3d nodesJoonyoung Shim
This fixes order of reg resources. First has to be resource that has lowest address because mali400 r5p2 version requires it. This also adds interrupt-names for g3d nodes. The interrupt-names needs at mali400 r5p2 version. Signed-off-by: Joonyoung Shim <jy0922.shim@samsung.com>
2016-12-14ARM: dts: exynos5422-odroidxu3-common: Add mali regulator supplyJoonyoung Shim
mali-supply is used for devfreq voltage supply control. Signed-off-by: Joonyoung Shim <jy0922.shim@samsung.com>
2016-12-14arm: configs: merge odroid related defconfigsSeung-Woo Kim
There are two separated defconfig files for odroid including tizen_odroidu3_defconfig and odroidxu3_defconfig. With just one defconfig, it is possible to support both boards. So this patch merges both odroid defconfigs into one tizen_odroid_defconfig and also replaces defconfig from packaging spec file. Change-Id: I5232ab6e5adfb98ea312e2fcfb9d149860c8764d Signed-off-by: Seung-Woo Kim <sw0312.kim@samsung.com>
2016-12-14arm: ubsan: select ARCH_HAS_UBSAN_SANITIZE_ALLSeung-Woo Kim
To enable UBSAN on arm, this patch enables ARCH_HAS_UBSAN_SANITIZE_ALL from arm confiuration. Basic kernel booting is tested on arm kernel enabled CONFIG_UBSAN_SANITIZE_ALL from Exynos5422 based Odroid-XU3 board. Change-Id: I9480a9af713b88eff2a90df11f78e1feb97eac30 Signed-off-by: Seung-Woo Kim <sw0312.kim@samsung.com>
2016-12-14ARM: 8471/1: need to save/restore arm register(r11) when it is corruptedAnson Huang
In cpu_v7_do_suspend routine, r11 is used while it is NOT saved/restored, different compiler may have different usage of ARM general registers, so it may cause issues during calling cpu_v7_do_suspend. We meet kernel fault occurs when using GCC 4.8.3, r11 contains valid value before calling into cpu_v7_do_suspend, but when returned from this routine, r11 is corrupted and lead to kernel fault. Doing save/restore for those corrupted registers is a must in assemble code. Signed-off-by: Anson Huang <Anson.Huang@freescale.com> Reviewed-by: Nicolas Pitre <nico@linaro.org> Cc: <stable@vger.kernel.org> # v3.3+ Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk> [Backport from mainline to fix boot hangup on arm with UBSAN] Signed-off-by: Seung-Woo Kim <sw0312.kim@samsung.com> Change-Id: I2c0bb7b8e9d4a0489a4e9e08c65ed7b39fea9ee8
2016-12-14ARM: dts: Remove fimd node from exynos5422-odroidxu3-commonMarek Szyprowski
FIMD device is not used at all on Exynos5422-based Odroid XU3-lite and XU4. XU3 board theorethically can support FIMD with DisplayPort connector, but due to hw limitation/design it doesn't work in most cases. It is also not even enabled in XU3 dts file. FIMD node was enabled mainly due to limitation of early Exynos DRM driver, which didn't initialize properly when no FIMD device was available. This node can be now safely removed from XU3-common dtsi and added layer to Odroid XU3 dts, when Display Port driver gets enabled. Signed-off-by: Marek Szyprowski <m.szyprowski@samsung.com> Tested-by: Krzysztof Kozlowski <k.kozlowski@samsung.com> Reviewed-by: Krzysztof Kozlowski <k.kozlowski@samsung.com> Signed-off-by: Krzysztof Kozlowski <k.kozlowski@samsung.com> [mainline backport of commit 616d289abac9c63f5a5a56c0deb088360f4aed06] Signed-off-by: Marek Szyprowski <m.szyprowski@samsung.com> Change-Id: I616d289abac9c63f5a5a56c0deb088360f4aed06
2016-12-14ARM: dts: Add async-bridge clock to MFC power domain for Exynos5420Javier Martinez Canillas
The MFC IP is also inter-connected by an Async-Bridge so the CLK_ACLK333 has to be ungated during a power domain switch. Trying to do it when the clock is gated will fail and lead to an imprecise external abort error when the driver tries to access the MFC registers with the PD disabled. For example, if the s5p-mfc module is removed and the MFC PD turned off: [ 186.835606] Power domain power-domain@10044060 disable failed [ 186.835671] s5p-mfc 11000000.codec: Removing 11000000.codec [ 186.837670] Power domain power-domain@10044060 disable failed And when the module is inserted again: [ 2395.176956] s5p_mfc_wait_for_done_dev:34: Interrupt (dev->int_type:0, command:12) timed out [ 2395.177031] s5p_mfc_init_hw:272: Failed to load firmware [ 2395.177384] Unhandled fault: imprecise external abort (0x1406) at 0x00000000 [ 2395.177441] pgd = ec3b4000 [ 2395.177467] [00000000] *pgd=00000000 [ 2395.177507] Internal error: : 1406 [#1] PREEMPT SMP ARM [ 2395.177550] Modules linked in: s5p_mfc mwifiex_sdio mwifiex uvcvideo s5p_jpeg v4l2_mem2mem videobuf2_vmalloc videobuf2_dma_contig videobuf2_memops videobuf2_v4l2 videobuf2_core v4l2_common videodev media [last unloaded: s5p_mfc] [ 2395.177774] CPU: 1 PID: 2382 Comm: v4l_id Tainted: G W 4.6.0-rc6-next-20160502-00010-g7730dc64d2c1-dirty #179 [ 2395.177857] Hardware name: SAMSUNG EXYNOS (Flattened Device Tree) [ 2395.177906] task: ed275500 ti: e6c8c000 task.ti: e6c8c000 [ 2395.177996] PC is at s5p_mfc_reset+0x1c4/0x284 [s5p_mfc] [ 2395.178057] LR is at s5p_mfc_reset+0x1a4/0x284 [s5p_mfc] This patch fixes this issue by adding the CLK_ACLK333 as an Async-Bridge clock for the MFC power domain, so the PD configuration works properly. Signed-off-by: Javier Martinez Canillas <javier@osg.samsung.com> Reviewed-by: Krzysztof Kozlowski <k.kozlowski@samsung.com> Signed-off-by: Krzysztof Kozlowski <k.kozlowski@samsung.com> [backport of mainline commit 94aed538e032d82287023beb9c59ee80f03a1493] Signed-off-by: Marek Szyprowski <m.szyprowski@samsung.com> Change-Id: I94aed538e032d82287023beb9c59ee80f03a1493
2016-12-14ARM: add support for generic early_ioremap/early_memremapArd Biesheuvel
This enables the generic early_ioremap implementation for ARM. It uses the fixmap region reserved for kmap. Since early_ioremap is only supported before paging_init(), and kmap is only supported afterwards, this is guaranteed not to cause any clashes. Tested-by: Ryan Harkin <ryan.harkin@linaro.org> Reviewed-by: Matt Fleming <matt@codeblueprint.co.uk> Signed-off-by: Ard Biesheuvel <ard.biesheuvel@linaro.org> [backport from mainline to support ioremap on earlycon for arm target] Signed-off-by: Seung-Woo Kim <sw0312.kim@samsung.com> Change-Id: I4e2d88b47a4c1f31882632b702df6a627b109308
2016-12-14ARM: 8415/1: early fixmap support for earlyconStefan Agner
Add early fixmap support, initially to support permanent, fixed mapping support for early console. A temporary, early pte is created which is migrated to a permanent mapping in paging_init. This is also needed since the attributes may change as the memory types are initialized. The 3MiB range of fixmap spans two pte tables, but currently only one pte is created for early fixmap support. Re-add FIX_KMAP_BEGIN to the index calculation in highmem.c since the index for kmap does not start at zero anymore. This reverts 4221e2e6b316 ("ARM: 8031/1: fixmap: remove FIX_KMAP_BEGIN and FIX_KMAP_END") to some extent. Cc: Mark Salter <msalter@redhat.com> Cc: Kees Cook <keescook@chromium.org> Cc: Laura Abbott <lauraa@codeaurora.org> Cc: Arnd Bergmann <arnd@arndb.de> Cc: Ard Biesheuvel <ard.biesheuvel@linaro.org> Signed-off-by: Rob Herring <robh@kernel.org> Signed-off-by: Stefan Agner <stefan@agner.ch> Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk> [backport from mainline to support ioremap on earlycon for arm target] Signed-off-by: Seung-Woo Kim <sw0312.kim@samsung.com> Change-Id: Ifeee5e94d70d87b74b8e0d2bb3b4d32f6d946a01
2016-12-14ARM: odroidxu3_defconfig: enable usb acm driver configSeung-Woo Kim
This patch enables usb cdc-acm driver config to support /dev/ttyACM# nodes for ACM class devices. Change-Id: I8531129aeabd504bb5f43a34379a1a2b6634a65c Signed-off-by: Seung-Woo Kim <sw0312.kim@samsung.com>
2016-12-14ARM: odroidxu3_defconfig: enable dm_cryptSeung-Woo Kim
This patch enables dm_crypto config instead of building as a module to manage encrypted disk. Change-Id: Ic1639439a473cc2cd2e5206de282798d2e9f3973 Signed-off-by: Seung-Woo Kim <sw0312.kim@samsung.com>
2016-12-14ARM: odroidxu3_defconfig: enable cp210x usb serial driverSeung-Woo Kim
This patch enables cp210x usb serial driver. It is required to use specific usb serial dongle. Change-Id: I1e0a991ec4e467fd236a1806d672a42faa996081 Signed-off-by: Seung-Woo Kim <sw0312.kim@samsung.com>
2016-12-14packaging: enable KDBUS for odroidxu3Paul Osmialowski
CONFIG_KDBUS=y line added to odroidxu3_defconfig in the exact spot where it is usually placed in .config file. Change-Id: I019070af680aa8f1316cd2c2d069731d19f7c5b4 Signed-off-by: Paul Osmialowski <p.osmialowsk@samsung.com>
2016-12-14ARM: DTS: exynos5420: add GSCL block parent clock management to pm domainMarek Szyprowski
Add support for restoring GSCALLER parent clocks configuration when GSCL power domain is turned on. Signed-off-by: Marek Szyprowski <m.szyprowski@samsung.com>
2016-12-14ARM: odroidxu3_defconfig: enable UACCESS_WITH_MEMCPYJunghak Sung
Enable CONFIG_UACCESS_WITH_MEMCPY for odroid-xu3. Fix an issue that sometimes TS data is broken when DVB demux pass the data to user-space by using copy_to_user. Change-Id: I7994f193871e70afe31df9c7abdd75b8909b587d Signed-off-by: Junghak Sung <jh1009.sung@samsung.com>
2016-12-14ARM: odroidxu3_defconfig: enable zram featureSeung-Woo Kim
This patch enables zram feature which is used by Tizen resourced. Change-Id: I3f35f1c53ce60d64263064ed9b5b8221e1b63bb4 Signed-off-by: Seung-Woo Kim <sw0312.kim@samsung.com>
2016-12-14ARM: odroidxu3_defconfig: enable CONFIG_USB_RTL8152Joonyoung Shim
Enable CONFIG_USB_RTL8152 for Odroid-XU4. Change-Id: Iab87b058f01c0b8cd376d1fa4d84099ab412ba9a Signed-off-by: Joonyoung Shim <jy0922.shim@samsung.com>
2016-12-14ARM: odroidxu3_defconfig: enable rt2x00 wifi usb driversSeung-Woo Kim
This patch enables rt2x00 wifi usb drivers to support rt5572n. Change-Id: I1d7f9c71e9cb60c83986f4e90cb1edd7557333df Signed-off-by: Seung-Woo Kim <sw0312.kim@samsung.com>