[PATCH] sock: use hlist_entry_safe

2017-01-20 Thread Geliang Tang
Use hlist_entry_safe() instead of open-coding it. Signed-off-by: Geliang Tang --- include/net/sock.h | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/include/net/sock.h b/include/net/sock.h index 4077ec4..c4e1caf1 100644 --- a/include/net/sock.h +++ b/include/net/sock.h @@ -

Re: [PATCH v10 3/4] console: Add persistent scrollback buffers for all VGA consoles

2017-01-20 Thread Adam Borowski
On Fri, Jan 20, 2017 at 02:31:56PM +0100, Greg KH wrote: > On Fri, Jan 20, 2017 at 02:16:11PM +0100, Adam Borowski wrote: > > On Fri, Jan 20, 2017 at 12:04:12AM +0100, Adam Borowski wrote: > > > On Thu, Jan 19, 2017 at 05:33:14PM +0100, Greg KH wrote: > > > > I'd recommend that patch get to clear_c

Re: [patch 5/5] PTP: add kvm PTP driver

2017-01-20 Thread Radim Krcmar
2017-01-20 15:12+0100, Radim Krcmar: > 2017-01-20 10:20-0200, Marcelo Tosatti: >> +spin_lock(&kvm_ptp_lock); > > What does the lock prevent? clock_off/clock_off_gpa. :)

Re: [patch 3/3] PTP: add kvm PTP driver

2017-01-20 Thread Radim Krcmar
2017-01-18 13:28-0200, Marcelo Tosatti: > On Wed, Jan 18, 2017 at 04:20:33PM +0100, Radim Krcmar wrote: >> 2017-01-18 12:53-0200, Marcelo Tosatti: >> > GOn Wed, Jan 18, 2017 at 12:37:25PM -0200, Marcelo Tosatti wrote: >> > > On Wed, Jan 18, 2017 at 01:46:58PM +0100, Paolo Bonzini wrote: >> > > > >

Re: [PATCH 7/8] mq-deadline: add blk-mq adaptation of the deadline IO scheduler

2017-01-20 Thread Jens Axboe
On Fri, Jan 20 2017, Paolo Valente wrote: > > > Il giorno 20 gen 2017, alle ore 14:14, Paolo Valente > > ha scritto: > > > >> > >> Il giorno 17 dic 2016, alle ore 01:12, Jens Axboe ha > >> scritto: > >> > >> This is basically identical to deadline-iosched, except it registers > >> as a MQ c

Re: [PATCH 1/2] random: use chacha20 for get_random_int/long

2017-01-20 Thread Theodore Ts'o
On Fri, Jan 20, 2017 at 06:27:19AM +0100, Jason A. Donenfeld wrote: > This is most certainly not the case. Read closely. > > I use a different variable for each function. get_random_u32 only > touches batched_entropy_u32, and get_random_u64 only touches > bached_entropy_u64. Under no circumstances

[ANNOUNCE] util-linux v2.29.1

2017-01-20 Thread Karel Zak
The util-linux release v2.29.1 is available at http://ftp.kernel.org/pub/linux/utils/util-linux/v2.29 Feedback and bug reports, as always, are welcomed. Karel util-linux 2.29.1 Release Notes === build-sys: - cleanup UL_NCURSES_CHECK [Karel Zak] - don't

Re: [PATCH 7/8] mq-deadline: add blk-mq adaptation of the deadline IO scheduler

2017-01-20 Thread Jens Axboe
On Fri, Jan 20 2017, Paolo Valente wrote: > > > Il giorno 17 dic 2016, alle ore 01:12, Jens Axboe ha scritto: > > > > This is basically identical to deadline-iosched, except it registers > > as a MQ capable scheduler. This is still a single queue design. > > > > Jens, > no spin_lock_irq* in th

Re: [PATCH v3 19/24] media: imx: Add IC subdev drivers

2017-01-20 Thread Hans Verkuil
On 01/07/2017 03:11 AM, Steve Longerbeam wrote: > This is a set of three media entity subdevice drivers for the i.MX > Image Converter. The i.MX IC module contains three independent > "tasks": > > - Pre-processing Encode task: video frames are routed directly from > the CSI and can be scaled, co

[PATCH] ext4: use i_blocksize()

2017-01-20 Thread Geliang Tang
Since i_blocksize() helper has been defined in fs.h, use it instead of open-coding. Signed-off-by: Geliang Tang --- fs/ext4/move_extent.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/fs/ext4/move_extent.c b/fs/ext4/move_extent.c index 578f8c3..60222ed 100644 --- a/fs/ext4/

[PATCH] truncate: use i_blocksize()

2017-01-20 Thread Geliang Tang
Since i_blocksize() helper has been defined in fs.h, use it instead of open-coding. Signed-off-by: Geliang Tang --- mm/truncate.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mm/truncate.c b/mm/truncate.c index dd7b24e..4c49a9b 100644 --- a/mm/truncate.c +++ b/mm/truncate.

[PATCH] staging: lustre: use i_blocksize()

2017-01-20 Thread Geliang Tang
Since i_blocksize() helper has been defined in fs.h, use it instead of open-coding. Signed-off-by: Geliang Tang --- drivers/staging/lustre/lustre/llite/file.c| 2 +- drivers/staging/lustre/lustre/obdclass/obdo.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/s

[PATCH] md/bitmap: use i_blocksize()

2017-01-20 Thread Geliang Tang
Since i_blocksize() helper has been defined in fs.h, use it instead of open-coding. Signed-off-by: Geliang Tang --- drivers/md/bitmap.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/drivers/md/bitmap.c b/drivers/md/bitmap.c index 9fb2cca..30b1b89 100644 --- a/drivers/

[PATCH V2] PCI: enable extended tags support for PCIe devices

2017-01-20 Thread Sinan Kaya
Each PCIe device can issue up to 32 transactions at a time by default. Each transaction is tracked by a tag number on the bus. 2.2.6.2. Transaction Descriptor – Transaction ID Field section of the PCIe 3.1 specification describes extended tags. 32 transaction limit has been extended to 256 on PCI

[PATCH] isofs: use i_blocksize()

2017-01-20 Thread Geliang Tang
Since i_blocksize() helper has been defined in fs.h, use it instead of open-coding. Signed-off-by: Geliang Tang --- fs/isofs/rock.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/fs/isofs/rock.c b/fs/isofs/rock.c index 0ec1373..038728b 100644 --- a/fs/isofs/rock.c +++ b/fs/i

[PATCH] fs/buffer: use i_blocksize()

2017-01-20 Thread Geliang Tang
Since i_blocksize() helper has been defined in fs.h, use it instead of open-coding. Signed-off-by: Geliang Tang --- fs/buffer.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/fs/buffer.c b/fs/buffer.c index 28484b3..53612c4 100644 --- a/fs/buffer.c +++ b/fs/buffer.c @@ -243,

[GIT PULL] Ceph fixes for 4.10-rc5

2017-01-20 Thread Ilya Dryomov
Hi Linus, The following changes since commit 49def1853334396f948dcb4cedb9347abb318df5: Linux 4.10-rc4 (2017-01-15 16:21:59 -0800) are available in the git repository at: https://github.com/ceph/ceph-client.git tags/ceph-for-4.10-rc5 for you to fetch changes up to 6df8c9d80a27cb587f61b4f06b

Re: [PATCH] power: reset: Add MAX77620 support

2017-01-20 Thread Guenter Roeck
On 01/20/2017 05:11 AM, Thierry Reding wrote: On Fri, Jan 20, 2017 at 01:44:04PM +0100, Sebastian Reichel wrote: Hi, On Thu, Jan 19, 2017 at 03:29:34PM -0800, Guenter Roeck wrote: On Fri, Jan 20, 2017 at 12:00:36AM +0100, Sebastian Reichel wrote: I actually have a set of patches somewhere whic

Re: [PATCH v2 1/2] HID: multitouch: enable Surface 3 Type Cover Pro to report multitouch data

2017-01-20 Thread Jiri Kosina
On Thu, 19 Jan 2017, Dennis Chen wrote: > Nearly identical to the previous set of patches related to Microsoft > Surface Keyboards. > > Removes Surface Pro 3 generation TypeCover support from hid-microsoft > so proper multitouch data can be reported from the touchpad. > > Signed-off-by: Dennis C

Re: [patch 4/5] PTP: add PTP_SYS_OFFSET emulation via cross timestamps infrastructure

2017-01-20 Thread Miroslav Lichvar
On Fri, Jan 20, 2017 at 03:23:08PM +0100, Paolo Bonzini wrote: > On 20/01/2017 15:02, Radim Krcmar wrote: > > Another solution would be to do just one one read and set it to all > > saples -- the difference between t[i] and t[i+2] would be 0. We are > > quite sure the just one read is enough, this

Re: [PATCH v3 2/4] dt-bindings: Add TI SCI PM Domains

2017-01-20 Thread Sudeep Holla
On 20/01/17 14:00, Ulf Hansson wrote: > + Sudeep > > On 19 January 2017 at 00:03, Rob Herring wrote: >> >> We could continue to use the power domain binding (maybe we already >> are and that ship has sailed). I'm not totally against the idea even >> if there is no power domain, but I'm not sol

[PATCH] percpu_counter: percpu_counter_hotcpu_callback() cleanup

2017-01-20 Thread Eric Dumazet
From: Eric Dumazet In commit ebd8fef304f9 ("percpu_counter: make percpu_counters_lock irq-safe") we disabled irqs in percpu_counter_hotcpu_callback() We can grab every counter spinlock without having to disable irqs again. Signed-off-by: Eric Dumazet Cc: Tejun Heo --- lib/percpu_counter.c |

[PATCH 2/2] nilfs2: use nilfs_btree_node_size()

2017-01-20 Thread Geliang Tang
Use nilfs_btree_node_size() instead of open-coding. Signed-off-by: Geliang Tang --- fs/nilfs2/btree.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/fs/nilfs2/btree.c b/fs/nilfs2/btree.c index d75238a..06ffa13 100644 --- a/fs/nilfs2/btree.c +++ b/fs/nilfs2/btree.c @@ -1870,7

[PATCH 1/2] nilfs2: use i_blocksize()

2017-01-20 Thread Geliang Tang
Since i_blocksize() helper has been defined in fs.h, use it instead of open-coding. Signed-off-by: Geliang Tang --- fs/nilfs2/alloc.c | 2 +- fs/nilfs2/btree.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/fs/nilfs2/alloc.c b/fs/nilfs2/alloc.c index 2c90e28..03b8ba9 1006

Re: [PATCH v3 20/24] media: imx: Add Camera Interface subdev driver

2017-01-20 Thread Hans Verkuil
On 01/07/2017 03:11 AM, Steve Longerbeam wrote: > This is the camera interface driver that provides the v4l2 > user interface. Frames can be received from various sources: > > - directly from SMFC for capturing unconverted images directly from > camera sensors. > > - from the IC pre-process enc

[PATCH] dm bio prison: use rb_entry()

2017-01-20 Thread Geliang Tang
To make the code clearer, use rb_entry() instead of container_of() to deal with rbtree. Signed-off-by: Geliang Tang --- drivers/md/dm-bio-prison.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/md/dm-bio-prison.c b/drivers/md/dm-bio-prison.c index 03af174..a2c8a9e 10

[tip:timers/core] x86/timer: Make delay() during early bootup

2017-01-20 Thread tip-bot for Jiri Slaby
Commit-ID: bf3304d996fbb993bad6be09cafde39cc2db72bb Gitweb: http://git.kernel.org/tip/bf3304d996fbb993bad6be09cafde39cc2db72bb Author: Jiri Slaby AuthorDate: Thu, 19 Jan 2017 12:47:30 +0100 Committer: Ingo Molnar CommitDate: Fri, 20 Jan 2017 09:45:22 +0100 x86/timer: Make delay() durin

[PATCH] 6lowpan: use rb_entry()

2017-01-20 Thread Geliang Tang
To make the code clearer, use rb_entry() instead of container_of() to deal with rbtree. Signed-off-by: Geliang Tang --- net/6lowpan/nhc.c | 8 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/net/6lowpan/nhc.c b/net/6lowpan/nhc.c index 7008d53..4fa2fdd 100644 --- a/net/6low

[tip:locking/core] locking/rwsem: Remove unnecessary atomic_long_t casts

2017-01-20 Thread tip-bot for Waiman Long
Commit-ID: 06321dd2d1ae5b5bdc847958ab9e71d22a29a33e Gitweb: http://git.kernel.org/tip/06321dd2d1ae5b5bdc847958ab9e71d22a29a33e Author: Waiman Long AuthorDate: Thu, 19 Jan 2017 09:31:52 -0500 Committer: Ingo Molnar CommitDate: Fri, 20 Jan 2017 09:46:44 +0100 locking/rwsem: Remove unnece

[PATCH v2 1/4] mpt3sas: Added print to notify cable running at a degraded speed.

2017-01-20 Thread Chaitra P B
Driver processes the event MPI26_EVENT_ACTIVE_CABLE_DEGRADED when a cable is present and is running at a degraded speed (below the SAS3 12 Gb/s rate). Prints added to inform the user that the cable is not running at optimal speed. Signed-off-by: Chaitra P B Signed-off-by: Suganath Prabu S --- d

[PATCH v2 0/4] mpt3sas driver Enhancements and

2017-01-20 Thread Chaitra P B
Here is the change list: Posting 4 patches for mpt3sas driver enhancement and defect fixes. * Handle cable event for notifying degraded speed. * Performance improvement for Crusader. * Fix Firmware fault state 0x2100 during heavy 4K RR FIO stress test. * Updated driver version to 15.100

[PATCH v2 4/4] mpt3sas: Updating driver version to v15.100.00.00

2017-01-20 Thread Chaitra P B
Signed-off-by: Chaitra P B Signed-off-by: Suganath Prabu S --- drivers/scsi/mpt3sas/mpt3sas_base.h |6 +++--- 1 files changed, 3 insertions(+), 3 deletions(-) diff --git a/drivers/scsi/mpt3sas/mpt3sas_base.h b/drivers/scsi/mpt3sas/mpt3sas_base.h index 83cfa16..4ab634f 100644 --- a/drivers

[PATCH v2 3/4] mpt3sas: Fix Firmware fault state 0x2100 during heavy 4K RR FIO stress test.

2017-01-20 Thread Chaitra P B
Due existence of loop in the IO path our HBA will receive heavy IOs and also as driver is not updating the Reply Post Host Index frequently, So there will be a high chance that our Firmware unable to find any free entry in the Reply Post Descriptor Queue (i.e. Queue overflow occurs) and can observe

[PATCH v2 2/4] mpt3sas: Fix for Crusader to achieve product targets with SAS devices.

2017-01-20 Thread Chaitra P B
Small glitch/degraded performance in Crusader is improved with SAS drives by removing unnecessary spinlocks while clearing scsi command in drivers internal lookup table. Signed-off-by: Chaitra P B Signed-off-by: Suganath Prabu S --- drivers/scsi/mpt3sas/mpt3sas_base.c |1 + drivers/scsi/mp

Re: [PATCH 00/12] Cqm2: Intel Cache quality monitoring fixes

2017-01-20 Thread Thomas Gleixner
On Thu, 19 Jan 2017, David Carrillo-Cisneros wrote: > > If resctrl groups could lift the restriction of one resctl per CLOSID, > then the user can create many resctrl in the way perf cgroups are > created now. The advantage is that there wont be cgroup hierarchy! > making things much simpler. Also

Re: [PATCH v2] mtd: spi-nor: Fix S3AN addressing calculation

2017-01-20 Thread Cyrille Pitchen
Le 20/01/2017 à 14:48, Marek Vasut a écrit : > On 01/20/2017 02:26 PM, Cyrille Pitchen wrote: >> Le 18/01/2017 à 17:40, Ricardo Ribalda Delgado a écrit : >>> The page calculation under spi_nor_s3an_addr_convert() was wrong. On >>> Default Address Mode we need to perform a divide by page_size. >>> >

Re: [PATCH V2] PCI: enable extended tags support for PCIe devices

2017-01-20 Thread Sinan Kaya
On 1/20/2017 9:16 AM, Sinan Kaya wrote: > Each PCIe device can issue up to 32 transactions at a time by default. > This limitation is historically coming from PCI. Each transaction is > tracked by a tag number on the bus. 2.2.6.2. Transaction Descriptor > – Transaction ID Field section of the PCIe

[PATCH] net/mlx4: use rb_entry()

2017-01-20 Thread Geliang Tang
To make the code clearer, use rb_entry() instead of container_of() to deal with rbtree. Signed-off-by: Geliang Tang --- drivers/net/ethernet/mellanox/mlx4/resource_tracker.c | 8 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/drivers/net/ethernet/mellanox/mlx4/resource_tr

Re: [PATCH v3 22/24] media: imx: Add MIPI CSI-2 OV5640 sensor subdev driver

2017-01-20 Thread Hans Verkuil
On 01/07/2017 03:11 AM, Steve Longerbeam wrote: > This driver is based on ov5640_mipi.c from Freescale imx_3.10.17_1.0.0_beta > branch, modified heavily to bring forward to latest interfaces and code > cleanup. > > Signed-off-by: Steve Longerbeam > --- > drivers/staging/media/imx/Kconfig |

Re: [PATCH 0/7] drm/exynos: add Ultra HD and interlace modes support to Exynos5433

2017-01-20 Thread Krzysztof Kozlowski
On Fri, Jan 20, 2017 at 07:52:18AM +0100, Andrzej Hajda wrote: > Hi Inki, > > This patchset adds support for UltraHD and intrelace modes on DECON and HDMI > drivers of Exynos5433 chipset. To fully support it on TM2(e) platforms MHL > patches are alse required which will be posted in separate patch

[PATCH] drm/nouveau/client: use rb_entry()

2017-01-20 Thread Geliang Tang
To make the code clearer, use rb_entry() instead of container_of() to deal with rbtree. Signed-off-by: Geliang Tang --- drivers/gpu/drm/nouveau/nvkm/core/client.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/gpu/drm/nouveau/nvkm/core/client.c b/drivers/gpu/drm

Re: [tpmdd-devel] [PATCH 1/2] tpm2: add session handle isolation to tpm spaces

2017-01-20 Thread James Bottomley
On Fri, 2017-01-20 at 15:23 +0200, Jarkko Sakkinen wrote: > On Thu, Jan 19, 2017 at 07:11:23AM -0500, James Bottomley wrote: > > On Thu, 2017-01-19 at 13:58 +0200, Jarkko Sakkinen wrote: > > > On Wed, Jan 18, 2017 at 10:09:46AM -0500, James Bottomley wrote: > > > > sessions should be isolated durin

[PATCH] drm/i915/error: use rb_entry()

2017-01-20 Thread Geliang Tang
To make the code clearer, use rb_entry() instead of container_of() to deal with rbtree. Signed-off-by: Geliang Tang --- drivers/gpu/drm/i915/i915_gpu_error.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/gpu/drm/i915/i915_gpu_error.c b/drivers/gpu/drm/i915/i915_gpu

[patch 2/5] KVM: x86: add KVM_HC_CLOCK_OFFSET hypercall

2017-01-20 Thread Marcelo Tosatti
Add a hypercall to retrieve the host realtime clock and the TSC value used to calculate that clock read. Used to implement clock synchronization between host and guest. Signed-off-by: Marcelo Tosatti --- Documentation/virtual/kvm/hypercalls.txt | 33 arch/x86/include

[patch 5/5] PTP: add kvm PTP driver

2017-01-20 Thread Marcelo Tosatti
Add a driver with gettime method returning hosts realtime clock. This allows Chrony to synchronize host and guest clocks with high precision (see results below). chronyc> sources MS Name/IP address Stratum Poll Reach LastRx Last sample =

[patch 1/5] KVM: x86: provide realtime host clock via vsyscall notifiers

2017-01-20 Thread Marcelo Tosatti
Expose the realtime host clock and save the TSC value used for the clock calculation. Signed-off-by: Marcelo Tosatti --- arch/x86/kvm/x86.c | 36 1 file changed, 36 insertions(+) v2: unify nsec_base (Radim) Index: kvm-ptpdriver/arch/x86/kvm/x86.c ===

[patch 3/5] kvmclock: export kvmclock clocksource pointer

2017-01-20 Thread Marcelo Tosatti
To be used by KVM PTP driver. Signed-off-by: Marcelo Tosatti --- arch/x86/include/asm/kvmclock.h |6 ++ arch/x86/kernel/kvmclock.c |3 ++- 2 files changed, 8 insertions(+), 1 deletion(-) v2: export kvmclock clocksource structure directly (Paolo) Index: kvm-ptpdriver/arch/x86/

Re: [RFC] [GPU][DRM][PROPERTY] -Added a new ioctl in Linux DRM KMS driver.

2017-01-20 Thread Daniel Stone
Hi Satendra, On 20 January 2017 at 08:12, Satendra Singh Thakur wrote: > -Added a new ioctl in Linux DRM KMS driver. > This ioctl allows user to set the values of an object’s multiple > properties in one go. > -In the absence of such ioctl, User would be calling one ioctl to set each > propert

Re: [PATCH 7/7] arm64: dts: exynos: configure TV path clocks for Ultra HD modes

2017-01-20 Thread Krzysztof Kozlowski
On Fri, Jan 20, 2017 at 07:52:25AM +0100, Andrzej Hajda wrote: > Ultra HD modes requires clock ticking at increased rate. > > Signed-off-by: Andrzej Hajda > --- > arch/arm64/boot/dts/exynos/exynos5433.dtsi | 3 +++ > 1 file changed, 3 insertions(+) > > diff --git a/arch/arm64/boot/dts/exynos/ex

[patch 4/5] PTP: add PTP_SYS_OFFSET emulation via cross timestamps infrastructure

2017-01-20 Thread Marcelo Tosatti
Emulate PTP_SYS_OFFSET by using an arithmetic mean of the realtime samples from ->getcrosststamp callback. Note: if the realtime clock changes during cross timestamp sampling, then the mean will return a value that does not exist. Given the nature of PTP_SYS_OFFSET users (time synchronization), t

Re: [V2 1/2] document: dt: add binding for Hi3660 SoC

2017-01-20 Thread Wei Xu
Hi Chen Feng, On 2017/1/10 7:55, Chen Feng wrote: > Add binding for hisilicon Hi3660 SoC and HiKey960 Board. > > Signed-off-by: Chen Feng > Acked-by: Rob Herring > --- Applied both to the hisilicon SoC tree with minimal changes about the format. Thanks! Best Regards, Wei > Documentation/dev

[PATCH] tpm: Restore functionality to xen vtpm driver.

2017-01-20 Thread Dr. Greg Wettstein
Functionality of the xen-tpmfront driver was lost secondary to the introduction of xenbus multi-page support in the following commit: ccc9d90a9a8b5c4ad7e9708ec41f75ff9e98d61d xenbus_client: Extend interface to support multi-page ring In this commit a pointer to the shared page address was being

Re: [PATCH v2 2/4] mpt3sas: Fix for Crusader to achieve product targets with SAS devices.

2017-01-20 Thread Johannes Thumshirn
On Fri, Jan 20, 2017 at 08:12:11PM +0530, Chaitra P B wrote: > Small glitch/degraded performance in Crusader is improved with SAS > drives by removing unnecessary spinlocks while clearing scsi command > in drivers internal lookup table. > > Signed-off-by: Chaitra P B > Signed-off-by: Suganath Pra

Re: [PATCH v2 1/4] mpt3sas: Added print to notify cable running at a degraded speed.

2017-01-20 Thread Johannes Thumshirn
On Fri, Jan 20, 2017 at 08:12:10PM +0530, Chaitra P B wrote: > Driver processes the event MPI26_EVENT_ACTIVE_CABLE_DEGRADED > when a cable is present and is running at a degraded speed > (below the SAS3 12 Gb/s rate). Prints added > to inform the user that the cable is not running at > optimal spee

Re: [PATCH v2 4/4] mpt3sas: Updating driver version to v15.100.00.00

2017-01-20 Thread Johannes Thumshirn
On Fri, Jan 20, 2017 at 08:12:13PM +0530, Chaitra P B wrote: > > Signed-off-by: Chaitra P B > Signed-off-by: Suganath Prabu S > --- Reviewed-by: Johannes Thumshirn -- Johannes Thumshirn Storage jthumsh...@suse.de+49 911

Re: [PATCH v5 00/14] ARM: da850-lcdk: add SATA support

2017-01-20 Thread Tejun Heo
Hello, Sekhar. On Fri, Jan 20, 2017 at 07:52:35PM +0530, Sekhar Nori wrote: > Tejun, I am open to queuing the driver changes through ARM-SoC. I guess > with that there is little chance that SATA will be broken on linux-next > for a longish period of time. Yeah, I'd prefer the patchset staying tog

Re: [PATCH] md/bitmap: use i_blocksize()

2017-01-20 Thread Coly Li
On 2017/1/20 下午10:29, Geliang Tang wrote: > Since i_blocksize() helper has been defined in fs.h, use it instead > of open-coding. > > Signed-off-by: Geliang Tang > --- > drivers/md/bitmap.c | 6 +++--- > 1 file changed, 3 insertions(+), 3 deletions(-) > > diff --git a/drivers/md/bitmap.c b/driv

Re: [patch 4/5] PTP: add PTP_SYS_OFFSET emulation via cross timestamps infrastructure

2017-01-20 Thread Marcelo Tosatti
On Fri, Jan 20, 2017 at 02:36:40PM +0100, Paolo Bonzini wrote: > > > On 20/01/2017 14:07, Marcelo Tosatti wrote: > > On Fri, Jan 20, 2017 at 01:55:27PM +0100, Paolo Bonzini wrote: > >> > >> > >> On 20/01/2017 13:20, Marcelo Tosatti wrote: > >>> kernel/time/timekeeping.c| 79 > >>>

qedi_iscsi.c:undefined reference to `do_not_recover'

2017-01-20 Thread kbuild test robot
tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master head: 44b4b461a0fb407507b46ea76a71376d74de7058 commit: ace7f46ba5fde7273207c7122b0650ceb72510e0 scsi: qedi: Add QLogic FastLinQ offload iSCSI driver framework. date: 5 weeks ago config: i386-randconfig-c0-012020

[patch 0/5] KVM virtual PTP driver (v4)

2017-01-20 Thread Marcelo Tosatti
This patchset implements a virtual PTP driver which allows guest to sync its clock to the host clock with high precision (error is < 1us on an idle guest). Changelog from v3 Patch3: v2: export kvmclock clocksource structure directly (Paolo) Patch4: v2: drop timekeeper spinlock, move back to dr

Re: [PATCH] percpu_counter: percpu_counter_hotcpu_callback() cleanup

2017-01-20 Thread Tejun Heo
On Fri, Jan 20, 2017 at 06:34:22AM -0800, Eric Dumazet wrote: > From: Eric Dumazet > > In commit ebd8fef304f9 ("percpu_counter: make percpu_counters_lock > irq-safe") we disabled irqs in percpu_counter_hotcpu_callback() > > We can grab every counter spinlock without having to disable > irqs agai

[patch 5/5] PTP: add kvm PTP driver (v2)

2017-01-20 Thread Marcelo Tosatti
Add a driver with gettime method returning hosts realtime clock. This allows Chrony to synchronize host and guest clocks with high precision (see results below). chronyc> sources MS Name/IP address Stratum Poll Reach LastRx Last sample

Re: [PATCH 4/4] mm, page_alloc: Only use per-cpu allocator for irq-safe requests

2017-01-20 Thread Vlastimil Babka
On 01/17/2017 10:29 AM, Mel Gorman wrote: [...] > @@ -1244,10 +1243,8 @@ static void __free_pages_ok(struct page *page, > unsigned int order) > return; > > migratetype = get_pfnblock_migratetype(page, pfn); > - local_irq_save(flags); > - __count_vm_events(PGFREE, 1

Re: [patch 5/5] PTP: add kvm PTP driver

2017-01-20 Thread Marcelo Tosatti
On Fri, Jan 20, 2017 at 03:12:56PM +0100, Radim Krcmar wrote: > 2017-01-20 10:20-0200, Marcelo Tosatti: > > Add a driver with gettime method returning hosts realtime clock. > > This allows Chrony to synchronize host and guest clocks with > > high precision (see results below). > > > > chronyc> so

Re: [PATCH] dm bio prison: use rb_entry()

2017-01-20 Thread Coly Li
On 2017/1/20 下午10:36, Geliang Tang wrote: > To make the code clearer, use rb_entry() instead of container_of() to > deal with rbtree. > > Signed-off-by: Geliang Tang > --- > drivers/md/dm-bio-prison.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/drivers/md/dm-bio-pri

Re: BUG: rcu_sched detected stalls on CPUs

2017-01-20 Thread Steven Rostedt
On Fri, 20 Jan 2017 10:43:50 +0200 mi...@stz-bg.com wrote: > [1.] One line summary of the problem: > > rcu_sched detected stalls on CPUs and few minutes server not respond. Is this reproducible? Or was this a one time ordeal? > > [2.] Full description of the problem/report: > > Load of my ser

Re: [RFC/RFT PATCH 1/4] drm/bridge: dw-hdmi: Switch to regmap for register access

2017-01-20 Thread Neil Armstrong
On 01/17/2017 03:39 PM, Laurent Pinchart wrote: > Hi Neil, > > Thank you for the patch. > > On Tuesday 17 Jan 2017 13:31:31 Neil Armstrong wrote: >> The Synopsys Designware HDMI TX Controller does not enforce register access >> on platforms instanciating it. >> The current driver supports two dif

[PATCH 1/4] HID: wacom: release the resources before leaving despite devm

2017-01-20 Thread Benjamin Tissoires
In the general case, the resources are properly released by devm without needing to do anything. However, when unplugging the wireless receiver, the kernel segfaults from time to time while calling devres_release_all(). I think in that case the resources attempt to access hid_get_drvdata(hdev) whi

[PATCH 3/4] HID: wacom: do not attempt to switch mode while in probe

2017-01-20 Thread Benjamin Tissoires
The Intuos Pro seems to not like when we set the features right after being powered up. Instead of waiting during probe, we can schedule the switch mode and LED control in a deferred worker so that we don't have the 5 secs of delay from USB when the device is not accessible. The USB timeout delays

[PATCH 4/4] HID: wacom: do not shout an error on LED control

2017-01-20 Thread Benjamin Tissoires
At plug, the tablet seems to output a -EPIPE when first accessing the LED. The weird part is that the command is taken into account by the tablet, but we shout an error in the dmesg. Cut off the error so that users are happier. Signed-off-by: Benjamin Tissoires --- drivers/hid/wacom_sys.c | 8 +

[PATCH 0/4] HID: wacom: fixes for next

2017-01-20 Thread Benjamin Tissoires
Hi, well, these are non critical but nonetheless interesting fixes for Wacom I was working on last week. I was waiting for the current v4.10 fix to be sent by Jason before pushing those out. Cheers, Benjamin Benjamin Tissoires (4): HID: wacom: release the resources before leaving despite devm

[PATCH 2/4] HID: wacom: remove warning while disconnecting devices

2017-01-20 Thread Benjamin Tissoires
When the LED class gets removed, it actually tries to reset the LED. However, the device being disconnected, the set_report fails. Previously, the attempt to cut lose this last event was through unsetting the HID drvdata, but it was not working properly. Simply reset the LED groups to NULL makes a

Re: [PATCH v3 2/3] spi: pxa2xx: Prepare for edge-triggered interrupts

2017-01-20 Thread Jan Kiszka
On 2017-01-20 13:21, Mark Brown wrote: > On Thu, Jan 19, 2017 at 10:04:32PM +0200, Andy Shevchenko wrote: >> On Thu, 2017-01-19 at 19:57 +, Mark Brown wrote: > >>> I'm missing patches 1 and 3, what's going on here? > >> Patch 1 had been applied by you. I think Jan just needs to resend with >>

Re: [PATCH v14 5/5] arm64: dt: hikey: Add optee node

2017-01-20 Thread Wei Xu
Hi Jens, On 2017/1/18 12:58, Jens Wiklander wrote: > From: Jerome Forissier > > Signed-off-by: Jerome Forissier > Signed-off-by: Jens Wiklander Thanks! Fine to me. Acked-by: Wei Xu Best Regards, Wei > --- > arch/arm64/boot/dts/hisilicon/hi6220-hikey.dts | 7 +++ > 1 file changed, 7 in

[RFC simple allocator v1 1/2] Create Simple Allocator module

2017-01-20 Thread Benjamin Gaignard
This is the core of simple allocator module. It aim to offert one common ioctl to allocate specific memory. Signed-off-by: Benjamin Gaignard --- Documentation/simple-allocator.txt | 81 +++ drivers/Kconfig | 2 + drivers/Makefile

[RFC simple allocator v1 2/2] add CMA simple allocator module

2017-01-20 Thread Benjamin Gaignard
This patch add simple allocator for CMA regions Signed-off-by: Benjamin Gaignard --- drivers/simpleallocator/Kconfig| 7 + drivers/simpleallocator/Makefile | 1 + drivers/simpleallocator/simple-allocator-cma.c | 187 + 3 files changed, 19

[RFC simple allocator v1 0/2] Simple allocator

2017-01-20 Thread Benjamin Gaignard
The goal of this RFC is to understand if a common ioctl for specific memory regions allocations is needed/welcome. Obviously it will not replace allocation done in linux kernel frameworks like v4l2, drm/kms or others, but offer an alternative when you don't want/need to use them for buffer allocat

Re: [PATCH 05/13] x86, dax: replace clear_pmem() with open coded memset + dax_ops->flush

2017-01-20 Thread Dan Williams
On Fri, Jan 20, 2017 at 2:27 AM, Jan Kara wrote: > On Thu 19-01-17 19:50:39, Dan Williams wrote: >> The clear_pmem() helper simply combines a memset() plus a cache flush. >> Now that the flush routine is optionally provided by the dax device >> driver we can avoid unnecessary cache management on d

Re: [PATCH 3/4] mm, page_alloc: Drain per-cpu pages from workqueue context

2017-01-20 Thread Mel Gorman
On Fri, Jan 20, 2017 at 03:26:05PM +0100, Vlastimil Babka wrote: > > @@ -2392,8 +2404,24 @@ void drain_all_pages(struct zone *zone) > > else > > cpumask_clear_cpu(cpu, &cpus_with_pcps); > > } > > - on_each_cpu_mask(&cpus_with_pcps, (smp_call_func_t) drain_local

Re: GPS drivers (was Re: [PATCH v2 0/9] Serial slave device bus)

2017-01-20 Thread Linus Walleij
oOn Fri, Jan 20, 2017 at 3:22 PM, Pavel Machek wrote: > Switched subject: Rob's work is great for GPS and bluetooth, but this > goes beyond it. Sure why not talk around a bit. >> In my simple opinion GPSes shound live in drivers/iio/gps simply by >> usecase association: streaming out a series o

[PATCH v2] VME: restore bus_remove function causing incomplete module unload

2017-01-20 Thread Paul Gortmaker
From: Stefano Babic Commit 050c3d52cc7810d9d17b8cd231708609af6876ae ("vme: make core vme support explicitly non-modular") dropped the remove function because it appeared as if it was for removal of the bus, which is not supported. However, vme_bus_remove() is called when a VME device is removed

Re: [PATCH 1/2] random: use chacha20 for get_random_int/long

2017-01-20 Thread Jason A. Donenfeld
Hi Ted, On Fri, Jan 20, 2017 at 3:28 PM, Theodore Ts'o wrote: > What I would probably do is just use one array and one array index, > denominated in 32-bit words, and just grab two 32-bit words for the > 64-bit case. Optimizing away the overhead of assembling two 32-bit > words for a 64-bit word

Re: [PATCH 0/2] Introduce AMD Secure Processor device

2017-01-20 Thread Brijesh Singh
On 01/20/2017 02:45 AM, Greg KH wrote: On Thu, Jan 19, 2017 at 02:03:12PM -0600, Brijesh Singh wrote: Hi Greg, On 01/19/2017 12:21 PM, Greg KH wrote: On Thu, Jan 19, 2017 at 01:07:50PM -0500, Brijesh Singh wrote: The CCP device (drivers/crypto/ccp/ccp.ko) is part of AMD Secure Processor, whi

Re: [PATCH] ARM: dts: at91: Enable DMA on sama5d2_xplained console

2017-01-20 Thread Nicolas Ferre
Le 19/01/2017 à 15:05, Alexandre Belloni a écrit : > Enable DMA on uart1 to get a more reliable console. > > Cc: stable #v4.3+ > Signed-off-by: Alexandre Belloni Acked-by: Nicolas Ferre > --- > arch/arm/boot/dts/at91-sama5d2_xplained.dts | 2 ++ > 1 file changed, 2 insertions(+) > > diff --

Re: [PATCH v2 3/4] mpt3sas: Fix Firmware fault state 0x2100 during heavy 4K RR FIO stress test.

2017-01-20 Thread Johannes Thumshirn
On Fri, Jan 20, 2017 at 08:12:12PM +0530, Chaitra P B wrote: > Due existence of loop in the IO path our HBA will receive heavy IOs and > also as driver is not updating the Reply Post Host Index frequently, So > there will be a high chance that our Firmware unable to find any free entry > in the Rep

[PATCH linux-next 1/1] usb: gadget: udc: atmel: Update endpoint allocation scheme

2017-01-20 Thread cristian.birsan
From: Cristian Birsan Update atmel udc driver with a new enpoint allocation scheme. The data sheet requires that all endpoints are allocated in order. Signed-off-by: Cristian Birsan --- drivers/usb/gadget/udc/Kconfig | 14 ++ drivers/usb/gadget/udc/atmel_usba_udc.c | 236

Re: [PATCH v4 2/2] procfs/tasks: add a simple per-task procfs hidepid= field

2017-01-20 Thread Lafcadio Wluiki
On Thu, Jan 19, 2017 at 12:35 AM, Andy Lutomirski wrote: > And from that point on neither nginx itself, nor any of its child > processes may see processes in /proc anymore that belong to a different > user than "www-data". Other services running on the same system remain > unaffec

[PATCH linux-next 0/1] usb: gadget: udc: atmel: Update endpoint allocation scheme

2017-01-20 Thread cristian.birsan
From: Cristian Birsan Hi, This patch updates the usb endpoint allocation scheme for atmel usba driver to make sure all endpoints are allocated in order. This requirement comes from the datasheet of the controller. The allocation scheme is decided by fifo_mode parameter. For fifo_mode = 0 the dr

Re: [PATCH 1/2] random: use chacha20 for get_random_int/long

2017-01-20 Thread Jason A. Donenfeld
On Fri, Jan 20, 2017 at 3:28 PM, Theodore Ts'o wrote: > Compare that to the fact that you're wasting up to 66% of the > generated words in the batched entropy array, and certainly on average > you're wasting CPU cycles, even if you are reducing the cost of > calling get_random_u{32,64} by a handfu

Re: [PATCH] stmmac: adding EEE to GMAC4

2017-01-20 Thread Joao Pinto
Hi Rayagond, Às 6:01 AM de 1/19/2017, Rayagond Kokatanur escreveu: > On Thu, Dec 29, 2016 at 10:40 PM, Joao Pinto wrote: >> This patch adds Energy Efficiency Ethernet to GMAC4. >> >> Signed-off-by: Joao Pinto >> --- >> drivers/net/ethernet/stmicro/stmmac/dwmac4.h | 12 + >> drivers/ne

Re: [PATCH 0/3] ARM64: meson-gxbb: Add WeTek Boards

2017-01-20 Thread Kevin Hilman
Neil Armstrong writes: > This serie adds support for the WeTek Hub and Play2 boards. > The Hub is an extremely small IPTv Set-Top-Box and the Play2 is a more > traditionnal Satellite or Terrestrial and IPTv Set-Top-Box. > > Both are based on the p200 Reference Design and out-of-tree support is >

[PATCH v3 1/1] mm/ksm: documentation for coloured zero pages deduplication

2017-01-20 Thread Claudio Imbrenda
This patch adds the needed documentation for the use_zero_pages property. Signed-off-by: Claudio Imbrenda --- Documentation/vm/ksm.txt | 14 ++ 1 file changed, 14 insertions(+) diff --git a/Documentation/vm/ksm.txt b/Documentation/vm/ksm.txt index f34a8ee..0c64a81d 100644 --- a/Docu

Re: mm, vmscan: commit makes PAE kernel crash nightly (bisected)

2017-01-20 Thread Mel Gorman
On Fri, Jan 20, 2017 at 11:02:32AM +, Mel Gorman wrote: > On Fri, Jan 20, 2017 at 12:35:44AM -0600, Trevor Cordes wrote: > > > > Hi! The git tree above version oom'd after < 24 hours (3:02am) so > > > > it doesn't solve the bug. If you need a oom messages dump let me > > > > know. > > > >

Re: [PATCH v4 2/2] procfs/tasks: add a simple per-task procfs hidepid= field

2017-01-20 Thread Lafcadio Wluiki
On Thu, Jan 19, 2017 at 8:52 PM, Andy Lutomirski wrote: >> Sure, the hidepid mount option is old enough, and this per-task >> hidepid is clearly defined only for procfs and per task, we can't add >> another switch that's relate to both a filesystem and pid namespaces, >> it will be a bit complica

Re: [PATCH v5 1/3] perf: add PERF_RECORD_NAMESPACES to include namespaces related info

2017-01-20 Thread Hari Bathini
Hi Peter, On Wednesday 18 January 2017 07:56 PM, Peter Zijlstra wrote: On Tue, Jan 17, 2017 at 07:47:22PM +0530, Hari Bathini wrote: With the advert of container technologies like docker, that depend on namespaces for isolation, there is a need for tracing support for namespaces. This patch in

Re: [lkp-robot] [rcu] b332151a29: kernel_BUG_at_mm/slab.c

2017-01-20 Thread Sebastian Andrzej Siewior
On 2017-01-19 09:02:16 [+0800], kernel test robot wrote: > test-description: Trinity is a linux system call fuzz tester. you don't even get to fire up trinity. With and without the patch you crash very early. > +-+++ > |

Re: [PATCH v3 2/4] dt-bindings: Add TI SCI PM Domains

2017-01-20 Thread Dave Gerlach
On 01/20/2017 08:00 AM, Ulf Hansson wrote: > + Sudeep > > On 19 January 2017 at 00:03, Rob Herring wrote: >> On Tue, Jan 17, 2017 at 6:07 PM, Kevin Hilman wrote: >>> Tero Kristo writes: On 17/01/17 00:12, Dave Gerlach wrote: > On 01/13/2017 08:40 PM, Rob Herring wrote: >> On Fri, J

Re: [PATCH net] virtio-net: restore VIRTIO_HDR_F_DATA_VALID on receiving

2017-01-20 Thread David Miller
From: Jason Wang Date: Fri, 20 Jan 2017 14:32:42 +0800 > Commit 501db511397f ("virtio: don't set VIRTIO_NET_HDR_F_DATA_VALID on > xmit") in fact disables VIRTIO_HDR_F_DATA_VALID on receiving path too, > fixing this by adding a hint (has_data_valid) and set it only on the > receiving path. > > Cc

Re: [PATCH] stmmac: adding EEE to GMAC4

2017-01-20 Thread Joao Pinto
Sorry, please ignore, wrong patch file. Joao Pinto Às 6:01 AM de 1/19/2017, Rayagond Kokatanur escreveu: > On Thu, Dec 29, 2016 at 10:40 PM, Joao Pinto wrote: >> This patch adds Energy Efficiency Ethernet to GMAC4. >> >> Signed-off-by: Joao Pinto >> --- >> drivers/net/ethernet/stmicro/stmmac/

Re: [PATCH 1/4] ARM: mmu: decouple VECTORS_BASE from Kconfig

2017-01-20 Thread Afzal Mohammed
Hi, On Thu, Jan 19, 2017 at 02:24:24PM +, Russell King - ARM Linux wrote: > On Thu, Jan 19, 2017 at 02:07:39AM +0530, afzal mohammed wrote: > > +++ b/arch/arm/include/asm/memory.h > > +#define VECTORS_BASE 0x > > This should be UL(0x) > > - M

<    1   2   3   4   5   6   7   8   >