yj [Thu, 24 Jan 2013 09:31:26 +0000 (17:31 +0800)]
LR097 config: arch/arm/configs/rk3188_LR097_defconfig
yj [Thu, 24 Jan 2013 09:05:10 +0000 (17:05 +0800)]
LR097 rk3188 : mod config and enable wifi & bluetooth & camera ..
cym [Thu, 24 Jan 2013 07:47:14 +0000 (15:47 +0800)]
RK30/RK31:fix ddr.c code error
yxj [Thu, 24 Jan 2013 07:47:31 +0000 (15:47 +0800)]
rk3188 lcdc:fix ACT_WIDTH/HEIGHT err
yxj [Thu, 24 Jan 2013 06:58:41 +0000 (14:58 +0800)]
board lr097:add ump reserve memory
yxj [Thu, 24 Jan 2013 06:25:13 +0000 (14:25 +0800)]
rk3188 lcdc:add dump lcdc reg function
yxj [Thu, 24 Jan 2013 03:05:08 +0000 (11:05 +0800)]
rk3188 lcdc:add vsync support
yxj [Thu, 24 Jan 2013 03:04:28 +0000 (11:04 +0800)]
rk_fb.h:add struct rk_fb_vysnc
yxj [Thu, 24 Jan 2013 02:46:54 +0000 (10:46 +0800)]
rk fb: add ioctl RK_FBIOSET_CONFIG_DONE,RK_FBIOSET_VSYNC_ENABLE
yxj [Thu, 24 Jan 2013 02:40:42 +0000 (10:40 +0800)]
rk fb:all fb address can be set by user ioctl
张晴 [Thu, 24 Jan 2013 07:33:01 +0000 (15:33 +0800)]
rk:act8846:support regulator_set_voltage_time, disable act8846 gpio3 when power on
cym [Thu, 24 Jan 2013 06:56:02 +0000 (14:56 +0800)]
RK30XX/RK31XX:CONFIG_ARCH_RKXXXX replace read chip_id from ROM
黄涛 [Thu, 24 Jan 2013 06:31:02 +0000 (14:31 +0800)]
rk3188: enable rk30_io_drive_strength_init
wuhao [Thu, 24 Jan 2013 04:20:38 +0000 (12:20 +0800)]
rk3188 ds1006h: sync rk3188_ds1006h_defconfig
hwg [Thu, 24 Jan 2013 03:01:47 +0000 (11:01 +0800)]
drivers/net/wireless/
yxj [Thu, 24 Jan 2013 02:28:40 +0000 (10:28 +0800)]
board LR097,rk3168 tb,ds1006h:lcdc device name rk30-lcdc
yxj [Thu, 24 Jan 2013 02:26:15 +0000 (10:26 +0800)]
rk3188 lcdc:rename driver name as rk30-lcdc
yxj [Thu, 24 Jan 2013 01:56:31 +0000 (09:56 +0800)]
rk3188 lcdc:add rk610 jetta support
xxx [Wed, 23 Jan 2013 18:06:23 +0000 (02:06 +0800)]
rk3188 remove volt diff control
wuhao [Wed, 23 Jan 2013 17:49:30 +0000 (01:49 +0800)]
rk3188 : add ds1006h
xxx [Wed, 23 Jan 2013 17:15:19 +0000 (01:15 +0800)]
edit dvfs regulator error reset setting
yxj [Wed, 23 Jan 2013 16:42:05 +0000 (00:42 +0800)]
add rk3188 LR097 defconfig
yxj [Wed, 23 Jan 2013 16:41:24 +0000 (00:41 +0800)]
rk3188 LR097:base version
黄涛 [Wed, 23 Jan 2013 16:40:48 +0000 (00:40 +0800)]
rk3188: fix ddr_get_cap
黄涛 [Wed, 23 Jan 2013 16:23:03 +0000 (00:23 +0800)]
rk3188: tb: support ddr init to 396MHz when boot
黄涛 [Wed, 23 Jan 2013 16:20:45 +0000 (00:20 +0800)]
rk3188: fix ddr init
yxj [Wed, 23 Jan 2013 14:37:31 +0000 (22:37 +0800)]
board rk3066b m701:use get_fb_size instead of RK30_FB0_MEM_SIZE
yxj [Wed, 23 Jan 2013 14:36:42 +0000 (22:36 +0800)]
update screen hsd100pxn hsd07pfw
yxj [Wed, 23 Jan 2013 14:35:05 +0000 (22:35 +0800)]
rk2928 lvds,rk610 lvds:move lvds connect MACRO to rk_screen.h
黄涛 [Wed, 23 Jan 2013 15:12:20 +0000 (23:12 +0800)]
rk30_i2s: fix for rk3188, add i2s1 support
黄涛 [Wed, 23 Jan 2013 15:09:20 +0000 (23:09 +0800)]
rk3188: fix cpu aix init
chenxing [Wed, 23 Jan 2013 14:57:44 +0000 (22:57 +0800)]
rk3188: clock clock_data debug
黄涛 [Wed, 23 Jan 2013 13:40:34 +0000 (21:40 +0800)]
rk3188: disable cpu axi init and ddr init temporily
黄涛 [Wed, 23 Jan 2013 13:31:49 +0000 (21:31 +0800)]
rk3168: tb: fix lcdc name
yxj [Wed, 23 Jan 2013 11:15:30 +0000 (19:15 +0800)]
rk3066b m701 defconfig:add RK610 LVDS config
yxj [Wed, 23 Jan 2013 07:49:08 +0000 (15:49 +0800)]
dp501:add more config for low power,now the total for dp501 is 265mw
Zheng Yang [Wed, 23 Jan 2013 10:15:37 +0000 (18:15 +0800)]
rk2928 codec: add soft reset.
kfx [Wed, 23 Jan 2013 09:27:16 +0000 (17:27 +0800)]
fixed spi compile error
xbw [Wed, 23 Jan 2013 06:36:21 +0000 (14:36 +0800)]
SDMMC: Eliminate some small flaws after supporting new iomux-API.
yxj [Wed, 23 Jan 2013 04:11:10 +0000 (12:11 +0800)]
board rk2928 tb:use get_fb_size instead of macro RK30_FB0_MEM_SIZE
yxj [Wed, 23 Jan 2013 04:09:32 +0000 (12:09 +0800)]
lcd screen hsd100pxn:add interface get_fb_size
yxj [Wed, 23 Jan 2013 03:36:50 +0000 (11:36 +0800)]
board rk30 sdk,LR097 DS1006H,rk3168 tb:use get_fb_size instead of RK30_FB0_MEM_SIZE
yxj [Wed, 23 Jan 2013 03:34:26 +0000 (11:34 +0800)]
rk screen:add interface to calculator fb size by screen resolution
黄涛 [Wed, 23 Jan 2013 03:33:13 +0000 (11:33 +0800)]
Revert "move rk_screen.h from board.h"
This reverts commit
1e2026750b15aaa3bf347ce1299e61d30b344222.
XieKedi [Wed, 23 Jan 2013 03:26:08 +0000 (11:26 +0800)]
rk3168 ds1006h : config do not set "Disable external hubs" by default
黄涛 [Wed, 23 Jan 2013 02:18:13 +0000 (10:18 +0800)]
rk: usb_detect: enable bvalid irq when usb uart enabled
wuhao [Wed, 23 Jan 2013 02:09:53 +0000 (10:09 +0800)]
rk3168 ds1006: config hdmi support
chenxing [Wed, 23 Jan 2013 02:00:04 +0000 (10:00 +0800)]
rk30: export dvfs_get_freq_volt_table/dvfs_set_freq_volt_table functions
黄涛 [Wed, 23 Jan 2013 01:49:26 +0000 (09:49 +0800)]
Merge remote-tracking branch 'stable/linux-3.0.y' into develop-3.0
Merge v3.0.60
Conflicts:
Makefile
yxj [Tue, 22 Jan 2013 12:51:12 +0000 (20:51 +0800)]
rk610_tv.h:use rk_fb.h instead of fb.h
yxj [Tue, 22 Jan 2013 12:50:35 +0000 (20:50 +0800)]
move rk_screen.h from board.h
yxj [Tue, 22 Jan 2013 12:49:27 +0000 (20:49 +0800)]
board rk30sdk,ds1006h,rk3168 tb:register display devices fb,lcdc,backlight by rk_platform_add_display_devices
yxj [Tue, 22 Jan 2013 12:45:43 +0000 (20:45 +0800)]
rkfb:add interface __rk_platform_add_display_devices
chenxing [Tue, 22 Jan 2013 12:31:07 +0000 (20:31 +0800)]
rk3168: ds1006h: update dvfs table
chenxing [Tue, 22 Jan 2013 10:26:50 +0000 (18:26 +0800)]
rk3188: add pm support
xbw [Tue, 22 Jan 2013 10:07:11 +0000 (18:07 +0800)]
Merge branch 'develop-3.0' of ssh://10.10.10.29/rk/kernel into develop-3.0
xbw [Tue, 22 Jan 2013 10:06:47 +0000 (18:06 +0800)]
SDMMC:
1.Compatible with the new interface function of IOMUX-API.
2.To simplify the configuration of the sd-sdio-wifi.
xxx [Tue, 22 Jan 2013 10:05:40 +0000 (18:05 +0800)]
forget adding dvfs.c,so submit again
xbw [Tue, 22 Jan 2013 09:59:07 +0000 (17:59 +0800)]
Merge branch 'develop-3.0' of ssh://10.10.10.29/rk/kernel into develop-3.0
xbw [Tue, 22 Jan 2013 09:54:47 +0000 (17:54 +0800)]
SDMMC:
1.Compatible with the new interface function of IOMUX-API
2.Eliminate the intererupt-card-det cause the wakeup.
xxx [Tue, 22 Jan 2013 09:52:44 +0000 (17:52 +0800)]
add dvfs.c in mach-rk3188 file
xkd [Tue, 22 Jan 2013 09:33:22 +0000 (17:33 +0800)]
reboot system if power off with dc charger pluged in
wuhao [Tue, 22 Jan 2013 09:32:14 +0000 (17:32 +0800)]
rk3168 ds1006: camera flash sgm3140
luowei [Tue, 22 Jan 2013 09:25:05 +0000 (17:25 +0800)]
SPIM:fix SPI_MODE_2 bug
xxx [Tue, 22 Jan 2013 09:23:22 +0000 (17:23 +0800)]
gpu clk adn gpu aclk is set at on time for rk3168 and rk3066B
yxj [Tue, 22 Jan 2013 08:29:00 +0000 (16:29 +0800)]
rk30 lcdc:enable frame start irq
yxj [Tue, 22 Jan 2013 08:17:15 +0000 (16:17 +0800)]
board rk30 sdk:modify fb_io_enable/disable function
yxj [Tue, 22 Jan 2013 07:39:19 +0000 (15:39 +0800)]
dp501: add config for low power,now the all power of dp501 is 303ma
chenxing [Tue, 22 Jan 2013 06:37:16 +0000 (14:37 +0800)]
rk3168/rk3188: update dvfs table to fit rk3188
chenxing [Tue, 22 Jan 2013 06:11:05 +0000 (14:11 +0800)]
rk30: fix a dvfs error judgement
xxx [Tue, 22 Jan 2013 04:31:39 +0000 (12:31 +0800)]
arm gpu ddr rate is limited by cpufreq_frequency_table in board-xxx.c
黄涛 [Tue, 22 Jan 2013 03:30:13 +0000 (11:30 +0800)]
rk_timer: support sched_clock
xxx [Tue, 22 Jan 2013 02:38:10 +0000 (10:38 +0800)]
extern rk30_dvfs_init() in /mach-rk3188/clock_data.c
黄涛 [Tue, 22 Jan 2013 02:34:47 +0000 (10:34 +0800)]
rk: sram.h: fix gcc error: unknown type name 'uint'
Greg Kroah-Hartman [Mon, 21 Jan 2013 19:48:40 +0000 (11:48 -0800)]
Linux 3.0.60
Ben Hutchings [Mon, 14 Jan 2013 01:29:17 +0000 (01:29 +0000)]
staging: vt6656: Fix inconsistent structure packing
commit
1ee4c55fc9620451b2a825d793042a7e0775391b upstream.
vt6656 has several headers that use the #pragma pack(1) directive to
enable structure packing, but never disable it. The layout of
structures defined in other headers can then depend on which order the
various headers are included in, breaking the One Definition Rule.
In practice this resulted in crashes on x86_64 until the order of header
inclusion was changed for some files in commit
11d404cb56ecd ('staging:
vt6656: fix headers and add cfg80211.'). But we need a proper fix that
won't be affected by future changes to the order of inclusion.
This removes the #pragma pack(1) directives and adds __packed to the
structure definitions for which packing appears to have been intended.
Reported-and-tested-by: Malcolm Priestley <tvboxspy@gmail.com>
Signed-off-by: Ben Hutchings <ben@decadent.org.uk>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
chao bi [Wed, 12 Dec 2012 03:40:56 +0000 (11:40 +0800)]
serial:ifx6x60:Delete SPI timer when shut down port
commit
014b9b4ce84281ccb3d723c792bed19815f3571a upstream.
When shut down SPI port, it's possible that MRDY has been asserted and a SPI
timer was activated waiting for SRDY assert, in the case, it needs to delete
this timer.
Signed-off-by: Chen Jun <jun.d.chen@intel.com>
Signed-off-by: channing <chao.bi@intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Bjørn Mork [Thu, 17 Jan 2013 14:14:22 +0000 (15:14 +0100)]
USB: option: blacklist network interface on ONDA MT8205 4G LTE
Signed-off-by: Bjørn Mork <bjorn@mork.no>
commit
2291dff02e5f8c708a46a7c4c888f2c467e26642 upstream.
The driver description files gives these names to the vendor specific
functions on this modem:
Diag VID_19D2&PID_0265&MI_00
NMEA VID_19D2&PID_0265&MI_01
AT cmd VID_19D2&PID_0265&MI_02
Modem VID_19D2&PID_0265&MI_03
Net VID_19D2&PID_0265&MI_04
Signed-off-by: Bjørn Mork <bjorn@mork.no>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Bjørn Mork [Tue, 15 Jan 2013 09:29:49 +0000 (10:29 +0100)]
USB: option: add TP-LINK HSUPA Modem MA180
commit
99beb2e9687ffd61c92a9875141eabe6f57a71b9 upstream.
The driver description files gives these names to the vendor specific
functions on this modem:
Diagnostics VID_2357&PID_0201&MI_00
NMEA VID_2357&PID_0201&MI_01
Modem VID_2357&PID_0201&MI_03
Networkcard VID_2357&PID_0201&MI_04
Reported-by: Thomas Schäfer <tschaefer@t-online.de>
Signed-off-by: Bjørn Mork <bjorn@mork.no>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Frediano Ziglio [Wed, 16 Jan 2013 12:00:55 +0000 (12:00 +0000)]
xen: Fix stack corruption in xen_failsafe_callback for 32bit PVOPS guests.
commit
9174adbee4a9a49d0139f5d71969852b36720809 upstream.
This fixes CVE-2013-0190 / XSA-40
There has been an error on the xen_failsafe_callback path for failed
iret, which causes the stack pointer to be wrong when entering the
iret_exc error path. This can result in the kernel crashing.
In the classic kernel case, the relevant code looked a little like:
popl %eax # Error code from hypervisor
jz 5f
addl $16,%esp
jmp iret_exc # Hypervisor said iret fault
5: addl $16,%esp
# Hypervisor said segment selector fault
Here, there are two identical addls on either option of a branch which
appears to have been optimised by hoisting it above the jz, and
converting it to an lea, which leaves the flags register unaffected.
In the PVOPS case, the code looks like:
popl_cfi %eax # Error from the hypervisor
lea 16(%esp),%esp # Add $16 before choosing fault path
CFI_ADJUST_CFA_OFFSET -16
jz 5f
addl $16,%esp # Incorrectly adjust %esp again
jmp iret_exc
It is possible unprivileged userspace applications to cause this
behaviour, for example by loading an LDT code selector, then changing
the code selector to be not-present. At this point, there is a race
condition where it is possible for the hypervisor to return back to
userspace from an interrupt, fault on its own iret, and inject a
failsafe_callback into the kernel.
This bug has been present since the introduction of Xen PVOPS support
in commit
5ead97c84 (xen: Core Xen implementation), in 2.6.23.
Signed-off-by: Frediano Ziglio <frediano.ziglio@citrix.com>
Signed-off-by: Andrew Cooper <andrew.cooper3@citrix.com>
Signed-off-by: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Julius Werner [Thu, 1 Nov 2012 19:47:59 +0000 (12:47 -0700)]
xhci: fix null-pointer dereference when destroying half-built segment rings
commit
68e5254adb88bede68285f11fb442a4d34fb550c upstream.
xhci_alloc_segments_for_ring() builds a list of xhci_segments and links
the tail to head at the end (forming a ring). When it bails out for OOM
reasons half-way through, it tries to destroy its half-built list with
xhci_free_segments_for_ring(), even though it is not a ring yet. This
causes a null-pointer dereference upon hitting the last element.
Furthermore, one of its callers (xhci_ring_alloc()) mistakenly believes
the output parameters to be valid upon this kind of OOM failure, and
calls xhci_ring_free() on them. Since the (incomplete) list/ring should
already be destroyed in that case, this would lead to a use after free.
This patch fixes those issues by having xhci_alloc_segments_for_ring()
destroy its half-built, non-circular list manually and destroying the
invalid struct xhci_ring in xhci_ring_alloc() with a plain kfree().
This patch should be backported to kernels as old as 2.6.31, that
contains the commit
0ebbab37422315a5d0cb29792271085bafdf38c0 "USB: xhci:
Ring allocation and initialization."
A separate patch will need to be developed for kernels older than 3.4,
since the ring allocation code was refactored in that kernel.
Signed-off-by: Julius Werner <jwerner@chromium.org>
Signed-off-by: Sarah Sharp <sarah.a.sharp@linux.intel.com>
Signed-off-by: Julius Werner <jwerner@chromium.org>
Signed-off-by: Sarah Sharp <sarah.a.sharp@linux.intel.com>
[bwh: Backported to 3.2:
- Adjust context
- Since segment allocation is done directly in xhci_ring_alloc(), walk
the list starting from ring->first_seg when freeing]
Signed-off-by: Ben Hutchings <ben@decadent.org.uk>
Signed-off-by: CAI Qian <caiqian@redhat.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Philipp Reisner [Thu, 23 Feb 2012 11:56:26 +0000 (12:56 +0100)]
drbd: add missing part_round_stats to _drbd_start_io_acct
commit
72585d2428fa3a0daab02ebad1f41e5ef517dbaa upstream.
Without this, iostat frequently sees bogus svctime and >= 100% "utilization".
Signed-off-by: Philipp Reisner <philipp.reisner@linbit.com>
Signed-off-by: Lars Ellenberg <lars.ellenberg@linbit.com>
Cc: Raoul Bhatia <raoul@bhatia.at>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Tom Mingarelli [Tue, 20 Nov 2012 19:43:17 +0000 (19:43 +0000)]
intel-iommu: Prevent devices with RMRRs from being placed into SI Domain
commit
ea2447f700cab264019b52e2b417d689e052dcfd upstream.
This patch is to prevent non-USB devices that have RMRRs associated with them from
being placed into the SI Domain during init. This fixes the issue where the RMRR info
for devices being placed in and out of the SI Domain gets lost.
Signed-off-by: Thomas Mingarelli <thomas.mingarelli@hp.com>
Tested-by: Shuah Khan <shuah.khan@hp.com>
Reviewed-by: Donald Dutile <ddutile@redhat.com>
Reviewed-by: Alex Williamson <alex.williamson@redhat.com>
Signed-off-by: Joerg Roedel <joro@8bytes.org>
Signed-off-by: CAI Qian <caiqian@redhat.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Alan Stern [Wed, 7 Nov 2012 15:31:30 +0000 (10:31 -0500)]
USB: fix endpoint-disabling for failed config changes
commit
36caff5d795429c572443894e8789c2150dd796b upstream.
This patch (as1631) fixes a bug that shows up when a config change
fails for a device under an xHCI controller. The controller needs to
be told to disable the endpoints that have been enabled for the new
config. The existing code does this, but before storing the
information about which endpoints were enabled! As a result, any
second attempt to install the new config is doomed to fail because
xhci-hcd will refuse to enable an endpoint that is already enabled.
The patch optimistically initializes the new endpoints' device
structures before asking the device to switch to the new config. If
the request fails then the endpoint information is already stored, so
we can use usb_hcd_alloc_bandwidth() to disable the endpoints with no
trouble. The rest of the error path is slightly more complex now; we
have to disable the new interfaces and call put_device() rather than
simply deallocating them.
Signed-off-by: Alan Stern <stern@rowland.harvard.edu>
Reported-and-tested-by: Matthias Schniedermeyer <ms@citd.de>
CC: Sarah Sharp <sarah.a.sharp@linux.intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Signed-off-by: CAI Qian <caiqian@redhat.com>
Shuah Khan [Wed, 12 Dec 2012 23:27:51 +0000 (16:27 -0700)]
powerpc: fix wii_memory_fixups() compile error on 3.0.y tree
[not upstream as the code involved was removed in the 3.3.0 release]
Fix wii_memory_fixups() the following compile error on 3.0.y tree with
wii_defconfig on 3.0.y tree.
CC arch/powerpc/platforms/embedded6xx/wii.o
arch/powerpc/platforms/embedded6xx/wii.c: In function ‘wii_memory_fixups’:
arch/powerpc/platforms/embedded6xx/wii.c:88:2: error: format ‘%llx’ expects argument of type ‘long long unsigned int’, but argument 2 has type ‘phys_addr_t’ [-Werror=format]
arch/powerpc/platforms/embedded6xx/wii.c:88:2: error: format ‘%llx’ expects argument of type ‘long long unsigned int’, but argument 3 has type ‘phys_addr_t’ [-Werror=format]
arch/powerpc/platforms/embedded6xx/wii.c:90:2: error: format ‘%llx’ expects argument of type ‘long long unsigned int’, but argument 2 has type ‘phys_addr_t’ [-Werror=format]
arch/powerpc/platforms/embedded6xx/wii.c:90:2: error: format ‘%llx’ expects argument of type ‘long long unsigned int’, but argument 3 has type ‘phys_addr_t’ [-Werror=format]
cc1: all warnings being treated as errors
make[2]: *** [arch/powerpc/platforms/embedded6xx/wii.o] Error 1
make[1]: *** [arch/powerpc/platforms/embedded6xx] Error 2
make: *** [arch/powerpc/platforms] Error 2
Signed-off-by: Shuah Khan <shuah.khan@hp.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Eric Sandeen [Thu, 15 Nov 2012 03:22:05 +0000 (22:22 -0500)]
ext4: init pagevec in ext4_da_block_invalidatepages
commit
66bea92c69477a75a5d37b9bfed5773c92a3c4b4 upstream.
ext4_da_block_invalidatepages is missing a pagevec_init(),
which means that pvec->cold contains random garbage.
This affects whether the page goes to the front or
back of the LRU when ->cold makes it to
free_hot_cold_page()
Reviewed-by: Lukas Czerner <lczerner@redhat.com>
Reviewed-by: Carlos Maiolino <cmaiolino@redhat.com>
Signed-off-by: Eric Sandeen <sandeen@redhat.com>
Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
Signed-off-by: CAI Qian <caiqian@redhat.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Jesse Barnes [Wed, 14 Nov 2012 20:43:31 +0000 (20:43 +0000)]
x86/Sandy Bridge: reserve pages when integrated graphics is present
commit
a9acc5365dbda29f7be2884efb63771dc24bd815 upstream.
SNB graphics devices have a bug that prevent them from accessing certain
memory ranges, namely anything below 1M and in the pages listed in the
table. So reserve those at boot if set detect a SNB gfx device on the
CPU to avoid GPU hangs.
Stephane Marchesin had a similar patch to the page allocator awhile
back, but rather than reserving pages up front, it leaked them at
allocation time.
[ hpa: made a number of stylistic changes, marked arrays as static
const, and made less verbose; use "memblock=debug" for full
verbosity. ]
Signed-off-by: Jesse Barnes <jbarnes@virtuousgeek.org>
Signed-off-by: H. Peter Anvin <hpa@linux.intel.com>
Cc: CAI Qian <caiqian@redhat.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Heiko Carstens [Mon, 14 Jan 2013 15:55:55 +0000 (16:55 +0100)]
s390/time: fix sched_clock() overflow
commit
ed4f20943cd4c7b55105c04daedf8d63ab6d499c upstream.
Converting a 64 Bit TOD format value to nanoseconds means that the value
must be divided by 4.096. In order to achieve that we multiply with 125
and divide by 512.
When used within sched_clock() this triggers an overflow after appr.
417 days. Resulting in a sched_clock() return value that is much smaller
than previously and therefore may cause all sort of weird things in
subsystems that rely on a monotonic sched_clock() behaviour.
To fix this implement a tod_to_ns() helper function which converts TOD
values without overflow and call this function from both places that
open coded the conversion: sched_clock() and kvm_s390_handle_wait().
Reviewed-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
Signed-off-by: Heiko Carstens <heiko.carstens@de.ibm.com>
Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Mark Rustad [Fri, 21 Dec 2012 18:58:19 +0000 (10:58 -0800)]
tcm_fc: Do not report target role when target is not defined
commit
edec8dfefa1f372b2dd8197da555352e76a10c03 upstream.
Clear the target role when no target is provided for
the node performing a PRLI.
Signed-off-by: Mark Rustad <mark.d.rustad@intel.com>
Reviewed-by: Bhanu Prakash Gollapudi <bprakash@broadcom.com>
Acked by Robert Love <robert.w.love@intel.com>
Signed-off-by: Nicholas Bellinger <nab@linux-iscsi.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Mark Rustad [Fri, 21 Dec 2012 18:58:14 +0000 (10:58 -0800)]
tcm_fc: Do not indicate retry capability to initiators
commit
f2eeba214bcd0215b7f558cab6420e5fd153042b upstream.
When generating a PRLI response to an initiator, clear the
FCP_SPPF_RETRY bit in the response.
Signed-off-by: Mark Rustad <mark.d.rustad@intel.com>
Reviewed-by: Bhanu Prakash Gollapudi <bprakash@broadcom.com>
Acked by Robert Love <robert.w.love@intel.com>
Signed-off-by: Nicholas Bellinger <nab@linux-iscsi.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Thomas Schwinge [Fri, 16 Nov 2012 09:46:20 +0000 (10:46 +0100)]
sh: Fix FDPIC binary loader
commit
4a71997a3279a339e7336ea5d0cd27282e2dea44 upstream.
Ensure that the aux table is properly initialized, even when optional features
are missing. Without this, the FDPIC loader did not work. This was meant to
be included in commit
d5ab780305bb6d60a7b5a74f18cf84eb6ad153b1.
Signed-off-by: Thomas Schwinge <thomas@codesourcery.com>
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
yxj [Mon, 21 Jan 2013 10:24:43 +0000 (18:24 +0800)]
rk3066b lcdc:fix unbalanced lcdc dclk disable warning
黄涛 [Mon, 21 Jan 2013 10:34:39 +0000 (18:34 +0800)]
rk2928: cpufreq: include ddr.h for fix implicit declaration of function ddr_set_rate error
陈辉 [Mon, 21 Jan 2013 10:24:52 +0000 (18:24 +0800)]
to fix ds1006h crash bug:
3168 with U2BXX title, fix maskrom bug,
but need higher voltage on ddr
xxx [Mon, 21 Jan 2013 09:53:00 +0000 (17:53 +0800)]
mov dvfs global fun to rk plat
yxj [Mon, 21 Jan 2013 09:34:11 +0000 (17:34 +0800)]
rename screen Kconfig for ds1006h,ds1006h use lvds screen ,not display port screen
黄涛 [Mon, 21 Jan 2013 09:21:19 +0000 (17:21 +0800)]
Merge remote-tracking branch 'stable/linux-3.0.y' into develop-3.0
Merge v3.0.59
Conflicts:
Makefile
drivers/net/wireless/ath/ath9k/ar9003_2p2_initvals.h
drivers/net/wireless/ath/ath9k/ar9003_eeprom.h
drivers/usb/serial/option.c
yxj [Mon, 21 Jan 2013 09:06:43 +0000 (17:06 +0800)]
dp501:add suspend resume support
yxj [Mon, 21 Jan 2013 08:23:22 +0000 (16:23 +0800)]
edp transmitter dp501 support
yj [Mon, 21 Jan 2013 07:56:40 +0000 (15:56 +0800)]
LR097: enable peripheral driver && mod ddr freq ==> 360M and increse logic vol