Commit Graph

159047 Commits

Author SHA1 Message Date
Jie Zhou
ef5ea51ba2 ENGR00126064 GPU: disable mmu to pass OpenVG CTS
If enabled MMU, there is AXI read/write error on MX508 when run
OpenVG CTS.

Besides, change EMEM1 size to 10MB by default to make gpu driver
work on MX50_ARM2 board with 128MB memory installed.

Signed-off-by: Jie Zhou <b30303@freescale.com>
2010-11-13 10:09:43 -06:00
Jie Zhou
90875b3f6c ENGR00125984 GPU: enable MMU for MX508 and MX35
Remove GSL_MMU_TRANSLATION_ENABLED macro originally used for conditional
compile, and replace it with runtime check to support one mx5x image

Signed-off-by: Jie Zhou <b30303@freescale.com>
2010-11-13 10:09:41 -06:00
Jie Zhou
dd4baeffab ENGR00125615 GPU: disable z160 in gsl when X-Accel enabled
When X-accel is enabled, uio driver is used for X server to access
z160 device, so in gsl, we should not operate z160 to avoid conflicts

Signed-off-by: Jie Zhou <b30303@freescale.com>
2010-11-13 10:08:00 -06:00
Jie Zhou
373272e191 ENGR00125729-2 GPU: merge hal for MX35/MX50 and MX51/MX53
Add MX508 support, and adapt the gpu driver to one image

Signed-off-by: Jie Zhou <b30303@freescale.com>
2010-11-13 10:07:57 -06:00
Jie Zhou
704376ffb4 ENGR00125729-1 MX5x MSL: set gpu resources correctly
MX50 has no 3D interrupt, 3D register space, and gmem

Signed-off-by: Jie Zhou <b30303@freescale.com>
2010-11-13 10:07:54 -06:00
Matt Sealey
686802fda3 Unify NOR partitioning on both boards 2010-11-13 10:04:22 -06:00
Matt Sealey
5afbe5a143 smartbook: remove ddr2 hack 2010-11-13 10:01:25 -06:00
Matt Sealey
0653eb30c9 smartbook: fix GPU resource allocation to match other boards 2010-11-13 10:00:05 -06:00
Saleem Abdulrasool
bd5e72ac57 report energy and charge full design 2010-11-13 09:57:46 -06:00
Saleem Abdulrasool
46b11b0748 report energy and charge full 2010-11-13 09:57:44 -06:00
Saleem Abdulrasool
078accb95f report energy and charge now 2010-11-13 09:57:41 -06:00
Saleem Abdulrasool
56cef15721 add efikasb_batt_write 2010-11-13 09:57:38 -06:00
Saleem Abdulrasool
3445c14876 remove unnecessary goto usage in efikasb_batt_read 2010-11-13 09:57:35 -06:00
Saleem Abdulrasool
9c47932e07 fix whitespace 2010-11-13 09:57:32 -06:00
Marcin Juszkiewicz
1f4b4131ac rename hex_to_bin to get compat-wireless working 2010-11-13 09:54:37 -06:00
Kees Cook
bbfc380c69 syslog: distinguish between /proc/kmsg and syscalls
This allows the LSM to distinguish between syslog functions originating
from /proc/kmsg access and direct syscalls.  By default, the commoncaps
will now no longer require CAP_SYS_ADMIN to read an opened /proc/kmsg
file descriptor.  For example the kernel syslog reader can now drop
privileges after opening /proc/kmsg, instead of staying privileged with
CAP_SYS_ADMIN.  MAC systems that implement security_syslog have unchanged
behavior.

Signed-off-by: Kees Cook <kees.cook@canonical.com>
2010-11-13 09:54:07 -06:00
Matt Sealey
74488fa0f5 Fix display offset bug on the AUO panels. Might be better in the future to pull and patch EDID. 2010-11-13 09:53:31 -06:00
Matt Sealey
af202f1078 bump to .3 2010-10-28 04:19:52 -05:00
Matt Sealey
279a54bf19 ARM 5897/1: spinlock: don't use deprecated barriers on ARMv7 2010-10-28 04:18:38 -05:00
Matt Sealey
14d4ef254c ARM 5849/1 ARMv7: fix Oprofile events count 2010-10-28 04:18:16 -05:00
Matt Sealey
4eef68a3c8 ARM 5889/1: Add atomic64 routines for ARMv6k and above. 2010-10-28 04:17:56 -05:00
Matt Sealey
1bbde191a3 ARM 5997/1: Correct the VFPv3 detection 2010-10-28 04:17:41 -05:00
Matt Sealey
f82e55babe ARM 5977/1: Enable backtrace printing on oops when PC is corrupted 2010-10-28 04:17:28 -05:00
Matt Sealey
bdcb202655 ARM 5868/1: ARM: fix "BUG: using smp_processor_id() in preemptible code" 2010-10-28 04:17:18 -05:00
Matt Sealey
d55b6dcd76 ARM 5794/1 Flush the D-cache during copy_user_highpage() 2010-10-28 04:17:09 -05:00
Matt Sealey
9dda27bbe8 ARM 5784/1 fix early boot machine ID mismatch error display 2010-10-28 04:16:55 -05:00
Matt Sealey
8cb1a08882 Fix innocuous warning in ureadahead support 2010-10-28 04:16:12 -05:00
Matt Sealey
5b0051e382 ipu: make disable/unitialized "error" into "info" since it doesn't mean anything went wrong 2010-10-28 04:16:01 -05:00
Matt Sealey
e6abfd65bb pata_fsl: make the dma rchan/wchan message in the kernel INFO so it doesn't get printed when we want to be quiet 2010-10-28 04:15:51 -05:00
Matt Sealey
6e079ede18 pata_fsl: remove that annoying frame size error by allocating scatterlists with kzalloc instead of defining tmp[64]
Results: no more warning
Impact: no performance hit (PATA is too slow on these devices for it to matter).
2010-10-28 04:15:07 -05:00
Matt Sealey
38a29b12a1 uio: fix config 2010-10-21 16:26:44 -05:00
Matt Sealey
b0a365f278 Revert "config: uio fix"
This reverts commit 23a402db3f.
2010-10-21 16:25:43 -05:00
Matt Sealey
23a402db3f config: uio fix 2010-10-21 16:24:25 -05:00
Matt Sealey
b74f593d0a uio: remove from configs since Genesi's preferred method for VG GPU access is via the AMD GPU module 2010-10-21 15:21:00 -05:00
Matt Sealey
578dcac8a1 version bump to 14.2 encompassing stability fixes 2010-10-21 13:22:44 -05:00
Matt Sealey
f975343946 matching EfikaMX support for ENGR00126861-1 csi clock change 2010-10-21 13:18:26 -05:00
Jason Chen
e8fe793cf5 ENGR00126156 ipuv3: check own clk count only when around clk rate
If dual display enabled, the second one may not be able to set
correct clock rate if it's from ext clk.

Signed-off-by: Jason Chen <b02280@freescale.com>
2010-10-21 13:17:58 -05:00
Dinh Nguyen
cc1ca49e78 ENGR00126861-2: ipu: pass csi clock in ipu platform data
ipu: pass csi clock in platform data
ipu: use ipu hw rev instead of chip version

Acked-by: Rob Herring <r.herring@freescale.com>
Signed-off-by: Dinh Nguyen <Dinh.Nguyen@freescale.com>
2010-10-21 13:17:38 -05:00
Dinh Nguyen
a800e654d7 ENGR00126861-1: mx51: pass csi clock in ipu platform data
ipu: pass csi clock in platform data

Acked-by: Rob Herring <r.herring@freescale.com>
Signed-off-by: Dinh Nguyen <Dinh.Nguyen@freescale.com>
2010-10-21 13:17:11 -05:00
Jason Liu
83ae16120e ENGR00125796 MX5x: Boot stop at "Starting kernel ..."
System sometime stop at "Starting kernel ...". After connect with
ICE, we found that system enter abort mode. The abort sometimes is
data abort and sometimes prefetch abort.This issue may caused by that
we config the PLL1 while CPU clock is runing on it.In fact, we don't
need do PLL1 enable operation if it already run up and which will
bring side-effect for the impact of cpu clock.

Signed-off-by:Jason Liu <r64343@freescale.com>
2010-10-21 13:12:36 -05:00
Ingo Molnar
14c9e46dd4 genirq: Run irq handlers with interrupts disabled
Running interrupt handlers with interrupts enabled can cause stack
overflows. That has been observed with multiqueue NICs delivering all
their interrupts to a single core. We might band aid that somehow by
checking the interrupt stacks, but the real safe fix is to run the irq
handlers with interrupts disabled.

Drivers for whacky hardware still can reenable them in the handler
itself, if the need arises. (They do already due to lockdep)

The risk of doing this is rather low:

 - lockdep already enforces this
 - CONFIG_NOHZ has shaken out the drivers which relied on jiffies updates
 - time keeping is not longer sensitive to the timer interrupt being delayed

Signed-off-by: Ingo Molnar <mingo@elte.hu>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: Alan Cox <alan@lxorguk.ukuu.org.uk>
Cc: Andi Kleen <andi@firstfloor.org>
Cc: David Miller <davem@davemloft.net>
Cc: Greg Kroah-Hartman <gregkh@suse.de>
Cc: Arnaldo Carvalho de Melo <acme@redhat.com>
Cc: Linus Torvalds <torvalds@osdl.org>
LKML-Reference: <20100326000405.758579387@linutronix.de>
2010-10-21 13:12:24 -05:00
Jie Zhou
fefd0f80de ENGR00125800 UIO: clean uioinfo when uninstall uio driver
The uioinfo should be cleaned up when uninstall, otherwise re-install
failure of uio_pdrv_genirq.ko will happen.

Signed-off-by: Jie Zhou <b30303@freescale.com>
2010-10-21 13:12:10 -05:00
Matt Sealey
1e89231708 trace: ureadahead support 2010-10-20 00:40:00 -05:00
Matt Sealey
2b5591d0f4 version bump (2.6.31.14.1) so that package conflicts don't happen 2010-10-19 19:48:30 -05:00
Matt Sealey
86d37573c7 configs: disable PREEMPT as it may be causing horrible problems 2010-10-19 09:56:03 -05:00
Matt Sealey
4f26d08957 From 148a2911a31f77f18778519bf300143f850fddaf Mon Sep 17 00:00:00 2001
From: Steev Klimaszewski <steev@gentoo.org>
Date: Mon, 18 Oct 2010 08:40:53 -0500
Subject: [PATCH] CONFIG_PPP_MULTILINK and CONFIG_PPP_FILTER cannot be modular, since
 we want the support, build them in with y
2010-10-18 09:05:37 -05:00
Matt Sealey
1a11cfffb3 config: Add PPP modules 2010-10-16 14:43:58 -05:00
Matt Sealey
80ee6ca3f4 Fixed logical fallacy re SD and WP pins for SDHC2 therefore finally fixing the SD card bug. 2010-10-16 13:18:19 -05:00
Dinh Nguyen
193db12141 usb: Increase timeout value for device reset
It seems that for USB IP on Freescale MX5x processors, it needs >750
usec for the reset to complete. This change should not hurt any other
EHCI hardware.

Signed-off-by: Dinh Nguyen <Dinh.Nguyen@freescale.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
2010-10-03 13:26:25 -05:00
Matt Sealey
27b4085a51 More moronic SD card stuff fixed. stuff CD into interrupt for TO2 instead of WP 2010-09-28 14:00:41 -05:00