Re: [PATCH 5/5] vmlinux.lds.h: replace config_enabled() with IS_ENABLED()

2016-06-21 Thread Arnd Bergmann
On Tuesday, June 21, 2016 8:20:10 AM CEST Masahiro Yamada wrote: > 2016-06-21 5:45 GMT+09:00 Michal Marek : > > Dne 14.6.2016 v 07:58 Masahiro Yamada napsal(a): > >> The use of config_enabled() against config options is ambiguous. > >> > >> Now, IS_ENABLED() is implemented purely

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

2016-06-21 Thread fgao
From: Gao Feng The gcc reports the following compile error on CentOS7. include/linux/init.h:216:2: error: expected ',' or ';' before 'static' static exitcall_t __exitcall_##fn __exit_call = fn ^ include/linux/init.h:279:24: note: in expansion of macro '__exitcall' #define

Re: [PATCH V4 1/1] net: ethernet: Add TSE PCS support to dwmac-socfpga

2016-06-21 Thread Arnd Bergmann
On Tuesday, June 21, 2016 1:46:11 AM CEST th...@altera.com wrote: > diff --git a/Documentation/devicetree/bindings/net/socfpga-dwmac.txt > b/Documentation/devicetree/bindings/net/socfpga-dwmac.txt > index 72d82d6..dd10f2f 100644 > --- a/Documentation/devicetree/bindings/net/socfpga-dwmac.txt >

Re: [PATCH v2 04/15] clk: sunxi-ng: Add fixed factor clock support

2016-06-21 Thread Maxime Ripard
Hi Stephen, On Mon, Jun 20, 2016 at 06:15:37PM -0700, Stephen Boyd wrote: > On 06/07, Maxime Ripard wrote: > > + > > +#include > > + > > +#include "ccu_common.h" > > + > > +struct ccu_fixed_factor { > > + u16 div; > > + u16 mult; > > + > > + struct

Re: [RFC PATCH v3 2/2] ARM64/PCI: Start using quirks handling for ACPI based PCI host controller

2016-06-21 Thread Lorenzo Pieralisi
On Mon, Jun 20, 2016 at 12:12:24PM -0700, Duc Dang wrote: > On Mon, Jun 20, 2016 at 10:17 AM, Christopher Covington > wrote: > > Hi Duc, > > > > On 06/20/2016 05:42 AM, Lorenzo Pieralisi wrote: > >> On Fri, Jun 17, 2016 at 02:37:02PM -0700, Duc Dang wrote: > >>> On Thu, Jun

[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 |

[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

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

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

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

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 > --- >

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

2016-06-21 Thread 高峰
OK. It is good news that there is no real issue on upstream. But it is bad news that my commit would not be accepted :) Best Regards Feng -邮件原件- 发件人: Takashi Iwai [mailto:ti...@suse.de] 发送时间: 2016年6月21日 18:05 收件人: 高峰 抄送: alsa-de...@alsa-project.org; pe...@perex.cz;

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 v10 06/22] IB/hns: Add initial cmd operation

2016-06-21 Thread Leon Romanovsky
On Tue, Jun 21, 2016 at 06:50:51PM +0800, Wei Hu (Xavier) wrote: > > > 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

[PATCH 00/27] Move LRU page reclaim from zones to nodes v7

2016-06-21 Thread Mel Gorman
The bulk of the updates are in response to review from Vlastimil Babka and received a lot more testing than v6. Changelog since v6 o Correct reclaim_idx when direct reclaiming for memcg o Also account LRU pages per zone for compaction/reclaim o Add page_pgdat helper with more efficient lookup o

Re: Using DT overlays for adding virtual hardware

2016-06-21 Thread Jan Kiszka
On 2016-06-21 13:45, Pantelis Antoniou wrote: > Hi Jan, > >> On Jun 21, 2016, at 14:43 , Jan Kiszka wrote: >> >> On 2016-06-21 13:35, Pantelis Antoniou wrote: >>> Hi Jan, >>> On Jun 21, 2016, at 14:22 , Jan Kiszka wrote: On

Re: [PATCH] leds: Add no-op gpio_led_register_device when LED subsystem is disabled

2016-06-21 Thread Andrew F. Davis
On 06/21/2016 02:09 AM, Jacek Anaszewski wrote: > Hi Andrew, > > This patch doesn't apply, please rebase onto recent LED tree. > > On 06/21/2016 12:13 AM, Andrew F. Davis wrote: >> Some systems use 'gpio_led_register_device' to make an in-memory copy of >> their LED device table so the original

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

2016-06-21 Thread kbuild test robot
Hi, [auto build test ERROR on tip/perf/core] [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/Chunyu-Hu/tracing-Fix-oops-caused-by-graph-notrace

[PATCH v1 2/3] drm: Add API for capturing frame CRCs

2016-06-21 Thread Tomeu Vizoso
Adds a per-device debugfile "drm_crc_control" that allows selecting a source for frame checksums in each CRTC that supports them. The checksums for each subsequent frame can be read from the per-CRTC file "drm_crtc_N_crc". The code is taken from the i915 driver and other drivers can now provide

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

2016-06-21 Thread Arnd Bergmann
On Tuesday, June 21, 2016 11:18:39 AM CEST Stephen Rothwell wrote: > Today's linux-next merge of the net-next tree got conflicts in: > > arch/arm64/boot/dts/broadcom/ns2-svk.dts > arch/arm64/boot/dts/broadcom/ns2.dtsi > > between commits: > > 97b1504a30b3 ("arm64: dts: enable pinctrl for

[PATCH 1/2] PCI: altera: check link status before retrain link

2016-06-21 Thread Ley Foon Tan
Checking for link up status before retrain link. Note, moves altera_pcie_link_is_up() and its dependency functions to top of file. Signed-off-by: Ley Foon Tan --- drivers/pci/host/pcie-altera.c | 36 1 file changed, 20 insertions(+), 16

Re: [PATCH net-next 00/19] net: hns: fix some bugs in hns driver

2016-06-21 Thread David Miller
From: Yisen Zhuang Date: Tue, 21 Jun 2016 11:56:20 +0800 > This series includes some bugs fixed. All these patches needs to be > applied after the patchset about ACPI support, so this series is > floated to net-next list. Series applied, thanks.

Re: [PATCH] ARM: sun8i: Add Parrot Board DTS

2016-06-21 Thread Chen-Yu Tsai
On Tue, Jun 21, 2016 at 2:35 AM, Maxime Ripard wrote: > On Tue, Jun 21, 2016 at 12:30:25AM +0800, Chen-Yu Tsai wrote: >> >> >>> +_aldo1 { >> >> >>> + regulator-always-on; >> >> >>> + regulator-min-microvolt = <300>; >> >> >>> +

Re: [PATCH 04/27] [AARCH64] Add PTR_REG, PTR_LOG_SIZE, and PTR_SIZE. Use it in LDST_PCREL and LDST_GLOBAL.

2016-06-21 Thread Yury Norov
On Tue, Jun 21, 2016 at 09:54:47AM +0200, Andreas Schwab wrote: > Yury Norov writes: > > > diff --git a/sysdeps/aarch64/sysdep.h b/sysdeps/aarch64/sysdep.h > > index 4cb028f..f2ea821 100644 > > --- a/sysdeps/aarch64/sysdep.h > > +++ b/sysdeps/aarch64/sysdep.h > > @@

[PATCH 0/2] PCI: altera: fix link retrain

2016-06-21 Thread Ley Foon Tan
This 2 patches fix the issue before and after retrain link. Ley Foon Tan (2): PCI: altera: check link status before retrain link PCI: altera: Polling for link up status after retrain the link drivers/pci/host/pcie-altera.c | 48 +++--- 1 file changed, 31

Re: [PATCH 1/1] HID: multitouch: enable palm rejection if device implements confidence usage

2016-06-21 Thread Allen Hung
Hi Benjamin, On 01/04/2016 04:35 PM, Benjamin Tissoires wrote: > Hi Allen, > > On Mon, Dec 21, 2015 at 10:45 AM, Allen Hung wrote: >> On 12/18/2015 05:52 AM, Benjamin Tissoires wrote: >>> On Thu, Nov 26, 2015 at 3:21 PM, Jiri Kosina wrote: On Fri, 20

答复: 答复: [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 收件人: 高峰 抄送:

[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

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 >> > >

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: [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

Re: Reported regressions for 4.7 as of Sunday, 2016-06-19

2016-06-21 Thread Josh Boyer
On Sun, Jun 19, 2016 at 10:52 AM, Thorsten Leemhuis wrote: > Description:BUG: unable to handle kernel NULL pointer dereference […] > qla24xx_process_response_queue+0x49/0x4b0 [qla2xxx] > Report: https://bugzilla.kernel.org/show_bug.cgi?id=120201 > Latest

Re: [PATCH 03/27] Add dynamic ILP32 AARCH64 relocations to elf.h

2016-06-21 Thread Joseph Myers
On Tue, 21 Jun 2016, Yury Norov wrote: > From: Andrew Pinski > > elf/elf.h (R_AARCH64_P32_ABS32, R_AARCH64_P32_COPY, > R_AARCH64_P32_GLOB_DAT, R_AARCH64_P32_JUMP_SLOT, > R_AARCH64_P32_RELATIVE, R_AARCH64_P32_TLS_DTPMOD, > R_AARCH64_P32_TLS_DTPREL, R_AARCH64_P32_TLS_TPREL, >

Re: [PATCH 10/27] [AARCH64] Detect ILP32 in configure scripts.

2016-06-21 Thread Joseph Myers
On Tue, 21 Jun 2016, Yury Norov wrote: > diff --git a/sysdeps/aarch64/preconfigure b/sysdeps/aarch64/preconfigure > index d9bd1f8..4bcd8e3 100644 > --- a/sysdeps/aarch64/preconfigure > +++ b/sysdeps/aarch64/preconfigure > @@ -1,6 +1,15 @@ > case "$machine" in > aarch64*) >

Re: [PATCH] ipmi: set si_trydefaults=0 for ARM64

2016-06-21 Thread Tony Camuso
On 06/20/2016 04:57 PM, Corey Minyard wrote: On 06/20/2016 01:26 PM, Tony Camuso wrote: Port I/O space does not exist in ARM64 and is not mapped. Attempts to access it on ARM systems cause stack traces and worse. At this point, I think it is best to just completely pull out all concept of

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] irqchip: fix the config HISILICON_IRQ_MBIGEN dependency error.

2016-06-21 Thread Jiancheng Xue
On 2016/6/21 19:30, Jiancheng Xue wrote: > Hi Marc, > > On 2016/6/21 18:36, Marc Zyngier wrote: >> 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:

[PATCHv3] wlcore: spi: add wl18xx support

2016-06-21 Thread Reizer, Eyal
Add support for using with both wl12xx and wl18xx. - all wilink family needs special init command for entering wspi mode. extra clock cycles should be sent after the spi init command while the cs pin is high. - Use inverted chip select for sending a dummy 4 bytes command that completes the

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

2016-06-21 Thread Peter Chen
On Tue, Jun 21, 2016 at 10:26:00AM +0300, Felipe Balbi wrote: > > Hi, > > >> > >> 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

Re: [PATCH 03/10] proc, oom_adj: extract oom_score_adj setting into a helper

2016-06-21 Thread Hillf Danton
> > From: Michal Hocko > > Currently we have two proc interfaces to set oom_score_adj. The legacy > /proc//oom_adj and /proc//oom_score_adj which both have their > specific handlers. Big part of the logic is duplicated so extract the > common code into __set_oom_adj helper.

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

2016-06-21 Thread Frank Wang
Hi Heiko, On 2016/6/21 17:05, Heiko Stübner wrote: 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

Warning when compiling DTB on X-Gene platform with dtc 1.4.1-g53bf130b

2016-06-21 Thread Duc Dang
Hi Rob, I got warning on unit_address_vs_reg similar to this https://lkml.org/lkml/2016/3/7/43 when using v4.7-rc2 dtc to build dtb for X-Gene Mustang: dhdang@xgene-next=>./scripts/dtc/dtc -O dtb -R 16 -o mustang.dtb arch/arm64/boot/dts/apm/apm-mustang.dts Warning (unit_address_vs_reg): Node

Re: cross compilers [was build failure of sorts]

2016-06-21 Thread Vineet Gupta
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 upstream binutils :/ >>> > > (binutils-2_26-branch as of today). >> >

Re: [RFC PATCH 2/2] xfs: map KM_MAYFAIL to __GFP_RETRY_HARD

2016-06-21 Thread Vlastimil Babka
On 06/21/2016 06:22 AM, Johannes Weiner wrote: I think whether the best-effort behavior should be opt-in or opt-out, or how fine-grained the latency/success control over the allocator should be is a different topic. I'd prefer defaulting to reliability and annotating low-latency requirements,

[RFC PATCH] irqdomain: Fix disposal of mappings for interrupt hierarchies

2016-06-21 Thread Jon Hunter
The function irq_create_of_mapping() is used to create an interrupt mapping. However, depending on whether the irqdomain, to which the interrupt belongs, is part of a hierarchy, determines whether the mapping is created via calling irq_domain_alloc_irqs() or irq_create_mapping(). To dispose of

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

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

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 >>> [...] >>>

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

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

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

[[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

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 v2 3/3] Staging: comedi: s626: fix line over 80 characters issue

2016-06-21 Thread Ian Abbott
On 21/06/16 07:44, Ravishankar Karkala Mallikarjunayya wrote: This fixes up a line over 80 characters issues found by the checkpatch.pl tool. Signed-off-by: Ravishankar Karkala Mallikarjunayya --- Change log v1->v2 - No Change ---

[PATCH v1 0/3] New debugfs API for capturing CRC of frames

2016-06-21 Thread Tomeu Vizoso
Hi, this series basically takes the facility for continuously capturing CRCs of frames from the i915 driver and into the DRM core. The idea is that test suites such as IGT use this information to check that frames that are expected to be identical, also have identical CRC values. Other drivers

Re: [PATCH v2 2/3] Staging: comedi: s626: Fix Warning issues.

2016-06-21 Thread Ian Abbott
On 21/06/16 07:38, Ravishankar Karkala Mallikarjunayya wrote: 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 --- Change log v1->v2 - No Change ---

Re: [PATCH 0/5] Input: alps - cleanup

2016-06-21 Thread Pali Rohár
On Monday 20 June 2016 17:31:13 Dmitry Torokhov wrote: > Hi Pali, > > On Mon, Jun 06, 2016 at 01:23:56PM +0200, Pali Rohár wrote: > > This patch series cleanup usage of alps_model_data table. > > > > Pali Rohár (5): > > Input: alps - move ALPS_PROTO_V6 out of alps_model_data table > > Input:

Re: [PATCH v2 5/6] x86: Pass kernel thread parameters in fork_frame

2016-06-21 Thread Borislav Petkov
On Mon, Jun 20, 2016 at 11:01:02AM -0400, Brian Gerst wrote: > The idea was to put the uncommon case (kernel thread) out of line for > performance reasons. A comment saying so wouldn't hurt... -- Regards/Gruss, Boris. ECO tip #101: Trim your mails when you reply. --

Re: Using DT overlays for adding virtual hardware

2016-06-21 Thread Jan Kiszka
On 2016-06-21 13:35, Pantelis Antoniou wrote: > Hi Jan, > >> On Jun 21, 2016, at 14:22 , Jan Kiszka wrote: >> >> On 2016-06-21 12:24, Pantelis Antoniou wrote: >>> Hi Jan, >>> On Jun 21, 2016, at 13:13 , Jan Kiszka wrote: Hi

[PATCH 02/27] mm, vmscan: Move lru_lock to the node

2016-06-21 Thread Mel Gorman
Node-based reclaim requires node-based LRUs and locking. This is a preparation patch that just moves the lru_lock to the node so later patches are easier to review. It is a mechanical change but note this patch makes contention worse because the LRU lock is hotter and direct reclaim and kswapd can

Re: [PATCH 4/4] sched,fair: Fix PELT integrity for new tasks

2016-06-21 Thread Peter Zijlstra
On Mon, Jun 20, 2016 at 11:23:39AM +0200, Vincent Guittot wrote: > Don't we have to do a complete attach with attach_task_cfs_rq instead > of just the load_avg ? to set also depth ? Hmm, yes, your sched_set_group() change seems to have munged this. Previously we'd call task_move_group_fair()

Re: Using DT overlays for adding virtual hardware

2016-06-21 Thread Pantelis Antoniou
Hi Jan, > On Jun 21, 2016, at 14:22 , Jan Kiszka wrote: > > On 2016-06-21 12:24, Pantelis Antoniou wrote: >> Hi Jan, >> >>> On Jun 21, 2016, at 13:13 , Jan Kiszka wrote: >>> >>> Hi Pantelis, >>> >>> coming back to this topic: >>> >>> On

Re: [PATCH 11/27] [AARCH64] Syscalls for ILP32 are passed always via 64bit values.

2016-06-21 Thread Zhangjian (Bamvor)
Hi, On 2016/6/21 15:56, Andreas Schwab wrote: Yury Norov writes: diff --git a/sysdeps/unix/sysv/linux/aarch64/sysdep.h b/sysdeps/unix/sysv/linux/aarch64/sysdep.h index 1ffabc2..42f89c8 100644 --- a/sysdeps/unix/sysv/linux/aarch64/sysdep.h +++

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

2016-06-21 Thread Takashi Iwai
On Tue, 21 Jun 2016 11:35:39 +0200, 高峰 wrote: > > 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. Does this happen with the latest upstream kernel code at all...?

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

2016-06-21 Thread Opensource [Adam Thomson]
21 June 2016 12:42, Rafael J. Wysocki wrote: > > > +static inline bool acpi_data_node_match(struct fwnode_handle *fwnode, > > > + const char *name) > > > +{ > > > + return is_acpi_data_node(fwnode) ? > > > + (!strcasecmp(to_acpi_data_node(fwnode)->name,

Re: [PATCH 11/27] [AARCH64] Syscalls for ILP32 are passed always via 64bit values.

2016-06-21 Thread Zhangjian (Bamvor)
Hi, On 2016/6/21 19:42, Zhangjian (Bamvor) wrote: Hi, On 2016/6/21 15:56, Andreas Schwab wrote: Yury Norov writes: diff --git a/sysdeps/unix/sysv/linux/aarch64/sysdep.h b/sysdeps/unix/sysv/linux/aarch64/sysdep.h index 1ffabc2..42f89c8 100644 ---

Re: [PATCH v1 00/25] PCI: Request host bridge window resources

2016-06-21 Thread wangyijing
Hi Bjorn, use devm_request_resource() for host bridge resource is cool, what about do the similar change for x86, now we request host bridge resource in pci_acpi_root_add_resources() in x86, and we would release the host bridge resource when host bridge device refcount reach 0. This logic may

Re: [PATCH 20/27] [AARCH64] Make lp64 and ilp32 directories.

2016-06-21 Thread Joseph Myers
On Tue, 21 Jun 2016, Yury Norov wrote: > From: Andrew Pinski > > The patch makes the ilp32 and lp64 have their own directory under aarch64. > Since ILP32 uses most of the same system calls as LP64 and has a 64bit > off_t, we need make the functions that end in 64 the same as

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

2016-06-21 Thread Baolin Wang
On 21 June 2016 at 19:53, Felipe Balbi wrote: > > Hi, > > Baolin Wang writes: >> On 21 June 2016 at 19:03, Mark Brown wrote: >>> On Tue, Jun 21, 2016 at 01:30:49PM +0300, Felipe Balbi wrote: Baolin Wang

Re: [PATCH] MAINTAINERS: update STi maintainer list

2016-06-21 Thread Patrice Chotard
On 06/21/2016 11:35 AM, Maxime Coquelin wrote: 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

[PATCH v3 2/2] clk: fixed-rate: Convert into a module platform driver

2016-06-21 Thread Ricardo Ribalda Delgado
Adds support for fixed-rate clock providers which have not been enabled via of_clk_init(). This is required by Device trees overlays that introduce clocks providers. Signed-off-by: Ricardo Ribalda Delgado --- v3: Changes proposed by: Stephen Boyd

[PATCH v3 1/2] clk: fixed-factor: Convert into a module platform driver

2016-06-21 Thread Ricardo Ribalda Delgado
Adds support for fixed-factor clock providers which have not been enabled via of_clk_init(). This is required by Device trees overlays that introduce clocks providers. Signed-off-by: Ricardo Ribalda Delgado --- v3: Changes proposed by: Stephen Boyd

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

2016-06-21 Thread Takashi Iwai
On Tue, 21 Jun 2016 10:34:25 +0200, wrote: > > From: Gao Feng > > Signed-off-by: Gao Feng What compile error did you get? Takashi > --- > sound/core/seq/seq_device.c | 4 ++-- > 1 file changed, 2 insertions(+), 2 deletions(-) > > diff

Re: [RESEND PATCH 1/3] rfkill: Create "rfkill-airplane-mode" LED trigger

2016-06-21 Thread Johannes Berg
On Mon, 2016-06-13 at 23:21 +0200, Pavel Machek wrote: >  > (Actually, "::wifi" is super confusing, I'd expect that to be a led > that blinks when wifi is active.) Agree with that, yeah, that'd be confusing. > Well... "airplane" is quite confusing. I'd we use "rfkill" for > disabling radios, and

Re: [PATCH v9 2/4] power: reset: add reboot mode driver

2016-06-21 Thread Krzysztof Kozlowski
On 06/21/2016 08:16 AM, Andy Yan wrote: > I will remove the module related stuff in the next version. >>> Following his rationale, I think either this should be a tristate or the >>> module stuff should be removed. How about making it tristate? I think there isn't any obstacles for this driver

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

答复: 答复: 答复: [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] 发送时间:

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

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

[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

[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

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

[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

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 = > +

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

Re: [PATCH v6 2/4] power: reset: add reboot mode driver

2016-06-21 Thread Andy Yan
Hi Krzysztof: On 2016年03月24日 10:50, Krzysztof Kozlowski wrote: Cool work! Few comments below. On Tue, Mar 22, 2016 at 8:37 PM, Andy Yan wrote: This driver parse the reboot commands like "reboot loader" and "reboot recovery" to get a boot mode described in the

[PATCH v6] arm64: cpuinfo: Expose MIDR_EL1 and REVIDR_EL1 to sysfs

2016-06-21 Thread Suzuki K Poulose
From: Steve Capper It can be useful for JIT software to be aware of MIDR_EL1 and REVIDR_EL1 to ascertain the presence of any core errata that could affect code generation. This patch exposes these registers through sysfs:

Re: Using DT overlays for adding virtual hardware

2016-06-21 Thread Pantelis Antoniou
Hi Jan, > On Jun 21, 2016, at 14:43 , Jan Kiszka wrote: > > On 2016-06-21 13:35, Pantelis Antoniou wrote: >> Hi Jan, >> >>> On Jun 21, 2016, at 14:22 , Jan Kiszka wrote: >>> >>> On 2016-06-21 12:24, Pantelis Antoniou wrote: Hi Jan,

[PATCH 01/27] mm, vmstat: Add infrastructure for per-node vmstats

2016-06-21 Thread Mel Gorman
VM statistic counters for reclaim decisions are zone-based. If the kernel is to reclaim on a per-node basis then we need to track per-node statistics but there is no infrastructure for that. The most notable change is that the old node_page_state is renamed to sum_zone_node_page_state. The new

Re: [PATCH 3/3] iio: adc: max1363: Add device tree binding

2016-06-21 Thread kbuild test robot
Hi, [auto build test WARNING on iio/togreg] [cannot apply to 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/Florian-Vaussard/iio-adc-max1363-Fix-missing-parts-and-add

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

2016-06-21 Thread Felipe Balbi
Hi, Mark Brown writes: > [ Unknown signature status ] > On Tue, Jun 21, 2016 at 01:30:49PM +0300, Felipe Balbi wrote: >> Baolin Wang writes: >> > @@ -607,8 +647,31 @@ static int wm831x_power_probe(struct platform_device >> > *pdev) >> >}

Re: [PATCH] ARM: dts: am335x-bone-common: use stdout-path in Beaglebone boards.

2016-06-21 Thread Tony Lindgren
* Enric Balletbo i Serra [160617 04:12]: > This commit adds the stdout-path propety in /chosen for all Beaglebone > boards. Applying into omap-for-v4.8/dt thanks. Tony

Re: [PATCH v10 08/22] IB/hns: Add icm support

2016-06-21 Thread Leon Romanovsky
On Tue, Jun 21, 2016 at 12:37:39PM +0800, Wei Hu (Xavier) wrote: > > > On 2016/6/20 21:04, Leon Romanovsky wrote: > >On Mon, Jun 20, 2016 at 05:48:15PM +0800, Wei Hu (Xavier) wrote: > >> > >>On 2016/6/20 17:27, Leon Romanovsky wrote: > >>>On Mon, Jun 20, 2016 at 03:49:24PM +0800, Wei Hu (Xavier)

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

2016-06-21 Thread Zhangjian (Bamvor)
Hi, In our test, we need to fix stack pointer in makecontext. Not sure if it should be a standalone patch: From 1d51ca34034ef83ea602874a93e26fd158ddd214 Mon Sep 17 00:00:00 2001 From: Jun Ji Date: Fri, 29 Apr 2016 17:20:23 +0800 Subject: [PATCH] fix for makecontext error

Re: [PATCH 4/9] ARM: dts: AM437X-GP-EVM: AM437X-SK-EVM: Make dcdc3 dcdc5 and dcdc6 enable during suspend

2016-06-21 Thread Tony Lindgren
* Keerthy [160620 01:46]: > dcdc3, dcdc5, dcdc6 supply ddr and rtc respectively. These > are required to be on during suspend. Hence set the state accordingly. Are these dts changes safe for me to apply separately? Regards, Tony

Re: [PATCH 11/27] [AARCH64] Syscalls for ILP32 are passed always via 64bit values.

2016-06-21 Thread Andreas Schwab
Yury Norov writes: > diff --git a/sysdeps/unix/sysv/linux/aarch64/sysdep.h > b/sysdeps/unix/sysv/linux/aarch64/sysdep.h > index 1ffabc2..42f89c8 100644 > --- a/sysdeps/unix/sysv/linux/aarch64/sysdep.h > +++ b/sysdeps/unix/sysv/linux/aarch64/sysdep.h > @@ -161,11

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

2016-06-21 Thread Michal Hocko
On Mon 20-06-16 14:41:58, Tejun Heo wrote: > Hello, > > Christian, I *think* this should fix it. Can you please verify? > > Thanks! > -- 8< -- > mem_cgroup_migrate() uses local_irq_disable/enable() but can be called > with irq disabled from migrate_page_copy(). This ends up enabling

Re: [RFC][PATCH] arm: ubsan: select ARCH_HAS_UBSAN_SANITIZE_ALL

2016-06-21 Thread Arnd Bergmann
On Tuesday, June 21, 2016 2:39:05 PM CEST Seung-Woo Kim wrote: > To enable UBSAN on arm, this patch enables ARCH_HAS_UBSAN_SANITIZE_ALL > from arm confiuration. Basic kernel booting is tested on arm kernel > enabled CONFIG_UBSAN_SANITIZE_ALL from Exynos5422 based Odroid-XU3 > board. > >

Re: [PATCH 04/27] [AARCH64] Add PTR_REG, PTR_LOG_SIZE, and PTR_SIZE. Use it in LDST_PCREL and LDST_GLOBAL.

2016-06-21 Thread Andreas Schwab
Yury Norov writes: > diff --git a/sysdeps/aarch64/sysdep.h b/sysdeps/aarch64/sysdep.h > index 4cb028f..f2ea821 100644 > --- a/sysdeps/aarch64/sysdep.h > +++ b/sysdeps/aarch64/sysdep.h > @@ -23,10 +23,16 @@ > > #ifdef __LP64__ > #define AARCH64_R(NAME)

  1   2   3   4   5   6   7   8   9   10   >