[PATCH v4 1/3] tracing: Deference pointers without RCU checks

2016-08-30 Thread Binoy Jayan
From: Daniel Wagner The tracepoint can't be used in code section where we are in the middle of a state transition. For example if we place a tracepoint inside start/stop_critical_section(), lockdep complains with [0.035589] WARNING: CPU: 0 PID: 3 at kernel/locking/lockdep.c:3560 \ check_fla

Re: [PATCH v8 02/18] MAINTAINERS: Add st slim core rproc driver to STi section.

2016-08-30 Thread Lee Jones
On Fri, 26 Aug 2016, Peter Griffin wrote: > This patch adds the slim core rproc driver to the STi section > of the MAINTAINERS file. > > Signed-off-by: Peter Griffin > --- > MAINTAINERS | 2 ++ > 1 file changed, 2 insertions(+) Acked-by: Lee Jones > diff --git a/MAINTAINERS b/MAINTAINERS >

Re: [PATCH v8 06/18] ARM: STi: DT: STiH407: Add FDMA driver dt nodes.

2016-08-30 Thread Lee Jones
On Fri, 26 Aug 2016, Peter Griffin wrote: > These nodes are required to get the fdma driver working > on STiH407 based silicon. > > Signed-off-by: Peter Griffin > --- > arch/arm/boot/dts/stih407-family.dtsi | 52 > +++ > 1 file changed, 52 insertions(+) Acked-b

Re: [PATCH v8 09/18] ARM: multi_v7_defconfig: Enable STi and simple-card drivers.

2016-08-30 Thread Lee Jones
Nit: Remove full-stop from $SUBJECT On Fri, 26 Aug 2016, Peter Griffin wrote: > This patch enables the STi ALSA drivers found on STi platforms > as well as the simple-card driver which is a dependency to have > working sound. > > Signed-off-by: Peter Griffin > Cc: arnaud.pouliq...@st.com > Cc: b

Re: [PATCH v8 10/18] ARM: DT: STiH407: Add i2s_out pinctrl configuration

2016-08-30 Thread Lee Jones
On Fri, 26 Aug 2016, Peter Griffin wrote: > This patch adds the pinctrl config for the i2s_out pins > used by the uniperif player IP. > > Signed-off-by: Arnaud Pouliquen > Signed-off-by: Peter Griffin > --- > arch/arm/boot/dts/stih407-pinctrl.dtsi | 23 +++ > 1 file changed

Re: [PATCH v8 11/18] ARM: DT: STiH407: Add i2s_in pinctrl configuration

2016-08-30 Thread Lee Jones
On Fri, 26 Aug 2016, Peter Griffin wrote: > This patch adds the pinctrl config for the i2s_in pins > used by the uniperif reader IP. > > Signed-off-by: Arnaud Pouliquen > Signed-off-by: Peter Griffin > --- > arch/arm/boot/dts/stih407-pinctrl.dtsi | 24 > 1 file changed

Re: [PATCH v8 12/18] ARM: DT: STiH407: Add spdif_out pinctrl config

2016-08-30 Thread Lee Jones
On Fri, 26 Aug 2016, Peter Griffin wrote: > This patch adds the pinctrl config for the spidf out > pins used by the sasg codec IP. > > Signed-off-by: Arnaud Pouliquen > Signed-off-by: Peter Griffin > --- > arch/arm/boot/dts/stih407-pinctrl.dtsi | 8 > 1 file changed, 8 insertions(+)

Re: [PATCH ] drivers/base: cacheinfo: remove warning in resume

2016-08-30 Thread Sudeep Holla
Hi Sumit, I understand the warning we get but the patch is completely wrong. One it removes the feature of adding/removing the cache devices on cpu hotplug events. Have you tested your patch with simple cpu hotplug and seen no change before and after this change ? On 29/08/16 08:20, Sumit Gupta

Re: [PATCH v6] tpm: fix a race condition in tpm2_unseal_trusted()

2016-08-30 Thread Jarkko Sakkinen
On Tue, Aug 30, 2016 at 01:51:06AM +0300, Jarkko Sakkinen wrote: > Unseal and load operations should be done as an atomic operation. This > commit introduces unlocked tpm_transmit() so that tpm2_unseal_trusted() > can do the locking by itself. > > v2: Introduced an unlocked unseal operation instea

Re: [PATCH 1/3] clocksource/drivers/timer-atmel-pit: Enable mck clock

2016-08-30 Thread Daniel Lezcano
On 08/30/2016 11:55 AM, Mark Rutland wrote: > Hi, > > On Fri, Aug 26, 2016 at 04:20:43PM +0200, Daniel Lezcano wrote: >> From: Alexandre Belloni >> >> mck is needed to get the PIT working. Explicitly prepare_enable it instead >> of assuming it is enabled. >> >> This solves an issue where the syst

Re: Kernel Freeze with American Megatrends BIOS

2016-08-30 Thread Roland Singer
Thanks for pointing it out. Yeah that's right. The system will hang randomly a few minutes later, because some certain actions in the graphical user session will trigger the freeze. I had a look at the function body of pci_read_config_dword: #define PCI_OP_READ(size, type, len) \ int pci_bus

Re: [PATCH 6/6] efi/fdt: Fix handling error value in fdt_find_uefi_params

2016-08-30 Thread Matt Fleming
On Mon, 22 Aug, at 06:45:08PM, Ingo Molnar wrote: > > * Matt Fleming wrote: > > > From: Andrzej Hajda > > > > of_get_flat_dt_subnode_by_name can return negative value in case of error. > > ... which is a problem because , and we solve it by doing ? Andrzej, could you please provide an answer

Re: [lkp] [mm, page_alloc] e6cbd7f2ef: pixz.throughput -5.1% regression

2016-08-30 Thread Mel Gorman
On Sun, Aug 28, 2016 at 11:51:20AM +0200, Thorsten Leemhuis wrote: > Lo! On 08.08.2016 10:29, kernel test robot wrote: > > > > FYI, we noticed a -5.1% regression of pixz.throughput due to commit: > > > > commit e6cbd7f2efb433d717af72aa8510a9db6f7a7e05 ("mm, page_alloc: remove > > fair zone alloc

Re: [PATCH v2 10/10] reset: hi6220: allow to compile test driver on other architectures

2016-08-30 Thread Masahiro Yamada
2016-08-30 17:24 GMT+09:00 Philipp Zabel : > Also remove the RESET_CONTROLLER dependency, this Kconfig file is > included inside the menuconfig already. > > Cc: Chen Feng > Signed-off-by: Philipp Zabel Reviewed-by: Masahiro Yamada -- Best Regards Masahiro Yamada

Re: [PATCHv6 1/3] usb: USB Type-C connector class

2016-08-30 Thread Heikki Krogerus
Hi Oliver, On Tue, Aug 30, 2016 at 11:32:01AM +0200, Oliver Neukum wrote: > On Mon, 2016-08-29 at 15:36 +0300, Heikki Krogerus wrote: > > +What: /sys/class/typec//current_data_role > > +Date: June 2016 > > +Contact: Heikki Krogerus > > +Description: > > + The

Re: [PATCH v8 13/18] ARM: STi: DT: STiH407: Add sti-sasg-codec dt node

2016-08-30 Thread Lee Jones
On Fri, 26 Aug 2016, Peter Griffin wrote: > This patch adds the dt node for the internal audio > codec IP. > > Signed-off-by: Arnaud Pouliquen > Signed-off-by: Peter Griffin > --- > arch/arm/boot/dts/stih407-family.dtsi | 7 +++ > 1 file changed, 7 insertions(+) Acked-by: Lee Jones >

Re: [PATCH v2 09/10] reset: zynq: add driver Kconfig option

2016-08-30 Thread Michal Simek
On 30.8.2016 10:24, Philipp Zabel wrote: > Visible only if COMPILE_TEST is enabled, this allows to include the > driver in build tests. > > Cc: Moritz Fischer > Cc: Michal Simek > Cc: Sören Brinkmann > Reviewed-by: Masahiro Yamada > Signed-off-by: Philipp Zabel > --- > Changes since v1: > -

Re: [PATCH v8 14/18] ARM: STi: DT: STiH407: Add uniperif player dt nodes

2016-08-30 Thread Lee Jones
On Tue, 30 Aug 2016, Lee Jones wrote: > On Fri, 26 Aug 2016, Peter Griffin wrote: > > > This patch adds the DT nodes for the uniperif player > > IP blocks found on STiH407 family silicon. > > > > Signed-off-by: Arnaud Pouliquen > > Signed-off-by: Peter Griffin > > --- > > arch/arm/boot/dts/st

Re: perf-4.8.0-rc3: Segmentation fault

2016-08-30 Thread Alexey Dobriyan
On Mon, Aug 29, 2016 at 11:02 PM, Arnaldo Carvalho de Melo wrote: > Em Mon, Aug 29, 2016 at 11:44:50AM -0300, Arnaldo Carvalho de Melo escreveu: >> Em Thu, Aug 25, 2016 at 01:49:41PM +0300, Alexey Dobriyan escreveu: >> > I profiled kernel allmodconfig build (don't ask) and perf tui reliably >> > s

Re: [PATCH v8 14/18] ARM: STi: DT: STiH407: Add uniperif player dt nodes

2016-08-30 Thread Lee Jones
On Fri, 26 Aug 2016, Peter Griffin wrote: > This patch adds the DT nodes for the uniperif player > IP blocks found on STiH407 family silicon. > > Signed-off-by: Arnaud Pouliquen > Signed-off-by: Peter Griffin > --- > arch/arm/boot/dts/stih407-family.dtsi | 76 > +++

Re: [PATCH v8 15/18] ARM: STi: DT: STiH407: Add uniperif reader dt nodes

2016-08-30 Thread Lee Jones
On Fri, 26 Aug 2016, Peter Griffin wrote: > This patch adds the DT node for the uniperif reader > IP block found on STiH407 family silicon. > > Signed-off-by: Arnaud Pouliquen > Signed-off-by: Peter Griffin > --- > arch/arm/boot/dts/stih407-family.dtsi | 26 ++ > 1 file

Re: [PATCH v2 2/2] vfio: add virtio pci quirk

2016-08-30 Thread kbuild test robot
hat (public, well-known) commit your patch series was built on] [Check https://git-scm.com/docs/git-format-patch for more information] url: https://github.com/0day-ci/linux/commits/Michael-S-Tsirkin/vfio-blacklist-legacy-virtio-devices/20160830-124010 base: https://github.com/awilliam/li

[PATCH] merge_config.sh: fail loudly if make also fails

2016-08-30 Thread Ioan-Adrian Ratiu
There are cases in which the make call to fill missing symbols can fail. I encountered one such case while building an Yocto/OpenEmbedded based custom Linux kernel because by default after late 2014 OE poisons the default compiler sysroot path [1], making it point to a bogus location like /does/not

Re: [PATCH 1/3] clocksource/drivers/timer-atmel-pit: Enable mck clock

2016-08-30 Thread Mark Rutland
Hi, On Fri, Aug 26, 2016 at 04:20:43PM +0200, Daniel Lezcano wrote: > From: Alexandre Belloni > > mck is needed to get the PIT working. Explicitly prepare_enable it instead > of assuming it is enabled. > > This solves an issue where the system is freezing when the ETM/ETB drivers > are enabled.

Re: [PATCH v8 18/18] drm/virtio: kconfig: Fixup white space.

2016-08-30 Thread Lee Jones
On Tue, 30 Aug 2016, Lee Jones wrote: > On Fri, 26 Aug 2016, Peter Griffin wrote: > > > Use tabs instead of spaces. > > > > Signed-off-by: Peter Griffin > > --- > > drivers/gpu/drm/virtio/Kconfig | 6 +++--- > > 1 file changed, 3 insertions(+), 3 deletions(-) > > For my own reference: > Ack

Re: [PATCH v8 16/18] ARM: DT: STi: stihxxx-b2120: Add DT nodes for STi audio card

2016-08-30 Thread Lee Jones
On Fri, 26 Aug 2016, Peter Griffin wrote: > This patch enables the uniperif players 2 & 3 for b2120 boards > and also adds the "simple-audio-card" device node to interconnect > the SoC sound device and the codec. > > Signed-off-by: Arnaud Pouliquen > Signed-off-by: Peter Griffin > --- > arch/a

Re: [PATCH v8 17/18] drm/virtio: kconfig: Fix recursive dependency.

2016-08-30 Thread Lee Jones
On Fri, 26 Aug 2016, Peter Griffin wrote: > [..] > drivers/video/fbdev/Kconfig:5:error: recursive dependency detected! > For a resolution refer to Documentation/kbuild/kconfig-language.txt > subsection "Kconfig recursive dependency limitations" > drivers/video/fbdev/Kconfig:5:symbol FB is

Re: [PATCH V3 2/2] rtc/rtc-cmos: Initialize software counters before irq is registered

2016-08-30 Thread Pratyush Anand
Hi Dave, On 30/08/2016:04:22:30 PM, Dave Young wrote: > Hi, Pratyush > > On 08/16/16 at 08:55am, Pratyush Anand wrote: > > We have observed on few x86 machines with rtc-cmos device that > > hpet_rtc_interrupt() is called just after irq registration and before > > cmos_do_probe() could call hpet_r

Re: [PATCH v2] arm64: KVM: Save four instructions in __guest_enter/exit()

2016-08-30 Thread Christoffer Dall
On Mon, Aug 29, 2016 at 10:51:14PM -0500, Shanker Donthineni wrote: > We are doing an unnecessary stack push/pop operation when restoring > the guest registers x0-x18 in __guest_enter(). This patch saves the > two instructions by using x18 as a base register. No need to store > the vcpu context poi

Re: [PATCH v8 18/18] drm/virtio: kconfig: Fixup white space.

2016-08-30 Thread Lee Jones
On Fri, 26 Aug 2016, Peter Griffin wrote: > Use tabs instead of spaces. > > Signed-off-by: Peter Griffin > --- > drivers/gpu/drm/virtio/Kconfig | 6 +++--- > 1 file changed, 3 insertions(+), 3 deletions(-) For my own reference: Acked-by: Lee Jones > diff --git a/drivers/gpu/drm/virtio/Kcon

Re: [PATCH 0/4] ARM: dts: TPS65218: Clean ups

2016-08-30 Thread Lee Jones
On Fri, 26 Aug 2016, Keerthy wrote: > > > On Friday 26 August 2016 08:21 PM, Tony Lindgren wrote: > > * Keerthy [160704 02:58]: > > > Now that all the driver patches are Acked by respective sub-system > > > Maintainers. Here is the set of Device Tree patches. Another set > > > of Device Tree pa

Re: [tip:perf/core] perf/core: Check return value of the perf_event_read() IPI

2016-08-30 Thread Jiri Olsa
On Tue, Aug 30, 2016 at 09:26:03AM +0200, Peter Zijlstra wrote: > On Tue, Aug 30, 2016 at 08:47:24AM +0200, Peter Zijlstra wrote: > > > If oncpu is not valid, the sched_out that made it invalid will have > > updated the event count and we're good. > > > > All I'll leave is an explicit comment tha

Re: [PATCH] livepatch: add load/unload hooks to objects

2016-08-30 Thread Jiri Kosina
On Mon, 29 Aug 2016, Christopher Arges wrote: > Another example is CVE-2016-2117. Here we need to unset NETIF_F_SG on a > particular device. If the device is already loaded we need a way to > fixup hw_features on an already allocated network device. Again this > could be done in the init code o

Re: [PATCH v3 2/3] tracing: Add trace_irqsoff tracepoints

2016-08-30 Thread Binoy Jayan
On 29 August 2016 at 15:13, Daniel Wagner wrote: > Hi Binoy, > > Some minor nitpicking. > > As Steven already pointed out, the cpu field is available in all traces. > It's one of the predefined fields (see > kernel/trace/trace_events.c/trace_define_generic_fields()). Just drop it. > Hi Daniel, T

Re: what is the purpose of SLAB and SLUB (was: Re: [PATCH v3] mm/slab: Improve performance of gathering slabinfo) stats

2016-08-30 Thread Mel Gorman
On Thu, Aug 25, 2016 at 02:55:43PM -0500, Christoph Lameter wrote: > On Thu, 25 Aug 2016, Mel Gorman wrote: > > > Flipping the lid aside, there will always be a need for fast management > > of 4K pages. The primary use case is networking that sometimes uses > > high-order pages to avoid allocator

Re: kernel BUG at net/unix/garbage.c:149!"

2016-08-30 Thread Miklos Szeredi
On Tue, Aug 30, 2016 at 11:31 AM, Nikolay Borisov wrote: > > > On 08/30/2016 12:18 PM, Miklos Szeredi wrote: >> On Tue, Aug 30, 2016 at 12:37 AM, Miklos Szeredi wrote: >>> On Sat, Aug 27, 2016 at 11:55 AM, Miklos Szeredi >>> wrote: >> >>> crash> list -H gc_inflight_list unix_sock.link -s unix_s

Re: [PATCH] printk/nmi: avoid direct printk()-s from __printk_nmi_flush()

2016-08-30 Thread Sergey Senozhatsky
On (08/30/16 11:04), Petr Mladek wrote: > On Tue 2016-08-30 16:58:34, Sergey Senozhatsky wrote: > > Petr, > > one more question. Not related to the patch, but still related to NMI. > > > > can NMI nest? > > AFAIK, they cannot. NMIs should be disabled until iret is called. > Therefore we should be

Re: [PATCH v2 1/1] blk-mq: fix hang caused by freeze/unfreeze sequence

2016-08-30 Thread 王金浦
2016-08-10 13:36 GMT+02:00 Roman Penyaev : > On Wed, Aug 10, 2016 at 10:42 AM, Roman Penyaev > wrote: >> Hi, >> >> On Wed, Aug 10, 2016 at 5:55 AM, Tejun Heo wrote: >>> Hello, >>> >>> On Mon, Aug 08, 2016 at 01:39:08PM +0200, Roman Pen wrote: Long time ago there was a similar fix proposed by

MBR partitions slow?

2016-08-30 Thread Ulrich Windl
Hello! (I'm not subscribed to this list, but I'm hoping to get a reply anyway) While testing some SAN storage system, I needed a utility to erase disks quickly. I wrote my own one that mmap()s the block device, memset()s the area, then msync()s the changes, and finally close()s the file descript

[PATCH] mfd: arizona: Use suspend_noirq inplace of suspend_late

2016-08-30 Thread Charles Keepax
As runtime PM doesn't function whilst processing system suspend/resume operations and the Arizona IRQ handlers need runtime PM to function we must disable IRQs during these operations. Whilst this is already done in the driver we are using suspend/suspend_late and resume/resume_noirq to do so which

Re: [PATCH v3 0/3] spi-nor: Add support for Intel SPI serial flash controller

2016-08-30 Thread Mika Westerberg
On Tue, Aug 30, 2016 at 10:13:30AM +0100, Lee Jones wrote: > On Mon, 29 Aug 2016, Mika Westerberg wrote: > > > On Mon, Aug 15, 2016 at 10:10:41AM +0300, Mika Westerberg wrote: > > > Hi, > > > > > > This is third version of the series. Previous versions can be found: > > > > > > v2: http://list

Re: [PATCHv6 1/3] usb: USB Type-C connector class

2016-08-30 Thread Oliver Neukum
On Mon, 2016-08-29 at 15:36 +0300, Heikki Krogerus wrote: > +What: /sys/class/typec//current_data_role > +Date: June 2016 > +Contact: Heikki Krogerus > +Description: > + The current USB data role the port is operating in. > This > + attribute can

Re: kernel BUG at net/unix/garbage.c:149!"

2016-08-30 Thread Nikolay Borisov
On 08/30/2016 12:18 PM, Miklos Szeredi wrote: > On Tue, Aug 30, 2016 at 12:37 AM, Miklos Szeredi wrote: >> On Sat, Aug 27, 2016 at 11:55 AM, Miklos Szeredi wrote: > >> crash> list -H gc_inflight_list unix_sock.link -s unix_sock.inflight | >> grep counter | cut -d= -f2 | awk '{s+=$1} END {print

Re: [PATCH v10 1/2] printk: Make printk() completely async

2016-08-30 Thread Petr Mladek
On Fri 2016-08-26 10:56:41, Sergey Senozhatsky wrote: > On (08/25/16 23:10), Petr Mladek wrote: > [..] > > I was so taken by the idea of temporary forcing a lockless and > > "trivial" printk implementation that I missed one thing. > > > > Your patch use the alternative printk() variant around logb

[PATCH RESEND] mfd: arizona: Add sensible return value to some error paths

2016-08-30 Thread Charles Keepax
There are some cases in arizona_dev_init, such as where we don't recognise the chip ID, in which we head to the error path without setting a sensible error code in ret. This would lead to the chip silently failing probe, as it would still return 0. Fix this up by adding appropriate sets of the retu

Re: [PATCH 1/2] jump_labels: Allow array initialisers

2016-08-30 Thread Catalin Marinas
On Thu, Aug 25, 2016 at 06:26:31PM +0100, Catalin Marinas wrote: > diff --git a/Documentation/static-keys.txt b/Documentation/static-keys.txt > index 477927becacb..fd490f8b1cfa 100644 > --- a/Documentation/static-keys.txt > +++ b/Documentation/static-keys.txt > @@ -15,6 +15,8 @@ The updated API rep

Re: [PATCH 2/2] sdhci-of-arasan: Set controller to test mode when fails-without-test-cd is present

2016-08-30 Thread Michal Simek
On 30.8.2016 01:20, Zach Brown wrote: > The sdhci controller on xilinx zynq devices will not function unless > the CD bit is provided. http://www.xilinx.com/support/answers/61064.html > In cases where it is impossible to provide the CD bit in hardware, > setting the controller to test mode and then

Re: [PATCH 0/4 v2] Audio support for adv7511 hdmi bridge

2016-08-30 Thread Laurent Pinchart
Hi John, Thank you for the patches. On Monday 29 Aug 2016 16:41:32 John Stultz wrote: > This is another swing at getting the adv7511 hdmi bridge > audio support reviewed. > > I've taken the core audio work done by Lars-Peter Clausen, and > adapted by Srinivas Kandagatla and Archit Taneja, and tr

Re: [PATCH 2/4 v2] drm/bridge: adv7511: Add Audio support.

2016-08-30 Thread Laurent Pinchart
Hi John, Thank you for the patch. On Monday 29 Aug 2016 16:41:34 John Stultz wrote: > This patch adds support to Audio for both adv7511 and adv7533 > bridge chips. > > This patch was originally from [1] by Lars-Peter Clausen > and was adapted by Archit Taneja and > Srinivas Kandagatla . > > T

[GIT PULL 4/4] ARM: defconfig: Exynos for v4.9

2016-08-30 Thread Krzysztof Kozlowski
Hi, Expected conflict in multi_v7 - take all the changes: --- a/arch/arm/configs/multi_v7_defconfig +++ b/arch/arm/configs/multi_v7_defconfig @@@ -135,8 -136,7 +136,8 @@@ CONFIG_CPU_FREQ_DEFAULT_GOV_ONDEMAND= CONFIG_CPU_FREQ_GOV_POWERSAVE=m CONFIG_CPU_FREQ_GOV_USERSPACE=m CONFIG_CPU_FREQ_GO

[GIT PULL 2/4] ARM: dts: exynos: DeviceTree for v4.9

2016-08-30 Thread Krzysztof Kozlowski
The following changes since commit 29b4817d4018df78086157ea3a55c1d9424a7cfc: Linux 4.8-rc1 (2016-08-07 18:18:00 -0700) are available in the git repository at: git://git.kernel.org/pub/scm/linux/kernel/git/krzk/linux.git tags/samsung-dt-4.9 for you to fetch changes up to 05b01dd936b46f2c3c

Re: [PATCH ] arm64: cpuinfo: Add "model name" in /proc/cpuinfo for 64bit tasks also

2016-08-30 Thread Catalin Marinas
On Mon, Aug 29, 2016 at 02:32:25PM +0530, Sumit Gupta wrote: > Removed restriction of displaying model name for 32 bit tasks only. > Because of this Processor details were not displayed in > "System setting -> Details" in Ubuntu model name display is generic > and can be printed for 64 bit also. >

[GIT PULL 3/4] arm64: dts: exynos: DeviceTree ARM64 for v4.9

2016-08-30 Thread Krzysztof Kozlowski
Hi, This is an old one. It was ready for v4.8 but then Marc Zynger posted some conflicting change so I postponed it. Marc's patch didn't get in, so there is no reason to wait. No conflict expected yet, but if you apply Marc's "arm64: dts: Fix broken architected timer interrupt trigger" then prope

[GIT PULL 0/4] ARM: exynos: Stuff for v4.9

2016-08-30 Thread Krzysztof Kozlowski
Hi, Not much stuff for v4.9. No specific order of pulling in. I expect more patches coming in later so probably I will send another pull request for v4.9 in a couple of weeks. BTW, since few weeks and till end of September I am traveling a lot, so my on-line availability is reduced. After Septe

[GIT PULL 1/4] ARM: exynos: SoC/Mach for v4.9

2016-08-30 Thread Krzysztof Kozlowski
The following changes since commit 29b4817d4018df78086157ea3a55c1d9424a7cfc: Linux 4.8-rc1 (2016-08-07 18:18:00 -0700) are available in the git repository at: git://git.kernel.org/pub/scm/linux/kernel/git/krzk/linux.git tags/samsung-soc-4.9 for you to fetch changes up to a36289756212a79a1

Re: kernel BUG at net/unix/garbage.c:149!"

2016-08-30 Thread Miklos Szeredi
On Tue, Aug 30, 2016 at 12:37 AM, Miklos Szeredi wrote: > On Sat, Aug 27, 2016 at 11:55 AM, Miklos Szeredi wrote: > crash> list -H gc_inflight_list unix_sock.link -s unix_sock.inflight | > grep counter | cut -d= -f2 | awk '{s+=$1} END {print s}' > 130 > crash> p unix_tot_inflight > unix_tot_infl

[PATCH v3] ARM: dts: imx6ul-geam: Add Engicam IMX6UL GEA M6UL initial support

2016-08-30 Thread Jagan Teki
From: Michael Trimarchi IMX6UL GEA M6UL modules are system on module solutions manufactured by Engicam with following characteristics: Processor Freescale i.MX 6UltraLite MCIMX6G2, 528 MHz RAM 128MB, 16-bit DDR3 NAND SLC256MB Power supplySingle 5V MAX LCD RES up

Re: [RFC][PATCH] Fix a race between rwsem and the scheduler

2016-08-30 Thread Nicholas Piggin
On Tue, 30 Aug 2016 18:49:37 +1000 Balbir Singh wrote: > The origin of the issue I've seen seems to be related to > rwsem spin lock stealing. Basically I see the system deadlock'd in the > following state BTW. this is not really to do with rwsems, but purely a scheduler bug. It was seen in other

Re: [PATCH v3 0/3] spi-nor: Add support for Intel SPI serial flash controller

2016-08-30 Thread Lee Jones
On Mon, 29 Aug 2016, Mika Westerberg wrote: > On Mon, Aug 15, 2016 at 10:10:41AM +0300, Mika Westerberg wrote: > > Hi, > > > > This is third version of the series. Previous versions can be found: > > > > v2: http://lists.infradead.org/pipermail/linux-mtd/2016-June/068277.html > > v1: https:/

Re: [PATCH v3 2/3] mfd: lpc_ich: Add support for SPI serial flash host controller

2016-08-30 Thread Lee Jones
On Mon, 15 Aug 2016, Mika Westerberg wrote: > Many Intel CPUs including Haswell, Broadwell and Baytrail have SPI serial > flash host controller as part of the LPC device. This will populate an MFD > cell suitable for the SPI host controller driver if we know that the LPC > device has one. > > Sig

Re: [PATCH V3 2/2] rtc/rtc-cmos: Initialize software counters before irq is registered

2016-08-30 Thread Dave Young
On 08/30/16 at 04:38pm, Dave Young wrote: > On 08/30/16 at 04:22pm, Dave Young wrote: > > Hi, Pratyush > > > > On 08/16/16 at 08:55am, Pratyush Anand wrote: > > > We have observed on few x86 machines with rtc-cmos device that > > > hpet_rtc_interrupt() is called just after irq registration and bef

Re: [PATCH] [bugfix] replace unnessary ldax with common ldr

2016-08-30 Thread Catalin Marinas
On Tue, Aug 30, 2016 at 02:35:31PM +0800, Kenneth Lee wrote: > (add comment for the previous mail, sorry for the duplication) > > There is no store_ex pairing with this load_ex. It is not necessary and > gave wrong hint to the cache system. > > Signed-off-by: Kenneth Lee > --- > arch/arm64/incl

Re: [PATCH v3 3/3] mfd: lpc_ich: Add support for Intel Apollo Lake SoC

2016-08-30 Thread Lee Jones
On Mon, 15 Aug 2016, Mika Westerberg wrote: > Intel Apollo Lake SoC exposes serial SPI flash through the LPC device. The > SPI flash host controller is not discoverable through PCI config cycles > because P2SB (function 0 of the device 13) is hidden by the BIOS. We unhide > the device briefly in o

Re: [PATCH] printk/nmi: avoid direct printk()-s from __printk_nmi_flush()

2016-08-30 Thread Petr Mladek
On Tue 2016-08-30 16:58:34, Sergey Senozhatsky wrote: > Petr, > one more question. Not related to the patch, but still related to NMI. > > can NMI nest? AFAIK, they cannot. NMIs should be disabled until iret is called. Therefore we should be on the safe side if iret is not called inside the NMI h

Re: [PATCH 4/6] driver core: Don't leak secondary fwnode on device removal

2016-08-30 Thread Lukas Wunner
On Wed, Aug 17, 2016 at 02:38:50AM +0200, Rafael J. Wysocki wrote: > On Thursday, July 28, 2016 02:25:41 AM Lukas Wunner wrote: > > If device_add_property_set() is called for a device, a secondary fwnode > > is allocated and assigned to the device but currently not freed once the > > device is remo

[PATCH] mlock.2: document that is a bad idea to fork() after mlock()

2016-08-30 Thread Sebastian Andrzej Siewior
fork() will remove the write PTE bit from the page table on each VMA which will be copied via COW. A such such, the memory is available but marked read only in the page table and will fault on write access. This renders the previous mlock() operation almost useless because in a multi threaded appli

Backlight off at boot

2016-08-30 Thread Guillermo Rodriguez Garcia
Hello all, I have been experiencing an issue with a SAMA5D3 Xplained board where the attached LCD panel would boot up completely white until an application that uses DRM is actually started. After some investigation I found that this happens because by default, backlight devices are immediately e

Re: [PATCH] mx3fb: Fix print format string

2016-08-30 Thread Tomi Valkeinen
On 27/08/16 06:05, Oleg Drokin wrote: > %ul was probably meant as %lu since the former would print > an unsigned value and a letter l. > > But in fact the whole value we are printing in u32 anyway, so > we don't need the format to be long. Therefore just drop the l > altogether. > > Signed-off-by

Re: [PATCH v4 0/4] Add support for cros-ec-sensors

2016-08-30 Thread Lee Jones
On Mon, 29 Aug 2016, Jonathan Cameron wrote: > On 21/08/16 20:57, Jonathan Cameron wrote: > > On 16/08/16 13:49, Lee Jones wrote: > >> On Mon, 15 Aug 2016, Jonathan Cameron wrote: > >> > >>> On 01/08/16 10:54, Enric Balletbo i Serra wrote: > Hi, > > This is the four patchset to add

Re: [PATCHv6 3/3] mfd: intel_soc_pmic_bxtwc: add support for USB Type-C PHY on WhiskeyCove

2016-08-30 Thread Lee Jones
On Mon, 29 Aug 2016, Heikki Krogerus wrote: > Intel WhiskeyCove PMIC has also a USB Type-C PHY, so let's > create a device for it. > > Signed-off-by: Heikki Krogerus > Cc: Lee Jones > --- > drivers/mfd/intel_soc_pmic_bxtwc.c | 11 +++ > 1 file changed, 11 insertions(+) Applied, thanks

Re: [PATCH] video: ARM CLCD: export symbols for driver module

2016-08-30 Thread Tomi Valkeinen
On 26/08/16 18:34, Arnd Bergmann wrote: > The amba-clcd-versatile.c code is always built-in and has to > be done that way because it gets called by platform code that is > also built-in. However, it now also gets called from the > core CLCD driver through the .init_panel callback function, > whic

Re: [PATCH 1/4 v2] drm/bridge: adv7511: Move the common data structures to header file

2016-08-30 Thread Laurent Pinchart
Hi John, Thank you for the patch. On Monday 29 Aug 2016 16:41:33 John Stultz wrote: > From: Archit Taneja > > This patch moves the adv7511 data structure to header file so that the > audio driver file could use it. Actually it doesn't, the data structure is already in the header file. > Cc: D

Re: [PATCH v5 01/13] media: mt9m111: make a standalone v4l2 subdevice

2016-08-30 Thread Guennadi Liakhovetski
Hi Robert, On Mon, 29 Aug 2016, Robert Jarzmik wrote: > Remove the soc_camera adherence. Mostly the change removes the power > manipulation provided by soc_camera, and instead : > - powers on the sensor when the s_power control is activated > - powers on the sensor in initial probe > - enables

Re: [PATCH] generic: Add the exception case checking routine for ppi interrupt

2016-08-30 Thread Marc Zyngier
On 30/08/16 05:17, MaJun wrote: > From: Ma Jun > > During system booting, if the interrupt which has no action registered > is triggered, it would cause system panic when try to access the > action member. And why would that interrupt be enabled? If you enable a PPI before registering a handler,

[RFC][PATCH] Fix a race between rwsem and the scheduler

2016-08-30 Thread Balbir Singh
The origin of the issue I've seen seems to be related to rwsem spin lock stealing. Basically I see the system deadlock'd in the following state I have a system with multiple threads and Most of the threads are stuck doing [67272.593915] --- interrupt: e81 at _raw_spin_lock_irqsave+0xa4/0x130 [

Re: [alsa-devel] [PATCH 2/4] ASoC: dapm: Fix value setting for _ENUM_DOUBLE MUX's second channel

2016-08-30 Thread Charles Keepax
On Sat, Aug 27, 2016 at 07:27:59PM +0800, Chen-Yu Tsai wrote: > The value for the second channel in _ENUM_DOUBLE (double channel) MUXs > is not correctly updated, due to using the wrong bit shift. > > Use the correct bit shift, so both channels toggle together. > > Fixes: 3727b4968453 ("ASoC: dap

Re: [PATCH] irqchip/gicv3-its: Enable cacheable attribute Read-allocate hints

2016-08-30 Thread Marc Zyngier
On 29/08/16 16:35, Shanker Donthineni wrote: > Marc, > > Are you planning to push this change? I talked to Qualcomm ITS hw team > and they told me nice to have this change even though we see a small gain. Hi Shanker, As I asked before, I'd like to know what is the actual gain on real HW, and ho

[PATCH v2] perf probe: Move dwarf specific functions to dwarf-aux.c

2016-08-30 Thread Ravi Bangoria
Move generic dwarf related functions from util/probe-finder.c to util/dwarf-aux.c. Functions name and their prototype are also changed accordingly. No functionality changes. Suggested-by: Masami Hiramatsu Signed-off-by: Ravi Bangoria --- Changes in v2: - Add comments about functions prototype

Re: [PATCH 2/5] video: ARM CLCD: fix endpoint lookup logic

2016-08-30 Thread Tomi Valkeinen
On 29/08/16 16:18, Linus Walleij wrote: > On Fri, Aug 26, 2016 at 5:25 PM, Arnd Bergmann wrote: > > [I don't see why Torvalds was CC'ed on this patch? Was there > some specific complaint from his side that I screw things up > or just the wrong Linus?] > >> The addition of the Nomadik support in

Re: [PATCH V3 2/2] rtc/rtc-cmos: Initialize software counters before irq is registered

2016-08-30 Thread Dave Young
On 08/30/16 at 04:22pm, Dave Young wrote: > Hi, Pratyush > > On 08/16/16 at 08:55am, Pratyush Anand wrote: > > We have observed on few x86 machines with rtc-cmos device that > > hpet_rtc_interrupt() is called just after irq registration and before > > cmos_do_probe() could call hpet_rtc_timer_init

Re: [PATCH v5 03/13] media: mt9m111: move mt9m111 out of soc_camera

2016-08-30 Thread Guennadi Liakhovetski
Hi Robert, You could use "git format-patch -M" to make this patch much smaller and to make it simple to verify, what actually changed in mt9m111.c, if anything. Actually it might even be good to merge this patch with patch #1. Thanks Guennadi On Mon, 29 Aug 2016, Robert Jarzmik wrote: > As th

Re: [PATCH][v8] PM / hibernate: Verify the consistent of e820 memory map by md5 value

2016-08-30 Thread joeyli
On Mon, Aug 29, 2016 at 03:41:23PM +0200, Borislav Petkov wrote: > On Mon, Aug 29, 2016 at 09:15:00AM +0200, Pavel Machek wrote: > > Sounds about as easy as hot unplugging arbitrary memory address. IOW > > "not easy". > > Regardless, forcibly panicking the system more is still the wrong > approach

Re: [RFC PATCH 0/3] ARm64: amlogic: Introduce common GX family dtsi

2016-08-30 Thread Neil Armstrong
On 08/29/2016 10:15 PM, Andreas Färber wrote: > Am 29.08.2016 um 21:50 schrieb Carlo Caione: >> On 29/08/16 20:38, Andreas Färber wrote: >>> Am 29.08.2016 um 10:01 schrieb Carlo Caione: On Mon, Aug 29, 2016 at 9:56 AM, Neil Armstrong wrote: > Neil Armstrong (3): > ARM64: dts:

[PATCH v2 01/10] reset: ath79: add driver Kconfig option

2016-08-30 Thread Philipp Zabel
Visible only if COMPILE_TEST is enabled, this allows to include the driver in build tests. Acked-by: Aban Bedel Reviewed-by: Masahiro Yamada Signed-off-by: Philipp Zabel --- drivers/reset/Kconfig | 7 +++ drivers/reset/Makefile | 2 +- 2 files changed, 8 insertions(+), 1 deletion(-) diff

[PATCH v2 04/10] reset: meson: add driver Kconfig option

2016-08-30 Thread Philipp Zabel
Visible only if COMPILE_TEST is enabled, this allows to include the driver in build tests. Acked-by: Neil Armstrong Reviewed-by: Masahiro Yamada Signed-off-by: Philipp Zabel --- drivers/reset/Kconfig | 6 ++ drivers/reset/Makefile | 2 +- 2 files changed, 7 insertions(+), 1 deletion(-) d

[PATCH v2 06/10] reset: socfpga: add driver Kconfig option

2016-08-30 Thread Philipp Zabel
Visible only if COMPILE_TEST is enabled, this allows to include the driver in build tests. Acked-by: Dinh Nguyen Reviewed-by: Masahiro Yamada Signed-off-by: Philipp Zabel --- Changes since v1: - Use "SoCFPGA" instead of "Soc FPGA". --- drivers/reset/Kconfig | 6 ++ drivers/reset/Makefile

[PATCH v2 02/10] reset: berlin: add driver Kconfig option

2016-08-30 Thread Philipp Zabel
Visible only if COMPILE_TEST is enabled, this allows to include the driver in build tests. Cc: Antoine Tenart Cc: Sebastian Hesselbarth Reviewed-by: Masahiro Yamada Signed-off-by: Philipp Zabel --- drivers/reset/Kconfig | 6 ++ drivers/reset/Makefile | 2 +- 2 files changed, 7 insertions

[PATCH v2 08/10] reset: sunxi: add driver Kconfig option

2016-08-30 Thread Philipp Zabel
Visible only if COMPILE_TEST is enabled, this allows to include the driver in build tests. Reviewed-by: Masahiro Yamada Signed-off-by: Philipp Zabel --- Changes since v1: - Force-enable RESET_SUNXI if ARCH_SUNXI is enabled, since the platform code calls our init functions. --- drivers/reset

[PATCH v2 07/10] reset: stm32: add driver Kconfig option

2016-08-30 Thread Philipp Zabel
Visible only if COMPILE_TEST is enabled, this allows to include the driver in build tests. Cc: Maxime Coquelin Cc: Gabriel Fernandez Reviewed-by: Masahiro Yamada Signed-off-by: Philipp Zabel --- drivers/reset/Kconfig | 6 ++ drivers/reset/Makefile | 2 +- 2 files changed, 7 insertions(+)

[PATCH v2 09/10] reset: zynq: add driver Kconfig option

2016-08-30 Thread Philipp Zabel
Visible only if COMPILE_TEST is enabled, this allows to include the driver in build tests. Cc: Moritz Fischer Cc: Michal Simek Cc: Sören Brinkmann Reviewed-by: Masahiro Yamada Signed-off-by: Philipp Zabel --- Changes since v1: - Fix alphabetical order of Kconfig options --- drivers/reset/Kc

[PATCH v2 03/10] reset: lpc18xx: add driver Kconfig option

2016-08-30 Thread Philipp Zabel
Visible only if COMPILE_TEST is enabled, this allows to include the driver in build tests. Acked-by: Joachim Eastwood Reviewed-by: Masahiro Yamada Signed-off-by: Philipp Zabel --- Changes since v1: - Fixed Kconfig option help text --- drivers/reset/Kconfig | 6 ++ drivers/reset/Makefile

[PATCH v2 10/10] reset: hi6220: allow to compile test driver on other architectures

2016-08-30 Thread Philipp Zabel
Also remove the RESET_CONTROLLER dependency, this Kconfig file is included inside the menuconfig already. Cc: Chen Feng Signed-off-by: Philipp Zabel --- Changes since v1: - To build without ARCH_HISI enabled, add hisilicon/ to obj-y unconditionally. --- drivers/reset/Makefile | 2 +

[PATCH v2 05/10] reset: pistachio: add driver Kconfig option

2016-08-30 Thread Philipp Zabel
Visible only if COMPILE_TEST is enabled, this allows to include the driver in build tests. Cc: Damien Horsley Acked-by: James Hartley Reviewed-by: Masahiro Yamada Signed-off-by: Philipp Zabel --- drivers/reset/Kconfig | 6 ++ drivers/reset/Makefile | 2 +- 2 files changed, 7 insertions(+

Re: [PATCH V3 2/2] rtc/rtc-cmos: Initialize software counters before irq is registered

2016-08-30 Thread Dave Young
Hi, Pratyush On 08/16/16 at 08:55am, Pratyush Anand wrote: > We have observed on few x86 machines with rtc-cmos device that > hpet_rtc_interrupt() is called just after irq registration and before > cmos_do_probe() could call hpet_rtc_timer_init(). > > So, neither hpet_default_delta nor hpet_t1_cm

Re: [PATCH] bluetooth, regression: MSG_TRUNC fixes

2016-08-30 Thread Luiz Augusto von Dentz
Hi Mika, On Wed, Aug 24, 2016 at 1:13 PM, Mika Penttilä wrote: > Recent 4.8-rc changes to bluetooth MSG_TRUNC handling introduced regression; > pairing finishes > but connecting profiles not. > > With the below fixes to MSG_TRUNC handling the connection is established > normally. > > --Mika > >

Re: [PATCHv6 1/3] usb: USB Type-C connector class

2016-08-30 Thread Heikki Krogerus
Hi Guenter, On Mon, Aug 29, 2016 at 11:50:49AM -0700, Guenter Roeck wrote: > Hello Heikki, > > On Mon, Aug 29, 2016 at 05:07:39PM +0300, Heikki Krogerus wrote: > > Hi Guenter, > > > > > > Overall this is quite vague and, especially for chargers, most of the > > > > time > > > > misses the point

Re: [PATCH v5 0/6] Introduce ZONE_CMA

2016-08-30 Thread Joonsoo Kim
2016-08-29 18:27 GMT+09:00 Aneesh Kumar K.V : > js1...@gmail.com writes: > >> From: Joonsoo Kim >> >> Hello, >> >> Changes from v4 >> o Rebase on next-20160825 >> o Add general fix patch for lowmem reserve >> o Fix lowmem reserve ratio >> o Fix zone span optimizaion per Vlastimil >> o Fix pageset

Re: [PACTH v2 0/3] Implement /proc//totmaps

2016-08-30 Thread Michal Hocko
On Wed 24-08-16 12:14:06, Marcin Jabrzyk wrote: [...] > Sorry to hijack the thread, but I've found it recently > and I guess it's the best place to present our point. > We are working at our custom OS based on Linux and we also suffered much > by /proc//smaps file. As in Chrome we tried to improve

Re: [PACTH v2 0/3] Implement /proc//totmaps

2016-08-30 Thread Michal Hocko
On Mon 29-08-16 16:37:04, Michal Hocko wrote: > [Sorry for a late reply, I was busy with other stuff] > > On Mon 22-08-16 15:44:53, Sonny Rao wrote: > > On Mon, Aug 22, 2016 at 12:54 AM, Michal Hocko wrote: > [...] > > But what about the private_clean and private_dirty? Surely > > those are more

Re: [RFC PATCH 1/6] proc: Reduce cache miss in {snmp,netstat}_seq_show

2016-08-30 Thread hejianet
Hi Eric On 8/30/16 12:41 AM, Eric Dumazet wrote: On Tue, 2016-08-30 at 00:03 +0800, Jia He wrote: This patch exchanges the two loop for collecting the percpu statistics data. This can aggregate the data by going through all the items of each cpu sequentially. In snmp_seq_show, just use one buf

<    3   4   5   6   7   8   9   >