[PATCH-tip 0/3] locking/rwsem: Minor twists to improve rwsem performance

2017-02-22 Thread Waiman Long
Patch 1 checks wait_list without lock when spinners are present. Patch 2 moves down the rwsem_down_read_failed() function after the optimistic spinning section so that functions in that section can be used. Patch 3 undoes active read lock ASAP when either the spinners are present or the trylock

Re: [GIT PULL] arm64: updates for 4.11

2017-02-22 Thread Will Deacon
On Wed, Feb 22, 2017 at 09:10:14AM -0800, Linus Torvalds wrote: > On Wed, Feb 22, 2017 at 8:28 AM, Will Deacon wrote: > > > > Please pull the following arm64 updates for 4.11. The summary is in the > > tag below. > > Hmm. This was marked as spam for me. No idea why, it

[PATCH 1/2] Staging: xgifb:XGI_main_26: Added braces to the 'if' statement

2017-02-22 Thread Georgios Emmanouil
Coding style issue. Added brances to the 'if' statement. Signed-off-by: Georgios Emmanouil --- drivers/staging/xgifb/XGI_main_26.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/staging/xgifb/XGI_main_26.c

Re: [GIT PULL] Block pull request for- 4.11-rc1

2017-02-22 Thread Linus Torvalds
On Wed, Feb 22, 2017 at 10:14 AM, Jens Axboe wrote: > > What do you mean by "the regular IO scheduler"? These are different > schedulers. Not to the user they aren't. If the user already answered once about the IO schedulers, we damn well shouldn't ask again abotu another small

Re: [GIT PULL] Block pull request for- 4.11-rc1

2017-02-22 Thread Jens Axboe
On 02/22/2017 11:42 AM, Linus Torvalds wrote: > On Wed, Feb 22, 2017 at 10:26 AM, Linus Torvalds > wrote: >> >> And dammit, IF YOU DON'T EVEN KNOW, WHY THE HELL ARE YOU ASKING THE POOR >> USER? > > Basically, I'm pushing back on config options that I can't

[PATCH -next] phy: phy-qcom-usb-hs needs EXTCON

2017-02-22 Thread Randy Dunlap
efined reference to `extcon_get_edev_by_phandle' Signed-off-by: Randy Dunlap <rdun...@infradead.org> Cc: Kishon Vijay Abraham I <kis...@ti.com> --- drivers/phy/Kconfig |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) --- linux-next-20170222.orig/drivers/phy/Kconfig +++ linux-nex

How are you and how is business?

2017-02-22 Thread IInvanka
How are you and how is business? I'm contacting you on behalf of the former personal assistant to the former President of Taiwan ( Mr. Chen Shui-bian) on private matters. He humbly request your assistance. An investment was placed under his management 5 years ago by Mr. Chen Shui-bian. He needs

Re: [GIT PULL] Block pull request for- 4.11-rc1

2017-02-22 Thread Linus Torvalds
On Wed, Feb 22, 2017 at 10:58 AM, Jens Axboe wrote: > On 02/22/2017 11:56 AM, Linus Torvalds wrote: > > OK, so here's what I'll do: > > 1) We'll kill the default scheduler choices. sq blk-mq will default to >mq-deadline, mq blk-mq will default to "none" (at least for now,

ppc64 build failure if VIRT_CPU_ACCOUNTING_NATIVE is not enabled

2017-02-22 Thread Guenter Roeck
Hi, ppc64 builds fail as follows if VIRT_CPU_ACCOUNTING_NATIVE is disabled. arch/powerpc/kernel/time.c: In function 'running_clock': arch/powerpc/kernel/time.c:712:2: error: implicit declaration of function 'cputime_to_nsecs' Since commit f22d6df0b23e, cputime_to_nsecs() is only

Re: [PATCH v2] staging: wilc1000: renames struct tstrRSSI and its members u8Index, u8Full

2017-02-22 Thread Arend Van Spriel
On 22-2-2017 18:14, Tahia Khan wrote: > Fixes multiple camel case checks on struct tstrRSSI from checkpatch.pl: > > Avoid CamelCase: > Avoid CamelCase: > Avoid CamelCase: Just a generic remark that may help you with other changes you will be making in the linux kernel. Warnings from

Re: [PATCH v5 1/3] [media] exynos-gsc: Use user configured colorspace if provided

2017-02-22 Thread Nicolas Dufresne
Le mercredi 22 février 2017 à 15:57 -0300, Thibault Saunier a écrit : > On 02/22/2017 03:06 PM, Hans Verkuil wrote: > > > > On 02/22/2017 05:05 AM, Thibault Saunier wrote: > > > Hello, > > > > > > > > > On 02/21/2017 11:19 PM, Hans Verkuil wrote: > > > > On 02/21/2017 11:20 AM, Thibault Saunier

Re: [PATCH 2/3] [media] tc358743: Add OF device ID table

2017-02-22 Thread Mats Randgaard (matrandg)
CC: Philipp Zabel who added device tree support to this driver Regards, Mats Randgaard On 02/22/2017 05:11 PM, Javier Martinez Canillas wrote: The driver doesn't have a struct of_device_id table but supported devices are registered via Device Trees. This is working on the assumption that a

Re: [PATCH] target/user: Add daynmic growing data area feature support

2017-02-22 Thread Andy Grover
On 02/17/2017 01:24 AM, lixi...@cmss.chinamobile.com wrote: > From: Xiubo Li > > Currently for the TCMU, the ring buffer size is fixed to 64K cmd > area + 1M data area, and this will be bottlenecks for high iops. Hi Xiubo, thanks for your work. daynmic -> dynamic

Re: [PATCH 4/9] tools: convert dso.refcnt from atomic_t to refcount_t

2017-02-22 Thread Arnaldo Carvalho de Melo
Em Wed, Feb 22, 2017 at 05:37:46PM -0300, Arnaldo Carvalho de Melo escreveu: > Em Tue, Feb 21, 2017 at 05:34:58PM +0200, Elena Reshetova escreveu: > > refcount_t type and corresponding API should be > > used instead of atomic_t when the variable is used as > > a reference counter. This allows to

Re: [PATCH] qlogic: qlcnic_sysfs: constify bin_attribute structures

2017-02-22 Thread David Miller
From: Bhumika Goyal Date: Wed, 22 Feb 2017 00:11:17 +0530 > Declare bin_attribute structures as const as they are only passed as an > arguments to the functions device_remove_bin_file and > device_create_bin_file. These function arguments are of type const, so > bin_attribute

Re: [PATCH] qlogic: netxen: constify bin_attribute structures

2017-02-22 Thread David Miller
From: Bhumika Goyal Date: Wed, 22 Feb 2017 00:17:48 +0530 > Declare bin_attribute structures as const as they are only passed as an > arguments to the functions device_remove_bin_file and > device_create_bin_file. These function arguments are of type const, so > bin_attribute

Re: [PATCH] dt-bindings: net: generalize moxart-mac to support all faraday based ftmac IP

2017-02-22 Thread Rob Herring
On Tue, Feb 14, 2017 at 04:56:30PM +0800, Greentime Hu wrote: > Andestech and moxa use the same faraday mac IP, so we use faraday,ftmac.txt > to describe it. Please wrap your lines. > Signed-off-by: Greentime Hu > --- > .../net/{moxa,moxart-mac.txt => faraday,ftmac.txt} |

Re: [PATCH 2/7] dt-bindings: rk1108-cru: rename RK1108 to RV1108

2017-02-22 Thread Rob Herring
On Mon, Feb 13, 2017 at 07:04:17PM +0800, Andy Yan wrote: > Rockchip finally named the SOC as RV1108, so change it. > > Signed-off-by: Andy Yan > --- > > .../{rockchip,rk1108-cru.txt => rockchip,rv1108-cru.txt} | 12 > ++-- > 1 file changed, 6

[PATCH 0/2] Add Northstar plus suport to PDC mailbox driver

2017-02-22 Thread Steve Lin
Adds support for Broadcom Northstar+ to mailbox (PDC) driver. Patch 1/2: Driver code and Kconfig changes Patch 2/2: Device tree and documentation changes Steve Lin (2): mailbox: bcm-pdc: Add Northstar Plus support to PDC driver ARM: dts: NSP: Add mailbox (PDC) to NSP

Re: LED devices & poll() for brightness attribute

2017-02-22 Thread Pavel Machek
On Wed 2017-02-22 13:39:29, Pali Rohár wrote: > On Wednesday 22 February 2017 13:25:57 Pavel Machek wrote: > > Hi! > > > > > But this support is useful just for one single central userspace > > > application which will control all leds in system other application > > > which will change state by

Re: [RFC PATCH] mm/vmscan: fix high cpu usage of kswapd if there

2017-02-22 Thread Johannes Weiner
On Wed, Feb 22, 2017 at 03:16:57PM -0500, Johannes Weiner wrote: > [...] And then it sounds pretty much like what the allocator/direct > reclaim already does. On a side note: Michal, I'm not sure I fully understand why we need the backoff code in should_reclaim_retry(). If no_progress_loops is

Re: [PATCH 6/9] tools: convert map_groups.refcnt from atomic_t to refcount_t

2017-02-22 Thread Arnaldo Carvalho de Melo
Em Tue, Feb 21, 2017 at 05:35:00PM +0200, Elena Reshetova escreveu: > refcount_t type and corresponding API should be > used instead of atomic_t when the variable is used as > a reference counter. This allows to avoid accidental > refcounter overflows that might lead to use-after-free >

Re: Looking more details and reasons for using orig_add_limit.

2017-02-22 Thread Mauro Carvalho Chehab
HI Sodagudi, Em Tue, 21 Feb 2017 06:20:58 -0800 Sodagudi Prasad escreveu: > Hi mchehab/linux-media, > > It is not clear why KERNEL_DS was set explicitly here. In this path > video_usercopy() gets called and it > copies the “struct v4l2_buffer” struct to user space

Re: Looking more details and reasons for using orig_add_limit.

2017-02-22 Thread Laurent Pinchart
Hi Prasad, On Tuesday 21 Feb 2017 06:20:58 Sodagudi Prasad wrote: > Hi mchehab/linux-media, > > It is not clear why KERNEL_DS was set explicitly here. In this path > video_usercopy() gets called and it > copies the “struct v4l2_buffer” struct to user space stack memory. > > Can you please

Re: [PATCH] arch/x86/kernel/tsc.c : set X86_FEATURE_ART for TSC on CPUs like i7-4910MQ : bug #194609

2017-02-22 Thread Thomas Gleixner
On Wed, 22 Feb 2017, Jason Vas Dias wrote: > Yes, my CPU is still getting a fault every time the TSC_ADJUST MSR is > read or written . It is probably because it genuinuely does not support > any cpuid > 13 , or the modern TSC_ADJUST interface. Err no. TSC_ADJUST is available when CPUID(70 EBX

Re: [GIT PULL] Staging/IIO driver patches for 4.11-rc1

2017-02-22 Thread Linus Torvalds
On Wed, Feb 22, 2017 at 6:56 AM, Greg KH wrote: > > =?UTF-8?q?Simon=20Sandstr=C3=B6m?= (1): > staging: vt6656: Add missing identifier names Wow, your scripts really screwed up that name. I'm assuming this is quilt not doing proper character set handling..

Re: [PATCH] score: Add missing include files

2017-02-22 Thread Guenter Roeck
On Wed, Feb 22, 2017 at 02:46:33PM -0500, Paul Gortmaker wrote: > [[PATCH] score: Add missing include files] On 22/02/2017 (Wed 11:07) Guenter > Roeck wrote: > > > Kernel builds fail with > > > > arch/score/kernel/traps.c: In function 'do_ri': > > arch/score/kernel/traps.c:248:4: error: > >

Re: [PATCH 1/2] workqueue: Add new function mod_fwd_delayed_work()

2017-02-22 Thread Harald Geyer
Mark Brown writes: > On Wed, Feb 22, 2017 at 05:41:24PM +, Harald Geyer wrote: > > Drivers calling queue_delayed_work() or mod_delayed_work() multiple times > > on the same work without coordination get undefined behaviour. Add a new > > function, which is easier to use. > > The obvious

Re: [PATCH] arch/x86/kernel/tsc.c : set X86_FEATURE_ART for TSC on CPUs like i7-4910MQ : bug #194609

2017-02-22 Thread Jason Vas Dias
I actually tried adding a 'notsc_adjust' kernel option to disable any setting or access to the TSC_ADJUST MSR, but then I see the problems - a big disparity in values depending on which CPU the thread is scheduled - and no improvement in clock_gettime() latency. So I don't think the new

Re: Looking more details and reasons for using orig_add_limit.

2017-02-22 Thread Mauro Carvalho Chehab
Em Wed, 22 Feb 2017 21:53:08 +0200 Laurent Pinchart escreveu: > Hi Prasad, > > On Tuesday 21 Feb 2017 06:20:58 Sodagudi Prasad wrote: > > Hi mchehab/linux-media, > > > > It is not clear why KERNEL_DS was set explicitly here. In this path > > video_usercopy()

Re: [PATCH 4/9] tools: convert dso.refcnt from atomic_t to refcount_t

2017-02-22 Thread Arnaldo Carvalho de Melo
Em Tue, Feb 21, 2017 at 05:34:58PM +0200, Elena Reshetova escreveu: > refcount_t type and corresponding API should be > used instead of atomic_t when the variable is used as > a reference counter. This allows to avoid accidental > refcounter overflows that might lead to use-after-free >

Re: [PATCH 3/9] tools: convert comm_str.refcnt from atomic_t to refcount_t

2017-02-22 Thread Arnaldo Carvalho de Melo
Em Tue, Feb 21, 2017 at 05:34:57PM +0200, Elena Reshetova escreveu: > refcount_t type and corresponding API should be > used instead of atomic_t when the variable is used as > a reference counter. This allows to avoid accidental > refcounter overflows that might lead to use-after-free >

[PATCH 1/2] mailbox: bcm-pdc: Add Northstar Plus support to PDC driver

2017-02-22 Thread Steve Lin
Adds support for Northstar Plus (NS+) products to the PDC mailbox driver. The PDC driver was originally written to support the PDC ring manager in the Northstar2 (64-bit) device. The NS+ (32 bit device) uses an almost identical ring manager, though with a different name. We just need to check

[PATCH 2/2] ARM: dts: NSP: Add mailbox (PDC) to NSP

2017-02-22 Thread Steve Lin
Adds mailbox / PDC to NSP device tree. Needs new compatibility string to differentiate from NS2 version. Signed-off-by: Steve Lin --- .../devicetree/bindings/mailbox/brcm,iproc-pdc-mbox.txt | 6 -- arch/arm/boot/dts/bcm-nsp.dtsi

Re: v4.10: kernel stack frame pointer .. has bad value (null)

2017-02-22 Thread Pavel Machek
Hi! > > Thinkpad X220, in 32 bit mode... and I'm getting rather scary messages > > from kernel during boot: > > > > Git blame says that message comes from commit > > > > commit 24d86f59093b0bcb3756cdf47f2db10ff4e90dbb > > Author: Josh Poimboeuf > > Date: Thu Oct 27

[PATCH 1/1] ARM: dts: BCM953012HR: Initial Checkin

2017-02-22 Thread Steve Lin
Initial version of DTS to support Broadcom BCM953012HR Northstar HR platform, similar to, but not the same as existing 953012K. Signed-off-by: Steve Lin --- arch/arm/boot/dts/Makefile| 1 + arch/arm/boot/dts/bcm953012hr.dts | 115

Re: [PATCH v2] net/dccp: fix use after free in tw_timer_handler()

2017-02-22 Thread David Miller
From: Andrey Ryabinin Date: Wed, 22 Feb 2017 12:35:27 +0300 > DCCP doesn't purge timewait sockets on network namespace shutdown. > So, after net namespace destroyed we could still have an active timer > which will trigger use after free in tw_timer_handler(): ... > Add

Re: [PATCH 0/5] Fix whole native SPI TPM driver

2017-02-22 Thread Jarkko Sakkinen
On Thu, Feb 16, 2017 at 04:08:21PM +, Peter Huewe wrote: > During our testing it showed that unfortunately the whole native spi tpm > driver > was more or less non-functional since it was merged, e.g. the wrong byte for > waitstate handling was used and transfers larger than 64 bytes did not

Re: [GIT PULL] namespaces related fixes for v4.11-rc1

2017-02-22 Thread Aleksa Sarai
The only known user of this prctl systemd forks all children after the prctl. So no userspace regressions will occur. Note that runC and containerd (and thus Docker) as well as cri-o use the prctl as well -- to be able to collect exit codes from a non-child process (namely to collect the

Re: [tpmdd-devel] [PATCH v2 4/7] tpm: infrastructure for TPM spaces

2017-02-22 Thread Ken Goldman
On 2/21/2017 1:24 PM, Nayna wrote: [snip] 1. Take locks. 2. Load transient objects from the backing storage by using ContextLoad and map virtual handles to physical handles. 3. Perform the transaction. 4. Save transient objects to backing storage by using ContextSave and map resulting

Re: [GIT PULL] scheduler changes for v4.11

2017-02-22 Thread Peter Zijlstra
On Wed, Feb 22, 2017 at 08:51:44PM +, Matt Fleming wrote: > On Wed, 22 Feb, at 12:41:01PM, Linus Torvalds wrote: > I think Peter has the fix for this somewhere, but it doesn't look like > it made it to tip/sched/core. > > Peter, this is the original patch, > > >

Re: SPI fix needed in kernel (DragonBoard 410c)

2017-02-22 Thread Dan Sneddon
> I have been using SPI on the Dragonboard 410c and found some issues. > Specifically Hardware Chip Select is not working on the Debian kernel from > Linaro (Build #202). It turns out that the SPI_IO_C_MX_CS_MODE bit in the > SPI_IO_CONTROL register needs to be set. My 'patch' is very

Re: [PATCH v2] ncpfs: Remove cast from memory allocation

2017-02-22 Thread Julia Lawall
On Thu, 23 Feb 2017, Tobin C. Harding wrote: > Coccinelle emits WARNING: casting value returned by memory allocation > function to (struct ncp_inode_info *) is useless. > > Remove unnecessary cast. > > Changes since v1: > - Fix up typo Changes since v1 goes below the ---. When this ends up

Re: linux-next: build failure after merge of the scsi-mkp tree

2017-02-22 Thread Martin K. Petersen
> "Stephen" == Stephen Rothwell writes: Stephen, Stephen> Unfortunately, you have just merged this build failure into the Stephen> scsi tree :-( Stephen> James Smart has posted a fix: Stephen> "[PATCH v2] lpfc: add missing Kconfig NVME dependencies" I'll get the

Re: linux-next: build failure after merge of the scsi-mkp tree

2017-02-22 Thread Stephen Rothwell
Hi James, On Wed, 22 Feb 2017 13:41:19 +1100 Stephen Rothwell wrote: > > After merging the scsi-mkp tree, today's linux-next build (powerpc > ppc64_defconfig) failed like this: > > ERROR: ".nvme_fc_unregister_remoteport" [drivers/scsi/lpfc/lpfc.ko] undefined! > ERROR:

Re: linux-next: build failure after merge of the scsi-mkp tree

2017-02-22 Thread Martin K. Petersen
> "James" == James Bottomley writes: James> Perhaps it would be nice to rebase so we don't get bisect into a James> build failure. My plan was to start 4.11/scsi-fixes based on linus/master. I need block and net to satisfy dependencies for the

[PATCH 1/1] ARM: dts: NSP: Add crypto (SPU) to dtsi

2017-02-22 Thread Steve Lin
Adds crypto hardware (SPU) to Northstar Plus device tree file. Signed-off-by: Steve Lin --- Code changes for this addition were submitted previously by Rob Rice:

Re: [WIP PATCHSET 0/4] WIP branch for bfq-mq

2017-02-22 Thread Paolo Valente
> Il giorno 13 feb 2017, alle ore 23:38, Bart Van Assche > ha scritto: > > On Mon, 2017-02-13 at 22:07 +, Bart Van Assche wrote: >> On Mon, 2017-02-13 at 22:07 +0100, Paolo Valente wrote: >>> but what do you think about trying this fix? >> >> Sorry but with ...

Re: [GIT PULL] Block pull request for- 4.11-rc1

2017-02-22 Thread Jens Axboe
On 02/22/2017 12:04 PM, Linus Torvalds wrote: > On Wed, Feb 22, 2017 at 10:58 AM, Jens Axboe wrote: >> On 02/22/2017 11:56 AM, Linus Torvalds wrote: >> >> OK, so here's what I'll do: >> >> 1) We'll kill the default scheduler choices. sq blk-mq will default to >>mq-deadline,

[PATCH] drm/radeon/dp_auxch: Ratelimit aux transfer debug messages

2017-02-22 Thread Lyude
Aux transfers always fail with non-zero status flags when there's nothing connected on the port, so we don't usually need to see all of the debugging information from it. Also, we try reprobing a -lot-, so without ratelimiting most of the kernel log is filled up with messages from

Re: [PATCH] powerpc: Remove leftover cputime_to_nsecs call causing build error

2017-02-22 Thread Michael Ellerman
Frederic Weisbecker writes: > This type conversion is a leftover that got ignored during the kcpustat > conversion to nanosecs, resulting in build breakage with config having > CONFIG_NO_HZ_FULL=y. > > arch/powerpc/kernel/time.c: In function 'running_clock': >

[PATCH v3] ncpfs: Remove cast from memory allocation

2017-02-22 Thread Tobin C. Harding
Coccinelle emits WARNING: casting value returned by memory allocation function to (struct ncp_inode_info *) is useless. Remove unnecessary cast. Signed-off-by: Tobin C. Harding --- Changes since v2: - Put version amendment comments in correct place within patch email. Changes

[PATCH] scsi/mac_scsi: Fix MAC_SCSI=m option when SCSI=m

2017-02-22 Thread Finn Thain
The mac_scsi driver still gets disabled when SCSI=m. This should have been fixed back when I enabled the tristate but I didn't see the bug. Fixes: 6e9ae6d560e1 ("[PATCH] mac_scsi: Add module option to Kconfig") Signed-off-by: Finn Thain --- drivers/scsi/Kconfig | 2

Re: [tpmdd-devel] [PATCH v2 4/7] tpm: infrastructure for TPM spaces

2017-02-22 Thread Jarkko Sakkinen
On Tue, Feb 21, 2017 at 11:54:50PM +0530, Nayna wrote: > > > On 02/17/2017 12:55 AM, Jarkko Sakkinen wrote: > > Added an ability to virtualize TPM commands into an isolated context > > that we call a TPM space because the word context is already heavily > > used in the TPM specification. Both

Re: [PATCH] uapi: fix linux/if.h userspace compilation errors

2017-02-22 Thread David Miller
From: "Dmitry V. Levin" Date: Tue, 21 Feb 2017 23:19:14 +0300 > On Tue, Feb 21, 2017 at 12:10:22PM -0500, David Miller wrote: >> From: "Dmitry V. Levin" >> Date: Mon, 20 Feb 2017 14:58:41 +0300 >> >> > Include (guarded by ifndef __KERNEL__) to fix >> >

Re: [PATCH] tpm_tis_core: Choose appropriate timeout for reading burstcount

2017-02-22 Thread Jarkko Sakkinen
On Thu, Feb 16, 2017 at 03:33:36PM +, Peter Huewe wrote: > From: Alexander Steffen > > TIS v1.3 for TPM 1.2 and PTP for TPM 2.0 disagree about which timeout > value applies to reading a valid burstcount. It is TIMEOUT_D according to > TIS, but TIMEOUT_A

Re: [patch 2/3] KVM: x86: introduce ioctl to allow frequency hypercalls

2017-02-22 Thread Marcelo Tosatti
On Fri, Feb 03, 2017 at 06:03:37PM +0100, Radim Krcmar wrote: > 2017-02-02 15:47-0200, Marcelo Tosatti: > > For most VMs, modifying the host frequency is an undesired > > operation. Introduce ioctl to enable the guest to > > modify host CPU frequency. > > > > > > Signed-off-by: Marcelo Tosatti

Re: linux-next: build failure after merge of the scsi-mkp tree

2017-02-22 Thread James Bottomley
On Wed, 2017-02-22 at 16:10 -0500, Martin K. Petersen wrote: > > > > > > "Stephen" == Stephen Rothwell > > > > > > writes: > > Stephen, > > Stephen> Unfortunately, you have just merged this build failure into > the > Stephen> scsi tree :-( > > Stephen> James Smart has

[GIT PULL] namespaces related fixes for v4.11-rc1

2017-02-22 Thread Eric W. Biederman
Linus, Please pull the for-linus branch from the git tree: git://git.kernel.org/pub/scm/linux/kernel/git/ebiederm/user-namespace.git for-linus HEAD: ace0c791e6c3cf5ef37cad2df69f0d90ccc40ffb proc/sysctl: Don't grab i_lock under sysctl_lock. This pull request is coming a few days into

Re: [f2fs-dev] [PATCH 10/10] f2fs: return fs_trim if there is no candidate

2017-02-22 Thread Jaegeuk Kim
Hi Chao, On 02/22, Chao Yu wrote: > On 2016/12/31 2:51, Jaegeuk Kim wrote: > > If there is no candidate to submit discard command during f2sf_trim_fs, > > let's > > return without checkpoint. > > > > Signed-off-by: Jaegeuk Kim > > Reviewed-by: Chao Yu

Re: [GIT PULL] Block pull request for- 4.11-rc1

2017-02-22 Thread Jens Axboe
On 02/22/2017 02:50 PM, Markus Trippelsdorf wrote: > On 2017.02.22 at 11:44 -0700, Jens Axboe wrote: >> On 02/22/2017 11:42 AM, Linus Torvalds wrote: >>> On Wed, Feb 22, 2017 at 10:26 AM, Linus Torvalds >>> wrote: And dammit, IF YOU DON'T EVEN KNOW, WHY

Re: [PATCH 4/8] drm/sun4i: add support for sun8i DE2 mixers and display engines

2017-02-22 Thread Jernej Škrabec
Hi, Dne sreda, 22. februar 2017 ob 16:18:50 CET je Icenowy Zheng napisal(a): > Allwinner have a new "Display Engine 2.0" in there new SoCs, which comes > in a new "Display Engine" (mixers instead of old backends and > frontends). > > Add support for the mixer on Allwinner V3s SoC; it's the

Re: [RESEND PATCH v7 0/7] Rockchip dw-mipi-dsi driver

2017-02-22 Thread Sean Paul
On Wed, Feb 22, 2017 at 1:55 PM, John Keeping wrote: > On Wed, 22 Feb 2017 10:57:05 -0500, Sean Paul wrote: > >> On Wed, Feb 22, 2017 at 8:43 AM, John Keeping wrote: >> > On Tue, 21 Feb 2017 10:39:18 -0500, Sean Paul wrote: >> > >> >> On Mon, Feb 20, 2017 at

[PATCH] [media] tm6000: Fix resource freeing in 'tm6000_prepare_isoc()'

2017-02-22 Thread Christophe JAILLET
'usb_free_urb(urb)' is a no-op, because urb is known to be NULL. It is likelly that releasing resources allocated by 'tm6000_alloc_urb_buffers()' just a few lines above is expected here. This has been spotted by the following coccinelle script: @@ expression ret, x, e; identifier f; @@ * if

Re: [PATCH 4/8] drm/sun4i: add support for sun8i DE2 mixers and display engines

2017-02-22 Thread Maxime Ripard
Hi Icenowy, (Please fix your mailer, its quotation is broken and mangles all the indentation) On Thu, Feb 23, 2017 at 04:28:42AM +0800, Icenowy Zheng wrote: > >>  @@ -187,3 +220,30 @@ struct sun4i_layer **sun4i_layers_init(struct > >> drm_device *drm) > >> > >>   return layers; > >>   }

Re: LED devices & poll() for brightness attribute

2017-02-22 Thread Pali Rohár
On Wednesday 22 February 2017 21:54:08 Pavel Machek wrote: > On Wed 2017-02-22 13:39:29, Pali Rohár wrote: > > On Wednesday 22 February 2017 13:25:57 Pavel Machek wrote: > > > Hi! > > > > > > > But this support is useful just for one single central > > > > userspace application which will control

Re: v4.10: kernel stack frame pointer .. has bad value (null)

2017-02-22 Thread Josh Poimboeuf
On Wed, Feb 22, 2017 at 10:05:48PM +0100, Pavel Machek wrote: > Hi! > > > > Thinkpad X220, in 32 bit mode... and I'm getting rather scary messages > > > from kernel during boot: > > > > > > Git blame says that message comes from commit > > > > > > commit 24d86f59093b0bcb3756cdf47f2db10ff4e90dbb

Re: [PATCH 2/3] mfd: cros_ec: add debugfs, console log file

2017-02-22 Thread Doug Anderson
Hi, I'm not sure what happened to this patch, but I found it when making sure that the bugfix pointed out in . Presumably someone will want to pick it up eventually? +Benson On Mon, Aug 22, 2016

Re: [PATCH 1/7] fs, xfs: convert xfs_bui_log_item.bui_refcount from atomic_t to refcount_t

2017-02-22 Thread Dave Chinner
On Wed, Feb 22, 2017 at 11:20:31AM +, Reshetova, Elena wrote: > > On Tue, Feb 21, 2017 at 05:49:01PM +0200, Elena Reshetova wrote: > > > refcount_t type and corresponding API should be > > > used instead of atomic_t when the variable is used as > > > a reference counter. This allows to avoid

Re: [PATCH 3/9] tools: convert comm_str.refcnt from atomic_t to refcount_t

2017-02-22 Thread Arnaldo Carvalho de Melo
Em Wed, Feb 22, 2017 at 07:20:45PM -0300, Arnaldo Carvalho de Melo escreveu: > Em Wed, Feb 22, 2017 at 05:33:50PM -0300, Arnaldo Carvalho de Melo escreveu: > > Em Tue, Feb 21, 2017 at 05:34:57PM +0200, Elena Reshetova escreveu: > > > refcount_t type and corresponding API should be > > > used

[PATCH] uapi: fix linux/llc.h userspace compilation error

2017-02-22 Thread Dmitry V. Levin
Include to fix the following linux/llc.h userspace compilation error: /usr/include/linux/llc.h:26:27: error: 'IFHWADDRLEN' undeclared here (not in a function) unsigned char sllc_mac[IFHWADDRLEN]; Signed-off-by: Dmitry V. Levin --- include/uapi/linux/llc.h | 1 + 1 file

[PATCH] uapi: fix linux/ip6_tunnel.h userspace compilation errors

2017-02-22 Thread Dmitry V. Levin
Include and to fix the following linux/ip6_tunnel.h userspace compilation errors: /usr/include/linux/ip6_tunnel.h:23:12: error: 'IFNAMSIZ' undeclared here (not in a function) char name[IFNAMSIZ]; /* name of tunnel device */ /usr/include/linux/ip6_tunnel.h:30:18: error: field 'laddr' has

Re: v4.10: kernel stack frame pointer .. has bad value (null)

2017-02-22 Thread Pavel Machek
Hi! > > > > Thinkpad X220, in 32 bit mode... and I'm getting rather scary messages > > > > from kernel during boot: > > > > > > > > Git blame says that message comes from commit > > > > > > > > commit 24d86f59093b0bcb3756cdf47f2db10ff4e90dbb > > > > Author: Josh Poimboeuf

[PATCH 0/2] key payload access with just rcu_read_lock()

2017-02-22 Thread Jan Stancek
Hi David, this is a follow-up for "suspicious RCU usage" warning described in these 2 linux-nfs threads: http://marc.info/?t=14755883033=1=2 http://marc.info/?t=14877677051=1=2 Did you have something like in mind? Thanks, Jan Jan Stancek (2): KEYS: add user_key_payload_rcu()

[PATCH 2/2] NFS: use user_key_payload_rcu() in RCU read-side section

2017-02-22 Thread Jan Stancek
Use RCU read-side accessor for key payload, as calling user_key_payload() without semaphore held leads to following warning: === [ INFO: suspicious RCU usage. ] 4.10.0 #1 Tainted: GW --- ./include/keys/user-type.h:53

Re: [PATCH 4.4 02/15] [media] siano: make it work again with CONFIG_VMAP_STACK

2017-02-22 Thread Mauro Carvalho Chehab
Em Wed, 22 Feb 2017 21:07:24 + Eddie Chapman escreveu: > On 21/02/17 13:01, Greg Kroah-Hartman wrote: > > 4.4-stable review patch. If anyone has any objections, please let me know. > > > > -- > > > > From: Mauro Carvalho Chehab > >

Re: [PATCH v3 01/18] dt-bindings: power: battery: add constant-charge-current property

2017-02-22 Thread Rob Herring
On Tue, Feb 14, 2017 at 10:40:55AM +0100, Quentin Schulz wrote: > This adds the constant-charge-current property to the list of optional > properties of the battery. > > The constant charge current is critical for batteries as they can't > handle all charge currents. > > Signed-off-by: Quentin

[PATCH RESEND] drm/radeon/dp_auxch: Ratelimit aux transfer debug messages

2017-02-22 Thread Lyude
Aux transfers always fail with non-zero status flags when there's nothing connected on the port, so we don't usually need to see all of the debugging information from it. Also, we try reprobing a -lot-, so without ratelimiting most of the kernel log is filled up with messages from

Re: [PATCH v6 07/14] dt: bindings: Add bindings for Marvell Xenon SD Host Controller

2017-02-22 Thread Rob Herring
On Tue, Feb 14, 2017 at 06:01:47PM +0100, Gregory CLEMENT wrote: > From: Hu Ziji > > Marvell Xenon SDHC can support eMMC/SD/SDIO. > Add Xenon-specific properties. > Also add properties for Xenon PHY setting. > > Signed-off-by: Hu Ziji > Signed-off-by:

Re: [GIT PULL] Block pull request for- 4.11-rc1

2017-02-22 Thread Markus Trippelsdorf
On 2017.02.22 at 11:44 -0700, Jens Axboe wrote: > On 02/22/2017 11:42 AM, Linus Torvalds wrote: > > On Wed, Feb 22, 2017 at 10:26 AM, Linus Torvalds > > wrote: > >> > >> And dammit, IF YOU DON'T EVEN KNOW, WHY THE HELL ARE YOU ASKING THE POOR > >> USER? > > > >

Re: [f2fs-dev] [PATCH 3/6] f2fs: remove batched discard in f2fs_trim_fs

2017-02-22 Thread Jaegeuk Kim
On 02/22, Chao Yu wrote: > On 2017/1/13 6:44, Jaegeuk Kim wrote: > > We don't need to do multiple checkpoints, since we don't actually wait for > > completion of discard commands during checkpoint. > > Instead, we still need to avoid very big discard commands, since that large > > discard can

Re: [linux-sunxi] Re: [PATCH 2/8] clk: sunxi-ng: add support for DE2 CCU

2017-02-22 Thread Jernej Škrabec
Hi, Dne sreda, 22. februar 2017 ob 21:17:29 CET je Icenowy Zheng napisal(a): > 2017年2月23日 03:09于 Maxime Ripard 写道: > > > Hi, > > > > On Wed, Feb 22, 2017 at 11:18:48PM +0800, Icenowy Zheng wrote: > > > +config SUNXI_DE2_CCU > > > + bool "Support for the

Re: [PATCH 3/9] tools: convert comm_str.refcnt from atomic_t to refcount_t

2017-02-22 Thread Arnaldo Carvalho de Melo
Em Wed, Feb 22, 2017 at 05:33:50PM -0300, Arnaldo Carvalho de Melo escreveu: > Em Tue, Feb 21, 2017 at 05:34:57PM +0200, Elena Reshetova escreveu: > > refcount_t type and corresponding API should be > > used instead of atomic_t when the variable is used as > > a reference counter. This allows to

[PATCHv2] Checkpatch fixes for staging/drivers/ks7010.

2017-02-22 Thread Matthew Giassa
Wrapping complex macros with parentheses. Adding extra spaces between macros and integer literals. Indentation changes to remove checkpatch warnings. Swapping out C++-style comments with C-style comments. Signed-off-by: Matthew Giassa ---

Re: [PATCH 4/5] KVM: add __kvm_request_needs_mb

2017-02-22 Thread Christian Borntraeger
On 02/22/2017 04:17 PM, Radim Krčmář wrote: > [...] > while (vcpu->arch.sie_block->prog0c & PROG_IN_SIE) > cpu_relax(); >} > And out of curiosity -- how many cycles does this loop usually take? A quick hack indicates something between 3 and 700ns. >> 2. Remote requests

[PATCH] uapi: fix linux/kexec.h userspace compilation errors

2017-02-22 Thread Dmitry V. Levin
Include (guarded by #ifndef __KERNEL__) to fix the following linux/kexec.h userspace compilation errors: /usr/include/linux/kexec.h:53:2: error: unknown type name 'size_t' size_t bufsz; /usr/include/linux/kexec.h:55:2: error: unknown type name 'size_t' size_t memsz; Signed-off-by: Dmitry V.

Re: [PATCH v5 0/2] perf probe: add sdt probes arguments into the uprobe cmd string

2017-02-22 Thread Alexis Berlemont
Ravi Bangoria wrote: > > > On Wednesday 14 December 2016 01:06 PM, Ingo Molnar wrote: > > * Alexis Berlemont wrote: > > > >> Hi Masami, > >> > >> Many thanks for your mail. > >> > >> Here is another patch set which tries to fix the points you mentioned: > >> > >> *

Re: [PATCH 0/5] Fix whole native SPI TPM driver

2017-02-22 Thread Peter Huewe
Am 22. Februar 2017 22:19:24 MEZ schrieb Jarkko Sakkinen : >On Thu, Feb 16, 2017 at 04:08:21PM +, Peter Huewe wrote: >> During our testing it showed that unfortunately the whole native spi >tpm driver >> was more or less non-functional since it was merged,

[PATCH 1/2] KEYS: add user_key_payload_rcu()

2017-02-22 Thread Jan Stancek
user_key_payload() is wrapper for rcu_dereference_protected(), and can't be used with just rcu_read_lock() held. This patch adds user_key_payload_rcu() for accessing key payload in RCU read-side section, without the need to hold key semaphore. Signed-off-by: Jan Stancek ---

[PATCH v2] ncpfs: Remove cast from memory allocation

2017-02-22 Thread Tobin C. Harding
Coccinelle emits WARNING: casting value returned by memory allocation function to (struct ncp_inode_info *) is useless. Remove unnecessary cast. Changes since v1: - Fix up typo Signed-off-by: Tobin C. Harding --- Kernel built successfully with patch applied. fs/ncpfs/inode.c

Re: [f2fs-dev] [PATCH 08/10] f2fs: relax async discard commands more

2017-02-22 Thread Jaegeuk Kim
On 02/22, Chao Yu wrote: > On 2017/1/6 10:42, Jaegeuk Kim wrote: > > Hi Chao, > > > > On 01/06, Chao Yu wrote: > >> On 2017/1/6 3:46, Jaegeuk Kim wrote: > >>> On 01/05, Chao Yu wrote: > On 2017/1/4 17:29, Chao Yu wrote: > > On 2016/12/31 2:51, Jaegeuk Kim wrote: > >> This patch

Re: v4.10: kernel stack frame pointer .. has bad value (null)

2017-02-22 Thread Josh Poimboeuf
On Wed, Feb 22, 2017 at 12:51:11PM -0800, H. Peter Anvin wrote: > On 02/22/17 08:45, Josh Poimboeuf wrote: > >> > >> FWIW, it would be really darned nice to not have all those zeroes in a > >> 32-bit stack frame dump. > > > > Yeah, I'll fix that. > > > >> Is not a zero stack frame pointer value

Re: [PATCH 4.4 02/15] [media] siano: make it work again with CONFIG_VMAP_STACK

2017-02-22 Thread Eddie Chapman
On 21/02/17 13:01, Greg Kroah-Hartman wrote: 4.4-stable review patch. If anyone has any objections, please let me know. -- From: Mauro Carvalho Chehab commit f9c85ee67164b37f9296eab3b754e543e4e96a1c upstream. Reported as a Kaffeine bug:

Re: [OpenRISC] [PATCH v3 09/25] openrisc: add optimized atomic operations

2017-02-22 Thread Stafford Horne
On Thu, Feb 23, 2017 at 04:31:34AM +1100, Richard Henderson wrote: > On 02/23/2017 01:22 AM, Stafford Horne wrote: > > > static inline int __atomic_add_unless(atomic_t *v, int a, int u) > > > { > > > int old, tmp; > > > > > > __asm__ __volatile__( > > > "1: l.lwa %0, 0(%2)

Re: [OpenRISC] [PATCH v3 08/25] openrisc: add cmpxchg and xchg implementations

2017-02-22 Thread Stafford Horne
On Thu, Feb 23, 2017 at 04:30:35AM +1100, Richard Henderson wrote: > On 02/23/2017 01:20 AM, Stafford Horne wrote: > > On Wed, Feb 22, 2017 at 12:19:40PM +0100, Peter Zijlstra wrote: > > > On Wed, Feb 22, 2017 at 04:11:37AM +0900, Stafford Horne wrote: > > > > + __asm__ __volatile__( > > > >

Re: [PATCH 1/4] fs, afs: convert afs_cell.usage from atomic_t to refcount_t

2017-02-22 Thread Kees Cook
On Wed, Feb 22, 2017 at 9:29 AM, David Howells wrote: > Reshetova, Elena wrote: > >> Thank you very much David for testing the patches! >> I guess for this one and other two patches it means that if we want to do >> the atomic_t --> refcount_t

How are you and how is business?

2017-02-22 Thread IInvanka
How are you and how is business? I'm contacting you on behalf of the former personal assistant to the former President of Taiwan ( Mr. Chen Shui-bian) on private matters. He humbly request your assistance. An investment was placed under his management 5 years ago by Mr. Chen Shui-bian. He needs

Re: [RFC PATCH v4 10/28] x86: Insure that boot memory areas are mapped properly

2017-02-22 Thread Tom Lendacky
On 2/20/2017 1:45 PM, Borislav Petkov wrote: On Thu, Feb 16, 2017 at 09:44:11AM -0600, Tom Lendacky wrote: The boot data and command line data are present in memory in a decrypted state and are copied early in the boot process. The early page fault support will map these areas as encrypted, so

How are you and how is business?

2017-02-22 Thread IInvanka
How are you and how is business? I'm contacting you on behalf of the former personal assistant to the former President of Taiwan ( Mr. Chen Shui-bian) on private matters. He humbly request your assistance. An investment was placed under his management 5 years ago by Mr. Chen Shui-bian. He needs

[PATCH V4 1/6] mm: delete unnecessary TTU_* flags

2017-02-22 Thread Shaohua Li
Johannes pointed out TTU_LZFREE is unnecessary. It's true because we always have the flag set if we want to do an unmap. For cases we don't do an unmap, the TTU_LZFREE part of code should never run. Also the TTU_UNMAP is unnecessary. If no other flags set (for example, TTU_MIGRATION), an unmap is

<    1   2   3   4   5   6   7   8   9   10   >