Re: [PATCH v10 5/6] i2c: designware: add SLAVE mode functions

2017-06-08 Thread kbuild test robot
Hi Luis, [auto build test ERROR on wsa/i2c/for-next] [also build test ERROR on v4.12-rc4 next-20170608] [if your patch is applied to the wrong git tree, please drop us a note to help improve the system] url: https://github.com/0day-ci/linux/commits/Luis-Oliveira/i2c-designware-add-I2C-SLAVE

Re: [PATCH] iscsi-target: Reject immediate data underflow larger than SCSI transfer length

2017-06-08 Thread Nicholas A. Bellinger
On Thu, 2017-06-08 at 15:37 +, Bart Van Assche wrote: > On Thu, 2017-06-08 at 04:21 +, Nicholas A. Bellinger wrote: > > + /* > > +* Check for underflow case where both EDTL and immediate data payload > > +* exceeds what is presented by CDB's TRANSFER LENGTH, and what has > > +

[PATCH v8 4/6] vfio: Define vfio based vgpu's dma-buf operations

2017-06-08 Thread Xiaoguang Chen
Here we defined a new ioctl to create a fd for a vfio device based on the input type. Now only one type is supported that is a dma-buf management fd. Two ioctls are defined for the dma-buf management fd: query the vfio vgpu's plane information and create a dma-buf for a plane. Signed-off-by: Xiaog

[PATCH v8 6/6] drm/i915/gvt: Adding user interface for dma-buf

2017-06-08 Thread Xiaoguang Chen
User space should create the management fd for the dma-buf operation first. Then user can query the plane information and create dma-buf if necessary using the management fd. Signed-off-by: Xiaoguang Chen Tested-by: Kechen Lu --- drivers/gpu/drm/i915/gvt/dmabuf.c| 37 - drivers/gpu

[PATCH v8 3/6] drm/i915/gvt: Frame buffer decoder support for GVT-g

2017-06-08 Thread Xiaoguang Chen
decode frambuffer attributes of primary, cursor and sprite plane Signed-off-by: Xiaoguang Chen --- drivers/gpu/drm/i915/gvt/Makefile | 3 +- drivers/gpu/drm/i915/gvt/display.c| 2 +- drivers/gpu/drm/i915/gvt/display.h| 2 + drivers/gpu/drm/i915/gvt/fb_decoder.c | 425 ++

[PATCH v8 0/6] drm/i915/gvt: Dma-buf support for GVT-g

2017-06-08 Thread Xiaoguang Chen
v7->v8: 1) refine framebuffer decoder code 2) fix a bug in decoding primary plane v6->v7: 1) release dma-buf related allocations in dma-buf's associated release function. 2) refine ioctl interface for querying plane info or create dma-buf 3) refine framebuffer decoder code 4) the patch series is b

[PATCH v8 2/6] drm/i915/gvt: OpRegion support for GVT-g

2017-06-08 Thread Xiaoguang Chen
OpRegion is needed to support display related operation for intel vgpu. A vfio device region is added to intel vgpu to deliver the host OpRegion information to user space so user space can construct the OpRegion for vgpu. Signed-off-by: Bing Niu Signed-off-by: Xiaoguang Chen --- drivers/gpu/dr

[PATCH v8 1/6] drm/i915/gvt: Extend the GVT-g architecture to support vfio device region

2017-06-08 Thread Xiaoguang Chen
Signed-off-by: Xiaoguang Chen --- drivers/gpu/drm/i915/gvt/kvmgt.c | 21 ++--- 1 file changed, 18 insertions(+), 3 deletions(-) diff --git a/drivers/gpu/drm/i915/gvt/kvmgt.c b/drivers/gpu/drm/i915/gvt/kvmgt.c index 1ae0b40..3c6a02b 100644 --- a/drivers/gpu/drm/i915/gvt/kvmgt.c ++

[PATCH v8 5/6] drm/i915/gvt: Dmabuf support for GVT-g

2017-06-08 Thread Xiaoguang Chen
dmabuf for GVT-g can be exported to users who can use the dmabuf to show the desktop of vm which use intel vgpu. Currently we provide query and create new dmabuf operations. Users of dmabuf can cache some created dmabufs and related information such as the framebuffer's address, size, tiling mode

[REGRESSION next] gpio-keys broken with commit 2233bf7a92e7 ("gpio: mvebu: switch to regmap for register access")

2017-06-08 Thread Ralph Sennhauser
Hi Thomas, Commit 2233bf7a92e7 ("gpio: mvebu: switch to regmap for register access") in next-20170607 breaks gpio-keys on an armada-385 (Linksys WRT3200ACM), noticed due to missing /dev/input/event0 and the below dmesg output. # dmesg -l 0,1,2,3 [2.421130] genirq: Setting trigger mode 3 f

Re: [PATCH] staging: wlan-ng: cfg80211.c: fixed a line over 80 characters long

2017-06-08 Thread Greg KH
On Thu, Jun 08, 2017 at 11:25:55PM -0700, Elias Carter wrote: > On Fri, Jun 09, 2017 at 07:41:12AM +0200, Greg KH wrote: > > On Thu, Jun 08, 2017 at 06:38:30PM -0700, Elias Carter wrote: > > > From: edcarter > > > > > > Fixed a coding style issue where a line was longer than 80 characters. > > >

Re: Sleeping BUG in khugepaged for i586

2017-06-08 Thread Vlastimil Babka
On 06/08/2017 10:30 PM, Michal Hocko wrote: > But I guess you are primary after syncing the preemptive mode for 64 and > 32b systems, right? I agree that having a different model is more than > unfortunate because 32b gets much less testing coverage and so a risk of > introducing a new bug is just

linux-next: Tree for Jun 9

2017-06-08 Thread Stephen Rothwell
Hi all, Changes since 20170608: The net tree lost its build failure. The drm tree gained a conflict against the drm-intel-fixes tree. The sound-asoc tree lost its build failure. The device-mapper tree gained a build failure so I used the version from next-20170608. The devicetree tree gained

Re: WMI and Kernel:User interface

2017-06-08 Thread Greg Kroah-Hartman
On Sat, Jun 03, 2017 at 12:50:58PM -0700, Darren Hart wrote: > On Wed, May 10, 2017 at 07:13:41AM +0200, Greg Kroah-Hartman wrote: > > On Tue, May 09, 2017 at 04:16:39PM -0700, Darren Hart wrote: > > > Linus and Greg, > > > > > > We are in the process of redesigning the Windows Management > > > I

[PATCH] ARM: dts: ls1021a: update the clockgen node

2017-06-08 Thread Yuantian Tang
qoriq clock driver has been updated to parse the clock configuration information defined in driver itself not in dts. Since the new implementation and the bindings have been merged, it is time to update the clock related node and remove redundent clock configuration information from the dts. Signe

Re: [lkp-robot] [KEYS] 501901ac94: ltp.add_key02.fail

2017-06-08 Thread Ye Xiaolong
On 06/09, David Howells wrote: >kernel test robot wrote: > >> user :notice: [ 82.772613] add_key02.c:65: FAIL: add_key() failed >> unexpectedly, expected EINVAL: EFAULT > >The LTP test needs updating. Eric has a patch for that. Got it, thanks for the information. Thanks, Xiaolong > >David

Re: [PATCH] staging: wlan-ng: cfg80211.c: fixed a line over 80 characters long

2017-06-08 Thread Elias Carter
On Fri, Jun 09, 2017 at 07:41:12AM +0200, Greg KH wrote: > On Thu, Jun 08, 2017 at 06:38:30PM -0700, Elias Carter wrote: > > From: edcarter > > > > Fixed a coding style issue where a line was longer than 80 characters. > > > > Signed-off-by: Elias Carter > > Your from and signed-off-by names h

Re: [RFC 00/10] V4L2 explicit synchronization support

2017-06-08 Thread Gustavo Padovan
2017-06-08 Shuah Khan : > Hi Gustavo, > > On Thu, Jun 8, 2017 at 2:17 PM, Mauro Carvalho Chehab > wrote: > > Hi Gustavo, > > > > Em Wed, 24 May 2017 21:31:01 -0300 > > Gustavo Padovan escreveu: > > > >> Hi all, > >> > >> I've been working on the v2 of this series, but I think I hit a blocker >

[PATCH v11 02/12] sun4i-codec: Add Differential Line Capture Switch and its routes

2017-06-08 Thread Danny Milosavljevic
Signed-off-by: Danny Milosavljevic --- sound/soc/sunxi/sun4i-codec.c | 26 ++ 1 file changed, 26 insertions(+) diff --git a/sound/soc/sunxi/sun4i-codec.c b/sound/soc/sunxi/sun4i-codec.c index 2f65aa72..a2435c6e 100644 --- a/sound/soc/sunxi/sun4i-codec.c +++ b/sound/soc/su

[PATCH v11 04/12] sun4i-codec: Add Mic1 Capture Volume, Mic2 Capture Volume.

2017-06-08 Thread Danny Milosavljevic
Signed-off-by: Danny Milosavljevic --- sound/soc/sunxi/sun4i-codec.c | 41 + 1 file changed, 41 insertions(+) diff --git a/sound/soc/sunxi/sun4i-codec.c b/sound/soc/sunxi/sun4i-codec.c index b5a3b5b3..25870a64 100644 --- a/sound/soc/sunxi/sun4i-codec.c +++

Re: [lkp-robot] [KEYS] 501901ac94: ltp.add_key02.fail

2017-06-08 Thread David Howells
kernel test robot wrote: > user :notice: [ 82.772613] add_key02.c:65: FAIL: add_key() failed > unexpectedly, expected EINVAL: EFAULT The LTP test needs updating. Eric has a patch for that. David

[PATCH v11 06/12] sun4i-codec: Add support for extra controls to struct sun4i_codec_quirks and use them.

2017-06-08 Thread Danny Milosavljevic
Signed-off-by: Danny Milosavljevic --- sound/soc/sunxi/sun4i-codec.c | 13 + 1 file changed, 13 insertions(+) diff --git a/sound/soc/sunxi/sun4i-codec.c b/sound/soc/sunxi/sun4i-codec.c index f56a59ad..b1da14d1 100644 --- a/sound/soc/sunxi/sun4i-codec.c +++ b/sound/soc/sunxi/sun4i-cod

[PATCH v11 11/12] sun4i-codec: Add MIC2 Pre-Amplifier.

2017-06-08 Thread Danny Milosavljevic
Signed-off-by: Danny Milosavljevic --- sound/soc/sunxi/sun4i-codec.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/sound/soc/sunxi/sun4i-codec.c b/sound/soc/sunxi/sun4i-codec.c index 730f6151..a9e10dce 100644 --- a/sound/soc/sunxi/sun4i-codec.c +++ b/sound/soc/sunxi/sun4i-codec.c @@ -860,

[PATCH v11 08/12] sun4i-codec: Merge sun4i_codec_left_mixer_controls and sun4i_codec_right_mixer_controls into sun4i_codec_mixer_controls.

2017-06-08 Thread Danny Milosavljevic
Signed-off-by: Danny Milosavljevic --- sound/soc/sunxi/sun4i-codec.c | 21 + 1 file changed, 9 insertions(+), 12 deletions(-) diff --git a/sound/soc/sunxi/sun4i-codec.c b/sound/soc/sunxi/sun4i-codec.c index d453af65..07ed4fd4 100644 --- a/sound/soc/sunxi/sun4i-codec.c +++ b/s

[PATCH v11 12/12] sun4i-codec: Add routes for playback switches, Mic2, Capture Select.

2017-06-08 Thread Danny Milosavljevic
Signed-off-by: Danny Milosavljevic --- sound/soc/sunxi/sun4i-codec.c | 51 --- 1 file changed, 48 insertions(+), 3 deletions(-) diff --git a/sound/soc/sunxi/sun4i-codec.c b/sound/soc/sunxi/sun4i-codec.c index a9e10dce..315d79a3 100644 --- a/sound/soc/sunxi

[PATCH v11 07/12] sun4i-codec: Add extra controls to sun4i_codec_quirks, sun7i_codec_quirks.

2017-06-08 Thread Danny Milosavljevic
Signed-off-by: Danny Milosavljevic --- sound/soc/sunxi/sun4i-codec.c | 4 1 file changed, 4 insertions(+) diff --git a/sound/soc/sunxi/sun4i-codec.c b/sound/soc/sunxi/sun4i-codec.c index b1da14d1..d453af65 100644 --- a/sound/soc/sunxi/sun4i-codec.c +++ b/sound/soc/sunxi/sun4i-codec.c @@ -15

[PATCH v11 10/12] sun4i-codec: Add Left Capture Select, Right Capture Select.

2017-06-08 Thread Danny Milosavljevic
Signed-off-by: Danny Milosavljevic --- sound/soc/sunxi/sun4i-codec.c | 23 +++ 1 file changed, 23 insertions(+) diff --git a/sound/soc/sunxi/sun4i-codec.c b/sound/soc/sunxi/sun4i-codec.c index 21ece880..730f6151 100644 --- a/sound/soc/sunxi/sun4i-codec.c +++ b/sound/soc/sunxi

[PATCH v11 09/12] sun4i-codec: Add Line Playback Switch, FM Playback Switch, Mic1 Playback Switch, Mic2 Playback Switch.

2017-06-08 Thread Danny Milosavljevic
Signed-off-by: Danny Milosavljevic --- sound/soc/sunxi/sun4i-codec.c | 24 1 file changed, 24 insertions(+) diff --git a/sound/soc/sunxi/sun4i-codec.c b/sound/soc/sunxi/sun4i-codec.c index 07ed4fd4..21ece880 100644 --- a/sound/soc/sunxi/sun4i-codec.c +++ b/sound/soc/sunx

[PATCH v11 03/12] sun4i-codec: Add Line Playback Volume, FM Playback Volume, Mic Playback Volume, Capture Volume, Line Capture Volume.

2017-06-08 Thread Danny Milosavljevic
Signed-off-by: Danny Milosavljevic --- sound/soc/sunxi/sun4i-codec.c | 55 ++- 1 file changed, 54 insertions(+), 1 deletion(-) diff --git a/sound/soc/sunxi/sun4i-codec.c b/sound/soc/sunxi/sun4i-codec.c index a2435c6e..b5a3b5b3 100644 --- a/sound/soc/sunxi/

[PATCH v11 01/12] sun4i-codec: Add inputs: Mic2, Line Right, Line Left, FM Right, FM Left.

2017-06-08 Thread Danny Milosavljevic
Signed-off-by: Danny Milosavljevic --- sound/soc/sunxi/sun4i-codec.c | 7 +++ 1 file changed, 7 insertions(+) diff --git a/sound/soc/sunxi/sun4i-codec.c b/sound/soc/sunxi/sun4i-codec.c index 15006998..2f65aa72 100644 --- a/sound/soc/sunxi/sun4i-codec.c +++ b/sound/soc/sunxi/sun4i-codec.c @@

[PATCH 05/12] sun4i-codec: Move struct sun4i_codec_quirks further up.

2017-06-08 Thread Danny Milosavljevic
Signed-off-by: Danny Milosavljevic --- sound/soc/sunxi/sun4i-codec.c | 20 ++-- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/sound/soc/sunxi/sun4i-codec.c b/sound/soc/sunxi/sun4i-codec.c index 25870a64..f56a59ad 100644 --- a/sound/soc/sunxi/sun4i-codec.c +++ b/s

[PATCH v11 00/12] sun4i-codec: Add Line-In, FM-In, Mic 2, Capture Source, Differential Line-In

2017-06-08 Thread Danny Milosavljevic
This patchset adds some mixer controls to sun4i-codec. It also adds a mux for the capture source and the PGA for the MIC2 preamp. Where possible, it uses SOC_DAPM_DOUBLE in order to cut down on the number of distinct controls in alsamixer. v11 changes compared to v10 are: - Split up patchset.

[PATCH] Drivers: rtl8192u - style fix

2017-06-08 Thread Derek Robson
Fixed checkpatch error of "no spaces at the start of a line" Signed-off-by: Derek Robson --- drivers/staging/rtl8192u/r8192U.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/drivers/staging/rtl8192u/r8192U.h b/drivers/staging/rtl8192u/r8192U.h index 4c7a5e3d3e5e..2959

Re: [GIT PULL rcu/urgent] Allow SRCU readers in irq handlers for KVM

2017-06-08 Thread Ingo Molnar
* Paul E. McKenney wrote: > Hello, Ingo, > > This series enables srcu_read_lock() and srcu_read_unlock to be used from > interrupt handlers, which fixes a bug in KVM's use of SRCU in delivery > of interrupts to guest OSes. These patches have been exposed to 0day > Test Robot and to -next testi

Re: [PATCH 5/5] power: supply: bq27xxx: Correct supply status with current draw

2017-06-08 Thread Paul Kocialkowski
Le jeudi 08 juin 2017 à 21:27 +0200, Sebastian Reichel a écrit : > Hi, > > On Thu, Jun 08, 2017 at 01:08:52PM +0300, Paul Kocialkowski wrote: > > > > On Wed, 2017-06-07 at 09:52 +0200, Pavel Machek wrote: > > > > > > [0]: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux. > > > > > >

Re: [RFC 00/10] V4L2 explicit synchronization support

2017-06-08 Thread Gustavo Padovan
Hi Mauro, 2017-06-08 Mauro Carvalho Chehab : > Hi Gustavo, > > Em Wed, 24 May 2017 21:31:01 -0300 > Gustavo Padovan escreveu: > > > Hi all, > > > > I've been working on the v2 of this series, but I think I hit a blocker > > when trying to cover the case where the driver asks to requeue the >

[PATCH] usb: gadget: functions: add ftrace export over USB

2017-06-08 Thread Felipe Balbi
Allow for ftrace data to be exported over a USB Gadget Controller. With this, we have a potentially very fast pipe for transmitting ftrace data to a Host PC for further analysis. Note that in order to decode the data, one needs access to kernel symbols in order to convert binary data into function

[PATCH] ALSA : pcsp: pcsp_lib: constify snd_pcsp_playback_ops

2017-06-08 Thread Arvind Yadav
File size before: textdata bss dec hex filename 2027 168 12196 894 sound/drivers/pcsp/pcsp_lib.o File size After: textdata bss dec hex filename 2155 40 12196 894 sound/drivers/pcsp/pcsp_lib.o Signed-off-by: Arvind Ya

[PATCH v2] platform/x86: ideapad-laptop: constify rfkill_ops structure

2017-06-08 Thread Bhumika Goyal
Add const to rfkill_ops structure as it is only passed as an argument to the functions rfkill_alloc. This argument is of type const, so annotate the structure with const. Signed-off-by: Bhumika Goyal --- Changes since v1: * Split the changes to one patch per vendor. drivers/platform/x86/ideapa

[PATCH] Drivers: ccree - style fix

2017-06-08 Thread Derek Robson
Align block comments Found using checkpatch Signed-off-by: Derek Robson --- drivers/staging/ccree/cc_hw_queue_defs.h | 8 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/drivers/staging/ccree/cc_hw_queue_defs.h b/drivers/staging/ccree/cc_hw_queue_defs.h index aaa56c85bda2

Re: [PATCH v5 3/3] drivers:power:twl4030-charger: add deferred probing for phy and iio

2017-06-08 Thread H. Nikolaus Schaller
Hi, > Am 07.06.2017 um 22:44 schrieb Sebastian Reichel : > > Hi, > > On Sun, May 21, 2017 at 12:38:18PM +0200, H. Nikolaus Schaller wrote: >> This fixes an issue if both this twl4030_charger driver and >> phy-twl4030-usb are compiled as modules and loaded in random order. >> It has been observed

[PATCH v2] platform/x86: samsung-laptop: constify rfkill_ops structures

2017-06-08 Thread Bhumika Goyal
Add const to rfkill_ops structures that are only passed as an argument to the functions rfkill_alloc or samsung_new_rfkill. These arguments are of type const, so such structures can be annotated with const. Signed-off-by: Bhumika Goyal --- Changes since v1: * Split the changes to one patch per ve

Re: [PATCH v7 1/3] ACPI/IORT: Fixup SMMUv3 resource size for Cavium ThunderX2 SMMUv3 model

2017-06-08 Thread Geetha Akula
On Thu, Jun 8, 2017 at 2:28 PM, Lorenzo Pieralisi wrote: > On Tue, May 30, 2017 at 05:33:39PM +0530, Geetha sowjanya wrote: >> From: Linu Cherian >> >> Cavium ThunderX2 implementation doesn't support second page in SMMU >> register space. Hence, resource size is set as 64k for this model. >> >> S

[PATCH v2] dell-rbtn: constify rfkill_ops structures

2017-06-08 Thread Bhumika Goyal
Add const to rfkill_ops structures that are only passed as an argument to the functions rfkill_alloc or samsung_new_rfkill. These arguments are of type const, so such structures can be annotated with const. Signed-off-by: Bhumika Goyal --- Changes since v1: * Split the changes to one patch per ve

Re: [PATCH 2/3] target: Add TARGET_SCF_LOOKUP_LUN_FROM_TAG support for ABORT_TASK

2017-06-08 Thread Nicholas A. Bellinger
On Mon, 2017-06-05 at 15:57 +, Bart Van Assche wrote: > On Sat, 2017-06-03 at 22:10 +, Nicholas A. Bellinger wrote: > > +static bool target_lookup_lun_from_tag(struct se_session *se_sess, u64 tag, > > + u64 *unpacked_lun) > > +{ > > + struct se_cmd *se_cmd

[git pull] drm fixes for 4.12-rc5

2017-06-08 Thread Dave Airlie
Hi Linus, Bit more spread out fixes this time, fixes for 7 drivers + a couple of core fixes. i915 and vmwgfx are the main ones. The vmwgfx ones fix a bunch of regressions in their atomic rework, and a few fixes destined for stable. i915 has some 4.12 regressions and older things that need to be f

Re: [PATCHv3] Bluetooth: hci_ll: Add compatible values for more WL chips

2017-06-08 Thread Marcel Holtmann
Hi Sebastian, > Add compatible values for WiLink chips from 128x and 180x series. > Also the DT binding already contained compatible values for the 127x > series, but the driver did not. This brings the list on par with > the list from wlcore (the wifi driver). > > Signed-off-by: Sebastian Reiche

Re: [PATCH linux-next v3 1/1] spi: imx: dynamic burst length adjust for PIO mode

2017-06-08 Thread Sascha Hauer
On Thu, Jun 08, 2017 at 10:09:07PM -0700, Jiada Wang wrote: > On 06/01/2017 10:38 PM, Sascha Hauer wrote: > > On Thu, Jun 01, 2017 at 04:58:47AM -0700, Jiada Wang wrote: > > > Hi Sascha > > > > > > On 05/29/2017 02:50 AM, Sascha Hauer wrote: > > > > Hi, > > > > > > > > On Thu, May 25, 2017 at 10:

Re: [PATCH 11/16] powerpc: vio_cmo: use dev_groups and not dev_attrs for bus_type

2017-06-08 Thread Greg Kroah-Hartman
On Fri, Jun 09, 2017 at 08:53:22AM +1000, Michael Ellerman wrote: > Greg Kroah-Hartman writes: > > > On Thu, Jun 08, 2017 at 11:12:10PM +1000, Michael Ellerman wrote: > >> Greg Kroah-Hartman writes: > >> > >> > The dev_attrs field has long been "depreciated" and is finally being > >> > removed,

linux-next: build failure after merge of the uuid tree

2017-06-08 Thread Stephen Rothwell
Hi Christoph, After merging the uuid tree, today's linux-next build (x86_64 allmodconfig) failed like this: /home/sfr/next/next/drivers/thermal/int340x_thermal/int3400_thermal.c: In function 'int3400_thermal_get_uuids': /home/sfr/next/next/drivers/thermal/int340x_thermal/int3400_thermal.c:146:4:

Re: [PATCH] staging: wlan-ng: cfg80211.c: fixed a line over 80 characters long

2017-06-08 Thread Greg KH
On Thu, Jun 08, 2017 at 06:38:30PM -0700, Elias Carter wrote: > From: edcarter > > Fixed a coding style issue where a line was longer than 80 characters. > > Signed-off-by: Elias Carter Your from and signed-off-by names have to match :(

Re: [PATCH 0/3] target: Add TARGET_SCF_LOOKUP_LUN_FROM_TAG support

2017-06-08 Thread Nicholas A. Bellinger
Hi Himanshu & Quinn, On Wed, 2017-06-07 at 05:02 +, Madhani, Himanshu wrote: > > On Jun 3, 2017, at 3:10 PM, Nicholas A. Bellinger > > wrote: > > > > From: Nicholas Bellinger > > > > Hi Himanshu + Quinn, > > > > Here is a small series to introduce proper percpu se_lun->lun_ref > > counti

Re: [PATCH 4/7] zram: use class_groups instead of class_attrs

2017-06-08 Thread Sergey Senozhatsky
On (06/08/17 10:12), Greg Kroah-Hartman wrote: > The class_attrs pointer is long depreciated, and is about to be finally > removed, so move to use the class_groups pointer instead. > > Cc: Minchan Kim > Cc: Nitin Gupta > Cc: Sergey Senozhatsky > Signed-off-by: Greg Kroah-Hartman FWIW, looks g

[lkp-robot] [x86/mm] d52d163f42: WARNING:at_arch/x86/mm/tlb.c:#switch_mm_irqs_off

2017-06-08 Thread kernel test robot
FYI, we noticed the following commit: commit: d52d163f428136feb592f7546cb2333cfad775bf ("x86/mm: Rework lazy TLB mode and TLB freshness tracking") https://git.kernel.org/cgit/linux/kernel/git/luto/linux.git x86/pcid in testcase: trinity with following parameters: runtime: 300s test-de

[lkp-robot] [drm] e1f8a89c4f: pft.faults_per_sec_per_cpu -77.9% regression

2017-06-08 Thread kernel test robot
Greeting, FYI, we noticed a -77.9% regression of pft.faults_per_sec_per_cpu due to commit: commit: e1f8a89c4f33f5b32cfb047f07fdf6d38cda854a ("drm: introduce sync objects (v4)") git://people.freedesktop.org/~airlied/linux.git drm-syncobj-sem in testcase: pft on test machine: qemu-system-x86_64

Re: [PATCH RFC] KVM: async_pf: fix async_pf exception injection

2017-06-08 Thread Wanpeng Li
2017-06-08 19:52 GMT+08:00 Paolo Bonzini : > > 3) add an async_page_fault member to vcpu->arch.exception Do you think we should also add an async_page_fault field to x86_exception, then pass down to kvm_inject_page_fault() through x86_exception? Maybe we should modify kvm_queue_exception_e/kvm_mul

Re: [PATCH] iscsi-target: Fix delayed logout processing greater than SECONDS_FOR_LOGOUT_COMP

2017-06-08 Thread Nicholas A. Bellinger
Reviews pretty please..? On Sat, 2017-06-03 at 21:32 +, Nicholas A. Bellinger wrote: > From: Nicholas Bellinger > > This patch fixes a BUG() in iscsit_close_session() that could be > triggered when iscsit_logout_post_handler() execution from within > tx thread context was not run for more th

Re: [PATCH] target: Fix kref->refcount underflow in transport_cmd_finish_abort

2017-06-08 Thread Nicholas A. Bellinger
(Adding Quinn CC') Reviews please..? On Sat, 2017-06-03 at 21:09 +, Nicholas A. Bellinger wrote: > From: Nicholas Bellinger > > This patch fixes a se_cmd->cmd_kref underflow during CMD_T_ABORTED > when a fabric driver drops it's second reference from below the > target_core_tmr.c based call

Re: [PATCH 3/3] libnvdimm: New ACPI 6.2 DSM functions

2017-06-08 Thread Dan Williams
On Thu, Jun 8, 2017 at 1:02 AM, Johannes Thumshirn wrote: > On 06/07/2017 07:04 PM, Jerry Hoemann wrote: >> @@ -179,6 +217,10 @@ static inline const char *nvdimm_bus_cmd_name(unsigned >> cmd) >> [ND_CMD_ARS_START] = "ars_start", >> [ND_CMD_ARS_STATUS] = "ars_status", >

[PATCH] Drivers: unisys: visorhba - style fix

2017-06-08 Thread Derek Robson
Fixed style of permissions to octal. Found using checkpatch Signed-off-by: Derek Robson --- drivers/staging/unisys/visorhba/visorhba_main.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/staging/unisys/visorhba/visorhba_main.c b/drivers/staging/unisys/visorhba/visor

[PATCH 2/9] libnvdimm, label: add v1.2 interleave-set-cookie algorithm

2017-06-08 Thread Dan Williams
The interleave-set-cookie algorithm is extended to incorporate all the same components that are used to generate an nvdimm unique-id. For backwards compatibility we still maintain the old v1.1 definition. Signed-off-by: Dan Williams --- drivers/acpi/nfit/core.c| 53

[PATCH 4/9] libnvdimm, label: populate the type_guid property for v1.2 namespaces

2017-06-08 Thread Dan Williams
The type_guid refers to the "Address Range Type GUID" for the region backing a namespace as defined the ACPI NFIT (NVDIMM Firmware Interface Table). This 'type' identifier specifies an access mechanism for the given namespace. This capability replaces the confusing usage of the 'NSLABEL_FLAG_LOCAL'

[PATCH 7/9] libnvdimm, label: add v1.2 label checksum support

2017-06-08 Thread Dan Williams
The v1.2 namespace label specification adds a fletcher checksum to each label instance. Add generation and validation support for the new field. Signed-off-by: Dan Williams --- drivers/nvdimm/label.c | 39 +++ 1 file changed, 35 insertions(+), 4 deletions(-)

[PATCH 9/9] libnvdimm, label: switch to using v1.2 labels by default

2017-06-08 Thread Dan Williams
The rules for which version of the label specification are in effect at any given point in time are as follows: 1/ If a DIMM has an existing / valid index block then the version specified is used regardless if it is a previous version. 2/ By default when the kernel is initializing new index bl

[PATCH 8/9] libnvdimm, label: add address abstraction identifiers

2017-06-08 Thread Dan Williams
Starting with v1.2 labels, 'address abstractions' can be hinted via an address abstraction id that implies an info-block format. The standard address abstraction in the specification is the v2 format of the Block-Translation-Table (BTT). Support for that is saved for a later patch, for now we add s

[PATCH 0/9] libnvdimm, label: namespace specification v1.2 support

2017-06-08 Thread Dan Williams
The recently released UEFI 2.7 Specification [1], includes an updated version (v1.2) of the NVDIMM Namespace Label Specification that was previously published on pmem.io [2] (v1.1). In the process of moving to a UEFI standard definition the v1.2 updates adds several features for improved cross-OS

[PATCH 1/9] libnvdimm, label: add v1.2 nvdimm label definitions

2017-06-08 Thread Dan Williams
In support of improved interoperability between operating systems and pre-boot environments the Intel proposed NVDIMM Namespace Specification [1], has been adopted and modified to the the UEFI 2.7 NVDIMM Label Protocol [2]. Update the definitions of the namespace label data structures so that the

[PATCH 6/9] libnvdimm, label: update 'nlabel' and 'position' handling for local namespaces

2017-06-08 Thread Dan Williams
The v1.2 namespace label specification requires 'nlabel' and 'position' to be valid for the first ("lowest dpa") label in the set. It also requires all non-first labels to set those fields to 0xff. Linux does not much care if these values are correct, because we can just trust the count of labels

[PATCH 3/9] libnvdimm, label: honor the lba size specified in v1.2 labels

2017-06-08 Thread Dan Williams
Previously we only honored the lba size for blk-aperture mode namespaces. For pmem namespaces the lba size was just assumed to be 512. With the new v1.2 label definition and compatibility with other operating environments, the ->lbasize property is now respected for pmem namespaces. Cc: Ross Zwisl

[PATCH 5/9] libnvdimm, label: populate 'isetcookie' for blk-aperture namespaces

2017-06-08 Thread Dan Williams
Starting with the v1.2 definition of namespace labels, the isetcookie field is populated and validated for blk-aperture namespaces. This adds some safety against inadvertent copying of namespace labels from one DIMM-device to another. Signed-off-by: Dan Williams --- drivers/acpi/nfit/core.c

Re: [PATCH v10 1/6] i2c: designware: Cleaning and comment style fixes.

2017-06-08 Thread Peter Rosin
On 2017-06-08 19:36, Luis Oliveira wrote: > complicated to review. The work here won't bring any additional work to > backported fixes because is just style and reordering. I challenge that. If there is an old bug that existed before this patch that is fixed in the future after this patch has been

Re: [PATCH linux-next v3 1/1] spi: imx: dynamic burst length adjust for PIO mode

2017-06-08 Thread Jiada Wang
On 06/01/2017 10:38 PM, Sascha Hauer wrote: On Thu, Jun 01, 2017 at 04:58:47AM -0700, Jiada Wang wrote: Hi Sascha On 05/29/2017 02:50 AM, Sascha Hauer wrote: Hi, On Thu, May 25, 2017 at 10:02:42PM -0700, jiada_w...@mentor.com wrote: From: Jiada Wang previously burst length (BURST_LENGTH) is

Re: [PATCH v1 00/25] lib, rtc: Print rtc_time via %pt[dt][rv]

2017-06-08 Thread Joe Perches
On Thu, 2017-06-08 at 18:02 +0300, Andy Shevchenko wrote: > On Thu, Jun 8, 2017 at 5:52 PM, Joe Perches wrote: > > On Thu, 2017-06-08 at 16:47 +0300, Andy Shevchenko wrote: > > > Recently I have noticed too many users of struct rtc_time that printing > > > its content field by field. > > > > > >

[PATCH] staging: ks7010: use little-endian types

2017-06-08 Thread Perry Hooker
This patch fixes a number of sparse warnings of the form: drivers/staging/ks7010/ks_hostif.c:2187:29: warning: incorrect type in assignment (different base types) generated when storing little-endian data in variables that do not have a specified endianness. Signed-off-by: Perry Hooker --

[PATCH 0/3] Add support for the s6e63j0x03 panel on Rinato board

2017-06-08 Thread Hoegeun Kwon
Hi all, The purpose of this patch is add support for s6e63j0x03 AMOLED panel on the rinato board(Samsung Galaxy Gear 2). The first and second patches are Add the binding document and panel driver. The third patch is remove the unnecessary properties in the rinato dts. Best regards, Hoegeun Hoeg

[PATCH 3/3] ARM: dts: exynos: Remove the display-timing and delay from rinato dts

2017-06-08 Thread Hoegeun Kwon
The display-timing and delay are included in the panel driver. So it should be removed in dts. Signed-off-by: Hoegeun Kwon --- arch/arm/boot/dts/exynos3250-rinato.dts | 22 -- 1 file changed, 22 deletions(-) diff --git a/arch/arm/boot/dts/exynos3250-rinato.dts b/arch/arm/bo

[PATCH 1/3] dt-bindings: Add support for samsung s6e63j0x03 panel binding

2017-06-08 Thread Hoegeun Kwon
The Samsung s6e63j0x03 is a 1.63" 320x320 AMOLED panel connected using MIPI-DSI interfaces. Signed-off-by: Hoegeun Kwon --- .../bindings/display/panel/samsung,s6e63j0x03.txt | 24 ++ 1 file changed, 24 insertions(+) create mode 100644 Documentation/devicetree/bindings/disp

[PATCH 2/3] drm/panel: Add support for s6e63j0x03 panel driver

2017-06-08 Thread Hoegeun Kwon
This patch adds MIPI-DSI based S6E63J0X03 AMOLED LCD panel driver which uses mipi_dsi bus to communicate with panel. The panel has 320×320 resolution in 1.63" physical panel. This panel is used in Samsung Galaxy Gear 2. Signed-off-by: Inki Dae Signed-off-by: Hyungwon Hwang Signed-off-by: Hoegeun

[PATCH] netfilter: ctnetlink: move CTA_TIMEOUT case to outside

2017-06-08 Thread Haishuang Yan
When cda[CTA_TIMEOUT] is zero, ctnetlink_new_conntrack will free allocated ct and return, so move it to outside to optimize this situation. Signed-off-by: Haishuang Yan --- net/netfilter/nf_conntrack_netlink.c | 5 + 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/net/netfilter/

Re: [PATCH 1/3] media: ngene: Replace semaphore cmd_mutex with mutex

2017-06-08 Thread Binoy Jayan
On 8 June 2017 at 20:40, Arnd Bergmann wrote: > On Thu, Jun 8, 2017 at 12:04 PM, Binoy Jayan wrote: >> The semaphore 'cmd_mutex' is used as a simple mutex, so >> it should be written as one. Semaphores are going away in the future. >> >> Signed-off-by: Binoy Jayan >> --- > >> @@ -1283,7 +1283,7

Re: [PATCH v2 2/2] ARM: sun8i: a83t: add dwmac-sun8i ethernet driver

2017-06-08 Thread Chen-Yu Tsai
On Thu, Jun 8, 2017 at 8:48 PM, Maxime Ripard wrote: > On Thu, Jun 08, 2017 at 10:42:22AM +0200, Corentin Labbe wrote: >> On Thu, Jun 08, 2017 at 10:34:28AM +0200, Maxime Ripard wrote: >> > On Wed, Jun 07, 2017 at 07:33:45PM +0200, Corentin Labbe wrote: >> > > The dwmac-sun8i is an ethernet MAC ha

[PATCH v2] acpi: handle the acpi hotplug schedule error

2017-06-08 Thread Lee, Chun-Yi
Kernel should decrements the reference count of acpi device when the scheduling of acpi hotplug work is failed, and evaluates _OST to notify BIOS the failure. v2: To simplify the code. (Andy Shevchenko) Cc: "Rafael J. Wysocki" Cc: Len Brown Cc: Andy Shevchenko Signed-off-by: "Lee, Chun-Yi" --

Re: [PATCH 0/2] perf stat: fix segfault when closing events

2017-06-08 Thread Ganapatrao Kulkarni
ping? On Tue, May 23, 2017 at 8:44 PM, Ganapatrao Kulkarni wrote: > On Tue, May 23, 2017 at 3:34 PM, Mark Rutland wrote: >> Hi, >> >> Does anyone have any comments on these? >> >> I'm happy to rebase/resend if necessary. >> >> I'd very much like to see this fixed. > > arm64 platforms have depend

linux-next: manual merge of the kvms390 tree with the kvm-arm tree

2017-06-08 Thread Stephen Rothwell
Hi all, Today's linux-next merge of the kvms390 tree got a conflict in: arch/s390/include/asm/kvm_host.h between commit: 2387149eade2 ("KVM: improve arch vcpu request defining") from the kvm-arm tree and commit: 8611a6a64661 ("KVM: s390: CMMA tracking, ESSA emulation, migration mode")

Re: linux-next: build failure after merge of the device-mapper tree

2017-06-08 Thread Damien Le Moal
ot;dm zoned: drive-managed zoned block device target") > > I have used the device-mapper tree from next-20170608 for today. My apologies for that. My mistake. I just posted a patch to dm-devel to fix this. Everything should come in order after Mike's review. Best regards.

Re: [PATCH v2] refcount: Create unchecked atomic_t implementation

2017-06-08 Thread Manfred Spraul
Hi Davidlohr, On 06/08/2017 10:09 PM, Davidlohr Bueso wrote: Yes, this would be a prerequisite for ipc; which I initially thought didn't take a performance hit. Did you see a regression for ipc? The fast paths don't use the refcount, it is only used for rare situations: - GETALL, SETALL fo

Re: [PATCH] s390/crash: Fix KEXEC_NOTE_BYTES definition

2017-06-08 Thread Hari Bathini
On Friday 09 June 2017 07:47 AM, Xunlei Pang wrote: S390 KEXEC_NOTE_BYTES is not used by note_buf_t as before, which is now defined as follows: typedef u32 note_buf_t[CRASH_CORE_NOTE_BYTES/4]; It was changed by the CONFIG_CRASH_CORE feature. This patch gets rid of all the old KEXEC_NOTE_B

Re: [PATCH 1/4] drm: bridge: dw-hdmi: Export hdmi_phy_configure_dwc_hdmi_3d_tx

2017-06-08 Thread Mark yao
Ignore this patch, Jose has a better patch to solve rk3399 hdmi phy configure. Hi Jose Sorry for missing your patch about hdmi 2.0 vendor phy fixup: https://patchwork.kernel.org/patch/9702229 It works fine on rk3399/rk3288, can you resend a standard patch to upstream? Thanks On 2017年06月09日

[PATCH v6] mtd: handle partitioning on devices with 0 erasesize

2017-06-08 Thread Chris Packham
erasesize is meaningful for flash devices but for SRAM there is no concept of an erase block so erasesize is set to 0. When partitioning these devices instead of ensuring partitions fall on erasesize boundaries we ensure they fall on writesize boundaries. Helped-by: Boris Brezillon Signed-off-by:

Re: [kernel-hardening] [PATCH 0/6] LSM: Security module blob management

2017-06-08 Thread James Morris
On Thu, 8 Jun 2017, Matt Brown wrote: > On 6/8/17 4:43 PM, Casey Schaufler wrote: > > Subject: [PATCH 0/6] LSM: Security module blob management > > > > This patch set moves management of security blobs out of > > the Linux security modules and into the security module > > infrastructure. This all

Re: [HMM 07/15] mm/ZONE_DEVICE: new type of ZONE_DEVICE for unaddressable memory v3

2017-06-08 Thread John Hubbard
On 05/24/2017 10:20 AM, Jérôme Glisse wrote: [...8<...] +#if IS_ENABLED(CONFIG_DEVICE_PRIVATE) +int device_private_entry_fault(struct vm_area_struct *vma, + unsigned long addr, + swp_entry_t entry, + unsigned int flags, +

linux-next: manual merge of the devicetree tree with the renesas tree

2017-06-08 Thread Stephen Rothwell
Hi Rob, Today's linux-next merge of the devicetree tree got a conflict in: Documentation/devicetree/bindings/vendor-prefixes.txt between commit: d795f15618b8 ("of: Add vendor prefix for iWave Systems Technologies Pvt. Ltd") from the renesas tree and commit: 97a0268e764c ("devicetree: ad

Re: [PATCH v3 0/3] Add support for the S6E3HF2 panel on TM2e board

2017-06-08 Thread Hoegeun Kwon
Dear Thierry, Could you check these patches. Regards, Hoegeun On 05/19/2017 03:56 PM, Hoegeun Kwon wrote: Dear Thierry, Could you check these patches? I think this patches have accumulated enough dust. If you have a another opinion, please tell me. Best regards, Hoegeun On 04/18/2017 05:40

Re: [PATCH v2 1/1] Add Trusted Path Execution as a stackable LSM

2017-06-08 Thread Matt Brown
On 06/08/2017 10:38 PM, Kees Cook wrote: On Wed, Jun 7, 2017 at 8:43 PM, Matt Brown wrote: This patch was modified from Brad Spengler's Trusted Path Execution (TPE) feature. It also adds features and config options that were found in Corey Henderson's tpe-lkm project. Modifications from Brad S

[GIT PULL] Keys subsystem update

2017-06-08 Thread James Morris
Please pull these Keys subsystem fixes for 4.12. From David Howells: "Here are a bunch of fixes for Linux keyrings, including: (*) Fixing up the refcount handling now that key structs use the refcount_t type and the refcount_t ops don't allow a 0->1 transition. (*) Fix a potential NULL

Re: [PATCH] ASoC: Intel: sst: Remove unused function sst_restore_shim64()

2017-06-08 Thread Vinod Koul
On Wed, Jun 07, 2017 at 11:40:19PM +0200, Takashi Iwai wrote: > On Tue, 23 May 2017 02:12:58 +0200, > Matthias Kaehlcke wrote: > > > > Looks like the function has never been used since it was added by commit > > b0d94acd634a ("ASoC: Intel: mrfld - add shim save restore"). Removing it > > fixes the

Re: [PATCH] md: don't use flush_signals in userspace processes

2017-06-08 Thread Henrique de Moraes Holschuh
On Fri, 09 Jun 2017, NeilBrown wrote: > Or maybe it could be discarded - the md_check_recovery() thing. > The idea was that if you alt-sysrq-K to kill all processes, md arrays > would go into immediate-safe-mode where the metadata is marked clean > immediately after writes finish, rather than waiti

[PATCH tip/sched/core] Add comments to aid in safer usage of swake_up.

2017-06-08 Thread Krister Johansen
The behavior of swake_up() differs from that of wake_up(), and from the swake_up() that came from RT linux. A memory barrier, or some other synchronization, is needed prior to a swake_up so that the waiter sees the condition set by the waker, and so that the waker does not see an empty wait list.

Re: [PATCH tip/core/rcu 45/88] rcu: Add memory barriers for NOCB leader wakeup

2017-06-08 Thread Krister Johansen
On Thu, Jun 08, 2017 at 04:47:43PM -0700, Paul E. McKenney wrote: > On Thu, Jun 08, 2017 at 02:28:14PM -0700, Krister Johansen wrote: > > On Thu, Jun 08, 2017 at 01:55:00PM -0700, Paul E. McKenney wrote: > > > Interesting! This is the first that I have heard that this was anything > > > other than

[PATCH] wireless: wlcore: spi: remove unnecessary variable

2017-06-08 Thread Gustavo A. R. Silva
Remove unnecessary variable and refactor the code. Addresses-Coverity-ID: 1365000 Signed-off-by: Gustavo A. R. Silva --- drivers/net/wireless/ti/wlcore/spi.c | 7 ++- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/drivers/net/wireless/ti/wlcore/spi.c b/drivers/net/wireless/ti

  1   2   3   4   5   6   7   8   9   10   >