Re: Adding a .platform_init callback to sdhci_arasan_ops

2016-11-28 Thread Adrian Hunter
On 28/11/16 09:32, Michal Simek wrote: > +Sai for Xilinx perspective. > > On 25.11.2016 16:24, Sebastian Frias wrote: >> Hi, >> >> When using the Arasan SDHCI HW IP, there is a set of parameters called >> "Hardware initialized registers" >> >> (Table 7, Section "Pin Signals", page 56 of Arasan "SD

Re: [POC/RFC PATCH] overlayfs: constant inode numbers

2016-11-28 Thread Miklos Szeredi
On Mon, Nov 28, 2016 at 10:10 AM, Amir Goldstein wrote: >>> @@ -258,12 +268,12 @@ static int ovl_copy_up_locked(struct den >>> if (err) >>> goto out_cleanup; >>> >>> - inode_lock(newdentry->d_inode); >>> err = ovl_set_attr(newdentry, stat); >>> - inode_u

Re: [PATCH] ARM: dts: mvebu: Add Armada 38x labels and clean up Turris Omnia

2016-11-28 Thread Russell King - ARM Linux
On Sun, Nov 27, 2016 at 07:51:39PM +0100, Andreas Färber wrote: > To more consistently reference nodes by label, add labels for sata, > usb2, sdhci and usb3 nodes. > > Convert all other 38x boards for consistency. Add labels for nfc and rtc. Please don't do this for clearfog - there's changes in

Re: [PATCH] Scripts: kconfig: nconf: fix _GNU_SOURCE redefined warning

2016-11-28 Thread Michal Marek
Dne 27.11.2016 v 17:28 Cheah Kok Cheong napsal(a): > Fix below warning when make nconfig is run initially > or after make clean. > > HOSTCC scripts/kconfig/nconf.o > scripts/kconfig/nconf.c:8:0: warning: "_GNU_SOURCE" redefined > #define _GNU_SOURCE > ^ > :0:0: note: this is the location of t

Re: [RFC PATCH] ARM: dts: sun8i: add simplefb node for H3

2016-11-28 Thread Jean-Francois Moine
On Mon, 28 Nov 2016 17:59:00 +0800 Icenowy Zheng wrote: > As there's currently a fork of U-Boot which provides simplefb support > for H3, a simplefb node can be added to the device tree. > > Signed-off-by: Icenowy Zheng > --- > > I'm still not sure which pipeline should I use. > > And, it see

Re: [PATCH] ARM: dts: da850: specify the maximum bandwidth for tilcdc

2016-11-28 Thread Bartosz Golaszewski
2016-11-28 8:58 GMT+01:00 Sekhar Nori : > On Monday 28 November 2016 01:12 PM, Tomi Valkeinen wrote: >> On 28/11/16 07:24, Sekhar Nori wrote: >>> On Friday 25 November 2016 09:07 PM, Bartosz Golaszewski wrote: It has been determined that the maximum resolution supported correctly by tilcd

Re: [PATCH] usb: musb: mark PM functions as __maybe_unused

2016-11-28 Thread Geert Uytterhoeven
On Tue, Nov 22, 2016 at 3:30 PM, Arnd Bergmann wrote: > Building without CONFIG_PM causes a harmless warning: > > drivers/usb/musb/musb_core.c:2041:12: error: ‘musb_run_resume_work’ defined > but not used [-Werror=unused-function] > > Removing the #ifdef around the PM code and instead marking the

Re: [bug report v4.8] fs/locks.c: kernel oops during posix lock stress test

2016-11-28 Thread Will Deacon
Hi Ming, On Mon, Nov 28, 2016 at 11:10:14AM +0800, Ming Lei wrote: > When I run stress-ng via the following steps on one ARM64 dual > socket system(Cavium Thunder), the kernel oops[1] can often be > triggered after running the stress test for several hours(sometimes > it may take longer): > > - g

Re: [PATCH] usb: musb: mark PM functions as __maybe_unused

2016-11-28 Thread Arnd Bergmann
On Monday, November 28, 2016 11:51:37 AM CET Geert Uytterhoeven wrote: > On Tue, Nov 22, 2016 at 3:30 PM, Arnd Bergmann wrote: > > Building without CONFIG_PM causes a harmless warning: > > > > drivers/usb/musb/musb_core.c:2041:12: error: ‘musb_run_resume_work’ defined > > but not used [-Werror=un

Re: [PATCH] ARM: dts: mvebu: Add Armada 38x labels and clean up Turris Omnia

2016-11-28 Thread Andreas Färber
Hi Russell, Am 28.11.2016 um 11:37 schrieb Russell King - ARM Linux: > On Sun, Nov 27, 2016 at 07:51:39PM +0100, Andreas Färber wrote: >> To more consistently reference nodes by label, add labels for sata, >> usb2, sdhci and usb3 nodes. >> >> Convert all other 38x boards for consistency. Add label

Talent Scout

2016-11-28 Thread Camilia Brunnet
Dear Concern, I am Talent Scout For BLUE SKY FILM STUDIO, Present Blue sky Studio a Film Corporation Located in the United State, is Soliciting for the Right to use Your Photo/Face and Personality as One of the Semi -Major Role/ Character in our Upcoming ANIMATED Stereoscope 3D Movie-The Story of

Re: [PATCH] ARM: dts: mvebu: Add Armada 38x labels and clean up Turris Omnia

2016-11-28 Thread Uwe Kleine-König
Hello, On 11/28/2016 11:52 AM, Andreas Färber wrote: >> Please don't do this for clearfog - there's changes in the pipeline which >> completely replace armada-388-clearfog.dts because there's a "base" and >> "pro" versions of this hardware now, and making such a huge change will >> effectively mea

Re: [PATCH V7 1/3] ACPI: Retry IRQ conversion if it failed previously

2016-11-28 Thread majun (Euler7)
This patch works fine on my D05 board. Tested-by: Majun 在 2016/11/14 5:59, Agustin Vega-Frias 写道: > This allows probe deferral to work properly when a dependent device > fails to get a valid IRQ because the IRQ domain was not registered > at the time the resources were added to the platform_devi

[PATCH] net: macb: Write only necessary bits in NCR in macb reset

2016-11-28 Thread Harini Katakam
In macb_reset_hw, use read-modify-write to disable RX and TX. This way exiting settings and reserved bits wont be disturbed. Use the same method for clearing statistics as well. Signed-off-by: Harini Katakam --- drivers/net/ethernet/cadence/macb.c | 9 ++--- 1 file changed, 6 insertions(+),

Re: [PATCH 2/2] rcu: Force resched_cpu when jiffies >= rcu_state.jiffies_resched

2016-11-28 Thread Paul E. McKenney
On Mon, Nov 28, 2016 at 03:46:39PM +0900, Byungchul Park wrote: > On Sat, Nov 26, 2016 at 04:00:46AM -0800, Paul E. McKenney wrote: > > On Fri, Nov 25, 2016 at 12:34:26AM -0800, Paul E. McKenney wrote: > > > On Tue, Nov 22, 2016 at 05:12:20PM +0900, Byungchul Park wrote: > > > > On Wed, Nov 09, 201

Re: [PATCH] ARM: dts: mvebu: Add Armada 38x labels and clean up Turris Omnia

2016-11-28 Thread Andreas Färber
Hi, Am 28.11.2016 um 11:54 schrieb Uwe Kleine-König: > On 11/28/2016 11:52 AM, Andreas Färber wrote: >> Would it help to split it back up into a series of add-labels, >> use-labels like I had originally? Then you could start using them in >> your refactoring as soon as the add-labels patch gets ap

Re: [PATCH] ARM: dts: mvebu: Add Armada 38x labels and clean up Turris Omnia

2016-11-28 Thread Russell King - ARM Linux
On Mon, Nov 28, 2016 at 11:52:26AM +0100, Andreas Färber wrote: > Hi Russell, > > Am 28.11.2016 um 11:37 schrieb Russell King - ARM Linux: > > On Sun, Nov 27, 2016 at 07:51:39PM +0100, Andreas Färber wrote: > >> To more consistently reference nodes by label, add labels for sata, > >> usb2, sdhci a

Re: [PATCH] mm: page_alloc: High-order per-cpu page allocator v3

2016-11-28 Thread Vlastimil Babka
On 11/27/2016 02:19 PM, Mel Gorman wrote: 2-socket modern machine 4.9.0-rc5 4.9.0-rc5 vanilla hopcpu-v3 Hmeansend-64 178.38 ( 0.00%) 256.74 ( 43.93%) Hmeansend-128351.49 ( 0.0

Re: [PATCH] ovl: tentative fix for broken vfs_open() on stacked overlayfs.

2016-11-28 Thread Quentin Casasnovas
On Mon, Nov 28, 2016 at 10:45:18AM +0100, Miklos Szeredi wrote: > On Fri, Nov 25, 2016 at 08:28:47PM +0100, Quentin Casasnovas wrote: > > On Fri, Nov 25, 2016 at 06:09:23PM +0100, Quentin Casasnovas wrote: > > > If two overlayfs filesystems are stacked on top of each other, then we > > > need > >

Re: INFO: rcu_sched detected stalls on CPUs/tasks with `kswapd` and `mem_cgroup_shrink_node`

2016-11-28 Thread Michal Hocko
On Sun 27-11-16 10:19:06, Donald Buczek wrote: > On 24.11.2016 11:15, Michal Hocko wrote: > > On Mon 21-11-16 16:35:53, Donald Buczek wrote: > > [...] > > > Hello, > > > > > > thanks a lot for looking into this! > > > > > > Let me add some information from the reporting site: > > > > > > * We've

Re: [PATCH] orangefs: Axe some dead code

2016-11-28 Thread Dan Carpenter
On Sat, Nov 26, 2016 at 08:51:57AM -0500, Mike Marshall wrote: > I think I understand what you're saying, except for this part: > > > would have been secretly disapointed at your lack of > > courage in my heart but it would have been normal and fine. > What I'm saying is that for some people the c

Re: [PATCH v3 2/4] Documentation/atomic_ops.txt: convert to ReST markup

2016-11-28 Thread Mauro Carvalho Chehab
Em Mon, 28 Nov 2016 11:20:09 +0100 Peter Zijlstra escreveu: > On Mon, Nov 28, 2016 at 09:44:42AM +0100, Daniel Vetter wrote: > > > > > > > Why change them? What was wrong with txt to begin with? > > > > In my opinion good docs matter, and one of the key things is to be able to > > cross refe

Re: [PATCH] usb: musb: mark PM functions as __maybe_unused

2016-11-28 Thread Geert Uytterhoeven
Hi Arnd, On Mon, Nov 28, 2016 at 11:54 AM, Arnd Bergmann wrote: > On Monday, November 28, 2016 11:51:37 AM CET Geert Uytterhoeven wrote: >> On Tue, Nov 22, 2016 at 3:30 PM, Arnd Bergmann wrote: >> > Building without CONFIG_PM causes a harmless warning: >> > >> > drivers/usb/musb/musb_core.c:2041

Re: [PATCH 7/10] mmc: sdhci-xenon: Add support to PHYs of Marvell Xenon SDHC

2016-11-28 Thread Ulf Hansson
[...] > > Could you please tell me the requirement of "op_code" parameter in > mmc_send_tuning()? > According to mmc_send_tuning(),it seems that tuning command(CMD19/CMD21) > is required. Thus device will not response mmc_send_tuning() if current > speed mode doesn't support tu

[PATCH v3 3/5] thermal: rockchip: fixes invalid temperature case

2016-11-28 Thread Caesar Wang
The temp_to_code function will return 0 when we set the temperature to a invalid value (e.g. 61C, 62C, 63C), that's unpractical. This patch will prevent this case happening. That will return the max analog value to indicate the temperature is invalid or over table temperature range. Signed-off

[PATCH v3 1/5] thermal: rockchip: improve conversion error messages

2016-11-28 Thread Caesar Wang
From: Brian Norris These error messages don't give much information about what went wrong. It would be nice, for one, to see what invalid temperature was being requested when conversion fails. It's also good to return an error when we can't handle a conversion properly. While we're at it, fix th

[PATCH v3 0/5] thermal: fixes the rockchip thermal

2016-11-28 Thread Caesar Wang
There are five patches posted for upstream. 89267b5 thermal: rockchip: improve conversion error messages a0b5649 thermal: rockchip: don't pass table structs by value bceed92 thermal: rockchip: fixes invalid temperature case 30be6d0 thermal: rockchip: optimize the conversion table 35636e9 thermal: r

[PATCH v3 4/5] thermal: rockchip: optimize the conversion table

2016-11-28 Thread Caesar Wang
In order to support the valid temperature can conver to analog value. The rockchip thermal driver has not supported the all valid temperature to convert the analog value. (e.g.: 61C, 62C, 63C) For example: In some cases, we need adjust the trip point. $cd /sys/class/thermal/thermal_zone* $echo

[PATCH v3 2/5] thermal: rockchip: don't pass table structs by value

2016-11-28 Thread Caesar Wang
From: Brian Norris This driver passes struct chip_tsadc_table by value throughout; this is inefficient, and AFAICT, there is no reason for it. Let's pass pointers instead. Signed-off-by: Brian Norris Reviewed-by: Caesar Wang --- Changes in v3: None Changes in v2: None Changes in v1: - The ori

[PATCH v3 5/5] thermal: rockchip: handle set_trips without the trip points

2016-11-28 Thread Caesar Wang
In some cases, some sensors didn't need the trip points, the set_trips will pass {-INT_MAX, INT_MAX} to trigger tsadc alarm in the end, ignore this case and disable the high temperature interrupt. Signed-off-by: Caesar Wang Reviewed-by: Brian Norris --- Changes in v3: - change the commit. - Fix

Re: [PATCH 7/10] mmc: sdhci-xenon: Add support to PHYs of Marvell Xenon SDHC

2016-11-28 Thread Ulf Hansson
> > As you suggest, I replace mmc_wait_for_cmd() with mmc_send_tuning(), to > send commands for testing current sampling point set in our host PHY. > > According to my test result, it shows that mmc_send_tuning() can only > support > tuning command (CMD21/CMD19). > As a result,

Re: [RFC PATCH v3 1/2] Add support for eXclusive Page Frame Ownership (XPFO)

2016-11-28 Thread Juerg Haefliger
On 11/24/2016 11:56 AM, AKASHI Takahiro wrote: > Hi, > > I'm trying to give it a spin on arm64, but ... Thanks for trying this. >> +/* >> + * Update a single kernel page table entry >> + */ >> +static inline void set_kpte(struct page *page, unsigned long kaddr, >> +pgpro

Re: [PATCH v3 2/4] Documentation/atomic_ops.txt: convert to ReST markup

2016-11-28 Thread Jani Nikula
On Mon, 28 Nov 2016, Peter Zijlstra wrote: > On Mon, Nov 28, 2016 at 09:44:42AM +0100, Daniel Vetter wrote: > >> > >> > Why change them? What was wrong with txt to begin with? >> >> In my opinion good docs matter, and one of the key things is to be able to >> cross reference stuff. > > Well, goo

Re: [PATCH] ARM: dts: sunxi: Enable UEXT related nodes for Olimex A20 SOM EVB

2016-11-28 Thread Maxime Ripard
On Thu, Nov 24, 2016 at 09:08:34PM +0100, Emmanuel Vadot wrote: > On Wed, 23 Nov 2016 18:16:10 +0100 > Emmanuel Vadot wrote: > > > On Wed, 23 Nov 2016 09:03:50 +0100 > > Maxime Ripard wrote: > > > > > On Mon, Nov 21, 2016 at 05:49:11PM +0100, Emmanuel Vadot wrote: > > > > UEXT are Universal EXT

Re: Adding a .platform_init callback to sdhci_arasan_ops

2016-11-28 Thread Sebastian Frias
Hi Adrian, On 28/11/16 11:30, Adrian Hunter wrote: > On 28/11/16 09:32, Michal Simek wrote: >> +Sai for Xilinx perspective. >> >> On 25.11.2016 16:24, Sebastian Frias wrote: >>> Hi, >>> >>> When using the Arasan SDHCI HW IP, there is a set of parameters called >>> "Hardware initialized registers"

Re: [PATCH] bcma: add Dell Inspiron 3148

2016-11-28 Thread Rafał Miłecki
On 28 November 2016 at 08:57, Jiri Slaby wrote: > This is what is in the laptop: > 01:00.0 Network controller [0280]: Broadcom Limited BCM43142 802.11b/g/n > [14e4:4365] (rev 01) > Subsystem: Dell Device [1028:0018] > Flags: bus master, fast devsel, latency 0, IRQ 18 > Mem

Re: JBD2: Spotted dirty metadata buffer....

2016-11-28 Thread Wolfgang Walter
Am Mittwoch, 23. November 2016, 16:40:07 schrieb Andreas Dilger: > On Nov 23, 2016, at 3:43 AM, Wolfgang Walter wrote: > > Am Dienstag, 22. November 2016, 16:02:53 schrieben Sie: > >> On Nov 22, 2016, at 6:56 AM, Wolfgang Walter wrote: > >>> Am Montag, 21. November 2016, 17:49:36 schrieben Sie: >

[PATCH v2] drm: tilcdc: fix parsing of some DT properties

2016-11-28 Thread Bartosz Golaszewski
The DT binding for tildc is not consistent with the driver code: there are two options - 'max-width' and 'max-pixelclock' specified in the documentation which are parsed as 'ti,max-width' and 'ti'max-pixelclock' respectively. Make the driver code consistent with the binding. Signed-off-by: Bartos

Re: [PATCH] vxlan: fix a potential issue when create a new vxlan fdb entry.

2016-11-28 Thread Jiri Benc
On Mon, 28 Nov 2016 15:02:23 +0800, Haishuang Yan wrote: > vxlan_fdb_append may return error, so add the proper check, > otherwise it will cause memory leak. > > Signed-off-by: Haishuang Yan > --- > drivers/net/vxlan.c | 10 +++--- > 1 file changed, 7 insertions(+), 3 deletions(-) > > diff

Re: [PATCH 7/10] mmc: sdhci-xenon: Add support to PHYs of Marvell Xenon SDHC

2016-11-28 Thread Ziji Hu
Hi Ulf, On 2016/11/28 19:13, Ulf Hansson wrote: >> >> As you suggest, I replace mmc_wait_for_cmd() with mmc_send_tuning(), to >> send commands for testing current sampling point set in our host PHY. >> >> According to my test result, it shows that mmc_send_tuning() can only >> support

Re: [PATCH v2] Fix objtool with clang

2016-11-28 Thread Jiri Olsa
On Sun, Nov 27, 2016 at 09:43:46PM -0500, Peter Foley wrote: > Clang doesn't support multiple arguments being passed to -Wp, so split > them. > > Fixes this error: > HOSTCC tools/objtool/fixdep.o > cat: tools/objtool/.fixdep.o.d: No such file or directory > > v2: > rebased onto perf/core branch

Re: [PATCH 5/5] KVM: VMX: Handle RFLAGS.TF in skip_emulated_instruction

2016-11-28 Thread Paolo Bonzini
On 28/11/2016 05:18, Kyle Huey wrote: > + > + if (unlikely(vmx_get_rflags(vcpu) & X86_EFLAGS_TF)) { > + if (vcpu->guest_debug & KVM_GUESTDBG_SINGLESTEP) { > + vcpu->run->debug.arch.dr6 = DR6_BS | DR6_FIXED_1 | > +

[PATCH] Input: joystick: adi - change msleep to usleep_range for small msecs

2016-11-28 Thread Aniroop Mathur
msleep(1~20) may not do what the caller intends, and will often sleep longer. (~20 ms actual sleep for any value given in the 1~20ms range) This is not the desired behaviour for many cases like device resume time, device suspend time, device enable time, data reading time, etc. Thus, change msleep

Re: [PATCH] ARC: mm: PAE40: Cast pfn to pte_t in pfn_pte() macro

2016-11-28 Thread Alexey Brodkin
Hi Yuriy, Really nice catch! Though a couple of nitpicks below. On Mon, 2016-11-28 at 07:07 +0300, Yuriy Kolerov wrote: > Originally pfn_pte(pfn, prot) macro had this definition: > > __pte(((pfn) << PAGE_SHIFT) | pgprot_val(prot)) > > The value of pfn (Page Frame Number) is shifted to the l

Re: linux-next: build warning after merge of the wireless-drivers-next tree

2016-11-28 Thread Kalle Valo
Barry Day writes: > On Mon, Nov 28, 2016 at 09:25:30AM +0200, Kalle Valo wrote: >> Stephen Rothwell writes: >> >> > Hi all, >> > >> > After merging the wireless-drivers-next tree, today's linux-next build >> > (x86_64 allmodconfig) produced this warning: >> > >> > In file included from include/

Re: [PATCH] mm: page_alloc: High-order per-cpu page allocator v3

2016-11-28 Thread Mel Gorman
On Mon, Nov 28, 2016 at 12:00:41PM +0100, Vlastimil Babka wrote: > On 11/27/2016 02:19 PM, Mel Gorman wrote: > > > > 2-socket modern machine > > 4.9.0-rc5 4.9.0-rc5 > > vanilla hopcpu-v3 > > Hmeansend-64

[PATCH net-next] bpf: selftests: include to fix build error

2016-11-28 Thread Colin King
From: Colin Ian King Fix incomplete type build error on struct rlimit by including , fixes: test_lru_map.c:552:9: error: variable ‘r’ has initializer but incomplete type struct rlimit r = {RLIM_INFINITY, RLIM_INFINITY}; ^ test_lru_map.c:552:21: error: ‘RLIM_INFINITY’ undeclared (fir

Re: Adding a .platform_init callback to sdhci_arasan_ops

2016-11-28 Thread Adrian Hunter
On 28/11/16 13:20, Sebastian Frias wrote: > Hi Adrian, > > On 28/11/16 11:30, Adrian Hunter wrote: >> On 28/11/16 09:32, Michal Simek wrote: >>> +Sai for Xilinx perspective. >>> >>> On 25.11.2016 16:24, Sebastian Frias wrote: Hi, When using the Arasan SDHCI HW IP, there is a set of

Re: [PATCH] stmmac ethernet: remove cut & paste code

2016-11-28 Thread Pavel Machek
On Thu 2016-11-24 14:27:13, Joe Perches wrote: > On Thu, 2016-11-24 at 22:44 +0100, Pavel Machek wrote: > > On Thu 2016-11-24 12:05:25, Joe Perches wrote: > > > On Thu, 2016-11-24 at 12:05 +0100, Pavel Machek wrote: > > > > Remove duplicate code from _tx routines. > > > > > > trivia: > > > > > >

[RESEND PATCH V4 4/8] mfd: da9061: MFD core support

2016-11-28 Thread Steve Twiss
From: Steve Twiss MFD support for DA9061 is provided as part of the DA9062 device driver. The registers header file adds two new chip variant IDs defined in DA9061 and DA9062 hardware. The core header file adds new software enumerations for listing the valid DA9061 IRQs and a da9062_compatible_t

[PATCH] crypto: caam: check caam_emi_slow instead of re-lookup platform

2016-11-28 Thread Marcus Folkesson
Signed-off-by: Marcus Folkesson --- Russel King, sorry, I did not see your comment until now. drivers/crypto/caam/ctrl.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/drivers/crypto/caam/ctrl.c b/drivers/crypto/caam/ctrl.c index 5abaf3743b86..4993c90ceb3f 100644 ---

Re: [PATCH v3 2/4] Documentation/atomic_ops.txt: convert to ReST markup

2016-11-28 Thread Peter Zijlstra
On Mon, Nov 28, 2016 at 09:08:55AM -0200, Mauro Carvalho Chehab wrote: > - use *foo* (for italics) or **foo** (for bold) instead of _foo_; That's daft, and also you're wrong. The normal convention is: /italic/ *bold* _underlined_ > :ref:`Documentation/admin-guide/s

[PATCH] stmmac: fix comments, make debug output consistent

2016-11-28 Thread Pavel Machek
Fix comments, add some new, and make debugfs output consistent. Signed-off-by: Pavel Machek diff --git a/drivers/net/ethernet/stmicro/stmmac/common.h b/drivers/net/ethernet/stmicro/stmmac/common.h index a61de04..6074d97 100644 --- a/drivers/net/ethernet/stmicro/stmmac/common.h +++ b/driver

Re: [PATCH v3 2/4] Documentation/atomic_ops.txt: convert to ReST markup

2016-11-28 Thread Peter Zijlstra
On Mon, Nov 28, 2016 at 01:16:45PM +0200, Jani Nikula wrote: > Using rst we can produce decent HTML pages, and make them available at > [1], in context. You don't have to read that, but it will be a lot more > discoverable for other people, another important quality of good > documentation. And per

Re: [POC/RFC PATCH] overlayfs: constant inode numbers

2016-11-28 Thread Amir Goldstein
On Mon, Nov 28, 2016 at 12:35 PM, Miklos Szeredi wrote: > On Mon, Nov 28, 2016 at 10:10 AM, Amir Goldstein wrote: @@ -258,12 +268,12 @@ static int ovl_copy_up_locked(struct den if (err) goto out_cleanup; - inode_lock(newdentry->d_inode);

Re: Kernel Panics on Xen ARM64 for Domain0 and Guest

2016-11-28 Thread Julien Grall
] Modules linked in: [0.024708] [0.024804] CPU: 0 PID: 1 Comm: swapper/0 Not tainted 4.9.0-rc7-next-20161128 #473 [0.025012] Hardware name: Foundation-v8A (DT) [0.025162] task: 80003d87 task.stack: 80003d844000 [0.025351] PC is at pcpu_alloc+0x88/0x6c0 [0.025490

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

2016-11-28 Thread Mika Westerberg
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. Signed-off-by: Mika Westerberg Acked-by: Lee Jones --- dr

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

2016-11-28 Thread Mika Westerberg
This is 6th iteration of the series. You can find the previous versions archived on: v5: https://lwn.net/Articles/706363/ v4: https://lwn.net/Articles/703773/ v3: https://lwn.net/Articles/697231/ v2: http://lists.infradead.org/pipermail/linux-mtd/2016-June/068277.html v1: https://lkml.or

[PATCH v6 1/3] spi-nor: Add support for Intel SPI serial flash controller

2016-11-28 Thread Mika Westerberg
Add support for the SPI serial flash host controller found on many Intel CPUs including Baytrail and Braswell. The SPI serial flash controller is used to access BIOS and other platform specific information. By default the driver exposes a single read-only MTD device but with a module parameter "wri

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

2016-11-28 Thread Mika Westerberg
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 order to read BAR 0 of the SPI host controller. Signe

[PATCH v3] virtio-crypto: add Linux driver

2016-11-28 Thread Gonglei
v3: - set cpu affinity when data queues are not equal to the number of online cpus. [Michael] - add TODO comments for cpu hotplug (changing the relationship of binding virtqueue and cpu) - use __u32/64 in the config space since the virtio->get() doesn't support byte-swap yet. [Michael] - dro

Re: stmmac ethernet in kernel 4.9-rc6: coalescing related pauses.

2016-11-28 Thread Pavel Machek
Hi! > >> drivers/net/ethernet/stmicro/stmmac/common.h > >> #define STMMAC_COAL_TX_TIMER4 > >> #define STMMAC_MAX_COAL_TX_TICK 10 > >> #define STMMAC_TX_MAX_FRAMES256 > >> > >> If I lower the parameters, delays are gone, but I get netdev watchdog > >> backtrace followed by broken d

[PATCH v3] crypto: add virtio-crypto driver

2016-11-28 Thread Gonglei
This patch introduces virtio-crypto driver for Linux Kernel. The virtio crypto device is a virtual cryptography device as well as a kind of virtual hardware accelerator for virtual machines. The encryption anddecryption requests are placed in the data queue and are ultimately handled by thebackend

Re: [GIT PULL] STi defconfig fix for v4.9-rcs

2016-11-28 Thread Patrice Chotard
On 11/25/2016 10:40 PM, Arnd Bergmann wrote: > On Wednesday, November 23, 2016 9:59:14 AM CET Patrice Chotard wrote: >> STi defconfig fix: >> >> Enable HVA (Hardware Video Accelerator) video encoder >> driver for STMicroelectronics SoC. > Hi Arnd > Defconfig changes like this don't seem partic

Re: [PATCH] signal: protect SIGNAL_UNKILLABLE from unintentional clearing.

2016-11-28 Thread Jamie Iles
Hi Oleg, On Thu, Nov 17, 2016 at 08:04:20PM +0100, Oleg Nesterov wrote: > On 11/16, Jamie Iles wrote: > > > > This can result in init becoming stoppable/killable after tracing. For > > example, running: > > > > while true; do kill -STOP 1; done & > > strace -p 1 > > > and then stopping strac

Re: powernv: Clear SPRN_PSSCR when a POWER9 CPU comes online

2016-11-28 Thread Michael Ellerman
On Tue, 2016-11-22 at 18:06:40 UTC, "Gautham R. Shenoy" wrote: > From: "Gautham R. Shenoy" > > Ensure that PSSCR is set to a safe value corresponding to no > state-loss each time a POWER9 CPU comes online. > > Signed-off-by: Gautham R. Shenoy > Acked-By: Michael Neuling Applied to powerpc nex

Re: powerpc/eeh/of: use builtin_platform_driver

2016-11-28 Thread Michael Ellerman
On Wed, 2016-11-23 at 14:58:56 UTC, Geliang Tang wrote: > Use builtin_platform_driver() helper to simplify the code. > > Signed-off-by: Geliang Tang > Acked-by: Russell Currey Applied to powerpc next, thanks. https://git.kernel.org/powerpc/c/ebb242d56bbe14af6ea25cf5e45440 cheers

Re: cxl: drop duplicate header sched.h

2016-11-28 Thread Michael Ellerman
On Wed, 2016-11-23 at 15:27:38 UTC, Geliang Tang wrote: > Drop duplicate header sched.h from native.c. > > Signed-off-by: Geliang Tang > Reviewed-by: Andrew Donnellan Applied to powerpc next, thanks. https://git.kernel.org/powerpc/c/7184bc2ddb15d9539c701668d6a5be cheers

[PATCH v2 2/2] ARM: dts: da850-lcdk: specify the maximum pixel clock rate for tilcdc

2016-11-28 Thread Bartosz Golaszewski
Due to memory throughput constraints any display mode for which the pixel clock rate exceeds the recommended value of 37500 KHz must be filtered out. Specify the max-pixelclock property for the display node for da850-lcdk. Signed-off-by: Bartosz Golaszewski --- arch/arm/boot/dts/da850-lcdk.dts

[PATCH v2 1/2] ARM: dts: da850-lcdk: add the dumb-vga-dac node

2016-11-28 Thread Bartosz Golaszewski
Add the dumb-vga-dac node to the board DT together with corresponding ports and vga connector. This allows to retrieve the edid info from the display automatically. Signed-off-by: Bartosz Golaszewski --- arch/arm/boot/dts/da850-lcdk.dts | 58 arch/arm/boo

[PATCH v2 0/2] ARM: dts: da850: tilcdc related DT changes

2016-11-28 Thread Bartosz Golaszewski
This series contains the last DT changes required for LCDC support on da850-lcdk. The first one adds the dumb-vga-dac nodes, the second limits the maximum pixel clock rate. v1 -> v2: - drop patch 3/3 (already merged) - use max-pixelclock instead of max-bandwidth for display mode limiting Bartosz

Re: [PATCH] Input: joystick: adi - change msleep to usleep_range for small msecs

2016-11-28 Thread vojt...@ucw.cz
Hi. ADI_INIT_DELAY/ADI_DATA_DELAY doesn't have to be exact, and a longer sleep doesn't matter. In the initilization sequence - first chunk of your patch - a way too long delay could in theory make the device fail to initialize. What's critical is that the mdelay() calls are precise. One day I'll

[PATCH] stmmac: reduce code duplication getting basic descriptors

2016-11-28 Thread Pavel Machek
Remove code duplication getting basic descriptors. Signed-off-by: Pavel Machek diff --git a/drivers/net/ethernet/stmicro/stmmac/stmmac_main.c b/drivers/net/ethernet/stmicro/stmmac/stmmac_main.c index f7133d0..ed20668 100644 --- a/drivers/net/ethernet/stmicro/stmmac/stmmac_main.c +++ b/driv

[PATCH 00/11] locking/ww_mutex: Keep sorted wait list to avoid stampedes

2016-11-28 Thread Nicolai Hähnle
It turns out that the deadlock that I found last week was already implicitly fixed during the lock->owner redesign, by checking the WAITERS bit in the w/w lock fast path. However, since I had already started looking into sorting the wait list, here goes. The basic idea is to make sure that: 1. Al

Re: [PATCH net-next v3 1/4] net: phy: add an option to disable EEE advertisement

2016-11-28 Thread Andreas Färber
Am 28.11.2016 um 10:46 schrieb Jerome Brunet: > This patch adds an option to disable EEE advertisement in the generic PHY > by providing a mask of prohibited modes corresponding to the value found in > the MDIO_AN_EEE_ADV register. > > On some platforms, PHY Low power idle seems to be causing issu

[PATCH 05/11] locking/ww_mutex: Add waiters in stamp order

2016-11-28 Thread Nicolai Hähnle
From: Nicolai Hähnle Add regular waiters in stamp order. Keep adding waiters that have no context in FIFO order and take care not to starve them. While adding our task as a waiter, back off if we detect that there is a waiter with a lower stamp in front of us. Make sure to call lock_contended e

[PATCH 01/11] drm/vgem: Use ww_mutex_(un)lock even with a NULL context

2016-11-28 Thread Nicolai Hähnle
From: Nicolai Hähnle Cc: Peter Zijlstra Cc: Ingo Molnar Cc: Maarten Lankhorst Cc: Daniel Vetter Cc: Chris Wilson Cc: dri-de...@lists.freedesktop.org Signed-off-by: Nicolai Hähnle --- drivers/gpu/drm/vgem/vgem_fence.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/d

[PATCH 11/11] [rfc] locking/ww_mutex: Always spin optimistically for the first waiter

2016-11-28 Thread Nicolai Hähnle
From: Nicolai Hähnle Check the current owner's context once against our stamp. If our stamp is lower, we continue to spin optimistically instead of backing off. This is correct with respect to deadlock detection because while the (owner, ww_ctx) pair may re-appear if the owner task manages to un

[PATCH 02/11] locking/ww_mutex: Re-check ww->ctx in the inner optimistic spin loop

2016-11-28 Thread Nicolai Hähnle
From: Nicolai Hähnle In the following scenario, thread #1 should back off its attempt to lock ww1 and unlock ww2 (assuming the acquire context stamps are ordered accordingly). Thread #0 Thread #1 - - successfully loc

[PATCH 03/11] locking/ww_mutex: Extract stamp comparison to __ww_mutex_stamp_after

2016-11-28 Thread Nicolai Hähnle
From: Nicolai Hähnle The function will be re-used in subsequent patches. Cc: Peter Zijlstra Cc: Ingo Molnar Cc: Maarten Lankhorst Cc: Daniel Vetter Cc: Chris Wilson Cc: dri-de...@lists.freedesktop.org Signed-off-by: Nicolai Hähnle --- kernel/locking/mutex.c | 10 -- 1 file changed

[PATCH 04/11] locking/ww_mutex: Set use_ww_ctx even when locking without a context

2016-11-28 Thread Nicolai Hähnle
From: Nicolai Hähnle We will add a new field to struct mutex_waiter. This field must be initialized for all waiters if any waiter uses the ww_use_ctx path. So there is a trade-off: Keep ww_mutex locking without a context on the faster non-use_ww_ctx path, at the cost of adding the initializatio

Re: [PATCH net-next] bpf: selftests: include to fix build error

2016-11-28 Thread Daniel Borkmann
On 11/28/2016 12:45 PM, Colin King wrote: From: Colin Ian King Fix incomplete type build error on struct rlimit by including , fixes: test_lru_map.c:552:9: error: variable ‘r’ has initializer but incomplete type struct rlimit r = {RLIM_INFINITY, RLIM_INFINITY}; ^ test_lru_map.c:

[PATCH 10/11] Documentation/locking/ww_mutex: Update the design document

2016-11-28 Thread Nicolai Hähnle
From: Nicolai Hähnle Document the invariants we maintain for the wait list of ww_mutexes. Cc: Peter Zijlstra Cc: Ingo Molnar Cc: Maarten Lankhorst Cc: Daniel Vetter Cc: Chris Wilson Cc: dri-de...@lists.freedesktop.org Signed-off-by: Nicolai Hähnle --- Documentation/locking/ww-mutex-design

Re: [PATCH net-next v3 3/4] dt: bindings: add ethernet phy eee-broken-modes option documentation

2016-11-28 Thread Andreas Färber
Am 28.11.2016 um 10:46 schrieb Jerome Brunet: > Signed-off-by: Jerome Brunet > --- > Documentation/devicetree/bindings/net/phy.txt | 2 ++ > 1 file changed, 2 insertions(+) Reviewed-by: Andreas Färber Regards, Andreas -- SUSE Linux GmbH, Maxfeldstr. 5, 90409 Nürnberg, Germany GF: Felix Imend

Re: [PATCH net-next v3 2/4] dt-bindings: net: add EEE capability constants

2016-11-28 Thread Andreas Färber
Am 28.11.2016 um 10:46 schrieb Jerome Brunet: > Signed-off-by: Jerome Brunet > --- > include/dt-bindings/net/mdio.h | 19 +++ > 1 file changed, 19 insertions(+) > create mode 100644 include/dt-bindings/net/mdio.h Tested-by: Andreas Färber Regards, Andreas -- SUSE Linux GmbH,

[PATCH 08/11] locking/ww_mutex: Yield to other waiters from optimistic spin

2016-11-28 Thread Nicolai Hähnle
From: Nicolai Hähnle Lock stealing is less beneficial for w/w mutexes since we may just end up backing off if we stole from a thread with an earlier acquire stamp that already holds another w/w mutex that we also need. So don't spin optimistically unless we are sure that there is no other waiter

[PATCH 09/11] locking/mutex: Initialize mutex_waiter::ww_ctx with poison when debugging

2016-11-28 Thread Nicolai Hähnle
From: Nicolai Hähnle Help catch cases where mutex_lock is used directly on w/w mutexes, which otherwise result in the w/w tasks reading uninitialized data. Cc: Peter Zijlstra Cc: Ingo Molnar Cc: Maarten Lankhorst Cc: Daniel Vetter Cc: Chris Wilson Cc: dri-de...@lists.freedesktop.org Signed-

[PATCH 06/11] locking/ww_mutex: Notify waiters that have to back off while adding tasks to wait list

2016-11-28 Thread Nicolai Hähnle
From: Nicolai Hähnle While adding our task as a waiter, detect if another task should back off because of us. With this patch, we establish the invariant that the wait list contains at most one (sleeping) waiter with ww_ctx->acquired > 0, and this waiter will be the first waiter with a context.

[PATCH 07/11] locking/ww_mutex: Wake at most one waiter for back off when acquiring the lock

2016-11-28 Thread Nicolai Hähnle
From: Nicolai Hähnle The wait list is sorted by stamp order, and the only waiting task that may have to back off is the first waiter with a context. The regular slow path does not have to wake any other tasks at all, since all other waiters that would have to back off were either woken up when t

[PATCH] staging: fbtft: remove duplicate entries of ili9225

2016-11-28 Thread Amitesh Singh
Signed-off-by: Amitesh Singh --- drivers/staging/fbtft/flexfb.c | 16 1 file changed, 16 deletions(-) diff --git a/drivers/staging/fbtft/flexfb.c b/drivers/staging/fbtft/flexfb.c index ce0d254..182e3c5 100644 --- a/drivers/staging/fbtft/flexfb.c +++ b/drivers/staging/fbtft/flexf

Re: INFO: rcu_sched detected stalls on CPUs/tasks with `kswapd` and `mem_cgroup_shrink_node`

2016-11-28 Thread Paul Menzel
+linux...@kvack.org -linux-...@vger.kernel.org Dear Michal, Thank you for your reply, and for looking at the log files. On 11/28/16 12:04, Michal Hocko wrote: On Sun 27-11-16 10:19:06, Donald Buczek wrote: On 24.11.2016 11:15, Michal Hocko wrote: On Mon 21-11-16 16:35:53, Donald Buczek wrot

Re: linux-next: build warning after merge of the wireless-drivers-next tree

2016-11-28 Thread Jes Sorensen
Kalle Valo writes: > Barry Day writes: > >> On Mon, Nov 28, 2016 at 09:25:30AM +0200, Kalle Valo wrote: >>> Stephen Rothwell writes: >>> >>> > Hi all, >>> > >>> > After merging the wireless-drivers-next tree, today's linux-next build >>> > (x86_64 allmodconfig) produced this warning: >>> > >>>

Re: [PATCH net-next v3 4/4] ARM64: dts: meson: odroidc2: disable advertisement EEE for GbE.

2016-11-28 Thread Andreas Färber
Am 28.11.2016 um 10:46 schrieb Jerome Brunet: > Signed-off-by: Jerome Brunet > --- > arch/arm64/boot/dts/amlogic/meson-gxbb-odroidc2.dts | 16 > 1 file changed, 16 insertions(+) > > diff --git a/arch/arm64/boot/dts/amlogic/meson-gxbb-odroidc2.dts > b/arch/arm64/boot/dts/amlogic

Re: [PATCH v3 2/4] Documentation/atomic_ops.txt: convert to ReST markup

2016-11-28 Thread Jani Nikula
On Mon, 28 Nov 2016, Peter Zijlstra wrote: > On Mon, Nov 28, 2016 at 01:16:45PM +0200, Jani Nikula wrote: >> Using rst we can produce decent HTML pages, and make them available at >> [1], in context. You don't have to read that, but it will be a lot more >> discoverable for other people, another i

Re: [GIT PULL]: ARM ARTPEC changes for 4.10

2016-11-28 Thread Jesper Nilsson
On Sat, Nov 26, 2016 at 12:16:20AM +0100, Arnd Bergmann wrote: > On Thursday, November 10, 2016 4:09:31 PM CET Jesper Nilsson wrote: > > Please pull the below signed tag for a trio of minor changes > > adding PCIe for the ARM ARTPEC SoC. > > > > Thanks! > > > > /Jesper > > > > The following chan

[GIT PULL] STi defconfig updates for v4.10 round 3

2016-11-28 Thread Patrice Chotard
Hi Olof, Arnd and Kevin, Please consider this third round of multi_v7_defconfig updates for v4.10 : The following changes since commit 57dae748959d0abae2b382ccee68621a82f827c8: ARM: multi_v7_defconfig: Remove ST_THERMAL_SYSCFG Kconfig symbol (2016-10-21 17:05:54 +0200) are available in the g

Re: [bug report v4.8] fs/locks.c: kernel oops during posix lock stress test

2016-11-28 Thread Ming Lei
Hi Will, On Mon, Nov 28, 2016 at 6:52 PM, Will Deacon wrote: > Hi Ming, > > On Mon, Nov 28, 2016 at 11:10:14AM +0800, Ming Lei wrote: >> When I run stress-ng via the following steps on one ARM64 dual >> socket system(Cavium Thunder), the kernel oops[1] can often be >> triggered after running the

Re: [PATCH net-next v3 4/4] ARM64: dts: meson: odroidc2: disable advertisement EEE for GbE.

2016-11-28 Thread Jerome Brunet
On Mon, 2016-11-28 at 13:31 +0100, Andreas Färber wrote: > Am 28.11.2016 um 10:46 schrieb Jerome Brunet: > > > > Signed-off-by: Jerome Brunet > > --- > >  arch/arm64/boot/dts/amlogic/meson-gxbb-odroidc2.dts | 16 > > > >  1 file changed, 16 insertions(+) > > > > diff --git a/arch

Re: [PATCH 01/11] drm/vgem: Use ww_mutex_(un)lock even with a NULL context

2016-11-28 Thread Maarten Lankhorst
Op 28-11-16 om 13:20 schreef Nicolai Hähnle: > From: Nicolai Hähnle > > Cc: Peter Zijlstra > Cc: Ingo Molnar > Cc: Maarten Lankhorst > Cc: Daniel Vetter > Cc: Chris Wilson > Cc: dri-de...@lists.freedesktop.org > Signed-off-by: Nicolai Hähnle > --- > drivers/gpu/drm/vgem/vgem_fence.c | 4 ++-

Re: [PATCH 01/22 v2] cpufreq/acpi-cpufreq: Convert to hotplug state machine

2016-11-28 Thread Rafael J. Wysocki
On Mon, Nov 28, 2016 at 10:51 AM, Sebastian Andrzej Siewior wrote: > Install the callbacks via the state machine. > > Cc: "Rafael J. Wysocki" > Cc: Viresh Kumar > Cc: linux...@vger.kernel.org > Signed-off-by: Sebastian Andrzej Siewior > --- > v1…v2: set msrs to NULL on error during init. OK L

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