[PATCH 03/10] iommu/ipmmu-vmsa: Teach xlate() to skip disabled iommus

2016-03-19 Thread Magnus Damm
From: Magnus Damm Right now the ->xlate() call gets invoked even though the iommu device has status = "disabled" in DT, so make sure we skip over disabled devices. In my mind it would make sense to have this at some shared level, but I guess some users may want to configure the iommu regardless

Re: [REGRESSION] 774ac8b7eff6 ("Thermal: initialize thermal zone device correctly") causes performance drop

2016-03-19 Thread Greg Kroah-Hartman
On Wed, Mar 16, 2016 at 03:27:57PM -0700, Laura Abbott wrote: > Hi, > > Fedora received a bug report > (https://bugzilla.redhat.com/show_bug.cgi?id=1317190) > of a major performance drop on various bench marks and general system > sluggishness with the 4.4.4 kernel update. The benchmarks were sho

Re: Suspicious error for CMA stress test

2016-03-19 Thread Joonsoo Kim
On Wed, Mar 16, 2016 at 05:44:28PM +0800, Hanjun Guo wrote: > On 2016/3/14 15:18, Joonsoo Kim wrote: > > On Mon, Mar 14, 2016 at 08:06:16AM +0100, Vlastimil Babka wrote: > >> On 03/14/2016 07:49 AM, Joonsoo Kim wrote: > >>> On Fri, Mar 11, 2016 at 06:07:40PM +0100, Vlastimil Babka wrote: > On

[PATCH] Bluetooth: purge unhandled skbs

2016-03-19 Thread Jiri Slaby
The write handler allocates skbs and queues them into data->readq. Read side should read them, if there is any. If there is none, skbs should be dropped by hdev->flush. But this happens only if the device is HCI_UP, i.e. hdev->power_on work was triggered already. When it was not, skbs stay allocate

Re: [PATCH] nouveau: fix nv40_perfctr_next() cleanup regression

2016-03-19 Thread Samuel Pitoiset
Reviewed-by: Samuel Pitoiset On 03/14/2016 03:24 PM, Arnd Bergmann wrote: gcc-6 warns about code in the nouveau driver that is obviously silly: drivers/gpu/drm/nouveau/nvkm/engine/pm/nv40.c: In function 'nv40_perfctr_next': drivers/gpu/drm/nouveau/nvkm/engine/pm/nv40.c:62:19: warning: self-com

[PATCH v20 02/23] vfs: Add MAY_CREATE_FILE and MAY_CREATE_DIR permission flags

2016-03-19 Thread Andreas Gruenbacher
Richacls distinguish between creating non-directories and directories. To support that, add an isdir parameter to may_create(). When checking inode_permission() for create permission, pass in an additional MAY_CREATE_FILE or MAY_CREATE_DIR mask flag. Add may_replace() to allow checking for delete

RE: linux-next: build failure after merge of the rdma tree

2016-03-19 Thread Ismail, Mustafa
Faisal is out until 3/18. We will make the changes and send a patch shortly. Thanks Herbert for the pointers. Regards. -Original Message- From: linux-next-ow...@vger.kernel.org [mailto:linux-next-ow...@vger.kernel.org] On Behalf Of Doug Ledford Sent: Wednesday, March 16, 2016 2:03 PM To:

Re: [PATCH 3/5] ARM: davinci: da8xx: add cfgchip2 to resources

2016-03-19 Thread David Lechner
On 03/16/2016 01:22 PM, Sergei Shtylyov wrote: The set_mode() method doesn't have anything to do with the predefined roles. What CFGCHIP2 setting do is to override the ID input (and also the VBUS level comparator). This is not required for the normal functioning of either host or peripheral

Re: [PATCH] gpu/drm: Use u64_to_user_pointer

2016-03-19 Thread kbuild test robot
-u64_to_user_pointer/20160319-012749 base: git://people.freedesktop.org/~airlied/linux.git drm-next config: xtensa-allmodconfig (attached as .config) reproduce: wget https://git.kernel.org/cgit/linux/kernel/git/wfg/lkp-tests.git/plain/sbin/make.cross -O ~/bin/make.cross chmod +x ~/bin

Re: [PATCHv9 1/3] rdmacg: Added rdma cgroup controller

2016-03-19 Thread Tejun Heo
Hello, Parav. Sorry about the delay. On Sat, Mar 12, 2016 at 11:49:03AM +0530, Parav Pandit wrote: > > For (1) shall I have one spin lock that is uses across multiple > > hierarchy and multiple cgroup. > > Essentially one global lock among all cgroup. During hierarchical > > charging, continue to

Re: [PATCH v2 1/5] printk/nmi: Generic solution for safe printk in NMI

2016-03-19 Thread Petr Mladek
On Thu 2016-03-17 12:35:27, Andrew Morton wrote: > On Fri, 4 Dec 2015 17:57:44 +0100 Petr Mladek wrote: > > > On Wed 2015-12-02 00:24:49, Jiri Kosina wrote: > > > On Fri, 27 Nov 2015, Petr Mladek wrote: > > > > > > > MN10300 has its own implementation for entering and exiting NMI > > > > handle

[PATCH v10 2/3] kernel.h: add u64_to_user_ptr()

2016-03-19 Thread Gustavo Padovan
From: Gustavo Padovan This function had copies in 3 different files. Unify them in kernel.h. Cc: Joe Perches Cc: Andrew Morton Cc: David Airlie Cc: Daniel Vetter Cc: Rob Clark Signed-off-by: Gustavo Padovan --- drivers/gpu/drm/etnaviv/etnaviv_gem_submit.c | 11 +++ drivers/gpu/drm

[GIT PULL] workqueue changes for v4.6-rc1

2016-03-19 Thread Tejun Heo
Hello, Linus. Three trivial workqueue changes. Thanks. The following changes since commit d6e022f1d207a161cd88e08ef0371554680ffc46: workqueue: handle NUMA_NO_NODE for unbound pool_workqueue lookup (2016-02-10 12:13:05 -0500) are available in the git repository at: git://git.kernel.org/pu

Re: [PATCH 3/5] ARM: davinci: da8xx: add cfgchip2 to resources

2016-03-19 Thread Sergei Shtylyov
On 03/16/2016 07:57 AM, David Lechner wrote: No, this register is shared b/w MUSB and OHCI. The proper thing to do is to write the PHY driver and let it control this shared register. OK. I've started working on this. I am looking at using struct usb_phy, however, enum usb_phy_type only has

Re: [PATCH v2 all 04/14] arc: use of_platform_default_populate() to populate default bus

2016-03-19 Thread Vineet Gupta
On Thursday 17 March 2016 06:58 PM, Rob Herring wrote: >> Perhaps too late - but can't of_platform_default_populate just be a static >> inline >> > calling of_platform_populate in the header rather than exporting yet >> > another symbol ! > The idea is to not export the variable of_default_bus_ma

WARNING: DT compatible string vendor "mips" appears un-documented

2016-03-19 Thread Antony Pavlov
Hi all, checkpatch.pl notes that DT compatible string vendor "mips" appears un-documented. On the one hand there are several users of this vendor string: linux$ git grep \"mips, Documentation/devicetree/bindings/mips/img/xilfpga.txt: - compatible: Must be "mips,m14Kc". Documentatio

Re: USB Sound oops in Linus's latest tree

2016-03-19 Thread Shuah Khan
On Fri, Mar 18, 2016 at 4:26 PM, Greg KH wrote: > Hi, > > I'm getting the following oops with my USB sound device using Linus's > latest tree of the moment, which has the sound tree pull in it. Anyone > seen this before? > Hi Greg, Nicolai Stange sent in a fix for this problem - I can't find th

Re: Nokia N900 - audio TPA6130A2 problems

2016-03-19 Thread Ivaylo Dimitrov
Hi, On 16.03.2016 16:47, Sebastian Reichel wrote: Hi, On Wed, Mar 16, 2016 at 02:33:19PM +0100, Pali Rohár wrote: Hi! We found out that tpa6130a2 device is being initialized before i2c_2 bus is initialized. So that is reason why tpa6130a2 fails... What do you mean by initialize? A call to tp

[PATCH v3 3/3] IB/hns: Add binding document for HiSilicon RoCE driver

2016-03-19 Thread Lijun Ou
This patch adds related DTS binding document for HiSilicon RoCE driver. Signed-off-by: Lijun Ou Signed-off-by: Wei Hu(Xavier) --- .../bindings/infiniband/hisilicon-hns-roce.txt | 107 + 1 file changed, 107 insertions(+) create mode 100644 Documentation/devicetree/bindi

Re: [PATCH 1/1] ACPI / property: fix data node parsing in acpi_get_next_subnode

2016-03-19 Thread Rafael J. Wysocki
On Sunday, March 13, 2016 02:33:30 AM Irina Tirdea wrote: > When an ACPI node has both ACPI device nodes and ACPI data nodes, > acpi_get_next_subnode will return the ACPI data nodes of its last > parsed child. > > Make sure that the acpi device that is parsed is the original acpi > node and not an

Re: [PATCH v4 2/2] power: reset: at91-shdwc: add new shutdown controller driver

2016-03-19 Thread Alexandre Belloni
On 16/03/2016 at 12:36:56 +0100, Nicolas Ferre wrote : > I don't agree with you on the 2 last ones. In Documentation/CodingStyle, > it is said that: > > "Chapter 2: Breaking long lines and strings > [..] > Descendants are always substantially shorter than the parent and > are placed substantially

Re: [PATCH v4 0/7] cpufreq: schedutil governor

2016-03-19 Thread Rafael J. Wysocki
On Wed, Mar 16, 2016 at 4:27 PM, Peter Zijlstra wrote: > > > Could you please start a new thread for each posting? I only > accidentally saw this. I will in the future.

Re: 4.5.0+ panic when setup loop device

2016-03-19 Thread Thomas Gleixner
On Thu, 17 Mar 2016, Peter Zijlstra wrote: > Could you please try? I'm not sure how this would explain your loop > device bug fail, but it certainly pointed towards broken. It definitely does not explain it. The wreckage that topo stuff causes is that it disables a cpu, but that really is not a r

[PATCH v2 2/6] x86/mm/pat: Add pat_disable() interface

2016-03-19 Thread Toshi Kani
In preparation to fix a regression caused by 'commit 9cd25aac1f44 ("x86/mm/pat: Emulate PAT when it is disabled")', PAT needs to provide an interface that disables the OS to initialize PAT MSR. PAT MSR initialization must be done on all CPUs with the specific sequence of operations defined in Inte

Re: [v6, 3/5] dt: move guts devicetree doc out of powerpc directory

2016-03-19 Thread Scott Wood
On 03/17/2016 12:06 PM, Rob Herring wrote: > On Wed, Mar 09, 2016 at 06:08:49PM +0800, Yangbo Lu wrote: >> Move guts devicetree doc to Documentation/devicetree/bindings/soc/fsl/ >> since it's used by not only PowerPC but also ARM. And add a specification >> for 'little-endian' property. >> >> Signe

Re: [PATCH v5 3/5] ARM: at91: pm: configure PMC fast startup signals

2016-03-19 Thread Alexandre Belloni
On 16/03/2016 at 14:58:07 +0800, Wenyou Yang wrote : > The fast startup signal is used as wake up sources for ULP1 mode. > As soon as a fast startup signal is asserted, the embedded 12 MHz > RC oscillator restarts automatically. > > This patch is to configure the fast startup signals, which signal

Re: [PATCH] pinctrl: amd:Add device HID for future AMD GPIO controller

2016-03-19 Thread Linus Walleij
On Wed, Mar 16, 2016 at 6:10 AM, Xue, Ken wrote: >> From: Wang Hongcheng [mailto:annie.w...@amd.com] >> Sent: Friday, March 11, 2016 10:59 AM >> To: Linus Walleij; linux-g...@vger.kernel.org; linux-kernel@vger.kernel.org; >> SPG_Linux_Kernel >> Cc: Wang, Annie >> Subject: [PATCH] pinctrl: amd:Add

[PATCH v4 6/7] usb: pci-quirks: add Intel USB drcfg mux device

2016-03-19 Thread Lu Baolu
In some Intel platforms, a single usb port is shared between USB host and device controllers. The shared port is under control of a switch which is defined in the Intel vendor defined extended capability for xHCI. This patch adds the support to detect and create the platform device for the port mu

Re: [Intel-gfx] [PATCH 2/2] drm/i915: Get rid of intel_dp_dpcd_read_wake()

2016-03-19 Thread Ville Syrjälä
On Thu, Mar 17, 2016 at 11:40:45AM -0400, Lyude wrote: > Since we've fixed up drm_dp_dpcd_read() to allow for retries when things > timeout, there's no use for having this function anymore. Good riddens. > > Signed-off-by: Lyude > --- > drivers/gpu/drm/i915/intel_dp.c | 79 > ---

[PATCH v6 10/17] arm/xen: Get event-channel irq through HVM_PARAM when booting with ACPI

2016-03-19 Thread Shannon Zhao
From: Shannon Zhao When booting with ACPI, it could get the event-channel irq through HVM_PARAM_CALLBACK_IRQ. Signed-off-by: Shannon Zhao Reviewed-by: Stefano Stabellini --- arch/arm/xen/enlighten.c | 36 +++- 1 file changed, 35 insertions(+), 1 deletion(-) di

Re: [PATCH 14/18] gpio: vf610: add support for WKPU unit

2016-03-19 Thread Rob Herring
On Wed, Mar 09, 2016 at 06:16:55PM -0800, Stefan Agner wrote: > WKPU unit support within the VF610 GPIO driver. The WKPU unit allows > some GPIO to be the wakeup source from lowest power modes LPSTOPx. > The relationship between the GPIO banks and the WKPU GPIO numbering > can be derived from the d

Re: [PATCH] usb: xhci: Fix incomplete PM resume operation due to XHCI commmand timeout

2016-03-19 Thread Alan Stern
On Fri, 18 Mar 2016, Rajesh Bhagat wrote: > --- a/drivers/usb/core/hub.c > +++ b/drivers/usb/core/hub.c > @@ -2897,10 +2897,14 @@ done: > /* The xHC may think the device is already reset, >* so ignore the status. >*/ > -

[PATCH v2 11/11] usb: musb: da8xx: Remove mach code

2016-03-19 Thread David Lechner
Use the new phy-da8xx-usb driver to take the place of the mach code that pokes CFGCHIP2 in the da8xx musb glue driver. Signed-off-by: David Lechner --- v2 changes: This is part of a previous patch that was split. This version uses the new phy driver instead of a second clock. It also gets rid of

[PATCH v6 2/6] mfd: cros_ec: Add cros_ec_cmd_xfer_status helper

2016-03-19 Thread Tomeu Vizoso
So that callers of cros_ec_cmd_xfer don't have to repeat boilerplate code when checking for errors from the EC side. Signed-off-by: Tomeu Vizoso Reviewed-by: Benson Leung --- Changes in v6: None Changes in v5: - Check explicitly for !EC_RES_SUCCESS as suggested by Benson Leung. Changes in v4:

Re: [PATCH v4] irqchip/gicv3-its: Don't allow devices whose ID is outside range

2016-03-19 Thread Shanker Donthineni
Hi Marc, Sorry, absolutely It was my mistake sending the same patch second time. On 03/17/2016 10:34 AM, Marc Zyngier wrote: > On 17/03/16 15:18, Shanker Donthineni wrote: >> We are not checking whether the requested device identifier fits into >> the device table memory or not. The function its_

[PATCH v5 4/6] usb: mux: add driver for Intel gpio controlled port mux

2016-03-19 Thread Lu Baolu
In some Intel platforms, a single usb port is shared between USB host and device controller. The shared port is under control of GPIO pins. This patch adds the support for USB GPIO controlled port mux. Signed-off-by: David Cohen Signed-off-by: Lu Baolu Reviewed-by: Heikki Krogerus Reviewed-by:

[PATCH 3.19.y-ckt 37/70] ASoC: wm_adsp: Fix enum ctl accesses in a wrong type

2016-03-19 Thread Kamal Mostafa
v3.19.8-ckt17 -stable review patch. If anyone has any objections, please let me know. ---8< From: Takashi Iwai commit 15c665700bf6f4543f003ac0fbb1e9ec692e93f2 upstream. The firmware ctls like "DSP1 Firmware" in wm_adsp codec driver

Re: [BUG] sched: leaf_cfs_rq_list use after free

2016-03-19 Thread Niklas Cassel
On 03/16/2016 04:22 PM, Peter Zijlstra wrote: > Subject: sched: Fix/cleanup cgroup teardown/init > > The cpu controller hasn't kept up with the various changes in the whole > cgroup initialization / destruction sequence, and commit 2e91fa7f6d45 > ("cgroup: keep zombies associated with their origin

Re: [PATCH 2/2] block: create ioctl to discard-or-zeroout a range of blocks

2016-03-19 Thread Chris Mason
On Tue, Mar 15, 2016 at 05:51:17PM -0700, Chris Mason wrote: > On Tue, Mar 15, 2016 at 07:30:14PM -0500, Eric Sandeen wrote: > > On 3/15/16 7:06 PM, Linus Torvalds wrote: > > > On Tue, Mar 15, 2016 at 4:52 PM, Dave Chinner wrote: > > >> > > > >> > It is pretty clear that the onus is on the patch s

Re: [GIT PULL] f2fs updates for v4.6

2016-03-19 Thread Linus Torvalds
On Thu, Mar 17, 2016 at 7:32 PM, Linus Torvalds wrote: \> > Then later, you add the Makefile and Kconfig rules to start building > the files, but still nothing *uses* it. > > And then, after that, you have one commit that removes the old code, > and switches over to the new code. Oh, and after I

[PATCH] mpt3sas: Don't overreach ioc->reply_post[] during initialization

2016-03-19 Thread Calvin Owens
In _base_make_ioc_operational(), we walk ioc->reply_queue_list and pull a pointer out of successive elements of ioc->reply_post[] for each entry in that list if RDPQ is enabled. Since the code pulls the pointer for the next iteration at the bottom of the loop, it triggers the a KASAN dump on the f

Re: [PATCH] serial: Make SERIAL_MVEBU_UART depend on ARCH_MVEBU

2016-03-19 Thread Gregory CLEMENT
Hi Geert, On ven., mars 18 2016, Geert Uytterhoeven wrote: > Enabling support for the UART on Marvell EBU SoCs only make sense when > compiling for Marvell EBU SoCs, unless compile-testing. > > Signed-off-by: Geert Uytterhoeven Acked-by: Gregory CLEMENT Thanks, Gregory > --- > drivers/t

Re: Nokia N900 - audio TPA6130A2 problems

2016-03-19 Thread Ivaylo Dimitrov
Hi, On 16.03.2016 20:32, Grygorii Strashko wrote: No-no :) take a look on i2c-omap.c r = i2c_add_numbered_adapter(adap); here you see messages from tpa6130a2 (create i2c devices & probe if drivers are ready) if (r) { dev_err(omap->dev, "failure adding ad

Re: [PATCH] drm/fb_cma_helper: Implement fb_mmap callback

2016-03-19 Thread Russell King - ARM Linux
On Wed, Mar 16, 2016 at 04:28:25PM +0100, Daniel Vetter wrote: > On Wed, Mar 16, 2016 at 02:57:49PM +, Robin Murphy wrote: > > In the absence of an fb_mmap callback, the fbdev code falls back to a > > naive implementation which relies upon the DMA address being the same > > as the physical addr

Re: [PATCH 2/3] mm: throttle on IO only when there are too many dirty and writeback pages

2016-03-19 Thread Michal Hocko
On Thu 17-03-16 20:35:23, Tetsuo Handa wrote: [...] > But what I felt strange is what should_reclaim_retry() is doing. > > Michal Hocko wrote: > > diff --git a/mm/page_alloc.c b/mm/page_alloc.c > > index f77e283fb8c6..b2de8c8761ad 100644 > > --- a/mm/page_alloc.c > > +++ b/mm/page_alloc.c > > @@ -

Re: [PATCH v2 1/4] nmi_backtrace: add more trigger_*_cpu_backtrace() methods

2016-03-19 Thread Peter Zijlstra
On Wed, Mar 16, 2016 at 01:02:10PM -0400, Chris Metcalf wrote: > Currently you can only request a backtrace of either all cpus, or > all cpus but yourself. It can also be helpful to request a remote > backtrace of a single cpu, and since we want that, the logical > extension is to support a cpumas

[PATCH] ARC: build: Turn off -Wmaybe-uninitialized for ARC gcc 4.8

2016-03-19 Thread Vineet Gupta
linux-next has been reporting gazillion warnings for ARC build and I finally decided to take a bite: http://kisskb.ellerman.id.au/kisskb/buildresult/12638735/ Most of the them are due to -Wmaybe-uninitialized | ../kernel/sysctl.c: In function '__do_proc_doulongvec_minmax': | ../kernel/sysctl.c:1

Re: [PATCH] MAINTAINERS: pinctrl: samsung: Add two new maintainers

2016-03-19 Thread Tomasz Figa
2016-03-16 22:09 GMT+09:00 Linus Walleij : > On Wed, Mar 16, 2016 at 1:02 AM, Krzysztof Kozlowski > wrote: > >> Extend the list of maintainers for Samsung pinctrl driver with Sylwester >> and Krzysztof. >> >> Cc: Tomasz Figa >> Cc: Kukjin Kim >> Cc: Sylwester Nawrocki >> Cc: Marek Szyprowski >

Re: [PATCH 5/5] pwm: pwm-tiehrpwm: Update dt binding document to use generic node name

2016-03-19 Thread Franklin S Cooper Jr.
On 03/17/2016 02:48 PM, Rob Herring wrote: > On Thu, Mar 17, 2016 at 2:25 PM, Franklin S Cooper Jr. wrote: >> +Sekhar >> >> On 03/17/2016 01:56 PM, Rob Herring wrote: >>> On Thu, Mar 17, 2016 at 1:20 PM, Franklin S Cooper Jr. >>> wrote: On 03/17/2016 01:00 PM, Rob Herring wrote: > On

Re: [Intel-gfx] [PATCH 2/2] drm/i915: Get rid of intel_dp_dpcd_read_wake()

2016-03-19 Thread Daniel Vetter
On Thu, Mar 17, 2016 at 07:56:33PM +0200, Jani Nikula wrote: > On Thu, 17 Mar 2016, Lyude wrote: > > Since we've fixed up drm_dp_dpcd_read() to allow for retries when things > > timeout, there's no use for having this function anymore. Good riddens. > > > > Signed-off-by: Lyude > > --- > > drive

Re: [RFD] workqueue: WQ_MEM_RECLAIM usage in network drivers

2016-03-19 Thread J. Bruce Fields
On Fri, Mar 18, 2016 at 04:46:23PM -0400, Tejun Heo wrote: > Hello, Jeff. > > On Thu, Mar 17, 2016 at 09:32:16PM -0400, Jeff Layton wrote: > > > * Are network devices expected to be able to serve as a part of > > > storage stack which is depended upon for memory reclamation? > > > > I think the

[PATCH 09/10] iommu/ipmmu-vmsa: Allow two bit SL0

2016-03-19 Thread Magnus Damm
From: Magnus Damm Introduce support for two bit SL0 bitfield in IMTTBCR by using a separate feature flag. Signed-off-by: Magnus Damm --- drivers/iommu/ipmmu-vmsa.c | 15 ++- 1 file changed, 14 insertions(+), 1 deletion(-) --- 0025/drivers/iommu/ipmmu-vmsa.c +++ work/drivers/iom

Re: [RFT] iommu/amd: use subsys_initcall() on amdv2 iommu

2016-03-19 Thread Luis R. Rodriguez
On Wed, Mar 16, 2016 at 05:39:00PM +0100, Joerg Roedel wrote: > On Wed, Mar 16, 2016 at 05:17:37PM +0100, Luis R. Rodriguez wrote: > > On Wed, Mar 16, 2016 at 12:16:57PM +0200, Oded Gabbay wrote: > > > In theory it should, but I would prefer that it would be tested on > > > actual hardware. > > >

Re: [PATCH] iwlwifi: dvm: convert create_singlethread_workqueue() to alloc_workqueue()

2016-03-19 Thread t...@kernel.org
Hello, On Thu, Mar 17, 2016 at 12:43:35PM +, Grumbach, Emmanuel wrote: > > > > Use alloc_workqueue() to allocate the workqueue instead of > > create_singlethread_workqueue() since the latter is deprecated and is > > scheduled > > for removal. > > I can't see any indication of that in the cod

Re: [PATCH 14/15] dt-bindings: arm-gic: Drop 'clock-names' from binding document

2016-03-19 Thread Grygorii Strashko
On 03/18/2016 02:05 PM, Geert Uytterhoeven wrote: > Hi Jon, > > On Fri, Mar 18, 2016 at 11:56 AM, Jon Hunter wrote: >> On 18/03/16 10:52, Geert Uytterhoeven wrote: >>> On Fri, Mar 18, 2016 at 11:13 AM, Jon Hunter wrote: On 18/03/16 09:13, Geert Uytterhoeven wrote: > On Thu, Mar 17, 2016

Re: [RFC PATCH v4 4/7] PCI: Modify resource_alignment to support multiple devices

2016-03-19 Thread Yongji Xie
On 2016/3/17 0:30, Alex Williamson wrote: On Mon, 7 Mar 2016 15:48:35 +0800 Yongji Xie wrote: When vfio passthrough a PCI device of which MMIO BARs are smaller than PAGE_SIZE, guest will not handle the mmio accesses to the BARs which leads to mmio emulations in host. This is because vfio wil

Re: [PATCH] qeth: Default to allow promiscuous mode

2016-03-19 Thread Alexander Graf
On 17.03.16 18:52, Evgeny Cherkashin wrote: > Hello all, > > -Alexander Graf wrote: - > >> To: linux-s...@vger.kernel.org >> From: Alexander Graf >> Date: 2016-03-17 20:01 >> Cc: Evgeny Cherkashin/Russia/IBM@IBMRU, linux-kernel@vger.kernel.org, >> Heiko Carstens , Martin Schwidefsky >

Linux 3.18.29

2016-03-19 Thread Sasha Levin
I'm announcing the release of the 3.18.29 kernel. All users of the 3.18 kernel series must upgrade. The updated 3.18.y git tree can be found at: git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable.git linux-3.18.y and can be browsed at the normal kernel.org git web browser:

Re: 4.5.0+ panic when setup loop device

2016-03-19 Thread Jens Axboe
On 03/17/2016 09:42 AM, Jens Axboe wrote: On 03/17/2016 05:01 AM, Thomas Gleixner wrote: On Thu, 17 Mar 2016, Peter Zijlstra wrote: On Thu, Mar 17, 2016 at 12:39:46PM +0100, Thomas Gleixner wrote: But we have to clarify and document whether holes in cpu_possible_mask are not allowed at all or

Re: [PATCH v4 0/5] acpi, clocksource, kvm: add GTDT and ARM memory-mapped timer support

2016-03-19 Thread Timur Tabi
Rafael J. Wysocki wrote: I will have a couple of comments for patch [1/6] (in the v3), but it's not been a priority due to the apparent overall lack of interest in this series. Well, I am very interested in this series, if that counts. :-) -- Sent by an employee of the Qualcomm Innovation Cent

[PATCH] de-stage android sync framework

2016-03-19 Thread Gustavo Padovan
From: Gustavo Padovan Hi, This is the first step and the most important one of the de-stage of the the sync framework, it de-stage the sync_file part which is used to send/receive fence file descriptors with the userspace. These patches sits on top of the sync ABI changes that I sent earlier to

Re: [PATCH 00/12] perf: more fixes

2016-03-19 Thread Borislav Petkov
On Wed, Mar 16, 2016 at 11:59:33PM +0100, Peter Zijlstra wrote: > On Tue, Mar 15, 2016 at 04:38:30PM +0100, Peter Zijlstra wrote: > > > Running perf_fuzzer on that AMD box is still producing lots of fail, I > > seen long strings of dazed and confused msgs, indicating we have a > > 'spurious' NMI p

Re: Re: [PATCH V7] netfilter: h323: avoid potential attack

2016-03-19 Thread Zhouyi Zhou
Thanks Pablo for reviewing > From: "Pablo Neira Ayuso" > Sent Time: Saturday, March 12, 2016 > To: "Zhouyi Zhou" > On Sun, Feb 21, 2016 at 12:03:59AM +0800, Zhouyi Zhou wrote: > > I think hackers chould build a malicious h323 packet to overflow (iph->ihl * 4 + th->doff * 4); > You cannot trust t

Re: Oops from calibrate_delay_is_known on qemu machine with Linux v4.5-1523-g271ecc5253e2

2016-03-19 Thread Thomas Gleixner
Josh, On Thu, 17 Mar 2016, Josh Boyer wrote: > We've had a report [1] of the mainline kernel crashing on a single-cpu > QEMU machine (not kvm) in Fedora. It looks as if the emulated machine > is failing to provide a TSC and the calibrate_delay_is_known function > is passing NULL to cpumask_any_bu

[RESEND PATCH v4 3/5] clocksource: simplify ACPI code in arm_arch_timer.c

2016-03-19 Thread fu . wei
From: Fu Wei The patch update arm_arch_timer driver to use the function provided by the new GTDT driver of ACPI. By this way, arm_arch_timer.c can be simplified, and separate all the ACPI GTDT knowledge from this timer driver. Signed-off-by: Fu Wei Signed-off-by: Hanjun Guo --- drivers/clocks

Re: [PATCH 08/15] genirq: Add runtime power management support for IRQ chips

2016-03-19 Thread Jon Hunter
On 17/03/16 15:02, Thomas Gleixner wrote: > On Thu, 17 Mar 2016, Jon Hunter wrote: >> /** >> * struct irq_chip - hardware interrupt chip descriptor >> * >> + * @parent: pointer to associated device > > That's really a bad name. parent suggests that this is a parent interrupt chip > a

[PATCH 4/4] ext4: use file_dentry()

2016-03-19 Thread Miklos Szeredi
From: Miklos Szeredi EXT4 may be used as lower layer of overlayfs and accessing f_path.dentry can lead to a crash. Fix by replacing direct access of file->f_path.dentry with the file_dentry() accessor, which will always return a native object. Reported-by: Daniel Axtens Fixes: 4bacc9c9234c ("o

Re: [PATCH] md/raid5: Cleanup cpu hotplug notifier

2016-03-19 Thread Shaohua Li
On Wed, Mar 16, 2016 at 09:25:23AM +0100, Anna-Maria Gleixner wrote: > The raid456_cpu_notify() hotplug callback lacks handling of the > CPU_UP_CANCELED case. That means if CPU_UP_PREPARE fails, the scratch > buffer is leaked. > > Add handling for CPU_UP_CANCELED[_FROZEN] hotplug notifier transiti

[GIT PULL] Core block changes for 4.6-rc

2016-03-19 Thread Jens Axboe
Hi Linus, Here are the core block changes for this merge window. Not a lot of exciting stuff going on in this round, most of the changes have been on the driver side of things. That pull request is coming next. This pull request contains: - A set of fixes for chained bio handling from Christoph.

Re: [PATCH 1/5] x86/kvm: On KVM re-enable (e.g. after suspend), update clocks

2016-03-19 Thread Radim Krcmar
2016-03-16 16:07-0700, Andy Lutomirski: > On Wed, Mar 16, 2016 at 3:59 PM, Radim Krcmar wrote: >> 2016-03-16 15:15-0700, Andy Lutomirski: >>> FWIW, if you ever intend to support ART ("always running timer") >>> passthrough, this is going to be a giant clusterfsck. Good luck. I >>> haven't gotten

[PATCH 0/2] auxdisplay: Introduce driver for ht16k33 LED controller

2016-03-19 Thread Robin van der Gracht
This patch series adds a driver for the ht16k33 LED controller and a new vendor prefix for Holtek Semiconductor Inc. Robin van der Gracht (2): of: add vendor prefix for Holtek Semiconductor auxdisplay: ht16k33: Driver for LED controller .../devicetree/bindings/display/ht16k33.txt| 4

[PATCH v4 04/14] i2c-octeon: Support I2C_M_RECV_LEN

2016-03-19 Thread Jan Glauber
From: David Daney If I2C_M_RECV_LEN is set consider the length byte. Signed-off-by: David Daney Signed-off-by: Jan Glauber --- drivers/i2c/busses/i2c-octeon.c | 22 +- 1 file changed, 17 insertions(+), 5 deletions(-) diff --git a/drivers/i2c/busses/i2c-octeon.c b/drivers/

Re: [PATCH 1/1] scsi: storvsc: Support manual scan of FC hosts on Hyper-V

2016-03-19 Thread James Bottomley
On Wed, 2016-03-16 at 18:34 -0400, Martin K. Petersen wrote: > > > > > > "KY" == KY Srinivasan writes: > > KY> How would I get the sysfs files under fc_host if I don't use the > FC > KY> transport. The customer scripts expect these sysfs files. > > Right, but I was interested in finding out why

Re: [PATCH v8 08/10] tpm: Proxy driver for supporting multiple emulated TPMs

2016-03-19 Thread Jarkko Sakkinen
On Thu, Mar 17, 2016 at 01:45:20PM -0400, Stefan Berger wrote: > On 03/16/2016 04:42 PM, Jarkko Sakkinen wrote: > >On Sun, Mar 13, 2016 at 06:54:38PM -0400, Stefan Berger wrote: > >>+ > >>+/* above flags */ > >>+#define VTPM_PROXY_FLAG_TPM2 1 /* emulator is TPM 2 */ > >>+ > >>+/* all supported fl

Re: [PATCH 1/4] gpio: Add AXP209 GPIO driver

2016-03-19 Thread Rob Herring
On Wed, Mar 09, 2016 at 11:50:11AM +0100, Maxime Ripard wrote: > The AXP209 PMIC has a bunch of GPIOs accessible, that are usually used to > control LEDs or backlight. > > Add a driver for them > > Signed-off-by: Maxime Ripard > --- > .../devicetree/bindings/gpio/gpio-axp209.txt | 30 +++

[PATCH 3.19.y-ckt 01/70] [stable-only] AIO: properly check iovec sizes

2016-03-19 Thread Kamal Mostafa
v3.19.8-ckt17 -stable review patch. If anyone has any objections, please let me know. ---8< From: Greg Kroah-Hartman In Linus's tree, the iovec code has been reworked massively, but in older kernels the AIO layer should be checking t

[PATCH v2] xen/events: Mask a moving irq

2016-03-19 Thread Boris Ostrovsky
Moving an unmasked irq may result in irq handler being invoked on both source and target CPUs. With 2-level this can happen as follows: On source CPU: evtchn_2l_handle_events() -> generic_handle_irq() -> handle_edge_irq() -> eoi_pirq():

Re: [PATCH v9 2/3] kernel.h: add to_user_ptr()

2016-03-19 Thread Joe Perches
On Thu, 2016-03-17 at 14:30 -0300, Gustavo Padovan wrote: > This function had copies in 3 different files. Unify them in > kernel.h. This is only used by gpu/drm. I think this is a poor name for a generic function that would be in kernel.h. Isn't there an include file in linux/drm that's appropr

Re: Page migration issue with UBIFS

2016-03-19 Thread Richard Weinberger
Am 17.03.2016 um 08:11 schrieb Joonsoo Kim: >> It is still not clear why UBIFS has to provide a >migratepage() and what the >> expected semantics >> are. >> What we know so far is that the fall back migration function is broken. I'm >> sure not only on UBIFS. >> >> Can CMA folks please clarify? :

Re: [PATCH] Revert "arm64: Increase the max granular size"

2016-03-19 Thread Will Deacon
On Wed, Mar 16, 2016 at 02:03:35PM +, Mark Rutland wrote: > If I understand correctly, the main reason that we need this for correctness > is > non-coherent DMA to/from SLAB caches. > > A more general approach (and more invasive, but perhaps less so than making > ARCH_DMA_MINALIGN usage compl

Re: [PATCH] tools lib api: respect CROSS_COMPILE for the linker

2016-03-19 Thread Arnaldo Carvalho de Melo
Em Thu, Mar 17, 2016 at 06:27:50PM +0100, Lucas Stach escreveu: > This fixes cross compilation of libapi. Humm, I guess that tools/lib/subcmd/Makefile has the same problem? And there are also other cases where LD is not being set with CROSS_COMPILE, Jiri, is there something else at play here? /me

Re: [PATCH 5/8] sched/cpufreq: pass sched class into cpufreq_update_util

2016-03-19 Thread Peter Zijlstra
On Wed, Mar 16, 2016 at 01:39:10PM +0100, Rafael J. Wysocki wrote: > On Wed, Mar 16, 2016 at 9:53 AM, Peter Zijlstra wrote: > > On Wed, Mar 16, 2016 at 09:29:59AM +0100, Vincent Guittot wrote: > >> I wonder if it's really worth passing per sched_class request to > >> sched_util ? sched_util is abo

Re: [PATCH] cpufreq: Do not schedule policy update work in cpufreq_resume()

2016-03-19 Thread Viresh Kumar
On 16-03-16, 13:29, Rafael J. Wysocki wrote: > On Wed, Mar 16, 2016 at 5:52 AM, Viresh Kumar wrote: > > Not just that. We wouldn't call syscore-ops for the boot-cpu. It never went > > away. > > Yes, we would. > > We actually call syscore ops *only* on that CPU. Ahh, I thought you are talking ab

Re: [PATCH v4 7/7] cpufreq: schedutil: New governor based on scheduler utilization data

2016-03-19 Thread Rafael J. Wysocki
On Wednesday, March 16, 2016 06:36:46 PM Peter Zijlstra wrote: > On Wed, Mar 16, 2016 at 03:59:18PM +0100, Rafael J. Wysocki wrote: > > + if ((s64)delta_ns > NSEC_PER_SEC / HZ) > > That's TICK_NSEC OK (I didn't know we had a separate symbol for that)

[PATCH 3.19.y-ckt 38/70] USB: serial: option: add support for Telit LE922 PID 0x1045

2016-03-19 Thread Kamal Mostafa
v3.19.8-ckt17 -stable review patch. If anyone has any objections, please let me know. ---8< From: Daniele Palmas commit 5deef5551c77e488922cc4bf4bc76df63be650d0 upstream. This patch adds support for 0x1045 PID of Telit LE922. Signe

intel_pstate oopses and lockdep report with Linux v4.5-1822-g63e30271b04c

2016-03-19 Thread Josh Boyer
Hello, I have an Intel Atom based NUC that is producing the following backtraces on boot of Linus' tree as of last evening. This does not happen with a tree with top level commit 271ecc5253e2, but does happen when using the tree mentioned in the subject with top level commit 63e30271b04c. The fi

[PATCH 3.19.y-ckt 45/70] PM / sleep / x86: Fix crash on graph trace through x86 suspend

2016-03-19 Thread Kamal Mostafa
v3.19.8-ckt17 -stable review patch. If anyone has any objections, please let me know. ---8< From: Todd E Brandt commit 92f9e179a702a6adbc11e2fedc76ecd6ffc9e3f7 upstream. Pause/unpause graph tracing around do_suspend_lowlevel as it h

Re: arch/x86/um/user-offsets.c:8:24: fatal error: asm/ptrace.h: No such file or directory

2016-03-19 Thread Philip Li
On Fri, Mar 18, 2016 at 12:22:25PM +0900, Krzysztof Kozlowski wrote: > On 18.03.2016 12:19, Philip Li wrote: > > On Mon, Mar 14, 2016 at 09:53:06AM +0900, Krzysztof Kozlowski wrote: > >> On Sun, Mar 13, 2016 at 7:45 AM, kbuild test robot > >> wrote: > >>> Hi Al, > >>> > >>> FYI, the error/warning

Re: [PATCH 1/3] infiniband: IB/hns: add Hisilicon RoCE support

2016-03-19 Thread oulijun
On 2016/3/17 14:43, Leon Romanovsky wrote: > On Wed, Mar 16, 2016 at 11:36:38AM +0100, Jiri Pirko wrote: >>> so, I continue to have it. >> >> I will continue to bash on your odd codingstyle. Please fix it! > > Jiri, > > Checkpatch errors is an easiest issue with this patch. > > It is full of fun

[PATCH v4] irqchip/gicv3-its: Don't allow devices whose ID is outside range

2016-03-19 Thread Shanker Donthineni
We are not checking whether the requested device identifier fits into the device table memory or not. The function its_create_device() assumes that enough memory has been allocated for whole DevID space (reported by ITS_TYPER.Devbits) during the ITS probe() and continues to initialize ITS hardware.

[PATCH 3/3] dma-mapping: move swiotlb dma-phys functions to common header

2016-03-19 Thread Sinan Kaya
Moving the default implementation of swiotlb_dma_to_phys and swiotlb_phys_to_dma functions to dma-mapping.h so that we can get rid of the duplicate code in multiple ARCH. Signed-off-by: Sinan Kaya --- arch/arm64/include/asm/dma-mapping.h | 14 -- arch/ia64/include/asm/d

Re: [PATCH 1/2] mm/vmap: Add a notifier for when we run out of vmap address space

2016-03-19 Thread Chris Wilson
On Thu, Mar 17, 2016 at 01:37:06PM +0100, Roman Peniaev wrote: > > + freed = 0; > > + blocking_notifier_call_chain(&vmap_notify_list, 0, &freed); > > It seems to me that alloc_vmap_area() was designed not to sleep, > at least on GFP_NOWAIT path (__GFP_DIRECT_RECLAIM is not set). > > B

Re: [RFC PATCH 1/2] percpu_counter: Allow falling back to global counter on large system

2016-03-19 Thread Christoph Lameter
On Wed, 16 Mar 2016, Waiman Long wrote: > > If the cpumask is empty you can use the global count. Otherwise you just > > need to add up the counters of the cpus set in the cpumask. > > > > I have modified the patch to try that out. However, that doesn't yield that > much of improvement in term of

Re: [PATCH] Input: synaptics - handle spurious release of trackstick buttons, again

2016-03-19 Thread Dmitry Torokhov
On Tue, Mar 15, 2016 at 11:18:17AM +0100, Benjamin Tissoires wrote: > Looks like the fimware 8.2 stall has the extra buttons spurious release > bug. > > Link: https://bugzilla.kernel.org/show_bug.cgi?id=114321 > Cc: sta...@vger.kernel.org > Signed-off-by: Benjamin Tissoires Applied, thank you.

Re: [PATCH 0/3] infiniband: IB/hns: Hisilicon RoCE support

2016-03-19 Thread oulijun
On 2016/3/12 18:20, Leon Romanovsky wrote: > On Fri, Mar 11, 2016 at 06:37:08PM +0800, Lijun Ou wrote: > > 1) It is redundant to write "infiniband" and "IB" in one title to mention > relevant subsystem, since it is the same. > > Please take a look on the other submissions here on the list and use

i386 allyesconfig: gfx_v7_0_ring_emit_vm_flush

2016-03-19 Thread Borislav Petkov
Hey Alex, I see this on a 32-bit, allyesconfig build today: drivers/gpu/drm/amd/amdgpu/gfx_v7_0.c: In function ‘gfx_v7_0_ring_emit_vm_flush’: drivers/gpu/drm/amd/amdgpu/gfx_v7_0.c:3631:17: warning: initialization makes integer from pointer without a cast [-Wint-conversion] uint32_t seq = ring

Re: [PATCH] sctp: consolidate local_bh_disable/enable + spin_lock/unlock to _bh variant

2016-03-19 Thread David Miller
From: Nicholas Mc Guire Date: Sun, 13 Mar 2016 11:48:24 +0100 > local_bh_disable() + spin_lock() is equivalent to spin_lock_bh(), same for > the unlock/enable case, so replace the calls by the appropriate wrappers. > > Signed-off-by: Nicholas Mc Guire Applied.

Re: [RFC/RFT PATCH 0/2] mfd: max14577: Allow the driver to be built as a module

2016-03-19 Thread Javier Martinez Canillas
Hello Krzysztof, On 03/16/2016 10:09 PM, Krzysztof Kozlowski wrote: > On 17.03.2016 01:48, Javier Martinez Canillas wrote: >> Hello, >> >> This series is similar to [0] and allows the max14577 PMIC MFD driver to >> be built as a module. Currently the Kconfig symbol for the driver is a >> boolean b

Re: [RFC PATCH v4 7/7] powerpc/powernv/pci-ioda: Add IOMMU_CAP_INTR_REMAP for IODA host bridge

2016-03-19 Thread Yongji Xie
On 2016/3/17 0:32, Alex Williamson wrote: On Mon, 7 Mar 2016 15:48:38 +0800 Yongji Xie wrote: This patch adds IOMMU_CAP_INTR_REMAP for IODA host bridge so that we can mmap MSI-X table in vfio driver. Signed-off-by: Yongji Xie --- arch/powerpc/platforms/powernv/pci-ioda.c | 17 ++

[PATCH v2] PCI: designware: move remaining rc setup code to dw_pcie_setup_rc()

2016-03-19 Thread Jisheng Zhang
dw_pcie_setup_rc(), as its name indicates, setups the RC. But current dw_pcie_host_init() also contains some necessary rc setup code. Another reason: the host may lost power during suspend to ram, the RC need to be re-setup after resume. The rc can't be correctly resumed without the rc setup code

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