Re: [PATCH v2 00/10] Revamp Semtech SX150x driver

2016-10-20 Thread Linus Walleij
On Wed, Oct 19, 2016 at 4:03 PM, Andrey Smirnov wrote: > Hello everyone, > > This is the second version of the patchset originally submitted here: > > http://www.spinics.net/lists/devicetree/msg146176.html I'm sorry about your efforts, and sorry for not having had time to comment earlier, but th

Re: [PATCH 1/4] kconfig: introduce the "imply" keyword

2016-10-20 Thread Edward Cree
On 20/10/16 19:29, Nicolas Pitre wrote: > On Thu, 20 Oct 2016, Edward Cree wrote: >> But the desire is a property of the user, not of the driver. If you're >> willing to add CONFIG_FOO_BAZ to every combination of (driver, subsystem) >> then "imply" becomes unnecessary, doesn't it? > Absolutely. A

Re: [PATCH v4 3/4] x86: Use HWCAP2 to expoose Xeon Phi ring 3 MWAIT

2016-10-20 Thread Thomas Gleixner
On Tue, 18 Oct 2016, Grzegorz Andrejczuk wrote: x86: Use HWCAP2 to expoose Xeon Phi ring 3 MWAIT expoose ? Please proof read your patches before posting. Thanks, tglx

Re: [PATCH v4 2/4] x86/phi: Add enabling of the R3MWAIT during boot

2016-10-20 Thread Thomas Gleixner
On Tue, 18 Oct 2016, Grzegorz Andrejczuk wrote: > +static void probe_xeon_phi_r3mwait(struct cpuinfo_x86 *c) > +{ > + if (phi_r3mwait_disabled) > + return; So you return when the command line option to disable the feature was given. That's not really a good choice if the feature is

Re: [PATCH v4 4/4] x86/phi: Add R3MWAIT to CPU features

2016-10-20 Thread Thomas Gleixner
On Tue, 18 Oct 2016, Grzegorz Andrejczuk wrote: x86/phi: is not a proper subsystem. x86/cpufeature: is what you want here. Thanks, tglx

Re: [PATCH v5 4/4] drm/fence: add out-fences support

2016-10-20 Thread Ville Syrjälä
On Thu, Oct 20, 2016 at 07:34:44PM +0300, Ville Syrjälä wrote: > On Thu, Oct 20, 2016 at 01:55:38PM -0200, Gustavo Padovan wrote: > > 2016-10-20 Ville Syrjälä : > > > > > On Thu, Oct 20, 2016 at 12:50:05PM -0200, Gustavo Padovan wrote: > > > > From: Gustavo Padovan > > > > > > > > Support DRM ou

Re: [PATCH v3] PM / OPP: fix debug/error messages in dev_pm_opp_of_get_sharing_cpus()

2016-10-20 Thread Stephen Boyd
On 10/20, Masahiro Yamada wrote: > These log messages are wrong because _of_get_opp_desc_node() returns > an operating-points-v2 node. > > Commit a6eed752f5fb ("PM / OPP: passing NULL to PTR_ERR()") fixed > static checker warnings, and reworded the messages at the same time > (but the latter was n

Re: [PATCH v9 06/12] vfio_pci: Update vfio_pci to use vfio_info_add_capability()

2016-10-20 Thread Alex Williamson
On Tue, 18 Oct 2016 02:52:06 +0530 Kirti Wankhede wrote: > Update msix_sparse_mmap_cap() to use vfio_info_add_capability() > Update region type capability to use vfio_info_add_capability() > Can't split this commit for MSIx and region_type cap since there is a > common code which need to be updat

Re: [PATCH v9 05/12] vfio: Introduce common function to add capabilities

2016-10-20 Thread Alex Williamson
On Tue, 18 Oct 2016 02:52:05 +0530 Kirti Wankhede wrote: > Vendor driver using mediated device framework should use > vfio_info_add_capability() to add capabilities. > Introduced this function to reduce code duplication in vendor drivers. > > Signed-off-by: Kirti Wankhede > Signed-off-by: Neo J

Re: [PATCH 00/10] mm: adjust get_user_pages* functions to explicitly pass FOLL_* flags

2016-10-20 Thread Michal Hocko
On Wed 19-10-16 10:23:55, Dave Hansen wrote: > On 10/19/2016 10:01 AM, Michal Hocko wrote: > > The question I had earlier was whether this has to be an explicit FOLL > > flag used by g-u-p users or we can just use it internally when mm != > > current->mm > > The reason I chose not to do that was t

Re: [PATCH 4/9] pinctrl: meson: allow gpio to request irq

2016-10-20 Thread Linus Walleij
On Wed, Oct 19, 2016 at 12:08 PM, Jerome Brunet wrote: > Add the ability for gpio to request irq from the gpio interrupt controller > if present. We have to specificaly that the parent interrupt controller is > the gpio interrupt controller because gpio on meson SoCs can't generate > interrupt di

Re: [PATCH v2] proc: fix NULL dereference when reading /proc//auxv

2016-10-20 Thread Michal Hocko
On Thu 20-10-16 19:04:39, Oleg Nesterov wrote: > On 10/20, Leon Yu wrote: > > > > --- a/fs/proc/base.c > > +++ b/fs/proc/base.c > > @@ -1014,6 +1014,9 @@ static ssize_t auxv_read(struct file *file, char > > __user *buf, > > { > > struct mm_struct *mm = file->private_data; > > unsigned int

Re: How to make warn_alloc() reliable?

2016-10-20 Thread Michal Hocko
On Thu 20-10-16 21:07:49, Tetsuo Handa wrote: [...] > By the way, regarding "making the direct reclaim path more deterministic" > part, I wish that we can > > (1) introduce phased watermarks which varies based on stage of reclaim > operation (e.g. watermark_lower()/watermark_higher() which

Re: [PATCH v2 00/10] Revamp Semtech SX150x driver

2016-10-20 Thread Andrey Smirnov
On Thu, Oct 20, 2016 at 12:08 PM, Linus Walleij wrote: > On Wed, Oct 19, 2016 at 4:03 PM, Andrey Smirnov > wrote: > >> Hello everyone, >> >> This is the second version of the patchset originally submitted here: >> >> http://www.spinics.net/lists/devicetree/msg146176.html > > I'm sorry about your

Re: [PATCH v9 10/12] vfio: Add function to get device_api string from vfio_device_info.flags

2016-10-20 Thread Alex Williamson
On Tue, 18 Oct 2016 02:52:10 +0530 Kirti Wankhede wrote: > Function vfio_device_api_string() returns string based on flag set in > vfio_device_info's flag. This should be used by vendor driver to get string > based on flag for device_api attribute. > > Signed-off-by: Kirti Wankhede > Signed-off

Re: [PATCH V3 0/3] Add support for session ID user filtering

2016-10-20 Thread Paul Moore
On Thursday, August 18, 2016 01:43:12 PM Richard Guy Briggs wrote: > https://github.com/linux-audit/audit-kernel/wiki/RFE-Session-ID-User-Filter > RFE Session ID User Filter > > https://github.com/linux-audit/audit-kernel/issues/4 > RFE: add a session ID filter to the kernel's user filter > > See

[PATCH][TRIVIAL] crypto: ccp - fix typo "CPP"

2016-10-20 Thread Paul Bolle
The abbreviation for Cryptographic Coprocessor is "CCP". Signed-off-by: Paul Bolle --- include/linux/ccp.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/include/linux/ccp.h b/include/linux/ccp.h index a7653339fedb..c71dd8fa5764 100644 --- a/include/linux/ccp.h +++ b/i

Re: 4.9-rc1 boot regression, ambiguous bisect result

2016-10-20 Thread Dan Williams
On Thu, Oct 20, 2016 at 8:22 AM, Dan Williams wrote: > On Thu, Oct 20, 2016 at 5:29 AM, Matt Fleming > wrote: >> On Wed, 19 Oct, at 09:04:29PM, Dan Williams wrote: >>> Hi, >>> >>> I am currently unable to boot a Yoga 900 with latest mainline, but 4.8 >>> boots. >>> >>> The symptom is a reboot b

Re: [PATCH 2/3] ARM: bus: da8xx-syscfg: new driver

2016-10-20 Thread Kevin Hilman
Hi Laurent, Laurent Pinchart writes: > On Thursday 20 Oct 2016 09:57:51 Kevin Hilman wrote: >> Laurent Pinchart writes: >> > On Wednesday 19 Oct 2016 10:26:57 Bartosz Golaszewski wrote: >> >> 2016-10-18 22:49 GMT+02:00 Laurent Pinchart: >> >>> On Monday 17 Oct 2016 18:30:49 Bartosz Golaszewski

Re: [PATCH v3] x86/tsc: add X86_FEATURE_TSC_KNOWN_FREQ flag

2016-10-20 Thread Thomas Gleixner
On Thu, 20 Oct 2016, Peter Zijlstra wrote: > On Thu, Oct 20, 2016 at 11:57:03AM +0200, Thomas Gleixner wrote: > > On Thu, 13 Oct 2016, Bin Gao wrote: > > > @@ -702,6 +702,15 @@ unsigned long native_calibrate_tsc(void) > > > } > > > } > > > > > > + setup_force_cpu_cap(X86_FEATURE_TSC_K

Re: [PATCH] acpi/apei: Fix in-correct return value

2016-10-20 Thread Baicar, Tyler
On 10/18/2016 10:07 AM, Punit Agrawal wrote: Although ghes_proc tests for error while reading the error status, it always return success (0). Fix this by propagating the return value. Fixes: d334a49113a4a33 ("ACPI, APEI, Generic Hardware Error Source memory error support") Signed-of-by: Punit A

Re: [PATCH 3/4] arm64: dts: msm8996: Add SMEM DT nodes

2016-10-20 Thread Bjorn Andersson
On Thu 20 Oct 11:56 PDT 2016, Sarangdhar Joshi wrote: > From: Bjorn Andersson > > Add SMEM and TCSR DT nodes on MSM8996. > > Signed-off-by: Bjorn Andersson > Signed-off-by: Sarangdhar Joshi > --- > arch/arm64/boot/dts/qcom/msm8996.dtsi | 19 +++ > 1 file changed, 19 insertion

Re: [PATCH 2/4] arm64: dts: msm8996: Add reserve-memory nodes

2016-10-20 Thread Bjorn Andersson
On Thu 20 Oct 11:56 PDT 2016, Sarangdhar Joshi wrote: > Add reserve-memory nodes required for Qualcomm > Peripheral Image Loaders > Awesome stuff, Acked-by: Bjorn Andersson Regards, Bjorn > Signed-off-by: Sarangdhar Joshi > --- > arch/arm64/boot/dts/qcom/msm8996.dtsi | 25 +

Re: [PATCH 1/4] arm64: dts: msm8996: Add SMEM reserve-memory node

2016-10-20 Thread Bjorn Andersson
On Thu 20 Oct 11:56 PDT 2016, Sarangdhar Joshi wrote: > Add DT node to carveout memory for shared memory region. > Reviewed-by: Bjorn Andersson Regards, Bjorn > Signed-off-by: Sarangdhar Joshi > --- > arch/arm64/boot/dts/qcom/msm8996.dtsi | 11 +++ > 1 file changed, 11 insertions(+)

[PATCH] [linux-next] Doc: cciss: Fix a typo in cciss.txt

2016-10-20 Thread Masanari Iida
This patch fix a spelling typo in cciss.txt Signed-off-by: Masanari Iida --- Documentation/blockdev/cciss.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Documentation/blockdev/cciss.txt b/Documentation/blockdev/cciss.txt index b79d0a13e7cd..3a5477cc456e 100644 --- a/Docu

[PATCH 0/4] Input: goodix - Support dynamic reconfiguration

2016-10-20 Thread Franklin S Cooper Jr
Goodix touchscreen controller supports the ability to update its settings at runtime. Currently, the driver supports this by loading a firmware and reconfiguring the panel. However, this may lead to a large quantity of firmwares being created and managed. This is a hassle since likely a preexisting

[PATCH 1/4] Input: goodix - Restructure cfg checksum function

2016-10-20 Thread Franklin S Cooper Jr
Split generation of checksum into is own function. Currently it is used only to determine if the checksum for the user provided configuration file is valid or not. However, support to dynamically alter the configuration file will be supported and needs a way to calculate the updated file's checksum

[PATCH 2/4] Input: goodix - Allow tweaking of configuration file dynamically

2016-10-20 Thread Franklin S Cooper Jr
Some goodix touchscreen controllers don't have the correct configuration firmware for the display panel it is attached to. Therefore, settings such as touchscreen x and y size may need to be passed in via DT and have the panel reprogrammed for the updated touchscreen resolution. This patchset adds

[PATCH 4/4] Input: goodix - Support interchanging x and y coordinates in hardware

2016-10-20 Thread Franklin S Cooper Jr
On systems with a fixed display/touchscreen orientation it is important to pass in the "correct" x and y coordinates based on the orientation. Currently, to support landscape and portrait touchscreen-swapped-x-y simply does the following: Assuming touchscreen is as follows: X: 1280 Y:800 programme

Re: [PATCH V3 1/3] ACPI, PCI IRQ: add PCI_USING penalty for ISA interrupts

2016-10-20 Thread Sinan Kaya
On 10/19/2016 3:44 PM, Bjorn Helgaas wrote: [cut] >> >> Same problem here. This line will be broken after the sci_penalty change. >> >> acpi_isa_irq_penalty[irq] = acpi_irq_get_penalty(irq) + >> (active ? PIRQ_PENALTY_ISA_USED : PIRQ_PENALTY_PCI_USING); > > I thi

[PATCH 3/4] Input: goodix - Tweak configuration to use passed in touchscreen resolution

2016-10-20 Thread Franklin S Cooper Jr
Some goodix touchscreen controllers aren't programed properly to match the display panel it is used on. Although the defaults may largely work it is also likely that the screen resolution will be incorrect. Therefore, add support to allow via DT for the touchscreen resolution to be set and reprogra

Re: [PATCH 4/4] arm64: dts: msm8996: Add SMP2P and APCS nodes

2016-10-20 Thread Bjorn Andersson
On Thu 20 Oct 11:56 PDT 2016, Sarangdhar Joshi wrote: > Add SMP2P and APCS DT nodes required for Qualcomm ADSP > Peripheral Image Loader. > Nice, two (very) small nits below. But other than that Acked-by: Bjorn Andersson Regards, Bjorn > Signed-off-by: Sarangdhar Joshi > --- > arch/arm64/b

[tip:timers/urgent] Revert "clocksource/drivers/timer_sun5i: Replace code by clocksource_mmio_init"

2016-10-20 Thread tip-bot for Chen-Yu Tsai
Commit-ID: 593876838826914a7e4e05fbbcb728be6fbc4d89 Gitweb: http://git.kernel.org/tip/593876838826914a7e4e05fbbcb728be6fbc4d89 Author: Chen-Yu Tsai AuthorDate: Tue, 18 Oct 2016 13:49:18 +0800 Committer: Thomas Gleixner CommitDate: Thu, 20 Oct 2016 21:58:58 +0200 Revert "clocksource/dri

[PATCH v2] debugfs: improve DEFINE_DEBUGFS_ATTRIBUTE for !CONFIG_DEBUG_FS

2016-10-20 Thread Nicolai Stange
FS typo in changelog.] Signed-off-by: Nicolai Stange --- Compile-tested on top of next-20161020 with gcc-4.9.0 and gcc-6.2.1, CONFIG_INTEL_PMC_CORE=y and both, CONFIG_DEBUG_FS=n and CONFIG_DEBUG_FS=y. I verified that there isn't anything in the intel_pmc_core.o that shouldn'tbe t

Re: [PATCH 1/4] kconfig: introduce the "imply" keyword

2016-10-20 Thread Nicolas Pitre
On Thu, 20 Oct 2016, Edward Cree wrote: > On 20/10/16 19:29, Nicolas Pitre wrote: > > On Thu, 20 Oct 2016, Edward Cree wrote: > >> But the desire is a property of the user, not of the driver. If you're > >> willing to add CONFIG_FOO_BAZ to every combination of (driver, subsystem) > >> then "imply

Re: console issue since 3.6, console=ttyS1 hangs

2016-10-20 Thread Sean Young
On Wed, Oct 19, 2016 at 05:13:41PM -0500, Nathan Zimmer wrote: > On 10/19/2016 04:07 AM, Sean Young wrote: > >So with 3.6.0: > > > >>[2.079980] Serial: 8250/16550 driver, 8 ports, IRQ sharing disabled > >>[2.100887] serial8250: ttyS1 at I/O 0x2f8 (irq = 3) is a 16550A > >>[2.101715] ser

Re: [PATCH v5 3/4] drm/fence: add fence timeline to drm_crtc

2016-10-20 Thread Gustavo Padovan
2016-10-20 Brian Starkey : > Hi Gustavo, > > On Thu, Oct 20, 2016 at 12:50:04PM -0200, Gustavo Padovan wrote: > > From: Gustavo Padovan > > > > Create one timeline context for each CRTC to be able to handle out-fences > > and signal them. It adds a few members to struct drm_crtc: fence_context,

Re: [PATCH] Revert "clocksource/drivers/timer_sun5i: Replace code by clocksource_mmio_init"

2016-10-20 Thread Thomas Gleixner
On Tue, 18 Oct 2016, Chen-Yu Tsai wrote: > Revert the commit for now. clocksource_mmio_init can be made to pass back > a pointer, but the code churn and usage of an inner struct might not be > worth it. You can avoid the churn by making clocksurce_mmio_init() a wrapper around a new function, which

[PATCH] net: l2tp_eth: fix max_mtu

2016-10-20 Thread Asbjoern Sloth Toennesen
Fixes: 61e84623ace3 ("net: centralize net_device min/max MTU checking") CC: net...@vger.kernel.org CC: Jarod Wilson Signed-off-by: Asbjoern Sloth Toennesen --- net/l2tp/l2tp_eth.c | 1 + 1 file changed, 1 insertion(+) diff --git a/net/l2tp/l2tp_eth.c b/net/l2tp/l2tp_eth.c index 965f7e3..ba82dcc

Re: [PATCH 2/3] z3fold: remove redundant locking

2016-10-20 Thread Dan Streetman
On Wed, Oct 19, 2016 at 12:35 PM, Vitaly Wool wrote: > The per-pool z3fold spinlock should generally be taken only when > a non-atomic pool variable is modified. There's no need to take it > to map/unmap an object. This patch introduces per-page lock that > will be used instead to protect per-page

Re: [PATCH 1/3] z3fold: make counters atomic

2016-10-20 Thread Dan Streetman
On Wed, Oct 19, 2016 at 12:35 PM, Vitaly Wool wrote: > This patch converts pages_nr per-pool counter to atomic64_t. > It also introduces a new counter, unbuddied_nr, which is > atomic64_t, too, to track the number of unbuddied (compactable) > z3fold pages. > > Signed-off-by: Vitaly Wool > --- >

Re: [PATCH v9 04/12] vfio iommu: Add support for mediated devices

2016-10-20 Thread Kirti Wankhede
Alex, Addressing your comments other than invalidation part. On 10/20/2016 2:32 AM, Alex Williamson wrote: > On Tue, 18 Oct 2016 02:52:04 +0530 > Kirti Wankhede wrote: > ... >> Tested by assigning below combinations of devices to a single VM: >> - GPU pass through only >> - vGPU device only >>

Re: [PATCH net-next v2 6/9] net: use core MTU range checking in virt drivers

2016-10-20 Thread Michael S. Tsirkin
On Thu, Oct 20, 2016 at 01:55:21PM -0400, Jarod Wilson wrote: > hyperv_net: > - set min/max_mtu, per Haiyang, after rndis_filter_device_add > > virtio_net: > - set min/max_mtu > - remove virtnet_change_mtu > vmxnet3: > - set min/max_mtu > > xen-netback: > - min_mtu = 0, max_mtu = 65517 > > xen-n

Re: [tpmdd-devel] [PATCH] tpm, tpm_crb: remove redundant CRB_FL_CRB_START flag

2016-10-20 Thread Jason Gunthorpe
On Thu, Oct 20, 2016 at 05:00:11PM +0300, Jarkko Sakkinen wrote: > > > I have a 4th Gen Core NUC where I experienced this issue. It reported > > > requiring only ACPI start but actually required ACPI + CRB start. The > > > comment could have been better. Shouldn't bios work arounds be keyed on so

Oops in rapl_cpu_prepare()

2016-10-20 Thread Charles (Chas) Williams
Recent 4.8 kernels have been oopsing when running under VMWare: [2.270203] BUG: unable to handle kernel NULL pointer dereference at 0408 [2.270325] IP: [] rapl_cpu_online+0x59/0x70 [2.270448] PGD 0 [2.270570] Oops: 0002 [#1] SMP [2.270693] Modules linked in: [

Re: [PATCH v5 4/4] drm/fence: add out-fences support

2016-10-20 Thread Gustavo Padovan
Hi Brian, 2016-10-20 Brian Starkey : > Hi Gustavo, > > I notice your branch has the sync_file refcount change in, but this > doesn't seem to take account for that. Will you be dropping that > change to match the semantics of fence_array? I will drop the fence_get() in the out-fence patch becaus

Re: [PATCH v9 10/12] vfio: Add function to get device_api string from vfio_device_info.flags

2016-10-20 Thread Kirti Wankhede
On 10/21/2016 1:04 AM, Alex Williamson wrote: > On Tue, 18 Oct 2016 02:52:10 +0530 > Kirti Wankhede wrote: > >> Function vfio_device_api_string() returns string based on flag set in >> vfio_device_info's flag. This should be used by vendor driver to get string >> based on flag for device_api at

[PATCH v3 1/2] timers: Fix usleep_range() in the context of wake_up_process()

2016-10-20 Thread Douglas Anderson
Users of usleep_range() expect that it will _never_ return in less time than the minimum passed parameter. However, nothing in any of the code ensures this. Specifically: usleep_range() => do_usleep_range() => schedule_hrtimeout_range() => schedule_hrtimeout_range_clock() just ends up calling sc

[PATCH v3 2/2] timers: Fix documentation for schedule_timeout() and similar

2016-10-20 Thread Douglas Anderson
The documentatoin for schedule_timeout(), schedule_hrtimeout(), and schedule_hrtimeout_range() all claimed that the routines couldn't possibly return early if the task state was TASK_UNINTERRUPTIBLE. This was simply not true, since anyone calling wake_up_process() would cause those routines to exi

Re: [PATCH] ARM: dt: sun8i-h3: Add sunxi-sid to dts for sun8i-h3

2016-10-20 Thread Maxime Ripard
On Wed, Oct 19, 2016 at 09:40:16AM +0200, LABBE Corentin wrote: > On Wed, Oct 05, 2016 at 12:21:30PM +0200, Jean-Francois Moine wrote: > > On Wed, 5 Oct 2016 11:48:24 +0200 > > Corentin Labbe wrote: > > > > > This patch add support for the sunxi-sid driver to the device tree for > > > sun8i-h3.

RE: [PATCH net-next v2 6/9] net: use core MTU range checking in virt drivers

2016-10-20 Thread Kershner, David A
> -Original Message- > From: Haiyang Zhang [mailto:haiya...@microsoft.com] > Sent: Thursday, October 20, 2016 2:05 PM > To: Jarod Wilson ; linux-kernel@vger.kernel.org > Cc: net...@vger.kernel.org; virtualizat...@lists.linux-foundation.org; KY > Srinivasan ; Michael S. Tsirkin ; > Shrikri

Re: [PATCH 1/1 linux-next] ext4: make online resizing conditional

2016-10-20 Thread Andreas Dilger
On Oct 20, 2016, at 12:37 PM, Fabian Frederick wrote: > > This patch tries to address the following comment in ext4/resize.c > "This could probably be made into a module, because it is not often in use." > > Having ext4 resizing in a module would give a lot of depmod dependency cycles > but we c

Re: [POC/RFC PATCH] overlayfs: fix data inconsistency at copy up

2016-10-20 Thread Vivek Goyal
On Wed, Oct 12, 2016 at 03:33:26PM +0200, Miklos Szeredi wrote: > This is a proof of concept patch to fix the following. > > /ovl is in overlay mount and /ovl/foo exists on the lower layer only. > > rofd = open("/ovl/foo", O_RDONLY); > rwfd = open("/ovl/foo", O_WRONLY); /* this causes copy up *

[ANNOUNCE] 3.18.43-rt46

2016-10-20 Thread Steven Rostedt
Dear RT Folks, I'm pleased to announce the 3.18.43-rt46 stable release. This release is just an update to the new stable 3.18.43 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

[ANNOUNCE] 4.1.34-rt39

2016-10-20 Thread Steven Rostedt
Dear RT Folks, I'm pleased to announce the 4.1.34-rt39 stable release. This release is just an update to the new stable 4.1.34 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

[ANNOUNCE] 4.4.25-rt35

2016-10-20 Thread Steven Rostedt
Dear RT Folks, I'm pleased to announce the 4.4.25-rt35 stable release. This release is just an update to the new stable 4.4.25 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: [kernel-hardening] [PATCH] module: extend 'rodata=off' boot cmdline parameter to module mappings

2016-10-20 Thread Kees Cook
On Wed, Oct 19, 2016 at 11:24 PM, AKASHI Takahiro wrote: > The current "rodata=off" parameter disables read-only kernel mappings > under CONFIG_DEBUG_RODATA: > commit d2aa1acad22f ("mm/init: Add 'rodata=off' boot cmdline parameter > to disable read-only kernel mappings") > > This patch is

Re: [PATCH 0/4] IIO wrapper drivers, dpot-dac and envelope-detector

2016-10-20 Thread Peter Rosin
On 2016-10-20 19:37, Jonathan Cameron wrote: > On 20 October 2016 18:30:19 BST, Jonathan Cameron > wrote: >> On 20 October 2016 13:55:12 BST, Lars-Peter Clausen wrote: >>> On 10/20/2016 11:25 AM, Peter Rosin wrote: Also, is there some agreed-upon way to dig out the maximum value from a

Re: [POC/RFC PATCH] overlayfs: fix data inconsistency at copy up

2016-10-20 Thread Vivek Goyal
On Thu, Oct 20, 2016 at 04:46:30PM -0400, Vivek Goyal wrote: [..] > > +static ssize_t ovl_read_iter(struct kiocb *iocb, struct iov_iter *to) > > +{ > > + struct file *file = iocb->ki_filp; > > + bool isupper = OVL_TYPE_UPPER(ovl_path_type(file->f_path.dentry)); > > + ssize_t ret = -EINVAL; >

Re: [PATCH][TRIVIAL] crypto: ccp - fix typo "CPP"

2016-10-20 Thread Gary R Hook
On 10/20/2016 02:20 PM, Paul Bolle wrote: The abbreviation for Cryptographic Coprocessor is "CCP". Signed-off-by: Paul Bolle Acked-by: Gary R Hook --- include/linux/ccp.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/include/linux/ccp.h b/include/linux/ccp.h in

Re: [PATCH v9 10/12] vfio: Add function to get device_api string from vfio_device_info.flags

2016-10-20 Thread Alex Williamson
On Fri, 21 Oct 2016 01:59:55 +0530 Kirti Wankhede wrote: > On 10/21/2016 1:04 AM, Alex Williamson wrote: > > On Tue, 18 Oct 2016 02:52:10 +0530 > > Kirti Wankhede wrote: > > > >> Function vfio_device_api_string() returns string based on flag set in > >> vfio_device_info's flag. This should be

Re: [PATCH V3 1/3] ACPI, PCI IRQ: add PCI_USING penalty for ISA interrupts

2016-10-20 Thread Rafael J. Wysocki
On Thu, Oct 20, 2016 at 10:01 PM, Sinan Kaya wrote: > On 10/19/2016 3:44 PM, Bjorn Helgaas wrote: [cut] > If we want to move the ISA pieces out of this file, that can be done too. > We can also add support for PNPACPI. I'm not a very big fan of scratch > everything and start from beginning appro

Re: 784d5699eddc ("x86: move exports to actual definitions")

2016-10-20 Thread Gabriel C
On 19.10.2016 15:45, Steven Rostedt wrote: > On Wed, 19 Oct 2016 12:23:25 +0200 > Borislav Petkov wrote: > >> On Wed, Oct 19, 2016 at 02:10:04AM +0200, Adam Borowski wrote: >>> Already being fixed, please take a look at the thread starting at >>> 20161016002205.GA9686@vader; for your convenienc

Re: [PATCH v3 2/2] timers: Fix documentation for schedule_timeout() and similar

2016-10-20 Thread Thomas Gleixner
On Thu, 20 Oct 2016, Douglas Anderson wrote: > +++ b/kernel/time/hrtimer.c > @@ -1742,15 +1742,19 @@ schedule_hrtimeout_range_clock(ktime_t *expires, u64 > delta, > * You can set the task state as follows - > * > * %TASK_UNINTERRUPTIBLE - at least @timeout time is guaranteed to > - * pass be

RE: [PATCH] [linux-next] Doc: cciss: Fix a typo in cciss.txt

2016-10-20 Thread Don Brace
> -Original Message- > From: Masanari Iida [mailto:standby2...@gmail.com] > Sent: Thursday, October 20, 2016 3:00 PM > To: Don Brace; cor...@lwn.net; linux-...@vger.kernel.org; linux- > ker...@vger.kernel.org > Cc: Masanari Iida > Subject: [PATCH] [linux-next] Doc: cciss: Fix a typo in ccis

Re: [PATCH v9 10/12] vfio: Add function to get device_api string from vfio_device_info.flags

2016-10-20 Thread Kirti Wankhede
On 10/21/2016 2:35 AM, Alex Williamson wrote: > On Fri, 21 Oct 2016 01:59:55 +0530 > Kirti Wankhede wrote: > >> On 10/21/2016 1:04 AM, Alex Williamson wrote: >>> On Tue, 18 Oct 2016 02:52:10 +0530 >>> Kirti Wankhede wrote: >>> Function vfio_device_api_string() returns string based on f

Re: [PATCH 1/4] arm64: dts: msm8996: Add SMEM reserve-memory node

2016-10-20 Thread Sarangdhar Joshi
On 10/20/2016 12:57 PM, Bjorn Andersson wrote: On Thu 20 Oct 11:56 PDT 2016, Sarangdhar Joshi wrote: Add DT node to carveout memory for shared memory region. Reviewed-by: Bjorn Andersson Thanks for reviewing. Regards, Bjorn Signed-off-by: Sarangdhar Joshi --- arch/arm64/boot/dts/qc

Re: [PATCH 2/4] arm64: dts: msm8996: Add reserve-memory nodes

2016-10-20 Thread Sarangdhar Joshi
On 10/20/2016 12:57 PM, Bjorn Andersson wrote: On Thu 20 Oct 11:56 PDT 2016, Sarangdhar Joshi wrote: Add reserve-memory nodes required for Qualcomm Peripheral Image Loaders Awesome stuff, Acked-by: Bjorn Andersson Thanks for reviewing. Regards, Bjorn Signed-off-by: Sarangdhar Joshi

Re: [PATCH 3/4] arm64: dts: msm8996: Add SMEM DT nodes

2016-10-20 Thread Sarangdhar Joshi
On 10/20/2016 12:56 PM, Bjorn Andersson wrote: On Thu 20 Oct 11:56 PDT 2016, Sarangdhar Joshi wrote: From: Bjorn Andersson Add SMEM and TCSR DT nodes on MSM8996. Signed-off-by: Bjorn Andersson Signed-off-by: Sarangdhar Joshi --- arch/arm64/boot/dts/qcom/msm8996.dtsi | 19 +

Re: [PATCH] cpufreq: intel_pstate: Set P-state upfront in performance mode

2016-10-20 Thread Rafael J. Wysocki
On Thu, Oct 20, 2016 at 8:22 PM, Srinivas Pandruvada wrote: > On Wed, 2016-10-19 at 02:57 +0200, Rafael J. Wysocki wrote: >> From: Rafael J. Wysocki >> > > [...] > >> + if (policy->policy == CPUFREQ_POLICY_PERFORMANCE) { >> + /* >> + * NOHZ_FULL CPUs need this as the

Re: [PATCH V5 1/2] ACPI: Add support for ResourceSource/IRQ domain mapping

2016-10-20 Thread agustinv
Hey Lorenzo, On 2016-10-20 12:48, Lorenzo Pieralisi wrote: Hi Agustin, On Tue, Oct 18, 2016 at 01:41:48PM -0400, Agustin Vega-Frias wrote: This allows irqchip drivers to associate an ACPI DSDT device to an IRQ domain and provides support for using the ResourceSource in Extended IRQ Resources t

[PATCH v4 2/2] timers: Fix documentation for schedule_timeout() and similar

2016-10-20 Thread Douglas Anderson
The documentatoin for schedule_timeout(), schedule_hrtimeout(), and schedule_hrtimeout_range() all claimed that the routines couldn't possibly return early if the task state was TASK_UNINTERRUPTIBLE. This was simply not true since anyone calling wake_up_process() would cause those routines to exit

[PATCH v4 1/2] timers: Fix usleep_range() in the context of wake_up_process()

2016-10-20 Thread Douglas Anderson
Users of usleep_range() expect that it will _never_ return in less time than the minimum passed parameter. However, nothing in any of the code ensures this. Specifically: usleep_range() => do_usleep_range() => schedule_hrtimeout_range() => schedule_hrtimeout_range_clock() just ends up calling sc

Re: [PATCH 4/4] arm64: dts: msm8996: Add SMP2P and APCS nodes

2016-10-20 Thread Sarangdhar Joshi
On 10/20/2016 01:03 PM, Bjorn Andersson wrote: On Thu 20 Oct 11:56 PDT 2016, Sarangdhar Joshi wrote: Add SMP2P and APCS DT nodes required for Qualcomm ADSP Peripheral Image Loader. Nice, two (very) small nits below. But other than that Acked-by: Bjorn Andersson Regards, Bjorn Signed-off

Re: [PATCH v9 10/12] vfio: Add function to get device_api string from vfio_device_info.flags

2016-10-20 Thread Alex Williamson
On Fri, 21 Oct 2016 02:44:37 +0530 Kirti Wankhede wrote: > On 10/21/2016 2:35 AM, Alex Williamson wrote: > > On Fri, 21 Oct 2016 01:59:55 +0530 > > Kirti Wankhede wrote: > > > >> On 10/21/2016 1:04 AM, Alex Williamson wrote: > >>> On Tue, 18 Oct 2016 02:52:10 +0530 > >>> Kirti Wankhede wro

Re: [PATCH V5 1/2] ACPI: Add support for ResourceSource/IRQ domain mapping

2016-10-20 Thread agustinv
Hey Marc, On 2016-10-20 13:51, Marc Zyngier wrote: On 20/10/16 17:48, Lorenzo Pieralisi wrote: Hi Agustin, On Tue, Oct 18, 2016 at 01:41:48PM -0400, Agustin Vega-Frias wrote: This allows irqchip drivers to associate an ACPI DSDT device to an IRQ domain and provides support for using the Resou

Re: [PATCH V3 1/3] ACPI, PCI IRQ: add PCI_USING penalty for ISA interrupts

2016-10-20 Thread Sinan Kaya
On 10/20/2016 2:08 PM, Rafael J. Wysocki wrote: > On Thu, Oct 20, 2016 at 10:01 PM, Sinan Kaya wrote: >> On 10/19/2016 3:44 PM, Bjorn Helgaas wrote: > > [cut] > >> If we want to move the ISA pieces out of this file, that can be done too. >> We can also add support for PNPACPI. I'm not a very big

Re: [PATCH 0/4] IIO wrapper drivers, dpot-dac and envelope-detector

2016-10-20 Thread Peter Rosin
On 2016-10-20 14:55, Lars-Peter Clausen wrote: > On 10/20/2016 11:25 AM, Peter Rosin wrote: >> Also, is there some agreed-upon way to dig out the maximum value from >> an iio channel? If so, "dpot-dac,max-ohms" can be eliminated from the >> dt bindings, which would have been nice... > > Yes, this

Re: [PATCH v3 1/2] timers: Fix usleep_range() in the context of wake_up_process()

2016-10-20 Thread Thomas Gleixner
On Thu, 20 Oct 2016, Douglas Anderson wrote: > - An effort was made to look for users relying on the old behavior by > looking for usleep_range() in the same file as wake_up_process(). > No problems was found by this search, though it is conceivable that > someone could have put the sleep and

Re: [PATCH v4 1/2] timers: Fix usleep_range() in the context of wake_up_process()

2016-10-20 Thread Thomas Gleixner
On Thu, 20 Oct 2016, Douglas Anderson wrote: Please wait for a full review and do not send out patches 5 seconds after the first mail hits your inbox. Thanks, tglx

[4.9-rc1, selinux/audit/netlink, regression?] Warning at kernel/softirq.c:161

2016-10-20 Thread Dave Chinner
Hi folks, A test vm was sitting idle overnight, and just after midnight it threw this warning: [ cut here ] WARNING: CPU: 3 PID: 14397 at kernel/softirq.c:161 __local_bh_enable_ip+0x76/0xa0 Modules linked in: CPU: 3 PID: 14397 Comm: pmlogger Not tainted 4.9.0-rc1-dgc+

Re: [PATCH] net: l2tp_eth: fix max_mtu

2016-10-20 Thread Asbjoern Sloth Toennesen
On Thu, 20 Oct 2016 20:08:26 + (UTC), a...@asbjorn.biz wrote: > diff --git a/net/l2tp/l2tp_eth.c b/net/l2tp/l2tp_eth.c > index 965f7e3..ba82dcc 100644 > --- a/net/l2tp/l2tp_eth.c > +++ b/net/l2tp/l2tp_eth.c > @@ -259,6 +259,7 @@ static int l2tp_eth_create(struct net *net, u32 > tunnel_id, u32

Re: [PATCH V4 1/3] ACPI, PCI, IRQ: assign ISA IRQ directly during early boot stages

2016-10-20 Thread Rafael J. Wysocki
On Thu, Oct 20, 2016 at 12:21 AM, Sinan Kaya wrote: > The penalty determination of ISA IRQ goes through 4 paths. > 1. assign PCI_USING during power up via acpi_irq_penalty_init. > 2. update the penalty with acpi_penalize_isa_irq function based on the > active parameter. > 3. kernel command line pe

Re: [4.9-rc1, selinux/audit/netlink, regression?] Warning at kernel/softirq.c:161

2016-10-20 Thread Cong Wang
On Thu, Oct 20, 2016 at 2:30 PM, Dave Chinner wrote: > Hi folks, > Hi, > A test vm was sitting idle overnight, and just after midnight it > threw this warning: > > [ cut here ] > WARNING: CPU: 3 PID: 14397 at kernel/softirq.c:161 > __local_bh_enable_ip+0x76/0xa0 > Mod

[PATCH v3 0/3] mtd: s3c2410: add device tree support

2016-10-20 Thread Sergio Prado
This series adds support for configuring Samsung's s3c2410 and compatible flash memory controller via devicetree. Tested on FriendlyARM mini2440, based on s3c2440 SoC. Patch 3 depends on patch 1. Changes since v2: - conditionally assign chip->setup_data_interface to s3c2410_nand_setup_data_int

[PATCH v3 2/3] dt-bindings: mtd: add DT binding for s3c2410 flash controller

2016-10-20 Thread Sergio Prado
Adds the device tree bindings description for Samsung S3C2410 and compatible NAND flash controller. Signed-off-by: Sergio Prado --- .../devicetree/bindings/mtd/samsung-s3c2410.txt| 56 ++ 1 file changed, 56 insertions(+) create mode 100644 Documentation/devicetree/bindin

[PATCH v3 1/3] mtd: s3c2410: make ecc mode configurable via platform data

2016-10-20 Thread Sergio Prado
Removing CONFIG_MTD_NAND_S3C2410_HWECC option and adding a ecc_mode field in the drivers's platform data structure so it can be selectable via platform data. Also setting this field to NAND_ECC_SOFT in all boards using this driver since none of them had CONFIG_MTD_NAND_S3C2410_HWECC enabled. Sign

[PATCH v3 3/3] mtd: s3c2410: parse the device configuration from OF node

2016-10-20 Thread Sergio Prado
Allows configuring Samsung's s3c2410 memory controller using a devicetree. Signed-off-by: Sergio Prado --- drivers/mtd/nand/s3c2410.c | 158 ++--- include/linux/platform_data/mtd-nand-s3c2410.h | 1 + 2 files changed, 143 insertions(+), 16 deletions(-)

[tip:x86/urgent] entry/64: Remove unused ZERO_EXTRA_REGS macro

2016-10-20 Thread tip-bot for Alexander Kuleshov
Commit-ID: b05d20f9a12fb7795b2bd220e7dd56e29e196ba8 Gitweb: http://git.kernel.org/tip/b05d20f9a12fb7795b2bd220e7dd56e29e196ba8 Author: Alexander Kuleshov AuthorDate: Thu, 20 Oct 2016 18:07:04 +0600 Committer: Thomas Gleixner CommitDate: Thu, 20 Oct 2016 23:41:15 +0200 entry/64: Remove

[PATCHv2 0/3] z3fold: background page compaction

2016-10-20 Thread Vitaly Wool
The coming patchset is another take on z3fold page layout optimization problem. The previous solution [1] used shrinker to solve the issue of in-page space fragmentation but after some discussions the decision was made to rewrite background page layout optimization using good old work queues. The

Re: [PATCH 3/4] arm64: dts: msm8996: Add SMEM DT nodes

2016-10-20 Thread Andy Gross
On Thu, Oct 20, 2016 at 02:18:33PM -0700, Sarangdhar Joshi wrote: > On 10/20/2016 12:56 PM, Bjorn Andersson wrote: > >On Thu 20 Oct 11:56 PDT 2016, Sarangdhar Joshi wrote: > > > >>From: Bjorn Andersson > >> > >>Add SMEM and TCSR DT nodes on MSM8996. > >> > >>Signed-off-by: Bjorn Andersson > >>Sig

[PATCHv2 1/3] z3fold: make counters atomic

2016-10-20 Thread Vitaly Wool
This patch converts pages_nr per-pool counter to atomic64_t. It also introduces a new counter, unbuddied_nr, which is atomic64_t, too, to track the number of unbuddied (compactable) z3fold pages. Signed-off-by: Vitaly Wool --- mm/z3fold.c | 33 + 1 file changed, 2

Re: [PATCH 1/4] arm64: dts: msm8996: Add SMEM reserve-memory node

2016-10-20 Thread Andy Gross
On Thu, Oct 20, 2016 at 02:16:41PM -0700, Sarangdhar Joshi wrote: > On 10/20/2016 12:57 PM, Bjorn Andersson wrote: > >On Thu 20 Oct 11:56 PDT 2016, Sarangdhar Joshi wrote: > > > >>Add DT node to carveout memory for shared memory region. > >> > > > >Reviewed-by: Bjorn Andersson > > Thanks for revi

Re: [PATCH] Input: gpio_keys_polled - always use gpiod_get_value_cansleep

2016-10-20 Thread Dmitry Torokhov
On Thu, Oct 20, 2016 at 01:45:19PM +0300, Mika Westerberg wrote: > On Wed, Oct 19, 2016 at 04:41:07PM -0700, Dmitry Torokhov wrote: > > It does not matter if given GPIO may sleep or not when reading state, > > polling is always done in a non-atomic context, so we should always > > be able to simply

Re: [RESEND PATCH v4] clk: x86: Add Atom PMC platform clocks

2016-10-20 Thread Thomas Gleixner
On Mon, 17 Oct 2016, Irina Tirdea wrote: > The patch has already been reviewed by Stephen Boyd [1]. > The only remaining question is the one pointed out by Stephen: > "Will there be problems if this merges through clk tree? If so we > could take the clk driver part and the platform data include par

[PATCHv2 2/3] z3fold: change per-pool spinlock to rwlock

2016-10-20 Thread Vitaly Wool
Mapping/unmapping goes with no actual modifications so it makes sense to only take a read lock in map/unmap functions. This change gives up to 15% performance gain in fio tests. Signed-off-by: Vitaly Wool --- mm/z3fold.c | 44 +++- 1 file changed, 23 inse

[PATCHv2 3/3] z3fold: add compaction worker

2016-10-20 Thread Vitaly Wool
This patch implements compaction worker thread for z3fold. This worker does not free up any pages directly but it allows for a denser placement of compressed objects which results in less actual pages consumed and higher compression ratio therefore. This patch has been checked with the latest Linu

Re: [PATCH 3/4] arm64: dts: msm8996: Add SMEM DT nodes

2016-10-20 Thread Sarangdhar Joshi
On 10/20/2016 02:51 PM, Andy Gross wrote: On Thu, Oct 20, 2016 at 02:18:33PM -0700, Sarangdhar Joshi wrote: On 10/20/2016 12:56 PM, Bjorn Andersson wrote: On Thu 20 Oct 11:56 PDT 2016, Sarangdhar Joshi wrote: From: Bjorn Andersson Add SMEM and TCSR DT nodes on MSM8996. Signed-off-by: Bjorn

[PATCH v6 2/9] x86/topology: Provide topology_num_packages()

2016-10-20 Thread Tim Chen
Returns number of cpu packages discovered. This information is needed to determine the size of the platform and decide if the Intel Turbo Boost Max Technology 3.0 (ITMT) feature should be turned on by default. The ITMT feature is more effective on single socket client like system that uses small

[PATCH v6 1/9] sched: Extend scheduler's asym packing

2016-10-20 Thread Tim Chen
We generalize the scheduler's asym packing to provide an ordering of the cpu beyond just the cpu number. This allows the use of the ASYM_PACKING scheduler machinery to move loads to preferred CPU in a sched domain. The preference is defined with the cpu priority given by arch_asym_cpu_priority(cpu

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