[PATCH 3.12 38/39] isdn_ppp: Add checks for allocation failure in isdn_ppp_open()

2016-01-25 Thread Jiri Slaby
From: Ben Hutchings 3.12-stable review patch. If anyone has any objections, please let me know. === commit 0baa57d8dc32db78369d8b5176ef56c5e2e18ab3 upstream. Compile-tested only. Signed-off-by: Ben Hutchings Signed-off-by: David S. Miller Signed-off-by: Jiri Slaby --- drivers

[PATCH 3.12 39/39] ppp, slip: Validate VJ compression slot parameters completely

2016-01-25 Thread Jiri Slaby
From: Ben Hutchings 3.12-stable review patch. If anyone has any objections, please let me know. === commit 4ab42d78e37a294ac7bc56901d563c642e03c4ae upstream. Currently slhc_init() treats out-of-range values of rslots and tslots as equivalent to 0, except that if tslots is too larg

[PATCH 3.12 23/39] USB: quirks: Fix another ELAN touchscreen

2016-01-25 Thread Jiri Slaby
From: Adrien Vergé 3.12-stable review patch. If anyone has any objections, please let me know. === commit df36c5bede207f734e4750beb2b14fb892050280 upstream. Like other buggy models that had their fixes [1], the touchscreen with id 04f3:21b8 from ELAN Microelectronics needs the dev

[PATCH 3.12 21/39] m68k/mac: Make SCC reset work more reliably

2016-01-25 Thread Jiri Slaby
From: Finn Thain 3.12-stable review patch. If anyone has any objections, please let me know. === commit 56931d73697c99ecf7aba6ae86c94d3a2d15d596 upstream. For SCC initialization we cannot assume that the control register is in the correct state to accept a register pointer. So fir

[PATCH 3.12 22/39] sctp: Prevent soft lockup when sctp_accept() is called during a timeout event

2016-01-25 Thread Jiri Slaby
From: Karl Heiss 3.12-stable review patch. If anyone has any objections, please let me know. === commit 635682a14427d241bab7bbdeebb48a7d7b91638e upstream. A case can occur when sctp_accept() is called by the user during a heartbeat timeout event after the 4-way handshake. Since s

[PATCH 3.12 25/39] KEYS: Fix keyring ref leak in join_session_keyring()

2016-01-25 Thread Jiri Slaby
From: Yevgeny Pats 3.12-stable review patch. If anyone has any objections, please let me know. === commit 23567fd052a9abb6d67fe8e7a9ccdd9800a540f2 upstream. This fixes CVE-2016-0728. If a thread is asked to join as a session keyring the keyring that's already set as its session,

[PATCH 3.12 02/39] tools: Add a "make all" rule

2016-01-25 Thread Jiri Slaby
From: Kamal Mostafa 3.12-stable review patch. If anyone has any objections, please let me know. === commit f6ba98c5dc78708cb7fd29950c4a50c4c7e88f95 upstream. Signed-off-by: Kamal Mostafa Acked-by: Pavel Machek Cc: Jiri Olsa Cc: Jonathan Cameron Cc: Pali Rohar Cc: Roberta Dobr

[PATCH 3.12 24/39] KEYS: Fix race between read and revoke

2016-01-25 Thread Jiri Slaby
From: David Howells 3.12-stable review patch. If anyone has any objections, please let me know. === commit b4a1b4f5047e4f54e194681125c74c0aa64d637d upstream. This fixes CVE-2015-7550. There's a race between keyctl_read() and keyctl_revoke(). If the revoke happens between keyctl_

Re: [PATCH V4 1/5] DT: mfd: add device-tree binding doc fro PMIC max77620/max20024

2016-01-25 Thread Lee Jones
On Tue, 19 Jan 2016, Laxman Dewangan wrote: > The MAXIM PMIC MAX77620 and MAX20024 are power management IC > which supports RTC, GPIO, DCDC/LDO regulators, interrupt, > watchdog etc. > > Add DT binding document for the different functionality of > this device. > > Signed-off-by: Laxman Dewangan

[PATCH 3.12 18/39] m32r: fix potential NULL-pointer dereference

2016-01-25 Thread Jiri Slaby
From: "Kirill A. Shutemov" 3.12-stable review patch. If anyone has any objections, please let me know. === commit fecf3743b824ce4eb275ed4a1d6aee9494f6a966 upstream. Add missing check for memory allocation fail. Signed-off-by: Kirill A. Shutemov Cc: Hirokazu Takata Signed-off-by

[PATCH V3 2/2] regulator: mt6323: Add support for MT6323 regulator

2016-01-25 Thread John Crispin
From: Chen Zhong The MT6323 is a regulator found on boards based on MediaTek MT7623 and probably other SoCs. It is a so called pmic and connects as a slave to SoC using SPI, wrapped inside the pmic-wrapper. Signed-off-by: Chen Zhong Signed-off-by: John Crispin --- drivers/regulator/Kconfig

[PATCH V3 1/2] regulator: Add document for MT6323 regulator

2016-01-25 Thread John Crispin
Signed-off-by: John Crispin Cc: devicet...@vger.kernel.org --- .../bindings/regulator/mt6323-regulator.txt| 241 1 file changed, 241 insertions(+) create mode 100644 Documentation/devicetree/bindings/regulator/mt6323-regulator.txt diff --git a/Documentation/device

Re: [PATCH v1 1/1] mfd: intel-lpss: remove clock tree on error path

2016-01-25 Thread Lee Jones
On Fri, 22 Jan 2016, Andy Shevchenko wrote: > We forgot to remove the clock tree if something goes wrong in ->probe(). Add a > call to intel_lpss_unregister_clock() on error path in ->probe() to fix the > potential issue. > > Fixes: 4b45efe85263 (mfd: Add support for Intel Sunrisepoint LPSS devic

[PATCH 3.12 12/39] block: Always check queue limits for cloned requests

2016-01-25 Thread Jiri Slaby
From: Hannes Reinecke 3.12-stable review patch. If anyone has any objections, please let me know. === commit bf4e6b4e757488dee1b6a581f49c7ac34cd217f8 upstream. When a cloned request is retried on other queues it always needs to be checked against the queue limits of that queue. Ot

[PATCH 3.12 19/39] m68k: handle pgtable_page_ctor() fail

2016-01-25 Thread Jiri Slaby
From: "Kirill A. Shutemov" 3.12-stable review patch. If anyone has any objections, please let me know. === commit f84c914b986ed2ec4ffaa5672b423b1f6b65519d upstream. Signed-off-by: Kirill A. Shutemov Cc: Geert Uytterhoeven Signed-off-by: Andrew Morton Signed-off-by: Linus Torval

[PATCH] lightnvm: update closed list out of interrupt context

2016-01-25 Thread Javier González
When an I/O finishes, full blocks are moved from the open to the closed list - a lock is taken to protect the list. This happens at the moment in the interrupt context, which is not correct. This patch moves this logic to the GC workqueue instead, thus avoiding holding a spinlock in an atomic cont

[PATCH 3.12 15/39] module: remove MODULE_GENERIC_TABLE

2016-01-25 Thread Jiri Slaby
From: Rusty Russell 3.12-stable review patch. If anyone has any objections, please let me know. === commit cff26a51da5d206d3baf871e75778da44710219d upstream. MODULE_DEVICE_TABLE() calles MODULE_GENERIC_TABLE(); make it do the work directly. This also removes a wart introduced in

[PATCH 3.12 16/39] staging/dgnc: fix info leak in ioctl

2016-01-25 Thread Jiri Slaby
From: Salva Peiró 3.12-stable review patch. If anyone has any objections, please let me know. === commit 4b6184336ebb5c8dc1eae7f7ab46ee608a748b05 upstream. The dgnc_mgmt_ioctl() code fails to initialize the 16 _reserved bytes of struct digi_dinfo after the ->dinfo_nboards member.

[PATCH 3.12 17/39] pm: use GFP_ATOMIC when pm core call this function

2016-01-25 Thread Jiri Slaby
From: Scott Jiang 3.12-stable review patch. If anyone has any objections, please let me know. === commit aefefe92116b776203f95f3249ae61b94f73f170 upstream. We shouldn't sleep in atomic sections. Signed-off-by: Scott Jiang Cc: Oliver Neukum Signed-off-by: Jiri Slaby --- arch/b

[PATCH 3.12 14/39] qla2xxx: Fix hardware lock/unlock issue causing kernel panic.

2016-01-25 Thread Jiri Slaby
From: Saurav Kashyap 3.12-stable review patch. If anyone has any objections, please let me know. === commit ba9f6f64a0ff6b7ecaed72144c179061f8eca378 upstream. This patch fixes a kernel panic for qla2xxx Target core Module driver introduced by a fix in the qla2xxx initiator code.

[PATCH 3.12 01/39] efi: Disable interrupts around EFI calls, not in the epilog/prolog calls

2016-01-25 Thread Jiri Slaby
From: Ingo Molnar 3.12-stable review patch. If anyone has any objections, please let me know. === commit 23a0d4e8fa6d3a1d7fb819f79bcc0a3739c30ba9 upstream. Tapasweni Pathak reported that we do a kmalloc() in efi_call_phys_prolog() on x86-64 while having interrupts disabled, which

[PATCH 3.12 10/39] drm/i915: Fix SRC_COPY width on 830/845g

2016-01-25 Thread Jiri Slaby
From: Chris Wilson 3.12-stable review patch. If anyone has any objections, please let me know. === commit 611a7a4fd8b5fb6b25ab1f8bdcde61800a7feacf upstream. One small change I forgot to make in commit c4d69da167fa967749aeb70bc0e94a457e5d00c1 Author: Chris Wilson Date: Mon Sep

[PATCH 3.12 13/39] Input: aiptek - fix crash on detecting device without endpoints

2016-01-25 Thread Jiri Slaby
From: Vladis Dronov 3.12-stable review patch. If anyone has any objections, please let me know. === commit 8e20cf2bce122ce9262d6034ee5d5b76fbb92f96 upstream. The aiptek driver crashes in aiptek_probe() when a specially crafted USB device without endpoints is detected. This fix add

[PATCH 3.12 11/39] lpfc: Fix null ndlp dereference in target_reset_handler

2016-01-25 Thread Jiri Slaby
From: James Smart 3.12-stable review patch. If anyone has any objections, please let me know. === commit 63e480fd2f598e9ad37f89e79c36834e7dd60ba0 upstream. Signed-off-by: Dick Kennedy Signed-off-by: James Smart Reviewed-by: Hannes Reinecke Signed-off-by: James Bottomley Acked-

[PATCH 3.12 07/39] route: Use ipv4_mtu instead of raw rt_pmtu

2016-01-25 Thread Jiri Slaby
From: Herbert Xu 3.12-stable review patch. If anyone has any objections, please let me know. === commit cb6ccf09d6b94bec4def1ac5cf4678d12b216474 upstream. The commit 3cdaa5be9e81a914e633a6be7b7d2ef75b528562 ("ipv4: Don't increase PMTU with Datagram Too Big message") broke PMTU in

[PATCH 3.12 09/39] ring-buffer: Always run per-cpu ring buffer resize with schedule_work_on()

2016-01-25 Thread Jiri Slaby
From: Corey Minyard 3.12-stable review patch. If anyone has any objections, please let me know. === commit 021c5b34452d52e51664f09b98cd50c5495e74b6 upstream. The code for resizing the trace ring buffers has to run the per-cpu resize on the CPU itself. The code was using preempt_o

[PATCH 3.12 03/39] ALSA: hda - Fix noise problems on Thinkpad T440s

2016-01-25 Thread Jiri Slaby
From: Takashi Iwai 3.12-stable review patch. If anyone has any objections, please let me know. === commit 9a811230481243f384b8036c6a558bfdbd961f78 upstream. Lenovo Thinkpad T440s suffers from constant background noises, and it seems to be a generic hardware issue on this model:

Re: [PATCH v2 1/4] USB: mxu11x0: fix memory leak on usb_serial private data

2016-01-25 Thread Johan Hovold
On Mon, Jan 04, 2016 at 07:49:36PM +0100, Mathieu OTHACEHE wrote: > On nominal execution, private data allocated on port_probe and attach > are never freed. Add port_remove and release callbacks to free them > respectively. > > Signed-off-by: Mathieu OTHACEHE I've applied this one for 4.5-rc2 no

Re: [PATCH 03/15] dmaengine: dw: rename masters to reflect actual topology

2016-01-25 Thread Vinod Koul
On Sun, Jan 24, 2016 at 10:38:57PM +, Måns Rullgård wrote: > Mark Brown writes: > > > On Sun, Jan 24, 2016 at 07:21:50PM +, Mans Rullgard wrote: > >> From: Andy Shevchenko > >> > >> The source and destination masters are reflecting buses or their layers to > >> where the different devic

[PATCH 3.12 05/39] PCI: Drop "setting latency timer" messages

2016-01-25 Thread Jiri Slaby
From: Bjorn Helgaas 3.12-stable review patch. If anyone has any objections, please let me know. === commit a006482b67a96c16dfefc558e36863c51e1829bf upstream. This message isn't useful any more, so drop it. Reference: https://bugzilla.kernel.org/show_bug.cgi?id=60636 Reported-by:

[PATCH 3.12 06/39] ipv4: Don't increase PMTU with Datagram Too Big message.

2016-01-25 Thread Jiri Slaby
From: Li Wei 3.12-stable review patch. If anyone has any objections, please let me know. === commit 3cdaa5be9e81a914e633a6be7b7d2ef75b528562 upstream. RFC 1191 said, "a host MUST not increase its estimate of the Path MTU in response to the contents of a Datagram Too Big message."

[PATCH 3.12 08/39] SUNRPC: Fix oops when trace sunrpc_task events in nfs client

2016-01-25 Thread Jiri Slaby
From: Ditang Chen 3.12-stable review patch. If anyone has any objections, please let me know. === commit 2ca310fc4160ed0420da65534a21ae77b24326a8 upstream. When tracking sunrpc_task events in nfs client, the clnt pointer may be NULL. [ 139.269266] BUG: unable to handle kernel NU

Re: [PATCH 00/15] dmaengine: dw: various fixes and cleanups

2016-01-25 Thread Vinod Koul
On Sun, Jan 24, 2016 at 07:21:47PM +, Mans Rullgard wrote: > This patch series contains a number of mostly minor fixes and cleanups > for the DW DMA driver. A couple of them affect the DT binding so these > may need to be updated to maintain compatibility. The rest should be > relatively stra

Re: valgrind: mmap ENOMEM

2016-01-25 Thread Kirill A. Shutemov
On Mon, Jan 25, 2016 at 01:49:20PM +0200, Mihai Donțu wrote: > Hi, > > I just moved to 4.5-rc1 and noticed this little gem while trying to > debug an issue with skype: > > $ valgrind skype > valgrind: mmap(0x60b000, 8192) failed in UME with error 12 (Cannot allocate > memory). > > 4.4 works

Re: [PATCH V2 1/2] dt-bindings: regulator: Add document for MT6323 regulator

2016-01-25 Thread John Crispin
On 25/01/2016 12:37, Mark Brown wrote: > On Mon, Jan 25, 2016 at 11:40:04AM +0100, John Crispin wrote: >> Based on the MT6397 binding documentation. >> >> Signed-off-by: John Crispin >> Cc: devicet...@vger.kernel.org > > In reply to your previous submission I said: > > | important. Please als

Re: [lkp] [base] 9ea71534ad: kmsg.Diva:No_ISA,ISAPNP_or_PCI_card_found

2016-01-25 Thread William Breathitt Gray
On 01/24/2016 09:26 PM, kernel test robot wrote: > FYI, we noticed the below changes on > > https://github.com/0day-ci/linux > William-Breathitt-Gray/base-isa-Remove-X86_32-dependency/20160123-003152 > commit 9ea71534addd0753b37b884b5d8a5fa54bfd95ea ("base: isa: Remove X86_32 > dependency") > >

Re: [RFCv6 PATCH 03/10] sched: scheduler-driven cpu frequency selection

2016-01-25 Thread Ricky Liang
Hi Steve, On Wed, Dec 9, 2015 at 2:19 PM, Steve Muckle wrote: [...] > +/* > + * we pass in struct cpufreq_policy. This is safe because changing out the > + * policy requires a call to __cpufreq_governor(policy, CPUFREQ_GOV_STOP), > + * which tears down all of the data structures and __cpufreq_g

Re: [PATCH 1/6] dma: enable mxs-dma for imx6ul

2016-01-25 Thread Vinod Koul
On Wed, Jan 20, 2016 at 01:57:01PM +0100, Lothar Waßmann wrote: > The mxs-dma unit is also available on i.MX6UL. Make it possible to > select it in Kconfig. It should be dmaengine:xxx With that Acked-by: Vinod Koul > > Signed-off-by: Lothar Waßmann > --- > drivers/dma/Kconfig | 5 +++-- > 1

Re: regulator_lock_supply warning: unused variable 'i'

2016-01-25 Thread Mark Brown
On Mon, Jan 25, 2016 at 05:24:26AM +, Kuninori Morimoto wrote: > I always get this warning from regulator_lock_supply Not in mainline you don't, it's fixed. signature.asc Description: PGP signature

Re: [PATCH] ARM: tango: use const and __initconst for smp_operations

2016-01-25 Thread Marc Gonzalez
On 25/01/2016 12:33, Masahiro Yamada wrote: > This newly added code missed the global fixup by commit 75305275a721 > ("ARM: use const and __initconst for smp_operations"). So fix it now. > > Signed-off-by: Masahiro Yamada > --- > > arch/arm/mach-tango/platsmp.c | 2 +- > 1 file changed, 1 ins

Re: [PATCH V2 2/2] regulator: mt6323: Add support for MT6323 regulator

2016-01-25 Thread Javier Martinez Canillas
Hello, On Mon, Jan 25, 2016 at 7:40 AM, John Crispin wrote: > From: Chen Zhong [snip] > +} > + > +static struct platform_driver mt6323_regulator_driver = { > + .driver = { > + .name = "mt6323-regulator", > + }, > + .probe = mt6323_regulator_probe, > +}; > + You

Re: [PATCH] ARM: s3c64xx: use "depends on" instead of "if" after prompt

2016-01-25 Thread Krzysztof Kozlowski
2016-01-25 20:41 GMT+09:00 Masahiro Yamada : > This platform recently moved to multi-platform, so missed the global > fixup by commit e32465429490 ("ARM: use "depends on" for SoC configs > instead of "if" after prompt"). Fix it now. > > Signed-off-by: Masahiro Yamada > --- > > arch/arm/mach-s3c6

crypto: algif_hash: creating 0 sized array in hash_accept

2016-01-25 Thread Sasha Levin
Hi all, While fuzzing with trinity inside a KVM tools guest running the latest -next kernel I've hit: [ 828.386074] UBSAN: Undefined behaviour in crypto/algif_hash.c:185:7 [ 828.386811] variable length array bound value 0 <= 0 [ 828.387606] CPU: 1 PID: 17792 Comm: trinity-c313 Not tainted 4.

Move wlan-ng out of staging?

2016-01-25 Thread Ksenija Stanojević
Hi All, I'm helping Greg do a bit of cleanup in the staging tree, I noticed that wlan-ng driver is maybe ready to be moved out of staging. Are there any TODO tasks left to do beside checkpatch.pl clean-up? Thanks, Ksenija

Re: [PATCH] bus: vexpress-config: Add missing of_node_put

2016-01-25 Thread liviu . dudau
On Fri, Jan 22, 2016 at 11:38:38PM +0530, Amitoj Kaur Chawla wrote: > for_each_compatible_node performs an of_node_get on each iteration, so > to break out of the loop an of_node_put is required. > > Found using Coccinelle. The semantic patch used for this is as follows: > > // > @@ > expression

Re: [PATCHv2 3/4] ARM: tegra: use build-in device properties with rfkill_gpio

2016-01-25 Thread Thierry Reding
On Mon, Jan 25, 2016 at 12:03:48PM +0300, Heikki Krogerus wrote: > Pass the rfkill name and type to the device with properties > instead of driver specific platform data. > > Signed-off-by: Heikki Krogerus > CC: Alexandre Courbot > CC: Thierry Reding > CC: Stephen Warren > --- > arch/arm/mach

Move skein out of staging?

2016-01-25 Thread Ksenija Stanojević
Hi Jason, I'm helping Greg do a bit of cleanup in the staging tree, I noticed that skein driver is maybe ready to be moved out of staging. Are there any TODO tasks left to do beside checkpatch.pl clean-up? Thanks, Ksenija

Re: valgrind: mmap ENOMEM

2016-01-25 Thread Konstantin Khlebnikov
On Mon, Jan 25, 2016 at 2:49 PM, Mihai Donțu wrote: > Hi, > > I just moved to 4.5-rc1 and noticed this little gem while trying to > debug an issue with skype: > > $ valgrind skype > valgrind: mmap(0x60b000, 8192) failed in UME with error 12 (Cannot allocate > memory). > > 4.4 works fine. I ha

Re: [PATCH] ARM: tango: use "depends on" instead of "if" after prompt

2016-01-25 Thread Marc Gonzalez
On 25/01/2016 12:40, Masahiro Yamada wrote: > This platform was recently added, so missed the global fixup by > commit e32465429490 ("ARM: use "depends on" for SoC configs instead > of "if" after prompt"). Fix it now. > > Signed-off-by: Masahiro Yamada > --- > > arch/arm/mach-tango/Kconfig |

Re: [PATCH V2 2/2] regulator: mt6323: Add support for MT6323 regulator

2016-01-25 Thread John Crispin
Hi, On 25/01/2016 13:11, Javier Martinez Canillas wrote: > Hello, > > On Mon, Jan 25, 2016 at 7:40 AM, John Crispin wrote: >> From: Chen Zhong > > [snip] > >> +} >> + >> +static struct platform_driver mt6323_regulator_driver = { >> + .driver = { >> + .name = "mt6323-regula

Re: [PATCH v3 01/17] Xen: ACPI: Hide UART used by Xen

2016-01-25 Thread Stefano Stabellini
On Sat, 23 Jan 2016, Shannon Zhao wrote: > From: Shannon Zhao > > ACPI 6.0 introduces a new table STAO to list the devices which are used > by Xen and can't be used by Dom0. On Xen virtual platforms, the physical > UART is used by Xen. So here it hides UART from Dom0. > > Signed-off-by: Shannon

Re: mm: WARNING in __delete_from_page_cache

2016-01-25 Thread Jan Kara
On Mon 25-01-16 01:04:22, Kirill A. Shutemov wrote: > On Sun, Jan 24, 2016 at 11:48:21AM +0100, Dmitry Vyukov wrote: > > Hello, > > > > The following program triggers WARNING in __delete_from_page_cache: > > > > [ cut here ] > > WARNING: CPU: 0 PID: 7676 at mm/filemap.c:21

Re: [PATCH v3 1/4] KVM: Recover IRTE to remapped mode if the interrupt is not single-destination

2016-01-25 Thread Paolo Bonzini
On 22/01/2016 14:05, Radim Krcmár wrote: > > This is a good question. I also thought about this before, but after > > thinking it a bit more, seems we don't need to do this. > > If we don't do this, the in-flight interrupts will continue to be > > delivered in PI mode while we are changing it to

Re: [PATCH] ARM: tegra: remove redundant ARM_L1_CACHE_SHIFT_6 select

2016-01-25 Thread Thierry Reding
On Sat, Jan 23, 2016 at 05:55:30PM +0900, Masahiro Yamada wrote: > These two are both ARMv7 SoCs. They need not explicitly select > ARM_L1_CACHE_SHIFT_6 because it is enabled along with CPU_V7. > > Refer to commit a092f2b15399 ("ARM: 7291/1: cache: assume 64-byte L1 > cachelines for ARMv7 CPUs").

Re: [PATCH 03/15] dmaengine: dw: rename masters to reflect actual topology

2016-01-25 Thread Mark Brown
On Sun, Jan 24, 2016 at 10:38:57PM +, Måns Rullgård wrote: > Mark Brown writes: > > This is patch 3 of a series but I don't have anything else in the > > series. What is going on with the rest of the series - what are the > > dependencies and so on? > I give up. Seriously, this is impossib

Re: [PATCH 03/15] dmaengine: dw: rename masters to reflect actual topology

2016-01-25 Thread Mark Brown
On Mon, Jan 25, 2016 at 10:35:02AM +0200, Andy Shevchenko wrote: > On Sun, 2016-01-24 at 22:36 +, Mark Brown wrote: > > This is patch 3 of a series but I don't have anything else in the > > series.  What is going on with the rest of the series - what are the > > dependencies and so on? > Mark

Re: [PATCH] bus: vexpress-config: Add missing of_node_put

2016-01-25 Thread Julia Lawall
On Mon, 25 Jan 2016, liviu.du...@arm.com wrote: > On Fri, Jan 22, 2016 at 11:38:38PM +0530, Amitoj Kaur Chawla wrote: > > for_each_compatible_node performs an of_node_get on each iteration, so > > to break out of the loop an of_node_put is required. > > > > Found using Coccinelle. The semantic p

Re: [PATCH v3 2/4] KVM: x86: Use vector-hashing to deliver lowest-priority interrupts

2016-01-25 Thread Paolo Bonzini
On 22/01/2016 15:01, Radim Krcmár wrote: >> for (i = 0; i <= mod; i++) { >> idx = find_next_bit(bitmap, bitmap_size, idx + 1); >> BUG_ON(idx == bitmap_size); >> } WARN_ON, not BUG_ON. Paolo

Re: [PATCH] pinctrl: tegra: move Tegra pinctrl drivers to sub-directory

2016-01-25 Thread Thierry Reding
On Sun, Jan 24, 2016 at 12:30:08AM +0900, Masahiro Yamada wrote: > Tegra has several pinctrl drivers. Now it is reasonable enough to > move them into drivers/pinctrl/tegra/. > > Signed-off-by: Masahiro Yamada > --- > > drivers/pinctrl/Kconfig | 32 > +-

RE: [PATCH v3 1/4] KVM: Recover IRTE to remapped mode if the interrupt is not single-destination

2016-01-25 Thread Wu, Feng
> -Original Message- > From: Paolo Bonzini [mailto:paolo.bonz...@gmail.com] On Behalf Of Paolo > Bonzini > Sent: Monday, January 25, 2016 8:23 PM > To: Radim Krcmár ; Wu, Feng > Cc: linux-kernel@vger.kernel.org; k...@vger.kernel.org > Subject: Re: [PATCH v3 1/4] KVM: Recover IRTE to rema

[PATCH v2] autofs: show pipe inode in mount options

2016-01-25 Thread Stanislav Kinsburskiy
This is required for CRIU (Checkpoint Restart In Userspace) to migrate a mount point, when write end in user space is closed. Below is the brief description of the problem. To migrate non-catatonic autofs mount point, one have to restore control pipe between kernel and and autofs master process. On

[PATCH v2 0/1] usb: option.c: Fix Cinterion AHxx enumeration.

2016-01-25 Thread John Ernberg
From: John Ernberg Added signoff and made corrections to the commit message after review by Johan Hovold. This resolves a race condition that may occur with Cinterion AH3 modem modules if both the option and cdc_ether drivers are compiled as kernel modules. Note: Since I have no other AHxx mode

[PATCH v2 1/1] usb: option.c: Fix Cinterion AHxx enumeration.

2016-01-25 Thread John Ernberg
From: John Ernberg In certain kernel configurations where the cdc_ether and option drivers are compiled as modules there can occur a race condition in enumeration. This causes the option driver to enumerate the ethernet(wwan) interface as usb-serial interfaces. usb-devices output for the modem:

Re: [PATCH V2 2/2] regulator: mt6323: Add support for MT6323 regulator

2016-01-25 Thread Javier Martinez Canillas
Hello John, On Mon, Jan 25, 2016 at 9:19 AM, John Crispin wrote: > Hi, > > On 25/01/2016 13:11, Javier Martinez Canillas wrote: >> Hello, >> >> On Mon, Jan 25, 2016 at 7:40 AM, John Crispin wrote: >>> From: Chen Zhong >> >> [snip] >> >>> +} >>> + >>> +static struct platform_driver mt6323_regula

Re: [BUG REPORT] NULL pointer dereference in jdb2_journal_grab_journal_head (RDI)

2016-01-25 Thread Jan Kara
On Sat 23-01-16 09:42:52, Jeff Merkey wrote: > If I leave the system in the debugger console overnight with all the > processors suspended for about 8 hours, then type go, the following > bug shows up during file I/O. This particular bug showed up while > using git to update some branches. > > I

Re: [Patch V2 1/9] clk: tegra: Fix divider on VI_I2C

2016-01-25 Thread Thierry Reding
On Thu, Jan 14, 2016 at 02:24:30PM -0500, Rhyland Klein wrote: > VI-I2C has 16 bits available for its divider. Switch the divider > width to 16 instead of 8 so correct rates can be set. > > Signed-off-by: Rhyland Klein > --- > drivers/clk/tegra/clk-tegra-periph.c | 2 +- > 1 file changed, 1 inse

Re: [PATCH V2 2/4] mfd: mediatek: int_con and int_status may vary in location

2016-01-25 Thread Lee Jones
On Mon, 25 Jan 2016, John Crispin wrote: > MT6323 has the INT_CON and INT_STATUS located at a different position. > Make the registers locations configurable. > > Signed-off-by: John Crispin > --- > drivers/mfd/mt6397-core.c | 27 +-- > include/linux/mfd/mt6397/c

Re: [Patch V2 2/9] clk: tegra210: Remove improper flags for lock_enable

2016-01-25 Thread Thierry Reding
On Thu, Jan 14, 2016 at 02:24:31PM -0500, Rhyland Klein wrote: > Most PLL's don't actually have LOCK_ENABLE bits. However, most PLL's > also had that flag set, which meant that the clk code was trying to > enable locks, and inadvertantly flipping bits in other fields. > > For PLLM, ensure the corr

Re: [PATCH V2 2/2] regulator: mt6323: Add support for MT6323 regulator

2016-01-25 Thread Mark Brown
On Mon, Jan 25, 2016 at 01:19:46PM +0100, John Crispin wrote: > On 25/01/2016 13:11, Javier Martinez Canillas wrote: > > You don't have a .of_match table but according the DT bindings, the > > compatible string "mediatek,mt6323-regulator" should be used so there > > should be a OF match table or t

Re: [Patch V2 3/9] clk: tegra210: Fix naming of MISC registers

2016-01-25 Thread Thierry Reding
On Thu, Jan 14, 2016 at 02:24:32PM -0500, Rhyland Klein wrote: > Some register for PLLM and PLLMB were named MISC0 but according to the > TRM, they have different names. Sync up the names to make it easier to > understand which register they are really referring to. > > Signed-off-by: Rhyland Klei

Re: Move wlan-ng out of staging?

2016-01-25 Thread Sudip Mukherjee
On Mon, Jan 25, 2016 at 01:16:56PM +0100, Ksenija Stanojević wrote: > Hi All, > > I'm helping Greg do a bit of cleanup in the staging tree, I noticed that > wlan-ng driver is maybe ready to be moved out of staging. Are there > any TODO tasks left to do beside checkpatch.pl clean-up? I think the m

Re: [Patch V2 4/9] clk: tegra: Fix the misnaming of nvenc from msenc

2016-01-25 Thread Thierry Reding
On Thu, Jan 14, 2016 at 02:24:33PM -0500, Rhyland Klein wrote: > When adding the nvenc clock, it was partially named msenc in > the code. Since the msenc clk isn't present in T210 where the nvenc > clk is, its misleading to see it present. Therefore, properly > rename it. > > Signed-off-by: Rhylan

Re: [PATCH V2 3/4] mfd: mediatek: add support for different Slave types

2016-01-25 Thread Lee Jones
On Mon, 25 Jan 2016, John Crispin wrote: > Signed-off-by: John Crispin > --- > drivers/mfd/mt6397-core.c | 38 +++--- > 1 file changed, 31 insertions(+), 7 deletions(-) For my own reference: Acked-by: Lee Jones > diff --git a/drivers/mfd/mt6397-core.c b/dr

[PATCH] ASoC: wm8974: configure pll and mclk divider automatically

2016-01-25 Thread Mans Rullgard
This adds a set_sysclk() DAI op so the card driver can set the input clock frequency. If this is done, the pll and mclk divider are configured to produce the required 256x fs clock when the sample rate is set by hw_params(). These additions make the codec work with the simple-card driver. Card dr

Re: [PATCH 1/2] regulator: ltc3589: make IRQ optional

2016-01-25 Thread Lothar Waßmann
Hi, On Fri, 22 Jan 2016 16:26:10 + Mark Brown wrote: > On Fri, Jan 22, 2016 at 06:41:45AM +0100, Lothar Waßmann wrote: > > > On Thu, Jan 21, 2016 at 12:33:11PM +0100, Lothar Waßmann wrote: > > > > Your commit message (quoted above) claims that without this patch if no > > > interrupt is suppl

Re: [PATCH v3 1/4] KVM: Recover IRTE to remapped mode if the interrupt is not single-destination

2016-01-25 Thread Paolo Bonzini
On 25/01/2016 13:26, Wu, Feng wrote: >> > It may be necessary because IRTE writes (128 bits) are not atomic. > IRTE is updated atomically, I added the patch to support this. Please > refer to 344cb4e0b6f3a0dbef0643eacb4946338eb228c0. Great, I hadn't noticed that patch. Thanks. Paolo

Re: [PATCH v2 1/1] usb: option.c: Fix Cinterion AHxx enumeration.

2016-01-25 Thread Johan Hovold
On Mon, Jan 25, 2016 at 12:27:17PM +, John Ernberg wrote: > From: John Ernberg > > In certain kernel configurations where the cdc_ether and option drivers > are compiled as modules there can occur a race condition in enumeration. > This causes the option driver to enumerate the ethernet(wwan)

[PATCH] ASoC: mxs-saif: add mclk enable/disable ops

2016-01-25 Thread Mans Rullgard
This makes normal clk_enable/disable() calls on mxs_saif_mclk work as expected, i.e. actually turn the mclk output on or (when safe) off. The existing mxs_saif_get/put_mclk() functions are rewritten to use common clk operations on mxs_saif_mclk rather than accessing registers directly. With these

Re: [Patch V2 5/9] clk: tegra: pll: Fix potential sleeping-while-atomic

2016-01-25 Thread Thierry Reding
On Thu, Jan 14, 2016 at 02:24:34PM -0500, Rhyland Klein wrote: > From: Andrew Bresticker > > Since the ->enable() callback is called with a spinlock held, we cannot > call potentially blocking functions such as clk_get_rate() or > clk_get_parent(), so use the unlocked versions instead. > > Signe

Re: [PATCH V2 4/4] mfd: mediatek: add MT6323 support to MT6397 driver

2016-01-25 Thread Lee Jones
Please honour the subject format of the subsystem you are contributing to. `git log --oneline -- $subsystem` gives you this. On Mon, 25 Jan 2016, John Crispin wrote: > Signed-off-by: John Crispin > --- > drivers/mfd/mt6397-core.c| 20 ++ > include/linux/mfd/mt6323/core.h |

Re: [Patch V2 5/9] clk: tegra: pll: Fix potential sleeping-while-atomic

2016-01-25 Thread Thierry Reding
On Thu, Jan 14, 2016 at 02:24:34PM -0500, Rhyland Klein wrote: > From: Andrew Bresticker > > Since the ->enable() callback is called with a spinlock held, we cannot > call potentially blocking functions such as clk_get_rate() or > clk_get_parent(), so use the unlocked versions instead. > > Signe

Re: [PATCH V2 1/4] dt-bindings: mfd: Add bindings for the MediaTek MT6323 PMIC

2016-01-25 Thread Lee Jones
On Mon, 25 Jan 2016, John Crispin wrote: > Signed-off-by: John Crispin > Cc: devicet...@vger.kernel.org > --- > Documentation/devicetree/bindings/mfd/mt6397.txt | 10 ++ > 1 file changed, 6 insertions(+), 4 deletions(-) For my own reference: Acked-by: Lee Jones > diff --git a/Docu

Re: [PATCH 1/2] regulator: ltc3589: make IRQ optional

2016-01-25 Thread Mark Brown
On Mon, Jan 25, 2016 at 01:37:31PM +0100, Lothar Waßmann wrote: > On Fri, 22 Jan 2016 16:26:10 + Mark Brown wrote: > > You're not just making the interrupt optional, you are also implementing > > polling support. That's really unusual and there's no clear reason for > Any suggestions how to

Re: [PATCH 1/3] gpio: gpio-ich: add support for Intel Baytrail

2016-01-25 Thread Lee Jones
On Sat, 23 Jan 2016, Antoine Tenart wrote: > This patch adds support for the Braytrail series, with the hardware > blink capability. > > Signed-off-by: Antoine Tenart > --- > drivers/gpio/gpio-ich.c | 12 > include/linux/mfd/lpc_ich.h | 1 + Acked-by: Lee Jones > 2 files ch

Re: [PATCH 2/3] mfd: lpc_ich: use a correct mask for the GPIO base address

2016-01-25 Thread Lee Jones
On Sat, 23 Jan 2016, Antoine Tenart wrote: > The GPIO base address is read from the GPIOBASE register. The first > bit must be cleared as it can be hardwired to 1 to represent the i/o > space. Other bits are either containing the base address of are > reserved. They should not be cleared as all th

Re: [PATCH 1/3] printk: make preferred_console local static bool

2016-01-25 Thread Joe Perches
On Mon, 2016-01-25 at 17:45 +0600, Aleksey Makarov wrote: > The variable preferred_console is used only inside register_console() > and it's semantics is boolean.  Make it clear. This loses the index of the preferred console. I'm not sure this is better.

Re: [Patch V2 7/9] clk: tegra: pll: Do not disable PLLE when under HW control

2016-01-25 Thread Thierry Reding
On Thu, Jan 14, 2016 at 02:24:36PM -0500, Rhyland Klein wrote: > From: Mark Kuo > > SW should not disable PLLE if PLLE is already put under HW control. > > Signed-off-by: Mark Kuo > Signed-off-by: Rhyland Klein > --- > drivers/clk/tegra/clk-pll.c | 22 +++--- > 1 file changed,

Re: [Patch V2 7/9] clk: tegra: pll: Do not disable PLLE when under HW control

2016-01-25 Thread Thierry Reding
On Thu, Jan 14, 2016 at 02:24:36PM -0500, Rhyland Klein wrote: > From: Mark Kuo > > SW should not disable PLLE if PLLE is already put under HW control. > > Signed-off-by: Mark Kuo > Signed-off-by: Rhyland Klein > --- > drivers/clk/tegra/clk-pll.c | 22 +++--- > 1 file changed,

Re: [PATCH 3/3] mfd: lpc_ich: add GPIO support for Baytrail

2016-01-25 Thread Lee Jones
On Sat, 23 Jan 2016, Antoine Tenart wrote: > This patch adds the GPIO support for the Baytrail family. > > Signed-off-by: Antoine Tenart > --- > drivers/mfd/lpc_ich.c | 1 + > 1 file changed, 1 insertion(+) I can't take this yet, as it has a dependency on the GPIO patch. For my own reference:

Re: [Patch V2 6/9] clk: tegra210: fix pllx dyn step calculation

2016-01-25 Thread Thierry Reding
On Thu, Jan 14, 2016 at 02:24:35PM -0500, Rhyland Klein wrote: > The logic for calculating the input rate used when figuring out > the proper dynamic steps for pllx was incorrect. It is supposed to > be calculated using parent_rate / m but it was just using the parent > rate directly, therefore usi

Re: [Patch V2 8/9] clk: tegra: pll: Fix typos around clearing plle bits during enable

2016-01-25 Thread Thierry Reding
On Thu, Jan 14, 2016 at 02:24:37PM -0500, Rhyland Klein wrote: > While enabling PLLE on both Tegra114 and Tegra210, we should be clearing > PLLE_MISC_VREG_BG_CTRL_MASK and PLLE_MISC_VREG_CTRL_MASK not setting > them. This patch fixes both places where we incorrectly set instead > of cleared those b

Re: [PATCH v6 0/1] Introduce Innosilicon HDMI driver on Rockchip platforms

2016-01-25 Thread Heiko Stübner
Am Montag, 25. Januar 2016, 09:43:17 schrieb Yakir Yang: > Here are a brief introduction to Innosilicon HDMI IP: > - Support HDMI 1.4a, HDCP 1.2 and DVI 1.0 standard compliant transmitter > - Support HDMI1.4 a/b 3D function defined in HDMI 1.4 a/b spec > - Digital video interface supports a p

Re: [PATCH] Revert "Staging: panel: usleep_range is preferred over udelay"

2016-01-25 Thread Joe Perches
On Mon, 2016-01-25 at 12:16 +0300, Dan Carpenter wrote: > Ugh...  Checkpatch told us to introduce bugs...  :(  We almost certainly > would have missed this bug in review, but it wasn't sent to the list so > I guess we'll never know. So when isn't usleep_range preferred over udelay?

linux-4.5-rc1 TI pandboard-es wifi wlcore locks and reset

2016-01-25 Thread Ross Green
Just tried the new kernel release on faithful pandaboard es with the new 4.5-rc1 release. There is a problem with the wifi modules once the modules are loaded. Looks like the wifi firmware gets loaded put no response after that causing recovery action. the kernel 4.4 works quite happily with this

RE: [PATCH v3 1/4] KVM: Recover IRTE to remapped mode if the interrupt is not single-destination

2016-01-25 Thread Wu, Feng
> -Original Message- > From: Paolo Bonzini [mailto:pbonz...@redhat.com] > Sent: Monday, January 25, 2016 8:39 PM > To: Wu, Feng ; Radim Krcmár > Cc: linux-kernel@vger.kernel.org; k...@vger.kernel.org > Subject: Re: [PATCH v3 1/4] KVM: Recover IRTE to remapped mode if the > interrupt is n

[stable] upstream 3d5fe03a3ea01 -stable backport request

2016-01-25 Thread Sergey Senozhatsky
Hello, Please add upstream 'commit 3d5fe03a3ea01 ("zram/zcomp: use GFP_NOIO to allocate streams")' to stable releases. :commit 3d5fe03a3ea013060ebba2a811aeb0f23f56aefa :Author: Sergey Senozhatsky : :zram/zcomp: use GFP_NOIO to allocate streams : :We can end up allocating a new compr

Re: [Patch V2 9/9] clk: tegra: pll: Fix PLLE SS coefficients val

2016-01-25 Thread Thierry Reding
On Thu, Jan 14, 2016 at 02:26:42PM -0500, Rhyland Klein wrote: > From: Mark Kuo > > The PLLE_SS_COEFFICIENTS_VAL should be different for Tegra210 > from Tegra114. Add SoC generation specific versions for Tegra114 > and Tegra210 and use those in their respective plle_enable functions. > > Signed-

Re: [PATCH v2 03/10] [media] tvp5150: Add pad-level subdev operations

2016-01-25 Thread Mauro Carvalho Chehab
Em Thu, 7 Jan 2016 09:46:43 -0300 Javier Martinez Canillas escreveu: > From: Laurent Pinchart > > This patch enables the tvp5150 decoder driver to be used with the media > controller framework by adding pad-level subdev operations and init the > media entity pad. > > Signed-off-by: Laurent Pi

Re: [PATCH V3 2/2] regulator: mt6323: Add support for MT6323 regulator

2016-01-25 Thread kbuild test robot
Hi Chen, [auto build test ERROR on regulator/for-next] [also build test ERROR on v4.5-rc1 next-20160125] [if your patch is applied to the wrong git tree, please drop us a note to help improving the system] url: https://github.com/0day-ci/linux/commits/John-Crispin/dt-bindings-regulator-Add

Re: [PATCH v7 1/2] mfd: act8945a: add Active-semi ACT8945A PMIC MFD driver

2016-01-25 Thread Lee Jones
On Fri, 22 Jan 2016, Wenyou Yang wrote: > This patch adds support for the Active-semi ACT8945A PMIC. > It is a Multi Function Device with the following subdevices: > - Regulator > - Charger > > It is interfaced to the host controller using I2C interface, > ACT8945A is a child device of the I2C.

<    1   2   3   4   5   6   7   8   9   10   >