[PATCH 2/2] ARM: at91/dt: use "atmel,sama5d3-nfc" compatible for nfc

2016-05-09 Thread Wenyou Yang
Due to the compatible "atmel,sama5d4-nfc" removal, use "atmel,sama5d3-nfc" for the sama5d2's nfc node. Signed-off-by: Wenyou Yang --- arch/arm/boot/dts/sama5d2.dtsi | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm/boot/dts/sama5d2.dtsi b/arch/arm/boot/dts/sama5d2.dts

Re: [PATCH] gpio: sch: Fix Oops on module load on Asus Eee PC 1201

2016-05-09 Thread Mika Westerberg
On Fri, May 06, 2016 at 10:49:25PM +0100, Colin Pitrat wrote: > This fixes the issue descirbe in bug 117531. Can you include the oops log in the changelog as well? > It's a regression introduced in linux 4.5 that causes a Oops at load of > gpio_sch and prevents powering off the computer. > > Th

Re: [PATCH 0/6] Intel Secure Guard Extensions

2016-05-09 Thread Greg KH
On Mon, May 09, 2016 at 08:38:25AM +0300, Jarkko Sakkinen wrote: > On Fri, May 06, 2016 at 01:54:14PM +0200, Thomas Gleixner wrote: > > On Fri, 6 May 2016, Jarkko Sakkinen wrote: > > > > > On Tue, May 03, 2016 at 04:06:27AM -0500, Dr. Greg Wettstein wrote: > > > > It would be helpful and instructi

Re: [PATCH] sched: fix the calculation of __sched_period in sched_slice()

2016-05-09 Thread Peter Zijlstra
On Mon, May 09, 2016 at 10:45:57AM +0800, Zhou Chengming wrote: > When we get the sched_slice of a sched_entity, we use cfs_rq->nr_running > to calculate the whole __sched_period. But cfs_rq->nr_running is the > number of sched_entity in that cfs_rq, rq->nr_running is the number > of all the tasks

[RFC PATCH] regulator: introduce boot protection flag

2016-05-09 Thread WEN Pingbo
In some platforms, critical shared regulator is initialized in bootloader. But during kernel booting, the driver probing order and conflicting operations from other regulator consumers, may set the regulator in a undefined state, which will cause serious problem. This patch try to add a boot_prote

Re: [GIT PULL] move ARM LCD display driver to auxdisplay

2016-05-09 Thread Robin van der Gracht
On Fri, 29 Apr 2016 17:53:17 +0300 Tomi Valkeinen wrote: [...] > >> > >> Small problem for me, but Robin is submitting a brand new > >> auxdisplay driver: > >> http://marc.info/?l=linux-kernel&m=146001950512999&w=2 > >> http://marc.info/?l=linux-kernel&m=146001988013230&w=2 > > > > My underst

Re: [PATCH 3/6] intel_sgx: driver for Intel Secure Guard eXtensions

2016-05-09 Thread Jarkko Sakkinen
On Mon, May 09, 2016 at 08:29:17AM +0300, Jarkko Sakkinen wrote: > On Fri, Apr 29, 2016 at 03:22:19PM -0700, Jethro Beekman wrote: > > On 29-04-16 13:04, Jarkko Sakkinen wrote: > > >>> Why would you want to do that? > > >> > > >> ... > > > > > > Do you see this as a performance issue or why do you

[PATCH] x86: text_poke, check if text_mutex is held

2016-05-09 Thread Jiri Slaby
This is required by the function, so use lockdep (if available) to check the dependency. Signed-off-by: Jiri Slaby Cc: Thomas Gleixner Cc: Ingo Molnar Cc: "H. Peter Anvin" Cc: x...@kernel.org --- arch/x86/kernel/alternative.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/arch/x86/kern

Re: [PATCH v2 1/2] mm, kasan: improve double-free detection

2016-05-09 Thread Dmitry Vyukov
On Sat, May 7, 2016 at 5:15 PM, Luruo, Kuthonuzo wrote: > Thank you for the review! > >> > + >> > +/* acquire per-object lock for access to KASAN metadata. */ >> >> I believe there's strong reason not to use standard spin_lock() or >> similar. I think it's proper place to explain it. >> > > will d

Re: [PATCH -repost] kgdb: depends on VT

2016-05-09 Thread Jiri Slaby
On 03/31/2016, 02:01 PM, Jason Wessel wrote: > On 03/31/2016 03:29 AM, Jiri Slaby wrote: >> With VT=n, the kernel build fails with: >> drivers/built-in.o: In function `kgdboc_pre_exp_handler': >> kgdboc.c:(.text+0x7b5aa): undefined reference to `fg_console' >> kgdboc.c:(.text+0x7b5ce): undefined re

Re: [PATCH 1/4] locking/rwsem: Avoid stale ->count for rwsem_down_write_failed()

2016-05-09 Thread Peter Zijlstra
On Sun, May 08, 2016 at 10:36:21PM -0700, Peter Hurley wrote: > On 05/08/2016 09:56 PM, Davidlohr Bueso wrote: > > The field is obviously updated w.o the lock and needs a READ_ONCE > > while waiting for lock holder(s) to go away, just like we do with > > all other ->count accesses. > > This isn't

[PATCH 7/7] tty: 8250, kill DEBUG_INTR

2016-05-09 Thread Jiri Slaby
Convert DEBUG_INTR to pr_debug: * defined semantics (DEBUG, DYNAMIC_DEBUG) * KERN_DEBUG level instead of KERN_DEFAULT * emit __func__ and \n * verified 'fmt' even when !DEBUG I wonder if anybody ever used that or whether we should just drop the lines. Signed-off-by: Jiri Slaby --- drivers/tty/s

[PATCH 6/7] tty: 8250, drop unused members from struct old_serial_port

2016-05-09 Thread Jiri Slaby
hub6 and irqflags from struct old_serial_port are nowhere set. Drop them from the structure and replace the reads by zeros. Signed-off-by: Jiri Slaby --- drivers/tty/serial/8250/8250.h | 2 -- drivers/tty/serial/8250/8250_core.c | 4 ++-- 2 files changed, 2 insertions(+), 4 deletions(-) di

[PATCH 1/7] tty: ipwireless, cleanup TIOCGSERIAL

2016-05-09 Thread Jiri Slaby
In ipwireless_get_serial_info, struct serial_struct is memset to 0 and then some members set to 0 explicitly. Remove the latter as it is obviously superfluous. And remove the retinfo check against NULL. copy_to_user will take care of that. Part of hub6 cleanup series. Signed-off-by: Jiri Slaby

[PATCH 5/7] tty: stop defining STD_COM_FLAGS in drivers

2016-05-09 Thread Jiri Slaby
STD_COM_FLAGS is mostly a bad name for what the drivers thinks it is. Stop using it and pass the flags directly. cyclades defines it as 0, so we do not assign anything to freshly tty_port_init'ed structure. Signed-off-by: Jiri Slaby --- arch/xtensa/platforms/xt2000/setup.c | 1 - drivers/tty/cy

[PATCH 3/7] tty: cyclades+mxser, do not initialize to zero

2016-05-09 Thread Jiri Slaby
Do not initialize members of initialized structures to zero. They are zeroed automatically. Part of hub6 cleanup series. Signed-off-by: Jiri Slaby --- drivers/tty/cyclades.c | 1 - drivers/tty/mxser.c| 1 - 2 files changed, 2 deletions(-) diff --git a/drivers/tty/cyclades.c b/drivers/tty/c

[PATCH 2/7] net: ircomm, cleanup TIOCGSERIAL

2016-05-09 Thread Jiri Slaby
In ircomm_tty_get_serial_info, struct serial_struct is memset to 0 and then some members set to 0 explicitly. Remove the latter as it is obviously superfluous. And remove the retinfo check against NULL. copy_to_user will take care of that. Part of hub6 cleanup series. Signed-off-by: Jiri Slaby

[PATCH 4/7] tty: frv, remove unused serial macros

2016-05-09 Thread Jiri Slaby
STD_COM_FLAGS needs not be defined as it is not used anywhere on frv. SERIAL_PORT_DFNS is defined to be empty. 8250 is aware of empty SERIAL_PORT_DFNS and does: #ifndef SERIAL_PORT_DFNS #define SERIAL_PORT_DFNS #endif So no need to define it on frv. Signed-off-by: Jiri Slaby Cc: David Howell

[PATCH v2] debugobjects: insulate non-fixup logic related to static obj from fixup callbacks

2016-05-09 Thread changbin . du
From: "Du, Changbin" When activate a static object, we need make sure that the object is tracked in the object tracker. If it is a non-static object, then the activation illegal. In previous implementation, each subsystem need take care of this in their fixup callbacks. Actually we can put it in

[PATCH 3.14 12/23] batman-adv: Check skb size before using encapsulated ETH+VLAN header

2016-05-09 Thread Greg Kroah-Hartman
3.14-stable review patch. If anyone has any objections, please let me know. -- From: Sven Eckelmann commit c78296665c3d81f040117432ab9e1cb125521b0c upstream. The encapsulated ethernet and VLAN header may be outside the received ethernet frame. Thus the skb buffer size has to b

[PATCH 3.14 16/23] x86/tsc: Read all ratio bits from MSR_PLATFORM_INFO

2016-05-09 Thread Greg Kroah-Hartman
3.14-stable review patch. If anyone has any objections, please let me know. -- From: Chen Yu commit 886123fb3a8656699dff40afa0573df359abeb18 upstream. Currently we read the tsc radio: ratio = (MSR_PLATFORM_INFO >> 8) & 0x1f; Thus we get bit 8-12 of MSR_PLATFORM_INFO, however

[PATCH 3.14 14/23] batman-adv: Reduce refcnt of removed router when updating route

2016-05-09 Thread Greg Kroah-Hartman
3.14-stable review patch. If anyone has any objections, please let me know. -- From: Sven Eckelmann commit d1a65f1741bfd9c69f9e4e2ad447a89b6810427d upstream. _batadv_update_route rcu_derefences orig_ifinfo->router outside of a spinlock protected region to print some informatio

[PATCH 3.14 00/23] 3.14.69-stable review

2016-05-09 Thread Greg Kroah-Hartman
This is the start of the stable review cycle for the 3.14.69 release. There are 23 patches in this series, all will be posted as a response to this one. If anyone has any issues with these being applied, please let me know. Responses should be made by Wed May 11 07:16:11 UTC 2016. Anything receiv

[PATCH 3.14 10/23] Input: zforce_ts - fix dual touch recognition

2016-05-09 Thread Greg Kroah-Hartman
3.14-stable review patch. If anyone has any objections, please let me know. -- From: Knut Wohlrab commit 6984ab1ab35f422292b7781c65284038bcc0f6a6 upstream. A wrong decoding of the touch coordinate message causes a wrong touch ID. Touch ID for dual touch must be 0 or 1. Accord

[PATCH 3.14 01/23] compiler-gcc: integrate the various compiler-gcc[345].h files

2016-05-09 Thread Greg Kroah-Hartman
3.14-stable review patch. If anyone has any objections, please let me know. -- From: Joe Perches commit f320793e52aee78f0fbb8bcaf10e6614d2e67bfc upstream. [ Upstream commit cb984d101b30eb7478d32df56a0023e4603cba7f ] As gcc major version numbers are going to advance rather rap

[PATCH 3.14 09/23] ARM: SoCFPGA: Fix secondary CPU startup in thumb2 kernel

2016-05-09 Thread Greg Kroah-Hartman
3.14-stable review patch. If anyone has any objections, please let me know. -- From: Sascha Hauer commit 5616f36713ea77f57ae908bf2fef641364403c9f upstream. The secondary CPU starts up in ARM mode. When the kernel is compiled in thumb2 mode we have to explicitly compile the sec

[PATCH 4.4 02/67] RDMA/iw_cxgb4: Fix bar2 virt addr calculation for T4 chips

2016-05-09 Thread Greg Kroah-Hartman
4.4-stable review patch. If anyone has any objections, please let me know. -- From: Hariprasad S commit 32cc92c7b5e52357a0a24010bae9eb257fa75d3e upstream. For T4, kernel mode qps don't use the user doorbell. User mode qps during flow control db ringing are forced into kernel,

[PATCH 4.4 03/67] ipvs: handle ip_vs_fill_iph_skb_off failure

2016-05-09 Thread Greg Kroah-Hartman
4.4-stable review patch. If anyone has any objections, please let me know. -- From: Arnd Bergmann commit 3f20efba41916ee17ce82f0fdd02581ada2872b2 upstream. ip_vs_fill_iph_skb_off() may not find an IP header, and gcc has determined that ip_vs_sip_fill_param() then incorrectly a

[PATCH 4.4 13/67] clk: rockchip: free memory in error cases when registering clock branches

2016-05-09 Thread Greg Kroah-Hartman
4.4-stable review patch. If anyone has any objections, please let me know. -- From: Shawn Lin commit 2467b6745e0ae9c6cdccff24c4cceeb14b1cce3f upstream. Add free memeory if rockchip_clk_register_branch fails. Fixes: a245fecbb806 ("clk: rockchip: add basic infrastructure...") S

[PATCH 4.4 19/67] ath9k: ar5008_hw_cmn_spur_mitigate: add missing mask_m & mask_p initialisation

2016-05-09 Thread Greg Kroah-Hartman
4.4-stable review patch. If anyone has any objections, please let me know. -- From: Oleksij Rempel commit de478a61389cacafe94dc8b035081b681b878f9d upstream. by moving common code to ar5008_hw_cmn_spur_mitigate i forgot to move mask_m & mask_p initialisation. This coused a perf

[PATCH 4.4 01/67] Revert: "powerpc/tm: Check for already reclaimed tasks"

2016-05-09 Thread Greg Kroah-Hartman
4.4-stable review patch. If anyone has any objections, please let me know. -- This reverts commit e924c60db1b4891e45d15a33474ac5fab62cf029 which was commit 7f821fc9c77a9b01fe7b1d6e72717b33d8d64142 upstream. It shouldn't have been applied as the original was already in 4.4. Repo

[PATCH 3.14 19/23] USB: serial: cp210x: add ID for Link ECU

2016-05-09 Thread Greg Kroah-Hartman
3.14-stable review patch. If anyone has any objections, please let me know. -- From: Mike Manning commit 1d377f4d690637a0121eac8701f84a0aa1e69a69 upstream. The Link ECU is an aftermarket ECU computer for vehicles that provides full tuning abilities as well as datalogging and d

[PATCH 4.4 08/67] ata: ahci_xgene: dereferencing uninitialized pointer in probe

2016-05-09 Thread Greg Kroah-Hartman
4.4-stable review patch. If anyone has any objections, please let me know. -- From: Dan Carpenter commit 8134233e8d346aaa1c929dc510e75482ae318bce upstream. If the call to acpi_get_object_info() fails then "info" hasn't been initialized. In that situation, we already know that

[PATCH 3.14 22/23] Input: ads7846 - correct the value got from SPI

2016-05-09 Thread Greg Kroah-Hartman
3.14-stable review patch. If anyone has any objections, please let me know. -- From: Andrey Gelman commit 879f2fea8a5a748bcbf98d2cdce9139c045505d3 upstream. According to the touch controller spec, SPI return a 16 bit value, only 12 bits are valid, they are bit[14-3]. The valu

[PATCH 3.14 04/23] ipvs: correct initial offset of Call-ID header search in SIP persistence engine

2016-05-09 Thread Greg Kroah-Hartman
3.14-stable review patch. If anyone has any objections, please let me know. -- From: Marco Angaroni commit 7617a24f83b5d67f4dab1844956be1cebc44aec8 upstream. The IPVS SIP persistence engine is not able to parse the SIP header "Call-ID" when such header is inserted in the first

[PATCH 4.4 18/67] lpfc: fix misleading indentation

2016-05-09 Thread Greg Kroah-Hartman
4.4-stable review patch. If anyone has any objections, please let me know. -- From: Arnd Bergmann commit aeb6641f8ebdd61939f462a8255b316f9bfab707 upstream. gcc-6 complains about the indentation of the lpfc_destroy_vport_work_array() call in lpfc_online(), which clearly doesn't

[PATCH 4.4 43/67] fs/pnode.c: treat zero mnt_group_id-s as unequal

2016-05-09 Thread Greg Kroah-Hartman
4.4-stable review patch. If anyone has any objections, please let me know. -- From: Maxim Patlasov commit 7ae8fd0351f912b075149a1e03a017be8b903b9a upstream. propagate_one(m) calculates "type" argument for copy_tree() like this: >if (m->mnt_group_id == last_dest->mnt_group

[PATCH 4.4 21/67] tracing: Dont display trigger file for events that cant be enabled

2016-05-09 Thread Greg Kroah-Hartman
4.4-stable review patch. If anyone has any objections, please let me know. -- From: Chunyu Hu commit 854145e0a8e9a05f7366d240e2f99d9c1ca6d6dd upstream. Currently register functions for events will be called through the 'reg' field of event class directly without any check when

[PATCH 4.4 04/67] ipvs: correct initial offset of Call-ID header search in SIP persistence engine

2016-05-09 Thread Greg Kroah-Hartman
4.4-stable review patch. If anyone has any objections, please let me know. -- From: Marco Angaroni commit 7617a24f83b5d67f4dab1844956be1cebc44aec8 upstream. The IPVS SIP persistence engine is not able to parse the SIP header "Call-ID" when such header is inserted in the first

[PATCH 4.4 16/67] clk: versatile: sp810: support reentrance

2016-05-09 Thread Greg Kroah-Hartman
4.4-stable review patch. If anyone has any objections, please let me know. -- From: Linus Walleij commit ec7957a6aa0aaf981fb8356dc47a2cdd01cde03c upstream. Despite care take to allocate clocks state containers the SP810 driver actually just supports creating one instance: all

[PATCH 4.4 00/67] 4.4.10-stable review

2016-05-09 Thread Greg Kroah-Hartman
This is the start of the stable review cycle for the 4.4.10 release. There are 67 patches in this series, all will be posted as a response to this one. If anyone has any issues with these being applied, please let me know. Responses should be made by Wed May 11 07:18:08 UTC 2016. Anything receive

[PATCH 3.14 21/23] iio: ak8975: Fix NULL pointer exception on early interrupt

2016-05-09 Thread Greg Kroah-Hartman
3.14-stable review patch. If anyone has any objections, please let me know. -- From: Krzysztof Kozlowski commit 07d2390e36ee5b3265e9cc8305f2a106c8721e16 upstream. In certain probe conditions the interrupt came right after registering the handler causing a NULL pointer exceptio

[PATCH 4.4 46/67] ARC: Add missing io barriers to io{read,write}{16,32}be()

2016-05-09 Thread Greg Kroah-Hartman
4.4-stable review patch. If anyone has any objections, please let me know. -- From: Vineet Gupta commit e5bc0478ab6cf565619224536d75ecb2aedca43b upstream. While reviewing a different change to asm-generic/io.h Arnd spotted that ARC ioread32 and ioread32be both of which come fr

[PATCH 4.4 11/67] clk-divider: make sure read-only dividers do not write to their register

2016-05-09 Thread Greg Kroah-Hartman
4.4-stable review patch. If anyone has any objections, please let me know. -- From: Heiko Stuebner commit 50359819794b4a16ae35051cd80f2dab025f6019 upstream. Commit e6d5e7d90be9 ("clk-divider: Fix READ_ONLY when divider > 1") removed the special ops struct for read-only clocks

[PATCH 4.4 48/67] ACPICA: Dispatcher: Update thread ID for recursive method calls

2016-05-09 Thread Greg Kroah-Hartman
4.4-stable review patch. If anyone has any objections, please let me know. -- From: Prarit Bhargava commit 93d68841a23a5779cef6fb9aa0ef32e7c5bd00da upstream. ACPICA commit 7a3bd2d962f221809f25ddb826c9e551b916eb25 Set the mutex owner thread ID. Original patch from: Prarit Bhar

[PATCH 4.4 30/67] xen/evtchn: fix ring resize when binding new events

2016-05-09 Thread Greg Kroah-Hartman
4.4-stable review patch. If anyone has any objections, please let me know. -- From: Jan Beulich commit 27e0e6385377c4dc68a4ddaf1a35a2dfa951f3c5 upstream. The copying of ring data was wrong for two cases: For a full ring nothing got copied at all (as in that case the canonicali

[PATCH 4.5 12/88] ata: ahci_xgene: dereferencing uninitialized pointer in probe

2016-05-09 Thread Greg Kroah-Hartman
4.5-stable review patch. If anyone has any objections, please let me know. -- From: Dan Carpenter commit 8134233e8d346aaa1c929dc510e75482ae318bce upstream. If the call to acpi_get_object_info() fails then "info" hasn't been initialized. In that situation, we already know that

[PATCH 4.4 49/67] powerpc: Fix bad inline asm constraint in create_zero_mask()

2016-05-09 Thread Greg Kroah-Hartman
4.4-stable review patch. If anyone has any objections, please let me know. -- From: Anton Blanchard commit b4c112114aab9aff5ed4568ca5e662bb02cdfe74 upstream. In create_zero_mask() we have: addi%1,%2,-1 andc%1,%1,%2 popcntd %0,%1 using the "r"

[PATCH 4.4 28/67] xen: Fix page <-> pfn conversion on 32 bit systems

2016-05-09 Thread Greg Kroah-Hartman
4.4-stable review patch. If anyone has any objections, please let me know. -- From: Ross Lagerwall commit 60901df3aed230d4565dca003f11b6a95fbf30d9 upstream. Commit 1084b1988d22dc165c9dbbc2b0e057f9248ac4db (xen: Add Xen specific page definition) caused a regression in 4.4. The

[PATCH 4.5 01/88] clocksource/drivers/tango-xtal: Fix boot hang due to incorrect test

2016-05-09 Thread Greg Kroah-Hartman
4.5-stable review patch. If anyone has any objections, please let me know. -- From: Daniel Lezcano commit 16eeed7e5558a3dcf30f75526a896b2632f299f9 upstream. Commit 0881841f7e78 introduced a regression by inverting a test check after calling clocksource_mmio_init(). That result

[PATCH 4.5 11/88] null_blk: add lightnvm null_blk device to the nullb_list

2016-05-09 Thread Greg Kroah-Hartman
4.5-stable review patch. If anyone has any objections, please let me know. -- From: Wenwei Tao commit 3681c85dffda70e551dead31c8d102bd69033fe8 upstream. After register null_blk devices into lightnvm, we forget to add these devices to the the nullb_list, makes them invisible to

[PATCH 4.5 14/88] ath10k: fix pktlog in QCA99X0

2016-05-09 Thread Greg Kroah-Hartman
4.5-stable review patch. If anyone has any objections, please let me know. -- From: Ashok Raj Nagarajan commit 53a5c9bc53ce51f65699a43c67ab167436d28083 upstream. Currently, we are providing wrong payload data of pktlog to trace points. Data we receive from FW through copy engi

[PATCH 4.4 52/67] USB: serial: cp210x: add ID for Link ECU

2016-05-09 Thread Greg Kroah-Hartman
4.4-stable review patch. If anyone has any objections, please let me know. -- From: Mike Manning commit 1d377f4d690637a0121eac8701f84a0aa1e69a69 upstream. The Link ECU is an aftermarket ECU computer for vehicles that provides full tuning abilities as well as datalogging and di

[PATCH v2] TTY: serial, handle platform_get_irq retval properly

2016-05-09 Thread Jiri Slaby
platform_get_irq can fail, so we should handle negative value when returned. [v2] platform_get_irq can actually return zero on some platforms. So do not remove checks for irq == 0 there. Signed-off-by: Jiri Slaby Cc: Russell King Cc: "Uwe Kleine-König" Cc: Russell King Cc: Benjamin Herrensch

[PATCH 4.4 31/67] HID: wacom: Add support for DTK-1651

2016-05-09 Thread Greg Kroah-Hartman
4.4-stable review patch. If anyone has any objections, please let me know. -- From: Ping Cheng commit e1123fe975852cc0970b4e53ea65ca917e54c923 upstream. DTK-1651 is a display pen-only tablet Signed-off-by: Ping Cheng Signed-off-by: Jiri Kosina Signed-off-by: Greg Kroah-Hart

[PATCH 4.4 36/67] batman-adv: fix DAT candidate selection (must use vid)

2016-05-09 Thread Greg Kroah-Hartman
4.4-stable review patch. If anyone has any objections, please let me know. -- From: Antonio Quartulli commit 2871734e85e920503d49b3a8bc0afbe0773b6036 upstream. Now that DAT is VLAN aware, it must use the VID when computing the DHT address of the candidate nodes where an entry

[PATCH 4.4 50/67] libahci: save port map for forced port map

2016-05-09 Thread Greg Kroah-Hartman
4.4-stable review patch. If anyone has any objections, please let me know. -- From: Srinivas Kandagatla commit 2fd0f46cb1b82587c7ae4a616d69057fb9bd0af7 upstream. In usecases where force_port_map is used saved_port_map is never set, resulting in not programming the PORTS_IMPL r

[PATCH 4.4 54/67] nvmem: mxs-ocotp: fix buffer overflow in read

2016-05-09 Thread Greg Kroah-Hartman
4.4-stable review patch. If anyone has any objections, please let me know. -- From: Stanislav Meduna commit d1306eb675ad7a9a760b6b8e8e189824b8db89e7 upstream. This patch fixes the issue where the mxs_ocotp_read is reading the ocotp in reg_size steps but decrements the remainin

[PATCH 4.4 56/67] drm/amdgpu: make sure vertical front porch is at least 1

2016-05-09 Thread Greg Kroah-Hartman
4.4-stable review patch. If anyone has any objections, please let me know. -- From: Alex Deucher commit 0126d4b9a516256f2432ca0dc78ab293a8255378 upstream. hw doesn't like a 0 value. Signed-off-by: Alex Deucher Signed-off-by: Greg Kroah-Hartman --- drivers/gpu/drm/amd/amdg

[PATCH 4.5 15/88] mwifiex: fix corner case association failure

2016-05-09 Thread Greg Kroah-Hartman
4.5-stable review patch. If anyone has any objections, please let me know. -- From: Amitkumar Karwar commit a6139b6271f9f95377fe3486aed6120c9142779b upstream. This patch corrects the error case in association path by returning -1. Earlier "media_connected" used to remain on in

[PATCH 4.4 47/67] x86/sysfb_efi: Fix valid BAR address range check

2016-05-09 Thread Greg Kroah-Hartman
4.4-stable review patch. If anyone has any objections, please let me know. -- From: Wang YanQing commit c10fcb14c7afd6688c7b197a814358fecf244222 upstream. The code for checking whether a BAR address range is valid will break out of the loop when a start address of 0x0 is encou

[PATCH 4.4 34/67] proc: prevent accessing /proc//environ until its ready

2016-05-09 Thread Greg Kroah-Hartman
4.4-stable review patch. If anyone has any objections, please let me know. -- From: Mathias Krause commit 8148a73c9901a8794a50f950083c00ccf97d43b3 upstream. If /proc//environ gets read before the envp[] array is fully set up in create_{aout,elf,elf_fdpic,flat}_tables(), we mig

[PATCH 4.5 13/88] wlcore: fix error handling in wlcore_event_fw_logger

2016-05-09 Thread Greg Kroah-Hartman
4.5-stable review patch. If anyone has any objections, please let me know. -- From: Andrzej Hajda commit 68f37e5d7a2e00306adab033fba6c3042b33e8e1 upstream. wlcore_read/wlcore_write can return negative values so it should be assigned to signed variable. The problem has been de

[PATCH 4.4 53/67] USB: serial: cp210x: add Straizona Focusers device ids

2016-05-09 Thread Greg Kroah-Hartman
4.4-stable review patch. If anyone has any objections, please let me know. -- From: Jasem Mutlaq commit 613ac23a46e10d4d4339febdd534fafadd68e059 upstream. Adding VID:PID for Straizona Focusers to cp210x driver. Signed-off-by: Jasem Mutlaq Signed-off-by: Johan Hovold Signed-

[PATCH 4.4 51/67] ata: ahci-platform: Add ports-implemented DT bindings.

2016-05-09 Thread Greg Kroah-Hartman
4.4-stable review patch. If anyone has any objections, please let me know. -- From: Srinivas Kandagatla commit 17dcc37e3e847bc0e67a5b1ec52471fcc6c18682 upstream. On some SOCs PORTS_IMPL register value is never programmed by the firmware and left at zero value. Which means that

[PATCH 4.4 60/67] drm/radeon: make sure vertical front porch is at least 1

2016-05-09 Thread Greg Kroah-Hartman
4.4-stable review patch. If anyone has any objections, please let me know. -- From: Alex Deucher commit 3104b8128d4d646a574ed9d5b17c7d10752cd70b upstream. hw doesn't like a 0 value. Signed-off-by: Alex Deucher Signed-off-by: Greg Kroah-Hartman --- drivers/gpu/drm/radeon/a

[PATCH 4.4 32/67] HID: Fix boot delay for Creative SB Omni Surround 5.1 with quirk

2016-05-09 Thread Greg Kroah-Hartman
4.4-stable review patch. If anyone has any objections, please let me know. -- From: Nazar Mokrynskyi commit 567a44ecb44eb2584ddb93e962cfb133ce77e0bb upstream. Needed for v2 of the device firmware, otherwise kernel will stuck for few seconds and throw "usb_submit_urb(ctrl) fail

[PATCH 4.4 66/67] lib/test-string_helpers.c: fix and improve string_get_size() tests

2016-05-09 Thread Greg Kroah-Hartman
4.4-stable review patch. If anyone has any objections, please let me know. -- From: Vitaly Kuznetsov commit 72676bb53f33fd0ef3a1484fc1ecfd306dc6ff40 upstream. Recently added commit 564b026fbd0d ("string_helpers: fix precision loss for some inputs") fixed precision issues for s

[PATCH 4.4 35/67] mm: update min_free_kbytes from khugepaged after core initialization

2016-05-09 Thread Greg Kroah-Hartman
4.4-stable review patch. If anyone has any objections, please let me know. -- From: Jason Baron commit bc22af74f271ef76b2e6f72f3941f91f0da3f5f8 upstream. Khugepaged attempts to raise min_free_kbytes if its set too low. However, on boot khugepaged sets min_free_kbytes first fro

[PATCH 4.4 33/67] Input: zforce_ts - fix dual touch recognition

2016-05-09 Thread Greg Kroah-Hartman
4.4-stable review patch. If anyone has any objections, please let me know. -- From: Knut Wohlrab commit 6984ab1ab35f422292b7781c65284038bcc0f6a6 upstream. A wrong decoding of the touch coordinate message causes a wrong touch ID. Touch ID for dual touch must be 0 or 1. Accordi

[PATCH 4.4 37/67] batman-adv: Check skb size before using encapsulated ETH+VLAN header

2016-05-09 Thread Greg Kroah-Hartman
4.4-stable review patch. If anyone has any objections, please let me know. -- From: Sven Eckelmann commit c78296665c3d81f040117432ab9e1cb125521b0c upstream. The encapsulated ethernet and VLAN header may be outside the received ethernet frame. Thus the skb buffer size has to be

[PATCH 4.4 58/67] iio: ak8975: Fix NULL pointer exception on early interrupt

2016-05-09 Thread Greg Kroah-Hartman
4.4-stable review patch. If anyone has any objections, please let me know. -- From: Krzysztof Kozlowski commit 07d2390e36ee5b3265e9cc8305f2a106c8721e16 upstream. In certain probe conditions the interrupt came right after registering the handler causing a NULL pointer exception

[PATCH 4.5 17/88] clk-divider: make sure read-only dividers do not write to their register

2016-05-09 Thread Greg Kroah-Hartman
4.5-stable review patch. If anyone has any objections, please let me know. -- From: Heiko Stuebner commit 50359819794b4a16ae35051cd80f2dab025f6019 upstream. Commit e6d5e7d90be9 ("clk-divider: Fix READ_ONLY when divider > 1") removed the special ops struct for read-only clocks

[PATCH 4.4 67/67] drm/i915/skl: Fix DMC load on Skylake J0 and K0

2016-05-09 Thread Greg Kroah-Hartman
4.4-stable review patch. If anyone has any objections, please let me know. -- From: Mat Martineau commit a41c8882592fb80458959b10e37632ce030b68ca upstream. The driver does not load firmware for unknown steppings, so these new steppings must be added to the list. Cc: Rodrigo V

[PATCH 4.4 65/67] ACPI / processor: Request native thermal interrupt handling via _OSC

2016-05-09 Thread Greg Kroah-Hartman
4.4-stable review patch. If anyone has any objections, please let me know. -- From: Srinivas Pandruvada commit a21211672c9a1d730a39aa65d4a5b3414700adfb upstream. There are several reports of freeze on enabling HWP (Hardware PStates) feature on Skylake-based systems by the Inte

[PATCH 4.4 55/67] gpu: ipu-v3: Fix imx-ipuv3-crtc module autoloading

2016-05-09 Thread Greg Kroah-Hartman
4.4-stable review patch. If anyone has any objections, please let me know. -- From: Philipp Zabel commit 503fe87bd0a8346ba9d8b7f49115dcd0a4185226 upstream. If of_node is set before calling platform_device_add, the driver core will try to use of: modalias matching, which fails

[PATCH 4.4 42/67] x86/tsc: Read all ratio bits from MSR_PLATFORM_INFO

2016-05-09 Thread Greg Kroah-Hartman
4.4-stable review patch. If anyone has any objections, please let me know. -- From: Chen Yu commit 886123fb3a8656699dff40afa0573df359abeb18 upstream. Currently we read the tsc radio: ratio = (MSR_PLATFORM_INFO >> 8) & 0x1f; Thus we get bit 8-12 of MSR_PLATFORM_INFO, however a

Re: [PATCH] workqueue: fix rebind bound workers warning

2016-05-09 Thread Wanpeng Li
Sorry to quick ping you Tejun, just hope it can catch the upcoming merge window. :-) 2016-05-05 9:41 GMT+08:00 Wanpeng Li : > From: Wanpeng Li > > [ cut here ] > WARNING: CPU: 0 PID: 16 at kernel/workqueue.c:4559 rebind_workers+0x1c0/0x1d0 > Modules linked in: > CPU: 0 PID:

[PATCH 4.4 45/67] ARM: cpuidle: Pass on arm_cpuidle_suspend()s return value

2016-05-09 Thread Greg Kroah-Hartman
4.4-stable review patch. If anyone has any objections, please let me know. -- From: James Morse commit 625fe4f8ffc1b915248558481bb94249f6bd411c upstream. arm_cpuidle_suspend() may return -EOPNOTSUPP, or any value returned by the cpu_ops/cpuidle_ops suspend call. arm_enter_idle

[PATCH 4.4 44/67] propogate_mnt: Handle the first propogated copy being a slave

2016-05-09 Thread Greg Kroah-Hartman
4.4-stable review patch. If anyone has any objections, please let me know. -- From: Eric W. Biederman commit 5ec0811d30378ae104f250bfc9b3640242d81e3f upstream. When the first propgated copy was a slave the following oops would result: > BUG: unable to handle kernel NULL pointe

[PATCH 4.4 41/67] MAINTAINERS: Remove asterisk from EFI directory names

2016-05-09 Thread Greg Kroah-Hartman
4.4-stable review patch. If anyone has any objections, please let me know. -- From: Matt Fleming commit e8dfe6d8f6762d515fcd4f30577f7bfcf7659887 upstream. Mark reported that having asterisks on the end of directory names confuses get_maintainer.pl when it encounters subdirecto

[PATCH 4.4 29/67] xen/balloon: Fix crash when ballooning on x86 32 bit PAE

2016-05-09 Thread Greg Kroah-Hartman
4.4-stable review patch. If anyone has any objections, please let me know. -- From: Ross Lagerwall commit dfd74a1edfaba5864276a2859190a8d242d18952 upstream. Commit 55b3da98a40dbb3776f7454daf0d95dde25c33d2 (xen/balloon: find non-conflicting regions to place hotplugged memory) c

[PATCH 4.4 40/67] writeback: Fix performance regression in wb_over_bg_thresh()

2016-05-09 Thread Greg Kroah-Hartman
4.4-stable review patch. If anyone has any objections, please let me know. -- From: Howard Cochran commit 74d369443325063a5f0260e63971decb950fd8fa upstream. Commit 947e9762a8dd ("writeback: update wb_over_bg_thresh() to use wb_domain aware operations") unintentionally changed

[PATCH 4.4 39/67] batman-adv: Reduce refcnt of removed router when updating route

2016-05-09 Thread Greg Kroah-Hartman
4.4-stable review patch. If anyone has any objections, please let me know. -- From: Sven Eckelmann commit d1a65f1741bfd9c69f9e4e2ad447a89b6810427d upstream. _batadv_update_route rcu_derefences orig_ifinfo->router outside of a spinlock protected region to print some information

Re: [PATCH 1/7] tty: ipwireless, cleanup TIOCGSERIAL

2016-05-09 Thread David Sterba
On Mon, May 09, 2016 at 09:11:53AM +0200, Jiri Slaby wrote: > In ipwireless_get_serial_info, struct serial_struct is memset to 0 and > then some members set to 0 explicitly. > > Remove the latter as it is obviously superfluous. > > And remove the retinfo check against NULL. copy_to_user will take

[PATCH 4.4 07/67] nbd: ratelimit error msgs after socket close

2016-05-09 Thread Greg Kroah-Hartman
4.4-stable review patch. If anyone has any objections, please let me know. -- From: Dan Streetman commit da6ccaaa79caca4f38b540b651238f87215217a2 upstream. Make the "Attempted send on closed socket" error messages generated in nbd_request_handler() ratelimited. When the nbd s

[PATCH 4.4 05/67] ipvs: drop first packet to redirect conntrack

2016-05-09 Thread Greg Kroah-Hartman
4.4-stable review patch. If anyone has any objections, please let me know. -- From: Julian Anastasov commit f719e3754ee2f7275437e61a6afd520181fdd43b upstream. Jiri Bohac is reporting for a problem where the attempt to reschedule existing connection to another real server needs

[PATCH 4.4 26/67] ARM: EXYNOS: Properly skip unitialized parent clock in power domain on

2016-05-09 Thread Greg Kroah-Hartman
4.4-stable review patch. If anyone has any objections, please let me know. -- From: Krzysztof Kozlowski commit a0a966b83873f33778710a4fc59240244b0734a5 upstream. We want to skip reparenting a clock on turning on power domain, if we do not have the parent yet. The parent is obt

Re: [PATCH] mm: make fault_around_bytes configurable

2016-05-09 Thread Minchan Kim
Hello, On Mon, Apr 25, 2016 at 05:21:11PM +0530, Vinayak Menon wrote: > > > On 4/22/2016 3:14 PM, Kirill A. Shutemov wrote: > > On Fri, Apr 22, 2016 at 02:15:08PM +0530, Vinayak Menon wrote: > >> On 04/22/2016 05:31 AM, Andrew Morton wrote: > >>> On Mon, 18 Apr 2016 20:47:16 +0530 Vinayak Menon

[PATCH 4.4 06/67] mfd: intel-lpss: Remove clock tree on error path

2016-05-09 Thread Greg Kroah-Hartman
4.4-stable review patch. If anyone has any objections, please let me know. -- From: Andy Shevchenko commit 84cb36cac581c915ef4e8b70abb73e084325df92 upstream. We forgot to remove the clock tree if something goes wrong in ->probe(). Add a call to intel_lpss_unregister_clock() on

[PATCH 4.4 09/67] mwifiex: fix corner case association failure

2016-05-09 Thread Greg Kroah-Hartman
4.4-stable review patch. If anyone has any objections, please let me know. -- From: Amitkumar Karwar commit a6139b6271f9f95377fe3486aed6120c9142779b upstream. This patch corrects the error case in association path by returning -1. Earlier "media_connected" used to remain on in

[PATCH 4.4 20/67] mac80211: fix statistics leak if dev_alloc_name() fails

2016-05-09 Thread Greg Kroah-Hartman
4.4-stable review patch. If anyone has any objections, please let me know. -- From: Johannes Berg commit e6436be21e77e3659b4ff7e357ab5a8342d132d2 upstream. In the case that dev_alloc_name() fails, e.g. because the name was given by the user and already exists, we need to clean

[PATCH 4.5 05/88] ipvs: correct initial offset of Call-ID header search in SIP persistence engine

2016-05-09 Thread Greg Kroah-Hartman
4.5-stable review patch. If anyone has any objections, please let me know. -- From: Marco Angaroni commit 7617a24f83b5d67f4dab1844956be1cebc44aec8 upstream. The IPVS SIP persistence engine is not able to parse the SIP header "Call-ID" when such header is inserted in the first

[PATCH 4.5 03/88] net/mlx5_core: Fix caching ATOMIC endian mode capability

2016-05-09 Thread Greg Kroah-Hartman
4.5-stable review patch. If anyone has any objections, please let me know. -- From: Leon Romanovsky commit 91d9ed8443b88cc50b81cf5ec900172515270f6f upstream. Add caching of maximum device capability of ATOMIC endian mode. Fixes: f91e6d8941bf ('net/mlx5_core: Add setting ATOMI

[PATCH 4.4 24/67] mm, cma: prevent nr_isolated_* counters from going negative

2016-05-09 Thread Greg Kroah-Hartman
4.4-stable review patch. If anyone has any objections, please let me know. -- From: Hugh Dickins commit 14af4a5e9b26ad251f81c174e8a43f3e179434a5 upstream. /proc/sys/vm/stat_refresh warns nr_isolated_anon and nr_isolated_file go increasingly negative under compaction: which wou

[PATCH 4.5 19/88] clk: rockchip: fix wrong mmc phase shift for rk3228

2016-05-09 Thread Greg Kroah-Hartman
4.5-stable review patch. If anyone has any objections, please let me know. -- From: Shawn Lin commit bb07698fc8d13ec74f4f5bd87b04953777ee6982 upstream. mmc sample shift is 0 for rk3228 refer to user manaul. So it's broken if we enable mmc tuning for rk3228. Fixes: 307a2e9ac (

Re: [PATCH v6 0/9] mfd: max8997: Add regmap support

2016-05-09 Thread Lee Jones
On Fri, 06 May 2016, Krzysztof Kozlowski wrote: > This is a rebase and extension of old Robert Baldyga's work. [0] > > Robert no longer works in Samsung. > > From the original cover letter: > "This patchset modifies max8997 driver and associated function drivers to use > register maps instead of

[PATCH 4.4 22/67] MD: make bio mergeable

2016-05-09 Thread Greg Kroah-Hartman
4.4-stable review patch. If anyone has any objections, please let me know. -- From: Shaohua Li commit 9c573de3283af007ea11c17bde1e4568d9417328 upstream. blk_queue_split marks bio unmergeable, which makes sense for normal bio. But if dispatching the bio to underlayer disk, the

[PATCH] zsmalloc: fix zs_can_compact() integer overflow

2016-05-09 Thread Sergey Senozhatsky
zs_can_compact() has two race conditions in its core calculation: unsigned long obj_wasted = zs_stat_get(class, OBJ_ALLOCATED) - zs_stat_get(class, OBJ_USED); 1) classes are not locked, so the numbers of allocated and used objects can change by the concurrent op

[PATCH 4.5 02/88] RDMA/iw_cxgb4: Fix bar2 virt addr calculation for T4 chips

2016-05-09 Thread Greg Kroah-Hartman
4.5-stable review patch. If anyone has any objections, please let me know. -- From: Hariprasad S commit 32cc92c7b5e52357a0a24010bae9eb257fa75d3e upstream. For T4, kernel mode qps don't use the user doorbell. User mode qps during flow control db ringing are forced into kernel,

  1   2   3   4   5   6   7   8   9   10   >