[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 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 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

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 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

[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 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 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

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'

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] 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 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 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

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:

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

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

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

[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):

[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

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 >

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: [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 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: [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: 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: [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: [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 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 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 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

[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

[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: 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: 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 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 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 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:

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

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

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: [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

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

[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 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

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

[PATCH] clk: samsung: exynos7: Don't gate CMU_{CCORE, FSYS0} blocks clock

2016-04-13 Thread Alim Akhtar
This patch adds CLK_IS_CRITICAL flag to ACLK_CCORE_133 and ACLK_FSYS0_200 clocks. These clocks are critical for accessing CMU_CCORE and CMU_FSYS0 blocks registers. Let these clocks to be enabled all the time. Signed-off-by: Alim Akhtar --- drivers/clk/samsung/clk-exynos7.c |5 +++-- 1 file c

Re: [PATCH] qdisc: constify meta_type_ops structures

2016-04-13 Thread David Miller
From: Julia Lawall Date: Sat, 9 Apr 2016 10:49:22 +0200 > The meta_type_ops structures are never modified, so declare them as const. > > Done with the help of Coccinelle. > > Signed-off-by: Julia Lawall Applied, thank you.

Re: [PATCH v6 04/16] x86/rtc: replace paravirt rtc check with platform legacy quirk

2016-04-13 Thread Juergen Gross
On 14/04/16 02:04, Luis R. Rodriguez wrote: > We have 4 types of x86 platforms that disable RTC: > > * Intel MID > * Lguest - uses paravirt > * Xen dom-U - uses paravirt > * x86 on legacy systems annotated with an ACPI legacy flag > > We can consolidate all of these into a platform specif

Re: [PATCH] KERNEL: resource: Fix bug on leakage in /proc/iomem file

2016-04-13 Thread Kees Cook
On Wed, Apr 6, 2016 at 2:19 PM, Linus Torvalds wrote: > On Wed, Apr 6, 2016 at 10:54 AM, Linus Torvalds > wrote: >> >> So I'd find a patch like the attached to be perfectly acceptable (in >> fact, we should have done this long ago). > > I just committed it, let's see if some odd program uses the

Re: [PATCH] mmc: sdhci: use IS_REACHABLE(CONFIG_LEDS_CLASS) to enable LED code

2016-04-13 Thread Masahiro Yamada
Hi. 2016-04-13 17:59 GMT+09:00 Adrian Hunter : > On 13/04/16 11:55, Masahiro Yamada wrote: >> defined(CONFIG_LEDS_CLASS) || (defined(CONFIG_LEDS_CLASS_MODULE) && \ >> defined(CONFIG_MMC_SDHCI_MODULE)) >> >> is equivalent to: >> >> defined(CONFIG_LEDS_CLASS) || (defined(CONFIG_LEDS_CLASS_MODUL

[PATCH V3 00/29] bitops: add parity functions

2016-04-13 Thread zengzhaoxiu
From: Zhaoxiu Zeng When I do "grep parity -r linux", I found many parity calculations distributed in many drivers. This patch series does: 1. provide generic and architecture-specific parity calculations 2. remove drivers' local parity calculations, use bitops' parity functions instead

[PATCH v2 2/2] mmc: sdhci: use IS_ENABLE(CONFIG_LEDS_CLASS) to enable LED struct members

2016-04-13 Thread Masahiro Yamada
defined(CONFIG_LEDS_CLASS) || defined(CONFIG_LEDS_CLASS_MODULE) is equivalent to: IS_ENABLED(CONFIG_LEDS_CLASS) Signed-off-by: Masahiro Yamada --- Changes in v2: - Newly added drivers/mmc/host/sdhci.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/mmc/host/sdhc

[PATCH v2 1/2] mmc: sdhci: use IS_REACHABLE(CONFIG_LEDS_CLASS) to enable LED code

2016-04-13 Thread Masahiro Yamada
defined(CONFIG_LEDS_CLASS) || (defined(CONFIG_LEDS_CLASS_MODULE) && \ defined(CONFIG_MMC_SDHCI_MODULE)) is equivalent to: defined(CONFIG_LEDS_CLASS) || (defined(CONFIG_LEDS_CLASS_MODULE) && \ defined(MODULE)) and it can also be written shortly as: IS_REACHABLE(CONFIG_LEDS_CLASS) Signed

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

2016-04-13 Thread Yunhui Cui
From: Yunhui Cui With the physical sectors combination, S25FS-S family flash requires some special operations for read/write functions. Signed-off-by: Yunhui Cui --- drivers/mtd/spi-nor/spi-nor.c | 59 +++ 1 file changed, 59 insertions(+) diff --git a/d

[PATCH 8/9] mtd: fsl-quadspi: disable AHB buffer prefetch

2016-04-13 Thread Yunhui Cui
From: Yunhui Cui A-009282: QuadSPI: QuadSPI data pre-fetch can result in incorrect data Affects: QuadSPI Description: With AHB buffer prefetch enabled, the QuadSPI may return incorrect data on the AHB interface. The buffer pre-fetch is enabled if the fetch size as configured either in the LUT or

[PATCH 3/9] mtd: spi-nor: fsl-quadspi: add fast-read mode support

2016-04-13 Thread Yunhui Cui
From: Yunhui Cui The qspi driver add generic fast-read mode for different flash venders. There are some different board flash work on different mode, such fast-read, quad-mode. Signed-off-by: Yunhui Cui --- drivers/mtd/spi-nor/fsl-quadspi.c | 21 - 1 file changed, 16 insert

[PATCH 9/9] mtd: fsl-quadspi: add multi flash chip R/W on ls2080a

2016-04-13 Thread Yunhui Cui
From: Yunhui Cui There is a hardware feature that qspi_amba_base is added internally by SOC design on ls2080a. so memmap_phy need not be added in driver. If memmap_phy is added, the flash A1 addr space is [0, memmap_phy] which far more than flash size. The AMBA memory will be divided into four pa

[PATCH 1/9] mtd:fsl-quadspi:use the property fields of SPI-NOR

2016-04-13 Thread Yunhui Cui
We can get the read/write/erase opcode from the spi nor framework directly. This patch uses the information stored in the SPI-NOR to remove the hardcode in the fsl_qspi_init_lut(). Signed-off-by: Yunhui Cui Signed-off-by: Yunhui Cui --- drivers/mtd/spi-nor/fsl-quadspi.c | 40 ---

[PATCH 4/9] mtd: spi-nor: fsl-quadspi: extend support for some special requerment.

2016-04-13 Thread Yunhui Cui
From: Yunhui Cui Add extra info in LUT table to support some special requerments. Spansion S25FS-S family flash need some special operations. Signed-off-by: Yunhui Cui --- drivers/mtd/spi-nor/fsl-quadspi.c | 44 +-- include/linux/mtd/spi-nor.h | 4 +++

[PATCH 5/9] mtd: spi-nor: fsl-quadspi:Support qspi for ls2080a

2016-04-13 Thread Yunhui Cui
There is a hardware feature that qspi_amba_base is added internally by SOC design on ls2080a. So as to software, the driver need support to the feature. Signed-off-by: Yunhui Cui Signed-off-by: Yunhui Cui --- drivers/mtd/spi-nor/fsl-quadspi.c | 24 ++-- 1 file changed, 22 in

[PATCH 2/9] mtd: fsl-quadspi: Rename SEQID_QUAD_READ to SEQID_READ

2016-04-13 Thread Yunhui Cui
There are some read modes for flash, such as NORMAL, FAST, QUAD, DDR QUAD. These modes will use the identical lut table base So rename SEQID_QUAD_READ to SEQID_READ. Signed-off-by: Yunhui Cui Signed-off-by: Yunhui Cui --- drivers/mtd/spi-nor/fsl-quadspi.c | 8 1 file changed, 4 inserti

spi-nor: fsl-quadspi:Support qspi for ls2080a

2016-04-13 Thread Yunhui Cui
This patch set added the basic support for ls1021-twr/ls2080a-qds.

RE: [PATCH v8 net-next 1/1] hv_sock: introduce Hyper-V Sockets

2016-04-13 Thread Dexuan Cui
> From: David Miller [mailto:da...@davemloft.net] > Sent: Thursday, April 14, 2016 10:30 > To: Dexuan Cui > Cc: gre...@linuxfoundation.org; net...@vger.kernel.org; linux- > ker...@vger.kernel.org; de...@linuxdriverproject.org; o...@aepfle.de; > a...@canonical.com; jasow...@redhat.com; cav...@redha

[PATCH] cgroup namespaces: add a 'nsroot=' mountinfo field

2016-04-13 Thread Serge E. Hallyn
This is so that userspace can distinguish a mount made in a cgroup namespace from a bind mount from a cgroup subdirectory. Signed-off-by: Serge Hallyn --- Changelog: 2016-04-13: pass kernfs_node rather than dentry to show_options --- fs/kernfs/mount.c | 2 +- include/linux/kernfs.h | 3 ++

RE: [PATCH v3 4/4] mtd: spi-nor: Disable Micron flash HW protection

2016-04-13 Thread Yunhui Cui
Hi all, I will send another patch set to replace this patch set. This patch set need not be reviewed more, Many thanks! Thanks Yunhui -Original Message- From: Bean Huo 霍斌斌 (beanhuo) [mailto:bean...@micron.com] Sent: Monday, March 21, 2016 10:56 AM To: Yunhui Cui; Yunhui Cui Cc: linux-

[PATCH 7/9] mtd: fsl-quadspi: Solve Micron Spansion flash command conflict

2016-04-13 Thread Yunhui Cui
From: Yunhui Cui Add some lut_tables to support quad mode for flash n25q128 on the board ls1021a-twr and solve flash Spansion and Micron command conflict. In switch {}, The value of command SPINOR_OP_RD_EVCR and SPINOR_OP_SPANSION_RDAR is the same. They have to share the same seq_id: SEQID_RDAR_O

Re: [PATCH memory-barriers.txt 1/7] documentation: Clarify relationship of barrier() to control dependencies

2016-04-13 Thread Steven Rostedt
On Tue, 12 Apr 2016 08:52:49 -0700 "Paul E. McKenney" wrote: > The current documentation claims that the compiler ignores barrier(), > which is not the case. Instead, the compiler carefully pays attention > to barrier(), but in a creative way that still manages to destroy > the control dependenc

Re: [PATCH] ftrace: filter: Match dot symbols when searching functions on ppc64.

2016-04-13 Thread Steven Rostedt
On Wed, 13 Apr 2016 21:39 -0300 Thiago Jung Bauermann wrote: > People seem to be considering patches for next, so this looks like a good > moment to ping about this one. Your timing is fine with respect to the merge window. I'm currently traveling, but I'll get to it on Monday. I have it marke

Re: [PATCH v2 0/2] vfs: Define new syscall getumask.

2016-04-13 Thread Steven Rostedt
On Wed, 13 Apr 2016 06:59:50 -0700 Greg KH wrote: > Why not add this to the ktest infrastructure, we strongly encourage that > for new syscalls, along with a man page patch. Do you mean the "selftest infrastructure"? As I don't see how this could be used with ktest. See tools/testing/selftests

Re: [RESEND PATCH net-next] phy: keep the BCMR_LOOPBACK bit while setup forced mode

2016-04-13 Thread Weidong Wang
On 2016/4/14 2:41, Florian Fainelli wrote: > On 13/04/16 04:59, Weidong Wang wrote: >> When tested the PHY SGMII Loopback,: >> 1.set the LOOPBACK bit, >> 2.set the autoneg to AUTONEG_DISABLE, it calls the >> genphy_setup_forced which will clear the bit. >> >> So just keep the LOOPBACK bit while set

Re: [net-next][PATCH 0/2] RDS: couple of fixes for 4.6

2016-04-13 Thread David Miller
From: Santosh Shilimkar Date: Fri, 8 Apr 2016 15:26:38 -0700 > Patches are also available at below git tree. > > git://git.kernel.org/pub/scm/linux/kernel/git/ssantosh/linux.git > for_4.6/net-next/rds-fixes "Bug fixes for 4.6" do not get targetted at the net-next tree, that's for 4.7 develop

Re: [GIT PULL] arch/sh fixes for regressions in 4.6-rc1

2016-04-13 Thread Rich Felker
On Wed, Apr 13, 2016 at 01:08:29PM -0700, Linus Torvalds wrote: > On Tue, Apr 12, 2016 at 6:45 PM, Rich Felker wrote: > > > > Please pull these changes (regression fixes only) for arch/sh. They're > > based on 4.6-rc1 when I did them, but apply cleanly to 4.6-rc3 and > > build successfully. > > S

[RFC] kmemcheck: warning during boot

2016-04-13 Thread Xishi Qiu
There is a warning during boot. It exist in v4.1 stable too. kmemcheck_fault() WARN_ON_ONCE(in_nmi()); Shall we use kmem_cache_create(__GFP_NOTRACK) to create a special slab, then use kmem_cache_alloc() to alloc the memory of "struct perf_event"? I think use kmalloc(__GFP_NOTRACK) will no

[PATCH] staging: dgnc: use tty_alloc_driver instead of kcalloc

2016-04-13 Thread Daeseok Youn
The tty_alloc_driver() can allocate memory for ttys and termios. And also allocated memory will be released easily with put_tty_driver() call. Signed-off-by: Daeseok Youn --- drivers/staging/dgnc/dgnc_driver.h | 4 +- drivers/staging/dgnc/dgnc_tty.c| 144 ---

Re: [PATCH 1/2] [v4] net: emac: emac gigabit ethernet controller driver

2016-04-13 Thread kbuild test robot
Hi Gilad, [auto build test WARNING on net/master] [also build test WARNING 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/Timur-Tabi/net-emac-emac-gigabit-ethernet

RE: [PATCH v4 2/2] usb: dwc3: add debugfs node to dump FIFO/Queue available space

2016-04-13 Thread Du, Changbin
Hello, Sergei, > > From: "Du, Changbin" > > > > For DWC3 USB controller, the Global Debug Queue/FIFO Space Available > > Register(GDBGFIFOSPACE) can be used to dump FIFO/Queue available > space. > > Space needed before (. Okay. > > > This can be used to check some special issues, like whet

Re: [PATCH 10/25] arm64: rename COMPAT to AARCH32_EL0 in Kconfig

2016-04-13 Thread Zhangjian (Bamvor)
Hi, yury I suggest we enable AARCH32_EL0 by default explicitly. I am not sure if it should be a dedicated commit. I am ok if you merge my commit, add Reviewed-by: Bamvor Jian Zhang commit 926ad48847c9fbc665285c49ff823666e145a083 Author: Bamvor Jian Zhang Date: Wed Apr 6 17:59:03 2016 +0800

Re: ext4 error

2016-04-13 Thread Theodore Ts'o
On Wed, Apr 13, 2016 at 01:44:55PM +, Eric Shang wrote: > HI All: > I meet an ext4 error, following is the error log. After panic, I check the > emmc by the tool debufs, the inode 69878 i_nlink is not zero. And this inode > don't belong to parent dir 6987, it belong to other file(this inode

Re: [PATCH v3 1/2] ext4: Pass in DIO_SKIP_DIO_COUNT flag if inode_dio_begin() called

2016-04-13 Thread Dave Chinner
On Tue, Apr 12, 2016 at 02:12:54PM -0400, Waiman Long wrote: > When performing direct I/O, the current ext4 code does > not pass in the DIO_SKIP_DIO_COUNT flag to dax_do_io() or > __blockdev_direct_IO() when inode_dio_begin() has, in fact, been > called. This causes dax_do_io()/__blockdev_direct_IO

[PATCH V3 14/29] media: use parity functions in saa7115

2016-04-13 Thread zengzhaoxiu
From: Zhaoxiu Zeng Signed-off-by: Zhaoxiu Zeng --- drivers/media/i2c/saa7115.c | 17 ++--- 1 file changed, 2 insertions(+), 15 deletions(-) diff --git a/drivers/media/i2c/saa7115.c b/drivers/media/i2c/saa7115.c index d2a1ce2..4c22df8 100644 --- a/drivers/media/i2c/saa7115.c +++ b/d

[PATCH V3 27/29] serial: use parity32 in max3100

2016-04-13 Thread zengzhaoxiu
From: Zhaoxiu Zeng Signed-off-by: Zhaoxiu Zeng --- drivers/tty/serial/max3100.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/tty/serial/max3100.c b/drivers/tty/serial/max3100.c index 5c4c280..a0cc84a 100644 --- a/drivers/tty/serial/max3100.c +++ b/drivers/tty/seri

[PATCH V3 19/29] mtd: use parity16 in ssfdc

2016-04-13 Thread zengzhaoxiu
From: Zhaoxiu Zeng The original get_parity return even parity of the input number. So hweight of "block_address & 0x7ff" must be odd if block_address is valid. This patch use parity16, and rearrange the code. Signed-off-by: Zhaoxiu Zeng --- drivers/mtd/ssfdc.c | 31 ---

[PATCH V3 29/29] ethernet: use parity8 in broadcom/tg3.c

2016-04-13 Thread zengzhaoxiu
From: Zhaoxiu Zeng Signed-off-by: Zhaoxiu Zeng --- drivers/net/ethernet/broadcom/tg3.c | 6 +- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/drivers/net/ethernet/broadcom/tg3.c b/drivers/net/ethernet/broadcom/tg3.c index 3010080..802a429 100644 --- a/drivers/net/ethernet/bro

[PATCH V3 28/29] input: use parity8 in elantech

2016-04-13 Thread zengzhaoxiu
From: Zhaoxiu Zeng Remove the even parity table, use parity8 instead. Signed-off-by: Zhaoxiu Zeng --- drivers/input/mouse/elantech.c | 10 +++--- drivers/input/mouse/elantech.h | 1 - 2 files changed, 3 insertions(+), 8 deletions(-) diff --git a/drivers/input/mouse/elantech.c b/drivers/i

[PATCH V3 24/29] input: use parity8 in pcips2

2016-04-13 Thread zengzhaoxiu
From: Zhaoxiu Zeng Signed-off-by: Zhaoxiu Zeng --- drivers/input/serio/pcips2.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/input/serio/pcips2.c b/drivers/input/serio/pcips2.c index e862c6e..a51e7f0 100644 --- a/drivers/input/serio/pcips2.c +++ b/drivers/input/se

  1   2   3   4   5   6   7   8   9   10   >