[PATCH] xfs: clear PF_NOFREEZE for xfsaild kthread

2015-10-25 Thread Jiri Kosina
From: Jiri Kosina Since xfsaild has been converted to kthread in 0030807c, it calls try_to_freeze() during every AIL push iteration. It however doesn't set itself as freezable, and therefore this try_to_freeze() will never do anything. Before (hopefully eventually) kthread freezing gets conve

Re: [PATCH net] macvtap: unbreak receiving of gro skb with frag list

2015-10-25 Thread Jason Wang
On 10/26/2015 02:09 PM, Michael S. Tsirkin wrote: > On Mon, Oct 26, 2015 at 11:15:57AM +0800, Jason Wang wrote: >> >> On 10/23/2015 09:37 PM, Michael S. Tsirkin wrote: >>> On Fri, Oct 23, 2015 at 12:57:05AM -0400, Jason Wang wrote: We don't have fraglist support in TAP_FEATURES. This will le

Re: [net-next PATCH] bpf: Output error message to logbuf when loading

2015-10-25 Thread kbuild test robot
Hi Wang, [auto build test WARNING on net-next/master -- if it's inappropriate base, please suggest rules for selecting the more suitable base] url: https://github.com/0day-ci/linux/commits/Wang-Nan/bpf-Output-error-message-to-logbuf-when-loading/20151026-143920 config: x86_64-randconfig-x019

How is jiffies upation while holding spinlock in Uniprocessor or SMP environment?

2015-10-25 Thread raghu MG
Hello, I have couple of questions. 1) In case of UP how is jiffies(timer) get updated while holding spin lock using spinlock_irq_save? 2)My understanding is in smp environment jiffies updation cannot be done on processor holding spinlock irrespective of spinlock API.So timer interrupt should be en

Re: [net-next PATCH] bpf: Output error message to logbuf when loading

2015-10-25 Thread Wangnan (F)
On 2015/10/26 14:36, Wang Nan wrote: Many reason can make bpf_prog_load() return EINVAL. This patch utilizes logbuf passed from user to deliver the actual reason of failure. Without this patch, people is easy to forget fixing the "version" section in their BPF objects. Signed-off-by: Wang Nan

Re: [PATCH v8] seccomp, ptrace: add support for dumping seccomp filters

2015-10-25 Thread Kees Cook
On Mon, Oct 26, 2015 at 12:39 AM, Oleg Nesterov wrote: > On 10/21, Tycho Andersen wrote: >> >> > And this leads to another question... If we expect that this interface >> > can change later, then perhaps PTRACE_SECCOMP_GET_FILTER should also >> > dump some header before copy_to_user(fprog->filter)

RE: [PATCH v5 0/8] Add support for Exynos SROM Controller driver

2015-10-25 Thread Pavel Fedin
Hello! > Applied, this whole series. Where can i find the recent code to base my series on? I looked at linux-samsung.git but was unable to find it there. Kind regards, Pavel Fedin Expert Engineer Samsung Electronics Research center Russia -- To unsubscribe from this list: send the line "un

Re: [PATCH 11/13] lib/test_printf.c: add test for large bitmaps

2015-10-25 Thread Kees Cook
On Wed, Oct 21, 2015 at 5:30 AM, Rasmus Villemoes wrote: > Following "lib/vsprintf.c: expand field_width to 24 bits", let's add a > test to see that we now actually support bitmaps with 65536 bits. > > Cc: Maurizio Lombardi > Cc: Kees Cook > Cc: Tejun Heo > Signed-off-by: Rasmus Villemoes Ack

Re: [PATCH 09/13] lib/test_printf.c: add a few string tests

2015-10-25 Thread Kees Cook
On Wed, Oct 21, 2015 at 5:30 AM, Rasmus Villemoes wrote: > Cc: Kees Cook > Signed-off-by: Rasmus Villemoes I would expect at least a short commit message, with something like "check string width truncation", but otherwise, I like it. :) Acked-by: Kees Cook -Kees > --- > lib/test_printf.c |

Re: [PATCH 10/13] lib/test_printf.c: account for kvasprintf tests

2015-10-25 Thread Kees Cook
On Wed, Oct 21, 2015 at 5:30 AM, Rasmus Villemoes wrote: > These should also count as performed tests. > > Cc: Kees Cook > Signed-off-by: Rasmus Villemoes Acked-by: Kees Cook -Kees > --- > lib/test_printf.c | 1 + > 1 file changed, 1 insertion(+) > > diff --git a/lib/test_printf.c b/lib/tes

Re: [PATCH 08/13] lib/test_printf.c: check for out-of-bound writes

2015-10-25 Thread Kees Cook
On Wed, Oct 21, 2015 at 5:30 AM, Rasmus Villemoes wrote: > Add a few padding bytes on either side of the test buffer, and check > that these (and the part of the buffer not used) are untouched by > vsnprintf. > > Cc: Kees Cook > Signed-off-by: Rasmus Villemoes Cool, I like this. :) Acked-by: K

[-next] WARNING at iwl_mvm_time_event_send_add+0x72/0x1b6

2015-10-25 Thread Sergey Senozhatsky
Hi, linux-next 20151022 wlp2s0: aborting authentication with 00:04:96:61:cd:e0 by local choice (Reason: 3=DEAUTH_LEAVING) [ cut here ] WARNING: CPU: 0 PID: 1006 at drivers/net/wireless/iwlwifi/mvm/time-event.c:513 iwl_mvm_time_event_send_add+0x72/0x1b6 [iwlmvm]() Module

Re: [PATCH 07/13] lib/test_printf.c: don't BUG

2015-10-25 Thread Kees Cook
On Wed, Oct 21, 2015 at 5:30 AM, Rasmus Villemoes wrote: > BUG is a completely unnecessarily big hammer, and we're more likely to > get the internal bug reported if we just pr_err() and ensure the test > suite fails. > > Cc: Kees Cook > Signed-off-by: Rasmus Villemoes Acked-by: Kees Cook -Kee

[net-next PATCH] bpf: Output error message to logbuf when loading

2015-10-25 Thread Wang Nan
Many reason can make bpf_prog_load() return EINVAL. This patch utilizes logbuf passed from user to deliver the actual reason of failure. Without this patch, people is easy to forget fixing the "version" section in their BPF objects. Signed-off-by: Wang Nan Cc: Alexei Starovoitov Cc: Arnaldo Car

[PATCHv2] Documentation: add new description of path-name lookup.

2015-10-25 Thread Neil Brown
From c38784b876a181eda9a5687e618749157dc96a0e Mon Sep 17 00:00:00 2001 From: NeilBrown Date: Sat, 25 Jul 2015 10:24:41 +1000 Subject: [PATCH] Documentation: add new description of path-name lookup. This document is based on three recent lwn.net articles. Some of the introductory material and link

Re: [PATCH v3 0/4] Simple wait queue support

2015-10-25 Thread Daniel Wagner
On 10/25/2015 09:10 PM, Paul E. McKenney wrote: > On Tue, Oct 20, 2015 at 09:28:06AM +0200, Daniel Wagner wrote: >> Only small updates in this version, like fixing mips and reordering >> two patches to avoid lockdep warning when doing git bissect. Reported >> by Fengguang Wu's build robot. Thanks!

Re: [PATCH 5/5] block: enable dax for raw block devices

2015-10-25 Thread Dave Chinner
On Mon, Oct 26, 2015 at 11:48:06AM +0900, Dan Williams wrote: > On Mon, Oct 26, 2015 at 6:22 AM, Dave Chinner wrote: > > On Thu, Oct 22, 2015 at 11:08:18PM +0200, Jan Kara wrote: > >> Ugh2: Now I realized that DAX mmap isn't safe wrt fs freezing even for > >> filesystems since there's nothing whic

Re: [PATCH 5/5] staging: fsl-mc: Management Complex restool driver

2015-10-25 Thread Dan Carpenter
A few style issues and error handling bugs. See below. On Sun, Oct 25, 2015 at 05:41:23PM -0500, Lijun Pan wrote: > +static int fsl_mc_restool_dev_open(struct inode *inode, struct file *filep) > +{ > + struct fsl_mc_device *root_mc_dev; > + int error = 0; > + struct fsl_mc_io *dynamic

Re: linux 4.2.4 rcu_sched rolls over and barfs after debugger exits

2015-10-25 Thread Jeffrey Merkey
I coded a workaround and tested it. seems to work. Jeff On 10/26/15, Jeffrey Merkey wrote: > I am calling these functions while polling the keyboard inside the > debugger: > > touch_softlockup_watchdog(); > clocksource_touch_watchdog(); > touch_nmi_watchdog(); > > Jeff > > On 10/25/15, Jeffrey

RE: [PATCH v7] can: xilinx: Convert to runtime_pm

2015-10-25 Thread Appana Durga Kedareswara Rao
Hi Marc, > -Original Message- > From: Marc Kleine-Budde [mailto:m...@pengutronix.de] > Sent: Monday, October 26, 2015 1:54 AM > To: Appana Durga Kedareswara Rao; Anirudha Sarangi; w...@grandegger.com; > Michal Simek; Soren Brinkmann > Cc: linux-...@vger.kernel.org; net...@vger.kernel.org;

[PATCH v8] can: xilinx: Convert to runtime_pm

2015-10-25 Thread Kedareswara rao Appana
Instead of enabling/disabling clocks at several locations in the driver, Use the runtime_pm framework. This consolidates the actions for runtime PM In the appropriate callbacks and makes the driver more readable and mantainable. Signed-off-by: Kedareswara rao Appana --- Changes for v8: - Remove

Re: [PATCH net] macvtap: unbreak receiving of gro skb with frag list

2015-10-25 Thread Michael S. Tsirkin
On Mon, Oct 26, 2015 at 11:15:57AM +0800, Jason Wang wrote: > > > On 10/23/2015 09:37 PM, Michael S. Tsirkin wrote: > > On Fri, Oct 23, 2015 at 12:57:05AM -0400, Jason Wang wrote: > >> We don't have fraglist support in TAP_FEATURES. This will lead > >> software segmentation of gro skb with frag l

Re: linux 4.2.4 rcu_sched rolls over and barfs after debugger exits

2015-10-25 Thread Jeffrey Merkey
I am calling these functions while polling the keyboard inside the debugger: touch_softlockup_watchdog(); clocksource_touch_watchdog(); touch_nmi_watchdog(); Jeff On 10/25/15, Jeffrey Merkey wrote: > After using the mdb kernel debugger then exiting, the rcu_sched, due > to its own internal time

Re: [PATCH] staging: ft1000: Remove boolean comparisons

2015-10-25 Thread Luis de Bethencourt
On 25/10/15 02:20, Greg KH wrote: > On Sun, Oct 18, 2015 at 09:58:15PM +0100, Luis de Bethencourt wrote: >> Boolean tests do not need explicit comparison to true or false. >> >> Signed-off-by: Luis de Bethencourt >> --- >> drivers/staging/ft1000/ft1000-pcmcia/ft1000_hw.c | 4 ++-- >> drivers/stag

[PATCH] btrfs: clear PF_NOFREEZE in cleaner_kthread()

2015-10-25 Thread Jiri Kosina
From: Jiri Kosina cleaner_kthread() kthread calls try_to_freeze() at the beginning of every cleanup attempt. This operation can't ever succeed though, as the kthread hasn't marked itself as freezable. Before (hopefully eventually) kthread freezing gets converted to fileystem freezing, we'd ra

[tip:x86/urgent] x86/dma-mapping: Fix arch_dma_alloc_attrs() oops with NULL dev

2015-10-25 Thread tip-bot for Ville Syrjälä
Commit-ID: 298a96c12b2d8fd845ae0c2c21c0a1c0b470f99e Gitweb: http://git.kernel.org/tip/298a96c12b2d8fd845ae0c2c21c0a1c0b470f99e Author: Ville Syrjälä AuthorDate: Sun, 25 Oct 2015 23:11:43 +0200 Committer: Thomas Gleixner CommitDate: Mon, 26 Oct 2015 14:59:36 +0900 x86/dma-mapping: Fix a

Linux 4.2.4 b43 busted and buggy when hostapd loaded

2015-10-25 Thread Jeffrey Merkey
loading hostapd on 4.2.4 results in the driver crashing and failing to load the firmware correctly into the device driver. jeff WARNING: CPU: 0 PID: 1703 at drivers/net/wireless/b43/main.c:2708 b43_upload_microcode+0x492/0x4e0 [b43]() Modules linked in: target_core_iblock target_core_file target_

[git pull] drm fixes

2015-10-25 Thread Dave Airlie
Hi Linus, last fixes from me, one amdgpu/radeon suspend resume and one leak fix, along with one vmware fix for some issues when command submission fails. Dave. The following changes since commit 018155365dccecd9ea9f26e1b26fb0f960c1ee32: Merge tag 'usb-4.3-rc7' of git://git.kernel.org/pub/sc

linux 4.2.4 rcu_sched rolls over and barfs after debugger exits

2015-10-25 Thread Jeffrey Merkey
After using the mdb kernel debugger then exiting, the rcu_sched, due to its own internal timers, rolls over and crashes when it does not get the timeout window it likes.Not caused by memory corruption, just caused by the debugger holding the system suspended then when the system is allowed to r

[RESEND PATCH] staging: wilc1000: return -ENOMEM when kmalloc failed

2015-10-25 Thread Luis de Bethencourt
The driver is using -1 instead of the -ENOMEM defined macro to specify that a buffer allocation failed. Fixes smatch warning and similars: drivers/staging/wilc1000/host_interface.c:1757 Handle_Key() warn: returning -1 instead of -ENOMEM is sloppy Signed-off-by: Luis de Bethencourt --- Hi, Rese

[PATCH] w1: w1_process() is not freezable kthread

2015-10-25 Thread Jiri Kosina
From: Jiri Kosina w1_process() calls try_to_freeze(), but the thread doesn't mark itself freezable through set_freezable(), so the try_to_freeze() call is useless. Signed-off-by: Jiri Kosina --- drivers/w1/w1.c | 1 - 1 file changed, 1 deletion(-) diff --git a/drivers/w1/w1.c b/drivers/w1/w1

Re: [RFC Patch 00/12] IXGBE: Add live migration support for SRIOV NIC

2015-10-25 Thread Lan Tianyu
On 2015年10月24日 02:36, Alexander Duyck wrote: > I was thinking about it and I am pretty sure the dummy write approach is > problematic at best. Specifically the issue is that while you are > performing a dummy write you risk pulling in descriptors for data that > hasn't been dummy written to yet.

[PATCH] xen-blkback: clear PF_NOFREEZE for xen_blkif_schedule()

2015-10-25 Thread Jiri Kosina
From: Jiri Kosina xen_blkif_schedule() kthread calls try_to_freeze() at the beginning of every attempt to purge the LRU. This operation can't ever succeed though, as the kthread hasn't marked itself as freezable. Before (hopefully eventually) kthread freezing gets converted to fileystem freez

Re: [PATCH] keys, trusted: select TPM2 hash algorithm

2015-10-25 Thread Jarkko Sakkinen
On Sun, Oct 25, 2015 at 03:21:31PM -0400, Mimi Zohar wrote: > On Sat, 2015-10-24 at 15:42 +0300, Jarkko Sakkinen wrote: > > Added 'hashalg=' option for selecting the hash algorithm. > > > > Currently available options are: > > > > * sha1 > > * sha256 > > * sha384 > > * sha512 > > * sm3_256 > > P

Re: [PATCH] GHES: Fix cached error-status

2015-10-25 Thread Huang, Ying
Borislav Petkov writes: > On Mon, Oct 26, 2015 at 11:20:35AM +0800, Huang, Ying wrote: >> In ghes_estatus_caches[], for caches with same contents, the cache with >> biggest (newest) cache->time_in should be the first. So if we found one >> cache with too small (old) cache->time_in, we can say th

Re: [PATCH 5/5] arm64: dts: spi bus dts support multiple devices

2015-10-25 Thread lei liu
Hi Sascha, On Wed, 2015-10-14 at 07:58 +0200, Sascha Hauer wrote: > On Wed, Oct 14, 2015 at 11:23:35AM +0800, Leilk Liu wrote: > > This patch support multiple devices for MT8173. > > The subject of this patch and also the above sentence should contain the > board name this patch is changing so th

Re: [PATCH 0/5] mt8173 spi multiple devices support

2015-10-25 Thread lei liu
Hi Mark, On Mon, 2015-10-19 at 20:27 +0100, Mark Brown wrote: > On Wed, Oct 14, 2015 at 11:23:30AM +0800, Leilk Liu wrote: > > This series are based on 4.3-rc1 and provide 5 patches to support > > mt8173 spi multiple devices. > > This doesn't apply against current code, please check and resend.

Re: [PATCH v5 5/6] iommu/mediatek: Add mt8173 IOMMU driver

2015-10-25 Thread Yong Wu
On Wed, 2015-10-14 at 14:53 +0200, Joerg Roedel wrote: > On Fri, Oct 09, 2015 at 10:23:07AM +0800, Yong Wu wrote: > > + /* > > +* There is a domain for each a iommu device in normal case. > > +* But MTK only has one iommu domain called the m4u domain which all > > +* the multimedia HW

Re: [PATCH] ARM: dts: uniphier: add I2C aliases for ProXstream2 boards

2015-10-25 Thread Olof Johansson
On Sat, Oct 24, 2015 at 12:25:31PM +0900, Masahiro Yamada wrote: > Add aliases to fix the I2C indexes like the other UniPhier boards. > > Signed-off-by: Masahiro Yamada Thanks, applied! -Olof -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message t

Re: [PATCH 3/5] irqchip: armada-370-xp: re-enable per-CPU interrupts at resume time

2015-10-25 Thread Thomas Petazzoni
Marcin, On Mon, 26 Oct 2015 05:35:46 +0100, Marcin Wojtas wrote: > Thanks for the explanation - now it's clear. Good :-) Hopefully the explanation in PATCH 5/5 is also clear enough. > Btw, I checked the patches with mvneta in both 'standby' and 'mem' > modes on A38x (with not-yet-submitted supp

Re: [PATCH 3/7] kernel: Avoid softlockups in stop_machine() during heavy printing

2015-10-25 Thread Jan Kara
Hmph, sorry for the x/7 numbering. Patch 7 was the debug patch which I didn't send... Honza On Mon 26-10-15 05:52:46, Jan Kara wrote: > From: Jan Kara > > When there are lots of messages accumulated in printk buffer, printing > t

[PATCH 2/7] printk: Start printing handover kthreads on demand

2015-10-25 Thread Jan Kara
From: Jan Kara Start kthreads for handing over printing only when printk.offload_chars is set to value > 0 (i.e., when print offloading gets enabled). Signed-off-by: Jan Kara --- kernel/printk/printk.c | 78 +- 1 file changed, 64 insertions(+), 1

[PATCH 0/6 v2] printk: Softlockup avoidance

2015-10-25 Thread Jan Kara
From: Jan Kara Hello, here is another posting of the revived patch set to avoid lockups during heavy printing. Lately there were several attempts at dealing with softlockups due to heavy printk traffic [1] [2] and I've been also privately pinged by couple of people about the state of the patch s

[PATCH 6/7] printk: Avoid scheduling printing threads on the same CPU

2015-10-25 Thread Jan Kara
Currently nothing forces the scheduler to schedule printing kthread on the same CPU that is currently doing printing. In fact in some KVM configurations this seems to happen rather frequently and it defeats printing offloading since the current CPU is doing printing and watching for printing kthrea

[PATCH 3/7] kernel: Avoid softlockups in stop_machine() during heavy printing

2015-10-25 Thread Jan Kara
From: Jan Kara When there are lots of messages accumulated in printk buffer, printing them (especially over serial console) can take a long time (tens of seconds). stop_machine() will effectively make all cpus spin in multi_cpu_stop() waiting for the CPU doing printing to print all the messages w

[PATCH 1/7] printk: Hand over printing to console if printing too long

2015-10-25 Thread Jan Kara
From: Jan Kara Currently, console_unlock() prints messages from kernel printk buffer to console while the buffer is non-empty. When serial console is attached, printing is slow and thus other CPUs in the system have plenty of time to append new messages to the buffer while one CPU is printing. Th

[PATCH 5/7] printk: Add config option for disabling printk offloading

2015-10-25 Thread Jan Kara
From: Jan Kara Necessity for offloading of printing was observed only for large systems. So add a config option (disabled by default) which removes most of the overhead added by this functionality. Signed-off-by: Jan Kara --- Documentation/kernel-parameters.txt | 13 +++-- init/Kconfig

[PATCH 4/7] panic: Always flush printk buffer before panic

2015-10-25 Thread Jan Kara
In some cases we may end up killing the CPU holding the console lock while still having valuable data in logbuf. E.g. Vitaly is observing the following: - A crash is happening on one CPU and console_unlock() is being called on some other. - console_unlock() tries to print out the buffer before

Re: [PATCH v2 07/10] hwmon: (fam15h_power) Introduce a cpu accumulated power reporting algorithm

2015-10-25 Thread Borislav Petkov
On Mon, Oct 26, 2015 at 11:46:16AM +0800, Huang Rui wrote: > Actually, yes. I found it too long, so... :) Yeah, just try to apply some good, old-fashioned human common sense when looking at longer lines and deciding whether actually letting them stick out would be better for readability than break

Re: [PATCH v2 06/10] hwmon: (fam15h_power) Add ptsc counter value for accumulated power

2015-10-25 Thread Borislav Petkov
On Mon, Oct 26, 2015 at 11:37:23AM +0800, Huang Rui wrote: > On Fri, Oct 23, 2015 at 06:59:19AM -0700, Guenter Roeck wrote: > > On 10/19/2015 07:28 PM, Huang Rui wrote: > > >PTSC is the performance timestamp counter value in a cpu core and the > > >cores in one compute unit have the fixed frequency

Re: [PATCH 3/5] irqchip: armada-370-xp: re-enable per-CPU interrupts at resume time

2015-10-25 Thread Marcin Wojtas
Thomas, 2015-10-26 1:10 GMT+01:00 Thomas Petazzoni : > Marcin, > > On Sun, 25 Oct 2015 22:22:37 +0100, Marcin Wojtas wrote: > >> > @@ -550,16 +572,27 @@ static void armada_370_xp_mpic_resume(void) >> > if (virq == 0) >> > continue; >> > >> > -

[PATCH v5 8/8] rockchip: make sure timer5 is enabled on rk3036 platforms

2015-10-25 Thread Xing Zheng
The timer5 supplies the architected timer and thus as has to run when the system clocksource and clockevents drivers are registered. --- Changes in v5: Signed-off-by: Xing Zheng Reviewed-by: Heiko Stuebner arch/arm/mach-rockchip/rockchip.c | 44 +++-- 1 file

[PATCH v5 7/8] ARM: dts: enable smp for rk3036

2015-10-25 Thread Xing Zheng
Enable smp for rk3036, and add the smp sram name for adapting. Signed-off-by: Xing Zheng Reviewed-by: Heiko Stuebner --- Changes in v5: None arch/arm/boot/dts/rk3036.dtsi |5 + 1 file changed, 5 insertions(+) diff --git a/arch/arm/boot/dts/rk3036.dtsi b/arch/arm/boot/dts/rk3036.dtsi

[PATCH v5 6/8] ARM: rockchip: add support smp for rk3036

2015-10-25 Thread Xing Zheng
From: Heiko Stuebner The dual-core Cortex A7 rk3036 is a bit special in that it does not allow to control the actual powerdomain of the cpu cores, while the rest of the smp-bringup like reset control and entry address handling stays the same. Its bigger sibling, the quad-core rk3128 again allows

[PATCH v5 5/8] ARM: dts: rockchip: add core rk3036 dts

2015-10-25 Thread Xing Zheng
Initial release for rk3036, node definitions rk3036 sdk board. Signed-off-by: Xing Zheng Reviewed-by: Heiko Stuebner --- Changes in v5: None arch/arm/boot/dts/Makefile |1 + arch/arm/boot/dts/rk3036-evb.dts | 64 + arch/arm/boot/dts/rk3036.dtsi| 536 ++

Re: [PATCH] GHES: Fix cached error-status

2015-10-25 Thread Borislav Petkov
On Mon, Oct 26, 2015 at 11:20:35AM +0800, Huang, Ying wrote: > In ghes_estatus_caches[], for caches with same contents, the cache with > biggest (newest) cache->time_in should be the first. So if we found one > cache with too small (old) cache->time_in, we can say there are no cache > with same co

[PATCH v5 2/8] clk: rockchip: add dt-binding header for rk3036

2015-10-25 Thread Xing Zheng
Add the dt-bindings header for the rk3036, that gets shared between the clock controller and the clock references in the dts. Signed-off-by: Xing Zheng Reviewed-by: Heiko Stuebner --- Changes in v5: None include/dt-bindings/clock/rk3036-cru.h | 195 1 file ch

[PATCH v5 0/8] Build and support rk3036 SoC platform

2015-10-25 Thread Xing Zheng
Hi, We need to support rk3036 soc platform via upstream, there are 3 primary parts for the initial release of minimum system: dts, pinctrl, and clock tree for rk3036, and additional, we can use these startup and run to init processs. Thanks. Changed in v5: - don't use clk_ APIs in the pll init

[PATCH v5 3/8] clk: rockchip: add clock controller for rk3036

2015-10-25 Thread Xing Zheng
Add the clock tree definition for the new rk3036 SoC. Signed-off-by: Xing Zheng Reviewed-by: Heiko Stuebner --- Changes in v5: None drivers/clk/rockchip/Makefile |1 + drivers/clk/rockchip/clk-rk3036.c | 500 + drivers/clk/rockchip/clk.h|

[PATCH v5 4/8] clk: rockchip: add new pll-type for rk3036 and similar socs

2015-10-25 Thread Xing Zheng
The rk3036's pll and clock are different with base on the rk3066(rk3188, rk3288, rk3368 use it), there are different adjust foctors and control registers, so these should be independent and separate from the series of rk3066s. Signed-off-by: Xing Zheng Reviewed-by: Heiko Stuebner --- Changes in

(IPVN) EuP/FRBWDC/EcB-3109/2015,

2015-10-25 Thread European
European Parliament 36 St Peter's St, London N1 8JT, United Kingdom. In consideration of the legislative resolution reached by the European Parliament in conjunctions with the European Central Bank on financial and allied matters,following eries of complaints and petitions received from the off

[PATCH v5 1/8] dt-bindings: add documentation of rk3036 clock controller

2015-10-25 Thread Xing Zheng
Add the devicetree binding for the cru on the rk3036 which quite similar structured as previous clock controllers. Signed-off-by: Xing Zheng Reviewed-by: Heiko Stuebner --- Changes in v5: None .../bindings/clock/rockchip,rk3036-cru.txt | 56 1 file changed, 56 i

Re: [PATCH v3 0/3] ARM: uniphier: add outer cache support and rework SMP operations

2015-10-25 Thread Masahiro Yamada
Hi Arnd, 2015-10-10 15:59 GMT+09:00 Masahiro Yamada : > Hi Arnd, > > > 2015-10-06 15:22 GMT+01:00 Arnd Bergmann : >> On Tuesday 06 October 2015 16:20:23 Arnd Bergmann wrote: >>> On Friday 18 September 2015 13:37:31 Masahiro Yamada wrote: >>> > Hi Olof, >>> > >>> > Now Linux 4.3-rc1 is out, so I a

[PATCH v3] serial: support 16-bit register interface for console

2015-10-25 Thread Masahiro Yamada
Currently, 8-bit (MMIO) and 32-bit (MMIO32) register interfaces are supported for the 8250 console, but the 16-bit (MMIO16) is not. The 8250 UART device on my board is connected to a 16-bit bus and my main motivation is to use earlycon with it. (Refer to arch/arm/boot/dts/uniphier-support-card.dtsi

[PATCH] drivers: usb: removed assignment of 0 to static variables

2015-10-25 Thread Saurabh Sengar
fixing the error reported by script checkpatch.pl static variables blinkenlights and old_scheme_first were initialised to 0, correcting it. Signed-off-by: Saurabh Sengar --- drivers/usb/core/hub.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/usb/core/hub.c b/dr

Administrative Notice

2015-10-25 Thread Help Desk
Help Desk Scheduled Maintenance & Upgrade Your account is in the process of being upgraded to a newest Windows-based servers and an enhanced online email interface inline with internet infrastructure Maintenance. The new servers will provide better anti-spam and anti-virus functions, along w

Re: [PATCH v2 07/10] hwmon: (fam15h_power) Introduce a cpu accumulated power reporting algorithm

2015-10-25 Thread Huang Rui
On Fri, Oct 23, 2015 at 03:28:02PM +0200, Borislav Petkov wrote: > On Tue, Oct 20, 2015 at 10:28:26AM +0800, Huang Rui wrote: > > This patch introduces an algorithm that computes the average power by > > reading a delta value of “core power accumulator” register during > > measurement interval, and

Re: [PATCH v2 06/10] hwmon: (fam15h_power) Add ptsc counter value for accumulated power

2015-10-25 Thread Huang Rui
On Fri, Oct 23, 2015 at 06:59:19AM -0700, Guenter Roeck wrote: > On 10/19/2015 07:28 PM, Huang Rui wrote: > >PTSC is the performance timestamp counter value in a cpu core and the > >cores in one compute unit have the fixed frequency. So it picks up the > >performance timestamp counter value of the

RE: [PATCH v12 3/6] CPM/QE: use genalloc to manage CPM/QE muram

2015-10-25 Thread Zhao Qiang
On Sat, 2015-10-24 at 04:59 AM, Wood Scott-B07421 wrote: > -Original Message- > From: Wood Scott-B07421 > Sent: Saturday, October 24, 2015 4:59 AM > To: Zhao Qiang-B45475 > Cc: linux-kernel@vger.kernel.org; linuxppc-...@lists.ozlabs.org; > lau...@codeaurora.org; Xie Xiaobo-R63061 ; > b..

Re: [PATCH v2 4/8] spi: imx: add selection for iMX53 and iMX6 controller type

2015-10-25 Thread Jiada Wang
Hello Subject: [PATCH v2 4/8] spi: imx: add selection for iMX53 and iMX6 controller type ECSPI contorller for iMX53 and iMX6 has few hardware issues in slave mode and (32*n+1) SPI word size handling comparing to iMX51. The change add possibility to detect the SPI controller is use and apply wo

Re: [PATCH 1/1] x86: Fix reading the current exposure value of UVC

2015-10-25 Thread Laurent Pinchart
Hi Anton, Thank you for the patch. On Sunday 18 October 2015 17:01:26 Anton V. Shokurov wrote: > V4L2_CID_EXPOSURE_ABSOLUTE property does not return an updated value when > autoexposure (V4L2_CID_EXPOSURE_AUTO) is turned on. This patch fixes this > issue by adding the UVC_CTRL_FLAG_AUTO_UPDATE fl

Re: [PATCH] GHES: Fix cached error-status

2015-10-25 Thread Huang, Ying
Hi, Tony, "Luck, Tony" writes: >> ping? > > I'm not actually sure that the code is wrong. As you say it is a pretty > strange loop. > > We seem to want to look at a bunch of conditions, and use "continue" to ignore > bits until we find one that we like the look of. Perhaps as soon as we do, >

Re: [PATCH tip/locking/core v4 1/6] powerpc: atomic: Make *xchg and *cmpxchg a full barrier

2015-10-25 Thread Paul Mackerras
On Wed, Oct 21, 2015 at 10:18:33AM +0200, Peter Zijlstra wrote: > On Tue, Oct 20, 2015 at 02:28:35PM -0700, Paul E. McKenney wrote: > > I am not seeing a sync there, but I really have to defer to the > > maintainers on this one. I could easily have missed one. > > So x86 implies a full barrier fo

Re: [PATCH net] macvtap: unbreak receiving of gro skb with frag list

2015-10-25 Thread Jason Wang
On 10/23/2015 09:37 PM, Michael S. Tsirkin wrote: > On Fri, Oct 23, 2015 at 12:57:05AM -0400, Jason Wang wrote: >> We don't have fraglist support in TAP_FEATURES. This will lead >> software segmentation of gro skb with frag list. Fixes by having >> frag list support in TAP_FEATURES. >> >> With th

[PATCH 2/3][v2] Thermal: handle thermal zone device properly during system sleep

2015-10-25 Thread Chen Yu
From: Zhang Rui Current thermal code does not handle system sleep well because 1. the cooling device cooling state may be changed during suspend 2. the previous temperature reading becomes invalid after resumed because it is got before system sleep 3. updating thermal zone device during suspen

[PATCH 3/3][v2] Thermal: do thermal zone update after a cooling device registered

2015-10-25 Thread Chen Yu
When a new cooling device is registered, we need to update the thermal zone to set the new registered cooling device to a proper state. This fixes a problem that the system is cool, while the fan devices are left running on full speed after boot, if fan device is registered after thermal zone devi

[PATCH 1/3][v2] Thermal: initialize thermal zone device correctly

2015-10-25 Thread Chen Yu
From: Zhang Rui After thermal zone device registered, as we have not read any temperature before, thus tz->temperature should not be 0, which actually means 0C, and thermal trend is not available. In this case, we need specially handling for the first thermal_zone_device_update(). Both thermal c

[PATCH 0/3][v2] Fix thermal problems during suspend/bootup

2015-10-25 Thread Chen Yu
This patch set fixes two problems when system is trying to suspend and boot up: 1.After system is woken up from suspend, the thermal framework uses the dirty 'cached' thermal variables before suspend, which might cause expected behavior. 2.If a cooling device is registered after the thermal zo

Re: [PATCH v6 04/22] of: add function to allow probing a device from a OF node

2015-10-25 Thread Mark Brown
On Mon, Oct 26, 2015 at 03:48:44AM +0100, Rafael J. Wysocki wrote: > On Mon, Oct 26, 2015 at 1:13 AM, Mark Brown wrote: > > Should we try to schedule an ad-hoc session today (Monday) for those of > > us who are here to talk this over? > I won't mind doing that, what about after the Linus+Dirk se

[PATCH] uwb: uwbd() is not freezable kthread

2015-10-25 Thread Jiri Kosina
From: Jiri Kosina uwbd() calls try_to_freeze(), but the thread doesn't mark itself freezable through set_freezable(), so the try_to_freeze() call is useless. Signed-off-by: Jiri Kosina --- drivers/uwb/uwbd.c | 1 - 1 file changed, 1 deletion(-) diff --git a/drivers/uwb/uwbd.c b/drivers/uwb/uw

[PATCH] ACPI/PAD: power_saving_thread() is not freezable

2015-10-25 Thread Jiri Kosina
From: Jiri Kosina power_saving_thread() calls try_to_freeze(), but the thread doesn't mark itself freezable through set_freezable(), so the try_to_freeze() call is useless. Signed-off-by: Jiri Kosina --- drivers/acpi/acpi_pad.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/drivers/acpi/

Re: [PATCH v2 cgroup/for-4.4 3/3] cgroup: replace unified-hierarchy.txt with a proper cgroup v2 documentation

2015-10-25 Thread Zefan Li
On 2015/10/23 9:19, Tejun Heo wrote: From 10d158783de74ad28454ff54556abf89bd85c756 Mon Sep 17 00:00:00 2001 From: Tejun Heo Date: Fri, 23 Oct 2015 10:13:35 +0900 Now that cgroup v2 is almost out of the door, replace the development documentation unified-hierarchy.txt with Documentation/cgroup.

Re: [PATCH 5/5] block: enable dax for raw block devices

2015-10-25 Thread Dan Williams
On Mon, Oct 26, 2015 at 6:22 AM, Dave Chinner wrote: > On Thu, Oct 22, 2015 at 11:08:18PM +0200, Jan Kara wrote: >> Ugh2: Now I realized that DAX mmap isn't safe wrt fs freezing even for >> filesystems since there's nothing which writeprotects pages that are >> writeably mapped. In normal path, pa

Re: [PATCH v6 04/22] of: add function to allow probing a device from a OF node

2015-10-25 Thread Rafael J. Wysocki
On Mon, Oct 26, 2015 at 1:13 AM, Mark Brown wrote: > On Sat, Oct 24, 2015 at 03:09:06PM -0500, Rob Herring wrote: > >> Let's get agreement on the flow and structure and how to address other >> issues like suspend, then we can worry about whether this needs to be >> abstracted from subsystems. We c

RE: [PATCH v12 4/6] QE/CPM: move muram management functions to qe_common

2015-10-25 Thread Zhao Qiang
On Sat, Oct 24, 2015 at 04:56 AM, Wood Scott-B07421 wrote: > -Original Message- > From: Wood Scott-B07421 > Sent: Saturday, October 24, 2015 4:56 AM > To: Zhao Qiang-B45475 > Cc: linux-kernel@vger.kernel.org; linuxppc-...@lists.ozlabs.org; > lau...@codeaurora.org; Xie Xiaobo-R63061 ; > b..

RE: [PATCH v12 6/6] QE: Move QE from arch/powerpc to drivers/soc

2015-10-25 Thread Zhao Qiang
On Sat, Oct 24, 2015 at 04:56 AM, Wood Scott-B07421 wrote: > -Original Message- > From: Wood Scott-B07421 > Sent: Saturday, October 24, 2015 4:56 AM > To: Zhao Qiang-B45475 > Cc: linux-kernel@vger.kernel.org; linuxppc-...@lists.ozlabs.org; > lau...@codeaurora.org; Xie Xiaobo-R63061 ; > b..

Runtime problems since next-20151008 with qemu/beagle boards

2015-10-25 Thread Guenter Roeck
Hi all, ever since next-20101008, I am having trouble running beagle board configurations in qemu. Example is multi_v7_defconfig with omap3-beagle devicetree file, or with omap3-beagle-xm. The system just doesn't boot anymore (no kernel log messages). I have tried to bisect twice, but I don't get

Re: [PATCH v2 01/10] hwmon: (fam15h_power) Refactor attributes for dynamically added

2015-10-25 Thread Huang Rui
On Sun, Oct 25, 2015 at 07:14:27PM -0700, Guenter Roeck wrote: > On Mon, Oct 26, 2015 at 09:58:45AM +0800, Huang Rui wrote: > > On Fri, Oct 23, 2015 at 06:42:20AM -0700, Guenter Roeck wrote: > > > On 10/19/2015 07:28 PM, Huang Rui wrote: > > > >Attributes depend on the CPU model the driver gets loa

Re: [PATCH v2 2/3] ARM: dts: sun8i: Add Allwinner A83T dtsi

2015-10-25 Thread Chen-Yu Tsai
On Fri, Oct 23, 2015 at 7:46 AM, Vishnu Patekar wrote: > Allwinner A83T is new octa-core cortex-a7 SOC. > This adds the basic dtsi, the clocks differs from > earlier sun8i SOCs. > > Signed-off-by: Vishnu Patekar > --- > arch/arm/boot/dts/sun8i-a83t.dtsi | 247 > +

Re: [PATCH v2 02/10] hwmon: (fam15h_power) Enable power1_input on AMD Carrizo

2015-10-25 Thread Huang Rui
On Fri, Oct 23, 2015 at 06:45:59AM -0700, Guenter Roeck wrote: > On 10/19/2015 07:28 PM, Huang Rui wrote: > >This patch enables power1_input attribute for Carrizo platform. > > > >Signed-off-by: Huang Rui > >Cc: Borislav Petkov > >Cc: Guenter Roeck > >Cc: Peter Zijlstra > >Cc: Ingo Molnar > >-

Re: [PATCH tip/locking/core v4 1/6] powerpc: atomic: Make *xchg and *cmpxchg a full barrier

2015-10-25 Thread Michael Ellerman
On Wed, 2015-10-21 at 12:36 -0700, Paul E. McKenney wrote: > On Wed, Oct 21, 2015 at 10:18:33AM +0200, Peter Zijlstra wrote: > > On Tue, Oct 20, 2015 at 02:28:35PM -0700, Paul E. McKenney wrote: > > > I am not seeing a sync there, but I really have to defer to the > > > maintainers on this one.

Re: [PATCH v2 01/10] hwmon: (fam15h_power) Refactor attributes for dynamically added

2015-10-25 Thread Guenter Roeck
On Mon, Oct 26, 2015 at 09:58:45AM +0800, Huang Rui wrote: > On Fri, Oct 23, 2015 at 06:42:20AM -0700, Guenter Roeck wrote: > > On 10/19/2015 07:28 PM, Huang Rui wrote: > > >Attributes depend on the CPU model the driver gets loaded on. > > >Therefore, add those attributes dynamically at init time.

Re: [PATCH v2 01/10] hwmon: (fam15h_power) Refactor attributes for dynamically added

2015-10-25 Thread Huang Rui
On Fri, Oct 23, 2015 at 06:42:20AM -0700, Guenter Roeck wrote: > On 10/19/2015 07:28 PM, Huang Rui wrote: > >Attributes depend on the CPU model the driver gets loaded on. > >Therefore, add those attributes dynamically at init time. This is more > >flexible to control the different attributes on dif

Re: [PATCH tip/locking/core v4 1/6] powerpc: atomic: Make *xchg and *cmpxchg a full barrier

2015-10-25 Thread Boqun Feng
On Wed, Oct 21, 2015 at 12:36:38PM -0700, Paul E. McKenney wrote: > On Wed, Oct 21, 2015 at 10:18:33AM +0200, Peter Zijlstra wrote: > > On Tue, Oct 20, 2015 at 02:28:35PM -0700, Paul E. McKenney wrote: > > > I am not seeing a sync there, but I really have to defer to the > > > maintainers on this o

Re: [PATCH v3 3/4] soc: qcom: smd: Use __ioread32_copy() instead of open-coding it

2015-10-25 Thread Andy Gross
On Fri, Oct 23, 2015 at 01:01:51PM -0700, Stephen Boyd wrote: > Now that we have a generic library function for this, replace the > open-coded instance. > > Cc: Bjorn Andersson > Signed-off-by: Stephen Boyd > --- Acked-by: Andy Gross -- Qualcomm Innovation Center, Inc. The Qualcomm Innovatio

Re: [PATCH 2/3][v2] ACPI: Using correct irq when waiting for events

2015-10-25 Thread Fengguang Wu
er.kernel.org > > > > Subject: Re: [PATCH 2/3][v2] ACPI: Using correct irq when waiting > > > > for events > > > > > > > > Hi Chen, > > > > > > > > [auto build test ERROR on pm/linux-next -- if it's inappropriate > > >

Re: [PATCH net-next 2/3] bpf: introduce bpf_perf_event_output() helper

2015-10-25 Thread Wangnan (F)
On 2015/10/24 1:25, Alexei Starovoitov wrote: On 10/23/15 9:42 AM, Peter Zijlstra wrote: On Fri, Oct 23, 2015 at 08:02:00AM -0700, Alexei Starovoitov wrote: On 10/23/15 7:39 AM, Peter Zijlstra wrote: On Tue, Oct 20, 2015 at 08:02:34PM -0700, Alexei Starovoitov wrote: +static const struct bp

RE: [PATCH 2/3][v2] ACPI: Using correct irq when waiting for events

2015-10-25 Thread Chen, Yu C
gt; for events > > > > > > Hi Chen, > > > > > > [auto build test ERROR on pm/linux-next -- if it's inappropriate > > > base, please suggest rules for selecting the more suitable base] > > > > > > url:https://github.com/0day-ci/linux/

[PATCH v2 2/4] x86/signal/64: Fix SS if needed when delivering a 64-bit signal

2015-10-25 Thread Andy Lutomirski
Signals are always delivered to 64-bit tasks with CS set to a long mode segment. In long mode, SS doesn't matter, as long as it's a present writable segment. If SS starts out invalid (this can happen if the signal was caused by an IRET fault or was delivered on the way out of set_thread_area or m

Re: [PATCH 1/2] can: xilinx: use readl/writel instead of ioread/iowrite

2015-10-25 Thread Arnd Bergmann
On Sunday 25 October 2015, Marc Kleine-Budde wrote: > On 10/22/2015 10:58 AM, Arnd Bergmann wrote: > >>> The two should really do the same thing: iowrite32() is just a static > >>> inline > >>> calling writel() on both ARM32 and ARM64. On which kernel version did you > >>> observe the difference?

  1   2   3   4   5   >