12 Sep, 2014
1 commit
-
…nux-stable into ti-linux-3.12.y
This is the 3.12.28 stable release
* tag 'v3.12.28' of http://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable: (57 commits)
Linux 3.12.28
hpsa: fix bad -ENOMEM return value in hpsa_big_passthru_ioctl
x86/xen: resume timer irqs early
x86/efi: Enforce CONFIG_RELOCATABLE for EFI boot stub
x86_64/vsyscall: Fix warn_bad_vsyscall log output
x86: don't exclude low BIOS area when allocating address space for non-PCI cards
PCI: Configure ASPM when enabling device
drm/radeon: add additional SI pci ids
drm/radeon: add new bonaire pci ids
drm/radeon: add new KV pci id
kvm: iommu: fix the third parameter of kvm_iommu_put_pages (CVE-2014-3601)
Revert "KVM: x86: Increase the number of fixed MTRR regs to 10"
KVM: x86: always exit on EOIs for interrupts listed in the IOAPIC redir table
KVM: x86: Inter-privilege level ret emulation is not implemeneted
debugfs: Fix corrupted loop in debugfs_remove_recursive
crypto: ux500 - make interrupt mode plausible
serial: core: Preserve termios c_cflag for console resume
ext4: fix ext4_discard_allocated_blocks() if we can't allocate the pa struct
drivers/i2c/busses: use correct type for dma_map/unmap
tpm: Add missing tpm_do_selftest to ST33 I2C driver
...Signed-off-by: Dan Murphy <DMurphy@ti.com>
04 Sep, 2014
1 commit
-
commit f42bb22243d2ae264d721b055f836059fe35321f upstream.
Just add the PCI ID for the STX II. It appears to work the same as the
STX, except for the addition of the not-yet-supported daughterboard.Tested-by: Mario
Tested-by: corubba
Signed-off-by: Clemens Ladisch
Signed-off-by: Takashi Iwai
Signed-off-by: Jiri Slaby
29 Aug, 2014
1 commit
-
…nux-stable into ti-linux-3.12.y
This is the 3.12.27 stable release
* tag 'v3.12.27' of http://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable: (103 commits)
Linux 3.12.27
drivers/rtc/interface.c: fix infinite loop in initializing the alarm
drivers/rtc/rtc-efi.c: check for invalid data coming back from UEFI
drivers/rtc/rtc-efi.c: avoid subtracting day twice when computing year days
ALSA: hda - load EQ params into IDT codec on HP bNB13 systems
HID: logitech-dj: Fix USB 3.0 issue
Input: i8042 - add Acer Aspire 5710 to nomux blacklist
PCI: rphahp: Fix endianess issues
tipc: don't use memcpy to copy from user space
tg3: Add support for new 577xx device ids
bnx2fc: fix memory leak in bnx2fc_allocate_hash_table()
bnx2x: Test nvram when interface is down
RDMA/cxgb3: Fix information leak in send_abort()
netxen: Correct off-by-one errors in bounds checks
DMA-API: net: brocade/bna/bnad.c: fix 32-bit DMA mask handling
igbvf: add missing iounmap() on error in igbvf_probe()
igbvf: integer wrapping bug setting the mtu
DMA-API: net: intel/igbvf: fix 32-bit DMA mask handling
igb: Fixed Wake On LAN support
igb: Don't let ethtool try to write to iNVM in i210/i211
...Signed-off-by: Dan Murphy <DMurphy@ti.com>
26 Aug, 2014
1 commit
-
commit 4aa806b771d16b810771d86ce23c4c3160888db3 upstream.
Provide a helper to set both the DMA and coherent DMA masks to the
same value - this avoids duplicated code in a number of drivers,
sometimes with buggy error handling, and also allows us identify
which drivers do things differently.Signed-off-by: Russell King
Signed-off-by: Jiri Slaby
19 Aug, 2014
1 commit
-
commit 3891a04aafd668686239349ea58f3314ea2af86b upstream.
The IRET instruction, when returning to a 16-bit segment, only
restores the bottom 16 bits of the user space stack pointer. This
causes some 16-bit software to break, but it also leaks kernel state
to user space. We have a software workaround for that ("espfix") for
the 32-bit kernel, but it relies on a nonzero stack segment base which
is not available in 64-bit mode.In checkin:
b3b42ac2cbae x86-64, modify_ldt: Ban 16-bit segments on 64-bit kernels
we "solved" this by forbidding 16-bit segments on 64-bit kernels, with
the logic that 16-bit support is crippled on 64-bit kernels anyway (no
V86 support), but it turns out that people are doing stuff like
running old Win16 binaries under Wine and expect it to work.This works around this by creating percpu "ministacks", each of which
is mapped 2^16 times 64K apart. When we detect that the return SS is
on the LDT, we copy the IRET frame to the ministack and use the
relevant alias to return to userspace. The ministacks are mapped
readonly, so if IRET faults we promote #GP to #DF which is an IST
vector and thus has its own stack; we then do the fixup in the #DF
handler.(Making #GP an IST exception would make the msr_safe functions unsafe
in NMI/MC context, and quite possibly have other effects.)Special thanks to:
- Andy Lutomirski, for the suggestion of using very small stack slots
and copy (as opposed to map) the IRET frame there, and for the
suggestion to mark them readonly and let the fault promote to #DF.
- Konrad Wilk for paravirt fixup and testing.
- Borislav Petkov for testing help and useful comments.Reported-by: Brian Gerst
Signed-off-by: H. Peter Anvin
Link: http://lkml.kernel.org/r/1398816946-3351-1-git-send-email-hpa@linux.intel.com
Cc: Konrad Rzeszutek Wilk
Cc: Borislav Petkov
Cc: Andrew Lutomriski
Cc: Linus Torvalds
Cc: Dirk Hohndel
Cc: Arjan van de Ven
Cc: comex
Cc: Alexander van Heukelum
Cc: Boris Ostrovsky
Cc: # consider after upstream merge
Signed-off-by: Jiri Slaby
23 Jul, 2014
1 commit
-
…nux-stable into ti-linux-3.12.y
This is the 3.12.25 stable release
* tag 'v3.12.25' of http://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable: (170 commits)
Linux 3.12.25
ACPI / battery: Retry to get battery information if failed during probing
x86, ioremap: Speed up check for RAM pages
powerpc: Disable RELOCATABLE for COMPILE_TEST with PPC64
ring-buffer: Check if buffer exists before polling
DMA, CMA: fix possible memory leak
drm/i915: Don't clobber the GTT when it's within stolen memory
drm/radeon: stop poisoning the GART TLB
drm/radeon: fix typo in golden register setup on evergreen
drm/radeon: fix typo in ci_stop_dpm()
drm/radeon/dpm: Reenabling SS on Cayman
ext4: fix a potential deadlock in __ext4_es_shrink()
ext4: disable synchronous transaction batching if max_batch_time==0
ext4: clarify ext4_error message in ext4_mb_generate_buddy_error()
ext4: clarify error count warning messages
ext4: fix unjournalled bg descriptor while initializing inode bitmap
intel_pstate: Set CPU number before accessing MSRs
dm io: fix a race condition in the wake up code for sync_io
Drivers: hv: vmbus: Fix a bug in the channel callback dispatch code
clk: s2mps11: Fix double free corruption during driver unbind
...Conflicts:
drivers/iio/adc/ti_am335x_adc.c
drivers/mtd/nand/omap2.c
drivers/usb/musb/musb_am335x.cSigned-off-by: Dan Murphy <dmurphy@ti.com>
18 Jul, 2014
1 commit
-
commit 7cd2b0a34ab8e4db971920eef8982f985441adfb upstream.
Oleg reports a division by zero error on zero-length write() to the
percpu_pagelist_fraction sysctl:divide error: 0000 [#1] SMP DEBUG_PAGEALLOC
CPU: 1 PID: 9142 Comm: badarea_io Not tainted 3.15.0-rc2-vm-nfs+ #19
Hardware name: Bochs Bochs, BIOS Bochs 01/01/2011
task: ffff8800d5aeb6e0 ti: ffff8800d87a2000 task.ti: ffff8800d87a2000
RIP: 0010: percpu_pagelist_fraction_sysctl_handler+0x84/0x120
RSP: 0018:ffff8800d87a3e78 EFLAGS: 00010246
RAX: 0000000000000f89 RBX: ffff88011f7fd000 RCX: 0000000000000000
RDX: 0000000000000000 RSI: 0000000000000001 RDI: 0000000000000010
RBP: ffff8800d87a3e98 R08: ffffffff81d002c8 R09: ffff8800d87a3f50
R10: 000000000000000b R11: 0000000000000246 R12: 0000000000000060
R13: ffffffff81c3c3e0 R14: ffffffff81cfddf8 R15: ffff8801193b0800
FS: 00007f614f1e9740(0000) GS:ffff88011f440000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 000000008005003b
CR2: 00007f614f1fa000 CR3: 00000000d9291000 CR4: 00000000000006e0
Call Trace:
proc_sys_call_handler+0xb3/0xc0
proc_sys_write+0x14/0x20
vfs_write+0xba/0x1e0
SyS_write+0x46/0xb0
tracesys+0xe1/0xe6However, if the percpu_pagelist_fraction sysctl is set by the user, it
is also impossible to restore it to the kernel default since the user
cannot write 0 to the sysctl.This patch allows the user to write 0 to restore the default behavior.
It still requires a fraction equal to or larger than 8, however, as
stated by the documentation for sanity. If a value in the range [1, 7]
is written, the sysctl will return EINVAL.This successfully solves the divide by zero issue at the same time.
Signed-off-by: David Rientjes
Reported-by: Oleg Drokin
Signed-off-by: Andrew Morton
Signed-off-by: Linus Torvalds
Signed-off-by: Jiri Slaby
17 Jul, 2014
1 commit
-
commit 8401aa1f59975c03eeebd3ac6d264cbdfe9af5de upstream.
Update the SubmittingPatches process to include howto about the new
'Fixes:' tag to be used when a patch fixes an issue in a previous commit
(found by git-bisect for example).Signed-off-by: Jacob Keller
Tested-by: Aaron Brown
Signed-off-by: Jeff Kirsher
Cc: Randy Dunlap
Signed-off-by: Andrew Morton
Signed-off-by: Linus Torvalds
Signed-off-by: Jiri Slaby
05 Jul, 2014
1 commit
-
…nux-stable into ti-linux-3.12.y
This is the 3.12.24 stable release
* tag 'v3.12.24' of http://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable: (182 commits)
Linux 3.12.24
xfs: don't perform discard if the given range length is less than block size
xfs: xfs_remove deadlocks due to inverted AGF vs AGI lock ordering
xfs: fix the extent count when allocating an new indirection array entry
xfs: fix possible NULL dereference in xlog_verify_iclog
xfs: prevent stack overflows from page cache allocation
xfs: don't break from growfs ag update loop on error
xfs: don't emit corruption noise on fs probes
xfs: prevent deadlock trying to cover an active log
xfs: fix the wrong new_size/rnew_size at xfs_iext_realloc_direct()
Bluetooth: Fix check for connection encryption
Bluetooth: Fix redundant encryption request for reauthentication
netfilter: ipt_ULOG: fix info leaks
efi-pstore: Fix an overflow on 32-bit builds
builddeb: use $OBJCOPY variable instead of objcopy
x86_32, entry: Do syscall exit work on badsys (CVE-2014-4508)
lz4: fix another possible overrun
btrfs: fix use of uninit "ret" in end_extent_writepage()
Btrfs: fix scrub_print_warning to handle skinny metadata extents
Btrfs: use right type to get real comparison
...Signed-off-by: Dan Murphy <DMurphy@ti.com>
02 Jul, 2014
1 commit
-
commit 3ba08129e38437561df44c36b7ea9081185d5333 upstream.
Currently memory error handler handles action optional errors in the
deferred manner by default. And if a recovery aware application wants
to handle it immediately, it can do it by setting PF_MCE_EARLY flag.
However, such signal can be sent only to the main thread, so it's
problematic if the application wants to have a dedicated thread to
handler such signals.So this patch adds dedicated thread support to memory error handler. We
have PF_MCE_EARLY flags for each thread separately, so with this patch
AO signal is sent to the thread with PF_MCE_EARLY flag set, not the main
thread. If you want to implement a dedicated thread, you call prctl()
to set PF_MCE_EARLY on the thread.Memory error handler collects processes to be killed, so this patch lets
it check PF_MCE_EARLY flag on each thread in the collecting routines.No behavioral change for all non-early kill cases.
Tony said:
: The old behavior was crazy - someone with a multithreaded process might
: well expect that if they call prctl(PF_MCE_EARLY) in just one thread, then
: that thread would see the SIGBUS with si_code = BUS_MCEERR_A0 - even if
: that thread wasn't the main thread for the process.[akpm@linux-foundation.org: coding-style fixes]
Signed-off-by: Naoya Horiguchi
Reviewed-by: Tony Luck
Cc: Kamil Iskra
Cc: Andi Kleen
Cc: Borislav Petkov
Cc: Chen Gong
Signed-off-by: Andrew Morton
Signed-off-by: Linus Torvalds
Signed-off-by: Jiri Slaby
27 Jun, 2014
1 commit
-
commit 00159a2013269bc0a617de885e4b921349192bd0 upstream.
When booting a kexec/kdump kernel on a system that has specific memory
hotplug regions the boot will fail with warnings like:swapper/0: page allocation failure: order:9, mode:0x84d0
CPU: 0 PID: 1 Comm: swapper/0 Not tainted 3.10.0-65.el7.x86_64 #1
Hardware name: QCI QSSC-S4R/QSSC-S4R, BIOS QSSC-S4R.QCI.01.00.S013.032920111005 03/29/2011
0000000000000000 ffff8800341bd8c8 ffffffff815bcc67 ffff8800341bd950
ffffffff8113b1a0 ffff880036339b00 0000000000000009 00000000000084d0
ffff8800341bd950 ffffffff815b87ee 0000000000000000 0000000000000200
Call Trace:
[] dump_stack+0x19/0x1b
[] warn_alloc_failed+0xf0/0x160
[] ? __alloc_pages_direct_compact+0xac/0x196
[] __alloc_pages_nodemask+0x7ff/0xa00
[] vmemmap_alloc_block+0x62/0xba
[] vmemmap_alloc_block_buf+0x15/0x3b
[] vmemmap_populate+0xb4/0x21b
[] sparse_mem_map_populate+0x27/0x35
[] sparse_add_one_section+0x7a/0x185
[] __add_pages+0xaf/0x240
[] arch_add_memory+0x59/0xd0
[] add_memory+0xb9/0x1b0
[] acpi_memory_device_add+0x18d/0x26d
[] acpi_bus_device_attach+0x7d/0xcd
[] acpi_ns_walk_namespace+0xc8/0x17f
[] ? acpi_bus_type_and_status+0x90/0x90
[] ? acpi_bus_type_and_status+0x90/0x90
[] acpi_walk_namespace+0x95/0xc5
[] acpi_bus_scan+0x8b/0x9d
[] acpi_scan_init+0x63/0x160
[] acpi_init+0x25d/0x2a6
[] ? acpi_sleep_proc_init+0x2a/0x2a
[] do_one_initcall+0xe2/0x190
[] kernel_init_freeable+0x17c/0x207
[] ? do_early_param+0x88/0x88
[] ? rest_init+0x80/0x80
[] kernel_init+0xe/0x180
[] ret_from_fork+0x7c/0xb0
[] ? rest_init+0x80/0x80
Mem-Info:
Node 0 DMA per-cpu:
CPU 0: hi: 0, btch: 1 usd: 0
Node 0 DMA32 per-cpu:
CPU 0: hi: 42, btch: 7 usd: 0
active_anon:0 inactive_anon:0 isolated_anon:0
active_file:0 inactive_file:0 isolated_file:0
unevictable:0 dirty:0 writeback:0 unstable:0
free:872 slab_reclaimable:13 slab_unreclaimable:1880
mapped:0 shmem:0 pagetables:0 bounce:0
free_cma:0because the system has run out of memory at boot time. This occurs
because of the following sequence in the boot:Main kernel boots and sets E820 map. The second kernel is booted with a
map generated by the kdump service using memmap= and memmap=exactmap.
These parameters are added to the kernel parameters of the kexec/kdump
kernel. The kexec/kdump kernel has limited memory resources so as not
to severely impact the main kernel.The system then panics and the kdump/kexec kernel boots (which is a
completely new kernel boot). During this boot ACPI is initialized and the
kernel (as can be seen above) traverses the ACPI namespace and finds an
entry for a memory device to be hotadded.ie)
[] __add_pages+0xaf/0x240
[] arch_add_memory+0x59/0xd0
[] add_memory+0xb9/0x1b0
[] acpi_memory_device_add+0x18d/0x26d
[] acpi_bus_device_attach+0x7d/0xcd
[] acpi_ns_walk_namespace+0xc8/0x17f
[] ? acpi_bus_type_and_status+0x90/0x90
[] ? acpi_bus_type_and_status+0x90/0x90
[] acpi_walk_namespace+0x95/0xc5
[] acpi_bus_scan+0x8b/0x9d
[] acpi_scan_init+0x63/0x160
[] acpi_init+0x25d/0x2a6At this point the kernel adds page table information and the the kexec/kdump
kernel runs out of memory.This can also be reproduced by using the memmap=exactmap and mem=X
parameters on the main kernel and booting.This patchset resolves the problem by adding a kernel parameter,
acpi_no_memhotplug, to disable ACPI memory hotplug.Signed-off-by: Prarit Bhargava
Acked-by: Vivek Goyal
Acked-by: Toshi Kani
Acked-by: David Rientjes
Signed-off-by: Rafael J. Wysocki
Signed-off-by: Jiri Slaby
26 Jun, 2014
1 commit
-
…nux-stable into ti-linux-3.12.y
This is the 3.12.23 stable release
* tag 'v3.12.23' of http://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable: (112 commits)
Linux 3.12.23
ARM: at91: fix at91_sysirq_mask_rtc for sam9x5 SoCs
vxlan: use dev->needed_headroom instead of dev->hard_header_len
rtnetlink: fix userspace API breakage for iproute2 < v3.9.0
sctp: Fix sk_ack_backlog wrap-around problem
ipv4: fix a race in ip4_datagram_release_cb()
ipip, sit: fix ipv4_{update_pmtu,redirect} calls
net: force a list_del() in unregister_netdevice_many()
net: qmi_wwan: add Olivetti Olicard modems
net: filter: fix sparc32 typo
net: filter: fix typo in sparc BPF JIT
sh_eth: fix SH7619/771x support
sh_eth: use RNC mode for packet reception
tcp: fix cwnd undo on DSACK in F-RTO
team: fix mtu setting
net: fix inet_getid() and ipv6_select_ident() bugs
net: tunnels - enable module autoloading
bridge: Prevent insertion of FDB entry with disallowed vlan
netlink: rate-limit leftover bytes warning and print process name
qlcnic: info leak in qlcnic_dcb_peer_app_info()
...Conflicts:
arch/arm/mach-omap2/omap_hwmod_54xx_data.cSigned-off-by: Dan Murphy <DMurphy@ti.com>
20 Jun, 2014
2 commits
-
commit f9b2a735bdddf836214b5dca74f6ca7712e5a08c upstream.
Files are measured or appraised based on the IMA policy. When a
file, in policy, is opened with the O_DIRECT flag, a deadlock
occurs.The first attempt at resolving this lockdep temporarily removed the
O_DIRECT flag and restored it, after calculating the hash. The
second attempt introduced the O_DIRECT_HAVELOCK flag. Based on this
flag, do_blockdev_direct_IO() would skip taking the i_mutex a second
time. The third attempt, by Dmitry Kasatkin, resolves the i_mutex
locking issue, by re-introducing the IMA mutex, but uncovered
another problem. Reading a file with O_DIRECT flag set, writes
directly to userspace pages. A second patch allocates a user-space
like memory. This works for all IMA hooks, except ima_file_free(),
which is called on __fput() to recalculate the file hash.Until this last issue is addressed, do not 'collect' the
measurement for measuring, appraising, or auditing files opened
with the O_DIRECT flag set. Based on policy, permit or deny file
access. This patch defines a new IMA policy rule option named
'permit_directio'. Policy rules could be defined, based on LSM
or other criteria, to permit specific applications to open files
with the O_DIRECT flag set.Changelog v1:
- permit or deny file access based IMA policy rulesSigned-off-by: Mimi Zohar
Acked-by: Dmitry Kasatkin
Signed-off-by: Jiri Slaby -
commit e60cbeedc48d80689c249ab5dcc3c31ad0452dea upstream.
Prior to commit 4266129964b8 ("[media] DocBook: Move all media docbook
stuff into its own directory") it was possible to build only a single
(or more) book(s) by calling, for examplemake htmldocs DOCBOOKS=80211.xml
This now fails:
cp: target `.../Documentation/DocBook//media_api' is not a directory
Ignore errors from that copy to make this possible again.
Fixes: 4266129964b8 ("[media] DocBook: Move all media docbook stuff into its own directory")
Signed-off-by: Johannes Berg
Acked-by: Randy Dunlap
Cc: Mauro Carvalho Chehab
Signed-off-by: Andrew Morton
Signed-off-by: Linus Torvalds
Signed-off-by: Jiri Slaby
12 Jun, 2014
1 commit
-
…nux-stable into ti-linux-3.12.y
This is the 3.12.22 stable release
* tag 'v3.12.22' of http://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable: (146 commits)
Linux 3.12.22
netfilter: ipv4: defrag: set local_df flag on defragmented skb
futex: Make lookup_pi_state more robust
futex: Always cleanup owner tid in unlock_pi
futex: Validate atomic acquisition in futex_lock_pi_atomic()
futex-prevent-requeue-pi-on-same-futex.patch futex: Forbid uaddr == uaddr2 in futex_requeue(..., requeue_pi=1)
media: V4L2: fix VIDIOC_CREATE_BUFS in 64- / 32-bit compatibility mode
media: V4L2: ov7670: fix a wrong index, potentially Oopsing the kernel from user-space
media: fc2580: fix tuning failure on 32-bit arch
iommu/amd: Fix interrupt remapping for aliased devices
libceph: fix corruption when using page_count 0 page in rbd
spi: core: Ignore unsupported Dual/Quad Transfer Mode bits
powerpc, kexec: Fix "Processor X is stuck" issue during kexec from ST mode
powerpc: Fix 64 bit builds with binutils 2.24
powerpc/powernv: Reset root port in firmware
crypto: caam - add allocation failure handling in SPRINTFCAT macro
i2c: s3c2410: resume race fix
i2c: designware: Mask all interrupts during i2c controller enable
i2c: rcar: bail out on zero length transfers
ACPI: blacklist win8 OSI for Dell Inspiron 7737
...Conflicts:
drivers/base/dd.cSigned-off-by: Dan Murphy <DMurphy@ti.com>
09 Jun, 2014
2 commits
-
commit 36189cc3cd57ab0f1cd75241f93fe01de928ac06 upstream.
The hw_version 3 Elantech touchpad on the Gigabyte U2442 does not accept
0x0b as initialization value for r10, this stand-alone version of the
driver: http://planet76.com/drivers/elantech/psmouse-elantech-v6.tar.bz2Uses 0x03 which does work, so this means not setting bit 3 of r10 which
sets: "Enable Real H/W Resolution In Absolute mode"Which will result in half the x and y resolution we get with that bit set,
so simply not setting it everywhere is not a solution. We've been unable to
find a way to identify touchpads where setting the bit will fail, so this
patch uses a dmi based blacklist for this.https://bugzilla.kernel.org/show_bug.cgi?id=61151
Reported-by: Philipp Wolfer
Tested-by: Philipp Wolfer
Signed-off-by: Hans de Goede
Signed-off-by: Dmitry Torokhov
Signed-off-by: Jiri Slaby -
commit 98b0f811aade1b7c6e7806c86aa0befd5919d65f upstream.
The English and Korean translations were updated, the Chinese and Japanese
weren't.Signed-off-by: Geert Uytterhoeven
Signed-off-by: Jiri Slaby
Signed-off-by: Jiri Slaby
16 May, 2014
1 commit
-
…nux-stable into ti-linux-3.12.y
This is the 3.12.20 stable release
* tag 'v3.12.20' of http://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable: (184 commits)
Linux 3.12.20
drm: cirrus: add power management support
Input: synaptics - add min/max quirk for ThinkPad Edge E431
Input: synaptics - add min/max quirk for ThinkPad T431s, L440, L540, S1 Yoga and X1
mmc: sdhci-bcm-kona: fix build errors when built-in
lib/percpu_counter.c: fix bad percpu counter state during suspend
lockd: ensure we tear down any live sockets when socket creation fails during lockd_up
aio: v4 ensure access to ctx->ring_pages is correctly serialised for migration
dma: edma: fix incorrect SG list handling
dm thin: fix dangling bio in process_deferred_bios error path
dm: take care to copy the space map roots before locking the superblock
dm transaction manager: fix corruption due to non-atomic transaction commit
dm cache: prevent corruption caused by discard_block_size > cache_block_size
Skip intel_crt_init for Dell XPS 8700
mtd: sm_ftl: heap corruption in sm_create_sysfs_attributes()
mtd: nuc900_nand: NULL dereference in nuc900_nand_enable()
mtd: atmel_nand: Disable subpage NAND write when using Atmel PMECC
tgafb: fix data copying
gpio: mxs: Allow for recursive enable_irq_wake() call
rtlwifi: rtl8188ee: initialize packet_beacon
...Signed-off-by: Dan Murphy <DMurphy@ti.com>
15 May, 2014
2 commits
-
commit 61f0319193c44adbbada920162d880b1fdb3aeb3 upstream.
Signed-off-by: Wolfram Sang
Signed-off-by: Hans de Goede
Signed-off-by: Mauro Carvalho Chehab
Signed-off-by: Jiri Slaby -
commit 12f6dd860cf8bf036c0bec38c00a53da71bcd43a upstream.
Wolfram Sang pointed out that "efm32,$device" is non-standard. So use the
common scheme and prefix device with "efm32-". The old compatible string
is left in place until arch/arm/boot/dts/efm32* is fixed.Signed-off-by: Uwe Kleine-König
Acked-by: Wolfram Sang
Signed-off-by: Mark Brown
Signed-off-by: Jiri Slaby
13 May, 2014
1 commit
-
…nux-stable into ti-linux-3.12.y
This is the 3.12.19 stable release
* tag 'v3.12.19' of http://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable: (51 commits)
Linux 3.12.19
exit: call disassociate_ctty() before exit_task_namespaces()
wait: fix reparent_leader() vs EXIT_DEAD->EXIT_ZOMBIE race
sparc64: Make sure %pil interrupts are enabled during hypervisor yield.
sparc64: don't treat 64-bit syscall return codes as 32-bit
sparc32: fix build failure for arch_jump_label_transform
jffs2: remove from wait queue after schedule()
jffs2: avoid soft-lockup in jffs2_reserve_space_gc()
jffs2: Fix crash due to truncation of csize
jffs2: Fix segmentation fault found in stress test
ext4: fix premature freeing of partial clusters split across leaf blocks
ext4: fix partial cluster handling for bigalloc file systems
ext4: fix error return from ext4_ext_handle_uninitialized_extents()
Btrfs: fix deadlock with nested trans handles
Btrfs: skip submitting barrier for missing device
xfs: fix directory hash ordering bug
Bluetooth: Fix removing Long Term Key
pid_namespace: pidns_get() should check task_active_pid_ns() != NULL
tty: Fix low_latency BUG
tty: Set correct tty name in 'active' sysfs attribute
...Conflicts:
drivers/pci/host/pcie-designware.cSigned-off-by: Dan Murphy <dmurphy@ti.com>
05 May, 2014
1 commit
-
commit 1b31e9b76ef8c62291e698dfdb973499986a7f68 upstream.
Add Device ID of Intel BayTrail SMBus Controller.
Signed-off-by: Chew, Kean ho
Signed-off-by: Chew, Chiau Ee
Reviewed-by: Jean Delvare
Signed-off-by: Wolfram Sang
Signed-off-by: Jiri Slaby
24 Apr, 2014
1 commit
-
…nux-stable into ti-linux-3.12.y
This is the 3.12.18 stable release
* tag 'v3.12.18' of http://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable: (73 commits)
Linux 3.12.18
crypto: ghash-clmulni-intel - use C implementation for setkey()
ARC: [nsimosci] Unbork console
ARC: [nsimosci] Change .dts to use generic 8250 UART
rds: prevent dereference of a NULL device in rds_iw_laddr_check
isdnloop: several buffer overflows
isdnloop: Validate NUL-terminated strings from user.
net: vxlan: fix crash when interface is created with no group
xen-netback: disable rogue vif in kthread context
netlink: don't compare the nul-termination in nla_strcmp
ipv6: some ipv6 statistic counters failed to disable bh
xen-netback: remove pointless clause from if statement
vhost: validate vhost_get_vq_desc return value
vhost: fix total length when packets are too short
vlan: Set hard_header_len according to available acceleration
usbnet: include wait queue head in device structure
tg3: Do not include vlan acceleration features in vlan_features
ip_tunnel: Fix dst ref-count.
tipc: fix spinlock recursion bug for failed subscriptions
netpoll: fix the skb check in pkt_is_ns
...Signed-off-by: Dan Murphy <DMurphy@ti.com>
18 Apr, 2014
1 commit
-
[ Upstream commit ebf4ad955d3e26d4d2a33709624fc7b5b9d3b969 ]
Few platforms use external regulator to keep the ethernet MAC supplied.
So, request and enable the regulator for driver functionality.Fixes: 66fda75f47dc (regulator: core: Replace direct ops->disable usage)
Reported-by: Russell King
Suggested-by: Markus Pargmann
Signed-off-by: Nishanth Menon
Signed-off-by: David S. Miller
Signed-off-by: Jiri Slaby
08 Apr, 2014
1 commit
-
…nux-stable into ti-linux-3.12.y
This is the 3.12.17 stable release
* tag 'v3.12.17' of http://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable: (42 commits)
Linux 3.12.17
netfilter: nf_conntrack_dccp: fix skb_header_pointer API usages
mm: close PageTail race
net: mvneta: fix usage as a module on RGMII configurations
net: mvneta: rename MVNETA_GMAC2_PSC_ENABLE to MVNETA_GMAC2_PCS_ENABLE
make prepend_name() work correctly when called with negative *buflen
x86: fix boot on uniprocessor systems
drm/i915: Undo gtt scratch pte unmapping again
i2c: cpm: Fix build by adding of_address.h and of_irq.h
Revert "xen: properly account for _PAGE_NUMA during xen pte translations"
xen/balloon: flush persistent kmaps in correct position
Input: cypress_ps2 - don't report as a button pads
Input: synaptics - add manual min/max quirk for ThinkPad X240
Input: synaptics - add manual min/max quirk
Input: mousedev - fix race when creating mixed device
ext4: atomically set inode->i_flags in ext4_set_inode_flags()
s390/time,vdso: fix clock_gettime for CLOCK_MONOTONIC
Input: wacom - add support for three new Intuos Pro devices
ipvs: fix AF assignment in ip_vs_conn_new()
FS-Cache: Handle removal of unadded object to the fscache_object_list rb tree
...Signed-off-by: Dan Murphy <DMurphy@ti.com>
02 Apr, 2014
1 commit
-
commit afc659241258b40b683998ec801d25d276529f43 upstream.
This patch adds the SMBus Device IDs for the Intel Wildcat Point-LP PCH.
Signed-off-by: James Ralston
Signed-off-by: Wolfram Sang
Signed-off-by: Jiri Slaby
26 Mar, 2014
1 commit
-
…nux-stable into ti-linux-3.12.y
This is the 3.12.11 stable release
* tag 'v3.12.11' of http://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable: (108 commits)
Linux 3.12.11
mmc: sdhci-pci: Fix possibility of chip->fixes being null
mmc: sdhci-pci: Fix BYT sd card getting stuck in runtime suspend
rtc-cmos: Add an alarm disable quirk
timekeeping: Fix missing timekeeping_update in suspend path
timekeeping: Fix CLOCK_TAI timer/nanosleep delays
3.13.y: timekeeping: Fix clock_set/clock_was_set think-o
timekeeping: Avoid possible deadlock from clock_was_set_delayed
timekeeping: Fix potential lost pv notification of time change
timekeeping: Fix lost updates to tai adjustment
ftrace: Have function graph only trace based on global_ops filters
ftrace: Fix synchronization location disabling and freeing ftrace_ops
ftrace: Synchronize setting function_trace_op with ftrace_trace_function
drm/mgag200,ast,cirrus: fix regression with drm_can_sleep conversion
drm/mgag200: fix typo causing bw limits to be ignored on some chips
drm/mgag200: fix oops in cursor code.
drm/vmwgfx: Fix regression caused by "drm/ttm: make ttm reservation calls behave like reservation calls"
drm: ast,cirrus,mgag200: use drm_can_sleep
drm/gma500: Lock struct_mutex around cursor updates
drm/rcar-du: Update plane pitch in .mode_set_base() operation
...Signed-off-by: Dan Murphy <DMurphy@ti.com>
14 Feb, 2014
1 commit
-
commit 778c14affaf94a9e4953179d3e13a544ccce7707 upstream.
A 3% of system memory bonus is sometimes too excessive in comparison to
other processes.With commit a63d83f427fb ("oom: badness heuristic rewrite"), the OOM
killer tries to avoid killing privileged tasks by subtracting 3% of
overall memory (system or cgroup) from their per-task consumption. But
as a result, all root tasks that consume less than 3% of overall memory
are considered equal, and so it only takes 33+ privileged tasks pushing
the system out of memory for the OOM killer to do something stupid and
kill dhclient or other root-owned processes. For example, on a 32G
machine it can't tell the difference between the 1M agetty and the 10G
fork bomb member.The changelog describes this 3% boost as the equivalent to the global
overcommit limit being 3% higher for privileged tasks, but this is not
the same as discounting 3% of overall memory from _every privileged task
individually_ during OOM selection.Replace the 3% of system memory bonus with a 3% of current memory usage
bonus.By giving root tasks a bonus that is proportional to their actual size,
they remain comparable even when relatively small. In the example
above, the OOM killer will discount the 1M agetty's 256 badness points
down to 179, and the 10G fork bomb's 262144 points down to 183500 points
and make the right choice, instead of discounting both to 0 and killing
agetty because it's first in the task list.Signed-off-by: David Rientjes
Reported-by: Johannes Weiner
Acked-by: Johannes Weiner
Cc: Michal Hocko
Signed-off-by: Andrew Morton
Signed-off-by: Linus Torvalds
Signed-off-by: Greg Kroah-Hartman
07 Feb, 2014
4 commits
-
…nux-stable into ti-linux-3.12.y
This is the 3.12.10 stable release
* tag 'v3.12.10' of http://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable: (133 commits)
Linux 3.12.10
x86, cpu, amd: Add workaround for family 16h, erratum 793
powerpc: Make sure "cache" directory is removed when offlining cpu
powerpc: Fix the setup of CPU-to-Node mappings during CPU online
btrfs: restrict snapshotting to own subvolumes
Btrfs: handle EAGAIN case properly in btrfs_drop_snapshot()
target/iscsi: Fix network portal creation race
iscsi-target: Pre-allocate more tags to avoid ack starvation
virtio-scsi: Fix hotcpu_notifier use-after-free with virtscsi_freeze
SCSI: bfa: Chinook quad port 16G FC HBA claim issue
usb: core: get config and string descriptors for unauthorized devices
hpfs: remember free space
ALSA: hda/hdmi - allow PIN_OUT to be dynamically enabled
ALSA: hda - hdmi: introduce patch_nvhdmi()
ALSA: hda - Don't set indep_hp flag for old AD codecs
KVM: PPC: e500: Fix bad address type in deliver_tlb_misss()
KVM: PPC: Book3S HV: use xics_wake_cpu only when defined
parisc: fix cache-flushing
alpha: fix broken network checksum
inet_diag: fix inet_diag_dump_icsk() timewait socket state logic
...Signed-off-by: Dan Murphy <DMurphy@ti.com>
-
commit 032f708bc4f6da868ec49dac48ddf3670d8035d3 upstream.
The locations of SMBus register base address and enablement bit are changed
from AMD ML, which need this patch to be supported.Signed-off-by: Shane Huang
Reviewed-by: Jean Delvare
Signed-off-by: Wolfram Sang
Signed-off-by: Greg Kroah-Hartman -
commit f8b94beb7e6a374cb0de531b72377c49857b35ca upstream.
The first variants of Armada XP SoCs (A0 stepping) have issues related
to the i2c controller which prevent to use the offload mechanism and
lead to a kernel hang during boot.The commit introduces a new the compatible string
marvell,mv78230-a0-i2c for the i2c controller.Signed-off-by: Gregory CLEMENT
Acked-by: Arnd Bergmann
cc: devicetree@vger.kernel.org
Fixes: 930ab3d403ae (i2c: mv64xxx: Add I2C Transaction Generator support)
Signed-off-by: Jason Cooper
Signed-off-by: Greg Kroah-Hartman -
commit b1f5c73bd5a4752efb7d7af019034044b08aafe9 upstream.
The sata_mv driver supports the SATA IP found in several Marvell SoCs.
As some new SATA registers have been introduced with the Armada 370/XP
SoCs, a way to identify them is needed.This patch introduces a new compatible string for the SATA IP found in
Armada 370/XP SoCs.Signed-off-by: Simon Guinot
Cc: Thomas Petazzoni
Cc: Jason Cooper
Cc: Andrew Lunn
Cc: Gregory Clement
Cc: Sebastian Hesselbarth
Cc: Lior Amsalem
Acked-by: Jason Cooper
Signed-off-by: Tejun Heo
Signed-off-by: Greg Kroah-Hartman
04 Feb, 2014
2 commits
-
…-linux-feature-tree into ti-linux-3.12.y
TI-Feature: power_management_base
TI-Tree: git://git.ti.com/~kristo/ti-linux-kernel/pm-linux-feature-tree.git
TI-Branch: pm-ti-linux-3.12.y* 'pm-ti-linux-3.12.y' of git://git.ti.com/~kristo/ti-linux-kernel/pm-linux-feature-tree:
ARM: OMAP2+: AM43xx: Enable DeepSleep0 for DDR3 boards
ARM: AM43XX: Bump firmware requirement for DDR3 DS0
ARM: dts: am437x-gp-evm: Enable wkup_m3 control of IO isolation
ARM: dts: am437x-gp-evm: Add state for ddr3 vtt toggle pin
ARM: OMAP2+: AM43xx: Add support for IO Isolation
opp-modifier: Add default failover case and PG1.1 support for am43xx
opp-modifier: Add default failover case for am33xxConflicts:
arch/arm/boot/dts/am437x-gp-evm.dtsSigned-off-by: Dan Murphy <DMurphy@ti.com>
-
With this flag wkup_m3 is able to control IO isolation during
suspend on the board.Signed-off-by: Dave Gerlach
03 Feb, 2014
1 commit
-
To be able to integrate the ATL provided clocks to the clock tree we need
to change the driver architecture.
For seamless integration two types of DT binding will be needed:
- DT clock nodes to represent the ATL clocks
- binding for the ATL IP itself which is going to handle the hw configurationWith this change pm_runtime can handle the ATL clock on demand of it's use
and all the IP which needs ATL clock can be sure that it is enabled for
them.Signed-off-by: Tero Kristo
Signed-off-by: Peter Ujfalusi
30 Jan, 2014
1 commit
-
add support for enabling Dual data rate mode for Device tree boot.
Signed-off-by: Balaji T K
18 Jan, 2014
2 commits
-
…x-stable into ti-linux-3.12.y
This is the 3.12.8 stable release
* tag 'v3.12.8' of git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable: (78 commits)
Linux 3.12.8
sched: Guarantee new group-entities always have weight
sched: Fix hrtimer_cancel()/rq->lock deadlock
sched: Fix cfs_bandwidth misuse of hrtimer_expires_remaining
sched: Fix race on toggling cfs_bandwidth_used
x86, fpu, amd: Clear exceptions in AMD FXSAVE workaround
netfilter: nf_nat: fix access to uninitialized buffer in IRC NAT helper
netfilter: fix wrong byte order in nf_ct_seqadj_set internal information
SCSI: sd: Reduce buffer size for vpd request
intel_pstate: Add X86_FEATURE_APERFMPERF to cpu match parameters.
mac80211: move "bufferable MMPDU" check to fix AP mode scan
ACPI / Battery: Add a _BIX quirk for NEC LZ750/LS
ACPI / TPM: fix memory leak when walking ACPI namespace
mfd: rtsx_pcr: Disable interrupts before cancelling delayed works
leds: lp5521/5523: Remove duplicate mutex
clk: exynos5250: fix sysmmu_mfc{l,r} gate clocks
clk: samsung: exynos5250: Add CLK_IGNORE_UNUSED flag for the sysreg clock
clk: samsung: exynos5250: Add MDMA0 clocks
clk: samsung: exynos5250: Fix ACP gate register offset
clk: samsung: exynos4: Correct SRC_MFC register
...Signed-off-by: Dan Murphy <dmurphy@ti.com>
-
…x-stable into ti-linux-3.12.y
This is the 3.12.7 stable release
* tag 'v3.12.7' of git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable: (154 commits)
Linux 3.12.7
sh: add EXPORT_SYMBOL(min_low_pfn) and EXPORT_SYMBOL(max_low_pfn) to sh_ksyms_32.c
ext4: fix bigalloc regression
ACPIPHP / radeon / nouveau: Fix VGA switcheroo problem related to hotplug
nouveau_acpi: convert acpi_get_handle() to acpi_has_method()
aio/migratepages: make aio migrate pages sane
aio: clean up and fix aio_setup_ring page mapping
clocksource: dw_apb_timer_of: Fix support for dts binding "snps,dw-apb-timer"
clocksource: dw_apb_timer_of: Fix read_sched_clock
selinux: process labeled IPsec TCP SYN-ACK packets properly in selinux_ip_postroute()
selinux: look for IPsec labels on both inbound and outbound packets
sh: always link in helper functions extracted from libgcc
gpio: msm: Fix irq mask/unmask by writing bits instead of numbers
gpio: twl4030: Fix regression for twl gpio LED output
sh-pfc: Fix PINMUX_GPIO macro
jbd2: don't BUG but return ENOSPC if a handle runs out of space
s390/3270: fix allocation of tty3270_screen structure
ARM: sun7i: dt: Fix interrupt trigger types
memcg: fix memcg_size() calculation
GFS2: Fix incorrect invalidation for DIO/buffered I/O
...Conflicts:
arch/arm/mach-omap2/omap_hwmod_7xx_data.c
drivers/usb/musb/musb_core.cSigned-off-by: Dan Murphy <dmurphy@ti.com>
17 Jan, 2014
1 commit
-
Conflicts:
arch/arm/mach-omap2/io.cSigned-off-by: Tero Kristo
16 Jan, 2014
1 commit
-
commit 8fb9aeb7a71ef4f3e0613d459a2e1366a7a90469 upstream.
Adds gate clock for MDMA0 on Exynos5250 SoC. This is needed to ensure
that the clock is enabled when MDMA0 is used on systems on which
firmware gates the clockby default.Signed-off-by: Abhilash Kesavan
Acked-by: Mike Turquette
[t.figa: Updated patch description.]
Signed-off-by: Tomasz Figa
Signed-off-by: Greg Kroah-Hartman