Re: [PATCH] igb: use igb_adapter->io_addr instead of e1000_hw->hw_addr

2016-11-09 Thread Alexander Duyck
On Mon, Nov 7, 2016 at 11:06 PM, Cao jin wrote: > When running as guest, under certain condition, it will oops as following. > writel() in igb_configure_tx_ring() results in oops, because hw->hw_addr > is NULL. While other register access won't oops kernel because they

Re: [PATCH 1/3] tuntap: rx batching

2016-11-09 Thread Michael S. Tsirkin
On Wed, Nov 09, 2016 at 03:38:31PM +0800, Jason Wang wrote: > Backlog were used for tuntap rx, but it can only process 1 packet at > one time since it was scheduled during sendmsg() synchronously in > process context. This lead bad cache utilization so this patch tries > to do some batching before

Applied "spi: atmel: use managed resource for gpio chip select" to the spi tree

2016-11-09 Thread Mark Brown
The patch spi: atmel: use managed resource for gpio chip select has been applied to the spi tree at git://git.kernel.org/pub/scm/linux/kernel/git/broonie/spi.git All being well this means that it will be integrated into the linux-next tree (usually sometime in the next 24 hours) and

Applied "ASoC: wm8978: Adjust clock indices so that simple card works" to the asoc tree

2016-11-09 Thread Mark Brown
The patch ASoC: wm8978: Adjust clock indices so that simple card works has been applied to the asoc tree at git://git.kernel.org/pub/scm/linux/kernel/git/broonie/sound.git All being well this means that it will be integrated into the linux-next tree (usually sometime in the next 24

Applied "ASoC: sunxi: i2s: Implement set_sysclk" to the asoc tree

2016-11-09 Thread Mark Brown
The patch ASoC: sunxi: i2s: Implement set_sysclk has been applied to the asoc tree at git://git.kernel.org/pub/scm/linux/kernel/git/broonie/sound.git All being well this means that it will be integrated into the linux-next tree (usually sometime in the next 24 hours) and sent to Linus

Re: [PATCH] mfd: tps65217: Drop call to irq_set_parent()

2016-11-09 Thread Lee Jones
On Wed, 26 Oct 2016, Guenter Roeck wrote: > On 10/26/2016 05:58 AM, Lee Jones wrote: > > On Wed, 26 Oct 2016, Thomas Gleixner wrote: > > > > > On Wed, 26 Oct 2016, Lee Jones wrote: > > > > On Fri, 14 Oct 2016, Guenter Roeck wrote: > > > > > > > > > The call to irq_set_parent() causes the

Applied "ASoC: lpass-platform: initialize dma channel number" to the asoc tree

2016-11-09 Thread Mark Brown
The patch ASoC: lpass-platform: initialize dma channel number has been applied to the asoc tree at git://git.kernel.org/pub/scm/linux/kernel/git/broonie/sound.git All being well this means that it will be integrated into the linux-next tree (usually sometime in the next 24 hours) and

Re: [RFC v3 1/6] Track the active utilisation

2016-11-09 Thread luca abeni
On Tue, 8 Nov 2016 20:02:29 + Juri Lelli wrote: [...] > > > So, it actually matters for next patch, > > > not here. But, maybe we want to do things clean from start? > > You mean, because patch 2/6 adds > > + if (hrtimer_active(>dl.inactive_timer)) { > > +

[PATCH] pinctrl: vt8500: make bool drivers explicitly non-modular

2016-11-09 Thread Paul Gortmaker
None of the Kconfigs for any of these drivers are tristate, meaning that they currently are not being built as a module by anyone. Lets remove the modular code that is essentially orphaned, so that when reading the drivers there is no doubt they are builtin-only. All drivers get the exact same

Re: [PATCH 6/8] block: add scalable completion tracking of requests

2016-11-09 Thread Jens Axboe
On 11/09/2016 02:01 AM, Jan Kara wrote: On Tue 08-11-16 08:25:52, Jens Axboe wrote: On 11/08/2016 06:30 AM, Jan Kara wrote: On Tue 01-11-16 15:08:49, Jens Axboe wrote: For legacy block, we simply track them in the request queue. For blk-mq, we track them on a per-sw queue basis, which we can

Re: [PATCH 22/25] x86/mcheck: Do the init in one place

2016-11-09 Thread Sebastian Andrzej Siewior
On 2016-11-09 16:38:07 [+0100], Borislav Petkov wrote: > On Wed, Nov 09, 2016 at 03:22:21PM +0100, Sebastian Andrzej Siewior wrote: > > I want to get rid of non-symmetrical part and the arch hook which should > > be part of the hp notifier itself. I wouldn't be too much afraid about > > the when

Re: [PATCH] x86/cpuid: Deal with broken firmware once more

2016-11-09 Thread Peter Zijlstra
On Wed, Nov 09, 2016 at 04:35:51PM +0100, Thomas Gleixner wrote: > Both ACPI and MP specifications require that the APIC id in the respective > tables must be the same as the APIC id in CPUID. > > The kernel retrieves the physical package id from the APIC id during the > ACPI/MP table scan and

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

2016-11-09 Thread Paolo Bonzini
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 userspace know if the new KVM_GET_CLOCK semantics are in effect,

Applied "ASoC: fsl: fix fsl_spdif.c build errors" to the asoc tree

2016-11-09 Thread Mark Brown
The patch ASoC: fsl: fix fsl_spdif.c build errors has been applied to the asoc tree at git://git.kernel.org/pub/scm/linux/kernel/git/broonie/sound.git All being well this means that it will be integrated into the linux-next tree (usually sometime in the next 24 hours) and sent to Linus

Re: [PATCH 4.8 022/138] thermal/powerclamp: correct cpu support check

2016-11-09 Thread Jacob Pan
On Wed, 9 Nov 2016 11:45:05 +0100 Greg Kroah-Hartman wrote: > 4.8-stable review patch. If anyone has any objections, please let me > know. > I just realized that this patch would prevent module auto loading since we don't have device id table. I will send out this

Re: [PATCH 22/25] x86/mcheck: Do the init in one place

2016-11-09 Thread Borislav Petkov
On Wed, Nov 09, 2016 at 03:22:21PM +0100, Sebastian Andrzej Siewior wrote: > I want to get rid of non-symmetrical part and the arch hook which should > be part of the hp notifier itself. I wouldn't be too much afraid about > the when point in time when the notifier runs: It is the *first* >

[PATCH] x86/cpuid: Deal with broken firmware once more

2016-11-09 Thread Thomas Gleixner
Both ACPI and MP specifications require that the APIC id in the respective tables must be the same as the APIC id in CPUID. The kernel retrieves the physical package id from the APIC id during the ACPI/MP table scan and builds the physical to logical package map. There exist Virtualbox and Xen

Re: [PATCH v7 07/16] drivers: acpi: implement acpi_dma_configure

2016-11-09 Thread Robin Murphy
On 09/11/16 14:19, Lorenzo Pieralisi wrote: > On DT based systems, the of_dma_configure() API implements DMA > configuration for a given device. On ACPI systems an API equivalent to > of_dma_configure() is missing which implies that it is currently not > possible to set-up DMA operations for

Re: [PATCH] drbd: Fix kernel_sendmsg() usage

2016-11-09 Thread Richard Weinberger
On 09.11.2016 16:32, Lars Ellenberg wrote: > On Tue, Nov 08, 2016 at 09:52:04AM -0700, Jens Axboe 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

Re: linux.git: printk() problem

2016-11-09 Thread Petr Mladek
On Mon 2016-10-24 19:22:59, Linus Torvalds wrote: > On Mon, Oct 24, 2016 at 7:06 PM, Linus Torvalds > wrote: > > On Mon, Oct 24, 2016 at 6:55 PM, Sergey Senozhatsky > > wrote: > >> > >> I think cont_flush() should grab the

[ANNOUNCE] 4.4.30-rt41

2016-11-09 Thread Steven Rostedt
Dear RT Folks, I'm pleased to announce the 4.4.30-rt41 stable release. This release is just an update to the new stable 4.4.30 version and no RT specific changes have been made. You can get this release via the git tree at:

Re: [Patch V6 2/6] irqchip: xilinx: Clean up irqdomain argument and read/write

2016-11-09 Thread Marc Zyngier
On 01/11/16 11:05, Zubair Lutfullah Kakakhel wrote: > Hi, > > Thanks for the review. > > On 10/31/2016 07:51 PM, Thomas Gleixner wrote: >> On Mon, 31 Oct 2016, Zubair Lutfullah Kakakhel wrote: >>> The drivers read/write function handling is a bit quirky. >> >> Can you please explain in more

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

2016-11-09 Thread Jens Axboe
On 11/09/2016 01:40 AM, Jan Kara wrote: So for devices with write cache, you will completely drain the device before waking anybody waiting to issue new requests. Isn't it too strict? In particular may_queue() will allow new writers to issue new writes once we drop below the limit so it can

Re: [PATCH 1/4] Documentation: pinctrl: palmas: Add ti,palmas-powerhold-override property definition

2016-11-09 Thread Lee Jones
On Thu, 27 Oct 2016, Keerthy wrote: > GPIO7 is configured in POWERHOLD mode which has higher priority > over DEV_ON bit and keeps the PMIC supplies on even after the DEV_ON > bit is turned off. This property enables driver to over ride the > POWERHOLD value to GPIO7 so as to turn off the PMIC in

[tip:x86/urgent] x86/cpu/AMD: Fix cpu_llc_id for AMD Fam17h systems

2016-11-09 Thread tip-bot for Yazen Ghannam
Commit-ID: b0b6e86846093c5f8820386bc01515f857dd8faa Gitweb: http://git.kernel.org/tip/b0b6e86846093c5f8820386bc01515f857dd8faa Author: Yazen Ghannam AuthorDate: Tue, 8 Nov 2016 09:35:06 +0100 Committer: Ingo Molnar CommitDate: Wed, 9 Nov 2016

Re: [PATCH] vxlan: hide unused local variable

2016-11-09 Thread Jiri Benc
On Mon, 7 Nov 2016 22:09:07 +0100, Arnd Bergmann wrote: > 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 of

Re: [v4.9-rc4] dvb-usb/cinergyT2 NULL pointer dereference

2016-11-09 Thread Linus Torvalds
On Wed, Nov 9, 2016 at 3:09 AM, Jörg Otte wrote: > > Tried patch with no success. Again a NULL ptr dereferece. That patch was pure garbage, I think. Pretty much all the other drivers that use the same approach will have the same issue. Adding that init function just for the

[PATCH 2/3] cpuidle: allow setting deepest idle

2016-11-09 Thread Jacob Pan
When idle injection is used to cap power, we need to override governor's choice of idle states. This patch allows caller to select the deepest idle state on a CPU therefore achieve the maximum potential power saving. Signed-off-by: Jacob Pan ---

[PATCH 1/3] idle: add support for tasks that inject idle

2016-11-09 Thread Jacob Pan
From: Peter Zijlstra Idle injection drivers such as Intel powerclamp and ACPI PAD drivers use realtime tasks to take control of CPU then inject idle. There are two issues with this approach: 1. Low efficiency: injected idle task is treated as busy so sched ticks do not

[PATCH 0/3] Stop sched tick in idle injection task

2016-11-09 Thread Jacob Pan
Idle injection drivers today use RT threads to run idle loop. There are efficiency and accounting issues with the current intel_powerclamp.c and acpi_pad.c. A while ago, I posted CFS based idle injection patch trying to address them: https://lkml.org/lkml/2015/11/13/576 Peter proposed another

[PATCH 3/3] thermal/powerclamp: use PF_IDLE in injection kthread

2016-11-09 Thread Jacob Pan
With the introduction of play_idle(), idle injection kthread can go through the normal idle task processing to get correct accounting and turn off scheduler tick when possible. Hrtimer is used to wake up since timeout is most likely to occur during idle injection. Signed-off-by: Jacob Pan

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

2016-11-09 Thread Christopher Covington
Hi Bjorn, On 11/02/2016 12:08 PM, Bjorn Helgaas wrote: > On Tue, Nov 01, 2016 at 07:06:31AM -0600, c...@codeaurora.org wrote: >> Hi Bjorn, >> >> On 2016-10-31 15:48, Bjorn Helgaas wrote: >>> On Wed, Sep 21, 2016 at 06:38:05PM -0400, Christopher Covington wrote: The Qualcomm Technologies

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

2016-11-09 Thread Guenter Roeck
On Wed, Nov 09, 2016 at 06:16:13PM +0100, Clemens Gruber wrote: > Support setting the reference voltage from the device tree. > > Signed-off-by: Clemens Gruber > --- > drivers/hwmon/mcp3021.c | 46 -- > 1 file changed, 36

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

2016-11-09 Thread Jens Axboe
On 11/09/2016 09:07 AM, Jens Axboe wrote: On 11/09/2016 01:40 AM, Jan Kara wrote: So for devices with write cache, you will completely drain the device before waking anybody waiting to issue new requests. Isn't it too strict? In particular may_queue() will allow new writers to issue new writes

Re: [PATCH 2/2] clk: pxa: fix pxa2xx_determine_rate return

2016-11-09 Thread Stephen Boyd
On 11/08, Arnd Bergmann wrote: > The new pxa2xx_determine_rate() function seems lacking in a few > regards: > > - For an exact match or no match at all, the rate is uninitialized > as reported by gcc -Wmaybe-unintialized: >drivers/clk/pxa/clk-pxa.c: In function 'pxa2xx_determine_rate': >

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

2016-11-09 Thread Bjorn Helgaas
On Wed, Nov 09, 2016 at 02:25:56PM -0500, Christopher Covington wrote: > Hi Bjorn, > > On 11/02/2016 12:08 PM, Bjorn Helgaas wrote: > > On Tue, Nov 01, 2016 at 07:06:31AM -0600, c...@codeaurora.org wrote: > >> Hi Bjorn, > >> > >> On 2016-10-31 15:48, Bjorn Helgaas wrote: > >>> On Wed, Sep 21,

Re: [PATCH 2/2] soc: qcom: smem_state: Fix include for ERR_PTR()

2016-11-09 Thread Andy Gross
On 9 November 2016 at 12:02, Bjorn Andersson wrote: > The correct include file for getting errno constants and ERR_PTR() is > linux/err.h, rather than linux/errno.h, so fix the include. > > Fixes: e8b123e60084 ("soc: qcom: smem_state: Add stubs for disabled >

Re: [PATCH v6 4/4] of/fdt: mark hotpluggable memory

2016-11-09 Thread Reza Arbab
On Wed, Nov 09, 2016 at 12:12:55PM -0600, Rob Herring wrote: On Mon, Nov 7, 2016 at 5:44 PM, Reza Arbab wrote: + hotpluggable = of_get_flat_dt_prop(node, "linux,hotpluggable", NULL); Memory being hotpluggable doesn't seem like a linux property to me. I'd drop

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

2016-11-09 Thread Luis R. Rodriguez
On Sun, Oct 30, 2016 at 03:50:48PM +0100, Yves-Alexis Perez wrote: > From: Yves-Alexis Perez > > wait_for_completion_interruptible_timeout() return value is either > -ERESTARTSYS (in case it was interrupted), 0 (in case the timeout expired) > or the number of jiffies left

Re: [PATCH 1/2] wcn36xx: Correct Kconfig dependency

2016-11-09 Thread Bjorn Andersson
On Wed 09 Nov 12:32 PST 2016, Marcel Holtmann wrote: > Hi Bjorn, > > > In the case SMD or WCNSS_CTRL are compiled as modules, wcn36xx must be > > compiled as module as well, so we need to mention this dependency. > > But we still want allow the driver to be compiled in case either of > > those

Re: PM regression with LED changes in next-20161109

2016-11-09 Thread Jacek Anaszewski
Hi Tony, On 11/09/2016 08:23 PM, Tony Lindgren wrote: Hi, Looks like commit 883d32ce3385 ("leds: core: Add support for poll()ing the sysfs brightness attr for changes.") breaks runtime PM for me. On my omap dm3730 based test system, idle power consumption is over 70 times higher now with this

Re: [PATCH 2/2] ASoC: axentia: tse850: add ASoC driver for the Axentia TSE-850

2016-11-09 Thread Peter Rosin
On 2016-11-09 17:27, Peter Rosin wrote: > On 2016-11-09 14:38, Mark Brown wrote: >> On Tue, Nov 08, 2016 at 05:20:57PM +0100, Peter Rosin wrote: >>> + struct snd_soc_pcm_runtime *rtd = substream->private_data; >>> + struct device *dev = rtd->dev; >>> + struct snd_soc_dai *cpu_dai =

Re: [RFC PATCH] scsi: libsas: fix WARN on device removal

2016-11-09 Thread Dan Williams
On Wed, Nov 9, 2016 at 9:36 AM, John Garry wrote: > On 09/11/2016 12:28, John Garry wrote: >> >> On 03/11/2016 14:58, John Garry wrote: >>> >>> The following patch introduces an annoying WARN >>> when a device is removed from the SAS topology: >>> [SCSI] libsas: prevent

Re: net/sctp: null-ptr-deref in sctp_inet_listen

2016-11-09 Thread Andrey Konovalov
On Wed, Nov 9, 2016 at 4:32 AM, Xin Long wrote: > this fix may break TYPE_SCTP_PRIMITIVE_SHUTDOWN statetable, > could you give the following one a try ? thanks. This one also works. Thanks. > > --- a/net/sctp/socket.c > +++ b/net/sctp/socket.c > @@ -4288,9 +4288,9 @@

Re: [PATCH v2] irqchip/renesas-irqc: Postpone driver initialization

2016-11-09 Thread Geert Uytterhoeven
Hi Florian, On Wed, Nov 9, 2016 at 8:17 PM, Florian Fainelli wrote: > On 11/08/2016 11:50 AM, Geert Uytterhoeven wrote: >> On Tue, Nov 8, 2016 at 8:42 PM, Florian Fainelli >> wrote: >>> On 11/08/2016 11:35 AM, Geert Uytterhoeven wrote: Currently

Re: [PATCH 1/2] stacktrace: fix print_stack_trace printing timestamp twice

2016-11-09 Thread Andrey Ryabinin
On 11/08/2016 10:37 PM, Andrey Konovalov wrote: > Right now print_stack_trace prints timestamp twice, the first time > it's done by printk when printing spaces, the second - by print_ip_sym. > As a result, stack traces in KASAN reports have double timestamps: > [ 18.822232] Allocated by task

Re: [PATCH] arm64: mm: Fix memmap to be initialized for the entire section

2016-11-09 Thread Robert Richter
Will, On 07.11.16 21:05:14, Will Deacon wrote: > Just to reiterate here, but your patch as it stands will break other parts > of the kernel. For example, acpi_os_ioremap relies on being able to ioremap > these regions afaict. > > I think any solution involving pfn_valid is just going to move the

Re: Summary of LPC guest MSI discussion in Santa Fe

2016-11-09 Thread Alex Williamson
On Wed, 9 Nov 2016 20:23:03 +0100 Christoffer Dall wrote: > On Wed, Nov 09, 2016 at 01:59:07PM -0500, Don Dutile wrote: > > On 11/09/2016 12:03 PM, Will Deacon wrote: > > >On Tue, Nov 08, 2016 at 09:52:33PM -0500, Don Dutile wrote: > > >>On 11/08/2016 06:35 PM,

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. Hi Paolo, Can you point to

Re: [PATCH] clk: pxa: Use __iomem properly and staticize lock variable

2016-11-09 Thread Robert Jarzmik
Stephen Boyd writes: > This function is passed an __iomem pointer but we use a u32 > pointer instead which makes checkers like spare complain. > Furthermore, "lock" is a pretty poor variable name for a string > that will go into lockdep reports and the symbol isn't marked >

Re: [v4.9-rc4] dvb-usb/cinergyT2 NULL pointer dereference

2016-11-09 Thread Mauro Carvalho Chehab
Em Wed, 9 Nov 2016 11:07:35 -0800 Linus Torvalds escreveu: > On Wed, Nov 9, 2016 at 3:09 AM, Jörg Otte wrote: > > > > Tried patch with no success. Again a NULL ptr dereferece. > > That patch was pure garbage, I think. Pretty much all the

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

2016-11-09 Thread Pavel Machek
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 root's responsibility to

Re: [v4.9-rc4] dvb-usb/cinergyT2 NULL pointer dereference

2016-11-09 Thread Mauro Carvalho Chehab
Em Wed, 9 Nov 2016 19:57:58 + Malcolm Priestley escreveu: > > Yeah, I avoided serializing the logic that detects if the firmware is > > loaded, but forgot that the power control had the same issue. The > > newer dvb usb drivers use the dvb-usb-v2, so I didn't touch this >

[PATCH net-next 01/17] Doc: hisi: hns adds mc-mac-mask property

2016-11-09 Thread Salil Mehta
From: Kejian Yan Since there is not enough tcam table entries for every vlan and multicast address, HNS needs to add support of fuzzy matching of TCAM tables. Adding the property to mask the bits to be fuzzy matched, so update the bindings document Signed-off-by: Kejian

[PATCH net-next 16/17] net: hns: add multicast tcam table clear

2016-11-09 Thread Salil Mehta
From: Kejian Yan There is no clear operation before add a new multicast tcam table, so the tcam table will be overflow when add more entries. Reported-by: Daode Huang Signed-off-by: Kejian Yan Reviewed-by: Yisen Zhuang

[PATCH net-next 12/17] net: hns: modify table index to get mac entry

2016-11-09 Thread Salil Mehta
From: Qianqian Xie Big-endian is not supported by the current definition of table index to get mac entry. It needs to be modified to support both Little-endian and Big-endian. Signed-off-by: Qianqian Xie Reviewed-by: Yisen Zhuang

Re: [PATCH v3] PM / devfreq: Restart previous governor if new governor fails to start

2016-11-09 Thread Saravana Kannan
On 11/08/2016 06:38 PM, Chanwoo Choi wrote: On 2016년 11월 09일 11:36, Chanwoo Choi wrote: Hi, On 2016년 11월 09일 10:33, Chanwoo Choi wrote: On 2016년 11월 09일 05:52, Saravana Kannan wrote: On 11/08/2016 01:02 AM, Chanwoo Choi wrote: Hi, On 2016년 11월 08일 03:57, Saravana Kannan wrote: On

[PATCH] staging: vc04_services: rework ioctl code path

2016-11-09 Thread Michael Zoran
VCHIQ/vc04_services has a userland device interface that includes ioctls. The current ioctl implementation is a single monolithic function over 1,000+ lines that handles 17 different ioctls through a complex maze of switch and if statements. The change reimplements that code path by breaking up

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

2016-11-09 Thread Luis R. Rodriguez
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 case it was interrupted), 0 (in case the timeout expired) > > or the number

Re: [PATCH] drbd: Fix kernel_sendmsg() usage

2016-11-09 Thread Jens Axboe
On 11/09/2016 08:32 AM, Lars Ellenberg wrote: On Tue, Nov 08, 2016 at 09:52:04AM -0700, Jens Axboe 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

Re: [PATCH v15 4/4] arm: dts: mt2701: Use real clock for UARTs

2016-11-09 Thread Matthias Brugger
On 11/04/2016 08:43 AM, Erin Lo wrote: We used to use a fixed rate clock for the UARTs. Now that we have clock support we can associate the correct clocks to the UARTs and drop the 26MHz fixed rate UART clock. Signed-off-by: Erin Lo Applied, thanks. ---

Re: sched/autogroup: race if !sysctl_sched_autogroup_enabled ?

2016-11-09 Thread Peter Zijlstra
On Wed, Nov 09, 2016 at 05:59:33PM +0100, Oleg Nesterov wrote: > We need to ensure that autogroup/tg returned by autogroup_task_group() > can't go away if we race with autogroup_move_group(), and unless the > caller holds ->siglock we rely on fact that autogroup_move_group() > will a) see this

[PATCH 1/2] wcn36xx: Correct Kconfig dependency

2016-11-09 Thread Bjorn Andersson
In the case SMD or WCNSS_CTRL are compiled as modules, wcn36xx must be compiled as module as well, so we need to mention this dependency. But we still want allow the driver to be compiled in case either of those are =n, for compile testing reasons. Signed-off-by: Bjorn Andersson

Re: [PATCH v6 4/4] of/fdt: mark hotpluggable memory

2016-11-09 Thread Rob Herring
On Mon, Nov 7, 2016 at 5:44 PM, Reza Arbab wrote: > When movable nodes are enabled, any node containing only hotpluggable > memory is made movable at boot time. > > On x86, hotpluggable memory is discovered by parsing the ACPI SRAT, > making corresponding calls to

Re: [PATCH v8 3/3] fpga: Add support for Lattice iCE40 FPGAs

2016-11-09 Thread Marek Vasut
On 11/08/2016 06:30 PM, Joel Holdsworth wrote: On the whole, I don't think the zero-length transfers are too egregiously bad, and all the alternatives seem worse to me. >>> >>> So why not turn the CS line into GPIO and just toggle the GPIO? >> >> Does that work with *all* SPI

Re: [PATCH v3 5/6] Documentation: bindings: add documentation for ir-spi device driver

2016-11-09 Thread Rob Herring
On Thu, Nov 03, 2016 at 11:39:21AM +0100, Jacek Anaszewski wrote: > On 11/03/2016 11:10 AM, Andi Shyti wrote: > > Hi Jacek, > > > > > Only DT bindings of LED class drivers should be placed in > > > Documentation/devicetree/bindings/leds. Please move it to the > > > media bindings. > > > > that's

Re: [PATCH v2 2/6] mfd: dt: Add bindings for the Aspeed SoC Display Controller (GFX)

2016-11-09 Thread Rob Herring
On Thu, Nov 03, 2016 at 01:07:57AM +1030, Andrew Jeffery wrote: > The Aspeed SoC Display Controller is presented as a syscon device to > arbitrate access by display and pinmux drivers. Video pinmux > configuration on fifth generation SoCs depends on bits in both the > System Control Unit and the

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

2016-11-09 Thread Rob Herring
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 LPC Host Control (LPCHC) or SoC Display > Controller (GFX) IP

Re: [PATCH v9 2/3] clk: qcom: Add support for RPM Clocks

2016-11-09 Thread Rob Herring
On Wed, Nov 02, 2016 at 05:56:57PM +0200, Georgi Djakov wrote: > This adds initial support for clocks controlled by the Resource > Power Manager (RPM) processor on some Qualcomm SoCs, which use > the qcom_rpm driver to communicate with RPM. > Such platforms are apq8064 and msm8960. > >

Re: [PATCH v9 1/3] clk: qcom: Add support for SMD-RPM Clocks

2016-11-09 Thread Rob Herring
On Wed, Nov 02, 2016 at 05:56:56PM +0200, Georgi Djakov wrote: > This adds initial support for clocks controlled by the Resource > Power Manager (RPM) processor on some Qualcomm SoCs, which use > the qcom_smd_rpm driver to communicate with RPM. > Such platforms are msm8916, apq8084 and msm8974. >

Re: [PATCH] net: amd: pcnet32: use new api ethtool_{get|set}_link_ksettings

2016-11-09 Thread David Miller
From: Philippe Reynes Date: Sun, 6 Nov 2016 00:26:41 +0100 > The ethtool api {get|set}_settings is deprecated. > We move this driver to new api {get|set}_link_ksettings. > > Signed-off-by: Philippe Reynes Applied.

Re: [PATCH v2] net: 3com: typhoon: fix typhoon_get_link_ksettings

2016-11-09 Thread David Miller
From: Philippe Reynes Date: Sun, 6 Nov 2016 15:02:32 +0100 > When moving from typhoon_get_settings to typhoon_getlink_ksettings > in the commit f7a5537cd2a5 ("net: 3com: typhoon: use new api > ethtool_{get|set}_link_ksettings"), we use a local variable supported > but we

Re: [PATCH v3 2/2] dt-bindings: net: Add OXNAS DWMAC Bindings

2016-11-09 Thread Rob Herring
On Wed, Nov 02, 2016 at 03:02:37PM +0100, Neil Armstrong wrote: > Signed-off-by: Neil Armstrong > --- > .../devicetree/bindings/net/oxnas-dwmac.txt| 39 > ++ > 1 file changed, 39 insertions(+) > create mode 100644

Re: [PATCH] net: xgbe: use new api ethtool_{get|set}_link_ksettings

2016-11-09 Thread David Miller
From: Philippe Reynes Date: Sun, 6 Nov 2016 14:57:04 +0100 > The ethtool api {get|set}_settings is deprecated. > We move this driver to new api {get|set}_link_ksettings. > > Signed-off-by: Philippe Reynes Applied.

Re: [PATCH] net: amd8111e: use new api ethtool_{get|set}_link_ksettings

2016-11-09 Thread David Miller
From: Philippe Reynes Date: Sat, 5 Nov 2016 20:17:03 +0100 > The ethtool api {get|set}_settings is deprecated. > We move this driver to new api {get|set}_link_ksettings. > > Signed-off-by: Philippe Reynes Applied.

Re: [PATCHv3 1/4] dt-bindings: mfd: Add Altera Arria10 SR Monitor

2016-11-09 Thread Rob Herring
On Wed, Nov 02, 2016 at 09:32:55AM -0500, ttha...@opensource.altera.com wrote: > From: Thor Thayer > > Add the Arria10 DevKit System Resource Chip register and state > monitoring module to the MFD. > > Signed-off-by: Thor Thayer >

Re: KASAN & the vmalloc area

2016-11-09 Thread Mark Rutland
On Wed, Nov 09, 2016 at 10:16:03AM -0800, Dmitry Vyukov wrote: > On Wed, Nov 9, 2016 at 2:56 AM, Mark Rutland wrote: > > On Tue, Nov 08, 2016 at 02:09:27PM -0800, Dmitry Vyukov wrote: > >> On Tue, Nov 8, 2016 at 11:03 AM, Mark Rutland wrote: > >> I've

Re: fsnotify_mark_srcu wtf?

2016-11-09 Thread Amir Goldstein
On Wed, Nov 9, 2016 at 1:10 PM, Jan Kara wrote: > On Sun 06-11-16 08:45:54, Amir Goldstein wrote: >> On Sat, Nov 5, 2016 at 11:34 PM, Jan Kara wrote: >> > On Wed 02-11-16 23:09:26, Miklos Szeredi wrote: >> >> We've got a report where a fanotify daemon that implements

Re: [PATCH v7 3/3] clk: qcom: Add A53 clock driver

2016-11-09 Thread Rob Herring
On Mon, Oct 31, 2016 at 04:55:26PM +0200, Georgi Djakov wrote: > Add a driver for the A53 Clock Controller. It is a hardware block that > implements a combined mux and half integer divider functionality. It can > choose between a fixed-rate clock or the dedicated A53 PLL. The source > and the

Re: [v16, 0/7] Fix eSDHC host version register bug

2016-11-09 Thread Ulf Hansson
- i2c-list On 9 November 2016 at 04:14, Yangbo Lu wrote: > This patchset is used to fix a host version register bug in the > T4240-R1.0-R2.0 > eSDHC controller. To match the SoC version and revision, 15 previous version > patchsets had tried many methods but all of them were

Re: [PATCH v2 1/2] mmc: sdhci-iproc: Add brcm,sdhci-iproc compat string in bindings document

2016-11-09 Thread Rob Herring
On Tue, Nov 01, 2016 at 09:37:56AM -0700, Scott Branden wrote: > Adds brcm,sdhci-iproc compat string to DT bindings document for > the iProc SDHCI driver. > > Signed-off-by: Anup Patel > Signed-off-by: Scott Branden > --- >

Re: [Resend][PATCH] cpufreq: conservative: Decrease frequency faster when the timer deferred

2016-11-09 Thread Stratos Karafotis
On 09/11/2016 07:55 πμ, Viresh Kumar wrote: > On 08-11-16, 21:25, Stratos Karafotis wrote: >> But this is the supposed behaviour of conservative governor. We want >> the CPU to increase the frequency in steps. The patch just resets >> the frequency to a lower frequency in case of idle. >> >> For

Re: [PATCH] net: alteon: acenic: use new api ethtool_{get|set}_link_ksettings

2016-11-09 Thread David Miller
From: Philippe Reynes Date: Sat, 5 Nov 2016 16:17:54 +0100 > The ethtool api {get|set}_settings is deprecated. > We move this driver to new api {get|set}_link_ksettings. > > Signed-off-by: Philippe Reynes Applied.

Re: [PATCH V3 4/9] Documentation: devicetree: mfd: da9062/61 MFD binding

2016-11-09 Thread Rob Herring
On Mon, Oct 31, 2016 at 04:02:03PM +, Steve Twiss wrote: > From: Steve Twiss > > Extend existing DA9062 binding information to include the DA9061 PMIC for > MFD core and regulators. > > Add a da9062-onkey link to the existing onkey binding file. > > Add a

Re: [PATCH v2 1/3] binding: irqchip: mtk-cirq: Add binding document

2016-11-09 Thread Rob Herring
On Tue, Nov 01, 2016 at 07:52:00PM +0800, Youlin Pei wrote: > This commit adds the device tree binding document for > the mediatek cirq. > > Signed-off-by: Youlin Pei > --- > .../interrupt-controller/mediatek,cirq.txt | 30 > > 1 file

Re: KASAN & the vmalloc area

2016-11-09 Thread Dmitry Vyukov
On Wed, Nov 9, 2016 at 10:30 AM, Mark Rutland wrote: >> >> I've seen the same iteration slowness problem on x86 with >> >> CONFIG_DEBUG_RODATA which walks all pages. The is about 1 minute, but >> >> it is enough to trigger rcu stall warning. >> > >> > Interesting; do you

Re: [PATCH] drivers: cpuidle: assign enter_freeze to same as enter callback function

2016-11-09 Thread Sudeep Holla
On 09/11/16 18:39, Lorenzo Pieralisi wrote: On Wed, Nov 09, 2016 at 05:43:30PM +, Sudeep Holla wrote: enter_freeze() callback is expected atleast to do the same as enter() but it has to guarantee that interrupts aren't enabled at any point in its execution, as the tick is frozen. CPUs

Re: [PATCH v8 3/3] fpga: Add support for Lattice iCE40 FPGAs

2016-11-09 Thread Joel Holdsworth
On 09/11/16 11:39, Marek Vasut wrote: On 11/09/2016 07:37 PM, Joel Holdsworth wrote: On 09/11/16 05:01, Marek Vasut wrote: On 11/08/2016 06:30 PM, Joel Holdsworth wrote: On the whole, I don't think the zero-length transfers are too egregiously bad, and all the alternatives seem worse to me.

[GIT PULL] sound fixes for 4.9-rc5

2016-11-09 Thread Takashi Iwai
Linus, please pull sound fixes for v4.9-rc5 from: git://git.kernel.org/pub/scm/linux/kernel/git/tiwai/sound.git tags/sound-4.9-rc5 The topmost commit is 6809cd682b82dfff47943850d1a8c714f971b5ca sound fixes for 4.9-rc5 this

Re: [PATCH 2/2] kasan: improve error reports

2016-11-09 Thread Andrey Ryabinin
On 11/08/2016 10:37 PM, Andrey Konovalov wrote: > 1. Change header format. > 2. Unify header format between different kinds of bad accesses. > 3. Add empty lines between parts of the report to improve readability. > 4. Improve slab object description. > 5. Improve mm/kasan/report.c readability. >

Re: Summary of LPC guest MSI discussion in Santa Fe

2016-11-09 Thread Christoffer Dall
On Wed, Nov 09, 2016 at 01:59:07PM -0500, Don Dutile wrote: > On 11/09/2016 12:03 PM, Will Deacon wrote: > >On Tue, Nov 08, 2016 at 09:52:33PM -0500, Don Dutile wrote: > >>On 11/08/2016 06:35 PM, Alex Williamson wrote: > >>>On Tue, 8 Nov 2016 21:29:22 +0100 > >>>Christoffer Dall

PM regression with LED changes in next-20161109

2016-11-09 Thread Tony Lindgren
Hi, Looks like commit 883d32ce3385 ("leds: core: Add support for poll()ing the sysfs brightness attr for changes.") breaks runtime PM for me. On my omap dm3730 based test system, idle power consumption is over 70 times higher now with this patch! It goes from about 6mW for the core system to

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

2016-11-09 Thread J. Bruce Fields
On Wed, Nov 09, 2016 at 12:33:35PM -0500, Jeff Layton wrote: > On Wed, 2016-11-09 at 11:27 -0500, J. Bruce Fields wrote: > > On Wed, Nov 09, 2016 at 08:18:08AM -0500, Jeff Layton wrote: > > > > > > On Tue, 2016-11-08 at 20:27 -0500, J. Bruce Fields wrote: > > > > > > > > On Tue, Nov 08, 2016 at

Re: [v4.9-rc4] dvb-usb/cinergyT2 NULL pointer dereference

2016-11-09 Thread Malcolm Priestley
On 08/11/16 21:38, Mauro Carvalho Chehab wrote: Em Tue, 8 Nov 2016 22:15:24 +0100 Benjamin Larsson escreveu: On 11/08/2016 09:22 PM, Mauro Carvalho Chehab wrote: Em Tue, 8 Nov 2016 10:42:03 -0800 Linus Torvalds escreveu: On Sun, Nov 6,

Re: [PATCH 2/3] vhost: better detection of available buffers

2016-11-09 Thread Michael S. Tsirkin
On Wed, Nov 09, 2016 at 03:38:32PM +0800, Jason Wang wrote: > We should use vq->last_avail_idx instead of vq->avail_idx in the > checking of vhost_vq_avail_empty() since latter is the cached avail > index from guest but we want to know if there's pending available > buffers in the virtqueue. > >

Re: Summary of LPC guest MSI discussion in Santa Fe

2016-11-09 Thread Robin Murphy
On 09/11/16 18:59, Don Dutile wrote: > On 11/09/2016 12:03 PM, Will Deacon wrote: >> On Tue, Nov 08, 2016 at 09:52:33PM -0500, Don Dutile wrote: >>> On 11/08/2016 06:35 PM, Alex Williamson wrote: On Tue, 8 Nov 2016 21:29:22 +0100 Christoffer Dall wrote:

Re: [PATCH] serial: 8250_pxa: hide early console setup when disabled

2016-11-09 Thread Robert Jarzmik
Arnd Bergmann writes: > The newly added pxa glue driver for 8250 supports console output, but > fails to build if the 8250 console is disabled: > > drivers/tty/serial/8250/8250_pxa.o: In function `early_serial_pxa_setup': > 8250_pxa.c:(.init.text+0x50): undefined reference to

Re: [PATCH 1/2] wcn36xx: Correct Kconfig dependency

2016-11-09 Thread Marcel Holtmann
Hi Bjorn, > In the case SMD or WCNSS_CTRL are compiled as modules, wcn36xx must be > compiled as module as well, so we need to mention this dependency. > But we still want allow the driver to be compiled in case either of > those are =n, for compile testing reasons. > > Signed-off-by: Bjorn

Re: Summary of LPC guest MSI discussion in Santa Fe

2016-11-09 Thread Will Deacon
On Wed, Nov 09, 2016 at 08:23:03PM +0100, Christoffer Dall wrote: > On Wed, Nov 09, 2016 at 01:59:07PM -0500, Don Dutile wrote: > > On 11/09/2016 12:03 PM, Will Deacon wrote: > > >On Tue, Nov 08, 2016 at 09:52:33PM -0500, Don Dutile wrote: > > >>On 11/08/2016 06:35 PM, Alex Williamson wrote: > >

[PATCH v2] MIPS: fix duplicate define

2016-11-09 Thread Sudip Mukherjee
The mips build of ip27_defconfig is failing with the error: In file included from ../arch/mips/include/asm/mach-ip27/spaces.h:29:0, from ../arch/mips/include/asm/page.h:12, from ../arch/mips/vdso/vdso.h:26, from

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