[PATCH v4 1/3] hwmon: (mcp3021) add devicetree support

2016-11-09 Thread Clemens Gruber
Support setting the reference voltage from the device tree. Signed-off-by: Clemens Gruber --- drivers/hwmon/mcp3021.c | 48 1 file changed, 36 insertions(+), 12 deletions(-) diff --git a/drivers/hwmon/mcp3021.c b/drivers/hwmon/mcp3021.c index 972

Re: [swiotlb PATCH v3 0/3] Add support for DMA writable pages being writable by the network stack.

2016-11-09 Thread Konrad Rzeszutek Wilk
On Wed, Nov 09, 2016 at 10:19:57AM -0500, Alexander Duyck wrote: > This patch series is a subset of the patches originally submitted with the > above patch title. Specifically all of these patches relate to the > swiotlb. > > I wasn't sure if I needed to resubmit this series or not. I see that v

Re: [PATCH] leds: Add mutex protection in brightness_show()

2016-11-09 Thread Jacek Anaszewski
Hi, On 11/09/2016 09:26 PM, Pavel Machek wrote: Hi! Thanks for the analysis. Either way, this patch, with the modification I mentioned in my previous message is required to assure proper LED sysfs locking. Regarding the races between user and atomic context, I think that it should be system r

Re: [PATCH] leds: Add mutex protection in brightness_show()

2016-11-09 Thread Jacek Anaszewski
Hi, On 11/09/2016 01:38 PM, Pavel Machek wrote: Hi! Initially the claim about no need for lock in brightness_show() was valid as the function was just returning unchanged LED brightness. After the addition of led_update_brightness() this The claim was probably wrong from the day one, unless

Proposal: HAVE_SEPARATE_IRQ_STACK?

2016-11-09 Thread Jason A. Donenfeld
Hi folks, I do some ECC crypto in a kthread. A fast 32bit implementation usually uses around 2k - 3k bytes of stack. Since kernel threads get 8k, I figured this would be okay. And for the most part, it is. However, everything falls apart on architectures like MIPS, which do not use a separate irq

Re: [alsa-devel] [PATCH 2/9] ALSA: ac97: add an ac97 bus

2016-11-09 Thread Robert Jarzmik
Lars-Peter Clausen writes: > On 11/08/2016 10:18 PM, Robert Jarzmik wrote: >>> I'd make the controller itself a struct dev, rather than just having the >>> pointer to the parent. This is more idiomatic and matches what other >>> subsystems do. It has several advantages, you get proper refcounting

Re: [PATCH 2/2] x86: use KNOWN_FREQ and RELIABLE TSC flags on certain processors/SoCs

2016-11-09 Thread Thomas Gleixner
On Tue, 1 Nov 2016, Bin Gao wrote: > @@ -702,6 +702,15 @@ unsigned long native_calibrate_tsc(void) > } > } > > + setup_force_cpu_cap(X86_FEATURE_TSC_KNOWN_FREQ); I can understand the one below, but this one changes existing behaviour w/o explaining why this is correct and

Re: [PATCH v2 00/12] mm: page migration enhancement for thp

2016-11-09 Thread Balbir Singh
On 09/11/16 15:59, Naoya Horiguchi wrote: > On Wed, Nov 09, 2016 at 01:32:04PM +1100, Balbir Singh wrote: >> On 08/11/16 10:31, Naoya Horiguchi wrote: >>> Hi everyone, >>> >>> I've updated thp migration patches for v4.9-rc2-mmotm-2016-10-27-18-27 >>> with feedbacks for ver.1. >>> >>> General desc

Re: [PATCH 1/3] kbuild: add -fno-PIE

2016-11-09 Thread Michal Marek
Dne 9.11.2016 v 07:10 Ingo Molnar napsal(a): > > * Michal Marek wrote: > >> On Fri, Nov 04, 2016 at 07:39:38PM +0100, Sebastian Andrzej Siewior wrote: >>> Debian started to build the gcc with -fPIE by default so the kernel >>> build ends before it starts properly with: >>> |kernel/bounds.c:1:0:

Re: [swiotlb PATCH v3 0/3] Add support for DMA writable pages being writable by the network stack.

2016-11-09 Thread Alexander Duyck
On Wed, Nov 9, 2016 at 1:23 PM, Konrad Rzeszutek Wilk wrote: > On Wed, Nov 09, 2016 at 10:19:57AM -0500, Alexander Duyck wrote: >> This patch series is a subset of the patches originally submitted with the >> above patch title. Specifically all of these patches relate to the >> swiotlb. >> >> I w

[patch added to 3.12-stable] MIPS: KVM: Fix unused variable build warning

2016-11-09 Thread Jiri Slaby
From: Nicholas Mc Guire This patch has been added to the 3.12 stable tree. If you have any objections, please let us know. === commit 5f508c43a7648baa892528922402f1e13f258bd4 upstream. As kvm_mips_complete_mmio_load() did not yet modify PC at this point as James Hogans explained t

Re: [PATCH V5 1/3] ARM64 LPC: Indirect ISA port IO introduced

2016-11-09 Thread Arnd Bergmann
On Wednesday, November 9, 2016 11:29:46 AM CET John Garry wrote: > On 08/11/2016 22:35, Arnd Bergmann wrote: > > On Tuesday, November 8, 2016 4:49:49 PM CET Will Deacon wrote: > >> On Tue, Nov 08, 2016 at 04:33:44PM +, John Garry wrote: > >>> On 08/11/2016 16:12, Will Deacon wrote: > On Tu

Re: [PATCH V5 3/3] ARM64 LPC: LPC driver implementation on Hip06

2016-11-09 Thread Arnd Bergmann
On Wednesday, November 9, 2016 12:10:43 PM CET Gabriele Paoloni wrote: > > On Tuesday, November 8, 2016 11:47:09 AM CET zhichang.yuan wrote: > > > + /* > > > +* The first PCIBIOS_MIN_IO is reserved specifically for > > indirectIO. > > > +* It will separate indirectIO range fro

Re: [PATCH v2 0/8] Support TPS65217 PMIC interrupt in DT

2016-11-09 Thread Tony Lindgren
* Milo Kim [161028 05:38]: > TPS65217 interrupt events include push button pressed/released, USB and AC > voltage status change. AM335x bone based boards (like BB, BBB, BBG) have > common PMIC interrupt pin (named NMI) of AM335x core. > > This patchset support interrupts in device tree file. A

Re: [PATCH V5 2/3] ARM64 LPC: Add missing range exception for special ISA

2016-11-09 Thread Arnd Bergmann
On Wednesday, November 9, 2016 1:54:53 PM CET One Thousand Gnomes wrote: > > I think it is a relatively safe assumption that there is only one > > ISA bridge. A lot of old drivers hardcode PIO or memory addresses > > It's not a safe assumption for x86 at least. There are a few systems with > multi

Re: [PATCH] fs/proc/array.c: slightly improve render_sigset_t

2016-11-09 Thread Andrei Vagin
On Tue, Sep 20, 2016 at 3:28 PM, Rasmus Villemoes wrote: > format_decode and vsnprintf occasionally show up in perf top, so I > went looking for places that might not need the full printf > power. With the help of kprobes, I gathered some statistics on which > format strings we mostly pass to vsnp

[PATCH v2] e1000e: free IRQ regardless of __E1000_DOWN

2016-11-09 Thread Tyler Baicar
Move IRQ free code so that it will happen regardless of the __E1000_DOWN bit. Currently the e1000e driver only releases its IRQ if the __E1000_DOWN bit is cleared. This is not sufficient because it is possible for __E1000_DOWN to be set without releasing the IRQ. In such a situation, we will hit a

Re: Proposal: HAVE_SEPARATE_IRQ_STACK?

2016-11-09 Thread Thomas Gleixner
On Wed, 9 Nov 2016, Jason A. Donenfeld wrote: > But for the remaining platforms, such as MIPS, this is still a > problem. In an effort to work around this in my code, rather than > having to invoke kmalloc for what should be stack-based variables, I > was thinking I'd just disable preemption for th

Re: [PATCH v1 03/11] drivers: soc: hisi: Add support for Hisilicon Djtag driver

2016-11-09 Thread Arnd Bergmann
On Wednesday, November 9, 2016 9:58:38 AM CET Anurup M wrote: > > > I also see that the compatible strings have the version included in > > them, and you can probably drop them by requiring them only in the > > fallback: > > > > compatible = "hisilicon,hip05-cpu-djtag", "hisilicon,djtag-v1";

RE: [PATCH v9 0/4] Enabling Ring 3 MONITOR/MWAIT feature for Knights Landing

2016-11-09 Thread Andrejczuk, Grzegorz
-Original Message- From: Thomas Gleixner [mailto:t...@linutronix.de] Sent: Wednesday, November 9, 2016 3:32 PM To: Andrejczuk, Grzegorz Cc: mi...@redhat.com; h...@zytor.com; x...@kernel.org; b...@suse.de; dave.han...@linux.intel.com; Daniluk, Lukasz ; Cownie, James H ; Pan, Jacob jun

[PATCH v2] drbd: Fix kernel_sendmsg() usage - potential NULL deref

2016-11-09 Thread Lars Ellenberg
From: Richard Weinberger Don't pass a size larger than iov_len to kernel_sendmsg(). Otherwise it will cause a NULL pointer deref when kernel_sendmsg() returns with rv < size. DRBD as external module has been around in the kernel 2.4 days already. We used to be compatible to 2.4 and very early 2.

Re: [PATCH] firmware: fix async/manual firmware loading

2016-11-09 Thread Luis R. Rodriguez
On Wed, Nov 09, 2016 at 09:36:56PM +0100, Luis R. Rodriguez wrote: > On Sun, Oct 30, 2016 at 06:28:58PM +0100, Yves-Alexis Perez wrote: > > On Sun, 2016-10-30 at 15:50 +0100, Yves-Alexis Perez wrote: > > > wait_for_completion_interruptible_timeout() return value is either > > > -ERESTARTSYS (in cas

Re: [PATCH v3 0/3] ARM: dts: omap5 uevm: add LEDs, USR1 button and EEPROM

2016-11-09 Thread Tony Lindgren
* H. Nikolaus Schaller [160928 22:26]: > Changes V3: > * remove unit addresses from LEDs [Rob Herring] > > 2016-09-28 20:08:23: Changes V2: > * fixed subject of patches to correctly tell that it is for omap5 evm > * changed default triggers a little to create a nicer default pattern > > 2016-09-

Re: [PATCH] kvm: kvmclock: let KVM_GET_CLOCK return whether the master clock is in use

2016-11-09 Thread Paolo Bonzini
- Original Message - > From: "Marcelo Tosatti" > To: "Paolo Bonzini" > Cc: linux-kernel@vger.kernel.org, k...@vger.kernel.org, "Radim Krčmář" > > Sent: Wednesday, November 9, 2016 9:17:19 PM > Subject: Re: [PATCH] kvm: kvmclock: let KVM_GET_CLOCK return whether the > master clock is

Linux 4.9-rc4 double free from pp_release()

2016-11-09 Thread Shuah Khan
Hi Sudip/Greg, I am seeing the following double free from pp_release() in Linux 4.9-rc4 Is this a known problem? -- Shuah [ 54.732175] device: 'ppdev0.0': device_add [ 54.732220] bus: 'parport': add device ppdev0.0 [ 54.732388] PM: Adding info for parport:ppdev0.0 [ 54.732804] bus: 'parp

Re: [Ksummit-discuss] Including images on Sphinx documents

2016-11-09 Thread Markus Heiser
On 09.11.2016 12:58, Jani Nikula wrote: > On Wed, 09 Nov 2016, Markus Heiser wrote: >> Am 09.11.2016 um 12:16 schrieb Jani Nikula : So I vote for : > 1) copy (or symlink) all rst files to Documentation/output (or to the > build dir specified via O= directive) and generate the *

Re: Summary of LPC guest MSI discussion in Santa Fe

2016-11-09 Thread Alex Williamson
On Wed, 9 Nov 2016 20:31:45 + Will Deacon wrote: > On Wed, Nov 09, 2016 at 08:23:03PM +0100, Christoffer Dall wrote: > > > > (I suppose it's technically possible to get around this issue by letting > > QEMU place RAM wherever it wants but tell the guest to never use a > > particular subset of

Re: [PATCH] mwifiex: printk() overflow with 32-byte SSIDs

2016-11-09 Thread Kalle Valo
Brian Norris writes: > SSIDs aren't guaranteed to be 0-terminated. Let's cap the max length > when we print them out. > > This can be easily noticed by connecting to a network with a 32-octet > SSID: > > [ 3903.502925] mwifiex_pcie :01:00.0: info: trying to associate to > '0123456789abcdef012

Re: [PATCH] mwifiex: printk() overflow with 32-byte SSIDs

2016-11-09 Thread Brian Norris
On Thu, Nov 10, 2016 at 12:20:53AM +0200, Kalle Valo wrote: > Brian Norris writes: > > > SSIDs aren't guaranteed to be 0-terminated. Let's cap the max length > > when we print them out. > > > > This can be easily noticed by connecting to a network with a 32-octet > > SSID: > > > > [ 3903.502925]

Re: [PATCH v3 3/4] ARM: dts: am33xx: add DMA properties for tscadc

2016-11-09 Thread Tony Lindgren
* Jonathan Cameron [161105 10:35]: > On 05/10/16 10:04, Mugunthan V N wrote: > > Add DMA properties for tscadc > > > > Signed-off-by: Mugunthan V N > The support in the driver is now working it's way through iio.git towards > linux-next. I'm guessing this and the next patch will ultimately go th

Re: [PATCH 1/6] dt-bindings: mdio-mux: Add documentation for mdio mux for NSP SoC

2016-11-09 Thread Scott Branden
One change On 16-11-09 01:33 AM, Yendapally Reddy Dhananjaya Reddy wrote: Add documentation for mdio mux available in Broadcom NSP SoC Signed-off-by: Yendapally Reddy Dhananjaya Reddy --- .../devicetree/bindings/net/brcm,mdio-mux-nsp.txt | 57 ++ 1 file changed, 57 insert

Re: [PATCH 1/1 V2] mqueue: Implment generic xattr support

2016-11-09 Thread Paul Moore
On Wed, Nov 9, 2016 at 11:25 AM, David Graziano wrote: > On Mon, Nov 7, 2016 at 4:23 PM, Paul Moore wrote: >> On Mon, Nov 7, 2016 at 3:46 PM, David Graziano >> wrote: >>> This patch adds support for generic extended attributes within the >>> POSIX message queues filesystem and setting them by co

Re: Summary of LPC guest MSI discussion in Santa Fe

2016-11-09 Thread Will Deacon
On Wed, Nov 09, 2016 at 03:17:09PM -0700, Alex Williamson wrote: > On Wed, 9 Nov 2016 20:31:45 + > Will Deacon wrote: > > On Wed, Nov 09, 2016 at 08:23:03PM +0100, Christoffer Dall wrote: > > > > > > (I suppose it's technically possible to get around this issue by letting > > > QEMU place RAM

RE: [PATCH v9 0/4] Enabling Ring 3 MONITOR/MWAIT feature for Knights Landing

2016-11-09 Thread Thomas Gleixner
On Wed, 9 Nov 2016, Andrejczuk, Grzegorz wrote: > -Original Message- > From: Thomas Gleixner [mailto:t...@linutronix.de] Can you pretty please use a mail client which does not copy the whole mail header into the mail body? That's just annoying. > Sorry we end up in this situation. >

Re: [PATCH v6 5/8] DT:omap3+tsc2007: use new common touchscreen bindings

2016-11-09 Thread Tony Lindgren
* H. Nikolaus Schaller [161027 01:47]: > While we fix the GTA04 we add proper pinmux for the > penirq gpio. > > Tested on: GTA04A4 and Pyra-Handheld > > Signed-off-by: H. Nikolaus Schaller This should be safe to merge along with the driver changes: Acked-by: Tony Lindgren > --- > arch/arm/

Re: [PATCH 1/1 V2] mqueue: Implment generic xattr support

2016-11-09 Thread Paul Moore
On Wed, Nov 9, 2016 at 11:48 AM, Christoph Hellwig wrote: >> +/* >> + * Callback for security_inode_init_security() for acquiring xattrs. >> + */ >> +static int mqueue_initxattrs(struct inode *inode, >> + const struct xattr *xattr_array, >> + void *f

Re: [PATCH v3] z3fold: use per-page read/write lock

2016-11-09 Thread Andrew Morton
On Wed, 9 Nov 2016 11:55:31 +0100 Vitaly Wool wrote: > Subject: [PATCH v3] z3fold: use per-page read/write lock I've rewritten the title to "mm/z3fold.c: use per-page spinlock" (I prefer to have "mm" in the title to easily identify it as an MM patch, and using "mm: z3fold: ..." seems odd when t

Re: [PATCH v2] fs/nfsd/nfs4callback: Remove deprecated create_singlethread_workqueue

2016-11-09 Thread Jeff Layton
On Wed, 2016-11-09 at 15:23 -0500, J. Bruce Fields wrote: On Wed, Nov 09, 2016 at 02:47:24PM -0500, J. Bruce Fields wrote: For now I wish we could just like to continue assuming the workqueue processes only one item at a time. Do we have that now, or do we need to switch to (looking at workqueue.

linux-next: manual merge of the asm-generic tree with Linus' tree

2016-11-09 Thread Stephen Rothwell
Hi Arnd, Today's linux-next merge of the asm-generic tree got a conflict in: include/asm-generic/percpu.h between commit: 7f8d61f00522 ("percpu: use notrace variant of preempt_disable/preempt_enable") from Linus' tree and commit: acbdf0e98066 ("percpu: make this_cpu_generic_read notrace

[PATCH v2 0/3] ASoC driver for the TSE-850

2016-11-09 Thread Peter Rosin
Hi! v1 -> v2 changes: - new subject for the bindings patch to make it easier to find - move the driver to the sound/soc/atmel directory - add cached values for add/loop1/loop2 to avoid gets from output gpios - use _cansleep when updating gpios - add comment on how the regulator voltage is mapped t

[PATCH v2 3/3] ASoC: atmel: tse850: add ASoC driver for the Axentia TSE-850

2016-11-09 Thread Peter Rosin
The TSE-850 is an FM Transmitter Station Equipment, designed to generate baseband signals for FM, mainly the DARC subcarrier, but other signals are also possible. Signed-off-by: Peter Rosin --- MAINTAINERS | 1 + sound/soc/atmel/Kconfig | 10 + sound/soc/atmel/Ma

Re: [PATCHv2] PCI: QDF2432 32 bit config space accessors

2016-11-09 Thread Bjorn Helgaas
On Wed, Nov 09, 2016 at 08:29:23PM +, Ard Biesheuvel wrote: > Hi Bjorn, > > On 9 November 2016 at 20:06, Bjorn Helgaas wrote: > > On Wed, Nov 09, 2016 at 02:25:56PM -0500, Christopher Covington wrote: > >> Hi Bjorn, > >> > [...] > >> > >> We're working to add the PNP0C02 resource to future fi

[tip:smp/hotplug] fs/buffer: Convert to hotplug state machine

2016-11-09 Thread tip-bot for Sebastian Andrzej Siewior
Commit-ID: fc4d24c9b47150245b3eb5bebc2ad4764c754ef4 Gitweb: http://git.kernel.org/tip/fc4d24c9b47150245b3eb5bebc2ad4764c754ef4 Author: Sebastian Andrzej Siewior AuthorDate: Thu, 3 Nov 2016 15:49:57 +0100 Committer: Thomas Gleixner CommitDate: Wed, 9 Nov 2016 23:45:25 +0100 fs/buffer: C

[tip:smp/hotplug] kernel/printk: Convert to hotplug state machine

2016-11-09 Thread tip-bot for Sebastian Andrzej Siewior
Commit-ID: 90b14889d2f9b29d7e5b4b2d36251c13ce3dd13f Gitweb: http://git.kernel.org/tip/90b14889d2f9b29d7e5b4b2d36251c13ce3dd13f Author: Sebastian Andrzej Siewior AuthorDate: Thu, 3 Nov 2016 15:49:58 +0100 Committer: Thomas Gleixner CommitDate: Wed, 9 Nov 2016 23:45:26 +0100 kernel/print

[tip:smp/hotplug] mm/memcg: Convert to hotplug state machine

2016-11-09 Thread tip-bot for Sebastian Andrzej Siewior
Commit-ID: 308167fcb330296fc80505a6b11ba0661f38a4cc Gitweb: http://git.kernel.org/tip/308167fcb330296fc80505a6b11ba0661f38a4cc Author: Sebastian Andrzej Siewior AuthorDate: Thu, 3 Nov 2016 15:49:59 +0100 Committer: Thomas Gleixner CommitDate: Wed, 9 Nov 2016 23:45:26 +0100 mm/memcg: Co

[tip:smp/hotplug] lib/radix-tree: Convert to hotplug state machine

2016-11-09 Thread tip-bot for Sebastian Andrzej Siewior
Commit-ID: d544abd5ff7d8b07c0c67682a63e4939c3c82914 Gitweb: http://git.kernel.org/tip/d544abd5ff7d8b07c0c67682a63e4939c3c82914 Author: Sebastian Andrzej Siewior AuthorDate: Thu, 3 Nov 2016 15:50:01 +0100 Committer: Thomas Gleixner CommitDate: Wed, 9 Nov 2016 23:45:27 +0100 lib/radix-tr

[tip:smp/hotplug] mm/page_alloc: Convert to hotplug state machine

2016-11-09 Thread tip-bot for Sebastian Andrzej Siewior
Commit-ID: 005fd4bbef168e9dea896085b001d64369e9834a Gitweb: http://git.kernel.org/tip/005fd4bbef168e9dea896085b001d64369e9834a Author: Sebastian Andrzej Siewior AuthorDate: Thu, 3 Nov 2016 15:50:02 +0100 Committer: Thomas Gleixner CommitDate: Wed, 9 Nov 2016 23:45:27 +0100 mm/page_allo

[tip:smp/hotplug] lib/percpu_counter: Convert to hotplug state machine

2016-11-09 Thread tip-bot for Sebastian Andrzej Siewior
Commit-ID: 5588f5afb4cfc33eb377b751ba4b97184373e8d6 Gitweb: http://git.kernel.org/tip/5588f5afb4cfc33eb377b751ba4b97184373e8d6 Author: Sebastian Andrzej Siewior AuthorDate: Thu, 3 Nov 2016 15:50:00 +0100 Committer: Thomas Gleixner CommitDate: Wed, 9 Nov 2016 23:45:26 +0100 lib/percpu_c

[tip:smp/hotplug] mm/vmscan: Convert to hotplug state machine

2016-11-09 Thread tip-bot for Sebastian Andrzej Siewior
Commit-ID: 517bbed90635a17cf27450fb385af0e502413bea Gitweb: http://git.kernel.org/tip/517bbed90635a17cf27450fb385af0e502413bea Author: Sebastian Andrzej Siewior AuthorDate: Thu, 3 Nov 2016 15:50:03 +0100 Committer: Thomas Gleixner CommitDate: Wed, 9 Nov 2016 23:45:27 +0100 mm/vmscan: C

[tip:smp/hotplug] net/dev: Convert to hotplug state machine

2016-11-09 Thread tip-bot for Sebastian Andrzej Siewior
Commit-ID: f0bf90def3528cebed45ebd81d9b5d0fa17d7422 Gitweb: http://git.kernel.org/tip/f0bf90def3528cebed45ebd81d9b5d0fa17d7422 Author: Sebastian Andrzej Siewior AuthorDate: Thu, 3 Nov 2016 15:50:04 +0100 Committer: Thomas Gleixner CommitDate: Wed, 9 Nov 2016 23:45:28 +0100 net/dev: Con

[tip:smp/hotplug] net/flowcache: Convert to hotplug state machine

2016-11-09 Thread tip-bot for Sebastian Andrzej Siewior
Commit-ID: a4fc1bfc42062e8bc7b2271a90d17403b096ce5d Gitweb: http://git.kernel.org/tip/a4fc1bfc42062e8bc7b2271a90d17403b096ce5d Author: Sebastian Andrzej Siewior AuthorDate: Thu, 3 Nov 2016 15:50:05 +0100 Committer: Thomas Gleixner CommitDate: Wed, 9 Nov 2016 23:45:28 +0100 net/flowcach

[tip:smp/hotplug] s390/smp: Make cpu notifier symetric

2016-11-09 Thread tip-bot for Thomas Gleixner
Commit-ID: ef65d45cbfbb438a5fbe8ef3fc424314ff1e8b7c Gitweb: http://git.kernel.org/tip/ef65d45cbfbb438a5fbe8ef3fc424314ff1e8b7c Author: Thomas Gleixner AuthorDate: Fri, 4 Nov 2016 15:41:41 +0100 Committer: Thomas Gleixner CommitDate: Wed, 9 Nov 2016 23:45:28 +0100 s390/smp: Make cpu not

[tip:smp/hotplug] s390/smp: Convert to hotplug state machine

2016-11-09 Thread tip-bot for Sebastian Andrzej Siewior
Commit-ID: dfbbd86a0f1c3ceec15b64c8f2149a903806ed8c Gitweb: http://git.kernel.org/tip/dfbbd86a0f1c3ceec15b64c8f2149a903806ed8c Author: Sebastian Andrzej Siewior AuthorDate: Fri, 4 Nov 2016 15:45:03 +0100 Committer: Thomas Gleixner CommitDate: Wed, 9 Nov 2016 23:45:28 +0100 s390/smp: Co

[tip:smp/hotplug] drivers base/cacheinfo: Convert to hotplug state machine

2016-11-09 Thread tip-bot for Sebastian Andrzej Siewior
Commit-ID: 7cc277b489b4fe91f42eb596b282879c2d13152e Gitweb: http://git.kernel.org/tip/7cc277b489b4fe91f42eb596b282879c2d13152e Author: Sebastian Andrzej Siewior AuthorDate: Thu, 3 Nov 2016 15:50:08 +0100 Committer: Thomas Gleixner CommitDate: Wed, 9 Nov 2016 23:45:29 +0100 drivers base

[tip:smp/hotplug] ia64/err-inject: Convert to hotplug state machine

2016-11-09 Thread tip-bot for Sebastian Andrzej Siewior
Commit-ID: 122231445f2517de1d3dd30acd28801b66d72cab Gitweb: http://git.kernel.org/tip/122231445f2517de1d3dd30acd28801b66d72cab Author: Sebastian Andrzej Siewior AuthorDate: Thu, 3 Nov 2016 15:50:10 +0100 Committer: Thomas Gleixner CommitDate: Wed, 9 Nov 2016 23:45:29 +0100 ia64/err-inj

[tip:smp/hotplug] ia64/palinfo: Convert to hotplug state machine

2016-11-09 Thread tip-bot for Sebastian Andrzej Siewior
Commit-ID: 715c32116fa9cfa298170646be02ae5c0135ba0f Gitweb: http://git.kernel.org/tip/715c32116fa9cfa298170646be02ae5c0135ba0f Author: Sebastian Andrzej Siewior AuthorDate: Thu, 3 Nov 2016 15:50:11 +0100 Committer: Thomas Gleixner CommitDate: Wed, 9 Nov 2016 23:45:30 +0100 ia64/palinfo

Re: [PATCH] f2fs: support multiple devices

2016-11-09 Thread Andreas Dilger
On Nov 9, 2016, at 1:56 PM, Jaegeuk Kim wrote: > > This patch implements multiple devices support for f2fs. > Given multiple devices by mkfs.f2fs, f2fs shows them entirely as one big > volume under one f2fs instance. > > Internal block management is very simple, but we will modify block > alloca

[tip:smp/hotplug] drivers base/topology: Convert to hotplug state machine

2016-11-09 Thread tip-bot for Sebastian Andrzej Siewior
Commit-ID: 38643a0e691ec947d311eb2db011b289cf95014e Gitweb: http://git.kernel.org/tip/38643a0e691ec947d311eb2db011b289cf95014e Author: Sebastian Andrzej Siewior AuthorDate: Thu, 3 Nov 2016 15:50:09 +0100 Committer: Thomas Gleixner CommitDate: Wed, 9 Nov 2016 23:45:29 +0100 drivers base

[tip:smp/hotplug] ia64/salinfo: Convert to hotplug state machine

2016-11-09 Thread tip-bot for Sebastian Andrzej Siewior
Commit-ID: aa17662bc26d2555e1f79e7bcd259043582f32ed Gitweb: http://git.kernel.org/tip/aa17662bc26d2555e1f79e7bcd259043582f32ed Author: Sebastian Andrzej Siewior AuthorDate: Thu, 3 Nov 2016 18:31:29 +0100 Committer: Thomas Gleixner CommitDate: Wed, 9 Nov 2016 23:45:30 +0100 ia64/salinfo

[tip:smp/hotplug] ia64/topology: Convert to hotplug state machine

2016-11-09 Thread tip-bot for Sebastian Andrzej Siewior
Commit-ID: 5c584dd58ea878027ed067996b306416a9c356b8 Gitweb: http://git.kernel.org/tip/5c584dd58ea878027ed067996b306416a9c356b8 Author: Sebastian Andrzej Siewior AuthorDate: Thu, 3 Nov 2016 18:33:53 +0100 Committer: Thomas Gleixner CommitDate: Wed, 9 Nov 2016 23:45:30 +0100 ia64/topolog

Re: Linux 4.9-rc4 double free from pp_release()

2016-11-09 Thread Sudip Mukherjee
Hi Shuah On Wednesday 09 November 2016 10:04 PM, Shuah Khan wrote: Hi Sudip/Greg, I am seeing the following double free from pp_release() in Linux 4.9-rc4 Is this a known problem? Can you please check if the patch at [1] fixes the problem. [1] https://patchwork.kernel.org/patch/9404815/ Re

Re: [PATCH v3] z3fold: use per-page read/write lock

2016-11-09 Thread Andi Kleen
On Wed, Nov 09, 2016 at 02:33:04PM -0800, Andrew Morton wrote: > On Wed, 9 Nov 2016 11:55:31 +0100 Vitaly Wool wrote: > > > Subject: [PATCH v3] z3fold: use per-page read/write lock > > I've rewritten the title to "mm/z3fold.c: use per-page spinlock" > > (I prefer to have "mm" in the title to ea

Re: [PATCH] PCI: mvebu: Take control of mbus windows setup by the firmware

2016-11-09 Thread Jason Gunthorpe
Hey Thomas, Could you take a look at this? Thanks Jason On Wed, Oct 26, 2016 at 11:44:40AM -0600, Jason Gunthorpe wrote: > The firmware may setup the mbus to access PCI-E and indicate this > has happened with a ranges mapping for the PCI-E ID. If this happens > then the mbus setup and the pci dy

Re: [PATCH] f2fs: support multiple devices

2016-11-09 Thread Darrick J. Wong
On Wed, Nov 09, 2016 at 03:57:53PM -0700, Andreas Dilger wrote: > On Nov 9, 2016, at 1:56 PM, Jaegeuk Kim wrote: > > > > This patch implements multiple devices support for f2fs. > > Given multiple devices by mkfs.f2fs, f2fs shows them entirely as one big > > volume under one f2fs instance. > > >

Re: [PATCH 1/2] [net-next] udp: provide udp{4,6}_lib_lookup for nf_socket_ipv{4,6}

2016-11-09 Thread Pablo Neira Ayuso
On Tue, Nov 08, 2016 at 02:28:18PM +0100, Arnd Bergmann wrote: > Since commit ca065d0cf80f ("udp: no longer use SLAB_DESTROY_BY_RCU") > the udp6_lib_lookup and udp4_lib_lookup functions are only > provided when it is actually possible to call them. > > However, moving the callers now caused a link

[PATCH] nios2: add screen_info

2016-11-09 Thread Sudip Mukherjee
The build of nios2 was failing with the error: drivers/built-in.o: In function `vgacon_switch': vgacon.c:(.text+0x12174): undefined reference to `screen_info' vgacon.c:(.text+0x1217c): undefined reference to `screen_info' drivers/built-in.o: In function `vgacon_resize': vgacon.c:(.text+0x123f4): un

[PATCH] iio: cros_ec_sensors_core: fix unsigned compared less than zero on status

2016-11-09 Thread Colin King
From: Colin Ian King status is a u8 hence the check if status is less than zero has no effect. Fix this by replacing status with int ret so the less than zero compare will correctly detect errors. Issue found with static analysis with CoverityScan, CID 1375919 Signed-off-by: Colin Ian King ---

Re: [PATCH 2/2] [nf-next] netfilter: fix NF_REPEAT handling

2016-11-09 Thread Pablo Neira Ayuso
On Tue, Nov 08, 2016 at 02:28:19PM +0100, Arnd Bergmann wrote: > gcc correctly identified a theoretical uninitialized variable use: > > net/netfilter/nf_conntrack_core.c: In function 'nf_conntrack_in': > net/netfilter/nf_conntrack_core.c:1125:14: error: 'l4proto' may be used > uninitialized in th

Re: linux-next: bad commit in the omap tree

2016-11-09 Thread Tony Lindgren
* Stephen Rothwell [161108 13:37]: > Hi Tony, > > Commit 63fdf6527272 ("ARM: OMAP5: Add basic cpuidle MPU CSWR support") > in the omap tree has no Signed-off-by from you as the committer. Thanks for letting me know, will fix it up. Tony

Re: Summary of LPC guest MSI discussion in Santa Fe

2016-11-09 Thread Alex Williamson
On Wed, 9 Nov 2016 22:25:22 + Will Deacon wrote: > On Wed, Nov 09, 2016 at 03:17:09PM -0700, Alex Williamson wrote: > > On Wed, 9 Nov 2016 20:31:45 + > > Will Deacon wrote: > > > On Wed, Nov 09, 2016 at 08:23:03PM +0100, Christoffer Dall wrote: > > > > > > > > (I suppose it's techni

Re: [PATCH v3] z3fold: use per-page read/write lock

2016-11-09 Thread Thomas Gleixner
On Wed, 9 Nov 2016, Andi Kleen wrote: > On Wed, Nov 09, 2016 at 02:33:04PM -0800, Andrew Morton wrote: > > On Wed, 9 Nov 2016 11:55:31 +0100 Vitaly Wool wrote: > > > > > Subject: [PATCH v3] z3fold: use per-page read/write lock > > > > I've rewritten the title to "mm/z3fold.c: use per-page spinl

Re: [PATCH] mwifiex: fix memory leak in mwifiex_save_hidden_ssid_channels()

2016-11-09 Thread Brian Norris
On Wed, Nov 09, 2016 at 11:37:28AM +0800, Ricky Liang wrote: > kmemleak reports memory leak in mwifiex_save_hidden_ssid_channels(): > > unreferenced object 0xffc0a2914780 (size 192): > comm "ksdioirqd/mmc2", pid 2004, jiffies 4307182506 (age 820.684s) > hex dump (first 32 bytes): > 00

Re: [PATCH v6 7/7] iommu/exynos: Use device dependency links to control runtime pm

2016-11-09 Thread Luis R. Rodriguez
On Tue, Nov 08, 2016 at 02:29:24PM +0100, Marek Szyprowski wrote: > This patch uses recently introduced device dependency links to track the > runtime pm state of the master's device. The goal is to let SYSMMU > controller device's runtime PM to follow the runtime PM state of the > respective maste

Re: Proposal: HAVE_SEPARATE_IRQ_STACK?

2016-11-09 Thread Jason A. Donenfeld
Hey Thomas, On Wed, Nov 9, 2016 at 10:40 PM, Thomas Gleixner wrote: > That preempt_disable() prevents merily preemption as the name says, but it > wont prevent softirq handlers from running on return from interrupt. So > what's the point? Oh, interesting. Okay, then in that case the proposed def

Re: [PATCH v7 00/16] ACPI IORT ARM SMMU support

2016-11-09 Thread Rafael J. Wysocki
Hi Lorenzo, On Wed, Nov 9, 2016 at 3:19 PM, Lorenzo Pieralisi wrote: > This patch series is v7 of a previous posting: > > https://lkml.org/lkml/2016/10/18/506 I don't see anything objectionable in this series. Please let me know which patches in particular to look at in detail. Thanks, Rafael

Re: [PATCH v7 01/16] drivers: acpi: add FWNODE_ACPI_STATIC fwnode type

2016-11-09 Thread Rafael J. Wysocki
On Wed, Nov 9, 2016 at 3:19 PM, Lorenzo Pieralisi wrote: > On systems booting with a device tree, every struct device is associated > with a struct device_node, that provides its DT firmware representation. > The device node can be used in generic kernel contexts (eg IRQ > translation, IOMMU strea

Re: Summary of LPC guest MSI discussion in Santa Fe

2016-11-09 Thread Will Deacon
On Wed, Nov 09, 2016 at 04:24:58PM -0700, Alex Williamson wrote: > On Wed, 9 Nov 2016 22:25:22 + > Will Deacon wrote: > > > On Wed, Nov 09, 2016 at 03:17:09PM -0700, Alex Williamson wrote: > > > On Wed, 9 Nov 2016 20:31:45 + > > > Will Deacon wrote: > > > > On Wed, Nov 09, 2016 at 08:2

Re: [RFC] fs: add userspace critical mounts event support

2016-11-09 Thread Luis R. Rodriguez
On Tue, Nov 8, 2016 at 2:47 PM, Luis R. Rodriguez wrote: > Whatever the outcome of this discussion is -- Johannes seemed to *want* > to further use the UMH by default on *all* async alls... even if the > driver did not explicitly requested it -- I'm concerned about this given > all the above and t

Re: [PATCH v2] drbd: Fix kernel_sendmsg() usage - potential NULL deref

2016-11-09 Thread Al Viro
On Wed, Nov 09, 2016 at 10:52:58PM +0100, Lars Ellenberg wrote: > This should go into 4.9, > and into all stable branches since and including v4.0, > which is the first to contain the exposing change. > > It is correct for all stable branches older than that as well > (which contain the DRBD driv

Re: [PATCH v6 7/7] iommu/exynos: Use device dependency links to control runtime pm

2016-11-09 Thread Rafael J. Wysocki
On Thu, Nov 10, 2016 at 12:31 AM, Luis R. Rodriguez wrote: > On Tue, Nov 08, 2016 at 02:29:24PM +0100, Marek Szyprowski wrote: >> This patch uses recently introduced device dependency links to track the >> runtime pm state of the master's device. The goal is to let SYSMMU >> controller device's ru

Re: [PATCH v2 4/6] pinctrl: aspeed: Read and write bits in LPCHC and GFX controllers

2016-11-09 Thread Andrew Jeffery
On Wed, 2016-11-09 at 12:26 -0600, Rob Herring wrote: > On Thu, Nov 03, 2016 at 01:07:59AM +1030, Andrew Jeffery wrote: > > The System Control Unit IP block in the Aspeed SoCs is typically where > > the pinmux configuration is found, but not always. A number of pins > > depend on state in one of LP

linux-next: manual merge of the net-next tree with the net tree

2016-11-09 Thread Stephen Rothwell
Hi all, Today's linux-next merge of the net-next tree got a conflict in: drivers/net/ethernet/mellanox/mlx5/core/eswitch_offloads.c between commit: ee39fbc4447d ("net/mlx5: E-Switch, Set the actions for offloaded rules properly") from the net tree and commit: 66958ed906b8 ("net/mlx5: S

Re: [PATCH v2 00/12] mm: page migration enhancement for thp

2016-11-09 Thread Naoya Horiguchi
Hi Anshuman, On Wed, Nov 09, 2016 at 04:03:04PM +0530, Anshuman Khandual wrote: > On 11/08/2016 05:01 AM, Naoya Horiguchi wrote: > > Hi everyone, > > > > I've updated thp migration patches for v4.9-rc2-mmotm-2016-10-27-18-27 > > with feedbacks for ver.1. > > > > General description (no change si

Re: [PATCH] drivers: mfd: ti_am335x_tscadc: increase ADC ref clock to 24MHz

2016-11-09 Thread John Syne
> On Oct 31, 2016, at 4:39 AM, Vignesh R wrote: > > > > On Friday 28 October 2016 02:47 AM, John Syne wrote: > >>> >>> --- >>> include/linux/mfd/ti_am335x_tscadc.h | 4 ++-- >>> 1 file changed, 2 insertions(+), 2 deletions(-) >>> >>> diff --git

Re: [PATCH v5 7/7] iommu/exynos: Use device dependency links to control runtime pm

2016-11-09 Thread Luis R. Rodriguez
On Tue, Nov 08, 2016 at 04:30:44PM +0100, Lukas Wunner wrote: > On Tue, Nov 08, 2016 at 08:27:12AM +0100, Marek Szyprowski wrote: > > On 2016-11-07 22:47, Luis R. Rodriguez wrote: > > > Has there been any review of the existing similar solutions out there > > > such as the DRM / audio component fra

Re: [PATCH net-next v2 1/5] net: l2tp: change L2TP_ATTR_UDP_ZERO_CSUM6_{RX,TX} attribute types

2016-11-09 Thread David Miller
From: Asbjoern Sloth Toennesen Date: Mon, 7 Nov 2016 20:39:24 + > The attributes L2TP_ATTR_UDP_ZERO_CSUM6_RX and > L2TP_ATTR_UDP_ZERO_CSUM6_TX are used as flags, > but is defined as a u8 in a comment. > > This patch redocuments them as flags. > > Adding nla_policy entries would break API,

Re: [PATCH net-next v2 2/5] net: l2tp: only set L2TP_ATTR_UDP_CSUM if AF_INET

2016-11-09 Thread David Miller
From: Asbjoern Sloth Toennesen Date: Mon, 7 Nov 2016 20:39:25 + > Only set L2TP_ATTR_UDP_CSUM in l2tp_nl_tunnel_send() > when it's running over IPv4. > > This prepares the code to also have IPv6 specific attributes. > > Signed-off-by: Asbjoern Sloth Toennesen Applied.

Re: [PATCH v5 7/7] iommu/exynos: Use device dependency links to control runtime pm

2016-11-09 Thread Rafael J. Wysocki
On Tue, Nov 8, 2016 at 4:30 PM, Lukas Wunner wrote: > On Tue, Nov 08, 2016 at 08:27:12AM +0100, Marek Szyprowski wrote: >> On 2016-11-07 22:47, Luis R. Rodriguez wrote: >> > Has there been any review of the existing similar solutions out there >> > such as the DRM / audio component framework? Woul

Re: [PATCH net-next v2 4/5] net: l2tp: cleanup: remove redundant condition

2016-11-09 Thread David Miller
From: Asbjoern Sloth Toennesen Date: Mon, 7 Nov 2016 20:39:27 + > These assignments follow this pattern: > > unsigned int foo:1; > struct nlattr *nla = info->attrs[bar]; > > if (nla) > foo = nla_get_flag(nla); /* expands to: foo = !!nla */ > > This could be

linux-next: manual merge of the net-next tree with the netfilter tree

2016-11-09 Thread Stephen Rothwell
Hi all, Today's linux-next merge of the net-next tree got a conflict in: net/netfilter/ipvs/ip_vs_ctl.c between commit: 8fbfef7f505b ("ipvs: use IPVS_CMD_ATTR_MAX for family.maxattr") from the netfilter tree and commit: 489111e5c25b ("genetlink: statically initialize families") from th

Re: [PATCH net-next v2 5/5] net: l2tp: fix negative assignment to unsigned int

2016-11-09 Thread David Miller
From: Asbjoern Sloth Toennesen Date: Mon, 7 Nov 2016 20:39:28 + > recv_seq, send_seq and lns_mode mode are all defined as > unsigned int foo:1; > > Signed-off-by: Asbjoern Sloth Toennesen Applied.

Re: [PATCH net-next v2 3/5] net: l2tp: netlink: l2tp_nl_tunnel_send: set UDP6 checksum flags

2016-11-09 Thread David Miller
From: Asbjoern Sloth Toennesen Date: Mon, 7 Nov 2016 20:39:26 + > This patch causes the proper attribute flags to be set, > in the case that IPv6 UDP checksums are disabled, so that > userspace ie. `ip l2tp show tunnel` knows about it. > > Signed-off-by: Asbjoern Sloth Toennesen Applied.

Re: [PATCH] net: ethernet: ti: davinci_cpdma: fix fixed prio cpdma ctlr configuration

2016-11-09 Thread Ivan Khoronzhuk
On 09.11.16 23:09, Grygorii Strashko wrote: On 11/08/2016 07:10 AM, Ivan Khoronzhuk wrote: The dma ctlr is reseted to 0 while cpdma start, thus cpdma ctlr I assume this is because cpdma_ctlr_start() does soft reset. Is it correct? Probably not. I've seen this register doesn't hold any pre

Re: Summary of LPC guest MSI discussion in Santa Fe

2016-11-09 Thread Alex Williamson
On Wed, 9 Nov 2016 23:38:50 + Will Deacon wrote: > On Wed, Nov 09, 2016 at 04:24:58PM -0700, Alex Williamson wrote: > > On Wed, 9 Nov 2016 22:25:22 + > > Will Deacon wrote: > > > > > On Wed, Nov 09, 2016 at 03:17:09PM -0700, Alex Williamson wrote: > > > > On Wed, 9 Nov 2016 20:31:45

Re: [PATCH] vxlan: hide unused local variable

2016-11-09 Thread David Miller
From: Arnd Bergmann Date: Mon, 7 Nov 2016 22:09:07 +0100 > A bugfix introduced a harmless warning in v4.9-rc4: > > drivers/net/vxlan.c: In function 'vxlan_group_used': > drivers/net/vxlan.c:947:21: error: unused variable 'sock6' > [-Werror=unused-variable] > > This hides the variable inside o

Re: [PATCH 7/8] blk-wbt: add general throttling mechanism

2016-11-09 Thread Dave Chinner
On Wed, Nov 09, 2016 at 09:07:08AM -0700, Jens Axboe wrote: > On 11/09/2016 01:40 AM, Jan Kara wrote: > >Also I'm not sure why such logic for devices with writeback cache is > >needed. Sure the disk is fast to accept writes but if that causes long > >read latencies, we should scale down the writeba

Re: [PATCH] kvm: kvmclock: let KVM_GET_CLOCK return whether the master clock is in use

2016-11-09 Thread Marcelo Tosatti
On Wed, Nov 09, 2016 at 05:48:15PM +0100, Paolo Bonzini wrote: > Userspace can read the exact value of kvmclock by reading the TSC > and fetching the timekeeping parameters out of guest memory. This > however is brittle and not necessary anymore with KVM 4.11. Provide > a mechanism that lets user

Re: [PATCH] kvm: kvmclock: let KVM_GET_CLOCK return whether the master clock is in use

2016-11-09 Thread Marcelo Tosatti
On Wed, Nov 09, 2016 at 06:17:16PM -0200, Marcelo Tosatti wrote: > On Wed, Nov 09, 2016 at 06:12:50PM -0200, Marcelo Tosatti wrote: > > On Wed, Nov 09, 2016 at 05:48:15PM +0100, Paolo Bonzini wrote: > > > Userspace can read the exact value of kvmclock by reading the TSC > > > and fetching the timek

Re: [PATCH v5 7/7] iommu/exynos: Use device dependency links to control runtime pm

2016-11-09 Thread Rafael J. Wysocki
On Thu, Nov 10, 2016 at 12:55 AM, Luis R. Rodriguez wrote: > On Tue, Nov 08, 2016 at 04:30:44PM +0100, Lukas Wunner wrote: >> On Tue, Nov 08, 2016 at 08:27:12AM +0100, Marek Szyprowski wrote: >> > On 2016-11-07 22:47, Luis R. Rodriguez wrote: >> > > Has there been any review of the existing simila

Re: [PATCH v2 2/2] PM / sleep: don't suspend parent when async child suspend_{noirq,late} fails

2016-11-09 Thread Rafael J. Wysocki
On Wed, Nov 2, 2016 at 6:07 AM, Brian Norris wrote: > + more genpd folks > > On Wed, Nov 02, 2016 at 04:51:08AM +0100, Rafael J. Wysocki wrote: >> On Tuesday, November 01, 2016 12:04:28 AM Dmitry Torokhov wrote: >> > On Mon, Oct 31, 2016 at 10:25 PM, Rafael J. Wysocki >> > wrote: >> > > On Thurs

<    3   4   5   6   7   8   9   10   >