[PATCH v8 4/4] ARM64: dts: rockchip: add syscon-reboot-mode DT node

2016-04-24 Thread Andy Yan
Add syscon-reboot-mode driver DT node for rk3368 platform Tested-by: Caesar Wang Signed-off-by: Andy Yan --- Changes in v8: None Changes in v7: None Changes in v6: None Changes in v5: None Changes in v4: None Changes in v3: - descirbe all reboot mode as property instead of subnode Changes in

[PATCH v8 3/4] ARM: dts: rockchip: add syscon-reboot-mode DT node

2016-04-24 Thread Andy Yan
Rockchip platform use a SYSCON mapped register store the reboot mode magic value for bootloader to use when system reboot. So add syscon-reboot-mode driver DT node for rk3xxx/rk3036/rk3288 based platform Reviewed-by: Matthias Brugger Signed-off-by: Andy Yan --- Changes in v8: None Changes in v

[PATCH v8 2/4] power: reset: add reboot mode driver

2016-04-24 Thread Andy Yan
This driver parses the reboot commands like "reboot bootloader" and "reboot recovery" to get a boot mode described in the device tree , then call the write interfae to store the boot mode in some place like special register or sram, which can be read by the bootloader after system reboot, then the

Re: [PATCH 1/5] leds: triggers: Allow to switch the trigger to "panic" on a kernel panic

2016-04-24 Thread Jacek Anaszewski
On 04/24/2016 11:29 AM, Pavel Machek wrote: On Sun 2016-04-24 11:25:51, Pavel Machek wrote: On Mon 2016-04-04 17:22:02, Ezequiel Garcia wrote: This commit adds a new led_cdev flag LED_BLINK_AT_PANIC, which allows to mark a specific LED to be switched to the "panic" trigger, on a kernel panic.

Re: uas: order 7 page allocation failure in init_tag_map()

2016-04-24 Thread Hans de Goede
Hi, On 23-04-16 23:10, Johannes Stezenbach wrote: Hi, I bought a new backup disk which turned out to be UAS capable, but when I plugged it in I got an order 7 page allocation failure. My hunch is that the .can_queue = 65536 in drivers/usb/storage/uas.c is much too large. Maybe 256 would be a p

[PATCH v8 1/4] dt-bindings: power: reset: add document for reboot-mode driver

2016-04-24 Thread Andy Yan
Add device tree bindings document for reboot-mode driver. Signed-off-by: Andy Yan Acked-by: Rob Herring Reviewed-by: Krzysztof Kozlowski --- Changes in v8: None Changes in v7: - fix some spelling mistakes - declare that the mode magic should be none-zero value Changes in v6: - fix a typo wit

[PATCH] Cleanup __pvclock_read_cycles to remove useless variables

2016-04-24 Thread Minfei Huang
The value of cycles and flags can be assigned directly without intermediate variables. Remove the useless variables. Signed-off-by: Minfei Huang --- arch/x86/include/asm/pvclock.h | 15 --- 1 file changed, 4 insertions(+), 11 deletions(-) diff --git a/arch/x86/include/asm/pvclock.h

[PATCH v8 0/4] add reboot mode driver

2016-04-24 Thread Andy Yan
This driver parses the reboot commands like "reboot bootloader" and "reboot recovery" to get a boot mode described in the device tree , then call the corresponding write interfae to store the boot mode in some place like special register or ram , which can be read by the bootloader after system r

Re: [PATCH 31/41] Documentation: power: fix spelling mistake

2016-04-24 Thread Viresh Kumar
On 25-04-16, 07:36, Eric Engestrom wrote: > Signed-off-by: Eric Engestrom > --- > Documentation/power/opp.txt | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/Documentation/power/opp.txt b/Documentation/power/opp.txt > index c6279c2..1721a86 100644 > --- a/Documentation/p

[PATCH 29/41] Documentation: lzo: fix spelling mistakes

2016-04-24 Thread Eric Engestrom
Signed-off-by: Eric Engestrom --- Documentation/lzo.txt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Documentation/lzo.txt b/Documentation/lzo.txt index ea45dd3..285c54f 100644 --- a/Documentation/lzo.txt +++ b/Documentation/lzo.txt @@ -69,9 +69,9 @@ Description IM

[PATCH 27/41] Documentation: laptops: fix spelling mistake

2016-04-24 Thread Eric Engestrom
Signed-off-by: Eric Engestrom --- Documentation/laptops/toshiba_haps.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Documentation/laptops/toshiba_haps.txt b/Documentation/laptops/toshiba_haps.txt index 11dbcfd..0c1d88d 100644 --- a/Documentation/laptops/toshiba_haps.txt

[PATCH 31/41] Documentation: power: fix spelling mistake

2016-04-24 Thread Eric Engestrom
Signed-off-by: Eric Engestrom --- Documentation/power/opp.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Documentation/power/opp.txt b/Documentation/power/opp.txt index c6279c2..1721a86 100644 --- a/Documentation/power/opp.txt +++ b/Documentation/power/opp.txt @@ -146,7 +

[PATCH 32/41] Documentation: pps: fix spelling mistake

2016-04-24 Thread Eric Engestrom
Signed-off-by: Eric Engestrom --- Documentation/pps/pps.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Documentation/pps/pps.txt b/Documentation/pps/pps.txt index 7cb7264..50022b3 100644 --- a/Documentation/pps/pps.txt +++ b/Documentation/pps/pps.txt @@ -98,7 +98,7 @@ pps

[PATCH 30/41] Documentation: networking: fix spelling mistakes

2016-04-24 Thread Eric Engestrom
Signed-off-by: Eric Engestrom --- Documentation/networking/altera_tse.txt | 6 +++--- Documentation/networking/ipvlan.txt | 6 +++--- Documentation/networking/pktgen.txt | 6 +++--- Documentation/networking/vrf.txt| 2 +- Documentation/networking/xfrm_sync.txt | 6 +++--- 5 files

[PATCH 36/41] Documentation: sound: fix spelling mistakes

2016-04-24 Thread Eric Engestrom
Signed-off-by: Eric Engestrom --- Documentation/sound/alsa/compress_offload.txt | 2 +- Documentation/sound/alsa/soc/dapm.txt | 2 +- Documentation/sound/alsa/soc/overview.txt | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/Documentation/sound/alsa/compress_offl

[PATCH 35/41] Documentation: scsi: fix spelling mistakes

2016-04-24 Thread Eric Engestrom
Signed-off-by: Eric Engestrom --- Documentation/scsi/ChangeLog.megaraid_sas | 16 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/Documentation/scsi/ChangeLog.megaraid_sas b/Documentation/scsi/ChangeLog.megaraid_sas index 18b5709..20dcf20 100644 --- a/Documentation

[PATCH 33/41] Documentation: RCU: fix spelling mistake

2016-04-24 Thread Eric Engestrom
Signed-off-by: Eric Engestrom --- Documentation/RCU/stallwarn.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Documentation/RCU/stallwarn.txt b/Documentation/RCU/stallwarn.txt index 0f7fb42..e93d041 100644 --- a/Documentation/RCU/stallwarn.txt +++ b/Documentation/RCU/stall

[PATCH 34/41] Documentation: robust-futexes: fix spelling mistakes

2016-04-24 Thread Eric Engestrom
Signed-off-by: Eric Engestrom --- Documentation/robust-futexes.txt | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Documentation/robust-futexes.txt b/Documentation/robust-futexes.txt index af6fce2..61c22d6 100644 --- a/Documentation/robust-futexes.txt +++ b/Documentation

[PATCH 40/41] Documentation: x86: fix spelling mistakes

2016-04-24 Thread Eric Engestrom
Signed-off-by: Eric Engestrom --- Documentation/x86/intel_mpx.txt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Documentation/x86/intel_mpx.txt b/Documentation/x86/intel_mpx.txt index 818518a..1a5a121 100644 --- a/Documentation/x86/intel_mpx.txt +++ b/Documentation/x86/i

[PATCH 39/41] Documentation: vm: fix spelling mistakes

2016-04-24 Thread Eric Engestrom
Signed-off-by: Eric Engestrom --- Documentation/vm/transhuge.txt | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Documentation/vm/transhuge.txt b/Documentation/vm/transhuge.txt index d9cb65c..2f383f6 100644 --- a/Documentation/vm/transhuge.txt +++ b/Documentation/vm/tran

[PATCH 38/41] Documentation: virtual: fix spelling mistake

2016-04-24 Thread Eric Engestrom
Signed-off-by: Eric Engestrom --- Documentation/virtual/kvm/devices/s390_flic.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Documentation/virtual/kvm/devices/s390_flic.txt b/Documentation/virtual/kvm/devices/s390_flic.txt index e3e314c..13a1261 100644 --- a/Documentatio

[PATCH 37/41] Documentation: video4linux: fix spelling mistakes

2016-04-24 Thread Eric Engestrom
Signed-off-by: Eric Engestrom --- Documentation/video4linux/vivid.txt | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Documentation/video4linux/vivid.txt b/Documentation/video4linux/vivid.txt index e35d376..8da5d2a 100644 --- a/Documentation/video4linux/vivid.txt +++ b/

[PATCH 41/41] Documentation: xillybus: fix spelling mistake

2016-04-24 Thread Eric Engestrom
Signed-off-by: Eric Engestrom --- Documentation/xillybus.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Documentation/xillybus.txt b/Documentation/xillybus.txt index 81d111b..1660145 100644 --- a/Documentation/xillybus.txt +++ b/Documentation/xillybus.txt @@ -215,7 +215,7

[PATCH 28/41] Documentation: locking: fix spelling mistakes

2016-04-24 Thread Eric Engestrom
Signed-off-by: Eric Engestrom --- Documentation/locking/lockdep-design.txt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Documentation/locking/lockdep-design.txt b/Documentation/locking/lockdep-design.txt index 5001280..9de1c15 100644 --- a/Documentation/locking/lockdep

Re: next: suspicious RCU usage message since commit 'rcu: Remove superfluous versions of rcu_read_lock_sched_held()'

2016-04-24 Thread Guenter Roeck
On 04/24/2016 10:49 PM, Paul E. McKenney wrote: On Sun, Apr 24, 2016 at 10:37:25PM -0700, Guenter Roeck wrote: On 04/24/2016 10:28 PM, Paul E. McKenney wrote: On Sun, Apr 24, 2016 at 04:56:38PM -0700, Guenter Roeck wrote: Hi Paul, On 04/24/2016 02:31 PM, Paul E. McKenney wrote: On Sun, Apr 2

Re: [Question] Missing data after DMA read transfer

2016-04-24 Thread Nicolas Morey-Chaisemartin
Le 04/20/2016 à 04:56 PM, Nicolas Morey-Chaisemartin a écrit : > Hi everyone, > > Short version: > I'm having an issue with direct DMA transfer from a device to host memory. > It seems some of the data is not transferring to the appropriate page. > > Some more details: > I'm debugging a home made P

Re: [PATCH kernel 0/2] speed up live migration by skipping free pages

2016-04-24 Thread Amit Shah
On (Tue) 19 Apr 2016 [22:34:32], Liang Li wrote: > Current QEMU live migration implementation mark all guest's RAM pages > as dirtied in the ram bulk stage, all these pages will be processed > and it consumes quite a lot of CPU cycles and network bandwidth. > > From guest's point of view, it doesn

Re: next: suspicious RCU usage message since commit 'rcu: Remove superfluous versions of rcu_read_lock_sched_held()'

2016-04-24 Thread Paul E. McKenney
On Sun, Apr 24, 2016 at 10:37:25PM -0700, Guenter Roeck wrote: > On 04/24/2016 10:28 PM, Paul E. McKenney wrote: > >On Sun, Apr 24, 2016 at 04:56:38PM -0700, Guenter Roeck wrote: > >>Hi Paul, > >> > >>On 04/24/2016 02:31 PM, Paul E. McKenney wrote: > >>>On Sun, Apr 24, 2016 at 02:14:24PM -0700, Gue

Re: [PATCH v7 5/8] [media] vcodec: mediatek: Add Mediatek V4L2 Video Encoder Driver

2016-04-24 Thread 李務誠
> > > > ... > > > > > +static int fops_vcodec_open(struct file *file) > > > +{ > > > + struct video_device *vfd = video_devdata(file); > > > + struct mtk_vcodec_dev *dev = video_drvdata(file); > > > + struct mtk_vcodec_ctx *ctx = NULL; > > > + int ret = 0; > > > + > > > + if (dev->instanc

Re: next: suspicious RCU usage message since commit 'rcu: Remove superfluous versions of rcu_read_lock_sched_held()'

2016-04-24 Thread Guenter Roeck
On 04/24/2016 10:28 PM, Paul E. McKenney wrote: On Sun, Apr 24, 2016 at 04:56:38PM -0700, Guenter Roeck wrote: Hi Paul, On 04/24/2016 02:31 PM, Paul E. McKenney wrote: On Sun, Apr 24, 2016 at 02:14:24PM -0700, Guenter Roeck wrote: Hi, I see the following log message when running a qemu test

Re: [PATCH V4 4/4] gpio: tegra: Add support for gpio debounce

2016-04-24 Thread Alexandre Courbot
Sorry, just realized I commented on v3... On Fri, Apr 22, 2016 at 7:09 PM, Laxman Dewangan wrote: > NVIDIA's Tegra210 support the HW debounce in the GPIO controller > for all its GPIO pins. > > Add support for setting debounce timing by implementing the > set_debounce callback of gpiochip. > > Si

Re: [PATCH v2 0/6] Introduce ZONE_CMA

2016-04-24 Thread Joonsoo Kim
On Mon, Apr 25, 2016 at 02:21:04PM +0900, js1...@gmail.com wrote: > From: Joonsoo Kim > > Hello, > > Changes from v1 > o Separate some patches which deserve to submit independently > o Modify description to reflect current kernel state > (e.g. high-order watermark problem disappeared by Mel's wo

Re: next: suspicious RCU usage message since commit 'rcu: Remove superfluous versions of rcu_read_lock_sched_held()'

2016-04-24 Thread Paul E. McKenney
On Sun, Apr 24, 2016 at 04:56:38PM -0700, Guenter Roeck wrote: > Hi Paul, > > On 04/24/2016 02:31 PM, Paul E. McKenney wrote: > >On Sun, Apr 24, 2016 at 02:14:24PM -0700, Guenter Roeck wrote: > >>Hi, > >> > >>I see the following log message when running a qemu test for 'beagle' > >>with omap2plus_

[PATCH v2 3/6] mm/cma: populate ZONE_CMA

2016-04-24 Thread js1304
From: Joonsoo Kim Until now, reserved pages for CMA are managed in the ordinary zones where page's pfn are belong to. This approach has numorous problems and fixing them isn't easy. (It is mentioned on previous patch.) To fix this situation, ZONE_CMA is introduced in previous patch, but, not yet

[PATCH v2 4/6] mm/cma: remove ALLOC_CMA

2016-04-24 Thread js1304
From: Joonsoo Kim Now, all reserved pages for CMA region are belong to the ZONE_CMA and it only serves for GFP_HIGHUSER_MOVABLE. Therefore, we don't need to consider ALLOC_CMA at all. Signed-off-by: Joonsoo Kim --- mm/internal.h | 3 +-- mm/page_alloc.c | 18 ++ 2 files chan

[PATCH v2 6/6] mm/cma: remove per zone CMA stat

2016-04-24 Thread js1304
From: Joonsoo Kim Now, all reserved pages for CMA region are belong to the ZONE_CMA so we don't need to maintain CMA stat in other zones. Remove it. Signed-off-by: Joonsoo Kim --- fs/proc/meminfo.c | 2 +- include/linux/cma.h| 6 ++ include/linux/mmzone.h | 1 - mm/cma.c

[PATCH v2 5/6] mm/cma: remove MIGRATE_CMA

2016-04-24 Thread js1304
From: Joonsoo Kim Now, all reserved pages for CMA region are belong to the ZONE_CMA and there is no other type of pages. Therefore, we don't need to use MIGRATE_CMA to distinguish and handle differently for CMA pages and ordinary pages. Remove MIGRATE_CMA. Unfortunately, this patch make free CMA

[PATCH v2 1/6] mm/page_alloc: recalculate some of zone threshold when on/offline memory

2016-04-24 Thread js1304
From: Joonsoo Kim Some of zone threshold depends on number of managed pages in the zone. When memory is going on/offline, it can be changed and we need to adjust them. This patch add recalculation to appropriate places and clean-up related function for better maintanance. Signed-off-by: Joonsoo

[PATCH v2 2/6] mm/cma: introduce new zone, ZONE_CMA

2016-04-24 Thread js1304
From: Joonsoo Kim Attached cover-letter: This series try to solve problems of current CMA implementation. CMA is introduced to provide physically contiguous pages at runtime without exclusive reserved memory area. But, current implementation works like as previous reserved memory approach, beca

[PATCH v2 0/6] Introduce ZONE_CMA

2016-04-24 Thread js1304
From: Joonsoo Kim Hello, Changes from v1 o Separate some patches which deserve to submit independently o Modify description to reflect current kernel state (e.g. high-order watermark problem disappeared by Mel's work) o Don't increase SECTION_SIZE_BITS to make a room in page flags (detailed reas

我的相片在

2016-04-24 Thread 我的相片在
你的老朋友邀你来Q群:343257759 抢优惠券

Re: [PATCH v7 5/8] [media] vcodec: mediatek: Add Mediatek V4L2 Video Encoder Driver

2016-04-24 Thread tiffany lin
Hi Hans, On Fri, 2016-04-22 at 15:47 +0200, Hans Verkuil wrote: > On 04/22/2016 06:25 AM, Tiffany Lin wrote: > > Add v4l2 layer encoder driver for MT8173 > > > > Signed-off-by: Tiffany Lin > > > > --- > > drivers/media/platform/Kconfig | 16 + > > drivers/media/platform/

Re: [PATCH V4 3/4] gpio: tegra: Get rid of all file scoped global variables

2016-04-24 Thread Alexandre Courbot
On Fri, Apr 22, 2016 at 7:09 PM, Laxman Dewangan wrote: > Move the file scoped multiple global variable from Tegra GPIO > driver to the structure and make this as gpiochip data which > can be referred from GPIO chip callbacks. > > Signed-off-by: Laxman Dewangan > Reviewed-by: Stephen Warren > >

Re: [RFC][PATCH 0/6] /dev/random - a new approach

2016-04-24 Thread Stephan Mueller
Am Sonntag, 24. April 2016, 23:25:00 schrieb Pavel Machek: Hi Pavel, > > /* This RNG does not work if no high-resolution timer is available */ > > BUG_ON(!random_get_entropy() && !random_get_entropy()); > > Heh, does this cause BUG() with 2^-64 probability? :-). No, but for the listed arches, g

Re: [PATCH V3 4/4] gpio: tegra: Add support for gpio debounce

2016-04-24 Thread Alexandre Courbot
On Wed, Apr 20, 2016 at 10:30 PM, Laxman Dewangan wrote: > NVIDIA's Tegra210 support the HW debounce in the GPIO > controller for all its GPIO pins. > > Add support for setting debounce timing by implementing the > set_debounce callback of gpiochip. > > Signed-off-by: Laxman Dewangan > > --- > Ch

[PATCH] sched: don't output cpu sched info by default

2016-04-24 Thread Zhang Long
From: LongX Zhang Users usually install dozens of apps on Android devices. When system memory is used up as thousands of threads might run, Android userspace debug prcoess might dump system info by sysrq. One info is of cpu sched. Usually, one thread has one line dump. Such log is huge sometimes

RE: [PATCH 5/6] Documentation: Binding doc for ethernet master in NS2

2016-04-24 Thread Pramod Kumar
Hi Rob, Thanks for review and providing your valuable comments. > -Original Message- > From: Rob Herring [mailto:r...@kernel.org] > Sent: 23 April 2016 01:44 > To: Pramod Kumar > Cc: Catalin Marinas; Will Deacon; Masahiro Yamada; Chen-Yu Tsai; BCM Kernel > Feedback; Pawel Moll; Mark Rutla

RE: [PATCH 2/6] Documentation: DT binding doc for iProc Shared MDIO Controller.

2016-04-24 Thread Pramod Kumar
Hi Rob, Thanks for reviewing and providing your valuable comments. > -Original Message- > From: Rob Herring [mailto:r...@kernel.org] > Sent: 23 April 2016 01:41 > To: Pramod Kumar > Cc: Catalin Marinas; Will Deacon; Masahiro Yamada; Chen-Yu Tsai; Mark > Rutland; devicet...@vger.kernel.org

Re: [RFC][PATCH 03/31] locking,arc: Implement atomic_fetch_{add,sub,and,andnot,or,xor}()

2016-04-24 Thread Vineet Gupta
On Friday 22 April 2016 07:46 PM, Peter Zijlstra wrote: > On Fri, Apr 22, 2016 at 10:50:41AM +, Vineet Gupta wrote: > >>> > > +#define ATOMIC_FETCH_OP(op, c_op, asm_op) >>> > > \ >>> > > +static inline int atomic_fetch_##op(int i, atomic_t *v) >>> >

Re: [PATCH 2/2 v6] arc: axs10x: Add DT bindings for I2S PLL Clock

2016-04-24 Thread Vineet Gupta
On Thursday 21 April 2016 10:49 PM, Jose Abreu wrote: > Add device tree bindings for AXS10X I2S PLL Clock driver. > > Signed-off-by: Jose Abreu Lets worry about different firmware versions et all after basic patch is merged. I presume this patch will be merged via clk tree ? Acked-by: Vineet Gup

Re: [PATCH] cpufreq: governor: Fix prev_load initialization in cpufreq_governor_start()

2016-04-24 Thread Viresh Kumar
On 25-04-16, 03:07, Rafael J. Wysocki wrote: > From: Rafael J. Wysocki > > The way cpufreq_governor_start() initializes j_cdbs->prev_load is > questionable. > > First off, j_cdbs->prev_cpu_wall used as a denominator in the > computation may be zero. The case this happens is when > get_cpu_idle_

RE: [PATCH 1/6] bus: Add shared MDIO bus framework

2016-04-24 Thread Pramod Kumar
Hi David, Thanks for providing input over the patch. Will address the comment as described below. > -Original Message- > From: David Miller [mailto:da...@davemloft.net] > Sent: 24 April 2016 23:48 > To: pramod.ku...@broadcom.com > Cc: robh...@kernel.org; catalin.mari...@arm.com; will.dea

[PATCH] arm64: fix /proc/cpuinfo for elf32

2016-04-24 Thread Zeng Tao
For elf32 thread, personality is used for arm32, and thread_flag for arm64. Here personality is used for arm64, so fix it. Signed-off-by: Zeng Tao --- arch/arm64/kernel/cpuinfo.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm64/kernel/cpuinfo.c b/arch/arm64/kernel/

Re: [PATCH net-next] hv_netvsc: Fix the list processing for network change event

2016-04-24 Thread David Miller
From: Haiyang Zhang Date: Thu, 21 Apr 2016 16:13:01 -0700 > RNDIS_STATUS_NETWORK_CHANGE event is handled as two "half events" -- > media disconnect & connect. The second half should be added to the list > head, not to the tail. So all events are processed in normal order. > > Signed-off-by: Haiy

Re: [PATCH net] ipv4/fib: don't warn when primary address is missing if in_dev is dead

2016-04-24 Thread David Miller
From: Paolo Abeni Date: Thu, 21 Apr 2016 22:23:31 +0200 > After commit fbd40ea0180a ("ipv4: Don't do expensive useless work > during inetdev destroy.") when deleting an interface, > fib_del_ifaddr() can be executed without any primary address > present on the dead interface. > > The above is saf

Re: [RFC][PATCHSET] reduce messing with iovecs in cifs

2016-04-24 Thread Steve French
Reviewed-by: Steve French Let me know if you want any of them to go in via the cifs tree or prefer going in through your tree (other than patch 1 which could go in the net-next tree are you indicated) On Sat, Apr 9, 2016 at 3:43 PM, Al Viro wrote: > Now that sendmsg/recvmsg do not mangl

[PATCH] Use MICRO UINT_MAX instead of actual value

2016-04-24 Thread Minfei Huang
It's more elegant to use MICRO UINT_MAX to represent the max value of type unsigned int. So replace the actual value by using this MICRO. Signed-off-by: Minfei Huang --- drivers/nvme/host/core.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/nvme/host/core.c b/driver

RE: [PATCH kernel 1/2] mm: add the related functions to build the free page bitmap

2016-04-24 Thread Li, Liang Z
> On Fri, Apr 22, 2016 at 10:48:38AM +0100, Dr. David Alan Gilbert wrote: > > * Michael S. Tsirkin (m...@redhat.com) wrote: > > > On Tue, Apr 19, 2016 at 03:02:09PM +, Li, Liang Z wrote: > > > > > On Tue, 2016-04-19 at 22:34 +0800, Liang Li wrote: > > > > > > The free page bitmap will be sent t

Re: [PATCH 26/41] Documentation: kasan: fix spelling mistake

2016-04-24 Thread Randy Dunlap
On 04/24/16 17:24, Eric Engestrom wrote: > Signed-off-by: Eric Engestrom > --- > Documentation/kasan.txt | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/Documentation/kasan.txt b/Documentation/kasan.txt > index 7dd95b3..9c696e4 100644 > --- a/Documentation/kasan.txt > ++

[PATCH 4/4] thermal: bang-bang governor: act on lower trip boundary

2016-04-24 Thread Caesar Wang
From: Sascha Hauer With interrupt driven thermal zones we pass the lower and upper temperature on which shall be acted, so in the governor we have to act on the exact lower temperature to be consistent. Otherwise an interrupt maybe generated on the exact lower temperature, but the bang bang gover

[PATCH 3/4] thermal: streamline get_trend callbacks

2016-04-24 Thread Caesar Wang
From: Sascha Hauer The .get_trend callback in struct thermal_zone_device_ops has the prototype: int (*get_trend) (struct thermal_zone_device *, int, enum thermal_trend *); whereas the .get_trend callback in struct thermal_zone_of_device_ops has: int (*get

Re: [PATCH 19/41] Documentation: dt: opp: fix spelling mistake

2016-04-24 Thread Viresh Kumar
On 25-04-16, 01:24, Eric Engestrom wrote: > Signed-off-by: Eric Engestrom > --- > Documentation/devicetree/bindings/opp/opp.txt | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/Documentation/devicetree/bindings/opp/opp.txt > b/Documentation/devicetree/bindings/opp/opp.tx

[PATCH 1/4] thermal: Add support for hardware-tracked trip points

2016-04-24 Thread Caesar Wang
From: Sascha Hauer This adds support for hardware-tracked trip points to the device tree thermal sensor framework. The framework supports an arbitrary number of trip points. Whenever the current temperature is updated, the trip points immediately below and above the current temperature are found

[PATCH 2/4] thermal: of: implement .set_trips for device tree thermal zones

2016-04-24 Thread Caesar Wang
From: Sascha Hauer Signed-off-by: Sascha Hauer Signed-off-by: Caesar Wang Cc: Zhang Rui Cc: Eduardo Valentin Cc: linux...@vger.kernel.org --- drivers/thermal/of-thermal.c | 12 include/linux/thermal.h | 4 2 files changed, 16 insertions(+) diff --git a/drivers/therm

[PATCH 0/4] Thermal: Support for hardware-tracked trip points

2016-04-24 Thread Caesar Wang
The history patches come from Mikko and Sascha. http://thread.gmane.org/gmane.linux.power-management.general/59451 Now, I pick them up to continue upstream. Nevermind! Tis series adds support for hardware trip points. It picks up earlier work from Mikko Perttunen. Mikko implemented hardware trip

Re: [PATCH 10/10] cpufreq: mvebu: Use generic platdev driver

2016-04-24 Thread Viresh Kumar
On 23-04-16, 00:42, Arnd Bergmann wrote: > On Thursday 21 April 2016 14:29:02 Viresh Kumar wrote: > > diff --git a/arch/arm/mach-mvebu/pmsu.c b/arch/arm/mach-mvebu/pmsu.c > > index 79d0a5d9da8e..f24f46776fbb 100644 > > --- a/arch/arm/mach-mvebu/pmsu.c > > +++ b/arch/arm/mach-mvebu/pmsu.c > > @@ -68

Re: [PATCH 09/41] Documentation: dt: clock: fix spelling mistakes

2016-04-24 Thread Randy Dunlap
On 04/24/16 17:24, Eric Engestrom wrote: > Signed-off-by: Eric Engestrom > --- > Documentation/devicetree/bindings/clock/rockchip,rk3188-cru.txt | 2 +- > Documentation/devicetree/bindings/clock/rockchip,rk3288-cru.txt | 2 +- > Documentation/devicetree/bindings/clock/st/st,clkgen.txt| 2

Re: [PATCH 04/41] Documentation: cgroup: fix spelling mistakes

2016-04-24 Thread Randy Dunlap
On 04/24/16 17:24, Eric Engestrom wrote: > @@ -1123,7 +1123,7 @@ writeback as follows. > > 6-1. Basics > > -cgroup namespace provides a mechanism to virtualize the view of the > +cgroup namespace provides a mechanism to virtualise the view of the > "/proc/$PID/cgroup" file and cgroup mounts.

[PATCH] clk: fix member type of struct clk_hw_onecell_data

2016-04-24 Thread Masahiro Yamada
We cannot assign any value to an array type variable. So, hw_data->hws = kcalloc(hw_data->num, sizeof(struct clk_hw *), GFP_KERNEL); fails with "invalid use of flexible array member" error. There are two ways to fix this issue. [1] Make it a double-pointer struct c

[PATCH 1/2] bfp tools: Remove expression with no effect

2016-04-24 Thread Florian Fainelli
Assigning "attr" to "attr" does not have any effect, but was caught by Coverity, so let's remove this. Reported-by: coverity (CID 1354720) Fixes: 1b76c13e4b36 ("bpf tools: Introduce 'bpf' library and add bpf feature check") Signed-off-by: Florian Fainelli --- tools/build/feature/test-bpf.c | 1

[PATCH 2/2] bfp tools: Fix syscall argument

2016-04-24 Thread Florian Fainelli
Coverity flagged this under CID 1354884 as a sizeof mismatch, it turns out that the argument "attr" passed to syscall should have been a pointer to attr in the first place. Reported-by: coverity (CID 1354884) Fixes: 8f9e05fb298f ("perf tools: Fix PowerPC native building") Signed-off-by: Florian Fa

[PATCH 0/2] bfp tools: Couple Coverity fixes

2016-04-24 Thread Florian Fainelli
Hi all, Two trivial patches that were flagged by Coverity. Thanks! Florian Fainelli (2): bfp tools: Remove expression with no effect bfp tools: Fix syscall argument tools/build/feature/test-bpf.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) -- 2.7.4

RE: [PATCH] checkpatch: Add support to check already applied git commits

2016-04-24 Thread Du, Changbin
Hi, > From: Joe Perches [mailto:j...@perches.com] > Sent: Monday, April 25, 2016 7:12 AM > To: Andrew Morton ; Andy Whitcroft > > Cc: Du, Changbin ; linux-kernel@vger.kernel.org > Subject: [PATCH] checkpatch: Add support to check already applied git > commits > > It's sometimes useful to scan al

[lkp] [thermal] fd87ba5cc7: general protection fault: 0000 [#1] SMP DEBUG_PAGEALLOC

2016-04-24 Thread kernel test robot
FYI, we noticed the following commit: https://github.com/0day-ci/linux Eduardo-Valentin/thermal-sysfs-rework/20160424-073943 commit fd87ba5cc746cfd6ad36f7a26a77849fb674e2c3 ("thermal: use dev.groups to manage always present tz attributes") on test machine: vm-lkp-wsx03-2G: 2 th

[lkp] [Input] 50fea9b0cf: kmsg.i8042:Unable_to_get_stable_CTR_read

2016-04-24 Thread kernel test robot
FYI, we noticed the following commit: https://github.com/0day-ci/linux Mark-Laws/Input-i8042-Fix-console-keyboard-support-on-Gen2-Hyper-V-VMs/20160422-210451 commit 50fea9b0cfa3721f9320fd422942a662db568a29 ("Input: i8042 - Fix console keyboard support on Gen2 Hyper-V VMs") on test machine: vm-l

Re: [PATCH 25/41] Documentation: filesystems: fix spelling mistakes

2016-04-24 Thread Steve French
Reviewed-by: Steve French On Sun, Apr 24, 2016 at 7:24 PM, Eric Engestrom wrote: > Signed-off-by: Eric Engestrom > --- > Documentation/filesystems/autofs4.txt | 6 +++--- > Documentation/filesystems/cifs/CHANGES | 2 +- > Documentation/filesystems/proc.txt | 4 ++-- > Documentation/filesy

Re: [PATCH RESEND v2 4/4] ARM64: dts: rockchip: add dts file for RK3399 evaluation board

2016-04-24 Thread Caesar Wang
在 2016年04月22日 13:51, Jianqun Xu 写道: This patch add rk3399-evb.dts for RK3399 evaluation board. Tested on RK3399 evb. Signed-off-by: Jianqun Xu --- changes in v2: - remove rk808 since without i2c, which will upstream independently - remove es8316 since without i2c, which will upstream independ

f.s. corruption ext3 kernel 4.4.8

2016-04-24 Thread Barry Kauler
I sent this direct to Greg KH yesterday morning. 24 hours later got an automated reply to send my email to one of the lists. I reckon this is urgent. I have rolled back from 4.4.8 to 4.4.7, have used heavily since then, no problem. So, it's the kernel, not my laptop. Here is my msg to Greg: -

[PATCH v3] sunxi-irq: Fix Kconfig dependency on GENERIC_IRQ_CHIP

2016-04-24 Thread Andre Przywara
The Allwinner NMI irqchip driver requires GENERIC_IRQ_CHIP, but we can't select it directly, because there is no specific Kconfig entry for the driver. Compiling this NMI driver with certain arm64 configurations thus fails due to the missing dependency: drivers/built-in.o: In function `sunxi_sc_nm

[PATCH] cpufreq: governor: Fix prev_load initialization in cpufreq_governor_start()

2016-04-24 Thread Rafael J. Wysocki
From: Rafael J. Wysocki The way cpufreq_governor_start() initializes j_cdbs->prev_load is questionable. First off, j_cdbs->prev_cpu_wall used as a denominator in the computation may be zero. The case this happens is when get_cpu_idle_time_us() returns -1 and get_cpu_idle_time_jiffy() used to re

[PATCH v2] rtl8712: Fixed alignment to match open parenthesis

2016-04-24 Thread Parth Sane
Added missing signed off by line and fixed alignment to match open parenthesis. Signed-off-by: Parth Sane --- drivers/staging/rtl8712/hal_init.c | 9 + 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/drivers/staging/rtl8712/hal_init.c b/drivers/staging/rtl8712/hal_init.c

Re: [PATCH v2] Enhance kvmconfig

2016-04-24 Thread Andrey Utkin
On Sun, Apr 24, 2016 at 10:51:29PM +0200, Borislav Petkov wrote: > On Sun, Apr 24, 2016 at 11:35:53PM +0300, Andrey Utkin wrote: > > Could you please test "make defconfig kvmconfig" how it boots? > > The point of my patch is to enable user to end up with working kernel > > for KVM guest without pre

[PATCH 25/41] Documentation: filesystems: fix spelling mistakes

2016-04-24 Thread Eric Engestrom
Signed-off-by: Eric Engestrom --- Documentation/filesystems/autofs4.txt | 6 +++--- Documentation/filesystems/cifs/CHANGES | 2 +- Documentation/filesystems/proc.txt | 4 ++-- Documentation/filesystems/vfs.txt | 2 +- 4 files changed, 7 insertions(+), 7 deletions(-) diff --git a/Docume

[PATCH 23/41] Documentation: DocBook: fix spelling mistake

2016-04-24 Thread Eric Engestrom
Signed-off-by: Eric Engestrom --- Documentation/DocBook/media/dvb/net.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Documentation/DocBook/media/dvb/net.xml b/Documentation/DocBook/media/dvb/net.xml index d2e44b7..da095ed 100644 --- a/Documentation/DocBook/media/dvb/net.

[PATCH 26/41] Documentation: kasan: fix spelling mistake

2016-04-24 Thread Eric Engestrom
Signed-off-by: Eric Engestrom --- Documentation/kasan.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Documentation/kasan.txt b/Documentation/kasan.txt index 7dd95b3..9c696e4 100644 --- a/Documentation/kasan.txt +++ b/Documentation/kasan.txt @@ -116,7 +116,7 @@ Memory stat

[PATCH 21/41] Documentation: dt: power: fix spelling mistake

2016-04-24 Thread Eric Engestrom
Signed-off-by: Eric Engestrom --- Documentation/devicetree/bindings/power/qcom,coincell-charger.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Documentation/devicetree/bindings/power/qcom,coincell-charger.txt b/Documentation/devicetree/bindings/power/qcom,coincell-charge

[PATCH 20/41] Documentation: dt: pinctrl: fix spelling mistake

2016-04-24 Thread Eric Engestrom
Signed-off-by: Eric Engestrom --- Documentation/devicetree/bindings/pinctrl/qcom,pmic-gpio.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Documentation/devicetree/bindings/pinctrl/qcom,pmic-gpio.txt b/Documentation/devicetree/bindings/pinctrl/qcom,pmic-gpio.txt index a90

[PATCH 24/41] Documentation: fb: fix spelling mistakes

2016-04-24 Thread Eric Engestrom
Signed-off-by: Eric Engestrom --- Documentation/fb/udlfb.txt | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Documentation/fb/udlfb.txt b/Documentation/fb/udlfb.txt index 57d2f29..c985cb6 100644 --- a/Documentation/fb/udlfb.txt +++ b/Documentation/fb/udlfb.txt @@ -9,7 +9

[PATCH 19/41] Documentation: dt: opp: fix spelling mistake

2016-04-24 Thread Eric Engestrom
Signed-off-by: Eric Engestrom --- Documentation/devicetree/bindings/opp/opp.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Documentation/devicetree/bindings/opp/opp.txt b/Documentation/devicetree/bindings/opp/opp.txt index 601256f..ee91cbd 100644 --- a/Documentation/devi

[PATCH 22/41] Documentation: dt: soc: fix spelling mistakes

2016-04-24 Thread Eric Engestrom
Signed-off-by: Eric Engestrom --- .../devicetree/bindings/soc/ti/keystone-navigator-qmss.txt | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Documentation/devicetree/bindings/soc/ti/keystone-navigator-qmss.txt b/Documentation/devicetree/bindings/soc/ti/keyston

[PATCH 14/41] Documentation: dt: media: fix spelling mistake

2016-04-24 Thread Eric Engestrom
Signed-off-by: Eric Engestrom --- Documentation/devicetree/bindings/media/xilinx/video.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Documentation/devicetree/bindings/media/xilinx/video.txt b/Documentation/devicetree/bindings/media/xilinx/video.txt index cbd46fa..68ac21

[PATCH 15/41] Documentation: dt: mfd: fix spelling mistakes

2016-04-24 Thread Eric Engestrom
Signed-off-by: Eric Engestrom --- Documentation/devicetree/bindings/mfd/qcom-rpm.txt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Documentation/devicetree/bindings/mfd/qcom-rpm.txt b/Documentation/devicetree/bindings/mfd/qcom-rpm.txt index 5e97a95..b98b291 100644 --- a

[PATCH 16/41] Documentation: dt: mmc: fix spelling mistake

2016-04-24 Thread Eric Engestrom
Signed-off-by: Eric Engestrom --- Documentation/devicetree/bindings/mmc/mmc-pwrseq-emmc.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Documentation/devicetree/bindings/mmc/mmc-pwrseq-emmc.txt b/Documentation/devicetree/bindings/mmc/mmc-pwrseq-emmc.txt index 0cb827b..3d9

[PATCH 18/41] Documentation: dt: net: fix spelling mistakes

2016-04-24 Thread Eric Engestrom
Signed-off-by: Eric Engestrom --- Documentation/devicetree/bindings/net/hisilicon-hns-nic.txt | 2 +- Documentation/devicetree/bindings/net/stmmac.txt| 4 ++-- Documentation/devicetree/bindings/net/ti,dp83867.txt| 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --

[PATCH 17/41] Documentation: dt: mtd: fix spelling mistake

2016-04-24 Thread Eric Engestrom
Signed-off-by: Eric Engestrom --- Documentation/devicetree/bindings/mtd/brcm,brcmnand.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Documentation/devicetree/bindings/mtd/brcm,brcmnand.txt b/Documentation/devicetree/bindings/mtd/brcm,brcmnand.txt index c2546ce..0f6985b 1

[PATCH 11/41] Documentation: dt: dma: fix spelling mistake

2016-04-24 Thread Eric Engestrom
Signed-off-by: Eric Engestrom --- Documentation/devicetree/bindings/dma/xilinx/xilinx_dma.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Documentation/devicetree/bindings/dma/xilinx/xilinx_dma.txt b/Documentation/devicetree/bindings/dma/xilinx/xilinx_dma.txt index 2291c4

[PATCH 13/41] Documentation: dt: interrupt-controller: fix spelling mistakes

2016-04-24 Thread Eric Engestrom
Signed-off-by: Eric Engestrom --- .../devicetree/bindings/interrupt-controller/ti,omap4-wugen-mpu | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Documentation/devicetree/bindings/interrupt-controller/ti,omap4-wugen-mpu b/Documentation/devicetree/bindings/interrupt

[PATCH 10/41] Documentation: dt: display: fix spelling mistake

2016-04-24 Thread Eric Engestrom
Signed-off-by: Eric Engestrom --- Documentation/devicetree/bindings/display/exynos/exynos_dsim.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Documentation/devicetree/bindings/display/exynos/exynos_dsim.txt b/Documentation/devicetree/bindings/display/exynos/exynos_dsim.t

[PATCH 09/41] Documentation: dt: clock: fix spelling mistakes

2016-04-24 Thread Eric Engestrom
Signed-off-by: Eric Engestrom --- Documentation/devicetree/bindings/clock/rockchip,rk3188-cru.txt | 2 +- Documentation/devicetree/bindings/clock/rockchip,rk3288-cru.txt | 2 +- Documentation/devicetree/bindings/clock/st/st,clkgen.txt| 2 +- 3 files changed, 3 insertions(+), 3 deletions(-

[PATCH 12/41] Documentation: dt: input: fix spelling mistakes

2016-04-24 Thread Eric Engestrom
Signed-off-by: Eric Engestrom --- Documentation/devicetree/bindings/input/ads7846.txt | 2 +- Documentation/devicetree/bindings/input/touchscreen/fsl-mx25-tcq.txt | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Documentation/devicetree/bindings/input/ads784

  1   2   3   >