Re: [RESEND PATCH v3 1/2] device property: Add function to search for named child of device

2016-06-21 Thread Mika Westerberg
On Mon, Jun 20, 2016 at 12:38:58PM +0100, Adam Thomson wrote: > For device nodes in both DT and ACPI, it possible to have named > child nodes which contain properties (an existing example being > gpio-leds). This adds a function to find a named child node for > a device which can be used by drivers

Re: [PATCH v2] HID: i2c-hid: set power sleep before shutdown

2016-06-21 Thread Jiri Kosina
On Tue, 21 Jun 2016, Guohua Zhong wrote: > Add i2c_hid_shutdown for i2c-hid driver to send suspend cmd & free > irq before device shutdown. > > Some HW design (i.e. Umaro, a chromebook model) is that the power to > i2c hid device won't down after device shutdown. Also the i2c-hid driver > do not

[PATCH] tracing: Fix oops caused by graph notrace filter

2016-06-21 Thread Chunyu Hu
wakeup tracer can use function_graph trace when display_graph trace option is setup by user via tracefs, and bypass the set_graph_function and set_graph_notrace. But the bypass of set_graph_notrace is not clean. Although wakeup_graph_entry does most of the bypass, and both the enry and exit event w

Re: [PATCH 05/27] [AARCH64] Use PTR_REG in crti.S.

2016-06-21 Thread Joseph Myers
On Tue, 21 Jun 2016, Yury Norov wrote: > +#ifdef __LP64__ > +#define RTLD_START RTLD_START_1("x", "3", "sp") > +#else > +#define RTLD_START RTLD_START_1("w", "2", "wsp") > +#endif As well as preprocessor indentation, this is missing spaces after '('; check for and fix that issue throughout this

Re: [PATCH 26/27] [AARCH64] Change type of __align to long long

2016-06-21 Thread Zhangjian (Bamvor)
Hi, Yury On 2016/6/21 13:07, Yury Norov wrote: From: Andrew Pinski So that ILP32 is aligned to 64bits. Signed-off-by: Yury Norov --- sysdeps/aarch64/nptl/bits/semaphore.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sysdeps/aarch64/nptl/bits/semaphore.h b/sysdeps/a

Re: [PATCH v11 08/14] usb: otg: add OTG/dual-role core

2016-06-21 Thread Felipe Balbi
Hi, Tony Lindgren writes: > * Felipe Balbi [160621 03:06]: >> 8<-- >> vbus = read(VBUS_STATE); /* could be a gpio_get_value() */ >> id = read(ID_STATE); /* could be a gpio_get_value() */ >> >> set_role(id)

Re: Using DT overlays for adding virtual hardware

2016-06-21 Thread Pantelis Antoniou
Hi Jan, > On Jun 21, 2016, at 13:13 , Jan Kiszka wrote: > > Hi Pantelis, > > coming back to this topic: > > On 2016-06-09 08:03, Jan Kiszka wrote: >> OK, trial and error, and some interesting insights: I've played with DT >> fragments and the overlay configfs patch of Pantelis [1] to have a >>

pull-request: wireless-drivers-next 2016-06-21

2016-06-21 Thread Kalle Valo
Hi Dave, I hope it's ok to send two pull requests the same day, both for net and net-next? This is targeted to 4.8 so it is for net-next. Even though is this the first pull request for 4.8 we actually remove more code than add, thanks to Guenter Roeck's on removing unused "phy_a" support from b43

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

2016-06-21 Thread Raveendra Padasalagi
Hi Jonathan, Thanks for the review comments. I will address these in the next patch. Please find my reply inline. Regards, Raveendra On Mon, Jun 20, 2016 at 1:05 AM, Jonathan Cameron wrote: > On 19/06/16 11:06, Raveendra Padasalagi wrote: >> This patch adds basic driver implementation for Broad

Re: [PATCH v10 06/22] IB/hns: Add initial cmd operation

2016-06-21 Thread Wei Hu (Xavier)
On 2016/6/20 21:33, Leon Romanovsky wrote: On Thu, Jun 16, 2016 at 10:35:14PM +0800, Lijun Ou wrote: This patch added the operation for cmd, and added some functions for initializing eq table and selecting cmd mode. Signed-off-by: Wei Hu Signed-off-by: Nenglong Zhao Signed-off-by: Lijun Ou

Re: [PATCH v11 08/14] usb: otg: add OTG/dual-role core

2016-06-21 Thread Tony Lindgren
* Felipe Balbi [160621 03:06]: > 8<-- > vbus = read(VBUS_STATE); /* could be a gpio_get_value() */ > id = read(ID_STATE); /* could be a gpio_get_value() */ > > set_role(id); > set_vbus(vbus); We sho

Re: [Query] mwifiex: few observations to reduce number of endian conversions

2016-06-21 Thread Prasun Maiti
Hi Amitkumar, On Tue, Jun 21, 2016 at 3:47 PM, Amitkumar Karwar wrote: > I agree with your observations. We'll prepare a cleanup patch to address this. > > Regards, > Amitkumar I have already made some changes. I will send you a patch for this. -- Thanks, Prasun

Re: [PATCH] include: net: cfg802154: rename ieee802154_llsec_device.hwaddr to extended_addr

2016-06-21 Thread kbuild test robot
Hi, [auto build test ERROR on net-next/master] [also build test ERROR on v4.7-rc4 next-20160621] [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/Thomas-Rowland/include-net-cfg802154-rename

Re: [PATCH 21/27] [AARCH64] ILP32: introduce syscalls that pass off_t

2016-06-21 Thread Joseph Myers
On Tue, 21 Jun 2016, Yury Norov wrote: > create mode 100644 sysdeps/unix/sysv/linux/aarch64/ilp32/fallocate.c > create mode 100644 sysdeps/unix/sysv/linux/aarch64/ilp32/fallocate64.c > create mode 100644 sysdeps/unix/sysv/linux/aarch64/ilp32/ftruncate.c > create mode 100644 sysdeps/unix/sysv/l

Re: [PATCH net-next 10/19] net: hns: bugfix about pfc pause frame statistics

2016-06-21 Thread Andy Shevchenko
On Tue, 2016-06-21 at 11:56 +0800, Yisen Zhuang wrote: > From: Daode Huang > > For SoC hip06, PFC pause handled in dsaf, while hip05 in XGMAC, > so change the statistics of pfc pause in dsaf and remove the old > pfc pause frame statistics. > > +static char *hns_dsaf_get_node_stats_strings(char

pull-request: wireless-drivers 2016-06-21

2016-06-21 Thread Kalle Valo
Hi Dave, here is a pull request for 4.7, really small fixes this time, some of them fix important regressions. Please let me know if there are any problems. Kalle The following changes since commit 182fd9eecb287e696c82b30d06c6150d80a49c5b: MAINTAINERS: Add file patterns for wireless device tr

Re: [LKP] [lkp] [x86 tsc] 19fa5e7364: WARNING: CPU: 0 PID: 0 at arch/x86/mm/extable.c:50 ex_handler_rdmsr_unsafe+0x72/0x80

2016-06-21 Thread Wanpeng Li
2016-06-21 18:10 GMT+08:00 Paolo Bonzini : > > > On 21/06/2016 08:08, Wanpeng Li wrote: >> Cc KVM ML, Paolo, Radim, FYI, raw QEMU command line is: qemu-system-x86_64 -enable-kvm -cpu SandyBridge -kernel /pkg/linux/x86_64-randconfig-w0-06180628/gcc-6/19fa5e73647fde1e6a70

Re: [PATCH v1 19/25] PCI: rcar Gen2: Request host bridge window resources

2016-06-21 Thread Geert Uytterhoeven
Hi Bjorn, On Tue, Jun 7, 2016 at 1:07 AM, Bjorn Helgaas wrote: > Request host bridge window resources so they appear in ioport_resource and > iomem_resource and are reflected in /proc/ioports and /proc/iomem. > > Signed-off-by: Bjorn Helgaas > --- > drivers/pci/host/pci-rcar-gen2.c |4

Re: [PATCH 1/3] ARM: dts: rockchip: add i2s nodes for RK3228 SoCs

2016-06-21 Thread kbuild test robot
Hi, [auto build test ERROR on rockchip/for-next] [also build test ERROR on v4.7-rc4 next-20160621] [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/Xing-Zheng/ARM-dts-rockchip-add-i2s-nodes-for

Re: [RFC PATCH v2 00/15] ACPI IORT ARM SMMU v3 support

2016-06-21 Thread Hanjun Guo
Hi Lorenzo, On 2016/6/7 21:30, Lorenzo Pieralisi wrote: This RFC patch series is v2 of a previous posting: https://lkml.org/lkml/2016/4/14/702 v1 -> v2: - Rebased on top of dependencies series [1][2][3](v4.7-rc1) - Removed IOMMU fwnode generalization - Implemented ARM S

Re: [PATCH] arm64: add boot image dependencies to not generate invalid images

2016-06-21 Thread Masahiro Yamada
2016-06-21 19:32 GMT+09:00 Catalin Marinas : > On Tue, Jun 21, 2016 at 10:44:00AM +0900, Masahiro Yamada wrote: >> I fixed boot image dependencies for arch/arm in commit 3939f3345050 >> ("ARM: 8418/1: add boot image dependencies to not generate invalid >> images"). >> >> I see a similar problem for

Re: [PATCH 08/19] arm64: introduce is_a32_task and is_a32_thread (for AArch32 compat)

2016-06-21 Thread Zhangjian (Bamvor)
Hi, On 2016/6/18 7:54, Yury Norov wrote: Based on patch of Andrew Pinski. This patch introduces is_a32_compat_task and is_a32_thread so it is easier to say this is a a32 specific thread or a generic compat thread/task. Corresponding functions are located in to avoid mess in headers. Some file

Re: [RESEND PATCH v3 1/2] device property: Add function to search for named child of device

2016-06-21 Thread Andy Shevchenko
On Tue, 2016-06-21 at 10:20 +, Opensource [Adam Thomson] wrote: > There still seems to be an issue with this patch set reaching the > linux-acpi mailing list (as well as the other vger.kernel.org lists). > Have > spent some time looking into it but so far can't see anything > obviously wrong >

Re: [PATCH] irqchip: fix the config HISILICON_IRQ_MBIGEN dependency error.

2016-06-21 Thread Marc Zyngier
On 21/06/16 10:26, Jiancheng Xue wrote: > This patch fixes the compiling error caused when > config HISILICON_IRQ_MBIGEN is selected but > PCI_MSI is not seleted. > > Signed-off-by: Jiancheng Xue > --- > drivers/irqchip/Kconfig | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --

Re: [PATCH 23/27] [AARCH64] delouse input arguments in system functions

2016-06-21 Thread Joseph Myers
On Tue, 21 Jun 2016, Yury Norov wrote: > Signed-off-by: Yury Norov You're missing a patch description. What does "delouse" even mean? What is the ABI peculiarity that means there are ABI-conforming arguments to these functions that need such a manipulation? -- Joseph S. Myers jos...@codeso

Re: [PATCH v12 1/4] gadget: Introduce the usb charger framework

2016-06-21 Thread Felipe Balbi
Hi, Baolin Wang writes: > This patch introduces the usb charger driver based on usb gadget that > makes an enhancement to a power driver. It works well in practice but > that requires a system with suitable hardware. > > The basic conception of the usb charger is that, when one usb charger > is

Re: [PATCH] ppc: Fix BPF JIT for ABIv2

2016-06-21 Thread Naveen N. Rao
On 2016/06/20 03:56PM, Thadeu Lima de Souza Cascardo wrote: > On Sun, Jun 19, 2016 at 11:19:14PM +0530, Naveen N. Rao wrote: > > On 2016/06/17 10:00AM, Thadeu Lima de Souza Cascardo wrote: > > > > > > Hi, Michael and Naveen. > > > > > > I noticed independently that there is a problem with BPF JIT

RE: [PATCH] sparc64: Swap registers for fault code and address in mna trap

2016-06-21 Thread 神田 尚
Hi, David Thank you for your reply. > If you can really trigger this code path, please post the kernel log > backtrace that happens when the BUG() triggers. That way we can > figure out what the real problem is. I'm sorry I cannot show the information. I don't have now. In fact, BUG() in do_spar

[PATCH] PM / clk: Add support for adding a specific clock from device-tree

2016-06-21 Thread Jon Hunter
Some drivers using the PM clocks framework need to add specific clocks from device-tree using a name by calling the functions of_clk_get_by_name() and then pm_clk_add_clk(). Rather than having drivers call both functions, add a helper function of_pm_clk_add_clk() that will call these functions so d

Re: [PATCH net-next 01/19] net: hns: bug fix of ge reset sequence

2016-06-21 Thread Andy Shevchenko
On Tue, 2016-06-21 at 11:56 +0800, Yisen Zhuang wrote: > From: Qianqian Xie > > The bit fileds of PPE reset register are different between HNS v1 and > HNS v2, but the current procedure just only match HNS v1. Here is a > patch to fix it. > > Signed-off-by: Kejian Yan > Signed-off-by: Qianqian

Re: [PATCH] memcg: mem_cgroup_migrate() may be called with irq disabled

2016-06-21 Thread Vladimir Davydov
On Mon, Jun 20, 2016 at 02:41:58PM -0400, Tejun Heo wrote: > mem_cgroup_migrate() uses local_irq_disable/enable() but can be called > with irq disabled from migrate_page_copy(). This ends up enabling irq > while holding a irq context lock triggering the following lockdep > warning. Fix it by usin

Re: [PATCH v12 2/4] gadget: Support for the usb charger framework

2016-06-21 Thread Felipe Balbi
Hi, Baolin Wang writes: > For supporting the usb charger, it adds the usb_charger_init() and > usb_charger_exit() functions for usb charger initialization and exit. > > It will report to the usb charger when the gadget state is changed, > then the usb charger can do the power things. > > Signed-

Re: [PATCH 1/1] perf/x86/intel: Add extended event constraints for Knights Landing

2016-06-21 Thread Peter Zijlstra
On Mon, Jun 20, 2016 at 10:26:30AM +, Odzioba, Lukasz wrote: > On 08.06.2016 Peter Zijlstra wrote: > > How does this work in the light of intel_alt_er() ? > > Hi Peter, > > If the constrained bit is valid on only one of the OCR MSRs (like in case of > KNL), > then OCR valid mask will forbid

[PATCH v7 2/2] phy: rockchip-inno-usb2: add a new driver for Rockchip usb2phy

2016-06-21 Thread Frank Wang
The newer SoCs (rk3366, rk3399) take a different usb-phy IP block than rk3288 and before, and most of phy-related registers are also different from the past, so a new phy driver is required necessarily. Signed-off-by: Frank Wang Suggested-by: Heiko Stuebner Suggested-by: Guenter Roeck Suggested

Re: [PATCH 3/3] mm: memcontrol: fix cgroup creation failure after many small jobs

2016-06-21 Thread Vladimir Davydov
On Fri, Jun 17, 2016 at 12:25:16PM -0400, Johannes Weiner wrote: > The memory controller has quite a bit of state that usually outlives > the cgroup and pins its CSS until said state disappears. At the same > time it imposes a 16-bit limit on the CSS ID space to economically > store IDs in the wild

Re: [PATCH v12 4/4] power: wm831x_power: Support USB charger current limit management

2016-06-21 Thread Felipe Balbi
Hi, Baolin Wang writes: > @@ -607,8 +647,31 @@ static int wm831x_power_probe(struct platform_device > *pdev) > } > } > > + if (wm831x_pdata && wm831x_pdata->usb_gadget) { > + power->usb_charger = > + usb_charger_find_by_name(wm831x_pdata

[PATCH v7 1/2] Documentation: bindings: add DT documentation for Rockchip USB2PHY

2016-06-21 Thread Frank Wang
Signed-off-by: Frank Wang Acked-by: Rob Herring Reviewed-by: Heiko Stuebner --- Changes in v7: None Changes in v6: - Changed '_' to '-' for otg-id and otg-bvalid property. Changes in v5: - Added 'reg' property to identify the different phy-blocks. Changes in v4: - Used 'phy-supply' instea

[PATCH v7 0/2] Add a new Rockchip usb2 phy driver

2016-06-21 Thread Frank Wang
The newer SoCs (rk3366, rk3399) of Rock-chip take a different usb-phy IP block than rk3288 and before, and most of phy-related registers are also different from the past, so a new phy driver is required necessarily. These series patches add phy-rockchip-inno-usb2.c and the corresponding documentat

[PATCH v2] HID: i2c-hid: set power sleep before shutdown

2016-06-21 Thread Guohua Zhong
Add i2c_hid_shutdown for i2c-hid driver to send suspend cmd & free irq before device shutdown. Some HW design (i.e. Umaro, a chromebook model) is that the power to i2c hid device won't down after device shutdown. Also the i2c-hid driver do not send suspend cmd to the hid i2c device and free its ir

Re: [PATCH v3 05/13] mm: Fix memcg stack accounting for sub-page stacks

2016-06-21 Thread Vladimir Davydov
On Mon, Jun 20, 2016 at 04:43:35PM -0700, Andy Lutomirski wrote: > We should account for stacks regardless of stack size, and we need > to account in sub-page units if THREAD_SIZE < PAGE_SIZE. Change the > units to kilobytes and Move it into account_kernel_stack(). > > Fixes: 12580e4b54ba8 ("mm:

Re: [lkp] [btrfs] 164a91c9be: xfstests.generic.088.fail

2016-06-21 Thread Anand Jain
Thanks for the report. > _check_btrfs_filesystem: filesystem on /dev/sda5 is inconsistent (see /lkp/benchmarks/xfstests/results//check.full) > generic/088 0s Ran tests again unfortunately I couldn't reproduce.. - generic/088 0s ... 0s generic/089 21s ... 39s generic/090 4s ..

Re: [PATCH 02/27] [AARCH64] Add header guards to sysdep.h headers.

2016-06-21 Thread Szabolcs Nagy
On 21/06/16 06:06, Yury Norov wrote: > From: Andrew Pinski > > * sysdeps/aarch64/sysdep.h: Add header guards. > the things listed below are not part of the patch (upstream glibc already has these fixes) > [AARCH64] Remove 64 from some relocation names as they have been renamed in > later vers

[PATCH] include: net: cfg802154: rename ieee802154_llsec_device.hwaddr to extended_addr

2016-06-21 Thread Thomas Rowland
Renamed the ieee802154_llsec_device member 'hwaddr' to 'extended_addr' Signed-off-by: Thomas Rowland --- include/net/cfg802154.h | 2 +- net/ieee802154/nl802154.c | 15 +-- net/mac802154/llsec.c | 4 ++-- 3 files changed, 8 insertions(+), 13 deletions(-) diff --git a/include

Re: [RFC PATCH 00/27] ARM64: support ILP32

2016-06-21 Thread Joseph Myers
On Tue, 21 Jun 2016, Yury Norov wrote: > Please review it. Any comments appreciated. General comments: Please make sure you go through all the review comments from the previous patch series posted in Oct 2014 and either address them, or explicitly justify why you think they are incorrect or no

Re: [PATCH v6 2/2] phy: rockchip-inno-usb2: add a new driver for Rockchip usb2phy

2016-06-21 Thread Heiko Stübner
Hi Frank, Am Dienstag, 21. Juni 2016, 15:52:45 schrieb Frank Wang: > On 2016/6/20 12:56, Guenter Roeck wrote: > > On Sun, Jun 19, 2016 at 8:32 PM, Frank Wang wrote: > >>> Turns out my problem was one of terminology. Using "suspend" and > >>> "resume" to me suggested the common use of suspend and

Re: [PATCH] regulator: lp873x: Drop _nlr parameter from LP873X_REGULATOR()

2016-06-21 Thread Keerthy
On Tuesday 21 June 2016 12:29 PM, Axel Lin wrote: No need to pass _nlr to LP873X_REGULATOR(), use ARRAY_SIZE to calculate it. Looks good to me. Acked-by: Keerthy Signed-off-by: Axel Lin --- drivers/regulator/lp873x-regulator.c | 14 ++ 1 file changed, 6 insertions(+), 8 d

[[PATCH v2] 09/11] irqchip/s3c24xx: fixup IO accessors for big endian

2016-06-21 Thread Ben Dooks
Instead of using the __raw accesors, use the _relaxed versions to deal with any issues due to endian-ness of the CPU. Signed-off-by: Ben Dooks --- CC: Thomas Gleixner (maintainer:IRQCHIP DRIVERS) CC: Jason Cooper (maintainer:IRQCHIP DRIVERS) CC: Marc Zyngier (maintainer:IRQCHIP DRIVERS) CC: l

Re: [PATCH v3 03/13] x86/mm: Remove kernel_unmap_pages_in_pgd() and efi_cleanup_page_tables()

2016-06-21 Thread Matt Fleming
On Mon, 20 Jun, at 04:43:33PM, Andy Lutomirski wrote: > kernel_unmap_pages_in_pgd() is dangerous: if a pgd entry in > init_mm.pgd were to be cleared, callers would need to ensure that > the pgd entry hadn't been propagated to any other pgd. > > Its only caller was efi_cleanup_page_tables(), and th

RE: [RESEND PATCH v3 1/2] device property: Add function to search for named child of device

2016-06-21 Thread Opensource [Adam Thomson]
On 20 June 2016 12:39, Adam Thomson wrote: > For device nodes in both DT and ACPI, it possible to have named > child nodes which contain properties (an existing example being > gpio-leds). This adds a function to find a named child node for > a device which can be used by drivers for property retr

Re: Using DT overlays for adding virtual hardware

2016-06-21 Thread Jan Kiszka
Hi Pantelis, coming back to this topic: On 2016-06-09 08:03, Jan Kiszka wrote: > OK, trial and error, and some interesting insights: I've played with DT > fragments and the overlay configfs patch of Pantelis [1] to have a > convenient start. Interestingly, I wasn't able to load a fragment that >

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

2016-06-21 Thread Peter Rosin
On 2016-06-21 08:55, 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 Vaussard > --- > .../bindings/iio/potentiometer/mcp4531.txt

Re: Using irq-crossbar.c

2016-06-21 Thread Marc Zyngier
[been away for a while, catching up...] On 16/06/16 13:39, Sebastian Frias wrote: > Hi Marc, > > On 06/14/2016 06:39 PM, Sebastian Frias wrote: >> On 06/14/2016 06:37 PM, Sebastian Frias wrote: >> Also, without seeing the code, >> it is pretty difficult to make any meaningful comment... >

[PATCH] Staging: comedi: pcmuio: fix bare use of 'unsigned'

2016-06-21 Thread Ravishankar Karkala Mallikarjunayya
This fixes up a WARNING: Prefer 'unsigned int' to bare use of 'unsigned' found by the checkpatch.pl tool Signed-off-by: Ravishankar Karkala Mallikarjunayya --- drivers/staging/comedi/drivers/pcmuio.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/staging/comedi/drive

RE: [Query] mwifiex: few observations to reduce number of endian conversions

2016-06-21 Thread Amitkumar Karwar
Hi Prasun, > From: Prasun Maiti [mailto:prasunmait...@gmail.com] > Sent: Friday, June 17, 2016 6:42 PM > To: Amitkumar Karwar; Nishant Sarmukadam > Cc: Linux Kernel; Linux Next; WiFi Mailing List; Johannes Berg > Subject: [Query] mwifiex: few observations to reduce number of endian > conversions >

[PATCH] ARM: AM33xx: PRM: Remove wrongly defined RSTST offset for PER Domain

2016-06-21 Thread Keerthy
As per the TRM: http://www.ti.com/lit/ug/spruh73m/spruh73m.pdf offset 0x4 is reserved for PRM_PER. Hence removing the wrongly defined address offset. Signed-off-by: Keerthy --- arch/arm/mach-omap2/prm33xx.h | 2 -- 1 file changed, 2 deletions(-) diff --git a/arch/arm/mach-omap2/prm33xx.h b/arch

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

2016-06-21 Thread Paolo Bonzini
On 21/06/2016 05:11, Brendan Gregg wrote: >>> > > - Add stackcollapse.py script to help generating flame graphs (Paolo >>> > > Bonzini) >> > >> > I think this is already done by '-g folded'. Please see: >> > >> > http://www.brendangregg.com/blog/2016-04-30/linux-perf-folded.html >> > > Pretty

[PATCH] MAINTAINERS: update STi maintainer list

2016-06-21 Thread Maxime Coquelin
Remove myself as STi maintainer as I will no longer have access to STi platforms, and remove Srini too, who now works on other platforms. Patrice will manage the pull requests. Signed-off-by: Maxime Coquelin Cc: Patrice Chotard Cc: Srinivas Kandagatla Cc: Arnd Bergmann --- MAINTAINERS | 2 --

Re: [PATCH 01/27] [AARCH64] Fix utmp struct for compatibility reasons.

2016-06-21 Thread Szabolcs Nagy
On 21/06/16 06:06, Yury Norov wrote: > From: Andrew Pinski > > NOTE This is an ABI change for AARCH64. > If you have some AARCH32 and AARCH64 applications and they both use > utmp, one of them will fail due to the use of time_t inside the > utmp binary format. > > This fixes the problem by setti

Re: [LKP] [lkp] [x86 tsc] 19fa5e7364: WARNING: CPU: 0 PID: 0 at arch/x86/mm/extable.c:50 ex_handler_rdmsr_unsafe+0x72/0x80

2016-06-21 Thread Paolo Bonzini
On 21/06/2016 08:08, Wanpeng Li wrote: > Cc KVM ML, Paolo, Radim, >>> FYI, raw QEMU command line is: >>> >>> qemu-system-x86_64 -enable-kvm -cpu SandyBridge -kernel >>> /pkg/linux/x86_64-randconfig-w0-06180628/gcc-6/19fa5e73647fde1e6a7038a8f05cddf4c43f08d3/vmlinuz-4.7.0-rc3-9-g19fa5e

Re: cross compilers [was build failure of sorts]

2016-06-21 Thread Vineet Gupta
On Tuesday 21 June 2016 03:15 PM, Peter Zijlstra wrote: > On Tue, Jun 21, 2016 at 09:28:56AM +, Vineet Gupta wrote: >> On Tuesday 21 June 2016 01:13 PM, Peter Zijlstra wrote: >>> On Tue, Jun 21, 2016 at 05:29:28AM +, Vineet Gupta wrote: > On Saturday 18 June 2016 03:47 PM, Peter Zijlstr

Re: [PATCH v2] tty: serial: msm: Don't reconfigure same baud rate

2016-06-21 Thread Nicolas Dechesne
On Fri, Jun 17, 2016 at 1:02 PM, Nicolas Dechesne wrote: > wrote: >> msm_set_termios() is called whenever the tty is opened. Setting the baud >> rate requires a full reset of the msm serial block, even when the rate >> is unchanged. In the case when the same uart is used as console this >> reset

Re: [PATCH v2 00/15] clk: sunxi: introduce "modern" clock support

2016-06-21 Thread Jean-Francois Moine
On Tue, 7 Jun 2016 22:41:39 +0200 Maxime Ripard wrote: > The current code has been tested on the H3 and an Orange Pi PC, > including making sure that MMC still works, so the general approach > seems ok. > > Let me know what you think, Hi Maxime, I used your code in both the H3 and A83T, and i

[RFC PATCH v2 2/9] dt-bindings: mailbox: Add Amlogic Meson MHU Bindings

2016-06-21 Thread Neil Armstrong
Signed-off-by: Neil Armstrong --- .../devicetree/bindings/mailbox/meson-mhu.txt | 33 ++ 1 file changed, 33 insertions(+) create mode 100644 Documentation/devicetree/bindings/mailbox/meson-mhu.txt diff --git a/Documentation/devicetree/bindings/mailbox/meson-mhu.txt b/D

Re: [RFC 0/8] usb: phy: msm: various cleanups

2016-06-21 Thread Felipe Balbi
Hi, Arnd Bergmann writes: > I stumbled over this warning last week, which showed up after I had > removed an incorrect patch from my randconfig build setup: > > drivers/usb/phy/phy-msm-usb.c: In function 'msm_otg_probe': > drivers/usb/phy/phy-msm-usb.c:1735:14: error: 'regs[0].consumer' may be u

Re: [PATCH] ARM: AM43XX: hwmod: Fix RSTST register offset for pruss

2016-06-21 Thread Keerthy
On Tuesday 21 June 2016 01:22 PM, Mohammed, Afzal wrote: Hi Suman, Anna, Suman wrote on Monday, June 20, 2016 9:49 PM: It does happen when the pruss module is exercised. We found this when we tried to do a standby test on suspend, and while it worked on AM33xx, AM437x failed because of this

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

2016-06-21 Thread Raveendra Padasalagi
Hi Rob, Please find my reply inline. Regards, Raveendra On Mon, Jun 20, 2016 at 11:34 PM, Rob Herring wrote: > On Sun, Jun 19, 2016 at 03:36:28PM +0530, Raveendra Padasalagi wrote: >> The patch adds devicetree binding document for broadcom's >> iproc-static-adc controller driver. >> >> Signed-o

[RFC PATCH v2 1/9] mailbox: Add Amlogic Meson Message-Handling-Unit

2016-06-21 Thread Neil Armstrong
Add Amlogic Meson SoCs Message-Handling-Unit as mailbox controller with 2 independent channels/links to communicate with a remote processor. Signed-off-by: Neil Armstrong --- drivers/mailbox/Makefile| 2 + drivers/mailbox/meson_mhu.c | 199 2 fi

Re: [PATCH v4 5/5] ARM: dts: mt2701: add iommu/smi dtsi node for mt2701

2016-06-21 Thread Joerg Roedel
On Wed, Jun 08, 2016 at 05:51:01PM +0800, honghui.zh...@mediatek.com wrote: > From: Honghui Zhang > > Add the dtsi node of iommu and smi for mt2701. > > Signed-off-by: Honghui Zhang > --- > arch/arm/boot/dts/mt2701.dtsi | 51 > +++ > 1 file changed, 51

Re: 答复: 答复: 答复: [PATCH 1/1] sound: Fix compile error of seq_device.c

2016-06-21 Thread Takashi Iwai
On Tue, 21 Jun 2016 11:57:28 +0200, 高峰 wrote: > > Oh, I get it. > > I met the compile error when compile the kernel 3.10 on CentOS7 and fix it, > then I find the seq_device of upstream is same. > So I thought it should be fixed. > > OK. Let me compile the upstream codes on CentOS7 again. Well,

[RFC PATCH v2 5/9] firmware: scpi: Switch arm_scpi to use new registry

2016-06-21 Thread Neil Armstrong
Change the arm_scpi.c to use the registry layer instead of returning it's context ->ops pointer. Signed-off-by: Neil Armstrong --- drivers/firmware/arm_scpi.c | 14 +- 1 file changed, 5 insertions(+), 9 deletions(-) diff --git a/drivers/firmware/arm_scpi.c b/drivers/firmware/arm_scp

Re: [PATCH] rxrpc: fix uninitialized variable use

2016-06-21 Thread David Howells
Arnd Bergmann wrote: > > I'm actually more tempted to put a BUG() in there because if any new family > > support (say AF_INET6) is added, I want to make sure I catch all the places. > > Makes sense. Do you want to do the patch yourself, or should I send > a new one doing that? > > Maybe WARN()

[RFC PATCH v2 6/9] firmware: Add legacy SCPI protocol driver

2016-06-21 Thread Neil Armstrong
Add legacy SCPI driver based on the latest SCPI driver but modified to behave like an earlier technology preview SCPI implementation that at least the Amlogic GXBB ARMv8 based platform uses in it's SCP firmware implementation. The main differences between the mainline, public and recommended SCPI

[RFC PATCH v2 9/9] ARM64: dts: meson-gxbb: Add SCPI with cpufreq & sensors Nodes

2016-06-21 Thread Neil Armstrong
Add the vcpu DVFS clock, the SCPU shared SRAM and the SCPI sensors nodes. Signed-off-by: Neil Armstrong --- arch/arm64/boot/dts/amlogic/meson-gxbb.dtsi | 36 + 1 file changed, 36 insertions(+) diff --git a/arch/arm64/boot/dts/amlogic/meson-gxbb.dtsi b/arch/arm64/boo

[RFC PATCH v2 7/9] dt-bindings: arm: Update arm,scpi bindings with Meson GXBB SCPI

2016-06-21 Thread Neil Armstrong
Signed-off-by: Neil Armstrong --- Documentation/devicetree/bindings/arm/arm,scpi.txt | 8 +--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/Documentation/devicetree/bindings/arm/arm,scpi.txt b/Documentation/devicetree/bindings/arm/arm,scpi.txt index 313dabd..fe58212 100644 -

[RFC PATCH v2 8/9] ARM64: dts: meson-gxbb: Add SRAM node

2016-06-21 Thread Neil Armstrong
Signed-off-by: Neil Armstrong --- arch/arm64/boot/dts/amlogic/meson-gxbb.dtsi | 9 + 1 file changed, 9 insertions(+) diff --git a/arch/arm64/boot/dts/amlogic/meson-gxbb.dtsi b/arch/arm64/boot/dts/amlogic/meson-gxbb.dtsi index 77381d0..913ba86 100644 --- a/arch/arm64/boot/dts/amlogic/mes

Re: [PATCH v11 08/14] usb: otg: add OTG/dual-role core

2016-06-21 Thread Felipe Balbi
Hi, Peter Chen writes: >> >> So far, I haven't seen anybody talking about real USB OTG (the spec) >> >> when they say OTG. Usually they just mean "a method for swapping between >> >> host and peripheral roles, but we really don't want all the extra cost >> >> of the OTG specification". >> >> >>

Re: [PATCH] HID: i2c-hid: set power sleep before shutdown

2016-06-21 Thread Jiri Kosina
On Tue, 21 Jun 2016, ghzhong wrote: > > > Some HW design is that the power to i2c hid device won't down > > > after device shutdown. Also the i2c-hid driver do not send suspend > > > cmd to the hid i2c device and disable its irq before shutdown.So > > > if We touch the touchscreen or some other i2

[RFC PATCH v2 3/9] ARM64: dts: meson-gxbb: Add Meson MHU Node

2016-06-21 Thread Neil Armstrong
Signed-off-by: Neil Armstrong --- arch/arm64/boot/dts/amlogic/meson-gxbb.dtsi | 8 1 file changed, 8 insertions(+) diff --git a/arch/arm64/boot/dts/amlogic/meson-gxbb.dtsi b/arch/arm64/boot/dts/amlogic/meson-gxbb.dtsi index 806b903..77381d0 100644 --- a/arch/arm64/boot/dts/amlogic/meso

[PATCH] net: ethernet: fix odd_ptr_err.cocci warnings

2016-06-21 Thread Julia Lawall
-altera-com/net-ethernet-Add-T SE-PCS-support-to-dwmac-socfpga/20160621-164854 dwmac-socfpga.c |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) --- a/drivers/net/ethernet/stmicro/stmmac/dwmac-socfpga.c +++ b/drivers/net/ethernet/stmicro/stmmac/dwmac-socfpga.c @@ -224,7 +224,7 @@ static int

[RFC PATCH v2 4/9] firmware: Add a SCPI registry to handle multiple implementations

2016-06-21 Thread Neil Armstrong
Add a thin registry layer to store the current scpi_ops pointer out of the arm_scpi.c location. Add a register/unregister and devres managed unregister calls, and their static inline disabled stubs. Add the SCPI_FW config to enable the registry layer build. Signed-off-by: Neil Armstrong --- driv

Re: [PATCH v2 1/3] coccinelle: also catch kzfree() issues

2016-06-21 Thread Michal Marek
Dne 20.6.2016 v 22:21 Julia Lawall napsal(a): > > > On Mon, 20 Jun 2016, Michal Marek wrote: > >> On 2016-05-23 17:18, Julia Lawall wrote: >>> >>> >>> On Mon, 23 May 2016, Yann Droneaud wrote: >>> Since commit 3ef0e5ba4673 ('slab: introduce kzfree()'), kfree() is no more the only funct

Re: cross compilers [was build failure of sorts]

2016-06-21 Thread Peter Zijlstra
On Tue, Jun 21, 2016 at 11:45:37AM +0200, Peter Zijlstra wrote: > Should arc-*-* list gdb in their noconfigdirs like many other archs do > too? Something like so I suppose. --- configure.ac |3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/configure.ac b/configure.ac inde

[RFC PATCH v2 0/9] scpi: Add SCPI registry to handle legacy protocol

2016-06-21 Thread Neil Armstrong
This patchset aims to support the legacy SCPI firmware implementation that was delivered as early technology preview for the JUNO platform. Finally a stable, maintained and public implementation for the SCPI protocol has been upstreamed part of the JUNO support and it is the recommended way of imp

Re: [PATCH v3 06/13] fork: Add generic vmalloced stack support

2016-06-21 Thread Jann Horn
On Tue, Jun 21, 2016 at 1:43 AM, Andy Lutomirski wrote: > If CONFIG_VMAP_STACK is selected, kernel stacks are allocated with > vmalloc_node. [...] > static struct thread_info *alloc_thread_info_node(struct task_struct *tsk, > int node) > { > +#if

Re: [RFC PATCH 15/15] iommu/exynos: update to use iommu big-endian

2016-06-21 Thread Joerg Roedel
On Wed, Jun 08, 2016 at 07:31:10PM +0100, Matthew Leach wrote: > From: Ben Dooks > > Add initial support for big endian by always writing the pte > in le32. Note, revisit if hardware capable of doing big endian > fetches. > > Signed-off-by: Ben Dooks > --- > Cc: Marek Szyprowski > Cc: Joerg Ro

答复: 答复: 答复: [PATCH 1/1] sound: Fix compile error of seq_device.c

2016-06-21 Thread 高峰
Oh, I get it. I met the compile error when compile the kernel 3.10 on CentOS7 and fix it, then I find the seq_device of upstream is same. So I thought it should be fixed. OK. Let me compile the upstream codes on CentOS7 again. -邮件原件- 发件人: Takashi Iwai [mailto:ti...@suse.de] 发送时间: 2016年

Re: [PATCH v4 5/5] ARM: dts: mt2701: add iommu/smi dtsi node for mt2701

2016-06-21 Thread Honghui Zhang
On Tue, 2016-06-21 at 11:41 +0200, Joerg Roedel wrote: > On Wed, Jun 08, 2016 at 05:51:01PM +0800, honghui.zh...@mediatek.com wrote: > > From: Honghui Zhang > > > > Add the dtsi node of iommu and smi for mt2701. > > > > Signed-off-by: Honghui Zhang > > --- > > arch/arm/boot/dts/mt2701.dtsi | 5

Re: [PATCH net-next] net: ena: Add a driver for Amazon Elastic Network Adapters (ENA)

2016-06-21 Thread Netanel Belgazal
On 06/21/2016 01:43 AM, Francois Romieu wrote: > Netanel Belgazal : > [...] >>> diff --git a/drivers/net/ethernet/amazon/ena/ena_com.h >>> b/drivers/net/ethernet/amazon/ena/ena_com.h >>> new file mode 100644 >>> index 000..e49ba43 >>> --- /dev/null >>> [...] >>> +static inline void ena_com_

RE: [PATCH v4 1/5] ACPICA: Namespace: Fix a regression that MLC support triggers dead lock in dynamic table loading

2016-06-21 Thread Zheng, Lv
Hi, Mika > From: Mika Westerberg [mailto:mika.westerb...@linux.intel.com] > Subject: Re: [PATCH v4 1/5] ACPICA: Namespace: Fix a regression that MLC > support triggers dead lock in dynamic table loading > > On Tue, Jun 21, 2016 at 12:34:15PM +0800, Lv Zheng wrote: > > The new MLC approach invokes

答复: 答复: [PATCH 1/1] sound: Fix compile error of seq_device.c

2016-06-21 Thread 高峰
I have sent the new commit with the compile errors. Is it ok now? BTW, I think the compile error is caused by that "subsys_initcall" statement losts the semicolon. -邮件原件- 发件人: Takashi Iwai [mailto:ti...@suse.de] 发送时间: 2016年6月21日 17:20 收件人: 高峰 抄送: alsa-de...@alsa-project.org; pe...@per

[PATCH] irqchip: fix the config HISILICON_IRQ_MBIGEN dependency error.

2016-06-21 Thread Jiancheng Xue
This patch fixes the compiling error caused when config HISILICON_IRQ_MBIGEN is selected but PCI_MSI is not seleted. Signed-off-by: Jiancheng Xue --- drivers/irqchip/Kconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/irqchip/Kconfig b/drivers/irqchip/Kconfig inde

Re: [PATCH v3 04/13] mm: Track NR_KERNEL_STACK in KiB instead of number of stacks

2016-06-21 Thread Vladimir Davydov
On Mon, Jun 20, 2016 at 04:43:34PM -0700, Andy Lutomirski wrote: > Currently, NR_KERNEL_STACK tracks the number of kernel stacks in a > zone. This only makes sense if each kernel stack exists entirely in > one zone, and allowing vmapped stacks could break this assumption. > > Since frv has THREAD

[PATCH 1/2] ACPI / EC: Cleanup boot EC code using acpi_ec_alloc()

2016-06-21 Thread Lv Zheng
Failure handling of the boot EC code is not tidy. This patch cleans them up with acpi_ec_alloc(). This patch also changes acpi_ec_dsdt_probe(), always switches the boot EC from the ECDT one to the DSDT one in this function. Signed-off-by: Lv Zheng --- drivers/acpi/ec.c | 85 +++

[PATCH 2/2] ACPI / EC: Remove wrong ECDT correction quirks

2016-06-21 Thread Lv Zheng
Our Windows probe result shows that EC._REG is evaluated after evaluating all _INI/_STA control methods. With boot EC always switched in acpi_ec_dsdt_probe(), we can see that as long as there is no EC opregion accesses in the MLC (module level code, AML code out of any control methods) and in _INI

Re: [PATCH v4 5/5] ARM: dts: mt2701: add iommu/smi dtsi node for mt2701

2016-06-21 Thread Joerg Roedel
On Wed, Jun 08, 2016 at 05:51:01PM +0800, honghui.zh...@mediatek.com wrote: > From: Honghui Zhang > > Add the dtsi node of iommu and smi for mt2701. > > Signed-off-by: Honghui Zhang > --- > arch/arm/boot/dts/mt2701.dtsi | 51 > +++ > 1 file changed, 51

Re: [PATCH] net: stmmac: dwmac-rk: add rk322x-specific data

2016-06-21 Thread Heiko Stübner
Am Dienstag, 21. Juni 2016, 15:13:55 schrieb Xing Zheng: > Add constants and callback functions for the dwmac on rk322x socs. > As can be seen, the base structure is the same, only registers and > the bits in them moved slightly. > > Signed-off-by: Xing Zheng > --- > > .../devicetree/bindings/n

Re: cross compilers [was build failure of sorts]

2016-06-21 Thread Peter Zijlstra
On Tue, Jun 21, 2016 at 09:28:56AM +, Vineet Gupta wrote: > On Tuesday 21 June 2016 01:13 PM, Peter Zijlstra wrote: > > On Tue, Jun 21, 2016 at 05:29:28AM +, Vineet Gupta wrote: > >> > On Saturday 18 June 2016 03:47 PM, Peter Zijlstra wrote: > >>> > > As you can see, arc doesn't even build

Documenting ptrace access mode checking

2016-06-21 Thread Michael Kerrisk (man-pages)
Hi Jann, Stephen, et al. Jann, since you recently committed a patch in this area, and Stephen, since you committed 006ebb40d3d much further back in time, I wonder if you might help me by reviewing the text below that I propose to add to the ptrace(2) man page, in order to document "ptrace access m

Re: [PATCH] iommu/mediatek: Do not call of_node_put in mtk_iommu_of_xlate

2016-06-21 Thread Joerg Roedel
On Wed, Jun 08, 2016 at 05:50:44PM +0800, honghui.zh...@mediatek.com wrote: > From: Honghui Zhang > > The device_node will be released in of_iommu_configure, it may be double > released if call of_node_put in mtk_iommu_of_xlate. > > Signed-off-by: Honghui Zhang > --- > drivers/iommu/mtk_iommu.

[PATCH 1/3] iio: adc: max1363: Fix missing i2c_device_id for MAX1164x parts

2016-06-21 Thread Florian Vaussard
The driver supports MAX11644, MAX11645, MAX11646 and MAX11647 parts. But the corresponding i2c_device_id are missing. Add them! Signed-off-by: Florian Vaussard --- drivers/iio/adc/max1363.c | 4 1 file changed, 4 insertions(+) diff --git a/drivers/iio/adc/max1363.c b/drivers/iio/adc/max136

<    5   6   7   8   9   10   11   12   >