Re: [PATCH v2 1/2] dt-bindings: modify document of Rockchip power domains

2016-04-13 Thread Heiko Stübner
Hi Elaine, Am Donnerstag, 14. April 2016, 10:10:55 schrieb Elaine Zhang: > Add qos example for power domain which found on Rockchip SoCs. > These qos register description in TRMs > (rk3036, rk3228, rk3288, rk3366, rk3368, rk3399) looks the same. > > Changes in v2: > No Changes. Changelogs

Re: [PATCH v1] clk: Add clk_composite_set_rate_and_parent

2016-04-13 Thread Heiko Stübner
Am Mittwoch, 13. April 2016, 17:43:31 schrieb Stephen Boyd: > On 04/12, Heiko Stuebner wrote: > > I remember having clocks not overflow their target rate came up in some > > ELC > > talk last week (probably in Stephens Qualcomm-kernel-talk) and a general > > solution might need some changes closer

[PATCH v2] pinctrl: pinctrl-single: Fix pcs_parse_bits_in_pinctrl_entry to use __ffs than ffs

2016-04-13 Thread Keerthy
pcs_parse_bits_in_pinctrl_entry uses ffs which gives bit indices ranging from 1 to MAX. This leads to a corner case where we try to request the pin number = MAX and fails. bit_pos value is being calculted using ffs. pin_num_from_lsb uses bit_pos value. pins array is populated with: pin + pin_num_

Re: [PATCH RFC 09/22] block, cfq: replace CFQ with the BFQ-v0 I/O scheduler

2016-04-13 Thread Mark Brown
On Wed, Apr 13, 2016 at 03:54:22PM -0400, Tejun Heo wrote: > On Fri, Mar 04, 2016 at 09:39:47AM -0800, Christoph Hellwig wrote: > > Btw, can someone explain why you guys waste so much time hacking and > > arguing about a legacy codebase (old request code and I/O schedulers) > > that everyone would

Re: [PATCH v8 02/20] PM / devfreq: exynos: Add documentation for generic exynos bus frequency driver

2016-04-13 Thread Chanwoo Choi
Hi Rob, On 2016년 04월 12일 05:25, Chanwoo Choi wrote: > Hi Rob, > > On Tue, Apr 12, 2016 at 12:40 AM, Rob Herring wrote: >> On Fri, Apr 08, 2016 at 01:24:51PM +0900, Chanwoo Choi wrote: >>> This patch adds the documentation for generic exynos bus frequency >>> driver. >>> >>> Signed-off-by: Chanwo

linux-next: Tree for Apr 14

2016-04-13 Thread Stephen Rothwell
Hi all, Changes since 20160413: The mvebu tree gained a conflict against the arm-soc tree. The tip tree gained a build failure for which I reverted a commit. The leds tree gained conflicts against the nand tree. The akpm-current tree still had its build failure for which I applied a patch

Re: Major KVM issues with kernel 4.5 on the host

2016-04-13 Thread Marc Haber
On Thu, Apr 14, 2016 at 03:16:29AM +0200, Paolo Bonzini wrote: > On 14/04/2016 00:29, Marc Haber wrote: > > On Wed, Apr 13, 2016 at 10:36:34PM +0200, Paolo Bonzini wrote: > >> Didn't help, but a fresh look at the list of 4.5 patches helped. > >> What the hell was I thinking, I missed write_rdtscp_a

Re: [PATCH net v3] net: sched: do not requeue a NULL skb

2016-04-13 Thread David Miller
From: Lars Persson Date: Tue, 12 Apr 2016 08:45:52 +0200 > A failure in validate_xmit_skb_list() triggered an unconditional call > to dev_requeue_skb with skb=NULL. This slowly grows the queue > discipline's qlen count until all traffic through the queue stops. > > We take the optimistic approac

[tip:perf/core] perf thread_map: Add has() method

2016-04-13 Thread tip-bot for Jiri Olsa
Commit-ID: 3407df8bbc3a91d9aa4910130026ab6b3a261b87 Gitweb: http://git.kernel.org/tip/3407df8bbc3a91d9aa4910130026ab6b3a261b87 Author: Jiri Olsa AuthorDate: Tue, 12 Apr 2016 15:29:24 +0200 Committer: Arnaldo Carvalho de Melo CommitDate: Wed, 13 Apr 2016 10:11:50 -0300 perf thread_map:

[tip:perf/core] perf trace: Support callchains for --event too

2016-04-13 Thread tip-bot for Arnaldo Carvalho de Melo
Commit-ID: 202ff9684a912c96e0f2fac65e34280a97ad3611 Gitweb: http://git.kernel.org/tip/202ff9684a912c96e0f2fac65e34280a97ad3611 Author: Arnaldo Carvalho de Melo AuthorDate: Tue, 12 Apr 2016 10:11:07 -0300 Committer: Arnaldo Carvalho de Melo CommitDate: Wed, 13 Apr 2016 10:11:50 -0300 pe

[tip:perf/core] perf cpu_map: Add has() method

2016-04-13 Thread tip-bot for Jiri Olsa
Commit-ID: e632aa69c919462a7f93c8799b97c8a9ddd48fc2 Gitweb: http://git.kernel.org/tip/e632aa69c919462a7f93c8799b97c8a9ddd48fc2 Author: Jiri Olsa AuthorDate: Tue, 12 Apr 2016 15:29:25 +0200 Committer: Arnaldo Carvalho de Melo CommitDate: Wed, 13 Apr 2016 10:11:50 -0300 perf cpu_map: Add

[tip:perf/core] perf sched: Add compact display option

2016-04-13 Thread tip-bot for Jiri Olsa
Commit-ID: 99623c628f5425f09b5321cf621af1da29c0c47d Gitweb: http://git.kernel.org/tip/99623c628f5425f09b5321cf621af1da29c0c47d Author: Jiri Olsa AuthorDate: Tue, 12 Apr 2016 15:29:26 +0200 Committer: Arnaldo Carvalho de Melo CommitDate: Wed, 13 Apr 2016 10:11:51 -0300 perf sched: Add c

[tip:perf/core] perf sched: Use color_fprintf for output

2016-04-13 Thread tip-bot for Jiri Olsa
Commit-ID: 8cd91195e5efc5166fc48eec6cf83ef93133b7b6 Gitweb: http://git.kernel.org/tip/8cd91195e5efc5166fc48eec6cf83ef93133b7b6 Author: Jiri Olsa AuthorDate: Tue, 12 Apr 2016 15:29:27 +0200 Committer: Arnaldo Carvalho de Melo CommitDate: Wed, 13 Apr 2016 10:11:51 -0300 perf sched: Use c

[tip:perf/core] perf thread_map: Make new_by_tid_str constructor public

2016-04-13 Thread tip-bot for Jiri Olsa
Commit-ID: 097be0f5034fc9edaf84253b773b14bc2af9a708 Gitweb: http://git.kernel.org/tip/097be0f5034fc9edaf84253b773b14bc2af9a708 Author: Jiri Olsa AuthorDate: Tue, 12 Apr 2016 15:29:28 +0200 Committer: Arnaldo Carvalho de Melo CommitDate: Wed, 13 Apr 2016 10:11:51 -0300 perf thread_map:

[tip:perf/core] perf sched map: Color given pids

2016-04-13 Thread tip-bot for Jiri Olsa
Commit-ID: a151a37a760aab41c115af8d5016e449228e8d2e Gitweb: http://git.kernel.org/tip/a151a37a760aab41c115af8d5016e449228e8d2e Author: Jiri Olsa AuthorDate: Tue, 12 Apr 2016 15:29:29 +0200 Committer: Arnaldo Carvalho de Melo CommitDate: Wed, 13 Apr 2016 10:11:51 -0300 perf sched map: C

[tip:perf/core] perf sched map: Color given cpus

2016-04-13 Thread tip-bot for Jiri Olsa
Commit-ID: cf294f24f8c83bca6aa8e96b5cc4f78bed887f92 Gitweb: http://git.kernel.org/tip/cf294f24f8c83bca6aa8e96b5cc4f78bed887f92 Author: Jiri Olsa AuthorDate: Tue, 12 Apr 2016 15:29:30 +0200 Committer: Arnaldo Carvalho de Melo CommitDate: Wed, 13 Apr 2016 10:11:51 -0300 perf sched map: C

Re: [PATCH 1/2] [media] atmel-isc: add the Image Sensor Controller code

2016-04-13 Thread Wu, Songjun
master] [also build test ERROR on v4.6-rc3 next-20160413] [if your patch is applied to the wrong git tree, please drop us a note to help improving the system] url: https://github.com/0day-ci/linux/commits/Songjun-Wu/atmel-isc-add-driver-for-Atmel-ISC/20160413-155337 base: git://linuxtv.or

[tip:perf/core] perf sched map: Display only given cpus

2016-04-13 Thread tip-bot for Jiri Olsa
Commit-ID: 73643bb6a21c85509c7ae4c316f502c5a19cce65 Gitweb: http://git.kernel.org/tip/73643bb6a21c85509c7ae4c316f502c5a19cce65 Author: Jiri Olsa AuthorDate: Tue, 12 Apr 2016 15:29:31 +0200 Committer: Arnaldo Carvalho de Melo CommitDate: Wed, 13 Apr 2016 10:11:52 -0300 perf sched map: D

[tip:perf/core] perf evsel: Move some methods from session.[ch] to evsel.[ch]

2016-04-13 Thread tip-bot for Arnaldo Carvalho de Melo
Commit-ID: e20ab86e51218f9949f41fb39a6c4f63b662f135 Gitweb: http://git.kernel.org/tip/e20ab86e51218f9949f41fb39a6c4f63b662f135 Author: Arnaldo Carvalho de Melo AuthorDate: Tue, 12 Apr 2016 15:16:15 -0300 Committer: Arnaldo Carvalho de Melo CommitDate: Wed, 13 Apr 2016 10:11:52 -0300 pe

[tip:perf/core] perf trace: Do not accept --no-syscalls together with -e

2016-04-13 Thread tip-bot for Arnaldo Carvalho de Melo
Commit-ID: 59247e33ff494e3643cdff54b64bf72575052b76 Gitweb: http://git.kernel.org/tip/59247e33ff494e3643cdff54b64bf72575052b76 Author: Arnaldo Carvalho de Melo AuthorDate: Tue, 12 Apr 2016 16:05:02 -0300 Committer: Arnaldo Carvalho de Melo CommitDate: Wed, 13 Apr 2016 10:11:52 -0300 pe

Re: [PATCH 3/7] ARM: dts: Add NoC Probe dt node for Exynos542x SoC

2016-04-13 Thread Chanwoo Choi
On 2016년 04월 12일 17:14, Krzysztof Kozlowski wrote: > On 04/08/2016 07:00 AM, Chanwoo Choi wrote: >> This patch adds the NoCP (Network on Chip Probe) Device Tree node >> to measure the bandwidth of memory and g3d in Exynos542x SoC. >> >> Signed-off-by: Chanwoo Choi >> --- >> arch/arm/boot/dts/exyn

Re: [PATCH v2 1/5] phy: Add a driver for simple phy

2016-04-13 Thread Kishon Vijay Abraham I
Hi, On Tuesday 17 November 2015 02:52 AM, Alban Bedel wrote: > This driver is meant to take care of all trivial phys that don't need > any special configuration, it just enable a regulator, a clock and > deassert a reset. A public API is also included to allow re-using the > code in other drivers.

Re: [PATCH v2 2/2] spi: pic32-sqi: add SPI driver for PIC32 SQI controller.

2016-04-13 Thread Mark Brown
On Wed, Apr 13, 2016 at 06:52:58PM +0530, Purna Chandra Mandal wrote: > + enable = readl(sqi->regs + PESQI_INT_ENABLE_REG); > + status = readl(sqi->regs + PESQI_INT_STAT_REG); > + if (!status) > + return IRQ_NONE; > + For robustness the check should be if there was anythin

Re: [PATCH v1 1/3] regmap: add regmap_can_raw_read() api

2016-04-13 Thread Mark Brown
On Wed, Apr 13, 2016 at 06:39:12PM +0100, Srinivas Kandagatla wrote: > This patch adds regmap_can_raw_read() api so that users like nvmem can > check if the regmap is capable of doing a raw accessors. This can also > be used by other infrastructures like nvmem which are based on regmap. This seems

Re: [PATCH v4 00/20] x86, boot: kaslr cleanup and 64bit kaslr support

2016-04-13 Thread Kees Cook
On Wed, Apr 13, 2016 at 7:11 AM, Kees Cook wrote: > On Wed, Apr 13, 2016 at 3:19 AM, Ingo Molnar wrote: >> >> * Kees Cook wrote: >> >>> FWIW, I've also had this tree up in my git branches, and the 0day >>> tester hasn't complained at all about it in the last two weeks. I'd >>> really like to see

Re: Major KVM issues with kernel 4.5 on the host

2016-04-13 Thread Marc Haber
On Thu, Apr 14, 2016 at 03:16:29AM +0200, Paolo Bonzini wrote: > Ok, then I guess bisection is needed. Please first try commit > 45bdbcfdf241. That kernel labels itself as "4.4.0-rc5+", is that correct? Greetings Marc -- -

[PATCH] iommu/amd: Set AMD iommu callbacks for platform bus driver

2016-04-13 Thread Wan Zongshun
From: Wan Zongshun AMD has more drivers will use ACPI to platform bus driver later, all those devices need iommu support, such as eMMC acpi driver. Signed-off-by: Wan Zongshun --- drivers/iommu/amd_iommu.c | 4 1 file changed, 4 insertions(+) diff --git a/drivers/iommu/amd_iommu.c b/driv

Re: [PATCHSET RFC cgroup/for-4.6] cgroup, sched: implement resource group and PRIO_RGRP

2016-04-13 Thread Mike Galbraith
On Wed, 2016-04-13 at 11:59 -0400, Tejun Heo wrote: > Hello, Mike. > > On Wed, Apr 13, 2016 at 09:43:01AM +0200, Mike Galbraith wrote: > > > The cost is part aesthetical and part practical. While less > > > elegant > > > than tree of uniform objects, it seems a stretch to call internal > > > / >

Re: [PATCH 00/42] v5: separate operations from flags in the bio/request structs

2016-04-13 Thread Hannes Reinecke
is patchset was made against linux-next from today April 13 > (git tag next-20160413). > > I put a git tree here: > https://github.com/mikechristie/linux-kernel.git > The patches are in the op branch. > A round of applause for you. For the entire series: Reviewed-by:

Re: [PATCHv2 1/2] target: make target db location configurable

2016-04-13 Thread Hannes Reinecke
On 04/13/2016 10:25 PM, Lee Duncan wrote: > This commit adds the read-write attribute "dbroot", > in the top-level CONFIGFS (core) target directory, > normally /sys/kernel/config/target. This attribute > defaults to "/var/target" but can be changed by > writing a new pathname string to it. Changing

Re: [PATCH 2/2] target: use new "dbroot" target attribute

2016-04-13 Thread Hannes Reinecke
On 04/13/2016 10:25 PM, Lee Duncan wrote: > This commit updates the target core ALUA and PR > modules to use the new "dbroot" attribute instead > of assuming the target database is in "/var/target". > > Signed-off-by: Lee Duncan > --- > drivers/target/target_core_alua.c | 6 +++--- > drivers/tar

Re: [PATCH 1/7] [media]: v4l: add Mediatek MT21 video block format

2016-04-13 Thread tiffany lin
Hi On Wed, 2016-04-13 at 10:23 -0400, Nicolas Dufresne wrote: > Le mercredi 13 avril 2016 à 20:01 +0800, Tiffany Lin a écrit : > > From: Daniel Kurtz > > > > Mediatek video format is YVU8_420_2PLANE_PACK8_PROGRESSIVE. > > > > Create V4L2_PIX_FMT_MT21 and DRM_FORMAT_MT21 to be consistent with >

[PATCH v2 2/2] rockchip: power-domain: support qos save and restore

2016-04-13 Thread Elaine Zhang
support qos save and restore when power domain on/off. Signed-off-by: Elaine Zhang --- drivers/soc/rockchip/pm_domains.c | 104 -- 1 file changed, 101 insertions(+), 3 deletions(-) diff --git a/drivers/soc/rockchip/pm_domains.c b/drivers/soc/rockchip/pm_doma

[PATCH v2 1/2] dt-bindings: modify document of Rockchip power domains

2016-04-13 Thread Elaine Zhang
Rockchip Socs contain quality of service (qos) blocks managing priority, bandwidth, etc of the connection of each domain to the interconnect. These blocks loose state when their domain gets disabled and therefore need to be saved when disabling and restored when enabling a power-domain. These qos

[RESEND PATCH v2 0/2] rockchip: power-domain: support qos save and restore

2016-04-13 Thread Elaine Zhang
add qos document in dt-bingings. modify power domain driver to support qos save and restore. Changes in v2: [PATCH V2 1/2]: fix up the commit message. [PATCH V2 2/2]: add some error handling. fix up the define and request space for qos_regmap and qos_save_regs. Elaine Zhang (2):

Re: [PATCH v2 2/4] PCI: Provide common functions for ECAM mapping

2016-04-13 Thread Jon Masters
On 04/12/2016 12:44 PM, Lorenzo Pieralisi wrote: > On Tue, Apr 12, 2016 at 12:26:25AM -0400, Jon Masters wrote: > > [...] > >> Quoting Bjorn's original reply to the previous series: >> >>> Some of the code that moved to drivers/acpi/pci_mcfg.c is not >>> really ACPI-specific, and could potentiall

Re: [PATCH v4 00/20] x86, boot: kaslr cleanup and 64bit kaslr support

2016-04-13 Thread Baoquan He
On 04/13/16 at 11:02pm, Kees Cook wrote: > On Wed, Apr 13, 2016 at 7:11 AM, Kees Cook wrote: > > On Wed, Apr 13, 2016 at 3:19 AM, Ingo Molnar wrote: > >> > >> * Kees Cook wrote: > >> > >>> FWIW, I've also had this tree up in my git branches, and the 0day > >>> tester hasn't complained at all abo

Crypto Fixes for 4.6

2016-04-13 Thread Herbert Xu
Hi Linus: This push fixes an NFS regression caused by the skcipher/hash conversion in sunrpc. It also fixes a build problem in certain configurations with bcm63xx. Please pull from git://git.kernel.org/pub/scm/linux/kernel/git/herbert/crypto-2.6.git linus Herbert Xu (1): sunrpc: Fix sk

Linux 3.12.58

2016-04-13 Thread Jiri Slaby
I'm announcing the release of the 3.12.58 kernel. All users of the 3.12 kernel series must upgrade. The updated 3.12.y git tree can be found at: git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable.git linux-3.12.y and can be browsed at the normal kernel.org git web browser:

Re: [PATCH 18/19] crypto: get rid of superfluous __GFP_REPEAT

2016-04-13 Thread Herbert Xu
On Mon, Apr 11, 2016 at 01:08:11PM +0200, Michal Hocko wrote: > From: Michal Hocko > > __GFP_REPEAT has a rather weak semantic but since it has been introduced > around 2.6.12 it has been ignored for low order allocations. > > lzo_init uses __GFP_REPEAT to allocate LZO1X_MEM_COMPRESS 16K. This i

Re: [PATCH 5/7] clk: samsung: exynos542x: Add the clock id for ACLK

2016-04-13 Thread Chanwoo Choi
Hi Tomasz and Krzysztof, On 2016년 04월 13일 15:20, Tomasz Figa wrote: > 2016-04-12 14:25 GMT+03:00 Krzysztof Kozlowski : >> On 04/08/2016 07:00 AM, Chanwoo Choi wrote: >>> This patch adds the clock id for ACLK clock which is source clock of AMBA >>> AXI >>> Bus. This clock should be handled in Bus

Re: [PATCH] rtc: support for rv4162c7

2016-04-13 Thread Tomas Krcka
Hi, that's correct, but idetification of this chip is rv4162c7 so i2c_match_id() returns NULL. If it's there any workaround, how the chip can be detected automatically then OK, but without this patch it doesn't work for me. 2016-04-14 0:49 GMT+02:00 Alexandre Belloni : > Hi, > > On 13/04/2016 at

Re: [PATCH v1 3/3] nvmem: core: fix regmap accessor usage

2016-04-13 Thread Mark Brown
On Wed, Apr 13, 2016 at 06:39:14PM +0100, Srinivas Kandagatla wrote: > With the recent patch of removing the raw accessors form regmap-mmio, > broke the qfprom support. This patch attempts to fix that regression > by adding check before calling regmap raw accessors functions. > > Without this patc

Re: [PATCH v1 2/3] regmap: add dummy regmap_can_raw_write() to header

2016-04-13 Thread Mark Brown
On Wed, Apr 13, 2016 at 06:39:13PM +0100, Srinivas Kandagatla wrote: > This patch adds dummy function for regmap_can_raw_write() in the header > file, so that the code can be atleast compiled without regmap enabled. > This kind of setup is mostly tested using randomconfig or zero > day-testing. I'

[PATCH RFC v1 02/12] Reroute rtc update irqs to the cyclic scheduler handler

2016-04-13 Thread Bill Huey (hui)
Redirect rtc update irqs so that it drives the cyclic scheduler timer handler instead. Let the handler determine which slot to activate next. Similar to scheduler tick handling but just for the cyclic scheduler. Signed-off-by: Bill Huey (hui) --- drivers/rtc/interface.c | 23

[PATCH RFC v1 12/12] Cyclic/rtc documentation

2016-04-13 Thread Bill Huey (hui)
Initial attempt at documentation with a test program Signed-off-by: Bill Huey (hui) --- Documentation/scheduler/sched-cyclic-rtc.txt | 468 +++ 1 file changed, 468 insertions(+) create mode 100644 Documentation/scheduler/sched-cyclic-rtc.txt diff --git a/Documentation/s

[PATCH RFC v1 06/12] Add anonymous struct to sched_rt_entity

2016-04-13 Thread Bill Huey (hui)
Add an anonymous struct to support admittance using a red-black tree, overrun tracking, state for whether or not to yield or block, debugging support, execution slot pattern for the scheduler. Signed-off-by: Bill Huey (hui) --- include/linux/sched.h | 15 +++ 1 file changed, 15 inser

[PATCH RFC v1 04/12] Anonymous struct initialization

2016-04-13 Thread Bill Huey (hui)
Anonymous struct initialization Signed-off-by: Bill Huey (hui) --- include/linux/init_task.h | 18 ++ 1 file changed, 18 insertions(+) diff --git a/include/linux/init_task.h b/include/linux/init_task.h index f2cb8d4..ac9b0d9 100644 --- a/include/linux/init_task.h +++ b/include/l

[PATCH RFC v1 11/12] Cyclic scheduler support

2016-04-13 Thread Bill Huey (hui)
Core implementation of the cyclic scheduler that includes admittance handling, thread death supprot, cyclic timer tick handler, primitive proc debugging interface, wait-queue modifications. Signed-off-by: Bill Huey (hui) --- kernel/sched/cyclic.c| 620

[PATCH RFC v1 09/12] Add priority support for the cyclic scheduler

2016-04-13 Thread Bill Huey (hui)
Initial bits to prevent priority changing of cyclic scheduler tasks by only allow them to be SCHED_FIFO. Fairly hacky at this time and will need revisiting because of the security concerns. Affects task death handling since it uses an additional scheduler class hook for clean up at death. Must be

Re: [PATCH 0/3] crypto: af_alg - add TLS type encryption

2016-04-13 Thread Nikos Mavrogiannopoulos
On Thu, Apr 14, 2016 at 12:46 AM, Tadeusz Struk wrote: > Hi Fridolin, > On 04/12/2016 04:13 AM, Fridolin Pokorny wrote: >> we were experimenting with this. We have a prove of concept of a kernel >> TLS type socket, so called AF_KTLS, which is based on Dave Watson's >> RFC5288 patch. It handles bot

Re: [PATCH 0/5] Live patching for powerpc

2016-04-13 Thread Michael Ellerman
On Wed, 2016-04-13 at 15:22 +0200, Jiri Kosina wrote: > On Wed, 13 Apr 2016, Miroslav Benes wrote: > > > This series adds live patching support for powerpc (ppc64le only ATM). > > > > > > It's unchanged since the version I posted on March 24, with the exception > > > that > > > I've dropped the f

[PATCH RFC v1 08/12] Compilation support

2016-04-13 Thread Bill Huey (hui)
Makefile changes to support the menuconfig option Signed-off-by: Bill Huey (hui) --- kernel/sched/Makefile | 1 + 1 file changed, 1 insertion(+) diff --git a/kernel/sched/Makefile b/kernel/sched/Makefile index 302d6eb..df8e131 100644 --- a/kernel/sched/Makefile +++ b/kernel/sched/Makefile @@ -1

[PATCH RFC v1 10/12] Export SCHED_FIFO/RT requeuing functions

2016-04-13 Thread Bill Huey (hui)
SCHED_FIFO/RT tail/head runqueue insertion support, initial thread death support via a hook to the scheduler class. Thread death must include additional semantics to remove/discharge an admitted task properly. Signed-off-by: Bill Huey (hui) --- kernel/sched/rt.c | 41

[PATCH RFC v1 03/12] Add cyclic support to rtc-dev.c

2016-04-13 Thread Bill Huey (hui)
wait-queue changes to rtc_dev_read so that it can support overrun count reporting when multiple threads are blocked against a single wait object. ioctl() additions to allow for those calling it to admit the thread to the cyclic scheduler. Signed-off-by: Bill Huey (hui) --- drivers/rtc/rtc-dev.c

[PATCH RFC v1 07/12] kernel/userspace additions for addition ioctl() support for rtc

2016-04-13 Thread Bill Huey (hui)
Add additional ioctl() values to rtc so that it can 'admit' the calling thread into a red-black tree for tracking, set the execution slot pattern, support for setting whether read() will yield or block. Signed-off-by: Bill Huey (hui) --- include/uapi/linux/rtc.h | 4 1 file changed, 4 inser

[PATCH RFC v1 05/12] Task tracking per file descriptor

2016-04-13 Thread Bill Huey (hui)
Task tracking per file descriptor for thread death clean up. Signed-off-by: Bill Huey (hui) --- drivers/rtc/class.c | 3 +++ include/linux/rtc.h | 3 +++ 2 files changed, 6 insertions(+) diff --git a/drivers/rtc/class.c b/drivers/rtc/class.c index 74fd974..ad570b9 100644 --- a/drivers/rtc/class

[PATCH RFC v1 00/12] Cyclic Scheduler Against RTC

2016-04-13 Thread Bill Huey (hui)
Hi, Simple compilation updates here along with an admittance logic clean up. The test program wasn't working properly without it. Slipped up in the rush to get it out. 64 bit portability fixes coming next. I made a bogus assumption about needing an RB tree for admittance. That'll go next. I'd li

[PATCH RFC v1 01/12] Kconfig change

2016-04-13 Thread Bill Huey (hui)
Add the selection options for the cyclic scheduler Signed-off-by: Bill Huey (hui) --- drivers/rtc/Kconfig | 5 + 1 file changed, 5 insertions(+) diff --git a/drivers/rtc/Kconfig b/drivers/rtc/Kconfig index 544bd34..8a1b704 100644 --- a/drivers/rtc/Kconfig +++ b/drivers/rtc/Kconfig @@ -73,6

[PATCH] mtd: nand: omap2: fix compare_const_fl.cocci warnings

2016-04-13 Thread Julia Lawall
Move constants to the right of binary operators. Generated by: scripts/coccinelle/misc/compare_const_fl.cocci CC: Rafał Miłecki Signed-off-by: Fengguang Wu Signed-off-by: Julia Lawall --- It's minor point, but I think it would look a bit nicer, since one would see the important thing (is_wri

[PATCH] pinctrl: pinctrl-single: Fix pcs_parse_bits_in_pinctrl_entry to use __ffs than ffs

2016-04-13 Thread Keerthy
pcs_parse_bits_in_pinctrl_entry uses ffs which gives bit indices ranging from 1 to MAX. This leads to a corner case where we try to request the pin number = MAX and fails. bit_pos value is being calculted using ffs. pin_num_from_lsb uses bit_pos value. pins array is populated with: pin + pin_num_

Re: [GIT PULL 00/19] perf/core improvements

2016-04-13 Thread Ingo Molnar
* Arnaldo Carvalho de Melo wrote: > Hi Ingo, > > Please consider pulling, tested with 'perf test', 'make -C tools/perf > build-test' and building on these userspaces, using docker: > > # dm > alldeps-fedora-rawhide-minus-python-dev: Ok > alldeps-fedora-20: Ok > alldeps-ubuntu-12.

Applied "regulator: core: Fix locking of GPIO list on free" to the regulator tree

2016-04-13 Thread Mark Brown
The patch regulator: core: Fix locking of GPIO list on free has been applied to the regulator tree at git://git.kernel.org/pub/scm/linux/kernel/git/broonie/regulator.git All being well this means that it will be integrated into the linux-next tree (usually sometime in the next 24 hours)

[RESEND PATCH 1/2] ARM: mediatek: Add MT2701 config options for mediatek SoCs.

2016-04-13 Thread Biao Huang
From: Erin Lo The upcoming MTK pinctrl driver have a big pin table for each SoC and we don't want to bloat the kernel binary if we don't need it. Add config options so we can build for one SoC only. Add MT2701. Signed-off-by: Erin Lo Acked-by: Linus Walleij --- arch/arm/mach-mediatek/Kconfig

[RESEND PATCH 2/2] arm: dts: Add pinctrl/GPIO/EINT node for mt2701

2016-04-13 Thread Biao Huang
Add pinctrl and GPIO node to mt2701.dtsi Signed-off-by: Biao Huang Acked-by: Linus Walleij --- This patch has been reverted in 7aec2fd74add9c4a61d77f51c805b4f7592956da We have checked it can build pass in kernel-4.6 rc1 --- arch/arm/boot/dts/mt2701.dtsi | 19 +++ 1 file change

[RESEND PATCH 0/2] pinctrl: mediatek: add pinctrl/GPIO/EINT driver for mt2701

2016-04-13 Thread Biao Huang
Biao Huang (1): arm: dts: Add pinctrl/GPIO/EINT node for mt2701 Erin Lo (1): ARM: mediatek: Add MT2701 config options for mediatek SoCs. arch/arm/boot/dts/mt2701.dtsi | 19 +++ arch/arm/mach-mediatek/Kconfig |4 2 files changed, 23 insertions(+) -- 1.7.9.5

drivers/gpu/drm/nouveau/nvkm/subdev/iccsense/base.c:133:2-7: WARNING: NULL check before freeing functions like kfree, debugfs_remove, debugfs_remove_recursive or usb_free_urb is not needed. Maybe cons

2016-04-13 Thread kbuild test robot
tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master head: 1c74a7f812b135d3df41d7c3671b647aed6467bf commit: b71c0892631af3dd2aea708529d282a65c683be5 drm/nouveau/iccsense: implement for ina209, ina219 and ina3221 date: 4 weeks ago coccinelle warnings: (new ones p

[PATCH] drm/nouveau/iccsense: fix ifnullfree.cocci warnings

2016-04-13 Thread kbuild test robot
drivers/gpu/drm/nouveau/nvkm/subdev/iccsense/base.c:133:2-7: WARNING: NULL check before freeing functions like kfree, debugfs_remove, debugfs_remove_recursive or usb_free_urb is not needed. Maybe consider reorganizing relevant code to avoid passing NULL values. NULL check before some freeing f

[tip:perf/core] perf probe: Check if dwarf_getlocations() is available

2016-04-13 Thread tip-bot for Arnaldo Carvalho de Melo
Commit-ID: bd0419e2a5a9fd9396cb7dc69044f961f52e19f0 Gitweb: http://git.kernel.org/tip/bd0419e2a5a9fd9396cb7dc69044f961f52e19f0 Author: Arnaldo Carvalho de Melo AuthorDate: Tue, 5 Apr 2016 11:33:41 -0300 Committer: Arnaldo Carvalho de Melo CommitDate: Wed, 6 Apr 2016 10:44:28 -0300 perf

[tip:perf/core] perf config: Fix build with older toolchain.

2016-04-13 Thread tip-bot for Vinson Lee
Commit-ID: d8e28654f28de74951ab1b7e59d2bebb442972aa Gitweb: http://git.kernel.org/tip/d8e28654f28de74951ab1b7e59d2bebb442972aa Author: Vinson Lee AuthorDate: Mon, 4 Apr 2016 22:07:39 + Committer: Arnaldo Carvalho de Melo CommitDate: Wed, 6 Apr 2016 10:44:28 -0300 perf config: Fix b

[tip:perf/core] perf tools: Remove superfluous ARCH Makefile includes

2016-04-13 Thread tip-bot for Jiri Olsa
Commit-ID: 860b69f1d533de39fa70784768008d0eaf242e5c Gitweb: http://git.kernel.org/tip/860b69f1d533de39fa70784768008d0eaf242e5c Author: Jiri Olsa AuthorDate: Tue, 5 Apr 2016 17:01:52 +0200 Committer: Arnaldo Carvalho de Melo CommitDate: Wed, 6 Apr 2016 11:00:01 -0300 perf tools: Remove

[tip:perf/core] perf list: Document event specifications better

2016-04-13 Thread tip-bot for Andi Kleen
Commit-ID: 85f8f966a152f5110a12b76511743fbfb62130ba Gitweb: http://git.kernel.org/tip/85f8f966a152f5110a12b76511743fbfb62130ba Author: Andi Kleen AuthorDate: Mon, 4 Apr 2016 15:58:06 -0700 Committer: Arnaldo Carvalho de Melo CommitDate: Wed, 6 Apr 2016 11:19:18 -0300 perf list: Documen

[tip:perf/core] perf trace: Beautify sched_setscheduler 'policy' argument

2016-04-13 Thread tip-bot for Arnaldo Carvalho de Melo
Commit-ID: a3bca91f2fe54af502deaf277dd5ac0e18bffde4 Gitweb: http://git.kernel.org/tip/a3bca91f2fe54af502deaf277dd5ac0e18bffde4 Author: Arnaldo Carvalho de Melo AuthorDate: Wed, 6 Apr 2016 12:51:33 -0300 Committer: Arnaldo Carvalho de Melo CommitDate: Wed, 6 Apr 2016 14:13:40 -0300 perf

[tip:perf/core] perf trace: Infrastructure to show COMM strings for syscalls returning PIDs

2016-04-13 Thread tip-bot for Arnaldo Carvalho de Melo
Commit-ID: 11c8e39f5133aed9e0f8ffc624c7d5f64c97bc79 Gitweb: http://git.kernel.org/tip/11c8e39f5133aed9e0f8ffc624c7d5f64c97bc79 Author: Arnaldo Carvalho de Melo AuthorDate: Wed, 6 Apr 2016 14:33:07 -0300 Committer: Arnaldo Carvalho de Melo CommitDate: Wed, 6 Apr 2016 14:37:25 -0300 perf

[PATCH v2] tpm: fix crash in tpm_tis deinitialization

2016-04-13 Thread Jarkko Sakkinen
rmmod crashes the driver because tpm_chip_unregister() already sets ops to NULL. This commit fixes the issue by moving tpm2_shutdown() to tpm_chip_unregister(). This commit is also cleanup because it removes duplicate code from tpm_crb and tpm_tis to the core. v2: make sending shutdown command ato

[tip:perf/core] perf trace: Beautify set_tid_address, getpid, getppid return values

2016-04-13 Thread tip-bot for Arnaldo Carvalho de Melo
Commit-ID: c65f10701ac68259043ccbfac1979778a1fd7846 Gitweb: http://git.kernel.org/tip/c65f10701ac68259043ccbfac1979778a1fd7846 Author: Arnaldo Carvalho de Melo AuthorDate: Wed, 6 Apr 2016 14:55:18 -0300 Committer: Arnaldo Carvalho de Melo CommitDate: Wed, 6 Apr 2016 14:58:59 -0300 perf

[tip:perf/core] perf trace: Beautify pid_t arguments

2016-04-13 Thread tip-bot for Arnaldo Carvalho de Melo
Commit-ID: d1d438a3b1eb64eb99fc918d13a52ded3e941d67 Gitweb: http://git.kernel.org/tip/d1d438a3b1eb64eb99fc918d13a52ded3e941d67 Author: Arnaldo Carvalho de Melo AuthorDate: Wed, 6 Apr 2016 18:02:41 -0300 Committer: Arnaldo Carvalho de Melo CommitDate: Wed, 6 Apr 2016 19:36:30 -0300 perf

[tip:perf/core] perf script: Process event update events

2016-04-13 Thread tip-bot for Jiri Olsa
Commit-ID: 91daee306a51ca7b4d3ca7fdcf7472b0ed2c80c1 Gitweb: http://git.kernel.org/tip/91daee306a51ca7b4d3ca7fdcf7472b0ed2c80c1 Author: Jiri Olsa AuthorDate: Thu, 7 Apr 2016 09:11:13 +0200 Committer: Arnaldo Carvalho de Melo CommitDate: Fri, 8 Apr 2016 09:58:12 -0300 perf script: Proces

[tip:perf/core] perf trace: Beautify mode_t arguments

2016-04-13 Thread tip-bot for Arnaldo Carvalho de Melo
Commit-ID: ba2f22cf9989561c08225f0e88078d5562832313 Gitweb: http://git.kernel.org/tip/ba2f22cf9989561c08225f0e88078d5562832313 Author: Arnaldo Carvalho de Melo AuthorDate: Thu, 7 Apr 2016 12:05:51 -0300 Committer: Arnaldo Carvalho de Melo CommitDate: Fri, 8 Apr 2016 09:58:13 -0300 perf

[tip:perf/core] perf tools: Introduce trim function

2016-04-13 Thread tip-bot for Jiri Olsa
Commit-ID: 7d6a7e782558323364bc0ae59f3523175c10b258 Gitweb: http://git.kernel.org/tip/7d6a7e782558323364bc0ae59f3523175c10b258 Author: Jiri Olsa AuthorDate: Thu, 7 Apr 2016 09:11:11 +0200 Committer: Arnaldo Carvalho de Melo CommitDate: Thu, 7 Apr 2016 10:21:49 -0300 perf tools: Introdu

[tip:perf/core] perf tools: Add dedicated unwind addr_space member into thread struct

2016-04-13 Thread tip-bot for Jiri Olsa
Commit-ID: e583d70c54976f81855c7ca763b036bad399f4e0 Gitweb: http://git.kernel.org/tip/e583d70c54976f81855c7ca763b036bad399f4e0 Author: Jiri Olsa AuthorDate: Thu, 7 Apr 2016 09:11:12 +0200 Committer: Arnaldo Carvalho de Melo CommitDate: Fri, 8 Apr 2016 09:58:02 -0300 perf tools: Add ded

[tip:perf/core] perf tools: Allow generating per-arch syscall table arrays

2016-04-13 Thread tip-bot for Arnaldo Carvalho de Melo
Commit-ID: 5af56fab2b11769e35ce96613d321bcc0f7b84c1 Gitweb: http://git.kernel.org/tip/5af56fab2b11769e35ce96613d321bcc0f7b84c1 Author: Arnaldo Carvalho de Melo AuthorDate: Mon, 4 Apr 2016 17:52:18 -0300 Committer: Arnaldo Carvalho de Melo CommitDate: Fri, 8 Apr 2016 09:58:14 -0300 perf

[tip:perf/core] perf trace: Move syscall table id <-> name routines to separate class

2016-04-13 Thread tip-bot for Arnaldo Carvalho de Melo
Commit-ID: fd0db10268b3729eb466fd726a39ce7d800bb150 Gitweb: http://git.kernel.org/tip/fd0db10268b3729eb466fd726a39ce7d800bb150 Author: Arnaldo Carvalho de Melo AuthorDate: Mon, 4 Apr 2016 13:32:20 -0300 Committer: Arnaldo Carvalho de Melo CommitDate: Fri, 8 Apr 2016 09:58:13 -0300 perf

[tip:perf/core] perf symbols: Adjust symbol for shared objects

2016-04-13 Thread tip-bot for Wang Nan
Commit-ID: 99e87f7bb7268cf644add87130590966fd5d0d17 Gitweb: http://git.kernel.org/tip/99e87f7bb7268cf644add87130590966fd5d0d17 Author: Wang Nan AuthorDate: Thu, 7 Apr 2016 10:24:31 + Committer: Arnaldo Carvalho de Melo CommitDate: Fri, 8 Apr 2016 09:58:15 -0300 perf symbols: Adjust

[tip:perf/core] perf tools: Build syscall table .c header from kernel's syscall_64.tbl

2016-04-13 Thread tip-bot for Arnaldo Carvalho de Melo
Commit-ID: 1b700c9975008615ad470cf79acc8455ce60a695 Gitweb: http://git.kernel.org/tip/1b700c9975008615ad470cf79acc8455ce60a695 Author: Arnaldo Carvalho de Melo AuthorDate: Mon, 4 Apr 2016 19:05:36 -0300 Committer: Arnaldo Carvalho de Melo CommitDate: Fri, 8 Apr 2016 09:58:14 -0300 perf

[tip:perf/core] perf symbols: Record text offset in dso to calculate objdump address

2016-04-13 Thread tip-bot for Wang Nan
Commit-ID: a58f7033ba892b7d299954b94471450d72623039 Gitweb: http://git.kernel.org/tip/a58f7033ba892b7d299954b94471450d72623039 Author: Wang Nan AuthorDate: Thu, 7 Apr 2016 10:24:30 + Committer: Arnaldo Carvalho de Melo CommitDate: Fri, 8 Apr 2016 09:58:14 -0300 perf symbols: Record

[tip:perf/core] perf thread_map: Use readdir() instead of deprecated readdir_r()

2016-04-13 Thread tip-bot for Arnaldo Carvalho de Melo
Commit-ID: 3354cf71104de49326d19d2f9bdb1f66eea52ef4 Gitweb: http://git.kernel.org/tip/3354cf71104de49326d19d2f9bdb1f66eea52ef4 Author: Arnaldo Carvalho de Melo AuthorDate: Fri, 8 Apr 2016 11:31:24 -0300 Committer: Arnaldo Carvalho de Melo CommitDate: Fri, 8 Apr 2016 11:31:24 -0300 perf

Re: [fuse-devel] Horrible mmap write performance (kernel writeback issue?)

2016-04-13 Thread Sedat Dilek
On Tue, Apr 12, 2016 at 1:09 PM, Tejun Heo wrote: > Hello, > > On Tue, Apr 12, 2016 at 02:54:08PM +0530, Ashish Sangwan wrote: >> On Tue, Apr 12, 2016 at 5:54 AM, Tejun Heo wrote: >> > Hello, >> > >> > On Mon, Apr 11, 2016 at 10:04:42AM +0200, Jakob Unterwurzacher wrote: >> >> What seems to be ha

[tip:perf/core] perf script: Use readdir() instead of deprecated readdir_r()

2016-04-13 Thread tip-bot for Arnaldo Carvalho de Melo
Commit-ID: a5e8e825bd1704c488bf6a46936aaf3b9f203d6a Gitweb: http://git.kernel.org/tip/a5e8e825bd1704c488bf6a46936aaf3b9f203d6a Author: Arnaldo Carvalho de Melo AuthorDate: Fri, 8 Apr 2016 11:25:59 -0300 Committer: Arnaldo Carvalho de Melo CommitDate: Fri, 8 Apr 2016 11:25:59 -0300 perf

Re: [PATCH net-next 2/2] net: exit busy loop when another process is runnable

2016-04-13 Thread Ingo Molnar
* Michael S. Tsirkin wrote: > On Fri, Aug 22, 2014 at 09:36:53AM +0200, Ingo Molnar wrote: > > > > > > diff --git a/include/net/busy_poll.h b/include/net/busy_poll.h > > > > index 1d67fb6..8a33fb2 100644 > > > > --- a/include/net/busy_poll.h > > > > +++ b/include/net/busy_poll.h > > > > @@ -109

[tip:perf/core] perf tools: Use readdir() instead of deprecated readdir_r()

2016-04-13 Thread tip-bot for Arnaldo Carvalho de Melo
Commit-ID: 7093b4c963cc4e344e490c774924a180602a7092 Gitweb: http://git.kernel.org/tip/7093b4c963cc4e344e490c774924a180602a7092 Author: Arnaldo Carvalho de Melo AuthorDate: Fri, 8 Apr 2016 11:32:15 -0300 Committer: Arnaldo Carvalho de Melo CommitDate: Fri, 8 Apr 2016 11:32:15 -0300 perf

[tip:perf/core] perf bpf: Automatically create bpf-output event __bpf_stdout__

2016-04-13 Thread tip-bot for Wang Nan
Commit-ID: 72c0809856b9174e71eab4e293089f6a114e0d41 Gitweb: http://git.kernel.org/tip/72c0809856b9174e71eab4e293089f6a114e0d41 Author: Wang Nan AuthorDate: Fri, 8 Apr 2016 15:07:25 + Committer: Arnaldo Carvalho de Melo CommitDate: Mon, 11 Apr 2016 22:18:04 -0300 perf bpf: Automatic

[tip:perf/core] perf bpf: Clone bpf stdout events in multiple bpf scripts

2016-04-13 Thread tip-bot for Wang Nan
Commit-ID: d78885739a7df111dc7b081f8a09e08a5fcfecc2 Gitweb: http://git.kernel.org/tip/d78885739a7df111dc7b081f8a09e08a5fcfecc2 Author: Wang Nan AuthorDate: Fri, 8 Apr 2016 15:07:24 + Committer: Arnaldo Carvalho de Melo CommitDate: Mon, 11 Apr 2016 22:17:45 -0300 perf bpf: Clone bpf

[PATCH v3] tpm: fix crash in tpm_tis deinitialization

2016-04-13 Thread Jarkko Sakkinen
rmmod crashes the driver because tpm_chip_unregister() already sets ops to NULL. This commit fixes the issue by moving tpm2_shutdown() to tpm_chip_unregister(). This commit is also cleanup because it removes duplicate code from tpm_crb and tpm_tis to the core. v2: make sending shutdown command ato

[tip:perf/core] perf tools: Use readdir() instead of deprecated readdir_r()

2016-04-13 Thread tip-bot for Arnaldo Carvalho de Melo
Commit-ID: bfc279f3d233150ff260e9e93012e14f86810648 Gitweb: http://git.kernel.org/tip/bfc279f3d233150ff260e9e93012e14f86810648 Author: Arnaldo Carvalho de Melo AuthorDate: Fri, 8 Apr 2016 11:53:02 -0300 Committer: Arnaldo Carvalho de Melo CommitDate: Fri, 8 Apr 2016 11:53:02 -0300 perf

[tip:perf/core] perf dwarf: Guard !x86_64 definitions under #ifdef else clause

2016-04-13 Thread tip-bot for Arnaldo Carvalho de Melo
Commit-ID: f9383452a26fc47f62c4ddcfa20ccebb7a09c2d8 Gitweb: http://git.kernel.org/tip/f9383452a26fc47f62c4ddcfa20ccebb7a09c2d8 Author: Arnaldo Carvalho de Melo AuthorDate: Fri, 8 Apr 2016 12:04:29 -0300 Committer: Arnaldo Carvalho de Melo CommitDate: Fri, 8 Apr 2016 12:04:29 -0300 perf

Re: Possible race in copy of fpu->state in copy_process against the exeve'ing parent?

2016-04-13 Thread Jianyu Zhan
On Wed, Apr 13, 2016 at 2:09 PM, Ingo Molnar wrote: > So I'm not sure I understand the suggested race. Separate tasks have separate > fpu->state states, so a parallel execve() and clone() has no effect on each > other. > There's no FPU state sharing. Hi, Ingo, thans for reply. Let me try desc

[tip:perf/core] perf evsel: Allow specifying a file to output in perf_evsel__print_ip

2016-04-13 Thread tip-bot for Milian Wolff
Commit-ID: 6186de9a491af030889b372193fc9f38c248e69a Gitweb: http://git.kernel.org/tip/6186de9a491af030889b372193fc9f38c248e69a Author: Milian Wolff AuthorDate: Mon, 11 Apr 2016 10:18:11 -0300 Committer: Arnaldo Carvalho de Melo CommitDate: Mon, 11 Apr 2016 22:18:14 -0300 perf evsel: Al

[tip:perf/core] perf evsel: Rename print_ip() to fprintf_sym()

2016-04-13 Thread tip-bot for Arnaldo Carvalho de Melo
Commit-ID: ff0c107806cf9d237e50e21de66d6909391071cd Gitweb: http://git.kernel.org/tip/ff0c107806cf9d237e50e21de66d6909391071cd Author: Arnaldo Carvalho de Melo AuthorDate: Mon, 11 Apr 2016 11:14:06 -0300 Committer: Arnaldo Carvalho de Melo CommitDate: Mon, 11 Apr 2016 22:18:17 -0300 pe

[tip:perf/core] perf evsel: Allow passing a left alignment when printing a symbol

2016-04-13 Thread tip-bot for Arnaldo Carvalho de Melo
Commit-ID: db3617f362d7e205621c1ccc22b77d224a81ee14 Gitweb: http://git.kernel.org/tip/db3617f362d7e205621c1ccc22b77d224a81ee14 Author: Arnaldo Carvalho de Melo AuthorDate: Mon, 11 Apr 2016 10:53:51 -0300 Committer: Arnaldo Carvalho de Melo CommitDate: Mon, 11 Apr 2016 22:18:15 -0300 pe

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