Re: [PATCH] MAINTAINERS: add myself as Samsung SPI maintainer

2016-08-17 Thread Krzysztof Kozlowski
On Thu, Aug 18, 2016 at 8:44 AM, Andi Shyti wrote: > Create a new entry for the Samsung SPI driver supported by the > drivers/spi/spi-s3c* and remove it from its original place under > "ARM/SAMSUNG EXYNOS ARM ARCHITECTURES". > > The original maintainership inherited from the Samsung Exynos > ARM A

[PATCH 0/0] regmap: drop cache if the bus transfer error

2016-08-17 Thread Elaine Zhang
regmap_write ->_regmap_raw_write -->regcache_write first and than use map->bus->write to wirte i2c or spi But if the i2c or spi transfer failed, But the cache is updated, So if I use regmap_read will get the cache data which is not the real register value. I think the regmap should

Re: [PATCH V8 5/8] irqchip/gicv3-its: Refactor ITS DT init code to prepare for ACPI

2016-08-17 Thread Tomasz Nowicki
On 17.08.2016 17:58, Bjorn Helgaas wrote: On Wed, Aug 17, 2016 at 04:33:02PM +0800, Hanjun Guo wrote: On 2016/8/11 18:06, Tomasz Nowicki wrote: In order to add ACPI support we need to isolate ACPI&DT common code and move DT logic to corresponding functions. To achieve this we are using firmware

Re: [PATCH v8 1/2] Documentation: kdump: remind user of nr_cpus

2016-08-17 Thread Dave Young
On 08/17/16 at 07:36pm, Joe Perches wrote: > On Thu, 2016-08-18 at 10:31 +0800, Zhou Wenjian wrote: > > nr_cpus can help to save memory. So we should remind user of it. > > trivia: > > diff --git a/Documentation/kdump/kdump.txt b/Documentation/kdump/kdump.txt > [] > > @@ -390,9 +390,11 @@ Notes on

[PATCH 0/1] regmap: drop cache if the bus transfer error

2016-08-17 Thread Elaine Zhang
regmap_write ->_regmap_raw_write -->regcache_write first and than use map->bus->write to wirte i2c or spi But if the i2c or spi transfer failed, But the cache is updated, So if I use regmap_read will get the cache data which is not the real register value. Signed-off-by: Elaine Zhang --- drivers

[PATCH] MAINTAINERS: add myself as Samsung SPI maintainer

2016-08-17 Thread Andi Shyti
Create a new entry for the Samsung SPI driver supported by the drivers/spi/spi-s3c* and remove it from its original place under "ARM/SAMSUNG EXYNOS ARM ARCHITECTURES". The original maintainership inherited from the Samsung Exynos ARM Architecture is kept as it was (i.e. Kukjin and Krzysztof), I wi

Re: [PATCH v2 2/2] fs: super.c: Add tracepoint to get name of superblock shrinker

2016-08-17 Thread Michal Hocko
On Thu 18-08-16 07:32:39, Al Viro wrote: > On Thu, Aug 18, 2016 at 02:09:31AM -0400, Janani Ravichandran wrote: > > > static LIST_HEAD(super_blocks); > > @@ -64,6 +65,7 @@ static unsigned long super_cache_scan(struct shrinker > > *shrink, > > longinodes; > > > > sb = container_of(s

Re: musb: am3358: having problem with high-speed on usb1 at peripheral

2016-08-17 Thread Felipe Balbi
Hi, ayaka writes: >> On 08/13/2016 01:44 AM, Greg KH wrote: >>> On Sat, Aug 13, 2016 at 12:38:46AM +0800, ayaka wrote: >>> On 08/12/2016 03:40 PM, Greg KH wrote: > On Fri, Aug 12, 2016 at 10:23:15AM +0800, ayaka wrote: > Hello all: > I recently ad

Re: [PATCH v5 2/2] usb: typec: add driver for Intel Whiskey Cove PMIC USB Type-C PHY

2016-08-17 Thread Felipe Balbi
Hi, Peter Chen writes: > On Wed, Aug 17, 2016 at 03:53:24PM +0300, Felipe Balbi wrote: >> >> Hi, >> >> Heikki Krogerus writes: >> >> [...] >> >> > +static struct platform_driver wcove_typec_driver = { >> > + .driver = { >> > + .name = "bxt_wcove_usbc", >> > + }, >> > +

Re: [PATCH v2 2/2] fs: super.c: Add tracepoint to get name of superblock shrinker

2016-08-17 Thread Al Viro
On Thu, Aug 18, 2016 at 02:09:31AM -0400, Janani Ravichandran wrote: > static LIST_HEAD(super_blocks); > @@ -64,6 +65,7 @@ static unsigned long super_cache_scan(struct shrinker > *shrink, > longinodes; > > sb = container_of(shrink, struct super_block, s_shrink); > + trace_m

[GIT PULL] ARM: exynos: Fixes for v4.8

2016-08-17 Thread Krzysztof Kozlowski
Hi, A fix and a maintainers update for current release cycle (v4.8). Best regards, Krzysztof The following changes since commit 29b4817d4018df78086157ea3a55c1d9424a7cfc: Linux 4.8-rc1 (2016-08-07 18:18:00 -0700) are available in the git repository at: git://git.kernel.org/pub/scm/linux/k

Re: [PATCH V8 1/8] ACPI: I/O Remapping Table (IORT) initial support

2016-08-17 Thread Tomasz Nowicki
On 12.08.2016 18:33, Lorenzo Pieralisi wrote: Hi Tomasz, On Thu, Aug 11, 2016 at 12:06:31PM +0200, Tomasz Nowicki wrote: IORT shows representation of IO topology for ARM based systems. It describes how various components are connected together on parent-child basis e.g. PCI RC -> SMMU -> ITS. A

Re: [LKP] [x86/uaccess] 5b710f34e1: kernel BUG at mm/usercopy.c:75!

2016-08-17 Thread Ye Xiaolong
_clock+0x9/0xd >[ 178.350312] [<81081804>] ? sched_clock_cpu+0x19/0xc8 > > >FYI, raw QEMU command line is: > > qemu-system-i386 -enable-kvm -kernel > /pkg/linux/i386-randconfig-w0-08170631/gcc-6/5b710f34e194c6b7710f69fdb5d798fdf35b98c1/vmlinuz-4.7.0-4-g5b7

[PowerPC] today's main line failed to build on PowerPC

2016-08-17 Thread Abdul Haleem
Hi, The main line stable 4.8.0-rc2 failed to build on PowerPC with following build errors. config : pseries_le_defconfig Machine Type : PowerPC Bare Metal 09:34:22 00:04:59 INFO | make -j 160 vmlinux 09:34:24 00:05:01 ERROR| [stderr] arch/powerpc/mm/hash_low_32.S: Assembler messages: 09:34:

Re: [PATCH v2] xen: rename xen_pmu_init() in sys-hypervisor.c

2016-08-17 Thread Juergen Gross
On 02/08/16 08:53, Juergen Gross wrote: > There are two functions with name xen_pmu_init() in the kernel. Rename > the one in drivers/xen/sys-hypervisor.c to avoid shadowing the one in > arch/x86/xen/pmu.c > > To avoid the same problem in future rename some more functions. > > Signed-off-by: Juer

Re: [PATCH] Map in physical addresses in efi_map_region_fixed

2016-08-17 Thread Dave Young
On 08/17/16 at 11:00am, Alex Thorlton wrote: > On Wed, Aug 17, 2016 at 03:01:51PM +0800, Dave Young wrote: > > > > Why do you guys need the physical mapping all of a sudden? > > > > > > It's not that we need it all of the sudden, necessarily, it's just that > > > we've had to make other changes to

[PATCH v2 2/2] fs: super.c: Add tracepoint to get name of superblock shrinker

2016-08-17 Thread Janani Ravichandran
This patch adds a new tracepoint to gather specific name information of the superblock types. This tracepoint can be used in conjunction with mm_shrink_slab_start and mm_shrink_slab_end to get information like latency, number of objects scanned by that particular shrinker, etc. The shrinker struct

Re: [PATCH v3] xen: Make VPMU init message look less scary

2016-08-17 Thread Juergen Gross
On 02/08/16 09:22, Juergen Gross wrote: > The default for the Xen hypervisor is to not enable VPMU in order to > avoid security issues. In this case the Linux kernel will issue the > message "Could not initialize VPMU for cpu 0, error -95" which looks > more like an error than a normal state. > >

Observing Softlockup's while running heavy IOs

2016-08-17 Thread Sreekanth Reddy
Hi, Problem statement: Observing softlockups while running heavy IOs on 8 SSD drives connected behind our LSI SAS 3004 HBA. System configuration: OS & kernel version: Fedora 23, v4.2.3-300.fc23.x86_64 NUMA : disabled, CPUs : 24 logical cpus, SCSI_MQ: enabled Driver : mpt3sas, MSIx vectors: we ha

[x86/uaccess] 5b710f34e1: kernel BUG at mm/usercopy.c:75!

2016-08-17 Thread kernel test robot
/vm-lkp-wsx03-quantal-i386-6/boot-1-quantal-core-i386.cgz-5b710f34e194c6b7710f69fdb5d798fdf35b98c1-20160817-52554-1cf9h0a-0.yaml ARCH=i386 kconfig=i386-randconfig-w0-08170631 branch=linus/master commit=5b710f34e194c6b7710f69fdb5d798fdf35b98c1 BOOT_IMAGE=/pkg/linux/i386-randconfig-w0-08170631/gcc-6/5b710f34e194c6b7710f69fdb5d7

Re: [PATCH 2/2] dt-binding: remoteproc: Introduce ADSP loader binding

2016-08-17 Thread Bjorn Andersson
On Wed 17 Aug 10:27 PDT 2016, Bjorn Andersson wrote: > This document defines the binding for a component that loads firmware > and control the life cycle of the Qualcomm ADSP core. > > Signed-off-by: Bjorn Andersson > --- > .../devicetree/bindings/remoteproc/qcom,adsp.txt | 69 >

[PATCH v2 1/2] include: trace: Display names of shrinker callbacks

2016-08-17 Thread Janani Ravichandran
This patch enables the names of callbacks in mm_shrink_slab_start and mm_shrink_slab_end to be seen by userspace tools. This should give some information regarding the identity of the shrinkers being run. Signed-off-by: Janani Ravichandran --- include/trace/events/vmscan.h | 18 -

[PATCH v2 0/2] Get callbacks/names of shrinkers from tracepoints

2016-08-17 Thread Janani Ravichandran
Currently, it is not possible to know which shrinkers are being run. Even though the callbacks are printed using %pF in tracepoints mm_shrink_slab_start and mm_shrink_slab_end, they are not visible to userspace tools like perf. To address this, this patchset 1. Enables the display of names of shr

Re: [PATCH] Add Ingenic JZ4780 hardware RNG driver

2016-08-17 Thread PrasannaKumar Muralidharan
> I have just some minor comments below Appreciate your review. >> diff --git a/drivers/char/hw_random/jz4780-rng.c >> b/drivers/char/hw_random/jz4780-rng.c >> new file mode 100644 >> index 000..c9d2cde >> --- /dev/null >> +++ b/drivers/char/hw_random/jz4780-rng.c >> @@ -0,0 +1,105 @@ >> +/*

Re: [PATCH v2 1/3] dt-bindings: thermal: Add binding document for Mediatek thermal controller

2016-08-17 Thread Keerthy
On Thursday 18 August 2016 09:20 AM, Dawei Chien wrote: This adds the device tree binding documentation for the mediatek thermal controller found on Mediatek MT2701. Reviewed-by: Keerthy Signed-off-by: Dawei Chien --- .../bindings/thermal/mediatek-thermal.txt |4 +++- 1 fil

linux-next: Tree for Aug 18

2016-08-17 Thread Stephen Rothwell
Hi all, Changes since 20160817: New tree: vfs-miklos Removed trees: powerpc-merge-mpe, powerpc-mpe (no longer used) The netfilter-next tree gained a build failure so I used the version from next-20160817. The kbuild tree still had its build warnings for PowerPC, for which I reverted a commit

Re: perf: fuzzer: spinlock hang

2016-08-17 Thread Vince Weaver
On Wed, 17 Aug 2016, Peter Zijlstra wrote: > On Tue, Aug 09, 2016 at 11:51:48AM -0400, Vince Weaver wrote: > > > > So still haswell/4.8-rc1, after 6 hours of fuzzing this is where the > > system finally locked up permanently. > > > > It looks like some sort of spinlock error. > > The logs conti

[PATCH] fib_trie: Fix the description of pos and bits

2016-08-17 Thread Xunlei Pang
1) Fix one typo: s/tn/tp/ 2) Fix the description about the "u" bits. Signed-off-by: Xunlei Pang --- net/ipv4/fib_trie.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/net/ipv4/fib_trie.c b/net/ipv4/fib_trie.c index d07fc07..eb7c5d1 100644 --- a/net/ipv4/fib_trie.c +++ b/

Re: perf: rdpmc and PERF_EVENT_IOC_RESET

2016-08-17 Thread Vince Weaver
On Wed, 17 Aug 2016, Peter Zijlstra wrote: > Hurm.. I never considered using RESET with rdpmc(). The typical usage of > rdpmc() I considered is something like: I'm finally trying to hook up PAPI to properly use rdpmc and PAPI likes to use IOC_RESET in various places. I can just special case to

Re: [LKP] [lkp] [x86/hweight] 65ea11ec6a: will-it-scale.per_process_ops 9.3% improvement

2016-08-17 Thread Borislav Petkov
On Wed, Aug 17, 2016 at 08:54:11PM -0700, Huang, Ying wrote: > flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca > cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe syscall nx > pdpe1gb rdtscp lm constant_tsc arch_perfmon pebs bts rep_good nopl xtopology > n

Re: [LKP] [lkp] [x86/hweight] 65ea11ec6a: will-it-scale.per_process_ops 9.3% improvement

2016-08-17 Thread H. Peter Anvin
On August 17, 2016 8:45:13 PM PDT, Borislav Petkov wrote: >On Wed, Aug 17, 2016 at 03:29:04PM -0700, Huang, Ying wrote: >> branch-miss-rate decreased from ~0.30% to ~0.043%. >> >> So I guess there are some code alignment change, which caused >decreased >> branch miss rate. > >Hrrm, I still can't

Re: [LKP] [lkp] [x86/hweight] 65ea11ec6a: will-it-scale.per_process_ops 9.3% improvement

2016-08-17 Thread Huang, Ying
Borislav Petkov writes: > On Wed, Aug 17, 2016 at 03:29:04PM -0700, Huang, Ying wrote: >> branch-miss-rate decreased from ~0.30% to ~0.043%. >> >> So I guess there are some code alignment change, which caused decreased >> branch miss rate. > > Hrrm, I still can't imagine how that would happen if

[PATCH v2 0/3] Add Mediatek thermal driver for mt2701

2016-08-17 Thread Dawei Chien
This series support for mt2701 chip to mtk_thermal.c, and integrate both mt8173 and mt2701 on the same driver. MT8173 has four banks and five sensors, and MT2701 has only one bank and three sensors. Change since V1: 1. Restore macro name with MT8173 for nvmem calibration data since original macro

ptrace group stop signal number not reset before PTRACE_INTERRUPT is delivered?

2016-08-17 Thread Keno Fischer
Consider below test case (not all of it is necessary for reproducing the behavior in question, but I wanted to cover related cases as well to make sure they behave as expected). In this test case, the last group-stop (after PTRACE_INTERRUPT) is delivered with a WSTOPSIG(status) of SIGTTIN, which wa

[PATCH v2 1/3] dt-bindings: thermal: Add binding document for Mediatek thermal controller

2016-08-17 Thread Dawei Chien
This adds the device tree binding documentation for the mediatek thermal controller found on Mediatek MT2701. Signed-off-by: Dawei Chien --- .../bindings/thermal/mediatek-thermal.txt |4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/Documentation/devicetree/bindi

[PATCH v2 3/3] arm: dts: thermal: add thermal/auxadc node.

2016-08-17 Thread Dawei Chien
This adds the thermal controller and auxadc nodes to the Mediatek MT2701 dtsi file. Signed-off-by: Dawei Chien --- This patch depned on: https://patchwork.kernel.org/patch/9249589/ --- arch/arm/boot/dts/mt2701.dtsi | 44 + 1 file changed, 44 insertions(+

[PATCH v2 2/3] thermal: Add Mediatek thermal driver for mt2701.

2016-08-17 Thread Dawei Chien
This patch adds support for mt2701 chip to mtk_thermal, and integrate both mt8173 and mt2701 on the same driver. MT8173 has four banks and five sensors, and MT2701 has only one bank and three sensors. Signed-off-by: Dawei Chien --- This patch dependents on "Add clock support for Mediatek MT2701"[

Re: [LKP] [lkp] [x86/hweight] 65ea11ec6a: will-it-scale.per_process_ops 9.3% improvement

2016-08-17 Thread Borislav Petkov
On Wed, Aug 17, 2016 at 03:29:04PM -0700, Huang, Ying wrote: > branch-miss-rate decreased from ~0.30% to ~0.043%. > > So I guess there are some code alignment change, which caused decreased > branch miss rate. Hrrm, I still can't imagine how that would happen if the machine supports POPCNT and we

RE: Support for configurable PCIe endpoint

2016-08-17 Thread Mingkai Hu
> -Original Message- > From: Kishon Vijay Abraham I [mailto:kis...@ti.com] > Sent: Thursday, August 04, 2016 6:02 PM > To: Joao Pinto ; bhelg...@google.com; linux- > p...@vger.kernel.org; a...@arndb.de; Jingoo Han ; > Pratyush Anand > Cc: Ley Foon Tan ; Rob Herring ; > Tanmay Inamdar ; R

Re: [PATCH] zram: clean up valid_io_request

2016-08-17 Thread Sergey Senozhatsky
Hi, On (08/18/16 11:08), Shawn Lin wrote: [..] > diff --git a/drivers/block/zram/zram_drv.c b/drivers/block/zram/zram_drv.c > index 04365b1..1094e95 100644 > --- a/drivers/block/zram/zram_drv.c > +++ b/drivers/block/zram/zram_drv.c > @@ -120,15 +120,15 @@ static inline bool valid_io_request(struct

Re: Context switch latency in tickless isolated CPU

2016-08-17 Thread GeHao Kang
Hi Chris, Thanks for your reply. Is the increased time fixed in each context switch? Because this increased time will be the latency of the real time application, we hope to confirm it. Thanks. Regards, - Kang On Wed, Aug 17, 2016 at 8:18 PM, Chris Metcalf wrote: > On 8/17/2016 2:26 AM, GeH

Re: [LKP] [lkp] [sctp] a6c2f79287: netperf.Throughput_Mbps -37.2% regression

2016-08-17 Thread Aaron Lu
On Thu, Aug 18, 2016 at 02:06:50AM +0800, Xin Long wrote: > > > > It doesn't seem memory is an issue. > > > > The whole dump is about the same. > > The MemFree and MemAvailable doesn't change much. > > > Hi, Aaron > > 1) > I talked with Marcelo about this one. > He said it might be related with ca

[PATCH v9 0/2] update the doc of kdump

2016-08-17 Thread Zhou Wenjian
v8->v9: rearrange the patch. it won't fix typo which original exists. those should be fixed in other patch, which I'll post later. v7->v8: fix "a SMP kernel" to "an SMP kernel" and replace "\" with "/" v6->v7: fix typo v5->v6: replace "we" with "you" v4->v5: move change log to cover

[PATCH] zram: clean up valid_io_request

2016-08-17 Thread Shawn Lin
Use IS_ALIGNED instead of opencoding to check the unaligned case. And size is aligned to ZRAM_LOGICAL_BLOCK_SIZE which will not make end <= start, so we do not need to compare the start and end. Signed-off-by: Shawn Lin --- drivers/block/zram/zram_drv.c | 6 +++--- 1 file changed, 3 insertions(

[PATCH v9 1/2] Documentation: kdump: remind user of nr_cpus

2016-08-17 Thread Zhou Wenjian
nr_cpus can help to save memory. So we should remind user of it. Signed-off-by: Zhou Wenjian Acked-by: Baoquan He Acked-by: Xunlei Pang --- Documentation/kdump/kdump.txt | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Documentation/kdump/kdump.txt b/Documentation/kdump/kdump.txt index 88

[PATCH v9 2/2] Documentation: kdump: add description of enable multi-cpus support

2016-08-17 Thread Zhou Wenjian
multi-cpu support is useful to improve the performance of kdump in some cases. So add the description of enable multi-cpu support in dump-capture kernel. Signed-off-by: Zhou Wenjian Acked-by: Baoquan He Acked-by: Xunlei Pang --- Documentation/kdump/kdump.txt | 7 +++ 1 file changed, 7 inse

[git pull] drm fixes

2016-08-17 Thread Dave Airlie
Hi Linus, Pretty quiet so far, a few amdgpu/radeon fixup for pcie pm changes, and a couple of amdgpu fixes, along with some build fixes, and printk fix. Dave. The following changes since commit 4b9eaf33d83d91430b7ca45d0ebf8241da489c92: Merge branch 'akpm' (patches from Andrew) (2016-08-11 16

Re: [PATCH v9 4/4] arm64: dts: rockchip: configure usb2-phy support for rk3399-evb

2016-08-17 Thread Frank Wang
On 2016/8/17 18:02, Heiko Stübner wrote: Am Freitag, 22. Juli 2016, 15:00:46 schrieb Frank Wang: Add vcc5v0_host regulator for usb2-phy and enable host-port support. Signed-off-by: Frank Wang applied to ny dts64 branch [0] with some changes: - the pin is named vcc5v0_host_en not host_vbus_dr

Re: [LKP] [lkp] [xfs] 68a9f5e700: aim7.jobs-per-min -13.6% regression

2016-08-17 Thread Dave Chinner
On Wed, Aug 17, 2016 at 04:49:07PM +0100, Mel Gorman wrote: > On Tue, Aug 16, 2016 at 10:47:36AM -0700, Linus Torvalds wrote: > > I've always preferred to see direct reclaim as the primary model for > > reclaim, partly in order to throttle the actual "bad" process, but > > also because "kswapd uses

Re: [PATCH v8 1/2] Documentation: kdump: remind user of nr_cpus

2016-08-17 Thread Joe Perches
On Thu, 2016-08-18 at 10:31 +0800, Zhou Wenjian wrote: > nr_cpus can help to save memory. So we should remind user of it. trivia: > diff --git a/Documentation/kdump/kdump.txt b/Documentation/kdump/kdump.txt [] > @@ -390,9 +390,11 @@ Notes on loading the dump-capture kernel: >  * Boot parameter "1"

Re: [PATCH 15/15] block: Add FIXME comment to handle device_add_disk error

2016-08-17 Thread Sergey Senozhatsky
On (08/17/16 15:15), Fam Zheng wrote: [..] > ( > rc = device_add_disk(e1, e2, e3); > | > + /* FIXME: handle error. */ > device_add_disk(e1, e2, e3); or use __must_check for device_add_disk() function? /* which is _attribute__((warn_unused_result)) */ -ss

[PATCH v8 2/2] Documentation: kdump: add description of enable multi-cpus support

2016-08-17 Thread Zhou Wenjian
multi-cpu support is useful to improve the performance of kdump in some cases. So add the description of enable multi-cpu support in dump-capture kernel. Signed-off-by: Zhou Wenjian Acked-by: Baoquan He Acked-by: Xunlei Pang --- Documentation/kdump/kdump.txt | 7 +++ 1 file changed, 7 inse

[PATCH v8 0/2] update the doc of kdump

2016-08-17 Thread Zhou Wenjian
v7->v8: fix "a SMP kernel" to "an SMP kernel" and replace "\" with "/" v6->v7: fix typo v5->v6: replace "we" with "you" v4->v5: move change log to cover letter v3->v4: update the description of bring up SMP dump-capture kernel v2->v3: add description of nr_cpus. v1->v2: change nr_cpus to maxcpus Z

[PATCH v8 1/2] Documentation: kdump: remind user of nr_cpus

2016-08-17 Thread Zhou Wenjian
nr_cpus can help to save memory. So we should remind user of it. Signed-off-by: Zhou Wenjian Acked-by: Baoquan He Acked-by: Xunlei Pang --- Documentation/kdump/kdump.txt | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/Documentation/kdump/kdump.txt b/Documentation/kdump/k

Re: [PATCH v3 0/4] Amlogic: Meson: Add reset controller

2016-08-17 Thread Kevin Hilman
On Wed, Aug 17, 2016 at 9:15 PM, Kevin Hilman wrote: > Hi Philipp, > > On Thu, Jun 2, 2016 at 2:42 AM, Philipp Zabel wrote: >> Hi Neil, >> >> Am Montag, den 30.05.2016, 15:27 +0200 schrieb Neil Armstrong: >>> Patchset to add and enable the reset controller driver on Meson SoCs >>> platforms. >>>

Re: [PATCH v10 1/2] printk: Make printk() completely async

2016-08-17 Thread Sergey Senozhatsky
Hello, really sorry for very long reply. On (08/12/16 11:44), Petr Mladek wrote: [..] > IMHO, this is fine. We force the synchronous mode in critical > situations anyway. yes, I think it makes sense to lower the priority (we also have briefly discussed this in private emails with Viresh). I'd st

Fast Loans

2016-08-17 Thread Financial Service
Apply for a loan at 2% reply to this Email for more Info

Re: [PATCH] time: alarmtimer: Add the trcepoints for alarmtimer

2016-08-17 Thread Baolin Wang
Hi John, On 18 August 2016 at 04:00, John Stultz wrote: > On Fri, Aug 12, 2016 at 2:16 AM, Baolin Wang wrote: >> For system debugging, we usually want to know who sets one alarm timer, the >> time of the timer, when the timer started and fired and so on. >> >> Thus adding tracepoints can help us

Re: [PATCH v3 0/4] Amlogic: Meson: Add reset controller

2016-08-17 Thread Kevin Hilman
Hi Philipp, On Thu, Jun 2, 2016 at 2:42 AM, Philipp Zabel wrote: > Hi Neil, > > Am Montag, den 30.05.2016, 15:27 +0200 schrieb Neil Armstrong: >> Patchset to add and enable the reset controller driver on Meson SoCs >> platforms. >> >> This reset controller has up to 256 reset lines with reset pu

Re: [PATCH v7 2/2] Documentation: kdump: add description of enable multi-cpus support

2016-08-17 Thread Xunlei Pang
On 2016/08/18 at 09:50, Zhou Wenjian wrote: > multi-cpu support is useful to improve the performance of kdump in > some cases. So add the description of enable multi-cpu support in > dump-capture kernel. > > Signed-off-by: Zhou Wenjian > Acked-by: Baoquan He > --- > Documentation/kdump/kdump.txt

Re: [PATCH 11/15] zram: Pass attribute group to device_add_disk

2016-08-17 Thread Sergey Senozhatsky
On (08/18/16 10:59), Sergey Senozhatsky wrote: [..] > I like the previous "Error creating sysfs group for device" string better, > than "Error creating disk", because the latter one is much less informative. > > do you want to do something like below? > > int device_add_disk(struct device *parent

Re: [PATCH 11/15] zram: Pass attribute group to device_add_disk

2016-08-17 Thread Sergey Senozhatsky
Hello, On (08/17/16 15:15), Fam Zheng wrote: [..] > diff --git a/drivers/block/zram/zram_drv.c b/drivers/block/zram/zram_drv.c > index 20920a2..2331788 100644 > --- a/drivers/block/zram/zram_drv.c > +++ b/drivers/block/zram/zram_drv.c > @@ -1298,13 +1298,10 @@ static int zram_add(void) >

linux-next: build failure after merge of the netfilter-next tree

2016-08-17 Thread Stephen Rothwell
track_ipv4.ko] undefined! Caused by commit adf0516845bc ("netfilter: remove ip_conntrack* sysctl compat code") or maybe 92e47ba8839b ("netfilter: conntrack: simplify the code by using nf_conntrack_get_ht") I have used the netfilter-next tree from next-20160817 for today. -- Cheers, Stephen Rothwell

[PATCH v7 0/2] update the doc of kdump

2016-08-17 Thread Zhou Wenjian
v6->v7: fix typo v5->v6: replace "we" with "you" v4->v5: move change log to cover letter v3->v4: update the description of bring up SMP dump-capture kernel v2->v3: add description of nr_cpus. v1->v2: change nr_cpus to maxcpus Zhou Wenjian (2): Documentation: kdump: remind user of nr_cpus Docu

[PATCH v7 1/2] Documentation: kdump: remind user of nr_cpus

2016-08-17 Thread Zhou Wenjian
nr_cpus can help to save memory. So we should remind user of it. Signed-off-by: Zhou Wenjian Acked-by: Baoquan He --- Documentation/kdump/kdump.txt | 2 +++- 1 file changed, 2 insertions(+) diff --git a/Documentation/kdump/kdump.txt b/Documentation/kdump/kdump.txt index 88ff63d..96da2b7 100644

[PATCH v7 2/2] Documentation: kdump: add description of enable multi-cpus support

2016-08-17 Thread Zhou Wenjian
multi-cpu support is useful to improve the performance of kdump in some cases. So add the description of enable multi-cpu support in dump-capture kernel. Signed-off-by: Zhou Wenjian Acked-by: Baoquan He --- Documentation/kdump/kdump.txt | 7 +++ 1 file changed, 7 insertions(+) diff --git a

RE: [PATCH v2 6/9] mtd: spi-nor: Support R/W for S25FS-S family flash

2016-08-17 Thread Yunhui Cui
On August 06, 2016 10:27 PM, Jagan Teki wrote: > On 22 April 2016 at 12:09, Yunhui Cui wrote: > > From: Yunhui Cui > > > > With the physical sectors combination, S25FS-S family flash requires > > some special operations for read/write functions. > > > > Signed-off-by: Yunhui Cui > > --- > >

Re: [PATCH 06/15] genhd: Add return code to device_add_disk

2016-08-17 Thread Ed Cashin
On 08/17/2016 05:14 AM, Fam Zheng wrote: ... Of course, the plan is to write patches on top. I'm not cleaning up anything here because I'm concerned callers may double free (and I didn't look hard into that). Aside from Huck's concerns, the changes looked OK from aoe's perspective. -- Ed

Re: [PATCH] extcon: Introduce EXTCON_PROP_USB_SUPERSPEED property

2016-08-17 Thread Chanwoo Choi
On 2016년 08월 18일 09:41, Guenter Roeck wrote: > On Wed, Aug 17, 2016 at 5:37 PM, Chanwoo Choi wrote: >> Hi Guenter, >> >> How about changing the property name for SuperSpeed as following? >> It is more simple and reduce the length of property name. >> - EXTCON_PROP_USB_SUPERSPEED -> EXTCON_PROP_USB

[RFC PATCH 2/3] tty: serial_core: make tty_struct optional

2016-08-17 Thread Rob Herring
In order to allow serial drivers to work without a tty, make calls from drivers and serial_core work when tty_struct is NULL. Signed-off-by: Rob Herring --- drivers/tty/serial/serial_core.c | 3 ++- drivers/tty/tty_buffer.c | 2 ++ include/linux/serial_core.h | 2 +- 3 files changed

[RFC PATCH 3/3] tty: serial_core: add uart controller registration

2016-08-17 Thread Rob Herring
Register serial ports with the uart device core as a controller and add a receive handler call. Signed-off-by: Rob Herring --- drivers/tty/serial/serial_core.c | 8 include/linux/serial_core.h | 1 + 2 files changed, 9 insertions(+) diff --git a/drivers/tty/serial/serial_core.c b/

[RFC PATCH 0/3] UART slave device bus

2016-08-17 Thread Rob Herring
Currently, devices attached via a UART are not well supported in the kernel. The problem is the device support is done in tty line disciplines, various platform drivers to handle some sideband, and in userspace with utilities such as hciattach. There have been several attempts to improve support,

[RFC PATCH 1/3] uart bus: Introduce new bus for UART slave devices

2016-08-17 Thread Rob Herring
The UART bus is designed for slave devices such as Bluetooth, WiFi, GPS and NFC connected to UARTs on host processors. Tradionally these have been handled with tty line disciplines, rfkill, and userspace glue such as hci_attach. This approach has many drawbacks since it doesn't fit into the Linux d

Re: linux-next: build warnings after merge of the kbuild tree

2016-08-17 Thread Nicholas Piggin
On Wed, 17 Aug 2016 14:59:59 +0200 Michal Marek wrote: > On 2016-08-17 03:44, Stephen Rothwell wrote: > > Hi Michal, > > > > After merging the kbuild tree, today's linux-next build (powerpc > > ppc64_defconfig) produced these warnings: > > > > WARNING: 25 bad relocations > > c0cf2570 R_

Re: [PATCH] ARM: cpuidle: Fix error return code

2016-08-17 Thread Rafael J. Wysocki
On Wednesday, August 17, 2016 04:16:09 PM Daniel Lezcano wrote: > On 08/11/2016 03:02 PM, Christophe JAILLET wrote: > > We know that 'ret = 0' because it has been tested a few lines above. > > So, if 'kzalloc' fails, 0 will be returned instead of an error code. > > Return -ENOMEM instead. > > > >

Re: [RESEND PATCH 1/1] bitops.h: move out get_count_order[_long]() from __KERNEL__ scope

2016-08-17 Thread Al Viro
On Thu, Aug 18, 2016 at 07:51:19AM +0800, zijun_hu wrote: > > What the hell is anything without __KERNEL__ doing with linux/bitops.h in > > the first place? IOW, why do we have those ifdefs at all? > > > > __KERNEL__ is used to indicate the relevant sections within kernel > headers can't be expo

RE: [PATCH v3 kernel 0/7] Extend virtio-balloon for fast (de)inflating & fast live migration

2016-08-17 Thread Li, Liang Z
Hi Michael, Could you help to review this version when you have time? Thanks! Liang > -Original Message- > From: Li, Liang Z > Sent: Monday, August 08, 2016 2:35 PM > To: linux-kernel@vger.kernel.org > Cc: virtualizat...@lists.linux-foundation.org; linux...@kvack.org; virtio- > d...@lis

Re: [PATCH] timekeeping: Cap array access in timekeeping_debug to protect against invalid sleep times

2016-08-17 Thread Rafael J. Wysocki
On Wednesday, August 17, 2016 12:18:50 PM John Stultz wrote: > It was reported that hibernation could fail on the 2nd attempt, > where the system hangs at hibernate() -> syscore_resume() -> > i8237A_resume() -> claim_dma_lock(), because the lock has > already been taken. > > However there is actua

[PATCH v3 3/3] Documentation: livepatch: add section about arch-specific code

2016-08-17 Thread Jessica Yu
Document usage of arch-specific elf sections in livepatch as well as implementation of arch-specific code. Signed-off-by: Jessica Yu --- Documentation/livepatch/module-elf-format.txt | 20 1 file changed, 16 insertions(+), 4 deletions(-) diff --git a/Documentation/livepatch

[PATCH v3 0/3] Fix issue with alternatives/paravirt patches

2016-08-17 Thread Jessica Yu
Hi, A few months ago, Chris Arges reported a bug involving alternatives/paravirt patching that was discussed here [1] and here [2]. To briefly summarize the bug, patch modules that contained .altinstructions or .parainstructions sections would break because these alternative/paravirt patches would

[PATCH v3 2/3] livepatch/x86: apply alternatives and paravirt patches after relocations

2016-08-17 Thread Jessica Yu
Implement arch_klp_init_object_loaded() for x86, which applies alternatives/paravirt patches. This fixes the order in which relocations and alternatives/paravirt patches are applied. Previously, if a patch module had alternatives or paravirt patches, these were applied first by the module loader b

[PATCH v3 1/3] livepatch: use arch_klp_init_object_loaded() to finish arch-specific tasks

2016-08-17 Thread Jessica Yu
Introduce arch_klp_init_object_loaded() to complete any additional arch-specific tasks during patching. Architecture code may override this function. Signed-off-by: Jessica Yu --- include/linux/livepatch.h | 3 +++ kernel/livepatch/core.c | 16 +--- 2 files changed, 16 insertions(

[PATCH v4 4/4] gpu: ipu-ic: allow multiple handles to ic

2016-08-17 Thread Steve Longerbeam
The image converter kernel API supports conversion contexts and job queues, so we should allow more than one handle to the IC, so that multiple users can add jobs to the queue. Note however that users that control the IC manually (that do not use the image converter APIs but setup the IC task by h

[PATCH v4 3/4] gpu: ipu-ic: Add complete image conversion support with tiling

2016-08-17 Thread Steve Longerbeam
This patch implements complete image conversion support to ipu-ic, with tiling to support scaling to and from images up to 4096x4096. Image rotation is also supported. The internal API is subsystem agnostic (no V4L2 dependency except for the use of V4L2 fourcc pixel formats). Callers prepare for

Re: [RESEND PATCH 1/1] bitops.h: move out get_count_order[_long]() from __KERNEL__ scope

2016-08-17 Thread zijun_hu
On 2016/8/18 8:28, Al Viro wrote: > On Thu, Aug 18, 2016 at 08:10:19AM +0800, zijun_hu wrote: > >> Documentation/kbuild/makefiles.txt: >> The kernel includes a set of headers that is exported to userspace. >> Many headers can be exported as-is but other headers require a >> minimal pre-processing

[PATCH v4 1/4] gpu: ipu-v3: Add Video Deinterlacer unit

2016-08-17 Thread Steve Longerbeam
Adds the Video Deinterlacer (VDIC) unit. Signed-off-by: Steve Longerbeam --- v4: - pruned included headers. v3: - renamed and exported ipu_vdi_set_top_field_man() to ipu_vdi_set_field_order(). Args include std and field to determine correct field order. - exported ipu_vdi_set_motion(). - i

[PATCH v4 2/4] gpu: ipu-v3: Add FSU channel linking support

2016-08-17 Thread Steve Longerbeam
Adds functions to link and unlink source channels to sink channels in the FSU: int ipu_fsu_link(struct ipu_soc *ipu, int src_ch, int sink_ch); int ipu_fsu_unlink(struct ipu_soc *ipu, int src_ch, int sink_ch); The channels numbers are usually IDMAC channels, but they can also be channels that do n

[PATCH v4 0/4] IPUv3 prep for i.MX5/6 v4l2 staging drivers, v4

2016-08-17 Thread Steve Longerbeam
In this version: - rebased against latest drm-next. - cleaned up header includes in ipu-vdi.c. - do away with struct ipu_ic_tile_off in ipu-ic.c, and move tile offsets into struct ipu_ic_tile. This paves the way for possibly allowing for each tile to have different dimensions in the future.

Re: [PATCH] extcon: Introduce EXTCON_PROP_USB_SUPERSPEED property

2016-08-17 Thread Chanwoo Choi
Hi Guenter, How about changing the property name for SuperSpeed as following? It is more simple and reduce the length of property name. - EXTCON_PROP_USB_SUPERSPEED -> EXTCON_PROP_USB_SS Regards, Chanwoo Choi On 2016년 08월 16일 10:41, Guenter Roeck wrote: > On Mon, Aug 15, 2016 at 5:55 PM, Chanwoo

Re: [PATCH] extcon: axp288: fix spelling mistake: "connecetd" -> "connected"

2016-08-17 Thread Chanwoo Choi
On 2016년 08월 18일 03:02, Colin King wrote: > From: Colin Ian King > > trivial fix to spelling mistake in dev_dbg messages > > Signed-off-by: Colin Ian King > --- > drivers/extcon/extcon-axp288.c | 6 +++--- > 1 file changed, 3 insertions(+), 3 deletions(-) > > diff --git a/drivers/extcon/extco

Re: [LKP] [lkp] [xfs] 68a9f5e700: aim7.jobs-per-min -13.6% regression

2016-08-17 Thread Mel Gorman
On Wed, Aug 17, 2016 at 04:49:07PM +0100, Mel Gorman wrote: > > Yes, we could try to batch the locking like DaveC already suggested > > (ie we could move the locking to the caller, and then make > > shrink_page_list() just try to keep the lock held for a few pages if > > the mapping doesn't change)

Re: [PATCH] extcon: Introduce EXTCON_PROP_USB_SUPERSPEED property

2016-08-17 Thread Guenter Roeck
On Wed, Aug 17, 2016 at 5:37 PM, Chanwoo Choi wrote: > Hi Guenter, > > How about changing the property name for SuperSpeed as following? > It is more simple and reduce the length of property name. > - EXTCON_PROP_USB_SUPERSPEED -> EXTCON_PROP_USB_SS > Whatever you prefer is fine. Thanks, Guenter

Re: [PATCH v2] locking/mutex: Prevent lock starvation when spinning is enabled

2016-08-17 Thread Wanpeng Li
2016-08-18 2:30 GMT+08:00 Jason Low : > Hi Wanpeng, > > On Wed, 2016-08-17 at 09:41 +0800, Wanpeng Li wrote: >> 2016-08-11 2:44 GMT+08:00 Jason Low : >> > Imre reported an issue where threads are getting starved when trying >> > to acquire a mutex. Threads acquiring a mutex can get arbitrarily dela

Re: [RESEND PATCH 1/1] bitops.h: move out get_count_order[_long]() from __KERNEL__ scope

2016-08-17 Thread Al Viro
On Thu, Aug 18, 2016 at 08:10:19AM +0800, zijun_hu wrote: > Documentation/kbuild/makefiles.txt: > The kernel includes a set of headers that is exported to userspace. > Many headers can be exported as-is but other headers require a > minimal pre-processing before they are ready for user-space. > Th

[PATCH] sysctl: Handle error writing UINT_MAX to u32 fields

2016-08-17 Thread Subash Abhinov Kasiviswanathan
We have scripts which write to certain fields on 3.18 kernels but this seems to be failing on 4.4 kernels. An entry which we write to here is xfrm_aevent_rseqth which is u32. echo 4294967295 > /proc/sys/net/core/xfrm_aevent_rseqth Commit 230633d109e3 ("kernel/sysctl.c: detect overflows when conv

Re: [PATCH v5 2/2] usb: typec: add driver for Intel Whiskey Cove PMIC USB Type-C PHY

2016-08-17 Thread Peter Chen
On Wed, Aug 17, 2016 at 03:53:24PM +0300, Felipe Balbi wrote: > > Hi, > > Heikki Krogerus writes: > > [...] > > > +static struct platform_driver wcove_typec_driver = { > > + .driver = { > > + .name = "bxt_wcove_usbc", > > + }, > > + .probe = wcove_typ

Re: [RESEND PATCH 1/1] bitops.h: move out get_count_order[_long]() from __KERNEL__ scope

2016-08-17 Thread zijun_hu
On 2016/8/18 7:59, Al Viro wrote: > On Thu, Aug 18, 2016 at 07:51:19AM +0800, zijun_hu wrote: >>> What the hell is anything without __KERNEL__ doing with linux/bitops.h in >>> the first place? IOW, why do we have those ifdefs at all? >>> >> >> __KERNEL__ is used to indicate the relevant sections w

[GIT] Networking

2016-08-17 Thread David Miller
1) Buffers powersave frame test is reversed in cfg80211, fix from Felix Fietkau. 2) Remove bogus WARN_ON in openvswitch, from Jarno Rajahalme. 3) Fix some tg3 ethtool logic bugs, and one that would cause no interrupts to be generated when rx-coalescing is set to 0. From Satish Baddipadi

Re: [RESEND PATCH 1/1] bitops.h: move out get_count_order[_long]() from __KERNEL__ scope

2016-08-17 Thread zijun_hu
On 2016/8/18 1:20, Al Viro wrote: > On Tue, Aug 16, 2016 at 03:46:22PM +0800, zijun_hu wrote: >> From: zijun_hu >> >> move out get_count_order[_long]() definitions from scope limited >> by macro __KERNEL__ >> >> it not only make both functions available in wider region regardless >> of whether __K

Re: [PATCH] net: ipconfig: Fix more use after free

2016-08-17 Thread David Miller
From: Thierry Reding Date: Tue, 16 Aug 2016 16:45:38 +0200 > From: Thierry Reding > > While commit 9c706a49d660 ("net: ipconfig: fix use after free") avoids > the use after free, the resulting code still ends up calling both the > ic_setup_if() and ic_setup_routes() after calling ic_close_devs(

  1   2   3   4   5   6   7   >