Re: [PATCH 3/3] sched: Implement interface for cgroup unified hierarchy

2015-10-26 Thread Mike Galbraith
On Tue, 2015-10-27 at 14:46 +0900, Tejun Heo wrote: > Hello, > > On Tue, Oct 27, 2015 at 06:42:11AM +0100, Mike Galbraith wrote: > > Sure, sounds fine, I just fervently hope that the below is foul swamp > > gas having nothing what so ever to do with your definition of "saner". > > lol, idk, you

Re: [PATCH 4/7 v2] pseries/iommu: implement DDW-aware dma_get_page_shift

2015-10-26 Thread Alexey Kardashevskiy
On 10/24/2015 07:59 AM, Nishanth Aravamudan wrote: When DDW (Dynamic DMA Windows) are present for a device, we have stored the TCE (Translation Control Entry) size in a special device tree property. Check if we have enabled DDW for the device and return the TCE size from that property if

[PATCH v2] libata: add support for NCQ commands for SG interface

2015-10-26 Thread vinayak . kale
From: Vinayak Kale This patch is needed to make NCQ commands with FPDMA protocol value (eg READ/WRITE FPDMA) work over SCSI Generic (SG) interface. Signed-off-by: Vinayak Kale --- Changes in v2: - Decoupled tf->flags changes in ata_scsi_pass_thru() from this patch as per Tejun's

Re: [PATCH v2] iov: restore NumVFs register to 0 before return from virtfn_max_buses()

2015-10-26 Thread Alexander Duyck
On 10/15/2015 10:16 AM, Bjorn Helgaas wrote: Hi Ethan, On Wed, Sep 16, 2015 at 12:19:53PM +0900, Ethan Zhao wrote: After commit 4449f079722c ("PCI: Calculate maximum number of buses required for VFs"),the initial value of NumVFs register was left to non-zero after sriov_init() and no VFs was

Re: [PATCH 3/3] sched: Implement interface for cgroup unified hierarchy

2015-10-26 Thread Tejun Heo
Hello, On Tue, Oct 27, 2015 at 06:42:11AM +0100, Mike Galbraith wrote: > Sure, sounds fine, I just fervently hope that the below is foul swamp > gas having nothing what so ever to do with your definition of "saner". lol, idk, you keep taking things in weird directions. Let's just stay

Re: [PATCH 3/3] sched: Implement interface for cgroup unified hierarchy

2015-10-26 Thread Mike Galbraith
On Tue, 2015-10-27 at 12:16 +0900, Tejun Heo wrote: > Hello, Mike. > > On Sun, Oct 25, 2015 at 04:43:33AM +0100, Mike Galbraith wrote: > > I don't think it's weird, it's just a thought wrt where pigeon holing > > could lead: If you filter out current users who do so in a manner you > > consider

Re: [PATCH 4/5] staging: fsl-mc: bus rescan attribute to sync kernel with MC

2015-10-26 Thread Greg KH
On Sun, Oct 25, 2015 at 05:41:22PM -0500, Lijun Pan wrote: > Introduce the rescan attribute as a bus attribute to > synchronize the fsl-mc bus objects and the MC firmware. > > To rescan the fsl-mc bus, e.g., > echo 1 > /sys/bus/fsl-mc/rescan > > Signed-off-by: Lijun Pan > --- >

Re: [PATCH v2 2/5] mfd: sec: Add support for S2MPS15 PMIC

2015-10-26 Thread Alim Akhtar
Hello On 10/26/2015 07:59 PM, Lee Jones wrote: On Mon, 26 Oct 2015, Alim Akhtar wrote: Hi Lee, Thanks for looking into this. On 10/26/2015 04:36 PM, Lee Jones wrote: On Mon, 26 Oct 2015, Alim Akhtar wrote: From: Thomas Abraham Add support for S2MPS15 PMIC which is similar to S2MPS11

Re: [PATCH tip/core/rcu 11/13] rculist: Make list_entry_rcu() use lockless_dereference()

2015-10-26 Thread Paul E. McKenney
On Tue, Oct 27, 2015 at 02:19:39PM +0900, Tejun Heo wrote: > Hello, > > On Tue, Oct 27, 2015 at 12:37:16PM +0900, Linus Torvalds wrote: > > > I believe that the above should instead be: > > > > > > struct bdi_writeback *wb = list_entry_rcu(bdi->wb_list.next, > > I should have just used

Re: [PATCH tip/core/rcu 11/13] rculist: Make list_entry_rcu() use lockless_dereference()

2015-10-26 Thread Paul E. McKenney
On Tue, Oct 27, 2015 at 12:37:16PM +0900, Linus Torvalds wrote: > On Mon, Oct 26, 2015 at 11:55 PM, Paul E. McKenney > wrote: > >> struct bdi_writeback *last_wb = NULL; > >> struct bdi_writeback *wb = list_entry_rcu(>wb_list, > > > > I believe that the above should instead be: > >

Re: [PATCH 1/3] dt-bindings: add document of mediatek efuse driver

2015-10-26 Thread andrew-ct chen
On Mon, 2015-10-26 at 10:55 +, Srinivas Kandagatla wrote: > > On 26/10/15 10:23, Sascha Hauer wrote: > > On Mon, Oct 26, 2015 at 09:56:14AM +, Srinivas Kandagatla wrote: > >> > >> > >> On 16/10/15 09:39, andrew-ct.c...@mediatek.com wrote: > >>> From: Andrew-CT Chen > >>> > >>> Add

Re: [PATCH 2/3] nvmem: mediatek: Add Mediatek EFUSE driver

2015-10-26 Thread andrew-ct chen
On Mon, 2015-10-26 at 09:56 +, Srinivas Kandagatla wrote: > On 16/10/15 09:39, andrew-ct.c...@mediatek.com wrote: > > From: Andrew-CT Chen > > > > Add Mediatek EFUSE driver to access hardware data like > > thermal sensor calibration or HDMI impedance. > > > > Signed-off-by: Andrew-CT Chen >

Re: [PATCH] clk: qcom: msm8960: Fix dsi1/2 halt bits

2015-10-26 Thread Archit Taneja
On 10/27/2015 06:53 AM, Stephen Boyd wrote: The halt bits for these clocks seem wrong. I get the following warning while booting on an msm8960-cdp: WARNING: CPU: 0 PID: 1 at drivers/clk/qcom/clk-branch.c:97 clk_branch_toggle+0xd0/0x138() dsi1_clk status stuck at 'on' Modules linked in: CPU:

Re: [PATCH] Staging: wilc1000: Fix warning prefer eth_broadcast_addr over memset()

2015-10-26 Thread Greg KH
On Tue, Oct 27, 2015 at 01:21:46AM +0530, Punit Vara wrote: > This patch is to the host_interface.c that fixes up following > warning by checkpatch.pl: > > -Prefer eth_broadcast_addr() over memset() > > Signed-off-by: Punit Vara > --- > drivers/staging/wilc1000/host_interface.c | 2 +- > 1

Re: [PATCH tip/core/rcu 11/13] rculist: Make list_entry_rcu() use lockless_dereference()

2015-10-26 Thread Tejun Heo
Hello, On Tue, Oct 27, 2015 at 12:37:16PM +0900, Linus Torvalds wrote: > > I believe that the above should instead be: > > > > struct bdi_writeback *wb = list_entry_rcu(bdi->wb_list.next, I should have just used list_entry() here. It's just offseting the pointer to set up the initial

Re: [PATCH 5/5] staging: fsl-mc: Management Complex restool driver

2015-10-26 Thread Scott Wood
On Sun, 2015-10-25 at 17:41 -0500, Lijun Pan wrote: > The kernel support for the restool (a user space resource management > tool) is a driver for the /dev/dprc.N device file. > Its purpose is to provide an ioctl interface, > which the restool uses to interact with the MC bus driver > and with the

Guten Tag.

2015-10-26 Thread zhongjun
Guten Tag, Ich brauche einen ausländischen Partner für einen gemeinsamen Geschäfts Vorschlag, der auf die Übertragung von einer großen Geldsumme an einem ausländischen Konto bezieht, als Empfänger der Mittel. Alles an dieser Transaktion rechtlich ohne Brücke der Finanzbehörde sowohl in meinem

Re: [PATCH] get_maintainer: Don't fallback to git by default

2015-10-26 Thread Laura Abbott
On 10/26/15 9:57 PM, j...@perches.com wrote: On 2015-10-26 19:47, Theodore Ts'o wrote: What if we have a git_fallback "auto" mode which only falls back to using git if there is no entry in the MAINTAINERS file? That might address the concern which Laura raised, without blocking this change

Re: [PATCH] get_maintainer: Don't fallback to git by default

2015-10-26 Thread joe
On 2015-10-26 19:47, Theodore Ts'o wrote: What if we have a git_fallback "auto" mode which only falls back to using git if there is no entry in the MAINTAINERS file? That might address the concern which Laura raised, without blocking this change until the MAINTAINERS file is fully populated.

Re: [PATCH v2 0/5] crypto: add algif_akcipher user space API

2015-10-26 Thread Marcel Holtmann
Hi Stephan, > This patch set adds the AF_ALG user space API to externalize the > asymmetric cipher API recently added to the kernel crypto API. > > The patch set is tested with the user space library of libkcapi [1]. > Use [1] test/test.sh for a full test run. The test covers the > following

Re: [PATCH 0/8] add missing of_node_put

2015-10-26 Thread David Miller
From: Julia Lawall Date: Sun, 25 Oct 2015 14:56:59 +0100 > The various for_each device_node iterators performs an of_node_get on each > iteration, so a break out of the loop requires an of_node_put. > > The complete semantic patch that fixes this problem is > (http://coccinelle.lip6.fr): ...

Re: [PATCH v12 3/6] CPM/QE: use genalloc to manage CPM/QE muram

2015-10-26 Thread Scott Wood
On Sun, 2015-10-25 at 22:15 -0500, Zhao Qiang-B45475 wrote: > On Sat, 2015-10-24 at 04:59 AM, Wood Scott-B07421 > wrote: > > -Original Message- > > From: Wood Scott-B07421 > > Sent: Saturday, October 24, 2015 4:59 AM > > To: Zhao Qiang-B45475 > > Cc: linux-kernel@vger.kernel.org;

Re: [PATCH v12 4/6] QE/CPM: move muram management functions to qe_common

2015-10-26 Thread Scott Wood
On Sun, 2015-10-25 at 21:42 -0500, Zhao Qiang-B45475 wrote: > On Sat, Oct 24, 2015 at 04:56 AM, Wood Scott-B07421 wrote: > > -Original Message- > > From: Wood Scott-B07421 > > Sent: Saturday, October 24, 2015 4:56 AM > > To: Zhao Qiang-B45475 > > Cc: linux-kernel@vger.kernel.org;

Re: [PATCH net-next] bpf: make tracing helpers gpl only

2015-10-26 Thread David Miller
From: Alexei Starovoitov Date: Fri, 23 Oct 2015 14:58:19 -0700 > exported perf symbols are GPL only, mark eBPF helper functions > used in tracing as GPL only as well. > > Suggested-by: Peter Zijlstra > Signed-off-by: Alexei Starovoitov Applied. -- To unsubscribe from this list: send the line

Re: [PATCH v3 3/5] mtd: ofpart: update devicetree binding specification

2015-10-26 Thread Rob Herring
On Sun, Oct 11, 2015 at 3:04 PM, Brian Norris wrote: > Hi DT maintainers, > > It's a bit hypocritical of me, since I've been a slow reviewer as well, > but... can we get some review on this one? Usually, I'm comfortable > taking driver DT bindings without your review, but this one is a bit > more

Re: [GIT PULL] On-demand device probing

2015-10-26 Thread Rafael J. Wysocki
On Tuesday, October 20, 2015 12:04:05 PM Alan Stern wrote: > On Tue, 20 Oct 2015, Mark Brown wrote: > > > On Tue, Oct 20, 2015 at 10:40:03AM -0400, Alan Stern wrote: > > > > > Furthermore, that applies only to devices that use synchronous suspend. > > > Async suspend is becoming common, and

Re: [PATCH v3 net-next] bpf: fix bpf_perf_event_read() helper

2015-10-26 Thread David Miller
From: Alexei Starovoitov Date: Thu, 22 Oct 2015 17:10:14 -0700 > Fix safety checks for bpf_perf_event_read(): > - only non-inherited events can be added to perf_event_array map > (do this check statically at map insertion time) > - dynamically check that event is local and !pmu->count >

[PATCH] kernel: power: replacing printk

2015-10-26 Thread Saurabh Sengar
replacing prink(s) with appropriate pr_info and pr_err Signed-off-by: Saurabh Sengar --- kernel/power/suspend.c | 10 +- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/kernel/power/suspend.c b/kernel/power/suspend.c index 7e4cda4..2597a96 100644 ---

RE: [PATCH v3] dmaengine: fsl-edma: add PM suspend/resume support

2015-10-26 Thread Yao Yuan
Hi Vinod, Thanks for your review. I did the test and it seems that it should be ok when CONFIG_PM is not defined. So I removed the protection code to make it more readable. Do you think is it ok? Best Regards, Yuan Yao > -Original Message- > From: Vinod Koul

Re: [PATCH 4/5] mm: simplify reclaim path for MADV_FREE

2015-10-26 Thread yalin wang
> On Oct 27, 2015, at 10:09, Hugh Dickins wrote: > > On Mon, 19 Oct 2015, Minchan Kim wrote: > >> I made reclaim path mess to check and free MADV_FREEed page. >> This patch simplify it with tweaking add_to_swap. >> >> So far, we mark page as PG_dirty when we add the page into >> swap

Re: [net-next PATCHv2] bpf: Output error message to logbuf when loading failure

2015-10-26 Thread Wangnan (F)
On 2015/10/27 11:26, Alexei Starovoitov wrote: On Mon, Oct 26, 2015 at 07:13:08AM +, Wang Nan wrote: Many reasons can make bpf_prog_load() return EINVAL. This patch utilizes logbuf to deliver the actual reason of the failure. Without this patch, it is very easy for user to pass an object

[PATCH] drivers: of: removing assignment of 0 to static variable

2015-10-26 Thread Saurabh Sengar
no need to initialise static variable with 0, hence correcting it. Signed-off-by: Saurabh Sengar --- drivers/of/fdt.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/of/fdt.c b/drivers/of/fdt.c index 6e82bc42..63699dd 100644 --- a/drivers/of/fdt.c +++

Re: [PATCH v2 07/10] hwmon: (fam15h_power) Introduce a cpu accumulated power reporting algorithm

2015-10-26 Thread Huang Rui
On Fri, Oct 23, 2015 at 10:20:59PM +0800, Guenter Roeck wrote: > On 10/19/2015 07:28 PM, Huang Rui wrote: > > This patch introduces an algorithm that computes the average power by > > reading a delta value of “core power accumulator” register during > > measurement interval, and then dividing

Re: [PATCH net-next] seccomp, ptrace: add support for dumping seccomp filters

2015-10-26 Thread Alexei Starovoitov
On Tue, Oct 27, 2015 at 09:23:59AM +0900, Tycho Andersen wrote: > This patch adds support for dumping a process' (classic BPF) seccomp > filters via ptrace. > > PTRACE_SECCOMP_GET_FILTER allows the tracer to dump the user's classic BPF > seccomp filters. addr should be an integer which represents

Re: [RFC PATCH] VFIO: Add a parameter to force nonthread IRQ

2015-10-26 Thread Alex Williamson
On Mon, 2015-10-26 at 18:20 -0700, Yunhong Jiang wrote: > An option to force VFIO PCI MSI/MSI-X handler as non-threaded IRQ, > even when CONFIG_IRQ_FORCED_THREADING=y. This is uselful when > assigning a device to a guest with low latency requirement since it > reduce the context switch to/from the

Re: [PATCH tip/core/rcu 11/13] rculist: Make list_entry_rcu() use lockless_dereference()

2015-10-26 Thread Linus Torvalds
On Mon, Oct 26, 2015 at 11:55 PM, Paul E. McKenney wrote: >> struct bdi_writeback *last_wb = NULL; >> struct bdi_writeback *wb = list_entry_rcu(>wb_list, > > I believe that the above should instead be: > > struct bdi_writeback *wb = list_entry_rcu(bdi->wb_list.next, I

Re: [net-next PATCHv2] bpf: Output error message to logbuf when loading failure

2015-10-26 Thread Alexei Starovoitov
On Mon, Oct 26, 2015 at 07:13:08AM +, Wang Nan wrote: > Many reasons can make bpf_prog_load() return EINVAL. This patch utilizes > logbuf to deliver the actual reason of the failure. > > Without this patch, it is very easy for user to pass an object with > "version" section not match the

Re: [RFC PATCH v2 1/2] perf tools: Set evsel->system_wide field for global system wide recording

2015-10-26 Thread Wangnan (F)
On 2015/10/26 21:02, Adrian Hunter wrote: On 26/10/15 14:39, Wangnan (F) wrote: On 2015/10/26 20:24, Adrian Hunter wrote: On 26/10/15 13:41, Wang Nan wrote: evsel->system_wide is introduced by commit bf8e8f4b832972c76d64ab2e2837 (perf evlist: Add 'system_wide' option), which is used for

Re: [RFC PATCH] x86/cpu: Move sparsely used bit leafs into scattered features (was: Re: [PATCH 2/2] x86/cpufeature: Add CLZERO feature)

2015-10-26 Thread Borislav Petkov
On Mon, Oct 26, 2015 at 07:56:06PM -0700, Andy Lutomirski wrote: > How few features in one leaf do we need before calling it scattered > makes sense? These four might make sense to keep as is... Actually, according to hpa, all those leafs will be filled out gradually as they're apparently going

Re: [PATCH] bpf: sample: define aarch64 specific registers

2015-10-26 Thread Alexei Starovoitov
On Mon, Oct 26, 2015 at 05:02:19PM -0700, Yang Shi wrote: > Define aarch64 specific registers for building bpf samples correctly. > > Signed-off-by: Yang Shi looks good to me. Acked-by: Alexei Starovoitov -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body

[PATCH] ARM: dts: uniphier: add system-bus-controller nodes

2015-10-26 Thread Masahiro Yamada
The System Bus Controller block has two register regions, but having only the second one in a separate node was not nice. Replace it with a new node with two register regions in it. Signed-off-by: Masahiro Yamada --- arch/arm/boot/dts/uniphier-ph1-ld4.dtsi | 7 +++

Re: [PATCH 3/3] sched: Implement interface for cgroup unified hierarchy

2015-10-26 Thread Tejun Heo
Hello, Mike. On Sun, Oct 25, 2015 at 04:43:33AM +0100, Mike Galbraith wrote: > I don't think it's weird, it's just a thought wrt where pigeon holing > could lead: If you filter out current users who do so in a manner you > consider to be in some way odd, when all the filtering is done, you may >

[PATCH v2] blktrace: re-write setting q->blk_trace

2015-10-26 Thread Davidlohr Bueso
This is really about simplifying the double xchg patterns into a single cmpxchg, with the same logic. Other than the immediate cleanup, there are some subtleties this change deals with: (i) While the load of the old bt is fully ordered wrt everything, ie: old_bt = xchg(>blk_trace, bt);

[PATCH] perf tools: Allow BPF program attach to modules

2015-10-26 Thread Wang Nan
By extending the syntax of BPF object section names, this patch allows user to attach BPF programs to symbol in modules. For example: SEC("module=i915\n" "parse_cmds=i915_parse_cmds") int parse_cmds(void *ctx) { return 1; } Implementation is very simple: like what 'perf probe'

Re: [RESEND, tip/locking/core, v5, 1/6] powerpc: atomic: Make _return atomics and *{cmp}xchg fully ordered

2015-10-26 Thread Boqun Feng
On Tue, Oct 27, 2015 at 01:33:47PM +1100, Michael Ellerman wrote: > On Mon, 2015-26-10 at 10:15:36 UTC, Boqun Feng wrote: > > This patch fixes two problems to make value-returning atomics and > > {cmp}xchg fully ordered on PPC. > > Hi Boqun, > > Can you please split this into two patches. One

[PATCH] blktrace: re-write setting q->blk_trace

2015-10-26 Thread Davidlohr Bueso
This is really about simplifying the double xchg patterns into a single cmpxchg, with the same logic. Other than the immediate cleanup, there are some subtleties this change deals with: (i) While the load of the old bt is fully ordered wrt everything, ie: old_bt = xchg(>blk_trace, bt);

Re: [PATCH net] macvtap: unbreak receiving of gro skb with frag list

2015-10-26 Thread Jason Wang
On 10/26/2015 04:30 PM, Michael S. Tsirkin wrote: > On Mon, Oct 26, 2015 at 02:53:38PM +0800, Jason Wang wrote: >> >> On 10/26/2015 02:09 PM, Michael S. Tsirkin wrote: >>> On Mon, Oct 26, 2015 at 11:15:57AM +0800, Jason Wang wrote: On 10/23/2015 09:37 PM, Michael S. Tsirkin wrote: > On

RE: [PATCH] arm: kernel: utilize hrtimer based broadcast

2015-10-26 Thread Huan Wang
Hi, Mark, Could you comment this patch? It is based on your suggestion in https://patchwork.kernel.org/patch/6764231/ . Thanks. Best Regards, Alison Wang > -Original Message- > From: Alison Wang [mailto:b18...@freescale.com] > Sent: Friday, July 17, 2015 5:12 PM > To:

Re: [RFC PATCH] x86/cpu: Move sparsely used bit leafs into scattered features (was: Re: [PATCH 2/2] x86/cpufeature: Add CLZERO feature)

2015-10-26 Thread Andy Lutomirski
On Mon, Oct 26, 2015 at 2:01 PM, Borislav Petkov wrote: > On Mon, Oct 26, 2015 at 09:22:50PM +0100, Borislav Petkov wrote: >> And btw, those Intel QoS single bit defines and the XSAVE stuff there >> should move to that function too - that's a pure waste having them in >> the cap_flags array. I'll

Re: [PATCH v2 05/10] hwmon: (fam15h_power) Add compute unit accumulated power

2015-10-26 Thread Huang Rui
On Fri, Oct 23, 2015 at 03:27:02PM +0200, Borislav Petkov wrote: > On Tue, Oct 20, 2015 at 10:28:24AM +0800, Huang Rui wrote: > > This patch adds a member in fam15h_power_data which specifies the > > compute unit accumulated power. It adds do_read_registers_on_cu to do > > all the read to all MSRs

Re: [PATCH] perf, tools, stat: Implement --metric-only mode

2015-10-26 Thread Andi Kleen
Here's a v2 that fixes a problem in --per-core mode. --- Add a new mode to only print metrics. Sometimes we don't care about the raw values, just want the computed metrics. This allows more compact printing, so with -I each sample is only a single line. This also allows easier plotting and

Re: [PATCH] get_maintainer: Don't fallback to git by default

2015-10-26 Thread Theodore Ts'o
What if we have a git_fallback "auto" mode which only falls back to using git if there is no entry in the MAINTAINERS file? That might address the concern which Laura raised, without blocking this change until the MAINTAINERS file is fully populated. Cheers,

[PATCH] ARM: multi_v7_defconfig: enable UniPhier I2C drivers

2015-10-26 Thread Masahiro Yamada
These two drivers were merged into the I2C sub-system by commit dd6fd4a32793 ("i2c: uniphier: add UniPhier FIFO-less I2C driver") and commit 6a62974b667f ("i2c: uniphier_f: add UniPhier FIFO-builtin I2C driver"). Enable them from arch/arm/configs/multi_v7_defconfig. Signed-off-by: Masahiro

Re: [PATCH 5/9] perf, tools, stat: Move noise/running printing into printout

2015-10-26 Thread Andi Kleen
On Mon, Oct 26, 2015 at 04:32:06PM +0100, Jiri Olsa wrote: > On Fri, Oct 23, 2015 at 04:59:33PM -0700, Andi Kleen wrote: > > From: Andi Kleen > > > > Move the running/noise printing into printout to avoid > > duplicated code in the callers. > > > > v2: Merged with other patches. Remove

[PATCH] mtd: blkdevs: fix potential deadlock + lockdep warnings

2015-10-26 Thread Brian Norris
Commit 073db4a51ee4 ("mtd: fix: avoid race condition when accessing mtd->usecount") fixed a race condition but due to poor ordering of the mutex acquisition, introduced a potential deadlock. The deadlock can occur, for example, when rmmod'ing the m25p80 module, which will delete one or more MTDs,

[PATCH 1/5] mtd: ofpart: grab device tree node directly from master device node

2015-10-26 Thread Brian Norris
It seems more logical to use a device node directly associated with the MTD master device (i.e., mtd->dev.of_node field) rather than requiring auxiliary partition parser information to be passed in by the driver in a separate struct. This patch supports the mtd->dev.of_node field, deprecates the

Re: [PATCH v2] efi: Fix warning of int-to-pointer-cast on x86 32-bit builds

2015-10-26 Thread Ard Biesheuvel
On 27 October 2015 at 06:02, Matt Fleming wrote: > On Fri, 23 Oct, at 10:37:46AM, Ard Biesheuvel wrote: >> >> After looking at the original (already merged) patch 11/11 again, I >> realize this is still not right: the problem is that efi_memory_map's >> phys_map member uses a void* type to hold a

Re: [RESEND, tip/locking/core, v5, 1/6] powerpc: atomic: Make _return atomics and *{cmp}xchg fully ordered

2015-10-26 Thread Michael Ellerman
On Mon, 2015-26-10 at 10:15:36 UTC, Boqun Feng wrote: > This patch fixes two problems to make value-returning atomics and > {cmp}xchg fully ordered on PPC. Hi Boqun, Can you please split this into two patches. One that does the cmpxchg change and one that changes PPC_ATOMIC_ENTRY_BARRIER. Also

[PATCH 3/5] mtd: spi-nor: drop unnecessary partition parser data

2015-10-26 Thread Brian Norris
Now that the SPI-NOR/MTD framework pass the 'flash_node' through to the partition parsing code, we don't have to do it ourselves. Also convert to mtd_device_register(), since we don't need the 2nd and 3rd parameters anymore. Signed-off-by: Brian Norris --- drivers/mtd/devices/m25p80.c | 8

[PATCH 5/5] mtd: drop 'of_node' partition parser data

2015-10-26 Thread Brian Norris
This field is no longer used anywhere, as it is superseded by mtd->dev.of_node. Signed-off-by: Brian Norris --- drivers/mtd/ofpart.c | 14 -- include/linux/mtd/partitions.h | 4 2 files changed, 4 insertions(+), 14 deletions(-) diff --git a/drivers/mtd/ofpart.c

[PATCH 4/5] mtd: drop unnecessary partition parser data

2015-10-26 Thread Brian Norris
We should assign the MTD dev.of_node instead of the parser data field. This gets us the equivalent partition parser behavior with fewer special fields and parameter passing. Also convert several of these to mtd_device_register(), since we don't need the 2nd and 3rd parameters anymore.

[PATCH 0/5] mtd: migrate 'of_node' handling to core, not in mtd_part_parser_data

2015-10-26 Thread Brian Norris
Hi, I noticed that, for MTD drivers that want to support DT partition parsing (essentially all recent ones), it's a bit awkward to set the tell MTD which DT node to use. I also noticed that this info is duplicated in a few places; namely, some sub-subsystems (like SPI NOR and NAND) need their own

[PATCH 2/5] mtd: nand: drop unnecessary partition parser data

2015-10-26 Thread Brian Norris
All of these drivers set up a parser data struct just to communicate DT partition data. This field has been deprecated and is instead supported by telling nand_scan_ident() about the 'flash_node'. This patch: * sets chip->flash_node for those drivers that didn't already (but used OF

Re: [PATCH 20/31] perf tools: Allow BPF program attach to uprobe events

2015-10-26 Thread Wangnan (F)
On 2015/10/14 20:41, Wang Nan wrote: This patch appends new syntax to BPF object section name to support probing at uprobe event. Now we can use BPF program like this: SEC( "target=/lib64/libc.so.6\n" "libcwrite=__write" ) int libcwrite(void *ctx) { return 1; } Where, in

Re: [PATCH] scsi_sysfs: Fix queue_ramp_up_period return code

2015-10-26 Thread Bart Van Assche
On 10/26/15 07:54, Peter Oberparleiter wrote: Writing a number to /sys/bus/scsi/devices//queue_ramp_up_period returns the value of that number instead of the number of bytes written. This behavior can confuse programs expecting POSIX write() semantics. Fix this by returning the number of bytes

[PATCH 2/2] pinctrl: uniphier: guard uniphier directory with CONFIG_PINCTRL_UNIPHIER

2015-10-26 Thread Masahiro Yamada
CONFIG_PINCTRL_UNIPHIER is more suitable than CONFIG_ARCH_UNIPHIER to guard the drivers/pinctrl/uniphier directory. The current CONFIG_PINCTRL_UNIPHIER_CORE is a bit long (it would break the indentation in drivers/pinctrl/Makefile), so rename it into CONFIG_PINCTRL_UNIPHIER. Signed-off-by:

[PATCH 1/2] pinctrl: uniphier: enable UniPhier SoCs pinctrl drivers by default

2015-10-26 Thread Masahiro Yamada
Add "default y" to the Kconfig rather than adding entries into arch/arm/configs/multi_v7_defconfig. Signed-off-by: Masahiro Yamada --- drivers/pinctrl/uniphier/Kconfig | 6 ++ 1 file changed, 6 insertions(+) diff --git a/drivers/pinctrl/uniphier/Kconfig b/drivers/pinctrl/uniphier/Kconfig

RE: [PATCH 5/5] staging: fsl-mc: Management Complex restool driver

2015-10-26 Thread Stuart Yoder
> -Original Message- > From: Lijun Pan [mailto:lijun@freescale.com] > Sent: Sunday, October 25, 2015 5:41 PM > To: gre...@linuxfoundation.org; a...@arndb.de; de...@driverdev.osuosl.org; > linux-kernel@vger.kernel.org > Cc: Yoder Stuart-B08248; katz Itai-RM05202; Rivera Jose-B46482;

Re: [PATCH v6 2/7] dmaengine: mxs: APBH DMA supports deep sleep mode

2015-10-26 Thread Vinod Koul
On Thu, Oct 22, 2015 at 02:54:31PM -0500, Han Xu wrote: > +static int mxs_dma_pm_resume(struct device *dev) > +{ > + struct mxs_dma_engine *mxs_dma = dev_get_drvdata(dev); > + int ret; > + > + ret = mxs_dma_init(mxs_dma); > + if (ret) > + return ret; > + return 0; >

Re: [PATCH 5/5] mm: mark stable page dirty in KSM

2015-10-26 Thread Hugh Dickins
On Mon, 19 Oct 2015, Minchan Kim wrote: > Stable page could be shared by several processes and last process > could own the page among them after CoW or zapping for every process > except last process happens. Then, page table entry of the page > in last process can have no dirty bit and PG_dirty

Re: [RESEND PATCH] usb: remove unnecessary CONFIG_PM dependency from USB_OTG

2015-10-26 Thread Peter Chen
On Mon, Oct 26, 2015 at 06:23:25PM -0500, Nathan Sullivan wrote: > The USB gadget support currently depends on power management Why you said gadget? The thing you change is for OTG. > (CONFIG_PM) being enabled, but does not actually need it enabled. > Remove this dependency. > > Tested on Bay

Re: [PATCH v4 0/2] powerpc/512x: add LocalPlus Bus FIFO device driver

2015-10-26 Thread Vinod Koul
On Thu, Oct 22, 2015 at 01:15:03AM +0300, Alexander Popov wrote: > On 12.10.2015 00:08, Alexander Popov wrote: > > This driver for Freescale MPC512x LocalPlus Bus FIFO (called SCLPC > > in the Reference Manual) allows Direct Memory Access transfers > > between RAM and peripheral devices on

Re: [RFC PATCH 1/3] PCI: iproc: generate proper configuration access cycles

2015-10-26 Thread Jisheng Zhang
On Mon, 26 Oct 2015 10:18:14 -0700 Ray Jui wrote: > Hi Jisheng, > > On 10/26/2015 4:02 AM, Jisheng Zhang wrote: > > Inspired by Russell King's patch[1], I found current iproc also has the > > same issue of "reading 32-bits from the command register, modifying the > > command register, and then

Re: [PATCH 0/7] clocksource: add missing notrace attribute

2015-10-26 Thread Jisheng Zhang
Dear Daniel, On Mon, 26 Oct 2015 18:50:10 +0100 Daniel Lezcano wrote: > On 10/20/2015 10:02 AM, Jisheng Zhang wrote: > > Some clocksource drivers sched_clock implementation either miss notrace > > attribute or call wasn't notrace function. This series try to fix them. > > > > Jisheng Zhang (7):

Re: [PATCH 3.16.y-ckt 072/104] drm/radeon: Restore LCD backlight level on resume (>= R5xx)

2015-10-26 Thread Michel Dänzer
On 26.10.2015 22:42, Luis Henriques wrote: > 3.16.7-ckt19 -stable review patch. If anyone has any objections, please let > me know. > > -- > > From: =TF-8?q?Michel Dänzer?= > > commit 4281f46ef839050d2ef60348f661eb463c21cc2e upstream. > > Instead of only enabling the

Re: [PATCH v5 0/8] Add support for Exynos SROM Controller driver

2015-10-26 Thread Kukjin Kim
On 10/26/15 15:45, Pavel Fedin wrote: > Hello! > Hi, >> Applied, this whole series. > > Where can i find the recent code to base my series on? I looked at > linux-samsung.git but was unable to find it there. > You may need to fetch again? Anyway the branch is v4.4-next/driver-samsung or

Re: [PATCH v3] regulator, dt: add dt support for tps6502x regulator

2015-10-26 Thread Mark Brown
On Mon, Oct 26, 2015 at 12:25:17PM +0100, Heiko Schocher wrote: > add DT support for the tps6502x regulators. Please use subject lines matching the style for the subsystem. > + regulators = of_get_child_by_name(np, "regulators"); > + if (!regulators) { > + dev_err(dev,

Re: [PATCH V3 2/2] dmaengine: tegra-adma: Add support for Tegra210 ADMA

2015-10-26 Thread Vinod Koul
On Fri, Oct 16, 2015 at 08:35:19AM +0100, Jon Hunter wrote: > +static inline void tdma_ch_write(struct tegra_adma_chan *tdc, > + u32 reg, u32 val) Coding style issue here > +static int tegra_adma_alloc_chan_resources(struct dma_chan *dc) > +{ > + struct tegra_adma_chan *tdc =

Re: [PATCH 4/5] mm: simplify reclaim path for MADV_FREE

2015-10-26 Thread Hugh Dickins
On Mon, 19 Oct 2015, Minchan Kim wrote: > I made reclaim path mess to check and free MADV_FREEed page. > This patch simplify it with tweaking add_to_swap. > > So far, we mark page as PG_dirty when we add the page into > swap cache(ie, add_to_swap) to page out to swap device but > this patch

Re: Linux 4.2.5

2015-10-26 Thread Greg KH
diff --git a/Makefile b/Makefile index a952801a6cd5..96076dcad18e 100644 --- a/Makefile +++ b/Makefile @@ -1,6 +1,6 @@ VERSION = 4 PATCHLEVEL = 2 -SUBLEVEL = 4 +SUBLEVEL = 5 EXTRAVERSION = NAME = Hurr durr I'ma sheep diff --git a/arch/arm/mach-ux500/Makefile b/arch/arm/mach-ux500/Makefile

Linux 4.2.5

2015-10-26 Thread Greg KH
I'm announcing the release of the 4.2.5 kernel. All users of the 4.2 kernel series must upgrade. The updated 4.2.y git tree can be found at: git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable.git linux-4.2.y and can be browsed at the normal kernel.org git web browser:

Linux 4.1.12

2015-10-26 Thread Greg KH
I'm announcing the release of the 4.1.12 kernel. All users of the 4.1 kernel series must upgrade. The updated 4.1.y git tree can be found at: git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable.git linux-4.1.y and can be browsed at the normal kernel.org git web browser:

Re: Linux 4.1.12

2015-10-26 Thread Greg KH
diff --git a/Makefile b/Makefile index c7d877b1c248..2320f1911404 100644 --- a/Makefile +++ b/Makefile @@ -1,6 +1,6 @@ VERSION = 4 PATCHLEVEL = 1 -SUBLEVEL = 11 +SUBLEVEL = 12 EXTRAVERSION = NAME = Series 4800 diff --git a/arch/arm64/Makefile b/arch/arm64/Makefile index

Re: Linux 3.14.56

2015-10-26 Thread Greg KH
diff --git a/Makefile b/Makefile index 97d18c1d27f2..2a13d9d63880 100644 --- a/Makefile +++ b/Makefile @@ -1,6 +1,6 @@ VERSION = 3 PATCHLEVEL = 14 -SUBLEVEL = 55 +SUBLEVEL = 56 EXTRAVERSION = NAME = Remembering Coco diff --git a/arch/arm64/Makefile b/arch/arm64/Makefile index

Linux 3.14.56

2015-10-26 Thread Greg KH
I'm announcing the release of the 3.14.56 kernel. All users of the 3.14 kernel series must upgrade. The updated 3.14.y git tree can be found at: git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable.git linux-3.14.y and can be browsed at the normal kernel.org git web

Re: Linux 3.10.92

2015-10-26 Thread Greg KH
diff --git a/Makefile b/Makefile index ba6a94cf354b..25701b67bb6d 100644 --- a/Makefile +++ b/Makefile @@ -1,6 +1,6 @@ VERSION = 3 PATCHLEVEL = 10 -SUBLEVEL = 91 +SUBLEVEL = 92 EXTRAVERSION = NAME = TOSSUG Baby Fish diff --git a/arch/m68k/include/asm/uaccess_mm.h

Linux 3.10.92

2015-10-26 Thread Greg KH
I'm announcing the release of the 3.10.92 kernel. All users of the 3.10 kernel series must upgrade. The updated 3.10.y git tree can be found at: git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable.git linux-3.10.y and can be browsed at the normal kernel.org git web

Re: [REPOST PATCH 0/3] dwc2 patches to allow wakeup on Rockchip rk3288

2015-10-26 Thread John Youn
On 10/21/2015 9:23 AM, Doug Anderson wrote: > John, > > On Mon, Jul 6, 2015 at 11:27 AM, Douglas Anderson > wrote: >> This series of patches, together with >> from Chris Zhong and a >> dts change allow us to wake up from a USB device on rk3288

Re: [PATCH v3 3/5] mtd: ofpart: update devicetree binding specification

2015-10-26 Thread Brian Norris
On Sun, Oct 11, 2015 at 01:04:02PM -0700, Brian Norris wrote: > Hi DT maintainers, Last call: I'd like a reviewer that (1) does DT reviews somewhat regularly and (2) is not me. If I can't get one soon, I'll take this for 4.4. Thanks, Brian > It's a bit hypocritical of me, since I've been a

Re: [PATCH v3] dmaengine: fsl-edma: add PM suspend/resume support

2015-10-26 Thread Vinod Koul
On Mon, Oct 19, 2015 at 04:31:05PM +0800, Yuan Yao wrote: The patch overall looks fine, but > > +static int fsl_edma_suspend_late(struct device *dev) This needs protection and will have build failure when CONFIG_PM is not defined > +{ > + struct fsl_edma_engine *fsl_edma =

[PATCH v2] f2fs: support file defragment

2015-10-26 Thread Chao Yu
This patch introduces a new ioctl F2FS_IOC_DEFRAGMENT to support file defragment in a specified range of regular file. This ioctl can be used in very limited workload: if user expects high sequential read performance in randomly written file, this interface can be used for defragmentation, after

Re: [Linux v4.3-rc6] i915: issues with Skylake integrated graphics

2015-10-26 Thread Eric Biggers
On Mon, Oct 26, 2015 at 03:28:37PM +0200, Jani Nikula wrote: > Please file two separate bugs at [1], one for the above, and another for > the below. Please add drm.debug=14 module parameter, and attach dmesg > all the way from boot to the problem. I have filed

Re: [PATCH v3 4/5] mtd: ofpart: document the lock flag.

2015-10-26 Thread Brian Norris
On Sun, Oct 11, 2015 at 01:04:12PM -0700, Brian Norris wrote: > On Tue, Aug 18, 2015 at 03:34:08PM -, Michal Suchanek wrote: > > The lock flag of ofpart is undocumented. Add to binding doc. > > Good catch. There are a lot of small corners of very old code that never > really got reviewed

Re: [PATCH] sched: fix incorrect wait time and wait count statistics

2015-10-26 Thread Joonwoo Park
On 10/25/2015 03:26 AM, Peter Zijlstra wrote: > On Sat, Oct 24, 2015 at 10:23:14PM -0700, Joonwoo Park wrote: >> @@ -1069,7 +1069,7 @@ static struct rq *move_queued_task(struct rq *rq, >> struct task_struct *p, int new >> { >> lockdep_assert_held(>lock); >> >> -dequeue_task(rq, p, 0);

Re: [PATCH v3 4/7] PCI: Record an fwnode associated with root PCI buses, optionally

2015-10-26 Thread kbuild test robot
Hi Jake, [auto build test ERROR on next-20151022 -- if it's inappropriate base, please suggest rules for selecting the more suitable base] url: https://github.com/0day-ci/linux/commits/jakeo-microsoft-com/New-paravirtual-PCI-front-end-for-Hyper-V-VMs/20151027-072118 config:

Re: [PATCH v3 2/5] mtd: mtdpart: Do not fail mtd probe when parsing partitions fails.

2015-10-26 Thread Brian Norris
On Sun, Oct 11, 2015 at 01:03:47PM -0700, Brian Norris wrote: > All in all, I think my suggestions would look something like the > following alternative patch. I haven't tested it yet. > > Brian > > (git-format-patch pasted below) > > From 53b60f31a2a0f2a7e8220a4aff47457248bccbcf Mon Sep 17

Re: [PATCH 0/4] Patches to fix remote wakeup on rk3288 dwc2 "host" port

2015-10-26 Thread Doug Anderson
Hi, On Mon, Oct 26, 2015 at 4:49 PM, Doug Anderson wrote: > One note: the "full" PHY reset is actually not in the register map of > the PHY. It is amazingly enough in the CRU (clock reset unit). So if > we actually exposed the "full" reset through the PHY framework, the > PHY would then turn

[RFC PATCH] VFIO: Add a parameter to force nonthread IRQ

2015-10-26 Thread Yunhong Jiang
An option to force VFIO PCI MSI/MSI-X handler as non-threaded IRQ, even when CONFIG_IRQ_FORCED_THREADING=y. This is uselful when assigning a device to a guest with low latency requirement since it reduce the context switch to/from the IRQ thread. An experiment was conducted on a HSW platform for

Re: [PATCH 3/5] mm: clear PG_dirty to mark page freeable

2015-10-26 Thread Hugh Dickins
On Mon, 19 Oct 2015, Minchan Kim wrote: > Basically, MADV_FREE relies on dirty bit in page table entry > to decide whether VM allows to discard the page or not. > IOW, if page table entry includes marked dirty bit, VM shouldn't > discard the page. > > However, as a example, if swap-in by read

[PATCH] arm: dts: qcom: Add board clocks

2015-10-26 Thread Stephen Boyd
These clocks are fixed rate board sources that should be in DT. Add them. Cc: Georgi Djakov Signed-off-by: Stephen Boyd --- arch/arm/boot/dts/qcom-msm8960.dtsi | 23 +++ 1 file changed, 23 insertions(+) diff --git a/arch/arm/boot/dts/qcom-msm8960.dtsi

  1   2   3   4   5   6   7   8   9   10   >