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 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 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 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] 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] 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: [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

[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

[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

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

[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 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_

[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

[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

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

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 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

[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 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;

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 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: [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 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!

[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

[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

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

[-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 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

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 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 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 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: [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

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 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

[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

<    1   2   3   4   5