Commit Graph

159070 Commits

Author SHA1 Message Date
Herbert Xu
ccaf06fab7 crypto: pcomp - Fix illegal Kconfig configuration
The PCOMP Kconfig entry current allows the following combination
which is illegal:

ZLIB=y
PCOMP=y
ALGAPI=m
ALGAPI2=y
MANAGER=m
MANAGER2=m

This patch fixes this by adding PCOMP2 so that PCOMP can select
ALGAPI to propagate the setting to MANAGER2.

Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
2010-11-29 16:33:50 -06:00
Matt Sealey
45273d43cc bump to .11 for release 2010-11-24 16:04:20 -06:00
Matt Sealey
0b6e9f0ed7 Remove VGA GPIO (was never valid) and LCD related GPIO pin (is connected to test pad)
Make HDMI interrupt pin an input (originally an output????)
2010-11-24 15:44:41 -06:00
Matt Sealey
3f7b34dd5f Modify configs to disable CMDLINE_FORCE by default 2010-11-24 15:41:10 -06:00
Alexander Holler
a6da8076c6 ARM: 5939/1: ARM: Add option CMDLINE_FORCE to force usage of the in-kernel cmdline
Add an option to force usage of the in-kernel cmdline even if the boot
loader passes another command string to the kernel.

Useful if someone cannot or don't want to change the
command-line options of the boot loader but is able to change
the kernel.

Signed-off-by: Alexander Holler <holler@ahsoftware.de>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
2010-11-23 13:37:55 -06:00
Matt Sealey
d1fae4ce82 config update: crypto/networking modules as per Ubuntu default configurations
* disable wireless powersave by default
* netfilter and iptables etc. enabled (firewalls will work now)
* advanced router, bridging, vlan tagging etc.
* modularized crypto

bump to .10
2010-11-21 15:42:25 -06:00
Matt Sealey
12ee5014b5 Modify IPU behavior not to try to adapt panel v_end_width since this fix
is really only for 800x600 TFT panels directly connected with weird
requirements. Make sure it's well and truly #if'd out.
2010-11-20 17:26:20 -06:00
Matt Sealey
b29b1f8cbd * Remove weird pin wiggling in EDID fetch
* Remove VGA support
* Remove HDMI customization (was for the old driver)
* Consolidate DI clock setting (view is to remove it eventually since
  the bug it was meant to work around is fixed)
* Remove mxc_ipuv3_fb.c dependency on EfikaMX includes
2010-11-20 10:46:21 -06:00
Matt Sealey
8cd135ac00 Remove VGA driver from config and build, and delete the file 2010-11-20 09:15:13 -06:00
Saleem Abdulrasool
ab0933b5af bump to .9 2010-11-18 20:59:31 -08:00
Saleem Abdulrasool
31981681bf add rough version of new sii9022 driver
This is a new implementation of the sii9022 driver that is clearer to follow.
The missing functionality does not seem to be causing any loss of existing
functionality and helps development, so replacing it even though it is
incomplete.
2010-11-18 20:57:41 -08:00
Matt Sealey
9ad9fdb991 CONFIG_USB_STATIC_IRAM fixes: actually make it build
* usb abi changes broke it
* FSL never added use_iram to urb struct ever so it never compiled in the first place
* cleanup memcpy usage so it's more readable (breaks 80 column limit but..)

Not enabled in any config. PROBABLY DOESN'T WORK. But at least it can be built and tested now.
2010-11-18 18:30:18 -06:00
Matt Sealey
0a2c454cd1 defconfig updates for Ubuntu Maverick (devtmpfs etc.). This means the default config will
absolutely positively REQUIRE an initramfs right now since MMC, PATA and other modules
have been made real modules instead of built-ins.

Changes made:
 * Enable ARM errata fixes. None of them apply but it is safe to compile them in as they are
   switched based on CPU version.
 * Re-enable PREEMPT (may get turned back off if wireless bitches too much for too many people)
 * Don't build in all kernel firmware binaries to save space in the kernel
 * MTD modularized
 * pata_fsl and libata modularized
 * MMC support modularized
 * V4L2 (i.e. support for YUV overlay) modularized (also pushes a bunch of tuners out)
 * Audio modularized. SGTL5000 might balk at this, but audio should be handled by udev now and
   permissions will be correct. Remains to be seen.
 * USB HID modularized since USB is modularized it makes no sense to keep them built-in
 * USB Announce New Devices for debugging purposes
 * Turned off panic on softlock (hrw's suggestion, LP bug #676707)

Bumped to .8 to recognize this change.
2010-11-18 14:44:52 -06:00
Matt Sealey
4eb37ed19c bump to .7 2010-11-18 14:24:02 -06:00
Matt Sealey
e58fba4be8 remove uio_driver.h include as we no longer have a UIO driver 2010-11-13 10:33:49 -06:00
Matt Sealey
26a3feaa56 AMD GPU update 2010-11-13 10:32:27 -06:00
Matt Sealey
0616c12255 Clarify OpenVG disabled error (should be impossible with new defconfig anyway) 2010-11-13 10:32:14 -06:00
Matt Sealey
6065c20cd1 remove UIO GPU driver as we don't support it (and soon neither will Freescale) 2010-11-13 10:31:29 -06:00
Matt Sealey
cd12d03fbd Catch pixclk div0
If pixclk is 0, we would get a div0 since it is used in an unchecked division via
a macro.  If the pixel clock is 0, just skip the mode for now, reporting it as a
bug.

Thanks to Saleem Abdulrasool
2010-11-13 10:15:12 -06:00
Matt Sealey
9f7220ed9a prevent kernel oops on unknown devices
If the returned value is outside of the range of the array, we could get
potential errors (#PF, #GF, etc), which are nasty to track down.  Instead,
report a bug, and report the value as unknown in those cases.

Thanks to Saleem Abdulrasool
2010-11-13 10:15:09 -06:00
Oliver Neukum
de45487165 USB: fix cdc-acm regression in open
cdc-acm needs to set a flag during open to tell the
tty layer that the device is initialized

Signed-off-by: Oliver Neukum <oliver@neukum.org>
Cc: Marcel Holtmann <marcel@holtmann.org>
Cc: Paul Martin <pm@debian.org>
Cc: stable <stable@kernel.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
2010-11-13 10:10:03 -06:00
Jie Zhou
73685d49b8 ENGR00126565-2 GPU: Provide z160 precision info to user space libraries
MX50 Z160 has higher gradient/texture precision than MX51/53.

Signed-off-by: Jie Zhou <b30303@freescale.com>
2010-11-13 10:10:00 -06:00
Jie Zhou
6939d624f7 ENGR00126565-1 MX50: add z160 version to platform_data of gpu_device
MX50 has some RTL fix for Z160

Signed-off-by: Jie Zhou <b30303@freescale.com>
2010-11-13 10:09:57 -06:00
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