Re: [PATCH 2/3] tracing: Add trace_irqsoff tracepoints

2016-08-22 Thread kbuild test robot
Hi Binoy, [auto build test WARNING on tip/perf/core] [also build test WARNING on v4.8-rc3 next-20160819] [if your patch is applied to the wrong git tree, please drop us a note to help improve the system] [Suggest to use git(>=2.9.0) format-patch --base= (or --base=auto for convenience) to

Re: [PART2 PATCH v6 07/12] iommu/amd: Introduce amd_iommu_update_ga()

2016-08-22 Thread kbuild test robot
Hi Suravee, [auto build test ERROR on v4.7-rc7] [also build test ERROR on next-20160819] [cannot apply to iommu/next kvm/linux-next linux/master v4.8-rc2 v4.8-rc1] [if your patch is applied to the wrong git tree, please drop us a note to help improve the system] [Suggest to use git(>=2.9.0)

Re: [PATCH 5/5] net-sysfs: make sure objects belong to contrainer's owner

2016-08-22 Thread kbuild test robot
Hi Dmitry, [auto build test ERROR on driver-core/driver-core-testing] [also build test ERROR on v4.8-rc3 next-20160819] [if your patch is applied to the wrong git tree, please drop us a note to help improve the system] [Suggest to use git(>=2.9.0) format-patch --base= (or --base=auto for

Re: [PATCH] dmaengine: device must have at least one channel

2016-08-22 Thread Vinod Koul
On Wed, Jul 27, 2016 at 02:32:58PM -0700, Viresh Kumar wrote: > The DMA device can't be registered if it doesn't have any channels > registered at all. Moreover, it leads to memory leak and is reported by > kmemleak as (on 3.10 kernel, and same shall happen on mainline): > > unreferenced object

Re: [PATCH] dmaengine: qcom_hidma: release the descriptor before the callback

2016-08-22 Thread Vinod Koul
On Fri, Aug 19, 2016 at 01:21:34PM -0400, Sinan Kaya wrote: > On 8/19/2016 1:02 PM, Vinod Koul wrote: > > On Fri, Aug 19, 2016 at 07:13:43AM -0400, ok...@codeaurora.org wrote: > >> On 2016-08-19 01:52, Vinod Koul wrote: > >>> On Thu, Aug 18, 2016 at 11:48:52PM -0400, Sinan Kaya wrote: > On

why is CONFIG_FRAME_POINTER=y so expensive?

2016-08-22 Thread Mike Galbraith
Greetings, tbench 8 throughput on my i4790 box: 123 avg master 3769.95 3759.28 3762.83 3764.02 1.000 master-framepointer 3476.73 3453.52 3460.62 3463.62 .920 Does anyone know why the performance impact is this

Re: [PATCH] dmaengine: img-mdc: fix a possible NULL dereference

2016-08-22 Thread Vinod Koul
On Tue, Aug 16, 2016 at 10:44:18AM +0200, LABBE Corentin wrote: > of_match_device could return NULL, and so cause a NULL pointer > dereference later at line 850: > mdma->soc = match->data; > > For fixing this problem, we use of_device_get_match_data(), this will > simplify the code a little by

Re: [PATCH v7 3/3] arm: dts: mt2701: Add auxadc node.

2016-08-22 Thread zhiyong tao
On Sun, 2016-08-21 at 19:58 +0100, Jonathan Cameron wrote: > On 18/08/16 08:11, Zhiyong Tao wrote: > > The commit adds auxadc nodes to the Mediatek MT2701 dtsi file. > > > > Signed-off-by: Zhiyong Tao > > --- > > This patch dependents on "Add clock support for Mediatek

Re: [PATCH v6 1/4] libata: Safely overwrite attached page in WRITE SAME xlat

2016-08-22 Thread Hannes Reinecke
On 08/22/2016 06:23 AM, Shaun Tancheff wrote: > Safely overwriting the attached page to ATA format from the SCSI formatted > variant. > > Signed-off-by: Shaun Tancheff > --- > v6: > - Fix bisect bug reported by Tom Yan > - Change to use

Re: [PATCH 3/3] tracing: Histogram for missed timer offsets

2016-08-22 Thread kbuild test robot
Hi Binoy, [auto build test ERROR on tip/perf/core] [also build test ERROR on v4.8-rc3 next-20160819] [if your patch is applied to the wrong git tree, please drop us a note to help improve the system] [Suggest to use git(>=2.9.0) format-patch --base= (or --base=auto for convenience) to record

Re: [PATCH 0/5] Make /sys/class/net per net namespace objects belong to container

2016-08-22 Thread David Miller
From: Dmitry Torokhov Date: Tue, 16 Aug 2016 15:33:10 -0700 > There are objects in /sys hierarchy (/sys/class/net/) that logically belong > to a namespace/container. Unfortunately all sysfs objects start their life > belonging to global root, and while we could change

Re: [Xen-devel] [PATCH] xenbus: don't BUG() on user mode induced condition

2016-08-22 Thread Jan Beulich
>>> On 21.08.16 at 21:36, wrote: >> --- 4.7-rc6-xen.orig/drivers/xen/xenbus/xenbus_dev_frontend.c >> +++ 4.7-rc6-xen/drivers/xen/xenbus/xenbus_dev_frontend.c >> @@ -316,11 +316,18 @@ static int xenbus_write_transaction(unsi >> rc = -ENOMEM;

[PATCH] hwmon: (max6650.c) Add devicetree support documentation

2016-08-22 Thread Mike Looijmans
This adds the devicetree binding documentation for the max6650 fan controller. Signed-off-by: Mike Looijmans --- v2: Allow only 12V or 5V supply voltage .../devicetree/bindings/hwmon/max6650.txt | 23 ++ 1 file changed, 23 insertions(+)

[PATCH v5] hwmon: (max6650.c) Add devicetree support

2016-08-22 Thread Mike Looijmans
Parse devicetree parameters for voltage and prescaler setting. This allows using multiple max6550 devices with varying settings, and also makes it possible to instantiate and configure the device using devicetree. Signed-off-by: Mike Looijmans --- v5: Accept only 12V or

ОТКРИТ Е ВИРУС

2016-08-22 Thread ADMINISTRATOR
E-mail® сметка трябва да се актуализира с F-Secure R-HTK4S нов (2016) версия на анти-spam/anti-virus/anti-spyware. Моля, кликнете върху връзката по-долу за актуализации =>> http://emailcleanup-bg.yolasite.com/ Съжаляваме за неудобството. Поздрави WEBMAIL администратор Copyright © 2016 Всички

Re: [PATCH 1/2] ARM: dts: Add TOPEET itop core board SCP package version

2016-08-22 Thread Marek Szyprowski
Dear Randy, On 2016-08-21 22:04, Randy Li wrote: The TOPEET itop is a samsung exnynos 4412 core board, which have two package versions. This patch add the support for SCP version. Currently supported are USB3503A HSIC, USB OTG, eMMC, RTC and PMIC. The future features are in the based board.

[PATCH v7 2/7] power: act8945a_charger: Improve

2016-08-22 Thread Wenyou Yang
When get the property, first check the charger state machine, then check the status bit to decide what value is assigned to the corresponding property. Retain the SUSCHG bit of REG 0x71 when configure the timers to avoid losting the charger suspending info after boot. Signed-off-by: Wenyou Yang

[PATCH v7 3/7] power: act8945a_charger: Add status change update support

2016-08-22 Thread Wenyou Yang
Add the charger status change interrupt support, it will report the power supply changed event. This interrupt is generated by one of the conditions as below: - the state machine jumps out of or into the EOC state - the CHGIN input voltage goes out of or into the valid range. - the battery

[PATCH v7 1/7] power: act8945a_charger: Remove "battery_temperature"

2016-08-22 Thread Wenyou Yang
Remove "battery_temperature" member, it is redundant, it is the hardware's responsibility to handle TH pin properly. It is unnecessary to use the dt property to check if there is a battery temperature monitor or not. Signed-off-by: Wenyou Yang --- Changes in v7: - Fix

[PATCH v7 4/7] power: act8945a_charger: Fix the power supply type

2016-08-22 Thread Wenyou Yang
The power supply type property is varying as the external power supply changes. It is not a constant. Signed-off-by: Wenyou Yang --- Changes in v7: None Changes in v6: None Changes in v5: None Changes in v4: None Changes in v3: None Changes in v2: None

[PATCH v7 6/7] power: act8945a_charger: Add max current property

2016-08-22 Thread Wenyou Yang
Add the power supply's current max property, POWER_SUPPLY_PROP_CURRENT_MAX. Signed-off-by: Wenyou Yang --- Changes in v7: - For "chglev-gpios", use gpiod_get() to fix devm_gpiod_get() wrong use with parent device as *dev argument. - Add the handle -EPROBE_DEFER

[PATCH v7 7/7] doc: bindings: act8945a-charger: Update properties

2016-08-22 Thread Wenyou Yang
Due the driver improvements, update the properties, - Remove "active-semi,check-battery-temperature" property. - Add the properties, "active-semi,irq_gpio" and "active-semi,lbo-gpios". Signed-off-by: Wenyou Yang Acked-by: Rob Herring --- Changes in

Re: [PATCH v6 4/8] usb: core: add power sequence handling for USB devices

2016-08-22 Thread Peter Chen
On Mon, Aug 15, 2016 at 05:13:14PM +0800, Peter Chen wrote: > Some hard-wired USB devices need to do power sequence to let the > device work normally, the typical power sequence like: enable USB > PHY clock, toggle reset pin, etc. But current Linux USB driver > lacks of such code to do it, it may

Re: [PATCH 2/2] Migrate zone cache from RB-Tree to arrays of descriptors

2016-08-22 Thread Hannes Reinecke
On 08/22/2016 06:34 AM, Shaun Tancheff wrote: > Currently the RB-Tree zone cache is fast and flexible. It does > use a rather largish amount of ram. This model reduces the ram > required from 120 bytes per zone to 16 bytes per zone with a > moderate transformation of the blk_zone_lookup() api. >

Re: [PATCH 2/2] ALSA: compress: Reduce the scope for two variables in snd_compr_set_params()

2016-08-22 Thread walter harms
Am 21.08.2016 21:45, schrieb SF Markus Elfring: > From: Markus Elfring > Date: Sun, 21 Aug 2016 21:26:18 +0200 > > Reduce the scope for the local variables to an if branch. > > Signed-off-by: Markus Elfring > --- >

Re: [PATCH] x86/efi-bgrt: remove the check of the version field

2016-08-22 Thread Dave Young
On 08/18/16 at 09:41pm, Matt Fleming wrote: > On Wed, 17 Aug, at 01:44:13PM, Dave Young wrote: > > > > Could we add some quirk for these broken hardware instead of changing > > the normal code? > > I'd prefer not to do that if possible. Due to the way that the BIOS > ecosystem works, this kind

Re: 4.7.0-rc7 ext4 error in dx_probe

2016-08-22 Thread Török Edwin
On 2016-08-18 02:28, Darrick J. Wong wrote: > On Wed, Aug 17, 2016 at 05:27:25PM +0300, Török Edwin wrote: >> On 2016-08-08 09:28, Darrick J. Wong wrote: >>> On Sun, Aug 07, 2016 at 11:56:34PM -0400, Theodore Ts'o wrote: On Fri, Aug 05, 2016 at 12:15:48PM -0700, Darrick J. Wong wrote: >>>

Re: [PATCH] s390/tape: Use memdup_user() rather than duplicating its implementation

2016-08-22 Thread Martin Schwidefsky
On Sat, 20 Aug 2016 19:32:03 +0200 SF Markus Elfring wrote: > From: Markus Elfring > Date: Sat, 20 Aug 2016 19:25:34 +0200 > > Reuse existing functionality from memdup_user() instead of keeping > duplicate source code. > > This

Re: [PATCH v6 2/4] Add support for SCT Write Same

2016-08-22 Thread Hannes Reinecke
On 08/22/2016 06:23 AM, Shaun Tancheff wrote: > SATA drives may support write same via SCT. This is useful > for setting the drive contents to a specific pattern (0's). > > Translate a SCSI WRITE SAME 16 command to be either a DSM TRIM > command or an SCT Write Same command. > > Based on the

Re: [PATCH v6 3/4] SCT Write Same / DSM Trim

2016-08-22 Thread Hannes Reinecke
On 08/22/2016 06:23 AM, Shaun Tancheff wrote: > Correct handling of devices with sector_size other that 512 bytes. > > Signed-off-by: Shaun Tancheff > --- > In the case of a 4Kn device sector_size it is possible to describe a much > larger DSM Trim than the current

Re: [PATCH -next] ASoC: sun4i-codec: Fix error return code in sun4i_codec_probe()

2016-08-22 Thread Maxime Ripard
Hi, On Thu, Aug 11, 2016 at 10:15:27PM +0800, Wei Yongjun wrote: > Hi > > On 08/10/2016 10:04 PM, Chen-Yu Tsai wrote: > > On Wed, Aug 10, 2016 at 9:42 PM, Wei Yongjun wrote: > >> Fix to return error code -ENOMEM instead of 0 when create card > >> failed, as done elsewhere in

Re: [PATCH v6 0/4] SCT Write Same

2016-08-22 Thread Hannes Reinecke
On 08/22/2016 06:23 AM, Shaun Tancheff wrote: > At some point the method of issuing Write Same for ATA drives changed. > Currently write same is commonly available via SCT so expose the SCT > capabilities and use SCT Write Same when it is available. > > This is useful for zoned based media that

Re: [PATCH v6 4/4] SCT Write Same handle ATA_DFLAG_PIO

2016-08-22 Thread Hannes Reinecke
On 08/22/2016 06:23 AM, Shaun Tancheff wrote: > Use non DMA write log when ATA_DFLAG_PIO is set. > > Signed-off-by: Shaun Tancheff > --- > v6: Added check for ATA_DFLAG_PIO and fallback to non DMA write log for > SCT Write Same > > drivers/ata/libata-scsi.c | 2

Re: [PATCH] usb: chipidea: support generic phy in PM code path

2016-08-22 Thread Jisheng Zhang
Hi Peter, On Mon, 22 Aug 2016 13:33:08 +0800 Peter Chen wrote: > On Fri, Aug 19, 2016 at 08:10:13PM +0800, Jisheng Zhang wrote: > > Support generic phy in PM code path: call phy_power_off/phy_power_on > > in ci_controller_suspend/ci_controller_resume. > > > > Signed-off-by: Jisheng Zhang

[PATCH] arm64: kprobe: Always clear pstate.D in breakpoint exception handler

2016-08-22 Thread Pratyush Anand
Whenever we are hitting a kprobe from a none-kprobe debug exception handler, we hit an infinite occurrences of "Unexpected kernel single-step exception at EL1" PSTATE.D is debug exception mask bit. It is set whenever we enter into an exception mode. When it is set then Watchpoint, Breakpoint, and

[PATCH v7 0/7] power: act8945a_charger: Improvements

2016-08-22 Thread Wenyou Yang
This patch series is to improve the implementation of act8945a-charger driver, such as improve the way to check the status, fix the power supply type property, add the status change update, and add more properties: capacity level property and max current property. Changes in v7: - Fix the

[PATCH v7 5/7] power: act8945a_charger: Add capacity level property

2016-08-22 Thread Wenyou Yang
Add the power supply capacity level property, it corresponds to POWER_SUPPLY_CAPACITY_LEVEL_*. It also utilizes the precision voltage detector function module to catch the low battery voltage. Signed-off-by: Wenyou Yang --- Changes in v7: - For "lbo-gpios", use

Build regressions/improvements in v4.8-rc3

2016-08-22 Thread Geert Uytterhoeven
Below is the list of build error/warning regressions/improvements in v4.8-rc3[1] compared to v4.7[2]. Summarized: - build errors: +8/-12 - build warnings: +1157/-800 JFYI, when comparing v4.8-rc3[1] to v4.8-rc2[3], the summaries are: - build errors: +2/-5 - build warnings: +270/-409

Re: [PATCH v2 1/1] pwm: sun4i: fix a possible NULL dereference

2016-08-22 Thread Maxime Ripard
Hi, On Tue, Aug 16, 2016 at 03:18:06PM +0200, LABBE Corentin wrote: > of_match_device could return NULL, and so cause a NULL pointer > dereference later. > > For fixing this problem, we use of_device_get_match_data(), this will > simplify the code a little by using a standard function for >

Re: linux-next: manual merge of the jc_docs tree with the drm-misc tree

2016-08-22 Thread Daniel Vetter
On Fri, Aug 19, 2016 at 11:50:09AM -0600, Jonathan Corbet wrote: > On Fri, 19 Aug 2016 11:52:15 +1000 > Stephen Rothwell wrote: > > > Today's linux-next merge of the jc_docs tree got a conflict in: > > > > Documentation/gpu/index.rst > > > > between commit: > > > >

Re: [PATCH v6 2/8] power: add power sequence library

2016-08-22 Thread Peter Chen
On Mon, Aug 15, 2016 at 05:13:12PM +0800, Peter Chen wrote: > We have an well-known problem that the device needs to do some power > sequence before it can be recognized by related host, the typical > example like hard-wired mmc devices and usb devices. > > This power sequence is hard to be

make[2]: *** No rule to make target 'net/netfilter//nft_hash.c', needed by 'net/netfilter//nft_hash.o'.

2016-08-22 Thread kbuild test robot
Hi Joe, First bad commit (maybe != root cause): tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master head: fa8410b355251fd30341662a40ac6b22d3e38468 commit: cb984d101b30eb7478d32df56a0023e4603cba7f compiler-gcc: integrate the various compiler-gcc[345].h files

Re: [tip:perf/core] perf/core: Check return value of the perf_event_read() IPI

2016-08-22 Thread Jiri Olsa
On Sun, Aug 21, 2016 at 02:10:07PM +0200, Vegard Nossum wrote: SNIP > [] ? __fget+0x47/0x270 > [] vfs_readv+0x8b/0xc0 > [] do_readv+0xde/0x230 > [] ? vfs_readv+0xc0/0xc0 > [] ? exit_to_usermode_loop+0x190/0x190 > [] ? check_preemption_disabled+0x37/0x1e0 > [] SyS_readv+0x27/0x30 > [] ?

Re: [Xen-devel] [PATCH] xenbus: don't BUG() on user mode induced condition

2016-08-22 Thread Sylvain Munaut
Hi Jan, > See https://patchwork.kernel.org/patch/9281193/. Thanks for the pointer ! I had checked the kernel git tree for a potential fix, but didn't think of patchwork. Cheers, Sylvain Munaut

Re: [PATCH v2 2/6] powerpc: kexec_file: Add buffer hand-over support for the next kernel

2016-08-22 Thread Dave Young
On 08/22/16 at 12:38am, Thiago Jung Bauermann wrote: > Am Montag, 22 August 2016, 11:21:35 schrieb Dave Young: > > On 08/13/16 at 12:18am, Thiago Jung Bauermann wrote: > > > diff --git a/arch/powerpc/kernel/machine_kexec_64.c > > > b/arch/powerpc/kernel/machine_kexec_64.c index > > >

Re: [PATCH 2/2] proc: task_mmu: Reduce output processing cpu time

2016-08-22 Thread Michal Hocko
On Sat 20-08-16 01:00:17, Joe Perches wrote: [...] > static int proc_maps_open(struct inode *inode, struct file *file, > const struct seq_operations *ops, int psize) > { > - struct proc_maps_private *priv = __seq_open_private(file, ops, psize); > + struct

Re: [PATCH v12 2/7] drm/i915/skl: Add support for the SAGV, fix underrun hangs

2016-08-22 Thread Maarten Lankhorst
Op 18-08-16 om 16:05 schreef Lyude Paul: > On Thu, 2016-08-18 at 09:39 +0200, Maarten Lankhorst wrote: >> Hey, >> >> Op 17-08-16 om 21:55 schreef Lyude: >>> Since the watermark calculations for Skylake are still broken, we're apt >>> to hitting underruns very easily under multi-monitor

Re: [PATCH 1/1] drm: avoid exposing kernel stack in compat_drm_getstats

2016-08-22 Thread Daniel Vetter
On Sun, Aug 21, 2016 at 07:56:19PM +0200, Heinrich Schuchardt wrote: > The C standard does not specify the size of the integer used > to store an enum. Hence in structure drm_stats32_t alignment > bytes may exist. > > To avoid exposing bytes from the kernel stack it is > necessary to initialize

Re: [PATCH] drm/gma500: dont expose bytes from kernel stack

2016-08-22 Thread Daniel Vetter
On Sun, Aug 21, 2016 at 08:39:38PM +0200, Heinrich Schuchardt wrote: > Components m1, m2, p2, dot, vco of variable clock should be > initialized to avoid bytes from the kernel stack to be > exposed. > > Signed-off-by: Heinrich Schuchardt Might be a silly question, but where

Re: [PATCH] usb: chipidea: support generic phy in PM code path

2016-08-22 Thread Peter Chen
On Mon, Aug 22, 2016 at 02:39:21PM +0800, Jisheng Zhang wrote: > Hi Peter, > > On Mon, 22 Aug 2016 13:33:08 +0800 Peter Chen wrote: > > > On Fri, Aug 19, 2016 at 08:10:13PM +0800, Jisheng Zhang wrote: > > > Support generic phy in PM code path: call phy_power_off/phy_power_on > > > in

Re: [PACTH v2 0/3] Implement /proc//totmaps

2016-08-22 Thread Michal Hocko
On Mon 22-08-16 09:07:45, Minchan Kim wrote: [...] > #!/bin/sh > ./smap_test & > pid=$! > > for i in $(seq 25) > do > awk '/^Rss/{rss+=$2} /^Pss/{pss+=$2} END {}' \ > /proc/$pid/smaps > done > kill $pid > > root@bbox:/home/barrios/test/smap# time ./s.sh > pid:21973 > > real

Re: [PATCH 3/3] USB: serial: use IS_ENABLED() instead of checking for built-in or module

2016-08-22 Thread Johan Hovold
On Thu, Aug 18, 2016 at 09:45:06AM -0400, Javier Martinez Canillas wrote: > The IS_ENABLED() macro checks if a Kconfig symbol has been enabled either > built-in or as a module, use that macro instead of open coding the same. > > Using the macro makes the code more readable by helping abstract

Re: [PATCH 2/3] tracing: Add trace_irqsoff tracepoints

2016-08-22 Thread kbuild test robot
Hi Binoy, [auto build test WARNING on tip/perf/core] [also build test WARNING on v4.8-rc3 next-20160819] [if your patch is applied to the wrong git tree, please drop us a note to help improve the system] [Suggest to use git(>=2.9.0) format-patch --base= (or --base=auto for convenience) to

Re: [PATCH v2 1/2] mtd: brcmnand: iProc big endian and ONFI support

2016-08-22 Thread Boris Brezillon
On Fri, 19 Aug 2016 11:14:17 -0400 Kamal Dasu wrote: > Boris > > This change looks good to me. Is this an Acked-by or a Reviewed-by? :) > > > On Wed, Aug 10, 2016 at 10:24 AM, Boris Brezillon > wrote: > > On Wed, 20 Jul 2016

Re: [PATCH 1/1] drm/amdgpu/gmc7: remove dead code

2016-08-22 Thread Christian König
Am 21.08.2016 um 20:06 schrieb Heinrich Schuchardt: In an if block for (running == 0) running cannot be non-zero. Signed-off-by: Heinrich Schuchardt The following patches are all Reviewed-by: Christian König : [PATCH 1/1] drm/amdgpu/gmc7:

Re: [PATCH 1/8] hisi_sas: add internal abort core code

2016-08-22 Thread John Garry
On 21/08/2016 01:44, zhangfei wrote: On 2016年08月10日 21:19, John Garry wrote: Add core code for internal abort functionality. The internal abort features allows the host controller to abort commands which are still active in the controller but have not yet been sent to the slave device.

[PATCH] CacheFiles: remove the check of fstop and bstop

2016-08-22 Thread Shawn Lin
No need to compare them with zero as it should never be less than zero. Signed-off-by: Shawn Lin --- fs/cachefiles/daemon.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/fs/cachefiles/daemon.c b/fs/cachefiles/daemon.c index 1ee54ff..2ee88bd

Re: [PATCH v6 00/14] fix some type infos and bugs for arm64/of numa

2016-08-22 Thread Leizhen (ThunderTown)
Hi everybody: Is this patch series can be accepted or still need to be improved? It seems to have been a long time. Thanks, Zhen Lei On 2016/8/11 17:33, Zhen Lei wrote: > v5 -> v6: > Move memblk nid check from arch/arm64/mm/numa.c into drivers/of/of_numa.c, > because this check is arch

Re: [PACTH v2 0/3] Implement /proc//totmaps

2016-08-22 Thread Michal Hocko
On Fri 19-08-16 10:57:48, Sonny Rao wrote: > On Fri, Aug 19, 2016 at 12:59 AM, Michal Hocko wrote: > > On Thu 18-08-16 23:43:39, Sonny Rao wrote: > >> On Thu, Aug 18, 2016 at 11:01 AM, Michal Hocko wrote: > >> > On Thu 18-08-16 10:47:57, Sonny Rao wrote: >

[PATCH v2] pwm: add pwm driver for HiSilicon BVT SOCs

2016-08-22 Thread Jian Yuan
From: yuanjian Add pwm driver for HiSilicon BVT SOCs Reviewed-by: Jiancheng Xue Signed-off-by: Jian Yuan --- Change Log: v2: The number of PWMs is change to be probeable based on the compatible string.

Re: [PATCH] thermal: rcar_thermal: don't call thermal_zone_device_unregister when USE_OF_THERMAL

2016-08-22 Thread Zhang Rui
On 一, 2016-08-22 at 03:19 +, Kuninori Morimoto wrote: > From: Bui Duc Phuc > > devm_thermal_zone_of_sensor_register() case doesn't need to call > thermal_zone_device_unregister(). > Otherwise, rcar-thermal can't register thermal zone again after > rebind. > This patch

Re: [PATCH v3 2/2] soc: qcom: add l2 cache perf events driver

2016-08-22 Thread kbuild test robot
Hi Neil, [auto build test ERROR on linus/master] [also build test ERROR on v4.8-rc3 next-20160819] [if your patch is applied to the wrong git tree, please drop us a note to help improve the system] [Suggest to use git(>=2.9.0) format-patch --base= (or --base=auto for convenience) to record what

Re: [PATCH v4 10/10] usb: gadget: f_hid: use alloc_ep_req()

2016-08-22 Thread Felipe Balbi
Hi, John Youn writes: > On 8/8/2016 1:30 PM, Felipe F. Tonello wrote: >> Use gadget's framework allocation function instead of directly calling >> usb_ep_alloc_request(). >> >> Signed-off-by: Felipe F. Tonello >> --- >>

Re: [PATCH v3 1/2] Documentation: dt: Add new compatible to sunxi mmc driver bindings

2016-08-22 Thread Maxime Ripard
Hi Icenowy, On Mon, Aug 01, 2016 at 11:13:50PM +0800, Icenowy Zheng wrote: > Signed-off-by: Icenowy Zheng > --- > Changes in v2: > - Rebased on Hans de Goede's patchset. > > Documentation/devicetree/bindings/mmc/sunxi-mmc.txt | 1 + > 1 file changed, 1 insertion(+) > > diff

Re: [RFC PATCH v2 1/2] mm/hugetlb: Introduce ARCH_HAS_GIGANTIC_PAGE

2016-08-22 Thread Michal Hocko
On Mon 22-08-16 10:56:42, Xie Yisheng wrote: > Avoid making ifdef get pretty unwieldy if many ARCHs support gigantic page. > No functional change with this patch. > > Signed-off-by: Xie Yisheng > --- > arch/s390/Kconfig | 1 + > arch/x86/Kconfig | 1 + > fs/Kconfig

Re: [PATCH 2/2] proc: task_mmu: Reduce output processing cpu time

2016-08-22 Thread Joe Perches
On Mon, 2016-08-22 at 09:24 +0200, Michal Hocko wrote: > On Sat 20-08-16 01:00:17, Joe Perches wrote: > [...] > > > >  static int proc_maps_open(struct inode *inode, struct file *file, > >   const struct seq_operations *ops, int psize) > >  { > > - struct proc_maps_private

Re: [RFC PATCH v2 2/2] arm64 Kconfig: Select gigantic page

2016-08-22 Thread Michal Hocko
On Mon 22-08-16 10:56:43, Xie Yisheng wrote: > Arm64 supports gigantic page after > commit 084bd29810a5 ("ARM64: mm: HugeTLB support.") > however, it got broken by > commit 944d9fec8d7a ("hugetlb: add support for gigantic page > allocation at runtime") > > This patch selects

Re: [PATCH 6/6] Add dockerfile

2016-08-22 Thread Dmitry Monakhov
Theodore Ts'o writes: > On Sun, Aug 21, 2016 at 03:02:38PM +0300, Dmitry Monakhov wrote: >> Probably it it reasonable to create dedicated directory ./docker >> and place all docker related crap there: >> # build scripts >> docker/Dockerfile.build-env >> docker/Dockerfile.run-env

Re: [PATCH 3/3] drivers: Add visorbus to the drivers/virt directory

2016-08-22 Thread 'Greg KH'
On Mon, Aug 22, 2016 at 02:48:18AM +, Sell, Timothy C wrote: > > -Original Message- > > From: Greg KH [mailto:gre...@linuxfoundation.org] > > Sent: Sunday, August 21, 2016 2:05 PM > > To: Kershner, David A > > Cc: cor...@lwn.net; t...@linutronix.de;

Re: [PATCH] usb: chipidea: support generic phy in PM code path

2016-08-22 Thread Jisheng Zhang
+ Kishon Hi Peter, Kishon, On Mon, 22 Aug 2016 15:29:07 +0800 Peter Chen wrote: > On Mon, Aug 22, 2016 at 02:39:21PM +0800, Jisheng Zhang wrote: > > Hi Peter, > > > > On Mon, 22 Aug 2016 13:33:08 +0800 Peter Chen wrote: > > > > > On Fri, Aug 19, 2016 at 08:10:13PM +0800, Jisheng Zhang

[PATCH] genirq: fix potential memleak when failing to get irq pm

2016-08-22 Thread Shawn Lin
Obviously we should free action here if irq_chip_pm_get failed. Signed-off-by: Shawn Lin --- kernel/irq/manage.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/kernel/irq/manage.c b/kernel/irq/manage.c index 73a2b78..844d95e 100644 ---

[PATCH 2/4] irqchip/gic: Allow self-SGIs for SMP on UP configurations

2016-08-22 Thread Marc Zyngier
On systems where a single CPU is present, the GIC may not support having SGIs delivered to a target list. In that case, we use the self-SGI mechanism to allow the interrupt to be delivered locally. Tested-by: Fabio Estevam Signed-off-by: Marc Zyngier

[PULL] irqchip fixes for 4.8-rc4

2016-08-22 Thread Marc Zyngier
Hi Thomas, Please find below a handful of fixes targetted at the current cycle. The most important thing is a fix for the trigger configuration on chained irqchip (please see the discussion here[1] for details). The rest is the usual GIC churn, nothing massively critical. Please pull! Thanks,

[PATCH 1/4] genirq: Correctly configure the trigger on chained interrupts

2016-08-22 Thread Marc Zyngier
Commit 1e2a7d78499e ("irqdomain: Don't set type when mapping an IRQ") moved the trigger configuration call from the irqdomain mapping to the interrupt being actually requested. This patch failed to handle the case where we configure a chained interrupt, which doesn't get requested through the

Re: [PATCH] usb: chipidea: support generic phy in PM code path

2016-08-22 Thread Kishon Vijay Abraham I
Hi, On Monday 22 August 2016 01:44 PM, Jisheng Zhang wrote: > + Kishon > > Hi Peter, Kishon, > > On Mon, 22 Aug 2016 15:29:07 +0800 Peter Chen wrote: > >> On Mon, Aug 22, 2016 at 02:39:21PM +0800, Jisheng Zhang wrote: >>> Hi Peter, >>> >>> On Mon, 22 Aug 2016 13:33:08 +0800 Peter Chen wrote:

[PATCH 4/4] irqchip/gicv3-its: Disable the ITS before initializing it

2016-08-22 Thread Marc Zyngier
From: David Daney When starting a kexec/kdump kernel, the GIC ITS will already have been enabled. According to the ARM Generic Interrupt Controller Architecture Specification (GIC architecture Version 3.0 and version 4.0), writing to GITS_BASER or GITS_CBASER is

[PATCH 3/4] irqchip/gicv3: Remove disabling redistributor and group1 non-secure interrupts

2016-08-22 Thread Marc Zyngier
From: Sudeep Holla As per the GICv3 specification, to power down a processor using GICv3 and allow automatic power-on if an interrupt must be sent to a processor, software must set Enable to zero for all interrupt groups(by writing to GICC_CTLR or ICC_IGRPEN{0,1}_EL1/3 as

[RESEND PATCH] genirq: fix potential memleak when failing to get irq pm

2016-08-22 Thread Shawn Lin
Obviously we should free action here if irq_chip_pm_get failed. Signed-off-by: Shawn Lin --- kernel/irq/manage.c | 8 ++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/kernel/irq/manage.c b/kernel/irq/manage.c index 73a2b78..9530fcd 100644 ---

Re: [PATCH 1/2] ARM: dts: Add TOPEET itop core board SCP package version

2016-08-22 Thread Ayaka
Thank you 從我的 iPad 傳送 > Marek Szyprowski 於 2016年8月22日 下午2:50 寫道: > > Dear Randy, > > >> On 2016-08-21 22:04, Randy Li wrote: >> The TOPEET itop is a samsung exnynos 4412 core board, which have >> two package versions. This patch add the support for SCP version. >>

[PATCH v12 4/4] arm: dts: mt2701: Use real clock for UARTs

2016-08-22 Thread Erin Lo
We used to use a fixed rate clock for the UARTs. Now that we have clock support we can associate the correct clocks to the UARTs and drop the 26MHz fixed rate UART clock. Signed-off-by: Erin Lo --- arch/arm/boot/dts/mt2701.dtsi | 18 -- 1 file changed, 8

[PATCH v12 3/4] arm: dts: mt2701: Add clock controller device nodes

2016-08-22 Thread Erin Lo
From: James Liao Add clock controller nodes for MT2701, include topckgen, infracfg, pericfg, apmixedsys, mmsys, imgsys, vdecsys, hifsys, ethsys and bdpsys. This patch also add two oscillators that provide clocks for MT2701. Signed-off-by: James Liao

Re: [tip:perf/core] perf/core: Check return value of the perf_event_read() IPI

2016-08-22 Thread Jiri Olsa
On Mon, Aug 22, 2016 at 09:17:37AM +0200, Jiri Olsa wrote: > On Sun, Aug 21, 2016 at 02:10:07PM +0200, Vegard Nossum wrote: > > SNIP > > > [] ? __fget+0x47/0x270 > > [] vfs_readv+0x8b/0xc0 > > [] do_readv+0xde/0x230 > > [] ? vfs_readv+0xc0/0xc0 > > [] ? exit_to_usermode_loop+0x190/0x190 > > [] ?

[PATCH v12 0/4] Add clock support for Mediatek MT2701

2016-08-22 Thread Erin Lo
This series is based on clk-next, add clock and reset controller support for Mediatek MT2701. Since some patches in v11 had been applied into clk-next, they were not included in v12 series. changes since v11: - Rebase to clk-next. - Return error code from probe() if clock registration fail.

[PATCH v12 1/4] clk: mediatek: Add MT2701 clock support

2016-08-22 Thread Erin Lo
From: Shunli Wang Add MT2701 clock support, include topckgen, apmixedsys, infracfg, pericfg and subsystem clocks. Signed-off-by: Shunli Wang Signed-off-by: James Liao Signed-off-by: Erin Lo

[PATCH v12 2/4] reset: mediatek: Add MT2701 reset driver

2016-08-22 Thread Erin Lo
From: Shunli Wang In infrasys and perifsys, there are many reset control bits for kinds of modules. These bits are used as actual reset controllers to be registered into kernel's generic reset controller framework. Signed-off-by: Shunli Wang

Re: [PATCH 2/2] proc: task_mmu: Reduce output processing cpu time

2016-08-22 Thread Joe Perches
On Mon, 2016-08-22 at 01:00 -0700, Joe Perches wrote: > On Mon, 2016-08-22 at 09:24 +0200, Michal Hocko wrote: > > On Sat 20-08-16 01:00:17, Joe Perches wrote: [] > > > static int proc_maps_open(struct inode *inode, struct file *file, > > >   const struct seq_operations *ops, int

Re: [PATCH v6 3/4] SCT Write Same / DSM Trim

2016-08-22 Thread Tom Yan
As mentioned before, as of the latest draft of ACS-4, nothing about a larger payload size is mentioned. Conservatively speaking, it sort of means that we are allowing four 512-byte block payload on 4Kn device regardless of the reported limit in the IDENTIFY DEVICE data. I am really not sure if

Re: [PATCH] drm/gma500: dont expose bytes from kernel stack

2016-08-22 Thread Jani Nikula
On Sun, 21 Aug 2016, Heinrich Schuchardt wrote: > Components m1, m2, p2, dot, vco of variable clock should be > initialized to avoid bytes from the kernel stack to be > exposed. > > Signed-off-by: Heinrich Schuchardt > --- >

Re: [PATCH] usb: chipidea: support generic phy in PM code path

2016-08-22 Thread Jisheng Zhang
On Mon, 22 Aug 2016 13:53:37 +0530 Kishon Vijay Abraham I wrote: > Hi, > > On Monday 22 August 2016 01:44 PM, Jisheng Zhang wrote: > > + Kishon > > > > Hi Peter, Kishon, > > > > On Mon, 22 Aug 2016 15:29:07 +0800 Peter Chen wrote: > > > >> On Mon, Aug 22, 2016 at 02:39:21PM +0800, Jisheng

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

2016-08-22 Thread Petr Mladek
On Fri 2016-08-19 21:54:31, Chris Metcalf wrote: > On 8/18/2016 10:12 AM, Petr Mladek wrote: > >On Tue 2016-08-16 15:50:21, Chris Metcalf wrote: > >>Currently you can only request a backtrace of either all cpus, or > >>all cpus but yourself. It can also be helpful to request a remote >

Re: [PATCH v6 3/4] SCT Write Same / DSM Trim

2016-08-22 Thread Tom Yan
On 22 August 2016 at 08:31, Tom Yan wrote: > As mentioned before, as of the latest draft of ACS-4, nothing about a > larger payload size is mentioned. Conservatively speaking, it sort of *payload block size > means that we are allowing four 512-byte block payload on 4Kn

[PATCH v2 0/2] ALSA: compress: Fine-tuning for snd_compr_set_params()

2016-08-22 Thread SF Markus Elfring
From: Markus Elfring Date: Mon, 22 Aug 2016 10:27:01 +0200 A few update suggestions were taken into account from static source code analysis. Markus Elfring (2): Restructure source code around an if statement Use memdup_user() sound/core/compress_offload.c |

Re: [PATCH 3/8] media: vidc: decoder: add video decoder files

2016-08-22 Thread Hans Verkuil
On 08/22/2016 03:13 PM, Stanimir Varbanov wrote: > This consists of video decoder implementation plus decoder > controls. > > Signed-off-by: Stanimir Varbanov > --- > drivers/media/platform/qcom/vidc/vdec.c | 1100 > + >

[RESEND PATCH 0/2] pinctrl: meson-gxbb: Export pins for PWMs

2016-08-22 Thread Neil Armstrong
Add PWM pins in the meson-gxbb pinctrl driver and export then in the GXBB dtsi. Resent rebased on git.linaro.org/people/linus.walleij/linux-pinctrl.git branch devel. Neil Armstrong (2): pinctrl: meson-gxbb: add pins for PWM ARM64: dts: meson-gxbb: Add PWM pinctrl nodes

Re: [PATCH 1/2] ARM: dts: Add TOPEET itop core board SCP package version

2016-08-22 Thread Chanwoo Choi
Hi, 2016-08-22 17:28 GMT+09:00 Ayaka : > > Thank you > 從我的 iPad 傳送 > >> Marek Szyprowski 於 2016年8月22日 下午2:50 寫道: >> >> Dear Randy, >> >> >>> On 2016-08-21 22:04, Randy Li wrote: >>> The TOPEET itop is a samsung exnynos 4412 core board, which have >>>

Re: [PATCH] CodingStyle: add some more error handling guidelines

2016-08-22 Thread Michael S. Tsirkin
On Mon, Aug 22, 2016 at 08:16:17AM -0600, Jonathan Corbet wrote: > On Mon, 22 Aug 2016 16:57:46 +0300 > "Michael S. Tsirkin" wrote: > > > commit commit ea04036032edda6f771c1381d03832d2ed0f6c31 ("CodingStyle: > > add some more error handling guidelines") suggests never naming

Re: [PATCH v6 3/4] SCT Write Same / DSM Trim

2016-08-22 Thread Shaun Tancheff
On Mon, Aug 22, 2016 at 3:33 AM, Tom Yan wrote: > On 22 August 2016 at 08:31, Tom Yan wrote: >> As mentioned before, as of the latest draft of ACS-4, nothing about a >> larger payload size is mentioned. Conservatively speaking, it sort of > > *payload

Re: [RFC] Using C99 stdint vs kernel __uX types in kernel drmUAPI (was Re: [PATCH 1/2] Revert "include/uapi/drm/amdgpu_drm.h: use __u32 and __u64 from ")

2016-08-22 Thread Emil Velikov
On 22 August 2016 at 15:38, Daniel Vetter wrote: > On Mon, Aug 22, 2016 at 12:38 PM, Rob Clark wrote: >>> That said, _note_ that some applications are built with -C89 -pedantic >>> [1] which means that using stdint.h may or may not work as expected. >>> So

Re: [PATCH 1/2] PCI/IOV: Add function to allow Function Dependency Link override.

2016-08-22 Thread Bjorn Helgaas
Hi David & Omer, On Fri, Aug 19, 2016 at 03:32:12PM -0700, Omer Khaliq wrote: > From: David Daney > > Some hardware presents an incorrect SR-IOV Function Dependency Link, > add a function to allow this to be overridden in the PF driver for > such devices. > >

Re: [PATCH] i2c: pca953x: fix a lockdep warning

2016-08-22 Thread Linus Walleij
On Mon, Aug 22, 2016 at 4:15 PM, Bartosz Golaszewski wrote: > 2016-08-22 16:06 GMT+02:00 Linus Walleij : >> On Mon, Aug 22, 2016 at 3:29 PM, Bartosz Golaszewski >> wrote: >> >> The $SUBJECT of this patch should be

  1   2   3   4   5   6   7   8   9   10   >