[PATCH -v3 1/2] ratelimit: Extend to print suppressed messages on release

2016-07-04 Thread Borislav Petkov
From: Borislav Petkov Extend the ratelimiting facility to print the amount of suppressed lines when it is being released. Separated from a previous patch by Linus. Also, make the ON_RELEASE image not use "callbacks" as it is misleading. Signed-off-by: Borislav Petkov Acked-by: Linus Torvalds

[PATCH -v3 2/2] printk: Add kernel parameter to control writes to /dev/kmsg

2016-07-04 Thread Borislav Petkov
From: Borislav Petkov Add a "printk.devkmsg" kernel command line parameter which controls how userspace writes into /dev/kmsg. It has three options: * ratelimit - ratelimit logging from userspace. * on - unlimited logging from userspace * off - logging from userspace gets ignored The default s

Re: kmem_cache_alloc fail with unable to handle paging request after pci hotplug remove.

2016-07-04 Thread Rafael J. Wysocki
On Mon, Jul 4, 2016 at 4:26 PM, Mathias Nyman wrote: > Hi > > AceLan Kao can get his DELL XPS 13 laptop to hang by plugging/un-plugging > a USB 3.1 key via thunderbolt port. > > Allocating memory fails after this, always pointing to NULL pointer or > page request failing in get_freepointer() calle

[PATCH -v3 0/2] printk.devkmsg: Ratelimit it by default

2016-07-04 Thread Borislav Petkov
From: Borislav Petkov Hi all, here's v3 integrating Ingo's comments. The thing is called printk.devkmsg= or printk_devkmsg now, depending on cmdline option or sysctl. Changelog: -- v2: here's v2 with the requested sysctl option kernel.printk_kmsg and locking of the setting when print

[PATCH v3] sm501: Add device property

2016-07-04 Thread Yoshinori Sato
Add device proptery on enable integrated peripheral. It have platform_data. But don't have devicetree. Signed-off-by: Yoshinori Sato --- .../devicetree/bindings/display/sm501fb.txt| 11 + drivers/mfd/sm501.c| 28 +- 2 files chan

Re: [PATCH] Syscall arguments are unsigned long (full registers)

2016-07-04 Thread Andi Kleen
On Mon, Jul 04, 2016 at 01:52:58PM +, Tautschnig, Michael wrote: > All syscall arguments are passed in as types of the same byte size as > unsigned long (width of full registers). Using a smaller type without a > cast may result in losing bits of information. In all other instances > apart from

Re: [PATCH 1/1]ext4: Fix WARN_ON_ONCE when marking buffer dirty

2016-07-04 Thread Theodore Ts'o
On Thu, Jun 30, 2016 at 02:12:30PM +0300, Pranay Kr. Srivastava wrote: > Signed-off-by: Pranay Kr. Srivastava The description for why the change is being made should go in the commit. (No need to put the description in a separate cover letter.) I ended up rewriting the commit description as foll

Dear Friend,

2016-07-04 Thread Mr.Hoffmann
However, It's Just my urgent need For foreign partner that made me to contact you for this transaction.I am currently holding the post Of manager foreign affairs the bank where I work (Bank of Africa,Ouagadougou. Burkina Faso. I got your contact when i was searching for an overseas partner to assi

Re: [PATCH] mmc: core: Extend sysfs with OCR register

2016-07-04 Thread bojan prtvar
Hi, On Mon, Jul 4, 2016 at 4:13 PM, Wolfram Sang wrote: >> Make operation conditions register (OCR) easily accessible from user space. >> > You described "what" above. Can you add the "why", too? > According to JEDEC v5.0 chapter 7 the OCR, CID and CSD registers carry the Device/content specifi

[PATCH] kbuild: make samples depend on headers_install

2016-07-04 Thread Arnd Bergmann
Olof's build test setup keeps failing to compile arm64 kernels because of a toolchain that uses outdated kernel headers: /work/build/batch/samples/seccomp/bpf-fancy.c:13:27: fatal error: linux/seccomp.h: No such file or directory This is of course something he could change, but it also indicates

Re: [PATCH] mmc: core: Extend sysfs with OCR register

2016-07-04 Thread Wolfram Sang
> Registers CID and CSD are already exported through sysfs so let's make > this interface complete by adding missing OCR register. This sentence was missing for me, thanks. > Do I need to send v2 with updated change log? Ulf will tell us. signature.asc Description: PGP signature

Re: [PATCH] kasan: make depot_fetch_stack more robust

2016-07-04 Thread Andrey Ryabinin
2016-07-01 20:38 GMT+03:00 Dmitry Vyukov : > I've hit a GPF in depot_fetch_stack when it was given > bogus stack handle. I think it was caused by a distant > out-of-bounds that hit a different object, as the result > we treated uninit garbage as stack handle. Maybe there is > something to fix in KA

Re: [PATCH v3] sm501: Add device property

2016-07-04 Thread Mark Rutland
On Mon, Jul 04, 2016 at 11:26:04PM +0900, Yoshinori Sato wrote: > Add device proptery on enable integrated peripheral. > It have platform_data. But don't have devicetree. > > Signed-off-by: Yoshinori Sato > --- > .../devicetree/bindings/display/sm501fb.txt| 11 + > drivers/mfd/sm

Re: [alsa-devel] [PATCH 3/4] ASoC: mediatek: add BT implementation

2016-07-04 Thread Mark Brown
On Mon, Jul 04, 2016 at 06:56:27PM +0800, Garlic Tseng wrote: > +static int mt2701_btmrg_startup(struct snd_pcm_substream *substream, > + struct snd_soc_dai *dai) > +{ > + struct snd_soc_pcm_runtime *rtd = substream->private_data; > + struct mtk_base_afe *afe =

Re: [PATCH] Syscall arguments are unsigned long (full registers)

2016-07-04 Thread Tautschnig, Michael
Thanks a lot for the immediate feedback. > On 4 Jul 2016, at 16:28, Andi Kleen wrote: > > On Mon, Jul 04, 2016 at 01:52:58PM +, Tautschnig, Michael wrote: >> All syscall arguments are passed in as types of the same byte size as >> unsigned long (width of full registers). Using a smaller type

Re: [PATCH] ARM: defconfig/at91: Add Bosch M_CAN driver

2016-07-04 Thread Alexandre Belloni
On 04/07/2016 at 10:25:46 +0200, Nicolas Ferre wrote : > Le 04/07/2016 09:15, Wenyou Yang a écrit : > > Add CONFIG_CAN_M_CAN=y option to enable Bosch M_CAN device driver. > > > > Signed-off-by: Wenyou Yang > > Acked-by: Nicolas Ferre > > It seems not present in multi_v7 as well: can you please

Applied "ASoC: mediatek: Add mt2701-cs42448 driver and config option." to the asoc tree

2016-07-04 Thread Mark Brown
The patch ASoC: mediatek: Add mt2701-cs42448 driver and config option. has been applied to the asoc tree at git://git.kernel.org/pub/scm/linux/kernel/git/broonie/sound.git All being well this means that it will be integrated into the linux-next tree (usually sometime in the next 24 hours

Applied "ASoC: bt-sco: extend rate and add a general compatible string" to the asoc tree

2016-07-04 Thread Mark Brown
The patch ASoC: bt-sco: extend rate and add a general compatible string has been applied to the asoc tree at git://git.kernel.org/pub/scm/linux/kernel/git/broonie/sound.git All being well this means that it will be integrated into the linux-next tree (usually sometime in the next 24 hour

Applied "ASoC: mediatek: add mt2701 platform driver implementation." to the asoc tree

2016-07-04 Thread Mark Brown
The patch ASoC: mediatek: add mt2701 platform driver implementation. has been applied to the asoc tree at git://git.kernel.org/pub/scm/linux/kernel/git/broonie/sound.git All being well this means that it will be integrated into the linux-next tree (usually sometime in the next 24 hours)

Re: [PATCH] ASOC: Atmel: ClassD: Simplify use of devm_ioremap_resource

2016-07-04 Thread Julia Lawall
On Mon, 4 Jul 2016, Mark Brown wrote: > On Mon, Jul 04, 2016 at 06:33:52PM +0530, Amitoj Kaur Chawla wrote: > > Remove unneeded error handling on the result of a call to > > platform_get_resource when the value is passed to > > devm_ioremap_resource. > > Please use subject lines matching the sty

Re: [PATCH] Revert "gpiolib: Split GPIO flags parsing and GPIO configuration"

2016-07-04 Thread Linus Walleij
On Sun, Jul 3, 2016 at 6:32 PM, Johan Hovold wrote: > This reverts commit 923b93e451db876d1479d3e4458fce14fec31d1c. > > Make sure consumers do not overwrite gpio flags for pins that have > already been claimed. Patch applied for fixes and pushed for build server for testing for now. It looks inn

Re: kmem_cache_alloc fail with unable to handle paging request after pci hotplug remove.

2016-07-04 Thread Mathias Nyman
On 04.07.2016 17:25, Rafael J. Wysocki wrote: On Mon, Jul 4, 2016 at 4:26 PM, Mathias Nyman wrote: Hi AceLan Kao can get his DELL XPS 13 laptop to hang by plugging/un-plugging a USB 3.1 key via thunderbolt port. Allocating memory fails after this, always pointing to NULL pointer or page reque

Re: [PATCH] Syscall arguments are unsigned long (full registers)

2016-07-04 Thread Arnd Bergmann
On Monday, July 4, 2016 2:47:10 PM CEST Tautschnig, Michael wrote: > Thanks a lot for the immediate feedback. > > > On 4 Jul 2016, at 16:28, Andi Kleen wrote: > > > > On Mon, Jul 04, 2016 at 01:52:58PM +, Tautschnig, Michael wrote: > >> All syscall arguments are passed in as types of the sam

Re: [PATCH] ASOC: Atmel: ClassD: Simplify use of devm_ioremap_resource

2016-07-04 Thread Mark Brown
On Mon, Jul 04, 2016 at 04:52:43PM +0200, Julia Lawall wrote: > On Mon, 4 Jul 2016, Mark Brown wrote: > > Please use subject lines matching the style for the subsystem. This > > makes it easier for people to identify relevant patches. > The point is that ASOC should be ASoC? Ther aren't many pa

Re: [PATCH v2 3/8] Input: synaptics-rmi4: Add dribble and palm gesture parameters to device tree

2016-07-04 Thread Nick Dyer
Hi Andrew On 29/06/2016 01:44, Andrew Duggan wrote: > On 06/28/2016 01:56 PM, Rob Herring wrote: >> On Fri, Jun 24, 2016 at 05:18:37PM -0700, Andrew Duggan wrote: >>> Signed-off-by: Andrew Duggan >>> --- >>> .../devicetree/bindings/input/rmi4/rmi_2d_sensor.txt | 4 >>> drivers/i

Re: [PATCH] ASOC: Atmel: ClassD: Simplify use of devm_ioremap_resource

2016-07-04 Thread Julia Lawall
On Mon, 4 Jul 2016, Mark Brown wrote: > On Mon, Jul 04, 2016 at 04:52:43PM +0200, Julia Lawall wrote: > > On Mon, 4 Jul 2016, Mark Brown wrote: > > > > Please use subject lines matching the style for the subsystem. This > > > makes it easier for people to identify relevant patches. > > > The po

[PATCH] firmware: qcom_scm: make it explicitly non-modular

2016-07-04 Thread Paul Gortmaker
The Kconfig currently controlling compilation of this code is: drivers/firmware/Kconfig:config QCOM_SCM drivers/firmware/Kconfig: bool ...meaning that it currently is not being built as a module by anyone. Lets remove the modular code that is essentially orphaned, so that when reading the

cgroup: Fix split bio been throttled more than once

2016-07-04 Thread Jiale Li
Hi Tejun, These days, we have tested the cgroup blkio throttle function use fio, and we found a problem that when we use buffered IO or set the big block size like 1M, then the IO performance cannot reach the value we set. For example we set blkio.throttle.read_bps_device as 10M, in kernel versio

[PATCH] infiniband: shut up a maybe-uninitialized warning

2016-07-04 Thread Arnd Bergmann
The powerpc64 default configuration leads to warnings for the infiniband core code: infiniband/core/cma.c: In function 'cma_get_net_dev': infiniband/core/cma.c:1242:12: warning: 'src_addr_storage.sin_addr.s_addr' may be used uninitialized in this function [-Wmaybe-uninitialized] The code looks c

Re: [rfc patch] sched/fair: Use instantaneous load for fork/exec balancing

2016-07-04 Thread Matt Fleming
On Wed, 15 Jun, at 04:32:58PM, Dietmar Eggemann wrote: > On 14/06/16 17:40, Mike Galbraith wrote: > > On Tue, 2016-06-14 at 15:14 +0100, Dietmar Eggemann wrote: > > > >> IMHO, the hackbench performance "boost" w/o 0905f04eb21f is due to the > >> fact that a new task gets all it's load decayed (mak

[PATCH] ALSA: ppc/awacs: shut up maybe-uninitialized warning

2016-07-04 Thread Arnd Bergmann
The awacs sound driver produces a false-positive warning in ppc64_defconfig: sound/ppc/awacs.c: In function 'snd_pmac_awacs_init': include/sound/control.h:219:9: warning: 'master_vol' may be used uninitialized in this function [-Wmaybe-uninitialized] I haven't come up with a good way to rewrite

Re: [PATCH] ASOC: Atmel: ClassD: Simplify use of devm_ioremap_resource

2016-07-04 Thread Amitoj Kaur Chawla
On Mon, Jul 4, 2016 at 8:29 PM, Mark Brown wrote: > On Mon, Jul 04, 2016 at 04:52:43PM +0200, Julia Lawall wrote: >> On Mon, 4 Jul 2016, Mark Brown wrote: > >> > Please use subject lines matching the style for the subsystem. This >> > makes it easier for people to identify relevant patches. > >>

Re: [PATCH] ASOC: Atmel: ClassD: Simplify use of devm_ioremap_resource

2016-07-04 Thread Amitoj Kaur Chawla
On Mon, Jul 4, 2016 at 8:36 PM, Amitoj Kaur Chawla wrote: > On Mon, Jul 4, 2016 at 8:29 PM, Mark Brown wrote: >> On Mon, Jul 04, 2016 at 04:52:43PM +0200, Julia Lawall wrote: >>> On Mon, 4 Jul 2016, Mark Brown wrote: >> >>> > Please use subject lines matching the style for the subsystem. This >>

[PATCH -next] ASoC: sunxi: remove redundant dev_err call in sun4i_i2s_probe()

2016-07-04 Thread weiyj_lk
From: Wei Yongjun There is a error message within devm_ioremap_resource already, so remove the dev_err call to avoid redundant error message. Signed-off-by: Wei Yongjun --- sound/soc/sunxi/sun4i-i2s.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/sound/soc/sunxi/sun4i-

[PATCH -next] tracing: Using for_each_set_bit to simplify the code

2016-07-04 Thread weiyj_lk
From: Wei Yongjun Using for_each_set_bit() to simplify the code. Signed-off-by: Wei Yongjun --- kernel/trace/trace.c | 8 ++-- 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/kernel/trace/trace.c b/kernel/trace/trace.c index 3d9f31b..48fce20 100644 --- a/kernel/trace/trace.c

Re: Applied "ASoC: rockchip-max98090: Fix NULL pointer dereference while accessing to jack." to the asoc tree

2016-07-04 Thread Enric Balletbo Serra
2016-07-04 10:47 GMT+02:00 Mark Brown : > On Mon, Jul 04, 2016 at 09:24:12AM +0200, Enric Balletbo Serra wrote: > >> I just saw that these patches and the others in the patch series were >> not applied yet. As are fixes and were accepted since middle May, I > > No, they are actually applied like th

Re: [PATCH] Syscall arguments are unsigned long (full registers)

2016-07-04 Thread Tautschnig, Michael
> On 4 Jul 2016, at 16:59, Arnd Bergmann wrote: > > On Monday, July 4, 2016 2:47:10 PM CEST Tautschnig, Michael wrote: >> Thanks a lot for the immediate feedback. >> >>> On 4 Jul 2016, at 16:28, Andi Kleen wrote: >>> >>> On Mon, Jul 04, 2016 at 01:52:58PM +, Tautschnig, Michael wrote: >>>

Re: [PATCH v3 1/2] clk: exynos5433: do not use CLK_IGNORE_UNUSED for SPI clocks

2016-07-04 Thread Sylwester Nawrocki
On 07/04/2016 12:26 PM, Andi Shyti wrote: > The single clock lines are not configured in the exynos5433 dts, > but in the drivers/clk/samsung/clk-exynos5433.c file and it's the > only place where we can set the flags. I meant we could amend which clocks are specified at the SPI bus device DT nod

Re: clk: Per controller locks (prepare & enable)

2016-07-04 Thread Javier Martinez Canillas
Hello Krzysztof, On 07/04/2016 04:24 AM, Krzysztof Kozlowski wrote: > On 06/30/2016 06:22 PM, Javier Martinez Canillas wrote: >>> Question: >>> What do you think about it? I know that talk is cheap and code looks >>> better but before starting the work I would like to hear some >>> comments/opinio

Re: kmem_cache_alloc fail with unable to handle paging request after pci hotplug remove.

2016-07-04 Thread Lukas Wunner
On Mon, Jul 04, 2016 at 06:04:42PM +0300, Mathias Nyman wrote: > On 04.07.2016 17:25, Rafael J. Wysocki wrote: > > On Mon, Jul 4, 2016 at 4:26 PM, Mathias Nyman > > wrote: > > > AceLan Kao can get his DELL XPS 13 laptop to hang by plugging/un-plugging > > > a USB 3.1 key via thunderbolt port. > >

[PATCH -next] ASoC: cs35l33: Remove unused including

2016-07-04 Thread weiyj_lk
From: Wei Yongjun Remove including that don't need it. Signed-off-by: Wei Yongjun --- sound/soc/codecs/cs35l33.c | 1 - 1 file changed, 1 deletion(-) diff --git a/sound/soc/codecs/cs35l33.c b/sound/soc/codecs/cs35l33.c index 622a111..c20edd4 100644 --- a/sound/soc/codecs/cs35l33.c +++ b/soun

Re: [PATCH 0/3] fs/9p: fix setattr/getattr issues with open files

2016-07-04 Thread Dominique Martinet
I *think* this introduces a race somewhere, I'm getting errors like: cat: f.05: No such file or directory cat: f.14: No such file or directory cat: f.13: No such file or directory cat: f.39: No such file or directory cat: f.05: No such file or directory when doing: for file in {01..50}; do to

Re: clk: Per controller locks (prepare & enable)

2016-07-04 Thread Javier Martinez Canillas
On 07/04/2016 11:15 AM, Javier Martinez Canillas wrote: > > But I'm very far from being a lock expert so maybe my assumptions are wrong, I meant *clock* here, sorry for the typo. > I'll let Stephen and Mike to comment on this. > Best regards, -- Javier Martinez Canillas Open Source Group Sams

Re: [RFC PATCH 0/1] Portable Device Tree Connector -- conceptual

2016-07-04 Thread Mark Brown
On Sat, Jul 02, 2016 at 04:55:49PM -0700, frowand.l...@gmail.com wrote: > This is an extremely simple example to illustrate the concepts. It is not > meant to represent the complexity of a real board. > > To start with, assume that the device that will eventually be on a daughter > board is firs

[PATCH v1 1/1] mfd: lpss: Add Intel Kaby Lake PCH-H PCI IDs

2016-07-04 Thread Andy Shevchenko
From: Mika Westerberg Intel Kaby Lake PCH-H has the same LPSS than Intel Sunrisepoint. Add the new IDs to the list of supported devices. Signed-off-by: Mika Westerberg --- drivers/mfd/intel-lpss-pci.c | 23 +++ 1 file changed, 23 insertions(+) diff --git a/drivers/mfd/inte

[PATCH RESENT] dm: Check kthread_run's return value

2016-07-04 Thread Minfei Huang
kthread function is used to process kthread_work. And there is no return value checking during create this thread. Add this checking to fix this issue. Signed-off-by: Minfei Huang --- drivers/md/dm.c | 11 +-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/drivers/md/dm.c

Re: [RFC PATCH v2 1/9] mailbox: Add Amlogic Meson Message-Handling-Unit

2016-07-04 Thread Jassi Brar
On Tue, Jun 28, 2016 at 8:36 PM, Jassi Brar wrote: > On Tue, Jun 28, 2016 at 7:30 PM, Neil Armstrong > wrote: >> >> My main question is : do you really want to transform this simple driver into >> a dirty multi-bus generic mailbox driver ? >> The meson_mhu is only 199 lines and this patch adds

Re: [PATCH 0/2] KVM: MMU: support VMAs that got remap_pfn_range-ed

2016-07-04 Thread Neo Jia
On Mon, Jul 04, 2016 at 06:16:46PM +0800, Xiao Guangrong wrote: > > > On 07/04/2016 05:16 PM, Neo Jia wrote: > >On Mon, Jul 04, 2016 at 04:45:05PM +0800, Xiao Guangrong wrote: > >> > >> > >>On 07/04/2016 04:41 PM, Neo Jia wrote: > >>>On Mon, Jul 04, 2016 at 04:19:20PM +0800, Xiao Guangrong wrote:

Re: [RFC PATCH v2 1/9] mailbox: Add Amlogic Meson Message-Handling-Unit

2016-07-04 Thread Jassi Brar
On Tue, Jun 21, 2016 at 3:32 PM, Neil Armstrong wrote: > Add Amlogic Meson SoCs Message-Handling-Unit as mailbox controller > with 2 independent channels/links to communicate with a remote processor. > > Signed-off-by: Neil Armstrong > --- > drivers/mailbox/Makefile| 2 + > drivers/mailbox

Re: kmem_cache_alloc fail with unable to handle paging request after pci hotplug remove.

2016-07-04 Thread Mathias Nyman
On 04.07.2016 18:21, Lukas Wunner wrote: On Mon, Jul 04, 2016 at 06:04:42PM +0300, Mathias Nyman wrote: On 04.07.2016 17:25, Rafael J. Wysocki wrote: On Mon, Jul 4, 2016 at 4:26 PM, Mathias Nyman wrote: AceLan Kao can get his DELL XPS 13 laptop to hang by plugging/un-plugging a USB 3.1 key v

Applied "ASoC: cs35l33: Remove unused including " to the asoc tree

2016-07-04 Thread Mark Brown
The patch ASoC: cs35l33: Remove unused including has been applied to the asoc tree at git://git.kernel.org/pub/scm/linux/kernel/git/broonie/sound.git All being well this means that it will be integrated into the linux-next tree (usually sometime in the next 24 hours) and sent to Linus d

Re: [PATCH net-next] lpc_eth: remove unused variable

2016-07-04 Thread Sylvain Lemieux
On Mon, 2016-07-04 at 15:19 +0200, Arnd Bergmann wrote: > A cleanup patch removed the only user of a local variable, as > indicated by a gcc warning. > > drivers/net/ethernet/nxp/lpc_eth.c: In function 'lpc_eth_ioctl': > drivers/net/ethernet/nxp/lpc_eth.c:1183:24: error: unused variable 'pldat' >

[PATCH] clocksource: timer-atmel-pit: enable mck

2016-07-04 Thread Alexandre Belloni
mck is needed to get the PIT working. Explicitly prepare_enable it instead of assuming it is enabled. This solves an issue were the system is freezing when the ETM/ETB drivers are enabled. Reported-by: Olivier Schonken Signed-off-by: Alexandre Belloni --- drivers/clocksource/timer-atmel-pit.c

[RESEND RFC PATCH 5/5] platform: x86: add platform driver for UP Board

2016-07-04 Thread Dan O'Donovan
This platform driver instantiates a platform device relevant to the UP board, in particular a device representing the unique I/O pin CPLD controller on the UP board. In addition, this driver registers pin maps to configure appropriately the underlying SoC GPIO pins for use with the UP Board I/O pi

[RESEND RFC PATCH 0/5] platform drivers for UP Board

2016-07-04 Thread Dan O'Donovan
[Re-sending to a wider audience suggested by Darren Hart] The UP Board is a new SBC based on the Intel Atom X5-Z8350 "Cherry Trail" SoC and features a 40-pin I/O pin header and form-factor inspired by the Raspberry Pi 2. It utilises a CPLD between the SoC and the external 40-pin header to provi

[RESEND RFC PATCH 2/5] platform: x86: add UP Board I/O pinctrl driver

2016-07-04 Thread Dan O'Donovan
This pinctrl driver manages the Pin Control functions provided by the I/O CPLD integrated on the UP Board. This includes dynamic pin direction and pin mux configuration. Signed-off-by: Dan O'Donovan --- drivers/platform/x86/up_board_pinctrl.c | 285 drivers/plat

[RESEND RFC PATCH 4/5] platform: x86: add UP Board CPLD LED driver

2016-07-04 Thread Dan O'Donovan
This pinctrl driver manages the LED Control function provided by the I/O CPLD integrated on the UP Board. This allows basic on/off brightness control for each of the individual LEDs. Signed-off-by: Dan O'Donovan --- drivers/platform/x86/up_board_leds.c | 85

[RESEND RFC PATCH 3/5] platform: x86: add UP Board I/O gpio driver

2016-07-04 Thread Dan O'Donovan
This gpio driver encapsulates the GPIO pin mapping function provided by the I/O CPLD integrated on the UP Board. This makes possible the following features: - integration of UP Board pin control functions with GPIO run-time configuration hooks, to allow run-time pin direction and pin mux selec

Re: [PATCH RFC v2 0/2] pxa_camera transition to v4l2 standalone device

2016-07-04 Thread Robert Jarzmik
Hans Verkuil writes: > Hi Robert, > > On 04/02/2016 04:26 PM, Robert Jarzmik wrote: >> Hi Hans and Guennadi, >> >> This is the second opus of this RFC. The goal is still to see how close our >> ports are to see if there are things we could either reuse of change. >> >> From RFCv1, the main chan

[RESEND RFC PATCH 1/5] platform: x86: add driver for UP Board I/O CPLD

2016-07-04 Thread Dan O'Donovan
The UP board utilises a CPLD between its Intel X5-Z8350 SoC and an external 40-pin header, to provide buffered voltage level-shifting of the I/O signals, mux switching and LED control, and programmable pin mapping between the SoC and the external pin header. gpio, pinctrl and led drivers are provi

Re: [PATCH v2 0/7] of_graph: prepare for ALSA graph support

2016-07-04 Thread Rob Herring
On Wed, Jun 29, 2016 at 12:33:15AM +, Kuninori Morimoto wrote: > > Hi Rob > > These are v2 of of_graph patch-set > > Now OF graph is mainly used by V4L2 SoC, and ALSA SoC is using > different style for SoC <-> Codec binding. > But, for example, HDMI case, V4L2 <-> ALSA need to collaborate, >

Re: linux-next: Tree for Jun 27 (pinctrl && !CONFIG_OF)

2016-07-04 Thread Randy Dunlap
On 07/04/16 02:46, Linus Walleij wrote: > On Mon, Jun 27, 2016 at 8:15 PM, Randy Dunlap wrote: > >> On 06/26/16 23:39, Stephen Rothwell wrote: >>> Hi all, >>> >>> Changes since 20160624: >>> >> >> on i386, when CONFIG_OF is not enabled ... >> but OF_GPIO is enabled due to this in drivers/gpio/Kco

Re: [PATCH v4 14/22] sh: SH7751 core dtsi

2016-07-04 Thread Yoshinori Sato
On Mon, 04 Jul 2016 16:15:31 +0900, Geert Uytterhoeven wrote: > > Hi Sato-san, > > On Wed, Jun 29, 2016 at 3:40 PM, Yoshinori Sato > wrote: > > --- /dev/null > > +++ b/include/dt-bindings/clock/renesas-sh7750.h > > @@ -0,0 +1,26 @@ > > +/* > > + * Copyright (C) 2016 Yoshinori Sato > > + * > > +

[PATCH 1/2] pcie/designware: Keep viewport fixed for IO transaction if num_viewport > 2

2016-07-04 Thread Pratyush Anand
From: Pratyush Anand Most of the platform have 3 or more viewports. We do not need to share viewport for such platform between IO and CFG. Assign viewport 2 to IO transactions in such cases. Signed-off-by: Pratyush Anand Tested-by: Dong Bo --- .../devicetree/bindings/pci/designware-pcie.txt

[PATCH 2/2] pcie/designware: Exchange viewport of `MEMORYs' and `CFGs/IOs'

2016-07-04 Thread Pratyush Anand
From: Dong Bo When we have only two view ports in a designware PCIe platform, then iatu0 is used for both CFG and IO accesses. When CFGs are sent to peripherals (e.g. lspci), iatu0 frequently switches between CFG and IO alternatively. For such scenarios, a MEMORY might be sent as an IOs by mist

Re: [RESEND RFC PATCH 0/5] platform drivers for UP Board

2016-07-04 Thread Andy Shevchenko
+Ismo On Mon, 2016-07-04 at 17:07 +0100, Dan O'Donovan wrote: > [Re-sending to a wider audience suggested by Darren Hart] > > The UP Board is a new SBC based on the Intel Atom X5-Z8350 "Cherry  > Trail" SoC and features a 40-pin I/O pin header and form-factor  > inspired by the Raspberry Pi 2. >

Re: [PATCH RFC 0/2] rtc-cmos: Workaround unwanted interrupt generation

2016-07-04 Thread Pratyush Anand
On 27/06/2016:10:19:07 AM, Pratyush Anand wrote: > On 21/06/2016:10:25:34 AM, Pratyush Anand wrote: > > We have observed on few machines with rtc-cmos device that > > hpet_rtc_interrupt() is called before cmos_do_probe() could call > > hpet_rtc_timer_init(). It has not been observed during normal b

Re: [PATCH 0/3] fs/9p: fix setattr/getattr issues with open files

2016-07-04 Thread Greg Kurz
On Mon, 4 Jul 2016 16:16:55 +0200 Dominique Martinet wrote: > I *think* this introduces a race somewhere, I'm getting errors like: > cat: f.05: No such file or directory > cat: f.14: No such file or directory > cat: f.13: No such file or directory > cat: f.39: No such file or directory > cat: f.0

Re: [PATCH 2/2] iio: adc: sun4i_lradc: new driver

2016-07-04 Thread Alexandre Belloni
On 03/07/2016 at 13:11:33 +0100, Jonathan Cameron wrote : > On 01/07/16 22:00, Alexandre Belloni wrote: > > Add an IIO driver for the Allwinner LRADC. > To avoid idiots (i.e. me) confusing this with the touch screen ADC > could you expand a little on the description in future patches. > Sure, one

Re: [PATCH 2/3] iio: adc: add support for Allwinner SoCs ADC

2016-07-04 Thread Guenter Roeck
On 07/04/2016 12:26 AM, Quentin Schulz wrote: On 03/07/2016 17:43, Guenter Roeck wrote: On 07/03/2016 04:54 AM, Jonathan Cameron wrote: On 28/06/16 09:18, Quentin Schulz wrote: The Allwinner SoCs all have an ADC that can also act as a touchscreen controller and a thermal sensor. This patch add

Re: [PATCH 1/2] input: adc-keys: add DT binding documentation

2016-07-04 Thread Alexandre Belloni
On 03/07/2016 at 14:43:56 +0100, Jonathan Cameron wrote : > On 01/07/16 22:30, Alexandre Belloni wrote: > > Add documentation for ADC keys > > > > Signed-off-by: Alexandre Belloni > Clean looking binding to me - one comment inline. > > Jonathan > > --- > > Cc: Rob Herring > > Cc: devicet...@vge

Re:

2016-07-04 Thread Mr. Bun Sam
Hi, I work with one of the major banks in Cambodia as the director of audit. I have a proposal for you, a very urgent and quick business that will be completed in 12 working days. I have just discovered documents relating to funds belonging to a deceased client of our bank, I went through all

Re: [PATCH 6/7] dt-bindings: net: bgmac: add bindings documentation for bgmac

2016-07-04 Thread Ray Jui
On 7/1/2016 8:42 AM, Arnd Bergmann wrote: On Friday, July 1, 2016 11:17:25 AM CEST Jon Mason wrote: On Fri, Jul 1, 2016 at 5:46 AM, Arnd Bergmann wrote: On Thursday, June 30, 2016 6:59:13 PM CEST Jon Mason wrote: + +Required properties: + - compatible: "brcm,bgmac-nsp" + - reg:

[PATCH] vfs: fix typo in link_path_walk()

2016-07-04 Thread Luis de Bethencourt
Comment documenting the path parsing in link_path_walk() has a typo, fixing it. Signed-off-by: Luis de Bethencourt --- Hello, Noticed this typo while studying the code paths when sys_open is called. Thanks, Luis fs/namei.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/f

Re: [PATCH RFC] sched: Make wake_up_nohz_cpu() handle CPUs going offline

2016-07-04 Thread Paul E. McKenney
On Mon, Jul 04, 2016 at 02:21:43PM +0200, Frederic Weisbecker wrote: > On Fri, Jul 01, 2016 at 05:15:06PM -0700, Paul E. McKenney wrote: > > On Sat, Jul 02, 2016 at 01:49:56AM +0200, Frederic Weisbecker wrote: > > > On Fri, Jul 01, 2016 at 11:40:54AM -0700, Paul E. McKenney wrote: > > > > On Fri, J

Re: [PATCH v2 0/9] Improve Rx/Tx DMA implementation

2016-07-04 Thread Bhuvanchandra DV
Ping! On 06/28/16 11:02, Bhuvanchandra DV wrote: Changes since v1: Split suspend/resume patch. Bhuvanchandra DV (5): tty: serial: fsl_lpuart: Fix broken 8m/s1 support tty: serial: fsl-lpuart: Use cyclic DMA for Rx tty: serial: fsl-lpuart: Use scatter/gather DMA for Tx tty: serial:

Re: [PATCH v4 3/3] ARM:dts-Add dt node for Broadcom iproc-static-adc

2016-07-04 Thread Scott Branden
Florian, Patch to apply On 16-07-03 03:34 AM, Jonathan Cameron wrote: On 28/06/16 08:40, Raveendra Padasalagi wrote: This patch adds DT node for Broadcom's iproc-static-adc controller driver. Signed-off-by: Raveendra Padasalagi Reviewed-by: Ray Jui Reviewed-by: Scott Branden Driver is wor

Re: [PATCH] Fix bss mapping for the interpreter in binfmt_elf

2016-07-04 Thread Hector Marco-Gisbert
> On Wed, May 11, 2016 at 3:37 AM, Hector Marco-Gisbert wrote: >> While working on a new ASLR for userspace we detected an error in the >> interpret loader. >> >> The size of the bss section for some interpreters is not correctly >> calculated resulting in unnecessary calls to vm_brk() with enormo

Re: 4.7-rc6, ext4, sparc64: Unable to handle kernel paging request at ...

2016-07-04 Thread Meelis Roos
> > Just got this on bootup of my Sun T2000: > >... > > I have not seen it before, this includes 4.6.0 4.6.0-08907-g7639dad > > 4.7.0-rc1-00094-g6b15d66 4.7.0-rc4-00014-g67016f6. > > > > It is not reproducible, did not appear on next reboot of the same > > kernel. > > mine T5120 boots ok 4.7.0-rc6

[PATCH] x86/microcode: Remove unused symbol exports

2016-07-04 Thread Borislav Petkov
From: Borislav Petkov It is not a module anymore and those can be retracted. No functionality change. Signed-off-by: Borislav Petkov --- Here's one more for tip/x86:microcode. arch/x86/kernel/cpu/microcode/core.c | 1 - arch/x86/kernel/cpu/microcode/intel_lib.c | 2 -- 2 files changed,

Re: [PATCHv4 1/2] usb: USB Type-C connector class

2016-07-04 Thread Heikki Krogerus
Hi Guenter, On Sun, Jul 03, 2016 at 02:28:44PM -0700, Guenter Roeck wrote: > On 07/03/2016 12:38 PM, Heikki Krogerus wrote: > > On Fri, Jul 01, 2016 at 07:33:12AM -0700, Guenter Roeck wrote: > > > On Fri, Jul 01, 2016 at 03:05:35PM +0300, Heikki Krogerus wrote: > > > > I've updated my github branc

Re: [PATCH] cacheinfo: Introduce cache id

2016-07-04 Thread Borislav Petkov
On Fri, Jul 01, 2016 at 07:08:56PM +, Yu, Fenghua wrote: > For L3 schema on a two socket system which has two L3 caches, user input: > L3:0=3;1=f Ok, so you basically want to read out the cache id from sysfs so that userspace can configure CAT properly. Thanks for the detailed writeup. Btw, s

Re: [PATCH 2/4] dt-bindings: Document the STM32 reset bindings

2016-07-04 Thread Philipp Zabel
Am Montag, den 04.07.2016, 15:47 +0200 schrieb gabriel.fernan...@st.com: > From: Maxime Coquelin > > This adds documentation of device tree bindings for the > STM32 reset controller. > > Signed-off-by: Maxime Coquelin The way I understand Documentation/SubmittingPatches, this should also have

Re: [PATCH 3/4] drivers: reset: Add STM32 reset driver

2016-07-04 Thread Philipp Zabel
Hi Gabriel, Am Montag, den 04.07.2016, 15:47 +0200 schrieb gabriel.fernan...@st.com: > From: Gabriel Fernandez Isn't Maxime the author of this driver? > The STM32 MCUs family IPs can be reset by accessing some registers > from the RCC block. > > The list of available reset lines is documented

Re: [PATCH 04/14] PCI: generic: make it explicitly non-modular

2016-07-04 Thread Will Deacon
On Sat, Jul 02, 2016 at 07:13:24PM -0400, Paul Gortmaker wrote: > The Kconfig currently controlling compilation of this code is: > > drivers/pci/host/Kconfig:config PCI_HOST_GENERIC > drivers/pci/host/Kconfig: bool "Generic PCI host controller" > > ...meaning that it currently is not being

Re: [rfc patch] sched/fair: Use instantaneous load for fork/exec balancing

2016-07-04 Thread Mike Galbraith
On Mon, 2016-07-04 at 16:04 +0100, Matt Fleming wrote: > But we can optimise the special case of dequeueing the last entity and > reset ::runnable_load_avg early, which gives a performance improvement > to workloads that trigger the load balancer, such as fork-heavy > applications when SD_BALANCE_

Re: [PATCHv4 1/2] usb: USB Type-C connector class

2016-07-04 Thread Guenter Roeck
On 07/04/2016 10:11 AM, Heikki Krogerus wrote: [ ... ] We should not forget also that the userspace can never rely on those details because of the fact that they simply will not always be available. On the other side, not being able to rely on a well defined ABI makes the ABI much less useful.

Re: [PATCH] fs: btrfs: Replace -ENOENT by -ERANGE in btrfs_get_acl()

2016-07-04 Thread David Sterba
On Sun, Jul 03, 2016 at 05:40:10AM +0100, Salah Triki wrote: > size contains the value returned by posix_acl_from_xattr(), which > returns -ERANGE, -ENODATA, zero, or an integer greater than zero. So > replace -ENOENT by -ERANGE. > > Signed-off-by: Salah Triki Reviewed-by: David Sterba

Re: [PATCH v4 01/29] bluetooth: Switch SMP to crypto_cipher_encrypt_one()

2016-07-04 Thread Marcel Holtmann
Hi Andy, > SMP does ECB crypto on stack buffers. This is complicated and > fragile, and it will not work if the stack is virtually allocated. > > Switch to the crypto_cipher interface, which is simpler and safer. > > Cc: Marcel Holtmann > Cc: Gustavo Padovan >

Re: [PATCH] cacheinfo: Introduce cache id

2016-07-04 Thread Borislav Petkov
On Fri, Jul 01, 2016 at 07:24:27PM +, Yu, Fenghua wrote: > I haven't tested on AMD. But I think AMD should have the same code. Again, bear in mind, this is a qemu+kvm guest. > Could you please check if > /sys/device/system/cpu/cpu#/cache/index#/shared_cpu_map contains only > the cpu itself?

Re: [PATCH] perf: fix pmu::filter_match for SW-led groups

2016-07-04 Thread Mark Rutland
On Sat, Jul 02, 2016 at 06:40:25PM +0200, Peter Zijlstra wrote: > On Tue, Jun 14, 2016 at 04:10:41PM +0100, Mark Rutland wrote: > > However, pmu::filter_match is only called for the leader of each event > > group. When the leader is a SW event, we do not filter the groups, and > > may fail at pmu::

Re: [PATCH v3] Bluetooth: btmrvl: fix slab-out-of-bounds access in btmrvl_sdio

2016-07-04 Thread Marcel Holtmann
Hi Ricky, > Kasan reported slab-out-of-bounds access in btmrvl_sdio: > > [ 33.055400] > == > [ 33.062585] BUG: KASAN: slab-out-of-bounds in memcpy+0x24/0x50 at addr > ffc0d89b4a00 > [ 33.070529] Read of size 256 by task b

Re: [RFC PATCH 0/1] Portable Device Tree Connector -- conceptual

2016-07-04 Thread Frank Rowand
On 07/04/16 08:22, Mark Brown wrote: > On Sat, Jul 02, 2016 at 04:55:49PM -0700, frowand.l...@gmail.com wrote: > >> This is an extremely simple example to illustrate the concepts. It is not >> meant to represent the complexity of a real board. >> >> To start with, assume that the device that will

Re: [PATCH] Syscall arguments are unsigned long (full registers)

2016-07-04 Thread H. Peter Anvin
On July 4, 2016 6:52:58 AM PDT, "Tautschnig, Michael" wrote: >All syscall arguments are passed in as types of the same byte size as >unsigned long (width of full registers). Using a smaller type without a >cast may result in losing bits of information. In all other instances >apart from the ones

Re: [PATCH v4 11/29] x86/dumpstack: When OOPSing, rewind the stack before do_exit

2016-07-04 Thread Borislav Petkov
On Sun, Jun 26, 2016 at 02:55:33PM -0700, Andy Lutomirski wrote: > If we call do_exit with a clean stack, we greatly reduce the risk of Nits: do_exit() > recursive oopses due to stack overflow in do_exit, and we allow s/ in do_exit// > do_exit to work even if we OOPS from an IST stack. T

Re: [PATCH 1/4] perf tools: Introduce hist_entry__init function

2016-07-04 Thread Arnaldo Carvalho de Melo
Em Mon, Jul 04, 2016 at 04:01:36PM +0200, Jiri Olsa escreveu: > Move hist_entry initialization code into separate function. > It'll be useful and more clear for following patches that > introduce allocation callbacks. > > Link: http://lkml.kernel.org/n/tip-j8dz6ytir91x8qd1zk4vf...@git.kernel.org >

Re: [PATCH 2/4] perf tools: Do the error path hist_entry release in hist_entry__new

2016-07-04 Thread Arnaldo Carvalho de Melo
Em Mon, Jul 04, 2016 at 04:01:37PM +0200, Jiri Olsa escreveu: > It's better to release the hist_entry object in > hist_entry__new function (where it's allocated) > rather than in hist_entry__init. Please combine this with the previous patch, that way this all gets clearer :-\ - Arnaldo > Link:

[RFC PATCH] hwmon: (jc42) Add I2C_CLASS_HWMON to detection class

2016-07-04 Thread Alison Schofield
In 2011, commit 774466add7c810fd7e4c8bcf41995b6799608880 changed the detection class of these chips to I2C_CLASS_SPD based on this premise: "makes more sense because these chips always live on memory modules" Today these chips have applications beyond memory modules. Add I2C_CLASS_HWMON as an ad

Re: [PATCH 3/4] perf tools: Add initialized arg into unwind__prepare_access

2016-07-04 Thread Arnaldo Carvalho de Melo
Em Mon, Jul 04, 2016 at 02:16:22PM +0200, Jiri Olsa escreveu: > Adding initialized arg into unwind__prepare_access > to get feedback about the initialization state. > > It's not possible to get it from error code, because > we return 0 even in case we don't recognize dso, which > is valid. > > Th

Re: [PATCH] [RFC] Kbuild: avoid "make tinyconfig" warnings

2016-07-04 Thread Josh Triplett
On Mon, Jul 04, 2016 at 04:25:55PM +0200, Arnd Bergmann wrote: > The introduction of "make *.config" as a shorthand for merging configuration > files unfortunately introduced some build warnings that we see in every > single run of the various build bots testing tinyconfig: > > .config:966:warning

<    1   2   3   4   5   6   7   >