Re: [PATCH 6/6] pwm: imx: Introduce "polarity_supported" flag to PWMv2 driver

2016-10-25 Thread Lukasz Majewski
Hi Boris, > Hi Lukasz, > > On Mon, 24 Oct 2016 23:14:58 +0200 > Lukasz Majewski wrote: > > > Hi Boris, > > > > > On Mon, 24 Oct 2016 17:28:52 +0200 > > > Boris Brezillon wrote: > > > > > > > On Sun, 23 Oct 2016 23:45:46 +0200 > > > > Lukasz Majewski wrote: > > > > > > > > > The need fo

Re: [PATCH 0/6] pwm: imx: Provide atomic operation for IMX PWM driver

2016-10-25 Thread Lukasz Majewski
Hi Stefan, > Hi Lukasz, > > Thanks for your work, great to see this coming along! :-) > > On 2016-10-24 23:26, Lukasz Majewski wrote: > > Hi Boris, > > > >> On Sun, 23 Oct 2016 23:45:40 +0200 > >> Lukasz Majewski wrote: > >> > >> > This patch set brings atomic operation to i.MX's PWMv2 driver.

Re: [PATCH 3/3] clk: keystone: Fix missing iounmap calls in an error handling path

2016-10-25 Thread walter harms
Am 24.10.2016 22:43, schrieb Christophe JAILLET: > Factorize 'iounmap()' calls in the error handling path. > The main goal is to add these calls if 'clk_register_pll()' fails. > > Add an error message if an 'of_iomap' call fails to be consistent. > > Signed-off-by: Christophe JAILLET > --- > U

[GIT PULL] s390 patches for 4.9-rc3

2016-10-25 Thread Martin Schwidefsky
Hi Linus, please pull from the 'for-linus' branch of git://git.kernel.org/pub/scm/linux/kernel/git/s390/linux.git for-linus to receive the following updates: A few more s390 patches for 4.9: - A fix for an overflow in the dasd driver reported by UBSAN - Fix a regression and add hotpl

Re: [PATCH] drm/amd/powerplay: mark symbols static where possible

2016-10-25 Thread Christian König
Am 25.10.2016 um 08:41 schrieb Daniel Vetter: On Mon, Oct 24, 2016 at 10:41:16PM +0200, Arnd Bergmann wrote: On Monday, October 24, 2016 8:07:16 PM CEST Deucher, Alexander wrote: In fact, these functions are only used in the file in which they are declared and don't need a declaration, but can

RE: [PATCH V1] mfd: pv88080: Expand driver for GPIO function support.

2016-10-25 Thread Eric Hyeung Dong Jeong
On Tuesday, October 25, 2016 3:41 PM, Lee Jones wrote: > On Tue, 25 Oct 2016, Eric Jeong wrote: > > > > > From: Eric Jeong > > > > This patch adds support for the PV88080 PMIC. > > > > This pathch is done as part of the existing PV88080 regulator driver > > by expanding the driver for GPIO funct

Re: [PATCH] leds: leds-pca963x: workaround group blink scaling issue

2016-10-25 Thread Jacek Anaszewski
Hi Matt, Patch applied. Thanks, Jacek Anaszewski On 10/13/2016 03:16 PM, Matt Ranostay wrote: PCA9632TK part seems to incorrectly blink at ~1.3x of the programmed rate. This patchset add a nxp,period-scale devicetree property to adjust for this misconfiguration. Cc: Tony Lindgren Cc: Jacek A

Re: [PATCH] nvmem: sunxi-sid: SID content is not a valid source of randomness

2016-10-25 Thread Jean-Francois Moine
On Tue, 25 Oct 2016 07:38:55 +0200 LABBE Corentin wrote: > > On Sat, Oct 22, 2016 at 03:53:28PM +0200, Corentin Labbe wrote: > > > Since SID's content is constant over reboot, > > > > That's not true, at least not across all the Allwinner SoCs, and > > especially not on the A10 and A20 that this

Re: [RFC 3/8] mm: Isolate coherent device memory nodes from HugeTLB allocation paths

2016-10-25 Thread Balbir Singh
On 25/10/16 15:15, Aneesh Kumar K.V wrote: > Dave Hansen writes: > >> On 10/23/2016 09:31 PM, Anshuman Khandual wrote: >>> This change is part of the isolation requiring coherent device memory nodes >>> implementation. >>> >>> Isolation seeking coherent device memory node requires allocation is

Re: [PATCH] virtio: console: Unlock vqs while freeing buffers

2016-10-25 Thread Amit Shah
On (Tue) 11 Oct 2016 [12:05:15], Matt Redfearn wrote: > Commit c6017e793b93 ("virtio: console: add locks around buffer removal > in port unplug path") added locking around the freeing of buffers in the > vq. However, when free_buf() is called with can_sleep = true and rproc > is enabled, it calls d

Re: [PATCHv4 18/43] block: define BIO_MAX_PAGES to HPAGE_PMD_NR if huge page cache enabled

2016-10-25 Thread Christoph Hellwig
On Tue, Oct 25, 2016 at 03:13:17AM +0300, Kirill A. Shutemov wrote: > We are going to do IO a huge page a time. So we need BIO_MAX_PAGES to be > at least HPAGE_PMD_NR. For x86-64, it's 512 pages. NAK. The maximum bio size should not depend on an obscure vm config, please send a standalone patch i

Re: [RFC 8/8] mm: Add N_COHERENT_DEVICE node type into node_states[]

2016-10-25 Thread Balbir Singh
On 24/10/16 15:31, Anshuman Khandual wrote: > Add a new member N_COHERENT_DEVICE into node_states[] nodemask array to > enlist all those nodes which contain only coherent device memory. Also > creates a new sysfs interface /sys/devices/system/node/is_coherent_device > to list down all those nodes

RE: UBIFS with dma on 4.6 kernel is not working

2016-10-25 Thread Naga Sureshkumar Relli
Hi, Thanks everybody for your valuable information. I am not aware of all these dma related APIs but where to handle these dma stuff? Is it in UBI/UBIFS(at the time of vmalloc allocations)? Or in controller driver? And also is there a way to know the memory allocated using vmalloc is contiguou

Re: [RFC 3/8] mm: Isolate coherent device memory nodes from HugeTLB allocation paths

2016-10-25 Thread Balbir Singh
On 25/10/16 18:17, Balbir Singh wrote: > > > On 25/10/16 15:15, Aneesh Kumar K.V wrote: >> Dave Hansen writes: >> >>> On 10/23/2016 09:31 PM, Anshuman Khandual wrote: This change is part of the isolation requiring coherent device memory nodes implementation. Isolation seeki

Re: [patch] zfcp: spin_lock_irqsave() is not nestable

2016-10-25 Thread Christian Borntraeger
On 10/24/2016 10:18 AM, Christian Borntraeger wrote: > On 10/14/2016 10:21 PM, Martin K. Petersen wrote: >>> "Steffen" == Steffen Maier writes: >> >> Steffen> could you please queue this as fix for one of my patches that >> Steffen> went into the 4.9 merge window, so for 4.9-rc I guess? >> >>

[PATCH v4 0/3] Make core_pattern support namespace

2016-10-25 Thread Cao Shufeng
This patchset includes following function points: 1: Let usermodehelper function possible to set pid namespace done by: [PATCH v4 1/3] Make call_usermodehelper_exec possible to set pid namespace. 2: Let pipe_type core_pattern write dump into container's rootfs done by: [PATCH v4 2/3] Limit

Re: [RFC PATCH] kbuild: add -fno-PIE

2016-10-25 Thread Sebastian Andrzej Siewior
On 2016-10-24 19:32:30 [+0200], Sven Joachim wrote: > On 2016-10-24 09:43 +0200, Sebastian Andrzej Siewior wrote: > > > On 2016-10-24 09:38:49 [+0200], Sven Joachim wrote: > >> > >> But make still fails with it. :-( > > > > try setting CONFIG_CC_STACKPROTECTOR_NONE=y and please let me know if > >

[PATCH v4 3/3] Make core_pattern support namespace

2016-10-25 Thread Cao Shufeng
From: Zhao Lei Currently, each container shared one copy of coredump setting with the host system, if host system changed the setting, each running containers will be affected. Same story happened when container changed core_pattern, both host and other container will be affected. For container

[PATCH v4 1/3] Make call_usermodehelper_exec possible to set namespaces

2016-10-25 Thread Cao Shufeng
Current call_usermodehelper_work() can not set namespaces for the executed program. This patch add above function for call_usermodehelper_work(). The init_intermediate is introduced for init works which should be done before fork(). So that we get a method to set namespaces for children. The clean

[PATCH v4 2/3] Limit dump_pipe program's permission to init for container

2016-10-25 Thread Cao Shufeng
Currently when we set core_pattern to a pipe, the pipe program is forked by kthread running with root's permission, and write dumpfile into host's filesystem. Same thing happened for container, the dumper and dumpfile are also in host(not in container). It have following program: 1: Not consistent

[PATCH 3/3] ovl: redirect on rename-dir

2016-10-25 Thread Miklos Szeredi
Current code returns EXDEV when a directory would need to be copied up to move. We could copy up the directory tree in this case, but there's another solution: point to old lower directory from moved upper directory. This is achieved with a "trusted.overlay.redirect" xattr storing the path relati

[PATCH 0/3] overlayfs: allow moving directory trees

2016-10-25 Thread Miklos Szeredi
This allows overlayfs to move directory trees (residing on lower layer) without having to recursively copy up the whole tree first. This series is available in git at: git://git.kernel.org/pub/scm/linux/kernel/git/mszeredi/vfs.git#redirect And is on top of the overlayfs-next branch. --- Miklo

[PATCH 2/3] vfs: export vfs_path_lookup()

2016-10-25 Thread Miklos Szeredi
Exported to modules, but currently residing in fs/internal.h due to commit 197df04c749a ("rename user_path_umountat() to user_path_mountpoint_at()"). Move back to so that overlayfs can make use of it. Signed-off-by: Miklos Szeredi --- fs/internal.h | 2 -- include/linux/namei.h | 2 ++

[PATCH 1/3] ovl: check fs features

2016-10-25 Thread Miklos Szeredi
To allow adding new, backward incompatible features to overlayfs, we need a way to store the list of features in the overlay. This is done via "trusted.overlay.features" xattr on the root of the upper layer (or one of the lower layers, that previously acted as an upper layer). It's a comma separa

Re: [PATCH/RFT v2 11/17] USB: OHCI: make ohci-da8xx a separate driver

2016-10-25 Thread Axel Haslam
On Tue, Oct 25, 2016 at 2:38 AM, David Lechner wrote: > On 10/24/2016 11:46 AM, ahas...@baylibre.com wrote: >> >> From: Manjunath Goudar >> >> Separate the Davinci OHCI host controller driver from ohci-hcd >> host code so that it can be built as a separate driver module. >> This work is part of e

Re: [PATCH v4] [media] vb2: Add support for capture_dma_bidirectional queue flag

2016-10-25 Thread Sakari Ailus
Hi Thierry, On Mon, Oct 24, 2016 at 09:30:21AM +0200, Thierry Escande wrote: ... > --- a/include/media/videobuf2-core.h > +++ b/include/media/videobuf2-core.h > @@ -433,6 +433,9 @@ struct vb2_buf_ops { > * @quirk_poll_must_check_waiting_for_buffers: Return POLLERR at poll when > QBUF > *

Re: [PATCH] ARM: sti: stih410-clocks: Add PROC_STFE as a critical clock

2016-10-25 Thread Lee Jones
On Mon, 24 Oct 2016, Peter Griffin wrote: > Hi Lee, > > On Mon, 24 Oct 2016, Lee Jones wrote: > > On Tue, 18 Oct 2016, Peter Griffin wrote: > > > > > Once the ST frontend demux HW IP has been enabled, the clock can't > > > be disabled otherwise the system will hang and the board will > > > be un

Re: [PATCH v3 02/16] scsi: don't use fc_bsg_job::request and fc_bsg_job::reply directly

2016-10-25 Thread Johannes Thumshirn
On Fri, Oct 14, 2016 at 09:38:21AM +0200, Johannes Thumshirn wrote: > On Thu, Oct 13, 2016 at 05:55:11PM +0200, Steffen Maier wrote: > > Hm, still behaves for me like I reported for v2: > > http://marc.info/?l=linux-scsi&m=147637177902937&w=2 > > Hi Steffen, > > Can you please try the following o

Re: [PATCH 05/14] staging: fsl-mc: update MAINTAINERS

2016-10-25 Thread Greg KH
On Mon, Oct 17, 2016 at 01:42:47PM -0500, Stuart Yoder wrote: > -German has moved on to other things and wished to be > removed as a maintainer > -cleanup the driver description to use the proper name > of the driver (i.e. the fsl-mc bus driver) and remove incorrect > references to Freescale >

Re: [PATCH 09/14] staging: fsl-mc: misc whitespace cleanup

2016-10-25 Thread Greg KH
On Mon, Oct 17, 2016 at 01:43:16PM -0500, Stuart Yoder wrote: > From: Ioana Ciornei > > Make whitespace consistent with other fsl-mc source files. > -delete extraneous tabs > -align start of function arguments properly > -for structs and function definitions, separate type and >variable

Re: [PATCH 11/14] staging: fsl-mc: message cleanup

2016-10-25 Thread Greg KH
On Mon, Oct 17, 2016 at 01:43:39PM -0500, Stuart Yoder wrote: > Cleanup and clarify messages > -use "fsl-mc" prefix for all messages that don't come from dev_* >functions Nope, please use the proper pr_fmt() #define at the top of the file, that way you don't have to put the string into all p

Re: [PATCH 14/14] staging: fsl-mc: uprev binary interface to match MC v10.x

2016-10-25 Thread Greg KH
On Mon, Oct 17, 2016 at 01:43:58PM -0500, Stuart Yoder wrote: > From: Ioana Ciornei > > DPAA2 will not support MC firmware versions prior to MC v10.x. > Update the MC interface code and drivers to reflect this. >-update the object .h files and code that builds commands to include > the ne

Re: [PATCH 00/14] staging: fsl-mc: cleanup and uprev to MC v10.x

2016-10-25 Thread Greg KH
On Mon, Oct 17, 2016 at 01:42:09PM -0500, Stuart Yoder wrote: > This patch does miscellaneous minor cleanup and uprevs the supported > MC firmware version to 10.x. > > I believe with this series the TODO items on our list are complete, > with the exception of "Add at least one device driver for a

[PATCH stable 4.4 3/4] mm: filemap: fix mapping->nrpages double accounting in fuse

2016-10-25 Thread Michal Hocko
From: Johannes Weiner Commit 3ddf40e8c31964b744ff10abb48c8e36a83ec6e7 upstream. Commit 22f2ac51b6d6 ("mm: workingset: fix crash in shadow node shrinker caused by replace_page_cache_page()") switched replace_page_cache() from raw radix tree operations to page_cache_tree_insert() but didn't take i

[PATCH stable 4.4 0/4] mm: workingset backports

2016-10-25 Thread Michal Hocko
Hi, here is the backport of (hopefully) all workingset related fixes for 4.4 kernel. The series has been reviewed by Johannes [1]. The main motivation for the backport is 22f2ac51b6d6 ("mm: workingset: fix crash in shadow node shrinker caused by replace_page_cache_page()") which is a fix for a trig

[PATCH stable 4.4 4/4] Using BUG_ON() as an assert() is _never_ acceptable

2016-10-25 Thread Michal Hocko
From: Linus Torvalds Commit 21f54ddae449f4bdd9f1498124901d67202243d9 upstream. That just generally kills the machine, and makes debugging only much harder, since the traces may long be gone. Debugging by assert() is a disease. Don't do it. If you can continue, you're much better off doing so

[PATCH stable 4.4 2/4] mm: filemap: don't plant shadow entries without radix tree node

2016-10-25 Thread Michal Hocko
From: Johannes Weiner commit d3798ae8c6f3767c726403c2ca6ecc317752c9dd upstream. When the underflow checks were added to workingset_node_shadow_dec(), they triggered immediately: kernel BUG at ./include/linux/swap.h:276! invalid opcode: [#1] SMP Modules linked in: isofs usb_storage fu

[PATCH stable 4.4 1/4] mm: workingset: fix crash in shadow node shrinker caused by replace_page_cache_page()

2016-10-25 Thread Michal Hocko
From: Johannes Weiner Commit 22f2ac51b6d643666f4db093f13144f773ff3f3a upstream. Antonio reports the following crash when using fuse under memory pressure: kernel BUG at /build/linux-a2WvEb/linux-4.4.0/mm/workingset.c:346! invalid opcode: [#1] SMP Modules linked in: all of them CPU:

Re: [PATCH 3/5] staging/vchi: Fix some pointer math for 64-bit.

2016-10-25 Thread Greg Kroah-Hartman
On Mon, Oct 17, 2016 at 12:44:04PM -0700, Eric Anholt wrote: > These were throwing warnings on aarch64, and all are trivially > converted to longs. > > Signed-off-by: Eric Anholt > --- > drivers/staging/vc04_services/interface/vchiq_arm/vchiq_2835_arm.c | 6 +++--- > drivers/staging/vc04_service

Re: [PATCH stable 4.4 0/4] mm: workingset backports

2016-10-25 Thread Michal Hocko
On Tue 25-10-16 09:51:44, Michal Hocko wrote: > Hi, > here is the backport of (hopefully) all workingset related fixes for > 4.4 kernel. The series has been reviewed by Johannes [1]. The main > motivation for the backport is 22f2ac51b6d6 ("mm: workingset: fix crash > in shadow node shrinker caused

Re: [PATCH v1] I2C Designware Core Supports SMBUS BLOCK

2016-10-25 Thread Jarkko Nikula
Hi On 10/25/2016 07:35 AM, tnhu...@apm.com wrote: --- a/drivers/i2c/busses/i2c-designware-platdrv.c +++ b/drivers/i2c/busses/i2c-designware-platdrv.c @@ -220,6 +220,7 @@ static int dw_i2c_plat_probe(struct platform_device *pdev) I2C_FUNC_SMBUS_BYTE | I2C_FUNC_SMBU

Re: [PATCH][V2] drm/amd/powerplay: fix spelling mistake and add KERN_WARNING to printks

2016-10-25 Thread Christian König
Am 25.10.2016 um 01:14 schrieb Colin King: From: Colin Ian King Fix trivial spelling mistake cant't -> can't and add KERN_WARNING to printk messages. Remove redundant spaces before \n too (thanks to Joe Perches for spotting those). Signed-off-by: Colin Ian King Reviewed-by: Christian König

Re: [PATCH 5/7] ASoC: constify snd_soc_ops structures

2016-10-25 Thread Joe Perches
On Tue, 2016-10-25 at 07:55 +0200, Julia Lawall wrote: > On Mon, 24 Oct 2016, Mark Brown wrote: > > On Sat, Oct 15, 2016 at 04:55:49PM +0200, Julia Lawall wrote: > > > --- > > > sound/soc/generic/simple-card.c |2 +- [...] > > > sound/soc/mxs/mxs-sgtl5000.c|

Re: [PATCH/RFT v2 17/17] ARM: dts: da850: add usb device node

2016-10-25 Thread Axel Haslam
On Tue, Oct 25, 2016 at 2:48 AM, David Lechner wrote: > On 10/24/2016 11:46 AM, ahas...@baylibre.com wrote: >> >> From: Axel Haslam >> >> This adds the usb (ohci) device node for the da850 soc. >> Also it enables it for the lcdk board >> >> Signed-off-by: Axel Haslam >> --- >> arch/arm/boot/dts

Re: [PATCH v2] drm/fb-helper: Don't call dirty callback for untouched clips

2016-10-25 Thread Daniel Vetter
On Tue, Oct 25, 2016 at 08:46:28AM +0200, Takashi Iwai wrote: > On Fri, 21 Oct 2016 14:52:07 +0200, > Ville Syrjälä wrote: > > > > On Thu, Oct 20, 2016 at 05:05:30PM +0200, Takashi Iwai wrote: > > > Since 4.7 kernel, we've seen the error messages like > > > > > > kernel: [TTM] Buffer eviction fa

Re: [PATCH v2 1/8] drm/bridge: rgb-to-vga: Support an enable GPIO

2016-10-25 Thread Archit Taneja
Hi, On 10/20/2016 09:13 AM, Chen-Yu Tsai wrote: Some rgb-to-vga bridges have an enable GPIO, either directly tied to an enable pin on the bridge IC, or indirectly controlling a power switch. Add support for it. Does the bridge on your platform have an active/passive DAC, or is it a smarter en

Re: [PATCH/RFT v2 16/17] USB: ohci-da8xx: Allow probing from DT

2016-10-25 Thread Axel Haslam
On Tue, Oct 25, 2016 at 2:53 AM, David Lechner wrote: > On 10/24/2016 11:46 AM, ahas...@baylibre.com wrote: >> >> From: Axel Haslam >> >> This adds the compatible string to the ohci driver >> to be able to probe from DT >> >> Signed-off-by: Axel Haslam >> --- >> drivers/usb/host/ohci-da8xx.c |

Re: [PATCH v3 net] flow_dissector: fix vlan tag handling

2016-10-25 Thread Jiri Pirko
Mon, Oct 24, 2016 at 11:40:30PM CEST, a...@arndb.de wrote: >gcc warns about an uninitialized pointer dereference in the vlan >priority handling: > >net/core/flow_dissector.c: In function '__skb_flow_dissect': >net/core/flow_dissector.c:281:61: error: 'vlan' may be used uninitialized in >this funct

Re: [PATCH] drm/amd/powerplay: mark symbols static where possible

2016-10-25 Thread Daniel Vetter
On Tue, Oct 25, 2016 at 09:09:01AM +0200, Christian König wrote: > Am 25.10.2016 um 08:41 schrieb Daniel Vetter: > > On Mon, Oct 24, 2016 at 10:41:16PM +0200, Arnd Bergmann wrote: > > > On Monday, October 24, 2016 8:07:16 PM CEST Deucher, Alexander wrote: > > > > > > > In fact, these functions are

[PATCH v2] mfd: do not assign already already assigned compatible of_nodes

2016-10-25 Thread Valentin Longchamp
If 2 similar cells have the same of_compatible (2 instances of the same functionality), they both are assigned the first found of_node with this compatible. In the below example, the pdev of both cells get the child@0 of_node. parent@0 { /* MFD devices with 2 cells reg = <0>; child

Re: [PATCH/RFT v2 02/17] ARM: davinci: da8xx: Add CFGCHIP syscon platform declaration.

2016-10-25 Thread Sekhar Nori
On Monday 24 October 2016 10:16 PM, ahas...@baylibre.com wrote: > From: David Lechner > > The CFGCHIP registers are used by a number of devices, so using a syscon > device to share them. The first consumer of this will by the phy-da8xx-usb > driver. > > Signed-off-by: David Lechner > [Axel: min

Re: [PATCH v2 8/8] ARM: dts: sun6i: hummingbird-a31: Enable display output through VGA bridge

2016-10-25 Thread Archit Taneja
On 10/20/2016 09:13 AM, Chen-Yu Tsai wrote: The Hummingbird A31 board has a RGB-to-VGA bridge which converts RGB output from the LCD interface to VGA signals. Enable this part of the display pipeline. I couldn't find the enable-gpios binding for the bridge that you introduced in the previous

Re: [PATCH] drm/amd/powerplay: mark symbols static where possible

2016-10-25 Thread Arnd Bergmann
On Tuesday, October 25, 2016 10:31:21 AM CEST Baoyou Xie wrote: > On 25 October 2016 at 04:51, Arnd Bergmann wrote: > > On Saturday, October 22, 2016 4:56:22 PM CEST Baoyou Xie wrote: > > The function has no callers, so the easiest way would be to remove it > > entirely, but it's possible that the

Re: [PATCH v2] drm/fb-helper: Don't call dirty callback for untouched clips

2016-10-25 Thread Takashi Iwai
On Tue, 25 Oct 2016 10:09:30 +0200, Daniel Vetter wrote: > > On Tue, Oct 25, 2016 at 08:46:28AM +0200, Takashi Iwai wrote: > > On Fri, 21 Oct 2016 14:52:07 +0200, > > Ville Syrjälä wrote: > > > > > > On Thu, Oct 20, 2016 at 05:05:30PM +0200, Takashi Iwai wrote: > > > > Since 4.7 kernel, we've see

[PATCH v5] [media] vb2: Add support for capture_dma_bidirectional queue flag

2016-10-25 Thread Thierry Escande
From: Pawel Osciak When this flag is set for CAPTURE queues by the driver on calling vb2_queue_init(), it forces the buffers on the queue to be allocated/mapped with DMA_BIDIRECTIONAL direction flag instead of DMA_FROM_DEVICE. This allows the device not only to write to the buffers, but also read

Re: [PATCH/RFT v2 12/17] USB: ochi-da8xx: Use a regulator for vbus/overcurrent

2016-10-25 Thread Axel Haslam
On Tue, Oct 25, 2016 at 3:39 AM, David Lechner wrote: > On 10/24/2016 11:46 AM, ahas...@baylibre.com wrote: >> >> From: Axel Haslam >> >> Currently, the da8xx ohci driver uses a set of gpios and callbacks in >> board files to handle vbus and overcurrent irqs form the power supply. >> However, thi

[no subject]

2016-10-25 Thread Sistemi Amministratore
ATTENZIONE; La cassetta postale ha superato il limite di archiviazione, che è 5 GB come definiti dall'amministratore, che è attualmente in esecuzione su 10.9GB, non si può essere in grado di inviare o ricevere nuovi messaggi fino a ri-convalidare la tua mailbox. Per rinnovare la vostra casella

Re: [PATCH 1/2] kbuild: provide include/asm/asm-prototypes.h for ARM

2016-10-25 Thread Nicholas Piggin
On Mon, 24 Oct 2016 17:05:26 +0200 Arnd Bergmann wrote: > This adds an asm/asm-prototypes.h header for ARM to fix the > broken symbol versioning for symbols exported from assembler > files. > > In addition to the header, we have to do these other small > changes: > > - move the exports from bit

Re: Disabling an interrupt in the handler locks the system up

2016-10-25 Thread Mason
On 25/10/2016 10:29, Sebastian Frias wrote: > On 10/24/2016 06:55 PM, Thomas Gleixner wrote: > >> On Mon, 24 Oct 2016, Mason wrote: >> >>> For the record, setting the IRQ_DISABLE_UNLAZY flag for this device >>> makes the system lock-up disappear. >> >> The way how lazy irq disabling works is: >> >

Re: [Intel-gfx] drm/i915: WARN_ON_ONCE(!crtc_clock || cdclk < crtc_clock)

2016-10-25 Thread Jani Nikula
On Mon, 24 Oct 2016, Paul Bolle wrote: > [Detailed post, but please give it a quick scan.] Please file the information in the bug you filed. Please attach dmesg (again, on the bug) with drm.debug=14 and running your patch. BR, Jani. > > On Wed, 2016-10-12 at 14:06 +0200, Paul Bolle wrote: >> On

Re: [PATCH] clk: fix link error for rcar-gen2

2016-10-25 Thread Geert Uytterhoeven
Hi Arnd, On Fri, Oct 21, 2016 at 11:07 PM, Arnd Bergmann wrote: > On Friday, October 21, 2016 8:01:49 PM CEST Geert Uytterhoeven wrote: >> > diff --git a/drivers/clk/renesas/Makefile b/drivers/clk/renesas/Makefile >> > index 90dd0db7d9c6..762d122eddec 100644 >> > --- a/drivers/clk/renesas/Makefil

Re: [PATCH 5/7] ASoC: constify snd_soc_ops structures

2016-10-25 Thread Julia Lawall
On Tue, 25 Oct 2016, Joe Perches wrote: > On Tue, 2016-10-25 at 07:55 +0200, Julia Lawall wrote: > > On Mon, 24 Oct 2016, Mark Brown wrote: > > > On Sat, Oct 15, 2016 at 04:55:49PM +0200, Julia Lawall wrote: > > > > --- > > > > sound/soc/generic/simple-card.c |2 +- > [...] >

Re: [PATCH 1/3] [media] au0828-video: Use kcalloc() in au0828_init_isoc()

2016-10-25 Thread Dan Carpenter
On Mon, Oct 24, 2016 at 10:59:24PM +0200, SF Markus Elfring wrote: > + dev->isoc_ctl.transfer_buffer = kcalloc(num_bufs, > + sizeof(*dev->isoc_ctl > +.transfer_buffer), This is ugly. regards, dan c

Re: [PATCH] Staging:wlan-ng:hfa384x: fixed 80 character line limit coding style issue

2016-10-25 Thread Greg KH
On Fri, Oct 21, 2016 at 06:12:32PM +0530, Nadim Almas wrote: > Fixed coding style issue > > Signed-off-by: Nadim Almas > --- > drivers/staging/wlan-ng/hfa384x.h | 8 ++-- > 1 file changed, 6 insertions(+), 2 deletions(-) > > diff --git a/drivers/staging/wlan-ng/hfa384x.h > b/drivers/stagin

Re: Disabling an interrupt in the handler locks the system up

2016-10-25 Thread Sebastian Frias
Hi Thomas, On 10/24/2016 06:55 PM, Thomas Gleixner wrote: > On Mon, 24 Oct 2016, Mason wrote: >> >> For the record, setting the IRQ_DISABLE_UNLAZY flag for this device >> makes the system lock-up disappear. > > The way how lazy irq disabling works is: > > 1) Interrupt is marked disabled in softw

Re: [PATCH v2 8/8] ARM: dts: sun6i: hummingbird-a31: Enable display output through VGA bridge

2016-10-25 Thread Chen-Yu Tsai
On Tue, Oct 25, 2016 at 4:13 PM, Archit Taneja wrote: > > > On 10/20/2016 09:13 AM, Chen-Yu Tsai wrote: >> >> The Hummingbird A31 board has a RGB-to-VGA bridge which converts RGB >> output from the LCD interface to VGA signals. >> >> Enable this part of the display pipeline. > > > I couldn't find

Re: [PATCH 02/37] staging:r8188eu: remove device assignment after netdev_alloc_skb call

2016-10-25 Thread Greg Kroah-Hartman
On Thu, Oct 20, 2016 at 07:16:20PM +0700, Ivan Safonov wrote: > Andy, > thank you for reviewing patches and tips. Please redo this series based on these responses and resend. thanks, greg k-h

Re: [PATCH v3 1/9] mtd: spi-nor: improve macronix_quad_enable()

2016-10-25 Thread Cyrille Pitchen
Hi Marek, Le 25/10/2016 à 00:00, Marek Vasut a écrit : > On 10/24/2016 06:34 PM, Cyrille Pitchen wrote: >> The patch checks whether the Quad Enable bit is already set in the Status >> Register. If so, the function exits immediately with a successful return >> code. Otherwise, a message is now prin

Re: [PATCH 4/4] MIPS/kernel/proc: Combine four seq_printf() calls into one call in show_cpuinfo()

2016-10-25 Thread Geert Uytterhoeven
On Mon, Oct 24, 2016 at 2:30 PM, SF Markus Elfring wrote: > From: Markus Elfring > Date: Mon, 24 Oct 2016 13:54:58 +0200 > > Some data were printed into a sequence by four separate function calls. > Print the same data by one function call instead. > > Signed-off-by: Markus Elfring > --- > arch

Re: [PATCH] Staging:board:board: fix Block comments should align the * on each line

2016-10-25 Thread Greg KH
On Mon, Oct 24, 2016 at 09:18:04PM +0530, Nadim Almas wrote: > Block comments should align the * on each line as reported by checkpatch.pl > > Signed-off-by: Nadim Almas > --- > > drivers/staging/dgnc/dgnc_tty.c | 2 +- > 1 files changed, 1 insertions(+), 1 deletions(-) Your subject: does not

Re: [PATCH v2] shmem: avoid maybe-uninitialized warning

2016-10-25 Thread Vlastimil Babka
On 10/24/2016 10:57 PM, Arnd Bergmann wrote: After enabling -Wmaybe-uninitialized warnings, we get a false-postive warning for shmem: mm/shmem.c: In function ‘shmem_getpage_gfp’: include/linux/spinlock.h:332:21: error: ‘info’ may be used uninitialized in this function [-Werror=maybe-uninitializ

Re: [PATCH v2 1/8] drm/bridge: rgb-to-vga: Support an enable GPIO

2016-10-25 Thread Chen-Yu Tsai
On Tue, Oct 25, 2016 at 4:09 PM, Archit Taneja wrote: > Hi, > > On 10/20/2016 09:13 AM, Chen-Yu Tsai wrote: >> >> Some rgb-to-vga bridges have an enable GPIO, either directly tied to >> an enable pin on the bridge IC, or indirectly controlling a power >> switch. >> >> Add support for it. > > > Doe

Re: [ISSUE] mm: Add a user_ns owner to mm_struct and fix ptrace_may_access

2016-10-25 Thread Cyrill Gorcunov
On Mon, Oct 24, 2016 at 06:11:04PM -0500, Eric W. Biederman wrote: > Kees Cook writes: > > > On Mon, Oct 24, 2016 at 1:29 PM, Cyrill Gorcunov wrote: > >> On Mon, Oct 24, 2016 at 02:01:30PM -0500, Eric W. Biederman wrote: > >>> So I am probably going to tweak the !mm case so that instead of faili

[GIT PULL v2 5/5] processor.h: remove cpu_relax_lowlatency

2016-10-25 Thread Christian Borntraeger
As there are no users left, we can remove cpu_relax_lowlatency. Signed-off-by: Christian Borntraeger --- arch/alpha/include/asm/processor.h | 1 - arch/arc/include/asm/processor.h| 2 -- arch/arm/include/asm/processor.h| 1 - arch/arm64/include/asm/processor.h | 1 - ar

[GIT PULL v2 3/5] s390: make cpu_relax a barrier again

2016-10-25 Thread Christian Borntraeger
stop_machine seemed to be the only important place for yielding during cpu_relax. This was fixed by using cpu_relax_yield. Therefore, we can now redefine cpu_relax to be a barrier instead on s390, making s390 identical to all other architectures. Signed-off-by: Christian Borntraeger --- arch/s39

[GIT PULL v2 2/5] stop_machine: yield CPU during stop machine

2016-10-25 Thread Christian Borntraeger
Some time ago commit 57f2ffe14fd125c2 ("s390: remove diag 44 calls from cpu_relax()") did stop cpu_relax on s390 yielding to the hypervisor. As it turns out this made stop_machine run really slow on virtualized overcommited systems. For example the kprobes test during bootup took several seconds

[GIT PULL v2 4/5] processor.h: Remove cpu_relax_lowlatency users

2016-10-25 Thread Christian Borntraeger
With the s390 special case of a yielding cpu_relax implementation gone, we can now remove all users of cpu_relax_lowlatency and replace them with cpu_relax. Signed-off-by: Christian Borntraeger --- drivers/gpu/drm/i915/i915_gem_request.c | 2 +- drivers/vhost/net.c | 4 ++--

[GIT PULL v2 1/5] processor.h: introduce cpu_relax_yield

2016-10-25 Thread Christian Borntraeger
For spinning loops people do often use barrier() or cpu_relax(). For most architectures cpu_relax and barrier are the same, but on some architectures cpu_relax can add some latency. For example on power,sparc64 and arc, cpu_relax can shift the CPU towards other hardware threads in an SMT environmen

[GIT PULL v2 0/5] cpu_relax: drop lowlatency, introduce yield

2016-10-25 Thread Christian Borntraeger
Peter, here is v2 with some improved patch descriptions and some fixes. The previous version has survived one day of linux-next and I only changed small parts. So unless there is some other issue, feel free to pull (or to apply the patches) to tip/locking. The following changes since commit 07d9a

Re: [lkp] [perf powerpc] 18d1796d0b: [No primary change]

2016-10-25 Thread Peter Zijlstra
On Tue, Oct 25, 2016 at 02:40:13PM +0800, kernel test robot wrote: > [will-it-scale] perf-stat.branch-miss-rate +7.4% regression > Reply-To: kernel test robot > User-Agent: Heirloom mailx 12.5 6/20/10 > > > FYI, we noticed a +7.4% regression of perf-stat.branch-miss-rate due to > commit: > >

Re: [PATCH] mm: memcontrol: do not recurse in direct reclaim

2016-10-25 Thread Michal Hocko
On Mon 24-10-16 16:30:05, Johannes Weiner wrote: > On 4.0, we saw a stack corruption from a page fault entering direct > memory cgroup reclaim, calling into btrfs_releasepage(), which then > tried to allocate an extent and recursed back into a kmem charge ad > nauseam: > > [...] > [] btrfs_release

Re: [PATCH 3/3] [media] au0828-video: Move two assignments in au0828_init_isoc()

2016-10-25 Thread Dan Carpenter
This patch introduces bugs. It's my policy to not explain the Markus's bugs because otherwise he will just resend the patchset and I have asked him many times to stop. I will happily review bug fix patches but I really think he should stop sending these cleanup patches. regards, dan carpenter

Re: [PATCH 4/4] MIPS/kernel/proc: Combine four seq_printf() calls into one call in show_cpuinfo()

2016-10-25 Thread Ralf Baechle
On Tue, Oct 25, 2016 at 10:55:42AM +0200, Geert Uytterhoeven wrote: > > - seq_printf(m, "shadow register sets\t: %d\n", > > - cpu_data[n].srsets); > > - seq_printf(m, "kscratch registers\t: %d\n", > > - hweight8(cpu_data[n].kscratch_mask)); > > -

Re: [PATCH v2 0/9] mtd: spi-nor: parse SFDP tables to setup (Q)SPI memories

2016-10-25 Thread Jagan Teki
On Mon, Oct 24, 2016 at 7:37 PM, Cyrille Pitchen wrote: > Le 24/10/2016 à 14:09, Cyrille Pitchen a écrit : >> Hi Jagan, >> >> Le 24/10/2016 à 09:41, Jagan Teki a écrit : >>> On Sun, Oct 23, 2016 at 2:03 AM, Marek Vasut wrote: On 10/22/2016 01:00 PM, Jagan Teki wrote: > On Wed, Oct 5, 201

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

2016-10-25 Thread Daniel Bristot de Oliveira
Il 24/10/2016 16:06, Luca Abeni ha scritto: > The active utilisation here is defined as the total utilisation of the > active (TASK_RUNNING) tasks queued on a runqueue. Hence, it is increased > when a task wakes up and is decreased when a task blocks. > > When a task is migrated from CPUi to CPUj,

Re: [PATCH] pinctrl: imx: reset group index on probe

2016-10-25 Thread Linus Walleij
On Tue, Oct 18, 2016 at 11:09 PM, Stefan Agner wrote: > Group index is incremented on every new group parsed. Since the > field is part of struct imx_pinctrl_soc_info, which is typically > a global variable passed by the individual pinctrl-imx.c based > driver, it does not get cleared automatical

Re: [PATCH] i2c: hix5hd2: allow build with ARCH_HISI

2016-10-25 Thread Wolfram Sang
On Mon, Oct 24, 2016 at 04:39:49PM +0800, Ruqiang Ju wrote: > This driver should be buildable with ARCH_HISI, > because some of other HiSilicon SoCs also use it. > > Signed-off-by: Ruqiang Ju Applied to for-current, thanks! signature.asc Description: PGP signature

Re: [PATCH] pinctrl: imx: reset group index on probe

2016-10-25 Thread Linus Walleij
On Wed, Oct 19, 2016 at 12:40 AM, Vladimir Zapolskiy wrote: > I've recently developed a pinctrl driver for the last remaining > i.MX31 platform from the SoC series (not published yet), it does > not fit well under any of the 3 existing drivers, and instead > of adding 1.5K lines of code with half

Re: [PATCH 13/37] staging:r8188eu: remove debug messages after memory allocation failed

2016-10-25 Thread Dan Carpenter
On Wed, Oct 19, 2016 at 10:07:41PM +0700, Ivan Safonov wrote: > These messages are redundant. > Also break rtw_usb_if1_init function if HalData allocation failed. > > Signed-off-by: Ivan Safonov Since you're redoing this anyway, please split this one into two patches. We really frown on mixing

Re: [PATCH] i2c: rk3x: Give the tuning value 0 during rk3x_i2c_v0_calc_timings

2016-10-25 Thread Wolfram Sang
On Sat, Oct 22, 2016 at 04:43:42PM +0800, David Wu wrote: > We found a bug that i2c transfer sometimes failed on 3066a board with > stabel-4.8, the con register would be updated by uninitialized tuning > value, it made the i2c transfer failed. > > So give the tuning value to be zero during rk3x_i2

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

2016-10-25 Thread Linus Walleij
On Fri, Oct 21, 2016 at 11:06 AM, Jerome Brunet wrote: >> Isn't this usecase (also as described in the cover letter) a textbook >> example of when you should be using hierarchical irqdomain? >> >> Please check with Marc et al on hierarchical irqdomains. > > Linus, > Do you mean I should create a

[PATCH] kbuild/mkspec: avoid using brace expansion

2016-10-25 Thread Anton Tikhomirov
Brace expansion might not work properly if _buildshell RPM macro points to a shell other than bash. Particularly, with _bulidshell defined to /bin/dash it leads to broken build and source symlinks. Signed-off-by: Anton Tikhomirov --- scripts/package/mkspec | 3 ++- 1 file changed, 2 insertions(+

Re: [PATCH] gpio: mpc8xxx: Correct irq handler function

2016-10-25 Thread Linus Walleij
On Mon, Oct 24, 2016 at 5:46 AM, Gang Liu wrote: >> On Fri, Oct 21, 2016 at 9:31 AM, Liu Gang wrote: >> >> > From the beginning of the gpio-mpc8xxx.c, the "handle_level_irq" >> > has being used to handle GPIO interrupts in the PowerPC/Layerscape >> > platforms. But actually, almost all PowerPC/La

Re: [PATCH v3 2/9] mtd: spi-nor: add an alternative method to support memory >16MiB

2016-10-25 Thread Cyrille Pitchen
Le 25/10/2016 à 00:10, Marek Vasut a écrit : > On 10/24/2016 06:34 PM, Cyrille Pitchen wrote: >> This patch provides an alternative mean to support memory above 16MiB >> (128Mib) by replacing 3byte address op codes by their associated 4byte >> address versions. >> >> Using the dedicated 4byte addre

Re: [PATCH/RFT v2 03/17] ARM: davinci: da8xx: Add USB PHY platform declaration

2016-10-25 Thread Sekhar Nori
On Monday 24 October 2016 10:16 PM, ahas...@baylibre.com wrote: > +static struct platform_device da8xx_usb_phy = { > + .name = "da8xx-usb-phy", > + .id = 0, There is a single phy control in the system for both 1.1 and 2.0 PHYs. so this can be a singular device (id -1)

Re: [PATCH 03/10] mpt3sas: Implement device_remove_in_progress check in IOCTL path

2016-10-25 Thread Suganath Prabu Subramani
Hi Hannes, Please give us little more info on the third comment. It ll help us to understand better and incorporate required changes. Comment is "Why don't you need to check for the size of the bitmap here?" i have taken care of other two comments in this patch. > /* check if device is p

Re: [PATCH v2 2/2] i2c: mark device nodes only in case of successful instantiation

2016-10-25 Thread Wolfram Sang
On Mon, Oct 17, 2016 at 03:59:57PM +0200, Ralf Ramsauer wrote: > Instantiated I2C device nodes are marked with OF_POPULATE. This was > introduced in 4f001fd. On unloading, loaded device nodes will of course > be unmarked. The problem are nodes that fail during initialisation: If a > node fails, it

Re: Disabling an interrupt in the handler locks the system up

2016-10-25 Thread Thomas Gleixner
On Tue, 25 Oct 2016, Sebastian Frias wrote: > On 10/24/2016 06:55 PM, Thomas Gleixner wrote: > > On Mon, 24 Oct 2016, Mason wrote: > >> > >> For the record, setting the IRQ_DISABLE_UNLAZY flag for this device > >> makes the system lock-up disappear. > > > > The way how lazy irq disabling works is:

[PATCH v2] Staging:dgnc:dgnc_tty: fix Block comments should align the * on each line

2016-10-25 Thread Nadim Almas
Block comments should align the * on each line as reported by checkpatch.pl Signed-off-by: Nadim Almas --- Changes in v2: - Made subject better drivers/staging/dgnc/dgnc_tty.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/drivers/staging/dgnc/dgnc_tty.c b/drivers

Re: [RFC PATCH] sched/deadline: show leftover runtime and abs deadline in /proc/-/sched

2016-10-25 Thread Peter Zijlstra
On Tue, Oct 25, 2016 at 12:32:53AM +0200, Tommaso Cucinotta wrote: > Hi all, > > this is a tiny patch providing readings of the current (leftover) > runtime and absolute deadline in /proc/*/sched. Mostly useful for > debugging, I heard others playing with SCHED_DEADLINE had some need > for similar

  1   2   3   4   5   6   7   8   9   >