Re: [PATCH v4 2/5] clk: aspeed: Register core clocks

2017-10-05 Thread Andrew Jeffery
On Tue, 2017-10-03 at 17:25 +1030, Joel Stanley wrote: > This registers the core clocks; those which are required to calculate > the rate of the timer peripheral so the system can load a clocksource > driver. >  > Signed-off-by: Joel Stanley >  > --- > v4: >   - Add defines to document the BIT() m

Re: [PATCH] scsi: fcoe: Convert timers to use timer_setup()

2017-10-05 Thread Johannes Thumshirn
Looks good, Acked-by: Johannes Thumshirn -- Johannes Thumshirn Storage jthumsh...@suse.de+49 911 74053 689 SUSE LINUX GmbH, Maxfeldstr. 5, 90409 Nürnberg GF: Felix Imendörffer, Jane Smithard, Graham Norton HRB 21284 (AG Nür

Re: spi-atmel.c: regression

2017-10-05 Thread Igor Plyatov
Hello! Hello! please help to manage issue with data corruption by PDC of SPI. I have compared operation of Linux-2.6.39 and linux4sam kernel 4.9.36+ on the AT91SAM9G20 (Stamp9G20 SOM from Taskit.de) and found regression in the spi-atmel.c. New spi-atmel.c driver works very bad with SPI sp

Re: [RFC] mmap(MAP_CONTIG)

2017-10-05 Thread Vlastimil Babka
On 10/04/2017 01:56 AM, Mike Kravetz wrote: Hi, > At Plumbers this year, Guy Shattah and Christoph Lameter gave a presentation > titled 'User space contiguous memory allocation for DMA' [1]. The slides Hm I didn't find slides on that link, are they available? > point out the performance benefi

Re: [PATCH] staging: ccree: local variable "dev" not required

2017-10-05 Thread Gilad Ben-Yossef
Hi Suniel, On Wed, Oct 4, 2017 at 10:12 PM, wrote: > From: Suniel Mahesh > > There is no need to create a local pointer variable "dev" and > pass it various API's, instead use plat_dev which is enumerated > by platform core on successful probe. > > Signed-off-by: Suniel Mahesh > --- I'm sorry

Re: [PATCH v8 2/2] media:imx274 V4l2 driver for Sony imx274 CMOS sensor

2017-10-05 Thread Sakari Ailus
Hi Leon, On Thu, Oct 05, 2017 at 12:06:16AM -0700, Leon Luo wrote: >Hi Sakari, >I just got an email saying the patch is accepted. Do I still need to do >anything here? Do I need to add  MEDIA_CAMERA_SUPPORT dependency to >Kconfig and submit a new version?  Please don't send HTML e

Re: [PATCH v4 05/14] platform/x86: dell-wmi-descriptor: split WMI descriptor into it's own driver

2017-10-05 Thread Darren Hart
On Thu, Oct 05, 2017 at 08:29:10AM +0300, Andy Shevchenko wrote: > On Thu, Oct 5, 2017 at 4:09 AM, Darren Hart wrote: > > On Wed, Oct 04, 2017 at 05:48:31PM -0500, Mario Limonciello wrote: > >> All communication on individual GUIDs should occur in separate drivers. > >> Allowing a driver to commun

Re: [PATCH v4 4/5] cramfs: add mmap support

2017-10-05 Thread Christoph Hellwig
On Wed, Oct 04, 2017 at 04:47:52PM -0400, Nicolas Pitre wrote: > The only downside so far is the lack of visibility from user space to > confirm it actually works as intended. With the vma splitting approach > you clearly see what gets directly mapped in /proc/*/maps thanks to > remap_pfn_range(

Re: [PATCH v4 12/14] platform/x86: wmi: create character devices when requested by drivers

2017-10-05 Thread Greg KH
On Wed, Oct 04, 2017 at 05:48:38PM -0500, Mario Limonciello wrote: > For WMI operations that are only Set or Query read or write sysfs > attributes created by WMI vendor drivers make sense. > > For other WMI operations that are run on Method, there needs to be a > way to guarantee to userspace tha

Re: [RESEND PATCH v5 10/16] mtd: nand: qcom: add command elements in BAM transaction

2017-10-05 Thread Boris Brezillon
On Mon, 25 Sep 2017 13:21:25 +0530 Abhishek Sahu wrote: > All the QPIC register read/write through BAM DMA requires > command descriptor which contains the array of command elements. > > Reviewed-by: Archit Taneja > Signed-off-by: Abhishek Sahu Applied both. Thanks, Boris > --- > > * Chan

Re: [PATCH v4 4/8] mtd: nand: atmel: Avoid ECC errors when leaving backup mode

2017-10-05 Thread Boris Brezillon
On Thu, 28 Sep 2017 11:46:23 +0200 Romain Izard wrote: > During backup mode, the contents of all registers will be cleared as the > SoC will be completely powered down. For a product that boots on NAND > Flash memory, the bootloader will obviously use the related controller > to read the Flash an

Re: [PATCH v4 3/5] clk: aspeed: Add platform driver and register PLLs

2017-10-05 Thread Andrew Jeffery
On Tue, 2017-10-03 at 17:25 +1030, Joel Stanley wrote: > This registers a platform driver to set up all of the non-core clocks. >  > The clocks that have configurable rates are now registered. >  > Signed-off-by: Joel Stanley >  > -- > v4: >  - Add eclk div table to fix ast2500 calculation >  - Ad

[RFH] 4.9.52: task blocked for more than 300 seconds - xen_clocksource_get_cycles?

2017-10-05 Thread Philipp Hahn
Hello, in a VM running linux-4.9.52 on Debian-Wheezy with Xen-4.1 I observed several stuck processes: Here is one (truncated) dump of the Linux kernel messages: > [] ? __schedule+0x23d/0x6d0 > [] ? bit_wait_timeout+0x90/0x90 > [] ? schedule+0x32/0x80 > [] ? schedule_timeout+0x1ec/0x360 > []

Re: [PATCH v4 13/14] platform/x86: dell-smbios-wmi: introduce userspace interface

2017-10-05 Thread Greg KH
On Wed, Oct 04, 2017 at 05:48:39PM -0500, Mario Limonciello wrote: > This userspace character device will be used to perform SMBIOS calls > from any applications. > > It provides an ioctl that will allow passing the 32k WMI calling > interface buffer between userspace and kernel space. {sigh} Di

Re: [PATCH v2] mtd: nand: pxa3xx_nand: Update Kconfig information

2017-10-05 Thread Boris Brezillon
On Fri, 29 Sep 2017 15:34:24 +0200 Gregory CLEMENT wrote: > More and more SoCs use the pxa3xx_nand driver for their controller but > the list of them was not updated. This patch add the last SoCs using the > driver. > Applied. Thanks, Boris > Signed-off-by: Gregory CLEMENT > --- > Changelog

Re: [PATCH] mwifiex: Use put_unaligned_le32

2017-10-05 Thread Kalle Valo
Himanshu Jha writes: > Use put_unaligned_le32 rather than using byte ordering function and > memcpy which makes code clear. > Also, add the header file where it is declared. > > Done using Coccinelle and semantic patch used is : > > @ rule1 @ > identifier tmp; expression ptr,x; type T; > @@ > > -

Re: [PATCH v3] mtd: nand: denali: fix setup_data_interface to meet tCCS delay

2017-10-05 Thread Boris Brezillon
On Fri, 29 Sep 2017 23:12:57 +0900 Masahiro Yamada wrote: > The WE_2_RE register specifies the number of clock cycles inserted > between the rising edge of #WE and the falling edge of #RE. > > The current setup_data_interface implementation takes care of tWHR, > but tCCS is missing. Wait for ma

Re: [PATCH -next v2] mtd: nand: Add support for Toshiba BENAND (Built-in ECC NAND)

2017-10-05 Thread KOBAYASHI Yoshitake
On 2017/09/27 6:15, Boris Brezillon wrote: > On Tue, 26 Sep 2017 18:18:04 +0900 > KOBAYASHI Yoshitake wrote: > >> On 2017/09/21 16:28, Boris Brezillon wrote: >>> On Thu, 21 Sep 2017 14:32:02 +0900 >>> KOBAYASHI Yoshitake wrote: >>> This patch enables support for Toshiba BENAND. The

Re: [RFC PATCH 1/2] kbuild: Add a cache for generated variables

2017-10-05 Thread Masahiro Yamada
Hi Douglas, 2017-10-05 7:38 GMT+09:00 Doug Anderson : > Hi, > > On Tue, Oct 3, 2017 at 9:05 PM, Masahiro Yamada > wrote: >> Thanks for the patches. The idea is interesting. >> >> I am not a Chrome developer, but cc-option could be improved somehow. >> >> >> I examined two approaches to mitigate

Re: [PATCH -next v2] mtd: nand: Add support for Toshiba BENAND (Built-in ECC NAND)

2017-10-05 Thread Boris Brezillon
On Thu, 5 Oct 2017 16:24:08 +0900 KOBAYASHI Yoshitake wrote: > On 2017/09/27 6:15, Boris Brezillon wrote: > > On Tue, 26 Sep 2017 18:18:04 +0900 > > KOBAYASHI Yoshitake wrote: > > > >> On 2017/09/21 16:28, Boris Brezillon wrote: > >>> On Thu, 21 Sep 2017 14:32:02 +0900 > >>> KOBAYASHI Yoshi

[PATCH] INSTALL: Update dependency list and configure with libxtables support

2017-10-05 Thread Harsha Sharma
Add configure with lixtables in INSTALL and required dependencies for the same Signed-off-by: Harsha Sharma --- INSTALL | 11 +++ 1 file changed, 11 insertions(+) diff --git a/INSTALL b/INSTALL index 3e9a6ad..04981f1 100644 --- a/INSTALL +++ b/INSTALL @@ -18,6 +18,12 @@ Installation ins

Re: [PATCH v4 13/14] platform/x86: dell-smbios-wmi: introduce userspace interface

2017-10-05 Thread Greg KH
On Wed, Oct 04, 2017 at 05:48:39PM -0500, Mario Limonciello wrote: > +static long dell_smbios_wmi_ioctl(struct file *filp, unsigned int cmd, > + unsigned long arg) > +{ > + void __user *p = (void __user *) arg; > + struct wmi_smbios_ioctl *input; > + struct wmi_smbios_priv *priv; >

Re: RISC-V Linux Port v9

2017-10-05 Thread Arnd Bergmann
On Thu, Oct 5, 2017 at 2:21 AM, Palmer Dabbelt wrote: > On Tue, 26 Sep 2017 23:08:02 PDT (-0700), Arnd Bergmann wrote: >> On Tue, Sep 26, 2017 at 6:56 PM, Palmer Dabbelt wrote: >>> As per suggestions on our v8 patch set, I've split the core architecture >>> code >>> out from our drivers and woul

Re: [PATCH v4 4/5] clk: aspeed: Register gated clocks

2017-10-05 Thread Andrew Jeffery
On Tue, 2017-10-03 at 17:25 +1030, Joel Stanley wrote: > The majority of the clocks in the system are gates paired with a reset > controller that holds the IP in reset. >  > This borrows from clk_hw_register_gate, but registers two 'gates', one > to control the clock enable register and the other t

Re: [PATCH] x86/alternatives: Fix alt_max_short macro to really be a max()

2017-10-05 Thread Borislav Petkov
On Wed, Oct 04, 2017 at 08:08:12PM +0200, Mathias Krause wrote: > The alt_max_short() macro in asm/alternative.h does not work as > intended, leading to nasty bugs. E.g. alt_max_short("1", "3") > evaluates to 3, but alt_max_short("3", "1") evaluates to 1 -- not > exactly the maximum of 1 and 3. >

Re: [PATCH] net: tulip: de2104x: Convert timers to use

2017-10-05 Thread Tobias Klauser
On 2017-10-05 at 02:50:48 +0200, Kees Cook wrote: > In preparation for unconditionally passing the struct timer_list pointer to > all timer callbacks, switch to using the new timer_setup() and from_timer() > to pass the timer pointer explicitly. > > Cc: "David S. Miller" > Cc: "yuval.sh...@oracl

Re: [PATCH] net: dl2k: Convert timers to use timer_setup()

2017-10-05 Thread Tobias Klauser
On 2017-10-05 at 02:51:50 +0200, Kees Cook wrote: > In preparation for unconditionally passing the struct timer_list pointer to > all timer callbacks, switch to using the new timer_setup() and from_timer() > to pass the timer pointer explicitly. > > Cc: "David S. Miller" > Cc: Jarod Wilson > Cc

[PATCH] ARM: dts: omap3: Replace deprecated mcp prefix

2017-10-05 Thread Lars Poeschel
The devicetree prefix mcp is deprecated in favour of microchip. Thus this replaces mcp with microchip for the mcp23017 gpio expander chip. Signed-off-by: Lars Poeschel --- arch/arm/boot/dts/omap3-lilly-a83x.dtsi | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm/boot/dt

Re: [PATCH v3 1/1] mtd: nand: pxa3xx: Set FORCE_CSX bit to ARMADA370 variants.

2017-10-05 Thread Miquel RAYNAL
Hello Kalyan, On Thu, 28 Sep 2017 13:57:56 +1300 Kalyan Kinthada wrote: > When the arbitration between NOR and NAND flash is enabled > the field bit[21] in the Data Flash Control Register > needs to be set to 1 according to guidleine GL-5830741 mentioned Typo: guideline ^ > in Marvell Errata

[PATCH] test: shell: execute shell/run-tests.sh from any directory

2017-10-05 Thread Harsha Sharma
Update shell/run-tests.sh to refer /src/nft with a relative path Signed-off-by: Harsha Sharma --- tests/shell/run-tests.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/shell/run-tests.sh b/tests/shell/run-tests.sh index 4eba0a8..dbddd8d 100755 --- a/tests/shell/run-t

Re: [PATCH v4 5/5] clk: aspeed: Add reset controller

2017-10-05 Thread Andrew Jeffery
On Tue, 2017-10-03 at 17:25 +1030, Joel Stanley wrote: > There are some resets that are not associated with gates. These are > represented by a reset controller. >  > Signed-off-by: Joel Stanley With respect to the Aspeed hardware reset bits: Reviewed-by: Andrew Jeffery >  > --- > v3: >   - Ad

Re: [PATCH] arm: dts: gr-peach: Reduce extal_clk resolution

2017-10-05 Thread jacopo mondi
Hi Geert On Wed, Oct 04, 2017 at 05:54:46PM +0200, Geert Uytterhoeven wrote: > Hi Jacopo, > > On Wed, Oct 4, 2017 at 5:40 PM, Jacopo Mondi > wrote: > > The system clock described by extal_clk is reported to have a frequency > > of 13.333 Mhz and is correctly described by gr-peach device tree. >

Re: [PATCH] powerpc: Default to enabling STRICT_KERNEL_RWX

2017-10-05 Thread Christophe LEROY
Le 05/10/2017 à 05:45, Kees Cook a écrit : When available, CONFIG_KERNEL_RWX should be default-enabled. On PPC32, this option implies deactivating BATs and/or LTLB mapping of the linear kernel address space, hence a significant performance degradation. So at least on PPC32, it should rema

[PATCH] dt-bindings: pinctrl: Move mcp23s08 from gpio

2017-10-05 Thread Lars Poeschel
The mcp23s08 driver was moved from gpio to pinctrl. This moves it's devicetree binding doc as well. So driver and binding doc are in sync again. Signed-off-by: Lars Poeschel --- .../bindings/{gpio/gpio-mcp23s08.txt => pinctrl/pinctrl-mcp23s08.txt} | 0 1 file changed, 0 insertions(+), 0 dele

Re: [PATCH v2 0/2] kbuild: Cache exploratory calls to the compiler

2017-10-05 Thread Ingo Molnar
* Douglas Anderson wrote: > This two-patch series attempts to speed incremental builds of the > kernel up by a bit. How much of a speedup you get depends a lot on > your environment, specifically the speed of your workstation and how > fast it takes to invoke the compiler. > > In the Chrome OS

Re: [BUGFIX PATCH] kprobes/x86: Remove IRQ disabling from jprobe handlers

2017-10-05 Thread Ingo Molnar
* Masami Hiramatsu wrote: > On Wed, 4 Oct 2017 12:41:01 +0200 > Ingo Molnar wrote: > > > > > * Masami Hiramatsu wrote: > > > > > Hmm, actually we can not disable jprobe, that has no separate Kconfig. > > > So we need to introduce new kconfig for that. > > > > > > And, there are several net

Re: [PATCH] mm, arch: remove empty_bad_page*

2017-10-05 Thread Ingo Molnar
* Michal Hocko wrote: > From: Michal Hocko > > empty_bad_page and empty_bad_pte_table seems to be a relict from old > days which is not used by any code for a long time. I have tried to find > when exactly but this is not really all that straightforward due to many > code movements - traces di

Re: [PATCH] x86/alternatives: Fix alt_max_short macro to really be a max()

2017-10-05 Thread Mathias Krause
On 5 October 2017 at 09:38, Borislav Petkov wrote: > On Wed, Oct 04, 2017 at 08:08:12PM +0200, Mathias Krause wrote: >> The alt_max_short() macro in asm/alternative.h does not work as >> intended, leading to nasty bugs. E.g. alt_max_short("1", "3") >> evaluates to 3, but alt_max_short("3", "1") ev

Re: [PATCH] isdn/gigaset: Convert timers to use timer_setup()

2017-10-05 Thread Paul Bolle
Hi Kees, On Wed, 2017-10-04 at 17:52 -0700, Kees Cook wrote: > Also uses kzmalloc to replace open-coded field assignments to NULL and zero. If I'm allowed to whine (chances that I'm allowed to do that are not so great as Dave tends to apply gigaset patches before I even have a chance to look at t

Linux 3.18.73

2017-10-05 Thread Greg KH
I'm announcing the release of the 3.18.73 kernel. All users of the 3.18 kernel series must upgrade. The updated 3.18.y git tree can be found at: git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable.git linux-3.18.y and can be browsed at the normal kernel.org git web browser:

Linux 4.4.90

2017-10-05 Thread Greg KH
I'm announcing the release of the 4.4.90 kernel. All users of the 4.4 kernel series must upgrade. The updated 4.4.y git tree can be found at: git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable.git linux-4.4.y and can be browsed at the normal kernel.org git web browser:

Re: Linux 3.18.73

2017-10-05 Thread Greg KH
diff --git a/Makefile b/Makefile index 9b82f279ef1d..f5e683464cd4 100644 --- a/Makefile +++ b/Makefile @@ -1,6 +1,6 @@ VERSION = 3 PATCHLEVEL = 18 -SUBLEVEL = 72 +SUBLEVEL = 73 EXTRAVERSION = NAME = Diseased Newt diff --git a/arch/arm/xen/mm.c b/arch/arm/xen/mm.c index f8a576b1d9bb..5409d70ff

Re: Linux 4.4.90

2017-10-05 Thread Greg KH
diff --git a/Makefile b/Makefile index 7e4c46b375b3..ca5aaaf4aef7 100644 --- a/Makefile +++ b/Makefile @@ -1,6 +1,6 @@ VERSION = 4 PATCHLEVEL = 4 -SUBLEVEL = 89 +SUBLEVEL = 90 EXTRAVERSION = NAME = Blurry Fish Butt diff --git a/arch/arm/boot/dts/pxa27x.dtsi b/arch/arm/boot/dts/pxa27x.dtsi ind

Re: Linux 4.9.53

2017-10-05 Thread Greg KH
diff --git a/Makefile b/Makefile index c53de1e38c6a..98e3be659b21 100644 --- a/Makefile +++ b/Makefile @@ -1,6 +1,6 @@ VERSION = 4 PATCHLEVEL = 9 -SUBLEVEL = 52 +SUBLEVEL = 53 EXTRAVERSION = NAME = Roaring Lionus diff --git a/arch/arm/xen/mm.c b/arch/arm/xen/mm.c index d062f08f5020..4b24964a5

Linux 4.9.53

2017-10-05 Thread Greg KH
I'm announcing the release of the 4.9.53 kernel. All users of the 4.9 kernel series must upgrade. The updated 4.9.y git tree can be found at: git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable.git linux-4.9.y and can be browsed at the normal kernel.org git web browser:

Linux 4.13.5

2017-10-05 Thread Greg KH
I'm announcing the release of the 4.13.5 kernel. All users of the 4.13 kernel series must upgrade. The updated 4.13.y git tree can be found at: git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable.git linux-4.13.y and can be browsed at the normal kernel.org git web browser:

Re: zstd kernel and initrd compression

2017-10-05 Thread René Rebe
Hi Nick, On Oct 5, 2017, at 1:29, Nick Terrell wrote: > On 10/4/17, 3:01 AM, "linux-kernel-ow...@vger.kernel.org on behalf of René > Rebe" > wrote: >> Hi, >> >> I noticed zstd compression was recently added for btrfs and squashfs. >> Are there actually already patches floating around for zst

Re: [PATCH v5 1/7] media: add glossary.rst with a glossary of terms used at V4L2 spec

2017-10-05 Thread Sakari Ailus
Hi Mauro, My apologies for the late reply. On Tue, Aug 29, 2017 at 10:07:50AM -0300, Mauro Carvalho Chehab wrote: > Em Tue, 29 Aug 2017 10:47:48 +0300 > Sakari Ailus escreveu: > > > Hi Mauro, > > > > Thanks for the update. A few comments below. > > > > On Mon, Aug 28, 2017 at 09:53:55AM -0300

Re: [BUGFIX PATCH] kprobes/x86: Remove IRQ disabling from jprobe handlers

2017-10-05 Thread Masami Hiramatsu
On Thu, 5 Oct 2017 09:57:04 +0200 Ingo Molnar wrote: > > * Masami Hiramatsu wrote: > > > On Wed, 4 Oct 2017 12:41:01 +0200 > > Ingo Molnar wrote: > > > > > > > > * Masami Hiramatsu wrote: > > > > > > > Hmm, actually we can not disable jprobe, that has no separate Kconfig. > > > > So we ne

Re: [PATCH] reset: uniphier: add PXs3 reset data

2017-10-05 Thread Philipp Zabel
On Thu, 2017-10-05 at 11:30 +0900, Masahiro Yamada wrote: > Add basic reset data for Socionext's new SoC PXs3. > > Signed-off-by: Masahiro Yamada Thanks, applied to the reset/next branch. regards Philipp > --- > >  .../devicetree/bindings/reset/uniphier-reset.txt   |  3 +++ >  drivers/reset/r

Re: [PATCH] arm: dts: gr-peach: Reduce extal_clk resolution

2017-10-05 Thread Geert Uytterhoeven
Hi Jacopo, On Thu, Oct 5, 2017 at 9:48 AM, jacopo mondi wrote: > On Wed, Oct 04, 2017 at 05:54:46PM +0200, Geert Uytterhoeven wrote: >> On Wed, Oct 4, 2017 at 5:40 PM, Jacopo Mondi >> wrote: >> > The system clock described by extal_clk is reported to have a frequency >> > of 13.333 Mhz and is c

Re: [PATCH 00/12] of: overlay: clean up device tree overlay code

2017-10-05 Thread Jyri Sarha
 Texas Instruments Finland Oy, Porkkalankatu 22, 00180 Helsinki. Y-tunnus/Business ID: 0615521-4. Kotipaikka/Domicile: Helsinki On 10/05/17 09:53, Tomi Valkeinen wrote: > On 04/10/17 17:56, Rob Herring wrote: >> On Mon, Oct 2, 2017 at 10:53 PM, wrote: >>> From: Frank Rowand >>> >>> I have fou

Re: [PATCH] mwifiex: Use put_unaligned_le32

2017-10-05 Thread Himanshu Jha
On Thu, Oct 05, 2017 at 10:23:37AM +0300, Kalle Valo wrote: > Himanshu Jha writes: > > > Use put_unaligned_le32 rather than using byte ordering function and > > memcpy which makes code clear. > > Also, add the header file where it is declared. > > > > Done using Coccinelle and semantic patch used

Re: [PATCH] epoll: account epitem and eppoll_entry to kmemcg

2017-10-05 Thread Michal Hocko
On Wed 04-10-17 12:33:14, Shakeel Butt wrote: > > > > I am not objecting to the patch I would just like to understand the > > runaway case. ep_insert seems to limit the maximum number of watches to > > max_user_watches which should be ~4% of lowmem if I am following the > > code properly. pwq_cache

[PATCH] lightnvm: pblk: remove spinlock when freeing line metadata

2017-10-05 Thread Hans Holmberg
From: Hans Holmberg Lockdep complains about being in atomic context while freeing line metadata - and rightly so as we take a spinlock and end up calling vfree that might sleep(in pblk_mfree). There is no need for holding the line manager free_lock while freeing line metadata, so remove the lock

Re: [v10 3/6] mm, oom: cgroup-aware OOM killer

2017-10-05 Thread David Rientjes
On Wed, 4 Oct 2017, Johannes Weiner wrote: > > By only considering leaf memcgs, does this penalize users if their memcg > > becomes oc->chosen_memcg purely because it has aggregated all of its > > processes to be members of that memcg, which would otherwise be the > > standard behavior? > > >

Re: [PATCH] intel_ips: Convert timers to use timer_setup()

2017-10-05 Thread Andy Shevchenko
On Thu, Oct 5, 2017 at 3:54 AM, Kees Cook wrote: > In preparation for unconditionally passing the struct timer_list pointer to > all timer callbacks, switch to using the new timer_setup() and from_timer() > to pass the timer pointer explicitly. Moves timer structure off stack and > into struct ips

Re: [PATCH] mwifiex: Use put_unaligned_le32

2017-10-05 Thread Kalle Valo
Himanshu Jha writes: >> > --- a/drivers/net/wireless/marvell/mwifiex/cmdevt.c >> > +++ b/drivers/net/wireless/marvell/mwifiex/cmdevt.c >> > @@ -17,6 +17,7 @@ >> > * this warranty disclaimer. >> > */ >> > >> > +#include >> >> I don't think this is correct. Should it be asm/unaligned.h? > >

Re: [PATCH v4 05/14] platform/x86: dell-wmi-descriptor: split WMI descriptor into it's own driver

2017-10-05 Thread Andy Shevchenko
On Thu, Oct 5, 2017 at 10:11 AM, Darren Hart wrote: > On Thu, Oct 05, 2017 at 08:29:10AM +0300, Andy Shevchenko wrote: >> On Thu, Oct 5, 2017 at 4:09 AM, Darren Hart wrote: >> > You'll want to add something like: >> > >> > #ifdef CONFIG_DELL_WMI_DESCRIPTOR_MODULE >> > if (request_module(

Re: [PATCH v4 08/14] platform/x86: dell-smbios: Add a sysfs interface for SMBIOS tokens

2017-10-05 Thread Andy Shevchenko
On Thu, Oct 5, 2017 at 1:48 AM, Mario Limonciello wrote: > Currently userspace tools can access system tokens via the dcdbas > kernel module and a SMI call that will cause the platform to execute > SMM code. > > With a goal in mind of deprecating the dcdbas kernel module a different > method for a

Re: [PATCH v4 0/6] perf report/script: Support percent and multiple range in --time option

2017-10-05 Thread Jiri Olsa
On Tue, Oct 03, 2017 at 10:22:32PM +0800, Jin Yao wrote: > v4: > --- > 1. Use perf script time style for timestamp printing. Also add with >the printing of sample duration. For example: > >perf report --header > >time of first sample : 5276531.323099 >time of last sample : 5276555

Re: [PATCH v2] soc: mediatek: place Kconfig for all SoC drivers under menu

2017-10-05 Thread Jean Delvare
Hi Sean, On Thu, 5 Oct 2017 11:17:49 +0800, sean.w...@mediatek.com wrote: > From: Sean Wang > > Add cleanup for placing all Kconfig for all MediaTek SoC drivers under > the independent menu as other SoCs vendor usually did. Since the menu > would be shown depending on "ARCH_MEDIATEK || COMPILE_T

r8169 Wake-on-LAN causes immediate ACPI GPE wakeup

2017-10-05 Thread Daniel Drake
Hi, On the Acer laptop models Aspire ES1-533, Aspire ES1-732, PackardBell ENTE69AP and Gateway NE533, we are seeing a problem where the system immediately wakes up after being put into S3 suspend. This problem has been seen on all kernel versions that we have tried, including 4.14-rc3. After dis

[GIT PULL] HID fixes

2017-10-05 Thread Jiri Kosina
Linus, please pull from git://git.kernel.org/pub/scm/linux/kernel/git/jikos/hid.git for-linus to receive HID subsystem fixes = - buffer management size fix for i2c-hid driver, from Adrian Salido - tool ID regression fixes for Wacom driver from Jason Gerecke - a few small assorted fixes an

[PATCH 2/3] ARM: dts: gr-peach: Enable MTU2 timer pulse unit

2017-10-05 Thread Jacopo Mondi
MTU2 multi-function/multi-channel timer/counter is not enabled for GR-Peach board. The timer is used as clock event source to schedule wake-ups, and without this enabled all sleeps not performed through busy waiting hang the board. Signed-off-by: Jacopo Mondi --- arch/arm/boot/dts/r7s72100-gr-pe

Re: [PATCH v4 00/14] Introduce support for Dell SMBIOS over WMI

2017-10-05 Thread Andy Shevchenko
On Thu, Oct 5, 2017 at 3:09 AM, Darren Hart wrote: > On Wed, Oct 04, 2017 at 05:48:26PM -0500, Mario Limonciello wrote: >> >> NOTE: This patch is intended to go on top of the 6 patches already in >> Darren's review tree. > > I pushed these to for-next today, they should be available in linux-next

Re: [PATCH v6 4/6] lib/dlock-list: Make sibling CPUs share the same linked list

2017-10-05 Thread Jan Kara
On Wed 04-10-17 17:20:05, Waiman Long wrote: > int alloc_dlock_list_heads(struct dlock_list_heads *dlist) > { > - int idx; > + int idx, cnt = nr_dlock_lists ? nr_dlock_lists : nr_cpu_ids; Hum, is this there for the case where alloc_dlock_list_heads() is called before nr_dlock_lists is in

[PATCH 1/3] ARM: dts: gr-peach: Fix 'leds' node name indent

2017-10-05 Thread Jacopo Mondi
Fix 'leds' node name indent as it was wrongly aligned. Signed-off-by: Jacopo Mondi --- arch/arm/boot/dts/r7s72100-gr-peach.dts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm/boot/dts/r7s72100-gr-peach.dts b/arch/arm/boot/dts/r7s72100-gr-peach.dts index f2ddd11..203

[PATCH 0/3] ARM: dts: gr-peach: Mix DTS fixes/updates

2017-10-05 Thread Jacopo Mondi
Hello, this series includes three patches for GR-Peach DTS. The first, very trivial one is the re-proposal of the already sent patch, with the commit message updated as suggested by Sergei. The second just enables the Multi-function timer/counter unit which was disabled and is actually used fo

[PATCH 3/3] ARM: dts: gr-peach: Add ETHER pin group

2017-10-05 Thread Jacopo Mondi
Add pin configuration subnode for ETHER pin group and enable the interface. Signed-off-by: Jacopo Mondi --- arch/arm/boot/dts/r7s72100-gr-peach.dts | 38 + 1 file changed, 38 insertions(+) diff --git a/arch/arm/boot/dts/r7s72100-gr-peach.dts b/arch/arm/boot/dts/

Re: [PATCH 2/3] ARM: dts: gr-peach: Enable MTU2 timer pulse unit

2017-10-05 Thread Geert Uytterhoeven
On Thu, Oct 5, 2017 at 10:58 AM, Jacopo Mondi wrote: > MTU2 multi-function/multi-channel timer/counter is not enabled for > GR-Peach board. The timer is used as clock event source to schedule > wake-ups, and without this enabled all sleeps not performed through busy > waiting hang the board. > > S

Re: [PATCH 1/2] Revert "vmalloc: back off when the current task is killed"

2017-10-05 Thread Michal Hocko
On Wed 04-10-17 14:59:06, Johannes Weiner wrote: > This reverts commit 5d17a73a2ebeb8d1c6924b91e53ab2650fe86ffb and > commit 171012f561274784160f666f8398af8b42216e1f. > > 5d17a73a2ebe ("vmalloc: back off when the current task is killed") > made all vmalloc allocations from a signal-killed task fai

[PATCH V10 13/15] mmc: block: Add CQE and blk-mq support

2017-10-05 Thread Adrian Hunter
Add CQE support to the block driver, including: - optionally using DCMD for flush requests - "manually" issuing discard requests - issuing read / write requests to the CQE - supporting block-layer timeouts - handling recovery - supporting re-tuning CQE offers 25% - 50% bett

Re: [PATCH v2 14/17] phy: qcom-qusb2: Set vbus sw-override signal in device mode

2017-10-05 Thread Manu Gautam
Hi Jack, On 9/28/2017 10:23 PM, Jack Pham wrote: > Hi Manu, > > On Thu, Sep 28, 2017 at 09:30:38AM +0530, Manu Gautam wrote: >> On 9/28/2017 12:46 AM, Jack Pham wrote: >>> On Wed, Sep 27, 2017 at 10:57:41AM -0700, Jack Pham wrote: On Wed, Sep 27, 2017 at 02:29:10PM +0530, Manu Gautam wrote: >

Re: [PATCH 3/3] ARM: dts: gr-peach: Add ETHER pin group

2017-10-05 Thread Geert Uytterhoeven
Hi Jacopo, On Thu, Oct 5, 2017 at 10:58 AM, Jacopo Mondi wrote: > Add pin configuration subnode for ETHER pin group and enable the interface. > > Signed-off-by: Jacopo Mondi Reviewed-by: Geert Uytterhoeven > --- a/arch/arm/boot/dts/r7s72100-gr-peach.dts > +++ b/arch/arm/boot/dts/r7s72100-gr-p

[PATCH] net: qcom/emac: make function emac_isr static

2017-10-05 Thread Colin King
From: Colin Ian King The function emac_isr is local to the source and does not need to be in global scope, so make it static. Cleans up sparse warnings: symbol 'emac_isr' was not declared. Should it be static? Signed-off-by: Colin Ian King --- drivers/net/ethernet/qualcomm/emac/emac.c | 2 +-

Re: [PATCH] MAINTAINERS: Add git repository to Renesas clock driver section

2017-10-05 Thread Simon Horman
On Wed, Oct 04, 2017 at 01:34:24PM +0200, Geert Uytterhoeven wrote: > Signed-off-by: Geert Uytterhoeven Reviewed-by: Simon Horman > --- > MAINTAINERS | 1 + > 1 file changed, 1 insertion(+) > > diff --git a/MAINTAINERS b/MAINTAINERS > index 61d77c8037a1faf9..d23f4fba728d091a 100644 > --- a/M

Re: [PATCH] MAINTAINERS: Add git repository to Renesas pinctrl driver section

2017-10-05 Thread Simon Horman
On Wed, Oct 04, 2017 at 01:35:12PM +0200, Geert Uytterhoeven wrote: > Signed-off-by: Geert Uytterhoeven Reviewed-by: Simon Horman > --- > MAINTAINERS | 1 + > 1 file changed, 1 insertion(+) > > diff --git a/MAINTAINERS b/MAINTAINERS > index 6e018e720152c98c..61d77c8037a1faf9 100644 > --- a/MA

[PATCH v2] perf callchain: Compare dsos (as well) for CCKEY_FUNCTION

2017-10-05 Thread Ravi Bangoria
Two functions from different binaries can have same start address. Thus, comparing only start address in match_chain() leads to inconsistent callchains. Fix this by adding a check for dsos as well. Ex, https://www.spinics.net/lists/linux-perf-users/msg04067.html Reported-by: Alexander Pozdneev S

Re: [PATCH 3/3] mm: oom: show unreclaimable slab info when unreclaimable slabs > user memory

2017-10-05 Thread Michal Hocko
On Thu 05-10-17 02:08:48, Yang Shi wrote: > > > On 10/4/17 7:27 AM, Michal Hocko wrote: > > On Wed 04-10-17 02:06:17, Yang Shi wrote: > > > +static bool is_dump_unreclaim_slabs(void) > > > +{ > > > + unsigned long nr_lru; > > > + > > > + nr_lru = global_node_page_state(NR_ACTIVE_ANON) + > > > +

Re: [PATCH v6 5/6] lib/dlock-list: Enable faster lookup with hashing

2017-10-05 Thread Jan Kara
On Wed 04-10-17 17:20:06, Waiman Long wrote: > Insertion and deletion is relatively cheap and mostly contention > free for dlock-list. Lookup, on the other hand, can be rather costly > because all the lists in a dlock-list will have to be iterated. > > Currently dlock-list insertion is based on th

Re: [PATCH 1/2] Revert "vmalloc: back off when the current task is killed"

2017-10-05 Thread Michal Hocko
On Wed 04-10-17 19:18:21, Johannes Weiner wrote: > On Wed, Oct 04, 2017 at 03:32:45PM -0700, Andrew Morton wrote: [...] > > You don't think they should be backported into -stables? > > Good point. For this one, it makes sense to CC stable, for 4.11 and > up. The second patch is more of a fortifica

Re: [PATCH] s390: qdio: Convert timers to use timer_setup()

2017-10-05 Thread Sebastian Ott
On Wed, 4 Oct 2017, Kees Cook wrote: > In preparation for unconditionally passing the struct timer_list pointer to > all timer callbacks, switch to using the new timer_setup() and from_timer() > to pass the timer pointer explicitly. > -void qdio_outbound_timer(unsigned long data) > +void qdio_outb

Re: stable-rc build: 132 warnings 0 failures (stable-rc/v4.9.52-65-gaceea42)

2017-10-05 Thread gregkh
On Wed, Oct 04, 2017 at 04:39:06PM +0200, Arnd Bergmann wrote: > On Wed, Oct 4, 2017 at 9:50 AM, Olof's autobuilder wrote: > > It seems a couple of warnings are now present due to the use of gcc-7, > here are the respective patches we want backported: > > > Warnings: > > > > 1 include/asm-

[PATCH v3 0/6] staging: Introduce DPAA2 Ethernet Switch driver

2017-10-05 Thread Razvan Stefanescu
This patchset introduces the Ethernet Switch Driver for Freescale/NXP SoCs with DPAA2 (DataPath Acceleration Architecture v2). The driver manages switch objects discovered on the fsl-mc bus. A description of the driver can be found in the associated README file. The patchset consists of: * A set o

[PATCH v3 2/6] staging: fsl-dpaa2/ethsw: Add Freescale DPAA2 Ethernet Switch driver

2017-10-05 Thread Razvan Stefanescu
Introduce the DPAA2 Ethernet Switch driver, which manages Datapath Switch (DPSW) objects discovered on the MC bus. Suggested-by: Alexandru Marginean Signed-off-by: Razvan Stefanescu --- Changelog: v2: - fix PVID cleanup in ethsw_port_add_vlan() - rename err2 to ret in ethsw_port_add/del

Re: [PATCH] irqchip/renesas-intc-irqpin: Use of_device_get_match_data() helper

2017-10-05 Thread Simon Horman
On Wed, Oct 04, 2017 at 02:17:58PM +0200, Geert Uytterhoeven wrote: > Use the of_device_get_match_data() helper instead of open coding. > > Signed-off-by: Geert Uytterhoeven Reviewed-by: Simon Horman

[PATCH v3 5/6] staging: fsl-dpaa2/ethsw: Add README

2017-10-05 Thread Razvan Stefanescu
Add a README file describing the driver architecture, components and interfaces. Signed-off-by: Razvan Stefanescu --- Changelog: v2: - no changes v3: - no changes drivers/staging/fsl-dpaa2/ethsw/README | 106 + 1 file changed, 106 insertions(+) create

[PATCH v3 4/6] staging: fsl-dpaa2/ethsw: Add maintainer for Ethernet Switch driver

2017-10-05 Thread Razvan Stefanescu
Signed-off-by: Razvan Stefanescu --- Changelog: v2: - no changes v3: - no changes MAINTAINERS | 6 ++ 1 file changed, 6 insertions(+) diff --git a/MAINTAINERS b/MAINTAINERS index 2281af4..cfd4f74 100644 --- a/MAINTAINERS +++ b/MAINTAINERS @@ -4297,6 +4297,12 @@ L: linux-kern

[PATCH v3 6/6] staging: fsl-dpaa2/ethsw: Add TODO

2017-10-05 Thread Razvan Stefanescu
Add a TODO file describing what needs to be added/changed before the driver can be moved out of staging. Signed-off-by: Razvan Stefanescu --- Changelog: v2: - no changes v3: - no changes drivers/staging/fsl-dpaa2/ethsw/TODO | 14 ++ 1 file changed, 14 insertions(+) create

Re: stable-rc build: 6 warnings 0 failures (stable-rc/v3.18.72-22-g11fceae)

2017-10-05 Thread gregkh
On Wed, Oct 04, 2017 at 09:31:25PM +0200, Arnd Bergmann wrote: > On Tue, Oct 3, 2017 at 2:25 PM, Olof's autobuilder wrote: > > > Warnings: > > > > 2 drivers/media/pci/ttpci/av7110_hw.h:406:3: warning: 'memcpy': > > specified size between 18446744071562067968 and 18446744073709551615 > > e

[PATCH v3 3/6] staging: fsl-dpaa2/ethsw: Add ethtool support

2017-10-05 Thread Razvan Stefanescu
Add driver information, link details and hardware statistics to be reported via ethtool -S. Signed-off-by: Razvan Stefanescu --- Changelog: v2: - no changes v3: - removed driver version drivers/staging/fsl-dpaa2/ethsw/Makefile| 2 +- drivers/staging/fsl-dpaa2/ethsw/dpsw-cmd.

Re: [PATCH] HID: hid-multitouch: forward MSC_TIMESTAMP

2017-10-05 Thread Jiri Kosina
On Tue, 22 Aug 2017, Nicolas Boichat wrote: > Computes and forwards the device timestamp according to the > specification. > > Many devices use a 16-bit timestamp field, with a resolution > of 100us, therefore rolling around very frequently (every > 6.5 seconds). To make sure there is no ambiguit

[PATCH v3 1/6] staging: fsl-dpaa2/ethsw: Add APIs for DPSW object

2017-10-05 Thread Razvan Stefanescu
Add the command build/parse APIs for operating on DPSW objects through the DPAA2 Management Complex. Signed-off-by: Razvan Stefanescu --- Changelog: v2: - use u8 for en parameter of dpsw_if_set_flooding/broadcast() v3: - no changes drivers/staging/fsl-dpaa2/Kconfig |8 +

Re: [PATCH 1/3] ARM: dts: gr-peach: Fix 'leds' node name indent

2017-10-05 Thread Simon Horman
On Thu, Oct 05, 2017 at 10:58:18AM +0200, Jacopo Mondi wrote: > Fix 'leds' node name indent as it was wrongly aligned. > > Signed-off-by: Jacopo Mondi Thanks, applied.

Re: [PATCH v2] perf callchain: Compare dsos (as well) for CCKEY_FUNCTION

2017-10-05 Thread Jiri Olsa
On Thu, Oct 05, 2017 at 02:42:34PM +0530, Ravi Bangoria wrote: > Two functions from different binaries can have same start > address. Thus, comparing only start address in match_chain() > leads to inconsistent callchains. Fix this by adding a check > for dsos as well. > > Ex, https://www.spinics.n

Re: [PATCH 2/3] ARM: dts: gr-peach: Enable MTU2 timer pulse unit

2017-10-05 Thread Simon Horman
On Thu, Oct 05, 2017 at 11:02:30AM +0200, Geert Uytterhoeven wrote: > On Thu, Oct 5, 2017 at 10:58 AM, Jacopo Mondi > wrote: > > MTU2 multi-function/multi-channel timer/counter is not enabled for > > GR-Peach board. The timer is used as clock event source to schedule > > wake-ups, and without thi

Re: [PATCH] HID: hyperv: pr_err() strings should end with newlines

2017-10-05 Thread Jiri Kosina
On Mon, 25 Sep 2017, Arvind Yadav wrote: > pr_err() messages should terminated with a new-line to avoid > other messages being concatenated onto the end. > > Signed-off-by: Arvind Yadav Applied to for-4.15/hyperv. -- Jiri Kosina SUSE Labs

Re: [PATCH] x86/mce: Convert timers to use timer_setup()

2017-10-05 Thread Borislav Petkov
On Wed, Oct 04, 2017 at 05:54:25PM -0700, Kees Cook wrote: > In preparation for unconditionally passing the struct timer_list pointer to > all timer callbacks, switch to using the new timer_setup() and from_timer() > to pass the timer pointer explicitly. Adjust sanity-check WARN to make sure > the

Re: [PATCH v3] HID: hid-multitouch: support fine-grain orientation reporting

2017-10-05 Thread Jiri Kosina
[ adding Benjamin to CC ] On Thu, 28 Sep 2017, Wei-Ning Huang wrote: > The current hid-multitouch driver only allow the report of two > orientations, vertical and horizontal. We use the Azimuth orientation > usage 0x3F under the Digitizer usage page to report orientation if the > device supports

  1   2   3   4   5   6   7   8   9   10   >