Commit Graph

379861 Commits

Author SHA1 Message Date
Mauro Ribeiro
83d5dd80d8 amlogic/osd: fixes osd header include
Change-Id: I332cf79f06a60eeb49b672dc26ffbea6727d448f

Signed-off-by: Dongjin Kim <tobetter@gmail.com>
2014-12-16 02:26:24 +09:00
Mauro Ribeiro
9637da1235 mali/ump: fix error on Kconfig
Change-Id: Icb499cfc3156531c6f6934f1a642f2958271c296

Signed-off-by: Dongjin Kim <tobetter@gmail.com>
2014-12-16 02:26:23 +09:00
Mauro Ribeiro
8b150e2dc9 ump: add ump headers
Change-Id: I085102ac192ec248e7caf53187ac1bfdc78efac1

Signed-off-by: Dongjin Kim <tobetter@gmail.com>
2014-12-16 02:26:23 +09:00
Mauro Ribeiro
100965f73e mali: allow it to build as built-in instead of module
Change-Id: Id4b77b587bde439cf6f8d2358cf1a9b2951bf7d3

Signed-off-by: Dongjin Kim <tobetter@gmail.com>
2014-12-16 02:26:22 +09:00
Mauro Ribeiro
71fc875d74 amlogic/dvb_tv: disable it since we don't have this hardware present
Change-Id: I0fbc7b8bb1b1fdb00a30a703959b7cfecc53baae

Signed-off-by: Dongjin Kim <tobetter@gmail.com>
2014-12-16 02:26:22 +09:00
Mauro Ribeiro
99407a0cf1 amlogic: fix tvin driver
Change-Id: I429e10966e52e7c69d0aaa2a3c242ba19bd82f0c

Signed-off-by: Dongjin Kim <tobetter@gmail.com>
2014-12-16 02:26:21 +09:00
Mauro Ribeiro
b102861b17 Kconfig: add ARM/Mali Kconfig option
Change-Id: Id1f69d710a12ff23d5206d0b88ddeccf57a3c9e1

Signed-off-by: Dongjin Kim <tobetter@gmail.com>
2014-12-16 02:26:21 +09:00
Mauro Ribeiro
646b263d51 gpu/arm: add a generic Kconfig
Change-Id: I892ca21d595aa9391cb0c7a64fe584decc106b52

Signed-off-by: Dongjin Kim <tobetter@gmail.com>
2014-12-16 02:26:20 +09:00
Mauro Ribeiro
f9fd75d706 drivers/gpu: add arm folder to Makefile
Change-Id: If09e7c64112bad137af1ce14ab9f6e50cedb9cdf

Signed-off-by: Dongjin Kim <tobetter@gmail.com>
2014-12-16 02:26:20 +09:00
Mauro Ribeiro
53b9cecd79 AMLogic: Remove Mali from Kconfig
Change-Id: Ia9cc79fe85c35410ba54d5178719e8563dcd34fc

Signed-off-by: Dongjin Kim <tobetter@gmail.com>
2014-12-16 02:26:19 +09:00
Mauro Ribeiro
3dc243d6ff gpu/arm: add Makefile
Change-Id: Ia32ae9de840bdaa4b386284d5e6c5e7ca81b8ee9

Signed-off-by: Dongjin Kim <tobetter@gmail.com>
2014-12-16 02:26:19 +09:00
Mauro Ribeiro
d1772f152e mali/umplock: add Kconfig
Change-Id: I6137837e0c546403169f350cc73b9bae769097b4

Signed-off-by: Dongjin Kim <tobetter@gmail.com>
2014-12-16 02:26:19 +09:00
Mauro Ribeiro
2d31b134c0 drivers/gpu/drm: add mali drm
Change-Id: Ib6f4c187f97ce31a920e6c4b2d028ad569f71da6

Signed-off-by: Dongjin Kim <tobetter@gmail.com>
2014-12-16 02:26:18 +09:00
Mauro Ribeiro
f01201789a drivers/gpu: merge in Mali GPU drivers from AMLogic
Change-Id: I8ba9513faf15eacb9df45e820bb276be34871a74

Signed-off-by: Dongjin Kim <tobetter@gmail.com>
2014-12-16 02:26:18 +09:00
Mauro Ribeiro
0e31135fba drivers/amlogic: fix tvin on Kconfig
Change-Id: I4be5705e343b84f18cb27edcdd5c965f8f9b0b72

Signed-off-by: Dongjin Kim <tobetter@gmail.com>
2014-12-16 02:26:17 +09:00
Mauro Ribeiro
fdb15a04b1 drivers/amlogic: add tvin driver
Change-Id: I1aa84959c8b05788ebb30a8821787c8ea307865e

Signed-off-by: Dongjin Kim <tobetter@gmail.com>
2014-12-16 02:26:17 +09:00
Mauro Ribeiro
4029123ac3 drivers/amlogic: fix Kconfig for the drivers already merged
Change-Id: Id012af9190ecc9da05b855f6e069b28680862616

Signed-off-by: Dongjin Kim <tobetter@gmail.com>
2014-12-16 02:26:13 +09:00
Mauro Ribeiro
ac3e7ebb9d drivers/amlogic: remove realtek drivers from AMLogic Kconfig
Change-Id: Iee3d5f96aca3ea3691f3efb78521b405b7e5d181

Signed-off-by: Dongjin Kim <tobetter@gmail.com>
2014-12-16 02:25:38 +09:00
Mauro Ribeiro
9dd9b12bb9 net/wireless: add realtek to Kconfig's
Change-Id: I207c591765f5e4585b29dbe89806cf648390e942

Signed-off-by: Dongjin Kim <tobetter@gmail.com>
2014-12-16 02:25:38 +09:00
Mauro Ribeiro
825950d802 net/wireless: add 8812au drivers
Change-Id: Icc2b82fa60990465a90104b4cab29a1ae16e63be

Signed-off-by: Dongjin Kim <tobetter@gmail.com>
2014-12-16 02:25:37 +09:00
Mauro Ribeiro
25efd25eba net/wireless: add realtek 8811au drivers
Change-Id: I20ba5c80c06366f1fe29b865b3d1f4c721313fcb

Signed-off-by: Dongjin Kim <tobetter@gmail.com>
2014-12-16 02:25:36 +09:00
Mauro Ribeiro
8fb77d1f21 net/wireless: add realtek 8723bs drivers
Change-Id: If0b708dc53ac5868431d7685a702df52075e3b15

Signed-off-by: Dongjin Kim <tobetter@gmail.com>
2014-12-16 02:25:33 +09:00
Mauro Ribeiro
594f84c204 net/wireless: add realtek 8723au drivers
Change-Id: I1e0c32cfe064339d47fb13334c94d567153e46ec

Signed-off-by: Dongjin Kim <tobetter@gmail.com>
2014-12-16 02:25:32 +09:00
Mauro Ribeiro
738ee120f3 net/wireless: add realtek 8192eu drivers
Change-Id: I06c9f84fc5ba2a0eb5e64e708d796c39c5d15696

Signed-off-by: Dongjin Kim <tobetter@gmail.com>
2014-12-16 02:25:32 +09:00
Mauro Ribeiro
415eb757f7 net/wireless: add realtek 8192du drivers
Change-Id: If5e79d1045854e3b1c1122d1497a12546bd859a0

Signed-off-by: Dongjin Kim <tobetter@gmail.com>
2014-12-16 02:25:31 +09:00
Mauro Ribeiro
b841adad4a net/wireless: add realtek 8192cu driver
Change-Id: I5882f92ada4867827e2de728c3e47848d54d4531

Signed-off-by: Dongjin Kim <tobetter@gmail.com>
2014-12-16 02:25:30 +09:00
Mauro Ribeiro
de25a6d3cc net/wireless: add realtek 8189es drivers
Change-Id: I32bf07e3c915f2bc9b079f7f4a4d985c4fc4463e

Signed-off-by: Dongjin Kim <tobetter@gmail.com>
2014-12-16 02:25:30 +09:00
Mauro Ribeiro
fdec8b91f8 net/wireless: add realtek 8188eu driver
Change-Id: Ibfa9c6b8e35239359d68395c269e794d88a4999c

Signed-off-by: Dongjin Kim <tobetter@gmail.com>
2014-12-16 02:25:28 +09:00
Mauro Ribeiro
ad7b5d77be amlogic: remove broadcom sdio drivers
Change-Id: I74d85652372a209dcfa8b0f2ef3371a788caec86

Signed-off-by: Dongjin Kim <tobetter@gmail.com>
2014-12-16 02:25:27 +09:00
Dongjin Kim
84250ed47b ODROIDC:mtd/nand: disable NAND features
Change-Id: I9c944a6bb4574e6b07f4d6007adaf997f1548f11
Signed-off-by: Dongjin Kim <tobetter@gmail.com>

Conflicts:

	drivers/amlogic/Kconfig
2014-12-16 02:25:24 +09:00
Mauro Ribeiro
0f2c42a509 drivers/amlogic: add touch driver
Change-Id: I634e00fdf7eb267eca7caa95330b1576d4519486

Signed-off-by: Dongjin Kim <tobetter@gmail.com>
2014-12-16 02:13:52 +09:00
Mauro Ribeiro
6710b75688 drivers/amlogic: add pmu driver
Change-Id: I4855949427ea4482462654bc02f562d2a11badbb

Signed-off-by: Dongjin Kim <tobetter@gmail.com>
2014-12-16 02:13:52 +09:00
Mauro Ribeiro
f8e1f50751 clean ups
Change-Id: Iebf8ef70344bb2e94831cb2a7c4bd6d3247e4829
2014-12-16 01:24:12 +09:00
Mauro Ribeiro
5dee744324 merge amlogic linux patches
Change-Id: I2242478cc6641cf96ca82e4d5e8ecd1fb957d78d
2014-12-16 01:23:46 +09:00
Dongjin Kim
c6dbb7febf ARM:config: Add new kernel config for ODROID-C
Change-Id: I8fc926f3991e83b7e50da1779fd2a5f6b73aa70f
Signed-off-by: Dongjin Kim <tobetter@gmail.com>
2014-12-16 01:23:12 +09:00
Dongjin Kim
46adba284e ARM:dts: Add new device file for ODROID-C
Change-Id: I0ef19806958742c2f4c64c97aa2695b2fe5782ea
Signed-off-by: Dongjin Kim <tobetter@gmail.com>
2014-12-16 01:23:09 +09:00
Dongjin Kim
22aaa3bbb4 arch/arm/mach-meson8b: Add ODROID-C to Kconfig.boards
Change-Id: I46e951f4091cb4216c8fd20d71f04cdfb91f9c2f
Signed-off-by: Dongjin Kim <tobetter@gmail.com>
2014-12-16 01:23:06 +09:00
Dongjin Kim
e647d676f7 AMLogic's patchset of 'amlogic-20140823'
Signed-off-by: Dongjin Kim <tobetter@gmail.com>
2014-12-15 21:09:17 +09:00
Greg Kroah-Hartman
6969595f01 Linux 3.10.33 v3.10.33 2014-03-06 21:58:45 -08:00
Dan Williams
e9ba61f0dd ioat: fix tasklet tear down
commit da87ca4d4c upstream.

Since commit 7787380336 "net_dma: mark broken" we no longer pin dma
engines active for the network-receive-offload use case.  As a result
the ->free_chan_resources() that occurs after the driver self test no
longer has a NET_DMA induced ->alloc_chan_resources() to back it up.  A
late firing irq can lead to ksoftirqd spinning indefinitely due to the
tasklet_disable() performed by ->free_chan_resources().  Only
->alloc_chan_resources() can clear this condition in affected kernels.

This problem has been present since commit 3e037454bc "I/OAT: Add
support for MSI and MSI-X" in 2.6.24, but is now exposed. Given the
NET_DMA use case is deprecated we can revisit moving the driver to use
threaded irqs.  For now, just tear down the irq and tasklet properly by:

1/ Disable the irq from triggering the tasklet

2/ Disable the irq from re-arming

3/ Flush inflight interrupts

4/ Flush the timer

5/ Flush inflight tasklets

References:
https://lkml.org/lkml/2014/1/27/282
https://lkml.org/lkml/2014/2/19/672

Cc: Ingo Molnar <mingo@elte.hu>
Cc: Steven Rostedt <rostedt@goodmis.org>
Reported-by: Mike Galbraith <bitbucket@online.de>
Reported-by: Stanislav Fomichev <stfomichev@yandex-team.ru>
Tested-by: Mike Galbraith <bitbucket@online.de>
Tested-by: Stanislav Fomichev <stfomichev@yandex-team.ru>
Reviewed-by: Thomas Gleixner <tglx@linutronix.de>
Signed-off-by: Dan Williams <dan.j.williams@intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2014-03-06 21:30:14 -08:00
Alex Deucher
b4cd4961cf drm/radeon: disable pll sharing for DP on DCE4.1
commit 9ef4e1d000 upstream.

Causes display problems.  We had already disabled
sharing for non-DP displays.

Based on a patch from:
Niels Ole Salscheider <niels_ole@salscheider-online.de>

bug:
https://bugzilla.kernel.org/show_bug.cgi?id=58121

Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2014-03-06 21:30:14 -08:00
Christian König
3b82a80b1d drm/radeon: fix missing bo reservation
commit 5e386b574c upstream.

Otherwise we might get a crash here.

Signed-off-by: Christian König <christian.koenig@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2014-03-06 21:30:14 -08:00
Alex Deucher
6a57734917 drm/radeon: print the supported atpx function mask
commit 9f050c7f97 upstream.

Print the supported functions mask in addition to
the version.  This is useful in debugging PX
problems since we can see what functions are available.

Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2014-03-06 21:30:14 -08:00
Mike Snitzer
fe8ee730af dm thin: fix the error path for the thin device constructor
commit 1acacc0784 upstream.

dm_pool_close_thin_device() must be called if dm_set_target_max_io_len()
fails in thin_ctr().  Otherwise __pool_destroy() will fail because the
pool will still have an open thin device:

 device-mapper: thin metadata: attempt to close pmd when 1 device(s) are still open
 device-mapper: thin: __pool_destroy: dm_pool_metadata_close() failed.

Also, must establish error code if failing thin_ctr() because the pool
is in fail_io mode.

Signed-off-by: Mike Snitzer <snitzer@redhat.com>
Acked-by: Joe Thornber <ejt@redhat.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2014-03-06 21:30:14 -08:00
Mike Snitzer
4f48d3328e dm thin: avoid metadata commit if a pool's thin devices haven't changed
commit 4d1662a30d upstream.

Commit 905e51b ("dm thin: commit outstanding data every second")
introduced a periodic commit.  This commit occurs regardless of whether
any thin devices have made changes.

Fix the periodic commit to check if any of a pool's thin devices have
changed using dm_pool_changed_this_transaction().

Reported-by: Alexander Larsson <alexl@redhat.com>
Signed-off-by: Mike Snitzer <snitzer@redhat.com>
Acked-by: Joe Thornber <ejt@redhat.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2014-03-06 21:30:13 -08:00
Hannes Reinecke
f4124bc34f dm mpath: fix stalls when handling invalid ioctls
commit a1989b3300 upstream.

An invalid ioctl will never be valid, irrespective of whether multipath
has active paths or not.  So for invalid ioctls we do not have to wait
for multipath to activate any paths, but can rather return an error
code immediately.  This fix resolves numerous instances of:

 udevd[]: worker [] unexpectedly returned with status 0x0100

that have been seen during testing.

Signed-off-by: Hannes Reinecke <hare@suse.de>
Signed-off-by: Mike Snitzer <snitzer@redhat.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2014-03-06 21:30:13 -08:00
Linus Walleij
102544b7f1 dma: ste_dma40: don't dereference free:d descriptor
commit e9baa9d9d5 upstream.

It appears that in the DMA40 driver the DMA tasklet will very
often dereference memory for a descriptor just free:d from the
DMA40 slab. Nothing happens because no other part of the driver
has yet had a chance to claim this memory, but it's really
nasty to dereference free:d memory, so let's check the flag
before the descriptor is free and store it in a bool variable.

Reported-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Signed-off-by: Vinod Koul <vinod.koul@intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2014-03-06 21:30:13 -08:00
Jean Delvare
f7caf94294 i7300_edac: Fix device reference count
commit 75135da0d6 upstream.

pci_get_device() decrements the reference count of "from" (last
argument) so when we break off the loop successfully we have only one
device reference - and we don't know which device we have. If we want
a reference to each device, we must take them explicitly and let
the pci_get_device() walk complete to avoid duplicate references.

This is serious, as over-putting device references will cause
the device to eventually disappear. Without this fix, the kernel
crashes after a few insmod/rmmod cycles.

Tested on an Intel S7000FC4UR system with a 7300 chipset.

Signed-off-by: Jean Delvare <jdelvare@suse.de>
Link: http://lkml.kernel.org/r/20140224111656.09bbb7ed@endymion.delvare
Cc: Mauro Carvalho Chehab <m.chehab@samsung.com>
Cc: Doug Thompson <dougthompson@xmission.com>
Signed-off-by: Borislav Petkov <bp@suse.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2014-03-06 21:30:13 -08:00
Dr. Greg Wettstein
31ccf35d55 qla2xxx: Fix kernel panic on selective retransmission request
commit 6f58c780e5 upstream.

A selective retransmission request (SRR) is a fibre-channel
protocol control request which provides support for requesting
retransmission of a data sequence in response to an issue such as
frame loss or corruption.  These events are experienced
infrequently in fibre-channel based networks which makes
it difficult to test and assess codepaths which handle these
events.

We were fortunate enough, for some definition of fortunate, to
have a metro-area single-mode SAN link which, at 10 GBPS
sustained load levels, would consistently generate SRR's in
a SCST based target implementation using our SCST/in-kernel
Qlogic target interface driver.  In response to an SRR the
in-kernel Qlogic target driver immediately panics resulting
in a catastrophic storage failure for serviced initiators.

The culprit was a debug statement in the qla_target.c file which
does not verify that a pointer to the SCSI CDB is not null.
The unchecked pointer dereference results in the kernel panic
and resultant system failure.

The other two references to the SCSI CDB by the SRR handling code
use a ternary operator to verify a non-null pointer is being
acted on.  This patch simply adds a similar test to the implicated
debug statement.

This patch is a candidate for any stable kernel being maintained
since it addresses a potentially catastrophic event with
minimal downside.

Signed-off-by: Dr. Greg Wettstein <greg@enjellic.com>
Signed-off-by: Nicholas Bellinger <nab@linux-iscsi.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2014-03-06 21:30:13 -08:00
Will Deacon
fed783a535 ARM: 7812/1: rwlocks: retry trylock operation if strex fails on free lock
commit 00efaa0250 upstream.

Commit 15e7e5c1eb ("ARM: 7749/1: spinlock: retry trylock operation if
strex fails on free lock") modifying our arch_spin_trylock to retry the
acquisition if the lock appeared uncontended, but the strex failed.

This patch does the same for rwlocks, which were missed by the original
patch.

Signed-off-by: Will Deacon <will.deacon@arm.com>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
Cc: Li Zefan <lizefan@huawei.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2014-03-06 21:30:13 -08:00