Skip to contentSkip to conversation

Linux 3.4.92

DISCUSSION Greg KH 1 participant 2 messages Jun 7, 2014 Stable branch

lore
Share & tools
lore

Greg KH

author maintainer
#0 lore raw

I'm announcing the release of the 3.4.92 kernel.

All users of the 3.4 kernel series must upgrade.

The updated 3.4.y git tree can be found at:
git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable.git linux-3.4.y
and can be browsed at the normal kernel.org git web browser:
http://git.kernel.org/?p=linux/kernel/git/stable/linux-stable.git;a=summary

thanks,

greg k-h

------------

 Documentation/i2c/busses/i2c-piix4             |    2 
 Documentation/ja_JP/HOWTO                      |    2 
 Documentation/ja_JP/stable_kernel_rules.txt    |    6 
 Documentation/kernel-parameters.txt            |   20 +
 Documentation/zh_CN/HOWTO                      |    2 
 Documentation/zh_CN/stable_kernel_rules.txt    |    2 
 Makefile                                       |    2 
 arch/arm/kernel/crash_dump.c                   |    2 
 arch/parisc/kernel/syscall_table.S             |    2 
 arch/s390/crypto/aes_s390.c                    |   50 ++--
 arch/x86/Kconfig                               |    1 
 arch/x86/boot/Makefile                         |    6 
 arch/x86/boot/compressed/Makefile              |    1 
 arch/x86/include/asm/hugetlb.h                 |    1 
 arch/x86/kernel/crash.c                        |    2 
 arch/x86/kernel/ldt.c                          |    4 
 arch/x86/kernel/reboot.c                       |   11 -
 arch/x86/kernel/setup.c                        |    4 
 arch/x86/kernel/step.c                         |   53 +++--
 arch/x86/kernel/sys_x86_64.c                   |    2 
 arch/x86/mm/mmap.c                             |    6 
 arch/x86/platform/efi/efi.c                    |  105 ++++++++++
 arch/x86/vdso/vdso32-setup.c                   |    8 
 crypto/crypto_wq.c                             |    2 
 drivers/acpi/blacklist.c                       |   13 +
 drivers/ata/ata_piix.c                         |    8 
 drivers/ata/pata_at91.c                        |   11 -
 drivers/atm/ambassador.c                       |    2 
 drivers/atm/idt77252.c                         |    2 
 drivers/base/dd.c                              |   17 +
 drivers/block/floppy.c                         |   11 -
 drivers/block/nbd.c                            |    9 
 drivers/char/ipmi/ipmi_kcs_sm.c                |    5 
 drivers/char/ipmi/ipmi_si_intf.c               |   46 ++--
 drivers/char/random.c                          |   24 +-
 drivers/crypto/caam/error.c                    |   10 
 drivers/edac/i82975x_edac.c                    |   11 -
 drivers/firmware/Kconfig                       |   18 +
 drivers/firmware/efivars.c                     |  256 +++++++++++++++++--------
 drivers/gpu/drm/drm_crtc_helper.c              |    4 
 drivers/gpu/drm/i915/i915_debugfs.c            |    6 
 drivers/gpu/drm/i915/i915_drv.h                |    4 
 drivers/gpu/drm/i915/i915_gem.c                |   23 +-
 drivers/gpu/drm/i915/i915_irq.c                |    4 
 drivers/gpu/drm/i915/intel_display.c           |  114 ++++++++++-
 drivers/gpu/drm/i915/intel_dp.c                |    5 
 drivers/gpu/drm/i915/intel_drv.h               |    5 
 drivers/gpu/drm/i915/intel_lvds.c              |    3 
 drivers/gpu/drm/i915/intel_opregion.c          |    2 
 drivers/gpu/drm/i915/intel_panel.c             |   31 ++-
 drivers/gpu/drm/i915/intel_sdvo.c              |   22 +-
 drivers/gpu/drm/nouveau/nouveau_acpi.c         |    3 
 drivers/gpu/drm/nouveau/nouveau_bo.c           |    2 
 drivers/gpu/drm/radeon/atombios_crtc.c         |    5 
 drivers/gpu/drm/radeon/evergreen.c             |    9 
 drivers/gpu/drm/radeon/ni.c                    |    3 
 drivers/gpu/drm/radeon/r600.c                  |    3 
 drivers/gpu/drm/radeon/r600_hdmi.c             |    4 
 drivers/gpu/drm/radeon/radeon_atpx_handler.c   |    7 
 drivers/gpu/drm/radeon/radeon_combios.c        |  125 ++++++++++++
 drivers/gpu/drm/radeon/radeon_connectors.c     |   34 +++
 drivers/gpu/drm/radeon/radeon_display.c        |    1 
 drivers/gpu/drm/radeon/radeon_kms.c            |    4 
 drivers/gpu/drm/radeon/radeon_mode.h           |    2 
 drivers/gpu/drm/radeon/rv770.c                 |    3 
 drivers/gpu/drm/radeon/si.c                    |    3 
 drivers/gpu/drm/ttm/ttm_bo.c                   |   32 +--
 drivers/gpu/drm/vmwgfx/vmwgfx_fb.c             |    5 
 drivers/hid/hid-logitech-dj.c                  |   38 ++-
 drivers/hv/ring_buffer.c                       |    4 
 drivers/hv/vmbus_drv.c                         |    2 
 drivers/hwmon/emc1403.c                        |    4 
 drivers/i2c/busses/Kconfig                     |    1 
 drivers/i2c/busses/i2c-designware-core.c       |    3 
 drivers/i2c/busses/i2c-piix4.c                 |    3 
 drivers/i2c/busses/i2c-tegra.c                 |   13 +
 drivers/idle/intel_idle.c                      |    7 
 drivers/input/mouse/synaptics.c                |   31 ++-
 drivers/md/dm-bufio.c                          |   26 ++
 drivers/md/dm-mpath.c                          |   18 +
 drivers/md/dm-snap.c                           |   73 ++++++-
 drivers/md/dm-thin.c                           |    4 
 drivers/md/md.c                                |    3 
 drivers/md/persistent-data/dm-btree-remove.c   |   46 ++--
 drivers/md/raid10.c                            |    8 
 drivers/media/media-device.c                   |    1 
 drivers/misc/hpilo.c                           |   11 -
 drivers/mtd/devices/m25p80.c                   |   19 -
 drivers/mtd/ubi/scan.c                         |    2 
 drivers/net/bonding/bond_main.c                |    1 
 drivers/net/can/c_can/c_can.c                  |    6 
 drivers/net/can/sja1000/sja1000.c              |   17 -
 drivers/net/ethernet/broadcom/bnx2x/bnx2x_sp.c |    3 
 drivers/net/ethernet/broadcom/tg3.c            |    4 
 drivers/net/ethernet/intel/e1000e/e1000.h      |    1 
 drivers/net/ethernet/intel/e1000e/netdev.c     |   48 ++--
 drivers/net/ethernet/intel/ixgbe/ixgbe_main.c  |    7 
 drivers/net/macvlan.c                          |    3 
 drivers/net/wimax/i2400m/usb-rx.c              |    2 
 drivers/net/wireless/ath/ath9k/xmit.c          |    8 
 drivers/net/wireless/b43/Kconfig               |    4 
 drivers/net/wireless/rt2x00/rt2500usb.c        |    2 
 drivers/net/wireless/rt2x00/rt2800usb.c        |    2 
 drivers/net/wireless/rt2x00/rt2x00mac.c        |   22 +-
 drivers/net/wireless/rt2x00/rt73usb.c          |    1 
 drivers/net/wireless/rtlwifi/rtl8192cu/hw.c    |    2 
 drivers/net/xen-netfront.c                     |   17 +
 drivers/pci/hotplug/shpchp.h                   |    2 
 drivers/pci/hotplug/shpchp_core.c              |   26 +-
 drivers/pci/hotplug/shpchp_ctrl.c              |   10 
 drivers/pci/pcie/aspm.c                        |    3 
 drivers/platform/x86/msi-wmi.c                 |    4 
 drivers/platform/x86/thinkpad_acpi.c           |    2 
 drivers/rapidio/devices/tsi721.c               |   11 +
 drivers/regulator/max8997.c                    |   36 +--
 drivers/regulator/max8998.c                    |    2 
 drivers/rtc/rtc-pl031.c                        |   10 
 drivers/staging/octeon/ethernet-tx.c           |    2 
 drivers/staging/speakup/speakup_soft.c         |    2 
 drivers/staging/zram/zram_drv.c                |   38 ++-
 drivers/staging/zram/zram_sysfs.c              |    6 
 drivers/tty/n_gsm.c                            |   78 +++----
 drivers/tty/serial/imx.c                       |   18 -
 drivers/usb/class/cdc-acm.c                    |   28 ++
 drivers/usb/gadget/at91_udc.c                  |   10 
 drivers/usb/serial/cp210x.c                    |    1 
 drivers/usb/serial/ftdi_sio.c                  |   33 +++
 drivers/usb/serial/ftdi_sio_ids.h              |   37 +++
 drivers/usb/serial/io_ti.c                     |   50 +++-
 drivers/usb/serial/option.c                    |   83 +++++++-
 drivers/usb/serial/sierra.c                    |    1 
 drivers/usb/storage/shuttle_usbat.c            |    2 
 drivers/usb/storage/unusual_devs.h             |   14 +
 drivers/video/backlight/atmel-pwm-bl.c         |    3 
 drivers/video/console/vgacon.c                 |   17 +
 fs/cachefiles/rdwr.c                           |    2 
 fs/cifs/cifsfs.c                               |   24 ++
 fs/cifs/cifsfs.h                               |    4 
 fs/cifs/cifssmb.c                              |    8 
 fs/cifs/file.c                                 |    8 
 fs/ecryptfs/keystore.c                         |    3 
 fs/nfs/callback_xdr.c                          |    6 
 fs/nfs/nfs4proc.c                              |   23 --
 fs/nfs/nfs4state.c                             |   14 +
 fs/nfs/pnfs.c                                  |   19 +
 fs/nfsd/nfs4acl.c                              |   17 -
 fs/nfsd/nfs4proc.c                             |    8 
 fs/nfsd/nfs4state.c                            |   15 +
 fs/nfsd/nfs4xdr.c                              |    2 
 fs/nfsd/vfs.c                                  |    5 
 fs/posix_acl.c                                 |    6 
 fs/stat.c                                      |    5 
 include/drm/drm_mode.h                         |    2 
 include/linux/compiler-intel.h                 |    2 
 include/linux/efi.h                            |   16 +
 include/linux/ftrace.h                         |    2 
 include/linux/list.h                           |   16 +
 include/linux/mm_types.h                       |    1 
 include/linux/net.h                            |   23 ++
 include/linux/perf_event.h                     |   12 -
 include/linux/skbuff.h                         |   12 +
 include/net/ip6_route.h                        |    5 
 include/net/mac80211.h                         |    5 
 include/trace/events/module.h                  |    2 
 include/xen/interface/io/netif.h               |    1 
 kernel/events/core.c                           |    4 
 kernel/events/ring_buffer.c                    |   31 ++-
 kernel/futex.c                                 |  239 ++++++++++++++++++-----
 kernel/hrtimer.c                               |   30 ++
 kernel/module.c                                |    3 
 kernel/sched/core.c                            |   35 ++-
 kernel/timer.c                                 |    2 
 kernel/trace/ftrace.c                          |   98 ++++++---
 kernel/trace/trace.c                           |    6 
 mm/hugetlb.c                                   |    1 
 mm/memory-failure.c                            |   15 -
 mm/memory.c                                    |    5 
 mm/percpu.c                                    |    2 
 net/core/dev.c                                 |    1 
 net/core/filter.c                              |    6 
 net/core/rtnetlink.c                           |   33 ++-
 net/core/skbuff.c                              |   21 +-
 net/ipv4/fib_semantics.c                       |    2 
 net/ipv4/ip_forward.c                          |    4 
 net/ipv4/ping.c                                |   15 +
 net/ipv4/route.c                               |    2 
 net/ipv4/tcp_cubic.c                           |    2 
 net/ipv6/route.c                               |    5 
 net/l2tp/l2tp_ppp.c                            |    4 
 net/mac80211/rx.c                              |    3 
 net/mac80211/status.c                          |    6 
 net/sched/act_mirred.c                         |   11 -
 net/sctp/socket.c                              |   42 ++++
 net/wireless/sme.c                             |    3 
 sound/pci/hda/patch_conexant.c                 |   34 ++-
 sound/soc/codecs/wm8962.c                      |   15 +
 sound/soc/codecs/wm8962.h                      |    4 
 197 files changed, 2368 insertions(+), 787 deletions(-)

Aaro Koskinen (1):
drm/nouveau: fix init with agpgart-uninorth

Alan Cox (1):
dj: memory scribble in logi_dj

Alex Deucher (12):
drm/radeon: call drm_edid_to_eld when we update the edid drm/radeon: fix ATPX detection on non-VGA GPUs
drm: fix documentation for drm_crtc_set_mode() drm/radeon/dce32+: use fractional fb dividers for high clocks drm/radeon: add connector table for SAM440ep embedded board drm/radeon: add connector table for Mac G4 Silver drm/radeon: fix typo in evergreen_mc_resume() drm/radeon: use frac fb div on RS780/RS880 drm/radeon: cleanup properly if mmio mapping fails drm/radeon: fix panel scaling with eDP and LVDS bridges drm/radeon: fix hdmi mode enable on RS600/RS690/RS740 drm/radeon: always program the MC on startup

Alex Hung (1):
thinkpad-acpi: fix issuing duplicated key events for brightness up/down

Alexander Duyck (1):
skb: Add inline helper for getting the skb end offset from head

Alexander Stein (1):
can: c_can: Set reserved bit in IFx_MASK2 to 1 on write

Alexandre Bounine (1):
rapidio/tsi721: fix bug in MSI interrupt handling

Andy Adamson (1):
NFSv4 wait on recovery for async session errors

Anthony Iliopoulos (1):
x86, mm, hugetlb: Add missing TLB page invalidation for hugetlb_cow()

Axel Lin (2):
regulator: max8997: Use uV in voltage_map_desc
regulator: max8998: Ensure enough delay time for max8998_set_voltage_buck_time_sel

Bartlomiej Zolnierkiewicz (1):
pata_at91: fix ata_host_activate() failure handling

Ben Hutchings (5):
rtl8192cu: Fix unbalanced irq enable in error path of rtl92cu_hw_init()
efivars: pstore: Do not check size when erasing variable
efivars: Fix check for CONFIG_EFI_VARS_PSTORE_DEFAULT_DISABLE x86/efi: Fix dummy variable buffer allocation rapidio/tsi721: Fix interrupt mask when handling MSI

Bjorn Helgaas (1):
PCI: shpchp: Use per-slot workqueues to avoid deadlock

Bjørn Mork (3):
usb: option: add Olivetti Olicard 500
usb: option: add Alcatel L800MA
usb: option: add and update a number of CMOTech devices

Bodo Stroesser (1):
ipmi: Fix a race restarting the timer

Brian Norris (1):
mtd: m25p80: fix allocation size

Bruce Allan (1):
e1000e: DoS while TSO enabled caused by link partner with small MSS

Carsten Emde (3):
drm/i915: panel: invert brightness via parameter drm/i915: panel: invert brightness via quirk drm/i915: panel: invert brightness acer aspire 5734z

Charles Keepax (1):
ASoC: wm8962: Update register CLASS_D_CONTROL_1 to be non-volatile

Chen Yucong (1):
hwpoison, hugetlb: lock_page/unlock_page does not match for handling a free hugepage

Chris Wilson (4):
drm/i915: Close race between processing unpin task and queueing the flip drm/i915; Only increment the user-pin-count after successfully pinning the bo drm/i915: Workaround incoherence between fences and LLC across multiple CPUs
drm: Pad drm_mode_get_connector to 64-bit boundary

Christoph Hellwig (1):
posix_acl: handle NULL ACL in posix_acl_equiv_mode

Christopher Friedt (1):
drm/vmwgfx: correct fb_fix_screeninfo.line_length

Chuck Lever (1):
NFS: nfs_getaclargs.acl_len is a size_t

Corey Minyard (1):
ipmi: Reset the KCS timeout when starting error recovery

Dan Carpenter (1):
NFSv4.1: integer overflow in decode_cb_sequence_args()

Daniel Borkmann (2):
net: sctp: wake up all assocs if sndbuf policy is per socket
net: sctp: test if association is dead in sctp_wake_up_waiters

Daniel Vetter (1):
drm/i915: dump UTS_RELEASE into the error_state

Daniele Forsi (2):
usb: storage: shuttle_usbat: fix discs being detected twice
USB: Nokia 5300 should be treated as unusual dev

Daniele Palmas (1):
usb: option driver, add support for Telit UE910v2

David Gibson (2):
rtnetlink: Warn when interface's information won't fit in our packet
rtnetlink: Only supply IFLA_VF_PORTS information when RTEXT_FILTER_VF is set

David Henningsson (2):
ALSA: HDA: Add inverted internal mic quirk for Lenovo S205
ALSA: hda - Fix oops caused by recent commit "Fix internal mic for Lenovo Ideapad U300s"

Dirk Behme (1):
tty: serial: imx: don't reinit clock in imx_setup_ufcr()

Dmitry Petukhov (1):
l2tp: take PMTU from tunnel UDP socket

Du, Wenkai (1):
i2c: designware: Mask all interrupts during i2c controller enable

Egbert Eich (1):
DRM/i915: Add QUIRK_INVERT_BRIGHTNESS for NCR machines.

Eric Dumazet (2):
ipv6: Limit mtu to 65575 bytes
net-gro: reset skb->truesize in napi_reuse_skb()

Felix Fietkau (1):
mac80211: drop spoofed packets in ad-hoc mode

Felix Kaechele (1):
ALSA: hda - Add inverted internal mic quirk for Lenovo IdeaPad U310

Fenghua Yu (1):
x86/apic: Disable I/O APIC before shutdown of the local APIC

Florian Westphal (2):
net: core: don't account for udp header size when computing seglen
net: ipv4: ip_forward: fix inverted local_df test

Frederic Berat (1):
n_gsm : Flow control handling in Mux driver

Geert Uytterhoeven (1):
Documentation: Update stable address in Chinese and Japanese translations

Gerald Schaefer (1):
crypto: s390 - Fix aes-xts parameter corruption

Geyslan G. Bem (1):
ecryptfs: Fix memory leakage in keystore.c

Grant Likely (1):
drivercore: deferral race condition fix

Greg Kroah-Hartman (1):

      Linux 3.4.92

H. Peter Anvin (3):
x86, build, icc: Remove uninitialized_var() from compiler-intel.h x86, build: Pass in additional -mno-mmx, -mno-sse options x86/Sandy Bridge: mark arrays in __init functions as __initconst

Hans de Goede (1):
ACPI / blacklist: Add dmi_enable_osi_linux quirk for Asus EEE PC 1015PX

Haojian Zhuang (1):
drivers/rtc/rtc-pl031.c: fix the missing operation on enable

Harshula Jayasuriya (1):
nfsd: nfsd_open: when dentry_open returns an error do not propagate as struct file

Hauke Mehrtens (1):
b43: ensue that BCMA is "y" when B43 is "y"

Helge Deller (1):
parisc: fix epoll_pwait syscall on compat kernel

Herbert Xu (1):
crypto: s390 - Fix aes-cbc IV corruption

Herton Ronaldo Krzesinski (1):
floppy: properly handle failure on add_disk loop

Horia Geanta (1):
crypto: caam - add allocation failure handling in SPRINTFCAT macro

Ilia Mirkin (1):
drm/nouveau/acpi: allow non-optimus setups to load vbios from acpi

Ivan Vecera (1):
tg3: update rx_jumbo_pending ring param only when jumbo frames are enabled

J. Bruce Fields (3):
nfsd4: warn on finding lockowner without stateid's
nfsd4: remove lockowner when removing lock stateid
nfsd4: fix xdr decoding of large non-write compounds

Jakub Kicinski (1):
ixgbe: fix registration order of driver and DCA nofitication

James Ralston (1):
ata_piix: Add Device IDs for Intel Lynx Point-LP PCH

Jani Nikula (7):
drm/i915/sdvo: clean up connectors on intel_sdvo_init() failures drm/i915: add missing \n to UTS_RELEASE in the error_state drm/i915: add quirk to invert brightness on eMachines G725 drm/i915: add quirk to invert brightness on eMachines e725 drm/i915: add quirk to invert brightness on Packard Bell NCL20 drm/i915: ensure single initialization and cleanup of backlight device drm/i915: try not to lose backlight CBLV precision

Jason Wang (2):
act_mirred: do not drop packets when fails to mirror it
drivers: hv: switch to use mb() instead of smp_mb()

Jaume Delclòs (1):
Wireless: rt2x00: Add device id for Sweex LW323 to rt2800usb.c

Jean-Jacques Hiblot (1):
usb: gadget: at91-udc: fix irq and iomem resource retrieval

Jerome Glisse (1):
drm/radeon: fix amd afusion gpu setup aka sumo v2

Jiang Liu (3):
zram: avoid invalid memory access in zram_exit()
zram: destroy all devices on error recovery path in zram_init()
zram: avoid access beyond the zram device

Jianyu Zhan (1):
percpu: make pcpu_alloc_chunk() use pcpu_mem_free() instead of kfree()

Jiri Bohac (1):
timer: Prevent overflow in apply_slack

Jiri Kosina (1):
random: fix accounting race condition with lockless irq entropy_count update

Jiri Slaby (1):
MISC: hpilo, remove pci_disable_device

Joe Lawrence (1):
PCI/ASPM: Don't touch ASPM if forcibly disabled

Joe Perches (1):
net: Add net_ratelimited_function and net_<level>_ratelimited macros

Joe Thornber (1):
dm thin: fix discard corruption

Johan Hovold (3):
Revert "USB: serial: add usbid for dell wwan card to sierra.c"
USB: io_ti: fix firmware download on big-endian machines
backlight: atmel-pwm-bl: fix gpio polarity in remove

Johannes Berg (1):

      cfg80211: check wdev->netdev in connection work

Josef Gajdusek (2):
hwmon: (emc1403) fix inverted store_hyst()
hwmon: (emc1403) Support full range of known chip revision numbers

Josh Boyer (2):
efivars: Disable external interrupt while holding efivars->lock
efi: be more paranoid about available space when creating variables

Justin Lecher (1):
fs: cachefiles: add support for large files in filesystem caching

Kinglong Mee (1):

      NFSD: Call ->set_acl with a NULL ACL structure if no entries

Konrad Rzeszutek Wilk (1):
intel_idle: Don't register CPU notifier if we are not running.

Krzysztof Mazur (1):
i915: ensure that VGA plane is disabled

Laxman Dewangan (1):
i2c: tegra: check the clk_prepare_enable() return value

Leon Ma (1):
hrtimer: Prevent remote enqueue of leftmost timers

Li RongQing (1):
ipv4: initialise the itag variable in __mkroute_input

Linus Torvalds (3):
mm: make fixup_user_fault() check the vma access rights too x86-64, modify_ldt: Make support for 16-bit segments a runtime option
VFS: make vfs_fstat() use f[get|put]_light()

Linus Walleij (1):
drivers/rtc/rtc-pl031.c: restore ST variant functionality

Liu Hua (1):
ARM: 8012/1: kdump: Avoid overflow when converting pfn to physaddr

Liu Yu (1):
tcp_cubic: fix the range of delayed_ack

Maia Kozheva (1):

      rt2800usb: Add support for 2001:3c1e (D-Link DWA-125 rev B1) USB Wi-Fi adapter

Marc Dionne (1):
HID: logitech: don't use stack based dj_report structures

Marcel Apfelbaum (1):
PCI: shpchp: Check bridge's secondary (not primary) bus speed

Marcelo Tosatti (1):
vgacon.c: add cond reschedule points in vgacon_do_font_op

Mateusz Guzik (1):
cifs: delay super block destruction until all cifsFileInfo objects are gone

Mathias Krause (1):
filter: prevent nla extensions to peek beyond the end of the message

Matt Fleming (1):
x86, efivars: firmware bug workarounds should be in platform code

Matthew Garrett (1):
Modify UEFI anti-bricking code

Matthieu CASTET (1):
UBI: erase free PEB with bitflip in EC header

Mauro Carvalho Chehab (1):
i82975x_edac: Fix dimm label initialization

Maxim Mikityanskiy (1):
msi-wmi: Fix memory leak

Michael Ulbricht (1):
USB: cdc-acm: Remove Motorola/Telit H24 serial interfaces from ACM driver

Michele Baldessari (1):
USB: serial: ftdi_sio: add id for Brainboxes serial cards

Mikulas Patocka (3):
dm bufio: avoid a possible __vmalloc deadlock dm snapshot: add missing module aliases dm snapshot: avoid snapshot space leak on crash

Minchan Kim (1):
zram: Fix deadlock bug in partial read/write

Mizuma, Masayoshi (1):
mm/hugetlb.c: add cond_resched_lock() in return_unused_surplus_pages()

Namhyung Kim (1):

      sched/debug: Limit sd->*_idx range on sysctl

NeilBrown (2):
md: avoid possible spinning md thread at shutdown. md/raid10: fix "enough" function for detecting if array is failed.

Oleg Nesterov (3):
list: introduce list_next_entry() and list_prev_entry() ptrace/x86: Introduce set_task_blockstep() helper ptrace/x86: Partly fix set_task_blockstep()->update_debugctlmsr() logic

Oliver Hartkopp (1):
can: sja1000: fix {pre,post}_irq() handling and IRQ handler return value

Ondrej Zary (1):
drm/radeon: Another card with wrong primary dac adj

Paolo Bonzini (1):
nbd: fsync and kill block device on shutdown

Pavel Shilovsky (1):
CIFS: Fix error handling in cifs_push_mandatory_locks

Peter Zijlstra (1):
perf: Fix perf ring buffer memory ordering

Radu Caragea (1):
x86 get_unmapped_area: Access mmap_legacy_base through mm_struct member

Randy Dunlap (1):
x86: fix build error and kconfig for ia32_emulation and binfmt

Rashika Kheria (1):
Staging: zram: Fix access of NULL pointer

Richard Weinberger (2):
x86,efi: Check max_size only if it is non-zero. x86,efi: Implement efi_no_storage_paranoia parameter

Romain Izard (1):
trace: module: Maintain a valid user count

Russ Gorby (2):
n_gsm: avoid accessing freed memory during CMD_FCOFF condition
n_gsm: replace kfree_skb w/ appropriate dev_* versions

Salva Peiró (1):
media: media-device: fix infoleak in ioctl media_enum_entities()

Samuel Thibault (1):
speakup: lower default software speech rate

Seiji Aguchi (2):
efi_pstore: Check remaining space with QueryVariableInfo() before writing data
efi_pstore: Introducing workqueue updating sysfs

Sergey Popovich (1):
ipv4: fib_semantics: increment fib_info_cnt after fib_info allocation

Sergey Senozhatsky (1):
zram: allow request end to coincide with disksize

Sergey Vlasov (1):
efi: Export efi_query_variable_store() for efivars.ko

Seth Forshee (3):
Input: synaptics - adjust threshold for treating position values as negative
efivars: Allow disabling use as a pstore backend
efivars: Add module parameter to disable use as a pstore backend

Shane Huang (1):
i2c-piix4: Add AMD CZ SMBus device ID

Shiva Krishna Merla (1):
dm mpath: fix race condition between multipath_dtr and pg_init_done

Stanislaw Gruszka (3):

      rt2x00: fix beaconing on USB
      mac80211: introduce IEEE80211_HW_TEARDOWN_AGGR_ON_BAR_FAIL
      ath9k: protect tid->sched check

Steve French (1):
setfacl removes part of ACL when setting POSIX ACLs to Samba

Steven Rostedt (Red Hat) (3):
ftrace/module: Hardcode ftrace_module_init() call into load_module()
ftrace: Check module functions being traced on reload
tracing: Keep overwrite in sync between regular and snapshot buffers

Stuart Hayes (1):
hrtimer: Prevent all reprogramming if hang detected

Takashi Iwai (4):
ALSA: hda - Add stereo-dmic fixup for Acer Aspire One 522
ALSA: hda/conexant - Correct vendor IDs for new codecs
ALSA: hda - Add Conexant CX20755/20756/20757 codec IDs
ALSA: hda - Add support for CX20952

Thomas Gleixner (6):
futex: Add another early deadlock detection check
futex: Prevent attaching to kernel threads
futex-prevent-requeue-pi-on-same-futex.patch futex: Forbid uaddr == uaddr2 in futex_requeue(..., requeue_pi=1)
futex: Validate atomic acquisition in futex_lock_pi_atomic()
futex: Always cleanup owner tid in unlock_pi
futex: Make lookup_pi_state more robust

Thomas Hellstrom (1):
drm/ttm: Fix memory type compatibility check

Thomas Richter (1):
bonding: Remove debug_fs files when module init fails

Tim Chen (1):
crypto: crypto_wq - Fix late crypto work queue initialization

Tristan Bruns (1):

      USB: cp210x: Add 8281 (Nanotec Plug & Drive)

Trond Myklebust (2):
NFSv4.1: Fix a race in pNFS layoutcommit
NFSv4.1: Handle NFS4ERR_DELAY when resetting the NFSv4.1 session

Victor A. Santos (1):
USB: Nokia 305 should be treated as unusual dev

Viresh Kumar (1):
hrtimer: Set expiry time before switch_hrtimer_base()

Vlad Yasevich (1):
Revert "macvlan : fix checksums error when we are in bridge mode"

Wang, Xiaoming (1):
net: ipv4: current group_info should be put after using.

Wei Liu (1):
xen-netfront: reduce gso_max_size to account for max TCP header

Wei Yongjun (1):
perf: Fix error return code

Weston Andros Adamson (1):
NFSv4.1: Don't decode skipped layoutgets

Xose Vazquez Perez (1):

      wireless: rt2x00: rt{2500,73}usb.c put back duplicate id

fanchaoting (1):
nfsd: don't run get_file if nfs4_preprocess_stateid_op return error

libin (1):

      sched/debug: Fix sd->*_idx limit range avoiding overflow

samix.lebsir (1):
char: n_gsm: remove message filtering for contipated DLCI

author maintainer
#1 lore raw
Documentation/i2c/busses/i2c-piix4 +1 -1
index 475bb4ae0720..65da15796ed3 100644
@@ -8,7 +8,7 @@ Supported adapters:
     Datasheet: Only available via NDA from ServerWorks
   * ATI IXP200, IXP300, IXP400, SB600, SB700 and SB800 southbridges
     Datasheet: Not publicly available
-  * AMD Hudson-2
+  * AMD Hudson-2, CZ
     Datasheet: Not publicly available
   * Standard Microsystems (SMSC) SLC90E66 (Victory66) southbridge
     Datasheet: Publicly available at the SMSC website http://www.smsc.com
Documentation/ja_JP/HOWTO +1 -1
index 050d37fe6d40..46ed73593465 100644
@@ -315,7 +315,7 @@ Andrew Morton が Linux-kernel メーリングリストにカーネルリリー
 もし、2.6.x.y カーネルが存在しない場合には、番号が一番大きい 2.6.x が
 最新の安定版カーネルです。
 
-2.6.x.y は "stable" チーム <[email protected]> でメンテされており、必
+2.6.x.y は "stable" チーム <[email protected]> でメンテされており、必
 要に応じてリリースされます。通常のリリース期間は 2週間毎ですが、差し迫っ
 た問題がなければもう少し長くなることもあります。セキュリティ関連の問題
 の場合はこれに対してだいたいの場合、すぐにリリースがされます。
Documentation/ja_JP/stable_kernel_rules.txt +3 -3
index 14265837c4ce..9dbda9b5d21e 100644
@@ -50,16 +50,16 @@ linux-2.6.29/Documentation/stable_kernel_rules.txt
 
 -stable ツリーにパッチを送付する手続き-
 
- - 上記の規則に従っているかを確認した後に、[email protected] にパッチ
+ - 上記の規則に従っているかを確認した後に、[email protected] にパッチ
    を送る。
  - 送信者はパッチがキューに受け付けられた際には ACK を、却下された場合
    には NAK を受け取る。この反応は開発者たちのスケジュールによって、数
    日かかる場合がある。
  - もし受け取られたら、パッチは他の開発者たちと関連するサブシステムの
    メンテナーによるレビューのために -stable キューに追加される。
- - パッチに [email protected] のアドレスが付加されているときには、それ
+ - パッチに [email protected] のアドレスが付加されているときには、それ
    が Linus のツリーに入る時に自動的に stable チームに email される。
- - セキュリティパッチはこのエイリアス ([email protected]) に送られるべ
+ - セキュリティパッチはこのエイリアス ([email protected]) に送られるべ
    きではなく、代わりに [email protected] のアドレスに送られる。
 
 レビューサイクル-
Documentation/kernel-parameters.txt +20 -0
index 753d18ae0105..63740dae90a0 100644
@@ -773,6 +773,12 @@ bytes respectively. Such letter suffixes can also be entirely omitted.
 	edd=		[EDD]
 			Format: {"off" | "on" | "skip[mbr]"}
 
+	efi_no_storage_paranoia [EFI; X86]
+			Using this parameter you can use more than 50% of
+			your efi variable storage. Use this parameter only if
+			you are really sure that your UEFI does sane gc and
+			fulfills the spec otherwise your board may brick.
+
 	eisa_irq_edge=	[PARISC,HW]
 			See header of drivers/parisc/eisa.c.
 
@@ -987,6 +993,20 @@ bytes respectively. Such letter suffixes can also be entirely omitted.
 	i8k.restricted	[HW] Allow controlling fans only if SYS_ADMIN
 			capability is set.
 
+	i915.invert_brightness=
+			[DRM] Invert the sense of the variable that is used to
+			set the brightness of the panel backlight. Normally a
+			brightness value of 0 indicates backlight switched off,
+			and the maximum of the brightness value sets the backlight
+			to maximum brightness. If this parameter is set to 0
+			(default) and the machine requires it, or this parameter
+			is set to 1, a brightness value of 0 sets the backlight
+			to maximum brightness, and the maximum of the brightness
+			value switches the backlight off.
+			-1 -- never invert brightness
+			 0 -- machine default
+			 1 -- force brightness inversion
+
 	icn=		[HW,ISDN]
 			Format: <io>[,<membase>[,<icn_id>[,<icn_id2>]]]
 
Documentation/zh_CN/HOWTO +1 -1
index 7fba5aab9ef9..7599eb38b764 100644
@@ -237,7 +237,7 @@ kernel.org网站的pub/linux/kernel/v2.6/目录下找到它。它的开发遵循
 如果没有2.6.x.y版本内核存在,那么最新的2.6.x版本内核就相当于是当前的稳定
 版内核。
 
-2.6.x.y版本由“稳定版”小组(邮件地址<[email protected]>)维护,一般隔周发
+2.6.x.y版本由“稳定版”小组(邮件地址<[email protected]>)维护,一般隔周发
 布新版本。
 
 内核源码中的Documentation/stable_kernel_rules.txt文件具体描述了可被稳定
Documentation/zh_CN/stable_kernel_rules.txt +1 -1
index b5b9b0ab02fd..26ea5ed7cd9c 100644
@@ -42,7 +42,7 @@ Documentation/stable_kernel_rules.txt 的中文翻译
 
 向稳定版代码树提交补丁的过程:
 
-  - 在确认了补丁符合以上的规则后,将补丁发送到[email protected]。
+  - 在确认了补丁符合以上的规则后,将补丁发送到[email protected]。
   - 如果补丁被接受到队列里,发送者会收到一个ACK回复,如果没有被接受,收
     到的是NAK回复。回复需要几天的时间,这取决于开发者的时间安排。
   - 被接受的补丁会被加到稳定版本队列里,等待其他开发者的审查。
Makefile +1 -1
index 16899b9ba84f..513b460b49f9 100644
@@ -1,6 +1,6 @@
 VERSION = 3
 PATCHLEVEL = 4
-SUBLEVEL = 91
+SUBLEVEL = 92
 EXTRAVERSION =
 NAME = Saber-toothed Squirrel
 
arch/arm/kernel/crash_dump.c +1 -1
index 90c50d4b43f7..5d1286d51154 100644
@@ -39,7 +39,7 @@ ssize_t copy_oldmem_page(unsigned long pfn, char *buf,
 	if (!csize)
 		return 0;
 
-	vaddr = ioremap(pfn << PAGE_SHIFT, PAGE_SIZE);
+	vaddr = ioremap(__pfn_to_phys(pfn), PAGE_SIZE);
 	if (!vaddr)
 		return -ENOMEM;
 
arch/parisc/kernel/syscall_table.S +1 -1
index 3735abd7f8f6..4014d9064be1 100644
@@ -395,7 +395,7 @@
 	ENTRY_COMP(vmsplice)
 	ENTRY_COMP(move_pages)		/* 295 */
 	ENTRY_SAME(getcpu)
-	ENTRY_SAME(epoll_pwait)
+	ENTRY_COMP(epoll_pwait)
 	ENTRY_COMP(statfs64)
 	ENTRY_COMP(fstatfs64)
 	ENTRY_COMP(kexec_load)		/* 300 */
arch/s390/crypto/aes_s390.c +29 -21

129 lines not on this page · raw message

arch/x86/Kconfig +1 -0
index b1478f407238..9df4ea1caaf1 100644
@@ -2157,6 +2157,7 @@ source "fs/Kconfig.binfmt"
 config IA32_EMULATION
 	bool "IA32 Emulation"
 	depends on X86_64
+	select BINFMT_ELF
 	select COMPAT_BINFMT_ELF
 	---help---
 	  Include code to run legacy 32-bit programs under a
arch/x86/boot/Makefile +3 -3
index 5a747dd884db..8dfb1ff56e04 100644
@@ -52,18 +52,18 @@ $(obj)/cpustr.h: $(obj)/mkcpustr FORCE
 
 # How to compile the 16-bit code.  Note we always compile for -march=i386,
 # that way we can complain to the user if the CPU is insufficient.
-KBUILD_CFLAGS	:= $(LINUXINCLUDE) -g -Os -D_SETUP -D__KERNEL__ \
+KBUILD_CFLAGS	:= $(LINUXINCLUDE) -m32 -g -Os -D_SETUP -D__KERNEL__ \
 		   -DDISABLE_BRANCH_PROFILING \
 		   -Wall -Wstrict-prototypes \
 		   -march=i386 -mregparm=3 \
 		   -include $(srctree)/$(src)/code16gcc.h \
 		   -fno-strict-aliasing -fomit-frame-pointer \
+		   -mno-mmx -mno-sse \
 		   $(call cc-option, -ffreestanding) \
 		   $(call cc-option, -fno-toplevel-reorder,\
-			$(call cc-option, -fno-unit-at-a-time)) \
+		   $(call cc-option, -fno-unit-at-a-time)) \
 		   $(call cc-option, -fno-stack-protector) \
 		   $(call cc-option, -mpreferred-stack-boundary=2)
-KBUILD_CFLAGS	+= $(call cc-option, -m32)
 KBUILD_AFLAGS	:= $(KBUILD_CFLAGS) -D__ASSEMBLY__
 GCOV_PROFILE := n
 
arch/x86/boot/compressed/Makefile +1 -0
index 5ef205c5f37b..7194d9f094bc 100644
@@ -12,6 +12,7 @@ KBUILD_CFLAGS += -DDISABLE_BRANCH_PROFILING
 cflags-$(CONFIG_X86_32) := -march=i386
 cflags-$(CONFIG_X86_64) := -mcmodel=small
 KBUILD_CFLAGS += $(cflags-y)
+KBUILD_CFLAGS += -mno-mmx -mno-sse
 KBUILD_CFLAGS += $(call cc-option,-ffreestanding)
 KBUILD_CFLAGS += $(call cc-option,-fno-stack-protector)
 
arch/x86/include/asm/hugetlb.h +1 -0
index 439a9acc132d..48fa3915fd02 100644
@@ -51,6 +51,7 @@ static inline pte_t huge_ptep_get_and_clear(struct mm_struct *mm,
 static inline void huge_ptep_clear_flush(struct vm_area_struct *vma,
 					 unsigned long addr, pte_t *ptep)
 {
+	ptep_clear_flush(vma, addr, ptep);
 }
 
 static inline int huge_pte_none(pte_t pte)
arch/x86/kernel/crash.c +1 -1
index 13ad89971d47..69e231b9d925 100644
@@ -95,10 +95,10 @@ void native_machine_crash_shutdown(struct pt_regs *regs)
 	cpu_emergency_vmxoff();
 	cpu_emergency_svm_disable();
 
-	lapic_shutdown();
 #if defined(CONFIG_X86_IO_APIC)
 	disable_IO_APIC();
 #endif
+	lapic_shutdown();
 #ifdef CONFIG_HPET_TIMER
 	hpet_disable();
 #endif
arch/x86/kernel/ldt.c +3 -1
index af1d14a9ebda..dcbbaa165bde 100644
@@ -20,6 +20,8 @@
 #include <asm/mmu_context.h>
 #include <asm/syscalls.h>
 
+int sysctl_ldt16 = 0;
+
 #ifdef CONFIG_SMP
 static void flush_ldt(void *current_mm)
 {
@@ -234,7 +236,7 @@ static int write_ldt(void __user *ptr, unsigned long bytecount, int oldmode)
 	 * IRET leaking the high bits of the kernel stack address.
 	 */
 #ifdef CONFIG_X86_64
-	if (!ldt_info.seg_32bit) {
+	if (!ldt_info.seg_32bit && !sysctl_ldt16) {
 		error = -EINVAL;
 		goto out_unlock;
 	}
arch/x86/kernel/reboot.c +7 -4
index bd70df6162f7..d398f317f5e0 100644
@@ -668,6 +668,13 @@ void native_machine_shutdown(void)
 
 	/* The boot cpu is always logical cpu 0 */
 	int reboot_cpu_id = 0;
+#endif
+
+#ifdef CONFIG_X86_IO_APIC
+	disable_IO_APIC();
+#endif
+
+#ifdef CONFIG_SMP
 
 #ifdef CONFIG_X86_32
 	/* See if there has been given a command line override */
@@ -691,10 +698,6 @@ void native_machine_shutdown(void)
 
 	lapic_shutdown();
 
-#ifdef CONFIG_X86_IO_APIC
-	disable_IO_APIC();
-#endif
-
 #ifdef CONFIG_HPET_TIMER
 	hpet_disable();
 #endif
arch/x86/kernel/setup.c +2 -2
index 537dc033868d..46112cef59a7 100644
@@ -625,7 +625,7 @@ static bool __init snb_gfx_workaround_needed(void)
 #ifdef CONFIG_PCI
 	int i;
 	u16 vendor, devid;
-	static const u16 snb_ids[] = {
+	static const __initconst u16 snb_ids[] = {
 		0x0102,
 		0x0112,
 		0x0122,
@@ -658,7 +658,7 @@ static bool __init snb_gfx_workaround_needed(void)
  */
 static void __init trim_snb_memory(void)
 {
-	static const unsigned long bad_pages[] = {
+	static const __initconst unsigned long bad_pages[] = {
 		0x20050000,
 		0x20110000,
 		0x20130000,
arch/x86/kernel/step.c +33 -20

71 lines not on this page · raw message

arch/x86/kernel/sys_x86_64.c +1 -1
index b4d3c3927dd8..51534ef23c1c 100644
@@ -115,7 +115,7 @@ static void find_start_end(unsigned long flags, unsigned long *begin,
 				*begin = new_begin;
 		}
 	} else {
-		*begin = TASK_UNMAPPED_BASE;
+		*begin = current->mm->mmap_legacy_base;
 		*end = TASK_SIZE;
 	}
 }
arch/x86/mm/mmap.c +4 -2
index 845df6835f9f..5c1ae28825cd 100644
@@ -112,12 +112,14 @@ static unsigned long mmap_legacy_base(void)
  */
 void arch_pick_mmap_layout(struct mm_struct *mm)
 {
+	mm->mmap_legacy_base = mmap_legacy_base();
+	mm->mmap_base = mmap_base();
+
 	if (mmap_is_legacy()) {
-		mm->mmap_base = mmap_legacy_base();
+		mm->mmap_base = mm->mmap_legacy_base;
 		mm->get_unmapped_area = arch_get_unmapped_area;
 		mm->unmap_area = arch_unmap_area;
 	} else {
-		mm->mmap_base = mmap_base();
 		mm->get_unmapped_area = arch_get_unmapped_area_topdown;
 		mm->unmap_area = arch_unmap_area_topdown;
 	}
arch/x86/platform/efi/efi.c +105 -0

126 lines not on this page · raw message

arch/x86/vdso/vdso32-setup.c +8 -0
index 66e6d9359826..c734408d55e4 100644
@@ -41,6 +41,7 @@ enum {
 #ifdef CONFIG_X86_64
 #define vdso_enabled			sysctl_vsyscall32
 #define arch_setup_additional_pages	syscall32_setup_pages
+extern int sysctl_ldt16;
 #endif
 
 /*
@@ -380,6 +381,13 @@ static ctl_table abi_table2[] = {
 		.mode		= 0644,
 		.proc_handler	= proc_dointvec
 	},
+	{
+		.procname	= "ldt16",
+		.data		= &sysctl_ldt16,
+		.maxlen		= sizeof(int),
+		.mode		= 0644,
+		.proc_handler	= proc_dointvec
+	},
 	{}
 };
 
crypto/crypto_wq.c +1 -1
index adad92a44ba2..2f1b8d12952a 100644
@@ -33,7 +33,7 @@ static void __exit crypto_wq_exit(void)
 	destroy_workqueue(kcrypto_wq);
 }
 
-module_init(crypto_wq_init);
+subsys_initcall(crypto_wq_init);
 module_exit(crypto_wq_exit);
 
 MODULE_LICENSE("GPL");
drivers/acpi/blacklist.c +13 -0
index cb9629638def..76da257cfc28 100644
@@ -327,6 +327,19 @@ static struct dmi_system_id acpi_osi_dmi_table[] __initdata = {
 		     DMI_MATCH(DMI_PRODUCT_VERSION, "ThinkPad T500"),
 		},
 	},
+	/*
+	 * Without this this EEEpc exports a non working WMI interface, with
+	 * this it exports a working "good old" eeepc_laptop interface, fixing
+	 * both brightness control, and rfkill not working.
+	 */
+	{
+	.callback = dmi_enable_osi_linux,
+	.ident = "Asus EEE PC 1015PX",
+	.matches = {
+		     DMI_MATCH(DMI_SYS_VENDOR, "ASUSTeK Computer INC."),
+		     DMI_MATCH(DMI_PRODUCT_NAME, "1015PX"),
+		},
+	},
 	{}
 };
 
drivers/ata/ata_piix.c +8 -0
index 9dbd3aee0870..9f165a81d0ea 100644
@@ -331,6 +331,14 @@ static const struct pci_device_id piix_pci_tbl[] = {
 	{ 0x8086, 0x8c08, PCI_ANY_ID, PCI_ANY_ID, 0, 0, ich8_2port_sata_snb },
 	/* SATA Controller IDE (Lynx Point) */
 	{ 0x8086, 0x8c09, PCI_ANY_ID, PCI_ANY_ID, 0, 0, ich8_2port_sata },
+	/* SATA Controller IDE (Lynx Point-LP) */
+	{ 0x8086, 0x9c00, PCI_ANY_ID, PCI_ANY_ID, 0, 0, ich8_sata_snb },
+	/* SATA Controller IDE (Lynx Point-LP) */
+	{ 0x8086, 0x9c01, PCI_ANY_ID, PCI_ANY_ID, 0, 0, ich8_sata_snb },
+	/* SATA Controller IDE (Lynx Point-LP) */
+	{ 0x8086, 0x9c08, PCI_ANY_ID, PCI_ANY_ID, 0, 0, ich8_2port_sata },
+	/* SATA Controller IDE (Lynx Point-LP) */
+	{ 0x8086, 0x9c09, PCI_ANY_ID, PCI_ANY_ID, 0, 0, ich8_2port_sata },
 	/* SATA Controller IDE (DH89xxCC) */
 	{ 0x8086, 0x2326, PCI_ANY_ID, PCI_ANY_ID, 0, 0, ich8_2port_sata },
 	/* SATA Controller IDE (Avoton) */
drivers/ata/pata_at91.c +6 -5
index 53d3770a0b1b..47d5d58ad0eb 100644
@@ -408,12 +408,13 @@ static int __devinit pata_at91_probe(struct platform_device *pdev)
 
 	host->private_data = info;
 
-	return ata_host_activate(host, gpio_is_valid(irq) ? gpio_to_irq(irq) : 0,
-			gpio_is_valid(irq) ? ata_sff_interrupt : NULL,
-			irq_flags, &pata_at91_sht);
+	ret = ata_host_activate(host, gpio_is_valid(irq) ? gpio_to_irq(irq) : 0,
+				gpio_is_valid(irq) ? ata_sff_interrupt : NULL,
+				irq_flags, &pata_at91_sht);
+	if (ret)
+		goto err_put;
 
-	if (!ret)
-		return 0;
+	return 0;
 
 err_put:
 	clk_put(info->mck);
drivers/atm/ambassador.c +1 -1
index f8f41e0e8a8c..89b30f32ba68 100644
@@ -802,7 +802,7 @@ static void fill_rx_pool (amb_dev * dev, unsigned char pool,
     }
     // cast needed as there is no %? for pointer differences
     PRINTD (DBG_SKB, "allocated skb at %p, head %p, area %li",
-	    skb, skb->head, (long) (skb_end_pointer(skb) - skb->head));
+	    skb, skb->head, (long) skb_end_offset(skb));
     rx.handle = virt_to_bus (skb);
     rx.host_address = cpu_to_be32 (virt_to_bus (skb->data));
     if (rx_give (dev, &rx, pool))
drivers/atm/idt77252.c +1 -1
index b0e75ce3c8fc..81845fa2a9cd 100644
@@ -1258,7 +1258,7 @@ idt77252_rx_raw(struct idt77252_dev *card)
 	tail = readl(SAR_REG_RAWCT);
 
 	pci_dma_sync_single_for_cpu(card->pcidev, IDT77252_PRV_PADDR(queue),
-				    skb_end_pointer(queue) - queue->head - 16,
+				    skb_end_offset(queue) - 16,
 				    PCI_DMA_FROMDEVICE);
 
 	while (head != tail) {
drivers/base/dd.c +17 -0
index 97fc774e6bc2..baa2f190f3fe 100644
@@ -51,6 +51,7 @@ static DEFINE_MUTEX(deferred_probe_mutex);
 static LIST_HEAD(deferred_probe_pending_list);
 static LIST_HEAD(deferred_probe_active_list);
 static struct workqueue_struct *deferred_wq;
+static atomic_t deferred_trigger_count = ATOMIC_INIT(0);
 
 /**
  * deferred_probe_work_func() - Retry probing devices in the active list.
@@ -122,6 +123,17 @@ static bool driver_deferred_probe_enable = false;
  * This functions moves all devices from the pending list to the active
  * list and schedules the deferred probe workqueue to process them.  It
  * should be called anytime a driver is successfully bound to a device.
+ *
+ * Note, there is a race condition in multi-threaded probe. In the case where
+ * more than one device is probing at the same time, it is possible for one
+ * probe to complete successfully while another is about to defer. If the second
+ * depends on the first, then it will get put on the pending list after the
+ * trigger event has already occured and will be stuck there.
+ *
+ * The atomic 'deferred_trigger_count' is used to determine if a successful
+ * trigger has occurred in the midst of probing a driver. If the trigger count
+ * changes in the midst of a probe, then deferred processing should be triggered
+ * again.
  */
 static void driver_deferred_probe_trigger(void)
 {
@@ -134,6 +146,7 @@ static void driver_deferred_probe_trigger(void)
 	 * into the active list so they can be retried by the workqueue
 	 */
 	mutex_lock(&deferred_probe_mutex);
+	atomic_inc(&deferred_trigger_count);
 	list_splice_tail_init(&deferred_probe_pending_list,
 			      &deferred_probe_active_list);
 	mutex_unlock(&deferred_probe_mutex);
@@ -252,6 +265,7 @@ static DECLARE_WAIT_QUEUE_HEAD(probe_waitqueue);
 static int really_probe(struct device *dev, struct device_driver *drv)
 {
 	int ret = 0;
+	int local_trigger_count = atomic_read(&deferred_trigger_count);
 
 	atomic_inc(&probe_count);
 	pr_debug("bus: '%s': %s: probing driver %s with device %s\n",
@@ -290,6 +304,9 @@ probe_failed:
 		/* Driver requested deferred probing */
 		dev_info(dev, "Driver %s requests probe deferral\n", drv->name);
 		driver_deferred_probe_add(dev);
+		/* Did a trigger occur while probing? Need to re-trigger if yes */
+		if (local_trigger_count != atomic_read(&deferred_trigger_count))
+			driver_deferred_probe_trigger();
 	} else if (ret != -ENODEV && ret != -ENXIO) {
 		/* driver matched but the probe failed */
 		printk(KERN_WARNING
drivers/block/floppy.c +10 -1
index 2cac6e64b67d..bc99e5c68d76 100644
@@ -4306,7 +4306,7 @@ static int __init floppy_init(void)
 
 		err = platform_device_register(&floppy_device[drive]);
 		if (err)
-			goto out_flush_work;
+			goto out_remove_drives;
 
 		err = device_create_file(&floppy_device[drive].dev,
 					 &dev_attr_cmos);
@@ -4324,6 +4324,15 @@ static int __init floppy_init(void)
 
 out_unreg_platform_dev:
 	platform_device_unregister(&floppy_device[drive]);
+out_remove_drives:
+	while (drive--) {
+		if ((allowed_drive_mask & (1 << drive)) &&
+		    fdc_state[FDC(drive)].version != FDC_NONE) {
+			del_gendisk(disks[drive]);
+			device_remove_file(&floppy_device[drive].dev, &dev_attr_cmos);
+			platform_device_unregister(&floppy_device[drive]);
+		}
+	}
 out_flush_work:
 	flush_work_sync(&floppy_work);
 	if (atomic_read(&usage_count))
drivers/block/nbd.c +9 -0
index d724da52153b..35fc56981875 100644
@@ -584,10 +584,17 @@ static int __nbd_ioctl(struct block_device *bdev, struct nbd_device *nbd,
 		struct request sreq;
 
 		dev_info(disk_to_dev(nbd->disk), "NBD_DISCONNECT\n");
+		if (!nbd->sock)
+			return -EINVAL;
 
+		mutex_unlock(&nbd->tx_lock);
+		fsync_bdev(bdev);
+		mutex_lock(&nbd->tx_lock);
 		blk_rq_init(NULL, &sreq);
 		sreq.cmd_type = REQ_TYPE_SPECIAL;
 		nbd_cmd(&sreq) = NBD_CMD_DISC;
+
+		/* Check again after getting mutex back.  */
 		if (!nbd->sock)
 			return -EINVAL;
 
@@ -606,6 +613,7 @@ static int __nbd_ioctl(struct block_device *bdev, struct nbd_device *nbd,
 		nbd_clear_que(nbd);
 		BUG_ON(!list_empty(&nbd->queue_head));
 		BUG_ON(!list_empty(&nbd->waiting_queue));
+		kill_bdev(bdev);
 		if (file)
 			fput(file);
 		return 0;
@@ -688,6 +696,7 @@ static int __nbd_ioctl(struct block_device *bdev, struct nbd_device *nbd,
 		nbd->file = NULL;
 		nbd_clear_que(nbd);
 		dev_warn(disk_to_dev(nbd->disk), "queue cleared\n");
+		kill_bdev(bdev);
 		if (file)
 			fput(file);
 		nbd->bytesize = 0;
drivers/char/ipmi/ipmi_kcs_sm.c +3 -2
index e53fc24c6af3..e1ddcf938519 100644
@@ -251,8 +251,9 @@ static inline int check_obf(struct si_sm_data *kcs, unsigned char status,
 	if (!GET_STATUS_OBF(status)) {
 		kcs->obf_timeout -= time;
 		if (kcs->obf_timeout < 0) {
-		    start_error_recovery(kcs, "OBF not ready in time");
-		    return 1;
+			kcs->obf_timeout = OBF_RETRY_TIMEOUT;
+			start_error_recovery(kcs, "OBF not ready in time");
+			return 1;
 		}
 		return 0;
 	}
drivers/char/ipmi/ipmi_si_intf.c +28 -18

94 lines not on this page · raw message

drivers/char/random.c +16 -8
index 817eeb642732..1052fc4cae66 100644
@@ -867,16 +867,24 @@ static size_t account(struct entropy_store *r, size_t nbytes, int min,
 	if (r->entropy_count / 8 < min + reserved) {
 		nbytes = 0;
 	} else {
+		int entropy_count, orig;
+retry:
+		entropy_count = orig = ACCESS_ONCE(r->entropy_count);
 		/* If limited, never pull more than available */
-		if (r->limit && nbytes + reserved >= r->entropy_count / 8)
-			nbytes = r->entropy_count/8 - reserved;
-
-		if (r->entropy_count / 8 >= nbytes + reserved)
-			r->entropy_count -= nbytes*8;
-		else
-			r->entropy_count = reserved;
+		if (r->limit && nbytes + reserved >= entropy_count / 8)
+			nbytes = entropy_count/8 - reserved;
+
+		if (entropy_count / 8 >= nbytes + reserved) {
+			entropy_count -= nbytes*8;
+			if (cmpxchg(&r->entropy_count, orig, entropy_count) != orig)
+				goto retry;
+		} else {
+			entropy_count = reserved;
+			if (cmpxchg(&r->entropy_count, orig, entropy_count) != orig)
+				goto retry;
+		}
 
-		if (r->entropy_count < random_write_wakeup_thresh) {
+		if (entropy_count < random_write_wakeup_thresh) {
 			wake_up_interruptible(&random_write_wait);
 			kill_fasync(&fasync, SIGIO, POLL_OUT);
 		}
drivers/crypto/caam/error.c +7 -3
index 7e2d54bffad6..9b8d231b1da6 100644
@@ -16,9 +16,13 @@
 	char *tmp;						\
 								\
 	tmp = kmalloc(sizeof(format) + max_alloc, GFP_ATOMIC);	\
-	sprintf(tmp, format, param);				\
-	strcat(str, tmp);					\
-	kfree(tmp);						\
+	if (likely(tmp)) {					\
+		sprintf(tmp, format, param);			\
+		strcat(str, tmp);				\
+		kfree(tmp);					\
+	} else {						\
+		strcat(str, "kmalloc failure in SPRINTFCAT");	\
+	}							\
 }
 
 static void report_jump_idx(u32 status, char *outstr)
drivers/edac/i82975x_edac.c +4 -7
index 0cd8368f88f8..182d82afd223 100644
@@ -363,10 +363,6 @@ static enum dev_type i82975x_dram_type(void __iomem *mch_window, int rank)
 static void i82975x_init_csrows(struct mem_ctl_info *mci,
 		struct pci_dev *pdev, void __iomem *mch_window)
 {
-	static const char *labels[4] = {
-							"DIMM A1", "DIMM A2",
-							"DIMM B1", "DIMM B2"
-						};
 	struct csrow_info *csrow;
 	unsigned long last_cumul_size;
 	u8 value;
@@ -407,9 +403,10 @@ static void i82975x_init_csrows(struct mem_ctl_info *mci,
 		 *   [0-3] for dual-channel; i.e. csrow->nr_channels = 2
 		 */
 		for (chan = 0; chan < csrow->nr_channels; chan++)
-			strncpy(csrow->channels[chan].label,
-					labels[(index >> 1) + (chan * 2)],
-					EDAC_MC_LABEL_LEN);
+
+			snprintf(csrow->channels[chan].label, EDAC_MC_LABEL_LEN, "DIMM %c%d",
+				 (chan == 0) ? 'A' : 'B',
+				 index);
 
 		if (cumul_size == last_cumul_size)
 			continue;	/* not populated */
drivers/firmware/Kconfig +18 -0
index 9b00072a020f..42c759a4d047 100644
@@ -53,6 +53,24 @@ config EFI_VARS
 	  Subsequent efibootmgr releases may be found at:
 	  <http://linux.dell.com/efibootmgr>
 
+config EFI_VARS_PSTORE
+	bool "Register efivars backend for pstore"
+	depends on EFI_VARS && PSTORE
+	default y
+	help
+	  Say Y here to enable use efivars as a backend to pstore. This
+	  will allow writing console messages, crash dumps, or anything
+	  else supported by pstore to EFI variables.
+
+config EFI_VARS_PSTORE_DEFAULT_DISABLE
+	bool "Disable using efivars as a pstore backend by default"
+	depends on EFI_VARS_PSTORE
+	default n
+	help
+	  Saying Y here will disable the use of efivars as a storage
+	  backend for pstore by default. This setting can be overridden
+	  using the efivars module's pstore_disable parameter.
+
 config EFI_PCDP
 	bool "Console device selection via EFI PCDP or HCDP table"
 	depends on ACPI && EFI && IA64
drivers/firmware/efivars.c +183 -73

421 lines not on this page · raw message

drivers/gpu/drm/drm_crtc_helper.c +2 -2
index 81118893264c..b3abf7044718 100644
@@ -328,8 +328,8 @@ drm_crtc_prepare_encoders(struct drm_device *dev)
  * drm_crtc_set_mode - set a mode
  * @crtc: CRTC to program
  * @mode: mode to use
- * @x: width of mode
- * @y: height of mode
+ * @x: horizontal offset into the surface
+ * @y: vertical offset into the surface
  *
  * LOCKING:
  * Caller must hold mode config lock.
drivers/gpu/drm/i915/i915_debugfs.c +4 -2
index 34791fb7aa78..39f81115fcf1 100644
@@ -30,6 +30,7 @@
 #include <linux/debugfs.h>
 #include <linux/slab.h>
 #include <linux/export.h>
+#include <generated/utsrelease.h>
 #include "drmP.h"
 #include "drm.h"
 #include "intel_drv.h"
@@ -340,7 +341,7 @@ static int i915_gem_pageflip_info(struct seq_file *m, void *data)
 			seq_printf(m, "No flip due on pipe %c (plane %c)\n",
 				   pipe, plane);
 		} else {
-			if (!work->pending) {
+			if (atomic_read(&work->pending) < INTEL_FLIP_COMPLETE) {
 				seq_printf(m, "Flip queued on pipe %c (plane %c)\n",
 					   pipe, plane);
 			} else {
@@ -351,7 +352,7 @@ static int i915_gem_pageflip_info(struct seq_file *m, void *data)
 				seq_printf(m, "Stall check enabled, ");
 			else
 				seq_printf(m, "Stall check waiting for page flip ioctl, ");
-			seq_printf(m, "%d prepares\n", work->pending);
+			seq_printf(m, "%d prepares\n", atomic_read(&work->pending));
 
 			if (work->old_fb_obj) {
 				struct drm_i915_gem_object *obj = work->old_fb_obj;
@@ -750,6 +751,7 @@ static int i915_error_state(struct seq_file *m, void *unused)
 
 	seq_printf(m, "Time: %ld s %ld us\n", error->time.tv_sec,
 		   error->time.tv_usec);
+	seq_printf(m, "Kernel: " UTS_RELEASE "\n");
 	seq_printf(m, "PCI ID: 0x%04x\n", dev->pci_device);
 	seq_printf(m, "EIR: 0x%08x\n", error->eir);
 	seq_printf(m, "PGTBL_ER: 0x%08x\n", error->pgtbl_er);
drivers/gpu/drm/i915/i915_drv.h +3 -1
index 232119ac266f..a8f00d06a46f 100644
@@ -296,7 +296,8 @@ enum intel_pch {
 
 #define QUIRK_PIPEA_FORCE (1<<0)
 #define QUIRK_LVDS_SSC_DISABLE (1<<1)
-#define QUIRK_NO_PCH_PWM_ENABLE (1<<2)
+#define QUIRK_INVERT_BRIGHTNESS (1<<2)
+#define QUIRK_NO_PCH_PWM_ENABLE (1<<3)
 
 struct intel_fbdev;
 struct intel_fbc_work;
@@ -1397,6 +1398,7 @@ static inline void intel_unregister_dsm_handler(void) { return; }
 #endif /* CONFIG_ACPI */
 
 /* modesetting */
+extern void i915_redisable_vga(struct drm_device *dev);
 extern void intel_modeset_init(struct drm_device *dev);
 extern void intel_modeset_gem_init(struct drm_device *dev);
 extern void intel_modeset_cleanup(struct drm_device *dev);
drivers/gpu/drm/i915/i915_gem.c +20 -3
index eb339456c111..2ac4ded0de99 100644
@@ -2468,6 +2468,11 @@ i915_find_fence_reg(struct drm_device *dev,
 	return avail;
 }
 
+static void i915_gem_write_fence__ipi(void *data)
+{
+	wbinvd();
+}
+
 /**
  * i915_gem_object_get_fence - set up a fence reg for an object
  * @obj: object to map through a fence reg
@@ -2589,6 +2594,17 @@ update:
 	switch (INTEL_INFO(dev)->gen) {
 	case 7:
 	case 6:
+		/* In order to fully serialize access to the fenced region and
+		 * the update to the fence register we need to take extreme
+		 * measures on SNB+. In theory, the write to the fence register
+		 * flushes all memory transactions before, and coupled with the
+		 * mb() placed around the register write we serialise all memory
+		 * operations with respect to the changes in the tiler. Yet, on
+		 * SNB+ we need to take a step further and emit an explicit wbinvd()
+		 * on each processor in order to manually flush all memory
+		 * transactions before updating the fence register.
+		 */
+		on_each_cpu(i915_gem_write_fence__ipi, NULL, 1);
 		ret = sandybridge_write_fence_reg(obj, pipelined);
 		break;
 	case 5:
@@ -3411,14 +3427,15 @@ i915_gem_pin_ioctl(struct drm_device *dev, void *data,
 		goto out;
 	}
 
-	obj->user_pin_count++;
-	obj->pin_filp = file;
-	if (obj->user_pin_count == 1) {
+	if (obj->user_pin_count == 0) {
 		ret = i915_gem_object_pin(obj, args->alignment, true);
 		if (ret)
 			goto out;
 	}
 
+	obj->user_pin_count++;
+	obj->pin_filp = file;
+
 	/* XXX - flush the CPU caches for pinned objects
 	 * as the X server doesn't manage domains yet
 	 */
drivers/gpu/drm/i915/i915_irq.c +3 -1
index 8bca2d2d804d..fc6f32a579be 100644
@@ -1251,7 +1251,9 @@ static void i915_pageflip_stall_check(struct drm_device *dev, int pipe)
 	spin_lock_irqsave(&dev->event_lock, flags);
 	work = intel_crtc->unpin_work;
 
-	if (work == NULL || work->pending || !work->enable_stall_check) {
+	if (work == NULL ||
+	    atomic_read(&work->pending) >= INTEL_FLIP_COMPLETE ||
+	    !work->enable_stall_check) {
 		/* Either the pending flip IRQ arrived, or we're too early. Don't check */
 		spin_unlock_irqrestore(&dev->event_lock, flags);
 		return;
drivers/gpu/drm/i915/intel_display.c +107 -7

206 lines not on this page · raw message

drivers/gpu/drm/i915/intel_dp.c +0 -5
index eee6cd391993..9a3ecd61de7c 100644
@@ -2289,11 +2289,6 @@ done:
 static void
 intel_dp_destroy(struct drm_connector *connector)
 {
-	struct drm_device *dev = connector->dev;
-
-	if (intel_dpd_is_edp(dev))
-		intel_panel_destroy_backlight(dev);
-
 	drm_sysfs_connector_remove(connector);
 	drm_connector_cleanup(connector);
 	kfree(connector);
drivers/gpu/drm/i915/intel_drv.h +4 -1
index cd623e899f58..018dfbd776d9 100644
@@ -277,7 +277,10 @@ struct intel_unpin_work {
 	struct drm_i915_gem_object *old_fb_obj;
 	struct drm_i915_gem_object *pending_flip_obj;
 	struct drm_pending_vblank_event *event;
-	int pending;
+	atomic_t pending;
+#define INTEL_FLIP_INACTIVE	0
+#define INTEL_FLIP_PENDING	1
+#define INTEL_FLIP_COMPLETE	2
 	bool enable_stall_check;
 };
 
drivers/gpu/drm/i915/intel_lvds.c +1 -2
index dc7c5f6415a7..b695ab48ebf0 100644
@@ -535,6 +535,7 @@ static int intel_lid_notify(struct notifier_block *nb, unsigned long val,
 
 	mutex_lock(&dev->mode_config.mutex);
 	drm_helper_resume_force_mode(dev);
+	i915_redisable_vga(dev);
 	mutex_unlock(&dev->mode_config.mutex);
 
 	return NOTIFY_OK;
@@ -552,8 +553,6 @@ static void intel_lvds_destroy(struct drm_connector *connector)
 	struct drm_device *dev = connector->dev;
 	struct drm_i915_private *dev_priv = dev->dev_private;
 
-	intel_panel_destroy_backlight(dev);
-
 	if (dev_priv->lid_notifier.notifier_call)
 		acpi_lid_notifier_unregister(&dev_priv->lid_notifier);
 	drm_sysfs_connector_remove(connector);
drivers/gpu/drm/i915/intel_opregion.c +1 -1
index cffb0071f877..356a252e6861 100644
@@ -161,7 +161,7 @@ static u32 asle_set_backlight(struct drm_device *dev, u32 bclp)
 
 	max = intel_panel_get_max_backlight(dev);
 	intel_panel_set_backlight(dev, bclp * max / 255);
-	asle->cblv = (bclp*0x64)/0xff | ASLE_CBLV_VALID;
+	asle->cblv = DIV_ROUND_UP(bclp * 100, 255) | ASLE_CBLV_VALID;
 
 	return 0;
 }
drivers/gpu/drm/i915/intel_panel.c +30 -1
index 48177ec4720e..0bae2bbe7b3c 100644
@@ -28,6 +28,7 @@
  *      Chris Wilson <[email protected]>
  */
 
+#include <linux/moduleparam.h>
 #include "intel_drv.h"
 
 #define PCI_LBPC 0xf4 /* legacy/combination backlight modes */
@@ -189,6 +190,27 @@ u32 intel_panel_get_max_backlight(struct drm_device *dev)
 	return max;
 }
 
+static int i915_panel_invert_brightness;
+MODULE_PARM_DESC(invert_brightness, "Invert backlight brightness "
+	"(-1 force normal, 0 machine defaults, 1 force inversion), please "
+	"report PCI device ID, subsystem vendor and subsystem device ID "
+	"to [email protected], if your machine needs it. "
+	"It will then be included in an upcoming module version.");
+module_param_named(invert_brightness, i915_panel_invert_brightness, int, 0600);
+static u32 intel_panel_compute_brightness(struct drm_device *dev, u32 val)
+{
+	struct drm_i915_private *dev_priv = dev->dev_private;
+
+	if (i915_panel_invert_brightness < 0)
+		return val;
+
+	if (i915_panel_invert_brightness > 0 ||
+	    dev_priv->quirks & QUIRK_INVERT_BRIGHTNESS)
+		return intel_panel_get_max_backlight(dev) - val;
+
+	return val;
+}
+
 u32 intel_panel_get_backlight(struct drm_device *dev)
 {
 	struct drm_i915_private *dev_priv = dev->dev_private;
@@ -209,6 +231,7 @@ u32 intel_panel_get_backlight(struct drm_device *dev)
 		}
 	}
 
+	val = intel_panel_compute_brightness(dev, val);
 	DRM_DEBUG_DRIVER("get backlight PWM = %d\n", val);
 	return val;
 }
@@ -226,6 +249,7 @@ static void intel_panel_actually_set_backlight(struct drm_device *dev, u32 level
 	u32 tmp;
 
 	DRM_DEBUG_DRIVER("set backlight PWM = %d\n", level);
+	level = intel_panel_compute_brightness(dev, level);
 
 	if (HAS_PCH_SPLIT(dev))
 		return intel_pch_panel_set_backlight(dev, level);
@@ -335,6 +359,9 @@ int intel_panel_setup_backlight(struct drm_device *dev)
 
 	intel_panel_init_backlight(dev);
 
+	if (WARN_ON(dev_priv->backlight))
+		return -ENODEV;
+
 	if (dev_priv->int_lvds_connector)
 		connector = dev_priv->int_lvds_connector;
 	else if (dev_priv->int_edp_connector)
@@ -362,8 +389,10 @@ int intel_panel_setup_backlight(struct drm_device *dev)
 void intel_panel_destroy_backlight(struct drm_device *dev)
 {
 	struct drm_i915_private *dev_priv = dev->dev_private;
-	if (dev_priv->backlight)
+	if (dev_priv->backlight) {
 		backlight_device_unregister(dev_priv->backlight);
+		dev_priv->backlight = NULL;
+	}
 }
 #else
 int intel_panel_setup_backlight(struct drm_device *dev)
drivers/gpu/drm/i915/intel_sdvo.c +19 -3
index c0ba260cc222..8d55a33d7226 100644
@@ -2265,6 +2265,18 @@ intel_sdvo_output_setup(struct intel_sdvo *intel_sdvo, uint16_t flags)
 	return true;
 }
 
+static void intel_sdvo_output_cleanup(struct intel_sdvo *intel_sdvo)
+{
+	struct drm_device *dev = intel_sdvo->base.base.dev;
+	struct drm_connector *connector, *tmp;
+
+	list_for_each_entry_safe(connector, tmp,
+				 &dev->mode_config.connector_list, head) {
+		if (intel_attached_encoder(connector) == &intel_sdvo->base)
+			intel_sdvo_destroy(connector);
+	}
+}
+
 static bool intel_sdvo_tv_create_property(struct intel_sdvo *intel_sdvo,
 					  struct intel_sdvo_connector *intel_sdvo_connector,
 					  int type)
@@ -2583,7 +2595,8 @@ bool intel_sdvo_init(struct drm_device *dev, int sdvo_reg)
 				    intel_sdvo->caps.output_flags) != true) {
 		DRM_DEBUG_KMS("SDVO output failed to setup on SDVO%c\n",
 			      IS_SDVOB(sdvo_reg) ? 'B' : 'C');
-		goto err;
+		/* Output_setup can leave behind connectors! */
+		goto err_output;
 	}
 
 	/* Only enable the hotplug irq if we need it, to work around noisy
@@ -2596,12 +2609,12 @@ bool intel_sdvo_init(struct drm_device *dev, int sdvo_reg)
 
 	/* Set the input timing to the screen. Assume always input 0. */
 	if (!intel_sdvo_set_target_input(intel_sdvo))
-		goto err;
+		goto err_output;
 
 	if (!intel_sdvo_get_input_pixel_clock_range(intel_sdvo,
 						    &intel_sdvo->pixel_clock_min,
 						    &intel_sdvo->pixel_clock_max))
-		goto err;
+		goto err_output;
 
 	DRM_DEBUG_KMS("%s device VID/DID: %02X:%02X.%02X, "
 			"clock range %dMHz - %dMHz, "
@@ -2621,6 +2634,9 @@ bool intel_sdvo_init(struct drm_device *dev, int sdvo_reg)
 			(SDVO_OUTPUT_TMDS1 | SDVO_OUTPUT_RGB1) ? 'Y' : 'N');
 	return true;
 
+err_output:
+	intel_sdvo_output_cleanup(intel_sdvo);
+
 err:
 	drm_encoder_cleanup(&intel_encoder->base);
 	i2c_del_adapter(&intel_sdvo->ddc);
drivers/gpu/drm/nouveau/nouveau_acpi.c +0 -3
index 284bd25d5d21..4339694bd9f8 100644
@@ -375,9 +375,6 @@ bool nouveau_acpi_rom_supported(struct pci_dev *pdev)
 	acpi_status status;
 	acpi_handle dhandle, rom_handle;
 
-	if (!nouveau_dsm_priv.dsm_detected && !nouveau_dsm_priv.optimus_detected)
-		return false;
-
 	dhandle = DEVICE_ACPI_HANDLE(&pdev->dev);
 	if (!dhandle)
 		return false;
drivers/gpu/drm/nouveau/nouveau_bo.c +1 -1
index 12ce044f12f5..2c3d5c8b7a3f 100644
@@ -946,7 +946,7 @@ nouveau_ttm_io_mem_reserve(struct ttm_bo_device *bdev, struct ttm_mem_reg *mem)
 		if (dev_priv->gart_info.type == NOUVEAU_GART_AGP) {
 			mem->bus.offset = mem->start << PAGE_SHIFT;
 			mem->bus.base = dev_priv->gart_info.aper_base;
-			mem->bus.is_iomem = true;
+			mem->bus.is_iomem = !dev->agp->cant_use_aperture;
 		}
 #endif
 		break;
drivers/gpu/drm/radeon/atombios_crtc.c +5 -0
index ebbfbd201739..dc612efbeb7a 100644
@@ -573,6 +573,11 @@ static u32 atombios_adjust_pll(struct drm_crtc *crtc,
 		/* use frac fb div on APUs */
 		if (ASIC_IS_DCE41(rdev) || ASIC_IS_DCE61(rdev))
 			pll->flags |= RADEON_PLL_USE_FRAC_FB_DIV;
+		/* use frac fb div on RS780/RS880 */
+		if ((rdev->family == CHIP_RS780) || (rdev->family == CHIP_RS880))
+			pll->flags |= RADEON_PLL_USE_FRAC_FB_DIV;
+		if (ASIC_IS_DCE32(rdev) && mode->clock > 165000)
+			pll->flags |= RADEON_PLL_USE_FRAC_FB_DIV;
 	} else {
 		pll->flags |= RADEON_PLL_LEGACY;
 
drivers/gpu/drm/radeon/evergreen.c +5 -4
index ad72295403a8..df62c393f2f5 100644
@@ -1292,7 +1292,7 @@ void evergreen_mc_resume(struct radeon_device *rdev, struct evergreen_mc_save *s
 	WREG32(BIF_FB_EN, FB_READ_EN | FB_WRITE_EN);
 
 	for (i = 0; i < rdev->num_crtc; i++) {
-		if (save->crtc_enabled) {
+		if (save->crtc_enabled[i]) {
 			if (ASIC_IS_DCE6(rdev)) {
 				tmp = RREG32(EVERGREEN_CRTC_BLANK_CONTROL + crtc_offsets[i]);
 				tmp |= EVERGREEN_CRTC_BLANK_DATA_EN;
@@ -1874,7 +1874,7 @@ static void evergreen_gpu_init(struct radeon_device *rdev)
 	case CHIP_SUMO:
 		rdev->config.evergreen.num_ses = 1;
 		rdev->config.evergreen.max_pipes = 4;
-		rdev->config.evergreen.max_tile_pipes = 2;
+		rdev->config.evergreen.max_tile_pipes = 4;
 		if (rdev->pdev->device == 0x9648)
 			rdev->config.evergreen.max_simds = 3;
 		else if ((rdev->pdev->device == 0x9647) ||
@@ -1963,7 +1963,7 @@ static void evergreen_gpu_init(struct radeon_device *rdev)
 		break;
 	case CHIP_CAICOS:
 		rdev->config.evergreen.num_ses = 1;
-		rdev->config.evergreen.max_pipes = 4;
+		rdev->config.evergreen.max_pipes = 2;
 		rdev->config.evergreen.max_tile_pipes = 2;
 		rdev->config.evergreen.max_simds = 2;
 		rdev->config.evergreen.max_backends = 1 * rdev->config.evergreen.num_ses;
@@ -3219,6 +3219,8 @@ static int evergreen_startup(struct radeon_device *rdev)
 	/* enable pcie gen2 link */
 	evergreen_pcie_gen2_enable(rdev);
 
+	evergreen_mc_program(rdev);
+
 	if (ASIC_IS_DCE5(rdev)) {
 		if (!rdev->me_fw || !rdev->pfp_fw || !rdev->rlc_fw || !rdev->mc_fw) {
 			r = ni_init_microcode(rdev);
@@ -3246,7 +3248,6 @@ static int evergreen_startup(struct radeon_device *rdev)
 	if (r)
 		return r;
 
-	evergreen_mc_program(rdev);
 	if (rdev->flags & RADEON_IS_AGP) {
 		evergreen_agp_enable(rdev);
 	} else {
drivers/gpu/drm/radeon/ni.c +2 -1
index f481da3a4f29..461262eee79a 100644
@@ -1552,6 +1552,8 @@ static int cayman_startup(struct radeon_device *rdev)
 	/* enable pcie gen2 link */
 	evergreen_pcie_gen2_enable(rdev);
 
+	evergreen_mc_program(rdev);
+
 	if (rdev->flags & RADEON_IS_IGP) {
 		if (!rdev->me_fw || !rdev->pfp_fw || !rdev->rlc_fw) {
 			r = ni_init_microcode(rdev);
@@ -1580,7 +1582,6 @@ static int cayman_startup(struct radeon_device *rdev)
 	if (r)
 		return r;
 
-	evergreen_mc_program(rdev);
 	r = cayman_pcie_gart_enable(rdev);
 	if (r)
 		return r;
drivers/gpu/drm/radeon/r600.c +2 -1
index 49b622904217..1555cd694111 100644
@@ -2431,6 +2431,8 @@ int r600_startup(struct radeon_device *rdev)
 	/* enable pcie gen2 link */
 	r600_pcie_gen2_enable(rdev);
 
+	r600_mc_program(rdev);
+
 	if (!rdev->me_fw || !rdev->pfp_fw || !rdev->rlc_fw) {
 		r = r600_init_microcode(rdev);
 		if (r) {
@@ -2443,7 +2445,6 @@ int r600_startup(struct radeon_device *rdev)
 	if (r)
 		return r;
 
-	r600_mc_program(rdev);
 	if (rdev->flags & RADEON_IS_AGP) {
 		r600_agp_enable(rdev);
 	} else {
drivers/gpu/drm/radeon/r600_hdmi.c +2 -2
index 0b5920671450..61ffe3c76474 100644
@@ -530,7 +530,7 @@ void r600_hdmi_enable(struct drm_encoder *encoder)
 		WREG32_P(radeon_encoder->hdmi_config_offset + 0x4, 0x1, ~0x1);
 	} else if (ASIC_IS_DCE3(rdev)) {
 		/* TODO */
-	} else if (rdev->family >= CHIP_R600) {
+	} else if (ASIC_IS_DCE2(rdev)) {
 		switch (radeon_encoder->encoder_id) {
 		case ENCODER_OBJECT_ID_INTERNAL_KLDSCP_TMDS1:
 			WREG32_P(AVIVO_TMDSA_CNTL, AVIVO_TMDSA_CNTL_HDMI_EN,
@@ -602,7 +602,7 @@ void r600_hdmi_disable(struct drm_encoder *encoder)
 		WREG32_P(radeon_encoder->hdmi_config_offset + 0xc, 0, ~0x1);
 	} else if (ASIC_IS_DCE32(rdev)) {
 		WREG32_P(radeon_encoder->hdmi_config_offset + 0x4, 0, ~0x1);
-	} else if (rdev->family >= CHIP_R600 && !ASIC_IS_DCE3(rdev)) {
+	} else if (ASIC_IS_DCE2(rdev) && !ASIC_IS_DCE3(rdev)) {
 		switch (radeon_encoder->encoder_id) {
 		case ENCODER_OBJECT_ID_INTERNAL_KLDSCP_TMDS1:
 			WREG32_P(AVIVO_TMDSA_CNTL, 0,
drivers/gpu/drm/radeon/radeon_atpx_handler.c +7 -0
index 2a2cf0b88a28..428bce6cb4f0 100644
@@ -202,6 +202,13 @@ static bool radeon_atpx_detect(void)
 		has_atpx |= (radeon_atpx_pci_probe_handle(pdev) == true);
 	}
 
+	/* some newer PX laptops mark the dGPU as a non-VGA display device */
+	while ((pdev = pci_get_class(PCI_CLASS_DISPLAY_OTHER << 8, pdev)) != NULL) {
+		vga_count++;
+
+		has_atpx |= (radeon_atpx_pci_probe_handle(pdev) == true);
+	}
+
 	if (has_atpx && vga_count == 2) {
 		acpi_get_name(radeon_atpx_priv.atpx_handle, ACPI_FULL_PATHNAME, &buffer);
 		printk(KERN_INFO "VGA switcheroo: detected switching method %s handle\n",
drivers/gpu/drm/radeon/radeon_combios.c +123 -2

151 lines not on this page · raw message

drivers/gpu/drm/radeon/radeon_connectors.c +31 -3
index ab63bcd17277..1334dbd15c1b 100644
@@ -1423,6 +1423,24 @@ struct drm_connector_funcs radeon_dp_connector_funcs = {
 	.force = radeon_dvi_force,
 };
 
+static const struct drm_connector_funcs radeon_edp_connector_funcs = {
+	.dpms = drm_helper_connector_dpms,
+	.detect = radeon_dp_detect,
+	.fill_modes = drm_helper_probe_single_connector_modes,
+	.set_property = radeon_lvds_set_property,
+	.destroy = radeon_dp_connector_destroy,
+	.force = radeon_dvi_force,
+};
+
+static const struct drm_connector_funcs radeon_lvds_bridge_connector_funcs = {
+	.dpms = drm_helper_connector_dpms,
+	.detect = radeon_dp_detect,
+	.fill_modes = drm_helper_probe_single_connector_modes,
+	.set_property = radeon_lvds_set_property,
+	.destroy = radeon_dp_connector_destroy,
+	.force = radeon_dvi_force,
+};
+
 void
 radeon_add_atom_connector(struct drm_device *dev,
 			  uint32_t connector_id,
@@ -1514,8 +1532,6 @@ radeon_add_atom_connector(struct drm_device *dev,
 			goto failed;
 		radeon_dig_connector->igp_lane_info = igp_lane_info;
 		radeon_connector->con_priv = radeon_dig_connector;
-		drm_connector_init(dev, &radeon_connector->base, &radeon_dp_connector_funcs, connector_type);
-		drm_connector_helper_add(&radeon_connector->base, &radeon_dp_connector_helper_funcs);
 		if (i2c_bus->valid) {
 			/* add DP i2c bus */
 			if (connector_type == DRM_MODE_CONNECTOR_eDP)
@@ -1532,6 +1548,10 @@ radeon_add_atom_connector(struct drm_device *dev,
 		case DRM_MODE_CONNECTOR_VGA:
 		case DRM_MODE_CONNECTOR_DVIA:
 		default:
+			drm_connector_init(dev, &radeon_connector->base,
+					   &radeon_dp_connector_funcs, connector_type);
+			drm_connector_helper_add(&radeon_connector->base,
+						 &radeon_dp_connector_helper_funcs);
 			connector->interlace_allowed = true;
 			connector->doublescan_allowed = true;
 			radeon_connector->dac_load_detect = true;
@@ -1544,6 +1564,10 @@ radeon_add_atom_connector(struct drm_device *dev,
 		case DRM_MODE_CONNECTOR_HDMIA:
 		case DRM_MODE_CONNECTOR_HDMIB:
 		case DRM_MODE_CONNECTOR_DisplayPort:
+			drm_connector_init(dev, &radeon_connector->base,
+					   &radeon_dp_connector_funcs, connector_type);
+			drm_connector_helper_add(&radeon_connector->base,
+						 &radeon_dp_connector_helper_funcs);
 			drm_connector_attach_property(&radeon_connector->base,
 						      rdev->mode_info.underscan_property,
 						      UNDERSCAN_OFF);
@@ -1568,6 +1592,10 @@ radeon_add_atom_connector(struct drm_device *dev,
 			break;
 		case DRM_MODE_CONNECTOR_LVDS:
 		case DRM_MODE_CONNECTOR_eDP:
+			drm_connector_init(dev, &radeon_connector->base,
+					   &radeon_lvds_bridge_connector_funcs, connector_type);
+			drm_connector_helper_add(&radeon_connector->base,
+						 &radeon_dp_connector_helper_funcs);
 			drm_connector_attach_property(&radeon_connector->base,
 						      dev->mode_config.scaling_mode_property,
 						      DRM_MODE_SCALE_FULLSCREEN);
@@ -1731,7 +1759,7 @@ radeon_add_atom_connector(struct drm_device *dev,
 				goto failed;
 			radeon_dig_connector->igp_lane_info = igp_lane_info;
 			radeon_connector->con_priv = radeon_dig_connector;
-			drm_connector_init(dev, &radeon_connector->base, &radeon_dp_connector_funcs, connector_type);
+			drm_connector_init(dev, &radeon_connector->base, &radeon_edp_connector_funcs, connector_type);
 			drm_connector_helper_add(&radeon_connector->base, &radeon_dp_connector_helper_funcs);
 			if (i2c_bus->valid) {
 				/* add DP i2c bus */
drivers/gpu/drm/radeon/radeon_display.c +1 -0
index 00d9cac69f93..60404f4b2446 100644
@@ -750,6 +750,7 @@ int radeon_ddc_get_modes(struct radeon_connector *radeon_connector)
 	if (radeon_connector->edid) {
 		drm_mode_connector_update_edid_property(&radeon_connector->base, radeon_connector->edid);
 		ret = drm_add_edid_modes(&radeon_connector->base, radeon_connector->edid);
+		drm_edid_to_eld(&radeon_connector->base, radeon_connector->edid);
 		return ret;
 	}
 	drm_mode_connector_update_edid_property(&radeon_connector->base, NULL);
drivers/gpu/drm/radeon/radeon_kms.c +4 -0
index 3c2628b14d56..9b46238b9692 100644
@@ -39,8 +39,12 @@ int radeon_driver_unload_kms(struct drm_device *dev)
 
 	if (rdev == NULL)
 		return 0;
+	if (rdev->rmmio == NULL)
+		goto done_free;
 	radeon_modeset_fini(rdev);
 	radeon_device_fini(rdev);
+
+done_free:
 	kfree(rdev);
 	dev->dev_private = NULL;
 	return 0;
drivers/gpu/drm/radeon/radeon_mode.h +2 -0
index dabfefda8f55..65da706bc7be 100644
@@ -210,6 +210,8 @@ enum radeon_connector_table {
 	CT_RN50_POWER,
 	CT_MAC_X800,
 	CT_MAC_G5_9600,
+	CT_SAM440EP,
+	CT_MAC_G4_SILVER
 };
 
 enum radeon_dvo_chip {
drivers/gpu/drm/radeon/rv770.c +2 -1
index 4a3937fa2dc7..1ec1255520ad 100644
@@ -1058,6 +1058,8 @@ static int rv770_startup(struct radeon_device *rdev)
 	/* enable pcie gen2 link */
 	rv770_pcie_gen2_enable(rdev);
 
+	rv770_mc_program(rdev);
+
 	if (!rdev->me_fw || !rdev->pfp_fw || !rdev->rlc_fw) {
 		r = r600_init_microcode(rdev);
 		if (r) {
@@ -1070,7 +1072,6 @@ static int rv770_startup(struct radeon_device *rdev)
 	if (r)
 		return r;
 
-	rv770_mc_program(rdev);
 	if (rdev->flags & RADEON_IS_AGP) {
 		rv770_agp_enable(rdev);
 	} else {
drivers/gpu/drm/radeon/si.c +2 -1
index c22b5e7849f8..e710073923e9 100644
@@ -3834,6 +3834,8 @@ static int si_startup(struct radeon_device *rdev)
 	struct radeon_ring *ring;
 	int r;
 
+	si_mc_program(rdev);
+
 	if (!rdev->me_fw || !rdev->pfp_fw || !rdev->ce_fw ||
 	    !rdev->rlc_fw || !rdev->mc_fw) {
 		r = si_init_microcode(rdev);
@@ -3853,7 +3855,6 @@ static int si_startup(struct radeon_device *rdev)
 	if (r)
 		return r;
 
-	si_mc_program(rdev);
 	r = si_pcie_gart_enable(rdev);
 	if (r)
 		return r;
drivers/gpu/drm/ttm/ttm_bo.c +20 -12
index ceb70dde21ab..a67e61be38f2 100644
@@ -1091,24 +1091,32 @@ out_unlock:
 	return ret;
 }
 
-static int ttm_bo_mem_compat(struct ttm_placement *placement,
-			     struct ttm_mem_reg *mem)
+static bool ttm_bo_mem_compat(struct ttm_placement *placement,
+			      struct ttm_mem_reg *mem,
+			      uint32_t *new_flags)
 {
 	int i;
 
 	if (mem->mm_node && placement->lpfn != 0 &&
 	    (mem->start < placement->fpfn ||
 	     mem->start + mem->num_pages > placement->lpfn))
-		return -1;
+		return false;
 
 	for (i = 0; i < placement->num_placement; i++) {
-		if ((placement->placement[i] & mem->placement &
-			TTM_PL_MASK_CACHING) &&
-			(placement->placement[i] & mem->placement &
-			TTM_PL_MASK_MEM))
-			return i;
+		*new_flags = placement->placement[i];
+		if ((*new_flags & mem->placement & TTM_PL_MASK_CACHING) &&
+		    (*new_flags & mem->placement & TTM_PL_MASK_MEM))
+			return true;
+	}
+
+	for (i = 0; i < placement->num_busy_placement; i++) {
+		*new_flags = placement->busy_placement[i];
+		if ((*new_flags & mem->placement & TTM_PL_MASK_CACHING) &&
+		    (*new_flags & mem->placement & TTM_PL_MASK_MEM))
+			return true;
 	}
-	return -1;
+
+	return false;
 }
 
 int ttm_bo_validate(struct ttm_buffer_object *bo,
@@ -1117,6 +1125,7 @@ int ttm_bo_validate(struct ttm_buffer_object *bo,
 			bool no_wait_gpu)
 {
 	int ret;
+	uint32_t new_flags;
 
 	BUG_ON(!atomic_read(&bo->reserved));
 	/* Check that range is valid */
@@ -1127,8 +1136,7 @@ int ttm_bo_validate(struct ttm_buffer_object *bo,
 	/*
 	 * Check whether we need to move buffer.
 	 */
-	ret = ttm_bo_mem_compat(placement, &bo->mem);
-	if (ret < 0) {
+	if (!ttm_bo_mem_compat(placement, &bo->mem, &new_flags)) {
 		ret = ttm_bo_move_buffer(bo, placement, interruptible, no_wait_reserve, no_wait_gpu);
 		if (ret)
 			return ret;
@@ -1137,7 +1145,7 @@ int ttm_bo_validate(struct ttm_buffer_object *bo,
 		 * Use the access and other non-mapping-related flag bits from
 		 * the compatible memory placement flags to the active flags
 		 */
-		ttm_flag_masked(&bo->mem.placement, placement->placement[ret],
+		ttm_flag_masked(&bo->mem.placement, new_flags,
 				~TTM_PL_MASK_MEMTYPE);
 	}
 	/*
drivers/gpu/drm/vmwgfx/vmwgfx_fb.c +4 -1
index 3c447bf317cb..6651cb328598 100644
@@ -147,7 +147,7 @@ static int vmw_fb_check_var(struct fb_var_screeninfo *var,
 	}
 
 	if (!vmw_kms_validate_mode_vram(vmw_priv,
-					info->fix.line_length,
+					var->xres * var->bits_per_pixel/8,
 					var->yoffset + var->yres)) {
 		DRM_ERROR("Requested geom can not fit in framebuffer\n");
 		return -EINVAL;
@@ -162,6 +162,8 @@ static int vmw_fb_set_par(struct fb_info *info)
 	struct vmw_private *vmw_priv = par->vmw_priv;
 	int ret;
 
+	info->fix.line_length = info->var.xres * info->var.bits_per_pixel/8;
+
 	ret = vmw_kms_write_svga(vmw_priv, info->var.xres, info->var.yres,
 				 info->fix.line_length,
 				 par->bpp, par->depth);
@@ -177,6 +179,7 @@ static int vmw_fb_set_par(struct fb_info *info)
 		vmw_write(vmw_priv, SVGA_REG_DISPLAY_POSITION_Y, info->var.yoffset);
 		vmw_write(vmw_priv, SVGA_REG_DISPLAY_WIDTH, info->var.xres);
 		vmw_write(vmw_priv, SVGA_REG_DISPLAY_HEIGHT, info->var.yres);
+		vmw_write(vmw_priv, SVGA_REG_BYTES_PER_LINE, info->fix.line_length);
 		vmw_write(vmw_priv, SVGA_REG_DISPLAY_ID, SVGA_ID_INVALID);
 	}
 
drivers/hid/hid-logitech-dj.c +24 -14
index 265284620980..3bfd74f1ad49 100644
@@ -474,28 +474,38 @@ static int logi_dj_recv_send_report(struct dj_receiver_dev *djrcv_dev,
 
 static int logi_dj_recv_query_paired_devices(struct dj_receiver_dev *djrcv_dev)
 {
-	struct dj_report dj_report;
+	struct dj_report *dj_report;
+	int retval;
 
-	memset(&dj_report, 0, sizeof(dj_report));
-	dj_report.report_id = REPORT_ID_DJ_SHORT;
-	dj_report.device_index = 0xFF;
-	dj_report.report_type = REPORT_TYPE_CMD_GET_PAIRED_DEVICES;
-	return logi_dj_recv_send_report(djrcv_dev, &dj_report);
+	dj_report = kzalloc(sizeof(struct dj_report), GFP_KERNEL);
+	if (!dj_report)
+		return -ENOMEM;
+	dj_report->report_id = REPORT_ID_DJ_SHORT;
+	dj_report->device_index = 0xFF;
+	dj_report->report_type = REPORT_TYPE_CMD_GET_PAIRED_DEVICES;
+	retval = logi_dj_recv_send_report(djrcv_dev, dj_report);
+	kfree(dj_report);
+	return retval;
 }
 
 
 static int logi_dj_recv_switch_to_dj_mode(struct dj_receiver_dev *djrcv_dev,
 					  unsigned timeout)
 {
-	struct dj_report dj_report;
+	struct dj_report *dj_report;
+	int retval;
 
-	memset(&dj_report, 0, sizeof(dj_report));
-	dj_report.report_id = REPORT_ID_DJ_SHORT;
-	dj_report.device_index = 0xFF;
-	dj_report.report_type = REPORT_TYPE_CMD_SWITCH;
-	dj_report.report_params[CMD_SWITCH_PARAM_DEVBITFIELD] = 0x3F;
-	dj_report.report_params[CMD_SWITCH_PARAM_TIMEOUT_SECONDS] = (u8)timeout;
-	return logi_dj_recv_send_report(djrcv_dev, &dj_report);
+	dj_report = kzalloc(sizeof(struct dj_report), GFP_KERNEL);
+	if (!dj_report)
+		return -ENOMEM;
+	dj_report->report_id = REPORT_ID_DJ_SHORT;
+	dj_report->device_index = 0xFF;
+	dj_report->report_type = REPORT_TYPE_CMD_SWITCH;
+	dj_report->report_params[CMD_SWITCH_PARAM_DEVBITFIELD] = 0x3F;
+	dj_report->report_params[CMD_SWITCH_PARAM_TIMEOUT_SECONDS] = (u8)timeout;
+	retval = logi_dj_recv_send_report(djrcv_dev, dj_report);
+	kfree(dj_report);
+	return retval;
 }
 
 
drivers/hv/ring_buffer.c +2 -2
index 8af25a097d75..d01edf3c7b28 100644
@@ -383,7 +383,7 @@ int hv_ringbuffer_write(struct hv_ring_buffer_info *outring_info,
 					     sizeof(u64));
 
 	/* Make sure we flush all writes before updating the writeIndex */
-	smp_wmb();
+	wmb();
 
 	/* Now, update the write location */
 	hv_set_next_write_location(outring_info, next_write_location);
@@ -485,7 +485,7 @@ int hv_ringbuffer_read(struct hv_ring_buffer_info *inring_info, void *buffer,
 	/* Make sure all reads are done before we update the read index since */
 	/* the writer may start writing to the read area once the read index */
 	/*is updated */
-	smp_mb();
+	mb();
 
 	/* Update the read index */
 	hv_set_next_read_location(inring_info, next_read_location);
drivers/hv/vmbus_drv.c +1 -1
index a220e5746d67..10619b34bd31 100644
@@ -466,7 +466,7 @@ static void vmbus_on_msg_dpc(unsigned long data)
 		 * will not deliver any more messages since there is
 		 * no empty slot
 		 */
-		smp_mb();
+		mb();
 
 		if (msg->header.message_flags.msg_pending) {
 			/*
drivers/hwmon/emc1403.c +2 -2
index 149dcb0e148f..d5c33d5c0389 100644
@@ -161,7 +161,7 @@ static ssize_t store_hyst(struct device *dev,
 	if (retval < 0)
 		goto fail;
 
-	hyst = val - retval * 1000;
+	hyst = retval * 1000 - val;
 	hyst = DIV_ROUND_CLOSEST(hyst, 1000);
 	if (hyst < 0 || hyst > 255) {
 		retval = -ERANGE;
@@ -294,7 +294,7 @@ static int emc1403_detect(struct i2c_client *client,
 	}
 
 	id = i2c_smbus_read_byte_data(client, THERMAL_REVISION_REG);
-	if (id != 0x01)
+	if (id < 0x01 || id > 0x04)
 		return -ENODEV;
 
 	return 0;
drivers/i2c/busses/Kconfig +1 -0
index bc625f6c5b4c..9494910b330c 100644
@@ -138,6 +138,7 @@ config I2C_PIIX4
 	    ATI SB700
 	    ATI SB800
 	    AMD Hudson-2
+	    AMD CZ
 	    Serverworks OSB4
 	    Serverworks CSB5
 	    Serverworks CSB6
drivers/i2c/busses/i2c-designware-core.c +3 -0
index 3c2812f13d96..aadb3984f0d3 100644
@@ -346,6 +346,9 @@ static void i2c_dw_xfer_init(struct dw_i2c_dev *dev)
 		ic_con &= ~DW_IC_CON_10BITADDR_MASTER;
 	dw_writel(dev, ic_con, DW_IC_CON);
 
+	/* enforce disabled interrupts (due to HW issues) */
+	i2c_dw_disable_int(dev);
+
 	/* Enable the adapter */
 	dw_writel(dev, 1, DW_IC_ENABLE);
 
drivers/i2c/busses/i2c-piix4.c +2 -1
index c14d48dd601a..a35697490681 100644
@@ -22,7 +22,7 @@
 	Intel PIIX4, 440MX
 	Serverworks OSB4, CSB5, CSB6, HT-1000, HT-1100
 	ATI IXP200, IXP300, IXP400, SB600, SB700, SB800
-	AMD Hudson-2
+	AMD Hudson-2, CZ
 	SMSC Victory66
 
    Note: we assume there can only be one device, with one SMBus interface.
@@ -481,6 +481,7 @@ static DEFINE_PCI_DEVICE_TABLE(piix4_ids) = {
 	{ PCI_DEVICE(PCI_VENDOR_ID_ATI, PCI_DEVICE_ID_ATI_IXP400_SMBUS) },
 	{ PCI_DEVICE(PCI_VENDOR_ID_ATI, PCI_DEVICE_ID_ATI_SBX00_SMBUS) },
 	{ PCI_DEVICE(PCI_VENDOR_ID_AMD, PCI_DEVICE_ID_AMD_HUDSON2_SMBUS) },
+	{ PCI_DEVICE(PCI_VENDOR_ID_AMD, 0x790b) },
 	{ PCI_DEVICE(PCI_VENDOR_ID_SERVERWORKS,
 		     PCI_DEVICE_ID_SERVERWORKS_OSB4) },
 	{ PCI_DEVICE(PCI_VENDOR_ID_SERVERWORKS,
drivers/i2c/busses/i2c-tegra.c +11 -2
index df19f3d588cd..d47ca36b4dee 100644
@@ -341,7 +341,11 @@ static int tegra_i2c_init(struct tegra_i2c_dev *i2c_dev)
 	u32 val;
 	int err = 0;
 
-	clk_enable(i2c_dev->clk);
+	err = clk_enable(i2c_dev->clk);
+	if (err < 0) {
+		dev_err(i2c_dev->dev, "Clock enable failed %d\n", err);
+		return err;
+	}
 
 	tegra_periph_reset_assert(i2c_dev->clk);
 	udelay(2);
@@ -543,7 +547,12 @@ static int tegra_i2c_xfer(struct i2c_adapter *adap, struct i2c_msg msgs[],
 	if (i2c_dev->is_suspended)
 		return -EBUSY;
 
-	clk_enable(i2c_dev->clk);
+	ret = clk_enable(i2c_dev->clk);
+	if (ret < 0) {
+		dev_err(i2c_dev->dev, "Clock enable failed %d\n", ret);
+		return ret;
+	}
+
 	for (i = 0; i < num; i++) {
 		int stop = (i == (num - 1)) ? 1  : 0;
 		ret = tegra_i2c_xfer_msg(i2c_dev, &msgs[i], stop);
drivers/idle/intel_idle.c +4 -3
index 014364ab689b..9b09185683f8 100644
@@ -443,10 +443,8 @@ static int intel_idle_probe(void)
 
 	if (boot_cpu_has(X86_FEATURE_ARAT))	/* Always Reliable APIC Timer */
 		lapic_timer_reliable_states = LAPIC_TIMER_ALWAYS_RELIABLE;
-	else {
+	else
 		on_each_cpu(__setup_broadcast_timer, (void *)true, 1);
-		register_cpu_notifier(&setup_broadcast_notifier);
-	}
 
 	pr_debug(PREFIX "v" INTEL_IDLE_VERSION
 		" model 0x%X\n", boot_cpu_data.x86_model);
@@ -612,6 +610,9 @@ static int __init intel_idle_init(void)
 		}
 	}
 
+	if (lapic_timer_reliable_states != LAPIC_TIMER_ALWAYS_RELIABLE)
+		register_cpu_notifier(&setup_broadcast_notifier);
+
 	return 0;
 }
 
drivers/input/mouse/synaptics.c +23 -8
index c1f7e9b65088..326e19459ee6 100644
@@ -53,14 +53,19 @@
 #define ABS_POS_BITS 13
 
 /*
- * Any position values from the hardware above the following limits are
- * treated as "wrapped around negative" values that have been truncated to
- * the 13-bit reporting range of the hardware. These are just reasonable
- * guesses and can be adjusted if hardware is found that operates outside
- * of these parameters.
+ * These values should represent the absolute maximum value that will
+ * be reported for a positive position value. Some Synaptics firmware
+ * uses this value to indicate a finger near the edge of the touchpad
+ * whose precise position cannot be determined.
+ *
+ * At least one touchpad is known to report positions in excess of this
+ * value which are actually negative values truncated to the 13-bit
+ * reporting range. These values have never been observed to be lower
+ * than 8184 (i.e. -8), so we treat all values greater than 8176 as
+ * negative and any other value as positive.
  */
-#define X_MAX_POSITIVE (((1 << ABS_POS_BITS) + XMAX) / 2)
-#define Y_MAX_POSITIVE (((1 << ABS_POS_BITS) + YMAX) / 2)
+#define X_MAX_POSITIVE 8176
+#define Y_MAX_POSITIVE 8176
 
 /*
  * Synaptics touchpads report the y coordinate from bottom to top, which is
@@ -583,11 +588,21 @@ static int synaptics_parse_hw_state(const unsigned char buf[],
 		hw->right = (buf[0] & 0x02) ? 1 : 0;
 	}
 
-	/* Convert wrap-around values to negative */
+	/*
+	 * Convert wrap-around values to negative. (X|Y)_MAX_POSITIVE
+	 * is used by some firmware to indicate a finger at the edge of
+	 * the touchpad whose precise position cannot be determined, so
+	 * convert these values to the maximum axis value.
+	 */
 	if (hw->x > X_MAX_POSITIVE)
 		hw->x -= 1 << ABS_POS_BITS;
+	else if (hw->x == X_MAX_POSITIVE)
+		hw->x = XMAX;
+
 	if (hw->y > Y_MAX_POSITIVE)
 		hw->y -= 1 << ABS_POS_BITS;
+	else if (hw->y == Y_MAX_POSITIVE)
+		hw->y = YMAX;
 
 	return 0;
 }
drivers/md/dm-bufio.c +25 -1
index 4c260dc7910e..6f99500790b3 100644
@@ -321,6 +321,9 @@ static void __cache_size_refresh(void)
 static void *alloc_buffer_data(struct dm_bufio_client *c, gfp_t gfp_mask,
 			       enum data_mode *data_mode)
 {
+	unsigned noio_flag;
+	void *ptr;
+
 	if (c->block_size <= DM_BUFIO_BLOCK_SIZE_SLAB_LIMIT) {
 		*data_mode = DATA_MODE_SLAB;
 		return kmem_cache_alloc(DM_BUFIO_CACHE(c), gfp_mask);
@@ -334,7 +337,28 @@ static void *alloc_buffer_data(struct dm_bufio_client *c, gfp_t gfp_mask,
 	}
 
 	*data_mode = DATA_MODE_VMALLOC;
-	return __vmalloc(c->block_size, gfp_mask, PAGE_KERNEL);
+
+	/*
+	 * __vmalloc allocates the data pages and auxiliary structures with
+	 * gfp_flags that were specified, but pagetables are always allocated
+	 * with GFP_KERNEL, no matter what was specified as gfp_mask.
+	 *
+	 * Consequently, we must set per-process flag PF_MEMALLOC_NOIO so that
+	 * all allocations done by this process (including pagetables) are done
+	 * as if GFP_NOIO was specified.
+	 */
+
+	if (gfp_mask & __GFP_NORETRY) {
+		noio_flag = current->flags & PF_MEMALLOC;
+		current->flags |= PF_MEMALLOC;
+	}
+
+	ptr = __vmalloc(c->block_size, gfp_mask, PAGE_KERNEL);
+
+	if (gfp_mask & __GFP_NORETRY)
+		current->flags = (current->flags & ~PF_MEMALLOC) | noio_flag;
+
+	return ptr;
 }
 
 /*
drivers/md/dm-mpath.c +15 -3
index 9147569545e2..d5fc3ec3639e 100644
@@ -84,6 +84,7 @@ struct multipath {
 	unsigned queue_io;		/* Must we queue all I/O? */
 	unsigned queue_if_no_path;	/* Queue I/O if last path fails? */
 	unsigned saved_queue_if_no_path;/* Saved state during suspension */
+	unsigned pg_init_disabled:1;	/* pg_init is not currently allowed */
 	unsigned pg_init_retries;	/* Number of times to retry pg_init */
 	unsigned pg_init_count;		/* Number of times pg_init called */
 	unsigned pg_init_delay_msecs;	/* Number of msecs before pg_init retry */
@@ -493,7 +494,8 @@ static void process_queued_ios(struct work_struct *work)
 	    (!pgpath && !m->queue_if_no_path))
 		must_queue = 0;
 
-	if (m->pg_init_required && !m->pg_init_in_progress && pgpath)
+	if (m->pg_init_required && !m->pg_init_in_progress && pgpath &&
+	    !m->pg_init_disabled)
 		__pg_init_all_paths(m);
 
 out:
@@ -907,10 +909,20 @@ static void multipath_wait_for_pg_init_completion(struct multipath *m)
 
 static void flush_multipath_work(struct multipath *m)
 {
+	unsigned long flags;
+
+	spin_lock_irqsave(&m->lock, flags);
+	m->pg_init_disabled = 1;
+	spin_unlock_irqrestore(&m->lock, flags);
+
 	flush_workqueue(kmpath_handlerd);
 	multipath_wait_for_pg_init_completion(m);
 	flush_workqueue(kmultipathd);
 	flush_work_sync(&m->trigger_event);
+
+	spin_lock_irqsave(&m->lock, flags);
+	m->pg_init_disabled = 0;
+	spin_unlock_irqrestore(&m->lock, flags);
 }
 
 static void multipath_dtr(struct dm_target *ti)
@@ -1129,7 +1141,7 @@ static int pg_init_limit_reached(struct multipath *m, struct pgpath *pgpath)
 
 	spin_lock_irqsave(&m->lock, flags);
 
-	if (m->pg_init_count <= m->pg_init_retries)
+	if (m->pg_init_count <= m->pg_init_retries && !m->pg_init_disabled)
 		m->pg_init_required = 1;
 	else
 		limit_reached = 1;
@@ -1644,7 +1656,7 @@ out:
  *---------------------------------------------------------------*/
 static struct target_type multipath_target = {
 	.name = "multipath",
-	.version = {1, 3, 0},
+	.version = {1, 3, 2},
 	.module = THIS_MODULE,
 	.ctr = multipath_ctr,
 	.dtr = multipath_dtr,
drivers/md/dm-snap.c +66 -7

119 lines not on this page · raw message

drivers/md/dm-thin.c +2 -2
index b253744fc3c8..e811e44dfcf7 100644
@@ -2472,7 +2472,7 @@ static struct target_type pool_target = {
 	.name = "thin-pool",
 	.features = DM_TARGET_SINGLETON | DM_TARGET_ALWAYS_WRITEABLE |
 		    DM_TARGET_IMMUTABLE,
-	.version = {1, 1, 0},
+	.version = {1, 1, 1},
 	.module = THIS_MODULE,
 	.ctr = pool_ctr,
 	.dtr = pool_dtr,
@@ -2752,7 +2752,7 @@ static void thin_io_hints(struct dm_target *ti, struct queue_limits *limits)
 
 static struct target_type thin_target = {
 	.name = "thin",
-	.version = {1, 1, 0},
+	.version = {1, 1, 1},
 	.module	= THIS_MODULE,
 	.ctr = thin_ctr,
 	.dtr = thin_dtr,
drivers/md/md.c +2 -1
index e63ca864b35a..8590d2c256a6 100644
@@ -8167,7 +8167,8 @@ static int md_notify_reboot(struct notifier_block *this,
 		if (mddev_trylock(mddev)) {
 			if (mddev->pers)
 				__md_stop_writes(mddev);
-			mddev->safemode = 2;
+			if (mddev->persistent)
+				mddev->safemode = 2;
 			mddev_unlock(mddev);
 		}
 		need_delay = 1;
drivers/md/persistent-data/dm-btree-remove.c +24 -22

121 lines not on this page · raw message

drivers/md/raid10.c +5 -3
index 67a8393e3f86..149426cd1e84 100644
@@ -1419,14 +1419,16 @@ static int enough(struct r10conf *conf, int ignore)
 	do {
 		int n = conf->copies;
 		int cnt = 0;
+		int this = first;
 		while (n--) {
-			if (conf->mirrors[first].rdev &&
-			    first != ignore)
+			if (conf->mirrors[this].rdev &&
+			    this != ignore)
 				cnt++;
-			first = (first+1) % conf->raid_disks;
+			this = (this+1) % conf->raid_disks;
 		}
 		if (cnt == 0)
 			return 0;
+		first = (first + conf->near_copies) % conf->raid_disks;
 	} while (first != 0);
 	return 1;
 }
drivers/media/media-device.c +1 -0
index 6f9eb94e85b3..25968dcfa422 100644
@@ -90,6 +90,7 @@ static long media_device_enum_entities(struct media_device *mdev,
 	struct media_entity *ent;
 	struct media_entity_desc u_ent;
 
+	memset(&u_ent, 0, sizeof(u_ent));
 	if (copy_from_user(&u_ent.id, &uent->id, sizeof(u_ent.id)))
 		return -EFAULT;
 
drivers/misc/hpilo.c +9 -2
index fffc227181b0..9c99680f645a 100644
@@ -735,7 +735,14 @@ static void ilo_remove(struct pci_dev *pdev)
 	free_irq(pdev->irq, ilo_hw);
 	ilo_unmap_device(pdev, ilo_hw);
 	pci_release_regions(pdev);
-	pci_disable_device(pdev);
+	/*
+	 * pci_disable_device(pdev) used to be here. But this PCI device has
+	 * two functions with interrupt lines connected to a single pin. The
+	 * other one is a USB host controller. So when we disable the PIN here
+	 * e.g. by rmmod hpilo, the controller stops working. It is because
+	 * the interrupt link is disabled in ACPI since it is not refcounted
+	 * yet. See acpi_pci_link_free_irq called from acpi_pci_irq_disable.
+	 */
 	kfree(ilo_hw);
 	ilo_hwdev[(minor / MAX_CCB)] = 0;
 }
@@ -820,7 +827,7 @@ unmap:
 free_regions:
 	pci_release_regions(pdev);
 disable:
-	pci_disable_device(pdev);
+/*	pci_disable_device(pdev);  see comment in ilo_remove */
 free:
 	kfree(ilo_hw);
 out:
drivers/mtd/devices/m25p80.c +7 -12
index 1924d247c1cb..797860ea3e04 100644
@@ -71,7 +71,7 @@
 
 /* Define max times to check status register before we give up. */
 #define	MAX_READY_WAIT_JIFFIES	(40 * HZ)	/* M25P16 specs 40s max chip erase */
-#define	MAX_CMD_SIZE		5
+#define	MAX_CMD_SIZE		6
 
 #ifdef CONFIG_M25PXX_USE_FAST_READ
 #define OPCODE_READ 	OPCODE_FAST_READ
@@ -843,14 +843,13 @@ static int __devinit m25p_probe(struct spi_device *spi)
 		}
 	}
 
-	flash = kzalloc(sizeof *flash, GFP_KERNEL);
+	flash = devm_kzalloc(&spi->dev, sizeof(*flash), GFP_KERNEL);
 	if (!flash)
 		return -ENOMEM;
-	flash->command = kmalloc(MAX_CMD_SIZE + FAST_READ_DUMMY_BYTE, GFP_KERNEL);
-	if (!flash->command) {
-		kfree(flash);
+
+	flash->command = devm_kzalloc(&spi->dev, MAX_CMD_SIZE, GFP_KERNEL);
+	if (!flash->command)
 		return -ENOMEM;
-	}
 
 	flash->spi = spi;
 	mutex_init(&flash->lock);

Lines of this file are not shown. View the raw message.

drivers/mtd/ubi/scan.c +1 -1
index 12c43b44f815..4f71793f5505 100644

Lines of this file are not shown. View the raw message.

drivers/net/bonding/bond_main.c +1 -0
index 098581afdd9f..2402af322de6 100644

Lines of this file are not shown. View the raw message.

drivers/net/can/c_can/c_can.c +5 -1
index 77405b4e8636..91d1b5af982b 100644

Lines of this file are not shown. View the raw message.

drivers/net/can/sja1000/sja1000.c +9 -8
index c2309ec71369..2d3ad72958ff 100644

Lines of this file are not shown. View the raw message.

drivers/net/ethernet/broadcom/bnx2x/bnx2x_sp.c +0 -3
index 513573321625..05ec7f1ed3f5 100644

Lines of this file are not shown. View the raw message.

drivers/net/ethernet/broadcom/tg3.c +3 -1
index 237e2a4f58c0..cbc6a62084e1 100644

Lines of this file are not shown. View the raw message.

drivers/net/ethernet/intel/e1000e/e1000.h +1 -0
index 1ab8067b028b..21c058bdc1f8 100644

Lines of this file are not shown. View the raw message.

drivers/net/ethernet/intel/e1000e/netdev.c +23 -25

48 lines not on this page · raw message

drivers/net/ethernet/intel/ixgbe/ixgbe_main.c +5 -2
index 8f9554596c1e..861140975f08 100644

Lines of this file are not shown. View the raw message.

drivers/net/macvlan.c +0 -3
index 71605231bcb2..c4bb95b051f3 100644

Lines of this file are not shown. View the raw message.

drivers/net/wimax/i2400m/usb-rx.c +1 -1
index e3257681e360..b78ee676e102 100644

Lines of this file are not shown. View the raw message.

drivers/net/wireless/ath/ath9k/xmit.c +5 -3
index 3d0aa4723ff9..1a5f275f8d6b 100644

Lines of this file are not shown. View the raw message.

drivers/net/wireless/b43/Kconfig +2 -2
index 3876c7ea54f4..af40211cc9dd 100644

Lines of this file are not shown. View the raw message.

drivers/net/wireless/rt2x00/rt2500usb.c +1 -1
index e0a7efccb73b..9e55debc3e52 100644

Lines of this file are not shown. View the raw message.

drivers/net/wireless/rt2x00/rt2800usb.c +2 -0
index 6eec862fea28..664e93d2a682 100644

Lines of this file are not shown. View the raw message.

drivers/net/wireless/rt2x00/rt2x00mac.c +12 -10
index 6701f2d71274..af247b06c842 100644

Lines of this file are not shown. View the raw message.

drivers/net/wireless/rt2x00/rt73usb.c +1 -0
index ffdd32e74b0b..ef4cd40aef39 100644

Lines of this file are not shown. View the raw message.

drivers/net/wireless/rtlwifi/rtl8192cu/hw.c +1 -1
index a4387acbf220..0908a3bf2f68 100644

Lines of this file are not shown. View the raw message.

drivers/net/xen-netfront.c +15 -2
index 796afbf13eb4..fe50f14fba4e 100644

Lines of this file are not shown. View the raw message.

drivers/pci/hotplug/shpchp.h +1 -1
index 1b69d955a31f..b849f995075a 100644

Lines of this file are not shown. View the raw message.

drivers/pci/hotplug/shpchp_core.c +14 -12
index 5f1f0d93dc13..dd37452cca5e 100644

Lines of this file are not shown. View the raw message.

drivers/pci/hotplug/shpchp_ctrl.c +5 -5
index bba5b3e0bf8a..b888675a228a 100644

Lines of this file are not shown. View the raw message.

drivers/pci/pcie/aspm.c +3 -0
index 474f22f304e4..c9ce611d46bd 100644

Lines of this file are not shown. View the raw message.

drivers/platform/x86/msi-wmi.c +3 -1
index 2264331bd48e..b96766b61ea3 100644

Lines of this file are not shown. View the raw message.

drivers/platform/x86/thinkpad_acpi.c +1 -1
index f08aee680f0a..aa232de6d48d 100644

Lines of this file are not shown. View the raw message.

drivers/rapidio/devices/tsi721.c +11 -0
index 33471e11a738..84eab3fa9bca 100644

Lines of this file are not shown. View the raw message.

drivers/regulator/max8997.c +17 -19
index 17a58c56eebf..8350f50bb062 100644

Lines of this file are not shown. View the raw message.

drivers/regulator/max8998.c +1 -1
index 5890265eeacc..130038368b73 100644

Lines of this file are not shown. View the raw message.

drivers/rtc/rtc-pl031.c +7 -3
index f027c063fb20..65ef56fb9a66 100644

Lines of this file are not shown. View the raw message.

drivers/staging/octeon/ethernet-tx.c +1 -1
index 91a97b3e45c6..5877b2c64e2a 100644

Lines of this file are not shown. View the raw message.

drivers/staging/speakup/speakup_soft.c +1 -1
index b5130c8bcb64..e2f5c81e7548 100644

Lines of this file are not shown. View the raw message.

drivers/staging/zram/zram_drv.c +25 -13
index 685d612a627b..cdac567dc4eb 100644

Lines of this file are not shown. View the raw message.

drivers/staging/zram/zram_sysfs.c +4 -2
index a7f377175525..826653fff70e 100644

Lines of this file are not shown. View the raw message.

drivers/tty/n_gsm.c +38 -40

78 lines not on this page · raw message

drivers/tty/serial/imx.c +4 -14
index 0de7ed788631..88620e1ad5fc 100644

Lines of this file are not shown. View the raw message.

drivers/usb/class/cdc-acm.c +21 -7
index 4a9dd86bce8e..f509888b7ad0 100644

Lines of this file are not shown. View the raw message.

drivers/usb/gadget/at91_udc.c +0 -10
index be6952e2fc5a..bf5671c74607 100644

Lines of this file are not shown. View the raw message.

drivers/usb/serial/cp210x.c +1 -0
index b53065b53fc9..3bd9bd49ed9a 100644

Lines of this file are not shown. View the raw message.

drivers/usb/serial/ftdi_sio.c +33 -0
index 156cf593d84f..3b2dfe9c5212 100644

Lines of this file are not shown. View the raw message.

drivers/usb/serial/ftdi_sio_ids.h +37 -0
index e599fbfcde5f..993c93df6874 100644

Lines of this file are not shown. View the raw message.

drivers/usb/serial/io_ti.c +33 -17

50 lines not on this page · raw message

drivers/usb/serial/option.c +79 -4

83 lines not on this page · raw message

drivers/usb/serial/sierra.c +0 -1
index 8ec15c2540b8..3f5e4a73ddd5 100644

Lines of this file are not shown. View the raw message.

drivers/usb/storage/shuttle_usbat.c +1 -1
index fa1ceebc465c..f3248fbd0b3d 100644

Lines of this file are not shown. View the raw message.

drivers/usb/storage/unusual_devs.h +14 -0
index bbe9adb0eb66..1d9fc30f3ac3 100644

Lines of this file are not shown. View the raw message.

drivers/video/backlight/atmel-pwm-bl.c +2 -1
index 4d2bbd893e88..dab3a0c9f480 100644

Lines of this file are not shown. View the raw message.

drivers/video/console/vgacon.c +13 -4
index 5855d17d19ac..9d8feac67637 100644

Lines of this file are not shown. View the raw message.

fs/cachefiles/rdwr.c +1 -1
index 0e3c0924cc3a..b4d2438da9a5 100644

Lines of this file are not shown. View the raw message.

fs/cifs/cifsfs.c +24 -0
index d7561e03870c..c0f65e84873e 100644

Lines of this file are not shown. View the raw message.

fs/cifs/cifsfs.h +4 -0
index 65365358c976..f71176578278 100644

Lines of this file are not shown. View the raw message.

fs/cifs/cifssmb.c +5 -3
index 3a75ee5a6b33..6e609819c62a 100644

Lines of this file are not shown. View the raw message.

fs/cifs/file.c +6 -2
index 9ace37521510..0898d99b5f7b 100644

Lines of this file are not shown. View the raw message.

fs/ecryptfs/keystore.c +2 -1
index 2333203a120b..d28fc348afe7 100644

Lines of this file are not shown. View the raw message.

fs/nfs/callback_xdr.c +3 -3
index 95bfc243992c..27c2969a9d02 100644

Lines of this file are not shown. View the raw message.

fs/nfs/nfs4proc.c +5 -18
index d5faa264ecc2..934bb1ca8335 100644

Lines of this file are not shown. View the raw message.

fs/nfs/nfs4state.c +12 -2
index e46579471ccc..461816beff13 100644

Lines of this file are not shown. View the raw message.

fs/nfs/pnfs.c +18 -1
index 059e2c350ad7..ae3118212bd6 100644

Lines of this file are not shown. View the raw message.

fs/nfsd/nfs4acl.c +9 -8
index 9c51aff02ae2..435a9be1265e 100644

Lines of this file are not shown. View the raw message.

fs/nfsd/nfs4proc.c +4 -4
index e5404945f854..97a142cde23b 100644

Lines of this file are not shown. View the raw message.

fs/nfsd/nfs4state.c +13 -2
index f90b197ceffa..28e5648c9cc4 100644

Lines of this file are not shown. View the raw message.

fs/nfsd/nfs4xdr.c +1 -1
index a0f92ec4b38e..6eaa2e2335dc 100644

Lines of this file are not shown. View the raw message.

fs/nfsd/vfs.c +3 -2
index 638306219ae8..e3abfde27863 100644

Lines of this file are not shown. View the raw message.

fs/posix_acl.c +6 -0
index 5e325a42e33d..64496020bf19 100644

Lines of this file are not shown. View the raw message.

fs/stat.c +3 -2
index dc6d0be300ca..88b36c770762 100644

Lines of this file are not shown. View the raw message.

include/drm/drm_mode.h +2 -0
index 9242310b47cd..cbf2d9ada2ea 100644

Lines of this file are not shown. View the raw message.

include/linux/compiler-intel.h +0 -2
index d8e636e5607d..cba9593c4047 100644

Lines of this file are not shown. View the raw message.

include/linux/efi.h +15 -1
index eee8b0b190ea..6bf839418dd4 100644

Lines of this file are not shown. View the raw message.

include/linux/ftrace.h +2 -0
index f80ca4a6ed96..bfbcd439e2c6 100644

Lines of this file are not shown. View the raw message.

include/linux/list.h +16 -0
index cc6d2aa6b415..1712c7e1f56b 100644

Lines of this file are not shown. View the raw message.

include/linux/mm_types.h +1 -0
index b35752fb2ad8..16cb641bb89f 100644

Lines of this file are not shown. View the raw message.

include/linux/net.h +23 -0
index d40ccb796e8d..16b499620a0a 100644

Lines of this file are not shown. View the raw message.

include/linux/perf_event.h +7 -5
index e45ffad543be..47c3d045c7fd 100644

Lines of this file are not shown. View the raw message.

include/linux/skbuff.h +11 -1
index 3a7b87e1fd89..0884db3d315e 100644

Lines of this file are not shown. View the raw message.

include/net/ip6_route.h +5 -0
index 2ad92ca4e6f3..7cd3caab0394 100644

Lines of this file are not shown. View the raw message.

include/net/mac80211.h +5 -0
index 9210bdc7bd8d..aa12b395b2b7 100644

Lines of this file are not shown. View the raw message.

include/trace/events/module.h +1 -1
index 161932737416..ca298c7157ae 100644

Lines of this file are not shown. View the raw message.

include/xen/interface/io/netif.h +1 -0
index a36c87a6623d..d4635cd786b4 100644

Lines of this file are not shown. View the raw message.

kernel/events/core.c +1 -3
index eba82e2d34e9..e39346fb2e91 100644

Lines of this file are not shown. View the raw message.

kernel/events/ring_buffer.c +27 -4
index 6ddaba43fb7a..4636ecc26d75 100644

Lines of this file are not shown. View the raw message.

kernel/futex.c +186 -53

239 lines not on this page · raw message

kernel/hrtimer.c +26 -4
index a57ef25867e3..434f2b673d5b 100644

Lines of this file are not shown. View the raw message.

kernel/module.c +3 -0
index 85972171ecd3..5e398961b7b5 100644

Lines of this file are not shown. View the raw message.

kernel/sched/core.c +22 -13
index 94f132775d05..e01398f0a52e 100644

Lines of this file are not shown. View the raw message.

kernel/timer.c +1 -1
index 7e0a770be489..87ff7b19d27f 100644

Lines of this file are not shown. View the raw message.

kernel/trace/ftrace.c +66 -32

98 lines not on this page · raw message

kernel/trace/trace.c +5 -1
index 022940f097b8..a494ec317e0a 100644

Lines of this file are not shown. View the raw message.

mm/hugetlb.c +1 -0
index c8eed94343e0..d5facc8d78a4 100644

Lines of this file are not shown. View the raw message.

mm/memory-failure.c +8 -7
index 7e95698e4139..455a67971570 100644

Lines of this file are not shown. View the raw message.

mm/memory.c +5 -0
index 17d8661f44fe..ffd74f370e8d 100644

Lines of this file are not shown. View the raw message.

mm/percpu.c +1 -1
index bb4be7435ce3..13b2eefabfdd 100644

Lines of this file are not shown. View the raw message.

net/core/dev.c +1 -0
index cebdc15ce327..b47375d9d956 100644

Lines of this file are not shown. View the raw message.

net/core/filter.c +5 -1
index 6f755cca4520..3b7398ae270a 100644

Lines of this file are not shown. View the raw message.

net/core/rtnetlink.c +22 -11
index a1334275a7da..3cd37e9d91a6 100644

Lines of this file are not shown. View the raw message.

net/core/skbuff.c +11 -10
index 7a597d4feaec..fe42834df408 100644

Lines of this file are not shown. View the raw message.

net/ipv4/fib_semantics.c +1 -1
index 8861f91a07cf..8d244eaf6b0d 100644

Lines of this file are not shown. View the raw message.

net/ipv4/ip_forward.c +2 -2
index e0d9f02fec11..7593f3a46035 100644

Lines of this file are not shown. View the raw message.

net/ipv4/ping.c +11 -4
index e80db1e6b0b2..cb9085272dd7 100644

Lines of this file are not shown. View the raw message.

net/ipv4/route.c +1 -1
index 108c73d760df..90bc88bbd2a4 100644

Lines of this file are not shown. View the raw message.

net/ipv4/tcp_cubic.c +1 -1
index b6ae92a51f58..894b7cea5d7b 100644

Lines of this file are not shown. View the raw message.

net/ipv6/route.c +3 -2
index b685f99ffb18..c8643a3d2658 100644

Lines of this file are not shown. View the raw message.

net/l2tp/l2tp_ppp.c +2 -2
index 22112754ba06..4e38a81e48ee 100644

Lines of this file are not shown. View the raw message.

net/mac80211/rx.c +3 -0
index 6937a84bef3a..f5ed86388555 100644

Lines of this file are not shown. View the raw message.

net/mac80211/status.c +5 -1
index b992a49fbe08..9e888970a7e4 100644

Lines of this file are not shown. View the raw message.

net/sched/act_mirred.c +5 -6
index e051398fdf6b..d067ed16bab1 100644

Lines of this file are not shown. View the raw message.

net/sctp/socket.c +41 -1

42 lines not on this page · raw message

net/wireless/sme.c +3 -0
index f7e937ff8978..3fd50a11c150 100644

Lines of this file are not shown. View the raw message.

sound/pci/hda/patch_conexant.c +27 -7
index 17d80b2694a2..20cfc5b44710 100644

Lines of this file are not shown. View the raw message.

sound/soc/codecs/wm8962.c +12 -3
index 0b5132f79750..451ec4800f4e 100644

Lines of this file are not shown. View the raw message.

sound/soc/codecs/wm8962.h +4 -0
index a1a5d5294c19..910aafd09d21 100644

Lines of this file are not shown. View the raw message.

The rest of this diff is not shown. View the raw message.

Part of the diff is not shown here. View the raw message.