Re: [PATCH v14 04/10] arm64: Kprobes with single stepping support

2016-06-26 Thread Pratyush Anand
Hi David, On 26/06/2016:11:06:47 PM, David Long wrote: > From: Sandeepa Prabhu > > Add support for basic kernel probes(kprobes) and jump probes > (jprobes) for ARM64. > > Kprobes utilizes software breakpoint and single step debug > exceptions supported on ARM v8. > > A software breakpoint is p

[PATCH v3] acpi, nfit: treat volatile virtual CD region as pmem

2016-06-26 Thread Lee, Chun-Yi
This patch adds logic to treat volatile virtual CD region as pmem region, then /dev/pmem* device can be mounted with iso9660. It's useful to work with the httpboot in EFI firmware to pull a remote ISO file to the local memory region for booting and installation. Wiki page of UEFI HTTPBoot with OV

Re: RFC: Fix kdump failed with 'notsc'

2016-06-26 Thread Wei, Jiangang
Hi Alok, Thanks for your reply. CC Ingo and fenghua.yu I found the arch-criminal by bisect. [root@localhost linux]# git show 522e6646 commit 522e66464467543c0d88d023336eec4df03ad40b Author: Fenghua Yu Date: Wed Oct 23 18:30:12 2013 -0700 x86/apic: Disable I/O APIC before shutdo

Re: [PATCH v10 01/22] net: hns: Add reset function support for RoCE driver

2016-06-26 Thread oulijun
Hi, Leon 在 2016/6/24 19:49, Leon Romanovsky 写道: > On Thu, Jun 16, 2016 at 10:35:09PM +0800, Lijun Ou wrote: >> It added reset function for RoCE driver. RoCE is a feature of hns. >> In hip06 SoC, in RoCE reset process, it's needed to configure dsaf >> channel reset, port and sl map info. Reset func

Re: [PATCH 1/2] net: ethernet: ethoc: use phydev from struct net_device

2016-06-26 Thread Tobias Klauser
On 2016-06-25 at 16:33:41 +0200, Philippe Reynes wrote: > The private structure contain a pointer to phydev, but the structure > net_device already contain such pointer. So we can remove the pointer > phy in the private structure, and update the driver to use the > one contained in struct net_devi

Re: [PATCH 2/2] net: ethernet: ethoc: use phy_ethtool_{get|set}_link_ksettings

2016-06-26 Thread Tobias Klauser
On 2016-06-25 at 16:33:42 +0200, Philippe Reynes wrote: > There are two generics functions phy_ethtool_{get|set}_link_ksettings, > so we can use them instead of defining the same code in the driver. > > Signed-off-by: Philippe Reynes Reviewed-by: Tobias Klauser Thanks

Re: [PATCH] locking/osq: Drop the overload of osq lock

2016-06-26 Thread Boqun Feng
On Sun, Jun 26, 2016 at 02:59:26PM +0800, Boqun Feng wrote: [snip] > > This should be: > > extern struct vcpu_preempt_ops vcpu_preempt_ops; > > And I tested this one along with modified version of Xinhui's patch. > > The test showed that even in a not over-committed system, the overhead > of mu

linux-next: Tree for Jun 27

2016-06-26 Thread Stephen Rothwell
Hi all, Changes since 20160624: The nfs tree gained a build failure so I used the version from next-20160624. The net-next tree gained a conflict against the net tree. The crypto tree lost its build failure. The jc_docs tree gained a conflict against the drm tree. The devicetree tree gained a

[v4.7-rc5] i915: *ERROR* (CPU pipe|PCH transcoder) A FIFO underrun

2016-06-26 Thread Sedat Dilek
Hi Daniel, I had already reported this issue in a email-thread called "[v4.6-10530-g28165ec7a99b] i915: *ERROR* "CPU pipe/PCH transcoder" A FIFO underrun". This is still happening here on Sandybridge (and Ivybridge GPU reported by Chris Bainbridge). I have updated the bug-report in [1]. Chris B.

[PATCH] phy: rcar-gen3-usb2: fix mutex_lock calling in interrupt

2016-06-26 Thread Yoshihiro Shimoda
This patch fixes an issue that the extcon_set_cable_state_() is possible to cause "BUG: scheduling while atomic" because this driver calls extcon_set_cable_state_() in the interrupt handler and mutex_lock() is possible to be called by like the following call trace. So, this patch adds a workqueue f

Re: [PATCH] cpufreq: powernv: Replacing pstate_id with frequency table index

2016-06-26 Thread Viresh Kumar
Hi Akshay, Did you try running checkpatch for this? On 24-06-16, 19:33, Akshay Adiga wrote: > diff --git a/drivers/cpufreq/powernv-cpufreq.c > b/drivers/cpufreq/powernv-cpufreq.c > index b29c5c2..f6ce6f0 100644 > --- a/drivers/cpufreq/powernv-cpufreq.c > +++ b/drivers/cpufreq/powernv-cpufreq.c >

Crypto Fixes for 4.7

2016-06-26 Thread Herbert Xu
Hi Linus: This push fixes the following issue: - Missing length check for user-space GETALG request. - Bogus memmove length in ux500 driver. - Incorrect priority setting for vmx driver. - Incorrect ABI selection for vmx driver. Please pull from git://git.kernel.org/pub/scm/linux/kernel/git/her

Re: [PATCH v3 1/3] Documentation: DT: Add iproc-static-adc binding

2016-06-26 Thread Raveendra Padasalagi
On Sun, Jun 26, 2016 at 3:54 PM, Jonathan Cameron wrote: > On 24/06/16 16:43, Rob Herring wrote: >> On Wed, Jun 22, 2016 at 11:41:51AM +0530, Raveendra Padasalagi wrote: >>> The patch adds devicetree binding document for broadcom's >>> iproc-static-adc controller driver. >>> >>> Signed-off-by: Rav

RE: [v11,3/3] Bluetooth: hci_uart: Support firmware download for Marvell

2016-06-26 Thread Amitkumar Karwar
Hi Marcel, > From: Jeffy Chen [mailto:jeffy.c...@rock-chips.com] > Sent: Friday, June 24, 2016 11:32 AM > To: Amitkumar Karwar; linux-blueto...@vger.kernel.org > Cc: linux-kernel@vger.kernel.org; Ganapathi Bhat > Subject: Re: [v11,3/3] Bluetooth: hci_uart: Support firmware download > for Marvell >

Re: kernel-4.7 bug in Intel sound and/or ACPI

2016-06-26 Thread Wim Osterholt
On Sat, Jun 25, 2016 at 04:51:03AM -0400, ok...@codeaurora.org wrote: > On 2016-06-24 21:39, Wim Osterholt wrote: > > Please apply the patches on top of clean 4.7-rc4 tree and apply them in > order with > > git am 0001... > git am 0002... It doesn't work that way. Beginners problems with git. T

Re: [PATCH] [perf]: update makefile message for installing required libs

2016-06-26 Thread Peter Zijlstra
On Sun, Jun 26, 2016 at 09:49:56PM -0700, neerajbadl...@gmail.com wrote: > From: Neeraj Badlani > > In case of missing library (libslang), give hint to install library > (libslang2-dev) > Since libslang-dev is not provided by Ubuntu's apt-package No Signed-off-by:, so I (or in reality acme) can

Re: [PATCH v3 2/3] iio: Add driver for Broadcom iproc-static-adc

2016-06-26 Thread Raveendra Padasalagi
On Sun, Jun 26, 2016 at 4:08 PM, Jonathan Cameron wrote: > On 22/06/16 07:11, Raveendra Padasalagi wrote: >> This patch adds basic driver implementation for Broadcom's >> static adc controller used in iProc SoC's family. >> >> Signed-off-by: Raveendra Padasalagi >> Reviewed-by: Ray Jui >> Review

[fork] fa0c96ab2d: BUG: unable to handle kernel NULL pointer dereference at 0000000000000008

2016-06-26 Thread kernel test robot
edef/gcc-6/fa0c96ab2d9c97a1ac47b4f7ed7199f1eb143322/vmlinuz-4.7.0-rc4-00260-gfa0c96a -append 'root=/dev/ram0 user=lkp job=/lkp/scheduled/vm-kbuild-yocto-ia32-9/rand_boot-1-yocto-minimal-i386.cgz-x86_64-acpi-redef-fa0c96ab2d9c97a1ac47b4f7ed7199f1eb143322-20160626-39885-prwrwn-1.yaml ARCH=x86_64 kconfig=x8

Re: [PATCH 2/2] ARM: multi_v7_defconfig: Enable vivid driver as a module

2016-06-26 Thread Krzysztof Kozlowski
On 06/24/2016 03:10 PM, Javier Martinez Canillas wrote: > The Virtual Video Test Driver can be used to emulate video capture and > output devices so it's very useful for testing. Since is not necessary > to boot, can be enabled as module to avoid increasing the kernel size. > > Signed-off-by: Javi

Re: [PATCH] thermal: of-thermal: Fix setting of set_emul_temp hook

2016-06-26 Thread Keerthy
On Friday 10 June 2016 11:57 AM, Keerthy wrote: On Thursday 02 June 2016 02:24 PM, Keerthy wrote: Currently thermal zone set_emul_temp is set unconditionally with of_thermal_set_emul_temp function. Set this only if the set_emul_temp hook is provided for thermal_zone_of_device_ops. This fixe

Re: [PATCH 00/10] Documentation/Sphinx

2016-06-26 Thread Markus Heiser
Am 24.06.2016 um 12:40 schrieb Mauro Carvalho Chehab : > Em Tue, 31 May 2016 12:16:25 +0200 > Markus Heiser escreveu: > >> Am 30.05.2016 um 23:23 schrieb Mauro Carvalho Chehab >> : >> >>> Em Mon, 30 May 2016 23:05:34 +0300 >>> Jani Nikula escreveu: >>> > I worry a little bit in that reS

Re: regression caused by bb6ab52f2bef ("intel_pstate: Do not set utilization update hook too early")

2016-06-26 Thread Jisheng Zhang
Dear Rafael, On Sat, 25 Jun 2016 02:14:28 +0200 "Rafael J. Wysocki" wrote: > On Friday, June 17, 2016 04:09:33 PM Jisheng Zhang wrote: > > Dear all, > > > > If using acpi-cpufreq instead, v4.6, v4.6-rc3, v4.7-rc3 can't reproduce the > > issue. It seems > > only intel_pstate is impacted. > >

[PATCH net-next 5/6] r8152: support RTL8153B

2016-06-26 Thread Hayes Wang
Support new chip RTL8153B. Signed-off-by: Hayes Wang --- drivers/net/usb/r8152.c | 560 +--- 1 file changed, 533 insertions(+), 27 deletions(-) diff --git a/drivers/net/usb/r8152.c b/drivers/net/usb/r8152.c index 3ccbff0..2fd4944 100644 --- a/drivers/

[PATCH net-next 2/6] r8152: add u1u2_enable for rtl_ops

2016-06-26 Thread Hayes Wang
Add u1u2_enable() for rtl_ops. Signed-off-by: Hayes Wang --- drivers/net/usb/r8152.c | 13 - 1 file changed, 8 insertions(+), 5 deletions(-) diff --git a/drivers/net/usb/r8152.c b/drivers/net/usb/r8152.c index b253003..f51d799 100644 --- a/drivers/net/usb/r8152.c +++ b/drivers/net/u

[PATCH net-next 4/6] r8152: support the new chip 8050

2016-06-26 Thread Hayes Wang
Support a new chip which has the product ID 0x8050. Signed-off-by: Hayes Wang --- drivers/net/usb/r8152.c | 9 + 1 file changed, 9 insertions(+) diff --git a/drivers/net/usb/r8152.c b/drivers/net/usb/r8152.c index a4f8a01..3ccbff0 100644 --- a/drivers/net/usb/r8152.c +++ b/drivers/net/u

[PATCH net-next 0/6] r8152: support new chips

2016-06-26 Thread Hayes Wang
In order to support new chips, adjust some codes. Then, add the settings for the new chips. Hayes Wang (6): r8152: add aldps_enable for rtl_ops r8152: add u1u2_enable for rtl_ops r8152: add power_cut_en for rtl_ops r8152: support the new chip 8050 r8152: support RTL8153B r8152: add byt

[PATCH net-next 3/6] r8152: add power_cut_en for rtl_ops

2016-06-26 Thread Hayes Wang
Add power_cut_en() for rtl_ops. Signed-off-by: Hayes Wang --- drivers/net/usb/r8152.c | 16 +--- 1 file changed, 13 insertions(+), 3 deletions(-) diff --git a/drivers/net/usb/r8152.c b/drivers/net/usb/r8152.c index f51d799..a4f8a01 100644 --- a/drivers/net/usb/r8152.c +++ b/drivers/

Re: about definition of iowait

2016-06-26 Thread Cao jin
Hi Peter Sorry to bother you on this topic again. On 06/07/2016 08:01 PM, Peter Zijlstra wrote: On Tue, Jun 07, 2016 at 07:24:46PM +0800, Cao jin wrote: Hi, I noticed some problems about iowait entry of /proc/stat: it seems not accurate, and sometimes will decrease in SMP. For UP, we have

Re: [PATCH 0/2] nfit_test: convert to vmalloc()

2016-06-26 Thread Johannes Thumshirn
On Sun, Jun 26, 2016 at 04:12:08PM -0700, Dan Williams wrote: > While backporting nfit_test to distro kernels a conflict between CMA and > SWIOTLB was discovered. CMA requirements have also been a stumbling > point for others trying to execute the tests. > Oh this is more than welcome, thanks for

Re: [PATCH v4 01/29] bluetooth: Switch SMP to crypto_cipher_encrypt_one()

2016-06-26 Thread Marcel Holtmann
Hi Andy, > SMP does ECB crypto on stack buffers. This is complicated and > fragile, and it will not work if the stack is virtually allocated. > > Switch to the crypto_cipher interface, which is simpler and safer. > > Cc: Marcel Holtmann > Cc: Gustavo Padovan > Cc: Johan Hedberg > Cc: "David

Re: [PATCH] cpufreq: dt: call of_node_put() before error out

2016-06-26 Thread Viresh Kumar
On 27-06-16, 14:50, Masahiro Yamada wrote: > If of_match_node() fails, this init function bails out without > calling of_node_put(). > > I also changed of_node_put(of_root) to of_node_put(np); both of them > hold the same pointer, but it seems better to call of_node_put() > against the node return

Re: [PATCH v2 3/4] iio: potentiometer: mcp4531: Add device tree binding

2016-06-26 Thread Florian Vaussard
Hi Peter, Le 27. 06. 16 à 00:12, Peter Rosin a écrit : > Hi Florian, > > On 2016-06-26 22:22, Florian Vaussard wrote: >> This patch adds the necessary device tree binding to allow DT probing of >> currently supported parts. >> >> Signed-off-by: Florian Vaussard >> --- >> drivers/iio/potentiomet

Re: [PATCH v2 2/4] iio: potentiometer: mcp4531: Add device tree binding documentation

2016-06-26 Thread Florian Vaussard
Hello Peter, Le 26. 06. 16 à 23:38, Peter Rosin a écrit : > On 2016-06-26 22:22, Florian Vaussard wrote: >> Add the device tree documentation for all the supported parts. Apart the >> compatible string and standard I2C binding, no other binding is currently >> needed. >> >> Signed-off-by: Florian

Re: [PATCH 2/2] leds: Add driver for NCP5623 3-channel I2C LED driver

2016-06-26 Thread Florian Vaussard
Hi Pavel, Le 26. 06. 16 à 23:49, Pavel Machek a écrit : > Hi! > >>> +struct ncp5623_led { >>> + bool active; >>> + unsigned int led_no; >>> + struct led_classdev ldev; >>> + struct work_struct work; >>> + struct ncp5623_priv *priv; >>> +}; >>> + >>> +struct ncp5623_priv { >>> + struct

Re: [PATCH v6v3 02/12] mm: migrate: support non-lru movable page migration

2016-06-26 Thread Anshuman Khandual
On 06/16/2016 11:07 AM, Minchan Kim wrote: > On Thu, Jun 16, 2016 at 09:12:07AM +0530, Anshuman Khandual wrote: >> On 06/16/2016 05:56 AM, Minchan Kim wrote: >>> On Wed, Jun 15, 2016 at 12:15:04PM +0530, Anshuman Khandual wrote: On 06/15/2016 08:02 AM, Minchan Kim wrote: > Hi, > >

[PATCH] cpufreq: dt: call of_node_put() before error out

2016-06-26 Thread Masahiro Yamada
If of_match_node() fails, this init function bails out without calling of_node_put(). I also changed of_node_put(of_root) to of_node_put(np); both of them hold the same pointer, but it seems better to call of_node_put() against the node returned by of_find_node_by_path(). Signed-off-by: Masahiro

Re: [PATCH v3 0/9] reduce memory usage by page_owner

2016-06-26 Thread Joonsoo Kim
On Fri, Jun 24, 2016 at 04:19:35PM -0700, Andrew Morton wrote: > On Fri, 17 Jun 2016 16:57:30 +0900 js1...@gmail.com wrote: > > > There was a bug reported by Sasha and minor fixes is needed > > so I send v3. > > > > o fix a bg reported by Sasha (mm/compaction: split freepages > > without holding

Re: [PATCH] ilp32: fix {GET,SET}SIGMASK request for ptrace

2016-06-26 Thread Yury Norov
Hi Zhou, Thank you for the patch. The idea is ok, but patch format got broken for some reason. Could you re-send it? Yury. On Mon, Jun 27, 2016 at 12:49:05PM +0800, zhouchengming wrote: > atus: RO > Content-Length: 4732 > Lines: 181 > > The function compat_ptrace_request(used by ilp32) don't ha

Re: undefined reference to `printk'

2016-06-26 Thread Yoshinori Sato
On Sun, 12 Jun 2016 13:38:10 +0900, Josh Triplett wrote: > > [Adding LKML, linux-arch, and Linus.] > > On Sun, Jun 12, 2016 at 10:17:01AM +0800, kbuild test robot wrote: > > All errors (new ones prefixed by >>): > > > >arch/m32r/kernel/built-in.o: In function `default_eit_handler': > > >> (.

Re: [PATCH v3 2/2] phy: add a driver for the Rockchip SoC internal PCIe PHY

2016-06-26 Thread Kishon Vijay Abraham I
Hi, On Friday 24 June 2016 05:07 AM, Brian Norris wrote: > Hi, > > On Thu, Jun 23, 2016 at 10:30:17AM +0800, Shawn Lin wrote: >> 在 2016/6/20 14:36, Kishon Vijay Abraham I 写道: >>> On Monday 20 June 2016 06:28 AM, Shawn Lin wrote: On 2016/6/17 21:08, Kishon Vijay Abraham I wrote: > On Thur

kthread_stop insanity (Re: [[DEBUG] force] 2642458962: BUG: unable to handle kernel paging request at ffffc90000997f18)

2016-06-26 Thread Andy Lutomirski
My v4 series was doing pretty well until this explosion: On Sun, Jun 26, 2016 at 9:41 PM, kernel test robot wrote: > > > FYI, we noticed the following commit: > > https://git.kernel.org/pub/scm/linux/kernel/git/luto/linux.git x86/vmap_stack > commit 26424589626d7f82d09d4e7c0569f9487b2e810a ("[DEB

Re: [RFC v4 0/7] extcon: usb-gpio: fixes and improvements

2016-06-26 Thread Krzysztof Kozlowski
On 06/26/2016 06:39 PM, Tobias Jakobi wrote: > Hello Krzysztof, > > just wanted to ask on which kernel branch the patchset is based on. At > least for me the set doesn't apply cleanly to 4.7-rc4. Hi, It was based on next-20160608. Best regards, Krzysztof

Re: undefined reference to `printk'

2016-06-26 Thread Yoshinori Sato
I think fix it. default_eit_handler rewritten in C, it is best way. But it test difficult. Signed-off-by: Yoshinori Sato --- arch/m32r/kernel/entry.S | 6 ++ 1 file changed, 6 insertions(+) diff --git a/arch/m32r/kernel/entry.S b/arch/m32r/kernel/entry.S index c639bfa..a71105c 100644 --- a/

[PATCH net-next 6/6] r8152: add byte_enable for ocp_read_word function

2016-06-26 Thread Hayes Wang
Add byte_enable for ocp_read_word() to replace reading 4 bytes data with reading the desired 2 bytes data. This is used to avoid the issue which is described in commit:b4d99def. The origin method always reads 4 bytes data, and it may have problem when reading the PHY regiters. The new method is s

[PATCH net-next 1/6] r8152: add aldps_enable for rtl_ops

2016-06-26 Thread Hayes Wang
Add aldps_enable() for rtl_ops. Signed-off-by: Hayes Wang --- drivers/net/usb/r8152.c | 19 ++- 1 file changed, 10 insertions(+), 9 deletions(-) diff --git a/drivers/net/usb/r8152.c b/drivers/net/usb/r8152.c index 11178f9..b253003 100644 --- a/drivers/net/usb/r8152.c +++ b/drive

Re: [PATCH RFC 0/2] rtc-cmos: Workaround unwanted interrupt generation

2016-06-26 Thread Pratyush Anand
On 21/06/2016:10:25:34 AM, Pratyush Anand wrote: > We have observed on few machines with rtc-cmos device that > hpet_rtc_interrupt() is called before cmos_do_probe() could call > hpet_rtc_timer_init(). It has not been observed during normal boot/reboot > of machines. It *sometime* happens when syst

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

2016-06-26 Thread Eric Dumazet
On Mon, 2016-06-27 at 11:46 +1000, Stephen Rothwell wrote: > Hi all, > > Today's linux-next merge of the net-next tree got a conflict in: > > net/sched/sch_netem.c > > between commit: > > 21de12ee5568 ("netem: fix a use after free") > > from the net tree and commit: > > 520ac30f4551 ("n

Re: [PATCH 18/21] usb: chipidea: msm: Add reset controller for PHY POR bit

2016-06-26 Thread kbuild test robot
Hi, [auto build test ERROR on peter.chen-usb/ci-for-usb-next] [also build test ERROR on v4.7-rc5 next-20160624] [if your patch is applied to the wrong git tree, please drop us a note to help improve the system] url: https://github.com/0day-ci/linux/commits/Stephen-Boyd/Support-qcom-s-HSIC-US

[PATCH] ilp32: fix {GET,SET}SIGMASK request for ptrace

2016-06-26 Thread zhouchengming
The function compat_ptrace_request(used by ilp32) don't handle {GET,SET}SIGMASK request, so it will be handled by ptrace_request. But it's wrong because the compat_sigset_t of ilp32 differs from the sigset_t of aarch64. The patch fixes it. Signed-off-by: Zhou Chengming --- arch/arm64/include/as

[PATCH] [perf]: update makefile message for installing required libs

2016-06-26 Thread neerajbadlani
From: Neeraj Badlani In case of missing library (libslang), give hint to install library (libslang2-dev) Since libslang-dev is not provided by Ubuntu's apt-package --- tools/perf/config/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/perf/config/Makefile b/too

Re: [PATCH 12/19] arm64: ptrace: handle ptrace_request differently for aarch32 and ilp32

2016-06-26 Thread zhouchengming
The {GET,SET}SIGMASK request of ptrace on ilp32 is wrong, it's handled by ptrace_request(like aarch64). So I write a patch to fix it(just for ilp32). I will send the patch next. Thanks! On 2016/6/18 7:54, Yury Norov wrote: Here new aarch32 ptrace syscall handler is introsuced to avoid run-time

[[DEBUG] force] 2642458962: BUG: unable to handle kernel paging request at ffffc90000997f18

2016-06-26 Thread kernel test robot
FYI, we noticed the following commit: https://git.kernel.org/pub/scm/linux/kernel/git/luto/linux.git x86/vmap_stack commit 26424589626d7f82d09d4e7c0569f9487b2e810a ("[DEBUG] force-enable CONFIG_VMAP_STACK") on test machine: vm-intel12-yocto-x86_64: 2 threads qemu-system-x86_64 -enable-kvm -c

Re: [v3 PATCH 3/5] phy: Add USB Type-C PHY driver for rk3399

2016-06-26 Thread Chris Zhong
Hi Guenter On 06/27/2016 12:01 PM, Guenter Roeck wrote: On Sun, Jun 26, 2016 at 7:19 PM, Chris Zhong wrote: Hi Heiko On 06/25/2016 03:39 AM, Heiko Stuebner wrote: Am Donnerstag, 23. Juni 2016, 18:27:52 schrieb Kishon Vijay Abraham I: Hi, On Thursday 23 June 2016 06:21 PM, Chris Zhong wrot

Re: [PATCH] Decouple CFG and IO in Designware PCIe Driver

2016-06-26 Thread Pratyush Anand
On Wed, Jun 22, 2016 at 1:54 PM, dongbo (E) wrote: > From: Dong Bo > > In designware PCIe driver, the iatu0 is used for both CFG and IO accesses. > When PCIe sends CFGs to peripherals (e.g. lspci), > iatu0 frequently switches between CFG and IO alternatively. > > If the LIMIT of MEMORY is a value

[PATCH V5 1/2] cpufreq: Handle sorted frequency tables more efficiently

2016-06-26 Thread Viresh Kumar
cpufreq drivers aren't required to provide a sorted frequency table today, and even the ones which provide a sorted table aren't handled efficiently by cpufreq core. This patch adds infrastructure to verify if the freq-table provided by the drivers is sorted or not, and use efficient helpers if th

[PATCH V5 2/2] cpufreq: Reuse new freq-table helpers

2016-06-26 Thread Viresh Kumar
This patch migrates few users of cpufreq tables to the new helpers that work on sorted freq-tables. Signed-off-by: Viresh Kumar --- drivers/cpufreq/acpi-cpufreq.c | 14 -- drivers/cpufreq/amd_freq_sensitivity.c | 4 ++-- drivers/cpufreq/cpufreq_ondemand.c | 6 ++ dr

[PATCH V5 0/2] cpufreq: Sorted policy->freq_table

2016-06-26 Thread Viresh Kumar
Hi Rafael, This series is aimed to make traversing of cpufreq table more efficient for platforms that already sort the frequency tables. The cpufreq core now checks if the freq table is sorted and applies a different set of helpers on such tables while traversing them. All the patches are pushed

linux-next: manual merge of the kvm-ppc-paulus tree with the powerpc tree

2016-06-26 Thread Stephen Rothwell
Hi Paul, Today's linux-next merge of the kvm-ppc-paulus tree got a conflict in: arch/powerpc/kernel/traps.c between commit: 42f5b4cacd78 ("powerpc: Introduce asm-prototypes.h") from the powerpc tree and commit: fd7bacbca47a ("KVM: PPC: Book3S HV: Fix TB corruption in guest exit path on

Re: [patch V3 00/22] timer: Refactor the timer wheel

2016-06-26 Thread Paul E. McKenney
On Fri, Jun 24, 2016 at 02:32:00PM -, Thomas Gleixner wrote: > This is the third version of the timer wheel rework series. The previous > versions can be found here: > > V1: http://lkml.kernel.org/r/20160613070440.950649...@linutronix.de > V2: http://lkml.kernel.org/r/20160617121134.417319

[PATCH v2] Bluetooth: btmrvl: fix slab-out-of-bounds access in btmrvl_sdio

2016-06-26 Thread Ricky Liang
Kasan reported slab-out-of-bounds access in btmrvl_sdio: [ 33.055400] == [ 33.062585] BUG: KASAN: slab-out-of-bounds in memcpy+0x24/0x50 at addr ffc0d89b4a00 [ 33.070529] Read of size 256 by task btmrvl_main_ser/3576 [ 3

Re: Re: [PATCH] arm:swiotlb:keep disabled in default configuration

2016-06-26 Thread Manjeet Pawar
>> > >> > From: Rohit Thapliyal >> > >> > swiotlb implementation not required to be enabled in arm and >> > disabling it reduces uImage size by 16KB. >> > >> >> How so? There are no DMA operations on ARM? >Xen actively uses the swiotlb on ARM, see >arch/arm64/include/asm/dma-mapping.h:get_dma_o

[PATCH] Bluetooth: btmrvl: fix slab-out-of-bounds access in btmrvl_sdio

2016-06-26 Thread Ricky Liang
Kasan reported slab-out-of-bounds access in btmrvl_sdio: [ 33.055400] == [ 33.062585] BUG: KASAN: slab-out-of-bounds in memcpy+0x24/0x50 at addr ffc0d89b4a00 [ 33.070529] Read of size 256 by task btmrvl_main_ser/3576 [ 3

Re: [PATCH 02/21] usb: ulpi: Support device discovery via DT

2016-06-26 Thread kbuild test robot
Hi, [auto build test ERROR on peter.chen-usb/ci-for-usb-next] [also build test ERROR on v4.7-rc5 next-20160624] [if your patch is applied to the wrong git tree, please drop us a note to help improve the system] url: https://github.com/0day-ci/linux/commits/Stephen-Boyd/Support-qcom-s-HSIC-US

[x86] ddf4847e6f: BUG: unable to handle kernel paging request at ffffffff03862040

2016-06-26 Thread kernel test robot
FYI, we noticed the following commit: https://git.kernel.org/pub/scm/linux/kernel/git/luto/linux.git x86/vmap_stack commit ddf4847e6f114c522fefb24c16fc7a1d75138f9f ("x86: Move thread_info into task_struct") on test machine: vm-kbuild-yocto-x86_64: 1 threads qemu-system-x86_64 -enable-kvm -cp

Re: [v3 PATCH 3/5] phy: Add USB Type-C PHY driver for rk3399

2016-06-26 Thread Guenter Roeck
On Sun, Jun 26, 2016 at 7:19 PM, Chris Zhong wrote: > Hi Heiko > > > On 06/25/2016 03:39 AM, Heiko Stuebner wrote: >> >> Am Donnerstag, 23. Juni 2016, 18:27:52 schrieb Kishon Vijay Abraham I: >>> >>> Hi, >>> >>> On Thursday 23 June 2016 06:21 PM, Chris Zhong wrote: Add a PHY provider dri

Re: [PATCH 2/2] mm: workingset: printk missing log level, use pr_info()

2016-06-26 Thread Joe Perches
On Mon, 2016-06-27 at 09:01 +1000, Anton Blanchard wrote: > commit 612e44939c3c ("mm: workingset: eviction buckets for bigmem/lowbit > machines") added a printk without a log level. Quieten it by using > pr_info(). [] > diff --git a/mm/workingset.c b/mm/workingset.c [] > @@ -491,7 +491,7 @@ static

Re: [PATCH] m32r: fix build warning about putc

2016-06-26 Thread kbuild test robot
Hi, [auto build test WARNING on v4.7-rc5] [also build test WARNING on next-20160624] [if your patch is applied to the wrong git tree, please drop us a note to help improve the system] url: https://github.com/0day-ci/linux/commits/Sudip-Mukherjee/m32r-fix-build-warning-about-putc/20160627-094

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

2016-06-26 Thread Stephen Rothwell
Hi Rob, Today's linux-next merge of the devicetree tree got a conflict in: arch/arm/mach-bcm/board_bcm21664.c between commit: 406c8f6c9954 ("ARM: bcm21664: Remove reset code") from the arm-soc tree and commit: 850bea2335e4 ("arm: Remove unnecessary of_platform_populate with default mat

Re: [PATCH 18/21] usb: chipidea: msm: Add reset controller for PHY POR bit

2016-06-26 Thread kbuild test robot
Hi, [auto build test ERROR on peter.chen-usb/ci-for-usb-next] [also build test ERROR on v4.7-rc5 next-20160624] [if your patch is applied to the wrong git tree, please drop us a note to help improve the system] url: https://github.com/0day-ci/linux/commits/Stephen-Boyd/Support-qcom-s-HSIC-US

Re: [PATCH v2 2/2] namespaces: add transparent user namespaces

2016-06-26 Thread Michael Kerrisk
Hi Jann, Patches such as this really should CC linux-api@ (added). On Sat, Jun 25, 2016 at 2:23 AM, Jann Horn wrote: > This allows the admin of a user namespace to mark the namespace as > transparent. All other namespaces, by default, are opaque. > > While the current behavior of user namespaces

linux-next: manual merge of the jc_docs tree with the drm tree

2016-06-26 Thread Stephen Rothwell
Hi Jonathan, Today's linux-next merge of the jc_docs tree got a conflict in: Documentation/index.rst between commit: cb597fcea5c2 ("Documentation/gpu: add new gpu.rst converted from DocBook gpu.tmpl") from the drm tree and commit: 17defc282fe6 ("Documentation: add meta-documentation fo

Re: [RESEND PATCH v11] mtd: spi-nor: add hisilicon spi-nor flash controller driver

2016-06-26 Thread Jiancheng Xue
Hi Brian, I haven't received more other comments for two weeks since I resent this patch except a compiling error. Could you help me merge this patch into the -next tree after I fix the compiling error? If so, I'll send out the new version as soon as possible. Thank you very much! Regards, Jia

[PATCH v14 01/10] arm64: Add HAVE_REGS_AND_STACK_ACCESS_API feature

2016-06-26 Thread David Long
From: "David A. Long" Add HAVE_REGS_AND_STACK_ACCESS_API feature for arm64, including supporting functions and defines. Signed-off-by: David A. Long --- arch/arm64/Kconfig | 1 + arch/arm64/include/asm/ptrace.h | 52 ++ arch/arm64/kernel/ptrace.c | 118

[PATCH v14 06/10] arm64: Treat all entry code as non-kprobe-able

2016-06-26 Thread David Long
From: Pratyush Anand Entry symbols are not kprobe safe. So blacklist them for kprobing. Signed-off-by: Pratyush Anand Signed-off-by: David A. Long Acked-by: Masami Hiramatsu --- arch/arm64/kernel/entry.S | 3 +++ arch/arm64/kernel/kprobes/kprobes.c | 26 ++

[PATCH v14 05/10] arm64: Blacklist non-kprobe-able symbol

2016-06-26 Thread David Long
From: Pratyush Anand Add all function symbols which are called from do_debug_exception under NOKPROBE_SYMBOL, as they can not kprobed. Signed-off-by: Pratyush Anand --- arch/arm64/kernel/arm64ksyms.c | 2 ++ arch/arm64/kernel/debug-monitors.c | 17 + arch/arm64/kernel/hw_b

[PATCH v14 02/10] arm64: Add more test functions to insn.c

2016-06-26 Thread David Long
From: "David A. Long" Certain instructions are hard to execute correctly out-of-line (as in kprobes). Test functions are added to insn.[hc] to identify these. The instructions include any that use PC-relative addressing, change the PC, or change interrupt masking. For efficiency and simplicity

[PATCH v14 04/10] arm64: Kprobes with single stepping support

2016-06-26 Thread David Long
From: Sandeepa Prabhu Add support for basic kernel probes(kprobes) and jump probes (jprobes) for ARM64. Kprobes utilizes software breakpoint and single step debug exceptions supported on ARM v8. A software breakpoint is placed at the probe address to trap the kernel execution into the kprobe ha

[PATCH v14 09/10] arm64: Add kernel return probes support (kretprobes)

2016-06-26 Thread David Long
From: Sandeepa Prabhu The pre-handler of this special 'trampoline' kprobe executes the return probe handler functions and restores original return address in ELR_EL1. This way the saved pt_regs still hold the original register context to be carried back to the probed kernel function. Signed-off-

[PATCH v14 10/10] kprobes: Add arm64 case in kprobe example module

2016-06-26 Thread David Long
From: Sandeepa Prabhu Add info prints in sample kprobe handlers for ARM64 Signed-off-by: Sandeepa Prabhu Signed-off-by: David A. Long --- samples/kprobes/kprobe_example.c | 9 + 1 file changed, 9 insertions(+) diff --git a/samples/kprobes/kprobe_example.c b/samples/kprobes/kprobe_exa

[PATCH v14 08/10] arm64: Add trampoline code for kretprobes

2016-06-26 Thread David Long
From: William Cohen The trampoline code is used by kretprobes to capture a return from a probed function. This is done by saving the registers, calling the handler, and restoring the registers. The code then returns to the original saved caller return address. It is necessary to do this directly

[PATCH v14 03/10] arm64: add conditional instruction simulation support

2016-06-26 Thread David Long
From: "David A. Long" Cease using the arm32 arm_check_condition() function and replace it with a local version for use in deprecated instruction support on arm64. Also make the function table used by this available for future use by kprobes and/or uprobes. This function is derived from code writ

[PATCH v14 07/10] arm64: kprobes instruction simulation support

2016-06-26 Thread David Long
From: Sandeepa Prabhu Kprobes needs simulation of instructions that cannot be stepped from a different memory location, e.g.: those instructions that uses PC-relative addressing. In simulation, the behaviour of the instruction is implemented using a copy of pt_regs. The following instruction cat

[PATCH v14 00/10] arm64: Add kernel probes (kprobes) support

2016-06-26 Thread David Long
From: "David A. Long" This patchset is heavily based on Sandeepa Prabhu's ARM v8 kprobes patches, first seen in October 2013. This version attempts to address concerns raised by reviewers and also fixes problems discovered during testing. This patchset adds support for kernel probes(kprobes), ju

Re: [PATCH v13 10/10] kprobes: Add arm64 case in kprobe example module

2016-06-26 Thread David Long
On 06/08/2016 01:49 AM, Huang Shijie wrote: On Thu, Jun 02, 2016 at 11:26:24PM -0400, David Long wrote: From: Sandeepa Prabhu Add info prints in sample kprobe handlers for ARM64 Signed-off-by: Sandeepa Prabhu --- samples/kprobes/kprobe_example.c | 8 1 file changed, 8 insertions(

Re: [PATCH 4/5] PM / devfreq: make event/exynos-nocp DEVFREQ_EVENT_EXYNOS_NOCP tristate

2016-06-26 Thread Chanwoo Choi
Hi Paul, On 2016년 06월 26일 03:43, Paul Gortmaker wrote: > The Kconfig currently controlling compilation of this code is: > > event/Kconfig:config DEVFREQ_EVENT_EXYNOS_NOCP > event/Kconfig: bool "EXYNOS NoC (Network On Chip) Probe DEVFREQ event Driver" > > ...meaning that it currently is not bein

Re: [PATCH v4 28/29] sched: Free the stack early if CONFIG_THREAD_INFO_IN_TASK

2016-06-26 Thread Andy Lutomirski
On Sun, Jun 26, 2016 at 2:55 PM, Andy Lutomirski wrote: > We currently keep every task's stack around until the task_struct > itself is freed. This means that we keep the stack allocation alive > for longer than necessary and that, under load, we free stacks in > big batches whenever RCU drops th

Re: [PATCH 5/5] PM / devfreq: make event/exynos-ppmu DEVFREQ_EVENT_EXYNOS_PPMU tristate

2016-06-26 Thread Chanwoo Choi
Hi Paul, On 2016년 06월 26일 03:43, Paul Gortmaker wrote: > The Kconfig currently controlling compilation of this code is: > > config DEVFREQ_EVENT_EXYNOS_PPMU > bool "EXYNOS PPMU (Platform Performance Monitoring Unit) DEVFREQ event > Driver" > > ...meaning that it currently is not being built a

Re: [PATCH 2/5] PM / devfreq: make devfreq-event explicitly non-modular

2016-06-26 Thread Chanwoo Choi
Hi Paul, On 2016년 06월 26일 03:43, Paul Gortmaker wrote: > The Kconfig currently controlling compilation of this code is: > > menuconfig PM_DEVFREQ_EVENT > bool "DEVFREQ-Event device Support" > > ...meaning that it currently is not being built as a module by anyone. > > Lets remove the modu

Re: [PATCH 3/5] PM / devfreq: make exynos-bus ARM_EXYNOS_BUS_DEVFREQ tristate

2016-06-26 Thread Chanwoo Choi
Hi Paul, On 2016년 06월 26일 03:43, Paul Gortmaker wrote: > The Kconfig currently controlling compilation of this code is: > > devfreq/Kconfig:config ARM_EXYNOS_BUS_DEVFREQ > devfreq/Kconfig:bool "ARM EXYNOS Generic Memory Bus DEVFREQ Driver" > > ...meaning that it currently is not being bu

Re: [PATCH 1/5] PM / devfreq: make devfreq explicitly non-modular

2016-06-26 Thread Chanwoo Choi
Hi Paul, On 2016년 06월 26일 03:43, Paul Gortmaker wrote: > The Kconfig currently controlling compilation of this code is: > > menuconfig PM_DEVFREQ > bool "Generic Dynamic Voltage and Frequency Scaling (DVFS) support" > > ...meaning that it currently is not being built as a module by anyone.

Re: [RFC PATCH v2 05/26] tools include: Sync math64.h and div64.h

2016-06-26 Thread Hekuang
hi 在 2016/6/27 5:08, Nilay Vaish 写道: On 26 June 2016 at 06:20, He Kuang wrote: From: Wang Nan This patch copies "include/linux/math64.h" into "tools/include/linux/math64.h" and copies "include/asm-generic/div64.h" into "tools/include/asm-generic/div64.h", to enable other libraries use arithm

Re: [v3 PATCH 3/5] phy: Add USB Type-C PHY driver for rk3399

2016-06-26 Thread Chris Zhong
Hi Heiko On 06/25/2016 03:39 AM, Heiko Stuebner wrote: Am Donnerstag, 23. Juni 2016, 18:27:52 schrieb Kishon Vijay Abraham I: Hi, On Thursday 23 June 2016 06:21 PM, Chris Zhong wrote: Add a PHY provider driver for the rk3399 SoC Type-c PHY. The USB Type-C PHY is designed to support the USB3 a

Re: [PATCH 1/1] iommu/amd: initialize devid variable before using it

2016-06-26 Thread Wan ZongShun
2016-06-26 16:33 GMT+08:00 Nicolas Iooss : > Commit 2a0cb4e2d423 ("iommu/amd: Add new map for storing IVHD dev entry > type HID") added a call to DUMP_printk in init_iommu_from_acpi() which > used the value of devid before this variable was initialized. > > Signed-off-by: Nicolas Iooss > --- > dr

Re: [PATCH v8 2/3] CMDQ: Mediatek CMDQ driver

2016-06-26 Thread CK Hu
On Fri, 2016-06-24 at 19:39 +0800, Horng-Shyang Liao wrote: > On Tue, 2016-06-21 at 15:46 +0800, Horng-Shyang Liao wrote: > > On Tue, 2016-06-21 at 10:03 +0800, CK Hu wrote: > > > On Mon, 2016-06-20 at 19:22 +0800, Horng-Shyang Liao wrote: > > > > On Mon, 2016-06-20 at 18:41 +0800, CK Hu wrote: > >

Re: [RFC PATCH v2 00/26] perf tools: Support uBPF script

2016-06-26 Thread Hekuang
hi 在 2016/6/27 4:48, Alexei Starovoitov 写道: On Sun, Jun 26, 2016 at 11:20:52AM +, He Kuang wrote: This patchset is based on Wang Nan's v1: http://thread.gmane.org/gmane.linux.kernel/2203717/focus=2203707 """ This patch set allows to perf invoke some user space BPF scripts on so

Re: [PATCH 17/23] arm64: ptrace: handle ptrace_request differently for aarch32 and ilp32

2016-06-26 Thread zhouchengming
On 2016/6/25 22:15, Bamvor Zhang wrote: Hi, Chengming On Sat, Jun 25, 2016 at 5:36 PM, zhouchengming wrote: On 2016/6/9 1:00, Yury Norov wrote: On Wed, Jun 08, 2016 at 09:34:09AM +0800, zhouchengming wrote: On 2016/5/24 8:04, Yury Norov wrote: Here new aarch32 ptrace syscall handler is

[PATCH] virtio: Return correct errno for function init_vq's failure

2016-06-26 Thread Minfei Huang
The error number -ENOENT or 0 will be returned, if we can not allocate more memory in function init_vq. If host can support multiple virtual queues, and we fails to allocate necessary memory structures for vq, kernel may crash due to incorrect returning. To fix it, kernel will return correct value

Re: [PATCH V4 1/2] cpufreq: Handle sorted frequency tables more efficiently

2016-06-26 Thread Viresh Kumar
On Mon, Jun 27, 2016 at 5:58 AM, Rafael J. Wysocki wrote: > On Sun, Jun 26, 2016 at 12:38 PM, Viresh Kumar > wrote: > So IMO all of the callers should be made clamp the target frequency > between min and max and those checks should be dropped from the > low-level helpers. Okay, so doing this f

Re: [PATCH] rtlwifi: Add missing newlines to RT_TRACE calls

2016-06-26 Thread Larry Finger
On 06/26/2016 08:26 PM, Joe Perches wrote: On Sun, 2016-06-26 at 18:13 -0700, Joe Perches wrote: On Sun, 2016-06-26 at 19:18 -0500, Larry Finger wrote: On 06/26/2016 02:34 PM, Joe Perches wrote: RT_TRACE does not add a newline to the end of a message and always emits at KERN_DEBUG so these

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

2016-06-26 Thread Stephen Rothwell
Hi all, Today's linux-next merge of the net-next tree got a conflict in: net/sched/sch_netem.c between commit: 21de12ee5568 ("netem: fix a use after free") from the net tree and commit: 520ac30f4551 ("net_sched: drop packets after root qdisc lock is released") from the net-next tree.

  1   2   3   4   5   >