Re: [PATCH] Bluetooth: hci_core: Avoid mixing up req_complete and req_complete_skb

2016-02-20 Thread Marcel Holtmann
Hi Douglas, > In commit 44d271377479 ("Bluetooth: Compress the size of struct > hci_ctrl") we squashed down the size of the structure by using a union > with the assumption that all users would use the flag to determine > whether we had a req_complete or a req_complete_skb. > > Unfortunately we h

Re: [tpmdd-devel] [PATCH] tpm_crb: fix bad name pointer usage with struct resource

2016-02-20 Thread Jarkko Sakkinen
On Fri, Feb 19, 2016 at 10:44:34AM -0700, Jason Gunthorpe wrote: > On Fri, Feb 19, 2016 at 05:06:06PM +0200, Jarkko Sakkinen wrote: > > > Can you quickly check the two top-most patches: > > > > https://github.com/jsakkine/linux-tpmdd/commits/master > > Drop the change to crb_map_res, the memset

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

2016-02-20 Thread Marcel Holtmann
Hi Amitkumar, > This patch implement firmware download feature for > Marvell Bluetooth devices. If firmware is already > downloaded, it will skip downloading. > > Signed-off-by: Ganapathi Bhat > Signed-off-by: Amitkumar Karwar > --- > v2: Fixed compilation warning reported by kbuild test robot

Re: [PATCH] Bluetooth: Add new AR3012 ID 0489:e095

2016-02-20 Thread Marcel Holtmann
Hi Dmitry, > T: Bus=01 Lev=01 Prnt=01 Port=04 Cnt=02 Dev#= 3 Spd=12 MxCh= 0 > D: Ver= 1.10 Cls=e0(wlcon) Sub=01 Prot=01 MxPS=64 #Cfgs= 1 > P: Vendor=0489 ProdID=e095 Rev=00.01 > C: #Ifs= 2 Cfg#= 1 Atr=e0 MxPwr=100mA > I: If#= 0 Alt= 0 #EPs= 3 Cls=e0(wlcon) Sub=01 Prot=01 Driver=btusb > I: If#= 1 A

Re: [PATCH] Bluetooth: hci_core: cancel power off delayed work properly

2016-02-20 Thread Marcel Holtmann
Hi Wei-Ning, > When the HCI_AUTO_OFF flag is cleared, the power_off delayed work need > to be cancel or HCI will be powered off even if it's managed. > > Signed-off-by: Wei-Ning Huang > --- > net/bluetooth/hci_core.c | 1 + > 1 file changed, 1 insertion(+) patch has been applied to bluetooth-nex

[GIT PULL] remaining tpmdd fixes for Linux 4.5

2016-02-20 Thread Jarkko Sakkinen
ry at: https://github.com/jsakkine/linux-tpmdd.git tags/tpmdd-next-20160220 for you to fetch changes up to 99cda8cb4639de81cde785b5bab9bc52e916e594: tpm_crb: tpm2_shutdown() must be called before tpm_chip_unregister() (2016-02-20 09:59:33

Re: [PATCH v11 00/10] arm64, numa: Add numa support for arm64 platforms

2016-02-20 Thread Ard Biesheuvel
Hello David, On 20 February 2016 at 02:13, David Daney wrote: > From: David Daney > > v11: > - Dropped cleanup patches for other architectures, they will be > submitted as a separate set after more testing. > > - Added patch set from Ard Biesheuvel that are needed to ma

Re: linux-next: manual merge of the crypto tree with the net tree

2016-02-20 Thread Herbert Xu
On Fri, Feb 19, 2016 at 10:49:57AM +1100, Stephen Rothwell wrote: > Hi Herbert, > > Today's linux-next merge of the crypto tree got a conflict in: > > net/ipv4/tcp.c > > between commit: > > 1eea84b74cd2 ("tcp: correctly crypto_alloc_hash return check") > > from the net tree and commit: >

Re: [PATCH v4 5/8] [Media] vcodec: mediatek: Add Mediatek V4L2 Video Encoder Driver

2016-02-20 Thread tiffany lin
Hi Hans, On Tue, 2016-02-16 at 08:44 +0100, Hans Verkuil wrote: > On 02/16/2016 07:37 AM, tiffany lin wrote: > >>> + > >>> +const struct v4l2_ioctl_ops mtk_venc_ioctl_ops = { > >>> + .vidioc_streamon= v4l2_m2m_ioctl_streamon, > >>> + .vidioc_streamoff = v4l2_m2m_ioctl

[git pull] vfs.git fixes for -rc5

2016-02-20 Thread Al Viro
Assorted fixes - xattr one from this cycle, the rest - stable fodder. The following changes since commit 18558cae0272f8fd9647e69d3fec1565a7949865: Linux 4.5-rc4 (2016-02-14 13:05:20 -0800) are available in the git repository at: git://git.kernel.org/pub/scm/linux/kernel/git/viro/vfs.git for

[PATCH] firmware: set firmware_buf size in kernel_read_file_from_path()

2016-02-20 Thread Sergey Senozhatsky
Set firmware_buf->size in kernel_read_file_from_path(), otherwise assign_firmware_buf() fails. Signed-off-by: Sergey Senozhatsky --- drivers/base/firmware_class.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/base/firmware_class.c b/drivers/base/firmware_class.c index b8bc846..7cf4

Re: [PATCH v4 5/8] [Media] vcodec: mediatek: Add Mediatek V4L2 Video Encoder Driver

2016-02-20 Thread Hans Verkuil
On 02/20/2016 10:11 AM, tiffany lin wrote: > Hi Hans, > > On Tue, 2016-02-16 at 08:44 +0100, Hans Verkuil wrote: >> On 02/16/2016 07:37 AM, tiffany lin wrote: > + > +const struct v4l2_ioctl_ops mtk_venc_ioctl_ops = { > + .vidioc_streamon= v4l2_m2m_ioctl_streamon, >

[PATCH] firmware: set firmware_buf size in fw_get_filesystem_firmware()

2016-02-20 Thread Sergey Senozhatsky
Set firmware_buf->size in fw_get_filesystem_firmware() after successful kernel_read_file_from_path(), otherwise assign_firmware_buf() fails. Signed-off-by: Sergey Senozhatsky --- drivers/base/firmware_class.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/base/firmware_class.c b/dri

Re: [PATCH] firmware: set firmware_buf size in kernel_read_file_from_path()

2016-02-20 Thread Sergey Senozhatsky
On (02/20/16 18:14), Sergey Senozhatsky wrote: > Set firmware_buf->size in kernel_read_file_from_path(), ^^^ ah... sorry, a typo. not "in", but "after". I'll resend shortly. -ss

Re: [PATCH RFC 09/22] block, cfq: replace CFQ with the BFQ-v0 I/O scheduler

2016-02-20 Thread Paolo Valente
Hi Il giorno 17/feb/2016, alle ore 18:02, Tejun Heo ha scritto: > Hello, > > On Wed, Feb 17, 2016 at 10:02:00AM +0100, Paolo Valente wrote: >> your first statement “bfq is using bandwidth as the virtual time" is >> not very clear to me. In contrast, after that you raise a clear, > > Another wa

Re: fs: NULL deref in atime_needs_update

2016-02-20 Thread Dmitry Vyukov
On Sat, Feb 20, 2016 at 4:21 AM, Al Viro wrote: > On Fri, Feb 19, 2016 at 08:32:10PM +0100, Dmitry Vyukov wrote: >> > BUG: unable to handle kernel NULL pointer dereference at 0050 > > NULL inode->i_sb, by the look of the offset, but I really don't understand > where the hell is that co

Re: [PATCH v11 00/10] arm64, numa: Add numa support for arm64 platforms

2016-02-20 Thread Robert Richter
On 20.02.16 09:20:05, Ard Biesheuvel wrote: > On 20 February 2016 at 02:13, David Daney wrote: > > From: David Daney > > > > v11: > > - Dropped cleanup patches for other architectures, they will be > > submitted as a separate set after more testing. > > > > - Added patch

Re: [PATCH v3 0/7] irqchip: introduce the Alpine MSIX driver

2016-02-20 Thread Marc Zyngier
On Fri, 19 Feb 2016 16:22:42 +0100 Antoine Tenart wrote: Hi Antoine, > Hi all, > > This series introduce the Alpine MSIX driver, and enables it in both > the Alpine v1 and Alpine v2 device trees. > > This series depends on "[PATCH v2 0/3] arm64: introduce the Alpine support": > https://lkml.or

[RFC] sysfs: defer instantiation of default attrs

2016-02-20 Thread Edward Cree
Ok, here's a rather ugly proof-of-concept patch. I've gone through some contortions to avoid double-locking the kernfs_mutex; I should really try to think of a better approach. However, (within /sys/class/net) it only seems to do anything for the queue kobjects, not the netdevice or statistics;

Re: [PATCH v11 00/10] arm64, numa: Add numa support for arm64 platforms

2016-02-20 Thread Ard Biesheuvel
On 20 February 2016 at 11:39, Robert Richter wrote: > On 20.02.16 09:20:05, Ard Biesheuvel wrote: >> On 20 February 2016 at 02:13, David Daney wrote: >> > From: David Daney >> > >> > v11: >> > - Dropped cleanup patches for other architectures, they will be >> > submitted as a s

Re: [GIT PULL 00/22] perf/core improvements and fixes

2016-02-20 Thread Ingo Molnar
* Arnaldo Carvalho de Melo wrote: > Hi Ingo, > > Please consider pulling, > > - Arnaldo > > The following changes since commit 3b364d7b587db0f0eeafde0f271e0698187de776: > > perf/core: Remove unused arguments from a bunch of functions (2016-02-17 > 10:37:48 +0100) > > are available

[PATCH v2] tty: serial: 8250: add MOXA Smartio MUE boards support

2016-02-20 Thread Mathieu OTHACEHE
Add support for : - CP-102E: 2 ports RS232 PCIE card - CP-102EL: 2 ports RS232 PCIE card - CP-132EL: 2 ports RS422/485 PCIE card - CP-114EL: 4 ports RS232/422/485 PCIE card - CP-104EL-A: 4 ports RS232 PCIE card - CP-168EL-A: 8 ports RS232 PCIE card - CP-118EL-A: 8 ports RS232/422/485 PCIE card - C

[PATCHv6 0/3] rdmacg: IB/core: rdma controller support

2016-02-20 Thread Parav Pandit
Overview: Currently user space applications can easily take away all the rdma device specific resources such as AH, CQ, QP, MR etc. Due to which other applications in other cgroup or kernel space ULPs may not even get chance to allocate any rdma resources. This results into service unavailibility.

[PATCHv6 1/3] rdmacg: Added rdma cgroup controller

2016-02-20 Thread Parav Pandit
Added rdma cgroup controller that does accounting, limit enforcement on rdma/IB verbs and hw resources. Added rdma cgroup header file which defines its APIs to perform charing/uncharing functionality and device registration which will participate in controller functions of accounting and limit enf

Re: [PATCH RFC 09/22] block, cfq: replace CFQ with the BFQ-v0 I/O scheduler

2016-02-20 Thread Paolo Valente
Il giorno 20/feb/2016, alle ore 11:23, Paolo Valente ha scritto: > Hi > > > If both processes reach ~100MB/s during their service slot, then, with > both a budget- and time-based policy, we can meet the above bandwidth > requirements by just assigning 9 and 1 as weights to A and B, > respecti

[PATCHv6 3/3] rdmacg: Added documentation for rdmacg

2016-02-20 Thread Parav Pandit
Added documentation for v1 and v2 version describing high level design and usage examples on using rdma controller. Signed-off-by: Parav Pandit --- Documentation/cgroup-v1/rdma.txt | 106 +++ Documentation/cgroup-v2.txt | 33 2 files changed

[PATCH v2] sata_via: Apply WD workaround only when needed on VT6421

2016-02-20 Thread Ondrej Zary
Currently, workaround for broken WD drives is applied always, slowing down all drives. And it has a bug - it's not applied after resume. Apply the workaround only if the error really appears (SErr == 0x1000500). This allows unaffected drives to run at full speed (provided that no affected drive is

[PATCHv6 2/3] IB/core: added support to use rdma cgroup controller

2016-02-20 Thread Parav Pandit
Added support APIs for IB core to register/unregister every RDMA device with rdma cgroup for tracking verbs and hw resources. IB core registers with rdma cgroup controller and also defines resources that can be accounted. Added support APIs for uverbs layer to make use of rdma controller. Added uve

[GIT PULL] perf fixes

2016-02-20 Thread Ingo Molnar
Linus, Please pull the latest perf-urgent-for-linus git tree from: git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git perf-urgent-for-linus # HEAD: 059fcd8cd16622da6513804a7a3e826d152c6c96 perf/core: Plug potential memory leak in CPU_UP_PREPARE A handful of CPU hotplug related fi

[GIT PULL] x86 fixes

2016-02-20 Thread Ingo Molnar
Linus, Please pull the latest x86-urgent-for-linus git tree from: git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git x86-urgent-for-linus # HEAD: f4eafd8bcd5229e998aa252627703b8462c3b90f x86/mm: Fix vmalloc_fault() to handle large pages properly This is unusually large, partly du

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

2016-02-20 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 08/13] RDS: IB: add connection info to ibmr

2016-02-20 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 00/13] RDS: Major clean-up with couple of new features for 4.6

2016-02-20 Thread Santosh Shilimkar
Series is generated against net-next but also applies against Linus's tip cleanly. The diff-stat looks bit scary since almost ~4K lines of code is getting removed. Brief summary of the series: - Drop the stale iWARP support: RDS iWarp support code has become stale and non testable for

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

2016-02-20 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,

[PATCH] cpufreq_sched: set governor_data before waking up kschedfreq

2016-02-20 Thread Pingbo Wen
Fix null pointer dereference error liked below. This BUG can be easily re-produced by 'monkey --throttle 50' in android 6.0. Unable to handle kernel NULL pointer dereference at virtual address 0010 [KERN Warning] check backtrace: CPU: 0 PID: 10714 Comm: kschedfreq:0 Tainted: Call trace: [] dum

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

2016-02-20 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. Using module parameter 'prefer_frmr', user can choose its preferred MR method for RDS.

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

2016-02-20 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 RDS to have RDS functional on them. Some of the older HCAs support both FMR and FRMR modes. So to try out F

[tip:perf/core] perf evlist: Reference count the cpu and thread maps at set_maps()

2016-02-20 Thread tip-bot for Arnaldo Carvalho de Melo
Commit-ID: a55e5663761366fb883f6f25375dd68bc958b9db Gitweb: http://git.kernel.org/tip/a55e5663761366fb883f6f25375dd68bc958b9db Author: Arnaldo Carvalho de Melo AuthorDate: Wed, 17 Feb 2016 10:57:19 -0300 Committer: Arnaldo Carvalho de Melo CommitDate: Thu, 18 Feb 2016 10:48:37 -0300 pe

[tip:perf/core] perf evlist: Handle -EINVAL for sample_freq > max_sample_rate in strerror_open()

2016-02-20 Thread tip-bot for Arnaldo Carvalho de Melo
Commit-ID: d9aade7fd27a604bbffd363e6a68416ef51bab88 Gitweb: http://git.kernel.org/tip/d9aade7fd27a604bbffd363e6a68416ef51bab88 Author: Arnaldo Carvalho de Melo AuthorDate: Thu, 18 Feb 2016 13:34:09 -0300 Committer: Arnaldo Carvalho de Melo CommitDate: Fri, 19 Feb 2016 19:12:42 -0300 pe

[tip:perf/core] perf record: Add --all-user/--all-kernel options

2016-02-20 Thread tip-bot for Jiri Olsa
Commit-ID: 85723885feb823b4fc352b727ece0b6d00306c4d Gitweb: http://git.kernel.org/tip/85723885feb823b4fc352b727ece0b6d00306c4d Author: Jiri Olsa AuthorDate: Mon, 15 Feb 2016 09:34:31 +0100 Committer: Arnaldo Carvalho de Melo CommitDate: Thu, 18 Feb 2016 10:48:44 -0300 perf record: Add

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

2016-02-20 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 | 105 ++--- 3 files changed, 133 in

[tip:perf/core] perf tests: Use perf_evlist__strerror_open() to provide hints about max_freq

2016-02-20 Thread tip-bot for Arnaldo Carvalho de Melo
Commit-ID: 6880bbf96930ec6f8b40b5b93f21973f3297672a Gitweb: http://git.kernel.org/tip/6880bbf96930ec6f8b40b5b93f21973f3297672a Author: Arnaldo Carvalho de Melo AuthorDate: Thu, 18 Feb 2016 13:40:57 -0300 Committer: Arnaldo Carvalho de Melo CommitDate: Fri, 19 Feb 2016 19:12:43 -0300 pe

[tip:perf/core] perf stat: Handled scaled == -1 case for counters

2016-02-20 Thread tip-bot for Andi Kleen
Commit-ID: b002f3bbd321993c1a6d56b86544065420156ab9 Gitweb: http://git.kernel.org/tip/b002f3bbd321993c1a6d56b86544065420156ab9 Author: Andi Kleen AuthorDate: Wed, 17 Feb 2016 14:44:00 -0800 Committer: Arnaldo Carvalho de Melo CommitDate: Fri, 19 Feb 2016 19:12:45 -0300 perf stat: Handl

[tip:perf/core] perf test: Reduce the sample_freq for the ' object code reading' test

2016-02-20 Thread tip-bot for Arnaldo Carvalho de Melo
Commit-ID: 5243ba76a585a6481c4d7b931e7e3d98900cbdbe Gitweb: http://git.kernel.org/tip/5243ba76a585a6481c4d7b931e7e3d98900cbdbe Author: Arnaldo Carvalho de Melo AuthorDate: Thu, 18 Feb 2016 13:45:25 -0300 Committer: Arnaldo Carvalho de Melo CommitDate: Fri, 19 Feb 2016 19:12:44 -0300 pe

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

2016-02-20 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 04/13] RDS: IB: Remove the RDS_IB_SEND_OP dependency

2016-02-20 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

[tip:perf/core] perf tools: Create config_term_names array

2016-02-20 Thread tip-bot for Wang Nan
Commit-ID: 17cb5f84b89fd39a143f1c899836f40420a6b799 Gitweb: http://git.kernel.org/tip/17cb5f84b89fd39a143f1c899836f40420a6b799 Author: Wang Nan AuthorDate: Fri, 19 Feb 2016 11:43:57 + Committer: Arnaldo Carvalho de Melo CommitDate: Fri, 19 Feb 2016 19:12:48 -0300 perf tools: Create

[tip:perf/core] perf tools: Fix checking asprintf return value

2016-02-20 Thread tip-bot for Wang Nan
Commit-ID: 26dee028d365fbc0e3326606a8520260b4462381 Gitweb: http://git.kernel.org/tip/26dee028d365fbc0e3326606a8520260b4462381 Author: Wang Nan AuthorDate: Fri, 19 Feb 2016 11:43:52 + Committer: Arnaldo Carvalho de Melo CommitDate: Fri, 19 Feb 2016 19:12:47 -0300 perf tools: Fix ch

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

2016-02-20 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

[tip:perf/core] perf tools: Rename and move pmu_event_name to get_config_name

2016-02-20 Thread tip-bot for Wang Nan
Commit-ID: e814fddde18fec43fa41a27ae94c09b54772697e Gitweb: http://git.kernel.org/tip/e814fddde18fec43fa41a27ae94c09b54772697e Author: Wang Nan AuthorDate: Fri, 19 Feb 2016 11:43:59 + Committer: Arnaldo Carvalho de Melo CommitDate: Fri, 19 Feb 2016 19:12:50 -0300 perf tools: Rename

[tip:perf/core] perf bpf: Rename bpf_prog_priv__clear() to clear_prog_priv()

2016-02-20 Thread tip-bot for Wang Nan
Commit-ID: 80cdce7666924158af63ba5071805a28800ebe4b Gitweb: http://git.kernel.org/tip/80cdce7666924158af63ba5071805a28800ebe4b Author: Wang Nan AuthorDate: Fri, 19 Feb 2016 11:43:51 + Committer: Arnaldo Carvalho de Melo CommitDate: Fri, 19 Feb 2016 19:12:46 -0300 perf bpf: Rename b

[tip:perf/core] perf stat: Bail out on unsupported event config modifiers

2016-02-20 Thread tip-bot for Wang Nan
Commit-ID: 1669e509ea25e4e3e871d913d21b1cac4a96d1e8 Gitweb: http://git.kernel.org/tip/1669e509ea25e4e3e871d913d21b1cac4a96d1e8 Author: Wang Nan AuthorDate: Fri, 19 Feb 2016 11:43:58 + Committer: Arnaldo Carvalho de Melo CommitDate: Fri, 19 Feb 2016 19:12:49 -0300 perf stat: Bail ou

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

2016-02-20 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 355e1c8..9d79bea 100644 --- a/MAINTAINERS +++ b/MAINTAINERS @@ -9081,10 +9081,14 @@ S:

[tip:perf/core] perf hists browser: Fix percentage update on key press

2016-02-20 Thread tip-bot for Namhyung Kim
Commit-ID: 467ef10c68b90b940412390dcd14bbfe8cc40e73 Gitweb: http://git.kernel.org/tip/467ef10c68b90b940412390dcd14bbfe8cc40e73 Author: Namhyung Kim AuthorDate: Tue, 16 Feb 2016 23:08:19 +0900 Committer: Arnaldo Carvalho de Melo CommitDate: Fri, 19 Feb 2016 19:12:51 -0300 perf hists bro

[tip:perf/core] perf tools: Enable config raw and numeric events

2016-02-20 Thread tip-bot for Wang Nan
Commit-ID: 10bf358a1b79fa1311eb05ee31f2cefdcad01741 Gitweb: http://git.kernel.org/tip/10bf358a1b79fa1311eb05ee31f2cefdcad01741 Author: Wang Nan AuthorDate: Fri, 19 Feb 2016 11:44:00 + Committer: Arnaldo Carvalho de Melo CommitDate: Fri, 19 Feb 2016 19:12:50 -0300 perf tools: Enable

[tip:perf/core] perf tools: Introduce opt_event_config nonterminal

2016-02-20 Thread tip-bot for Arnaldo Carvalho de Melo
Commit-ID: 1d55e8ef340dad1ccd5aaf53071de41fc3d8dba4 Gitweb: http://git.kernel.org/tip/1d55e8ef340dad1ccd5aaf53071de41fc3d8dba4 Author: Arnaldo Carvalho de Melo AuthorDate: Fri, 19 Feb 2016 18:45:12 -0300 Committer: Arnaldo Carvalho de Melo CommitDate: Fri, 19 Feb 2016 19:12:50 -0300 pe

[tip:perf/core] perf tools: Enable config and setting names for legacy cache events

2016-02-20 Thread tip-bot for Wang Nan
Commit-ID: 43d0b97817a41b274aaec0476e912dae3ae1f93d Gitweb: http://git.kernel.org/tip/43d0b97817a41b274aaec0476e912dae3ae1f93d Author: Wang Nan AuthorDate: Fri, 19 Feb 2016 11:44:01 + Committer: Arnaldo Carvalho de Melo CommitDate: Fri, 19 Feb 2016 19:12:51 -0300 perf tools: Enable

[tip:perf/core] perf callchain: Check return value of append_chain_children()

2016-02-20 Thread tip-bot for Namhyung Kim
Commit-ID: dca0d122e498c054b117bd4aa5568ce90ee142d5 Gitweb: http://git.kernel.org/tip/dca0d122e498c054b117bd4aa5568ce90ee142d5 Author: Namhyung Kim AuthorDate: Tue, 16 Feb 2016 23:08:24 +0900 Committer: Arnaldo Carvalho de Melo CommitDate: Fri, 19 Feb 2016 19:15:01 -0300 perf callchain

[tip:perf/core] perf callchain: Add enum match_result for match_chain()

2016-02-20 Thread tip-bot for Namhyung Kim
Commit-ID: 2d713b809d89a3d10c6a85162bf7cce0468e45d9 Gitweb: http://git.kernel.org/tip/2d713b809d89a3d10c6a85162bf7cce0468e45d9 Author: Namhyung Kim AuthorDate: Tue, 16 Feb 2016 23:08:22 +0900 Committer: Arnaldo Carvalho de Melo CommitDate: Fri, 19 Feb 2016 19:14:20 -0300 perf callchain

[tip:perf/core] perf callchain: Check return value of add_child()

2016-02-20 Thread tip-bot for Namhyung Kim
Commit-ID: 7565bd39c1a63c82350d26a66ea1a1f1bb49ad2e Gitweb: http://git.kernel.org/tip/7565bd39c1a63c82350d26a66ea1a1f1bb49ad2e Author: Namhyung Kim AuthorDate: Tue, 16 Feb 2016 23:08:20 +0900 Committer: Arnaldo Carvalho de Melo CommitDate: Fri, 19 Feb 2016 19:12:52 -0300 perf callchain

[tip:perf/core] perf callchain: Check return value of fill_node()

2016-02-20 Thread tip-bot for Namhyung Kim
Commit-ID: 8451cbb9b174a9b6e016d7f1bff81ff12dbd1990 Gitweb: http://git.kernel.org/tip/8451cbb9b174a9b6e016d7f1bff81ff12dbd1990 Author: Namhyung Kim AuthorDate: Tue, 16 Feb 2016 23:08:21 +0900 Committer: Arnaldo Carvalho de Melo CommitDate: Fri, 19 Feb 2016 19:13:21 -0300 perf callchain

[tip:perf/core] perf callchain: Check return value of split_add_child()

2016-02-20 Thread tip-bot for Namhyung Kim
Commit-ID: f2bb4c5af4fe16d8b1e4ae371e1ceaa817380a88 Gitweb: http://git.kernel.org/tip/f2bb4c5af4fe16d8b1e4ae371e1ceaa817380a88 Author: Namhyung Kim AuthorDate: Tue, 16 Feb 2016 23:08:23 +0900 Committer: Arnaldo Carvalho de Melo CommitDate: Fri, 19 Feb 2016 19:14:36 -0300 perf callchain

[tip:perf/core] perf report: Check error during report__collapse_hists()

2016-02-20 Thread tip-bot for Namhyung Kim
Commit-ID: 5b2ea6f2f6ac81a230e6cc68e1473e796a583f00 Gitweb: http://git.kernel.org/tip/5b2ea6f2f6ac81a230e6cc68e1473e796a583f00 Author: Namhyung Kim AuthorDate: Tue, 16 Feb 2016 23:08:26 +0900 Committer: Arnaldo Carvalho de Melo CommitDate: Fri, 19 Feb 2016 19:17:50 -0300 perf report: C

[tip:perf/core] perf hists: Return error from hists__collapse_resort()

2016-02-20 Thread tip-bot for Namhyung Kim
Commit-ID: bba58cdfaace2eb96d2b3cabc610d2ba033371c8 Gitweb: http://git.kernel.org/tip/bba58cdfaace2eb96d2b3cabc610d2ba033371c8 Author: Namhyung Kim AuthorDate: Tue, 16 Feb 2016 23:08:25 +0900 Committer: Arnaldo Carvalho de Melo CommitDate: Fri, 19 Feb 2016 19:16:06 -0300 perf hists: Re

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

2016-02-20 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 01/13] RDS: Drop stale iWARP RDMA transport

2016-02-20 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 02/13] RDS: Add support for SO_TIMESTAMP for incoming messages

2016-02-20 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

[tip:x86/mm] x86/mm/ptdump: Remove paravirt_enabled()

2016-02-20 Thread tip-bot for Borislav Petkov
Commit-ID: b176862fca8625b0a8bee207bca9b611413e5e24 Gitweb: http://git.kernel.org/tip/b176862fca8625b0a8bee207bca9b611413e5e24 Author: Borislav Petkov AuthorDate: Thu, 18 Feb 2016 21:00:41 +0100 Committer: Ingo Molnar CommitDate: Sat, 20 Feb 2016 12:25:45 +0100 x86/mm/ptdump: Remove pa

undefined reference to `dib3000mc_pid_parse'

2016-02-20 Thread kbuild test robot
Hi Kirill, It's probably a bug fix that unveils the link errors. tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master head: 020ecbba0548cefc91c3c5de32c28a62bcf37ed9 commit: 51b97e354ba9fce1890cf38ecc754aa49677fc89 kernel: use the gnu89 standard explicitly date:

Re: vdso clock_gettime() sometimes broken after sleep

2016-02-20 Thread Hauke Mehrtens
On 01/29/2016 10:32 PM, Hauke Mehrtens wrote: > When using the vdso clock_gettime() it looks like that the clock is > sometimes not going forward when the process sleeps and the clock also > sleeps. This problem only happens with the vdso clock and not with the > normal syscall clock. > > I wrote

[PATCH] arc: get rid of DEVTMPFS dependency on INITRAMFS_SOURCE

2016-02-20 Thread Alexey Brodkin
Even though DEVTMPFS is required when our pre-built initramfs is used it is not the case in general. It is perfectly possible to use initramfs with device nodes already populated or there could be other usages, see discussion below for more detials: http://thread.gmane.org/gmane.comp.embedded.openw

Re: [PATCH] net: smc911x: convert pxa dma to dmaengine

2016-02-20 Thread Hitoshi Mitake
Hi Robert, At Sat, 06 Feb 2016 10:05:51 +0100, Robert Jarzmik wrote: > > David Miller writes: > > > From: Robert Jarzmik > > Date: Fri, 05 Feb 2016 22:44:56 +0100 > > > >> Apart from Alberto who answered he cannot test it by lack of hardware, the > >> others didn't answer. > >> > >> So how c

[RFC PATCH] drivers: ata: Read Rx water mark value from device-tree

2016-02-20 Thread Anurag Kumar Vulisha
This patch updates the driver to read the RX FIFO watermark value from device tree. This read value is used by the driver for programming FIFO RxWaterMark level, which sets the minimum number of free locations within the RX FIFO.When the rx fifo level crosses the programmed watermark level, sata co

Re: [linux-sunxi] [PATCH v2 00/26] drm: Add Allwinner A10 display engine support

2016-02-20 Thread Priit Laes
On Thu, 2016-01-14 at 16:24 +0100, Maxime Ripard wrote: > Hi everyone, > > The Allwinner SoCs (except for the very latest ones) all share the > same set of controllers, loosely coupled together to form the display > pipeline. > > Depending on the SoC, the number of instances of the controller wil

[PATCH 2/4] ASoC: wm9713: add device tree support

2016-02-20 Thread Robert Jarzmik
Add the code to be able to use this codec in a devicetree platform. This is tested with the zylonite pxa310 board. Signed-off-by: Robert Jarzmik --- sound/soc/codecs/wm9713.c | 10 ++ 1 file changed, 10 insertions(+) diff --git a/sound/soc/codecs/wm9713.c b/sound/soc/codecs/wm9713.c ind

[PATCH 1/4] ASoC: wm9713: add binding for WM9713 codec

2016-02-20 Thread Robert Jarzmik
This adds a binding for the Wolfson WM9713 audio codec. Signed-off-by: Robert Jarzmik --- Documentation/devicetree/bindings/sound/wm9713.txt | 14 ++ 1 file changed, 14 insertions(+) create mode 100644 Documentation/devicetree/bindings/sound/wm9713.txt diff --git a/Documentation/de

[PATCH 3/4] ASoC: pxa: add binding for pxa2xx-ac97 audio complex

2016-02-20 Thread Robert Jarzmik
This adds a binding for the Marvell PXA audio complex, available in pxa2xx and pxa3xx variants. Signed-off-by: Robert Jarzmik --- .../bindings/sound/marvell,pxa2xx-ac97.txt | 25 ++ 1 file changed, 25 insertions(+) create mode 100644 Documentation/devicetree/binding

[PATCH 4/4] ASoC: pxa: add pxa2xx-ac97 devicetree support

2016-02-20 Thread Robert Jarzmik
Add the devicetree support, so that the driver can be used in a devicetree platform. Signed-off-by: Robert Jarzmik --- sound/arm/pxa2xx-ac97-lib.c | 11 +++ sound/soc/pxa/pxa2xx-ac97.c | 10 ++ 2 files changed, 21 insertions(+) diff --git a/sound/arm/pxa2xx-ac97-lib.c b/sound/ar

Re: [PATCH] net: smc911x: convert pxa dma to dmaengine

2016-02-20 Thread Robert Jarzmik
Hitoshi Mitake writes: > Hi Robert, > > On Sat, Feb 6, 2016 at 6:05 PM, Robert Jarzmik wrote: > > Please just keep pinging people to properly test this. > > Okay, let's have another try. > > Hi Guennadi, Hitoshi, Fabio, > > Could any of you try this patch to ensure

Re: [PATCH] net: smc911x: convert pxa dma to dmaengine

2016-02-20 Thread Guennadi Liakhovetski
Hi, On Sat, 20 Feb 2016, Hitoshi Mitake wrote: > > Hi Robert, > > At Sat, 06 Feb 2016 10:05:51 +0100, > Robert Jarzmik wrote: > > > > David Miller writes: > > > > > From: Robert Jarzmik > > > Date: Fri, 05 Feb 2016 22:44:56 +0100 > > > > > >> Apart from Alberto who answered he cannot test i

Re: [PATCH] xen-netfront: set real_num_tx_queues to zreo avoid to trigger BUG_ON

2016-02-20 Thread Sergei Shtylyov
On 02/20/2016 04:27 AM, Gonglei wrote: It's possible for a race condition to exist between xennet_open() and talk_to_netback(). After invoking netfront_probe() then other threads or processes invoke xennet_open (such as NetworkManager) immediately may trigger BUG_ON(). Besides, we also should re

[PATCH 0/3] thermal: hisilicon: enable power allocator for Hi6220

2016-02-20 Thread Leo Yan
Hi6220 has octa-core so it has quite high power consumption when run benchmark and introduces high temperature for SoC. So need enable thermal gover to control temperature and also cannot hurt much for performance after impose cooling operations on CPU. This patch series is to enable power allocat

[PATCH 1/3] thermal: hisilicon: support to use any sensor

2016-02-20 Thread Leo Yan
In current code sensor driver registers all 4 sensors together and if any of them has not bound to thermal zone successfully then driver will return failure for driver's initialization. As a result, if DT binds thermal zone with only one sensor, then the thermal driver will not work well anymore.

[PATCH 3/3] arm64: dts: register Hi6220's thermal zone for power allocator

2016-02-20 Thread Leo Yan
With profiling Hi6220's power modeling so get dynamic coefficient and sustainable power. So pass these parameters from DT. Now enable power allocator wit only one actor for CPU part, so directly use cluster0's thermal sensor for monitoring temperature. Signed-off-by: Leo Yan --- arch/arm64/boot

[PATCH 2/3] arm64: dts: register Hi6220's thermal sensor

2016-02-20 Thread Leo Yan
Bind thermal sensor driver for Hi6220. Signed-off-by: Leo Yan --- arch/arm64/boot/dts/hisilicon/hi6220.dtsi | 9 + 1 file changed, 9 insertions(+) diff --git a/arch/arm64/boot/dts/hisilicon/hi6220.dtsi b/arch/arm64/boot/dts/hisilicon/hi6220.dtsi index f588be9..50ba1b0 100644 --- a/arch

Re: fs: NULL deref in atime_needs_update

2016-02-20 Thread Mickaël Salaün
On 20/02/2016 04:54, Al Viro wrote: > On Sat, Feb 20, 2016 at 03:21:27AM +, Al Viro wrote: >> On Fri, Feb 19, 2016 at 08:32:10PM +0100, Dmitry Vyukov wrote: BUG: unable to handle kernel NULL pointer dereference at 0050 >> >> NULL inode->i_sb, by the look of the offset, but I r

[PATCH V7] netfilter: h323: avoid potential attack

2016-02-20 Thread Zhouyi Zhou
I think hackers chould build a malicious h323 packet to overflow the pointer p which will panic during the memcpy(addr, p, len) For example, he may fabricate a very large taddr->ipAddress.ip in function get_h225_addr. To avoid above, I add buffer boundary checking both in get addr functions and se

Re: [PATCH v2 0/8] EC-based USB Power Delivery support for Chrome machines

2016-02-20 Thread Pavel Machek
Hi! > this series contains a driver that exposes a power_supply to userspace > representing a port that support USB PD charging. Well, if this is meant for userspace, should it add some documentation, too? Thanks, Pavel

Re: [RFC] sysfs: defer instantiation of default attrs

2016-02-20 Thread David Ahern
Hi Ed: Thank for taking the to look into this. On 2/20/16 3:42 AM, Edward Cree wrote: Testing this in a VM, and with udevd disabled (being too lazy to do it properly), created 1024 bridges. On ls'ing /sys/class/net/bridge*/queues/*/, saw free memory drop by 64kB, suggesting that much had

Re: richacl(7) man page review comments

2016-02-20 Thread Andreas Gruenbacher
Hi Michael, thanks again for all the feedback. I've followed all your suggestions; again, please see the github repo for the latest version: https://github.com/andreas-gruenbacher/richacl On Sun, Feb 14, 2016 at 10:31 PM, Michael Kerrisk (man-pages) wrote: > Hi Andreas, > > Here's a few more

Re: [PATCH] f2fs: Introduce lifetime write IO statistics

2016-02-20 Thread Pavel Machek
Hi! > From: Shuoran Liu > > Signed-off-by: Shuoran Liu > Signed-off-by: Pengyang Hou > --- a/fs/f2fs/checkpoint.c > +++ b/fs/f2fs/checkpoint.c > @@ -921,6 +921,10 @@ static int do_checkpoint(struct f2fs_sb_info *sbi, > struct cp_control *cpc) > int cp_payload_blks = __cp_payload(sbi);

Re: fs: NULL deref in atime_needs_update

2016-02-20 Thread Al Viro
On Sat, Feb 20, 2016 at 02:25:40PM +0100, Mickaël Salaün wrote: > I think the bug may be somewhere in the nd->depth handling (when its value is > 0) in fs/namei.c:get_link(): struct saved *last = nd->stack + nd->depth - 1 Getting there with nd->depth == 0 would certainly be a bug - it would mean

Re: [PATCH] kernel/resource.c: fix muxed resource handling in __request_region()

2016-02-20 Thread Linus Torvalds
On Fri, Feb 19, 2016 at 3:25 PM, Jesse Barnes wrote: > +Linus (the de-facto resource guy). > > On 02/19/2016 01:10 PM, Vincent Pelletier wrote: >> >> I finally got around to rebasing some patches, and realised that the >> patch from Simon Guinot below still gets rebased over torvalds' v4.4 . >> >>

Re: [PATCH 1/4] ASoC: wm9713: add binding for WM9713 codec

2016-02-20 Thread Mark Brown
On Sat, Feb 20, 2016 at 03:37:56PM +0100, Robert Jarzmik wrote: > +WM9713 audio CODEC > + > +This devices supports I2C. No, it clearly doesn't... The problem with doing this is that since AC'97 is an enumerable bus we really shouldn't need to list AC'97 CODECs in the device tree. Instead we sho

Re: [PATCH] ASoC: mediatek: Add machine driver for ALC5650 codec

2016-02-20 Thread Mark Brown
On Fri, Feb 19, 2016 at 10:35:59AM +0800, PC Liao wrote: > @@ -3,3 +3,4 @@ obj-$(CONFIG_SND_SOC_MEDIATEK) += mtk-afe-pcm.o > # Machine support > obj-$(CONFIG_SND_SOC_MT8173_MAX98090) += mt8173-max98090.o > obj-$(CONFIG_SND_SOC_MT8173_RT5650_RT5676) += mt8173-rt5650-rt5676.o > +obj-$(CONFIG_SND_

Re: [PATCH] regulator: qcom-saw: avoid uninitialized variable warning

2016-02-20 Thread Mark Brown
On Thu, Feb 11, 2016 at 10:38:08AM +0100, Arnd Bergmann wrote: > gcc cannot know that a for_each_possible_cpu() loop always executes > at least once, so it warns about the use of the "found" variable > in qcom_saw_regulator_probe: I'm going to drop this driver so this won't be needed. signature.

Re: [PATCH v4] regulator: qcom-saw: Add support for SAW regulators

2016-02-20 Thread Mark Brown
On Tue, Feb 09, 2016 at 03:12:29PM +0200, Georgi Djakov wrote: > The SAW (Subsystem Power Manager and Adaptive Voltage Scaling Wrapper) > is part of the SPM subsystem. It is a hardware block in the Qualcomm > chipsets that regulates the power to the CPU cores on platform such as > apq8064, msm8974,

Re: [PATCH 1/2] regulator: qcom_saw: Fix testing wrong value

2016-02-20 Thread Mark Brown
On Thu, Feb 11, 2016 at 12:57:21PM +0800, Axel Lin wrote: > Signed-off-by: Axel Lin I'm going to drop this driver so these patches are no longer required. signature.asc Description: PGP signature

Re: [PATCH v6 1/2] dt-bindings: sunxi :add sun4i SPDIF transceiver

2016-02-20 Thread Mark Brown
On Mon, Feb 08, 2016 at 06:09:20PM +0100, codekip...@gmail.com wrote: > From: Marcus Cooper > > Add devicetree bindings for the SPDIF transceiver found on > found on Allwinners A10 and A20 SoCs. Please use subject lines matching the style for the subsystem. This makes it easier for people to id

Applied "regmap: merge regmap_fields_update_bits() into macro" to the regmap tree

2016-02-20 Thread Mark Brown
The patch regmap: merge regmap_fields_update_bits() into macro has been applied to the regmap tree at git://git.kernel.org/pub/scm/linux/kernel/git/broonie/regmap.git All being well this means that it will be integrated into the linux-next tree (usually sometime in the next 24 hours) and

  1   2   >