[PATCH 4/5] clk: sunxi-ng: Add driver for A83T CCU

2017-02-13 Thread Chen-Yu Tsai
The A83T clock control unit is a hybrid of some new style clock designs from the A80, and old style layout from the other Allwinner SoCs. The mmc2 module clock supports a new timing mode. This mode outputs the clock at half the set rate, and moves the output and sample delays into the mmc

[PATCH 4/4] ARM64: dts: Prepare Realtek RTD1295 and Zidoo X9S

2017-02-13 Thread Andreas Färber
Add initial device trees for the RTD1295 SoC and the Zidoo X9S TV box. The CPUs lack the enable-method property because the vendor device tree uses a custom "rtk-spin-table" method and "psci" did not appear to work. The UARTs lack the interrupts properties because the vendor device tree connects

[PATCH 3/4] ARM64: Prepare Realtek RTD1295

2017-02-13 Thread Andreas Färber
Add a Kconfig option ARCH_REALTEK. Signed-off-by: Andreas Färber --- arch/arm64/Kconfig.platforms | 6 ++ 1 file changed, 6 insertions(+) diff --git a/arch/arm64/Kconfig.platforms b/arch/arm64/Kconfig.platforms index 129cc5a..2fa9557 100644 ---

[PATCH 1/4] Documentation: devicetree: Add vendor prefix for Zidoo

2017-02-13 Thread Andreas Färber
Signed-off-by: Andreas Färber --- Documentation/devicetree/bindings/vendor-prefixes.txt | 1 + 1 file changed, 1 insertion(+) diff --git a/Documentation/devicetree/bindings/vendor-prefixes.txt b/Documentation/devicetree/bindings/vendor-prefixes.txt index 1e4e84e..7475abd

[PATCH 1/5] clk: sunxi-ng: mp: Adjust parent rate for pre-dividers

2017-02-13 Thread Chen-Yu Tsai
The MP style clocks support an mux with pre-dividers. While the driver correctly accounted for them in the .determine_rate callback, it did not in the .recalc_rate and .set_rate callbacks. This means when calculating the factors in the .set_rate callback, they would be off by a factor of the

[PATCH 3/5] clk: sunxi-ng: Add compatible string for A83T CCU to bindings

2017-02-13 Thread Chen-Yu Tsai
The A83T clock control unit is a hybrid of some new style clock designs from the A80, and old style layout from the other Allwinner SoCs. Signed-off-by: Chen-Yu Tsai --- Documentation/devicetree/bindings/clock/sunxi-ccu.txt | 1 + 1 file changed, 1 insertion(+) diff --git

[PATCH 2/5] clk: sunxi-ng: gate: Support common pre-dividers

2017-02-13 Thread Chen-Yu Tsai
Some clock gates have a pre-divider between the source input and the gate itself. A notable example is the HSIC 12 MHz clock found on the A83T, which has the 24 MHz main oscillator as its input, and a /2 pre-divider. Signed-off-by: Chen-Yu Tsai --- drivers/clk/sunxi-ng/ccu_gate.c

[PATCH 0/5] clk: sunxi-ng: Add support for A83T CCU

2017-02-13 Thread Chen-Yu Tsai
Hi everyone, This is yet another series that adds support for the A83T CCU. The A83T CCU has a mix of new styled (like the A80) clocks at old (like A3x) offsets. Some differences include: - D1/D2 style PLL clocks - divisible audio module clocks - new timing mode for mmc2 module clock

[PATCH 1/4] ptp: do not explicitly set drvdata in ptp_clock_register()

2017-02-13 Thread Dmitry Torokhov
We do not need explicitly call dev_set_drvdata(), as it is done for us by device_create(). Signed-off-by: Dmitry Torokhov --- drivers/ptp/ptp_clock.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/drivers/ptp/ptp_clock.c b/drivers/ptp/ptp_clock.c index

[PATCH 3/4] ptp: use is_visible method to hide unused attributes

2017-02-13 Thread Dmitry Torokhov
Instead of creating selected attributes after the device is created (and after userspace potentially seen uevent), lets use attribute group is_visible() method to control which attributes are shown. This will allow us to create all attributes (except "pins" group, which will be taken care of

[PATCH 2/4] ptp: use kcalloc/kmallco_array when allocating arrays

2017-02-13 Thread Dmitry Torokhov
kcalloc/kmalloc_array are more semantically correct when allocating arrays of objects, and overflow-safe. Signed-off-by: Dmitry Torokhov --- drivers/ptp/ptp_sysfs.c | 9 ++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/drivers/ptp/ptp_sysfs.c

[PATCH 4/4] ptp: create "pins" together with the rest of attributes

2017-02-13 Thread Dmitry Torokhov
Let's switch to using device_create_with_groups(), which will allow us to create "pins" attribute group together with the rest of ptp device attributes, and before userspace gets notified about ptp device creation. Signed-off-by: Dmitry Torokhov ---

Re: [PATCH RFC 0/3] coresight: enable debug module

2017-02-13 Thread Leo Yan
Hi Mike, On Mon, Feb 13, 2017 at 03:58:47PM +, Mike Leach wrote: > Hi Leo, > > A few comments about your driver RFC. > > i) As it stands this looks like it will work for v8 cores, but would need > refining for v7. There are subtle differences in the PC sampling between > the two

Re: [PATCH] sched/deadline: Remove redundant code replenishing runtime

2017-02-13 Thread Byungchul Park
On Mon, Feb 13, 2017 at 03:24:55PM +, Juri Lelli wrote: > > > > I think we actually want to replenish and set the next deadline at this > > > > point of time, not the one that we get when the task will eventually > > > > wake up. > > > > > > Hello juri, > > > > > > But I wonder if it's

Re: [PATCH v4 1/1] DM: inplace compressed DM target

2017-02-13 Thread kbuild test robot
Hi Ram, [auto build test WARNING on dm/for-next] [also build test WARNING on v4.10-rc8 next-20170213] [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/Ram-Pai/DM-inplace-compressed-DM-target

[PATCH] cdrom: Make device operations read-only

2017-02-13 Thread Kees Cook
Since function tables are a common target for attackers, it's best to keep them in read-only memory. As such, this makes the CDROM device ops tables const. This drops additionally n_minors, since it isn't used meaningfully, and sets the only user of cdrom_dummy_generic_packet explicitly so the

Re: [PATCH v2 1/4] seccomp: Add sysctl to display available actions

2017-02-13 Thread Tyler Hicks
On 02/07/2017 06:43 PM, Kees Cook wrote: > On Tue, Feb 7, 2017 at 4:25 PM, Tyler Hicks wrote: >> On 02/07/2017 06:03 PM, Kees Cook wrote: >>> On Thu, Feb 2, 2017 at 9:37 PM, Tyler Hicks wrote: This patch creates a read-only sysctl containing an

[PATCH] cpufreq: make ti-cpufreq explicitly non-modular

2017-02-13 Thread Paul Gortmaker
The Kconfig currently controlling compilation of this code is: drivers/cpufreq/Kconfig.arm:config ARM_TI_CPUFREQ drivers/cpufreq/Kconfig.arm:bool "Texas Instruments CPUFreq support" ...meaning that it currently is not being built as a module by anyone. Lets remove the couple traces of

Re: [RFC PATCH 28/33] irqchip/gic-v3-its: Support VPE doorbell invalidation even when !DirectLPI

2017-02-13 Thread Shanker Donthineni
Hi Marc, On 01/17/2017 04:20 AM, Marc Zyngier wrote: When we don't have the DirectLPI feature, we must work around the architecture shortcomings to be able to perform the required invalidation. For this, we create a fake device whose sole purpose is to provide a way to issue a map/inv/unmap

[PATCH v5 00/15] livepatch: hybrid consistency model

2017-02-13 Thread Josh Poimboeuf
lnar for the use of task_rq_lock() and the modification of do_idle() in patch 13. Thanks! Based on linux-next/master (20170213). v5: - return -EINVAL in __save_stack_trace_reliable() - only call show_stack() once - add save_stack_trace_tsk_reliable() define for !CONFIG_STACKTRACE - update ke

linux-next: manual merge of the mfd tree with the input tree

2017-02-13 Thread Stephen Rothwell
Hi Lee, Today's linux-next merge of the mfd tree got a conflict in: drivers/input/keyboard/cros_ec_keyb.c between commits: 2057e15945a8 ("Input: cros_ec_keyb - drop unnecessary call to dev_set_drvdata and other changes") aef01aad89e4 ("Input: matrix-keypad - switch to using generic

Re: [PATCH 1/5] selftests: Fix selftests build to just build, not run tests

2017-02-13 Thread Michael Ellerman
Michael Ellerman writes: > In commit 88baa78d1f31 ("selftests: remove duplicated all and clean > target"), the "all" target was removed from individual Makefiles and > added to lib.mk. > > However the "all" target was added to lib.mk *after* the existing > "runtests" target.

Re: [PATCH 1/5] selftests: Fix selftests build to just build, not run tests

2017-02-13 Thread Bamvor Zhang Jian
Tested by: Bamvor Jian Zhang On 9 February 2017 at 16:56, Michael Ellerman wrote: > In commit 88baa78d1f31 ("selftests: remove duplicated all and clean > target"), the "all" target was removed from individual Makefiles and > added to lib.mk. > >

linux-next: manual merge of the kvm tree with the powerpc tree

2017-02-13 Thread Stephen Rothwell
Hi all, Today's linux-next merge of the kvm tree got a conflict in: arch/powerpc/include/asm/hvcall.h between commit: 64b40ffbc830 ("powerpc/pseries: Add hypercall wrappers for hash page table resizing") from the powerpc tree and commit: cc3d2940133d ("powerpc/64: Enable use of radix

Re: [PATCH 2/2] net: fs_enet: Simplify code

2017-02-13 Thread David Miller
From: Christophe JAILLET Date: Fri, 10 Feb 2017 21:17:19 +0100 > There is no need to use an intermediate variable to handle an error code > in this case. > > Signed-off-by: Christophe JAILLET Applied.

Re: [PATCH 1/2] net: fs_enet: Fix an error handling path

2017-02-13 Thread David Miller
From: Christophe JAILLET Date: Fri, 10 Feb 2017 21:17:06 +0100 > 'of_node_put(fpi->phy_node)' should also be called if we branch to > 'out_deregister_fixed_link' error handling path. > > Signed-off-by: Christophe JAILLET Applied.

Re: [patch net-next] net: qcom/emac: fix a sizeof() typo

2017-02-13 Thread David Miller
From: Dan Carpenter Date: Mon, 13 Feb 2017 14:00:22 +0300 > We had intended to say "sizeof(u32)" but the "u" is missing. > Fortunately, sizeof(32) is also 4, so the original code still works. > > Fixes: c4e7beea2192 ("net: qcom/emac: add ethtool support for reading >

[PATCH v7] fork: free vmapped stacks in cache when cpus are offline

2017-02-13 Thread Hoeun Ryu
Using virtually mapped stack, kernel stacks are allocated via vmalloc. In the current implementation, two stacks per cpu can be cached when tasks are freed and the cached stacks are used again in task duplications. but the cached stacks may remain unfreed even when cpu are offline. By adding a

Re: [RFC PATCH 21/33] irqchip/gic-v3-its: Add VPE irq domain allocation/teardown

2017-02-13 Thread Shanker Donthineni
Hi Marc, On 01/17/2017 04:20 AM, Marc Zyngier wrote: When creating a VM, the low level GICv4 code is responsible for: - allocating each VPE a unique VPEID - allocating a doorbell interrupt for each VPE - allocating the pending tables for each VPE - allocating the property table for the VM

[PATCH] Documentation: DocBook/Makefile comment typo

2017-02-13 Thread Jim Davis
Fix a se for so typo. Signed-off-by: Jim Davis --- Documentation/DocBook/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Documentation/DocBook/Makefile b/Documentation/DocBook/Makefile index a6eb7dcd4dd5..1f23567bf76e 100644 ---

Re: Is it really safe to use workqueues to drive expedited grace periods?

2017-02-13 Thread Paul E. McKenney
On Sat, Feb 11, 2017 at 11:35:41AM +0900, Tejun Heo wrote: > Hello, Paul. > > On Fri, Feb 10, 2017 at 01:21:58PM -0800, Paul E. McKenney wrote: > > So RCU's expedited grace periods have been using workqueues for a > > little while, and things seem to be working. But as usual, I worry... > > Is

Re: [PATCH v2 1/4] seccomp: Add sysctl to display available actions

2017-02-13 Thread Kees Cook
On Mon, Feb 13, 2017 at 4:25 PM, Tyler Hicks wrote: > kmemleak doesn't complain if we save it to a global. That makes sense > because it means that we have a persistent reference to the allocated > memory. > > However, kmemleak doesn't complain about this allocation as-is

[PATCH] platform: intel_turbo_max_3: make it explicitly non-modular

2017-02-13 Thread Paul Gortmaker
The Kconfig currently controlling compilation of this code is: drivers/platform/x86/Kconfig:config INTEL_TURBO_MAX_3 drivers/platform/x86/Kconfig: bool "Intel Turbo Boost Max Technology 3.0 enumeration driver" ...meaning that it currently is not being built as a module by anyone. Lets remove

[PATCH v4 3/3] Bluetooth: hidp: fix possible might sleep error in hidp_session_thread

2017-02-13 Thread Jeffy Chen
It looks like hidp_session_thread has same pattern as the issue reported in old rfcomm: while (1) { set_current_state(TASK_INTERRUPTIBLE); if (condition) break; // may call might_sleep here schedule();

Re: [PATCH] sched/isolcpus: Show isolated cpu map

2017-02-13 Thread Kefeng Wang
On 2017/2/13 21:32, Peter Zijlstra wrote: > On Mon, Feb 13, 2017 at 09:07:02PM +0800, Kefeng Wang wrote: >> Hi Peter >> >> +Tejun >> >> On 2017/2/13 20:06, Peter Zijlstra wrote: >>> On Mon, Feb 13, 2017 at 05:43:59PM +0800, Kefeng Wang wrote: The commit a6e4491c682a ("sched/isolcpus: Output

Re: drivers/base/power/opp/core.c:1901:6: error: redefinition of 'dev_pm_opp_remove_table'

2017-02-13 Thread Philip Li
On Mon, Feb 13, 2017 at 10:40:53AM +, Sudeep Holla wrote: > On Sun, Feb 12, 2017 at 9:09 PM, kbuild test robot > wrote: > > tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git > > master > > head: 1ce42845f987e92eabfc6e026d44d826c25c74a5 > >

[PATCH] clk: sunxi-ng: sun6i: Fix enable bit offset for hdmi-ddc module clock

2017-02-13 Thread Chen-Yu Tsai
The enable bit offset for the hdmi-ddc module clock is wrong. It is pointing to the main hdmi module clock enable bit. Reported-by: Bob Ham Fixes: c6e6c96d8fa6 ("clk: sunxi-ng: Add A31/A31s clocks") Cc: sta...@vger.kernel.org # 4.9.x- Signed-off-by: Chen-Yu Tsai

[PATCH v3 1/3] binding: irqchip: mtk-cirq: Add binding document

2017-02-13 Thread Youlin Pei
This commit adds the device tree binding document for the mediatek cirq. Signed-off-by: Youlin Pei --- .../interrupt-controller/mediatek,cirq.txt | 35 1 file changed, 35 insertions(+) create mode 100644

[PATCH v3 2/3] irqchip: mtk-cirq: Add mediatek mtk-cirq implement

2017-02-13 Thread Youlin Pei
In Mediatek SOCs, the CIRQ is a low power interrupt controller designed to works outside MCUSYS which comprises with Cortex-Ax cores,CCI and GIC. The CIRQ controller is integrated in between MCUSYS( include Cortex-Ax, CCI and GIC ) and interrupt sources as the second level interrupt controller.

[PATCH v3 3/3] ARM: dts: mt2701: Add mtk-cirq node for mt2701

2017-02-13 Thread Youlin Pei
This commit add mtk-cirq node to mt2701 dtsi. Signed-off-by: Youlin Pei --- arch/arm/boot/dts/mt2701.dtsi | 12 +++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/arch/arm/boot/dts/mt2701.dtsi b/arch/arm/boot/dts/mt2701.dtsi index

Re: [PATCH 2/5] selftests: Fix the .c linking rule

2017-02-13 Thread Bamvor Zhang Jian
Tested-by: Bamvor Jian Zhang On 9 February 2017 at 16:56, Michael Ellerman wrote: > Currently we can't build some tests, for example: > > $ make -C tools/testing/selftests/ TARGETS=vm > ... > gcc -Wall -I ../../../../usr/include -lrt

Re: [PATCH 3/5] selftests: Fix the .S and .S -> .o rules

2017-02-13 Thread Bamvor Zhang Jian
Tested-by: Bamvor Jian Zhang On 9 February 2017 at 16:56, Michael Ellerman wrote: > Both these rules incorrectly use $< (first prerequisite) rather than > $^ (all prerequisites), meaning they don't work if we're using more than > one .S file as

Re: [PATCH net-next 0/2] afs: Use system UUID generation

2017-02-13 Thread David Miller
From: David Howells Date: Fri, 10 Feb 2017 16:46:12 + > There is now a general function for generating a UUID and AFS should make > use of it. It's also been recommended to me that I switch to using random > rather than time plus MAC address-based UUIDs which this

[PATCH v3 2/4] seccomp: Add sysctl to configure actions that should be logged

2017-02-13 Thread Tyler Hicks
Administrators can write to this sysctl to set the maximum seccomp action that should be logged. Any actions with values greater than what's written to the sysctl will not be logged. For example, all SECCOMP_RET_KILL, SECCOMP_RET_TRAP, and SECCOMP_RET_ERRNO actions would be logged if "errno" were

[PATCH v3 4/4] seccomp: Add tests for SECCOMP_RET_LOG

2017-02-13 Thread Tyler Hicks
Extend the kernel selftests for seccomp to test the newly added SECCOMP_RET_LOG action. The added tests follow the example of existing tests. Unfortunately, the tests are not capable of inspecting the audit log to verify that the syscall was logged. Signed-off-by: Tyler Hicks

Re: [PATCH v3 3/4] dmaengine: Add Broadcom SBA RAID driver

2017-02-13 Thread Anup Patel
On Mon, Feb 13, 2017 at 2:43 PM, Anup Patel wrote: > On Fri, Feb 10, 2017 at 11:20 PM, Dan Williams > wrote: >> On Fri, Feb 10, 2017 at 1:07 AM, Anup Patel wrote: >>> The Broadcom stream buffer accelerator (SBA)

Re: [PATCH 4/4] ARM64: dts: Prepare Realtek RTD1295 and Zidoo X9S

2017-02-13 Thread Andreas Färber
Am 14.02.2017 um 04:34 schrieb Andreas Färber: > A list of memory reservations is adopted from v1.2.11 vendor device tree: > 0x0220 can be used for an initrd, 0x01b0 is audio-related; > ion-related 0x0260, 0x02c0 and 0x1100 are left out; others > remain to be investigated.

[PATCH] drm/amd/dc: hw_sequencer: fix semicolon.cocci warnings

2017-02-13 Thread Julia Lawall
Remove unneeded semicolon. Generated by: scripts/coccinelle/misc/semicolon.cocci CC: Harry Wentland Signed-off-by: Julia Lawall Signed-off-by: Fengguang Wu --- tree: git://people.freedesktop.org/~agd5f/linux.git

[PATCH linux v3 0/1] Devicetree binding for ASPEED PWM/Fan Tach

2017-02-13 Thread Jaghathiswari Rankappagounder Natarajan
I received comments regarding devicetree documentation for ASPEED AST2400/AST2500 PWM/Fan Tach controller driver. I have addressed the comments in this patch. I want to work towards a common devicetree structure and then proceed with implementation of the corresponding hwmon driver. Jaghathiswari

Re: [PATCH V2 0/3] Define coherent device memory node

2017-02-13 Thread Anshuman Khandual
On 02/13/2017 09:04 PM, Vlastimil Babka wrote: > On 02/10/2017 11:06 AM, Anshuman Khandual wrote: >> This three patches define CDM node with HugeTLB & Buddy allocation >> isolation. Please refer to the last RFC posting mentioned here for details. >> The series has been split for easier review

Re: net/xfrm: stack out-of-bounds in xfrm_flowi_sport

2017-02-13 Thread Steffen Klassert
On Mon, Feb 13, 2017 at 03:46:56PM +0100, Dmitry Vyukov wrote: > > On commit 7089db84e356562f8ba737c29e472cc42d530dbc. > > > struct flowi4 fl4_stack allocated on stack in udp_sendmsg is being > casted to larger struct flowi and then accessed. Looks like the problem is when using IPv4-mapped

Re: [PATCH BUGFIX] block: make elevator_get robust against cross blk/blk-mq choice

2017-02-13 Thread Omar Sandoval
On Tue, Feb 14, 2017 at 07:58:22AM +0100, Hannes Reinecke wrote: > While we're at the topic: > > Can't we use the same names for legacy and mq scheduler? > It's quite an unnecessary complication to have > 'noop', 'deadline', and 'cfq' for legacy, but 'none' and 'mq-deadline' > for mq. If we could

[PATCH v3 5/9] fput: Don't reinvent the wheel but use existing llist API

2017-02-13 Thread Byungchul Park
Although llist provides proper APIs, they are not used. Make them used. Signed-off-by: Byungchul Park --- fs/file_table.c | 12 +--- 1 file changed, 5 insertions(+), 7 deletions(-) diff --git a/fs/file_table.c b/fs/file_table.c index 6d982b5..3209da2 100644 ---

[PATCH v3 8/9] sched: Don't reinvent the wheel but use existing llist API

2017-02-13 Thread Byungchul Park
Although llist provides proper APIs, they are not used. Make them used. Signed-off-by: Byungchul Park --- kernel/sched/core.c | 15 +++ 1 file changed, 3 insertions(+), 12 deletions(-) diff --git a/kernel/sched/core.c b/kernel/sched/core.c index

RE: [tip:locking/core] refcount_t: Introduce a special purpose refcount type

2017-02-13 Thread Reshetova, Elena
> Subject: refcount: Out-of-line everything > From: Peter Zijlstra > Date: Fri Feb 10 16:27:52 CET 2017 > > Linus asked to please make this real C code. Perhaps a completely stupid question, but I am going to ask anyway since only this way I can learn. What a real

[PATCH v3 9/9] mm: Don't reinvent the wheel but use existing llist API

2017-02-13 Thread Byungchul Park
Although llist provides proper APIs, they are not used. Make them used. Signed-off-by: Byungchul Park --- mm/vmalloc.c | 10 -- 1 file changed, 4 insertions(+), 6 deletions(-) diff --git a/mm/vmalloc.c b/mm/vmalloc.c index 3ca82d4..8c0eb45 100644 ---

[PATCH v3 7/9] irq_work: Don't reinvent the wheel but use existing llist API

2017-02-13 Thread Byungchul Park
Although llist provides proper APIs, they are not used. Make them used. Signed-off-by: Byungchul Park --- kernel/irq_work.c | 6 +- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/kernel/irq_work.c b/kernel/irq_work.c index bcf107c..e2ebe8c 100644 ---

Re: [PATCH v8 3/3] dmaengine: pl330: Don't require irq-safe runtime PM

2017-02-13 Thread Marek Szyprowski
Hi Vinod, On 2017-02-13 16:47, Vinod Koul wrote: On Mon, Feb 13, 2017 at 04:32:32PM +0100, Ulf Hansson wrote: [...] Although, I don't know of other examples, besides the runtime PM use case, where non-atomic channel prepare/unprepare would make sense. Do you? The primary ask for that has

Re: [PATCH v6 3/3] i2c: zx2967: add i2c controller driver for ZTE's zx2967 family

2017-02-13 Thread Jun Nie
On 2017年02月09日 17:32, Baoyou Xie wrote: This patch adds i2c controller driver for ZTE's zx2967 family. Signed-off-by: Baoyou Xie Reviewed-by: Shawn Guo --- drivers/i2c/busses/Kconfig | 9 + drivers/i2c/busses/Makefile | 1 +

Re: [PATCH v4 2/2] procfs/tasks: add a simple per-task procfs hidepid= field

2017-02-13 Thread Christian Kujau
On Mon, 13 Feb 2017, Kees Cook wrote: > Okay, cool. Thanks. (Also, where does "setpriv" live? I must need a > new set of util-linux or something?) Indeed, a newer version of util-linux[0] should do, although Debian/testing appears to have an extra package just for "setpriv":

Re: [PATCH 1/6] clocksource: sh_cmt: compute rate before registration again

2017-02-13 Thread John Stultz
On Mon, Feb 6, 2017 at 1:11 PM, Nicolai Stange wrote: > With the upcoming NTP correction related rate adjustments to be implemented > in the clockevents core, the latter needs to get informed about every rate > change of a clockevent device made after its registration. > >

Re: [PATCH] Input: pwm-beeper: support customized freq for SND_BELL

2017-02-13 Thread Heiko Schocher
Hello Dmitry, Am 14.02.2017 um 05:27 schrieb Dmitry Torokhov: On Wed, Feb 08, 2017 at 10:11:21AM +, Jonas Mark (ST-FIR/ENG1) wrote: Hello Dmitry, extend the pwm-beeper driver to support customized frequency for SND_BELL from device tree. No, SND_BELL is literally SND_TONE @1000Hz.

Re: [PATCH V2 1/2] mm/autonuma: Let architecture override how the write bit should be stashed in a protnone pte.

2017-02-13 Thread Aneesh Kumar K.V
On Tuesday 14 February 2017 11:19 AM, Michael Ellerman wrote: "Aneesh Kumar K.V" writes: Autonuma preserves the write permission across numa fault to avoid taking a writefault after a numa fault (Commit: b191f9b106ea " mm: numa: preserve PTE write

Re: [PATCH v7 5/5] usb: doc: add document for USB3 debug port usage

2017-02-13 Thread Lu Baolu
Hi, On 02/14/2017 02:13 PM, Peter Chen wrote: > >> On 02/14/2017 11:45 AM, Peter Chen wrote: >>> On Tue, Feb 14, 2017 at 10:27 AM, Lu Baolu wrote: >>> Add Documentation/usb/usb3-debug-port.rst. This document includes the user guide for USB3 debug port.

Re: [PATCH] Input: pwm-beeper: support customized freq for SND_BELL

2017-02-13 Thread Dmitry Torokhov
On Wed, Feb 08, 2017 at 10:11:21AM +, Jonas Mark (ST-FIR/ENG1) wrote: > Hello Dmitry, > > > > extend the pwm-beeper driver to support customized frequency > > > for SND_BELL from device tree. > > > > No, SND_BELL is literally SND_TONE @1000Hz. There should be no > > customizing. If

linux-next: build failure after merge of the akpm-current tree

2017-02-13 Thread Stephen Rothwell
Hi Andrew, After merging the akpm-current tree, today's linux-next build (powerpc ppc64_defconfig) failed like this: arch/powerpc/lib/code-patching.c:61:16: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'is_conditional_branch' bool __kprobes is_conditional_branch(unsigned int

Re: [PATCH v2 1/9] llist: Provide a safe version for llist_for_each

2017-02-13 Thread Byungchul Park
On Mon, Feb 13, 2017 at 04:58:05PM +0900, Byungchul Park wrote: > On Mon, Feb 13, 2017 at 03:52:44PM +0800, Huang, Ying wrote: > > Byungchul Park writes: > > > > > On Mon, Feb 13, 2017 at 03:36:33PM +0800, Huang, Ying wrote: > > >> Byungchul Park

Re: [PATCH BUGFIX] block: make elevator_get robust against cross blk/blk-mq choice

2017-02-13 Thread Hannes Reinecke
On 02/13/2017 11:28 PM, Jens Axboe wrote: > On 02/13/2017 03:09 PM, Omar Sandoval wrote: >> On Mon, Feb 13, 2017 at 10:01:07PM +0100, Paolo Valente wrote: >>> If, at boot, a legacy I/O scheduler is chosen for a device using blk-mq, >>> or, viceversa, a blk-mq scheduler is chosen for a device using

[PATCH v3 0/9] Don't reinvent the wheel but use existing llist API

2017-02-13 Thread Byungchul Park
Change from v2 - replace for_each(wake_list) with the safe version in scheduler. - fix a trivial comment in llist.h Change from v1 - split one patch to several ones, one for each subsystem. - replace for_each with the safe version where it's necessary. Byungchul Park (9): llist: Provide a safe

[PATCH v3 6/9] namespace.c: Don't reinvent the wheel but use existing llist API

2017-02-13 Thread Byungchul Park
Although llist provides proper APIs, they are not used. Make them used. Signed-off-by: Byungchul Park --- fs/namespace.c | 12 +--- 1 file changed, 5 insertions(+), 7 deletions(-) diff --git a/fs/namespace.c b/fs/namespace.c index b5b1259..5cb2229 100644 ---

[PATCH v3 1/9] llist: Provide a safe version for llist_for_each

2017-02-13 Thread Byungchul Park
Sometimes we have to dereference next field of llist node before entering loop becasue the node might be deleted or the next field might be modified within the loop. So this adds the safe version of llist_for_each, that is, llist_for_each_safe. Signed-off-by: Byungchul Park

[PATCH] Documentation: Fix linux-api list typo

2017-02-13 Thread Tyler Hicks
A Japanese translation file contained the incorrect email address for the linux-api list. Signed-off-by: Tyler Hicks --- I was unlucky enough to copy and paste this invalid address from `git grep linux-api Documentation` output, resulting in a patch set that bounced.

[RFC][PATCH] usb: dwc2: Make sure we disconnect the gadget state

2017-02-13 Thread John Stultz
Just wanted to get some early feedback on this before I submit it for real for the 4.12 timeframe. This is the last patch, that isn't already queued, which I need to get hikey's USB working properly. Feedback would be greatly appreciated! thanks -john I had seen some odd behavior with HiKey's

Re: [PATCH 1/2] driver core: emit uevents when device is bound to a driver

2017-02-13 Thread Dmitry Torokhov
On Mon, Feb 13, 2017 at 04:52:07PM -0800, Greg Kroah-Hartman wrote: > On Mon, Feb 13, 2017 at 10:46:16AM -0800, Dmitry Torokhov wrote: > > On Mon, Feb 13, 2017 at 04:07:01AM -0800, Greg Kroah-Hartman wrote: > > > On Sun, Feb 12, 2017 at 04:36:18PM -0800, Dmitry Torokhov wrote: > > > > Majority of

Re: [PATCH] PCI: Add cavium acs pci quirk

2017-02-13 Thread Alex Williamson
On Sat, 30 Jan 2016 01:33:58 +0530 Manish Jaggi wrote: > Cavium devices matching this quirk do not perform > peer-to-peer with other functions, allowing masking out > these bits as if they were unimplemented in the ACS capability. > > Acked-by: Tirumalesh Chalamarla

Re: [PATCH v3 3/4] dmaengine: Add Broadcom SBA RAID driver

2017-02-13 Thread Anup Patel
On Fri, Feb 10, 2017 at 11:20 PM, Dan Williams wrote: > On Fri, Feb 10, 2017 at 1:07 AM, Anup Patel wrote: >> The Broadcom stream buffer accelerator (SBA) provides offloading >> capabilities for RAID operations. This SBA offload engine is >>

Re: [PATCH v6 5/5] ARM: dts: sun9i: Initial support for the Sunchip CX-A99 board

2017-02-13 Thread Rask Ingemann Lambertsen
Let me just answer the questions about the regulator names and get back to you about your other points. On Fri, Feb 10, 2017 at 05:22:21PM +0800, Chen-Yu Tsai wrote: > On Fri, Feb 10, 2017 at 4:59 PM, Maxime Ripard > wrote: > > Hi, > > > > On Thu, Feb 09, 2017

[PATCH] drm/amd/dc: fix semicolon.cocci warnings

2017-02-13 Thread Julia Lawall
Remove unneeded semicolon. Generated by: scripts/coccinelle/misc/semicolon.cocci CC: Harry Wentland Signed-off-by: Julia Lawall Signed-off-by: Fengguang Wu --- tree: git://people.freedesktop.org/~agd5f/linux.git

[tip:perf/core] perf diff: Add 'delta-abs' compute method

2017-02-13 Thread tip-bot for Namhyung Kim
Commit-ID: a1668c25a8e1b53d00b2997ef5bc5e25c7a77235 Gitweb: http://git.kernel.org/tip/a1668c25a8e1b53d00b2997ef5bc5e25c7a77235 Author: Namhyung Kim AuthorDate: Fri, 10 Feb 2017 16:36:11 +0900 Committer: Arnaldo Carvalho de Melo CommitDate: Mon, 13

[tip:perf/core] perf diff: Add diff.order config option

2017-02-13 Thread tip-bot for Namhyung Kim
Commit-ID: d49dd15d69731589de4436a6dcfca59567320fdf Gitweb: http://git.kernel.org/tip/d49dd15d69731589de4436a6dcfca59567320fdf Author: Namhyung Kim AuthorDate: Fri, 10 Feb 2017 16:36:12 +0900 Committer: Arnaldo Carvalho de Melo CommitDate: Mon, 13

[tip:perf/core] tools include: Introduce linux/compiler-gcc.h

2017-02-13 Thread tip-bot for Arnaldo Carvalho de Melo
Commit-ID: 192614010a5052fe92611c7076ef664fd9bb60e8 Gitweb: http://git.kernel.org/tip/192614010a5052fe92611c7076ef664fd9bb60e8 Author: Arnaldo Carvalho de Melo AuthorDate: Fri, 10 Feb 2017 11:41:11 -0300 Committer: Arnaldo Carvalho de Melo CommitDate:

Re: [PATCH] seccomp: Only dump core when single-threaded

2017-02-13 Thread Andrei Vagin
On Tue, Feb 07, 2017 at 03:18:51PM -0800, Kees Cook wrote: > The SECCOMP_RET_KILL filter return code has always killed the current > thread, not the entire process. Changing this as a side-effect of dumping > core isn't a safe thing to do (a few test suites have already flagged this > behavioral

[tip:perf/core] perf diff: Add diff.compute config option

2017-02-13 Thread tip-bot for Namhyung Kim
Commit-ID: 4b35994abe459f08f58b4b3855abf4ba80308680 Gitweb: http://git.kernel.org/tip/4b35994abe459f08f58b4b3855abf4ba80308680 Author: Namhyung Kim AuthorDate: Fri, 10 Feb 2017 16:36:13 +0900 Committer: Arnaldo Carvalho de Melo CommitDate: Mon, 13

linux-next: Tree for Feb 14

2017-02-13 Thread Stephen Rothwell
Hi all, Changes since 20170213: Removed trees: rdma-leon, rdma-leon-test (at owner's request) The net tree gained a build failure for which I applied a fix patch. The mfd tree gained a conflict against the input tree. The kvm tree gained conflicts against the powerpc tree. The akpm-current

Re: [PATCH BUGFIX] block: make elevator_get robust against cross blk/blk-mq choice

2017-02-13 Thread Hannes Reinecke
On 02/14/2017 08:07 AM, Omar Sandoval wrote: > On Tue, Feb 14, 2017 at 07:58:22AM +0100, Hannes Reinecke wrote: >> While we're at the topic: >> >> Can't we use the same names for legacy and mq scheduler? >> It's quite an unnecessary complication to have >> 'noop', 'deadline', and 'cfq' for legacy,

Re: [PATCH v4 1/1] DM: inplace compressed DM target

2017-02-13 Thread kbuild test robot
Hi Ram, [auto build test WARNING on dm/for-next] [also build test WARNING on v4.10-rc8 next-20170213] [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/Ram-Pai/DM-inplace-compressed-DM-target

Re: [PATCH v7 5/5] usb: doc: add document for USB3 debug port usage

2017-02-13 Thread Lu Baolu
Hi, On 02/14/2017 11:45 AM, Peter Chen wrote: > On Tue, Feb 14, 2017 at 10:27 AM, Lu Baolu wrote: > >> Add Documentation/usb/usb3-debug-port.rst. This document includes >> the user guide for USB3 debug port. >> >> Cc: linux-...@vger.kernel.org >> Signed-off-by: Lu Baolu

[PATCH v3] usb: gadget: udc: remove pointer dereference after free

2017-02-13 Thread Gustavo A. R. Silva
Remove pointer dereference after free. Addresses-Coverity-ID: 1091173 Acked-by: Michal Nazarewicz Signed-off-by: Gustavo A. R. Silva --- Changes in v2: Move pointer dereference before pci_pool_free() Set pointer to NULL after free Changes in v3:

Re: [PATCH] mtd: spi-nor: intel: use ERR_CAST in return statement

2017-02-13 Thread Marek Vasut
il.com> > Patch is against 4.10-rc7 (localversion-next is next-20170213) > > drivers/mtd/spi-nor/intel-spi.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/drivers/mtd/spi-nor/intel-spi.c b/drivers/mtd/spi-nor/intel-spi.c > index 2956f2c..1a6de4b

Re: [PATCH] mtd: spi-nor: add support for GD25Q256

2017-02-13 Thread Marek Vasut
On 02/14/2017 01:36 AM, Andy Yan wrote: > GD25Q256 is a 32MiB SPI Nor flash from Gigadevice. That's great, and what is this patch doing with it ? Adding support for it, right? Then it should be in the commit message. > Signed-off-by: Andy Yan > --- >

Re: [PATCH V2] mtd: spi-nor: intel: use true/false for boolean

2017-02-13 Thread Marek Vasut
with: > ./drivers/mtd/spi-nor/intel-spi.c:707:3-18: WARNING: Assignment of bool to > 0/1 > > Patch was compile tested with: multi_v7_defconfig (implies > CONFIG_MTD_SPI_NOR=y) > > Patch is against 4.10-rc7 (localversion-next is next-20170213) > > drivers/mtd/spi

Re: [PATCH v2] usb: gadget: udc: remove pointer dereference after free

2017-02-13 Thread Gustavo A. R. Silva
Hi Michal, Quoting Michal Nazarewicz : On Sat, Feb 11 2017, Gustavo A. R. Silva wrote: Remove pointer dereference after free and set pointer to NULL after free. Addresses-Coverity-ID: 1091173 Signed-off-by: Gustavo A. R. Silva Acked-by: Michal

[PATCH v2] drm/amd/dc: resource: fix semicolon.cocci warnings (fwd)

2017-02-13 Thread Julia Lawall
Remove unneeded semicolon. Generated by: scripts/coccinelle/misc/semicolon.cocci CC: Harry Wentland Signed-off-by: Julia Lawall Signed-off-by: Fengguang Wu --- v2: make subject line unique tree:

[PATCH v2] drm/amd/dc: dm_types: fix semicolon.cocci warnings

2017-02-13 Thread Julia Lawall
Remove unneeded semicolons. Generated by: scripts/coccinelle/misc/semicolon.cocci CC: Harry Wentland Signed-off-by: Julia Lawall Signed-off-by: Fengguang Wu --- v2: make subject line unique tree:

Re: [PATCH 02/10] ARM: dts: da850-evm: fix whitespace errors

2017-02-13 Thread Sekhar Nori
On Tuesday 14 February 2017 02:31 AM, Kevin Hilman wrote: > Kevin Hilman writes: > >> Bartosz Golaszewski writes: >> >>> Signed-off-by: Bartosz Golaszewski >> >> I'll fold this one into the original since it's not yet

[PATCH v5] drivers/misc: Add Aspeed LPC control driver

2017-02-13 Thread Cyril Bur
In order to manage server systems, there is typically another processor known as a BMC (Baseboard Management Controller) which is responsible for powering the server and other various elements, sometimes fans, often the system flash. The Aspeed BMC family which is what is used on OpenPOWER

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

2017-02-13 Thread Ingo Molnar
perf/x86/intel: Add Kaby Lake support (2017-02-11 21:28:23 +0100) > > are available in the git repository at: > > git://git.kernel.org/pub/scm/linux/kernel/git/acme/linux.git > tags/perf-core-for-mingo-4.11-20170213 > > for you to fetch changes up to a734fb5d60067a

[tip:perf/core] perf scripting perl: Fix compile error with some perl5 versions

2017-02-13 Thread tip-bot for Wang YanQing
Commit-ID: d7dd112ea5cacf91ae72c0714c3b911eb6016fea Gitweb: http://git.kernel.org/tip/d7dd112ea5cacf91ae72c0714c3b911eb6016fea Author: Wang YanQing AuthorDate: Sun, 12 Feb 2017 10:46:55 +0800 Committer: Arnaldo Carvalho de Melo CommitDate: Mon, 13

[tip:perf/core] perf diff: Change default setting to "delta-abs"

2017-02-13 Thread tip-bot for Namhyung Kim
Commit-ID: be57b3fd218ad4a19725ac4bd53e67b2ede42a9d Gitweb: http://git.kernel.org/tip/be57b3fd218ad4a19725ac4bd53e67b2ede42a9d Author: Namhyung Kim AuthorDate: Sat, 11 Feb 2017 01:18:56 +0900 Committer: Arnaldo Carvalho de Melo CommitDate: Mon, 13

[tip:perf/core] tools lib traceevent: Initialize lenght on OLD_RING_BUFFER_TYPE_TIME_STAMP

2017-02-13 Thread tip-bot for Steven Rostedt (VMware)
Commit-ID: 14e4d7e0abfdefabea2b8796c5a8b2b9c77b5326 Gitweb: http://git.kernel.org/tip/14e4d7e0abfdefabea2b8796c5a8b2b9c77b5326 Author: Steven Rostedt (VMware) AuthorDate: Mon, 13 Feb 2017 12:11:44 -0500 Committer: Arnaldo Carvalho de Melo

<    1   2   3   4   5   6   7   8   9   10   >