Re: [PATCH 4/4] drm/sun4i: make sure we don't have a commit pending

2017-07-16 Thread Chen-Yu Tsai
On Mon, Jul 17, 2017 at 2:55 PM, Maxime Ripard wrote: > On Fri, Jul 14, 2017 at 04:56:01PM +0800, Chen-Yu Tsai wrote: >> Hi, >> >> On Thu, Jul 13, 2017 at 10:41 PM, Maxime Ripard >> wrote: >> > In the earlier display engine designs, any register access while a commit >> > is pending is forbidden.

Re: [PATCH 4/4] drm/sun4i: make sure we don't have a commit pending

2017-07-16 Thread Maxime Ripard
On Fri, Jul 14, 2017 at 04:56:01PM +0800, Chen-Yu Tsai wrote: > Hi, > > On Thu, Jul 13, 2017 at 10:41 PM, Maxime Ripard > wrote: > > In the earlier display engine designs, any register access while a commit > > is pending is forbidden. > > > > One of the symptoms is that reading a register will r

Re: [PATCH 06/14] qcom: mtd: nand: add bam dma descriptor handling

2017-07-16 Thread Abhishek Sahu
On 2017-07-04 11:40, Archit Taneja wrote: On 06/29/2017 12:45 PM, Abhishek Sahu wrote: 1. prepare_bam_async_desc is the function which will call all the DMA API’s. It will fetch the outstanding scatter gather list for passed channel and will do the DMA descriptor formation. The DMA f

mailing list for the dma mapping code

2017-07-16 Thread Christoph Hellwig
Hi all, currently the dma-mapping code doesn't have a dedicated mailing list, and thus posts get lots on linux-kernel. I wonder if we should add a new separate list for it, or if it makes sense to reuse the existing iommu list given that there is a fair amount of overlap.

Re: [PATCH] mm/mremap: Fail map duplication attempts for private mappings

2017-07-16 Thread Michal Hocko
On Fri 14-07-17 10:29:01, Mike Kravetz wrote: > On 07/14/2017 01:26 AM, Michal Hocko wrote: > > On Thu 13-07-17 15:33:47, Mike Kravetz wrote: > >> On 07/13/2017 12:11 PM, Vlastimil Babka wrote: > >>> [+CC linux-api] > >>> > >>> On 07/13/2017 05:58 PM, Mike Kravetz wrote: > mremap will create a

Re: [PATCH 05/14] qcom: mtd: nand: allocate bam transaction

2017-07-16 Thread Abhishek Sahu
On 2017-07-03 13:52, Sricharan R wrote: Hi Abhishek, <..> +/* Allocates and Initializes the BAM transaction */ +static struct bam_transaction * +alloc_bam_transaction(struct qcom_nand_controller *nandc, unsigned int num_cw) +{ + struct bam_transaction *bam_txn; + + bam_txn = devm

Re: [PATCH 05/14] qcom: mtd: nand: allocate bam transaction

2017-07-16 Thread Abhishek Sahu
On 2017-06-29 15:20, Marek Vasut wrote: On 06/29/2017 09:15 AM, Abhishek Sahu wrote: The BAM transaction is the core data structure which will be used for all the data transfers in QPIC NAND. Since the base layer is serializing all the NAND requests so allocating BAM transaction before every tra

Re: semantics of dma_map_single()

2017-07-16 Thread Christoph Hellwig
I would expect that it would support any contiguous range in the kernel mapping (e.g. no vmalloc and friends). But it's not documented anywhere, and if no in kernel users makes use of that fact at the moment it might be better to document a page size limitation and add asserts to enforce it.

Re: [PATCH 03/14] qcom: mtd: nand: Fixed config error for BCH

2017-07-16 Thread Abhishek Sahu
On 2017-07-04 01:17, Boris Brezillon wrote: On Thu, 29 Jun 2017 11:49:07 +0200 Marek Vasut wrote: On 06/29/2017 09:15 AM, Abhishek Sahu wrote: > The configuration for BCH is not correct in the current > driver so this patch fixed the same. Fix the commit message, I have no idea what this patc

Session 152 terminated -- received PADT from peer

2017-07-16 Thread Sekar D
Hello All, I am getting the following error messages through PPP connection without any manual intervention. Session 152 terminated -- received PADT from peer PADT: Generic-Error: RP-PPPoE: Child pppd process terminated Sent PADT Modem hangup Exit Connection terminated. ADSL connection lost; atte

Re: [PATCH 02/14] qcom: mtd: nand: add and initialize QPIC DMA resources

2017-07-16 Thread Abhishek Sahu
On 2017-06-29 15:18, Marek Vasut wrote: On 06/29/2017 09:15 AM, Abhishek Sahu wrote: 1. The QPIC NAND uses 3 BAM channels: command, data tx and data rx while EBI2 NAND uses only single ADM channel. 2. The EBI2 NAND uses normal register read buffer since this buffer will be remapped with d

Re: [PATCH v2] ext4: make xattr inode reads faster

2017-07-16 Thread Tahsin Erdogan
> It surprises me that ext4/VFS doesn't already have a helper routine to do > this. > It looks like ext4_find_entry() is doing something similar for read-ahead of > directory blocks, so it may be worthwhile to consider moving that code over > to use ext4_bread_batch(), but it looks like it would n

Re: [PATCH 02/14] qcom: mtd: nand: add and initialize QPIC DMA resources

2017-07-16 Thread Abhishek Sahu
On 2017-07-03 10:47, Archit Taneja wrote: On 06/29/2017 12:45 PM, Abhishek Sahu wrote: 1. The QPIC NAND uses 3 BAM channels: command, data tx and data rx while EBI2 NAND uses only single ADM channel. 2. The EBI2 NAND uses normal register read buffer since this buffer will be remapped wi

Re: [PATCH] HID: Add quirk for Lenovo Yoga 910 with ITE Chips

2017-07-16 Thread Arek Burdach
On 16.07.2017 12:23, Brian Masney wrote: On Sun, Jul 16, 2017 at 09:39:19AM +0200, Arek Burdach wrote: Hi Patrick, On 15.07.2017 14:27, Patrick Pedersen wrote: It shall additionally be noted that the i2c-hid 'sleep' bug (present since kernel ver. 4.3) still affects the driver. This means th

Re: [PATCH v3] drm/sun4i: Implement drm_driver lastclose to restore fbdev console

2017-07-16 Thread Maxime Ripard
On Wed, Jul 12, 2017 at 10:40:16AM +0800, Chen-Yu Tsai wrote: > On Wed, Jul 12, 2017 at 3:21 AM, Maxime Ripard > wrote: > > On Mon, Jul 10, 2017 at 04:55:04PM +1000, Jonathan Liu wrote: > >> The drm_driver lastclose callback is called when the last userspace > >> DRM client has closed. Call drm_fb

Re: [PATCH] dt-bindings: display: sunxi: Improve endpoint ID scheme readability

2017-07-16 Thread Maxime Ripard
Hi, On Wed, Jul 12, 2017 at 10:38:38AM +0800, Chen-Yu Tsai wrote: > On Wed, Jul 12, 2017 at 3:31 AM, Maxime Ripard > wrote: > > On Mon, Jul 10, 2017 at 11:48:00PM +0800, Chen-Yu Tsai wrote: > >> On Sun, Jun 18, 2017 at 10:05 PM, Rob Herring wrote: > >> > On Wed, Jun 14, 2017 at 02:30:16PM +0800,

Re: [GIT pull] irq updates for 4.13

2017-07-16 Thread Tony Lindgren
* Pavel Machek [170715 13:24]: > Hi! > > > > On Tue, Jul 11, 2017 at 11:41:52PM +0200, Thomas Gleixner wrote: > > > > [...] > > > > > > > > Here is a revised version of the previous patch with the conditional > > > > locking removed and a bunch of comments added. > > > > > > That one also fixes

[PATCH v2] ext4: make xattr inode reads faster

2017-07-16 Thread Tahsin Erdogan
ext4_xattr_inode_read() currently reads each block sequentially while waiting for io operation to complete before moving on to the next block. This prevents request merging in block layer. Add a ext4_bread_batch() function that starts reads for all blocks then optionally waits for them to complete

Re: [PATCH 1/1] drivers/staging/pi433: New driver

2017-07-16 Thread kbuild test robot
-staging-pi433-New-driver/20170716-181617 reproduce: # apt-get install sparse make ARCH=x86_64 allmodconfig make C=1 CF=-D__CHECK_ENDIAN__ sparse warnings: (new ones prefixed by >>) include/linux/compiler.h:260:8: sparse: attribute 'no_sanitize_address': u

Re: [PATCH v4 0/3] some fixups for MediaTek cpufreq driver

2017-07-16 Thread Sean Wang
Hi, Viresh I missed to add Acks from Rob for patch 2 and 3 since we sent out almost at the same time. Do I need to resend again for this or the series is okay for you? Sean On Mon, 2017-07-10 at 22:23 +0800, sean.w...@mediatek.com wrote: > From: Sean Wang > > Changes since v3: > - rem

Re: [PATCH 01/14] qcom: mtd: nand: Add driver data for QPIC DMA

2017-07-16 Thread Abhishek Sahu
On 2017-07-04 01:11, Boris Brezillon wrote: On Mon, 3 Jul 2017 10:08:32 +0530 Archit Taneja wrote: On 06/29/2017 12:45 PM, Abhishek Sahu wrote: > The current driver only support EBI2 NAND which uses ADM DMA. The > latest QCOM controller supports QPIC NAND which uses BAM DMA. NAND > registers a

[PATCH 1/1] ext4: correcting copy paste error.

2017-07-16 Thread Maninder Singh
Error reported by static tool for copy paste issue, fixing the same. Signed-off-by: Maninder Singh Signed-off-by: Vaneet Narang --- fs/ext4/extents.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/fs/ext4/extents.c b/fs/ext4/extents.c index 2a97dff..5d337ca 100644 --- a/fs/

Re: [PATCH] zsmalloc: zs_page_migrate: not check inuse if migrate_mode is not MIGRATE_ASYNC

2017-07-16 Thread Minchan Kim
Hello Hui, On Fri, Jul 14, 2017 at 03:51:07PM +0800, Hui Zhu wrote: > Got some -EBUSY from zs_page_migrate that will make migration > slow (retry) or fail (zs_page_putback will schedule_work free_work, > but it cannot ensure the success). I think EAGAIN(migration retrial) is better than EBUSY(bai

Re: Regression with suspicious RCU usage splats with cpu_pm change

2017-07-16 Thread Tony Lindgren
* Alex Shi [170716 16:25]: > I reused the rcu_irq_enter_irqson() from RCU_NONIDLE to avoid this issue. > It works fine. > > Tony, Could you like to give a tested-by if this patch works for you. Yeah that keeps things booting for me with no splats so: Tested-by: Tony Lindgren In general, it s

Re: [linux-next][bisected 1c0eaf0f] Today's next kernel fails to boot on ppc bare-metal

2017-07-16 Thread Abdul Haleem
On Mon, 2017-07-17 at 12:10 +1000, Michael Ellerman wrote: > Hi Abdul, > > Thanks for the bug report. > > Abdul Haleem writes: > > Hi > > > > Today's linux-next fails to boot on ppc bare-metal > > > > Test: Boot > > Machine: Power 8 bare-metal > > kernel: 4.12.0-next-20170713 > > gcc: version 4

Re: [PATCH 6/9] mm, page_alloc: simplify zonelist initialization

2017-07-16 Thread Michal Hocko
On Fri 14-07-17 15:18:23, Mel Gorman wrote: > On Fri, Jul 14, 2017 at 03:02:42PM +0200, Michal Hocko wrote: [...] > > What do you think about this on top? > > --- > > diff --git a/mm/page_alloc.c b/mm/page_alloc.c > > index 49bade7ff049..3b98524c04ec 100644 > > --- a/mm/page_alloc.c > > +++ b/mm/pa

[PATCH] perf tools probe: update show_line_range arguments

2017-07-16 Thread David Carrillo-Cisneros
commit 801bc8193463 ("perf probe: Allow placing uprobes in alternate namespaces.") did not add the new struct nsinfo argument to show_line_range for the case where HAVE_DWARF_SUPPORT is undefined, giving a compilation error when dwarf is not available. Fix it. Signed-off-by: David Carrillo-Cisnero

Re: [PATCH 0/2] mmc: omap: Remove Unused Code

2017-07-16 Thread Tony Lindgren
* Faiz Abbas [170714 05:48]: > This patch series removes some code in omap_hsmmc.c > and hsmmc.c and members from hsmmc.h and > hsmmc-omap.h which are not used anymore post > conversion to device-tree. Hey that's nice! That gets us a bit closer removing the old platform data for that driver. R

[PATCH v2] clk: mediatek: fixed static checker warning in clk_cpumux_get_parent call

2017-07-16 Thread sean.wang
From: Sean Wang Fixed the signedness bug returning '(-22)' on the return type as u8 with removing the sanity checker in clk_cpumux_get_parent() since clk_cpumux_set_parent() always ensures validity in clk_cpumux_get_parent() got called. Fixes: commit 1e17de9049da ("clk: mediatek: add missing cpu

Re: [PATCH 12/32] tracing: Add hist trigger timestamp support

2017-07-16 Thread Namhyung Kim
On Mon, Jun 26, 2017 at 05:49:13PM -0500, Tom Zanussi wrote: > Add support for a timestamp event field. This is actually a 'pseudo-' > event field in that it behaves like it's part of the event record, but > is really part of the corresponding ring buffer event. > > To make use of the timestamp f

Re: [PATCH 3/5] sphinx-pre-install: use a requirements file

2017-07-16 Thread Markus Heiser
> Am 17.07.2017 um 00:08 schrieb Mauro Carvalho Chehab > : > > Instead of using 3 commands to install a virtualenv, use > a single one, reading the requirements from this file: > > Documentation/sphinx/requirements.txt > > Signed-off-by: Mauro Carvalho Chehab Hi Mauro, I get a .. fa

Re: Droid 4 boot failure due to 422580c3cea7 (mm/oom_kill.c: add tracepoints for oom reaper-related events)

2017-07-16 Thread Tony Lindgren
* Roman Gushchin [170716 05:55]: > On Fri, Jul 14, 2017 at 07:23:43PM +0200, Sebastian Reichel wrote: > > Hi, > > > > On Fri, Jul 14, 2017 at 02:12:21PM +, Roman Gushchin wrote: > > > > On 14 Jul 2017, at 14:43, Sebastian Reichel > > > > wrote: > > > > I just bisected another issue breaking

[PATCH 1/4] staging: lustre: constify attribute_group structures.

2017-07-16 Thread Arvind Yadav
attribute_groups are not supposed to change at runtime. All functions working with attribute_groups provided by work with const attribute_group. So mark the non-const structs as const. File size before: textdata bss dec hex filename 9489 992 40 105212919 lustr

[PATCH 2/4] staging: lustre: ldlm: constify attribute_group structures.

2017-07-16 Thread Arvind Yadav
attribute_groups are not supposed to change at runtime. All functions working with attribute_groups provided by work with const attribute_group. So mark the non-const structs as const. Signed-off-by: Arvind Yadav --- drivers/staging/lustre/lustre/ldlm/ldlm_lockd.c | 2 +- 1 file changed, 1 inse

[PATCH 2/6] ARM: shmobile_defconfig: Cleanup from non-existing options

2017-07-16 Thread Krzysztof Kozlowski
Remove options which do not exist anymore: - DRM_RCAR_HDMI was merged to generic DRM bridge and is obsolete since commit 5c602531feb3 ("drm: rcar-du: Replace manual bridge implementation with DRM bridge"); - SND_SOC_RSRC_CARD was replaced by SND_SIMPLE_SCU_CARD in commit d12c6216c4a5 ("

[PATCH 3/6] ARM: ixp4xx_defconfig: Cleanup from non-existing options

2017-07-16 Thread Krzysztof Kozlowski
Remove options which do not exist anymore: - ECONET is gone since commit 349f29d841db ("econet: remove ancient bug ridden protocol"); - IPDDP_DECAP is gone since commit 9b5645b51384 ("appletalk: remove "config IPDDP_DECAP""); Signed-off-by: Krzysztof Kozlowski --- arch/arm/configs/ixp4x

[PATCH 4/4] staging: lustre: obdclass: constify attribute_group structures.

2017-07-16 Thread Arvind Yadav
attribute_groups are not supposed to change at runtime. All functions working with attribute_groups provided by work with const attribute_group. So mark the non-const structs as const. Signed-off-by: Arvind Yadav --- drivers/staging/lustre/lustre/obdclass/lprocfs_status.c | 2 +- 1 file changed

[PATCH 3/4] staging: lustre: obdclass: linux: constify attribute_group structures.

2017-07-16 Thread Arvind Yadav
attribute_groups are not supposed to change at runtime. All functions working with attribute_groups provided by work with const attribute_group. So mark the non-const structs as const. Signed-off-by: Arvind Yadav --- drivers/staging/lustre/lustre/obdclass/linux/linux-module.c | 2 +- 1 file cha

[PATCH 5/6] ARM: ezx_defconfig: Cleanup from non-existing options

2017-07-16 Thread Krzysztof Kozlowski
CPU_FREQ_DEBUG is gone since commit 2d06d8c49afd ("[CPUFREQ] use dynamic debug instead of custom infrastructure"). Signed-off-by: Krzysztof Kozlowski --- arch/arm/configs/ezx_defconfig | 1 - 1 file changed, 1 deletion(-) diff --git a/arch/arm/configs/ezx_defconfig b/arch/arm/configs/ezx_defco

[PATCH 6/6] ARM: qcom_defconfig: Cleanup from non-existing options

2017-07-16 Thread Krzysztof Kozlowski
QCOM_SMD is gone since commit 395a48053af6 ("soc: qcom: smd: Remove standalone driver"). Signed-off-by: Krzysztof Kozlowski --- arch/arm/configs/qcom_defconfig | 1 - 1 file changed, 1 deletion(-) diff --git a/arch/arm/configs/qcom_defconfig b/arch/arm/configs/qcom_defconfig index b02039c712c3.

[PATCH 4/6] ARM: vexpress_defconfig: Cleanup from non-existing options

2017-07-16 Thread Krzysztof Kozlowski
ARCH_VEXPRESS_CA9X4 is gone since commit 81cc3f868d30 ("ARM: vexpress: Remove non-DT code"). Signed-off-by: Krzysztof Kozlowski --- arch/arm/configs/vexpress_defconfig | 1 - 1 file changed, 1 deletion(-) diff --git a/arch/arm/configs/vexpress_defconfig b/arch/arm/configs/vexpress_defconfig in

[PATCH 1/6] ARM: multi_v7_defconfig: Cleanup from non-existing options

2017-07-16 Thread Krzysztof Kozlowski
Remove options which do not exist anymore: - TEGRA_EMC_SCALING_ENABLE is gone since commit cab4d50389c6 ("ARM: tegra: remove TEGRA_EMC_SCALING_ENABLE"); - ARCH_VEXPRESS_CA9X4 is gone since commit 81cc3f868d30 ("ARM: vexpress: Remove non-DT code"); - DRM_RCAR_HDMI was merged to generic DR

[PATCH 0/4] constify lustre attribute_group structures

2017-07-16 Thread Arvind Yadav
attribute_groups are not supposed to change at runtime. All functions working with attribute_groups provided by work with const attribute_group. So mark the non-const structs as const. Arvind Yadav (4): [PATCH 1/4] staging: lustre: constify attribute_group structures. [PATCH 2/4] staging: lus

[PATCH 1/3] ARM: s3c24xx: Remove non-existing CONFIG_CPU_S3C2413

2017-07-16 Thread Krzysztof Kozlowski
There is no CONFIG_CPU_S3C2413 so get rid of it. Signed-off-by: Krzysztof Kozlowski --- arch/arm/mach-s3c24xx/common.c | 2 +- arch/arm/mach-s3c24xx/include/mach/regs-clock.h | 4 ++-- arch/arm/plat-samsung/include/plat/map-s3c.h| 2 +- 3 files changed, 4 insertions(+), 4 de

[PATCH 3/3] ARM: s3c24xx: Do not confuse local define with Kconfig

2017-07-16 Thread Krzysztof Kozlowski
Drop CONFIG_ prefix from a local DEBUG_RESUME define guarding some debugging code to avoid any confusion with Kconfig options. Signed-off-by: Krzysztof Kozlowski --- arch/arm/mach-s3c24xx/sleep.S | 11 ++- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/arch/arm/mach-s3c24x

[PATCH 2/3] ARM: s3c24xx: Remove non-existing SND_SOC_SMDK2443_WM9710

2017-07-16 Thread Krzysztof Kozlowski
There is no CONFIG_SND_SOC_SMDK2443_WM9710 so get rid of it. Signed-off-by: Krzysztof Kozlowski --- arch/arm/mach-s3c24xx/mach-smdk2443.c | 8 1 file changed, 8 deletions(-) diff --git a/arch/arm/mach-s3c24xx/mach-smdk2443.c b/arch/arm/mach-s3c24xx/mach-smdk2443.c index 87fe5c5b8073..

[PATCH] iommu/exynos: Replace non-existing big-endian Kconfig option

2017-07-16 Thread Krzysztof Kozlowski
Wrong Kconfig option was used when adding warning for untested big-endian capabilities. There is no CONFIG_BIG_ENDIAN option. Signed-off-by: Krzysztof Kozlowski --- drivers/iommu/exynos-iommu.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/iommu/exynos-iommu.c b/dri

[PATCH] MIPS: defconfig: Cleanup from non-existing options

2017-07-16 Thread Krzysztof Kozlowski
Remove options which do not exist anymore: - CPU_FREQ_DEBUG is gone since commit 2d06d8c49afd ("[CPUFREQ] use dynamic debug instead of custom infrastructure"). - ECONET is gone since commit 349f29d841db ("econet: remove ancient bug ridden protocol"); - IPDDP_DECAP is gone since commit 9

Re: [PATCH 3/8] x86/xen: Redefine XEN_ELFNOTE_INIT_P2M using PUD_SIZE * PTRS_PER_PUD

2017-07-16 Thread Juergen Gross
On 17/07/17 00:59, Kirill A. Shutemov wrote: > XEN_ELFNOTE_INIT_P2M has to be 512GB for both 4- and 5-level paging. > (PUD_SIZE * PTRS_PER_PUD) would do this. > > Unfortunately, we cannot use P4D_SIZE, which would fit here. With > current headers structure it cannot be used in assembly, if p4d > l

[PATCH] ASoC: samsung: Remove non-existing CONFIG_CPU_S3C2413

2017-07-16 Thread Krzysztof Kozlowski
There is no CONFIG_CPU_S3C2413 so get rid of it. Signed-off-by: Krzysztof Kozlowski --- sound/soc/samsung/s3c-i2s-v2.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sound/soc/samsung/s3c-i2s-v2.c b/sound/soc/samsung/s3c-i2s-v2.c index 8f42deaa184b..ca522a95160b 100644 --- a

Re: [PATCH] x86/mce/AMD: Allow any CPU to initialize smca_banks array

2017-07-16 Thread Borislav Petkov
On Thu, Jun 29, 2017 at 01:08:28PM -0500, Yazen Ghannam wrote: > From: Yazen Ghannam > > Current SMCA implementations have the same banks on each CPU with the > non-core banks only visible to a "master thread" on each Die. Practically, > this means the smca_banks array, which describes the banks,

RE: [PATCH 1/3] platform/x86: Add GLK PSS Event Table

2017-07-16 Thread Chakravarty, Souvik K
+1 From me. > -Original Message- > From: platform-driver-x86-ow...@vger.kernel.org [mailto:platform-driver- > x86-ow...@vger.kernel.org] On Behalf Of Rajneesh Bhardwaj > Sent: Friday, July 14, 2017 5:24 PM > To: platform-driver-...@vger.kernel.org > Cc: dvh...@infradead.org; a...@infradead

RE: [PATCH 3/3] platform/x86: Add Audio domain PG status events

2017-07-16 Thread Chakravarty, Souvik K
> -Original Message- > From: Bhardwaj, Rajneesh > Sent: Friday, July 14, 2017 5:24 PM > To: platform-driver-...@vger.kernel.org > Cc: dvh...@infradead.org; a...@infradead.org; linux- > ker...@vger.kernel.org; Murthy, Shanth ; > Chakravarty, Souvik K ; Bhardwaj, > Rajneesh > Subject: [PAT

Re: [rfc] superblock shrinker accumulating excessive deferred counts

2017-07-16 Thread Dave Chinner
On Wed, Jul 12, 2017 at 01:42:35PM -0700, David Rientjes wrote: > Hi Al and everyone, > > We're encountering an issue where the per-shrinker per-node deferred > counts grow excessively large for the superblock shrinker. This appears > to be long-standing behavior, so reaching out to you to see

Re: [PATCH] HID: hid-logitech-hidpp: add NULL check on devm_kmemdup() return value

2017-07-16 Thread Gustavo A. R. Silva
On 07/12/2017 02:40 AM, Benjamin Tissoires wrote: On Jul 07 2017 or thereabouts, Gustavo A. R. Silva wrote: Check return value from call to devm_kmemdup() in order to prevent a NULL pointer dereference. Signed-off-by: Gustavo A. R. Silva --- Reviewed-by: Benjamin Tissoires Thank you, B

Re: [PATCH] brcmfmac: added LED triggers for transmit/receive

2017-07-16 Thread Rafał Miłecki
On 11 July 2017 at 17:01, Russell Joyce wrote: > Thanks for your comments. > >> What I think Rafał is saying is that it would be better to have this >> code in cfg80211 so other drivers including mac80211 could use it. > > > While I agree that moving all wireless LED triggers to cfg80211 would be

Re: [PATCH] fpga: altera-hps2fpga: add NULL check on of_match_device() return value

2017-07-16 Thread Gustavo A. R. Silva
On 07/10/2017 11:25 AM, Moritz Fischer wrote: On Thu, Jul 6, 2017 at 11:22 PM, Gustavo A. R. Silva wrote: Check return value from call to of_match_device() in order to prevent a NULL pointer dereference. In case of NULL print error message and return -ENODEV Signed-off-by: Gustavo A. R. Sil

Re: [PATCH] iio: adc: rockchip_saradc: add NULL check on of_match_device() return value

2017-07-16 Thread Gustavo A. R. Silva
On 07/09/2017 01:10 PM, Jonathan Cameron wrote: On Fri, 7 Jul 2017 01:51:31 -0500 "Gustavo A. R. Silva" wrote: Check return value from call to of_match_device() in order to prevent a NULL pointer dereference. In case of NULL print error message and return -ENODEV Signed-off-by: Gustavo A.

Re: [PATCH] iio: adc: meson-saradc: add NULL check on of_match_device() return value

2017-07-16 Thread Gustavo A. R. Silva
On 07/09/2017 01:08 PM, Jonathan Cameron wrote: On Sat, 8 Jul 2017 15:42:46 +0200 Martin Blumenstingl wrote: On Fri, Jul 7, 2017 at 8:46 AM, Gustavo A. R. Silva wrote: Check return value from call to of_match_device() in order to prevent a NULL pointer dereference. In case of NULL print e

Re: [PATCH] mmc: mxcmmc: fix error return code in mxcmci_probe()

2017-07-16 Thread Gustavo A. R. Silva
Hi Ulf, On 07/11/2017 09:43 AM, Ulf Hansson wrote: On 7 July 2017 at 07:59, Gustavo A. R. Silva wrote: platform_get_irq() returns an error code, but the mxcmmc driver ignores it and always returns -EINVAL. This is not correct, and prevents -EPROBE_DEFER from being propagated properly. Print e

Re: [PATCH v2] devfreq: tegra: fix error return code in tegra_devfreq_probe()

2017-07-16 Thread Gustavo A. R. Silva
On 07/04/2017 03:35 AM, Jon Hunter wrote: On 03/07/17 13:47, Gustavo A. R. Silva wrote: platform_get_irq() returns an error code, but the tegra-devfreq driver ignores it and always returns -ENODEV. This is not correct, and prevents -EPROBE_DEFER from being propagated properly. Notice that pl

Re: [PATCH] devfreq: rk3399_dmc: fix error code in rk3399_dmcfreq_probe()

2017-07-16 Thread Gustavo A. R. Silva
On 07/01/2017 02:50 AM, MyungJoo Ham wrote: On Fri, Jun 30, 2017 at 5:02 PM, Chanwoo Choi wrote: Hi, On 2017년 06월 30일 16:15, Gustavo A. R. Silva wrote: Print and propagate the return value of platform_get_irq on failure. Signed-off-by: Gustavo A. R. Silva --- drivers/devfreq/rk3399_dmc.c

Re: [PATCH v2 3/3] DT: leds: Add Qualcomm Light Pulse Generator binding

2017-07-16 Thread Bjorn Andersson
On Sun 16 Jul 11:49 PDT 2017, Jacek Anaszewski wrote: > On 07/15/2017 12:45 AM, Bjorn Andersson wrote: > > diff --git a/Documentation/devicetree/bindings/leds/leds-qcom-lpg.txt > > b/Documentation/devicetree/bindings/leds/leds-qcom-lpg.txt > > new file mode 100644 > > index ..cc9ffee65

Re: [PATCH 6/8] drm: Allow DSI devices to be registered before the host registers.

2017-07-16 Thread Archit Taneja
On 07/15/2017 04:28 AM, Eric Anholt wrote: Archit Taneja writes: On 06/28/2017 01:28 AM, Eric Anholt wrote: When a mipi_dsi_host is registered, the DT is walked to find any child nodes with compatible strings. Those get registered as DSI devices, and most DSI panel drivers are mipi_dsi_dri

Re: [alsa-devel] [PATCH] ASoC: fsl_asrc: constify snd_soc_dai_ops structure

2017-07-16 Thread Gustavo A. R. Silva
Hi Mark, Joe, On 07/14/2017 06:25 AM, Mark Brown wrote: On Fri, Jul 14, 2017 at 04:08:21AM -0700, Joe Perches wrote: On Fri, 2017-07-14 at 12:02 +0100, Mark Brown wrote: On Thu, Jul 13, 2017 at 11:18:11AM -0700, Joe Perches wrote: I don't it's better. It's not that confusing if the 0/n patch

Re: [PATCH] gpio: altera-a10sr: constify gpio_chip structure

2017-07-16 Thread Gustavo A. R. Silva
On 07/13/2017 12:41 PM, Thor Thayer wrote: On 07/11/2017 05:15 PM, Gustavo A. R. Silva wrote: This structure is only used to copy into another structure, so declare it as const. Signed-off-by: Gustavo A. R. Silva --- drivers/gpio/gpio-altera-a10sr.c | 2 +- 1 file changed, 1 insertion

Re: [PATCH] pinctrl: qcom: ssbi: mpp: constify gpio_chip structure

2017-07-16 Thread Gustavo A. R. Silva
On 07/11/2017 04:44 PM, Bjorn Andersson wrote: On Tue 11 Jul 14:18 PDT 2017, Gustavo A. R. Silva wrote: [..] before: textdata bss dec hex filename 151365112 0 202484f18 drivers/pinctrl/qcom/pinctrl-ssbi-mpp.o after: bss dec hex filen

Re: [PATCH] pinctrl: bcm2835: constify gpio_chip structure

2017-07-16 Thread Gustavo A. R. Silva
On 07/12/2017 02:13 PM, Eric Anholt wrote: "Gustavo A. R. Silva" writes: This structure is only used to copy into other structure, so declare it as const. This issue was detected using Coccinelle and the following semantic patch: Acked-by: Eric Anholt Thank you, Eric --- drivers/pin

[PATCH v2] [media] staging/atomisp: fixed trivial coding style issue

2017-07-16 Thread Shy More
Below was the trival error flagged by checkpatch.pl: ERROR: space prohibited after that open parenthesis '(' Signed-off-by: Shy More --- changes in v2: - made the suggested corrections --- .../atomisp/pci/atomisp2/css2400/runtime/isys/src/ibuf_ctrl_rmgr.c | 3 +-- 1 file changed, 1 insertio

Re: [PATCH] ddbridge: constify i2c_algorithm structure

2017-07-16 Thread Gustavo A. R. Silva
Hi Daniel, On 07/10/2017 10:16 AM, Daniel Scheller wrote: Am Sun, 9 Jul 2017 20:15:36 -0500 schrieb "Gustavo A. R. Silva" : Check for i2c_algorithm structures that are only stored in the algo field of an i2c_adapter structure. This field is declared const, so i2c_algorithm structures that hav

Re: [PATCH] i2c: designware-slave: constify i2c_algorithm structure

2017-07-16 Thread Gustavo A. R. Silva
Hi Andy, On 07/10/2017 05:26 AM, Andy Shevchenko wrote: On Sun, 2017-07-09 at 16:35 -0500, Gustavo A. R. Silva wrote: Check for i2c_algorithm structures that are only stored in the algo field of an i2c_adapter structure. This field is declared const, so i2c_algorithm structures that have this

Re: [PATCH] video: xilinxfb: constify fb_fix_screeninfo and fb_var_screeninfo structures

2017-07-16 Thread Gustavo A. R. Silva
On 07/10/2017 02:29 AM, Michal Simek wrote: On 8.7.2017 03:24, Gustavo A. R. Silva wrote: These structures are only used to copy into other structures, so declare them as const. This issue was detected using Coccinelle and the following semantic patch: @r disable optional_qualifier@ identifi

Re: [PATCH] watchdog: coh901327_wdt: constify watchdog_ops structure

2017-07-16 Thread Gustavo A. R. Silva
On 07/07/2017 08:45 PM, Guenter Roeck wrote: On 07/07/2017 05:33 PM, Gustavo A. R. Silva wrote: Check for watchdog_ops structures that are only stored in the ops field of a watchdog_device structure. This field is declared const, so watchdog_ops structures that have this property can be decl

Re: [PATCH] watchdog: ts72xx_wdt: constify watchdog_ops structure

2017-07-16 Thread Gustavo A. R. Silva
On 07/07/2017 08:44 PM, Guenter Roeck wrote: On 07/07/2017 05:18 PM, Gustavo A. R. Silva wrote: Check for watchdog_ops structures that are only stored in the ops field of a watchdog_device structure. This field is declared const, so watchdog_ops structures that have this property can be decl

Re: [PATCH] stm32-dcmi: constify vb2_ops structure

2017-07-16 Thread Gustavo A. R. Silva
On 07/07/2017 09:33 AM, Hugues FRUCHET wrote: Acked-by: Hugues Fruchet Thank you, Hugues. On 07/06/2017 10:05 PM, Gustavo A. R. Silva wrote: Check for vb2_ops structures that are only stored in the ops field of a vb2_queue structure. That field is declared const, so vb2_ops structures that

Re: [PATCH] st-delta: constify vb2_ops structures

2017-07-16 Thread Gustavo A. R. Silva
Thank you, Hugues. On 07/07/2017 09:33 AM, Hugues FRUCHET wrote: Acked-by: Hugues Fruchet On 07/06/2017 10:14 PM, Gustavo A. R. Silva wrote: Check for vb2_ops structures that are only stored in the ops field of a vb2_queue structure. That field is declared const, so vb2_ops structures that h

Re: [PATCH 1/5] arm64: dts: rockchip: Add rk3399 vop and display-subsystem

2017-07-16 Thread Jacob Chen
Hi heko, 2017-07-17 1:31 GMT+08:00 Heiko Stuebner : > Hi Jacob, > > Am Donnerstag, 13. Juli 2017, 00:03:51 CEST schrieb Jacob Chen: >> Add devicetree nodes for rk3399 VOP (Video Output Processors), and the >> top level display-subsystem root node. >> >> Later patches add endpoints (eDP, HDMI, MIPI

Re: [PATCH v2 2/6] [media] rockchip/rga: v4l2 m2m support

2017-07-16 Thread Jacob Chen
Hi, 2017-07-17 10:43 GMT+08:00 Laurent Pinchart : > Hi Jacob, > > On Sunday 16 Jul 2017 12:19:41 Jacob Chen wrote: >> 2017-07-16 0:49 GMT+08:00 Personnel: >> > Le samedi 15 juillet 2017 à 12:42 +0300, Laurent Pinchart a écrit : >> >> On Saturday 15 Jul 2017 14:58:36 Jacob Chen wrote: >> >> > Rockc

Re: [PATCH V2 0/4] ARM64: Fix irq generation between breakpoint and step exception

2017-07-16 Thread Pratyush Anand
On Friday 07 July 2017 05:33 PM, Pratyush Anand wrote: v1 was here http://marc.info/?l=linux-arm-kernel&m=149910958418708&w=2 v1 -> v2: - patch 1 of v1 has been modified to patch 1-3 of v2. - Introduced a new event attribute step_needed and implemented hw_breakpoint_needs_single_step() (patc

linux-next: Tree for Jul 17

2017-07-16 Thread Stephen Rothwell
Hi all, Changes since 20170714: Non-merge commits (relative to Linus' tree): 647 708 files changed, 24530 insertions(+), 8919 deletions(-) I have created today's linux-next tree at git://git.kernel.org/pub/scm/linux/k

Re: [PATCH v3 0/6] mediatek: pwm driver add MT2712/MT7622 support

2017-07-16 Thread Zhi Mao
Hi John, Matthais & PWM Maintainers Just a Gentle ping on this issue :) Is there anything should be modified? Regards, Zhi On Fri, 2017-06-30 at 14:05 +0800, Zhi Mao wrote: > change in v3: > 1. add pwm clk disable in function:mtk_pwm_config() >for error parameter checking case > > Zhi Mao

[PATCH v9 2/7] perf/x86/intel: Record branch type

2017-07-16 Thread Jin Yao
Perf already has support for disassembling the branch instruction and using the branch type for filtering. The patch just records the branch type in perf_branch_entry. Before recording, the patch converts the x86 branch type to common branch type. Change log -- v9: Use __ffs() to find fir

[PATCH v9 1/7] perf/core: Define the common branch type classification

2017-07-16 Thread Jin Yao
It is often useful to know the branch types while analyzing branch data. For example, a call is very different from a conditional branch. Currently we have to look it up in binary while the binary may later not be available and even the binary is available but user has to take some time. It is ver

[PATCH v9 3/7] perf record: Create a new option save_type in --branch-filter

2017-07-16 Thread Jin Yao
The option indicates the kernel to save branch type during sampling. One example: perf record -g --branch-filter any,save_type Change log -- v9: Not changed. v8: Not changed. v7: Not changed. v6: Not changed. v5: Not changed. Signed-off-by: Jin Yao --- tools/perf/Documentation/per

[PATCH v9 5/7] perf util: Create branch.c/.h for common branch functions

2017-07-16 Thread Jin Yao
Create new util/branch.c and util/branch.h to contain the common branch functions. Such as: branch_type_count(): Count the numbers of branch types branch_type_name() : Return the name of branch type branch_type_stat_display(): Display branch type statistics info branch_type_str(): Construct the br

[PATCH v9 6/7] perf report: Show branch type statistics for stdio mode

2017-07-16 Thread Jin Yao
Show the branch type statistics at the end of perf report --stdio. For example: perf report --stdio COND_FWD: 28.5% COND_BWD: 9.4% CROSS_4K: 0.7% CROSS_2M: 14.1% COND: 37.9% UNCOND: 0.2% IND: 6.7% CALL: 26.5% RET: 28.7% SYSRET: 0.0% The branch types are:

[PATCH v9 7/7] perf report: Show branch type in callchain entry

2017-07-16 Thread Jin Yao
Show branch type in callchain entry. The branch type is printed with other LBR information (such as cycles/abort/...). For example: perf record -g -j any,save_type perf report --branch-history --stdio --no-children 38.50% div.c:45[.] maindiv |

[PATCH v9 4/7] perf report: Refactor the branch info printing code

2017-07-16 Thread Jin Yao
The branch info such as predicted/cycles/... are printed at the callchain entries. For example: perf report --branch-history --no-children --stdio --1.07%--main div.c:39 (predicted:52.4% cycles:1 iterations:17) main div.c:44 (predicted:52.4% cycles:1) main div.c:42

[PATCH v9 0/7] perf report: Show branch type

2017-07-16 Thread Jin Yao
v9: --- It only changes the patch "perf/x86/intel: Record branch type". Peter suggests to use __ffs() to find first bit. Yes, with this change, the code is simpler and clearer. No other functional changes. v8: --- Change PERF_BR_NONE to PERF_BR_UNKNOWN according to Peter's comment

Re: [PATCH v2 5/6] ARM: dts: rockchip: enable RGA for rk3288 devices

2017-07-16 Thread Jacob Chen
Hi Laurent, 2017-07-17 10:28 GMT+08:00 Laurent Pinchart : > Hi Jacob, > > On Sunday 16 Jul 2017 12:23:02 Jacob Chen wrote: >> 2017-07-15 17:16 GMT+08:00 Laurent Pinchart: >> > On Saturday 15 Jul 2017 14:58:39 Jacob Chen wrote: >> >> Signed-off-by: Jacob Chen >> >> --- >> >> >> >> arch/arm/boot/d

Re: [GIT PULL] Please pull NFS client changes for Linux 4.13

2017-07-16 Thread da...@codemonkey.org.uk
On Sun, Jul 16, 2017 at 10:57:27PM +, Trond Myklebust wrote: > > BUG: KASAN: global-out-of-bounds in call_start+0x93/0x100 > > Read of size 8 at addr 8d582588 by task kworker/0:1/22 > > Does the following patch fix it? Yep, seems to do the trick! Dave

Re: [PATCH] ASoC: Intel: Skylake: fix type in debug message

2017-07-16 Thread Vinod Koul
On Fri, Jul 14, 2017 at 12:04:06AM +0100, Colin King wrote: > From: Colin Ian King > > Trivial fix to typo in debug message, dst_instacne should be > dst_instance Acked-By: Vinod Koul -- ~Vinod

Re: [PATCH v2 2/6] [media] rockchip/rga: v4l2 m2m support

2017-07-16 Thread Laurent Pinchart
Hi Jacob, On Sunday 16 Jul 2017 12:19:41 Jacob Chen wrote: > 2017-07-16 0:49 GMT+08:00 Personnel: > > Le samedi 15 juillet 2017 à 12:42 +0300, Laurent Pinchart a écrit : > >> On Saturday 15 Jul 2017 14:58:36 Jacob Chen wrote: > >> > Rockchip RGA is a separate 2D raster graphic acceleration unit. I

Re: [PATCH v2 2/6] [media] rockchip/rga: v4l2 m2m support

2017-07-16 Thread Laurent Pinchart
Hi Nicolas, On Saturday 15 Jul 2017 12:49:13 Personnel wrote: You might want to fix your mailer to use your name :-) > Le samedi 15 juillet 2017 à 12:42 +0300, Laurent Pinchart a écrit : > > On Saturday 15 Jul 2017 14:58:36 Jacob Chen wrote: > >> Rockchip RGA is a separate 2D raster graphic acce

[PATCH 1/3] ASoC: fsi: constify dev_pm_ops structure

2017-07-16 Thread Gustavo A. R. Silva
This dev_pm_ops structure is only stored in the pm field of a device_driver structure. This field is declared const, so dev_pm_ops structures that have this property can be declared as const also. Signed-off-by: Gustavo A. R. Silva --- sound/soc/sh/fsi.c | 2 +- 1 file changed, 1 insertion(+), 1

[PATCH 3/3] ASoC: au1x: psc-i2s: constify dev_pm_ops structure

2017-07-16 Thread Gustavo A. R. Silva
This dev_pm_ops structure is only stored in the pm field of a device_driver structure. This field is declared const, so dev_pm_ops structures that have this property can be declared as const also. Signed-off-by: Gustavo A. R. Silva --- sound/soc/au1x/psc-i2s.c | 2 +- 1 file changed, 1 insertion

[PATCH 2/3] ASoC: psc-ac97: constify dev_pm_ops structure

2017-07-16 Thread Gustavo A. R. Silva
This dev_pm_ops structure is only stored in the pm field of a device_driver structure. This field is declared const, so dev_pm_ops structures that have this property can be declared as const also. Signed-off-by: Gustavo A. R. Silva --- sound/soc/au1x/psc-ac97.c | 2 +- 1 file changed, 1 insertio

Re: [tip:sched/urgent] sched/cputime: Don't use smp_processor_id() in preemptible context

2017-07-16 Thread Frederic Weisbecker
On Fri, Jul 14, 2017 at 02:10:14AM -0700, tip-bot for Wanpeng Li wrote: > Commit-ID: 0e4097c3354e2f5a5ad8affd9dc7f7f7d00bb6b9 > Gitweb: http://git.kernel.org/tip/0e4097c3354e2f5a5ad8affd9dc7f7f7d00bb6b9 > Author: Wanpeng Li > AuthorDate: Sun, 9 Jul 2017 00:40:28 -0700 > Committer: Ingo M

[lkp-robot] [rcu] de8a3b1249: WARNING:at_kernel/rcu/tree_plugin.h:#rcu_read_unlock_special

2017-07-16 Thread kernel test robot
FYI, we noticed the following commit: commit: de8a3b1249d6d6eb910e271dc0d18bafd032172d ("rcu: Add assertions verifying blocked-tasks list") https://git.kernel.org/cgit/linux/kernel/git/paulmck/linux-rcu.git rcu/dev in testcase: trinity with following parameters: runtime: 300s test-des

Re: [PATCH v2 5/6] ARM: dts: rockchip: enable RGA for rk3288 devices

2017-07-16 Thread Laurent Pinchart
Hi Jacob, On Sunday 16 Jul 2017 12:23:02 Jacob Chen wrote: > 2017-07-15 17:16 GMT+08:00 Laurent Pinchart: > > On Saturday 15 Jul 2017 14:58:39 Jacob Chen wrote: > >> Signed-off-by: Jacob Chen > >> --- > >> > >> arch/arm/boot/dts/rk3288-evb.dtsi | 4 > >> arch/arm/boot/dts/r

  1   2   3   4   5   6   >