[PATCH v7 05/16] drivers: iommu: arm-smmu: convert struct device of_node to fwnode usage

2016-11-09 Thread Lorenzo Pieralisi
Current ARM SMMU driver rely on the struct device.of_node pointer for device look-up and iommu_ops retrieval. In preparation for ACPI probing enablement, convert the driver to use the struct device.fwnode member for device and iommu_ops look-up so that the driver infrastructure can be used also on

[PATCH v7 03/16] drivers: acpi: iort: add support for IOMMU fwnode registration

2016-11-09 Thread Lorenzo Pieralisi
The ACPI IORT table provide entries for IOMMU (aka SMMU in ARM world) components that allow creating the kernel data structures required to probe and initialize the IOMMU devices. This patch provides support in the IORT kernel code to register IOMMU components and their respective fwnode. Signed-

[PATCH v7 02/16] drivers: acpi: iort: introduce linker section for IORT entries probing

2016-11-09 Thread Lorenzo Pieralisi
Since commit e647b532275b ("ACPI: Add early device probing infrastructure") the kernel has gained the infrastructure that allows adding linker script section entries to execute ACPI driver callbacks (ie probe routines) for all subsystems that register a table entry in the respective kernel section

[PATCH] pinctrl: single: check for any error when getting rows

2016-11-09 Thread Axel Haslam
pinctrl_count_index_with_args returns -ENOENT not -EINVAL. The return check would pass, and we would try to kzalloc with a negative error size throwing a warning. Instead of checking for -EINVAL specifically, lets check for any error and avoid negative size allocations. Signed-off-by: Axel Haslam

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

2016-11-09 Thread Lorenzo Pieralisi
This patch series is v7 of a previous posting: https://lkml.org/lkml/2016/10/18/506 v6 -> v7 - Rebased against v4.9-rc4 - Fixed IORT probing on ACPI systems with missing IORT table - Fixed SMMUv1/v2 global interrupt detection - Updated iommu_ops firmware look-up v

Re: [PATCH] perf/x86: Fix overlap counter scheduling bug

2016-11-09 Thread Robert Richter
On 08.11.16 19:27:39, Peter Zijlstra wrote: > The comment with EVENT_CONSTRAINT_OVERLAP states: "This is the case if > the counter mask of such an event is not a subset of any other counter > mask of a constraint with an equal or higher weight". > > Esp. that latter part is of interest here I thin

[GIT PULL] kvm/page_track changes for i915 KVMGT

2016-11-09 Thread Paolo Bonzini
Daniel, The following changes since commit d9092f52d7e61dd1557f2db2400ddb430e85937e: kvm: x86: Check memopp before dereference (CVE-2016-8630) (2016-11-02 21:31:53 +0100) are available in the git repository at: git://git.kernel.org/pub/scm/virt/kvm/kvm.git tags/for-kvmgt for you to fetch

Re: [PATCH 2/4] perf hist browser: Show folded sign properly on --hierarchy

2016-11-09 Thread Arnaldo Carvalho de Melo
Em Tue, Nov 08, 2016 at 10:08:31PM +0900, Namhyung Kim escreveu: > When horizontall scrolling is used in hierarchy mode, the folded signed > disappears at the right most column. Humm, this indeed shows the '+' folded signal after pressing ->, but it moves from the first to the third column :-\ -

Re: [PATCH 2/4] perf hist browser: Show folded sign properly on --hierarchy

2016-11-09 Thread Arnaldo Carvalho de Melo
Em Wed, Nov 09, 2016 at 11:28:11AM -0300, Arnaldo Carvalho de Melo escreveu: > Em Tue, Nov 08, 2016 at 10:08:31PM +0900, Namhyung Kim escreveu: > > When horizontall scrolling is used in hierarchy mode, the folded signed > > disappears at the right most column. > > Humm, this indeed shows the '+' f

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, Grzegorz Andrejczuk wrote: > These patches enable Intel Xeon Phi x200 feature to use MONITOR/MWAIT > instruction in ring 3 (userspace) Patches set MSR 0x140 for all logical CPUs. > Then expose it as CPU feature and introduces elf HWCAP capability for x86. > Reference: > https:/

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

2016-11-09 Thread Andrew Lunn
On Wed, Nov 09, 2016 at 04:33:09AM -0500, 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 > ++ >

Re: [PATCH 12/13] ARM64: dts: rockchip: replace to "max-frequency" instead of "clock-freq-min-max"

2016-11-09 Thread Heiko Stuebner
Am Donnerstag, 3. November 2016, 15:21:34 CET schrieb Jaehoon Chung: > In drivers/mmc/core/host.c, there is "max-freqeuncy" property. > It should be same behavior, So Use the "max-frequency" instead of > "clock-freq-min-max". > > Signed-off-by: Jaehoon Chung applied to my dts64 branch for 4.10

Re: [PATCH] perf tools pt: Remove obsolete paragraph in intel-pt.c

2016-11-09 Thread Arnaldo Carvalho de Melo
Em Wed, Nov 09, 2016 at 04:01:12PM +0200, Adrian Hunter escreveu: > On 09/11/16 15:59, Arnaldo Carvalho de Melo wrote: > > Em Wed, Nov 09, 2016 at 10:14:26AM -0300, Arnaldo Carvalho de Melo escreveu: > >> Em Tue, Nov 08, 2016 at 04:11:00PM -0800, Andi Kleen escreveu: > >>> From: Andi Kleen > >>> >

Re: [PATCH v7 04/16] drivers: iommu: make of_iommu_set/get_ops() DT agnostic

2016-11-09 Thread Robin Murphy
On 09/11/16 14:19, Lorenzo Pieralisi wrote: > The of_iommu_{set/get}_ops() API is used to associate a device > tree node with a specific set of IOMMU operations. The same > kernel interface is required on systems booting with ACPI, where > devices are not associated with a device tree node, therefo

Re: linux-next: build failure after merge of the sound-asoc tree

2016-11-09 Thread Mark Brown
On Tue, Nov 08, 2016 at 11:18:29AM +0800, Chen-Yu Tsai wrote: > sound-asoc is missing patch > ASoC: sun4i-codec: Add support for optional reset control to quirks > http://www.spinics.net/lists/alsa-devel/msg56289.html > which commit 8d9e4c9e993f ("ASoC: sun4i-codec: Add support for A31 p

Re: [PATCH v7 05/16] drivers: iommu: arm-smmu: convert struct device of_node to fwnode usage

2016-11-09 Thread Robin Murphy
On 09/11/16 14:19, Lorenzo Pieralisi wrote: > Current ARM SMMU driver rely on the struct device.of_node pointer for > device look-up and iommu_ops retrieval. > > In preparation for ACPI probing enablement, convert the driver to use > the struct device.fwnode member for device and iommu_ops look-up

Re: [PATCH] perf tools pt: Remove obsolete paragraph in intel-pt.c

2016-11-09 Thread Arnaldo Carvalho de Melo
Em Wed, Nov 09, 2016 at 04:01:12PM +0200, Adrian Hunter escreveu: > On 09/11/16 15:59, Arnaldo Carvalho de Melo wrote: > > Em Wed, Nov 09, 2016 at 10:14:26AM -0300, Arnaldo Carvalho de Melo escreveu: > > +++ b/tools/perf/Documentation/intel-pt.txt > > @@ -546,6 +546,18 @@ mode by using the --per-th

Re: [PATCH] soc: qcom: Add SoC info driver

2016-11-09 Thread Geert Uytterhoeven
Hi Bjorn, On Wed, Nov 2, 2016 at 5:28 PM, Bjorn Andersson wrote: > On Wed 26 Oct 07:05 PDT 2016, Arnd Bergmann wrote: >> On Wednesday, October 26, 2016 7:20:42 PM CEST Imran Khan wrote: >> > On 10/26/2016 2:19 AM, Arnd Bergmann wrote: >> > > On Tuesday, October 25, 2016 3:23:34 PM CEST Imran Khan

Re: [PATCH v7 06/16] drivers: iommu: arm-smmu-v3: convert struct device of_node to fwnode usage

2016-11-09 Thread Robin Murphy
On 09/11/16 14:19, Lorenzo Pieralisi wrote: > Current ARM SMMU v3 driver rely on the struct device.of_node pointer for > device look-up and iommu_ops retrieval. > > In preparation for ACPI probing enablement, convert the driver to use > the struct device.fwnode member for device and iommu_ops look

Re: [PATCH 3/4] perf hist browser: Fix column indentation on --hierarchy

2016-11-09 Thread Arnaldo Carvalho de Melo
Em Tue, Nov 08, 2016 at 10:08:32PM +0900, Namhyung Kim escreveu: > When horizontall scrolling is used in hierarchy mode, the the right most > column has unnecessary indentation. Actually it's needed only if some > of left (overhead) columns were shown. I see, here is the fix, thanks, testing it n

Re: [PATCH 3/6] net: mdio-mux: Add MDIO mux driver for NSP SoC

2016-11-09 Thread Andrew Lunn
> +#define NSP_MDIO_EXT_BUS_START_ADDR 16 > +#define NSP_MDIO_EXT_SELECT_BIT BIT(9) > + > +static int mdio_mux_nsp_switch_fn(int current_child, int desired_child, > + void *priv) > +{ > + struct nsp_mdiomux_desc *md = priv; > + u32

Re: [watchdog] watchdog: mei_wdt: request stop on reboot to prevent false positive event

2016-11-09 Thread Guenter Roeck
On 11/08/2016 07:55 AM, Tomas Winkler wrote: From: Alexander Usyskin Systemd on reboot enables shutdown watchdog that leaves the watchdog device open to ensure that even if power down process get stuck the platform reboots nonetheless. The iamt_wdt is an alarm-only watchdog and can't reboot sys

Re: [PATCH v2] video: backlight: pwm_bl: Initialize fb_bl_on[x] and use_count during pwm_backlight_probe()

2016-11-09 Thread Lee Jones
On Tue, 08 Nov 2016, Lukasz Majewski wrote: > Dear All, > > > The commit a55944ca82d2 ("backlight: update bd state & fb_blank > > properties when necessary") has posed some extra restrictions on > > blanking and unblanking frame buffer device. > > > > Unfortunately, pwm_bl driver's probe did not

Re: [PATCH] hwmon: (scpi) Fix module autoload

2016-11-09 Thread Guenter Roeck
On 11/07/2016 12:31 PM, Javier Martinez Canillas wrote: If the driver is built as a module, autoload won't work because the module alias information is not filled. So user-space can't match the registered device with the corresponding module. Export the module alias information using the MODULE_

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

2016-11-09 Thread Gabriele Paoloni
> -Original Message- > From: One Thousand Gnomes [mailto:gno...@lxorguk.ukuu.org.uk] > Sent: 09 November 2016 13:55 > To: Arnd Bergmann > Cc: Mark Rutland; Yuanzhichang; catalin.mari...@arm.com; > will.dea...@arm.com; robh...@kernel.org; bhelg...@google.com; > o...@lixom.net; linux-arm-ker.

[PATCH v2 1/2] pinctrl: single: check for any error when getting rows

2016-11-09 Thread Axel Haslam
pinctrl_count_index_with_args returns -ENOENT not -EINVAL. The return check would pass, and we would try to kzalloc with a negative error size throwing a warning. Instead of checking for -EINVAL specifically, lets check for any error and avoid negative size allocations. Signed-off-by: Axel Haslam

[PATCH v2 0/2] pinctrl: single: fixes for davinci

2016-11-09 Thread Axel Haslam
After recent pinctl patches we see a warning when booting davinci due to a bad memory allocation: [ cut here ] WARNING: CPU: 0 PID: 1 at mm/page_alloc.c:3511 __alloc_pages_nodemask+0x16c/0xb18 Modules linked in: CPU: 0 PID: 1 Comm: swapper Not tainted 4.9.0-rc2-00023-g22d5

[PATCH v2 2/2] pinctrl: single: search for the bits property when parsing bits

2016-11-09 Thread Axel Haslam
The pcs_parse_bits_in_pinctrl_entry function should search for the "pinctrl-single,bits" and not "pinctrl-single,pins" Signed-off-by: Axel Haslam --- drivers/pinctrl/pinctrl-single.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/pinctrl/pinctrl-single.c b/drivers/pi

Re: [PATCH V3 1/9] PM / OPP: Reword binding supporting multiple regulators per device

2016-11-09 Thread Mark Brown
On Wed, Oct 26, 2016 at 12:02:56PM +0530, Viresh Kumar wrote: > + Entries for multiple regulators shall be provided in the same field > separated > + by angular brackets <>. The OPP binding doesn't provide any provisions to > + relate the values to their power supplies or the order in which th

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 d

Applied "ASoC: sun4i-codec: Add support for optional reset control to quirks" to the asoc tree

2016-11-09 Thread Mark Brown
The patch ASoC: sun4i-codec: Add support for optional reset control to quirks 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 2

Re: [PATCH v4 8/8] iio: envelope-detector: ADC driver based on a DAC and a comparator

2016-11-09 Thread Peter Rosin
On 2016-11-08 22:47, Thomas Gleixner wrote: > On Tue, 8 Nov 2016, Peter Rosin wrote: >> So, to sum up, in order for this to work with threaded oneshot >> interrupts, I still need to either keep the enable/sync/enable-dance >> or tweak the irq core to handle my case better. The only gain would >> be

Applied "spi: rspi: avoid uninitialized variable access" to the spi tree

2016-11-09 Thread Mark Brown
The patch spi: rspi: avoid uninitialized variable access 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 sent to Lin

[PATCH] thermal/powerclamp: add back module device table

2016-11-09 Thread Jacob Pan
Commit 3105f234e0aba43e44e277c20f9b32ee8add43d4 replaced module cpu id table with a cpu feature check, which is logically correct. But we need the module device table to allow module auto loading. --- drivers/thermal/intel_powerclamp.c | 9 - 1 file changed, 8 insertions(+), 1 deletion(-)

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 patch in a minute. So we nee

Re: [PATCH 4/6 v7] sched: propagate load during synchronous attach/detach

2016-11-09 Thread Peter Zijlstra
On Tue, Nov 08, 2016 at 10:53:45AM +0100, Vincent Guittot wrote: > When a task moves from/to a cfs_rq, we set a flag which is then used to > propagate the change at parent level (sched_entity and cfs_rq) during > next update. If the cfs_rq is throttled, the flag will stay pending until > the cfs_rq

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 sent

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 hours

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 du

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 followi

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 sen

Re: [PATCH] wireless: fix bogus maybe-uninitialized warning

2016-11-09 Thread Arnd Bergmann
On Wednesday, November 9, 2016 9:10:46 AM CET Johannes Berg wrote: > > > Ideally we prefer that drivers/net/wireless and net/wireless changes > > are > > split into different patches as they get applied to different trees. Ok, good to know. I had split out the drivers/staging changes, but wasn't

Re: [PATCH 1/2] skd: fix msix error handling

2016-11-09 Thread Christoph Hellwig
Thanks Arnd, this looks fine: Reviewed-by: Christoph Hellwig

Re: [PATCH v4 2/2] iommu/exynos: Add proper runtime pm support

2016-11-09 Thread Marek Szyprowski
Hi Luis, On 2016-11-08 23:14, Luis R. Rodriguez wrote: On Mon, Oct 10, 2016 at 03:32:06PM +0200, Marek Szyprowski wrote: Hi Luis On 2016-10-06 19:37, Luis R. Rodriguez wrote: On Thu, Sep 29, 2016 at 10:12:31AM +0200, Marek Szyprowski wrote: This patch uses recently introduced device links

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

2016-11-09 Thread Trond Myklebust
On Wed, 2016-11-09 at 08:18 -0500, Jeff Layton wrote: > On Tue, 2016-11-08 at 20:27 -0500, J. Bruce Fields wrote: > > > > On Tue, Nov 08, 2016 at 05:52:21PM -0500, Tejun Heo wrote: > > > > > > > > > Hello, Bruce. > > > > > > On Tue, Nov 08, 2016 at 04:39:11PM -0500, J. Bruce Fields wrote: > > >

Applied "spi: s3c64xx: Allow driver to build if COMPILE_TEST is enabled" to the spi tree

2016-11-09 Thread Mark Brown
The patch spi: s3c64xx: Allow driver to build if COMPILE_TEST is enabled 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)

Applied "ASoC: sun4i-codec: Add support for A31 ADC capture path" to the asoc tree

2016-11-09 Thread Mark Brown
The patch ASoC: sun4i-codec: Add support for A31 ADC capture path 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: support for partial irq affinity assignment V3

2016-11-09 Thread Christoph Hellwig
On Wed, Nov 09, 2016 at 08:51:35AM +0100, Thomas Gleixner wrote: > It's available from > > git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git irq/for-block > > for you to pull into the block tree so you can apply the block changes. I don't actually need them in the block tree, but in th

Re: [PATCH v4 8/8] iio: envelope-detector: ADC driver based on a DAC and a comparator

2016-11-09 Thread Thomas Gleixner
On Wed, 9 Nov 2016, Peter Rosin wrote: > On 2016-11-08 22:47, Thomas Gleixner wrote: > > I don't think you need extra race handling with that, but I might be wrong > > as usual. > > There's obviously no way to determine which of the timeout or the > interrupt that happens first without some race h

Re: support for partial irq affinity assignment V3

2016-11-09 Thread Thomas Gleixner
On Wed, 9 Nov 2016, Christoph Hellwig wrote: > On Wed, Nov 09, 2016 at 08:51:35AM +0100, Thomas Gleixner wrote: > > It's available from > > > > git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git irq/for-block > > > > for you to pull into the block tree so you can apply the block changes.

Re: [GIT PULL] kvm/page_track changes for i915 KVMGT

2016-11-09 Thread Daniel Vetter
On Wed, Nov 09, 2016 at 03:25:19PM +0100, Paolo Bonzini wrote: > Daniel, > > The following changes since commit d9092f52d7e61dd1557f2db2400ddb430e85937e: > > kvm: x86: Check memopp before dereference (CVE-2016-8630) (2016-11-02 > 21:31:53 +0100) > > are available in the git repository at: >

Re: [GIT PULL] kvm/page_track changes for i915 KVMGT

2016-11-09 Thread Paolo Bonzini
On 09/11/2016 16:15, Daniel Vetter wrote: > On Wed, Nov 09, 2016 at 03:25:19PM +0100, Paolo Bonzini wrote: >> Daniel, >> >> The following changes since commit d9092f52d7e61dd1557f2db2400ddb430e85937e: >> >> kvm: x86: Check memopp before dereference (CVE-2016-8630) (2016-11-02 >> 21:31:53 +0100

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

2016-11-09 Thread Jeff Layton
On Wed, 2016-11-09 at 15:08 +, Trond Myklebust wrote: > On Wed, 2016-11-09 at 08:18 -0500, Jeff Layton wrote: > > > > On Tue, 2016-11-08 at 20:27 -0500, J. Bruce Fields wrote: > > > > > > > > > On Tue, Nov 08, 2016 at 05:52:21PM -0500, Tejun Heo wrote: > > > > > > > > > > > > > > > > Hell

Re: [PATCH 4/6 v7] sched: propagate load during synchronous attach/detach

2016-11-09 Thread Vincent Guittot
On 9 November 2016 at 16:03, Peter Zijlstra wrote: > On Tue, Nov 08, 2016 at 10:53:45AM +0100, Vincent Guittot wrote: >> When a task moves from/to a cfs_rq, we set a flag which is then used to >> propagate the change at parent level (sched_entity and cfs_rq) during >> next update. If the cfs_rq is

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(&p->dl.inactive_timer)) { > > + raw_spin_loc

Re: [PATCH v2 0/2] pinctrl: single: fixes for davinci

2016-11-09 Thread Tony Lindgren
* Axel Haslam [161109 07:54]: > After recent pinctl patches we see a warning when booting davinci > due to a bad memory allocation: > > [ cut here ] > WARNING: CPU: 0 PID: 1 at mm/page_alloc.c:3511 > __alloc_pages_nodemask+0x16c/0xb18 > Modules linked in: > CPU: 0 PID: 1

Re: [PATCH] pinctrl: single: check for any error when getting rows

2016-11-09 Thread Tony Lindgren
* Axel Haslam [161109 07:19]: > pinctrl_count_index_with_args returns -ENOENT not > -EINVAL. The return check would pass, and we would > try to kzalloc with a negative error size throwing > a warning. > > Instead of checking for -EINVAL specifically, lets > check for any error and avoid negative

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

2016-11-09 Thread Lars Ellenberg
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 well > > > (which co

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* > notifie

[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 i

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 device

[PATCH v4] USB hub_probe: rework ugly goto-into-compound-statement

2016-11-09 Thread Eugene Korenevsky
Rework smelling code (goto inside compound statement). Perhaps this is legacy. Anyway such code is not appropriate for Linux kernel. Changes since v3: fix typo Changes since v2: extract the code to static function Changes since v1: fix spaces instead of tab, add missing 'Signed-off-by' Signed-off

RE: [PATCH v9 0/8] thunderbolt: Introducing Thunderbolt(TM) Networking

2016-11-09 Thread Levy, Amir (Jer)
On Wed, Nov 9 2016, 04:36 PM, Simon Guinot wrote: > On Wed, Nov 09, 2016 at 04:20:00PM +0200, Amir Levy wrote: > > This driver enables Thunderbolt Networking on non-Apple platforms > > running Linux. > > > > Thunderbolt Networking provides peer-to-peer connections to transfer > > files between co

[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 ch

[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: git://git.kernel.org/pub/scm/linux/kernel/git/rt/linux-stable-rt.g

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 logbuf_lock lock, because > >> it does log_store() and touches the cont.le

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

2016-11-09 Thread Thomas Gleixner
On Wed, 9 Nov 2016, Thomas Gleixner wrote: > + if (pkg != c->phys_proc_id) { > + pr_err(FW_BUG "CPU%u: Using firmware package id %u instead of > %u\n", > +cpu, pkg, c->phys_proc_id); > + c->phys_proc_id = pkg; > + } > + c->logical_proc_id = t

Re: [PATCH 1/2] backlight: arcxcnn: add support for ArticSand devices

2016-11-09 Thread Lee Jones
Jingoo? On Wed, 26 Oct 2016, Olimpiu Dejeu wrote: > Resubmition of arcxcnn backliught driver adding devicetree entries > for all registers > > Signed-off-by: Olimpiu Dejeu > > --- > drivers/video/backlight/Kconfig | 7 + > drivers/video/backlight/Makefile | 1 + > drivers/video/

Re: [PATCH] perf/x86: Fix overlap counter scheduling bug

2016-11-09 Thread Peter Zijlstra
On Wed, Nov 09, 2016 at 03:25:15PM +0100, Robert Richter wrote: > On 08.11.16 19:27:39, Peter Zijlstra wrote: > > The comment with EVENT_CONSTRAINT_OVERLAP states: "This is the case if > > the counter mask of such an event is not a subset of any other counter > > mask of a constraint with an equal

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 detai

[ppdev] sysfs warning on qemu boot

2016-11-09 Thread Joe Lawrence
Hi Sudip, I hit a sysfs_warn_dup inside QEMU running 4.9.0-rc4 (I suspect earlier versions as well, but this is the first upstream I've run in a while). This warning looks like something the kernel test robot ran into a few months ago: http://marc.info/?t=14726777333&r=1&w=2 I'm running Ce

Re: [lustre-devel] [PATCH] staging: lustre: ldlm: pl_recalc time handling is wrong

2016-11-09 Thread Arnd Bergmann
On Wednesday, November 9, 2016 3:50:29 AM CET Dilger, Andreas wrote: > On Nov 7, 2016, at 19:47, James Simmons wrote: > > > > The ldlm_pool field pl_recalc_time is set to the current > > monotonic clock value but the interval period is calculated > > with the wall clock. This means the interval p

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 bu

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 happe

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 p

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 t

Re: [PATCH 2/4] mfd: palmas: Reset the POWERHOLD mux during power off

2016-11-09 Thread Lee Jones
On Thu, 27 Oct 2016, Keerthy wrote: > POWERHOLD signal has higher priority over the DEV_ON bit. > So power off will not happen if the POWERHOLD is held high. > Hence reset the MUX to GPIO_7 mode to release the POWERHOLD > and the DEV_ON bit to take effect to power off the PMIC. > > PMIC Power of

[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 17:06:08 +0100 x86/cpu/AMD: Fix cpu_llc_id

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

2016-11-09 Thread Gabriele Paoloni
Hi Liviu Thanks for reviewing > -Original Message- > From: liviu.du...@arm.com [mailto:liviu.du...@arm.com] > Sent: 09 November 2016 11:40 > To: Yuanzhichang > Cc: catalin.mari...@arm.com; will.dea...@arm.com; robh...@kernel.org; > bhelg...@google.com; mark.rutl...@arm.com; o...@lixom.net

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 t

Re: [RFC 2/2] mmc: sdhci-pci: Use ACPI to get max frequency for Intel byt sdio host controller sub-vended by NI

2016-11-09 Thread Zach Brown
On Wed, Nov 09, 2016 at 03:24:24PM +0200, Adrian Hunter wrote: > On 08/11/16 22:07, Zach Brown wrote: > > On NI 9037 boards the max SDIO frequency is limited by trace lengths > > and other layout choices. The max SDIO frequency is stored in an ACPI > > table, as MXFQ. > > > > The driver reads the A

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 po

[PATCH -next 2/2] ipc/sem: avoid idr tree lookup for interrupted semop

2016-11-09 Thread Davidlohr Bueso
We can avoid the idr tree lookup (albeit possibly avoiding idr_find_fast()) when being awoken in EINTR, as the semid will not change in this context while blocked. Use the sma pointer directly and take the sem_lock, then re-check for RMID races. We continue to re-check the queue.status with the loc

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

2016-11-09 Thread J. Bruce Fields
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 05:52:21PM -0500, Tejun Heo wrote: > > > > > > Hello, Bruce. > > > > > > On Tue, Nov 08, 2016 at 04:39:11PM -0500, J. Bruce Fields wrote: > > > > >

[PATCH -next 0/2] ipc/sem: semop updates

2016-11-09 Thread Davidlohr Bueso
Hi, Here are two small updates to semop(2), suggested a while ago by Manfred. Both patches have passed the usual regression tests, including ltp and some sysvsem benchmarks. Thanks! Davidlohr Bueso (2): ipc/sem: simplify wait-wake loop ipc/sem: avoid idr tree lookup for interrupted semop

[PATCH -next 1/2] ipc/sem: simplify wait-wake loop

2016-11-09 Thread Davidlohr Bueso
Instead of using the reverse goto, we can simplify the flow and make it more language natural by just doing do-while instead. One would hope this is the standard way (or obviously just with a while bucle) that we do wait/wakeup handling in the kernel. The exact same logic is kept, just more indente

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 use > wr32/rd32 which have a

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

2016-11-09 Thread David Graziano
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 consulting the LSM. >> This is needed so that the security.selin

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

2016-11-09 Thread Charles (Chas) Williams
On 11/09/2016 11:03 AM, Peter Zijlstra wrote: 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

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

2016-11-09 Thread luca abeni
On Tue, 8 Nov 2016 17:56:35 + Juri Lelli wrote: [...] > > > > @@ -947,14 +965,19 @@ static void enqueue_task_dl(struct rq *rq, struct > > > > task_struct *p, int flags) > > > > return; > > > > } > > > > > > > > + if (p->on_rq == TASK_ON_RQ_MIGRATING) > > > > +

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

[PATCH] i.MX: Kconfig: Drop errata 769419 for Vybrid

2016-11-09 Thread Andrey Smirnov
According to the datasheet, VF610 uses revision r3p2 of the L2C-310 block, same as i.MX6Q+, which does not require a software workaround for ARM errata 769419. Signed-off-by: Andrey Smirnov --- arch/arm/mach-imx/Kconfig | 1 - 1 file changed, 1 deletion(-) diff --git a/arch/arm/mach-imx/Kconfig

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 14:38, Mark Brown wrote: > On Tue, Nov 08, 2016 at 05:20:57PM +0100, Peter Rosin wrote: > >> +++ b/sound/soc/axentia/Kconfig >> @@ -0,0 +1,10 @@ >> +config SND_SOC_AXENTIA_TSE850_PCM5142 >> +tristate "ASoC driver for the Axentia TSE-850" >> +depends on ARCH_AT91 && OF >> +

[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, and---sinc

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

2016-11-09 Thread Christoph Hellwig
> +/* > + * Callback for security_inode_init_security() for acquiring xattrs. > + */ > +static int mqueue_initxattrs(struct inode *inode, > + const struct xattr *xattr_array, > + void *fs_info) > +{ > + struct mqueue_inode_info *info = MQUEUE_I(in

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

2016-11-09 Thread liviu.du...@arm.com
On Wed, Nov 09, 2016 at 04:16:17PM +, Gabriele Paoloni wrote: > Hi Liviu > > Thanks for reviewing > [removed some irrelevant part of discussion, avoid crazy formatting] > > > +/** > > > + * addr_is_indirect_io - check whether the input taddr is for > > indirectIO. > > > + * @taddr: the io a

Re: [Drbd-dev] [PATCH] drbd: Fix kernel_sendmsg() usage

2016-11-09 Thread Lars Ellenberg
On Wed, Nov 09, 2016 at 04:47:15PM +0100, Richard Weinberger wrote: > > Should I sent two patches, one that applies to 4.5 and later, > > and one that applies to 2.6.33 ... 4.4, or are you or stable > > willing to resolve the trivial "missing comment block" conflict yourself? > > BTW: Why did you

Re: [PATCH 1/2] mfd: davinci_voicecodec: tidyup header difinitions

2016-11-09 Thread Lee Jones
On Thu, 27 Oct 2016, Kuninori Morimoto wrote: > > From: Kuninori Morimoto Please use `git send-mail` to submit your patches. > mach/hardware.h is needed on C source code side, not header. > And struct davinci_vc is duplicated definition. > > Signed-off-by: Kuninori Morimoto > --- > drivers/

Re: KASAN & the vmalloc area

2016-11-09 Thread Andrey Ryabinin
On 11/08/2016 10:03 PM, Mark Rutland wrote: > Hi, > > I see a while back [1] there was a discussion of what to do about KASAN > and vmapped stacks, but it doesn't look like that was solved, judging by > the vmapped stacks pull [2] for v4.9. > > I wondered whether anyone had looked at that since?

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