[PATCH 4.4 034/342] qmi_wwan: add "4G LTE usb-modem U901"

2016-03-01 Thread Greg Kroah-Hartman
4.4-stable review patch. If anyone has any objections, please let me know. -- From: =?UTF-8?q?Bj=C3=B8rn=20Mork?= [ Upstream commit aac8d3c282e024c344c5b86dc1eab7af88bb9716 ] Thomas reports: T: Bus=01 Lev=01 Prnt=01 Port=03 Cnt=01 Dev#= 4 Spd=480 MxCh= 0 D: Ver= 2.00 Cls=0

[PATCH 3.14 099/130] posix-clock: Fix return code on the poll methods error path

2016-03-01 Thread Greg Kroah-Hartman
3.14-stable review patch. If anyone has any objections, please let me know. -- From: Richard Cochran commit 1b9f23727abb92c5e58f139e7d180befcaa06fe0 upstream. The posix_clock_poll function is supposed to return a bit mask of POLLxxx values. However, in case the hardware has d

[PATCH 3.14 097/130] dm space map metadata: remove unused variable in brb_pop()

2016-03-01 Thread Greg Kroah-Hartman
3.14-stable review patch. If anyone has any objections, please let me know. -- From: Mike Snitzer commit 512167788a6fe9481a33a3cce5f80b684631a1bb upstream. Remove the unused struct block_op pointer that was inadvertantly introduced, via cut-and-paste of previous brb_op() code,

[PATCH 3.14 084/130] scripts: recordmcount: break hardlinks

2016-03-01 Thread Greg Kroah-Hartman
3.14-stable review patch. If anyone has any objections, please let me know. -- From: Russell King commit dd39a26538e37f6c6131e829a4a510787e43c783 upstream. recordmcount edits the file in-place, which can cause problems when using ccache in hardlink mode. Arrange for recordmco

[PATCH 3.14 074/130] sched/core: Remove false-positive warning from wake_up_process()

2016-03-01 Thread Greg Kroah-Hartman
3.14-stable review patch. If anyone has any objections, please let me know. -- From: Sasha Levin commit 119d6f6a3be8b424b200dcee56e74484d5445f7e upstream. Because wakeups can (fundamentally) be late, a task might not be in the expected state. Therefore testing against a task's

[PATCH 3.14 063/130] mac: validate mac_partition is within sector

2016-03-01 Thread Greg Kroah-Hartman
3.14-stable review patch. If anyone has any objections, please let me know. -- From: Kees Cook commit 02e2a5bfebe99edcf9d694575a75032d53fe1b73 upstream. If md->signature == MAC_DRIVER_MAGIC and md->block_size == 1023, a single 512 byte sector would be read (secsize / 512). How

[PATCH 3.14 087/130] Btrfs: send, dont BUG_ON() when an empty symlink is found

2016-03-01 Thread Greg Kroah-Hartman
3.14-stable review patch. If anyone has any objections, please let me know. -- From: Filipe Manana commit a879719b8c90e15c9e7fa7266d5e3c0ca962f9df upstream. When a symlink is successfully created it always has an inline extent containing the source path. However if an error ha

[PATCH 3.14 086/130] Btrfs: igrab inode in writepage

2016-03-01 Thread Greg Kroah-Hartman
3.14-stable review patch. If anyone has any objections, please let me know. -- From: Josef Bacik commit be7bd730841e69fe8f70120098596f648cd1f3ff upstream. We hit this panic on a few of our boxes this week where we have an ordered_extent with an NULL inode. We do an igrab() of

[PATCH 3.14 082/130] ses: fix additional element traversal bug

2016-03-01 Thread Greg Kroah-Hartman
3.14-stable review patch. If anyone has any objections, please let me know. -- From: James Bottomley commit 5e1033561da1152c57b97ee84371dba2b3d64c25 upstream. KASAN found that our additional element processing scripts drop off the end of the VPD page into unallocated space. T

[PATCH 3.14 043/130] sched: Replace post_schedule with a balance callback list

2016-03-01 Thread Greg Kroah-Hartman
3.14-stable review patch. If anyone has any objections, please let me know. -- From: Peter Zijlstra commit e3fca9e7cbfb72694a21c886fcdf9f059cfded9c upstream. Generalize the post_schedule() stuff into a balance callback list. This allows us to more easily use it outside of sche

[PATCH 3.14 073/130] sched/core: Clear the root_domain cpumasks in init_rootdomain()

2016-03-01 Thread Greg Kroah-Hartman
3.14-stable review patch. If anyone has any objections, please let me know. -- From: Xunlei Pang commit 8295c69925ad53ec32ca54ac9fc194ff21bc40e2 upstream. root_domain::rto_mask allocated through alloc_cpumask_var() contains garbage data, this may cause problems. For instance,

[PATCH 3.10 77/80] sunrpc/cache: fix off-by-one in qword_get()

2016-03-01 Thread Greg Kroah-Hartman
3.10-stable review patch. If anyone has any objections, please let me know. -- From: Stefan Hajnoczi commit b7052cd7bcf3c1478796e93e3dff2b44c9e82943 upstream. The qword_get() function NUL-terminates its output buffer. If the input string is in hex format \x... and the sam

[PATCH 3.14 026/130] split dentry_kill()

2016-03-01 Thread Greg Kroah-Hartman
3.14-stable review patch. If anyone has any objections, please let me know. -- From: Al Viro commit e55fd011549eae01a230e3cace6f4d031b6a3453 upstream. ... into trylocks and everything else. The latter (actual killing) is __dentry_kill(). Signed-off-by: Al Viro Signed-off-by

Re: Intel PT not work on 4.5-rc6 as well after suspend/resume assembler

2016-03-01 Thread Andi Kleen
On Tue, Mar 01, 2016 at 12:35:24PM -0300, Arnaldo Carvalho de Melo wrote: > Em Mon, Feb 29, 2016 at 04:25:49PM -0300, Arnaldo Carvalho de Melo escreveu: > > Em Mon, Feb 29, 2016 at 06:35:28PM +0100, Andi Kleen escreveu: > > > > What kernel have you used for testing this? 4.5-rc? I'm having trouble

[PATCH 3.14 006/130] bcache: fix a livelock when we cause a huge number of cache misses

2016-03-01 Thread Greg Kroah-Hartman
3.14-stable review patch. If anyone has any objections, please let me know. -- From: Zheng Liu commit 2ef9ccbfcb90cf84bdba320a571b18b05c41101b upstream. Subject : [PATCH v2] bcache: fix a livelock in btree lock Date : Wed, 25 Feb 2015 20:32:09 +0800 (02/25/2015 04:32:09

[PATCH 3.14 027/130] expand dentry_kill(dentry, 0) in shrink_dentry_list()

2016-03-01 Thread Greg Kroah-Hartman
3.14-stable review patch. If anyone has any objections, please let me know. -- From: Al Viro commit ff2fde9929feb2aef45377ce56b8b12df85dda69 upstream. Result will be massaged to saner shape in the next commits. It is ugly, no questions - the point of that one is to be a prova

[PATCH 3.10 74/80] nfs: fix nfs_size_to_loff_t

2016-03-01 Thread Greg Kroah-Hartman
3.10-stable review patch. If anyone has any objections, please let me know. -- From: Christoph Hellwig commit 50ab8ec74a153eb30db26529088bc57dd700b24c upstream. See http: //www.infradead.org/rpr.html X-Evolution-Source: 1451162204.2173...@leira.trondhjem.org Content-Transfer-E

[PATCH 2/6] x86,perf/cqm: Fix cqm memory leak and notifier leak

2016-03-01 Thread Vikas Shivappa
Fixes the hotcpu notifier leak and a memory leak during cqm(cache quality of service monitoring) initialization. Reviewed-by: Tony Luck Signed-off-by: Vikas Shivappa --- arch/x86/kernel/cpu/perf_event_intel_cqm.c | 17 - 1 file changed, 12 insertions(+), 5 deletions(-) diff --g

[PATCH 5/6] x86/mbm: RMID Recycling MBM changes

2016-03-01 Thread Vikas Shivappa
RMID could be allocated or deallocated as part of RMID recycling. When an RMID is allocated for mbm event, the mbm counter needs to be initialized because next time we read the counter we need the previous value to account for total bytes that went to the memory controller. Similarly, when RMID is

[PATCH 3/6] x86/mbm: Intel Memory B/W Monitoring enumeration and init

2016-03-01 Thread Vikas Shivappa
The MBM init patch enumerates the Intel (Memory b/w monitoring)MBM and initializes the perf events and datastructures for monitoring the memory b/w. Its based on original patch series by Tony Luck and Kanaka Juvva. Memory bandwidth monitoring(MBM) provides OS/VMM a way to monitor bandwidth from on

[PATCH 6/6] x86/mbm: Add support for MBM counter overflow handling

2016-03-01 Thread Vikas Shivappa
This patch adds a per package timer which periodically updates the Memory bandwidth counters for the events that are currently active. Current patch has a periodic timer every 1s since the SDM guarantees that the counter will not overflow in 1s but this time can be definitely improved by calibratin

[PATCH 1/6] x86,perf/cqm: Fix cqm handling of grouping events into a cache_group

2016-03-01 Thread Vikas Shivappa
Currently cqm(cache quality of service monitoring) is grouping all events belonging to same PID to use one RMID. However its not counting all of these different events. Hence we end up with a count of zero for all events other than the group leader. The patch tries to address the issue by keeping a

[PATCH V5 0/6] Intel memory b/w monitoring support

2016-03-01 Thread Vikas Shivappa
The patch series has two preparatory patch for cqm and then 4 MBM patches. Patches are based on tip perf/core. Thanks to Thomas for feedback on V4 and have tried to implement his feedback in this version. Memory bandwitdh monitoring(MBM) provides OS/VMM a way to monitor bandwidth from one level of

[PATCH 4/6] x86/mbm: Memory bandwidth monitoring event management

2016-03-01 Thread Vikas Shivappa
From: Tony Luck Includes all the core infrastructure to measure the total_bytes and bandwidth. We have per socket counters for both total system wide L3 external bytes and local socket memory-controller bytes. The current b/w is calculated for a minimum diff time(time since it was last counted)

[PATCH 3.14 011/130] bcache: prevent crash on changing writeback_running

2016-03-01 Thread Greg Kroah-Hartman
3.14-stable review patch. If anyone has any objections, please let me know. -- From: Stefan Bader commit 8d16ce540c94c9d366eb36fc91b7154d92d6397b upstream. Added a safeguard in the shutdown case. At least while not being attached it is also possible to trigger a kernel bug by

[PATCH 3.10 73/80] PCI/AER: Flush workqueue on device remove to avoid use-after-free

2016-03-01 Thread Greg Kroah-Hartman
3.10-stable review patch. If anyone has any objections, please let me know. -- From: Sebastian Andrzej Siewior commit 4ae2182b1e3407de369f8c5d799543b7db74221b upstream. A Root Port's AER structure (rpc) contains a queue of events. aer_irq() enqueues AER status information and

[PATCH 3.10 12/80] USB: option: add support for SIM7100E

2016-03-01 Thread Greg Kroah-Hartman
3.10-stable review patch. If anyone has any objections, please let me know. -- From: Andrey Skvortsov commit 3158a8d416f4e1b79dcc867d67cb50013140772c upstream. $ lsusb: Bus 001 Device 101: ID 1e0e:9001 Qualcomm / Option $ usb-devices: T: Bus=01 Lev=02 Prnt=02 Port=00 Cnt=01

[PATCH] perf script: fix double free on command_line

2016-03-01 Thread Colin King
From: Colin Ian King command_line is free'd twice if db_export__branch_types fails. To avoid this, defer the free'ing of command_line to after this call so that the error return path will just free command_line once. Signed-off-by: Colin Ian King --- tools/perf/util/scripting-engines/trace-eve

Re: [RFC PATCH] watchdog: s3c2410_wdt: Add max and min timeout values

2016-03-01 Thread Krzysztof Kozlowski
On 02.03.2016 01:45, Javier Martinez Canillas wrote: > The watchdog maximum timeout value is determined by the number of bits > for the interval timer counter, its source clock frequency, the number > of bits of the prescaler and maximum divider value. > > This can be calculated with the following

Re: [RFC PATCH] mm: CONFIG_NR_ZONES_EXTENDED

2016-03-01 Thread Dan Williams
On Tue, Mar 1, 2016 at 12:31 AM, Vlastimil Babka wrote: > On 03/01/2016 03:06 AM, Dan Williams wrote: >> >> On Mon, Feb 29, 2016 at 4:06 PM, Vlastimil Babka wrote: >>> >>> On 29.2.2016 18:55, Dan Williams wrote: On Mon, Feb 29, 2016 at 4:33 AM, Vlastimil Babka wrote: > > On 02/

[PATCH] perf, tools, stat: Avoid crash with --per-thread

2016-03-01 Thread Andi Kleen
From: Andi Kleen Bug fix: The earlier metrics changes broke --per-thread causing a segfault. Handle this case correctly. We actually don't print metrics in per thread mode, so using a 0 shadow CPU is fine. Could be folded into "perf, tools, stat: Support metrics in --per-core/socket mode" Sign

Re: [PATCH 7/8] ARM64: dts: amlogic: Extend GXBaby GIC node

2016-03-01 Thread Andreas Färber
Hi, Am 01.03.2016 um 13:43 schrieb Andre Przywara: > On 01/03/16 11:18, Andreas Färber wrote: >> Am 01.03.2016 um 12:01 schrieb Andre Przywara: >>> On 29/02/16 23:44, Andreas Färber wrote: diff --git a/arch/arm64/boot/dts/amlogic/meson-gxbb.dtsi b/arch/arm64/boot/dts/amlogic/meson-gxbb.

Re: [4/4] powerpc/mm: Split hash page table sizing heuristic into a helper

2016-03-01 Thread David Gibson
On Wed, Mar 02, 2016 at 09:21:19AM +1100, Michael Ellerman wrote: > On Tue, 2016-09-02 at 03:32:43 UTC, David Gibson wrote: > > htab_get_table_size() either retrieve the size of the hash page table (HPT) > > from the device tree - if the HPT size is determined by firmware - or > > uses a heuristic

[net-next][PATCH v3 05/13] RDS: IB: Re-organise ibmr code

2016-03-01 Thread Santosh Shilimkar
No functional changes. This is in preperation towards adding fastreg memory resgitration support. Signed-off-by: Santosh Shilimkar Signed-off-by: Santosh Shilimkar --- net/rds/Makefile | 2 +- net/rds/ib.c | 37 +++--- net/rds/ib.h | 25 +--- net/rds/ib_fmr.c | 217 +

[net-next][PATCH v3 07/13] RDS: IB: move FMR code to its own file

2016-03-01 Thread Santosh Shilimkar
No functional change. Signed-off-by: Santosh Shilimkar Signed-off-by: Santosh Shilimkar --- net/rds/ib_fmr.c | 126 +- net/rds/ib_mr.h | 6 +++ net/rds/ib_rdma.c | 108 ++ 3 files changed, 134 i

[net-next][PATCH v3 12/13] RDS: IB: allocate extra space on queues for FRMR support

2016-03-01 Thread Santosh Shilimkar
Fastreg MR(FRMR) memory registration and invalidation makes use of work request and completion queues for its operation. Patch allocates extra queue space towards these operation(s). Signed-off-by: Santosh Shilimkar Signed-off-by: Santosh Shilimkar --- net/rds/ib.h| 4 net/rds/ib_cm.c

[net-next][PATCH v3 04/13] RDS: IB: Remove the RDS_IB_SEND_OP dependency

2016-03-01 Thread Santosh Shilimkar
This helps to combine asynchronous fastreg MR completion handler with send completion handler. No functional change. Signed-off-by: Santosh Shilimkar Signed-off-by: Santosh Shilimkar --- net/rds/ib.h | 1 - net/rds/ib_cm.c | 42 +++--- net/rds/ib_sen

[net-next][PATCH v3 01/13] RDS: Drop stale iWARP RDMA transport

2016-03-01 Thread Santosh Shilimkar
RDS iWarp support code has become stale and non testable. As indicated earlier, am dropping the support for it. If new iWarp user(s) shows up in future, we can adapat the RDS IB transprt for the special RDMA READ sink case. iWarp needs an MR for the RDMA READ sink. Signed-off-by: Santosh Shilimka

[net-next][PATCH v3 06/13] RDS: IB: create struct rds_ib_fmr

2016-03-01 Thread Santosh Shilimkar
Keep fmr related filed in its own struct. Fastreg MR structure will be added to the union. Signed-off-by: Santosh Shilimkar Signed-off-by: Santosh Shilimkar --- net/rds/ib_fmr.c | 17 ++--- net/rds/ib_mr.h | 11 +-- net/rds/ib_rdma.c | 14 ++ 3 files changed,

[net-next][PATCH v3 10/13] RDS: IB: add mr reused stats

2016-03-01 Thread Santosh Shilimkar
Add MR reuse statistics to RDS IB transport. Signed-off-by: Santosh Shilimkar Signed-off-by: Santosh Shilimkar --- net/rds/ib.h | 2 ++ net/rds/ib_rdma.c | 7 ++- net/rds/ib_stats.c | 2 ++ 3 files changed, 10 insertions(+), 1 deletion(-) diff --git a/net/rds/ib.h b/net/rds/ib.h ind

[net-next][PATCH v3 03/13] MAINTAINERS: update RDS entry

2016-03-01 Thread Santosh Shilimkar
Acked-by: Chien Yen Signed-off-by: Santosh Shilimkar Signed-off-by: Santosh Shilimkar --- MAINTAINERS | 6 +- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/MAINTAINERS b/MAINTAINERS index 27393cf..08b084a 100644 --- a/MAINTAINERS +++ b/MAINTAINERS @@ -9067,10 +9067,14 @@ S:

RDS: Major clean-up with couple of new features for 4.6

2016-03-01 Thread Santosh Shilimkar
v3: Re-generated the same series by omitting "-D" option from git format-patch command. Since first patch has file removals, git apply/am can't deal with it when formated with '-D' option. v2: Dropped module parameter from [PATCH 11/13] as suggested by David Miller Series is generated against ne

[net-next][PATCH v3 13/13] RDS: IB: Support Fastreg MR (FRMR) memory registration mode

2016-03-01 Thread Santosh Shilimkar
From: Avinash Repaka Fastreg MR(FRMR) is another method with which one can register memory to HCA. Some of the newer HCAs supports only fastreg mr mode, so we need to add support for it to have RDS functional on them. Signed-off-by: Santosh Shilimkar Signed-off-by: Avinash Repaka Signed-off-by

Re: [PATCH] checkpatch.pl: add switch to turn off check for Change-Id

2016-03-01 Thread Joe Perches
On Tue, 2016-03-01 at 21:49 +, Pottratz, Dwane wrote: > Good to know.  Thx.  Andrew picked this up, but it might be better to remove your patch and just use the --ignore option as --ignore is generic and your patch just duplicates the capability. > > -Original Message- > From: Joe P

[net-next][PATCH v3 08/13] RDS: IB: add connection info to ibmr

2016-03-01 Thread Santosh Shilimkar
Preperatory patch for FRMR support. From connection info, we can retrieve cm_id which contains qp handled needed for work request posting. We also need to drop the RDS connection on QP error states where connection handle becomes useful. Signed-off-by: Santosh Shilimkar Signed-off-by: Santosh Sh

[net-next][PATCH v3 09/13] RDS: IB: handle the RDMA CM time wait event

2016-03-01 Thread Santosh Shilimkar
Drop the RDS connection on RDMA_CM_EVENT_TIMEWAIT_EXIT so that it can reconnect and resume. While testing fastreg, this error happened in couple of tests but was getting un-noticed. Signed-off-by: Santosh Shilimkar Signed-off-by: Santosh Shilimkar --- net/rds/rdma_transport.c | 8 1 f

[net-next][PATCH v3 02/13] RDS: Add support for SO_TIMESTAMP for incoming messages

2016-03-01 Thread Santosh Shilimkar
The SO_TIMESTAMP generates time stamp for each incoming RDS messages User app can enable it by using SO_TIMESTAMP setsocketopt() at SOL_SOCKET level. CMSG data of cmsg type SO_TIMESTAMP contains the time stamp in struct timeval format. Reviewed-by: Sowmini Varadhan Signed-off-by: Santosh Shilimka

[net-next][PATCH v3 11/13] RDS: IB: add Fastreg MR (FRMR) detection support

2016-03-01 Thread Santosh Shilimkar
Discovere Fast Memmory Registration support using IB device IB_DEVICE_MEM_MGT_EXTENSIONS. Certain HCA might support just FRMR or FMR or both FMR and FRWR. In case both mr type are supported, default FMR is used. Default MR is still kept as FMR against what everyone else is following. Default will

[PATCH] PM / Domains: Propagate start and restore errors during runtime resume

2016-03-01 Thread Laurent Pinchart
During runtime resume the return values of the start and restore steps are ignored. As a result drivers are not notified of runtime resume failures and can't propagate them up. Fix it by returning an error if either the start or restore step fails, and clean up properly in the error path. Signed-o

Re: linux-next: manual merge of the samsung-krzk tree with the arm-soc tree

2016-03-01 Thread Krzysztof Kozlowski
On 02.03.2016 07:14, Stephen Rothwell wrote: > Hi Krzysztof, > > Today's linux-next merge of the samsung-krzk tree got a conflict in: > > arch/arm64/configs/defconfig > > between commit: > > efdda175c07f ("arm64: defconfig: add spmi and usb related configs") > > from the arm-soc tree and c

CISCO AND AVAYA IP Phones

2016-03-01 Thread Laison Computech Inc
Hi, Clean tested working pulls CPUs and QTYs in stock. 115 X X5650 65 X E5410 75 X X5660 145 X E5530 100 X E5645 40 X X5680 75 X X5690 Brand new sealed IP phones and QTYs in stock. 55 x CP-7937G 77 x CP-7942G 54 x CP-7945G 75 x CP-7962G .. 45 x Avaya 9630 65 x Avaya 9641 55 x Avaya 9640 U

Re: [PATCH] MAINTAINERS: update tpmdd urls

2016-03-01 Thread James Morris
On Tue, 1 Mar 2016, Jarkko Sakkinen wrote: > Updated GIT and patchwork location both of which were out-of-sync or > actually patchwork location was incorrect. > > Signed-off-by: Jarkko Sakkinen Applied to git://git.kernel.org/pub/scm/linux/kernel/git/jmorris/linux-security.git next -- James

Re: [net-next][PATCH v2 00/13] RDS: Major clean-up with couple of new features for 4.6

2016-03-01 Thread santosh shilimkar
On 3/1/2016 2:33 PM, David Miller wrote: When I try to apply this series, it (strangely) fails on the first patch with: Strange indeed since patches and the tree is against net-next. Applying: RDS: Drop stale iWARP RDMA transport error: removal patch leaves file contents This patch has file

[PATCH] drm/panel: simple: fix g121x1_l03 hsync/vsync polarity

2016-03-01 Thread Akshay Bhat
Set hsync/vsync to active low for g121x1_l03 panel to match the recommended setting in datasheet. Signed-off-by: Akshay Bhat --- drivers/gpu/drm/panel/panel-simple.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/gpu/drm/panel/panel-simple.c b/drivers/gpu/drm/panel/panel-simple.c i

Re: [PATCH 7/8] ARM64: dts: amlogic: Extend GXBaby GIC node

2016-03-01 Thread André Przywara
On 01/03/16 22:46, Andreas Färber wrote: > Am 01.03.2016 um 13:43 schrieb Andre Przywara: >> On 01/03/16 11:18, Andreas Färber wrote: >>> Am 01.03.2016 um 12:01 schrieb Andre Przywara: On 29/02/16 23:44, Andreas Färber wrote: > reg = <0x0 0xc4301000 0 0x1000>, > -

Re: [PATCH v8 06/10] watchdog: dw_wdt: Convert to use watchdog infrastructure

2016-03-01 Thread Doug Anderson
Guenter, On Sun, Feb 28, 2016 at 1:12 PM, Guenter Roeck wrote: > Convert driver to use watchdog infrastructure. This includes > infrastructure support to handle watchdog keepalive if the watchdog > is running while the watchdog device is closed. > > Signed-off-by: Guenter Roeck > > --- > v8: max

Re: [PATCH 7/8] ARM64: dts: amlogic: Extend GXBaby GIC node

2016-03-01 Thread Andreas Färber
Am 01.03.2016 um 13:43 schrieb Andre Przywara: > On 01/03/16 11:18, Andreas Färber wrote: >> Am 01.03.2016 um 12:01 schrieb Andre Przywara: >>> On 29/02/16 23:44, Andreas Färber wrote: reg = <0x0 0xc4301000 0 0x1000>, -<0x0 0xc4302000 0 0x0100>;

Re: [RFC PATCH] kvm: Make KVM DF intercept configurable

2016-03-01 Thread Borislav Petkov
On Tue, Mar 01, 2016 at 10:11:57PM +0100, Paolo Bonzini wrote: > I just use QEMU's binary translation mode to debug this kind of code (-d > in_asm is useful and relatively compact (because it only shows loops > once), Ha, I had forgotten about "in_asm"! Thanks for reminding me, that's a really coo

Re: [PATCH mmotm] mm, sl[au]b: print gfp_flags as strings in slab_out_of_memory()

2016-03-01 Thread David Rientjes
On Tue, 1 Mar 2016, Vlastimil Babka wrote: > We can now print gfp_flags more human-readable. Make use of this in > slab_out_of_memory() for SLUB and SLAB. Also convert the SLAB variant it to > pr_warn() along the way. > > Signed-off-by: Vlastimil Babka > Cc: Christoph Lameter > Cc: Pekka Enberg

Re: [net-next][PATCH v2 00/13] RDS: Major clean-up with couple of new features for 4.6

2016-03-01 Thread David Miller
When I try to apply this series, it (strangely) fails on the first patch with: Applying: RDS: Drop stale iWARP RDMA transport error: removal patch leaves file contents error: net/rds/iw.c: patch does not apply error: removal patch leaves file contents error: net/rds/iw.h: patch does not apply err

[PULL] lkdtm update (next)

2016-03-01 Thread Kees Cook
Hi, Please pull these lkdtm changes for next. Thanks! -Kees The following changes since commit 7d46af2084eabe73ce4dbf06072fded34b58b0c7: Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/sparc (2016-03-01 08:57:34 -0800) are available in the git repository at: git://git.kernel.o

[PATCH] x86, perf: Fix PEBS data source interpretation on Nehalem/Westmere

2016-03-01 Thread Andi Kleen
From: Andi Kleen Jiri reported some time ago that some entries in the PEBS data source table in perf do not agree with the SDM. We investigated and the bits changed for Sandy Bridge, but the SDM was not updated. perf already implements the bits correctly for Sandy Bridge and later. This patch pa

Re: [3/4] powerpc/mm: Clean up memory hotplug failure paths

2016-03-01 Thread Michael Ellerman
On Tue, 2016-09-02 at 03:32:42 UTC, David Gibson wrote: > This makes a number of cleanups to handling of mapping failures during > memory hotplug on Power: > > For errors creating the linear mapping for the hot-added region: > * This is now reported with EFAULT which is more appropriate than the

Re: [PATCH] wan: lmc: Switch to using managed resources

2016-03-01 Thread David Miller
From: Amitoj Kaur Chawla Date: Sat, 27 Feb 2016 22:34:16 +0530 > @@ -835,23 +835,20 @@ static int lmc_init_one(struct pci_dev *pdev, const > struct pci_device_id *ent) > err = pci_request_regions(pdev, "lmc"); > if (err) { > printk(KERN_ERR "lmc: pci_request_region fail

Re: [4/4] powerpc/mm: Split hash page table sizing heuristic into a helper

2016-03-01 Thread Michael Ellerman
On Tue, 2016-09-02 at 03:32:43 UTC, David Gibson wrote: > htab_get_table_size() either retrieve the size of the hash page table (HPT) > from the device tree - if the HPT size is determined by firmware - or > uses a heuristic to determine a good size based on RAM size if the kernel > is responsible

Re: [2/4] powerpc/mm: Handle removing maybe-present bolted HPTEs

2016-03-01 Thread Michael Ellerman
On Tue, 2016-09-02 at 03:32:41 UTC, David Gibson wrote: > At the moment the hpte_removebolted callback in ppc_md returns void and > will BUG_ON() if the hpte it's asked to remove doesn't exist in the first > place. This is awkward for the case of cleaning up a mapping which was > partially made be

Re: [1/4] powerpc/mm: Clean up error handling for htab_remove_mapping

2016-03-01 Thread Michael Ellerman
On Tue, 2016-09-02 at 03:32:40 UTC, David Gibson wrote: > Currently, the only error that htab_remove_mapping() can report is -EINVAL, > if removal of bolted HPTEs isn't implemeted for this platform. We make > a few clean ups to the handling of this: > > * EINVAL isn't really the right code - the

Re: [v2, 1/4] powerpc/ps3: gelic_udbg: use struct ethhdr from

2016-03-01 Thread Michael Ellerman
On Mon, 2016-08-02 at 22:27:04 UTC, Luis Henriques wrote: > Instead of defining a local version of struct ethhdr use the standard > definition from . > > The fields in the definition have different names: > - dest -> h_dest > - src -> h_source > - type -> h_proto > > While there, use a few ot

Re: [PATCH 01/41] clk: at91: Remove CLK_IS_ROOT

2016-03-01 Thread Boris Brezillon
On Tue, 1 Mar 2016 10:59:46 -0800 Stephen Boyd wrote: > This flag is a no-op now. Remove usage of the flag. > > Cc: Boris Brezillon > Signed-off-by: Stephen Boyd Acked-by: Boris Brezillon > --- > drivers/clk/at91/clk-main.c | 2 +- > drivers/clk/at91/clk-slow.c | 2 +- > 2 files changed,

[PATCH] dax: check return value of dax_radix_entry()

2016-03-01 Thread Ross Zwisler
dax_pfn_mkwrite() previously wasn't checking the return value of the call to dax_radix_entry(), which was a mistake. Instead, capture this return value and pass it up the stack if it is an error. Signed-off-by: Ross Zwisler --- fs/dax.c | 7 ++- 1 file changed, 6 insertions(+), 1 deletion(-

linux-next: manual merge of the samsung-krzk tree with the arm-soc tree

2016-03-01 Thread Stephen Rothwell
Hi Krzysztof, Today's linux-next merge of the samsung-krzk tree got a conflict in: arch/arm64/configs/defconfig between commit: efdda175c07f ("arm64: defconfig: add spmi and usb related configs") from the arm-soc tree and commit: 617fe7196d54 ("arm64: defconfig: Enable exynos thermal co

[PATCH] pcmcia: db1xxx: use correct irq_to_gpio helper

2016-03-01 Thread Arnd Bergmann
After the removal of asm/gpio.h and asm/mach-au1x00/gpio.h, the db1xxx_ss pcmcia driver picked up the wrong irq_to_gpio function from the generic headers. This restores the old __au_irq_to_gpio() implementation, but keeps it local to the only file that uses it. It would be nicer to just pass the

Re: [PATCH V2 2/2] kexec: Do a cleanup for function kexec_load

2016-03-01 Thread Andrew Morton
On Tue, 1 Mar 2016 16:02:29 +0800 Minfei Huang wrote: > There are a lof of work to be done in function kexec_load, not only for > allocating structs and loading initram, but also for some misc. > > To make it more clear, wrap a new function do_kexec_load which is used > to allocate structs and

Re: [PATCH v4 3/5] ARM: dts: omap3-sniper: TWL4030 keypad support

2016-03-01 Thread Paul Kocialkowski
Le mardi 01 mars 2016 à 12:59 -0800, Tony Lindgren a écrit : > * Paul Kocialkowski [160301 11:19]: > > Hi, > > > > Le dimanche 28 février 2016 à 13:39 +0100, Paul Kocialkowski a écrit : > > > This adds support for the volume and gesture keys, using TWL4030 keypad. > > > > I noticed this patch ha

Re: [RFC][PATCH] tags: Fix DEFINE_PER_CPU expansions

2016-03-01 Thread Paul E. McKenney
On Tue, Mar 01, 2016 at 10:34:44PM +0100, Peter Zijlstra wrote: > On Tue, Mar 01, 2016 at 08:56:50AM -0800, Paul E. McKenney wrote: > > +++ b/kernel/rcu/rcutorture.c > > @@ -131,9 +131,9 @@ static unsigned long rcu_torture_current_version; > > static struct rcu_torture rcu_tortures[10 * RCU_TORTUR

Re: [PATCH 2/3] radix-tree: make 'indirect' bit available to exception entries.

2016-03-01 Thread Ross Zwisler
On Mon, Feb 29, 2016 at 02:41:55PM +, Wilcox, Matthew R wrote: > So based on the bottom two bits, we can tell what this entry is: > > 00 - data pointer > 01 - indirect entry (pointer to another level of the radix tree) > 10 - exceptional entry > 11 - locked exceptional entry > > I was concern

Re: [PATCH v3] Bluetooth: hci_uart: Support firmware download for Marvell

2016-03-01 Thread One Thousand Gnomes
O > +/* Get standard baud rate, given the speed */ > +static unsigned int get_baud_rate(unsigned int speed) > +{ > + switch (speed) { > + case 9600: > + return B9600; > + case 19200: > + return B19200; > + case 38400: > + return B38400; > + ca

Re: [PATCH V2 1/2] kexec: Make a pair of map/unmap reserved pages in error path

2016-03-01 Thread Andrew Morton
On Tue, 1 Mar 2016 16:02:28 +0800 Minfei Huang wrote: > For some arch, kexec shall map the reserved pages, then use them, when > we try to start the kdump service. Which architectures are these, by the way? > kexec may return directly, without unmaping the reserved pages, if it > fails during

[PATCH] objtool: Disable stack validation when CROSS_COMPILE is used

2016-03-01 Thread Josh Poimboeuf
On Tue, Mar 01, 2016 at 08:40:01PM +1100, Stephen Rothwell wrote: > Hi Ingo, > > On Tue, 1 Mar 2016 08:07:50 +0100 Ingo Molnar wrote: > > > > > This build is done with a PowerPC hosted cross compiler with no glibc. > > > > Ugh, what a rare and weird way to build an x86 kernel, and you made >

Re: [PATCH 0/2] phy: micrel: fix issues with interrupt on atmel boards

2016-03-01 Thread David Miller
From: Alexandre Belloni Date: Fri, 26 Feb 2016 19:18:21 +0100 > Since the phy is not polled anymore, there were issues getting a link on the > sama5d* xplained boards. ... Series applied, thanks.

Re: [PATCH v4 1/5] getcpu_cache system call: cache CPU number of running thread

2016-03-01 Thread H. Peter Anvin
On 03/01/16 13:32, Peter Zijlstra wrote: > On Tue, Mar 01, 2016 at 08:23:12PM +, Mathieu Desnoyers wrote: >> I think it's important that user-space fast-paths can quickly >> detect whether the feature is enabled without having to rely on >> always reading a separate cache-line. I've put togethe

Re: [PATCH] rtc: mt6397: Remove plaform module alias

2016-03-01 Thread Alexandre Belloni
On 24/02/2016 at 14:26:20 -0300, Javier Martinez Canillas wrote : > The driver uses the MODULE_ALIAS() macro to export a platform module alias > to allow the module to be autoloaded if the device is registered using the > legacy platform registration mechanism but the driver is always used by OF >

Re: [PATCH 0/4] tools lib traceevent: Updates from trace-cmd

2016-03-01 Thread Steven Rostedt
Hi Arnaldo, I think these got missed. -- Steve On Tue, 09 Feb 2016 15:40:13 -0500 Steven Rostedt wrote: > Hi Arnaldo, > > I did a diff of what I have in my trace-cmd library and found there > were a few patches that need to be brought over to tools/lib/traceevent > as well. > > I have a rep

Re: [PATCH v2 2/3] PM / sleep: try to runtime suspend for direct complete

2016-03-01 Thread dbasehore .
On Sat, Feb 27, 2016 at 5:31 PM, Rafael J. Wysocki wrote: > On Wednesday, February 24, 2016 04:22:27 PM Derek Basehore wrote: >> This tries to runtime suspend devices that are still active for direct >> complete. This is for cases such as autosuspend delays which leaves >> devices able to runtime

[PATCH] list: kill list_force_poison()

2016-03-01 Thread Dan Williams
Given we have uninitialized list_heads being passed to list_add() it will always be the case that those uninitialized values randomly trigger the poison value. Especially since a list_add() operation will seed the stack with the poison value for later stack allocations to trip over. For example, s

Re: [PATCH] x86, pkeys: fix access_error() denial of writes to write-only VMA

2016-03-01 Thread Kirill A. Shutemov
On Tue, Mar 01, 2016 at 11:41:33AM -0800, Dave Hansen wrote: > > From: Dave Hansen > > Andrey Wagin reported that a simple test case was broken by: > > 2b5f7d013fc ("mm/core, x86/mm/pkeys: Add execute-only protection keys > support") > > This test case creates an unreadable VMA and my p

[PATCH v3] treewide: Remove newlines inside DEFINE_PER_CPU() macros

2016-03-01 Thread Michal Marek
Both Emacs etags and Exuberant ctags allow to specify regexp replacements to help the tools understand some constructs used in the source code. We use these replacements extensively in make tags, however, the rules have some limitations, one of them being that they only match single lines. Luckily,

Re: [PATCH] checkpatch.pl: add switch to turn off check for Change-Id

2016-03-01 Thread Joe Perches
On Tue, 2016-03-01 at 18:37 +, Pottratz, Dwane wrote: > A commit hook for the Gerrit code review servers inserts change > identifiers.  These identifiers are noise in the context of the > upstream kernel.  However, they are needed in most development > environments and the error needs to be ign

Re: [PATCH v5 3/4] leds: core: add documentation for color extension

2016-03-01 Thread Greg KH
On Tue, Mar 01, 2016 at 10:29:31PM +0100, Heiner Kallweit wrote: > Document the color extension in Documentation/leds/leds-class.txt > > Signed-off-by: Heiner Kallweit > --- > v2: > - introduced to patch series > v3: > - document extension in more detail > v4: > - Better explain why flag LED_SET_

Re: [RFC][PATCH] tags: Fix DEFINE_PER_CPU expansions

2016-03-01 Thread Rafael J. Wysocki
On Tue, Mar 1, 2016 at 11:26 AM, Peter Zijlstra wrote: > > $ make tags > GEN tags > ctags: Warning: drivers/acpi/processor_idle.c:64: null expansion of name > pattern "\1" > ctags: Warning: drivers/xen/events/events_2l.c:41: null expansion of name > pattern "\1" > ctags: Warning: kernel/lo

[PATCH v5 4/4] leds: core: add support for RGB LED's

2016-03-01 Thread Heiner Kallweit
Export a function to convert HSV color values to RGB. It's intended to be called by drivers for RGB LEDs. Signed-off-by: Heiner Kallweit --- v2: - move hsv -> rgb conversion to separate file - remove flag LED_DEV_CAP_RGB v3: - call led_hsv_to_rgb only if LED_DEV_CAP_HSV is set This is needed in

[PATCH v5 1/4] leds: core: add generic support for RGB Color LED's

2016-03-01 Thread Heiner Kallweit
Add generic support for RGB Color LED's. Basic idea is to use enum led_brightness also for the hue and saturation color components.This allows to implement the color extension w/o changes to struct led_classdev. Select LEDS_RGB to enable building drivers using the RGB extension. Flag LED_SET_HUE

[PATCH v5 2/4] leds: core: add color LED sysfs extension

2016-03-01 Thread Heiner Kallweit
Extend brightness sysfs property handling to deal with monochrome and color mode as well. Signed-off-by: Heiner Kallweit --- v2: - split from patch 1 v3: - moved one change (led_is_off) to patch 1 v4: - changed printf format string to %#.6x v5: - no changes --- drivers/leds/led-class.c | 7 +

Re: [PATCH] eata: Convert eata driver as normal PCI and platform device drivers

2016-03-01 Thread Arthur Marsh
Arthur Marsh wrote on 02/03/16 03:57: Christoph Hellwig wrote on 01/03/16 17:22: Hi Jiang. I'd love to see this patch in and abuse of the old PCI API gone. Did you resolve the problems Arthur saw with the previous iteratons of the patch? I applied Jiang Liu's patch of 1st March 2016 to

[PATCH v5 3/4] leds: core: add documentation for color extension

2016-03-01 Thread Heiner Kallweit
Document the color extension in Documentation/leds/leds-class.txt Signed-off-by: Heiner Kallweit --- v2: - introduced to patch series v3: - document extension in more detail v4: - Better explain why flag LED_SET_HUE_SAT is needed v5: - no changes --- Documentation/leds/leds-class.txt | 27 ++

Re: [PATCH v4 1/5] getcpu_cache system call: cache CPU number of running thread

2016-03-01 Thread Peter Zijlstra
On Tue, Mar 01, 2016 at 10:32:02PM +0100, Peter Zijlstra wrote: > > /* > > * Thread-local ABI rseq_seqnum field. > > * Updated by the kernel, and read by user-space with > > * single-copy atomicity semantics. Aligned on 32-bit. > > * Values: > >

Re: [PATCH 0/5] Modularize PCI_DW related drivers.

2016-03-01 Thread Arnd Bergmann
On Monday 29 February 2016 14:59:35 Kishon Vijay Abraham I wrote: > > } > > > > You just need to pass the same resource in here htat you pass into > > pci_remap_iospace(). > > I still seem to get the abort in ioremap_page_range(). > > Here's the patch I used [3] and here's the kernel log [4]. >

Re: [RFC][PATCH] tags: Fix DEFINE_PER_CPU expansions

2016-03-01 Thread Peter Zijlstra
On Tue, Mar 01, 2016 at 08:56:50AM -0800, Paul E. McKenney wrote: > +++ b/kernel/rcu/rcutorture.c > @@ -131,9 +131,9 @@ static unsigned long rcu_torture_current_version; > static struct rcu_torture rcu_tortures[10 * RCU_TORTURE_PIPE_LEN]; > static DEFINE_SPINLOCK(rcu_torture_lock); > static DEFI

Re: [PATCH v2 2/2] mmc: sdhci-tegra: Specify valid DMA mask

2016-03-01 Thread Arnd Bergmann
On Tuesday 01 March 2016 13:32:44 Alexandre Courbot wrote: > On T210, the sdhci controller can address more than 32 bits of address > space. Failing to express this fact results in the use of bounce > buffers and affects performance. > > Signed-off-by: Alexandre Courbot I don't get this one. Why

Re: [PATCH net-next 0/9] net: dsa: mv88e6xxx: implement VLAN filtering

2016-03-01 Thread David Miller
From: Vivien Didelot Date: Fri, 26 Feb 2016 13:15:59 -0500 > This patchset fixes hardware bridging for non 802.1Q aware systems. Series applied, thanks Vivien.

<    3   4   5   6   7   8   9   10   11   12   >