Re: [PATCH v4 7/8] clocksource: Add a new timer-ingenic driver

2018-03-29 Thread Paul Cercueil
Le mer. 28 mars 2018 à 18:25, Daniel Lezcano a écrit : On 28/03/2018 17:15, Paul Cercueil wrote: Le 2018-03-24 07:26, Daniel Lezcano a écrit : On 18/03/2018 00:29, Paul Cercueil wrote: This driver will use the TCU (Timer Counter Unit) present on the Ingenic JZ47xx SoCs to provide the

aacraid code passes GFP_DMA32 to kmalloc this will not work

2018-03-29 Thread Hans de Goede
Hi All, Since I made the same mistake myself I've done a quick grep for GFP_DMA32 in the kernel and drivers/scsi/aacraid/commctrl.c came up as a result of this grep, it does: p = kmalloc(sg_count[i], GFP_KERNEL|GFP_DMA32); But kmalloc always returns memory from t

[PATCH v5 2/2] mfd: rk808: Add restart functionality

2018-03-29 Thread Daniel Schultz
When using Rockchip SoCs with rk805/808/818 PMICs, restarts are realized by setting the reset registers in the "Clock and Reset Unit". Now, the driver can trigger a restart in the PMIC. Like the shutdown function, the restart is bound to an independent "rockchip,system-reset-controller" devicetree

[PATCH v5 1/2] mfd: rk808: Refactor shutdown functions

2018-03-29 Thread Daniel Schultz
Since all three shutdown functions have almost the same code, all logic from the shutdown functions can be refactored to a new function "rk808_update_bits", which can update a register by a given address and bitmask. Signed-off-by: Daniel Schultz --- Changes: v2: Re-submit with recipients

Re: [net-next,v2,01/10] soc: ti: K2G: enhancement to support QMSS in NSS

2018-03-29 Thread Murali Karicheri
Hi Grygorii, Thanks for reviewing this! On 03/28/2018 03:01 PM, Grygorii Strashko wrote: > Hi Murali, > > On 03/27/2018 11:31 AM, Murali Karicheri wrote: >> Navigator Subsystem (NSS) available on K2G SoC has a cut down >> version of QMSS with less number of queues, internal linking ram >> with l

RE: [PATCH 000/109] remove in-kernel calls to syscalls

2018-03-29 Thread David Laight
From: Dominik Brodowski > Sent: 29 March 2018 15:42 > On Thu, Mar 29, 2018 at 07:20:27AM -0700, Matthew Wilcox wrote: > > On Thu, Mar 29, 2018 at 01:22:37PM +0200, Dominik Brodowski wrote: > > > At least on 64-bit x86, it will likely be a hard requirement from v4.17 > > > onwards to not call system

Re: [PATCH] mfd: dt-bindings: Add PMIC reset property

2018-03-29 Thread Daniel Schultz
Hi Rob, On 03/18/2018 01:52 PM, Rob Herring wrote: On Thu, Mar 15, 2018 at 11:58:50AM +0100, Daniel Schultz wrote: Add documentation about a new rk808 devicetree property, which can enable resets by the PMIC. The subject needs to be more specific that this is for Rockchip PMIC. Signed-off-

[PATCH v2] mfd: dt-bindings: Add rk808 PMIC reset property

2018-03-29 Thread Daniel Schultz
Add documentation about a new rk808 devicetree property. This can enable the rk805/rk808/rk818 PMIC reset, instead of using soft resets from the Control and Reset Module. Signed-off-by: Daniel Schultz --- Changes: v2: Changed commit message Documentation/devicetree/bindings/mfd/rk808.tx

Re: [PATCH net] vhost: validate log when IOTLB is enabled

2018-03-29 Thread Michael S. Tsirkin
On Thu, Mar 29, 2018 at 04:00:04PM +0800, Jason Wang wrote: > Vq log_base is the userspace address of bitmap which has nothing to do > with IOTLB. So it needs to be validated unconditionally otherwise we > may try use 0 as log_base which may lead to pin pages that will lead > unexpected result (e.g

[PATCH] cpufreq: schedutil: Prevent unnecessary mutex unlock

2018-03-29 Thread Jules Maselbas
This patch prevents the mutex global_tunables_lock from being unlocked before being locked. This mutex is not locked if the function sugov_kthread_create fails. Signed-off-by: Jules Maselbas --- kernel/sched/cpufreq_schedutil.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git

Re: [PATCH 000/109] remove in-kernel calls to syscalls

2018-03-29 Thread Dominik Brodowski
On Thu, Mar 29, 2018 at 07:20:27AM -0700, Matthew Wilcox wrote: > On Thu, Mar 29, 2018 at 01:22:37PM +0200, Dominik Brodowski wrote: > > At least on 64-bit x86, it will likely be a hard requirement from v4.17 > > onwards to not call system call functions in the kernel: It is better to > > use use a

Re: [PATCH RFC tools/memory-model] Add s390.{cfg,cat}

2018-03-29 Thread Alan Stern
On Wed, 28 Mar 2018, Paul E. McKenney wrote: > > > In the meantime, does the cat file look to you like it correctly > > > models the combination of TSO and multicopy atomicity? Do the > > > fences really work, or did I just get lucky with my choice of > > > litmus tests? > > > > You got lucky.

Re: [PATCH net-next 3/8] net: mscc: Add MDIO driver

2018-03-29 Thread Andrew Lunn
On Thu, Mar 29, 2018 at 04:05:44PM +0200, Alexandre Belloni wrote: > On 23/03/2018 at 21:49:39 +0100, Andrew Lunn wrote: > > On Fri, Mar 23, 2018 at 09:11:12PM +0100, Alexandre Belloni wrote: > > > Add a driver for the Microsemi MII Management controller (MIIM) found on > > > Microsemi SoCs. > > >

Re: [PATCH v3] x86,sched: allow topologies where NUMA nodes share an LLC

2018-03-29 Thread Dave Hansen
On 03/29/2018 06:47 AM, Peter Zijlstra wrote: > Further I think Dave argued that we should not change the llc-size, > because while SNC presents a subset of the cache to local CPUs, for > remote data the whole cache is still available, again something some > applications might rely on. BTW, I may

Re: [PATCH v3 04/13] ARM: dts: ipq4019: Update ipq4019-dk01.1 board data

2018-03-29 Thread Andy Gross
On Tue, Mar 20, 2018 at 07:31:31AM -0700, Richard Cochran wrote: > On Tue, Mar 20, 2018 at 09:28:47AM +0530, Sricharan R wrote: > > Reviewed-by: Abhishek Sahu > > Adds missing memory, reserved-memory nodes. > > > > Signed-off-by: Sricharan R > > --- > > arch/arm/boot/dts/qcom-ipq4019-ap.dk01.1.

Re: [PATCH 2/8] PCI: Add pci_find_common_upstream_dev()

2018-03-29 Thread Alex Deucher
Sorry, didn't mean to drop the lists here. re-adding. On Wed, Mar 28, 2018 at 4:05 PM, Alex Deucher wrote: > On Wed, Mar 28, 2018 at 3:53 PM, Logan Gunthorpe wrote: >> >> >> On 28/03/18 01:44 PM, Christian König wrote: >>> Well, isn't that exactly what dma_map_resource() is good for? As far as >

Re: [PATCH v3] x86,sched: allow topologies where NUMA nodes share an LLC

2018-03-29 Thread Dave Hansen
On 03/29/2018 06:47 AM, Peter Zijlstra wrote: > The issue is that HPC workloads care about cache-size-per-cpu measure, > and the way they go about obtaining that is reading the cache-size and > dividing it by the h-weight of the cache-mask. That works, but only if the memory being accessed is slic

Re: [PATCH] media: i2c: tvp5150: fix color burst lock instability on some hardware

2018-03-29 Thread Nasser
On Tue, Mar 27, 2018 at 02:59:21AM +0430, Nasser wrote: Hi Mauro, Thank you for taking time to review my patch. May be I should rephrase the commit message to something like: Use the default register values as suggested in TVP5150AM1 datasheet As this is not a hardware-dependent issue. A

Re: [PATCH 2/2] fpga: lattice machxo2: Add Lattice MachXO2 support

2018-03-29 Thread Paolo Pisati
On Wed, Mar 28, 2018 at 03:03:42PM -0500, Alan Tull wrote: > On Wed, Mar 28, 2018 at 11:26 AM, Alan Tull wrote: > > On Fri, Mar 23, 2018 at 7:27 AM, Paolo Pisati wrote: > > > > Hi Paolo, > > One more thing. The api for registering a FPGA manager is changing. > It won't be hard to adapt. I've p

Re: [PATCHv2 06/14] mm/page_alloc: Propagate encryption KeyID through page allocator

2018-03-29 Thread Kirill A. Shutemov
On Thu, Mar 29, 2018 at 03:37:00PM +0200, Michal Hocko wrote: > On Thu 29-03-18 16:13:08, Kirill A. Shutemov wrote: > > On Thu, Mar 29, 2018 at 02:52:27PM +0200, Michal Hocko wrote: > > > On Thu 29-03-18 15:37:12, Kirill A. Shutemov wrote: > > > > On Thu, Mar 29, 2018 at 01:20:34PM +0200, Michal Ho

Re: [RESEND PATCH v2 4/8] mfd: stm32-timers: add support for dmas

2018-03-29 Thread Lee Jones
On Thu, 29 Mar 2018, Fabrice Gasnier wrote: > On 03/29/2018 02:59 PM, Lee Jones wrote: > > On Wed, 28 Mar 2018, Fabrice Gasnier wrote: > > > >> On 03/28/2018 05:22 PM, Lee Jones wrote: > >>> On Wed, 14 Feb 2018, Fabrice Gasnier wrote: > >>> > STM32 Timers can support up to 7 DMA requests: >

Re: [PATCH for v3.18 00/18] Backport CVE-2017-13166 fixes to Kernel 3.18

2018-03-29 Thread Mauro Carvalho Chehab
Em Thu, 29 Mar 2018 08:22:08 +0900 Inki Dae escreveu: > Hi Mauro, > > 2018년 03월 29일 03:12에 Mauro Carvalho Chehab 이(가) 쓴 글: > > Hi Greg, > > > > Those are the backports meant to solve CVE-2017-13166 on Kernel 3.18. > > > > It contains two v4l2-ctrls fixes that are required to avoid crashes > >

Re: [PATCH] mtd: nand: raw: atmel: add module param to avoid using dma

2018-03-29 Thread Boris Brezillon
On Thu, 29 Mar 2018 16:20:38 +0200 Nicolas Ferre wrote: > On 29/03/2018 at 15:10, Peter Rosin wrote: > > On a sama5d31 with a Full-HD dual LVDS panel (132MHz pixel clock) NAND > > flash accesses have a tendency to cause display disturbances. Add a > > module param to disable DMA from the NAND con

Re: [PATCH] mtd: nand: raw: atmel: add module param to avoid using dma

2018-03-29 Thread Peter Rosin
On 2018-03-29 15:44, Boris Brezillon wrote: > On Thu, 29 Mar 2018 15:37:43 +0200 > Peter Rosin wrote: > >> On 2018-03-29 15:33, Boris Brezillon wrote: >>> On Thu, 29 Mar 2018 15:10:54 +0200 >>> Peter Rosin wrote: >>> On a sama5d31 with a Full-HD dual LVDS panel (132MHz pixel clock) NAND

Re: [PATCH] ftrace: fix task's invalid comm of <...> when big pid

2018-03-29 Thread Steven Rostedt
On Thu, 29 Mar 2018 10:16:22 +0800 Wang Yu wrote: > > What you can do is make that map_pid_to_cmdline array bigger. > > > > -- Steve > > I am sorry about it, and as the number of cpu cores increases, the current > > PID_MAX_DEFAULT is too small, our online machines set the pid_max 65536 as >

Re: [PATCHv3] gpio: Remove VLA from gpiolib

2018-03-29 Thread Lukas Wunner
On Wed, Mar 28, 2018 at 11:18:09AM -0700, Laura Abbott wrote: > The new challenge is to remove VLAs from the kernel > (see https://lkml.org/lkml/2018/3/7/621) to eventually > turn on -Wvla. > > Using a kmalloc array is the easy way to fix this but kmalloc is still > more expensive than stack alloc

Re: [PATCH 07/30] aio: add delayed cancel support

2018-03-29 Thread Al Viro
On Thu, Mar 29, 2018 at 10:53:05AM +0200, Christoph Hellwig wrote: > On Wed, Mar 28, 2018 at 05:35:26PM +0100, Al Viro wrote: > > > ret = vfs_fsync(req->file, req->datasync); > > > - fput(req->file); > > > - aio_complete(container_of(req, struct aio_kiocb, fsync), ret, 0); > > > + if (aio_complet

Re: [RFC PATCH for 4.17 02/21] rseq: Introduce restartable sequences system call (v12)

2018-03-29 Thread Peter Zijlstra
On Thu, Mar 29, 2018 at 09:54:01AM -0400, Mathieu Desnoyers wrote: > Let's say we disallow system calls from rseq critical sections. A few points > arise: > > - We still need to allow traps (page faults, breakpoints, ...) within rseq > c.s., > > - We still need to allow interrupts within rseq c.

[GIT PULL] sound fixes for 4.16-final

2018-03-29 Thread Takashi Iwai
Linus, please pull sound fixes for v4.16-final from: git://git.kernel.org/pub/scm/linux/kernel/git/tiwai/sound.git tags/sound-4.16 The topmost commit is 5607dddbfca774fb38bffadcb077fe03aa4ac5c6 sound fixes for 4.16-final Very

Re: [PATCH] mtd: nand: raw: atmel: add module param to avoid using dma

2018-03-29 Thread Peter Rosin
On 2018-03-29 16:20, Nicolas Ferre wrote: > On 29/03/2018 at 15:10, Peter Rosin wrote: >> On a sama5d31 with a Full-HD dual LVDS panel (132MHz pixel clock) NAND >> flash accesses have a tendency to cause display disturbances. Add a >> module param to disable DMA from the NAND controller, since that

[PATCH] connector: add parent pid and tgid to coredump and exit events

2018-03-29 Thread Stefan Strogin
The intention is to get notified of process failures as soon as possible, before a possible core dumping (which could be very long) (e.g. in some process-manager). Coredump and exit process events are perfect for such use cases (see 2b5faa4c553f "connector: Added coredumping event to the process co

Re: omap4-droid4: voice call support was Re: [PATCHv5,5/5] ARM: dts: omap4-droid4: add soundcard

2018-03-29 Thread Tony Lindgren
* Pavel Machek [180329 14:11]: > Hi! > > > Meanwhile, I can try to make voice calls more reproducable with > > qmi or MM for example instead of just n_gsm.. And then I'll try > > to fix my n_gsm pile of hacks for posting.. > > If you get something to work, that will be great. Yeah I need to at

Re: [PATCH 000/109] remove in-kernel calls to syscalls

2018-03-29 Thread Matthew Wilcox
On Thu, Mar 29, 2018 at 01:22:37PM +0200, Dominik Brodowski wrote: > At least on 64-bit x86, it will likely be a hard requirement from v4.17 > onwards to not call system call functions in the kernel: It is better to > use use a different calling convention for system calls there, where > struct pt

Re: [PATCH] mtd: nand: raw: atmel: add module param to avoid using dma

2018-03-29 Thread Nicolas Ferre
On 29/03/2018 at 15:10, Peter Rosin wrote: On a sama5d31 with a Full-HD dual LVDS panel (132MHz pixel clock) NAND flash accesses have a tendency to cause display disturbances. Add a module param to disable DMA from the NAND controller, since that fixes the display problem for me. Signed-off-by:

[PATCH] efi/cper: Remove the INDENT_SP silliness

2018-03-29 Thread Borislav Petkov
From: Borislav Petkov A separate define just to print a space character is silly and completely unneeded. Remove it. Signed-off-by: Borislav Petkov Cc: Ard Biesheuvel Cc: linux-...@vger.kernel.org --- drivers/firmware/efi/cper-arm.c | 6 ++ drivers/firmware/efi/cper.c | 6 ++ 2 fi

Re: [PATCH net-next 3/8] net: mscc: Add MDIO driver

2018-03-29 Thread Alexandre Belloni
On 23/03/2018 at 14:51:19 -0700, Florian Fainelli wrote: > > + writel(MSCC_MIIM_CMD_VLD | (mii_id << MSCC_MIIM_CMD_PHYAD_SHIFT) | > > + (regnum << MSCC_MIIM_CMD_REGAD_SHIFT) | MSCC_MIIM_CMD_OPR_READ, > > + miim->regs + MSCC_MIIM_REG_CMD); > > + > > + ret = mscc_miim_wait_ready

[tip:timers/core] alarmtimer: Init nanosleep alarm timer on stack

2018-03-29 Thread tip-bot for Thomas Gleixner
Commit-ID: bd03143007eb9b03a7f2316c677780561b68ba2a Gitweb: https://git.kernel.org/tip/bd03143007eb9b03a7f2316c677780561b68ba2a Author: Thomas Gleixner AuthorDate: Mon, 26 Mar 2018 15:29:57 +0200 Committer: Thomas Gleixner CommitDate: Thu, 29 Mar 2018 16:10:07 +0200 alarmtimer: Init na

Re: omap4-droid4: voice call support was Re: [PATCHv5,5/5] ARM: dts: omap4-droid4: add soundcard

2018-03-29 Thread Pavel Machek
Hi! > Meanwhile, I can try to make voice calls more reproducable with > qmi or MM for example instead of just n_gsm.. And then I'll try > to fix my n_gsm pile of hacks for posting.. If you get something to work, that will be great. If you get ofonod to work, that would be even better :-). [That'

Re: [PATCH 10/10] softirq: Remove __ARCH_SET_SOFTIRQ_PENDING

2018-03-29 Thread Frederic Weisbecker
On Thu, Mar 29, 2018 at 04:01:11PM +0200, Peter Zijlstra wrote: > On Thu, Mar 29, 2018 at 03:47:46PM +0200, Frederic Weisbecker wrote: > > On Thu, Mar 29, 2018 at 09:16:19AM +0200, Peter Zijlstra wrote: > > > On Thu, Mar 29, 2018 at 04:27:05AM +0200, Frederic Weisbecker wrote: > > > > The last user

Re: [PATCH v2] perf, pt, coresight: Clean up address filter structure

2018-03-29 Thread Ingo Molnar
* Peter Zijlstra wrote: > On Thu, Mar 29, 2018 at 03:06:48PM +0300, Alexander Shishkin wrote: > > This is a cosmetic patch that deals with the address filter structure's > > ambiguous fields 'filter' and 'range'. The former stands to mean that the > > filter's *action* should be to filter the tr

Re: [PATCH net-next 3/8] net: mscc: Add MDIO driver

2018-03-29 Thread Alexandre Belloni
On 23/03/2018 at 21:49:39 +0100, Andrew Lunn wrote: > On Fri, Mar 23, 2018 at 09:11:12PM +0100, Alexandre Belloni wrote: > > Add a driver for the Microsemi MII Management controller (MIIM) found on > > Microsemi SoCs. > > On Ocelot, there are two controllers, one is connected to the internal > > PH

[tip:perf/core] perf vendor events s390: Add JSON files for IBM z14

2018-03-29 Thread tip-bot for Thomas Richter
Commit-ID: 109d59b900e78834c66657dd4748fcedb9a1fe8d Gitweb: https://git.kernel.org/tip/109d59b900e78834c66657dd4748fcedb9a1fe8d Author: Thomas Richter AuthorDate: Mon, 26 Mar 2018 10:25:38 +0200 Committer: Arnaldo Carvalho de Melo CommitDate: Tue, 27 Mar 2018 13:13:39 -0300 perf vendor

[tip:perf/core] perf vendor events s390: Add JSON files for IBM z13

2018-03-29 Thread tip-bot for Thomas Richter
Commit-ID: bc17f949d6feb633e579ee7e7dd58d9200073215 Gitweb: https://git.kernel.org/tip/bc17f949d6feb633e579ee7e7dd58d9200073215 Author: Thomas Richter AuthorDate: Mon, 26 Mar 2018 10:25:37 +0200 Committer: Arnaldo Carvalho de Melo CommitDate: Tue, 27 Mar 2018 13:13:39 -0300 perf vendor

Re: [PATCH 10/10] softirq: Remove __ARCH_SET_SOFTIRQ_PENDING

2018-03-29 Thread Peter Zijlstra
On Thu, Mar 29, 2018 at 03:47:46PM +0200, Frederic Weisbecker wrote: > On Thu, Mar 29, 2018 at 09:16:19AM +0200, Peter Zijlstra wrote: > > On Thu, Mar 29, 2018 at 04:27:05AM +0200, Frederic Weisbecker wrote: > > > The last user of __ARCH_SET_SOFTIRQ_PENDING has been converted to generic > > > per-c

[tip:perf/core] perf vendor events s390: Add JSON files for IBM zEC12 zBC12

2018-03-29 Thread tip-bot for Thomas Richter
Commit-ID: 3fb1a23155e91bd00281425041ec2381e435dcc2 Gitweb: https://git.kernel.org/tip/3fb1a23155e91bd00281425041ec2381e435dcc2 Author: Thomas Richter AuthorDate: Mon, 26 Mar 2018 10:25:36 +0200 Committer: Arnaldo Carvalho de Melo CommitDate: Tue, 27 Mar 2018 13:13:38 -0300 perf vendor

WARNING: kobject bug in device_add

2018-03-29 Thread syzbot
Hello, syzbot hit the following crash on upstream commit bcfc1f4554662d8f2429ac8bd96064a59c149754 (Sat Mar 24 16:50:12 2018 +) Merge tag 'pinctrl-v4.16-3' of git://git.kernel.org/pub/scm/linux/kernel/git/linusw/linux-pinctrl syzbot dashboard link: https://syzkaller.appspot.com/bug?extid=2

[tip:perf/core] perf vendor events s390: Add JSON files for IBM z196

2018-03-29 Thread tip-bot for Thomas Richter
Commit-ID: 0a73d21e9bdf43124241c3253dadc5044e239647 Gitweb: https://git.kernel.org/tip/0a73d21e9bdf43124241c3253dadc5044e239647 Author: Thomas Richter AuthorDate: Mon, 26 Mar 2018 10:25:35 +0200 Committer: Arnaldo Carvalho de Melo CommitDate: Tue, 27 Mar 2018 13:13:38 -0300 perf vendor

[tip:perf/core] perf vendor events s390: Add JSON files for IBM z10EC z10BC

2018-03-29 Thread tip-bot for Thomas Richter
Commit-ID: cfbb9be8119dec38a2adefeb8fac526dd66a1d16 Gitweb: https://git.kernel.org/tip/cfbb9be8119dec38a2adefeb8fac526dd66a1d16 Author: Thomas Richter AuthorDate: Mon, 26 Mar 2018 10:25:34 +0200 Committer: Arnaldo Carvalho de Melo CommitDate: Tue, 27 Mar 2018 13:13:38 -0300 perf vendor

[tip:perf/core] perf mmap: Be consistent when checking for an unmaped ring buffer

2018-03-29 Thread tip-bot for Arnaldo Carvalho de Melo
Commit-ID: 895e3b06fc2ce438adc62cb13d31ea001dcfda16 Gitweb: https://git.kernel.org/tip/895e3b06fc2ce438adc62cb13d31ea001dcfda16 Author: Arnaldo Carvalho de Melo AuthorDate: Mon, 26 Mar 2018 11:42:15 -0300 Committer: Arnaldo Carvalho de Melo CommitDate: Tue, 27 Mar 2018 13:13:38 -0300 p

Re: omap4-droid4: voice call support was Re: [PATCHv5,5/5] ARM: dts: omap4-droid4: add soundcard

2018-03-29 Thread Tony Lindgren
* Sebastian Reichel [180329 13:37]: > Hi, > > On Wed, Mar 28, 2018 at 06:45:07PM -0700, Tony Lindgren wrote: > > Hi, > > > > * Sebastian Reichel [180328 14:03]: > > > Hi, > > > > > > On Wed, Mar 28, 2018 at 10:29:10AM +0800, Mark Brown wrote: > > > > On Wed, Mar 28, 2018 at 12:22:37AM +0200, S

[tip:perf/core] perf mmap: Fix accessing unmapped mmap in perf_mmap__read_done()

2018-03-29 Thread tip-bot for Kan Liang
Commit-ID: f58385f629c87a9e210108b39c1f4950d0363ad2 Gitweb: https://git.kernel.org/tip/f58385f629c87a9e210108b39c1f4950d0363ad2 Author: Kan Liang AuthorDate: Mon, 26 Mar 2018 09:42:09 -0400 Committer: Arnaldo Carvalho de Melo CommitDate: Tue, 27 Mar 2018 13:13:38 -0300 perf mmap: Fix a

[tip:perf/core] perf build: Fix check-headers.sh opts assignment

2018-03-29 Thread tip-bot for Jiri Olsa
Commit-ID: b4c786e5aa69c5a75ac3932f81fdf8e8c120c03b Gitweb: https://git.kernel.org/tip/b4c786e5aa69c5a75ac3932f81fdf8e8c120c03b Author: Jiri Olsa AuthorDate: Wed, 21 Mar 2018 15:05:15 +0100 Committer: Arnaldo Carvalho de Melo CommitDate: Tue, 27 Mar 2018 13:13:38 -0300 perf build: Fix

Re: [PATCH v3 1/3] perf/core: store context switch out type into Perf trace

2018-03-29 Thread Alexey Budankov
On 29.03.2018 16:31, Alexander Shishkin wrote: > On Mon, Mar 26, 2018 at 12:20:32PM +0300, Alexey Budankov wrote: >> >> Store thread context-switch-out event type into Perf trace as a part of >> PERF_RECORD_SWITCH[_CPU_WIDE] records. >> >> Introduced types of switch-out events assumed to be >> a)

Re: [PATCH v3] x86,sched: allow topologies where NUMA nodes share an LLC

2018-03-29 Thread Peter Zijlstra
On Thu, Mar 29, 2018 at 06:45:12AM -0700, Dave Hansen wrote: > On 03/29/2018 06:16 AM, Thomas Gleixner wrote: > >> This is OK at least on the hardware we are immediately concerned about > >> because the LLC sharing happens at both the slice and at the package > >> level, which are also NUMA boundar

Re: [PATCH 6/8] PCI: dwc: Replace lower into upper case characters

2018-03-29 Thread Fabio Estevam
On Wed, Mar 28, 2018 at 10:00 AM, Gustavo Pimentel wrote: > Yes, it's not a replace character from lower to upper case. It's just a code > formatting style to be coherent with the rest of the driver code. I guess I > can > added on the patch description a note about it. > It works for you? Yes,

Re: [PATCH 2/3] dt-bindings: iio: wrapper: add io-channel-unit-converter

2018-03-29 Thread Rob Herring
On Tue, Mar 27, 2018 at 3:01 AM, Peter Rosin wrote: > On 2018-03-27 00:23, Rob Herring wrote: >> On Mon, Mar 19, 2018 at 06:02:45PM +0100, Peter Rosin wrote: >>> Allow linear scaling and modification of the type of an io-channel. >>> >>> When an ADC channel measures the midpoint of a voltage divid

Re: [RFC PATCH for 4.17 02/21] rseq: Introduce restartable sequences system call (v12)

2018-03-29 Thread Mathieu Desnoyers
- On Mar 28, 2018, at 5:25 PM, Thomas Gleixner t...@linutronix.de wrote: > On Wed, 28 Mar 2018, Mathieu Desnoyers wrote: >> - On Mar 28, 2018, at 1:49 PM, Peter Zijlstra pet...@infradead.org wrote: >> > I don't think disallowing system calls is arbitrary. And I think that is >> > something

RE: [PATCH v3 3/8] efi: Decode IA32/X64 Processor Error Info Structure

2018-03-29 Thread Ghannam, Yazen
> -Original Message- > From: Borislav Petkov > Sent: Thursday, March 29, 2018 6:55 AM > To: Ghannam, Yazen > Cc: linux-...@vger.kernel.org; linux-kernel@vger.kernel.org; > ard.biesheu...@linaro.org; x...@kernel.org; tony.l...@intel.com > Subject: Re: [PATCH v3 3/8] efi: Decode IA32/X64 Pr

Re: [PATCH v5 00/12] PCI endpoint 64-bit BAR fixes

2018-03-29 Thread Gustavo Pimentel
Hi Niklas, On 28/03/2018 12:50, Niklas Cassel wrote: > PCI endpoint fixes to improve the way 64-bit BARs are handled. > > > There are still future improvements that could be made: > > pci-epf-test.c always allocates space for > 6 BARs, even when using 64-bit BARs (which > really only requires u

Re: [PATCHv3] iommu/intel: Ratelimit each dmar fault printing

2018-03-29 Thread Dmitry Safonov
2018-03-29 9:50 GMT+01:00 Joerg Roedel : > On Tue, Mar 20, 2018 at 08:50:13PM +, Dmitry Safonov wrote: >> Hmm, but this fixes my softlockup issue, because it's about time spent >> in printk() inside irq-disabled section, rather about exiting the dmar- >> clearing loop. >> And on my hw doesn't m

Re: [PATCH] qedr: ix spelling mistake: "hanlde" -> "handle"

2018-03-29 Thread Shamir Rabinovitch
On Thu, Mar 29, 2018 at 01:11:07PM +0100, Colin King wrote: > From: Colin Ian King > > Trivial fix to spelling mistake in DP_ERR message text > > Signed-off-by: Colin Ian King > --- > drivers/infiniband/hw/qedr/main.c | 4 ++-- > 1 file changed, 2 insertions(+), 2 deletions(-) > > diff --git

Re: [PATCH v3] x86,sched: allow topologies where NUMA nodes share an LLC

2018-03-29 Thread Peter Zijlstra
On Thu, Mar 29, 2018 at 03:16:12PM +0200, Thomas Gleixner wrote: > On Wed, 28 Mar 2018, Alison Schofield wrote: > > From: Alison Schofield > > > > Intel's Skylake Server CPUs have a different LLC topology than previous > > generations. When in Sub-NUMA-Clustering (SNC) mode, the package is > > di

Re: [PATCH 10/10] softirq: Remove __ARCH_SET_SOFTIRQ_PENDING

2018-03-29 Thread Frederic Weisbecker
On Thu, Mar 29, 2018 at 09:16:19AM +0200, Peter Zijlstra wrote: > On Thu, Mar 29, 2018 at 04:27:05AM +0200, Frederic Weisbecker wrote: > > The last user of __ARCH_SET_SOFTIRQ_PENDING has been converted to generic > > per-cpu softirq mask. We can now remove this conditional. > > This seems like hal

RE: [PATCH v3 2/8] efi: Decode IA32/X64 Processor Error Section

2018-03-29 Thread Ghannam, Yazen
> -Original Message- > From: Borislav Petkov > Sent: Thursday, March 29, 2018 5:46 AM > To: Ghannam, Yazen > Cc: linux-...@vger.kernel.org; linux-kernel@vger.kernel.org; > ard.biesheu...@linaro.org; x...@kernel.org; tony.l...@intel.com > Subject: Re: [PATCH v3 2/8] efi: Decode IA32/X64 Pr

Re: [PATCH v5 1/1] drm/xen-front: Add support for Xen PV display frontend

2018-03-29 Thread kbuild test robot
Hi Oleksandr, Thank you for the patch! Yet something to improve: [auto build test ERROR on drm/drm-next] [also build test ERROR on next-20180329] [cannot apply to v4.16-rc7] [if your patch is applied to the wrong git tree, please drop us a note to help improve the system] url: https

Re: [PATCH v7 3/7] bnx2x: Replace doorbell barrier() with wmb()

2018-03-29 Thread Sinan Kaya
Hi Ariel, On 3/29/2018 5:17 AM, Elior, Ariel wrote: >> Subject: [PATCH v7 3/7] bnx2x: Replace doorbell barrier() with wmb() >> >> barrier() doesn't guarantee memory writes to be observed by the hardware on >> all architectures. barrier() only tells compiler not to move this code >> with respect to

Re: [PATCH v3] x86,sched: allow topologies where NUMA nodes share an LLC

2018-03-29 Thread Dave Hansen
On 03/29/2018 06:16 AM, Thomas Gleixner wrote: >> This is OK at least on the hardware we are immediately concerned about >> because the LLC sharing happens at both the slice and at the package >> level, which are also NUMA boundaries. > So that addresses the scheduler interaction, but it still leav

Re: [PATCH] mtd: nand: raw: atmel: add module param to avoid using dma

2018-03-29 Thread Boris Brezillon
On Thu, 29 Mar 2018 15:37:43 +0200 Peter Rosin wrote: > On 2018-03-29 15:33, Boris Brezillon wrote: > > On Thu, 29 Mar 2018 15:10:54 +0200 > > Peter Rosin wrote: > > > >> On a sama5d31 with a Full-HD dual LVDS panel (132MHz pixel clock) NAND > >> flash accesses have a tendency to cause displa

Re: [PATCH 2/3] virt: vbox: Use __get_free_pages instead of kmalloc for DMA32 memory

2018-03-29 Thread Hans de Goede
Hi, On 29-03-18 13:58, Greg Kroah-Hartman wrote: On Thu, Mar 29, 2018 at 01:21:15PM +0200, Hans de Goede wrote: It is not possible to get DMA32 zone memory through kmalloc, Why can't we just fix that issue here instead? AFAIK that would go against the design of the whole slab allocator, it

Re: [PATCH v1] hwmon, via-cputem: support new centaur CPUs

2018-03-29 Thread Guenter Roeck
On 03/28/2018 11:36 PM, David Wang wrote: Newer centaur CPUs(Family == 7) also support this cpu temperature sensor. Signed-off-by: David Wang --- FWIW, this would be v2, not v1, and a changelog would be appreciated. drivers/hwmon/via-cputemp.c | 7 +++ 1 file changed, 7 insertions(+)

Re: [RESEND PATCH v2 4/8] mfd: stm32-timers: add support for dmas

2018-03-29 Thread Fabrice Gasnier
On 03/29/2018 02:59 PM, Lee Jones wrote: > On Wed, 28 Mar 2018, Fabrice Gasnier wrote: > >> On 03/28/2018 05:22 PM, Lee Jones wrote: >>> On Wed, 14 Feb 2018, Fabrice Gasnier wrote: >>> STM32 Timers can support up to 7 DMA requests: - 4 channels, update, compare and trigger. Optional

[tip:timers/core] alarmtimer: Init nanosleep alarm timer on stack

2018-03-29 Thread tip-bot for Thomas Gleixner
Commit-ID: 00c720743fc951d46a7ee15f26a531b27f6082cb Gitweb: https://git.kernel.org/tip/00c720743fc951d46a7ee15f26a531b27f6082cb Author: Thomas Gleixner AuthorDate: Mon, 26 Mar 2018 15:29:57 +0200 Committer: Thomas Gleixner CommitDate: Thu, 29 Mar 2018 15:35:59 +0200 alarmtimer: Init na

Re: [PATCH] mtd: nand: raw: atmel: add module param to avoid using dma

2018-03-29 Thread Peter Rosin
On 2018-03-29 15:33, Boris Brezillon wrote: > On Thu, 29 Mar 2018 15:10:54 +0200 > Peter Rosin wrote: > >> On a sama5d31 with a Full-HD dual LVDS panel (132MHz pixel clock) NAND >> flash accesses have a tendency to cause display disturbances. Add a >> module param to disable DMA from the NAND con

Re: [PATCHv2 06/14] mm/page_alloc: Propagate encryption KeyID through page allocator

2018-03-29 Thread Michal Hocko
On Thu 29-03-18 16:13:08, Kirill A. Shutemov wrote: > On Thu, Mar 29, 2018 at 02:52:27PM +0200, Michal Hocko wrote: > > On Thu 29-03-18 15:37:12, Kirill A. Shutemov wrote: > > > On Thu, Mar 29, 2018 at 01:20:34PM +0200, Michal Hocko wrote: > > > > On Wed 28-03-18 19:55:32, Kirill A. Shutemov wrote:

Re: omap4-droid4: voice call support was Re: [PATCHv5,5/5] ARM: dts: omap4-droid4: add soundcard

2018-03-29 Thread Sebastian Reichel
Hi, On Wed, Mar 28, 2018 at 06:45:07PM -0700, Tony Lindgren wrote: > Hi, > > * Sebastian Reichel [180328 14:03]: > > Hi, > > > > On Wed, Mar 28, 2018 at 10:29:10AM +0800, Mark Brown wrote: > > > On Wed, Mar 28, 2018 at 12:22:37AM +0200, Sebastian Reichel wrote: > > > > On Tue, Mar 27, 2018 at 0

Re: [PATCH 1/3] serial: 8250_early: Add earlycon support for AMD Carrizo / Stoneyridge

2018-03-29 Thread Alan Cox
On Mon, 26 Mar 2018 20:56:45 -0600 Aaron Durbin wrote: > On Mon, Mar 26, 2018 at 12:24 PM, Alan Cox wrote: > >> Sadly, this situation > >> is not unique to this hardware. There is hardware all over that does > >> not meet the current assumptions being made in the early uart drivers > >> within t

Re: [PATCH] mtd: nand: raw: atmel: add module param to avoid using dma

2018-03-29 Thread Boris Brezillon
On Thu, 29 Mar 2018 15:10:54 +0200 Peter Rosin wrote: > On a sama5d31 with a Full-HD dual LVDS panel (132MHz pixel clock) NAND > flash accesses have a tendency to cause display disturbances. Add a > module param to disable DMA from the NAND controller, since that fixes > the display problem for m

Re: [PATCH v3 1/3] perf/core: store context switch out type into Perf trace

2018-03-29 Thread Alexander Shishkin
On Mon, Mar 26, 2018 at 12:20:32PM +0300, Alexey Budankov wrote: > > Store thread context-switch-out event type into Perf trace as a part of > PERF_RECORD_SWITCH[_CPU_WIDE] records. > > Introduced types of switch-out events assumed to be > a) preempt: task->state == TASK_RUNNING and b) !preempt

[tip:timers/core 2/2] kernel/time/alarmtimer.c:738:33: error: 'alarm' is a pointer; did you mean to use '->'?

2018-03-29 Thread kbuild test robot
tree: https://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git timers/core head: 5110c037daf437dbc163be5e9be18c8412a798e6 commit: 5110c037daf437dbc163be5e9be18c8412a798e6 [2/2] alarmtimer: Init nanosleep alarm timer on stack config: i386-randconfig-x013-201812 (attached as .config) compiler

[PATCH v4 2/3] lib: Rename compiler intrinsic selects to GENERIC_LIB_*

2018-03-29 Thread Matt Redfearn
When these are included into arch Kconfig files, maintaining alphabetical ordering of the selects means these get split up. To allow for keeping things tidier and alphabetical, rename the selects to GENERIC_LIB_* Signed-off-by: Matt Redfearn Reviewed-by: Palmer Dabbelt --- Changes in v4: Renam

[PATCH v4 3/3] MIPS: use generic GCC library routines from lib/

2018-03-29 Thread Matt Redfearn
From: Antony Pavlov The commit b35cd9884fa5 ("lib: Add shared copies of some GCC library routines") makes it possible to share generic GCC library routines by several architectures. This commit removes several generic GCC library routines from arch/mips/lib/ in favour of similar routines from li

[PATCH v4 1/3] Add notrace to lib/ucmpdi2.c

2018-03-29 Thread Matt Redfearn
From: Palmer Dabbelt As part of the MIPS conversion to use the generic GCC library routines, Matt Redfearn discovered that I'd missed a notrace on __ucmpdi2(). This patch rectifies the problem. CC: Matt Redfearn CC: Antony Pavlov Signed-off-by: Palmer Dabbelt Reviewed-by: Matt Redfearn Sign

[tip:timers/core] alarmtimer: Init nanosleep alarm timer on stack

2018-03-29 Thread tip-bot for Thomas Gleixner
Commit-ID: 5110c037daf437dbc163be5e9be18c8412a798e6 Gitweb: https://git.kernel.org/tip/5110c037daf437dbc163be5e9be18c8412a798e6 Author: Thomas Gleixner AuthorDate: Mon, 26 Mar 2018 15:29:57 +0200 Committer: Thomas Gleixner CommitDate: Thu, 29 Mar 2018 15:17:38 +0200 alarmtimer: Init na

pull-request: wireless-drivers-next 2018-03-29

2018-03-29 Thread Kalle Valo
Hi Dave, here's a pull request to net-next for 4.17. If the merge window starts on Sunday this will be the last pull request. Do note that I pulled wireless-drivers into wireless-drivers-next as iwlwifi needed some patches. Please let me know if you have any problems. Kalle The following change

Re: [PATCH v4 14/16] powerpc: Use generic free_initrd_mem.

2018-03-29 Thread Michael Ellerman
Shea Levy writes: > Joe Perches writes: > >> On Wed, 2018-03-28 at 16:36 -0400, Shea Levy wrote: >>> Signed-off-by: Shea Levy >> >> Most people seem to want some form of commit message >> and not just your sign-off. >> > > Ah, if the subject is insufficient I can add some more detail. Yeah ple

[PATCH 1/1] drm/xen-zcopy: Add Xen zero-copy helper DRM driver

2018-03-29 Thread Oleksandr Andrushchenko
From: Oleksandr Andrushchenko Introduce Xen zero-copy helper DRM driver, add user-space API of the driver: 1. DRM_IOCTL_XEN_ZCOPY_DUMB_FROM_REFS This will create a DRM dumb buffer from grant references provided by the frontend. The intended usage is: - Frontend - creates a dumb/display buff

[PATCH 0/1] drm/xen-zcopy: Add Xen zero-copy helper DRM driver

2018-03-29 Thread Oleksandr Andrushchenko
From: Oleksandr Andrushchenko Hello! When using Xen PV DRM frontend driver then on backend side one will need to do copying of display buffers' contents (filled by the frontend's user-space) into buffers allocated at the backend side. Taking into account the size of display buffers and frames pe

Re: [PATCH] qed: fix a bunch of spelling mistakes/typos

2018-03-29 Thread Joe Perches
On Thu, 2018-03-29 at 14:13 +0100, Colin Ian King wrote: > On 29/03/18 14:01, Joe Perches wrote: > > On Thu, 2018-03-29 at 13:41 +0100, Colin King wrote: > > > Trivial fix to spelling mistakes/typos in various DP_* messages. > > > > [] > > > diff --git a/drivers/net/ethernet/qlogic/qed/qed_vf.c >

Re: [PATCH v3] x86,sched: allow topologies where NUMA nodes share an LLC

2018-03-29 Thread Thomas Gleixner
On Wed, 28 Mar 2018, Alison Schofield wrote: > From: Alison Schofield > > Intel's Skylake Server CPUs have a different LLC topology than previous > generations. When in Sub-NUMA-Clustering (SNC) mode, the package is > divided into two "slices", each containing half the cores, half the LLC, > and

Re: [PATCH 1/3] virt: vbox: Add vbg_req_free() helper function

2018-03-29 Thread Hans de Goede
Hi, On 29-03-18 13:56, Greg Kroah-Hartman wrote: On Thu, Mar 29, 2018 at 01:21:14PM +0200, Hans de Goede wrote: +void vbg_req_free(void *req, size_t len) +{ + if (!req) + return; + + kfree(req); +} Wait, no, this isn't ok. Don't create wrapper functions that you nev

Re: [PATCH v2 0/2] gfs2: Stop using rhashtable_walk_peek

2018-03-29 Thread Andreas Gruenbacher
On 29 March 2018 at 14:35, Herbert Xu wrote: > On Thu, Mar 29, 2018 at 02:06:10PM +0200, Andreas Gruenbacher wrote: >> Here's a second version of the patch (now a patch set) to eliminate >> rhashtable_walk_peek in gfs2. >> >> The first patch introduces lockref_put_not_zero, the inverse of >> lockr

Re: [PATCH] qed: fix a bunch of spelling mistakes/typos

2018-03-29 Thread Colin Ian King
On 29/03/18 14:01, Joe Perches wrote: > On Thu, 2018-03-29 at 13:41 +0100, Colin King wrote: >> Trivial fix to spelling mistakes/typos in various DP_* messages. > [] >> diff --git a/drivers/net/ethernet/qlogic/qed/qed_vf.c >> b/drivers/net/ethernet/qlogic/qed/qed_vf.c > [] >> @@ -231,7 +231,7 @@ s

Re: [PATCHv2 06/14] mm/page_alloc: Propagate encryption KeyID through page allocator

2018-03-29 Thread Kirill A. Shutemov
On Thu, Mar 29, 2018 at 02:52:27PM +0200, Michal Hocko wrote: > On Thu 29-03-18 15:37:12, Kirill A. Shutemov wrote: > > On Thu, Mar 29, 2018 at 01:20:34PM +0200, Michal Hocko wrote: > > > On Wed 28-03-18 19:55:32, Kirill A. Shutemov wrote: > > > > Modify several page allocation routines to pass dow

Re: [PATCH 1/3] virt: vbox: Add vbg_req_free() helper function

2018-03-29 Thread Hans de Goede
Hi, On 29-03-18 13:55, Greg Kroah-Hartman wrote: On Thu, Mar 29, 2018 at 01:21:14PM +0200, Hans de Goede wrote: --- a/include/linux/vbox_utils.h +++ b/include/linux/vbox_utils.h @@ -33,6 +33,13 @@ __printf(1, 2) void vbg_debug(const char *fmt, ...); */ void *vbg_req_alloc(size_t len, enum

Re: [Cluster-devel] [PATCH v2 0/2] gfs2: Stop using rhashtable_walk_peek

2018-03-29 Thread Andreas Gruenbacher
On 29 March 2018 at 14:24, Steven Whitehouse wrote: > Hi, > > Can we solve the problem another way, by not taking refs on the glocks when > we are iterating over them for the debugfs files? I assume that is the main > issue here. > > We didn't used to take refs since the rcu locking was enough dur

[PATCH] mtd: nand: raw: atmel: add module param to avoid using dma

2018-03-29 Thread Peter Rosin
On a sama5d31 with a Full-HD dual LVDS panel (132MHz pixel clock) NAND flash accesses have a tendency to cause display disturbances. Add a module param to disable DMA from the NAND controller, since that fixes the display problem for me. Signed-off-by: Peter Rosin --- drivers/mtd/nand/raw/atmel/

Re: [PATCH] MAINTAINERS: update entry for entry for ARM/berlin

2018-03-29 Thread Andrew Lunn
On Thu, Mar 29, 2018 at 04:42:40PM +0800, Jisheng Zhang wrote: > > Change the entry name and move it to its alphabetical location. > We move to ARM/Synaptics instead of ARM/Marvell. Hi Jisheng Please could you add some comments about this Marvell->Synaptics change. Has Marvell sold the Berlin c

Re: [RFC PATCH ghak32 V2 01/13] audit: add container id

2018-03-29 Thread Jonathan Corbet
On Thu, 29 Mar 2018 05:01:32 -0400 Richard Guy Briggs wrote: > > A little detail, but still... > > I am understanding that you would prefer more context (as opposed to > operational detail) in the description, laying out the use case for this > patch(set)? No, sorry, "a little detail" was ref

Re: [PATCH v6 0/6] Add MediaTek PMIC keys support

2018-03-29 Thread Lee Jones
On Thu, 29 Mar 2018, Chen Zhong wrote: > On Wed, 2018-03-28 at 11:26 +0100, Lee Jones wrote: > > On Tue, 27 Mar 2018, Matthias Brugger wrote: > > > > > > > > > > > On 03/27/2018 10:05 AM, Lee Jones wrote: > > > > On Fri, 23 Mar 2018, Dmitry Torokhov wrote: > > > >> On Thu, Mar 22, 2018 at 10:17

Re: [PATCH v3 0/6] clocksource: rework Atmel TCB timer driver

2018-03-29 Thread Alexandre Belloni
On 29/03/2018 at 14:07:34 +0200, Daniel Lezcano wrote: > On 29/03/2018 13:42, Alexandre Belloni wrote: > > On 29/03/2018 at 13:31:18 +0200, Alexander Dahl wrote: > >> Pretty sure. I rebuilt the whole BSP and added another line to the kernel > >> source to see if the tree I applied the patches to,

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