Re: [PATCH] net: dsa: mv88e6xxx: make irq_chip const

2017-08-20 Thread David Miller
From: Bhumika Goyal Date: Sat, 19 Aug 2017 16:25:52 +0530 > Make this const as it is only used in a copy operation. > Done using Coccinelle. > > Signed-off-by: Bhumika Goyal Applied to net-next, thanks.

Re: [PATCH 0/3] MIPS,bpf: Improvements for MIPS eBPF JIT

2017-08-20 Thread David Miller
From: David Daney Date: Fri, 18 Aug 2017 16:40:30 -0700 > I suggest that the whole thing go via the BPF/net-next path as there > are dependencies on code that is not yet merged to Linus' tree. What kind of dependency? On networking or MIPS changes? If the dependency is on MIPS changes, then if

RE: [PATCH v3 0/5] fs/dcache: Limit # of negative dentries

2017-08-20 Thread Wangkai (Kevin,C)
> -Original Message- > From: Waiman Long [mailto:long...@redhat.com] > Sent: Friday, August 18, 2017 10:10 PM > To: Wangkai (Kevin,C); Alexander Viro; Jonathan Corbet > Cc: linux-kernel@vger.kernel.org; linux-...@vger.kernel.org; > linux-fsde...@vger.kernel.org; Paul E. McKenney; Andrew M

Re: special handle of scripts/kconfig/zconf.tab.o

2017-08-20 Thread Cao jin
Hi, Thank you both for those valuable info. On 08/19/2017 08:42 PM, Masahiro Yamada wrote: > Hi. > (+CC Sam) > > 2017-08-15 20:02 GMT+09:00 Cao jin : >> Masahiro-san, >> >> I have a question about make *config. In scripts/kconfig/Makefile, there >> is following statement: >> >> $(obj)/zconf.tab

[PATCH v4 2/3] dt-bindings: i2c: Add MediaTek MT7622 i2c binding

2017-08-20 Thread Jun Gao
From: Jun Gao Add MT7622 i2c binding to binding file. Compare to MT8173 i2c controller, MT7622 limits message numbers to 255, and does not support 4GB DMA mode. Signed-off-by: Jun Gao --- Documentation/devicetree/bindings/i2c/i2c-mtk.txt | 1 + 1 file changed, 1 insertion(+) diff --git a/Docu

[PATCH v4 0/3] Add i2c dt-binding and compatible for Mediatek MT7622 SoC

2017-08-20 Thread Jun Gao
This patch series based on v4.13-rc1, include i2c binding file information formats modification, MT7622 i2c dt-binding and compatible. changes since v3: - Split the formats modification into another patch changes since v2: - Remove all the length settings from mt7622_i2c_quirks changes since v1:

[PATCH v4 1/3] dt-bindings: i2c: modify information formats

2017-08-20 Thread Jun Gao
From: Jun Gao Use common name MediaTek and modify the compatible information formats of all SoCs to the same. Signed-off-by: Jun Gao --- Documentation/devicetree/bindings/i2c/i2c-mtk.txt | 14 +++--- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/Documentation/devicetree

[PATCH v4 3/3] i2c: mediatek: Add i2c compatible for MediaTek MT7622

2017-08-20 Thread Jun Gao
From: Jun Gao Add i2c compatible for MT7622. Compare to MT8173 i2c controller, MT7622 limits message numbers to 255, and does not support 4GB DMA mode. Signed-off-by: Jun Gao Reviewed-by: Yingjoe Chen --- drivers/i2c/busses/i2c-mt65xx.c | 14 ++ 1 file changed, 14 insertions(+) d

Re: [PATCH] tpm/tpm_crb: Access locality for non-ACPI and non-SMC start method

2017-08-20 Thread Jiandi An
On 08/19/2017 12:05 PM, Jarkko Sakkinen wrote: On Thu, Aug 17, 2017 at 11:15:36PM -0500, Jiandi An wrote: For ARM64, the locality is handled by Trust Zone in FW. The layout does not have crb_regs_head. It is hitting the following line. dev_warn(dev, FW_BUG "Bad ACPI memory layout"); Current

Re: [PATCH kernel] PCI: Disable IOV before pcibios_sriov_disable()

2017-08-20 Thread Alexey Kardashevskiy
On 19/08/17 01:27, Bjorn Helgaas wrote: > On Fri, Aug 18, 2017 at 08:05:42AM +1000, Alexey Kardashevskiy wrote: >> On 11/08/17 18:19, Alexey Kardashevskiy wrote: >>> From: Gavin Shan >>> >>> The PowerNV platform is the only user of pcibios_sriov_disable(). >>> The IOV BAR could be shifted by pci_i

Re: [Patch v2 01/19] CIFS: Add RDMA mount option

2017-08-20 Thread Leon Romanovsky
On Sun, Aug 20, 2017 at 12:04:25PM -0700, Long Li wrote: > From: Long Li > > Add "rdma" to CIFS mount option, which tells CIFS this is for connecting to a > SMB server over SMBDirect. Add checks to validate this feature is only used > on SMB 3.X dialects. > > To connect to SMBDirect, use "mount.

[GIT] Networking

2017-08-20 Thread David Miller
1) Fix IGMP handling wrt VRF, from David Ahern. 2) Fix timer access to freed object in dccp, from Eric Dumazet. 3) Use kmalloc_array() in ptr_ring to avoid overflow cases which are triggerable by userspace. Also from Eric Dumazet. 4) Fix infinite loop in unmapping cleanup of nfp driver, fro

[PATCH] staging: greybus: audio: constify snd_soc_dai_ops structures

2017-08-20 Thread Arvind Yadav
snd_soc_dai_ops are not supposed to change at runtime. All functions working with snd_soc_dai_ops provided by work with const snd_soc_dai_ops. So mark the non-const structs as const. Signed-off-by: Arvind Yadav --- drivers/staging/greybus/audio_codec.c | 2 +- 1 file changed, 1 insertion(+), 1

Re: [PATCH v14 5/5] virtio-balloon: VIRTIO_BALLOON_F_FREE_PAGE_VQ

2017-08-20 Thread Wei Wang
On 08/19/2017 02:26 AM, Michael S. Tsirkin wrote: On Fri, Aug 18, 2017 at 04:41:41PM +0800, Wei Wang wrote: On 08/18/2017 10:13 AM, Michael S. Tsirkin wrote: On Thu, Aug 17, 2017 at 11:26:56AM +0800, Wei Wang wrote: Add a new vq to report hints of guest free pages to the host. Please add some

Re: [virtio-dev] Re: [PATCH v14 5/5] virtio-balloon: VIRTIO_BALLOON_F_FREE_PAGE_VQ

2017-08-20 Thread Wei Wang
On 08/19/2017 02:10 AM, Michael S. Tsirkin wrote: On Fri, Aug 18, 2017 at 04:36:06PM +0800, Wei Wang wrote: On 08/18/2017 10:28 AM, Michael S. Tsirkin wrote: On Thu, Aug 17, 2017 at 11:26:56AM +0800, Wei Wang wrote: Add a new vq to report hints of guest free pages to the host. Signed-off-by:

Re: [PATCH v3 1/5] perf annotate stdio: Support --show-nr-samples option

2017-08-20 Thread Taeung Song
On 08/18/2017 10:33 PM, Arnaldo Carvalho de Melo wrote: Em Fri, Aug 18, 2017 at 05:46:48PM +0900, Taeung Song escreveu: Add --show-nr-samples option to perf-annotate so that it corresponds with perf-report. So, at this point I tried to test it and forgot this was just about --stdio, which co

Re: [PATCH v3 4/5] perf annotate browser: Support --show-nr-samples option

2017-08-20 Thread Taeung Song
On 08/18/2017 11:17 PM, Arnaldo Carvalho de Melo wrote: Em Fri, Aug 18, 2017 at 05:47:03PM +0900, Taeung Song escreveu: Cc: Namhyung Kim Cc: Jiri Olsa Signed-off-by: Taeung Song Ok, now that check for !--stdio is lifted and replaced with: - if (symbol_conf.show_nr_samples && !annot

Re: [RFC] interrupts DT property for irqdomain hierarchy

2017-08-20 Thread Masahiro Yamada
Hi Rob, 2017-08-11 2:23 GMT+09:00 Rob Herring : > On Thu, Jul 6, 2017 at 4:58 PM, Masahiro Yamada > wrote: >> Hi IRQ experts, DT exports, >> >> >> I have a question about CONFIG_IRQ_DOMAIN_HIERARCHY. >> >> When IRQ domains are hierarchy, >> how can we specify IRQ number re-mapping between the >>

Re: [PATCH v2] soc: ti: knav: Add a NULL pointer check for kdev in knav_pool_create

2017-08-20 Thread santosh.shilim...@oracle.com
Hi Arnd, On 7/30/17 9:31 PM, Keerthy wrote: knav_pool_create is an exported function. In the event of a call before knav_queue_probe, we encounter a NULL pointer dereference in the following line. Hence return -EPROBE_DEFER to the caller till the kdev pointer is non-NULL. Signed-off-by: Keerthy

Re: [PATCH v3 5/5] perf annotate browser: Circulate percent, total period and samples view

2017-08-20 Thread Taeung Song
On 08/18/2017 11:23 PM, Arnaldo Carvalho de Melo wrote: Em Fri, Aug 18, 2017 at 05:47:08PM +0900, Taeung Song escreveu: With a existing 't' hotkey, support the three view based on percent, total period and number of samples on the annotate TUI browser, circulating them like below: Percent

[PACTH v2] SOC: fsl/guts: Add compatible string for LS1088

2017-08-20 Thread Ashish Kumar
Adding compatible string "ls1088a-dcfg" so that guts driver can be init for ls1088 Signed-off-by: Ashish Kumar Signed-off-by: Amrita Kumari --- drivers/soc/fsl/guts.c |1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git a/drivers/soc/fsl/guts.c b/drivers/soc/fsl/guts.c index 6

Re: [PATCH v3 01/13] mpt3sas: Update MPI Header

2017-08-20 Thread Suganath Prabu Subramani
Hi James, we have fixed the sparse warnings associated with this patch set and posting V4 of mpt3sas patches soon. We are also working on sparse error/warnings that existed before this patch set and we ll be posting it separately. Thanks, Suganath Prabu S On Wed, Aug 9, 2017 at 2:48 AM, J Freyens

[PATCH] iommu/ipmmu-vmsa: Use iommu_device_sysfs_add()/remove()

2017-08-20 Thread Magnus Damm
From: Magnus Damm Extend the driver to make use of iommu_device_sysfs_add()/remove() functions to hook up initial sysfs support. Suggested-by: Joerg Roedel Signed-off-by: Magnus Damm --- Applies on top of next-20170817 drivers/iommu/ipmmu-vmsa.c |6 ++ 1 file changed, 6 insertions(

Re: [PATCH 1/3] soc: qcom: smem: Support global partition

2017-08-20 Thread Arun Kumar Neelakantam
On 8/18/2017 6:45 AM, Chris Lew wrote: @@ -782,7 +855,10 @@ static int qcom_smem_probe(struct platform_device *pdev) } version = qcom_smem_get_sbl_version(smem); - if (version >> 16 != SMEM_EXPECTED_VERSION) { + switch (version >> 16) { + case SMEM_GLOBAL_PART_V

Re: [PATCH] pwm: Kconfig: Enable pwm-tiecap to be built for Keystone

2017-08-20 Thread Thierry Reding
On Wed, Aug 02, 2017 at 11:43:44AM +0530, Vignesh R wrote: > 66AK2G SoC has ECAP subsystem that is used as pwm-backlight provider for > display. Hence, enable pwm-tiecap driver to be built for Keystone > architecture. > > Signed-off-by: Vignesh R > --- > drivers/pwm/Kconfig | 2 +- > 1 file chan

[PATCH] drm: mxsfb: constify drm_simple_display_pipe_funcs

2017-08-20 Thread Arvind Yadav
drm_simple_display_pipe_funcs are not supposed to change at runtime. All functions working with drm_simple_display_pipe_funcs provided by work with const drm_simple_display_pipe_funcs. So mark the non-const structs as const. Signed-off-by: Arvind Yadav --- drivers/gpu/drm/mxsfb/mxsfb_drv.c | 2

Re: [PATCH 1/2] pwm: tiehrpwm: fix runtime pm imbalance at unbind

2017-08-20 Thread Thierry Reding
On Thu, Jul 20, 2017 at 12:48:16PM +0200, Johan Hovold wrote: > Remove unbalanced RPM put at driver unbind which resulted in a negative > usage count. > > Fixes: 19891b20e7c2 ("pwm: pwm-tiehrpwm: PWM driver support for EHRPWM") > Signed-off-by: Johan Hovold > --- > drivers/pwm/pwm-tiehrpwm.c | 1

Re: [PATCH v14 4/5] mm: support reporting free page blocks

2017-08-20 Thread Wei Wang
On 08/18/2017 09:46 PM, Michal Hocko wrote: On Thu 17-08-17 11:26:55, Wei Wang wrote: This patch adds support to walk through the free page blocks in the system and report them via a callback function. Some page blocks may leave the free list after zone->lock is released, so it is the caller's r

Re: [PATCH 1/4] pwm: pwm-tiecap: Add TI 66AK2G SoC specific compatible

2017-08-20 Thread Thierry Reding
On Mon, Aug 07, 2017 at 05:19:40PM +0530, Vignesh R wrote: > Add a new compatible string "ti,k2g-ecap" to support PWM ECAP IP of > TI 66AK2G SoC. > > Signed-off-by: Vignesh R > --- > Documentation/devicetree/bindings/pwm/pwm-tiecap.txt | 1 + > 1 file changed, 1 insertion(+) Applied to for-4.14

Re: [PATCH v1 2/6] fs: use on-stack-bio if backing device has BDI_CAP_SYNC capability

2017-08-20 Thread Minchan Kim
Hi Jens, On Wed, Aug 16, 2017 at 09:56:12AM -0600, Jens Axboe wrote: > On 08/15/2017 10:48 PM, Minchan Kim wrote: > > Hi Jens, > > > > On Mon, Aug 14, 2017 at 10:17:09AM -0600, Jens Axboe wrote: > >> On 08/14/2017 09:38 AM, Jens Axboe wrote: > >>> On 08/14/2017 09:31 AM, Minchan Kim wrote: >

Re: [PATCH v14 4/5] mm: support reporting free page blocks

2017-08-20 Thread Michal Hocko
On Mon 21-08-17 14:12:47, Wei Wang wrote: > On 08/18/2017 09:46 PM, Michal Hocko wrote: [...] > >>+/** > >>+ * walk_free_mem_block - Walk through the free page blocks in the system > >>+ * @opaque1: the context passed from the caller > >>+ * @min_order: the minimum order of free lists to check > >>

Re: Possible null pointer dereference in rcar-dmac.ko

2017-08-20 Thread Kuninori Morimoto
Hi Laurent > I don't think this fully fixes the problem, as the rcar_dmac_isr_error() IRQ > handler is still registered before all this. Furthermore, at least some of > the > initialization at the end of rcar_dmac_chan_probe() has to be moved before > the > rcar_dmac_isr_channel() IRQ handle

Re: [PATCH v14 4/5] mm: support reporting free page blocks

2017-08-20 Thread Michal Hocko
On Fri 18-08-17 20:23:05, Michael S. Tsirkin wrote: > On Thu, Aug 17, 2017 at 11:26:55AM +0800, Wei Wang wrote: [...] > > +void walk_free_mem_block(void *opaque1, > > +unsigned int min_order, > > +void (*visit)(void *opaque2, > > You can just avoid opaque2 c

Re: Do we really need d_weak_revalidate???

2017-08-20 Thread NeilBrown
On Fri, Aug 18 2017, Ian Kent wrote: > On 18/08/17 13:24, NeilBrown wrote: >> On Thu, Aug 17 2017, Ian Kent wrote: >> >>> On 16/08/17 19:34, Jeff Layton wrote: On Wed, 2017-08-16 at 12:43 +1000, NeilBrown wrote: > On Mon, Aug 14 2017, Jeff Layton wrote: > >> On Mon, 2017-08-14 at

Re: [PATCH v2 00/20] Speculative page faults

2017-08-20 Thread Anshuman Khandual
On 08/18/2017 03:34 AM, Laurent Dufour wrote: > This is a port on kernel 4.13 of the work done by Peter Zijlstra to > handle page fault without holding the mm semaphore [1]. > > The idea is to try to handle user space page faults without holding the > mmap_sem. This should allow better concurrency

[PATCH v2] rcar-dmac: initialize all data before registering IRQ handler

2017-08-20 Thread Kuninori Morimoto
From: Kuninori Morimoto Anton Volkov noticed that engine->dev is NULL before of_dma_controller_register() in probe. Thus there might be a NULL pointer dereference in rcar_dmac_chan_start_xfer while accessing chan->chan.device->dev which is equal to (&dmac->engine)->dev. On same reason, same and

Re: Do we really need d_weak_revalidate???

2017-08-20 Thread Ian Kent
On 21/08/17 14:23, NeilBrown wrote: > On Fri, Aug 18 2017, Ian Kent wrote: > >> On 18/08/17 13:24, NeilBrown wrote: >>> On Thu, Aug 17 2017, Ian Kent wrote: >>> On 16/08/17 19:34, Jeff Layton wrote: > On Wed, 2017-08-16 at 12:43 +1000, NeilBrown wrote: >> On Mon, Aug 14 2017, Jeff Lay

Re: [patch -mm] mm, compaction: persistently skip hugetlbfs pageblocks fix

2017-08-20 Thread Michal Hocko
On Sun 20-08-17 17:36:41, David Rientjes wrote: > Fix build: > > mm/compaction.c: In function ‘isolate_freepages_block’: > mm/compaction.c:469:4: error: implicit declaration of function > ‘pageblock_skip_persistent’ [-Werror=implicit-function-declaration] > if (pageblock_skip_persistent(page,

Re: [PATCH][RFC v4] PM / Hibernate: Feed the wathdog when creating snapshot

2017-08-20 Thread Michal Hocko
On Sat 19-08-17 18:21:26, Chen Yu wrote: > There is a problem that when counting the pages for creating > the hibernation snapshot will take significant amount of > time, especially on system with large memory. Since the counting > job is performed with irq disabled, this might lead to NMI lockup.

[PATCH] binfmt_flat: Delete two error messages for a failed memory allocation in decompress_exec()

2017-08-20 Thread SF Markus Elfring
From: Markus Elfring Date: Mon, 21 Aug 2017 08:43:50 +0200 Omit extra messages for a memory allocation failure in this function. This issue was detected by using the Coccinelle software. Signed-off-by: Markus Elfring --- fs/binfmt_flat.c | 8 +++- 1 file changed, 3 insertions(+), 5 deleti

Re: [PATCH 069/102] pwm: hibvt: explicitly request exclusive reset control

2017-08-20 Thread Thierry Reding
On Wed, Jul 19, 2017 at 05:26:13PM +0200, Philipp Zabel wrote: > Commit a53e35db70d1 ("reset: Ensure drivers are explicit when requesting > reset lines") started to transition the reset control request API calls > to explicitly state whether the driver needs exclusive or shared reset > control beha

Re: [PATCH 070/102] pwm: tegra: explicitly request exclusive reset control

2017-08-20 Thread Thierry Reding
On Wed, Jul 19, 2017 at 05:26:14PM +0200, Philipp Zabel wrote: > Commit a53e35db70d1 ("reset: Ensure drivers are explicit when requesting > reset lines") started to transition the reset control request API calls > to explicitly state whether the driver needs exclusive or shared reset > control beha

Re: [PATCH] pwm: Convert to using %pOF instead of full_name

2017-08-20 Thread Thierry Reding
On Wed, Aug 09, 2017 at 05:12:55PM -0500, Rob Herring wrote: > On Tue, Jul 25, 2017 at 6:38 AM, Thierry Reding > wrote: > > On Tue, Jul 18, 2017 at 04:43:25PM -0500, Rob Herring wrote: > >> Now that we have a custom printf format specifier, convert users of > >> full_name to use %pOF instead. This

<    1   2   3