[PATCH RESEND v5 7/7] mfd: dt-bindings: Add RK805 device tree bindings document

2017-03-26 Thread Elaine Zhang
Add device tree bindings documentation for Rockchip's RK805 PMIC. Signed-off-by: Elaine Zhang --- Documentation/devicetree/bindings/mfd/rk808.txt | 22 +- 1 file changed, 21 insertions(+), 1 deletion(-) diff --git a/Documentation/devicetree/bindings/mfd/rk808.txt b/Document

Re: [PATCH v2 21/23] MAINTAINERS: Add file patterns for w1 device tree bindings

2017-03-26 Thread Geert Uytterhoeven
On Mon, Mar 13, 2017 at 8:08 PM, Evgeniy Polyakov wrote: > 12.03.2017, 16:17, "Geert Uytterhoeven" : >> Submitters of device tree binding documentation may forget to CC >> the subsystem maintainer if this is missing. > > I have no objection on this patch, but I do not really know who is > respons

Re: [PATCH 1/1] module: check if memory leak by module.

2017-03-26 Thread Pavel Machek
Hi! > This patch adds new config VMALLOC_MEMORY_LEAK to check if any > module which is going to be unloaded is doing vmalloc memory leak. > > Logs:- > [ 129.336368] Module vmalloc is getting unloaded before doing vfree > [ 129.336371] Memory still allocated: addr:0xc90001461000 - > 0xc

Re: [PATCH v6 06/11] drivers: perf: hisi: Add support for Hisilicon Djtag driver

2017-03-26 Thread Anurup M
On Friday 24 March 2017 05:06 PM, Mark Rutland wrote: +#define SC_DJTAG_TIMEOUT_US(100 * USEC_PER_MSEC) /* 100ms */ > >How was this value chosen? > > > >How likely is a timeout? > >As explained in PATCH 7, > >The djtag -EBUSY in hardware is a very rare scenario, and by design >of hardware

Re: [PATCH 5/6] x86/xen: Change __xen_pgd_walk() and xen_cleanmfnmap() to support p4d

2017-03-26 Thread Ingo Molnar
y * Kirill A. Shutemov wrote: > Split these helpers into few per-level functions and add support of > additional page table level. > > Signed-off-by: Xiong Zhang > [kirill.shute...@linux.intel.com: split off into separate patch] > Signed-off-by: Kirill A. Shutemov So who's the primary author

Re: [PATCH v2] drm: dw_hdmi: Don't rely on the status of the bridge for updating HPD

2017-03-26 Thread Archit Taneja
Hi, On 03/10/2017 03:01 PM, Romain Perier wrote: Currently, the irq handler that monitores changes for HPD anx RX_SENSE relies on the status of the bridge for updating the status of the HPD. The update is done only when the bridge is enabled. However, on Rockchip platforms we have found use cas

Re: [PATCH v6 08/11] drivers: perf: hisi: use poll method to avoid L3C counter overflow

2017-03-26 Thread Anurup M
On Friday 24 March 2017 05:13 PM, Mark Rutland wrote: How do we ensure that we don't take the interrupt in the middle of a > >sequence of accesses to the HW? > >The L3 cache and MN PMU does not use the overflow IRQ and it does >not occur here >as the interrupt Mask register is by default maske

Re: [PATCH v6 07/11] drivers: perf: hisi: Add support for Hisilicon SoC event counters

2017-03-26 Thread Anurup M
On Friday 24 March 2017 05:27 PM, Mark Rutland wrote: +/* hip05/06 chips L3C bank identifier */ >+static u32 l3c_bankid_map_v1[MAX_BANKS] = { >+0x02, 0x04, 0x01, 0x08, >+}; >+ >+/* hip07 chip L3C bank identifier */ >+static u32 l3c_bankid_map_v2[MAX_BANKS] = { >+0x01, 0x02, 0x03, 0x04,

RE: [PATCH 5/5] cpufreq: intel_pstate: Document the current behavior and user interface

2017-03-26 Thread Doug Smythies
On 2017.03.22 16:32 Rafael J. Wysocki wrote: I realize that there is tradeoff between a succinct and brief document and having to write a full book, but I have a couple of comments anyhow. > Add a document describing the current behavior and user space > interface of the intel_pstate driver in th

Re: [PATCH v2] x86: remove unused atomic_inc_short()

2017-03-26 Thread Ingo Molnar
* Dmitry Vyukov wrote: > It is completely unused and implemented only on x86. > Remove it. > > Signed-off-by: Dmitry Vyukov > Suggested-by: Mark Rutland > Cc: Andrey Ryabinin > Cc: Thomas Gleixner > Cc: Ingo Molnar > Cc: "H. Peter Anvin" > Cc: Peter Zijlstra > Cc: Andrew Morton > Cc: li

Re: [PATCH v2 1/2] dts: arm64: add LS1043A DPAA support

2017-03-26 Thread Shawn Guo
On Wed, Mar 22, 2017 at 10:58:12AM +, Madalin-Cristian Bucur wrote: > > > +&soc { > > > + > > > +/include/ "qoriq-fman3-0.dtsi" > > > +/include/ "qoriq-fman3-0-1g-0.dtsi" > > > +/include/ "qoriq-fman3-0-1g-1.dtsi" > > > +/include/ "qoriq-fman3-0-1g-2.dtsi" > > > +/include/ "qoriq-fman3-0-1g-3.d

[PATCH v2] perf: fix double free at function perf_hpp__reset_output_field

2017-03-26 Thread changbin . du
From: Changbin Du Some perf_hpp_fmt both registered at field and sort list. For such instance, we only can free it when removed from the both lists. This function currently only used by self-test code, but still should fix it. Signed-off-by: Changbin Du --- v2: removed redundant Signed-off. --

Re: [PATCH v2] x86: s/READ_ONCE_NOCHECK/READ_ONCE/ in arch_atomic[64]_read()

2017-03-26 Thread Ingo Molnar
* Dmitry Vyukov wrote: > Two problems was reported with READ_ONCE_NOCHECK in arch_atomic_read: > 1. Andrey Ryabinin reported significant binary size increase > (+400K of text). READ_ONCE_NOCHECK is intentionally compiled to > non-inlined function call, and I counted 640 copies of it in my vmlinu

Re: selinux: Delete unnecessary variable assignments in policydb_index()

2017-03-26 Thread SF Markus Elfring
> However, I agree with Casey that this patch is mostly just code churn > so I'm going to drop this from your series. How do you think about to return only constant error codes in this function? Would it be acceptable to replace any statements “goto out;” with “return -ENOMEM;” here instead? Rega

Re: [PATCHv2] phy: cpcap-usb: Add CPCAP PMIC USB support

2017-03-26 Thread Kishon Vijay Abraham I
Hi Tony, On Thursday 23 March 2017 05:16 AM, Tony Lindgren wrote: > Some Motorola phones like droid 4 use a custom CPCAP PMIC that has a > multiplexing USB PHY. > > This USB PHY can operate at least in four modes using pin multiplexing > and two control GPIOS: > > - Pass through companion PHY fo

Re: [PATCH v2] hugetlbfs: initialize shared policy as part of inode allocation

2017-03-26 Thread Hillf Danton
On March 26, 2017 5:38 AM Mike Kravetz wrote: > > Any time after inode allocation, destroy_inode can be called. The > hugetlbfs inode contains a shared_policy structure, and > mpol_free_shared_policy is unconditionally called as part of > hugetlbfs_destroy_inode. Initialize the policy as part o

[PATCH] KVM: mmu: Fix overlap with private memslots

2017-03-26 Thread Wanpeng Li
From: Wanpeng Li Reported by syzkaller: pte_list_remove: 9714eb1f8078 0->BUG [ cut here ] kernel BUG at arch/x86/kvm/mmu.c:1157! invalid opcode: [#1] SMP RIP: 0010:pte_list_remove+0x11b/0x120 [kvm] Call Trace: drop_spte+0x83/0xb0 [kvm

[PATCH v5 7/7] mfd: dt-bindings: Add RK805 device tree bindings document

2017-03-26 Thread Elaine Zhang
Add device tree bindings documentation for Rockchip's RK805 PMIC. Signed-off-by: Elaine Zhang --- Documentation/devicetree/bindings/mfd/rk808.txt | 20 +++- 1 file changed, 19 insertions(+), 1 deletion(-) diff --git a/Documentation/devicetree/bindings/mfd/rk808.txt b/Documentat

Re: [PATCH V4 3/4] dt-bindings: serial: add a new compatible string for SC9860

2017-03-26 Thread Chunyan Zhang
Hi Rob, On 24 March 2017 at 10:36, Rob Herring wrote: > On Fri, Mar 17, 2017 at 01:51:37PM +0800, Chunyan Zhang wrote: >> SC9860 use the same serial device which SC9836 uses, so added a new >> compatible string to support SC9860 as well, also added an example >> of how to describe this serial dev

[PATCH v5 6/7] rtc: Kconfig: Name RK805 in Kconfig for RTC_DRV_RK808

2017-03-26 Thread Elaine Zhang
The RK808 and RK805 PMICs are using a similar register map. We can reuse the rtc driver for the RK805 PMIC. So let's add the RK805 in the Kconfig description. Signed-off-by: Elaine Zhang --- drivers/rtc/Kconfig | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/rtc/K

[PATCH v5 2/7] mfd: rk808: add rk805 regs addr and ID

2017-03-26 Thread Elaine Zhang
Signed-off-by: Elaine Zhang --- include/linux/mfd/rk808.h | 120 ++ 1 file changed, 120 insertions(+) diff --git a/include/linux/mfd/rk808.h b/include/linux/mfd/rk808.h index 54feb140c210..d3156594674c 100644 --- a/include/linux/mfd/rk808.h +++ b/inclu

[PATCH v5 3/7] regulator: rk808: Add regulator driver for RK805

2017-03-26 Thread Elaine Zhang
Add support for the rk805 regulator. The regulator module consists of 4 DCDCs, 3 LDOs. The output voltages are configurable and are meant to supply power to the main processor and other components. Signed-off-by: Elaine Zhang --- drivers/regulator/Kconfig | 4 +- drivers/regulator/r

[PATCH v5 5/7] clk: Kconfig: Name RK805 in Kconfig for COMMON_CLK_RK808

2017-03-26 Thread Elaine Zhang
The RK808 and RK805 PMICs are using a similar register map. We can reuse the clk driver for the RK805 PMIC. So let's add the RK805 in the Kconfig description. Signed-off-by: Elaine Zhang --- drivers/clk/Kconfig | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/clk/K

[PATCH v5 4/7] mfd: rk808: Add RK805 support

2017-03-26 Thread Elaine Zhang
The RK805 chip is a Power Management IC (PMIC) for multimedia and handheld devices. It contains the following components: - Regulators - RTC - Clocking Both RK808 and RK805 chips are using a similar register map, so we can reuse the RTC and Clocking functionality. Signed-off-by: Elai

[PATCH v5 0/7] rk808: Add RK805 support

2017-03-26 Thread Elaine Zhang
change in v5: PATCH V5 1/7: NO change in V5 PATCH V5 2/7: fix the rk805 reg addr in numerical order PATCH V5 3/7: NO change in V5 PATCH V5 4/7: fix up the rk805_device_shutdown func PATCH V5 5/7: NO change in V5 PATCH V5 6/7: NO change in V5 PATCH V5 7/7: fix up the description of the rk805 change

[PATCH v5 1/7] mfd: rk808: fix up the chip id get failed

2017-03-26 Thread Elaine Zhang
the rk8xx chip id is: ((MSB << 8) | LSB) & 0xfff0 Signed-off-by: Elaine Zhang --- drivers/mfd/rk808.c | 21 +++-- include/linux/mfd/rk808.h | 1 + 2 files changed, 16 insertions(+), 6 deletions(-) diff --git a/drivers/mfd/rk808.c b/drivers/mfd/rk808.c index fd087cbb0bde..

[PATCH v3] Revert "staging: radio-bcm2048: fixed bare use of unsigned int"

2017-03-26 Thread Eddie Youseph
This reverts previous changes to checkpatch warning: WARNING: Prefer 'unsigned int' to bare use of 'unsigned' --- Changes in v2: - Added changelog Changes in v3: - Revert changes to using bare unsigned drivers/staging/media/bcm2048/radio-bcm2048.c | 44 +--

Re: [PATCH] perf list sdt: Show option in man page

2017-03-26 Thread Masami Hiramatsu
On Mon, 27 Mar 2017 08:25:38 +0530 Ravi Bangoria wrote: > Commit 40218daea1db ("perf list: Show SDT and pre-cached events") added > sdt support in perf list, but it missed to update documentation. > > Show sdt option in man perf-list. > Good catch! Acked-by: Masami Hiramatsu Thanks! > Sign

[PATCH V5 2/4] dt-bindings: arm: Add bindings for SP9860G

2017-03-26 Thread Chunyan Zhang
Added bindings for Spreadtrum SP9860G board and SC9860 SoC. This patch also revised bindings of SC9836 to make the format more clear. Signed-off-by: Chunyan Zhang Acked-by: Rob Herring --- Documentation/devicetree/bindings/arm/sprd.txt | 13 - 1 file changed, 8 insertions(+), 5 dele

[PATCH V5 4/4] serial: sprd: adjust TIMEOUT to a big value

2017-03-26 Thread Chunyan Zhang
From: Wei Qiao SPRD_TIMEOUT was 256, which is too small to wait until the status switched to workable in a while loop, so that the earlycon could not work correctly. Signed-off-by: Wei Qiao Signed-off-by: Chunyan Zhang --- drivers/tty/serial/sprd_serial.c | 2 +- 1 file changed, 1 insertion(+

[PATCH V5 1/4] arm64: dts: Add basic DT to support Spreadtrum's SP9860G

2017-03-26 Thread Chunyan Zhang
From: Orson Zhai SC9860G is a 8 cores of A53 SoC with 4G LTE support SoC from Spreadtrum. According to regular hierarchy of sprd dts, whale2.dtsi contains SoC peripherals IP nodes, sc9860.dtsi contains stuff related to ARM core stuff and sp9860g dts is for the board level. Signed-off-by: Orson

[PATCH V5 3/4] dt-bindings: serial: add a new compatible string for SC9860

2017-03-26 Thread Chunyan Zhang
SC9860 use the same serial device which SC9836 uses, so added a new compatible string to support SC9860 as well, also added an example of how to describe this serial device in DT. Signed-off-by: Chunyan Zhang Acked-by: Rob Herring --- Documentation/devicetree/bindings/serial/sprd-uart.txt | 14

[PATCH V5 0/4] Add Spreadtrum SP9860G support

2017-03-26 Thread Chunyan Zhang
SC9860 is a Spreadtrum SoC with eight Cortex A53, which are divided into 4 Big cores and 4 little cores. This patch-set provides a basic configuration for SC9860 in device tree to make it run to console. After this we will continue to submit other device drivers step by step, which are using on m

Re: [PATCH] of: add stub for of_n_addr_cells

2017-03-26 Thread Tobias Regnery
On 24.03.17, Arnd Bergmann wrote: > On Fri, Mar 24, 2017 at 11:39 AM, Tobias Regnery > wrote: > > With CONFIG_OF=n and CONFIG_COMPILE_TEST=y the rcar pci-e driver fails to > > build on arm: > > > > drivers/pci/host/pcie-rcar.c: In function 'pci_dma_range_parser_init': > > drivers/pci/host/pcie-rca

Re: [PATCH v2] staging: radio-bcm2048: fixed bare use of unsigned int

2017-03-26 Thread Eddie Youseph
On Thu, 23 Mar 2017 14:31:53 +0100 Greg Kroah-Hartman wrote: > On Wed, Mar 22, 2017 at 01:33:39PM +1100, Eddie Youseph wrote: > > Fixed checkpatch WARNING: Prefer 'unsigned int' to bare use of 'unsigned' > > > > Signed-off-by: Eddie Youseph > > --- > > Changes in v2: > > - Added changelog >

Re: [v2 5/5] mm: teach platforms not to zero struct pages memory

2017-03-26 Thread Heiko Carstens
On Fri, Mar 24, 2017 at 03:19:52PM -0400, Pavel Tatashin wrote: > If we are using deferred struct page initialization feature, most of > "struct page"es are getting initialized after other CPUs are started, and > hence we are benefiting from doing this job in parallel. However, we are > still zeroi

Re: selinux: Delete an error message for a failed memory allocation in policydb_read()

2017-03-26 Thread SF Markus Elfring
> …, but I like the error message. How do you think about to pass the flag “__GFP_NOWARN” if you like this information more than the default error reporting of the function “kmalloc”? Regards, Markus

[PATCH 0/2] selftests: fix for KBUILD_OUTPUT

2017-03-26 Thread Bamvor Jian Zhang
These patches fix the two compile failures in x86 and net subnet repectively. Test the folowing build method successful: make -C tools/testing/selftests TARGETS=xxx make -C tools/testing/selftests TARGETS=xxx clean make -C tools/testing/selftests/xxx make -C tools/testing/selftests/xxx clean make

Re: [PATCH v10 07/11] btrfs_tree.h: fix include from userland

2017-03-26 Thread Masahiro Yamada
Hi Nicolas, 2017-03-14 21:54 GMT+09:00 Nicolas Dichtel : > This patch prepares the uapi export by fixing the following errors: > > .../linux/btrfs_tree.h:283:2: error: #error "UUID items require > BTRFS_UUID_SIZE == 16!" > #error "UUID items require BTRFS_UUID_SIZE == 16!" > > .../linux/btrfs_t

[PATCH 2/2] selftests: net: support KBUILD_OUTPUT for reuseport_bpf_numa

2017-03-26 Thread Bamvor Jian Zhang
reuseport_bpf_numa is not supported by KBUILD_OUTPUT machanism in net subset. This patch fix this by adding $(OUTPUT) before the target. Signed-off-by: Bamvor Jian Zhang --- tools/testing/selftests/net/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/testing/sel

[PATCH 1/2] selftests: fix the broken individual test for x86

2017-03-26 Thread Bamvor Jian Zhang
Andy Lutomirski report that build individual testcase in x86 is broken: $ make -C tools/testing/selftests/x86 ldt_gdt_32 make: Entering directory '/home/luto/apps/linux/tools/testing/selftests/x86' Makefile:44: warning: overriding recipe for target 'clean' ../lib.mk:55: warning: ignoring old recip

[PATCH 4/5] fs/autofs4: Fix a dead URL to ftp.kernel.org

2017-03-26 Thread SeongJae Park
As ftp.kernel.org is closed [0], this commit fixes a dead URL to ftp.kernel.org in fs/autofs4/ to use www.kernel.org instead. [0] https://www.kernel.org/shutting-down-ftp-services.html Signed-off-by: SeongJae Park --- fs/autofs4/Kconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) dif

[PATCH 3/5] drivers/md: Fix a dead URL to ftp.kernel.org

2017-03-26 Thread SeongJae Park
As ftp.kernel.org is closed [0], this commit fixes a dead URL to ftp.kernel.org in drivers/md/ to use www.kernel.org instead. [0] https://www.kernel.org/shutting-down-ftp-services.html Signed-off-by: SeongJae Park --- drivers/md/Kconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) dif

Re: SELinux: Fine-tuning for several function implementations

2017-03-26 Thread SF Markus Elfring
> I've made it through the first half (23/46) and of those > I've merged patches …, 7, … It seems that you dropped this one while integrating the eighth update step. Regards, Markus

[PATCH] Input: melfas_mip4 - ensure that device is present

2017-03-26 Thread Dmitry Torokhov
Try a quick read from the device in mip4_query_device() to make sure that the device is there, as we do not consider failures to retrieve product name or resolution fatal. Signed-off-by: Dmitry Torokhov --- drivers/input/touchscreen/melfas_mip4.c | 11 +++ 1 file changed, 11 insertions(+

[PATCH 0/5] Fix dead URLs to ftp.kernel.org

2017-03-26 Thread SeongJae Park
URLs to `ftp.kernel.org` exist here and there though `ftp.kernel.org` is already dead [0]. This patchset fixes those URLs to use `www.kernel.org` instead. The change is splitted into multiple patches for independent review and merge of each maintainer, though the change is trivial. [0] https://w

[PATCH 2/5] drivers/block: Fix a dead URL to ftp.kernel.org

2017-03-26 Thread SeongJae Park
As ftp.kernel.org is closed [0], this commit fixes a dead URL to ftp.kernel.org in drivers/block/ to use www.kernel.org instead. [0] https://www.kernel.org/shutting-down-ftp-services.html Signed-off-by: SeongJae Park --- drivers/block/Kconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-

[PATCH 5/5] scripts: Fix dead URLs to ftp.kernel.org

2017-03-26 Thread SeongJae Park
As ftp.kernel.org is closed [0], this commit fixes dead URLs to ftp.kernel.org in scripts/ to use www.kernel.org instead. [0] https://www.kernel.org/shutting-down-ftp-services.html Signed-off-by: SeongJae Park --- scripts/ksymoops/README | 5 ++--- scripts/package/builddeb | 4 ++-- 2 files ch

[PATCH 1/5] MAINTAINERS: Fix a dead URL to ftp.kernel.org

2017-03-26 Thread SeongJae Park
As ftp.kernel.org is closed [0], this commit fixes a dead URL to ftp.kernel.org in MAINTAINERS file to use www.kernel.org instead. [0] https://www.kernel.org/shutting-down-ftp-services.html Signed-off-by: SeongJae Park --- MAINTAINERS | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff

RE: [alsa-devel] [PATCH] ASoC: Add support for Maxim Integrated MAX98927 Amplifier

2017-03-26 Thread Ryans Lee
> -Original Message- > From: Charles Keepax [mailto:ckee...@opensource.wolfsonmicro.com] > Sent: Monday, March 20, 2017 7:14 AM > To: Ryans Lee > Cc: lgirdw...@gmail.com; broo...@kernel.org; robh...@kernel.org; > mark.rutl...@arm.com; pe...@perex.cz; ti...@suse.com; > kuninori.morimoto..

Re: [PATCH] PCI: dwc: fix crash seen due to missing ops

2017-03-26 Thread Kishon Vijay Abraham I
Hi, On Thursday 23 March 2017 01:10 PM, Niklas Cassel wrote: > On 03/22/2017 04:47 PM, Joao Pinto wrote: >> Hi Niklas, >> >> Às 2:43 PM de 3/21/2017, Niklas Cassel escreveu: >>> From: Niklas Cassel >>> >>> Fix the following crash, seen in dwc/pcie-artpec6. >>> >>> Unable to handle kernel NULL p

linux-next: Tree for Mar 27

2017-03-26 Thread Stephen Rothwell
Hi all, Changes since 20170324: The gfs2 tree gained conflicts against the net tree. The kspp tree gained a conflict against the drm-misc tree. Non-merge commits (relative to Linus' tree): 4906 5492 files changed, 403174 insertions(+), 90419 deletions(-) --

Re: [PATCH v10 00/11] uapi: export all headers under uapi directories

2017-03-26 Thread Masahiro Yamada
Hi Nocolas, 2017-03-24 18:03 GMT+09:00 Nicolas Dichtel : > Le 24/03/2017 à 09:42, Masahiro Yamada a écrit : >> Hi Nicolas, >> >> >> 2017-03-24 17:32 GMT+09:00 Nicolas Dichtel : >>> Le 14/03/2017 à 13:54, Nicolas Dichtel a écrit : Patches #1 and #2 are just cleanup: some exported headers were

Re: linux-next: build warning after merge of the spi tree

2017-03-26 Thread Vignesh R
On Monday 27 March 2017 08:11 AM, Stephen Rothwell wrote: > Hi Mark, > > After merging the spi tree, today's linux-next build (x86_64 allmodconfig) > produced this warning: > > drivers/spi/spi-ti-qspi.c: In function 'ti_qspi_dma_xfer': > drivers/spi/spi-ti-qspi.c:398:21: warning: unused variabl

[PATCH v2] ASoC: Add support for Maxim Integrated MAX98927 Amplifier

2017-03-26 Thread Ryan Lee
Signed-off-by: Ryan Lee --- v2: Removed local register read/write function to avoid duplication of ASoC core function. .../devicetree/bindings/sound/max98927.txt | 39 + sound/soc/codecs/Kconfig | 5 + sound/soc/codecs/Makefile | 2

Re: [BUG nohz]: wrong user and system time accounting

2017-03-26 Thread lkml
On Thu, Mar 23, 2017 at 08:56:02PM -0400, Rik van Riel wrote: > On Thu, 2017-03-23 at 16:55 -0400, Luiz Capitulino wrote: > > When there are two or more tasks executing in user-space and > > taking 100% of a nohz_full CPU, top reports 70% system time > > and 30% user time utilization. Sometimes I'm

Re: [PATCH v10 11/11] uapi: export all arch specifics directories

2017-03-26 Thread Masahiro Yamada
Hi Nicolas, 2017-03-14 21:54 GMT+09:00 Nicolas Dichtel : > diff --git a/arch/cris/include/uapi/asm/Kbuild > b/arch/cris/include/uapi/asm/Kbuild > index d0c5471856e0..b15bf6bc0e94 100644 > --- a/arch/cris/include/uapi/asm/Kbuild > +++ b/arch/cris/include/uapi/asm/Kbuild > @@ -1,5 +1,2 @@ > # UAP

Re: [PATCH v10 01/11] h8300: put bitsperlong.h in uapi

2017-03-26 Thread Masahiro Yamada
Hi Nicolas, 2017-03-14 21:54 GMT+09:00 Nicolas Dichtel : > This header file is exported, thus move it to uapi. > > Signed-off-by: Nicolas Dichtel > -#endif /* __ASM_H8300_BITS_PER_LONG */ > diff --git a/arch/h8300/include/uapi/asm/bitsperlong.h > b/arch/h8300/include/uapi/asm/bitsperlong.h >

[PATCH RESEND] dmaengine: pl330: remove pdata based initialization

2017-03-26 Thread Marek Szyprowski
This driver is now used only on platforms which support device tree, so it is safe to remove legacy platform data based initialization code. Signed-off-by: Marek Szyprowski Reviewed-by: Ulf Hansson Acked-by: Arnd Bergmann For plat-samsung: Acked-by: Krzysztof Kozlowski --- This was earlier a p

Re: [RFC PATCH 1/1] tpm_tis: convert to using locality callbacks

2017-03-26 Thread Jarkko Sakkinen
On Sat, Mar 25, 2017 at 01:05:21PM -0700, Jerry Snitselaar wrote: > This patch converts tpm_tis to use of the new tpm class ops > request_locality, and relinquish_locality. > > With the move to using the callbacks, release_locality is changed so > that we now release the locality even if there is

Re: [tpmdd-devel] [PATCH v3 2/7] tpm: validate TPM 2.0 commands

2017-03-26 Thread Jarkko Sakkinen
On Mon, Mar 20, 2017 at 09:56:17AM +, alexander.stef...@infineon.com wrote: > > I think the most straight-forward way to sort this out would be to limit > > validation to the resource manager. > > Sounds good to me. > > > If I send a fix, would you care to test it? > > Sure, will do. > > Al

Re: [PATCH v2] dma: imx-sdma: add 1ms delay to ensure SDMA channel is stopped

2017-03-26 Thread Vinod Koul
On Thu, Mar 16, 2017 at 11:12:09PM -0700, jiada_w...@mentor.com wrote: > From: Jiada Wang > > sdma_disable_channel() cannot ensure dma is stopped to access > module's FIFOs. There is chance SDMA core is running and accessing > BD when disable of corresponding channel, this may cause sometimes > e

Re: [PATCH v4] tpm_crb: request and relinquish locality 0

2017-03-26 Thread Jarkko Sakkinen
On Sun, Mar 26, 2017 at 03:42:12PM -0700, Jerry Snitselaar wrote: > > Jarkko Sakkinen @ 2017-03-26 19:51 GMT: > > > WTF, I applied old patch version by mistake. Sorry about that and > > thanks for spotting that out. Better? > > > > /Jarkko > > > Looks good now. Great, thanks. /Jarkko

Re: [PATCH 1/2] dmaengine: qcom_hidma: disable/enable IRQs on pause/resume

2017-03-26 Thread Vinod Koul
On Sat, Mar 25, 2017 at 07:04:02PM -0400, Sinan Kaya wrote: > Once the channels are stopped, disable interrupts to make sure no new > HW interaction can happen. > > Similarly, re-enable the interrupts only if we know that channel is > operational again. Applied both, thanks -- ~Vinod

Re: [PATCH] ipmi: Fix kernel panic at ipmi_ssif_thread()

2017-03-26 Thread joechang
Hi Corey, Thanks your feedback and suggestion. :) I think you are right. It is better to allocate one new local variable to store i2c data and size that will be sent... I create new patch in following according to your suggestion. Could you help to review the patch again? From eec31f51acc7e019

Re: [PATCH v3 5/7] zram: Convert to using memset_l

2017-03-26 Thread Minchan Kim
On Fri, Mar 24, 2017 at 09:13:16AM -0700, Matthew Wilcox wrote: > From: Matthew Wilcox > > zram was the motivation for creating memset_l(). Minchan Kim sees a 7% > performance improvement on x86 with 100MB of non-zero deduplicatable > data: > > perf stat -r 10 dd if=/dev/zram0 of=/dev/n

Re: [PATCH 1/2] leds: Add driver for Qualcomm LPG

2017-03-26 Thread Bjorn Andersson
On Thu 23 Mar 13:37 PDT 2017, Pavel Machek wrote: > Hi! > > > The Light Pulse Generator (LPG) is a PWM-block found in a wide range of > > PMICs from Qualcomm. It can operate on fixed parameters or based on a > > lookup-table, altering the duty cycle over time - which provides the > > means for e.

[lkp-robot] [fsnotify] 0ee0efcf7c: kernel_BUG_at_fs/notify/inotify/inotify_user.c

2017-03-26 Thread kernel test robot
FYI, we noticed the following commit: commit: 0ee0efcf7c7968fb045454f621b5681e94b2c288 ("fsnotify: Move queueing of mark for destruction into fsnotify_put_mark()") https://git.kernel.org/cgit/linux/kernel/git/jack/linux-fs.git for_testing in testcase: trinity with following parameters:

[lkp-robot] [blk] 34dbad5d26: WARNING:at_block/blk-stat.c:#blk_free_queue_stats

2017-03-26 Thread kernel test robot
FYI, we noticed the following commit: commit: 34dbad5d26e2f4b88e60f0e9ad03f99480802812 ("blk-stat: convert to callback-based statistics reporting") https://git.kernel.org/cgit/linux/kernel/git/axboe/linux-block.git for-next in testcase: trinity with following parameters: runtime: 300s

Re: [PATCH v3] dmaengine: rcar-dmac: enable descriptor mode on 40bit

2017-03-26 Thread Vinod Koul
On Wed, Mar 22, 2017 at 04:22:36AM +, Kuninori Morimoto wrote: > > From: Kuninori Morimoto > > SYS-DMAC can use 40bit address transfer, and it supports Descriptor > Mode too. Current SYS-DMAC driver disables Descriptor Mode if it was > 40bit address today. But it can use Descriptor Mode with

Re: [PATCH v8 2/3] dmaengine: pl330: remove pdata based initialization

2017-03-26 Thread Vinod Koul
On Wed, Mar 22, 2017 at 09:22:23AM +0100, Marek Szyprowski wrote: > Hi Vinod > > > On 2017-02-09 15:22, Marek Szyprowski wrote: > >This driver is now used only on platforms which support device tree, so > >it is safe to remove legacy platform data based initialization code. > > > >Signed-off-by:

Re: [PATCH v1] Revert "extcon: usb-gpio: add support for ACPI gpio interface"

2017-03-26 Thread Chanwoo Choi
Hi Andy, On 2017년 03월 22일 03:37, Andy Shevchenko wrote: > The commit 942c7924a51e introduced a check for ACPI handle for the > device that never appears on any ACPI-enabled platform so far. It seems > a confusion with extcon-intel-int3496 which does support ACPI-enabled > platforms. > > Revert co

Re: [PATCH v3 1/3] crypto: hw_random - Add new Exynos RNG driver

2017-03-26 Thread PrasannaKumar Muralidharan
> Oh my, if you are right with your first guess, this is a bad DRNG design. > > Just out of curiousity: what happens if a caller invokes the seed function > twice or more times (each time with the sufficient amount of bits)? What is > your guess here? Should the second seed use the random data gen

Re: [PATCH v6 1/3] drm_fourcc: Add new P010, P016 video format

2017-03-26 Thread Ayaka
從我的 iPad 傳送 > Ander Conselvan De Oliveira 於 2017年3月14日 下午9:53 寫道: > >> On Tue, 2017-03-07 at 04:27 +0800, Ayaka wrote: >> >> 從我的 iPad 傳送 >> Ville Syrjälä 於 2017年3月7日 上午2:34 寫道: On Tue, Mar 07, 2017 at 01:58:23AM +0800, Ayaka wrote: 從我的 iPad 傳送 >> V

RE: [PATCH 1/2 v2] dt-bindings: qoriq-clock: Add coreclk

2017-03-26 Thread Andy Tang
PING! Regards, Yuantian > -Original Message- > From: Yuantian Tang [mailto:andy.t...@nxp.com] > Sent: Monday, March 20, 2017 10:37 AM > To: mturque...@baylibre.com > Cc: sb...@codeaurora.org; robh...@kernel.org; mark.rutl...@arm.com; > linux-...@vger.kernel.org; devicet...@vger.kernel.org

[BUG?] perf: dwarf unwind doesn't work correctly with -static

2017-03-26 Thread Masami Hiramatsu
Hello, On Fri, 24 Mar 2017 22:00:30 +0900 Masami Hiramatsu wrote: > On Thu, 23 Mar 2017 22:24:01 -0500 > Kim Phillips wrote: > > > On Thu, 23 Feb 2017 16:50:18 +0900 > > Masami Hiramatsu wrote: > > > > [sorry for the delay, I just saw this] > > > > > perf record -g dwarf (and perf report) d

[PATCH] rtc: cpcap: fix improper use of IRQ_NONE for request_threaded_irq

2017-03-26 Thread Tony Lindgren
There's a funny typo where IRQ_NONE is used instead of IRQF_TRIGGER_NONE for request_threaded_irq(). Let's fix it before it gets copied elsewhere. Fixes: dd3bf50b35e3 ("rtc: cpcap: new rtc driver") Cc: Sebastian Reichel Signed-off-by: Tony Lindgren --- drivers/rtc/rtc-cpcap.c | 4 ++-- 1 file c

Respond to me immediately!!

2017-03-26 Thread DR.ANTHONY EMMANUEL
Dear how are you, First I got your contact from yahoo Terrors search, when am searching for a foreigner, please I don’t now if you can keep secret? A word of your own as a human-being? As I have gone through your profile. Well I have a deal worth 5.5m$ from the dormant account in t

[lkp-robot] [ftrace] 42c269c88d: WARNING:at_kernel/trace/ftrace.c:#ftrace_bug

2017-03-26 Thread kernel test robot
FYI, we noticed the following commit: commit: 42c269c88dc146982a54a8267f71abc99f12852a ("ftrace: Allow for function tracing to record init functions on boot up") https://git.kernel.org/cgit/linux/kernel/git/rostedt/linux-trace.git ftrace/core in testcase: trinity with following parameters:

RE: [PATCH] ipmi: Fix kernel panic at ipmi_ssif_thread()

2017-03-26 Thread Joseph Chang
Hi Corey, Thanks your feedback and suggestion. :) I think you are right. It is better to allocate one new local variable to store i2c data and size to be send... I create new patch in following according to your suggestion. Could you help to review the patch again? >From eec31f51acc7e019fd0dcc51

[PATCH] perf list sdt: Show option in man page

2017-03-26 Thread Ravi Bangoria
Commit 40218daea1db ("perf list: Show SDT and pre-cached events") added sdt support in perf list, but it missed to update documentation. Show sdt option in man perf-list. Signed-off-by: Ravi Bangoria --- tools/perf/Documentation/perf-list.txt | 4 +++- 1 file changed, 3 insertions(+), 1 deletio

Re: [PATCH v3] Documentation: Input: Add uinput documentation

2017-03-26 Thread Marcos Paulo de Souza
On Mon, Mar 27, 2017 at 11:06:11AM +1000, Peter Hutterer wrote: > On Sun, Mar 26, 2017 at 01:48:12PM -0300, Marcos Paulo de Souza wrote: > > Signed-off-by: Marcos Paulo de Souza > > --- > > v2 -> v3: > > Changes in libevdev's description (suggested by Peter) > > Added uinput version check when

linux-next: build warning after merge of the spi tree

2017-03-26 Thread Stephen Rothwell
Hi Mark, After merging the spi tree, today's linux-next build (x86_64 allmodconfig) produced this warning: drivers/spi/spi-ti-qspi.c: In function 'ti_qspi_dma_xfer': drivers/spi/spi-ti-qspi.c:398:21: warning: unused variable 'dma_dev' [-Wunused-variable] struct dma_device *dma_dev = chan->devi

Re: [PATCH 4.10 012/167] mmc: sdhci-acpi: support deferred probe

2017-03-26 Thread Zhang Rui
On Sun, 2017-03-26 at 12:26 +0100, Andrey Utkin wrote: > On Fri, Mar 10, 2017 at 10:07:35AM +0100, Greg Kroah-Hartman wrote: > > > > 4.10-stable review patch.  If anyone has any objections, please let > > me know. > > > > -- > > > > From: Zhang Rui > > > > commit e28d6f048799ac

Re: [RFC PATCH kernel] gcc-goto.sh: Allow to pass with CONFIG_DEBUG_INFO_SPLIT=y

2017-03-26 Thread Alexey Kardashevskiy
On 15/03/17 13:27, Alexey Kardashevskiy wrote: > On 14/03/17 13:54, Alexey Kardashevskiy wrote: >> On 03/03/17 11:51, Alexey Kardashevskiy wrote: >>> With just CONFIG_DEBUG_INFO=y, the makefile adds "-g" to >>> KBUILD_CFLAGS/KBUILD_AFLAGS and the test passes. >>> >>> However, if CONFIG_DEBUG_INFO_S

Re: [PATCH v2] Documentation: Input: Add uinput documentation

2017-03-26 Thread Marcos Paulo de Souza
On Mon, Mar 27, 2017 at 08:52:58AM +1000, Peter Hutterer wrote: > On Sun, Mar 26, 2017 at 01:21:14PM -0300, Marcos Paulo de Souza wrote: > > On Fri, Mar 24, 2017 at 02:39:13PM +1000, Peter Hutterer wrote: > > > as usual, reading through these things multiple times means one spots a > > > couple of

Re: [PATCH] staging: media: atomisp: compress return logic

2017-03-26 Thread kbuild test robot
Hi Arushi, [auto build test ERROR on next-20170323] [cannot apply to linuxtv-media/master v4.9-rc8 v4.9-rc7 v4.9-rc6 v4.11-rc4] [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/Arushi-Singhal/stag

Re: [PATCH v2] kprobes: cleanup _kprobe_addr()

2017-03-26 Thread Masami Hiramatsu
On Fri, 24 Mar 2017 12:50:34 +0300 Dan Carpenter wrote: > The important bit here is that at the end of the function we know that > since "addr" isn't be NULL, it means we don't need to test > "addr + offset" for NULL. > > The NULL test generates a static checker warning because often something >

Re: [PATCH v7 5/9] media: venus: vdec: add video decoder files

2017-03-26 Thread Nicolas Dufresne
Le dimanche 26 mars 2017 à 00:30 +0200, Stanimir Varbanov a écrit : > > > +vb->planes[0].data_offset = data_offset; > > > +vb->timestamp = timestamp_us * NSEC_PER_USEC; > > > +vbuf->sequence = inst->sequence++; > > > > timestamp and sequence are only set for CAP

Re: [PATCH v3 1/3] mfd: intel_soc_pmic: Fix a mess with compilation units

2017-03-26 Thread Zhang Rui
On Sun, 2017-03-26 at 15:37 +0300, Andy Shevchenko wrote: > On Thu, 2017-03-23 at 12:12 +, Lee Jones wrote: > > > > On Fri, 17 Mar 2017, Andy Shevchenko wrote: > > > > > > > > Crystal Cove and Whiskey Cove are two different PMICs which are > > > installed on Intel Atom SoC based platforms. >

Re: [BUG nohz]: wrong user and system time accounting

2017-03-26 Thread Wanpeng Li
2017-03-24 4:55 GMT+08:00 Luiz Capitulino : > > When there are two or more tasks executing in user-space and > taking 100% of a nohz_full CPU, top reports 70% system time > and 30% user time utilization. Sometimes I'm even able to get > 100% system time and 0% user time. > > This was reproduced wit

Re: [PATCH] mmc: core: Do not hold re-tuning during CMD6 commands

2017-03-26 Thread Chaotian Jing
On Fri, 2017-03-24 at 11:49 +0100, Ulf Hansson wrote: > On 24 March 2017 at 10:40, Chaotian Jing wrote: > > On Fri, 2017-03-24 at 11:19 +0200, Adrian Hunter wrote: > >> On 24/03/17 10:32, Chaotian Jing wrote: > >> > On Fri, 2017-03-24 at 09:52 +0200, Adrian Hunter wrote: > >> >> On 24/03/17 08:19,

linux-next: manual merge of the kspp tree with the drm-misc tree

2017-03-26 Thread Stephen Rothwell
Hi Kees, Today's linux-next merge of the kspp tree got a conflict in: include/drm/drm_drv.h between commit: 91faa0478b59 ("drm: drop extern from function decls") from the drm-misc tree and commit: 6bbaac116552 ("initify: Mark functions with the __nocapture attribute") from the kspp tre

Re: [PATCH 1/2] net: netfilter: Remove typedef from "typedef struct field_t"

2017-03-26 Thread kbuild test robot
Hi Arushi, [auto build test ERROR on nf-next/master] [also build test ERROR on v4.11-rc4 next-20170324] [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/Arushi-Singhal/net-netfilters-Remove-typede

Re: [PATCH v3] Documentation: Input: Add uinput documentation

2017-03-26 Thread Peter Hutterer
On Sun, Mar 26, 2017 at 01:48:12PM -0300, Marcos Paulo de Souza wrote: > Signed-off-by: Marcos Paulo de Souza > --- > v2 -> v3: > Changes in libevdev's description (suggested by Peter) > Added uinput version check when using the old interface (suggested by Peter) > Removed section numbers from

RE: [PATCH] netvsc: fix dereference before null check errors

2017-03-26 Thread Haiyang Zhang
> -Original Message- > From: Colin King [mailto:colin.k...@canonical.com] > Sent: Saturday, March 25, 2017 10:27 AM > To: KY Srinivasan ; Haiyang Zhang > ; Stephen Hemminger ; > de...@linuxdriverproject.org; net...@vger.kernel.org > Cc: kernel-janit...@vger.kernel.org; linux-kernel@vger.k

Re: [PATCH v1] Revert "extcon: usb-gpio: add support for ACPI gpio interface"

2017-03-26 Thread Lu Baolu
Hi, On 03/24/2017 07:47 PM, Chanwoo Choi wrote: > Hi Lu Baolu, > > On 2017년 03월 24일 20:24, Andy Shevchenko wrote: >> On Fri, 2017-03-24 at 20:03 +0900, Chanwoo Choi wrote: >>> On 2017년 03월 22일 22:09, Andy Shevchenko wrote: On Wed, 2017-03-22 at 10:14 +0900, Chanwoo Choi wrote: > On 2017년

RE: [PATCH] netvsc: fix unititialized return value in variable ret

2017-03-26 Thread Haiyang Zhang
> -Original Message- > From: Colin King [mailto:colin.k...@canonical.com] > Sent: Saturday, March 25, 2017 10:17 AM > To: KY Srinivasan ; Haiyang Zhang > ; Stephen Hemminger ; > de...@linuxdriverproject.org; net...@vger.kernel.org > Cc: kernel-janit...@vger.kernel.org; linux-kernel@vger.k

Re: [PATCH 7/8] platform/x86: fujitsu-laptop: model-dependent sparse keymap overrides

2017-03-26 Thread Jonathan Woithe
On Mon, Mar 20, 2017 at 10:32:23AM +0100, Micha?? K??pie?? wrote: > Some laptop models need to have different keycodes assigned to hotkey > scancodes. Change the sparse keymap upon a DMI match, before the hotkey > input device is setup. > > Instead of using three different callbacks in the DMI ma

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

2017-03-26 Thread Stephen Rothwell
Hi all, Today's linux-next merge of the gfs2 tree got a conflict in: net/core/secure_seq.c between commit: 28ee1b746f49 ("secure_seq: downgrade to per-host timestamp offsets") from the net tree and commit: a30aad50c26c ("tcp: rename *_sequence_number() to *_seq_and_tsoff()") from the g

  1   2   3   >