aboutsummaryrefslogtreecommitdiffstats
path: root/arch
Commit message (Collapse)AuthorAgeFilesLines
...
| * Revert "i9300: disable CMA for MFC"Simon Shields2016-03-071-1/+1
| | | | | | | | | | | | | | | | * this actually makes everything worse This reverts commit 1765c98fb7b0e24527baa3dbaf1fa4cdf5905232. Change-Id: Idc4d0d888cf29da191bf4b8423a45c1fda81f7b0
| * i9300: disable CMA for MFCSimon Shields2016-03-061-1/+1
| | | | | | | | Change-Id: Ic5e9ac846259583f5e6be540b760d97b8d214709
| * i9300: enable pegasusq boostingSimon Shields2016-03-051-0/+1
| | | | | | | | Change-Id: Ie8ad0c5aa13d8af306c4d77a49f85c786b5454e5
| * i9300: enable lsm330dlc input interfaceSimon Shields2016-03-051-0/+1
| | | | | | | | Change-Id: I17cb6159c241772e4da50f233da34eb48a241c96
| * i9100: Enable F2FSCaio Schnepper2016-02-231-0/+6
| | | | | | | | Change-Id: Ic8eb87571644fbe8ca0429e35932eae704b740b4
| * i9100: Regenerate defconfigCaio Schnepper2016-02-231-11/+47
| | | | | | | | Change-Id: Id74edd83db7c9196546f2e38f40370bc33409b3b
| * i9300: enable f2fs supportSimon Shields2016-02-161-1/+6
| | | | | | | | Change-Id: Iaa6bab722bb5ffb31fc9863d1841680f2ea157dd
| * t0lte: Enable F2FSrogersb112016-02-161-0/+6
| | | | | | | | Change-Id: I1859403f3090df5b1a82392983c9524ce0a3d701
* | i9300: disable samsung_extdisp driver and regenerate defconfigreplicant-6.0-alpha-0004Wolfgang Wiedmeyer2016-03-251-3/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | The samsung_extdisp driver for GT-I9500 was affected by CVE-2015-1800 and CVE-2015-1801. The Galaxy S3 uses an older version of this driver and is at least affected by CVE-2015-1801. Newer kernel versions for the GT-I9500 had the driver completely removed. I also found no indication that the driver is actually needed for the S3, so let's disable it. vulnerability disclosure and further information: http://blog.quarkslab.com/kernel-vulnerabilities-in-the-samsung-s4.html Signed-off-by: Wolfgang Wiedmeyer <wolfgit@wiedmeyer.de>
* | i9300: ZRAM_FOR_ANDROID=ySimon Shields2016-03-181-1/+1
| | | | | | | | | | | | derp Change-Id: I565a4467ae321359e5b1ba38741cf109a45f0f60
* | Revert "i9300: disable CMA for MFC"Simon Shields2016-03-181-1/+1
| | | | | | | | | | | | | | | | * this actually makes everything worse This reverts commit 1765c98fb7b0e24527baa3dbaf1fa4cdf5905232. Change-Id: Idc4d0d888cf29da191bf4b8423a45c1fda81f7b0
* | i9300: disable CMA for MFCSimon Shields2016-03-181-1/+1
| | | | | | | | Change-Id: Ic5e9ac846259583f5e6be540b760d97b8d214709
* | i9300: enable pegasusq boostingSimon Shields2016-03-181-0/+1
| | | | | | | | Change-Id: Ie8ad0c5aa13d8af306c4d77a49f85c786b5454e5
* | i9300: enable lsm330dlc input interfaceSimon Shields2016-03-181-0/+1
| | | | | | | | Change-Id: I17cb6159c241772e4da50f233da34eb48a241c96
* | i9100: Enable F2FSCaio Schnepper2016-03-181-0/+6
| | | | | | | | Change-Id: Ic8eb87571644fbe8ca0429e35932eae704b740b4
* | i9100: Regenerate defconfigCaio Schnepper2016-03-181-11/+47
| | | | | | | | Change-Id: Id74edd83db7c9196546f2e38f40370bc33409b3b
* | i9300: enable f2fs supportSimon Shields2016-03-181-1/+6
| | | | | | | | Change-Id: Iaa6bab722bb5ffb31fc9863d1841680f2ea157dd
* | t0lte: Enable F2FSrogersb112016-03-181-0/+6
| | | | | | | | Change-Id: I1859403f3090df5b1a82392983c9524ce0a3d701
* | i9300: disable vmware mvp and mobicoreWolfgang Wiedmeyer2016-02-161-11/+3
| | | | | | | | | | | | | | A free user space implementation doesn't seem to exist and they are not needed otherwise also unset accessory as none of the drivers is set anyway Signed-off-by: Wolfgang Wiedmeyer <wolfgit@wiedmeyer.de>
* | Merge remote-tracking branch 'cyanogen/cm-13.0' into replicant-6.0-newWolfgang Wiedmeyer2016-02-16200-1090/+22397
|\ \ | |/ | | | | | | | | | | | | | | | | | | | | | | Signed-off-by: Wolfgang Wiedmeyer <wolfgit@wiedmeyer.de> Conflicts: Makefile firmware/Makefile firmware/epen/W9001_B713.bin.ihex firmware/epen/W9001_B746.bin.ihex firmware/epen/W9001_B746JD.bin.ihex firmware/epen/W9001_B746L.bin.ihex firmware/epen/W9001_B746S.bin.ihex
| * i9300: regen defconfigSimon Shields2016-02-141-11/+49
| | | | | | | | Change-Id: I987c949a42d49c8e5daf9b4a83822b459aac657d
| * defconfig: explicitly build BCM4334 as moduleSimon Shields2016-02-0711-11/+11
| | | | | | | | Change-Id: I5e6af9b08214db7432ec9911447063591229c377
| * cpuidle-exynos4: Don't get stuck at 150 MHz.Christian Neumüller2016-02-051-3/+76
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The following scenario leads to the i9100 getting stuck at 150 MHz: 1. Initially, only CPU0 is online. 2. CPU0 starts to bring CPU1 online. 3. CPU0 is waiting for CPU1 to come online, and meanwhile enters idle. Since it is the only online CPU, it lowers the CPU speed to save power. 4. CPU1 goes online (NOTE: While CPU0 is still idling!) Note that local_irq_disable does not help here because CPU1 could already be starting up (most_likely idle could be entered on CPU0 while in "wait_for_completion_timeout(&cpu_running, ...)" in arch/arm/kernel/smp.c:126. This patch treats CPUs as online ("onlining") as soon as the CPU_UP_PREPARE notifier is fired. Change-Id: I7964ec3ea79084c3050db79d7d6c89db9f378326 (cherry picked from commit c96e5ebbfa00c07a7867b68799ac4c24a7a1535f)
| * Revert "Revert "ARM: SMP: use a timing out completion for cpu hotplug""Caio Schnepper2016-02-051-11/+6
| | | | | | | | | | | | This reverts commit ab6a2b873f19b1fde020b339aab8b830ede31f74. Change-Id: I9eb51664151d6d3b94c70a323d927f6dc9d0d56f
| * No need to panicrogersb112016-02-051-1/+0
| | | | | | | | | | | | Stop the modem from crashing and rebooting the device for no real reason Change-Id: I6d0931a6558eb4ae9530a1dcdf44b0e57827b2e3
| * Revert "ARM: SMP: use a timing out completion for cpu hotplug"rINanDO2016-02-051-6/+11
| | | | | | | | | | | | This reverts commit 5ddd587f9564e31f0767b3f352aadbba5ab69e9e. Change-Id: Idc6f8c9c70081eaa0bd95b9703c0731c48edb5bd
| * smdk4210: Set CONFIG_MMC_BLOCK_MINORS=12rINanDO2016-01-314-4/+4
| | | | | | | | | | | | Allow vold to process all partitions on MMC Change-Id: I3dc38e5554ffa56b65dd0c80cbc41b49c18df062
| * smdk4412: revert old a2dp fixesSimon Shields2016-01-141-1/+0
| | | | | | | | | | | | | | | | | | | | Revert "cpufreq: pegasusq: allow keeping at least two cores awake", and revert "i9300: we have bluetooth deadlocks" This reverts commits 73bb47e7f14bb1d88b70cc46e532b2ec71d66049 and 008e15d4745c3a359ee01ed76529dee2366bac10. Change-Id: I6ecc5fc2bec9a68d80c9c3cf8d23d4ec448e1c73
| * Enable IDIV emulation for any device using cm-13.0rogersb112015-12-2314-0/+14
| | | | | | | | Change-Id: I9cf4c2606e91b5be5bf4d7b0dada5a966fb87230
| * i9300: we have bluetooth deadlocksSimon Shields2015-12-211-0/+1
| | | | | | | | Change-Id: I5f98f69759b024c160ebee7b1dc939a89f2d5ca5
| * ARM: 7527/1: uaccess: explicitly check __user pointer when !CPU_USE_DOMAINSRussell King2015-12-184-25/+60
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The {get,put}_user macros don't perform range checking on the provided __user address when !CPU_HAS_DOMAINS. This patch reworks the out-of-line assembly accessors to check the user address against a specified limit, returning -EFAULT if is is out of range. [will: changed get_user register allocation to match put_user] [rmk: fixed building on older ARM architectures] CRs-Fixed: 504011 Reported-by: Catalin Marinas <catalin.marinas@arm.com> Signed-off-by: Will Deacon <will.deacon@arm.com> Cc: stable@vger.kernel.org Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk> Git-commit: 8404663f81d212918ff85f493649a7991209fa04 Git-repo: git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git Signed-off-by: Laura Abbott <lauraa@codeaurora.org> Conflicts: arch/arm/include/asm/assembler.h arch/arm/lib/getuser.S arch/arm/lib/putuser.S Change-Id: I3818045a136fcdf72deb1371b132e090fd7ed643
| * i9300: enable IDIV emulationSimon Shields2015-12-091-0/+1
| | | | | | | | Change-Id: Iacf2f02620a1144dfdde616ea01414e0e76ab32e
| * arm/traps: get full DIV instruction in thumb modeMichael Gernoth2015-12-091-0/+13
| | | | | | | | Change-Id: Ie60d2124d7835e85f03008d3dfe259b70490b4f2
| * arm: add SDIV/UDIV emulation for ARMv7 processorsVladimir Murzin2015-12-093-0/+222
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The Virtualization Extensions introduce the requirement for an ARMv7-A implementation to include SDIV and UDIV. Any implementation of the Virtualization Extensions must include the SDIV and UDIV instructions in the Thumb and ARM instruction sets. In an ARMv7-A implementation that does not include the Virtualization Extensions, it is IMPLEMENTATION DEFINED whether: * SDIV and UDIV are not implemented * SDIV and UDIV are implemented only in the Thumb instruction set * SDIV and UDIV are implemented in the Thumb and ARM instruction sets. This patch adds a handler to trap and emulate unimplemented SDIV and UDIV instructions in ARM and Thumb modes. Also some basic statistic is exported via /proc/cpu/idiv_emulation Change-Id: I8e721ecac62a05fab42ed7db7951b4c837a59bc7 Signed-off-by: Vladimir Murzin <murzin.v@gmail.com>
| * ARM: 7206/1: Add generic ARM instruction set condition code checks.Leif Lindholm2015-12-093-1/+93
| | | | | | | | | | | | | | | | | | | | | | | | This patch breaks the ARM condition checking code out of nwfpe/fpopcode.{ch} into a standalone file for opcode operations. It also modifies the code somewhat for coding style adherence, and adds some temporary variables for increased readability. Change-Id: I9935fbdebff9ddd263007412edd6a2b3eb06ae69 Signed-off-by: Leif Lindholm <leif.lindholm@arm.com> Reviewed-by: Will Deacon <will.deacon@arm.com> Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
| * Enable optimized AES and SHA1 routinesrogersb112015-12-0815-0/+30
| | | | | | | | Change-Id: I5bc8fa43ea6ebabc893df6bd203656bec66f7db2
| * Display correct kernel version in CM defconfig filesrogersb112015-12-0815-15/+15
| | | | | | | | Change-Id: I24670b8b8cf76fdc386a9e2592a370a11114aa82
| * i9300: use lzma for kernel compressionforkbomb2015-12-021-2/+2
| | | | | | | | Change-Id: I108fc60dad0a6a5401d6bcdbc3e29dfe15bed167
| * t0lte: Enable zram 2/2rogersb112015-12-021-3/+4
| | | | | | | | Change-Id: I4ed713ec9281a4e313f314b2e04ab3aea1c0d5e6
| * Enable zRAM for i9100 and i777 [2/2]Caio Schnepper2015-12-022-6/+8
| | | | | | | | | | | | -Needs http://review.cyanogenmod.org/#/c/111996 Change-Id: If8cc973909ace34465a0c355fc1ccc87af911889
| * Enable UID_CPUTIME and profilingrogersb112015-12-0214-11/+25
| | | | | | | | Change-Id: Ie06e9dcec7b3ff764779ad42753bcd31a767a614
| * t0lte:Use lzma for compressionrogersb112015-11-301-2/+2
| | | | | | | | Change-Id: Ie51affdf3fd45ccc450f401117043f98e11a76bd
| * n51xx : use LZMA instead of GZIP to reduce recovery sizeRGIB2015-11-303-6/+6
| | | | | | | | Change-Id: Ia2c272ef71349659ee479f9ceaea80c91c309733
| * t0ltecdma: use lzma for kernel compressionDan Pasanen2015-11-261-2/+2
| | | | | | | | | | | | * recovery image is now too big :( Change-Id: Ie51707f544f8397f563f08fc0ed5c3d7a3c2f827
| * i9300: enable zram [2/2]forkbomb2015-11-241-3/+4
| | | | | | | | Change-Id: Ia90fe3253d25fdfa11a887c4899afd85cc4b532f
| * 4412: Update the rest of the configs for hardware=smdk4x12rogersb112015-11-117-21/+21
| | | | | | | | Change-Id: I7120e38069e3faeae35f139ef60fe9507fcbe356
| * smdk4210: Add androidboot.hardware=smdk4210 parametersCaio Schnepper2015-11-114-12/+12
| | | | | | | | Change-Id: I36c07bd373ca05881b94475098c12650712fbcb2
| * Merge remote-tracking branch 'korg/linux-3.0.y' into cm-13.0rogersb112015-11-10116-503/+796
| |\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: crypto/algapi.c drivers/gpu/drm/i915/i915_debugfs.c drivers/gpu/drm/i915/intel_display.c drivers/video/fbmem.c include/linux/nls.h kernel/cgroup.c kernel/signal.c kernel/timeconst.pl net/ipv4/ping.c Change-Id: I1f532925d1743df74d66bcdd6fc92f05c72ee0dd
| | * parisc: fix interruption handler to respect pagefault_disable()Helge Deller2013-10-221-3/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | commit 59b33f148cc08fb33cbe823fca1e34f7f023765e upstream. Running an "echo t > /proc/sysrq-trigger" crashes the parisc kernel. The problem is, that in print_worker_info() we try to read the workqueue info via the probe_kernel_read() functions which use pagefault_disable() to avoid crashes like this: probe_kernel_read(&pwq, &worker->current_pwq, sizeof(pwq)); probe_kernel_read(&wq, &pwq->wq, sizeof(wq)); probe_kernel_read(name, wq->name, sizeof(name) - 1); The problem here is, that the first probe_kernel_read(&pwq) might return zero in pwq and as such the following probe_kernel_reads() try to access contents of the page zero which is read protected and generate a kernel segfault. With this patch we fix the interruption handler to call parisc_terminate() directly only if pagefault_disable() was not called (in which case preempt_count()==0). Otherwise we hand over to the pagefault handler which will try to look up the faulting address in the fixup tables. Signed-off-by: Helge Deller <deller@gmx.de> Signed-off-by: John David Anglin <dave.anglin@bell.net> Signed-off-by: Helge Deller <deller@gmx.de> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
| | * tile: use a more conservative __my_cpu_offset in CONFIG_PREEMPTChris Metcalf2013-10-131-3/+31
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | commit f862eefec0b68e099a9fa58d3761ffb10bad97e1 upstream. It turns out the kernel relies on barrier() to force a reload of the percpu offset value. Since we can't easily modify the definition of barrier() to include "tp" as an output register, we instead provide a definition of __my_cpu_offset as extended assembly that includes a fake stack read to hazard against barrier(), forcing gcc to know that it must reread "tp" and recompute anything based on "tp" after a barrier. This fixes observed hangs in the slub allocator when we are looping on a percpu cmpxchg_double. A similar fix for ARMv7 was made in June in change 509eb76ebf97. Signed-off-by: Chris Metcalf <cmetcalf@tilera.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>